Revision 933
Added by doc almost 16 years ago
index.php | ||
---|---|---|
49 | 49 |
if($admin->get_permission('languages') != true) { |
50 | 50 |
$template->set_var('DISPLAY_LANGUAGES', 'none'); |
51 | 51 |
} |
52 |
if($admin->get_permission('admintools') != true) { |
|
53 |
$template->set_var('DISPLAY_RELOAD', 'none'); |
|
54 |
} |
|
52 | 55 |
|
53 | 56 |
// Insert section names and descriptions |
54 | 57 |
$template->set_var(array( |
... | ... | |
57 | 60 |
'LANGUAGES' => $MENU['LANGUAGES'], |
58 | 61 |
'MODULES_OVERVIEW' => $OVERVIEW['MODULES'], |
59 | 62 |
'TEMPLATES_OVERVIEW' => $OVERVIEW['TEMPLATES'], |
60 |
'LANGUAGES_OVERVIEW' => $OVERVIEW['LANGUAGES'] |
|
63 |
'LANGUAGES_OVERVIEW' => $OVERVIEW['LANGUAGES'], |
|
64 |
'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . ' ' . $TEXT['SETTINGS'], |
|
65 |
'MESSAGE_RELOAD_ADDONS' => $MESSAGE['ADDON']['RELOAD'], |
|
66 |
'TEXT_RELOAD' => $TEXT['RELOAD'], |
|
67 |
'RELOAD_URL' => ADMIN_URL . '/addons/reload.php', |
|
61 | 68 |
) |
62 | 69 |
); |
63 | 70 |
|
Also available in: Unified diff
Moved reload option of Add-ons to main Add-on section.