[svn r13160] empty the default description of a quiz

skala
Eric Marguin 17 years ago
parent 2910b49429
commit f1ae7cba0b
  1. 4
      main/exercice/exercise.class.php

@ -22,7 +22,7 @@
* Exercise class: This class allows to instantiate an object of type Exercise
* @package dokeos.exercise
* @author Olivier Brouckaert
* @version $Id: exercise.class.php 12893 2007-08-12 20:00:41Z yannoo $
* @version $Id: exercise.class.php 13160 2007-09-21 09:54:34Z elixir_inter $
*/
@ -638,7 +638,7 @@ class Exercise
else{
$defaults['exerciseType'] = 1;
$defaults['randomQuestions'] = 0;
$defaults['exerciseDescription'] = '<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="110" valign="top" align="left"><img src="'.api_get_path(WEB_CODE_PATH).'/default_course_document/images/mr_dokeos/thinking.jpg"></td><td valign="top" align="left"></td></tr></table>';
$defaults['exerciseDescription'] = '';
}
$form -> setDefaults($defaults);

Loading…
Cancel
Save