From 12d0d76b900725ea94b853608e49b59e2c228bb3 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Fri, 10 Feb 2012 15:13:02 +0000 Subject: [PATCH] MDL-47494 ddwtos: Update version.php --- question/type/ddwtos/README.txt | 16 +++++++--------- question/type/ddwtos/lang/en/qtype_ddwtos.php | 4 ++-- question/type/ddwtos/version.php | 12 ++++++++---- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/question/type/ddwtos/README.txt b/question/type/ddwtos/README.txt index 4ed8dd2183c..5b8a3bec097 100644 --- a/question/type/ddwtos/README.txt +++ b/question/type/ddwtos/README.txt @@ -4,20 +4,18 @@ This question type requires that gapselect question type https://github.com/moodleou/moodle-qtype_gapselect/ to be installed in order to work. -This question type was originally the work of Mahmoud Kassaei at -the Open University (http://www.open.ac.uk/). -It was updated to work with the Moodle 2.1 question engine by Tim Hunt. -It was then refactored extenstively by Jamie Pratt (http://jamiep.org/) -as part of creating the gapselect question type. +This question type was originally the work of Mahmoud Kassaei at the Open +University (http://www.open.ac.uk/). It was updated to work with the Moodle 2.1 +question engine by Tim Hunt. It was then refactored extenstively by Jamie Pratt +(http://jamiep.org/) as part of creating the gapselect question type. This question type is compatible with Moodle 2.1+. To install using git, type this command in the root of your Moodle install - git clone git://github.com/moodleou/moodle-qtype_ddwtos.git question/type/ddwtos + git clone -b MOODLE_21_STABLE git://github.com/moodleou/moodle-qtype_ddwtos.git question/type/ddwtos Then add question/type/ddwtos to your git ignore. Alternatively, download the zip from - https://github.com/moodleou/moodle-qtype_ddwtos/zipball/master -unzip it into the question/type folder, and then rename the new folder to -ddwtos. + https://github.com/moodleou/moodle-qtype_ddwtos/zipball/MOODLE_21_STABLE +unzip it into the question/type folder, and then rename the new folder to ddwtos. diff --git a/question/type/ddwtos/lang/en/qtype_ddwtos.php b/question/type/ddwtos/lang/en/qtype_ddwtos.php index 2aa55b2e056..fa1ed434423 100644 --- a/question/type/ddwtos/lang/en/qtype_ddwtos.php +++ b/question/type/ddwtos/lang/en/qtype_ddwtos.php @@ -16,8 +16,7 @@ /** * - * @package qtype - * @subpackage ddwtos + * @package qtype_ddwtos * @copyright 2011 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -32,3 +31,4 @@ $string['ddwtossummary'] = 'Missing words in some text are filled in using drag- $string['editingddwtos'] = 'Editing a drag and drop into text'; $string['infinite'] = 'Infinite'; $string['pleaseputananswerineachbox'] = 'Please put an answer in each box.'; +$string['pluginname'] = 'Drag and drop into text'; diff --git a/question/type/ddwtos/version.php b/question/type/ddwtos/version.php index 036d05ab489..5d013eddca3 100644 --- a/question/type/ddwtos/version.php +++ b/question/type/ddwtos/version.php @@ -17,13 +17,17 @@ /** * Version information for the drag-and-drop words into sentences question type. * - * @package qtype - * @subpackage ddwtos + * @package qtype_ddwtos * @copyright 2011 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2011051200; -$plugin->requires = 2011051212; + +$plugin->version = 2011051200; +$plugin->requires = 2011070100; +$plugin->cron = 0; +$plugin->component = 'qtype_ddwtos'; +$plugin->maturity = MATURITY_STABLE; +$plugin->release = '1.0'; -- 2.11.4.GIT