|
|
|
@ -984,7 +984,7 @@ class Exercise { |
|
|
|
|
$option = range(0,$max); |
|
|
|
|
$option[0]=get_lang('No'); |
|
|
|
|
|
|
|
|
|
$random[] = FormValidator :: createElement ('select', 'randomQuestions',null,$option, array('class'=>'chzn-select')); |
|
|
|
|
$random[] = FormValidator :: createElement ('select', 'randomQuestions',null, $option, array('id'=>'randomQuestions','class'=>'chzn-select')); |
|
|
|
|
$random[] = FormValidator :: createElement ('static', 'help','help','<span style="font-style: italic;">'.get_lang('RandomQuestionsHelp').'</span>'); |
|
|
|
|
//$random[] = FormValidator :: createElement ('text', 'randomQuestions', null,null,'0'); |
|
|
|
|
$form->addGroup($random,null,get_lang('RandomQuestions'),'<br />'); |
|
|
|
@ -999,7 +999,7 @@ class Exercise { |
|
|
|
|
$attempt_option=range(0,10); |
|
|
|
|
$attempt_option[0]=get_lang('Infinite'); |
|
|
|
|
|
|
|
|
|
$form->addElement('select', 'exerciseAttempts',get_lang('ExerciseAttempts'),$attempt_option); |
|
|
|
|
$form->addElement('select', 'exerciseAttempts',get_lang('ExerciseAttempts'),$attempt_option, array('id'=>'exerciseAttempts','class'=>'chzn-select')); |
|
|
|
|
|
|
|
|
|
$form->addElement('checkbox', 'activate_start_date_check',get_lang('EnableStartTime'),null, array('onclick' => 'activate_start_date()')); |
|
|
|
|
|
|
|
|
|