From f59f488a36a534b3e28a709f73f3f47724c19441 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Thu, 29 Sep 2011 18:28:20 +0200 Subject: [PATCH] MDL-29480 Introducing new rubric plugin --- grade/grading/form/rubric/db/install.xml | 52 ++++++++++++++++++ .../rubric/lang/en/gradingform_rubric.php | 27 +++++++++ grade/grading/form/rubric/pix/icon.png | Bin 0 -> 205 bytes grade/grading/form/rubric/version.php | 28 ++++++++++ lib/pluginlib.php | 4 ++ 5 files changed, 111 insertions(+) create mode 100644 grade/grading/form/rubric/db/install.xml create mode 100644 grade/grading/form/rubric/lang/en/gradingform_rubric.php create mode 100644 grade/grading/form/rubric/pix/icon.png create mode 100644 grade/grading/form/rubric/version.php diff --git a/grade/grading/form/rubric/db/install.xml b/grade/grading/form/rubric/db/install.xml new file mode 100644 index 00000000000..fc443dc79cc --- /dev/null +++ b/grade/grading/form/rubric/db/install.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+
+
\ No newline at end of file diff --git a/grade/grading/form/rubric/lang/en/gradingform_rubric.php b/grade/grading/form/rubric/lang/en/gradingform_rubric.php new file mode 100644 index 00000000000..2b9caabc090 --- /dev/null +++ b/grade/grading/form/rubric/lang/en/gradingform_rubric.php @@ -0,0 +1,27 @@ +. + +/** + * @package gradingform + * @subpackage rubric + * @copyright 2011 David Mudrak + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined('MOODLE_INTERNAL') || die(); + +$string['pluginname'] = 'Rubric'; diff --git a/grade/grading/form/rubric/pix/icon.png b/grade/grading/form/rubric/pix/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..f1af82f25125c3d1082c6cc1e65cde81b46d2857 GIT binary patch literal 205 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^NcO z?l9QdFTSY{6yYrJh%9Dc;1&j9Muu5)B!GhKC7!;n?6)~(`K5U_Ov?TY6!P_SaSX9I zot%=8@Z-D#V?ts=LPEu_FPd#FTeg@uUzD|G1A;cYsm?tA|2w})Oi6J`G&T(2kZ|AI saG!g}oZdHE1NARl=H4N6^*}WvgWf48d2wEDRiMEPp00i_>zopr0ITvl_y7O^ literal 0 HcmV?d00001 diff --git a/grade/grading/form/rubric/version.php b/grade/grading/form/rubric/version.php new file mode 100644 index 00000000000..98df4efe6dd --- /dev/null +++ b/grade/grading/form/rubric/version.php @@ -0,0 +1,28 @@ +. + +/** + * @package gradingform + * @subpackage rubric + * @copyright 2011 David Mudrak + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined('MOODLE_INTERNAL') || die(); + +$plugin->version = 2011092900; +$plugin->requires = 2011092900; // Requires this Moodle version diff --git a/lib/pluginlib.php b/lib/pluginlib.php index 9cdc83a4f04..75cc25d4069 100644 --- a/lib/pluginlib.php +++ b/lib/pluginlib.php @@ -288,6 +288,10 @@ class plugin_manager { 'grader', 'outcomes', 'overview', 'user' ), + 'gradingform' => array( + 'rubric' + ), + 'local' => array( ),