Browse Source

[svn r15942] add a help text for the random questions field

Julian Prud'homme 16 years ago
parent
commit
532af770c6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main/exercice/exercise.class.php

+ 2 - 1
main/exercice/exercise.class.php

@@ -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'));