Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/21/2011 10:12:40 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Remove commented out moderation menu items. Fixes #3067.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-buddybar.php

    r4566 r4761  
    3636
    3737                        <li><a class="confirm" href="<?php echo wp_nonce_url( bp_get_group_permalink( $bp->groups->current_group ) . 'admin/delete-group/', 'groups_delete_group' ); ?>&amp;delete-group-button=1&amp;delete-group-understand=1"><?php _e( "Delete Group", 'buddypress' ) ?></a></li>
    38                        
    39                         <?php /* These advanced admin items have been removed for the 1.3 release */ ?>
    40                         <?php /*
    41                         <li>
    42                                 <li><a href="<?php bp_groups_action_link( 'admin/edit-details' ); ?>"><?php _e( 'Admin', 'buddypress' ); ?></a>
    43 
    44                                 <ul>
    45                                         <li><a href="<?php bp_groups_action_link( 'admin/edit-details' ); ?>"><?php _e( 'Edit Details', 'buddypress' ); ?></a></li>
    46                                         <li><a href="<?php bp_groups_action_link( 'admin/group-settings' );  ?>"><?php _e( 'Group Settings', 'buddypress' ); ?></a></li>
    47                                         <li><a href="<?php bp_groups_action_link( 'admin/group-avatar' ); ?>"><?php _e( 'Group Avatar', 'buddypress' ); ?></a></li>
    48 
    49                                         <?php if ( bp_is_active( 'friends' ) ) : ?>
    50 
    51                                                 <li><a href="<?php bp_groups_action_link( 'send-invites' ); ?>"><?php _e( 'Manage Invitations', 'buddypress' ); ?></a></li>
    52 
    53                                         <?php endif; ?>
    54 
    55                                         <li><a href="<?php bp_groups_action_link( 'admin/manage-members' ); ?>"><?php _e( 'Manage Members', 'buddypress' ); ?></a></li>
    56 
    57                                         <?php if ( $bp->groups->current_group->status == 'private' ) : ?>
    58 
    59                                                 <li><a href="<?php bp_groups_action_link( 'admin/membership-requests' ); ?>"><?php _e( 'Membership Requests', 'buddypress' ); ?></a></li>
    60 
    61                                         <?php endif; ?>
    62 
    63                                         <li><a class="confirm" href="<?php echo wp_nonce_url( bp_get_group_permalink( $bp->groups->current_group ) . 'admin/delete-group/', 'groups_delete_group' ); ?>&amp;delete-group-button=1&amp;delete-group-understand=1"><?php _e( "Delete Group", 'buddypress' ) ?></a></li>
    64                                 </ul>
    65                         </li>
    66 
    67                         <?php if ( bp_is_active( 'activity' ) ) : ?>
    68 
    69                                 <li>
    70                                         <a href="<?php bp_groups_action_link( 'activity' ); ?>"><?php _e( 'Activity', 'buddypress' ); ?></a>
    71                                         <ul>
    72                                                 <li><a href="<?php bp_groups_action_link( 'activity/admin', array( 'clear' => 'all' ), true ); ?>" class="confirm"><?php _e( "Delete All Activity", 'buddypress' ); ?></a></li>
    73                                         </ul>
    74                                 </li>
    75 
    76                         <?php endif; ?>
    77 
    78                         <?php if ( bp_is_active( 'forums' ) ) : ?>
    79 
    80                                 <li>
    81                                         <a href="<?php bp_groups_action_link( 'forums' ); ?>"><?php _e( 'Forums', 'buddypress' ); ?></a>
    82                                         <ul>
    83                                                 <li><a href="<?php bp_groups_action_link( 'forums/admin', array( 'clear' => 'all' ), true ); ?>" class="confirm"><?php _e( "Delete Forum Contents", 'buddypress' ); ?></a></li>
    84                                         </ul>
    85                                 </li>
    86 
    87                         <?php endif; ?>
    88 
    89                         */ ?>
    9038
    9139                        <?php do_action( 'bp_groups_adminbar_admin_menu' ) ?>
Note: See TracChangeset for help on using the changeset viewer.