Ticket #4737: 4737-02.patch
File 4737-02.patch, 1.5 KB (added by , 12 years ago) |
---|
-
bp-groups-loader.php
472 472 } 473 473 474 474 // If the user is a group mod or more, then show the group admin nav item 475 if ( bp_is_item_admin() || bp_is_item_mod()) {475 if ( bp_is_item_admin() ) { 476 476 $sub_nav[] = array( 477 477 'name' => __( 'Admin', 'buddypress' ), 478 478 'slug' => 'admin', -
bp-groups-screens.php
513 513 if ( 'edit-details' != bp_get_group_current_admin_tab() ) 514 514 return false; 515 515 516 if ( bp_is_item_admin() || bp_is_item_mod()) {516 if ( bp_is_item_admin() ) { 517 517 518 518 $bp = buddypress(); 519 519 -
bp-groups-template.php
1434 1434 1435 1435 $current_tab = bp_get_group_current_admin_tab(); 1436 1436 1437 if ( bp_is_item_admin() || bp_is_item_mod()) : ?>1437 if ( bp_is_item_admin() ) : ?> 1438 1438 1439 1439 <li<?php if ( 'edit-details' == $current_tab || empty( $current_tab ) ) : ?> class="current"<?php endif; ?>><a href="<?php echo trailingslashit( bp_get_group_permalink( $group ) . 'admin/edit-details' ) ?>"><?php _e( 'Details', 'buddypress' ); ?></a></li> 1440 1440