public function addWikiaVars(&$obj, &$tpl) { parent::addWikiaVars($obj, $tpl); AdEngine::getInstance()->setLoadType('inline'); $spotlights = AdEngine::getInstance()->getSetupHtml() . '<div id="wikia_header" style="display:none"></div> <table id="spotlight_container"> <tr> <td> <div>' . AdEngine::getInstance()->getPlaceHolderIframe('SPOTLIGHT_FOOTER_1') . '</div> </td> <td> <div>' . AdEngine::getInstance()->getPlaceHolderIframe('SPOTLIGHT_FOOTER_2') . '</div> </td> <td> <div>' . AdEngine::getInstance()->getPlaceHolderIframe('SPOTLIGHT_FOOTER_3') . '</div> </td> </tr> </table>' . AdEngine::getInstance()->getDelayedIframeLoadingCode(); $tpl->set('ads-column', $spotlights ); return true; }
public function addWikiaVars(&$obj, &$tpl) { wfProfileIn(__METHOD__); parent::addWikiaVars($obj, $tpl); $tpl->set('copyright', '<a href="http://www.gnu.org/copyleft/fdl.html" class="external " title="http://www.gnu.org/copyleft/fdl.html" rel="nofollow">GFDL</a>'); $tpl->set('privacy', '<a href="http://www.wikia.com/wiki/Wikia:Privacy_Policy" title="w:Wikia:Privacy Policy">Terms of use</a>'); $tpl->set('about', '<a href="/WoWWiki:About" title="WoWWiki:About">About WoWWiki</a>'); $tpl->set('disclaimer', '<a href="/WoWWiki:General_disclaimer" title="WoWWiki:General disclaimer">Disclaimers</a>'); wfProfileOut(__METHOD__); return true; }