MDL-21695 Removing timerestrict help as recommended by Helen

This commit is contained in:
David Mudrak 2010-04-30 13:46:11 +00:00
parent c27d61a2a2
commit 539dfe2920
2 changed files with 0 additions and 3 deletions

View File

@ -81,6 +81,5 @@ $string['spaceleft'] = 'space available';
$string['spacesleft'] = 'spaces available';
$string['taken'] = 'Taken';
$string['timerestrict'] = 'Restrict answering to this time period';
$string['timerestrict_help'] = 'This setting allows you to define a time window within which participants are allowed to make a choice. To set an open-ended close date just set the time very far in the future. If you don\'t need this at all then uncheck the box.';
$string['viewallresponses'] = 'View {$a} responses';
$string['yourselection'] = 'Your selection';

View File

@ -61,8 +61,6 @@ class mod_choice_mod_form extends moodleform_mod {
//-------------------------------------------------------------------------------
$mform->addElement('header', 'timerestricthdr', get_string('timerestrict', 'choice'));
$mform->addElement('checkbox', 'timerestrict', get_string('timerestrict', 'choice'));
$mform->addHelpButton('timerestrict', 'timerestrict', 'choice');
$mform->addElement('date_time_selector', 'timeopen', get_string("choiceopen", "choice"));
$mform->disabledIf('timeopen', 'timerestrict');