<?php # Highlighter // if (GWF_Browser::isReferredBySearchEngine()) // { // $tVars['term'] = GWF_Browser::getSearchEngineTerm(); // } ?> <div class="gwf_thread"> <?php if ($title) { $button = ''; if (false !== ($chall = WC_Challenge::getByBoardID($t->getVar('thread_bid')))) { $text = WC_HTML::lang('goto_chall', array($chall->display('chall_title'))); $button = ' ' . GWF_Button::forward($chall->getHREF(), $text); } printf('<h1>%s%s</h1>', $t->display('thread_title'), $button); } if ($actions) { $buttons = ''; if (false !== ($prev = $t->getPrevThread())) { $href = $prev->getPageHREF(1); $buttons .= GWF_Button::prev($href, $prev->getVar('thread_title')); } // if ($tVars['page'] === 1) { if ($t->hasPoll()) { if (false !== ($mod_votes = GWF_Module::loadModuleDB('Votes'))) { $mod_votes->onInclude();