From 591f7031128f07dbf4a7829fb1eee8456b135dd8 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 01:14:14 +0000 Subject: [PATCH] MDL-19795 Upgraded call to print_time_selector --- enrol/authorize/config_form.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/enrol/authorize/config_form.php b/enrol/authorize/config_form.php index 74de44a16c..99fadf94a5 100755 --- a/enrol/authorize/config_form.php +++ b/enrol/authorize/config_form.php @@ -108,7 +108,12 @@ if (!isset($frm->acceptechecktypes)) { an_cutoff: - an_cutoff_hour,$frm->an_cutoff_min),5); ?>
+ an_cutoff_hour,$frm->an_cutoff_min); + $hourselector = moodle_select::make_time_selector('hours', 'an_cutoff_hour', $curtime); + $minselector = moodle_select::make_time_selector('minutes', 'an_cutoff_min', $curtime); + echo $OUTPUT->select($hourselector) . $OUTPUT->select($minselector); + ?>
-- 2.39.5