[svn r11110] Improve display in tests (new icons, white spaces between questions, etc...)

skala
Julian Prud'homme 19 years ago
parent 43ab7e66b4
commit dee950405e
  1. 4
      main/exercice/exercice.php
  2. 3
      main/exercice/exercise.lib.php
  3. 4
      main/exercice/question_pool.php
  4. BIN
      main/img/new_test.gif

@ -24,7 +24,7 @@
* @author Olivier Brouckaert, original author * @author Olivier Brouckaert, original author
* @author Denes Nagy, HotPotatoes integration * @author Denes Nagy, HotPotatoes integration
* @author Wolfgang Schneider, code/html cleanup * @author Wolfgang Schneider, code/html cleanup
* @version $Id: exercice.php 11107 2007-02-14 09:46:32Z elixir_julian $ * @version $Id: exercice.php 11110 2007-02-14 13:48:08Z elixir_julian $
*/ */
@ -310,7 +310,7 @@ if($show == 'test'){
{ {
//error_log('is_allowedToEdit and origin<> learnpath',0); //error_log('is_allowedToEdit and origin<> learnpath',0);
echo "<td width=\"50%\" nowrap=\"nowrap\">", echo "<td width=\"50%\" nowrap=\"nowrap\">",
"<img src=\"../img/view_more_stats.gif\" alt=\"new test\" align=\"absbottom\">&nbsp;<a href=\"exercise_admin.php\">".get_lang("NewEx")."</a>", "<img src=\"../img/new_test.gif\" alt=\"new test\" align=\"absbottom\">&nbsp;<a href=\"exercise_admin.php\">".get_lang("NewEx")."</a>",
//"<img src=\"../img/quiz_na.gif\" alt=\"new test\" valign=\"ABSMIDDLE\"><a href=\"question_pool.php\">".get_lang("QuestionPool")."</a> | ", //"<img src=\"../img/quiz_na.gif\" alt=\"new test\" valign=\"ABSMIDDLE\"><a href=\"question_pool.php\">".get_lang("QuestionPool")."</a> | ",
//" | <img src=\"../img/jqz.jpg\" alt=\"HotPotatoes\" valign=\"ABSMIDDLE\">&nbsp;<a href=\"hotpotatoes.php\">".get_lang("ImportHotPotatoesQuiz")."</a>", //" | <img src=\"../img/jqz.jpg\" alt=\"HotPotatoes\" valign=\"ABSMIDDLE\">&nbsp;<a href=\"hotpotatoes.php\">".get_lang("ImportHotPotatoesQuiz")."</a>",

@ -23,7 +23,7 @@
* shows a question and its answers * shows a question and its answers
* @package dokeos.exercise * @package dokeos.exercise
* @author Olivier Brouckaert <oli.brouckaert@skynet.be> * @author Olivier Brouckaert <oli.brouckaert@skynet.be>
* @version $Id: exercise.lib.php 11107 2007-02-14 09:46:32Z elixir_julian $ * @version $Id: exercise.lib.php 11110 2007-02-14 13:48:08Z elixir_julian $
*/ */
@ -441,6 +441,7 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false)
echo $s; echo $s;
} }
echo "<tr><td>&nbsp;</td></tr>";
return $nbrAnswers; return $nbrAnswers;
} }

@ -24,7 +24,7 @@
* One question can be in several exercises * One question can be in several exercises
* @package dokeos.exercise * @package dokeos.exercise
* @author Olivier Brouckaert * @author Olivier Brouckaert
* @version $Id: question_pool.php 11107 2007-02-14 09:46:32Z elixir_julian $ * @version $Id: question_pool.php 11110 2007-02-14 13:48:08Z elixir_julian $
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
@ -297,7 +297,7 @@ if($is_allowedToEdit)
{ {
?> ?>
<a href="<?php echo $phpSelf; ?>?recup=<?php echo $row[id]; ?>&fromExercise=<?php echo $fromExercise; ?>"><img src="../img/PickFromQuestionsDb.gif" border="0" alt="<?php echo get_lang('Reuse'); ?>"></a> <a href="<?php echo $phpSelf; ?>?recup=<?php echo $row[id]; ?>&fromExercise=<?php echo $fromExercise; ?>"><img src="../img/view_more_stats.gif" border="0" alt="<?php echo get_lang('Reuse'); ?>"></a>
<?php <?php
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Loading…
Cancel
Save