quiz editing: MDL-17452 customized the link tooltip to "Remove empty page" for the...
authorpilpi <pilpi>
Fri, 28 Nov 2008 16:33:48 +0000 (16:33 +0000)
committerpilpi <pilpi>
Fri, 28 Nov 2008 16:33:48 +0000 (16:33 +0000)
lang/en_utf8/quiz.php
mod/quiz/editlib.php

index 132d0f859684d55c5395b260d998b4137a5044d7..682a41fcad78685d5b45a0c21ccff0994f8fafbf 100644 (file)
@@ -158,6 +158,7 @@ $string['configreviewoptions'] = 'These options control what information users c
 $string['configshufflequestions'] = 'If you enable this option, then the order of questions in  the quiz will be randomly shuffled each time a student attempts the quiz.';
 $string['configshufflewithin'] = 'If you enable this option, then the parts making up the individual questions will be randomly shuffled each time a student starts an attempt at this quiz, provided the option is also enabled in the question settings.';
 $string['configtimelimit'] = 'Default time limit for quizzes in minutes. 0 mean no time limit.';
+$string['configurerandomquestion'] = 'Configure question';
 $string['confirmclose'] = 'You are about to close this attempt. Once you close the attempt you will no longer be able to change your answers.';
 $string['confirmserverdelete'] = 'Are you sure you want to remove the server <b>$a</b> from the list?';
 $string['confirmstartattemptlimit'] = 'This quiz is limited to $a attempt(s). You are about to start a new attempt.  Do you wish to proceed?';
@@ -559,6 +560,7 @@ $string['regradingquestion'] = 'Regrading \"$a\".';
 $string['regradingquiz'] = 'Regrading Quiz \"$a\"';
 $string['relative'] = 'Relative';
 $string['remove'] = 'Remove';
+$string['removeemptypage'] = 'Remove empty page';
 $string['removeallquizattempts'] = 'Delete all quiz attempts';
 $string['rename'] = 'Rename';
 $string['renderingserverconnectfailed'] = 'The server $a failed to process an RQP request. Check that the URL is correct.';
index b57b52c21960ce109dfc9c8dacf5849867bcabec..4c75ff4d2c047e31d3d05385713ffe0a26a1cbc4 100644 (file)
@@ -352,7 +352,7 @@ function quiz_print_question_list($quiz, $pageurl, $allowdelete=true,
                 echo '</div>';
                 if ($allowdelete && !$quiz->questionsperpage) { // remove from quiz, not question delete.
                     echo '<div class="quizpagedelete">';
-                    echo "<a title=\"$strremove\" href=\"".
+                    echo "<a title=\"".get_string("removeemptypage","quiz")."\" href=\"".
                             $pageurl->out_action(array('deleteemptypage'=>$i)).
                             "\"><img src=\"$CFG->pixpath/t/delete.gif\" ".
                             "class=\"iconsmall\"".