From 1a17df84deeff3dceee17f41839bccbf085b9d07 Mon Sep 17 00:00:00 2001 From: Jamie Pratt Date: Fri, 9 Sep 2011 15:23:57 +0700 Subject: [PATCH] MDL-47494 ddimageortext: NOBUG removed help button as it does not work on a submit button anyway. --- question/type/ddimageortext/edit_ddimagetoimage_form.php | 1 - question/type/ddimageortext/lang/en/qtype_ddimagetoimage.php | 1 - 2 files changed, 2 deletions(-) diff --git a/question/type/ddimageortext/edit_ddimagetoimage_form.php b/question/type/ddimageortext/edit_ddimagetoimage_form.php index 7b255359d54..6e47ca905b9 100644 --- a/question/type/ddimageortext/edit_ddimagetoimage_form.php +++ b/question/type/ddimageortext/edit_ddimagetoimage_form.php @@ -87,7 +87,6 @@ class qtype_ddimagetoimage_edit_form extends question_edit_form { $mform->registerNoSubmitButton('refresh'); $mform->addElement('submit', 'refresh', get_string('refresh', 'qtype_ddimagetoimage')); - $mform->addHelpButton('refresh', 'refresh', 'qtype_ddimagetoimage'); $mform->closeHeaderBefore('refresh'); list($imagerepeatsatstart, $imagerepeats) = $this->get_drag_image_repeats(); diff --git a/question/type/ddimageortext/lang/en/qtype_ddimagetoimage.php b/question/type/ddimageortext/lang/en/qtype_ddimagetoimage.php index 80bb152f8ba..b511a895629 100644 --- a/question/type/ddimageortext/lang/en/qtype_ddimagetoimage.php +++ b/question/type/ddimageortext/lang/en/qtype_ddimagetoimage.php @@ -53,7 +53,6 @@ $string['previewarea'] = 'Preview area -'; $string['previewareaheader'] = 'Preview'; $string['previewareamessage'] = 'Select a background image file and select draggable images or just enter text that will be made draggable. Then choose a drag item for each \'drop zone\', and drag the drag item to where the student should drag it to.'; $string['refresh'] = 'Refresh Preview'; -$string['refresh_help'] = 'You may need to refresh the preview display if you upload a file with the same name as an existing file and choose to overwrite the existing file.'; $string['shuffleimages'] = 'Shuffle Draggable Images'; $string['summarisechoice'] = '{$a->no}. {$a->text}'; $string['summariseplace'] = '{$a->no}. {$a->text}';