[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php bb_get_header(); ?> 2 3 <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a><?php bb_forum_bread_crumb(); ?></div> 4 <div class="infobox" role="main"> 5 6 <div id="topic-info"> 7 <span id="topic_labels"><?php bb_topic_labels(); ?></span> 8 <h2<?php topic_class( 'topictitle' ); ?>><?php topic_title(); ?></h2> 9 <span id="topic_posts">(<?php topic_posts_link(); ?>)</span> 10 <span id="topic_voices">(<?php printf( _n( '%s voice', '%s voices', bb_get_topic_voices() ), bb_get_topic_voices() ); ?>)</span> 11 12 <ul class="topicmeta"> 13 <li><?php printf(__('Started %1$s ago by %2$s'), get_topic_start_time(), get_topic_author()) ?></li> 14 <?php if ( 1 < get_topic_posts() ) : ?> 15 <li><?php printf(__('<a href="%1$s">Latest reply</a> from %2$s'), esc_attr( get_topic_last_post_link() ), get_topic_last_poster()) ?></li> 16 <?php endif; ?> 17 <?php if ( bb_is_user_logged_in() ) : ?> 18 <li<?php echo $class;?> id="favorite-toggle"><?php user_favorites_link(); ?></li> 19 <?php endif; do_action('topicmeta'); ?> 20 </ul> 21 </div> 22 23 <?php topic_tags(); ?> 24 25 <div style="clear:both;"></div> 26 </div> 27 <?php do_action('under_title'); ?> 28 <?php if ($posts) : ?> 29 <?php topic_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?> 30 <div id="ajax-response"></div> 31 <ol id="thread" class="list:post"> 32 33 <?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?> 34 <li id="post-<?php post_id(); ?>"<?php alt_class('post', $del_class); ?>> 35 <?php bb_post_template(); ?> 36 </li> 37 <?php endforeach; ?> 38 39 </ol> 40 <div class="clearit"><br style=" clear: both;" /></div> 41 <p class="rss-link"><a href="<?php topic_rss_link(); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for this topic') ?></a></p> 42 <?php topic_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?> 43 <?php endif; ?> 44 <?php if ( topic_is_open( $bb_post->topic_id ) ) : ?> 45 <?php post_form(); ?> 46 <?php else : ?> 47 <h2><?php _e('Topic Closed') ?></h2> 48 <p><?php _e('This topic has been closed to new replies.') ?></p> 49 <?php endif; ?> 50 <?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() ) ) : ?> 51 52 <div class="admin"> 53 <?php bb_topic_admin(); ?> 54 </div> 55 56 <?php endif; ?> 57 <?php bb_get_footer(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Dec 7 01:01:35 2017 | Cross-referenced by PHPXref 0.7.1 |