Project

General

Profile

« Previous | Next » 

Revision 1457

Added by Dietmar almost 13 years ago

Preparing 2.8.2 stable, last tests

View differences:

tool.php
33 33
	
34 34
	if (!$admin->checkFTAN())
35 35
	{
36
		$admin->print_header();
36 37
		$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$_SERVER['REQUEST_URI'],false);
37
		exit();
38 38
	}
39 39
	// get overall output filter settings
40 40
	$email_filter = (isset($_POST['email_filter']) && $_POST['email_filter'] == '1') ? '1' : '0';
......
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 55
	if($database->is_error()) {
55 56
		$admin->print_error($database->get_error(), $js_back);
56 57
	} else {
......
64 65
	// include filter functions
65 66
	require_once(WB_PATH .'/modules/output_filter/filter-routines.php');
66 67
	
67
	// read the mail filter settings from the database 
68
	// read the mail filter settings from the database
68 69
	$data = get_output_filter_settings();
69 70
	
70 71
	// output the form with values from the database

Also available in: Unified diff