From 8fd5758358988c0cc6e1a5d315e49ea9ea6c97a2 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 21 May 2009 12:20:40 +0000 Subject: [PATCH] MDL-19235 fixed editor license headers and more info --- lib/editor/textarea/lib.php | 24 ++++++++++ lib/editor/textarea/version.php | 47 ++++++++++--------- lib/editor/tinymce/extra/strings.php | 45 +++++++++--------- lib/editor/tinymce/extra/tinymce.js.php | 45 +++++++++--------- .../tinymce/extra/tools/update_lang_files.php | 45 +++++++++--------- lib/editor/tinymce/lib.php | 45 +++++++++--------- lib/editor/tinymce/version.php | 47 ++++++++++--------- lib/editorlib.php | 45 +++++++++--------- 8 files changed, 187 insertions(+), 156 deletions(-) diff --git a/lib/editor/textarea/lib.php b/lib/editor/textarea/lib.php index 2a12f73abb..82552ff102 100644 --- a/lib/editor/textarea/lib.php +++ b/lib/editor/textarea/lib.php @@ -1,5 +1,29 @@ . + +/** + * Failsafe textare editor support. + * + * @package moodlecore + * @subpackage editor + * @copyright 2009 Petr Skoda (http://skodak.org) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + class textarea_texteditor extends texteditor { public function supported_by_browser() { return true; diff --git a/lib/editor/textarea/version.php b/lib/editor/textarea/version.php index c87b6fda0c..5f844d61cd 100644 --- a/lib/editor/textarea/version.php +++ b/lib/editor/textarea/version.php @@ -1,27 +1,28 @@ -. + +/** + * Failsafe textare editor support version file. + * + * @package moodlecore + * @subpackage editor + * @copyright 2009 Petr Skoda (http://skodak.org) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ $plugin->version = 2009051400; $plugin->requires = 2009051200; diff --git a/lib/editor/tinymce/extra/strings.php b/lib/editor/tinymce/extra/strings.php index 7750430467..17a4d5fa1a 100644 --- a/lib/editor/tinymce/extra/strings.php +++ b/lib/editor/tinymce/extra/strings.php @@ -1,27 +1,28 @@ . + +/** + * On-the-fly conversion of Moodle lang strings to TinyMCE expected JS format. + * + * @package moodlecore + * @subpackage editor + * @copyright 2009 Petr Skoda (http://skodak.org) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ define('NO_MOODLE_COOKIES', true); define('NO_UPGRADE_CHECK', true); diff --git a/lib/editor/tinymce/extra/tinymce.js.php b/lib/editor/tinymce/extra/tinymce.js.php index 5278459f7e..231cac4a20 100644 --- a/lib/editor/tinymce/extra/tinymce.js.php +++ b/lib/editor/tinymce/extra/tinymce.js.php @@ -1,27 +1,28 @@ . + +/** + * On-the-fly conversion of Moodle lang strings to TinyMCE expected JS format. + * + * @package moodlecore + * @subpackage editor + * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ define('NO_MOODLE_COOKIES', true); define('NO_UPGRADE_CHECK', true); diff --git a/lib/editor/tinymce/extra/tools/update_lang_files.php b/lib/editor/tinymce/extra/tools/update_lang_files.php index b207eb3213..e3e1256e50 100644 --- a/lib/editor/tinymce/extra/tools/update_lang_files.php +++ b/lib/editor/tinymce/extra/tools/update_lang_files.php @@ -1,27 +1,28 @@ . + +/** + * This script imports TinyMCE lang strings into Moodle lang packs. + * + * @package moodlecore + * @subpackage editor + * @copyright 2009 Petr Skoda (http://skodak.org) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ if (isset($_SERVER['REMOTE_ADDR'])) { // this script is accessed only via command line die; diff --git a/lib/editor/tinymce/lib.php b/lib/editor/tinymce/lib.php index b915313062..fbeec676cc 100644 --- a/lib/editor/tinymce/lib.php +++ b/lib/editor/tinymce/lib.php @@ -1,27 +1,28 @@ . + +/** + * TinyMCE text editor integration. + * + * @package moodlecore + * @subpackage editor + * @copyright 2009 Petr Skoda (http://skodak.org) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ class tinymce_texteditor extends texteditor { public function supported_by_browser() { diff --git a/lib/editor/tinymce/version.php b/lib/editor/tinymce/version.php index 2d77cbacae..f9bb0f25cf 100644 --- a/lib/editor/tinymce/version.php +++ b/lib/editor/tinymce/version.php @@ -1,27 +1,28 @@ -. + +/** + * TinyMCE text editor integration version file. + * + * @package moodlecore + * @subpackage editor + * @copyright 2009 Petr Skoda (http://skodak.org) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ $plugin->version = 2009051600; $plugin->requires = 2009051200; diff --git a/lib/editorlib.php b/lib/editorlib.php index 6ccb51ea7d..b78cd42744 100644 --- a/lib/editorlib.php +++ b/lib/editorlib.php @@ -1,27 +1,28 @@ . + +/** + * Utility classes and functions for text editor integration. + * + * @package moodlecore + * @subpackage editor + * @copyright 2009 Petr Skoda (http://skodak.org) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ /** * Returns users preferred editor for given format -- 2.39.5