Changeset 2284 for trunk/bp-themes/bp-default/groups/single/forum.php
- Timestamp:
- 01/09/2010 04:16:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/groups/single/forum.php
r2197 r2284 1 <?php do_action( 'bp_before_group_forum_content' ) ?> 2 1 3 <?php if ( bp_is_group_forum_topic_edit() ) : ?> 2 4 <?php locate_template( array( 'groups/single/forum/edit.php' ), true ) ?> … … 8 10 9 11 <div class="forums single-forum"> 10 <?php // 'forums/topic-loop.php' loaded here via AJAX. ?> 11 </div> 12 <?php 13 // The loop will be loaded here via AJAX on page load to retain selected settings and not waste cycles. 14 // If you're concerned about no-script functionality, uncomment the following line. 15 16 // locate_template( array( 'forums/forums-loop.php' ), true ); 17 ?> 18 </div><!-- .forums --> 19 20 <?php do_action( 'bp_after_group_forum_content' ) ?> 12 21 13 22 <?php if ( ( is_user_logged_in() && 'public' == bp_get_group_status() ) || bp_group_is_member() ) : ?> … … 16 25 <div id="post-new-topic"> 17 26 18 <?php do_action( ' groups_forum_new_topic_before' ) ?>27 <?php do_action( 'bp_before_group_forum_post_new' ) ?> 19 28 20 29 <?php if ( !bp_group_is_member() ) : ?> … … 34 43 <input type="text" name="topic_tags" id="topic_tags" value="" /> 35 44 36 <?php do_action( ' groups_forum_new_topic_after' ) ?>45 <?php do_action( 'bp_after_group_forum_post_new' ) ?> 37 46 38 47 <div class="submit"> … … 41 50 42 51 <?php wp_nonce_field( 'bp_forums_new_topic' ) ?> 43 </div> 52 </div><!-- #post-new-topic --> 44 53 </form> 45 54
Note: See TracChangeset
for help on using the changeset viewer.