[svn r12444] Fix a bug with the exercice display type (one question per page or all the questions on the same page)

skala
Julian Prud'homme 19 years ago
parent 8c9de2da7e
commit 0b6a6778a0
  1. 3
      main/exercice/exercise.class.php

@ -22,7 +22,7 @@
* Exercise class: This class allows to instantiate an object of type Exercise * Exercise class: This class allows to instantiate an object of type Exercise
* @package dokeos.exercise * @package dokeos.exercise
* @author Olivier Brouckaert * @author Olivier Brouckaert
* @version $Id: exercise.class.php 11855 2007-04-03 15:00:22Z pcool $ * @version $Id: exercise.class.php 12444 2007-05-22 11:48:54Z elixir_julian $
*/ */
@ -632,7 +632,6 @@ class Exercise
else{ else{
$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'] = '<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['exerciseType'] = '1';
$form -> setDefaults($defaults); $form -> setDefaults($defaults);

Loading…
Cancel
Save