<td class="gwf_num"><?php echo $c->getVar('board_postcount'); ?> </td> <?php echo GWF_Table::rowEnd(); } echo GWF_Table::end(); } ?> <?php # SHOUTBOX if ($b->isRoot()) { if (false !== ($mod_shout = GWF_Module::loadModuleDB('Shoutbox'))) { echo GWF_HTML::div(Module_Shoutbox::templateBoxS(), 'gwf_forum_shoutbox fl'); } } ?> <div class="cl"></div> <?php echo $tVars['pagemenu_boards']; ?> <!-- Threads --> <?php if (count($tVars['threads']) > 0) { $t_headers = array(array($tLang->lang('th_title'), 'thread_title'), array(''), array($tLang->lang('th_firstposter'), 'thread_firstposter'), array($tLang->lang('th_postcount'), 'thread_postcount'), array($tLang->lang('th_lastposter'), 'thread_lastposter'), array($tLang->lang('th_lastdate'), 'thread_lastdate'), array($tLang->lang('th_thanks'), 'thread_thanks'), array($tLang->lang('th_votes_up'), 'thread_votes_up'), array($tLang->lang('th_thread_viewcount'), 'thread_viewcount')); ?>
echo $attach; $sig = $opts->hasSignature() ? GWF_HTML::div($opts->displaySignature(), 'gwf_forum_sig') : ''; echo $sig; ?> </div> <?php $edit_by = GWF_HTML::div($post->displayEditBy($tVars['module']), 'gwf_post_edited'); ?> <?php $action_div = ''; if ($actions) { $buttons = ''; if ($tVars['reply']) { $buttons .= GWF_Button::reply($post->getReplyHREF(), $tLang->lang('btn_reply')); $buttons .= GWF_Button::quote($post->getQuoteHREF(), $tLang->lang('btn_quote')); } if ($can_edit) { $buttons .= GWF_Button::edit($post->getEditHREF(), $tLang->lang('btn_edit')); $buttons .= GWF_Button::generic($tLang->lang('btn_add_attach'), $post->hrefAddAttach()); } $action_div = GWF_HTML::div($buttons, 'gwf_buttons'); } echo GWF_HTML::div($edit_by . $action_div, 'gwf_post_foot'); # echo GWF_Table::rowEnd(); ?> </div> </div> <div class="cl"></div>
<h1><?php echo $tLang->lang('pt_irc_chat') . ' ( ' . GWF_HTML::display($tVars['module']->cfgIRCURL()) . ' )'; ?> </h1> <?php $buttons = ''; if ($tVars['gwf_chat']) { $buttons .= GWF_Button::generic($tLang->lang('btn_webchat'), $tVars['href_webchat'], 'generic', '', false); } if ($tVars['mibbit']) { $mib_url = $tVars['mibbit_url']; $onclick = "window.open('{$mib_url}', 'dummyname', 'height=undefined,width=undefined', false);"; $buttons .= GWF_Button::generic($tLang->lang('btn_ircchat'), $tVars['href_ircchat'], 'generic', '', true); $buttons .= GWF_Button::generic($tLang->lang('btn_ircchat_full'), '#', 'generic', '', false, $onclick); } if ($buttons !== '') { echo '<div class="gwf_buttons_outer">' . GWF_HTML::div($buttons, 'gwf_buttons') . '</div>' . PHP_EOL; } ?> <iframe id="gwf_mibbit" src="<?php echo $tVars['mibbit_url']; ?> "> <?php echo GWF_HTML::error('Chat', $tLang->lang('err_iframe'), false); ?> </iframe>
<?php $back = ''; foreach ($tVars['tags'] as $tag) { $back .= sprintf('<a href="%s">%s (%d)</a>' . PHP_EOL, $tag->hrefOverview(), $tag->displayName(), $tag->getCount()); } echo GWF_HTML::div($back, 'gwf_tags_outer gwf_tags');
<div class="cb"></div> <?php # Categories if (count($tVars['cats'])) { ?> <div> <?php foreach ($tVars['cats'] as $id => $cat) { # CATEGORIES ?> <div><?php echo $cat; ?> </div> <?php } ?> </div> <?php } ?> <div class="cb"></div> <?php if ($is_staff) { $buttons = ''; $buttons .= GWF_Button::add($tLang->lang('btn_add'), $tVars['href_add']); $buttons .= GWF_Button::generic($tLang->lang('btn_admin_section'), $tVars['module']->getAdminSectionUrl()); echo GWF_HTML::div($buttons, 'gwf_buttons'); }
} else { // $buttons .= GWF_Button::prev('#', $tLang->lang('btn_prev')); } if (!$pm->hasDeleted($u)) { $buttons .= GWF_Button::delete($pm->getDeleteHREF($u->getID()), $tLang->lang('btn_delete')); } else { $buttons .= GWF_Button::restore($pm->getRestoreHREF(), $tLang->lang('btn_restore')); } if ($pm->canEdit($u)) { $buttons .= GWF_Button::edit($pm->getEditHREF(), $tLang->lang('btn_edit')); } $buttons .= GWF_Button::options($pm->getAutoFolderHREF(), $tLang->lang('btn_autofolder')); if (!$pm->isGuestPM()) { $buttons .= GWF_Button::reply($pm->getReplyHREF(), $tLang->lang('btn_reply')) . PHP_EOL . GWF_Button::quote($pm->getQuoteHREF(), $tLang->lang('btn_quote')); } $u2 = $pm->getOtherUser($u); $buttons .= GWF_Button::ignore($pm->getIgnoreHREF($pm->getOtherUser($u)), $tLang->lang('btn_ignore', array($u2->display('user_name')))); $buttons .= GWF_Button::translate($pm->getTranslateHREF(), $tLang->lang('btn_translate'), '', 'gwfGoogleTrans(\'' . $transid . '\'); return false;'); if (false !== ($nexts = $pm->getReplyToNext())) { foreach ($nexts as $next) { $buttons .= GWF_Button::next($next->getDisplayHREF(), $tLang->lang('btn_next')); } } else { // $buttons .= GWF_Button::next('#', $tLang->lang('btn_next')); } echo GWF_HTML::div($buttons, 'gwf_pm_foot'); } ?> </div> <div class="cl"></div>