Revision 1009
Added by Matthias over 15 years ago
class.admin.php | ||
---|---|---|
193 | 193 |
// Print the admin footer |
194 | 194 |
function print_footer() { |
195 | 195 |
// include the required file for Javascript admin |
196 |
if(file_exists(WB_PATH.'/modules/jsadmin/jsadmin_backend_include.php')){
|
|
197 |
@include(WB_PATH.'/modules/jsadmin/jsadmin_backend_include.php');
|
|
198 |
}
|
|
196 |
if(file_exists(WB_PATH.'/modules/jsadmin/jsadmin_backend_include.php')){
|
|
197 |
@include(WB_PATH.'/modules/jsadmin/jsadmin_backend_include.php');
|
|
198 |
}
|
|
199 | 199 |
$footer_template = new Template(THEME_PATH.'/templates'); |
200 | 200 |
$footer_template->set_file('page', 'footer.htt'); |
201 | 201 |
$footer_template->set_block('page', 'footer_block', 'header'); |
202 |
$footer_template->set_var(array( |
|
203 |
'BACKEND_MODULE_JS' => $this->register_backend_modfiles('js'), |
|
204 |
'WB_URL' => WB_URL, |
|
205 |
'WB_PATH' => WB_PATH, |
|
206 |
'ADMIN_URL' => ADMIN_URL, |
|
207 |
'THEME_URL' => THEME_URL, |
|
208 |
) ); |
|
202 | 209 |
$footer_template->parse('header', 'footer_block', false); |
203 | 210 |
$footer_template->pparse('output', 'page'); |
204 | 211 |
} |
Also available in: Unified diff
-Moved styles from admin/pages/sections.php to sections.htt in backend themes (Thanks to Luisehahne)
- Moved javascript files from admin/pages/index.php to external js files (Thanks to Luisehahne)
- Major improovements and changes to all backend files to get more valide Code output (Thanks to Luisehahne)