! Fixed issue #17561: htmlArea RTE: Delete class HTMLArea.Base
authorStanislas Rolland <typo3@sjbr.ca>
Sat, 12 Feb 2011 07:30:02 +0000 (07:30 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Sat, 12 Feb 2011 07:30:02 +0000 (07:30 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10455 709f56b5-9817-0410-a4d7-c38de5d9e867

36 files changed:
ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/doc/manual.sxw
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/AboutEditor/about-editor.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/Acronym/acronym.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockStyle/block-style.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/CharacterMap/character-map.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/ContextMenu/context-menu.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/copy-paste.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultClean/default-clean.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultImage/default-image.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultInline/default-inline.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultLink/default-link.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefinitionList/definition-list.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/EditElement/edit-element.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/EditorMode/editor-mode.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/FindReplace/find-replace.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/inline-elements.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/PlainText/plain-text.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/QuickTag/quick-tag.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/RemoveFormat/remove-format.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectFont/select-font.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-checker.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3HtmlParser/typo3html-parser.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Image/typo3image.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TextIndicator/text-indicator.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TextStyle/text-style.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/UndoRedo/undo-redo.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/UserElements/user-elements.js

index 3e37b3c..ae1e9c7 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
        * Fixed issue #17558: htmlArea RTE: Delete deprecated browser identification js variables
        * Fixed issue #17559: htmlArea RTE: Delete deprecated code/functions from main js script
        * Fixed issue #17560: htmlArea RTE: Any plugin must be inside HTMLArea namespace
+       * Fixed issue #17561: htmlArea RTE: Delete class HTMLArea.Base
 
 2011-02-11  Christian Kuhn  <lolli@schwarzbu.ch>
 
index c5d9c5f..3aff074 100644 (file)
@@ -7,6 +7,7 @@
        * Fixed issue #17558: htmlArea RTE: Delete deprecated browser identification js variables
        * Fixed issue #17559: htmlArea RTE: Delete deprecated code/functions from main js script
        * Fixed issue #17560: htmlArea RTE: Any plugin must be inside HTMLArea namespace
+       * Fixed issue #17561: htmlArea RTE: Delete class HTMLArea.Base
 
 2011-02-07  Stanislas Rolland  <typo3@sjbr.ca>
 
index 65a23a5..f706e8f 100644 (file)
Binary files a/typo3/sysext/rtehtmlarea/doc/manual.sxw and b/typo3/sysext/rtehtmlarea/doc/manual.sxw differ
index a1eeb23..33d25ac 100644 (file)
@@ -4015,131 +4015,36 @@ HTMLArea.initEditor = function(editorNumber) {
                }
        }
 };
