MDL-34557 accessibility compliance for enrol: Add forform input text and select tag
This commit is contained in:
@@ -58,8 +58,10 @@ function authorize_print_orders($courseid, $userid) {
|
||||
|
||||
$searchmenu = array('orderid' => $authstrs->orderid, 'transid' => $authstrs->transid, 'cclastfour' => $authstrs->cclastfour);
|
||||
$buttons = "<form method='post' action='index.php' autocomplete='off'><div>";
|
||||
$buttons .= html_writer::label(get_string('orderdetails', 'enrol_authorize'), 'menusearchtype', false, array('class' => 'accesshide'));
|
||||
$buttons .= html_writer::select($searchmenu, 'searchtype', $searchtype, false);
|
||||
$buttons .= "<input type='text' size='16' name='searchquery' value='' />";
|
||||
$buttons .= html_writer::label(get_string('search'), 'searchquery', false, array('class' => 'accesshide'));
|
||||
$buttons .= "<input id='searchquery' type='text' size='16' name='searchquery' value='' />";
|
||||
$buttons .= "<input type='submit' value='$strs->search' />";
|
||||
$buttons .= "</div></form>";
|
||||
|
||||
|
||||
@@ -162,13 +162,13 @@ echo $OUTPUT->heading($instancename);
|
||||
|
||||
<div class="enroloptions">
|
||||
|
||||
<p><label for="roleid"><?php print_string('assignrole', 'enrol_manual') ?></label><br />
|
||||
<p><label for="menuroleid"><?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 />
|
||||
<p><label for="menuextendperiod"><?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 />
|
||||
<p><label for="menuextendbase"><?php print_string('startingfrom') ?></label><br />
|
||||
<?php echo html_writer::select($basemenu, 'extendbase', $extendbase, false); ?></p>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user