Revision 1357
Added by FrankH almost 15 years ago
| settings.php | ||
|---|---|---|
| 30 | 30 |
require_once(WB_PATH.'/framework/class.admin.php'); |
| 31 | 31 |
$admin = new admin('Pages', 'pages_settings');
|
| 32 | 32 |
|
| 33 |
if (!$admin->checkFTAN('get'))
|
|
| 34 |
{
|
|
| 35 |
$admin->print_error($MESSAGE['PAGES']['NOT_FOUND']); |
|
| 36 |
exit(); |
|
| 37 |
} |
|
| 38 |
|
|
| 33 | 39 |
// Include the WB functions file |
| 34 | 40 |
require_once(WB_PATH.'/framework/functions-utf8.php'); |
| 35 | 41 |
|
| ... | ... | |
| 90 | 96 |
$template = new Template(THEME_PATH.'/templates'); |
| 91 | 97 |
$template->set_file('page', 'pages_settings.htt');
|
| 92 | 98 |
$template->set_block('page', 'main_block', 'main');
|
| 99 |
$template->set_var('FTAN', $admin->getFTAN());
|
|
| 93 | 100 |
|
| 94 | 101 |
$template->set_var(array( |
| 95 | 102 |
'PAGE_ID' => $results_array['page_id'], |
Also available in: Unified diff
Security fixes