Project

General

Profile

« Previous | Next » 

Revision 291

Added by stefan almost 19 years ago

Character encoding setting also affects admin backend. Mentioned in ticket #102.

View differences:

class.admin.php
90 90
		$header_template = new Template(ADMIN_PATH."/interface");
91 91
		$header_template->set_file('page', 'header.html');
92 92
		$header_template->set_block('page', 'header_block', 'header');
93
		if(defined('DEFAULT_CHARSET')) {
94
			$charset=DEFAULT_CHARSET;
95
		} else {
96
			$charset='utf-8';
97
		}
93 98
		$header_template->set_var(	array(
94 99
													'SECTION_NAME' => $MENU[strtoupper($this->section_name)],
95 100
													'INTERFACE_DIR' => ADMIN_URL.'/interface',
96 101
													'BODY_TAGS' => $body_tags,
97 102
													'WEBSITE_TITLE' => ($title['value']),
98 103
													'TEXT_ADMINISTRATION' => $TEXT['ADMINISTRATION'],
104
													'CHARSET' => $charset,
99 105
													'VERSION' => VERSION
100 106
													)
101 107
											);

Also available in: Unified diff