-
-/**
- *     Base, version 1.0.2
- *     Copyright 2006, Dean Edwards
- *     License: http://creativecommons.org/licenses/LGPL/2.1/
- */
-
-HTMLArea.Base = function() {
-       if (arguments.length) {
-               if (this == window) { // cast an object to this class
-                       HTMLArea.Base.prototype.extend.call(arguments[0], arguments.callee.prototype);
-               } else {
-                       this.extend(arguments[0]);
-               }
-       }
-};
-
-HTMLArea.Base.version = "1.0.2";
-
-HTMLArea.Base.prototype = {
-       extend: function(source, value) {
-               var extend = HTMLArea.Base.prototype.extend;
-               if (arguments.length == 2) {
-                       var ancestor = this[source];
-                       // overriding?
-                       if ((ancestor instanceof Function) && (value instanceof Function) &&
-                               ancestor.valueOf() != value.valueOf() && /\bbase\b/.test(value)) {
-                               var method = value;
-                       //      var _prototype = this.constructor.prototype;
-                       //      var fromPrototype = !Base._prototyping && _prototype[source] == ancestor;
-                               value = function() {
-                                       var previous = this.base;
-                               //      this.base = fromPrototype ? _prototype[source] : ancestor;
-                                       this.base = ancestor;
-                                       var returnValue = method.apply(this, arguments);
-                                       this.base = previous;
-                                       return returnValue;
-                               };
-                               // point to the underlying method
-                               value.valueOf = function() {
-                                       return method;
-                               };
-                               value.toString = function() {
-                                       return String(method);
-                               };
-                       }
-                       return this[source] = value;
-               } else if (source) {
-                       var _prototype = {toSource: null};
-                       // do the "toString" and other methods manually
-                       var _protected = ["toString", "valueOf"];
-                       // if we are prototyping then include the constructor
-                       if (HTMLArea.Base._prototyping) _protected[2] = "constructor";
-                       for (var i = 0; (name = _protected[i]); i++) {
-                               if (source[name] != _prototype[name]) {
-                                       extend.call(this, name, source[name]);
-                               }
-                       }
-                       // copy each of the source object's properties to this object
-                       for (var name in source) {
-                               if (!_prototype[name]) {
-                                       extend.call(this, name, source[name]);
-                               }
-                       }
-               }
-               return this;
-       },
-
-       base: function() {
-               // call this method from any other method to invoke that method's ancestor
-       }
-};
-
-HTMLArea.Base.extend = function(_instance, _static) {
-       var extend = HTMLArea.Base.prototype.extend;
-       if (!_instance) _instance = {};
-       // build the prototype
-       HTMLArea.Base._prototyping = true;
-       var _prototype = new this;
-       extend.call(_prototype, _instance);
-       var constructor = _prototype.constructor;
-       _prototype.constructor = this;
-       delete HTMLArea.Base._prototyping;
-       // create the wrapper for the constructor function
-       var klass = function() {
-               if (!HTMLArea.Base._prototyping) constructor.apply(this, arguments);
-               this.constructor = klass;
-       };
-       klass.prototype = _prototype;
-       // build the class interface
-       klass.extend = this.extend;
-       klass.implement = this.implement;
-       klass.toString = function() {
-               return String(constructor);
-       };
-       extend.call(klass, _static);
-       // single instance
-       var object = constructor ? klass : _prototype;
-       // class initialisation
-       //if (object.init instanceof Function) object.init();
-       return object;
-};
-
-HTMLArea.Base.implement = function(_interface) {
-       if (_interface instanceof Function) _interface = _interface.prototype;
-       this.prototype.extend(_interface);
-};
-
 /**
  * HTMLArea.plugin class
  *
  * Every plugin should be a subclass of this class
  *
  */
