-<?php\r
-/***************************************************************\r
-* Copyright notice\r
-*\r
-* (c) 2007-2008 Stanislas Rolland <stanislas.rolland(arobas)fructifor.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
-*\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
-* This copyright notice MUST APPEAR in all copies of the script!\r
-***************************************************************/\r
-/**\r
- * TextStyle plugin for htmlArea RTE\r
- *\r
- * @author Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>\r
- *\r
- * TYPO3 SVN ID: $Id$\r
- *\r
- */\r
-\r
-require_once(t3lib_extMgm::extPath('rtehtmlarea').'class.tx_rtehtmlareaapi.php');\r
-\r
-class tx_rtehtmlarea_textstyle extends tx_rtehtmlareaapi {\r
-\r
- protected $extensionKey = 'rtehtmlarea'; // The key of the extension that is extending htmlArea RTE\r
- protected $pluginName = 'TextStyle'; // The name of the plugin registered by the extension\r
- protected $relativePathToLocallangFile = 'extensions/TextStyle/locallang.xml'; // Path to this main locallang file of the extension relative to the extension dir.\r
- protected $relativePathToSkin = ''; // Path to the skin (css) file relative to the extension dir.\r
- protected $htmlAreaRTE; // Reference to the invoking object\r
- protected $thisConfig; // Reference to RTE PageTSConfig\r
- protected $toolbar; // Reference to RTE toolbar array\r
- protected $LOCAL_LANG; // Frontend language array\r
- \r
- protected $pluginButtons = 'textstyle'; // The comma-seperated list of button names that the extension id adding to the htmlArea RTE tollbar\r
- protected $pluginLabels = 'textstylelabel'; // The comma-seperated list of label names that the extension id adding to the htmlArea RTE tollbar\r
- // The name-converting array, converting the button names used in the RTE PageTSConfing to the button id's used by the JS scripts\r
- protected $convertToolbarForHtmlAreaArray = array (\r
- 'textstylelabel' => 'I[text_style]',\r
- 'textstyle' => 'TextStyle',\r
- );\r
- protected $requiresClassesConfiguration = true; // True if the extension requires the PageTSConfig Classes configuration\r
-\r
-} // end of class\r
-\r
-if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/extensions/TextStyle/class.tx_rtehtmlarea_textstyle.php']) {\r
- include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/extensions/TextStyle/class.tx_rtehtmlarea_textstyle.php']);\r
-}\r
-\r
+<?php
+/***************************************************************
+* Copyright notice
+*
+* (c) 2007-2008 Stanislas Rolland <stanislas.rolland(arobas)fructifor.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.
+*
+* 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!
+***************************************************************/
+/**
+ * TextStyle plugin for htmlArea RTE
+ *
+ * @author Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
+ *
+ * TYPO3 SVN ID: $Id$
+ *
+ */
+
+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.
+ protected $relativePathToSkin = ''; // Path to the skin (css) file relative to the extension dir.
+ protected $htmlAreaRTE; // Reference to the invoking object
+ protected $thisConfig; // Reference to RTE PageTSConfig
+ protected $toolbar; // Reference to RTE toolbar array
+ protected $LOCAL_LANG; // Frontend language array
+
+ protected $pluginButtons = 'textstyle'; // The comma-seperated list of button names that the extension id adding to the htmlArea RTE tollbar
+ protected $pluginLabels = 'textstylelabel'; // The comma-seperated list of label names that the extension id adding to the htmlArea RTE tollbar
+ // The name-converting array, converting the button names used in the RTE PageTSConfing to the button id's used by the JS scripts
+ protected $convertToolbarForHtmlAreaArray = array (
+ 'textstylelabel' => 'I[text_style]',
+ 'textstyle' => 'TextStyle',
+ );
+ protected $requiresClassesConfiguration = true; // True if the extension requires the PageTSConfig Classes configuration
+
+} // end of class
+
+if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/extensions/TextStyle/class.tx_rtehtmlarea_textstyle.php']) {
+ include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/extensions/TextStyle/class.tx_rtehtmlarea_textstyle.php']);
+}
+
?>
\ No newline at end of file
-<?xml version="1.0" encoding="utf-8" standalone="yes" ?>\r
-<!-- TYPO3 SVN ID: $Id$ -->\r
-<T3locallang>\r
- <meta type="array">\r
- <description>Labels for Text Style plugin of htmlArea RTE</description>\r
- <type>module</type>\r
- </meta>\r
- <data type="array">\r
- <languageKey index="default" type="array">\r
- <label index="TextStyle-Tooltip">Apply style to the selected text</label>\r
- <label index="Technische Universitat Ilmenau">Technische Universität Ilmenau</label>\r
- <label index="No style">No text style</label>\r
- <label index="Remove style">Remove text style</label>\r
- <label index="Unknown style">Unknown text style</label>\r
- <label index="Element style">Inline element style</label>\r
- </languageKey>\r
- </data>\r
- <orig_hash type="array">\r
- <languageKey index="default" type="array">\r
- </languageKey>\r
- </orig_hash>\r
- <orig_text type="array">\r
- <languageKey index="default" type="array">\r
- </languageKey>\r
- </orig_text>\r
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<!-- TYPO3 SVN ID: $Id$ -->
+<T3locallang>
+ <meta type="array">
+ <description>Labels for Text Style plugin of htmlArea RTE</description>
+ <type>module</type>
+ </meta>
+ <data type="array">
+ <languageKey index="default" type="array">
+ <label index="TextStyle-Tooltip">Apply style to the selected text</label>
+ <label index="Technische Universitat Ilmenau">Technische Universität Ilmenau</label>
+ <label index="No style">No text style</label>
+ <label index="Remove style">Remove text style</label>
+ <label index="Unknown style">Unknown text style</label>
+ <label index="Element style">Inline element style</label>
+ </languageKey>
+ </data>
+ <orig_hash type="array">
+ <languageKey index="default" type="array">
+ </languageKey>
+ </orig_hash>
+ <orig_text type="array">
+ <languageKey index="default" type="array">
+ </languageKey>
+ </orig_text>
</T3locallang>
\ No newline at end of file