From: jamiesensei Date: Mon, 26 Feb 2007 06:38:47 +0000 (+0000) Subject: fixes (MDL-8449) Quiz start and close times should allow the teacher to select a... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f5efac7b85d4894f2596044e1ded6389f1d50c42;p=moodle.git fixes (MDL-8449) Quiz start and close times should allow the teacher to select a time as well as a date. --- diff --git a/mod/quiz/mod_form.php b/mod/quiz/mod_form.php index d13b52b022..3b0c78ac62 100644 --- a/mod/quiz/mod_form.php +++ b/mod/quiz/mod_form.php @@ -23,10 +23,10 @@ class mod_quiz_mod_form extends moodleform_mod { //------------------------------------------------------------------------------- $mform->addElement('header', 'timinghdr', get_string('timing', 'form')); - $mform->addElement('date_selector', 'timeopen', get_string("quizopen", "quiz"), array('optional'=>true)); + $mform->addElement('date_time_selector', 'timeopen', get_string("quizopen", "quiz"), array('optional'=>true)); $mform->setHelpButton('timeopen', array('timeopen', get_string('quizopens', 'quiz'), 'quiz')); - $mform->addElement('date_selector', 'timeclose', get_string("quizcloses", "quiz"), array('optional'=>true)); + $mform->addElement('date_time_selector', 'timeclose', get_string("quizcloses", "quiz"), array('optional'=>true)); $mform->setHelpButton('timeclose', array('timeopen', get_string('quizcloses', 'quiz'), 'quiz'));