From 7baa445fbe6f4512754533efc0dfbd8506198f4f Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Wed, 22 May 2013 14:00:27 +0100 Subject: [PATCH] MDL-47494 ddmarker: Minor coding style clean-up. #6859 --- question/type/ddmarker/edit_ddmarker_form.php | 4 +--- question/type/ddmarker/lang/en/qtype_ddmarker.php | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/question/type/ddmarker/edit_ddmarker_form.php b/question/type/ddmarker/edit_ddmarker_form.php index 4fddd1d89af..1ba430f475c 100644 --- a/question/type/ddmarker/edit_ddmarker_form.php +++ b/question/type/ddmarker/edit_ddmarker_form.php @@ -95,12 +95,10 @@ class qtype_ddmarker_edit_form extends qtype_ddtoimage_edit_form_base { protected function draggable_items_repeated_options() { $repeatedoptions = array(); - $repeatedoptions['drags[label]']['type'] = PARAM_TEXT; + $repeatedoptions['drags[label]']['type'] = PARAM_TEXT; return $repeatedoptions; } - - protected function drop_zone($mform, $imagerepeats) { $dropzoneitem = array(); diff --git a/question/type/ddmarker/lang/en/qtype_ddmarker.php b/question/type/ddmarker/lang/en/qtype_ddmarker.php index d0c0c3fb838..be4da533d2f 100644 --- a/question/type/ddmarker/lang/en/qtype_ddmarker.php +++ b/question/type/ddmarker/lang/en/qtype_ddmarker.php @@ -74,7 +74,6 @@ $string['pluginname_link'] = 'question/type/ddmarker'; $string['pluginnameadding'] = 'Adding drag and drop markers'; $string['pluginnameediting'] = 'Editing drag and drop markers'; $string['pluginnamesummary'] = 'Markers are dragged and dropped onto a background image.'; -$string['previewarea'] = 'Preview area -'; $string['previewareaheader'] = 'Preview'; $string['previewareamessage'] = 'Select a background image file, enter text labels for markers and define the drop zones on the background image to which they must be dragged.'; $string['refresh'] = 'Refresh preview';