Project

General

Profile

« Previous | Next » 

Revision 927

Added by doc over 15 years ago

Added option to display user name on all backend sides

View differences:

class.admin.php
136 136
													'BODY_TAGS' => $body_tags,
137 137
													'WEBSITE_TITLE' => ($title['value']),
138 138
													'TEXT_ADMINISTRATION' => $TEXT['ADMINISTRATION'],
139
													'CURRENT_USER' => $MESSAGE['START']['CURRENT_USER'],
140
													'DISPLAY_NAME' => $this->get_display_name(),
139 141
													'CHARSET' => $charset,
140 142
													'VERSION' => VERSION,
141 143
													'WB_URL' => WB_URL,
......
174 176
				$header_template->set_var('TARGET', $target);
175 177
				// If link is the current section apply a class name
176 178
				if($permission_title == strtolower($this->section_name)) {
177
					$header_template->set_var('CLASS', 'current');
179
					$header_template->set_var('CLASS', $menu_item[3] . ' current');
178 180
				} else {
179
					$header_template->set_var('CLASS', '');
181
					$header_template->set_var('CLASS', $menu_item[3]);
180 182
				}
181 183
				$header_template->set_var('TITLE', $title);
182 184
				// Print link

Also available in: Unified diff