<div class="enroloptions"> <p><label for="roleid"><?php print_string('assignrole', 'enrol_manual') ?></label><br /> <?php echo html_writer::select($roles, 'roleid', $roleid, false); ?></p> <p><label for="extendperiod"><?php print_string('enrolperiod', 'enrol') ?></label><br /> <?php echo html_writer::select($periodmenu, 'extendperiod', $defaultperiod, $unlimitedperiod); ?></p> <p><label for="extendbase"><?php print_string('startingfrom') ?></label><br /> <?php echo html_writer::select($basemenu, 'extendbase', $extendbase, false); ?></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> <td id="potentialcell"> <p><label for="addselect"><?php print_string('enrolcandidates', 'enrol'); ?></label></p> <?php $potentialuserselector->display() ?> </td> </tr> </table> </div></form> <?php echo $OUTPUT->footer();
echo html_writer::select($basemenu, 'extendbase', $extendbase, false); ?> </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> <td id="potentialcell"> <p><label for="addselect"><?php print_string('enrolcandidates', 'enrol'); ?> </label></p> <?php $potentialuserselector->display(); ?> </td> </tr> </table> </div></form> <?php echo $OUTPUT->footer();