</label> </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'); ?> " /> </td></tr> </table> </div> </form> </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_init_call('init_add_remove_members_page', null, false, $potentialmembersselector->get_js_module()); echo $OUTPUT->footer();