Fixed bug #9404: htmlArea RTE: Cleaning out deprecated extension variables
authorStanislas Rolland <typo3@sjbr.ca>
Sun, 21 Sep 2008 23:59:06 +0000 (23:59 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Sun, 21 Sep 2008 23:59:06 +0000 (23:59 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4161 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/ext_conf_template.txt
typo3/sysext/rtehtmlarea/ext_localconf.php
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_dam_browse_media.php
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php

index ae3c1bc..908ceca 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-21  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fixed bug #9404: htmlArea RTE: Cleaning out deprecated extension variables
+
 2008-09-21  Benjamin Mack  <benni@typo3.org>
 
        * Followup to #9393: Small code cleanup in class.t3lib_treeview.php
index 4cf26d5..721ee53 100644 (file)
@@ -1,3 +1,7 @@
+2008-09-21  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fixed bug #9404: htmlArea RTE: Cleaning out deprecated extension variables
+
 2008-09-18  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #9331: htmlArea RTE Acronym feature: List of unabridged terms shows wrong values
index 45e5e61..85cb200 100644 (file)
@@ -50,10 +50,4 @@ enableDebugMode = 0
 enableCompressedScripts = 1
 
   # cat=basic; type=string; label=Url of AllowClipboard Helper: Full absolute Url of the AllowClipboard Helper extension for Mozilla and Firefox.
-mozAllowClipboardURL =
-
-  # cat=basic; type=int+; label=Maximum width of plain images: Maximum width in pixels of plain images inserted with the TYPO3 image browser. This variable is DEPRECATED! Use Page TSConfig property buttons.image.options.plain.maxWidth.
-plainImageMaxWidth =
-
-  # cat=basic; type=int+; label=Maximum height of plain images: Maximum height in pixels of plain images inserted with the TYPO3 image browser. This variable is DEPRECATED! Use Page TSConfig property buttons.image.options.plain.maxHeight.
-plainImageMaxHeight =
\ No newline at end of file
+mozAllowClipboardURL =
\ No newline at end of file
index 7438c1b..43c2f62 100644 (file)
@@ -183,8 +183,6 @@ $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['dictionaryList'] = $_EXTCONF["dictionaryL
 $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['defaultDictionary'] = $_EXTCONF["defaultDictionary"] ? $_EXTCONF["defaultDictionary"] : 'en';
 $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['AspellDirectory'] = $_EXTCONF["AspellDirectory"] ? $_EXTCONF["AspellDirectory"] : '/usr/bin/aspell';
 $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['noSpellCheckLanguages'] = $_EXTCONF["noSpellCheckLanguages"] ? $_EXTCONF["noSpellCheckLanguages"] : 'ja,km,ko,lo,th,zh,b5,gb';
-if ($_EXTCONF['plainImageMaxWidth']) $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plainImageMaxWidth'] = intval($_EXTCONF['plainImageMaxWidth']);
-if ($_EXTCONF['plainImageMaxHeight']) $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plainImageMaxHeight'] = intval($_EXTCONF['plainImageMaxHeight']);
 
 $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableInOpera9'] = $_EXTCONF['enableInOpera9'] ? $_EXTCONF['enableInOpera9'] : 0;
 
index 0d26fcd..d97ff82 100644 (file)
@@ -221,8 +221,6 @@ class tx_rtehtmlarea_dam_browse_media extends tx_dam_browse_media {
                        if (!$this->magicMaxWidth) $this->magicMaxWidth = 300;
                        if (!$this->magicMaxHeight) $this->magicMaxHeight = 1000;
                } elseif ($this->act == 'plain') {
-                       if ($TYPO3_CONF_VARS['EXTCONF'][$this->extKey]['plainImageMaxWidth']) $this->plainMaxWidth = $TYPO3_CONF_VARS['EXTCONF'][$this->extKey]['plainImageMaxWidth'];
-                       if ($TYPO3_CONF_VARS['EXTCONF'][$this->extKey]['plainImageMaxHeight']) $this->plainMaxHeight = $TYPO3_CONF_VARS['EXTCONF'][$this->extKey]['plainImageMaxHeight'];
                        if (is_array($this->buttonConfig['options.']) && is_array($this->buttonConfig['options.']['plain.'])) {
                                if ($this->buttonConfig['options.']['plain.']['maxWidth']) $this->plainMaxWidth = $this->buttonConfig['options.']['plain.']['maxWidth'];
                                if ($this->buttonConfig['options.']['plain.']['maxHeight']) $this->plainMaxHeight = $this->buttonConfig['options.']['plain.']['maxHeight'];
index 2fa3fee..3e5f892 100644 (file)
@@ -1170,8 +1170,6 @@ class tx_rtehtmlarea_select_image extends browse_links {
         * @return      void
         */
        protected function setMaximumImageDimensions() {
-               if ($TYPO3_CONF_VARS['EXTCONF'][$this->extKey]['plainImageMaxWidth']) $this->plainMaxWidth = $TYPO3_CONF_VARS['EXTCONF'][$this->extKey]['plainImageMaxWidth'];
-               if ($TYPO3_CONF_VARS['EXTCONF'][$this->extKey]['plainImageMaxHeight']) $this->plainMaxHeight = $TYPO3_CONF_VARS['EXTCONF'][$this->extKey]['plainImageMaxHeight'];
                if (is_array($this->buttonConfig['options.']) && is_array($this->buttonConfig['options.']['plain.'])) {
                        if ($this->buttonConfig['options.']['plain.']['maxWidth']) $this->plainMaxWidth = $this->buttonConfig['options.']['plain.']['maxWidth'];
                        if ($this->buttonConfig['options.']['plain.']['maxHeight']) $this->plainMaxHeight = $this->buttonConfig['options.']['plain.']['maxHeight'];