- Timestamp:
- 04/23/2015 05:20:25 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/forums/index.php
r9604 r9789 1 1 <div id="buddypress"> 2 3 <?php do_action( 'bp_before_directory_forums' ); ?> 2 3 <?php 4 5 /** 6 * Fires at the start of the forums template. 7 * 8 * @since BuddyPress (1.5.0) 9 */ 10 do_action( 'bp_before_directory_forums' ); ?> 4 11 5 12 <form action="" method="post" id="forums-search-form" class="dir-form"> 6 13 7 <?php do_action( 'bp_before_directory_forums_content' ); ?> 14 <?php 15 16 /** 17 * Fires before the display of the forums content. 18 * 19 * @since BuddyPress (1.1.0) 20 */ 21 do_action( 'bp_before_directory_forums_content' ); ?> 8 22 9 23 <div id="forums-dir-search" class="dir-search" role="search"> … … 14 28 </form> 15 29 16 <?php do_action( 'bp_before_topics' ); ?> 30 <?php 31 32 /** 33 * Fires before the display of the forum topics. 34 * 35 * @since BuddyPress (1.5.0) 36 */ 37 do_action( 'bp_before_topics' ); ?> 17 38 18 39 <form action="" method="post" id="forums-directory-form" class="dir-form"> … … 28 49 <?php endif; ?> 29 50 30 <?php do_action( 'bp_forums_directory_group_types' ); ?> 51 <?php 52 53 /** 54 * Fires inside the forum group types list. 55 * 56 * @since BuddyPress (1.2.0) 57 */ 58 do_action( 'bp_forums_directory_group_types' ); ?> 31 59 32 60 </ul> … … 36 64 <ul> 37 65 38 <?php do_action( 'bp_forums_directory_group_sub_types' ); ?> 66 <?php 67 68 /** 69 * Fires inside the forum group sub-types list. 70 * 71 * @since BuddyPress (1.5.0) 72 */ 73 do_action( 'bp_forums_directory_group_sub_types' ); ?> 39 74 40 75 <li id="forums-order-select" class="last filter"> … … 46 81 <option value="unreplied"><?php _e( 'Unreplied', 'buddypress' ); ?></option> 47 82 48 <?php do_action( 'bp_forums_directory_order_options' ); ?> 83 <?php 84 85 /** 86 * Fires inside the select input for forums order options. 87 * 88 * @since BuddyPress (1.2.0) 89 */ 90 do_action( 'bp_forums_directory_order_options' ); ?> 49 91 50 92 </select> … … 59 101 </div> 60 102 61 <?php do_action( 'bp_directory_forums_content' ); ?> 103 <?php 104 105 /** 106 * Fires and displays the forums content. 107 * 108 * @since BuddyPress (1.1.0) 109 */ 110 do_action( 'bp_directory_forums_content' ); ?> 62 111 63 112 <?php wp_nonce_field( 'directory_forums', '_wpnonce-forums-filter' ); ?> … … 65 114 </form> 66 115 67 <?php do_action( 'bp_after_directory_forums' ); ?> 68 69 <?php do_action( 'bp_before_new_topic_form' ); ?> 116 <?php 117 118 /** 119 * Fires after the display of the forums. 120 * 121 * @since BuddyPress (1.5.0) 122 */ 123 do_action( 'bp_after_directory_forums' ); ?> 124 125 <?php 126 127 /** 128 * Fires before the display of the new topic form. 129 * 130 * @since BuddyPress (1.5.0) 131 */ 132 do_action( 'bp_before_new_topic_form' ); ?> 70 133 71 134 <div id="new-topic-post"> … … 77 140 <form action="" method="post" id="forum-topic-form" class="standard-form"> 78 141 79 <?php do_action( 'groups_forum_new_topic_before' ); ?> 142 <?php 143 144 /** 145 * Fires inside the new topic form tag and before input display. 146 * 147 * @since BuddyPress (1.0.0) 148 */ 149 do_action( 'groups_forum_new_topic_before' ); ?> 80 150 81 151 <a name="post-new"></a> 82 152 <h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5> 83 153 84 <?php do_action( 'template_notices' ); ?> 154 <?php 155 156 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 157 do_action( 'template_notices' ); ?> 85 158 86 159 <label><?php _e( 'Title:', 'buddypress' ); ?></label> … … 110 183 </select><!-- #topic_group_id --> 111 184 112 <?php do_action( 'groups_forum_new_topic_after' ); ?> 185 <?php 186 187 /** 188 * Fires before the new topic form submit actions. 189 * 190 * @since BuddyPress (1.0.0) 191 */ 192 do_action( 'groups_forum_new_topic_after' ); ?> 113 193 114 194 <div class="submit"> … … 134 214 </div><!-- #new-topic-post --> 135 215 136 <?php do_action( 'bp_after_new_topic_form' ); ?> 137 138 <?php do_action( 'bp_after_directory_forums_content' ); ?> 139 216 <?php 217 218 /** 219 * Fires after the display of the new topic form. 220 * 221 * @since BuddyPress (1.5.0) 222 */ 223 do_action( 'bp_after_new_topic_form' ); ?> 224 225 <?php 226 227 /** 228 * Fires before the display of the forums content. 229 * 230 * @since BuddyPress (1.1.0) 231 */ 232 do_action( 'bp_after_directory_forums_content' ); ?> 233 140 234 </div>
Note: See TracChangeset
for help on using the changeset viewer.