|
|
|
|
@ -25,7 +25,7 @@ |
|
|
|
|
* Exercise class: This class allows to instantiate an object of type Exercise |
|
|
|
|
* @package dokeos.exercise |
|
|
|
|
* @author Olivier Brouckaert |
|
|
|
|
* @version $Id: exercise.class.php 15939 2008-08-07 09:01:09Z elixir_julian $ |
|
|
|
|
* @version $Id: exercise.class.php 15942 2008-08-07 09:46:26Z elixir_julian $ |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -677,6 +677,7 @@ class Exercise |
|
|
|
|
|
|
|
|
|
// random |
|
|
|
|
$random = array(); |
|
|
|
|
$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 />'); |
|
|
|
|
$form -> addElement('text', 'exerciseAttempts', get_lang('ExerciseAttempts').' : ',array('size'=>'2')); |
|
|
|
|
|