Exemplo n.º 1
0
"><?php 
        topic_title();
        ?>
</a></span>
		<div>
		<span class="row-actions">
			<a href="<?php 
        topic_link();
        ?>
"><?php 
        _e('View');
        ?>
</a> |
			<?php 
        if ($first_post) {
            post_edit_link($first_post->post_id);
            ?>
 |
			<?php 
        }
        topic_close_link(array('id' => $topic->topic_id, 'before' => '', 'after' => '', 'close_text' => __('Close'), 'open_text' => _x('Open', 'action')));
        ?>
 |
			<?php 
        topic_delete_link(array('id' => $topic->topic_id, 'before' => '', 'after' => '', 'delete_text' => __('Delete'), 'undelete_text' => __('Undelete')));
        ?>
		</span>&nbsp;
		</div>
	</td>
	<td class="author">
		<a class="author-link" href="<?php 
Exemplo n.º 2
0
</strong><br />
				<small><?php 
post_author_title();
?>
</small>
			</p>
		</div>
		
		<div class="threadpost">
			<div class="post"><?php 
post_text();
?>
</div>
			<div class="poststuff"><?php 
printf(__('Posted %s ago'), bb_get_post_time());
?>
 <a href="<?php 
post_anchor_link();
?>
">#</a> <?php 
post_ip_link();
?>
 <?php 
post_edit_link();
?>
 <?php 
post_delete_link();
?>
</div>
		</div>
Exemplo n.º 3
0
function mass_edit_list_posts()
{
    global $bb_posts, $bb_post;
    if ($bb_posts) {
        foreach ($bb_posts as $bb_post) {
            ?>
	<li<?php 
            alt_class('post');
            ?>
>
		<div class="threadauthor">
			<p><strong><?php 
            poster_id_link();
            ?>
</strong><br />
				<small><?php 
            poster_id_type();
            ?>
</small></p>
		</div>
		<div class="threadpost">
			<div class="post"><?php 
            post_text();
            ?>
</div>
			<div class="poststuff">
				<?php 
            printf(__('Posted: %1$s in <a href="%2$s">%3$s</a>'), bb_get_post_time(), get_topic_link($bb_post->topic_id), get_topic_title($bb_post->topic_id));
            ?>
 IP: <?php 
            post_ip_link();
            ?>
 <?php 
            post_edit_link();
            ?>
 <?php 
            post_delete_link();
            ?>
</div>
			</div>
	</li><?php 
        }
    }
}