Ejemplo n.º 1
0
    ?>
	            	<li><a href="<?php 
    topic_rss_link();
    ?>
" class="rss-link">RSS экспорт этой темы</a></li>
				</ul>
			</div>
			
			<?php 
    if (bb_current_user_can('delete_topic', get_topic_id()) || bb_current_user_can('close_topic', get_topic_id()) || bb_current_user_can('stick_topic', get_topic_id()) || bb_current_user_can('move_topic', get_topic_id())) {
        ?>
			<div class="widget">
	       		<h3>Администрирование</h3>
	       		<ul>     
	        		<li><?php 
        topic_delete_link();
        ?>
</li>
					<li><?php 
        topic_close_link();
        ?>
</li>
					<li><?php 
        topic_sticky_link();
        ?>
</li>
	        		<li><?php 
        topic_move_dropdown();
        ?>
</li>
	        	</ul>
Ejemplo n.º 2
0
"><?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 
        user_profile_link($topic->topic_poster);
        ?>
">
			<?php 
        echo bb_get_avatar($topic->topic_poster, '16');
        ?>
			<?php 
        topic_author();
        ?>