Revision 1473
Added by Dietmar almost 13 years ago
delete_droplet.php | ||
---|---|---|
23 | 23 |
require_once(WB_PATH.'/framework/class.admin.php'); |
24 | 24 |
require_once(WB_PATH.'/framework/functions.php'); |
25 | 25 |
|
26 |
$module_edit_link = ADMIN_URL .'/admintools/tool.php?tool=droplets'; |
|
26 | 27 |
// check website baker platform (with WB 2.7, Admin-Tools were moved out of settings dialogue) |
27 | 28 |
if(file_exists(ADMIN_PATH .'/admintools/tool.php')) { |
28 | 29 |
$admintool_link = ADMIN_URL .'/admintools/index.php'; |
29 |
$module_edit_link = ADMIN_URL .'/admintools/tool.php?tool=droplets'; |
|
30 | 30 |
$admin = new admin('admintools', 'admintools'); |
31 | 31 |
} else { |
32 | 32 |
$admintool_link = ADMIN_URL .'/settings/index.php?advanced=yes#administration_tools"'; |
33 |
$module_edit_link = ADMIN_URL .'/settings/tool.php?tool=droplets'; |
|
34 | 33 |
$admin = new admin('Settings', 'settings_advanced'); |
35 | 34 |
} |
36 | 35 |
|
37 | 36 |
// Get id |
38 | 37 |
$droplet_id = $admin->checkIDKEY('droplet_id', false, 'GET'); |
39 | 38 |
if (!$droplet_id) { |
40 |
$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], ADMIN_URL);
|
|
39 |
$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], $module_edit_link);
|
|
41 | 40 |
exit(); |
42 | 41 |
} |
43 | 42 |
|
... | ... | |
53 | 52 |
|
54 | 53 |
// Print admin footer |
55 | 54 |
$admin->print_footer(); |
56 |
|
|
57 |
?> |
Also available in: Unified diff
found more backlinks to fix
remove not working ftan in frontend
fixed redirect in login procedure (Tks to mr-fan)
update droplet LoginBox, additional parameter $redirect
remove double config call in media (Tks to Testör)