<?php 
do_action('tag_above_table');
?>

<?php 
if ($topics) {
    ?>

<table id="latest" role="main">
<tr>
	<th><?php 
    _e('Topic');
    ?>
 &#8212; <?php 
    bb_new_topic_link();
    ?>
</th>
	<th><?php 
    _e('Posts');
    ?>
</th>
	<!-- <th><?php 
    _e('Voices');
    ?>
</th> -->
	<th><?php 
    _e('Last Poster');
    ?>
</th>
	<th><?php 
Exemple #2
0
<?php 
if ($forums) {
    ?>

<div id="sidebar" role="main" class="span-6">
<h2>About</h2>
<p>We're building a community-based Q&A board for digital humanities questions that need (just a little) more than 140 character answers.</p>
<p><a href="http://chronicle.com/blog/ProfHacker/27/" id="ph-logo"><img alt="ProfHacker" title="ProfHacker" src="<?php 
    echo bb_active_theme_uri() . 'images/ph-icon.png';
    ?>
"/></a><strong><a href="http://twitter.com/dhanswers">@DHAnswers</a></strong> is a collaborative project of the <a href="http://www.ach.org">Association for Computers and the Humanities</a> (ACH) and the Chronicle of Higher Education's <a href="http://chronicle.com/blog/ProfHacker/27/">ProfHacker</a>.</p>
<p><a id="follow-us" href="http://www.twitter.com/DHAnswers">Follow @DHAnswers on Twitter</a></p>
<!-- <h2>How to</h2>
<p><a href="/answers/bb-login.php">Create an account</a> and <?php 
    bb_new_topic_link('ask a question');
    ?>
 </p> -->
<h2><?php 
    _e('Popular Tags');
    ?>
</h2>
<p class="frontpageheatmap"><?php 
    bb_tag_heat_map(10, 18, 'px', 20);
    ?>
</p>

<h2><?php 
    _e('Find Questions');
    ?>
</h2>
function new_topic($args = null)
{
    bb_log_deprecated('function', __FUNCTION__, 'bb_new_topic_link');
    bb_new_topic_link($args);
}
Exemple #4
0
<?php

if (in_array(bb_get_location(), array('search-page', 'profile-page', 'tag-page'))) {
    ?>
<div class="header-button ask-link"><a href="/answers/?new=1">Ask a Question</a></div>
<?php 
} else {
    ?>
<div class="header-button ask-link"><?php 
    bb_new_topic_link('Ask a Question');
    ?>
</div>
<?php 
}
?>
<!-- <div class="header-button profile-link"><?php 
bb_profile_link('My Profile');
?>
</div> -->