Revision 1443
Added by Luisehahne over 14 years ago
| class.admin.php | ||
|---|---|---|
| 175 | 175 |
} |
| 176 | 176 |
|
| 177 | 177 |
// Print the admin footer |
| 178 |
function print_footer() {
|
|
| 178 |
function print_footer($activateJsAdmin = false) {
|
|
| 179 | 179 |
// include the required file for Javascript admin |
| 180 |
if(file_exists(WB_PATH.'/modules/jsadmin/jsadmin_backend_include.php')){
|
|
| 181 |
@include(WB_PATH.'/modules/jsadmin/jsadmin_backend_include.php'); |
|
| 180 |
if($activateJsAdmin != false) {
|
|
| 181 |
if(file_exists(WB_PATH.'/modules/jsadmin/jsadmin_backend_include.php')){
|
|
| 182 |
@include_once(WB_PATH.'/modules/jsadmin/jsadmin_backend_include.php'); |
|
| 183 |
} |
|
| 182 | 184 |
} |
| 185 |
|
|
| 183 | 186 |
$footer_template = new Template(THEME_PATH.'/templates'); |
| 184 | 187 |
$footer_template->set_file('page', 'footer.htt');
|
| 185 | 188 |
$footer_template->set_block('page', 'footer_block', 'header');
|
Also available in: Unified diff
remove auto including YUI Framework in backend for modules, enable with
>print_footer(true)
>print_error and ->print_success too accept a message as arrayauto validate in frontend if style block inside body tag
captcha now XHTML valide