-HTMLArea.Plugin = HTMLArea.Base.extend({
-
+HTMLArea.Plugin = function (editor, pluginName) {
+};
+/**
+ ***********************************************
+ * THIS FUNCTION IS DEPRECATED AS OF TYPO3 4.6 *
+ *********************************************** 
+ * Extends class HTMLArea.Plugin
+ *
+ * Defined for backward compatibility only
+ * Use Ext.extend(SubClassName, config) directly
+ */
+HTMLArea.Plugin.extend = function (config) {
+       return Ext.extend(HTMLArea.Plugin, config);
+};
+HTMLArea.Plugin = Ext.extend(HTMLArea.Plugin, {
        /**
-        * HTMLArea.plugin constructor
+        * HTMLArea.Plugin constructor
         *
         * @param       object          editor: instance of RTE
         * @param       string          pluginName: name of the plugin
         *
         * @return      boolean         true if the plugin was configured
         */
-       constructor : function(editor, pluginName) {
+       constructor: function (editor, pluginName) {
                this.editor = editor;
                this.editorNumber = editor.editorId;
                this.editorId = editor.editorId;
@@ -4150,9 +4055,20 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                } catch(e) {
                        this.I18N = new Object();
                }
-               return this.configurePlugin(editor);
+               this.configurePlugin(editor);
+               /**
+                ***********************************************
+                * THIS FUNCTION IS DEPRECATED AS OF TYPO3 4.6 *
+                *********************************************** 
+                * Extends class HTMLArea[pluginName]
+                *
+                * Defined for backward compatibility only
+                * Use Ext.extend(SubClassName, config) directly
+                */
+               HTMLArea[pluginName].extend = function (config) {
+                       return Ext.extend(HTMLArea[pluginName], config);
+               };
        },
-
        /**
         * Configures the plugin
         * This function is invoked by the class constructor.
@@ -4165,10 +4081,22 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
         *
         * @return      boolean         true if the plugin was configured
         */
-       configurePlugin : function(editor) {
+       configurePlugin: function (editor) {
                return false;
        },
-
+       /**
+        ***********************************************
+        * THIS FUNCTION IS DEPRECATED AS OF TYPO3 4.6 *
+        *********************************************** 
+        * Invove the base class constructor
+        *
+        * Defined for backward compatibility only
+        * Note: this.base will exclusively refer to the HTMLArea.Plugin class constructor
+        */
+       base: function (editor, pluginName) {
+               HTMLArea.appendToLog(editor.editorId, 'HTMLArea.' + pluginName, 'base', 'Deprecated use of base function. Use Ext superclass reference instead.');
+               HTMLArea.Plugin.prototype.constructor.call(this, editor, pluginName);
+       },
        /**
         * Registers the plugin "About" information
         *
@@ -4183,7 +4111,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
         *
         * @return      boolean         true if the information was registered
         */
-       registerPluginInformation : function(pluginInformation) {
+       registerPluginInformation: function(pluginInformation) {
                if (typeof(pluginInformation) !== "object") {
                        this.appendToLog("registerPluginInformation", "Plugin information was not provided");
                        return false;
index f3a642b..098be19 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.AboutEditor = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.AboutEditor = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -43,7 +40,7 @@ HTMLArea.AboutEditor = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index 4f70cc2..6f1d8f7 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.Acronym = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.Acronym = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -42,7 +39,7 @@ HTMLArea.Acronym = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.3',
+                       version         : '2.4',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index a5f8b30..1f09105 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.BlockElements = HTMLArea.Plugin.extend({
-               
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
-       
+HTMLArea.BlockElements = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin : function (editor) {
-               
+       configurePlugin: function (editor) {
                /*
                 * Setting up some properties from PageTSConfig
                 */
@@ -101,12 +95,11 @@ HTMLArea.BlockElements = HTMLArea.Plugin.extend({
                                this.formatBlockItems[tagName].classList = new RegExp( "^(" + this.formatBlockItems[tagName].classList.join("|") + ")$");
                        }
                }
-               
                /*
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '1.5',
+                       version         : '2.0',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index 86a9181..e6fd66d 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-* (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+* (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.BlockStyle = HTMLArea.Plugin.extend({
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.BlockStyle = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -90,7 +87,7 @@ HTMLArea.BlockStyle = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index faad655..d31e880 100644 (file)
@@ -3,7 +3,7 @@
 *
 *  (c) 2004 Bernhard Pfeifer novocaine@gmx.net
 *  (c) 2004 systemconcept.de. Authored by Holger Hees based on HTMLArea XTD 1.5 (http://mosforge.net/projects/htmlarea3xtd/).
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.CharacterMap = HTMLArea.Plugin.extend({
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.CharacterMap = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -45,7 +42,7 @@ HTMLArea.CharacterMap = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Holger Hees, Bernhard Pfeifer, Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Holger Hees, Bernhard Pfeifer, Stanislas Rolland',
index 946b800..fc9e18c 100644 (file)
@@ -2,7 +2,7 @@
 *  Copyright notice
 *
 *  Copyright (c) 2003 dynarch.com. Authored by Mihai Bazon. Sponsored by www.americanbible.org.
-*  Copyright (c) 2004-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  Copyright (c) 2004-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.ContextMenu = HTMLArea.Plugin.extend({
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.ContextMenu = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -54,7 +51,7 @@ HTMLArea.ContextMenu = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '3.1',
+                       version         : '3.2',
                        developer       : 'Mihai Bazon & Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'dynarch.com & Stanislas Rolland',
index a62cd06..39cc067 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.CopyPaste = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.CopyPaste = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -45,7 +42,7 @@ HTMLArea.CopyPaste = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.2',
+                       version         : '2.3',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index a6c1c52..0bb39e2 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.DefaultClean = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.DefaultClean = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -41,7 +38,7 @@ HTMLArea.DefaultClean = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index 0db98f1..6fd5483 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.DefaultImage = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.DefaultImage = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -68,7 +65,7 @@ HTMLArea.DefaultImage = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.1',
+                       version         : '2.2',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index eacc7cc..af4ee71 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.DefaultInline = HTMLArea.Plugin.extend({
-               
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
-       
+HTMLArea.DefaultInline = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin : function (editor) {
-               
+       configurePlugin: function (editor) {
                /*
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : "1.1",
-                       developer       : "Stanislas Rolland",
-                       developerUrl    : "http://www.fructifor.ca/",
-                       copyrightOwner  : "Stanislas Rolland",
-                       sponsor         : "Fructifor Inc.",
-                       sponsorUrl      : "http://www.fructifor.ca/",
-                       license         : "GPL"
+                       version         : '1.2',
+                       developer       : 'Stanislas Rolland',
+                       developerUrl    : 'http://www.sjbr.ca/',
+                       copyrightOwner  : 'Stanislas Rolland',
+                       sponsor         : 'SJBR',
+                       sponsorUrl      : 'http://www.sjbr.ca/',
+                       license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
                /*
index f81d71e..98bdaec 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.DefaultLink = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.DefaultLink = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -47,7 +44,7 @@ HTMLArea.DefaultLink = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.1',
+                       version         : '2.2',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index eb14a74..6bd1c0f 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.DefinitionList = HTMLArea.BlockElements.extend({
-               
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
-       
+HTMLArea.DefinitionList = Ext.extend(HTMLArea.BlockElements, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin : function (editor) {
-               
+       configurePlugin: function (editor) {
                /*
                 * Setting up some properties from PageTSConfig
                 */
@@ -53,18 +47,17 @@ HTMLArea.DefinitionList = HTMLArea.BlockElements.extend({
                this.indentedList = null;
                this.standardBlockElements = parentPlugin.standardBlockElements;
                this.formatBlockItems = parentPlugin.formatBlockItems;
-               
                /*
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : "1.0",
-                       developer       : "Stanislas Rolland",
-                       developerUrl    : "http://www.sjbr.ca/",
-                       copyrightOwner  : "Stanislas Rolland",
-                       sponsor         : this.localize("Technische Universitat Ilmenau"),
-                       sponsorUrl      : "http://www.tu-ilmenau.de/",
-                       license         : "GPL"
+                       version         : '1.1',
+                       developer       : 'Stanislas Rolland',
+                       developerUrl    : 'http://www.sjbr.ca/',
+                       copyrightOwner  : 'Stanislas Rolland',
+                       sponsor         : this.localize('Technische Universitat Ilmenau'),
+                       sponsorUrl      : 'http://www.tu-ilmenau.de/',
+                       license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
                /*
@@ -111,7 +104,7 @@ HTMLArea.DefinitionList = HTMLArea.BlockElements.extend({
         *
         * @return      boolean         false if action is completed
         */
-       onButtonPress : function (editor, id, target, className) {
+       onButtonPress: function (editor, id, target, className) {
                        // Could be a button or its hotkey
                var buttonId = this.translateHotKey(id);
                buttonId = buttonId ? buttonId : id;
@@ -132,14 +125,14 @@ HTMLArea.DefinitionList = HTMLArea.BlockElements.extend({
                                if (/^(dd|dt)$/i.test(parentElement.nodeName) && this.indentDefinitionList(parentElement, range)) {
                                        break;
                                } else {
-                                       this.base(editor, id, target, className);
+                                       HTMLArea.DefinitionList.superclass.onButtonPress.call(this, editor, id, target, className);
                                }
                                break;
                        case "Outdent" :
                                if (/^(dt)$/i.test(parentElement.nodeName) && this.outdentDefinitionList(selection, range)) {
                                        break;
                                } else {
-                                       this.base(editor, id, target, className);
+                                       HTMLArea.DefinitionList.superclass.onButtonPress.call(this, editor, id, target, className);
                                }
                                break;
                        case "DefinitionList":
@@ -153,7 +146,7 @@ HTMLArea.DefinitionList = HTMLArea.BlockElements.extend({
                                this.editor.selectRange(this.editor.moveToBookmark(bookmark));
                                break;
                        default:
-                               this.base(editor, id, target, className);
+                               HTMLArea.DefinitionList.superclass.onButtonPress.call(this, editor, id, target, className);
                }
                return false;
        },
@@ -329,7 +322,7 @@ HTMLArea.DefinitionList = HTMLArea.BlockElements.extend({
                                                                && !endBlocks.end.nextSibling) {
                                                        button.setDisabled(false);
                                                } else {
-                                                       this.base(button, mode, selectionEmpty, ancestors);
+                                                       HTMLArea.DefinitionList.superclass.onUpdateToolbar.call(this, button, mode, selectionEmpty, ancestors);
                                                }
                                                break;
                                        case 'DefinitionList':
@@ -340,11 +333,10 @@ HTMLArea.DefinitionList = HTMLArea.BlockElements.extend({
                        } else {
                                switch (button.itemId) {
                                        case 'Outdent':
-                                               this.base(button, mode, selectionEmpty, ancestors);
+                                               HTMLArea.DefinitionList.superclass.onUpdateToolbar.call(this, button, mode, selectionEmpty, ancestors);
                                                break;
                                }
                        }
                }
        }
 });
-
index 5d33533..c7343bd 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2010-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id: acronym.js 8087 2010-07-04 20:18:10Z stan $
  */
-HTMLArea.EditElement = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.EditElement = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -45,7 +42,7 @@ HTMLArea.EditElement = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '1.0',
+                       version         : '1.1',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index 71a51ad..91ca1cc 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2009-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2009-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.EditorMode = HTMLArea.Plugin.extend({
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.EditorMode = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin : function (editor) {
+       configurePlugin: function (editor) {
                /*
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : "2.0",
-                       developer       : "Stanislas Rolland",
-                       developerUrl    : "http://www.sjbr.ca/",
-                       copyrightOwner  : "Stanislas Rolland",
-                       sponsor         : "SJBR",
-                       sponsorUrl      : "http://www.sjbr.ca/",
-                       license         : "GPL"
+                       version         : '2.1',
+                       developer       : 'Stanislas Rolland',
+                       developerUrl    : 'http://www.sjbr.ca/',
+                       copyrightOwner  : 'Stanislas Rolland',
+                       sponsor         : 'SJBR',
+                       sponsorUrl      : 'http://www.sjbr.ca/',
+                       license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
                /*
index 00a9c06..832faa8 100644 (file)
@@ -2,7 +2,7 @@
 *  Copyright notice
 *
 *  (c) 2004 Cau guanabara <caugb@ibest.com.br>
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.FindReplace = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.FindReplace = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -44,7 +41,7 @@ HTMLArea.FindReplace = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Cau Guanabara & Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca',
                        copyrightOwner  : 'Cau Guanabara & Stanislas Rolland',
index 519a844..b3037b8 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
 /*
  * Creation of the class of InlineElements plugins
  */
-HTMLArea.InlineElements = HTMLArea.Plugin.extend({
-       /*
-        * Let the base class do some initialization work
-        */
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
-       
+HTMLArea.InlineElements = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the base constructor
         */
-       configurePlugin : function (editor) {
-
+       configurePlugin: function (editor) {
                        // Setting the array of allowed attributes on inline elements
                if (this.editor.plugins.TextStyle && this.editor.plugins.TextStyle.instance) {
                        this.allowedAttributes = this.editor.plugins.TextStyle.instance.allowedAttributes;
@@ -58,18 +50,17 @@ HTMLArea.InlineElements = HTMLArea.Plugin.extend({
                if (this.editorConfiguration.buttons.textstyle) {
                        this.tags = this.editorConfiguration.buttons.textstyle.tags;
                }
-               
                /*
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : "2.0",
-                       developer       : "Stanislas Rolland",
-                       developerUrl    : "http://www.sjbr.ca/",
-                       copyrightOwner  : "Stanislas Rolland",
-                       sponsor         : this.localize("Technische Universitat Ilmenau"),
-                       sponsorUrl      : "http://www.tu-ilmenau.de/",
-                       license         : "GPL"
+                       version         : '2.1',
+                       developer       : 'Stanislas Rolland',
+                       developerUrl    : 'http://www.sjbr.ca/',
+                       copyrightOwner  : 'Stanislas Rolland',
+                       sponsor         : this.localize('Technische Universitat Ilmenau'),
+                       sponsorUrl      : 'http://www.tu-ilmenau.de/',
+                       license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
                
index 765b1ef..f4ecf5c 100644 (file)
@@ -2,7 +2,7 @@
 *  Copyright notice
 *
 *  (c) 2004 Ki Master George <kimastergeorge@gmail.com>
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  * TYPO3 SVN ID: $Id$
  */
 
-HTMLArea.InsertSmiley = HTMLArea.Plugin.extend({
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.InsertSmiley = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -65,7 +62,7 @@ HTMLArea.InsertSmiley = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Ki Master George & Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Ki Master George & Stanislas Rolland',
index b9dc442..43211b5 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.Language = HTMLArea.Plugin.extend({
-
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
-
+HTMLArea.Language = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin : function (editor) {
-
+       configurePlugin: function (editor) {
                /*
                 * Setting up some properties from PageTSConfig
                 */
@@ -71,7 +65,7 @@ HTMLArea.Language = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index c46fae2..4c740ad 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id: plain-text.js 8945 2010-10-04 03:00:03Z stan $
  */
-HTMLArea.PlainText = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.PlainText = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -42,7 +39,7 @@ HTMLArea.PlainText = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '1.0',
+                       version         : '1.1',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index 489b073..43b785e 100644 (file)
@@ -2,7 +2,7 @@
 *  Copyright notice
 *
 *  (c) 2004 Cau guanabara <caugb@ibest.com.br>
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.QuickTag = HTMLArea.Plugin.extend({
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.QuickTag = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -49,7 +46,7 @@ HTMLArea.QuickTag = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.1',
+                       version         : '2.2',
                        developer       : 'Cau Guanabara & Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca',
                        copyrightOwner  : 'Cau Guanabara & Stanislas Rolland',
index 9c5f2f9..0b609ce 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.RemoveFormat = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.RemoveFormat = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -41,7 +38,7 @@ HTMLArea.RemoveFormat = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.1',
+                       version         : '2.2',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index 85585c0..4171185 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.SelectFont = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.SelectFont = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -63,7 +60,7 @@ HTMLArea.SelectFont = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index 5d14826..25eb5f4 100644 (file)
@@ -2,7 +2,7 @@
 *  Copyright notice
 *
 *  (c) 2003 dynarch.com. Authored by Mihai Bazon, sponsored by www.americanbible.org.
-*  (c) 2004-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2004-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.SpellChecker = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.SpellChecker = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -53,7 +50,7 @@ HTMLArea.SpellChecker = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '3.0',
+                       version         : '3.1',
                        developer       : 'Mihai Bazon & Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Mihai Bazon & Stanislas Rolland',
index 0d6aa9b..9e331f4 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2004-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.TYPO3Color = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.TYPO3Color = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -64,7 +61,7 @@ HTMLArea.TYPO3Color = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '4.1',
+                       version         : '4.2',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index 4cf2492..c474a62 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.TYPO3HtmlParser = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.TYPO3HtmlParser = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin: function(editor) {
+       configurePlugin: function (editor) {
                this.pageTSConfiguration = this.editorConfiguration.buttons.cleanword;
                this.parseHtmlModulePath = this.pageTSConfiguration.pathParseHtmlModule;
                /*
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '1.8',
+                       version         : '1.9',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index c718e92..e8e643d 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.TYPO3Image = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.TYPO3Image = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin: function(editor) {
+       configurePlugin: function (editor) {
                this.pageTSConfiguration = this.editorConfiguration.buttons.image;
                this.imageModulePath = this.pageTSConfiguration.pathImageModule;
                /*
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.1',
+                       version         : '2.2',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index bdc4e13..24be9f4 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.TYPO3Link = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin: function(editor) {
+       configurePlugin: function (editor) {
                this.pageTSConfiguration = this.editorConfiguration.buttons.link;
                this.modulePath = this.pageTSConfiguration.pathLinkModule;
                this.classesAnchorUrl = this.pageTSConfiguration.classesAnchorUrl;
@@ -44,7 +41,7 @@ HTMLArea.TYPO3Link = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.1',
+                       version         : '2.2',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index d49b6b8..19c5a71 100644 (file)
@@ -3,7 +3,7 @@
 *
 *  (c) 2002 interactivetools.com, inc. Authored by Mihai Bazon, sponsored by http://www.bloki.com.
 *  (c) 2005 Xinha, http://xinha.gogo.co.nz/ for the original toggle borders function.
-*  (c) 2004-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2004-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.TableOperations = HTMLArea.Plugin.extend({
-               
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
-       
+HTMLArea.TableOperations = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin : function (editor) {
+       configurePlugin: function (editor) {
                
                this.classesUrl = this.editorConfiguration.classesUrl;
                this.buttonsConfiguration = this.editorConfiguration.buttons;
@@ -71,18 +66,17 @@ HTMLArea.TableOperations = HTMLArea.Plugin.extend({
                }
                this.tableParts = ["tfoot", "thead", "tbody"];
                this.convertAlignment = { "not set" : "none", "left" : "JustifyLeft", "center" : "JustifyCenter", "right" : "JustifyRight", "justify" : "JustifyFull" };
-               
                /*
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : "5.1",
-                       developer       : "Mihai Bazon & Stanislas Rolland",
-                       developerUrl    : "http://www.sjbr.ca/",
-                       copyrightOwner  : "Mihai Bazon & Stanislas Rolland",
-                       sponsor         : this.localize("Technische Universitat Ilmenau") + " & Zapatec Inc.",
-                       sponsorUrl      : "http://www.tu-ilmenau.de/",
-                       license         : "GPL"
+                       version         : '5.2',
+                       developer       : 'Mihai Bazon & Stanislas Rolland',
+                       developerUrl    : 'http://www.sjbr.ca/',
+                       copyrightOwner  : 'Mihai Bazon & Stanislas Rolland',
+                       sponsor         : this.localize('Technische Universitat Ilmenau') + ' & Zapatec Inc.',
+                       sponsorUrl      : 'http://www.tu-ilmenau.de/',
+                       license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
                /*
index 610d0d5..c247c9f 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2010-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id: text-indicator.js 6539 2009-11-25 14:49:14Z stucki $
  */
-HTMLArea.TextIndicator = HTMLArea.Plugin.extend({
-               
-       constructor : function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
-       
+HTMLArea.TextIndicator = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -43,13 +38,13 @@ HTMLArea.TextIndicator = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : "1.0",
-                       developer       : "Stanislas Rolland",
-                       developerUrl    : "http://www.sjbr.ca/",
-                       copyrightOwner  : "Stanislas Rolland",
-                       sponsor         : "SJBR",
-                       sponsorUrl      : "http://www.sjbr.ca/",
-                       license         : "GPL"
+                       version         : '1.1',
+                       developer       : 'Stanislas Rolland',
+                       developerUrl    : 'http://www.sjbr.ca/',
+                       copyrightOwner  : 'Stanislas Rolland',
+                       sponsor         : 'SJBR',
+                       sponsorUrl      : 'http://www.sjbr.ca/',
+                       license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
                
index 54c902b..5d402a9 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
 /*
  * Creation of the class of TextStyle plugins
  */
-HTMLArea.TextStyle = HTMLArea.Plugin.extend({
-       /*
-        * Let the base class do some initialization work
-        */
-       constructor: function (editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.TextStyle = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -88,7 +82,7 @@ HTMLArea.TextStyle = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.1',
+                       version         : '2.2',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',
index e7407bb..59a2ca5 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2008-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2008-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.UndoRedo = HTMLArea.Plugin.extend({
-       constructor: function (editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.UndoRedo = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
@@ -51,7 +48,7 @@ HTMLArea.UndoRedo = HTMLArea.Plugin.extend({
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca',
                        copyrightOwner  : 'Stanislas Rolland',
index 7a21a65..21b832e 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2005-2010 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  (c) 2005-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
  *
  * TYPO3 SVN ID: $Id$
  */
-HTMLArea.UserElements = HTMLArea.Plugin.extend({
-       constructor: function(editor, pluginName) {
-               this.base(editor, pluginName);
-       },
+HTMLArea.UserElements = Ext.extend(HTMLArea.Plugin, {
        /*
         * This function gets called by the class constructor
         */
-       configurePlugin: function(editor) {
+       configurePlugin: function (editor) {
                this.pageTSConfiguration = this.editorConfiguration.buttons.user;
                this.userModulePath = this.pageTSConfiguration.pathUserModule;
                /*
                 * Registering plugin "About" information
                 */
                var pluginInformation = {
-                       version         : '2.0',
+                       version         : '2.1',
                        developer       : 'Stanislas Rolland',
                        developerUrl    : 'http://www.sjbr.ca/',
                        copyrightOwner  : 'Stanislas Rolland',