Add text for admin view showing the number of questions picked randomly.

pull/2487/head
Yannick Warnier 8 years ago
parent 33468f8947
commit 1fcda05d1f
  1. 9
      main/exercise/admin.php

@ -392,7 +392,14 @@ if ($inATest) {
}
echo '</div>';
echo '<div class="alert alert-info">'.sprintf(get_lang('XQuestionsWithTotalScoreY'), $objExercise->selectNbrQuestions(), $maxScoreAllQuestions).'</div>';
echo '<div class="alert alert-info">'.
sprintf(get_lang('XQuestionsWithTotalScoreY'), $objExercise->selectNbrQuestions(), $maxScoreAllQuestions);
if ($objExercise->random > 0) {
echo '<br />' .
sprintf(get_lang('OnlyXQuestionsPickedRandomly'), $objExercise->random);
}
echo '</div>';
} else if (isset($_GET['newQuestion'])) {
// we are in create a new question from question pool not in a test
echo '<div class="actions">';

Loading…
Cancel
Save