Exemplo n.º 1
0
    ?>
</th>
		<th><?php 
    echo $tLang->lang('th_votes_up');
    ?>
</th>
		<th><?php 
    echo $tLang->lang('th_thread_viewcount');
    ?>
</th>
	</tr>
<?php 
    foreach ($tVars['latest_threads'] as $t) {
        $t instanceof GWF_ForumThread;
        $edit = $t->hasEditPermission() ? GWF_Button::edit($t->getEditHREF(), $tLang->lang('btn_edit')) : '';
        $unread = $t->hasRead($user) ? '' : GWF_Button::bell($tVars['href_unread']);
        $hrefLastPage = $t->getLastPageHREF();
        echo GWF_Table::rowStart();
        ?>
		<td><a href="<?php 
        echo $t->getPageHREF(1);
        ?>
"><?php 
        echo $t->display('thread_title');
        ?>
</a></td>
		<td><?php 
        echo $edit . $unread;
        ?>
</td>
		<td><?php 
Exemplo n.º 2
0
<h1><?php 
echo $tVars['tag_title'] . GWF_Button::search($tVars['href_search'], $tLang->lang('btn_search'));
?>
</h1>
<?php 
if ($tVars['new_link_count'] > 0) {
    echo '<div class="gwf_buttons_outer">' . PHP_EOL;
    echo '<div class="gwf_buttons">' . PHP_EOL;
    if (GWF_Session::isLoggedIn()) {
        echo GWF_Button::checkmark(true, $tLang->lang('btn_mark_read'), $tVars['href_mark_read']);
    }
    echo GWF_Button::bell($tVars['href_new_links'], $tLang->lang('btn_new_links'));
    echo $tLang->lang('info_newlinks', array($tVars['new_link_count']));
    echo '</div></div>' . PHP_EOL;
}
echo $tVars['cloud'];
echo $tVars['page_menu'];
echo $tVars['links'];
echo $tVars['search'];
echo $tVars['page_menu'];
if ($tVars['may_add_link']) {
    echo GWF_Button::wrapStart();
    echo GWF_Button::add($tLang->lang('btn_add'), $tVars['href_add']);
    echo GWF_Button::wrapEnd();
} else {
    echo GWF_Box::box($tVars['text_add']);
}