Project

General

Profile

« Previous | Next » 

Revision 1457

Added by Dietmar almost 13 years ago

Preparing 2.8.2 stable, last tests

View differences:

save_droplet.php
33 33
if(file_exists(ADMIN_PATH .'/admintools/tool.php')) {
34 34
	$admintool_link = ADMIN_URL .'/admintools/index.php';
35 35
	$module_edit_link = ADMIN_URL .'/admintools/tool.php?tool=droplets';
36
	$admin = new admin('admintools', 'admintools');
36
	$admin = new admin('admintools', 'admintools',false);
37 37
} else {
38 38
	$admintool_link = ADMIN_URL .'/settings/index.php?advanced=yes#administration_tools"';
39 39
	$module_edit_link = ADMIN_URL .'/settings/tool.php?tool=droplets';
40
	$admin = new admin('Settings', 'settings_advanced');
40
	$admin = new admin('Settings', 'settings_advanced',false);
41 41
}
42 42

  
43 43
if (!$admin->checkFTAN())
44 44
{
45
	$admin->print_header();
45 46
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], $module_edit_link);
46
	exit();
47 47
}
48
$admin->print_header();
48 49

  
49 50
// Validate all fields
50 51
if($admin->get_post('title') == '') {
......
76 77

  
77 78
// Print admin footer
78 79
$admin->print_footer();
79

  
80
?>
81 80

  

Also available in: Unified diff