quiz editing: MDL-17452 customized the link tooltip to "Remove empty page" for the link for deleting an empty page
This commit is contained in:
@@ -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.';
|
||||
|
||||
@@ -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\"".
|
||||
|
||||
Reference in New Issue
Block a user