Changeset 5737 for trunk/bp-themes/bp-default/groups/single/forum/topic.php
- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/groups/single/forum/topic.php
r5388 r5737 1 1 <?php do_action( 'bp_before_group_forum_topic' ); ?> 2 2 3 <form action="<?php bp_forum_topic_action() ?>" method="post" id="forum-topic-form" class="standard-form">3 <form action="<?php bp_forum_topic_action(); ?>" method="post" id="forum-topic-form" class="standard-form"> 4 4 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 5 5 <ul> … … 7 7 8 8 <li> 9 <a href="<?php bp_forum_topic_new_reply_link() ?>" class="new-reply-link"><?php _e( 'New Reply', 'buddypress' )?></a>9 <a href="<?php bp_forum_topic_new_reply_link(); ?>" class="new-reply-link"><?php _e( 'New Reply', 'buddypress' ); ?></a> 10 10 </li> 11 11 … … 15 15 16 16 <li> 17 <a href="<?php bp_forums_directory_permalink() ?>"><?php _e( 'Forum Directory', 'buddypress')?></a>17 <a href="<?php bp_forums_directory_permalink(); ?>"><?php _e( 'Forum Directory', 'buddypress'); ?></a> 18 18 </li> 19 19 … … 24 24 25 25 <div id="topic-meta"> 26 <h3><?php bp_the_topic_title() ?> (<?php bp_the_topic_total_post_count()?>)</h3>26 <h3><?php bp_the_topic_title(); ?> (<?php bp_the_topic_total_post_count(); ?>)</h3> 27 27 28 28 <?php if ( bp_forum_topic_has_tags() ) : ?> … … 30 30 <div class="topic-tags"> 31 31 32 <?php _e( 'Topic tags:', 'buddypress' ) ?> <?php bp_forum_topic_tag_list()?>32 <?php _e( 'Topic tags:', 'buddypress' ); ?> <?php bp_forum_topic_tag_list(); ?> 33 33 34 34 </div> … … 40 40 <div class="last admin-links"> 41 41 42 <?php bp_the_topic_admin_links() ?>42 <?php bp_the_topic_admin_links(); ?> 43 43 44 44 </div> … … 57 57 <div id="post-count-top" class="pag-count"> 58 58 59 <?php bp_the_topic_pagination_count() ?>59 <?php bp_the_topic_pagination_count(); ?> 60 60 61 61 </div> … … 63 63 <div class="pagination-links" id="topic-pag-top"> 64 64 65 <?php bp_the_topic_pagination() ?>65 <?php bp_the_topic_pagination(); ?> 66 66 67 67 </div> … … 69 69 </div> 70 70 71 <?php do_action( 'bp_before_group_forum_topic_posts' ) ?>71 <?php do_action( 'bp_before_group_forum_topic_posts' ); ?> 72 72 73 73 <ul id="topic-post-list" class="item-list" role="main"> 74 74 <?php while ( bp_forum_topic_posts() ) : bp_the_forum_topic_post(); ?> 75 75 76 <li id="post-<?php bp_the_topic_post_id() ?>" class="<?php bp_the_topic_post_css_class()?>">76 <li id="post-<?php bp_the_topic_post_id(); ?>" class="<?php bp_the_topic_post_css_class(); ?>"> 77 77 <div class="poster-meta"> 78 <a href="<?php bp_the_topic_post_poster_link() ?>">79 <?php bp_the_topic_post_poster_avatar( 'width=40&height=40' ) ?>78 <a href="<?php bp_the_topic_post_poster_link(); ?>"> 79 <?php bp_the_topic_post_poster_avatar( 'width=40&height=40' ); ?> 80 80 </a> 81 <?php echo sprintf( __( '%1$s said %2$s:', 'buddypress' ), bp_get_the_topic_post_poster_name(), bp_get_the_topic_post_time_since() ) ?>81 <?php echo sprintf( __( '%1$s said %2$s:', 'buddypress' ), bp_get_the_topic_post_poster_name(), bp_get_the_topic_post_time_since() ); ?> 82 82 </div> 83 83 84 84 <div class="post-content"> 85 <?php bp_the_topic_post_content() ?>85 <?php bp_the_topic_post_content(); ?> 86 86 </div> 87 87 88 88 <div class="admin-links"> 89 89 <?php if ( bp_group_is_admin() || bp_group_is_mod() || bp_get_the_topic_post_is_mine() ) : ?> 90 <?php bp_the_topic_post_admin_links() ?>90 <?php bp_the_topic_post_admin_links(); ?> 91 91 <?php endif; ?> 92 92 93 93 <?php do_action( 'bp_group_forum_post_meta' ); ?> 94 94 95 <a href="#post-<?php bp_the_topic_post_id() ?>" title="<?php _e( 'Permanent link to this post', 'buddypress' )?>">#</a>95 <a href="#post-<?php bp_the_topic_post_id(); ?>" title="<?php _e( 'Permanent link to this post', 'buddypress' ); ?>">#</a> 96 96 </div> 97 97 </li> … … 100 100 </ul><!-- #topic-post-list --> 101 101 102 <?php do_action( 'bp_after_group_forum_topic_posts' ) ?>102 <?php do_action( 'bp_after_group_forum_topic_posts' ); ?> 103 103 104 104 <div class="pagination no-ajax"> 105 105 106 106 <div id="post-count-bottom" class="pag-count"> 107 <?php bp_the_topic_pagination_count() ?>107 <?php bp_the_topic_pagination_count(); ?> 108 108 </div> 109 109 110 110 <div class="pagination-links" id="topic-pag-bottom"> 111 <?php bp_the_topic_pagination() ?>111 <?php bp_the_topic_pagination(); ?> 112 112 </div> 113 113 … … 117 117 118 118 <div id="message" class="info"> 119 <p><?php _e( 'There are no posts for this topic.', 'buddypress' ) ?></p>119 <p><?php _e( 'There are no posts for this topic.', 'buddypress' ); ?></p> 120 120 </div> 121 121 … … 132 132 133 133 <?php if ( bp_groups_auto_join() && !bp_group_is_member() ) : ?> 134 <p><?php _e( 'You will auto join this group when you reply to this topic.', 'buddypress' ) ?></p>134 <p><?php _e( 'You will auto join this group when you reply to this topic.', 'buddypress' ); ?></p> 135 135 <?php endif; ?> 136 136 137 <?php do_action( 'groups_forum_new_reply_before' ) ?>137 <?php do_action( 'groups_forum_new_reply_before' ); ?> 138 138 139 <h4><?php _e( 'Add a reply:', 'buddypress' ) ?></h4>139 <h4><?php _e( 'Add a reply:', 'buddypress' ); ?></h4> 140 140 141 141 <textarea name="reply_text" id="reply_text"></textarea> 142 142 143 143 <div class="submit"> 144 <input type="submit" name="submit_reply" id="submit" value="<?php _e( 'Post Reply', 'buddypress' ) ?>" />144 <input type="submit" name="submit_reply" id="submit" value="<?php _e( 'Post Reply', 'buddypress' ); ?>" /> 145 145 </div> 146 146 147 <?php do_action( 'groups_forum_new_reply_after' ) ?>147 <?php do_action( 'groups_forum_new_reply_after' ); ?> 148 148 149 <?php wp_nonce_field( 'bp_forums_new_reply' ) ?>149 <?php wp_nonce_field( 'bp_forums_new_reply' ); ?> 150 150 </div> 151 151 … … 153 153 154 154 <div id="message" class="info"> 155 <p><?php _e( 'This topic is closed, replies are no longer accepted.', 'buddypress' ) ?></p>155 <p><?php _e( 'This topic is closed, replies are no longer accepted.', 'buddypress' ); ?></p> 156 156 </div> 157 157 … … 164 164 </form><!-- #forum-topic-form --> 165 165 166 <?php do_action( 'bp_after_group_forum_topic' ) ?>166 <?php do_action( 'bp_after_group_forum_topic' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.