From: gustav_delius Date: Sun, 6 Feb 2005 10:42:31 +0000 (+0000) Subject: I have changed the icon for removing a question from a quiz from X to >> and changed... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2b6271fccc7042f2618871cd4649aff107013dae;p=moodle.git I have changed the icon for removing a question from a quiz from X to >> and changed the label from 'Delete' to 'Remove' because it does not delete the question but only removes it from the quiz. --- diff --git a/mod/quiz/locallib.php b/mod/quiz/locallib.php index a2694f1c81..524d659926 100644 --- a/mod/quiz/locallib.php +++ b/mod/quiz/locallib.php @@ -1160,7 +1160,7 @@ function quiz_print_question_list($questionlist, $grades, $allowdelete=true) { $strorder = get_string("order"); $strquestionname = get_string("questionname", "quiz"); $strgrade = get_string("grade"); - $strdelete = get_string("delete"); + $strremove = get_string('remove', 'quiz'); $stredit = get_string("edit"); $strmoveup = get_string("moveup"); $strmovedown = get_string("movedown"); @@ -1210,14 +1210,14 @@ function quiz_print_question_list($questionlist, $grades, $allowdelete=true) { echo ''; if ($canedit) { + echo " + \"$strpreview\" "; echo " \"$stredit\" "; if ($allowdelete) { - echo "sesskey\"> - \"$strdelete\" "; + echo "sesskey\"> + \"$strremove\""; } - echo " - \"$strpreview\""; } echo ""; diff --git a/pix/t/removeright.gif b/pix/t/removeright.gif new file mode 100644 index 0000000000..7e1fb2decc Binary files /dev/null and b/pix/t/removeright.gif differ