public function onStartup() { self::$instance = $this; $this->onLoadLanguage(); $this->onInclude(); GWF_Website::addMetaTags(',' . $this->lang('mt_main')); GWF_Website::addMetaDescr(' ' . $this->lang('md_main')); }
echo wcProfileOwnLinks($u, $mod_links); } # Challs if (WC_Challenge::getScoreForUser($u) > 0) { Module_WeChall::includeForums(); // GWF_Module::getModule('Forum')->onInclude(); # Profile Challs $method = $wechall->getMethod('ChallsProfile'); $method instanceof WeChall_ChallsProfile; echo $method->templateChalls($u); # Created By if ($u->getID() !== '1') { $method = $wechall->getMethod('Challs'); $method instanceof WeChall_Challs; echo $method->templateChalls(false, $u->getID(), '', '', '', false, false); } } # Guestbook echo wcProfileGuestbook($u); # Groups echo wcProfileUsergroup($u, GWF_User::isLoggedIn()); GWF_Website::setPageTitle($tLang->lang('pt_profile', array($u->displayUsername()))); GWF_Website::setMetaDescr($tLang->lang('md_profile', array($u->displayUsername()))); GWF_Website::addMetaDescr(' ' . GWF_Module::getModule('WeChall')->getMethod('API_Bot')->showGlobal($u->getVar('user_name'))); //$tags = ''; //foreach ($regats as $regat) //{ // $regat instanceof WC_RegAt; // $tags .= ', '.$regat->getSite()->displayName(); //} //GWF_Website::addMetaTags($tags);