Follow-up to rev. 5165: Updated copyright notices & fixed SVN properties
authorOliver Hader <oliver.hader@typo3.org>
Mon, 9 Mar 2009 23:46:55 +0000 (23:46 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 9 Mar 2009 23:46:55 +0000 (23:46 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5166 709f56b5-9817-0410-a4d7-c38de5d9e867

48 files changed:
typo3/js/backend.js
typo3/js/constantEditor.js
typo3/js/modulemenu.js
typo3/js/tabmenu.js
typo3/js/tree.js
typo3/mod/web/perm/class.sc_mod_web_perm_ajax.php
typo3/mod/web/perm/perm.js
typo3/sysext/cms/tslib/class.tslib_fecompression.php
typo3/sysext/rtehtmlarea/extensions/CharacterMap/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/DefaultColor/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/DefaultImage/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/DefinitionList/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/EditorMode/class.tx_rtehtmlarea_editormode.php
typo3/sysext/rtehtmlarea/extensions/EditorMode/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/Language/locallang.xml
typo3/sysext/rtehtmlarea/extensions/Language/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/QuickTag/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/StatusBar/class.tx_rtehtmlarea_statusbar.php
typo3/sysext/rtehtmlarea/extensions/TYPO3Color/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/TYPO3Image/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/TableOperations/skin/htmlarea.css
typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js
typo3/sysext/rtehtmlarea/htmlarea/htmlarea-ie.js
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/AboutEditor/about-editor.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/AboutEditor/popups/about.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockStyle/block-style.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/copy-paste.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultClean/default-clean.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultColor/default-color.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultColor/popups/select_color.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultFont/default-font.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultImage/default-image.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultImage/popups/insert_image.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultLink/popups/link.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefinitionList/definition-list.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/EditorMode/editor-mode.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/inline-elements.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/popups/insertsmiley.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectFont/select-font.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/StatusBar/status-bar.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Image/typo3image.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/UndoRedo/undo-redo.js
typo3/sysext/t3skin/stylesheets/stylesheet_post.css

index ac8623c..0783e1d 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007 - 2009 Ingo Renner <ingo@typo3.org>
+*  (c) 2007-2009 Ingo Renner <ingo@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 8b9daad..c5421bb 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007 - 2009 Steffen Kamper <info@sk-typo3.de>
+*  (c) 2007-2009 Steffen Kamper <info@sk-typo3.de>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 224d076..f886d0f 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007 - 2009 Ingo Renner <ingo@typo3.org>
+*  (c) 2007-2009 Ingo Renner <ingo@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 787e048..9aa83c8 100644 (file)
@@ -5,7 +5,7 @@
  *
  *  Copyright notice
  *
- *  (c) 2003-2009      Kasper Skaarhoj
+ *  (c) 2003-2009 Kasper Skaarhoj
  *  All rights reserved
  *
  *  This script is part of the TYPO3 t3lib/ library provided by
index 712c4a8..437988e 100644 (file)
@@ -6,7 +6,7 @@
 *
 *  Copyright notice
 *
-*  (c) 2006-2009       Benjamin Mack <www.xnos.org>
+*  (c) 2006-2009 Benjamin Mack <benni@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 t3lib/ library provided by
index 33fcf5b..227a1bb 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007 - 2009 mehrwert (typo3@mehrwert.de)
+*  (c) 2007-2009 mehrwert (typo3@mehrwert.de)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index bc7b6db..f1041cf 100644 (file)
@@ -5,8 +5,8 @@
 *
 *  Copyright notice
 *
-*  (c) 2007-2009       Andreas Beutel <typo3@mehrwert.de>
-*  (c) 2007-2009       Benjamin Mack <benni . typo3 . o)rg>
+*  (c) 2007-2009 Andreas Beutel <typo3@mehrwert.de>
+*  (c) 2007-2009 Benjamin Mack <benni@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index e8c3d97..31ff479 100644 (file)
@@ -28,7 +28,7 @@ require_once(PATH_t3lib . 'interfaces/interface.t3lib_singleton.php');
  * This class contains compression functions for the TYPO3 Frontend. It can be
  * used only in EXT:cms/tslib/index_ts.php
  *
- * $Id$
+ * $Id$
  *
  * @author     Dmitry Dulepov <dmitry@typo3.org>
  * @package    TYPO3
index 65aad48..638fc51 100644 (file)
@@ -1,4 +1,4 @@
 /* Selectors for the InsertCharacter plugin of htmlArea RTE */
-/* TYPO3 SVN ID: $Id$ */
+/* TYPO3 SVN ID: $Id$ */
 .htmlarea .toolbar .InsertCharacter {background-image:url("images/insertCharacter.gif");}
 
index f7e8f25..76da432 100644 (file)
@@ -1,4 +1,4 @@
 /* Selectors for the DefaultColor plugin of htmlArea RTE */
-/* TYPO3 SVN ID: $Id$ */
+/* TYPO3 SVN ID: $Id$ */
 .htmlarea .toolbar .ForeColor {background-image:url("images/forecolor.gif");}
 .htmlarea .toolbar .HiliteColor {background-image:url("images/hilitecolor.gif");}
index 6ac0002..1f3739b 100644 (file)
@@ -1,4 +1,4 @@
 /* Selectors for the Image plugin of htmlArea RTE */
-/* TYPO3 SVN ID: $Id:$ */
+/* TYPO3 SVN ID: $Id$ */
 .htmlarea .toolbar .Image {background-image:url("images/image.gif");}
 
index 048a0e8..fba5820 100644 (file)
@@ -1,4 +1,4 @@
-/* Selectors for the Definition List extension of htmlArea RTE */\r
-/* TYPO3 SVN ID: $Id htmlarea.css $ */\r
-.htmlarea .toolbar .DefinitionList, .htmlarea-context-menu .DefinitionList {background-image:url("images/definitionList.gif");}\r
-.htmlarea .toolbar .DefinitionItem, .htmlarea-context-menu .DefinitionItem {background-image:url("images/definitionItem.gif");}\r
+/* Selectors for the Definition List extension of htmlArea RTE */
+/* TYPO3 SVN ID: $Id htmlarea.css $ */
+.htmlarea .toolbar .DefinitionList, .htmlarea-context-menu .DefinitionList {background-image:url("images/definitionList.gif");}
+.htmlarea .toolbar .DefinitionItem, .htmlarea-context-menu .DefinitionItem {background-image:url("images/definitionItem.gif");}
index f86b9f7..cc0a0eb 100644 (file)
@@ -26,7 +26,7 @@
  *
  * @author Stanislas Rolland <typo3(arobas)sjbr.ca>
  *
- * TYPO3 SVN ID: $Id: class.tx_rtehtmlarea_editormode.php $
+ * TYPO3 SVN ID: $Id$
  *
  */
 
index a1f4b6e..0bb3733 100644 (file)
@@ -1,5 +1,5 @@
 /* Selectors for the EditorMode plugin of htmlArea RTE */
-/* TYPO3 SVN ID: $Id: htmlarea.css 2862 2008-01-05 19:32:58Z stanrolland $ */
+/* TYPO3 SVN ID: $Id$ */
 
 .htmlarea .toolbar .TextMode {
        background-image:url("images/ed_html.gif");
index 8934be8..bf350ed 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
-<!-- TYPO3 SVN ID: $Id: locallang.xml 3135 2008-02-08 16:08:16Z stan $ -->
+<!-- TYPO3 SVN ID: $Id$ -->
 <T3locallang>
        <meta type="array">
                <description>Labels for LanguageMarks extension of htmlArea RTE</description>
index cb62431..f36e4da 100644 (file)
@@ -1,5 +1,5 @@
 /* Selectors for the LanguageMarks plugin of htmlArea RTE */
-/* TYPO3 SVN ID: $Id: htmlarea.css 2862 2008-01-05 19:32:58Z stanrolland $ */
+/* TYPO3 SVN ID: $Id$ */
 
 .htmlarea .toolbar .LeftToRight {
        background-image:url("images/left_to_right.gif");
index 9904438..ed919fe 100644 (file)
@@ -1,3 +1,3 @@
 /* Selectors for the QuickTag plugin of htmlArea RTE */
-/* TYPO3 SVN ID: $Id: htmlarea.css $ */
+/* TYPO3 SVN ID: $Id$ */
 .htmlarea .toolbar .InsertTag {background-image:url("images/inserttag.gif");}
index 352d124..0bad114 100644 (file)
@@ -26,7 +26,7 @@
  *
  * @author Stanislas Rolland <typo3(arobas)sjbr.ca>
  *
- * TYPO3 SVN ID: $Id: class.tx_rtehtmlarea_editormode.php $
+ * TYPO3 SVN ID: $Id$
  *
  */
 
index 75e270b..f208ea4 100644 (file)
@@ -1,4 +1,4 @@
 /* Selectors for the TYPO3Color plugin of htmlArea RTE */
-/* TYPO3 SVN ID: $Id$ */
+/* TYPO3 SVN ID: $Id$ */
 .htmlarea .toolbar .ForeColor {background-image:url("images/forecolor.gif");}
 .htmlarea .toolbar .HiliteColor {background-image:url("images/hilitecolor.gif");}
index d398ff7..45f081e 100644 (file)
@@ -1,4 +1,4 @@
 /* Selectors for the TYPO3 Image plugin of htmlArea RTE */
-/* TYPO3 SVN ID: $Id:$ */
+/* TYPO3 SVN ID: $Id$ */
 .htmlarea .toolbar .Image {background-image:url("images/image.gif");}
 
index 43607d1..c3f0555 100644 (file)
@@ -1,5 +1,5 @@
 /* Selectors for the Table Operations extension of htmlArea RTE */
-/* TYPO3 SVN ID: $Id: htmlarea.css $ */
+/* TYPO3 SVN ID: $Id$ */
 .htmlarea .toolbar .InsertTable {background-image:url("images/insert_table.gif");}
 .htmlarea .toolbar .TO-toggle-borders, .htmlarea-context-menu .TO-toggle-borders {background-image:url("images/toggle-borders.gif");}
 .htmlarea .toolbar .TO-table-prop, .htmlarea-context-menu .TO-table-prop {background-image:url("images/table-prop.gif");}
index 7d07483..36fc3b7 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2002-2004, interactivetools.com, inc.
+*  (c) 2002-2004 interactivetools.com, inc.
 *  (c) 2003-2004 dynarch.com
 *  (c) 2004-2009 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
index da5204a..5d520ed 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2002-2004, interactivetools.com, inc.
+*  (c) 2002-2004 interactivetools.com, inc.
 *  (c) 2003-2004 dynarch.com
 *  (c) 2004-2009 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
index 026fa2b..462441e 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2002-2004, interactivetools.com, inc.
+*  (c) 2002-2004 interactivetools.com, inc.
 *  (c) 2003-2004 dynarch.com
 *  (c) 2004-2009 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
index 1449b98..8644827 100644 (file)
@@ -29,7 +29,7 @@
 /*
  * Character Map Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 AboutEditor = HTMLArea.Plugin.extend({
 
index b08c619..6041a1d 100644 (file)
@@ -6,7 +6,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2002-2004, interactivetools.com, inc.
+*  (c) 2002-2004 interactivetools.com, inc.
 *  (c) 2003-2004 dynarch.com
 *  (c) 2004-2008 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
index 92df320..456a1d2 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * BlockElements Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: block-elements.js $
+ * TYPO3 SVN ID: $Id$
  */
 BlockElements = HTMLArea.Plugin.extend({
                
index 95cf68c..f83c002 100644 (file)
@@ -29,7 +29,7 @@
 /*
  * Block Style Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: block-style.js $
+ * TYPO3 SVN ID: $Id$
  */
 BlockStyle = HTMLArea.Plugin.extend({
                
index b5df48e..f7f20c0 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * Copy Paste for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: copy-paste.js $
+ * TYPO3 SVN ID: $Id$
  */
 CopyPaste = HTMLArea.Plugin.extend({
                
index e12747e..e9fa2a2 100644 (file)
@@ -26,7 +26,7 @@
 /**
  * Default Clean Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: default-clean.js 2663 2007-11-05 09:22:23Z ingmars $
+ * TYPO3 SVN ID: $Id$
  */
 DefaultClean = HTMLArea.Plugin.extend({
        
index a83266c..29e943d 100644 (file)
@@ -29,7 +29,7 @@
 /*
  * Default Color Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 DefaultColor = HTMLArea.Plugin.extend({
        
index f8980b8..cad1053 100644 (file)
@@ -6,7 +6,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2002-2004, interactivetools.com, inc.
+*  (c) 2002-2004 interactivetools.com, inc.
 *  (c) 2003-2004 dynarch.com
 *  (c) 2004-2008 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
index 58f9a08..140e0ab 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * Default Font Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: default-font.js  $
+ * TYPO3 SVN ID: $Id$
  */
 DefaultFont = HTMLArea.Plugin.extend({
                
index 2860690..8c7ebee 100644 (file)
@@ -29,7 +29,7 @@
 /*
  * Image Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id:$
+ * TYPO3 SVN ID: $Id$
  */
 DefaultImage = HTMLArea.Plugin.extend({
        
index ab5b01f..7b478d3 100644 (file)
@@ -5,7 +5,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2002-2004, interactivetools.com, inc.
+*  (c) 2002-2004 interactivetools.com, inc.
 *  (c) 2003-2004 dynarch.com
 *  (c) 2004-2008 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
index ec856b8..c3185df 100644 (file)
@@ -5,7 +5,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2002-2004, interactivetools.com, inc.
+*  (c) 2002-2004 interactivetools.com, inc.
 *  (c) 2003-2004 dynarch.com
 *  (c) 2004-2008 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
index a341525..64b6742 100644 (file)
-/***************************************************************\r
-*  Copyright notice\r
-*\r
-*  (c) 2008-2009 Stanislas Rolland <typo3(arobas)sjbr.ca>\r
-*  All rights reserved\r
-*\r
-*  This script is part of the TYPO3 project. The TYPO3 project is\r
-*  free software; you can redistribute it and/or modify\r
-*  it under the terms of the GNU General Public License as published by\r
-*  the Free Software Foundation; either version 2 of the License, or\r
-*  (at your option) any later version.\r
-*\r
-*  The GNU General Public License can be found at\r
-*  http://www.gnu.org/copyleft/gpl.html.\r
-*  A copy is found in the textfile GPL.txt and important notices to the license\r
-*  from the author is found in LICENSE.txt distributed with these scripts.\r
-*\r
-*\r
-*  This script is distributed in the hope that it will be useful,\r
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-*  GNU General Public License for more details.\r
-*\r
-*\r
-*  This copyright notice MUST APPEAR in all copies of the script!\r
-***************************************************************/\r
-/*\r
- * DefinitionList Plugin for TYPO3 htmlArea RTE\r
- *\r
- * TYPO3 SVN ID: $Id: definition-list.js $\r
- */\r
-DefinitionList = BlockElements.extend({\r
-               \r
-       constructor : function(editor, pluginName) {\r
-               this.base(editor, pluginName);\r
-       },\r
-       \r
-       /*\r
-        * This function gets called by the class constructor\r
-        */\r
-       configurePlugin : function (editor) {\r
-               \r
-               /*\r
-                * Setting up some properties from PageTSConfig\r
-                */\r
-               this.buttonsConfiguration = this.editorConfiguration.buttons;\r
-               var parentPlugin = this.editor.plugins.BlockElements.instance;\r
-               this.tags = parentPlugin.tags;\r
-               this.useClass = parentPlugin.useClass;\r
-               this.useBlockquote = parentPlugin.useBlockquote;\r
-               this.useAlignAttribute = parentPlugin.useAlignAttribute;\r
-               this.allowedBlockElements = parentPlugin.allowedBlockElements;\r
-               this.indentedList = null;\r
-               \r
-               /*\r
-                * Registering plugin "About" information\r
-                */\r
-               var pluginInformation = {\r
-                       version         : "0.4",\r
-                       developer       : "Stanislas Rolland",\r
-                       developerUrl    : "http://www.sjbr.ca/",\r
-                       copyrightOwner  : "Stanislas Rolland",\r
-                       sponsor         : this.localize("Technische Universitat Ilmenau"),\r
-                       sponsorUrl      : "http://www.tu-ilmenau.de/",\r
-                       license         : "GPL"\r
-               };\r
-               this.registerPluginInformation(pluginInformation);\r
-               \r
-               /*\r
-                * Registering the buttons\r
-                */\r
-               for (var buttonId in this.buttonList) {\r
-                       if (this.buttonList.hasOwnProperty(buttonId)) {\r
-                               var button = this.buttonList[buttonId];\r
-                               var buttonConfiguration = {\r
-                                       id              : buttonId,\r
-                                       tooltip         : this.localize(buttonId + "-Tooltip"),\r
-                                       action          : "onButtonPress",\r
-                                       context         : button[0],\r
-                                       hotKey          : (this.buttonsConfiguration[button[2]] ? this.buttonsConfiguration[button[2]].hotKey : (button[1] ? button[1] : null))\r
-                               };\r
-                               this.registerButton(buttonConfiguration);\r
-                       }\r
-               }\r
-               \r
-               return true;\r
-        },\r
-        \r
-       /*\r
-        * The list of buttons added by this plugin\r
-        */\r
-       buttonList : {\r
-               Indent                  : [null, "TAB", "indent"],\r
-               Outdent                 : [null, "SHIFT-TAB", "outdent"],\r
-               DefinitionList          : [null, null, "definitionlist"],\r
-               DefinitionItem          : ["dd,dt", null, "definitionitem"]\r
-       },\r
-       \r
-       /*\r
-        * This function gets called when a button was pressed.\r
-        *\r
-        * @param       object          editor: the editor instance\r
-        * @param       string          id: the button id or the key\r
-        * @param       object          target: the target element of the contextmenu event, when invoked from the context menu\r
-        *\r
-        * @return      boolean         false if action is completed\r
-        */\r
-       onButtonPress : function (editor, id, target) {\r
-                       // Could be a button or its hotkey\r
-               var buttonId = this.translateHotKey(id);\r
-               buttonId = buttonId ? buttonId : id;\r
-               this.editor.focusEditor();\r
-               var selection = editor._getSelection();\r
-               var range = editor._createRange(selection);\r
-               var statusBarSelection = editor.getPluginInstance("StatusBar") ? editor.getPluginInstance("StatusBar").getSelection() : null;\r
-               var parentElement = statusBarSelection ? statusBarSelection : this.editor.getParentElement(selection, range);\r
-               if (target) {\r
-                       parentElement = target;\r
-               }\r
-               while (parentElement && (!HTMLArea.isBlockElement(parentElement) || /^(li)$/i.test(parentElement.nodeName))) {\r
-                       parentElement = parentElement.parentNode;\r
-               }\r
-               \r
-               switch (buttonId) {\r
-                       case "Indent" :\r
-                               if (/^(dd|dt)$/i.test(parentElement.nodeName) && this.indentDefinitionList(parentElement, range)) {\r
-                                       break;\r
-                               } else {\r
-                                       this.base(editor, id, target);\r
-                               }\r
-                               break;\r
-                       case "Outdent" :\r
-                               if (/^(dt)$/i.test(parentElement.nodeName) && this.outdentDefinitionList(selection, range)) {\r
-                                       break;\r
-                               } else {\r
-                                       this.base(editor, id, target);\r
-                               }\r
-                               break;\r
-                       case "DefinitionList":\r
-                               var bookmark = this.editor.getBookmark(range);\r
-                               this.insertDefinitionList();\r
-                               this.editor.selectRange(this.editor.moveToBookmark(bookmark));\r
-                               break;\r
-                       case "DefinitionItem":\r
-                               var bookmark = this.editor.getBookmark(range);\r
-                               this.remapNode(parentElement, (parentElement.nodeName.toLowerCase() === "dt") ? "dd" : "dt");\r
-                               this.editor.selectRange(this.editor.moveToBookmark(bookmark));\r
-                               break;\r
-                       default:\r
-                               this.base(editor, id, target);\r
-               }\r
-               return false;\r
-       },\r
-       \r
-       /*\r
-        * This function remaps a node to the specified node name\r
-        */\r
-       remapNode : function(node, nodeName) {\r
-               var newNode = this.editor.convertNode(node, nodeName);\r
-               var attributes = node.attributes, attributeName, attributeValue;\r
-               for (var i = attributes.length; --i >= 0;) {\r
-                       attributeName = attributes.item(i).nodeName;\r
-                       attributeValue = node.getAttribute(attributeName);\r
-                       if (attributeValue) newNode.setAttribute(attributeName, attributeValue);\r
-               }\r
-                       // In IE, the above fails to update the classname and style attributes.\r
-               if (HTMLArea.is_ie) {\r
-                       if (node.style.cssText) {\r
-                               newNode.style.cssText = node.style.cssText;\r
-                       }\r
-                       if (node.className) {\r
-                               newNode.setAttribute("className", node.className);\r
-                       } else {\r
-                               newNode.removeAttribute("className");\r
-                       }\r
-               }\r
-               \r
-               if (this.tags && this.tags[nodeName] && this.tags[nodeName].allowedClasses) {\r
-                       if (newNode.className && /\S/.test(newNode.className)) {\r
-                               var allowedClasses = this.tags[nodeName].allowedClasses;\r
-                               var classNames = newNode.className.trim().split(" ");\r
-                               for (var i = classNames.length; --i >= 0;) {\r
-                                       if (!allowedClasses.test(classNames[i])) {\r
-                                               HTMLArea._removeClass(newNode, classNames[i]);\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-               return newNode;\r
-       },\r
-       \r
-       /*\r
-        * Insert a definition list\r
-        */\r
-       insertDefinitionList : function () {\r
-               var selection = this.editor._getSelection();\r
-               var endBlocks = this.editor.getEndBlocks(selection);\r
-               var list = null;\r
-               if (this.editor._selectionEmpty(selection)) {\r
-                       if (/^(body|div|address|pre|blockquote|li|td|dd)$/i.test(endBlocks.start.nodeName)) {\r
-                               list = this.editor._doc.createElement("dl");\r
-                               var term = list.appendChild(this.editor._doc.createElement("dt"));\r
-                               while (endBlocks.start.firstChild) {\r
-                                       term.appendChild(endBlocks.start.firstChild);\r
-                               }\r
-                               list = endBlocks.start.appendChild(list);\r
-                       } else if (/^(p|h[1-6])$/i.test(endBlocks.start.nodeName)) {\r
-                               var list = endBlocks.start.parentNode.insertBefore(this.editor._doc.createElement("dl"), endBlocks.start);\r
-                               endBlocks.start = list.appendChild(endBlocks.start);\r
-                               endBlocks.start = this.remapNode(endBlocks.start, "dt");\r
-                       }\r
-               } else if (endBlocks.start != endBlocks.end && /^(p|h[1-6])$/i.test(endBlocks.start.nodeName)) {\r
-                               // We wrap the selected elements in a dl element\r
-                       var paragraphs = endBlocks.start.nodeName.toLowerCase() === "p";\r
-                       list = this.wrapSelectionInBlockElement("dl");\r
-                       var items = list.childNodes;\r
-                       for (var i = 0, n = items.length; i < n; ++i) {\r
-                               var paragraphItem = items[i].nodeName.toLowerCase() === "p";\r
-                               this.remapNode(items[i],  paragraphs ? ((i % 2) ? "dd" : "dt") : (paragraphItem ? "dd" : "dt"));\r
-                       }\r
-               }\r
-               return list;\r
-       },\r
-       \r
-       /*\r
-        * Indent a definition list\r
-        */\r
-       indentDefinitionList : function (parentElement, range) {\r
-               var selection = this.editor._getSelection();\r
-               var endBlocks = this.editor.getEndBlocks(selection);\r
-               if (this.editor._selectionEmpty(selection) && /^dd$/i.test(parentElement.nodeName)) {\r
-                       var list = parentElement.appendChild(this.editor._doc.createElement("dl"));\r
-                       var term = list.appendChild(this.editor._doc.createElement("dt"));\r
-                       if (HTMLArea.is_gecko) {\r
-                               if (HTMLArea.is_safari) {\r
-                                       term.innerHTML = "<br />";\r
-                               } else {\r
-                                       term.appendChild(this.editor._doc.createTextNode(""));\r
-                               }\r
-                       } else {\r
-                               term.innerHTML = "\x20";\r
-                       }\r
-                       this.editor.selectNodeContents(term, false);\r
-                       return true;\r
-               } else if (endBlocks.start && /^dt$/i.test(endBlocks.start.nodeName) && endBlocks.start.previousSibling) {\r
-                       var sibling = endBlocks.start.previousSibling;\r
-                       var bookmark = this.editor.getBookmark(range);\r
-                       if (/^dd$/i.test(sibling.nodeName)) {\r
-                               var list = this.wrapSelectionInBlockElement("dl");\r
-                               list = sibling.appendChild(list);\r
-                                       // May need to merge the list if it has a previous sibling\r
-                               if (list.previousSibling && /^dl$/i.test(list.previousSibling.nodeName)) {\r
-                                       while (list.firstChild) {\r
-                                               list.previousSibling.appendChild(list.firstChild);\r
-                                       }\r
-                                       HTMLArea.removeFromParent(list);\r
-                               }\r
-                       } else if (/^dt$/i.test(sibling.nodeName)) {\r
-                               var definition = this.editor._doc.createElement("dd");\r
-                               definition.appendChild(this.wrapSelectionInBlockElement("dl"));\r
-                               sibling.parentNode.insertBefore(definition, sibling.nextSibling);\r
-                       }\r
-                       this.editor.selectRange(this.editor.moveToBookmark(bookmark));\r
-                       return true;\r
-               }\r
-               return false;\r
-       },\r
-       \r
-       /*\r
-        * Outdent a definition list\r
-        */\r
-       outdentDefinitionList : function (selection, range) {\r
-               var endBlocks = this.editor.getEndBlocks(selection);\r
-               if (/^dt$/i.test(endBlocks.start.nodeName)\r
-                               && /^dl$/i.test(endBlocks.start.parentNode.nodeName)\r
-                               && /^dd$/i.test(endBlocks.start.parentNode.parentNode.nodeName)\r
-                               && !endBlocks.end.nextSibling) {\r
-                       var bookmark = this.editor.getBookmark(range);\r
-                       var dl = endBlocks.start.parentNode;\r
-                       var dd = dl.parentNode;\r
-                       if (this.editor._selectionEmpty(selection)) {\r
-                               dd.parentNode.insertBefore(endBlocks.start, dd.nextSibling);\r
-                       } else {\r
-                               var selected = this.wrapSelectionInBlockElement("dl");\r
-                               while (selected.lastChild) {\r
-                                       dd.parentNode.insertBefore(selected.lastChild, dd.nextSibling);\r
-                               }\r
-                               selected.parentNode.removeChild(selected);\r
-                       }\r
-                               // We may have outdented all the child nodes of a list\r
-                       if (!dl.hasChildNodes()) {\r
-                               dd.removeChild(dl);\r
-                               if (!dd.hasChildNodes()) {\r
-                                       dd.parentNode.removeChild(dd);\r
-                               }\r
-                       }\r
-                       this.editor.selectRange(this.editor.moveToBookmark(bookmark));\r
-                       return true;\r
-               }\r
-               return false;\r
-       },\r
-       \r
-       /*\r
-        * This function gets called when the toolbar is updated\r
-        */\r
-       onUpdateToolbar : function () {\r
-               if (this.getEditorMode() === "textmode" || !this.editor.isEditable()) {\r
-                       return false;\r
-               }\r
-               var statusBarSelection = this.editor.getPluginInstance("StatusBar") ? this.editor.getPluginInstance("StatusBar").getSelection() : null;\r
-               var parentElement = statusBarSelection ? statusBarSelection : this.editor.getParentElement();\r
-               if (parentElement.nodeName.toLowerCase() === "body") return false;\r
-               while (parentElement && (!HTMLArea.isBlockElement(parentElement) || /^(li)$/i.test(parentElement.nodeName))) {\r
-                       parentElement = parentElement.parentNode;\r
-               }\r
-               var blockAncestors = this.getBlockAncestors(parentElement);\r
-               var selection = this.editor._getSelection();\r
-               var endBlocks = this.editor.getEndBlocks(selection);\r
-               for (var buttonId in this.buttonList) {\r
-                       commandState = false;\r
-                       if (this.buttonList.hasOwnProperty(buttonId) && this.isButtonInToolbar(buttonId)) {\r
-                               switch (buttonId) {\r
-                                       case "Outdent" :\r
-                                               if (/^(dt)$/i.test(endBlocks.start.nodeName)\r
-                                                               && /^(dl)$/i.test(endBlocks.start.parentNode.nodeName)\r
-                                                               && /^(dd)$/i.test(endBlocks.start.parentNode.parentNode.nodeName)\r
-                                                               && !endBlocks.end.nextSibling) {\r
-                                                       this.editor._toolbarObjects[buttonId].state("enabled", true);\r
-                                               } else {\r
-                                                       this.base();\r
-                                               }\r
-                                               break;\r
-                                       case "DefinitionList" :\r
-                                               this.editor._toolbarObjects[buttonId].state("enabled", (this.editor._selectionEmpty() && /^(p|div|address|pre|blockquote|h[1-6]|li|td|dd)$/i.test(endBlocks.start.nodeName))\r
-                                                                                                       || (endBlocks.start != endBlocks.end && /^(p|h[1-6])$/i.test(endBlocks.start.nodeName)));\r
-                                               break;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-});\r
-\r
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 2008-2009 Stanislas Rolland <typo3(arobas)sjbr.ca>
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*  A copy is found in the textfile GPL.txt and important notices to the license
+*  from the author is found in LICENSE.txt distributed with these scripts.
+*
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+/*
+ * DefinitionList Plugin for TYPO3 htmlArea RTE
+ *
+ * TYPO3 SVN ID: $Id$
+ */
+DefinitionList = BlockElements.extend({
+               
+       constructor : function(editor, pluginName) {
+               this.base(editor, pluginName);
+       },
+       
+       /*
+        * This function gets called by the class constructor
+        */
+       configurePlugin : function (editor) {
+               
+               /*
+                * Setting up some properties from PageTSConfig
+                */
+               this.buttonsConfiguration = this.editorConfiguration.buttons;
+               var parentPlugin = this.editor.plugins.BlockElements.instance;
+               this.tags = parentPlugin.tags;
+               this.useClass = parentPlugin.useClass;
+               this.useBlockquote = parentPlugin.useBlockquote;
+               this.useAlignAttribute = parentPlugin.useAlignAttribute;
+               this.allowedBlockElements = parentPlugin.allowedBlockElements;
+               this.indentedList = null;
+               
+               /*
+                * Registering plugin "About" information
+                */
+               var pluginInformation = {
+                       version         : "0.4",
+                       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);
+               
+               /*
+                * Registering the buttons
+                */
+               for (var buttonId in this.buttonList) {
+                       if (this.buttonList.hasOwnProperty(buttonId)) {
+                               var button = this.buttonList[buttonId];
+                               var buttonConfiguration = {
+                                       id              : buttonId,
+                                       tooltip         : this.localize(buttonId + "-Tooltip"),
+                                       action          : "onButtonPress",
+                                       context         : button[0],
+                                       hotKey          : (this.buttonsConfiguration[button[2]] ? this.buttonsConfiguration[button[2]].hotKey : (button[1] ? button[1] : null))
+                               };
+                               this.registerButton(buttonConfiguration);
+                       }
+               }
+               
+               return true;
+        },
+        
+       /*
+        * The list of buttons added by this plugin
+        */
+       buttonList : {
+               Indent                  : [null, "TAB", "indent"],
+               Outdent                 : [null, "SHIFT-TAB", "outdent"],
+               DefinitionList          : [null, null, "definitionlist"],
+               DefinitionItem          : ["dd,dt", null, "definitionitem"]
+       },
+       
+       /*
+        * This function gets called when a button was pressed.
+        *
+        * @param       object          editor: the editor instance
+        * @param       string          id: the button id or the key
+        * @param       object          target: the target element of the contextmenu event, when invoked from the context menu
+        *
+        * @return      boolean         false if action is completed
+        */
+       onButtonPress : function (editor, id, target) {
+                       // Could be a button or its hotkey
+               var buttonId = this.translateHotKey(id);
+               buttonId = buttonId ? buttonId : id;
+               this.editor.focusEditor();
+               var selection = editor._getSelection();
+               var range = editor._createRange(selection);
+               var statusBarSelection = editor.getPluginInstance("StatusBar") ? editor.getPluginInstance("StatusBar").getSelection() : null;
+               var parentElement = statusBarSelection ? statusBarSelection : this.editor.getParentElement(selection, range);
+               if (target) {
+                       parentElement = target;
+               }
+               while (parentElement && (!HTMLArea.isBlockElement(parentElement) || /^(li)$/i.test(parentElement.nodeName))) {
+                       parentElement = parentElement.parentNode;
+               }
+               
+               switch (buttonId) {
+                       case "Indent" :
+                               if (/^(dd|dt)$/i.test(parentElement.nodeName) && this.indentDefinitionList(parentElement, range)) {
+                                       break;
+                               } else {
+                                       this.base(editor, id, target);
+                               }
+                               break;
+                       case "Outdent" :
+                               if (/^(dt)$/i.test(parentElement.nodeName) && this.outdentDefinitionList(selection, range)) {
+                                       break;
+                               } else {
+                                       this.base(editor, id, target);
+                               }
+                               break;
+                       case "DefinitionList":
+                               var bookmark = this.editor.getBookmark(range);
+                               this.insertDefinitionList();
+                               this.editor.selectRange(this.editor.moveToBookmark(bookmark));
+                               break;
+                       case "DefinitionItem":
+                               var bookmark = this.editor.getBookmark(range);
+                               this.remapNode(parentElement, (parentElement.nodeName.toLowerCase() === "dt") ? "dd" : "dt");
+                               this.editor.selectRange(this.editor.moveToBookmark(bookmark));
+                               break;
+                       default:
+                               this.base(editor, id, target);
+               }
+               return false;
+       },
+       
+       /*
+        * This function remaps a node to the specified node name
+        */
+       remapNode : function(node, nodeName) {
+               var newNode = this.editor.convertNode(node, nodeName);
+               var attributes = node.attributes, attributeName, attributeValue;
+               for (var i = attributes.length; --i >= 0;) {
+                       attributeName = attributes.item(i).nodeName;
+                       attributeValue = node.getAttribute(attributeName);
+                       if (attributeValue) newNode.setAttribute(attributeName, attributeValue);
+               }
+                       // In IE, the above fails to update the classname and style attributes.
+               if (HTMLArea.is_ie) {
+                       if (node.style.cssText) {
+                               newNode.style.cssText = node.style.cssText;
+                       }
+                       if (node.className) {
+                               newNode.setAttribute("className", node.className);
+                       } else {
+                               newNode.removeAttribute("className");
+                       }
+               }
+               
+               if (this.tags && this.tags[nodeName] && this.tags[nodeName].allowedClasses) {
+                       if (newNode.className && /\S/.test(newNode.className)) {
+                               var allowedClasses = this.tags[nodeName].allowedClasses;
+                               var classNames = newNode.className.trim().split(" ");
+                               for (var i = classNames.length; --i >= 0;) {
+                                       if (!allowedClasses.test(classNames[i])) {
+                                               HTMLArea._removeClass(newNode, classNames[i]);
+                                       }
+                               }
+                       }
+               }
+               return newNode;
+       },
+       
+       /*
+        * Insert a definition list
+        */
+       insertDefinitionList : function () {
+               var selection = this.editor._getSelection();
+               var endBlocks = this.editor.getEndBlocks(selection);
+               var list = null;
+               if (this.editor._selectionEmpty(selection)) {
+                       if (/^(body|div|address|pre|blockquote|li|td|dd)$/i.test(endBlocks.start.nodeName)) {
+                               list = this.editor._doc.createElement("dl");
+                               var term = list.appendChild(this.editor._doc.createElement("dt"));
+                               while (endBlocks.start.firstChild) {
+                                       term.appendChild(endBlocks.start.firstChild);
+                               }
+                               list = endBlocks.start.appendChild(list);
+                       } else if (/^(p|h[1-6])$/i.test(endBlocks.start.nodeName)) {
+                               var list = endBlocks.start.parentNode.insertBefore(this.editor._doc.createElement("dl"), endBlocks.start);
+                               endBlocks.start = list.appendChild(endBlocks.start);
+                               endBlocks.start = this.remapNode(endBlocks.start, "dt");
+                       }
+               } else if (endBlocks.start != endBlocks.end && /^(p|h[1-6])$/i.test(endBlocks.start.nodeName)) {
+                               // We wrap the selected elements in a dl element
+                       var paragraphs = endBlocks.start.nodeName.toLowerCase() === "p";
+                       list = this.wrapSelectionInBlockElement("dl");
+                       var items = list.childNodes;
+                       for (var i = 0, n = items.length; i < n; ++i) {
+                               var paragraphItem = items[i].nodeName.toLowerCase() === "p";
+                               this.remapNode(items[i],  paragraphs ? ((i % 2) ? "dd" : "dt") : (paragraphItem ? "dd" : "dt"));
+                       }
+               }
+               return list;
+       },
+       
+       /*
+        * Indent a definition list
+        */
+       indentDefinitionList : function (parentElement, range) {
+               var selection = this.editor._getSelection();
+               var endBlocks = this.editor.getEndBlocks(selection);
+               if (this.editor._selectionEmpty(selection) && /^dd$/i.test(parentElement.nodeName)) {
+                       var list = parentElement.appendChild(this.editor._doc.createElement("dl"));
+                       var term = list.appendChild(this.editor._doc.createElement("dt"));
+                       if (HTMLArea.is_gecko) {
+                               if (HTMLArea.is_safari) {
+                                       term.innerHTML = "<br />";
+                               } else {
+                                       term.appendChild(this.editor._doc.createTextNode(""));
+                               }
+                       } else {
+                               term.innerHTML = "\x20";
+                       }
+                       this.editor.selectNodeContents(term, false);
+                       return true;
+               } else if (endBlocks.start && /^dt$/i.test(endBlocks.start.nodeName) && endBlocks.start.previousSibling) {
+                       var sibling = endBlocks.start.previousSibling;
+                       var bookmark = this.editor.getBookmark(range);
+                       if (/^dd$/i.test(sibling.nodeName)) {
+                               var list = this.wrapSelectionInBlockElement("dl");
+                               list = sibling.appendChild(list);
+                                       // May need to merge the list if it has a previous sibling
+                               if (list.previousSibling && /^dl$/i.test(list.previousSibling.nodeName)) {
+                                       while (list.firstChild) {
+                                               list.previousSibling.appendChild(list.firstChild);
+                                       }
+                                       HTMLArea.removeFromParent(list);
+                               }
+                       } else if (/^dt$/i.test(sibling.nodeName)) {
+                               var definition = this.editor._doc.createElement("dd");
+                               definition.appendChild(this.wrapSelectionInBlockElement("dl"));
+                               sibling.parentNode.insertBefore(definition, sibling.nextSibling);
+                       }
+                       this.editor.selectRange(this.editor.moveToBookmark(bookmark));
+                       return true;
+               }
+               return false;
+       },
+       
+       /*
+        * Outdent a definition list
+        */
+       outdentDefinitionList : function (selection, range) {
+               var endBlocks = this.editor.getEndBlocks(selection);
+               if (/^dt$/i.test(endBlocks.start.nodeName)
+                               && /^dl$/i.test(endBlocks.start.parentNode.nodeName)
+                               && /^dd$/i.test(endBlocks.start.parentNode.parentNode.nodeName)
+                               && !endBlocks.end.nextSibling) {
+                       var bookmark = this.editor.getBookmark(range);
+                       var dl = endBlocks.start.parentNode;
+                       var dd = dl.parentNode;
+                       if (this.editor._selectionEmpty(selection)) {
+                               dd.parentNode.insertBefore(endBlocks.start, dd.nextSibling);
+                       } else {
+                               var selected = this.wrapSelectionInBlockElement("dl");
+                               while (selected.lastChild) {
+                                       dd.parentNode.insertBefore(selected.lastChild, dd.nextSibling);
+                               }
+                               selected.parentNode.removeChild(selected);
+                       }
+                               // We may have outdented all the child nodes of a list
+                       if (!dl.hasChildNodes()) {
+                               dd.removeChild(dl);
+                               if (!dd.hasChildNodes()) {
+                                       dd.parentNode.removeChild(dd);
+                               }
+                       }
+                       this.editor.selectRange(this.editor.moveToBookmark(bookmark));
+                       return true;
+               }
+               return false;
+       },
+       
+       /*
+        * This function gets called when the toolbar is updated
+        */
+       onUpdateToolbar : function () {
+               if (this.getEditorMode() === "textmode" || !this.editor.isEditable()) {
+                       return false;
+               }
+               var statusBarSelection = this.editor.getPluginInstance("StatusBar") ? this.editor.getPluginInstance("StatusBar").getSelection() : null;
+               var parentElement = statusBarSelection ? statusBarSelection : this.editor.getParentElement();
+               if (parentElement.nodeName.toLowerCase() === "body") return false;
+               while (parentElement && (!HTMLArea.isBlockElement(parentElement) || /^(li)$/i.test(parentElement.nodeName))) {
+                       parentElement = parentElement.parentNode;
+               }
+               var blockAncestors = this.getBlockAncestors(parentElement);
+               var selection = this.editor._getSelection();
+               var endBlocks = this.editor.getEndBlocks(selection);
+               for (var buttonId in this.buttonList) {
+                       commandState = false;
+                       if (this.buttonList.hasOwnProperty(buttonId) && this.isButtonInToolbar(buttonId)) {
+                               switch (buttonId) {
+                                       case "Outdent" :
+                                               if (/^(dt)$/i.test(endBlocks.start.nodeName)
+                                                               && /^(dl)$/i.test(endBlocks.start.parentNode.nodeName)
+                                                               && /^(dd)$/i.test(endBlocks.start.parentNode.parentNode.nodeName)
+                                                               && !endBlocks.end.nextSibling) {
+                                                       this.editor._toolbarObjects[buttonId].state("enabled", true);
+                                               } else {
+                                                       this.base();
+                                               }
+                                               break;
+                                       case "DefinitionList" :
+                                               this.editor._toolbarObjects[buttonId].state("enabled", (this.editor._selectionEmpty() && /^(p|div|address|pre|blockquote|h[1-6]|li|td|dd)$/i.test(endBlocks.start.nodeName))
+                                                                                                       || (endBlocks.start != endBlocks.end && /^(p|h[1-6])$/i.test(endBlocks.start.nodeName)));
+                                               break;
+                               }
+                       }
+               }
+       }
+});
+
index e5d76d5..85ecab9 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * EditorMode Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: editor-mode.js $
+ * TYPO3 SVN ID: $Id$
  */
 EditorMode = HTMLArea.Plugin.extend({
 
index 5eca7b6..5919ef4 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * Inline Elements Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: inline-elements.js $
+ * TYPO3 SVN ID: $Id$
  */
 /*
  * Creation of the class of InlineElements plugins
index fc62dae..3acd71d 100644 (file)
@@ -1,7 +1,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004  Ki Master George <kimastergeorge@gmail.com>
+*  (c) 2004 Ki Master George <kimastergeorge@gmail.com>
 *  (c) 2005-2009 Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
 *  All rights reserved
 *
index 88c4f73..f1d7b6f 100644 (file)
@@ -6,7 +6,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004  Ki Master George <kimastergeorge@gmail.com>
+*  (c) 2004 Ki Master George <kimastergeorge@gmail.com>
 *  (c) 2005-2008 Stanislas Rolland <typo3(arobas)sjbr.ca>
 *  All rights reserved
 *
index 74b0af6..697bfee 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * Language Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: language.js 2862 2008-01-05 19:32:58Z stanrolland $
+ * TYPO3 SVN ID: $Id$
  */
 Language = HTMLArea.Plugin.extend({
 
index e9d2ee8..ba720fc 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * SelectFont Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: font.js  $
+ * TYPO3 SVN ID: $Id$
  */
 SelectFont = HTMLArea.Plugin.extend({
                
index cc2ac67..195a859 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * StatusBar Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: editor-mode.js $
+ * TYPO3 SVN ID: $Id$
  */
 StatusBar = HTMLArea.Plugin.extend({
 
index b454566..b12c8ba 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * TYPO3 Color Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: typo3color.js $
+ * TYPO3 SVN ID: $Id$
  */
 TYPO3Color = HTMLArea.Plugin.extend({
        
index 779b6a8..effb79f 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * TYPO3Image plugin for htmlArea RTE
  *
- * TYPO3 SVN ID: $Id:$
+ * TYPO3 SVN ID: $Id$
  */
 TYPO3Image = HTMLArea.Plugin.extend({
 
index e5642c8..0b04c35 100644 (file)
@@ -29,7 +29,7 @@
 /*
  * Undo Redo Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 SVN ID: $Id: find-replace.js 3437 2008-03-16 16:22:11Z flyguide $
+ * TYPO3 SVN ID: $Id$
  */
 UndoRedo = HTMLArea.Plugin.extend({
        
index c42c7a2..285f0c5 100644 (file)
@@ -17,7 +17,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2006 TYPO3 Design Team
+*  (c) 2006-2009 TYPO3 Design Team
 *  All rights reserved
 *
 *  Author: Thomas Murphy (murphy@spreekonzept.de)