Revision 1357
Added by FrankH almost 15 years ago
| modify.php | ||
|---|---|---|
| 24 | 24 |
$page_id = $_GET['page_id']; |
| 25 | 25 |
} |
| 26 | 26 |
|
| 27 |
if (!$admin->checkFTAN('get'))
|
|
| 28 |
{
|
|
| 29 |
$admin->print_error($MESSAGE['PAGES']['NOT_FOUND']); |
|
| 30 |
exit(); |
|
| 31 |
} |
|
| 32 |
|
|
| 27 | 33 |
// Create new admin object |
| 28 | 34 |
require('../../config.php');
|
| 29 | 35 |
require_once(WB_PATH.'/framework/class.admin.php'); |
| ... | ... | |
| 53 | 59 |
$template = new Template(THEME_PATH.'/templates'); |
| 54 | 60 |
$template->set_file('page', 'pages_modify.htt');
|
| 55 | 61 |
$template->set_block('page', 'main_block', 'main');
|
| 62 |
$template->set_var('FTAN2', $admin->getFTAN(2));
|
|
| 56 | 63 |
|
| 57 | 64 |
$template->set_var(array( |
| 58 | 65 |
'PAGE_ID' => $results_array['page_id'], |
Also available in: Unified diff
Security fixes