public function getDefaultTheme() {
     $this->initDefaultTheme(Gpf_Settings::get(Pap_Settings::DEFAULT_AFFILIATE_PANEL_THEME));
     return parent::getDefaultTheme();
 }
Example #2
0
 public function assignModuleAttributes(Gpf_Templates_Template $template) {
     parent::assignModuleAttributes($template);
     Pap_Module::assignTemplateVariables($template);
     $template->assign(Pap_Settings::PROGRAM_NAME, $this->_localize(Gpf_Settings::get(Pap_Settings::PROGRAM_NAME)));
     $template->assign(Pap_Settings::PROGRAM_LOGO, Gpf_Settings::get(Pap_Settings::PROGRAM_LOGO));
     if (Gpf_Session::getAuthUser()->isLogged()) {
         $template->assignAttributes(Gpf_Session::getAuthUser()->getUserData());
     }
 }