Changeset 9786
- Timestamp:
- 04/23/2015 05:08:50 AM (10 years ago)
- Location:
- trunk/src/bp-templates/bp-legacy/buddypress/groups
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php
r9757 r9786 1 <?php do_action( 'bp_before_create_group_page' ); ?> 1 <?php 2 3 /** 4 * Fires at the top of the groups creation template file. 5 * 6 * @since BuddyPress (1.7.0) 7 */ 8 do_action( 'bp_before_create_group_page' ); ?> 2 9 3 10 <div id="buddypress"> 4 11 5 <?php do_action( 'bp_before_create_group_content_template' ); ?> 12 <?php 13 14 /** 15 * Fires before the display of group creation content. 16 * 17 * @since BuddyPress (1.6.0) 18 */ 19 do_action( 'bp_before_create_group_content_template' ); ?> 6 20 7 21 <form action="<?php bp_group_creation_form_action(); ?>" method="post" id="create-group-form" class="standard-form" enctype="multipart/form-data"> 8 22 9 <?php do_action( 'bp_before_create_group' ); ?> 23 <?php 24 25 /** 26 * Fires before the display of group creation. 27 * 28 * @since BuddyPress (1.2.0) 29 */ 30 do_action( 'bp_before_create_group' ); ?> 10 31 11 32 <div class="item-list-tabs no-ajax" id="group-create-tabs" role="navigation"> … … 24 45 <?php if ( bp_is_group_creation_step( 'group-details' ) ) : ?> 25 46 26 <?php do_action( 'bp_before_group_details_creation_step' ); ?> 47 <?php 48 49 /** 50 * Fires before the display of the group details creation step. 51 * 52 * @since BuddyPress (1.1.0) 53 */ 54 do_action( 'bp_before_group_details_creation_step' ); ?> 27 55 28 56 <div> … … 37 65 38 66 <?php 67 68 /** 69 * Fires after the display of the group details creation step. 70 * 71 * @since BuddyPress (1.1.0) 72 */ 39 73 do_action( 'bp_after_group_details_creation_step' ); 40 74 do_action( 'groups_custom_group_fields_editable' ); // @Deprecated … … 47 81 <?php if ( bp_is_group_creation_step( 'group-settings' ) ) : ?> 48 82 49 <?php do_action( 'bp_before_group_settings_creation_step' ); ?> 83 <?php 84 85 /** 86 * Fires before the display of the group settings creation step. 87 * 88 * @since BuddyPress (1.1.0) 89 */ 90 do_action( 'bp_before_group_settings_creation_step' ); ?> 50 91 51 92 <h4><?php _e( 'Privacy Options', 'buddypress' ); ?></h4> … … 123 164 <?php endif; ?> 124 165 125 <?php do_action( 'bp_after_group_settings_creation_step' ); ?> 166 <?php 167 168 /** 169 * Fires after the display of the group settings creation step. 170 * 171 * @since BuddyPress (1.1.0) 172 */ 173 do_action( 'bp_after_group_settings_creation_step' ); ?> 126 174 127 175 <?php wp_nonce_field( 'groups_create_save_group-settings' ); ?> … … 132 180 <?php if ( bp_is_group_creation_step( 'group-avatar' ) ) : ?> 133 181 134 <?php do_action( 'bp_before_group_avatar_creation_step' ); ?> 182 <?php 183 184 /** 185 * Fires before the display of the group avatar creation step. 186 * 187 * @since BuddyPress (1.1.0) 188 */ 189 do_action( 'bp_before_group_avatar_creation_step' ); ?> 135 190 136 191 <?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?> … … 185 240 <?php endif; ?> 186 241 187 <?php do_action( 'bp_after_group_avatar_creation_step' ); ?> 242 <?php 243 244 /** 245 * Fires after the display of the group avatar creation step. 246 * 247 * @since BuddyPress (1.1.0) 248 */ 249 do_action( 'bp_after_group_avatar_creation_step' ); ?> 188 250 189 251 <?php wp_nonce_field( 'groups_create_save_group-avatar' ); ?> … … 194 256 <?php if ( bp_is_group_creation_step( 'group-invites' ) ) : ?> 195 257 196 <?php do_action( 'bp_before_group_invites_creation_step' ); ?> 258 <?php 259 260 /** 261 * Fires before the display of the group invites creation step. 262 * 263 * @since BuddyPress (1.1.0) 264 */ 265 do_action( 'bp_before_group_invites_creation_step' ); ?> 197 266 198 267 <?php if ( bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> … … 255 324 <?php wp_nonce_field( 'groups_create_save_group-invites' ); ?> 256 325 257 <?php do_action( 'bp_after_group_invites_creation_step' ); ?> 326 <?php 327 328 /** 329 * Fires after the display of the group invites creation step. 330 * 331 * @since BuddyPress (1.1.0) 332 */ 333 do_action( 'bp_after_group_invites_creation_step' ); ?> 258 334 259 335 <?php endif; ?> 260 336 261 <?php do_action( 'groups_custom_create_steps' ); // Allow plugins to add custom group creation steps ?> 262 263 <?php do_action( 'bp_before_group_creation_step_buttons' ); ?> 337 <?php 338 339 /** 340 * Fires inside the group admin template. 341 * 342 * Allows plugins to add custom group creation steps. 343 * 344 * @since BuddyPress (1.1.0) 345 */ 346 do_action( 'groups_custom_create_steps' ); ?> 347 348 <?php 349 350 /** 351 * Fires before the display of the group creation step buttons. 352 * 353 * @since BuddyPress (1.1.0) 354 */ 355 do_action( 'bp_before_group_creation_step_buttons' ); ?> 264 356 265 357 <?php if ( 'crop-image' != bp_get_avatar_admin_step() ) : ?> … … 298 390 <?php endif;?> 299 391 300 <?php do_action( 'bp_after_group_creation_step_buttons' ); ?> 392 <?php 393 394 /** 395 * Fires after the display of the group creation step buttons. 396 * 397 * @since BuddyPress (1.1.0) 398 */ 399 do_action( 'bp_after_group_creation_step_buttons' ); ?> 301 400 302 401 <?php /* Don't leave out this hidden field */ ?> 303 402 <input type="hidden" name="group_id" id="group_id" value="<?php bp_new_group_id(); ?>" /> 304 403 305 <?php do_action( 'bp_directory_groups_content' ); ?> 404 <?php 405 406 /** 407 * Fires and displays the groups directory content. 408 * 409 * @since BuddyPress (1.1.0) 410 */ 411 do_action( 'bp_directory_groups_content' ); ?> 306 412 307 413 </div><!-- .item-body --> 308 414 309 <?php do_action( 'bp_after_create_group' ); ?> 415 <?php 416 417 /** 418 * Fires after the display of group creation. 419 * 420 * @since BuddyPress (1.2.0) 421 */ 422 do_action( 'bp_after_create_group' ); ?> 310 423 311 424 </form> 312 425 313 <?php do_action( 'bp_after_create_group_content_template' ); ?> 426 <?php 427 428 /** 429 * Fires after the display of group creation content. 430 * 431 * @since BuddyPress (1.6.0) 432 */ 433 do_action( 'bp_after_create_group_content_template' ); ?> 314 434 315 435 </div> 316 436 317 <?php do_action( 'bp_after_create_group_page' ); ?> 437 <?php 438 439 /** 440 * Fires at the bottom of the groups creation template file. 441 * 442 * @since BuddyPress (1.7.0) 443 */ 444 do_action( 'bp_after_create_group_page' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/groups-loop.php
r9604 r9786 12 12 ?> 13 13 14 <?php do_action( 'bp_before_groups_loop' ); ?> 14 <?php 15 16 /** 17 * Fires before the display of groups from the groups loop. 18 * 19 * @since BuddyPress (1.2.0) 20 */ 21 do_action( 'bp_before_groups_loop' ); ?> 15 22 16 23 <?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?> … … 32 39 </div> 33 40 34 <?php do_action( 'bp_before_directory_groups_list' ); ?> 41 <?php 42 43 /** 44 * Fires before the listing of the groups list. 45 * 46 * @since BuddyPress (1.1.0) 47 */ 48 do_action( 'bp_before_directory_groups_list' ); ?> 35 49 36 50 <ul id="groups-list" class="item-list" role="main"> … … 49 63 <div class="item-desc"><?php bp_group_description_excerpt(); ?></div> 50 64 51 <?php do_action( 'bp_directory_groups_item' ); ?> 65 <?php 66 67 /** 68 * Fires inside the listing of an individual group listing item. 69 * 70 * @since BuddyPress (1.1.0) 71 */ 72 do_action( 'bp_directory_groups_item' ); ?> 52 73 53 74 </div> … … 55 76 <div class="action"> 56 77 57 <?php do_action( 'bp_directory_groups_actions' ); ?> 78 <?php 79 80 /** 81 * Fires inside the action section of an individual group listing item. 82 * 83 * @since BuddyPress (1.1.0) 84 */ 85 do_action( 'bp_directory_groups_actions' ); ?> 58 86 59 87 <div class="meta"> … … 72 100 </ul> 73 101 74 <?php do_action( 'bp_after_directory_groups_list' ); ?> 102 <?php 103 104 /** 105 * Fires after the listing of the groups list. 106 * 107 * @since BuddyPress (1.1.0) 108 */ 109 do_action( 'bp_after_directory_groups_list' ); ?> 75 110 76 111 <div id="pag-bottom" class="pagination"> … … 98 133 <?php endif; ?> 99 134 100 <?php do_action( 'bp_after_groups_loop' ); ?> 135 <?php 136 137 /** 138 * Fires after the display of groups from the groups loop. 139 * 140 * @since BuddyPress (1.2.0) 141 */ 142 do_action( 'bp_after_groups_loop' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/index.php
r9604 r9786 1 <?php do_action( 'bp_before_directory_groups_page' ); ?> 1 <?php 2 3 /** 4 * Fires at the top of the groups directory template file. 5 * 6 * @since BuddyPress (1.5.0) 7 */ 8 do_action( 'bp_before_directory_groups_page' ); ?> 2 9 3 10 <div id="buddypress"> 4 11 5 <?php do_action( 'bp_before_directory_groups' ); ?>12 <?php 6 13 7 <?php do_action( 'bp_before_directory_groups_content' ); ?> 14 /** 15 * Fires before the display of the groups. 16 * 17 * @since BuddyPress (1.1.0) 18 */ 19 do_action( 'bp_before_directory_groups' ); ?> 20 21 <?php 22 23 /** 24 * Fires before the display of the groups content. 25 * 26 * @since BuddyPress (1.1.0) 27 */ 28 do_action( 'bp_before_directory_groups_content' ); ?> 8 29 9 30 <div id="group-dir-search" class="dir-search" role="search"> … … 23 44 <?php endif; ?> 24 45 25 <?php do_action( 'bp_groups_directory_group_filter' ); ?> 46 <?php 47 48 /** 49 * Fires inside the groups directory group filter input. 50 * 51 * @since BuddyPress (1.5.0) 52 */ 53 do_action( 'bp_groups_directory_group_filter' ); ?> 26 54 27 55 </ul> … … 30 58 <div class="item-list-tabs" id="subnav" role="navigation"> 31 59 <ul> 32 <?php do_action( 'bp_groups_directory_group_types' ); ?> 60 <?php 61 62 /** 63 * Fires inside the groups directory group types. 64 * 65 * @since BuddyPress (1.2.0) 66 */ 67 do_action( 'bp_groups_directory_group_types' ); ?> 33 68 34 69 <li id="groups-order-select" class="last filter"> … … 42 77 <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option> 43 78 44 <?php do_action( 'bp_groups_directory_order_options' ); ?> 79 <?php 80 81 /** 82 * Fires inside the groups directory group order options. 83 * 84 * @since BuddyPress (1.2.0) 85 */ 86 do_action( 'bp_groups_directory_order_options' ); ?> 45 87 </select> 46 88 </li> … … 52 94 </div><!-- #groups-dir-list --> 53 95 54 <?php do_action( 'bp_directory_groups_content' ); ?> 96 <?php 97 98 /** 99 * Fires and displays the group content. 100 * 101 * @since BuddyPress (1.1.0) 102 */ 103 do_action( 'bp_directory_groups_content' ); ?> 55 104 56 105 <?php wp_nonce_field( 'directory_groups', '_wpnonce-groups-filter' ); ?> 57 106 58 <?php do_action( 'bp_after_directory_groups_content' ); ?> 107 <?php 108 109 /** 110 * Fires after the display of the groups content. 111 * 112 * @since BuddyPress (1.1.0) 113 */ 114 do_action( 'bp_after_directory_groups_content' ); ?> 59 115 60 116 </form><!-- #groups-directory-form --> 61 117 62 <?php do_action( 'bp_after_directory_groups' ); ?> 118 <?php 119 120 /** 121 * Fires after the display of the groups. 122 * 123 * @since BuddyPress (1.1.0) 124 */ 125 do_action( 'bp_after_directory_groups' ); ?> 63 126 64 127 </div><!-- #buddypress --> 65 128 66 <?php do_action( 'bp_after_directory_groups_page' ); ?> 129 <?php 130 131 /** 132 * Fires at the bottom of the groups directory template file. 133 * 134 * @since BuddyPress (1.5.0) 135 */ 136 do_action( 'bp_after_directory_groups_page' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/activity.php
r9604 r9786 3 3 <li class="feed"><a href="<?php bp_group_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li> 4 4 5 <?php do_action( 'bp_group_activity_syndication_options' ); ?> 5 <?php 6 7 /** 8 * Fires inside the syndication options list, after the RSS option. 9 * 10 * @since BuddyPress (1.2.0) 11 */ 12 do_action( 'bp_group_activity_syndication_options' ); ?> 6 13 7 14 <li id="activity-filter-select" class="last"> … … 12 19 <?php bp_activity_show_filters( 'group' ); ?> 13 20 14 <?php do_action( 'bp_group_activity_filter_options' ); ?> 21 <?php 22 23 /** 24 * Fires inside the select input for group activity filter options. 25 * 26 * @since BuddyPress (1.2.0) 27 */ 28 do_action( 'bp_group_activity_filter_options' ); ?> 15 29 </select> 16 30 </li> … … 18 32 </div><!-- .item-list-tabs --> 19 33 20 <?php do_action( 'bp_before_group_activity_post_form' ); ?> 34 <?php 35 36 /** 37 * Fires before the display of the group activity post form. 38 * 39 * @since BuddyPress (1.2.0) 40 */ 41 do_action( 'bp_before_group_activity_post_form' ); ?> 21 42 22 43 <?php if ( is_user_logged_in() && bp_group_is_member() ) : ?> … … 26 47 <?php endif; ?> 27 48 28 <?php do_action( 'bp_after_group_activity_post_form' ); ?> 29 <?php do_action( 'bp_before_group_activity_content' ); ?> 49 <?php 50 51 /** 52 * Fires after the display of the group activity post form. 53 * 54 * @since BuddyPress (1.2.0) 55 */ 56 do_action( 'bp_after_group_activity_post_form' ); ?> 57 <?php 58 59 /** 60 * Fires before the display of the group activities list. 61 * 62 * @since BuddyPress (1.2.0) 63 */ 64 do_action( 'bp_before_group_activity_content' ); ?> 30 65 31 66 <div class="activity single-group" role="main"> … … 35 70 </div><!-- .activity.single-group --> 36 71 37 <?php do_action( 'bp_after_group_activity_content' ); ?> 72 <?php 73 74 /** 75 * Fires after the display of the group activities list. 76 * 77 * @since BuddyPress (1.2.0) 78 */ 79 do_action( 'bp_after_group_activity_content' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin.php
r9757 r9786 7 7 <form action="<?php bp_group_admin_form_action(); ?>" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data" role="main"> 8 8 9 <?php do_action( 'bp_before_group_admin_content' ); ?> 9 <?php 10 11 /** 12 * Fires inside the group admin form and before the content. 13 * 14 * @since BuddyPress (1.1.0) 15 */ 16 do_action( 'bp_before_group_admin_content' ); ?> 10 17 11 18 <?php /* Edit Group Details */ ?> 12 19 <?php if ( bp_is_group_admin_screen( 'edit-details' ) ) : ?> 13 20 14 <?php do_action( 'bp_before_group_details_admin' ); ?> 21 <?php 22 23 /** 24 * Fires before the display of group admin details. 25 * 26 * @since BuddyPress (1.1.0) 27 */ 28 do_action( 'bp_before_group_details_admin' ); ?> 15 29 16 30 <label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label> … … 20 34 <textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_group_description_editable(); ?></textarea> 21 35 22 <?php do_action( 'groups_custom_group_fields_editable' ); ?> 36 <?php 37 38 /** 39 * Fires after the group description admin details. 40 * 41 * @since BuddyPress (1.0.0) 42 */ 43 do_action( 'groups_custom_group_fields_editable' ); ?> 23 44 24 45 <p> … … 28 49 </p> 29 50 30 <?php do_action( 'bp_after_group_details_admin' ); ?> 51 <?php 52 53 /** 54 * Fires after the display of group admin details. 55 * 56 * @since BuddyPress (1.1.0) 57 */ 58 do_action( 'bp_after_group_details_admin' ); ?> 31 59 32 60 <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p> … … 38 66 <?php if ( bp_is_group_admin_screen( 'group-settings' ) ) : ?> 39 67 40 <?php do_action( 'bp_before_group_settings_admin' ); ?> 68 <?php 69 70 /** 71 * Fires before the group settings admin display. 72 * 73 * @since BuddyPress (1.1.0) 74 */ 75 do_action( 'bp_before_group_settings_admin' ); ?> 41 76 42 77 <?php if ( bp_is_active( 'forums' ) ) : ?> … … 113 148 <hr /> 114 149 115 <?php do_action( 'bp_after_group_settings_admin' ); ?> 150 <?php 151 152 /** 153 * Fires after the group settings admin display. 154 * 155 * @since BuddyPress (1.1.0) 156 */ 157 do_action( 'bp_after_group_settings_admin' ); ?> 116 158 117 159 <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p> … … 180 222 <?php if ( bp_is_group_admin_screen( 'manage-members' ) ) : ?> 181 223 182 <?php do_action( 'bp_before_group_manage_members_admin' ); ?> 224 <?php 225 226 /** 227 * Fires before the group manage members admin display. 228 * 229 * @since BuddyPress (1.1.0) 230 */ 231 do_action( 'bp_before_group_manage_members_admin' ); ?> 183 232 184 233 <div class="bp-widget"> … … 284 333 <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm" title="<?php esc_attr_e( 'Remove this member', 'buddypress' ); ?>"><?php _e( 'Remove from group', 'buddypress' ); ?></a> 285 334 286 <?php do_action( 'bp_group_manage_members_admin_item' ); ?> 335 <?php 336 337 /** 338 * Fires inside the display of a member admin item in group management area. 339 * 340 * @since BuddyPress (1.1.0) 341 */ 342 do_action( 'bp_group_manage_members_admin_item' ); ?> 287 343 288 344 </span> … … 303 359 </div> 304 360 305 <?php do_action( 'bp_after_group_manage_members_admin' ); ?> 361 <?php 362 363 /** 364 * Fires after the group manage members admin display. 365 * 366 * @since BuddyPress (1.1.0) 367 */ 368 do_action( 'bp_after_group_manage_members_admin' ); ?> 306 369 307 370 <?php endif; ?> … … 310 373 <?php if ( bp_is_group_admin_screen( 'membership-requests' ) ) : ?> 311 374 312 <?php do_action( 'bp_before_group_membership_requests_admin' ); ?> 375 <?php 376 377 /** 378 * Fires before the display of group membership requests admin. 379 * 380 * @since BuddyPress (1.1.0) 381 */ 382 do_action( 'bp_before_group_membership_requests_admin' ); ?> 313 383 314 384 <div class="requests"> … … 318 388 </div> 319 389 320 <?php do_action( 'bp_after_group_membership_requests_admin' ); ?> 321 322 <?php endif; ?> 323 324 <?php do_action( 'groups_custom_edit_steps' ) // Allow plugins to add custom group edit screens ?> 390 <?php 391 392 /** 393 * Fires after the display of group membership requests admin. 394 * 395 * @since BuddyPress (1.1.0) 396 */ 397 do_action( 'bp_after_group_membership_requests_admin' ); ?> 398 399 <?php endif; ?> 400 401 <?php 402 403 /** 404 * Fires inside the group admin template. 405 * 406 * Allows plugins to add custom group edit screens. 407 * 408 * @since BuddyPress (1.1.0) 409 */ 410 do_action( 'groups_custom_edit_steps' ); ?> 325 411 326 412 <?php /* Delete Group Option */ ?> 327 413 <?php if ( bp_is_group_admin_screen( 'delete-group' ) ) : ?> 328 414 329 <?php do_action( 'bp_before_group_delete_admin' ); ?> 415 <?php 416 417 /** 418 * Fires before the display of group delete admin. 419 * 420 * @since BuddyPress (1.1.0) 421 */ 422 do_action( 'bp_before_group_delete_admin' ); ?> 330 423 331 424 <div id="message" class="info"> … … 335 428 <label><input type="checkbox" name="delete-group-understand" id="delete-group-understand" value="1" onclick="if(this.checked) { document.getElementById('delete-group-button').disabled = ''; } else { document.getElementById('delete-group-button').disabled = 'disabled'; }" /> <?php _e( 'I understand the consequences of deleting this group.', 'buddypress' ); ?></label> 336 429 337 <?php do_action( 'bp_after_group_delete_admin' ); ?> 430 <?php 431 432 /** 433 * Fires after the display of group delete admin. 434 * 435 * @since BuddyPress (1.1.0) 436 */ 437 do_action( 'bp_after_group_delete_admin' ); ?> 338 438 339 439 <div class="submit"> … … 348 448 <input type="hidden" name="group-id" id="group-id" value="<?php bp_group_id(); ?>" /> 349 449 350 <?php do_action( 'bp_after_group_admin_content' ); ?> 450 <?php 451 452 /** 453 * Fires inside the group admin form and after the content. 454 * 455 * @since BuddyPress (1.1.0) 456 */ 457 do_action( 'bp_after_group_admin_content' ); ?> 351 458 352 459 </form><!-- #group-settings-form --> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum.php
r9604 r9786 1 1 <?php 2 2 3 /** 4 * Fires before the display of a group's forum content. 5 * 6 * @since BuddyPress (1.2.0) 7 */ 3 8 do_action( 'bp_before_group_forum_content' ); 4 9 … … 30 35 <?php endif; ?> 31 36 32 <?php do_action( 'bp_forums_directory_group_sub_types' ); ?> 37 <?php 38 39 /** This filter is documented in bp-templates/bp-legacy/buddypress/forums/index.php. */ 40 do_action( 'bp_forums_directory_group_sub_types' ); ?> 33 41 34 42 <li id="forums-order-select" class="last filter"> … … 40 48 <option value="unreplied"><?php _e( 'Unreplied', 'buddypress' ); ?></option> 41 49 42 <?php do_action( 'bp_forums_directory_order_options' ); ?> 50 <?php 51 52 /** This filter is documented in bp-templates/bp-legacy/buddypress/forums/index.php. */ 53 do_action( 'bp_forums_directory_order_options' ); ?> 43 54 44 55 </select> … … 55 66 <?php endif; ?> 56 67 57 <?php do_action( 'bp_after_group_forum_content' ); ?> 68 <?php 69 70 /** 71 * Fires after the display of a group's forum content. 72 * 73 * @since BuddyPress (1.2.0) 74 */ 75 do_action( 'bp_after_group_forum_content' ); ?> 58 76 59 77 <?php if ( !bp_is_group_forum_topic_edit() && !bp_is_group_forum_topic() ) : ?> … … 64 82 <div id="new-topic-post"> 65 83 66 <?php do_action( 'bp_before_group_forum_post_new' ); ?> 84 <?php 85 86 /** 87 * Fires before the display of a group forum new post form. 88 * 89 * @since BuddyPress (1.2.0) 90 */ 91 do_action( 'bp_before_group_forum_post_new' ); ?> 67 92 68 93 <?php if ( bp_groups_auto_join() && !bp_group_is_member() ) : ?> … … 82 107 <input type="text" name="topic_tags" id="topic_tags" value="" /> 83 108 84 <?php do_action( 'bp_after_group_forum_post_new' ); ?> 109 <?php 110 111 /** 112 * Fires after the display of a group forum new post form. 113 * 114 * @since BuddyPress (1.2.0) 115 */ 116 do_action( 'bp_after_group_forum_post_new' ); ?> 85 117 86 118 <div class="submit"> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php
r9604 r9786 1 <?php do_action( 'bp_before_group_forum_edit_form' ); ?> 1 <?php 2 3 /** 4 * Fires at the top of the group forum edit form. 5 * 6 * @since BuddyPress (1.2.4) 7 */ 8 do_action( 'bp_before_group_forum_edit_form' ); ?> 2 9 3 10 <?php if ( bp_has_forum_topic_posts() ) : ?> … … 35 42 <?php endif; ?> 36 43 37 <?php do_action( 'bp_group_forum_topic_meta' ); ?> 44 <?php 45 46 /** 47 * Fires at the end of the group forum topic meta section. 48 * 49 * @since BuddyPress (1.2.5) 50 */ 51 do_action( 'bp_group_forum_topic_meta' ); ?> 38 52 39 53 </div> … … 43 57 <div id="edit-topic"> 44 58 45 <?php do_action( 'bp_group_before_edit_forum_topic' ); ?> 59 <?php 60 61 /** 62 * Fires before the group forum topic form fields. 63 * 64 * @since BuddyPress (1.2.0) 65 */ 66 do_action( 'bp_group_before_edit_forum_topic' ); ?> 46 67 47 68 <label for="topic_title"><?php _e( 'Title:', 'buddypress' ); ?></label> … … 54 75 <input type="text" name="topic_tags" id="topic_tags" value="<?php bp_forum_topic_tag_list(); ?>" /> 55 76 56 <?php do_action( 'bp_group_after_edit_forum_topic' ); ?> 77 <?php 78 79 /** 80 * Fires after the group forum topic form fields. 81 * 82 * @since BuddyPress (1.2.0) 83 */ 84 do_action( 'bp_group_after_edit_forum_topic' ); ?> 57 85 58 86 <p class="submit"><input type="submit" name="save_changes" id="save_changes" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" /></p> … … 66 94 <div id="edit-post"> 67 95 68 <?php do_action( 'bp_group_before_edit_forum_post' ); ?> 96 <?php 97 98 /** 99 * Fires before the group edit forum textarea. 100 * 101 * @since BuddyPress (1.2.0) 102 */ 103 do_action( 'bp_group_before_edit_forum_post' ); ?> 69 104 70 105 <textarea name="post_text" id="post_text"><?php bp_the_topic_post_edit_text(); ?></textarea> 71 106 72 <?php do_action( 'bp_group_after_edit_forum_post' ); ?> 107 <?php 108 109 /** 110 * Fires after the group edit forum textarea. 111 * 112 * @since BuddyPress (1.2.0) 113 */ 114 do_action( 'bp_group_after_edit_forum_post' ); ?> 73 115 74 116 <p class="submit"><input type="submit" name="save_changes" id="save_changes" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" /></p> … … 90 132 <?php endif;?> 91 133 92 <?php do_action( 'bp_after_group_forum_edit_form' ); ?> 134 <?php 135 136 /** 137 * Fires at the end of the group forum edit form. 138 * 139 * @since BuddyPress (1.2.4) 140 */ 141 do_action( 'bp_after_group_forum_edit_form' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php
r9604 r9786 1 <?php do_action( 'bp_before_group_forum_topic' ); ?> 1 <?php 2 3 /** 4 * Fires at the top of the group forum topic template. 5 * 6 * @since BuddyPress (1.2.4) 7 */ 8 do_action( 'bp_before_group_forum_topic' ); ?> 2 9 3 10 <form action="<?php bp_forum_topic_action(); ?>" method="post" id="forum-topic-form" class="standard-form"> … … 5 12 <ul> 6 13 <?php if ( is_user_logged_in() ) : ?> 7 14 8 15 <li> 9 16 <a href="<?php bp_forum_topic_new_reply_link(); ?>" class="new-reply-link"><?php _e( 'New Reply', 'buddypress' ); ?></a> 10 17 </li> 11 18 12 19 <?php endif; ?> 13 20 14 21 <?php if ( bp_forums_has_directory() ) : ?> 15 22 16 23 <li> 17 24 <a href="<?php bp_forums_directory_permalink(); ?>"><?php _e( 'Forum Directory', 'buddypress' ); ?></a> 18 25 </li> 19 26 20 27 <?php endif; ?> 21 28 22 29 </ul> 23 30 </div> 24 31 25 32 <div id="topic-meta"> 26 33 <h3><?php bp_the_topic_title(); ?> (<?php bp_the_topic_total_post_count(); ?>)</h3> 27 34 28 35 <?php if ( bp_forum_topic_has_tags() ) : ?> 29 36 30 37 <div class="topic-tags"> 31 38 32 39 <?php _e( 'Topic tags:', 'buddypress' ); ?> <?php bp_forum_topic_tag_list(); ?> 33 34 </div> 35 40 41 </div> 42 36 43 <?php endif; ?> 37 44 38 45 <?php if ( bp_group_is_admin() || bp_group_is_mod() || bp_get_the_topic_is_mine() ) : ?> 39 46 40 47 <div class="last admin-links"> 41 48 42 49 <?php bp_the_topic_admin_links(); ?> 43 44 </div> 45 50 51 </div> 52 46 53 <?php endif; ?> 47 48 <?php do_action( 'bp_group_forum_topic_meta' ); ?> 49 54 55 <?php 56 57 /** 58 * Fires at the end of the group forum topic meta markup. 59 * 60 * @since BuddyPress (1.2.5) 61 */ 62 do_action( 'bp_group_forum_topic_meta' ); ?> 63 50 64 </div> 51 65 … … 69 83 </div> 70 84 71 <?php do_action( 'bp_before_group_forum_topic_posts' ); ?> 85 <?php 86 87 /** 88 * Fires before the listing of the group forum topic posts. 89 * 90 * @since BuddyPress (1.2.4) 91 */ 92 do_action( 'bp_before_group_forum_topic_posts' ); ?> 72 93 73 94 <ul id="topic-post-list" class="item-list" role="main"> … … 91 112 <?php endif; ?> 92 113 93 <?php do_action( 'bp_group_forum_post_meta' ); ?> 114 <?php 115 116 /** 117 * Fires inside the group forum post meta markup. 118 * 119 * @since BuddyPress (1.2.5) 120 */ 121 do_action( 'bp_group_forum_post_meta' ); ?> 94 122 95 123 <a href="#post-<?php bp_the_topic_post_id(); ?>" title="<?php esc_attr_e( 'Permanent link to this post', 'buddypress' ); ?>">#</a> … … 100 128 </ul><!-- #topic-post-list --> 101 129 102 <?php do_action( 'bp_after_group_forum_topic_posts' ); ?> 130 <?php 131 132 /** 133 * Fires before the listing of the group forum topic posts. 134 * 135 * @since BuddyPress (1.2.4) 136 */ 137 do_action( 'bp_after_group_forum_topic_posts' ); ?> 103 138 104 139 <div class="pagination no-ajax"> … … 115 150 116 151 <?php else: ?> 117 152 118 153 <div id="message" class="info"> 119 154 <p><?php _e( 'There are no posts for this topic.', 'buddypress' ); ?></p> 120 155 </div> 121 156 122 157 <?php endif;?> 123 158 … … 135 170 <?php endif; ?> 136 171 137 <?php do_action( 'groups_forum_new_reply_before' ); ?> 172 <?php 173 174 /** 175 * Fires before the display of the group forum new reply section. 176 * 177 * @since BuddyPress (1.0.0) 178 */ 179 do_action( 'groups_forum_new_reply_before' ); ?> 138 180 139 181 <h4><?php _e( 'Add a reply:', 'buddypress' ); ?></h4> … … 145 187 </div> 146 188 147 <?php do_action( 'groups_forum_new_reply_after' ); ?> 189 <?php 190 191 /** 192 * Fires after the display of the group forum new reply section. 193 * 194 * @since BuddyPress (1.0.0) 195 */ 196 do_action( 'groups_forum_new_reply_after' ); ?> 148 197 149 198 <?php wp_nonce_field( 'bp_forums_new_reply' ); ?> … … 164 213 </form><!-- #forum-topic-form --> 165 214 166 <?php do_action( 'bp_after_group_forum_topic' ); ?> 215 <?php 216 217 /** 218 * Fires at the end of the group forum topic template. 219 * 220 * @since BuddyPress (1.2.4) 221 */ 222 do_action( 'bp_after_group_forum_topic' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/group-header.php
r9604 r9786 1 1 <?php 2 2 3 /** 4 * Fires before the display of a group's header. 5 * 6 * @since BuddyPress (1.2.0) 7 */ 3 8 do_action( 'bp_before_group_header' ); 4 9 … … 13 18 <?php bp_group_list_admins(); 14 19 20 /** 21 * Fires after the display of the group's administrators. 22 * 23 * @since BuddyPress (1.1.0) 24 */ 15 25 do_action( 'bp_after_group_menu_admins' ); 16 26 17 27 if ( bp_group_has_moderators() ) : 28 29 /** 30 * Fires before the display of the group's moderators, if there are any. 31 * 32 * @since BuddyPress (1.1.0) 33 */ 18 34 do_action( 'bp_before_group_menu_mods' ); ?> 19 35 … … 22 38 <?php bp_group_list_mods(); 23 39 40 /** 41 * Fires after the display of the group's moderators, if there are any. 42 * 43 * @since BuddyPress (1.1.0) 44 */ 24 45 do_action( 'bp_after_group_menu_mods' ); 25 46 … … 42 63 <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span> 43 64 44 <?php do_action( 'bp_before_group_header_meta' ); ?> 65 <?php 66 67 /** 68 * Fires before the display of the group's header meta. 69 * 70 * @since BuddyPress (1.2.0) 71 */ 72 do_action( 'bp_before_group_header_meta' ); ?> 45 73 46 74 <div id="item-meta"> … … 50 78 <div id="item-buttons"> 51 79 52 <?php do_action( 'bp_group_header_actions' ); ?> 80 <?php 81 82 /** 83 * Fires in the group header actions section. 84 * 85 * @since BuddyPress (1.2.6) 86 */ 87 do_action( 'bp_group_header_actions' ); ?> 53 88 54 89 </div><!-- #item-buttons --> 55 90 56 <?php do_action( 'bp_group_header_meta' ); ?> 91 <?php 92 93 /** 94 * Fires after the group header actions section. 95 * 96 * @since BuddyPress (1.2.0) 97 */ 98 do_action( 'bp_group_header_meta' ); ?> 57 99 58 100 </div> … … 60 102 61 103 <?php 104 105 /** 106 * Fires after the display of a group's header. 107 * 108 * @since BuddyPress (1.2.0) 109 */ 62 110 do_action( 'bp_after_group_header' ); 63 111 do_action( 'template_notices' ); -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/home.php
r9604 r9786 3 3 <?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?> 4 4 5 <?php do_action( 'bp_before_group_home_content' ); ?> 5 <?php 6 7 /** 8 * Fires before the display of the group home content. 9 * 10 * @since BuddyPress (1.2.0) 11 */ 12 do_action( 'bp_before_group_home_content' ); ?> 6 13 7 14 <div id="item-header" role="complementary"> … … 17 24 <?php bp_get_options_nav(); ?> 18 25 19 <?php do_action( 'bp_group_options_nav' ); ?> 26 <?php 27 28 /** 29 * Fires after the display of group options navigation. 30 * 31 * @since BuddyPress (1.2.0) 32 */ 33 do_action( 'bp_group_options_nav' ); ?> 20 34 21 35 </ul> … … 25 39 <div id="item-body"> 26 40 27 <?php do_action( 'bp_before_group_body' ); 41 <?php 42 43 /** 44 * Fires before the display of the group home body. 45 * 46 * @since BuddyPress (1.2.0) 47 */ 48 do_action( 'bp_before_group_body' ); 28 49 29 50 /** … … 53 74 } else { 54 75 76 /** 77 * Fires before the display of the group status message. 78 * 79 * @since BuddyPress (1.1.0) 80 */ 55 81 do_action( 'bp_before_group_status_message' ); ?> 56 82 … … 59 85 </div> 60 86 61 <?php do_action( 'bp_after_group_status_message' ); 87 <?php 88 89 /** 90 * Fires after the display of the group status message. 91 * 92 * @since BuddyPress (1.1.0) 93 */ 94 do_action( 'bp_after_group_status_message' ); 62 95 63 96 } … … 91 124 endif; 92 125 126 /** 127 * Fires after the display of the group home body. 128 * 129 * @since BuddyPress (1.2.0) 130 */ 93 131 do_action( 'bp_after_group_body' ); ?> 94 132 95 133 </div><!-- #item-body --> 96 134 97 <?php do_action( 'bp_after_group_home_content' ); ?> 135 <?php 136 137 /** 138 * Fires after the display of the group home content. 139 * 140 * @since BuddyPress (1.2.0) 141 */ 142 do_action( 'bp_after_group_home_content' ); ?> 98 143 99 144 <?php endwhile; endif; ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/members.php
r9604 r9786 1 1 <?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) ) ) : ?> 2 2 3 <?php do_action( 'bp_before_group_members_content' ); ?> 3 <?php 4 5 /** 6 * Fires before the display of the group members content. 7 * 8 * @since BuddyPress (1.1.0) 9 */ 10 do_action( 'bp_before_group_members_content' ); ?> 4 11 5 12 <div id="pag-top" class="pagination"> … … 19 26 </div> 20 27 21 <?php do_action( 'bp_before_group_members_list' ); ?> 28 <?php 29 30 /** 31 * Fires before the display of the group members list. 32 * 33 * @since BuddyPress (1.1.0) 34 */ 35 do_action( 'bp_before_group_members_list' ); ?> 22 36 23 37 <ul id="member-list" class="item-list" role="main"> … … 35 49 <span class="activity"><?php bp_group_member_joined_since(); ?></span> 36 50 37 <?php do_action( 'bp_group_members_list_item' ); ?> 51 <?php 52 53 /** 54 * Fires inside the listing of an individual group member listing item. 55 * 56 * @since BuddyPress (1.1.0) 57 */ 58 do_action( 'bp_group_members_list_item' ); ?> 38 59 39 60 <?php if ( bp_is_active( 'friends' ) ) : ?> … … 43 64 <?php bp_add_friend_button( bp_get_group_member_id(), bp_get_group_member_is_friend() ); ?> 44 65 45 <?php do_action( 'bp_group_members_list_item_action' ); ?> 66 <?php 67 68 /** 69 * Fires inside the action section of an individual group member listing item. 70 * 71 * @since BuddyPress (1.1.0) 72 */ 73 do_action( 'bp_group_members_list_item_action' ); ?> 46 74 47 75 </div> … … 54 82 </ul> 55 83 56 <?php do_action( 'bp_after_group_members_list' ); ?> 84 <?php 85 86 /** 87 * Fires after the display of the group members list. 88 * 89 * @since BuddyPress (1.1.0) 90 */ 91 do_action( 'bp_after_group_members_list' ); ?> 57 92 58 93 <div id="pag-bottom" class="pagination"> … … 72 107 </div> 73 108 74 <?php do_action( 'bp_after_group_members_content' ); ?> 109 <?php 110 111 /** 112 * Fires after the display of the group members content. 113 * 114 * @since BuddyPress (1.1.0) 115 */ 116 do_action( 'bp_after_group_members_content' ); ?> 75 117 76 118 <?php else: ?>
Note: See TracChangeset
for help on using the changeset viewer.