Project

General

Profile

« Previous | Next » 

Revision 1460

Added by Dietmar almost 13 years ago

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

View differences:

tool.php
33 33
	
34 34
	if (!$admin->checkFTAN())
35 35
	{
36
		$admin->print_header();
36
		if(!$admin_header) { $admin->print_header(); }
37 37
		$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$_SERVER['REQUEST_URI'],false);
38 38
	}
39 39
	// get overall output filter settings
......
51 51
		mailto_filter = '$mailto_filter', at_replacement = '$at_replacement', dot_replacement = '$dot_replacement'");
52 52

  
53 53
	// check if there is a database error, otherwise say successful
54
	$admin->print_header();
54
	if(!$admin_header) { $admin->print_header(); }
55 55
	if($database->is_error()) {
56 56
		$admin->print_error($database->get_error(), $js_back);
57 57
	} else {
......
59 59
	}
60 60

  
61 61
} else {
62
}
62 63
	// write out heading
63 64
	echo '<h2>' .$MOD_MAIL_FILTER['HEADING'] .'</h2>';
64 65

  
......
109 110
	<input type="submit" name="save_settings" style="margin-top:10px; width:140px;" value="<?php echo $TEXT['SAVE']; ?>" />
110 111
</form>
111 112
<?php
112
}
113 113

  
114 114
?>

Also available in: Unified diff