From e4ae90fbfbd38f57b0ac980fe2caf91f007f6502 Mon Sep 17 00:00:00 2001 From: Vadim Dvorovenko Date: Wed, 11 May 2016 13:40:55 +0700 Subject: [PATCH] MDL-79863 qtype_ordering: copyrights fix --- question/type/ordering/backup/moodle1/lib.php | 12 +++++++---- .../backup_qtype_ordering_plugin.class.php | 9 +++++---- .../restore_qtype_ordering_plugin.class.php | 12 +++++------ question/type/ordering/db/upgrade.php | 7 ++++--- question/type/ordering/edit_ordering_form.php | 10 ++++------ question/type/ordering/jquery/plugins.php | 20 +++---------------- .../type/ordering/lang/en/qtype_ordering.php | 9 ++++----- question/type/ordering/lib.php | 8 +++----- question/type/ordering/question.php | 11 +++++----- question/type/ordering/questiontype.php | 9 ++++----- question/type/ordering/renderer.php | 8 +++----- question/type/ordering/settings.php | 5 ++--- question/type/ordering/version.php | 7 +++---- 13 files changed, 54 insertions(+), 73 deletions(-) diff --git a/question/type/ordering/backup/moodle1/lib.php b/question/type/ordering/backup/moodle1/lib.php index 4eebcc1533c..5ba15c66a60 100644 --- a/question/type/ordering/backup/moodle1/lib.php +++ b/question/type/ordering/backup/moodle1/lib.php @@ -15,16 +15,20 @@ // along with Moodle. If not, see . /** - * @package qtype - * @subpackage ordering - * @copyright 2011 David Mudrak + * Ordering question type conversion handler + * + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** - * True/false question type conversion handler + * Ordering question type conversion handler class + * + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class moodle1_qtype_ordering_handler extends moodle1_qtype_handler { diff --git a/question/type/ordering/backup/moodle2/backup_qtype_ordering_plugin.class.php b/question/type/ordering/backup/moodle2/backup_qtype_ordering_plugin.class.php index 5f787778e7a..1686685e92f 100644 --- a/question/type/ordering/backup/moodle2/backup_qtype_ordering_plugin.class.php +++ b/question/type/ordering/backup/moodle2/backup_qtype_ordering_plugin.class.php @@ -15,9 +15,10 @@ // along with Moodle. If not, see . /** - * @package moodlecore - * @subpackage backup-moodle2 - * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} + * Ordering question type backup handler + * + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -26,7 +27,7 @@ defined('MOODLE_INTERNAL') || die(); /** * Provides the information to backup ordering questions * - * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class backup_qtype_ordering_plugin extends backup_qtype_plugin { diff --git a/question/type/ordering/backup/moodle2/restore_qtype_ordering_plugin.class.php b/question/type/ordering/backup/moodle2/restore_qtype_ordering_plugin.class.php index 6c8250f560e..945266f3771 100644 --- a/question/type/ordering/backup/moodle2/restore_qtype_ordering_plugin.class.php +++ b/question/type/ordering/backup/moodle2/restore_qtype_ordering_plugin.class.php @@ -15,19 +15,19 @@ // along with Moodle. If not, see . /** - * @package moodlecore - * @subpackage backup-moodle2 - * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} + * Ordering question type restore handler + * + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** - * restore plugin class that provides the necessary information - * needed to restore one ordering qtype plugin + * Restore plugin class that provides the necessary information needed to restore one ordering qtype plugin * - * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class restore_qtype_ordering_plugin extends restore_qtype_plugin { diff --git a/question/type/ordering/db/upgrade.php b/question/type/ordering/db/upgrade.php index 5293d5ff682..5551ac609b1 100644 --- a/question/type/ordering/db/upgrade.php +++ b/question/type/ordering/db/upgrade.php @@ -15,9 +15,10 @@ // along with Moodle. If not, see . /** - * @package moodlecore - * @subpackage backup-moodle2 - * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} + * Ordering question type db upgrade script + * + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ diff --git a/question/type/ordering/edit_ordering_form.php b/question/type/ordering/edit_ordering_form.php index 9e15a1795e9..91f0780a860 100644 --- a/question/type/ordering/edit_ordering_form.php +++ b/question/type/ordering/edit_ordering_form.php @@ -15,11 +15,10 @@ // along with Moodle. If not, see . /** - * Defines the editing form for the multiple choice question type. + * Defines the editing form for the ordering question type. * - * @package qtype - * @subpackage ordering - * @copyright 2007 Jamie Pratt + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -31,9 +30,8 @@ require_once($CFG->dirroot.'/question/type/ordering/question.php'); /** * Ordering editing form definition - * (originally based on mutiple choice form) * - * @copyright 2007 Jamie Pratt + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class qtype_ordering_edit_form extends question_edit_form { diff --git a/question/type/ordering/jquery/plugins.php b/question/type/ordering/jquery/plugins.php index e16ff5677b9..75f3ddb3135 100644 --- a/question/type/ordering/jquery/plugins.php +++ b/question/type/ordering/jquery/plugins.php @@ -15,24 +15,10 @@ // along with Moodle. If not, see . /** - * This file describes jQuery plugins available in the Moodle - * core component. These can be included in page using: - * $PAGE->requires->jquery(); - * $PAGE->requires->jquery_plugin('migrate'); - * $PAGE->requires->jquery_plugin('ui'); - * $PAGE->requires->jquery_plugin('ui-css'); + * Ordering question type javascript plugins definition * - * Please note that other moodle plugins can not use the same - * jquery plugin names, only one is loaded if collision detected. - * - * Any Moodle plugin may add jquery/plugins.php that defines extra - * jQuery plugins. - * - * Themes and other plugins may override any jquery plugin, - * for example to override default jQueryUI theme. - * - * @package core - * @copyright 2013 Petr Skoda {@link http://skodak.org} + * @package qtype_ordering + * @copyright 2014 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ diff --git a/question/type/ordering/lang/en/qtype_ordering.php b/question/type/ordering/lang/en/qtype_ordering.php index 190b18c5266..eef6def7300 100644 --- a/question/type/ordering/lang/en/qtype_ordering.php +++ b/question/type/ordering/lang/en/qtype_ordering.php @@ -15,12 +15,11 @@ // along with Moodle. If not, see . /** - * The language strings for the QTYPENAME question type. + * Ordering question type language srings * - * @copyright © 2006 YOURNAME - * @author YOUREMAILADDRESS - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License - * @package YOURPACKAGENAME + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $string['pluginname'] = 'Ordering'; diff --git a/question/type/ordering/lib.php b/question/type/ordering/lib.php index 5efbb7d3250..4d43ac9d1e7 100644 --- a/question/type/ordering/lib.php +++ b/question/type/ordering/lib.php @@ -15,12 +15,10 @@ // along with Moodle. If not, see . /** - * Serve question type files + * Ordering question type general functions * - * @since 2.0 - * @package qtype - * @subpackage ordering - * @copyright Dongsheng Cai + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ diff --git a/question/type/ordering/question.php b/question/type/ordering/question.php index dca93f59ac8..65a2639d9d0 100644 --- a/question/type/ordering/question.php +++ b/question/type/ordering/question.php @@ -15,11 +15,10 @@ // along with Moodle. If not, see . /** - * ORDERING question definition classes. + * Ordering question definition classes. * - * @package qtype - * @subpackage ordering - * @copyright 2009 The Open University + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -27,9 +26,9 @@ defined('MOODLE_INTERNAL') || die(); /** - * Represents an ORDERING question. + * Represents an ordering question. * - * @copyright 2009 The Open University + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class qtype_ordering_question extends question_graded_automatically { diff --git a/question/type/ordering/questiontype.php b/question/type/ordering/questiontype.php index 71a1b935191..fbbcfbb9bd9 100644 --- a/question/type/ordering/questiontype.php +++ b/question/type/ordering/questiontype.php @@ -17,18 +17,17 @@ /** * The questiontype class for the multiple choice question type. * - * @package qtype - * @subpackage ordering - * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** - * The ORDERING question type. + * The ordering question type. * - * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} + * @copyright 2013 Gordon Bateson (gordon.bateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class qtype_ordering extends question_type { diff --git a/question/type/ordering/renderer.php b/question/type/ordering/renderer.php index 6abbde9123c..21e91fb75db 100644 --- a/question/type/ordering/renderer.php +++ b/question/type/ordering/renderer.php @@ -15,11 +15,9 @@ // along with Moodle. If not, see . /** - * ORDERING question renderer class. - * (originally based on the TRUE-FALSE renderer) + * Ordering question renderer class. * - * @package qtype - * @subpackage ordering + * @package qtype_ordering * @copyright 2013 Gordon Bateson (gordonbateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -28,7 +26,7 @@ defined('MOODLE_INTERNAL') || die(); /** - * Generates the output for ORDERING questions + * Generates the output for ordering questions * * @copyright 2013 Gordon Bateson * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later diff --git a/question/type/ordering/settings.php b/question/type/ordering/settings.php index 6753061a9ae..f4327bb15d9 100644 --- a/question/type/ordering/settings.php +++ b/question/type/ordering/settings.php @@ -15,10 +15,9 @@ // along with Moodle. If not, see . /** - * ORDERING question settings page. + * Ordering question settings page. * - * @package qtype - * @subpackage ordering + * @package qtype_ordering * @copyright 2016 Vadim Dvorovenko * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ diff --git a/question/type/ordering/version.php b/question/type/ordering/version.php index 7a8b660c105..3658754ecad 100644 --- a/question/type/ordering/version.php +++ b/question/type/ordering/version.php @@ -15,11 +15,10 @@ // along with Moodle. If not, see . /** - * Version information for the ORDERING question type + * Version information for the ordering question type * - * @package qtype - * @subpackage ordering - * @copyright 2010 Thomas Robb + * @package qtype_ordering + * @copyright 2013 Gordon Bateson (gordonbateson@gmail.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */