Index: typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (révision 10454)
+++ typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
@@ -4015,131 +4015,36 @@
}
}
};
-
/**
- * 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 @@
} 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,11 +4081,23 @@
*
* @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
*
* @param object pluginInformation:
@@ -4183,7 +4111,7 @@
*
* @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: typo3/sysext/rtehtmlarea/htmlarea/plugins/AboutEditor/about-editor.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/AboutEditor/about-editor.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/AboutEditor/about-editor.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2008-2010 Stanislas Rolland
+* (c) 2008-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -31,10 +31,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.0',
+ version : '2.1',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/Acronym/acronym.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/Acronym/acronym.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/Acronym/acronym.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2005-2010 Stanislas Rolland
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,10 +29,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.3',
+ version : '2.4',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2007-2010 Stanislas Rolland
+* (c) 2007-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,17 +29,11 @@
*
* 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 @@
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: typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockStyle/block-style.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockStyle/block-style.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockStyle/block-style.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2007-2010 Stanislas Rolland
+* (c) 2007-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -31,10 +31,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.0',
+ version : '2.1',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/CharacterMap/character-map.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/CharacterMap/character-map.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/CharacterMap/character-map.js (copie de travail)
@@ -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
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -33,10 +33,7 @@
*
* 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 @@
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/ContextMenu/context-menu.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/ContextMenu/context-menu.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/ContextMenu/context-menu.js (copie de travail)
@@ -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
+* Copyright (c) 2004-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -32,10 +32,7 @@
*
* 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 @@
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/copy-paste.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/copy-paste.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/copy-paste.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2008-2010 Stanislas Rolland
+* (c) 2008-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,10 +29,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.2',
+ version : '2.3',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultClean/default-clean.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultClean/default-clean.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultClean/default-clean.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2008-2010 Stanislas Rolland
+* (c) 2008-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -28,10 +28,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.0',
+ version : '2.1',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultImage/default-image.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultImage/default-image.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultImage/default-image.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2008-2010 Stanislas Rolland
+* (c) 2008-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -31,10 +31,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.1',
+ version : '2.2',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultInline/default-inline.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultInline/default-inline.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultInline/default-inline.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2007-2010 Stanislas Rolland
+* (c) 2007-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,28 +29,22 @@
*
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultLink/default-link.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultLink/default-link.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultLink/default-link.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2008-2010 Stanislas Rolland
+* (c) 2008-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -31,10 +31,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.1',
+ version : '2.2',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/DefinitionList/definition-list.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/DefinitionList/definition-list.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/DefinitionList/definition-list.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2008-2010 Stanislas Rolland
+* (c) 2008-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,17 +29,11 @@
*
* 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 @@
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 @@
*
* @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 @@
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 @@
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 @@
&& !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 @@
} else {
switch (button.itemId) {
case 'Outdent':
- this.base(button, mode, selectionEmpty, ancestors);
+ HTMLArea.DefinitionList.superclass.onUpdateToolbar.call(this, button, mode, selectionEmpty, ancestors);
break;
}
}
}
}
});
-
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/EditElement/edit-element.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/EditElement/edit-element.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/EditElement/edit-element.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2010 Stanislas Rolland
+* (c) 2010-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,10 +29,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '1.0',
+ version : '1.1',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/EditorMode/editor-mode.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/EditorMode/editor-mode.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/EditorMode/editor-mode.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2009-2010 Stanislas Rolland
+* (c) 2009-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,25 +29,22 @@
*
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/FindReplace/find-replace.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/FindReplace/find-replace.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/FindReplace/find-replace.js (copie de travail)
@@ -2,7 +2,7 @@
* Copyright notice
*
* (c) 2004 Cau guanabara
-* (c) 2005-2010 Stanislas Rolland
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -32,10 +32,7 @@
*
* 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 @@
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/inline-elements.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/inline-elements.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/inline-elements.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2007-2010 Stanislas Rolland
+* (c) 2007-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -32,19 +32,11 @@
/*
* Creation of the class of InlineElements plugins
*/
-HTMLArea.InlineElements = HTMLArea.Plugin.extend({
+HTMLArea.InlineElements = Ext.extend(HTMLArea.Plugin, {
/*
- * Let the base class do some initialization work
- */
- constructor : function(editor, pluginName) {
- this.base(editor, pluginName);
- },
-
- /*
* 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 @@
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: typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js (copie de travail)
@@ -2,7 +2,7 @@
* Copyright notice
*
* (c) 2004 Ki Master George
-* (c) 2005-2010 Stanislas Rolland
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -33,10 +33,7 @@
* 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 @@
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2008-2010 Stanislas Rolland
+* (c) 2008-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,17 +29,11 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.0',
+ version : '2.1',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/PlainText/plain-text.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/PlainText/plain-text.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/PlainText/plain-text.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2010 Stanislas Rolland
+* (c) 2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,10 +29,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '1.0',
+ version : '1.1',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/QuickTag/quick-tag.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/QuickTag/quick-tag.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/QuickTag/quick-tag.js (copie de travail)
@@ -2,7 +2,7 @@
* Copyright notice
*
* (c) 2004 Cau guanabara
-* (c) 2005-2010 Stanislas Rolland
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -32,10 +32,7 @@
*
* 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 @@
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/RemoveFormat/remove-format.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/RemoveFormat/remove-format.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/RemoveFormat/remove-format.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2005-2010 Stanislas Rolland
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,10 +29,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.1',
+ version : '2.2',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectFont/select-font.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectFont/select-font.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectFont/select-font.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2008-2010 Stanislas Rolland
+* (c) 2008-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,10 +29,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.0',
+ version : '2.1',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-checker.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-checker.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-checker.js (copie de travail)
@@ -2,7 +2,7 @@
* Copyright notice
*
* (c) 2003 dynarch.com. Authored by Mihai Bazon, sponsored by www.americanbible.org.
-* (c) 2004-2010 Stanislas Rolland
+* (c) 2004-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -32,10 +32,7 @@
*
* 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 @@
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js (copie de travail)
@@ -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
+* (c) 2004-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -33,16 +33,11 @@
*
* 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 @@
}
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: typo3/sysext/rtehtmlarea/htmlarea/plugins/TextIndicator/text-indicator.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/TextIndicator/text-indicator.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/TextIndicator/text-indicator.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2010 Stanislas Rolland
+* (c) 2010-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,12 +29,7 @@
*
* 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 @@
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/TextStyle/text-style.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/TextStyle/text-style.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/TextStyle/text-style.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2007-2010 Stanislas Rolland
+* (c) 2007-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -32,14 +32,8 @@
/*
* Creation of the class of TextStyle plugins
*/
-HTMLArea.TextStyle = HTMLArea.Plugin.extend({
+HTMLArea.TextStyle = Ext.extend(HTMLArea.Plugin, {
/*
- * Let the base class do some initialization work
- */
- constructor: function (editor, pluginName) {
- this.base(editor, pluginName);
- },
- /*
* This function gets called by the class constructor
*/
configurePlugin: function (editor) {
@@ -88,7 +82,7 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.1',
+ version : '2.2',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2004-2010 Stanislas Rolland
+* (c) 2004-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,10 +29,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '4.1',
+ version : '4.2',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3HtmlParser/typo3html-parser.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3HtmlParser/typo3html-parser.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3HtmlParser/typo3html-parser.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2005-2010 Stanislas Rolland
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -28,21 +28,18 @@
*
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Image/typo3image.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Image/typo3image.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Image/typo3image.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2005-2010 Stanislas Rolland
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,21 +29,18 @@
*
* 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: typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2005-2010 Stanislas Rolland
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -29,14 +29,11 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.1',
+ version : '2.2',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca/',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/UndoRedo/undo-redo.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/UndoRedo/undo-redo.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/UndoRedo/undo-redo.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2008-2010 Stanislas Rolland
+* (c) 2008-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -31,10 +31,7 @@
*
* 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 @@
* Registering plugin "About" information
*/
var pluginInformation = {
- version : '2.0',
+ version : '2.1',
developer : 'Stanislas Rolland',
developerUrl : 'http://www.sjbr.ca',
copyrightOwner : 'Stanislas Rolland',
Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/UserElements/user-elements.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/UserElements/user-elements.js (révision 10453)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/UserElements/user-elements.js (copie de travail)
@@ -1,7 +1,7 @@
/***************************************************************
* Copyright notice
*
-* (c) 2005-2010 Stanislas Rolland
+* (c) 2005-2011 Stanislas Rolland
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -28,21 +28,18 @@
*
* 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',