mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle
This commit is contained in:
commit
5bfeb5ffd3
108 changed files with 390 additions and 216 deletions
|
@ -58,7 +58,9 @@ 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 .= html_writer::label(get_string('search'), 'menusearchtype', false, array('class' => 'accesshide'));
|
||||
$buttons .= "<input type='text' size='16' name='searchquery' value='' />";
|
||||
$buttons .= "<input type='submit' value='$strs->search' />";
|
||||
$buttons .= "</div></form>";
|
||||
|
@ -81,7 +83,8 @@ function authorize_print_orders($courseid, $userid) {
|
|||
if (($popupcrs = $DB->get_records_sql_menu($sql, $params))) {
|
||||
$popupcrs = array($SITE->id => $SITE->fullname) + $popupcrs;
|
||||
}
|
||||
$popupmenu = empty($popupcrs) ? '' : $OUTPUT->single_select(new moodle_url($baseurl.'&status='.$status), 'course', $popupcrs, $courseid, null, 'coursesmenu');
|
||||
$popmenulabel = array('' => get_accesshide(get_string('course')));
|
||||
$popupmenu = empty($popupcrs) ? '' : $OUTPUT->single_select(new moodle_url($baseurl.'&status='.$status), 'course', $popupcrs, $courseid, $popmenulabel, 'coursesmenu');
|
||||
$popupmenu .= '<br />';
|
||||
$statusmenu = array(
|
||||
AN_STATUS_NONE => $strs->all,
|
||||
|
@ -97,6 +100,7 @@ function authorize_print_orders($courseid, $userid) {
|
|||
AN_STATUS_TEST => $authstrs->tested
|
||||
);
|
||||
|
||||
$popmenulabel = array('' => get_accesshide(get_string('status')));
|
||||
$popupmenu .= $OUTPUT->single_select(new moodle_url($baseurl.'&course='.$courseid), 'status', $statusmenu, $status, null, 'statusmenu');
|
||||
if ($canmanagepayments) {
|
||||
$popupmenu .= '<br />';
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue