# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/group/members.php
--- moodle/group/members.php Base (1.26)
+++ moodle/group/members.php Locally Modified (Based On 1.26)
@@ -116,6 +116,10 @@
           </p>
           <?php $potentialmembersselector->display(); ?>
       </td>
+      <td>
+        <p><?php echo($strusergroupmembership) ?></p>
+        <div id="group-usersummary"></div>
+      </td>
     </tr>
     <tr><td colspan="3" id='backcell'>
         <input type="submit" name="cancel" value="<?php print_string('backtogroups', 'group'); ?>" />
@@ -126,6 +130,9 @@
 </div>
 
 <?php
+    //outputs the JS array used to display the other groups users are in
+    $potentialmembersselector->print_user_summaries($course->id);
+
     //this must be after calling display() on the selectors so their setup JS executes first
     $PAGE->requires->js_function_call('init_add_remove_members_page');
 
