<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[BuddyPress][11138] trunk/src/bp-templates/bp-legacy: Improve group manage members screen.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://buddypress.trac.wordpress.org/changeset/11138">11138</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://buddypress.trac.wordpress.org/changeset/11138","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>dcavins</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2016-09-21 15:40:45 +0000 (Wed, 21 Sep 2016)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Improve group manage members screen.

?\226?\128?\162 Change structure of list items to more closely match
`members/members-loop.php`.
?\226?\128?\162 Use `bp_group_has_members()` for each loop.
?\226?\128?\162 Added the action `bp_group_manage_members_admin_item` to the admin
and moderator list items. (Already was applied to the member list.)
?\226?\128?\162 Added ?\226?\128?\156none found?\226?\128?\157 messages for each loop to support the addition of
a search box in <a href="http://buddypress.trac.wordpress.org/ticket/6385">#6385</a>.
?\226?\128?\162 Added `bp_group_member_joined_since()` meta to member list items.
?\226?\128?\162 Added pagination controls to each list when needed.

Props dcavins, hnla, mercime, r-a-y.

Fixes <a href="http://buddypress.trac.wordpress.org/ticket/7105">#7105</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcbptemplatesbplegacybuddypressgroupssingleadminmanagemembersphp">trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php</a></li>
<li><a href="#trunksrcbptemplatesbplegacycssbuddypresscss">trunk/src/bp-templates/bp-legacy/css/buddypress.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcbptemplatesbplegacybuddypressgroupssingleadminmanagemembersphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php        2016-09-21 13:59:28 UTC (rev 11137)
+++ trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php  2016-09-21 15:40:45 UTC (rev 11138)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -21,65 +21,199 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> <div aria-live="polite" aria-relevant="all" aria-atomic="true">
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        <div class="bp-widget">
-               <h3><?php _e( 'Administrators', 'buddypress' ); ?></h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="bp-widget group-members-list group-admins-list">
+               <h3 class="section-header"><?php _e( 'Administrators', 'buddypress' ); ?></h3>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <?php if ( bp_has_members( '&include='. bp_group_admin_ids() ) ) : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <?php if ( bp_group_has_members( array( 'per_page' => 15, 'group_role' => array( 'admin' ), 'page_arg' => 'mlpage-admin' ) ) ) : ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <ul id="admins-list" class="item-list single-line">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <?php if ( bp_group_member_needs_pagination() ) : ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        <?php while ( bp_members() ) : bp_the_member(); ?>
-                       <li>
-                               <?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() ) ) ); ?>
-                               <h5>
-                                       <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a>
-                                       <?php if ( count( bp_group_admin_ids( false, 'array' ) ) > 1 ) : ?>
-                                       <span class="small">
-                                               <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>
-                                       </span>
-                                       <?php endif; ?>
-                               </h5>
-                       </li>
-                       <?php endwhile; ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         <div class="pagination no-ajax">
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                </ul>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 <div id="member-count" class="pag-count">
+                                               <?php bp_group_member_pagination_count(); ?>
+                                       </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                        <div id="member-admin-pagination" class="pagination-links">
+                                               <?php bp_group_member_admin_pagination(); ?>
+                                       </div>
+
+                               </div>
+
+                       <?php endif; ?>
+
+                       <ul id="admins-list" class="item-list">
+                               <?php while ( bp_group_members() ) : bp_group_the_member(); ?>
+                                       <li>
+                                               <div class="item-avatar">
+                                                       <?php bp_group_member_avatar_thumb(); ?>
+                                               </div>
+
+                                               <div class="item">
+                                                       <div class="item-title">
+                                                               <?php bp_group_member_link(); ?>
+                                                       </div>
+                                                       <p class="joined item-meta">
+                                                               <?php bp_group_member_joined_since(); ?>
+                                                       </p>
+                                                       <?php
+
+                                                       /**
+                                                        * Fires inside the item section of a member admin item in group management area.
+                                                        *
+                                                        * @since 1.1.0
+                                                        * @since 2.7.0 Added $section parameter.
+                                                        *
+                                                        * @param $section Which list contains this item.
+                                                        */
+                                                       do_action( 'bp_group_manage_members_admin_item', 'admins-list' ); ?>
+                                               </div>
+
+                                               <div class="action">
+                                                       <?php if ( count( bp_group_admin_ids( false, 'array' ) ) > 1 ) : ?>
+                                                               <a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link(); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a>
+                                                       <?php endif; ?>
+
+                                                       <?php
+
+                                                       /**
+                                                        * Fires inside the action section of a member admin item in group management area.
+                                                        *
+                                                        * @since 2.7.0
+                                                        *
+                                                        * @param $section Which list contains this item.
+                                                        */
+                                                       do_action( 'bp_group_manage_members_admin_actions', 'admins-list' ); ?>
+                                               </div>
+                                       </li>
+                               <?php endwhile; ?>
+                       </ul>
+
+                       <?php if ( bp_group_member_needs_pagination() ) : ?>
+
+                               <div class="pagination no-ajax">
+
+                                       <div id="member-count" class="pag-count">
+                                               <?php bp_group_member_pagination_count(); ?>
+                                       </div>
+
+                                       <div id="member-admin-pagination" class="pagination-links">
+                                               <?php bp_group_member_admin_pagination(); ?>
+                                       </div>
+
+                               </div>
+
+                       <?php endif; ?>
+
+               <?php else: ?>
+
+               <div id="message" class="info">
+                       <p><?php _e( 'No group administrators were found.', 'buddypress' ); ?></p>
+               </div>
+
</ins><span class="cx" style="display: block; padding: 0 10px">                 <?php endif; ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><span class="cx" style="display: block; padding: 0 10px">         </div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        <?php if ( bp_group_has_moderators() ) : ?>
-               <div class="bp-widget">
-                       <h3><?php _e( 'Moderators', 'buddypress' ); ?></h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="bp-widget group-members-list group-mods-list">
+               <h3 class="section-header"><?php _e( 'Moderators', 'buddypress' ); ?></h3>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        <?php if ( bp_has_members( '&include=' . bp_group_mod_ids() ) ) : ?>
-                               <ul id="mods-list" class="item-list single-line">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <?php if ( bp_group_has_members( array( 'per_page' => 15, 'group_role' => array( 'mod' ), 'page_arg' => 'mlpage-mod' ) ) ) : ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        <?php while ( bp_members() ) : bp_the_member(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <?php if ( bp_group_member_needs_pagination() ) : ?>
+
+                               <div class="pagination no-ajax">
+
+                                       <div id="member-count" class="pag-count">
+                                               <?php bp_group_member_pagination_count(); ?>
+                                       </div>
+
+                                       <div id="member-admin-pagination" class="pagination-links">
+                                               <?php bp_group_member_admin_pagination(); ?>
+                                       </div>
+
+                               </div>
+
+                       <?php endif; ?>
+
+                       <ul id="mods-list" class="item-list">
+
+                               <?php while ( bp_group_members() ) : bp_group_the_member(); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">                                         <li>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                <?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() ) ) ); ?>
-                                               <h5>
-                                                       <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a>
-                                                       <span class="small">
-                                                               <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
-                                                               <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>
-                                                       </span>
-                                               </h5>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                         <div class="item-avatar">
+                                                       <?php bp_group_member_avatar_thumb(); ?>
+                                               </div>
+
+                                               <div class="item">
+                                                       <div class="item-title">
+                                                               <?php bp_group_member_link(); ?>
+                                                       </div>
+                                                       <p class="joined item-meta">
+                                                               <?php bp_group_member_joined_since(); ?>
+                                                       </p>
+                                                       <?php
+
+                                                       /**
+                                                        * Fires inside the item section of a member admin item in group management area.
+                                                        *
+                                                        * @since 1.1.0
+                                                        * @since 2.7.0 Added $section parameter.
+                                                        *
+                                                        * @param $section Which list contains this item.
+                                                        */
+                                                       do_action( 'bp_group_manage_members_admin_item', 'admins-list' ); ?>
+                                               </div>
+
+                                               <div class="action">
+                                                       <a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
+                                                       <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link(); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a>
+
+                                                       <?php
+
+                                                       /**
+                                                        * Fires inside the action section of a member admin item in group management area.
+                                                        *
+                                                        * @since 2.7.0
+                                                        *
+                                                        * @param $section Which list contains this item.
+                                                        */
+                                                       do_action( 'bp_group_manage_members_admin_actions', 'mods-list' ); ?>
+
+                                               </div>
</ins><span class="cx" style="display: block; padding: 0 10px">                                         </li>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        <?php endwhile; ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         <?php endwhile; ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                </ul>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 </ul>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        <?php if ( bp_group_member_needs_pagination() ) : ?>
+
+                               <div class="pagination no-ajax">
+
+                                       <div id="member-count" class="pag-count">
+                                               <?php bp_group_member_pagination_count(); ?>
+                                       </div>
+
+                                       <div id="member-admin-pagination" class="pagination-links">
+                                               <?php bp_group_member_admin_pagination(); ?>
+                                       </div>
+
+                               </div>
+
</ins><span class="cx" style="display: block; padding: 0 10px">                         <?php endif; ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                </div>
-       <?php endif; ?>
</del><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                <?php else: ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        <div class="bp-widget">
-               <h3><?php _e( "Members", 'buddypress' ); ?></h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <div id="message" class="info">
+                               <p><?php _e( 'No group moderators were found.', 'buddypress' ); ?></p>
+                       </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <?php if ( bp_group_has_members( 'per_page=15&exclude_banned=0' ) ) : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <?php endif; ?>
+       </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        <div class="bp-widget group-members-list">
+               <h3 class="section-header"><?php _e( "Members", 'buddypress' ); ?></h3>
+
+               <?php if ( bp_group_has_members( array( 'per_page' => 15, 'exclude_banned' => 0 ) ) ) : ?>
+
</ins><span class="cx" style="display: block; padding: 0 10px">                         <?php if ( bp_group_member_needs_pagination() ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                <div class="pagination no-ajax">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -96,19 +230,41 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        <ul id="members-list" class="item-list single-line">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <ul id="members-list" class="item-list">
</ins><span class="cx" style="display: block; padding: 0 10px">                                 <?php while ( bp_group_members() ) : bp_group_the_member(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                        <li class="<?php bp_group_member_css_class(); ?>">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                <?php bp_group_member_avatar_mini(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                         <div class="item-avatar">
+                                                       <?php bp_group_member_avatar_thumb(); ?>
+                                               </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                <h5>
-                                                       <?php bp_group_member_link(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                         <div class="item">
+                                                       <div class="item-title">
+                                                               <?php bp_group_member_link(); ?>
+                                                               <?php
+                                                               if ( bp_get_group_member_is_banned() ) {
+                                                                       echo ' <span class="banned">';
+                                                                       _e( '(banned)', 'buddypress' );
+                                                                       echo '</span>';
+                                                               } ?>
+                                                       </div>
+                                                       <p class="joined item-meta">
+                                                               <?php bp_group_member_joined_since(); ?>
+                                                       </p>
+                                                       <?php
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        <?php if ( bp_get_group_member_is_banned() ) _e( '(banned)', 'buddypress' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 /**
+                                                        * Fires inside the item section of a member admin item in group management area.
+                                                        *
+                                                        * @since 1.1.0
+                                                        * @since 2.7.0 Added $section parameter.
+                                                        *
+                                                        * @param $section Which list contains this item.
+                                                        */
+                                                       do_action( 'bp_group_manage_members_admin_item', 'admins-list' ); ?>
+                                               </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        <span class="small">
-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                         <div class="action">
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         <?php if ( bp_get_group_member_is_banned() ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                                                <a href="<?php bp_group_member_unban_link(); ?>" class="button confirm member-unban" title="<?php esc_attr_e( 'Unban this member', 'buddypress' ); ?>"><?php _e( 'Remove Ban', 'buddypress' ); ?></a>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -121,19 +277,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                                        <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                                <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm"><?php _e( 'Remove from group', 'buddypress' ); ?></a>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm"><?php _e( 'Remove from group', 'buddypress' ); ?></a>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                                <?php
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 <?php
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                                /**
-                                                                * Fires inside the display of a member admin item in group management area.
-                                                                *
-                                                                * @since 1.1.0
-                                                                */
-                                                               do_action( 'bp_group_manage_members_admin_item' ); ?>
-
-                                                       </span>
-                                               </h5>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 /**
+                                                        * Fires inside the action section of a member admin item in group management area.
+                                                        *
+                                                        * @since 2.7.0
+                                                        *
+                                                        * @param $section Which list contains this item.
+                                                        */
+                                                       do_action( 'bp_group_manage_members_admin_actions', 'members-list' ); ?>
+                                               </div>
</ins><span class="cx" style="display: block; padding: 0 10px">                                         </li>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                <?php endwhile; ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -158,11 +314,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">                <?php else: ?>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        <div id="message" class="info">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                <p><?php _e( 'This group has no members.', 'buddypress' ); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         <p><?php _e( 'No group members were found.', 'buddypress' ); ?></p>
</ins><span class="cx" style="display: block; padding: 0 10px">                         </div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                <?php endif; ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><span class="cx" style="display: block; padding: 0 10px">         </div>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span></span></pre></div>
<a id="trunksrcbptemplatesbplegacycssbuddypresscss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-templates/bp-legacy/css/buddypress.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-templates/bp-legacy/css/buddypress.css       2016-09-21 13:59:28 UTC (rev 11137)
+++ trunk/src/bp-templates/bp-legacy/css/buddypress.css 2016-09-21 15:40:45 UTC (rev 11138)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1420,6 +1420,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">        overflow: auto;
</span><span class="cx" style="display: block; padding: 0 10px">        list-style: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+#buddypress .group-members-list {
+       width: 100%;
+       margin-top: 1em;
+       clear: both;
+       overflow: auto;
+}
</ins><span class="cx" style="display: block; padding: 0 10px"> #buddypress #item-buttons:empty {
</span><span class="cx" style="display: block; padding: 0 10px">        display: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre>
</div>
</div>

</body>
</html>