From 439d9cbe904f17d6956186eab3462e60a2aa7527 Mon Sep 17 00:00:00 2001 From: pilpi Date: Fri, 28 Nov 2008 16:33:48 +0000 Subject: [PATCH] quiz editing: MDL-17452 customized the link tooltip to "Remove empty page" for the link for deleting an empty page --- lang/en_utf8/quiz.php | 2 ++ mod/quiz/editlib.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/en_utf8/quiz.php b/lang/en_utf8/quiz.php index 132d0f8596..682a41fcad 100644 --- a/lang/en_utf8/quiz.php +++ b/lang/en_utf8/quiz.php @@ -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 $a 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.'; diff --git a/mod/quiz/editlib.php b/mod/quiz/editlib.php index b57b52c219..4c75ff4d2c 100644 --- a/mod/quiz/editlib.php +++ b/mod/quiz/editlib.php @@ -352,7 +352,7 @@ function quiz_print_question_list($quiz, $pageurl, $allowdelete=true, echo ''; if ($allowdelete && !$quiz->questionsperpage) { // remove from quiz, not question delete. echo '
'; - echo "out_action(array('deleteemptypage'=>$i)). "\">pixpath/t/delete.gif\" ". "class=\"iconsmall\"". -- 2.39.5