diff --git a/main/exercice/exercice_submit.php b/main/exercice/exercice_submit.php index 06f4f578d0..0e6c448103 100644 --- a/main/exercice/exercice_submit.php +++ b/main/exercice/exercice_submit.php @@ -33,7 +33,7 @@ * the administrator * @package dokeos.exercise * @author Olivier Brouckaert -* @version $Id: exercice_submit.php 15358 2008-05-22 08:47:39Z elixir_inter $ +* @version $Id: exercice_submit.php 15412 2008-05-26 13:56:24Z elixir_inter $ */ @@ -537,9 +537,8 @@ else ".get_lang('Question')." "; - $s.=$i; + $s.=$i.' : '; if($exerciseType == 2) $s.=' / '.$nbrQuestions; - $s.=''; echo $s; diff --git a/main/exercice/exercise.lib.php b/main/exercice/exercise.lib.php index 3164afe4ea..3a6bc31f7b 100644 --- a/main/exercice/exercise.lib.php +++ b/main/exercice/exercise.lib.php @@ -23,7 +23,7 @@ * shows a question and its answers * @package dokeos.exercise * @author Olivier Brouckaert -* @version $Id: exercise.lib.php 15358 2008-05-22 08:47:39Z elixir_inter $ +* @version $Id: exercise.lib.php 15412 2008-05-26 13:56:24Z elixir_inter $ */ @@ -48,8 +48,6 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false) $questionName=$objQuestionTmp->selectTitle(); $questionDescription=$objQuestionTmp->selectDescription(); - $s=" -  "; $questionName=api_parse_tex($questionName); $s.=$questionName; $s.=" @@ -283,10 +281,7 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false) if(!$onlyAnswers) { - $s=" -  "; - $questionName=api_parse_tex($questionName); - $s.=$questionName; + $s=$questionName; $s.=" diff --git a/main/exercice/exercise_result.php b/main/exercice/exercise_result.php index 4fe1b20231..fc60ca4169 100644 --- a/main/exercice/exercise_result.php +++ b/main/exercice/exercise_result.php @@ -25,7 +25,7 @@ * @package dokeos.exercise * @author Olivier Brouckaert, main author * @author Roan Embrechts, some refactoring -* @version $Id: exercise_result.php 15352 2008-05-21 20:42:25Z elixir_inter $ +* @version $Id: exercise_result.php 15412 2008-05-26 13:56:24Z elixir_inter $ * * @todo split more code up in functions, move functions to library? */ @@ -274,17 +274,17 @@ function display_hotspot_answer($answerId, $answer, $studentChoice, $answerComme "#F7BDE2"); ?> - +
- - + + - + @@ -357,13 +357,11 @@ $exerciseTitle=api_parse_tex($exerciseTitle); - - - - + @@ -690,12 +687,7 @@ $result =api_sql_query($query, __FILE__, __LINE__); ?>
- +
- -
@@ -417,15 +415,15 @@ $exerciseTitle=api_parse_tex($exerciseTitle); ?>
- +
- - - -
+

+

+

@@ -747,7 +745,7 @@ $exerciseTitle=api_parse_tex($exerciseTitle); } ?>
+ + ?>

@@ -839,7 +837,7 @@ $exerciseTitle=api_parse_tex($exerciseTitle); if ($origin != 'learnpath') { ?> - + diff --git a/main/exercice/exercise_show.php b/main/exercice/exercise_show.php index 81ada84b4b..e3b6e916d5 100644 --- a/main/exercice/exercise_show.php +++ b/main/exercice/exercise_show.php @@ -385,10 +385,7 @@ $result =api_sql_query($query, __FILE__, __LINE__); }?>
- - - - - - + @@ -708,8 +700,7 @@ $result =api_sql_query($query, __FILE__, __LINE__);
 
 
- selectAnswer($answerId); @@ -843,14 +834,14 @@ $result =api_sql_query($query, __FILE__, __LINE__); } }?> - + - - - +


'.get_lang('YourTotalScore')." "; @@ -864,8 +855,8 @@ $totalWeighting+=$questionWeighting; } ?> !
+

- + '; ?>

- +
-
@@ -308,7 +307,7 @@ if($modifyAnswers)
+ @@ -343,12 +342,6 @@ if($modifyAnswers) ?>
- - - - - -
*