Revision 1460
Added by Dietmar almost 13 years ago
tool.php | ||
---|---|---|
42 | 42 |
if(isset($_POST['save_settings'])) { |
43 | 43 |
if (!$admin->checkFTAN()) |
44 | 44 |
{ |
45 |
$admin->print_header();
|
|
45 |
if(!$admin_header) { $admin->print_header(); }
|
|
46 | 46 |
$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], $js_back ); |
47 | 47 |
} |
48 | 48 |
|
... | ... | |
67 | 67 |
} |
68 | 68 |
|
69 | 69 |
// check if there is a database error, otherwise say successful |
70 |
$admin->print_header();
|
|
70 |
if(!$admin_header) { $admin->print_header(); }
|
|
71 | 71 |
if($database->is_error()) { |
72 | 72 |
$admin->print_error($database->get_error(), $js_back); |
73 | 73 |
} else { |
... | ... | |
75 | 75 |
} |
76 | 76 |
|
77 | 77 |
} else { |
78 |
} |
|
78 | 79 |
|
79 | 80 |
// include captcha-file |
80 | 81 |
require_once(WB_PATH .'/include/captcha/captcha.php'); |
... | ... | |
200 | 201 |
<input type="submit" name="save_settings" style="margin-top:10px; width:140px;" value="<?php echo $TEXT['SAVE']; ?>" /> |
201 | 202 |
</form> |
202 | 203 |
<?php |
203 |
} |
|
204 | 204 |
|
205 | 205 |
?> |
Also available in: Unified diff
Ticket 1101, phtml|php5|php4|php|cgi|pl|exe|com|bat|src| will be hardcoded
additional you can set more extension in settings extended in field rename_file_types
rename_file_types now is a blacklist and will no longer be renamed to .txt
update admintools modules to work with SecureForm Patch from NorHei