Exemplo n.º 1
0
<?php 
if (1 < get_topic_posts()) {
    ?>
	<li><?php 
    printf(__('<a href="%1$s">Latest answer</a> from %2$s'), esc_attr(get_topic_last_post_link()), get_topic_last_poster());
    ?>
</li>
<?php 
}
if (bb_is_user_logged_in()) {
    ?>
	<li<?php 
    echo $class;
    ?>
 id="favorite-toggle"><?php 
    user_favorites_link();
    ?>
</li>
<?php 
}
do_action('topicmeta');
?>
</ul>
</div>

<?php 
topic_tags();
?>

<div style="clear:both;"></div>
</div>
Exemplo n.º 2
0
        topic_title();
        ?>
</a></td>
	<td class="num"><?php 
        topic_posts();
        ?>
</td>
	<td class="num"><a href="<?php 
        topic_last_post_link();
        ?>
"><?php 
        topic_time();
        ?>
</a></td>
	<td class="num">[<?php 
        user_favorites_link('', array('mid' => '&times;'), $user_id);
        ?>
]</td>
</tr>
<?php 
    }
    ?>
</table>

<div class="nav">
<?php 
    favorites_pages();
    ?>
</div>

<?php 
Exemplo n.º 3
0
post_author_title();
?>
)
						
						<?php 
if (bb_current_user_can('view_by_ip')) {
    echo ' | ';
    post_ip_link();
}
?>
						
						<?php 
if (bb_current_user_can('edit_favorites')) {
    ?>
							| <span id="favorite-toggle"><?php 
    user_favorites_link(array('mid' => __('Add To Favourites', 'guangzhou'), array('pre' => __('Favourite'))));
    ?>
</span>
						<?php 
}
?>
					</div>

					<div class="entry">
						<?php 
post_text();
?>
					</div>
					
					<p><a href="#comments"><?php 
_e('Read responses...', 'guangzhou');
Exemplo n.º 4
0
        topic_link();
        ?>
"><?php 
        topic_title();
        ?>
</a></td>
				<td class="num"><?php 
        topic_posts();
        ?>
</td>
				<td class="num"><small><?php 
        topic_time();
        ?>
</small></td>
				<td class="num">[<?php 
        user_favorites_link('', array('mid' => 'x'), $user_id);
        ?>
]</td>
			</tr>
			<?php 
    }
    ?>
			</table>

			<div class="nav">
			<?php 
    favorites_pages();
    ?>
			</div>

			<?php