Skip to content

Commit

Permalink
fixes (MDL-8449) Quiz start and close times should allow the teacher …
Browse files Browse the repository at this point in the history
…to select a time as well as a date.
  • Loading branch information
jamiesensei committed Feb 26, 2007
1 parent aad2b02 commit f5efac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/quiz/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ function definition() {

//-------------------------------------------------------------------------------
$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'));


Expand Down

0 comments on commit f5efac7

Please sign in to comment.