public function print_footer($activateJsAdmin = false) { ... $footer_template->set_var(array( 'IS_ADMIN' => ($this->get_user_id()==1), 'BACKEND_BODY_MODULE_JS' => $this->register_backend_modfiles_body('js'), 'WB_URL' => WB_URL, 'ADMIN_URL' => ADMIN_URL, 'THEME_URL' => THEME_URL, 'HELPER_URL' => WB_URL.'/framework/helpers', ) ); .... }
$footer_template->set_var([ 'IS_ADMIN' => ($this->get_user_id()==1), 'BACKEND_MODULE_JS' => $this->register_backend_modfiles('js'), 'BACKEND_BODY_MODULE_JS' => $this->register_backend_modfiles_body('js'), ..........