Revision 1457
Added by Dietmar over 13 years ago
index.php | ||
---|---|---|
64 | 64 |
); |
65 | 65 |
// insert urls |
66 | 66 |
$template->set_var(array( |
67 |
'ADMIN_URL' => ADMIN_URL, |
|
68 |
'WB_URL' => WB_URL, |
|
69 |
'THEME_URL' => THEME_URL |
|
70 |
) |
|
71 |
); |
|
67 |
'ADMIN_URL' => ADMIN_URL, |
|
68 |
'WB_URL' => WB_URL, |
|
69 |
'THEME_URL' => THEME_URL, |
|
70 |
'FTAN' => $admin->getFTAN() |
|
71 |
) |
|
72 |
); |
|
72 | 73 |
// Insert language text and messages |
73 | 74 |
$template->set_var(array( |
74 |
'URL_MODULES' => $admin->get_permission('modules') ?
|
|
75 |
'URL_MODULES' => $admin->get_permission('modules') ? |
|
75 | 76 |
'<a href="' . ADMIN_URL . '/modules/index.php">' . $MENU['MODULES'] . '</a>' : '', |
76 |
'URL_ADVANCED' => $admin->get_permission('admintools') ?
|
|
77 |
'<a href="' . ADMIN_URL . '/modules/index.php?advanced">' . $TEXT['ADVANCED'] . '</a>' : '',
|
|
78 |
'URL_TEMPLATES' => $admin->get_permission('templates') ?
|
|
77 |
'URL_ADVANCED' => $admin->get_permission('admintools') ? |
|
78 |
'<a href="' . ADMIN_URL . '/modules/index.php?advanced">' . $TEXT['ADVANCED'] . '</a>' : '', |
|
79 |
'URL_TEMPLATES' => $admin->get_permission('templates') ? |
|
79 | 80 |
'<a href="' . ADMIN_URL . '/templates/index.php">' . $MENU['TEMPLATES'] . '</a>' : '', |
80 | 81 |
'TEXT_INSTALL' => $TEXT['INSTALL'], |
81 | 82 |
'TEXT_UNINSTALL' => $TEXT['UNINSTALL'], |
... | ... | |
90 | 91 |
|
91 | 92 |
// Print admin footer |
92 | 93 |
$admin->print_footer(); |
93 |
|
|
94 |
?> |
|
95 | 94 |
Also available in: Unified diff
Preparing 2.8.2 stable, last tests