MDL-79863 qtype_ordering: copyrights fix

This commit is contained in:
Vadim Dvorovenko
2024-04-04 10:59:23 +08:00
committed by Mathew May
parent c60561cd4e
commit e4ae90fbfb
13 changed files with 54 additions and 73 deletions
@@ -15,16 +15,20 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* @package qtype
* @subpackage ordering
* @copyright 2011 David Mudrak <[email protected]>
* Ordering question type conversion handler
*
* @package qtype_ordering
* @copyright 2013 Gordon Bateson ([email protected])
* @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 ([email protected])
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class moodle1_qtype_ordering_handler extends moodle1_qtype_handler {
@@ -15,9 +15,10 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* @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 ([email protected])
* @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 {
@@ -15,19 +15,19 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* @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 ([email protected])
* @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 {
+4 -3
View File
@@ -15,9 +15,10 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* @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 ([email protected])
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
@@ -15,11 +15,10 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* 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 ([email protected])
* @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 ([email protected])
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class qtype_ordering_edit_form extends question_edit_form {
+3 -17
View File
@@ -15,24 +15,10 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* 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 ([email protected])
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
@@ -15,12 +15,11 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* The language strings for the QTYPENAME question type.
* Ordering question type language srings
*
* @copyright &copy; 2006 YOURNAME
* @author YOUREMAILADDRESS
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package YOURPACKAGENAME
* @package qtype_ordering
* @copyright 2013 Gordon Bateson ([email protected])
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['pluginname'] = 'Ordering';
+3 -5
View File
@@ -15,12 +15,10 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Serve question type files
* Ordering question type general functions
*
* @since 2.0
* @package qtype
* @subpackage ordering
* @copyright Dongsheng Cai <[email protected]>
* @package qtype_ordering
* @copyright 2013 Gordon Bateson ([email protected])
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
+5 -6
View File
@@ -15,11 +15,10 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* ORDERING question definition classes.
* Ordering question definition classes.
*
* @package qtype
* @subpackage ordering
* @copyright 2009 The Open University
* @package qtype_ordering
* @copyright 2013 Gordon Bateson ([email protected])
* @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 ([email protected])
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class qtype_ordering_question extends question_graded_automatically {
+4 -5
View File
@@ -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 ([email protected])
* @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 {
+3 -5
View File
@@ -15,11 +15,9 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* 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 ([email protected])
* @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
+2 -3
View File
@@ -15,10 +15,9 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* 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
*/
+3 -4
View File
@@ -15,11 +15,10 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* 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 ([email protected])
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/