Revision 621
Added by doc almost 18 years ago
| index.php | ||
|---|---|---|
| 59 | 59 |
if($admin->get_permission('settings') != true) {
|
| 60 | 60 |
$template->set_var('DISPLAY_SETTINGS', 'none');
|
| 61 | 61 |
} |
| 62 |
if($admin->get_permission('admintools') != true) {
|
|
| 63 |
$template->set_var('DISPLAY_ADMINTOOLS', 'none');
|
|
| 64 |
} |
|
| 62 | 65 |
|
| 63 | 66 |
// Check if installation directory still exists |
| 64 | 67 |
if(file_exists(WB_PATH.'/install/')) {
|
| ... | ... | |
| 104 | 107 |
|
| 105 | 108 |
// Insert section names and descriptions |
| 106 | 109 |
$template->set_var(array( |
| 107 |
'HOME' => $MENU['START'], |
|
| 108 | 110 |
'PAGES' => $MENU['PAGES'], |
| 109 | 111 |
'MEDIA' => $MENU['MEDIA'], |
| 110 | 112 |
'ADDONS' => $MENU['ADDONS'], |
| 111 | 113 |
'ACCESS' => $MENU['ACCESS'], |
| 112 | 114 |
'PREFERENCES' => $MENU['PREFERENCES'], |
| 113 | 115 |
'SETTINGS' => $MENU['SETTINGS'], |
| 114 |
'HELP' => $MENU['HELP'], |
|
| 115 |
'VIEW' => $MENU['VIEW'], |
|
| 116 |
'ADMINTOOLS' => $MENU['ADMINTOOLS'], |
|
| 116 | 117 |
'HOME_OVERVIEW' => $OVERVIEW['START'], |
| 117 | 118 |
'PAGES_OVERVIEW' => $OVERVIEW['PAGES'], |
| 118 | 119 |
'MEDIA_OVERVIEW' => $OVERVIEW['MEDIA'], |
| ... | ... | |
| 120 | 121 |
'ACCESS_OVERVIEW' => $access_overview, |
| 121 | 122 |
'PREFERENCES_OVERVIEW' => $OVERVIEW['PREFERENCES'], |
| 122 | 123 |
'SETTINGS_OVERVIEW' => $OVERVIEW['SETTINGS'], |
| 123 |
'HELP_OVERVIEW' => $OVERVIEW['HELP'], |
|
| 124 |
'VIEW_OVERVIEW' => $OVERVIEW['VIEW'] |
|
| 124 |
'ADMINTOOLS_OVERVIEW' => $OVERVIEW['ADMINTOOLS'] |
|
| 125 | 125 |
) |
| 126 | 126 |
); |
| 127 | 127 |
|
Also available in: Unified diff
introduced the WB 2.7 backend style developed by Michael Brinsteiner (escpro), thanks man