Ejemplo n.º 1
0
" 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>
			</div>
	    	<?php 
    }
    ?>
Ejemplo n.º 2
0
					<?php 
include dirname(__FILE__) . '/search-form.php';
?>
				</li>
				
				<?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())) {
    ?>
					<li>
						<h2><a href="#" onclick="jQuery('#admin-functions').toggle(); return false"><?php 
    _e('Admin Functions', 'guangzhou');
    ?>
</a></h2>
						<ul id="admin-functions" style="display: none">
							<?php 
    topic_close_link(array('before' => '<li>', 'after' => '</li>'));
    ?>
							<?php 
    topic_sticky_link(array('before' => '<li>', 'after' => '</li>'));
    ?>
							
							<li><?php 
    GZ::topic_move_dropdown();
    ?>
</li>
						</ul>
					</li>
				<?php 
}
?>
			</ul>
Ejemplo n.º 3
0
		<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 
        user_profile_link($topic->topic_poster);
        ?>
">
			<?php 
        echo bb_get_avatar($topic->topic_poster, '16');