?> " /> <input type="hidden" name="courseid" value="<?php echo $course->id; ?> " /> <table summary="" class="roleassigntable generaltable generalbox boxaligncenter" cellspacing="0"> <tr> <td id="existingcell"> <p><label for="removeselect"><?php print_string('enrolledusers', 'enrol'); ?> </label></p> <?php $currentuserselector->display(); ?> </td> <td id="buttonscell"> <div id="addcontrols"> <input name="add" id="add" type="submit" value="<?php echo $OUTPUT->larrow() . ' ' . get_string('add'); ?> " title="<?php print_string('add'); ?> " /><br /> <div class="enroloptions"> <p><?php echo get_string('assignrole', 'role') . ': ' . s($course->rolename);
echo $OUTPUT->box($error, 'generalbox error'); } // print form to enrol our students ?> <form id="assignform" method="post" action="<?php echo $PAGE->url ?>"> <div> <input type="hidden" name="sesskey" value="<?php echo sesskey() ?>" /> <input type="hidden" name="hostid" value="<?php echo $host->id ?>" /> <input type="hidden" name="courseid" value="<?php echo $course->id ?>" /> <table summary="" class="roleassigntable generaltable generalbox boxaligncenter" cellspacing="0"> <tr> <td id="existingcell"> <p><label for="removeselect"><?php print_string('enrolledusers', 'enrol'); ?></label></p> <?php $currentuserselector->display() ?> </td> <td id="buttonscell"> <div id="addcontrols"> <input name="add" id="add" type="submit" value="<?php echo $OUTPUT->larrow().' '.get_string('add'); ?>" title="<?php print_string('add'); ?>" /><br /> <div class="enroloptions"> <p><?php echo get_string('assignrole', 'role') .': '. s($course->rolename); ?></p> </div> </div> <div id="removecontrols"> <input name="remove" id="remove" type="submit" value="<?php echo get_string('remove').' '.$OUTPUT->rarrow(); ?>" title="<?php print_string('remove'); ?>" /> </div> </td>