diff --git src/bp-templates/bp-legacy/buddypress/groups/single/admin.php src/bp-templates/bp-legacy/buddypress/groups/single/admin.php
index fa8d232..1f17a7a 100644
|
|
do_action( 'bp_before_group_admin_content' ); ?> |
267 | 267 | |
268 | 268 | <?php while ( bp_members() ) : bp_the_member(); ?> |
269 | 269 | <li> |
270 | | <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?> |
271 | | <h5> |
272 | | <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a> |
| 270 | <div class="item-avatar"> |
| 271 | <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?> |
| 272 | </div> |
| 273 | <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a> |
273 | 274 | <?php if ( count( bp_group_admin_ids( false, 'array' ) ) > 1 ) : ?> |
274 | | <span class="small"> |
275 | | <a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a> |
276 | | </span> |
| 275 | <div class="member-list-actions"> |
| 276 | <span class="small"> |
| 277 | <a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a> |
| 278 | </span> |
| 279 | </div> |
277 | 280 | <?php endif; ?> |
278 | | </h5> |
279 | 281 | </li> |
280 | 282 | <?php endwhile; ?> |
281 | 283 | |
… |
… |
do_action( 'bp_before_group_admin_content' ); ?> |
294 | 296 | |
295 | 297 | <?php while ( bp_members() ) : bp_the_member(); ?> |
296 | 298 | <li> |
297 | | <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?> |
298 | | <h5> |
299 | | <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a> |
| 299 | <div class="item-avatar"> |
| 300 | <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?> |
| 301 | </div> |
| 302 | |
| 303 | <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a> |
| 304 | |
| 305 | <div class="member-list-actions"> |
300 | 306 | <span class="small"> |
301 | 307 | <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin" title="<?php esc_attr_e( 'Promote to Admin', 'buddypress' ); ?>"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> |
302 | 308 | <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a> |
303 | 309 | </span> |
304 | | </h5> |
| 310 | </div> |
305 | 311 | </li> |
306 | 312 | <?php endwhile; ?> |
307 | 313 | |
… |
… |
do_action( 'bp_before_group_admin_content' ); ?> |
337 | 343 | <?php while ( bp_group_members() ) : bp_group_the_member(); ?> |
338 | 344 | |
339 | 345 | <li class="<?php bp_group_member_css_class(); ?>"> |
340 | | <?php bp_group_member_avatar_mini(); ?> |
341 | 346 | |
342 | | <h5> |
343 | | <?php bp_group_member_link(); ?> |
| 347 | <div class="item-avatar"><?php bp_group_member_avatar_mini(); ?></div> |
| 348 | |
| 349 | <?php bp_group_member_link(); ?> |
| 350 | |
| 351 | <?php if ( bp_get_group_member_is_banned() ) _e( '(banned)', 'buddypress' ); ?> |
344 | 352 | |
345 | | <?php if ( bp_get_group_member_is_banned() ) _e( '(banned)', 'buddypress' ); ?> |
| 353 | <div class="member-list-actions"> |
346 | 354 | |
347 | 355 | <span class="small"> |
348 | 356 | |
… |
… |
do_action( 'bp_before_group_admin_content' ); ?> |
370 | 378 | do_action( 'bp_group_manage_members_admin_item' ); ?> |
371 | 379 | |
372 | 380 | </span> |
373 | | </h5> |
| 381 | </div> |
374 | 382 | </li> |
375 | 383 | |
376 | 384 | <?php endwhile; ?> |