From a2b4d8968cdce89967f4854ea494f128c892fd16 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Mon, 14 May 2012 18:54:37 +0100 Subject: [PATCH] MDL-32087 question preview: add a Save button. Without this, there are some interactions with the question that could only be tested by adding the question to a quiz, which was a pain. --- lang/en/question.php | 1 + question/preview.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lang/en/question.php b/lang/en/question.php index 1bbfa939cb3..2352b44ecc1 100644 --- a/lang/en/question.php +++ b/lang/en/question.php @@ -269,6 +269,7 @@ $string['questiontype'] = 'Question type'; $string['questionuse'] = 'Use question in this activity'; $string['questionvariant'] = 'Question variant'; $string['reviewresponse'] = 'Review response'; +$string['save'] = 'Save'; $string['saveflags'] = 'Save the state of the flags'; $string['selectacategory'] = 'Select a category:'; $string['selectaqtypefordescription'] = 'Select a question type to see its description.'; diff --git a/question/preview.php b/question/preview.php index e81a101f9dc..15e369eb13b 100644 --- a/question/preview.php +++ b/question/preview.php @@ -252,6 +252,8 @@ echo $quba->render_question($slot, $options, $displaynumber); echo '
'; echo '', "\n"; +echo '', "\n"; echo '', "\n"; echo '