/** * @see Page::assignVariables() */ public function assignVariables() { $tmp = AdminTools::spiderCnt(); if (isset($tmp['cntOwn'])) { $this->spiderCntOwn = $tmp['cntOwn']; $this->spiderCntSyn = $tmp['cntSyn']; $this->spiderCntAll = $tmp['cntAll']; } if (AdminTools::wbbExists() && is_dir(WBB_DIR . 'lib/data/boxes/SimplePieNewsReader/cache')) { $this->spRssExists = true; } if (!count($this->userOptions)) { $this->userOptions = AdminTools::getUserOptions(); } if (!count($this->languages)) { $this->languages = AdminTools::getLanguages(); } parent::assignVariables(); WCF::getTPL()->assign(array('wbbExists' => AdminTools::wbbExists(), 'cacheDel' => $this->cacheDel, 'cacheTpl' => $this->cacheTpl, 'cacheLang' => $this->cacheLang, 'cacheOpt' => $this->cacheOpt, 'cacheRSS' => $this->cacheRSS, 'spRssExists' => $this->spRssExists, 'spiders' => AdminTools::getSpiders(), 'spiderCur' => $this->spiderCur, 'spiderID' => $this->spiderID, 'spiderCntOwn' => $this->spiderCntOwn, 'spiderCntSyn' => $this->spiderCntSyn, 'spiderCntAll' => $this->spiderCntAll, 'boards' => AdminTools::getBoards(), 'prefBoards' => AdminTools::getPrefBoards(), 'ugrps' => AdminTools::getUgrps(), 'userOptions' => $this->userOptions, 'userOptionExclUgrps' => AdminTools::getSetting('userOptionExclUgrps'), 'languages' => $this->languages, 'setLanguageMsg' => $this->setLanguageMsg, 'errMsg' => $this->errMsg, 'sucMsg' => $this->sucMsg)); }