Changeset 3202
- Timestamp:
- 08/19/2010 12:11:39 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-themes/bp-default/groups/single/admin.php
r2967 r3202 195 195 <?php while ( bp_group_members() ) : bp_group_the_member(); ?> 196 196 197 <?php if ( bp_get_group_member_is_banned() ) : ?> 198 199 <li class="banned-user"> 200 <?php bp_group_member_avatar_mini() ?> 201 202 <h5><?php bp_group_member_link() ?> <?php _e( '(banned)', 'buddypress') ?> <span class="small"> - <a href="<?php bp_group_member_unban_link() ?>" class="confirm" title="<?php _e( 'Kick and ban this member', 'buddypress' ) ?>"><?php _e( 'Remove Ban', 'buddypress' ); ?></a> </h5> 203 204 <?php else : ?> 205 206 <li> 207 <?php bp_group_member_avatar_mini() ?> 208 <h5><?php bp_group_member_link() ?> <span class="small"> - <a href="<?php bp_group_member_ban_link() ?>" class="confirm" title="<?php _e( 'Kick and ban this member', 'buddypress' ); ?>"><?php _e( 'Kick & Ban', 'buddypress' ); ?></a> | <a href="<?php bp_group_member_promote_mod_link() ?>" class="confirm" title="<?php _e( 'Promote to Mod', 'buddypress' ); ?>"><?php _e( 'Promote to Mod', 'buddypress' ); ?></a> | <a href="<?php bp_group_member_promote_admin_link() ?>" class="confirm" title="<?php _e( 'Promote to Admin', 'buddypress' ); ?>"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a></span></h5> 209 210 <?php endif; ?> 211 212 <?php do_action( 'bp_group_manage_members_admin_item' ); ?> 213 </li> 197 <li class="<?php bp_groups_member_css_class(); ?>"> 198 <?php bp_group_member_avatar_mini() ?> 199 200 <h5> 201 <?php bp_group_member_link() ?> 202 203 <?php if ( bp_get_group_member_is_banned() ) _e( '(banned)', 'buddypress'); ?> 204 205 <span class="small"> - 206 207 <?php if ( bp_get_group_member_is_banned() ) : ?> 208 209 <a href="<?php bp_group_member_unban_link() ?>" class="confirm" title="<?php _e( 'Unban this member', 'buddypress' ) ?>"><?php _e( 'Remove Ban', 'buddypress' ); ?></a> 210 211 <?php else : ?> 212 213 <a href="<?php bp_group_member_ban_link() ?>" class="confirm" title="<?php _e( 'Kick and ban this member', 'buddypress' ); ?>"><?php _e( 'Kick & Ban', 'buddypress' ); ?></a> 214 | <a href="<?php bp_group_member_promote_mod_link() ?>" class="confirm" title="<?php _e( 'Promote to Mod', 'buddypress' ); ?>"><?php _e( 'Promote to Mod', 'buddypress' ); ?></a> 215 | <a href="<?php bp_group_member_promote_admin_link() ?>" class="confirm" title="<?php _e( 'Promote to Admin', 'buddypress' ); ?>"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> 216 217 <?php endif; ?> 218 219 | <a href="<?php bp_group_member_remove_link() ?>" class="confirm" title="<?php _e( 'Remove this member', 'buddypress' ); ?>"><?php _e( 'Remove from group', 'buddypress' ); ?></a> 220 221 <?php do_action( 'bp_group_manage_members_admin_item' ); ?> 222 223 </span> 224 </h5> 225 </li> 214 226 215 227 <?php endwhile; ?>
Note: See TracChangeset
for help on using the changeset viewer.