Ticket #4987: 4987.diff
File 4987.diff, 1.6 KB (added by , 12 years ago) |
---|
-
bp-groups/bp-groups-admin.php
483 483 484 484 <div class="wrap"> 485 485 <?php screen_icon( 'buddypress-groups' ); ?> 486 <h2><?php _e( 'Edit Group', 'buddypress' ); ?> 486 <h2><?php _e( 'Edit Group', 'buddypress' ); ?></h2> 487 487 488 <?php if ( is_user_logged_in() && bp_user_can_create_groups() ) : ?>489 <a class="add-new-h2" href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create' ); ?>"><?php _e( 'Add New', 'buddypress' ); ?></a>490 <?php endif; ?>491 492 </h2>493 494 488 <?php // If the user has just made a change to an group, display the status messages ?> 495 489 <?php if ( !empty( $messages ) ) : ?> 496 490 <div id="moderated" class="<?php echo ( $is_error ) ? 'error' : 'updated'; ?>"><p><?php echo implode( "<br/>\n", $messages ); ?></p></div> … … 620 614 <?php screen_icon( 'buddypress-groups' ); ?> 621 615 <h2> 622 616 <?php _e( 'Groups', 'buddypress' ); ?> 617 618 <?php if ( is_user_logged_in() && bp_user_can_create_groups() ) : ?> 619 <a class="add-new-h2" href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create' ); ?>"><?php _e( 'Add New', 'buddypress' ); ?></a> 620 <?php endif; ?> 623 621 624 622 <?php if ( !empty( $_REQUEST['s'] ) ) : ?> 625 623 <span class="subtitle"><?php printf( __( 'Search results for “%s”', 'buddypress' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ); ?></span>