From 2b6271fccc7042f2618871cd4649aff107013dae Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 6 Feb 2005 10:42:31 +0000 Subject: [PATCH] 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. --- mod/quiz/locallib.php | 10 +++++----- pix/t/removeright.gif | Bin 0 -> 845 bytes 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 pix/t/removeright.gif diff --git a/mod/quiz/locallib.php b/mod/quiz/locallib.php index a2694f1c816..524d6599262 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 0000000000000000000000000000000000000000..7e1fb2deccaf4255031c0c2650f6f3e17d7a84d2 GIT binary patch literal 845 zcmchWF=~}j5QR@bjPM9*AqXNQ5K;uYX(CoJ5V5nc4oNe0HW5KcVLRYnERw=v7GQ6a z9jMjGH&@r-Z63qid*(Z5{`cCx+pjW+tFzbB-WN@~fXicqAY6s_9HMUTN~BaIf1J%*;{RAy&-{4tiQDyy?RcA=oz zmEGCKJy6_DSGv>KBM&fnO&s_K0*6o|1~imhg@eIpBaN0PxoJ~#y2=wI{uoQuU2Ss3 zE)+D&T_#78CIGm&PSCg|O7Z}c*Tex6hH(frVnFi}EI1g9HqxFI&28G$9J4Wk#2;g+ z+MWfj^$*3`=