Revision 927
Added by doc over 16 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
| 14 | 14 |
14-Feb-2009 Christian Sommer |
| 15 |
! added option to display current user name in backend template |
|
| 15 | 16 |
# fixed wrong redirect path and added SVN Id |
| 16 | 17 |
13-Feb-2009 Christian Sommer |
| 17 | 18 |
+ added option to perform pre-installation checks to test requirements of Add-Ons |
| trunk/wb/framework/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
Added option to display user name on all backend sides