Index: typo3/sysext/rtehtmlarea/class.tx_rtehtmlareaapi.php =================================================================== --- typo3/sysext/rtehtmlarea/class.tx_rtehtmlareaapi.php (révision 9173) +++ typo3/sysext/rtehtmlarea/class.tx_rtehtmlareaapi.php (copie de travail) @@ -30,7 +30,7 @@ * */ -abstract class tx_rtehtmlareaapi { +abstract class tx_rtehtmlarea_api { protected $extensionKey; // The key of the extension that is extending htmlArea RTE protected $pluginName; // The name of the plugin registered by the extension @@ -228,10 +228,10 @@ public function getRequiredPlugins() { return $this->requiredPlugins; } -} // end of class - -if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/class.tx_rtehtmlareaapi.php']) { - include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/class.tx_rtehtmlareaapi.php']); } - +/* + * Class alias for backward compatibility (TYPO3 4.5) + */ +abstract class tx_rtehtmlareaapi extends tx_rtehtmlarea_api { +} ?> \ No newline at end of file Index: typo3/sysext/rtehtmlarea/ext_autoload.php =================================================================== --- typo3/sysext/rtehtmlarea/ext_autoload.php (révision 9174) +++ typo3/sysext/rtehtmlarea/ext_autoload.php (copie de travail) @@ -4,8 +4,18 @@ * * $Id: ext_autoload.php $ */ -$extensionPath = t3lib_extMgm::extPath('rtehtmlarea'); +$rtehtmlareaExtensionPath = t3lib_extMgm::extPath('rtehtmlarea'); return array( - 'tx_rtehtmlarea_statusreport_conflictscheck' => $extensionPath . 'hooks/statusreport/class.tx_rtehtmlarea_statusreport_conflictscheck.php', + 'tx_rtehtmlarea_api' => $rtehtmlareaExtensionPath . 'class.tx_rtehtmlareaapi.php', + 'tx_rtehtmlarea_base' => $rtehtmlareaExtensionPath . 'class.tx_rtehtmlarea_base.php', + 'tx_rtehtmlarea_statusreport_conflictscheck' => $rtehtmlareaExtensionPath . 'hooks/statusreport/class.tx_rtehtmlarea_statusreport_conflictscheck.php', + 'tx_rtehtmlarea_pi1' => $rtehtmlareaExtensionPath . 'pi1/class.tx_rtehtmlarea_pi1.php', + 'tx_rtehtmlarea_pi2' => $rtehtmlareaExtensionPath . 'pi2/class.tx_rtehtmlarea_pi2.php', + 'tx_rtehtmlarea_pi3' => $rtehtmlareaExtensionPath . 'pi3/class.tx_rtehtmlarea_pi3.php', + 'tx_rtehtmlarea_browse_links' => $rtehtmlareaExtensionPath . 'mod3/class.tx_rtehtmlarea_browse_links.php', + 'class.tx_rtehtmlarea_select_image.php' => $rtehtmlareaExtensionPath . 'mod4/class.tx_rtehtmlarea_select_image.php', + 'tx_rtehtmlarea_user' => $rtehtmlareaExtensionPath . 'mod5/class.tx_rtehtmlarea_user.php', + 'tx_rtehtmlarea_parse_html' => $rtehtmlareaExtensionPath . 'mod6/class.tx_rtehtmlarea_parse_html.php', ); +unset($rtehtmlareaExtensionPath); ?> \ No newline at end of file Index: typo3/sysext/rtehtmlarea/extensions/AboutEditor/class.tx_rtehtmlarea_abouteditor.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/AboutEditor/class.tx_rtehtmlarea_abouteditor.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/AboutEditor/class.tx_rtehtmlarea_abouteditor.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2008-2010 Stanislas Rolland +* (c) 2008-2010 Stanislas Rolland * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -24,16 +24,13 @@ /** * About Editor plugin for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_abouteditor extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_abouteditor extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'AboutEditor'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. @@ -66,10 +63,8 @@ return $registerRTEinJavascriptString; } -} // end of class - +} if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/extensions/AboutEditor/class.tx_rtehtmlarea_abouteditor.php']) { include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/extensions/AboutEditor/class.tx_rtehtmlarea_abouteditor.php']); } - ?> \ No newline at end of file Index: typo3/sysext/rtehtmlarea/extensions/Acronym/class.tx_rtehtmlarea_acronym.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/Acronym/class.tx_rtehtmlarea_acronym.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/Acronym/class.tx_rtehtmlarea_acronym.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_acronym extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_acronym extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'Acronym'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/BlockElements/class.tx_rtehtmlarea_blockelements.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/BlockElements/class.tx_rtehtmlarea_blockelements.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/BlockElements/class.tx_rtehtmlarea_blockelements.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_blockelements extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_blockelements extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'BlockElements'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = 'extensions/BlockElements/locallang.xml'; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/BlockStyle/class.tx_rtehtmlarea_blockstyle.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/BlockStyle/class.tx_rtehtmlarea_blockstyle.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/BlockStyle/class.tx_rtehtmlarea_blockstyle.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2007-2010 Stanislas Rolland +* (c) 2007-2010 Stanislas Rolland * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -24,16 +24,13 @@ /** * Block Style extension for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_blockstyle extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_blockstyle extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'BlockStyle'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = 'extensions/BlockStyle/locallang.xml'; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/CharacterMap/class.tx_rtehtmlarea_charactermap.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/CharacterMap/class.tx_rtehtmlarea_charactermap.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/CharacterMap/class.tx_rtehtmlarea_charactermap.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2008-2010 Stanislas Rolland +* (c) 2008-2010 Stanislas Rolland * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -24,16 +24,13 @@ /** * CharacterMap plugin for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_charactermap extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_charactermap extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'CharacterMap'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/ContextMenu/class.tx_rtehtmlarea_contextmenu.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/ContextMenu/class.tx_rtehtmlarea_contextmenu.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/ContextMenu/class.tx_rtehtmlarea_contextmenu.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_contextmenu extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_contextmenu extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'ContextMenu'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/CopyPaste/class.tx_rtehtmlarea_copypaste.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/CopyPaste/class.tx_rtehtmlarea_copypaste.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/CopyPaste/class.tx_rtehtmlarea_copypaste.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_copypaste extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_copypaste extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'CopyPaste'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/DefaultClean/class.tx_rtehtmlarea_defaultclean.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/DefaultClean/class.tx_rtehtmlarea_defaultclean.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/DefaultClean/class.tx_rtehtmlarea_defaultclean.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_defaultclean extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_defaultclean extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'DefaultClean'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/DefaultImage/class.tx_rtehtmlarea_defaultimage.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/DefaultImage/class.tx_rtehtmlarea_defaultimage.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/DefaultImage/class.tx_rtehtmlarea_defaultimage.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2008-2010 Stanislas Rolland +* (c) 2008-2010 Stanislas Rolland * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -24,16 +24,13 @@ /** * Image plugin for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_defaultimage extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_defaultimage extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'DefaultImage'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/DefaultInline/class.tx_rtehtmlarea_defaultinline.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/DefaultInline/class.tx_rtehtmlarea_defaultinline.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/DefaultInline/class.tx_rtehtmlarea_defaultinline.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2007-2010 Stanislas Rolland +* (c) 2007-2010 Stanislas Rolland * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -24,16 +24,13 @@ /** * DefaultInline plugin for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_defaultinline extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_defaultinline extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'DefaultInline'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = 'extensions/DefaultInline/locallang.xml'; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/DefaultLink/class.tx_rtehtmlarea_defaultlink.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/DefaultLink/class.tx_rtehtmlarea_defaultlink.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/DefaultLink/class.tx_rtehtmlarea_defaultlink.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_defaultlink extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_defaultlink extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'DefaultLink'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/DefinitionList/class.tx_rtehtmlarea_definitionlist.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/DefinitionList/class.tx_rtehtmlarea_definitionlist.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/DefinitionList/class.tx_rtehtmlarea_definitionlist.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_definitionlist extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_definitionlist extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'DefinitionList'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/EditorMode/class.tx_rtehtmlarea_editormode.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/EditorMode/class.tx_rtehtmlarea_editormode.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/EditorMode/class.tx_rtehtmlarea_editormode.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_editormode extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_editormode extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'EditorMode'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/FindReplace/class.tx_rtehtmlarea_findreplace.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/FindReplace/class.tx_rtehtmlarea_findreplace.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/FindReplace/class.tx_rtehtmlarea_findreplace.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2008-2010 Stanislas Rolland +* (c) 2008-2010 Stanislas Rolland * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -24,16 +24,13 @@ /** * Find Replace plugin for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_findreplace extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_findreplace extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'FindReplace'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/InlineElements/class.tx_rtehtmlarea_inlineelements.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/InlineElements/class.tx_rtehtmlarea_inlineelements.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/InlineElements/class.tx_rtehtmlarea_inlineelements.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_inlineelements extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_inlineelements extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'InlineElements'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = 'extensions/InlineElements/locallang.xml'; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/InsertSmiley/class.tx_rtehtmlarea_insertsmiley.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/InsertSmiley/class.tx_rtehtmlarea_insertsmiley.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/InsertSmiley/class.tx_rtehtmlarea_insertsmiley.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2008-2010 Stanislas Rolland +* (c) 2008-2010 Stanislas Rolland * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -24,16 +24,13 @@ /** * Insert Smiley plugin for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_insertsmiley extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_insertsmiley extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'InsertSmiley'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/Language/class.tx_rtehtmlarea_language.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/Language/class.tx_rtehtmlarea_language.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/Language/class.tx_rtehtmlarea_language.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_language extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_language extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'Language'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = 'extensions/Language/locallang.xml'; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/PlainText/class.tx_rtehtmlarea_plaintext.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/PlainText/class.tx_rtehtmlarea_plaintext.php (révision 9175) +++ typo3/sysext/rtehtmlarea/extensions/PlainText/class.tx_rtehtmlarea_plaintext.php (copie de travail) @@ -29,8 +29,7 @@ * TYPO3 SVN ID: $Id: class.tx_rtehtmlarea_plaintext.php 7838 2010-06-08 16:10:41Z stan $ * */ -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); -class tx_rtehtmlarea_plaintext extends tx_rtehtmlareaapi { +class tx_rtehtmlarea_plaintext extends tx_rtehtmlarea_api { protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'PlainText'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/QuickTag/class.tx_rtehtmlarea_quicktag.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/QuickTag/class.tx_rtehtmlarea_quicktag.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/QuickTag/class.tx_rtehtmlarea_quicktag.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_quicktag extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_quicktag extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'QuickTag'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/RemoveFormat/class.tx_rtehtmlarea_removeformat.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/RemoveFormat/class.tx_rtehtmlarea_removeformat.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/RemoveFormat/class.tx_rtehtmlarea_removeformat.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2008-2010 Stanislas Rolland +* (c) 2008-2010 Stanislas Rolland * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -24,16 +24,13 @@ /** * Remove Format plugin for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_removeformat extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_removeformat extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'RemoveFormat'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/SelectFont/class.tx_rtehtmlarea_selectfont.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/SelectFont/class.tx_rtehtmlarea_selectfont.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/SelectFont/class.tx_rtehtmlarea_selectfont.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_selectfont extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_selectfont extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'SelectFont'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = 'extensions/SelectFont/locallang.xml'; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/SpellChecker/class.tx_rtehtmlarea_spellchecker.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/SpellChecker/class.tx_rtehtmlarea_spellchecker.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/SpellChecker/class.tx_rtehtmlarea_spellchecker.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_spellchecker extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_spellchecker extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'SpellChecker'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/TableOperations/class.tx_rtehtmlarea_tableoperations.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/TableOperations/class.tx_rtehtmlarea_tableoperations.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/TableOperations/class.tx_rtehtmlarea_tableoperations.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_tableoperations extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_tableoperations extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'TableOperations'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/TextIndicator/class.tx_rtehtmlarea_textindicator.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/TextIndicator/class.tx_rtehtmlarea_textindicator.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/TextIndicator/class.tx_rtehtmlarea_textindicator.php (copie de travail) @@ -29,9 +29,7 @@ * TYPO3 SVN ID: $Id: class.tx_rtehtmlarea_textindicator.php 5489 2009-05-23 15:26:20Z ohader $ * */ -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_textindicator extends tx_rtehtmlareaapi { +class tx_rtehtmlarea_textindicator extends tx_rtehtmlarea_api { protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'TextIndicator'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/TextStyle/class.tx_rtehtmlarea_textstyle.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/TextStyle/class.tx_rtehtmlarea_textstyle.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/TextStyle/class.tx_rtehtmlarea_textstyle.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2007-2010 Stanislas Rolland +* (c) 2007-2010 Stanislas Rolland * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -24,16 +24,13 @@ /** * TextStyle plugin for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_textstyle extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_textstyle extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'TextStyle'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = 'extensions/TextStyle/locallang.xml'; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/TYPO3Color/class.tx_rtehtmlarea_typo3color.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/TYPO3Color/class.tx_rtehtmlarea_typo3color.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/TYPO3Color/class.tx_rtehtmlarea_typo3color.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_typo3color extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_typo3color extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'TYPO3Color'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = 'extensions/TYPO3Color/locallang.xml'; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/TYPO3HtmlParser/class.tx_rtehtmlarea_typo3htmlparser.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/TYPO3HtmlParser/class.tx_rtehtmlarea_typo3htmlparser.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/TYPO3HtmlParser/class.tx_rtehtmlarea_typo3htmlparser.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_typo3htmlparser extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_typo3htmlparser extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'TYPO3HtmlParser'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/TYPO3Image/class.tx_rtehtmlarea_typo3image.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/TYPO3Image/class.tx_rtehtmlarea_typo3image.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/TYPO3Image/class.tx_rtehtmlarea_typo3image.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_typo3image extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_typo3image extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'TYPO3Image'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/TYPO3Link/class.tx_rtehtmlarea_typo3link.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/TYPO3Link/class.tx_rtehtmlarea_typo3link.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/TYPO3Link/class.tx_rtehtmlarea_typo3link.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_typo3link extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_typo3link extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'TYPO3Link'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/UndoRedo/class.tx_rtehtmlarea_undoredo.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/UndoRedo/class.tx_rtehtmlarea_undoredo.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/UndoRedo/class.tx_rtehtmlarea_undoredo.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_undoredo extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_undoredo extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'UndoRedo'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/extensions/UserElements/class.tx_rtehtmlarea_userelements.php =================================================================== --- typo3/sysext/rtehtmlarea/extensions/UserElements/class.tx_rtehtmlarea_userelements.php (révision 9173) +++ typo3/sysext/rtehtmlarea/extensions/UserElements/class.tx_rtehtmlarea_userelements.php (copie de travail) @@ -29,11 +29,8 @@ * TYPO3 SVN ID: $Id$ * */ +class tx_rtehtmlarea_userelements extends tx_rtehtmlarea_api { -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php'); - -class tx_rtehtmlarea_userelements extends tx_rtehtmlareaapi { - protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE protected $pluginName = 'UserElements'; // The name of the plugin registered by the extension protected $relativePathToLocallangFile = ''; // Path to this main locallang file of the extension relative to the extension dir. Index: typo3/sysext/rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearcachemenu.php =================================================================== --- typo3/sysext/rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearcachemenu.php (révision 9173) +++ typo3/sysext/rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearcachemenu.php (copie de travail) @@ -31,9 +31,6 @@ * @author Steffen kamper * @package TYPO3 */ - -require_once (PATH_typo3.'interfaces/interface.backend_cacheActionsHook.php'); - class tx_rtehtmlarea_clearcachemenu implements backend_cacheActionsHook { /** * modifies CacheMenuItems array Index: typo3/sysext/rtehtmlarea/mod3/browse_links.php =================================================================== --- typo3/sysext/rtehtmlarea/mod3/browse_links.php (révision 9173) +++ typo3/sysext/rtehtmlarea/mod3/browse_links.php (copie de travail) @@ -43,7 +43,6 @@ require('conf.php'); require($BACK_PATH.'init.php'); require($BACK_PATH.'template.php'); -require_once('class.tx_rtehtmlarea_browse_links.php'); $LANG->includeLLFile('EXT:rtehtmlarea/mod3/locallang.xml'); $LANG->includeLLFile('EXT:rtehtmlarea/htmlarea/locallang_dialogs.xml'); Index: typo3/sysext/rtehtmlarea/mod4/select_image.php =================================================================== --- typo3/sysext/rtehtmlarea/mod4/select_image.php (révision 9173) +++ typo3/sysext/rtehtmlarea/mod4/select_image.php (copie de travail) @@ -39,7 +39,6 @@ require('conf.php'); require($BACK_PATH.'init.php'); require($BACK_PATH.'template.php'); -require_once('class.tx_rtehtmlarea_select_image.php'); $LANG->includeLLFile('EXT:lang/locallang_browse_links.xml'); $LANG->includeLLFile('EXT:rtehtmlarea/mod4/locallang.xml'); $LANG->includeLLFile('EXT:rtehtmlarea/htmlarea/locallang_dialogs.xml'); Index: typo3/sysext/rtehtmlarea/mod5/user.php =================================================================== --- typo3/sysext/rtehtmlarea/mod5/user.php (révision 9173) +++ typo3/sysext/rtehtmlarea/mod5/user.php (copie de travail) @@ -3,7 +3,7 @@ * Copyright notice * * (c) 1999-2010 Kasper SkĂĽrhøj (kasper@typo3.com) -* (c) 2005-2010 Stanislas Rolland +* (c) 2005-2010 Stanislas Rolland * All rights reserved * * This script is part of the TYPO3 project. The TYPO3 project is @@ -29,7 +29,7 @@ * User defined content for htmlArea RTE * * @author Kasper SkĂĽrhøj - * @author Stanislas Rolland + * @author Stanislas Rolland * * $Id$ * */ @@ -39,7 +39,6 @@ require('conf.php'); require($BACK_PATH.'init.php'); require($BACK_PATH.'template.php'); -require_once('class.tx_rtehtmlarea_user.php'); $LANG->includeLLFile('EXT:rtehtmlarea/mod5/locallang.xml'); $LANG->includeLLFile('EXT:rtehtmlarea/htmlarea/locallang_dialogs.xml'); Index: typo3/sysext/rtehtmlarea/mod6/parse_html.php =================================================================== --- typo3/sysext/rtehtmlarea/mod6/parse_html.php (révision 9173) +++ typo3/sysext/rtehtmlarea/mod6/parse_html.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2005-2010 Stanislas Rolland +* (c) 2005-2010 Stanislas Rolland * All rights reserved * * This script is part of the TYPO3 project. The TYPO3 project is @@ -27,7 +27,7 @@ /** * Content parsing for htmlArea RTE * - * @author Stanislas Rolland + * @author Stanislas Rolland * * $Id$ * */ @@ -37,7 +37,6 @@ require ('conf.php'); require ($BACK_PATH.'init.php'); require ($BACK_PATH.'template.php'); -require_once ('class.tx_rtehtmlarea_parse_html.php'); // Make instance: Index: typo3/sysext/rtehtmlarea/pi2/class.tx_rtehtmlarea_pi2.php =================================================================== --- typo3/sysext/rtehtmlarea/pi2/class.tx_rtehtmlarea_pi2.php (révision 9173) +++ typo3/sysext/rtehtmlarea/pi2/class.tx_rtehtmlarea_pi2.php (copie de travail) @@ -31,7 +31,6 @@ * * $Id$ * */ -require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlarea_base.php'); class tx_rtehtmlarea_pi2 extends tx_rtehtmlarea_base { // External: