Fixed bug #17438: htmlArea RTE: non-xhtml markup in image dialogue (Thanks to Georg...
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 1 Feb 2011 21:21:55 +0000 (21:21 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 1 Feb 2011 21:21:55 +0000 (21:21 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-5@10366 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_dam_browse_media.php
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php

index 997f50e..7b250ac 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * Fixed bug #17373: Standalone images in RTE-enabled field not rendered in frontend
        * Fixed bug #17349: htmlArea RTE: JS error when using "Edit element"
        * Updated htmlArea RTE version to 2.1.6
+       * Fixed bug #17438: htmlArea RTE: non-xhtml markup in image dialogue (Thanks to Georg Ringer)
 
 2011-02-01  Steffen Kamper  <steffen@typo3.org>
 
index b5ca44a..a421987 100644 (file)
@@ -2,6 +2,7 @@
 
        * Fixed bug #17349: htmlArea RTE: JS error when using "Edit element"
        * Updated htmlArea RTE version to 2.1.6
+       * Fixed bug #17438: htmlArea RTE: non-xhtml markup in image dialogue (Thanks to Georg Ringer)
 
 2011-01-21  Stanislas Rolland  <typo3@sjbr.ca>
 
index 3b3ca83..fc2b87c 100644 (file)
@@ -397,7 +397,7 @@ class tx_rtehtmlarea_dam_browse_media extends tx_dam_browse_media {
                                var floatSelector=\'<select id="iFloat" name="iFloat"><option value="">' . $LANG->getLL('notSet') . '</option><option value="none">' . $LANG->getLL('nonFloating') . '</option><option value="left">' . $LANG->getLL('left') . '</option><option value="right">' . $LANG->getLL('right') . '</option></select>\';
                                var bgColor=\' class="bgColor4"\';
                                var sz="";
-                               sz+=\'<table border=0 cellpadding=1 cellspacing=1><form action="" name="imageData">\';
+                               sz+=\'<table border="0" cellpadding="1" cellspacing="1"><form action="" name="imageData">\';
                                '.(in_array('class', $this->removedProperties)?'':'
                                if(classesImage) {
                                        sz+=\'<tr><td\'+bgColor+\'><label for="iClass">'.$LANG->getLL('class').': </label></td><td>\'+styleSelector+\'</td></tr>\';
index 8811f25..be74464 100644 (file)
@@ -507,7 +507,7 @@ class tx_rtehtmlarea_select_image extends browse_links {
                                }
                                var bgColor=\' class="bgColor4"\';
                                var sz="";
-                               sz+=\'<table border=0 cellpadding=1 cellspacing=1><form action="" name="imageData">\';
+                               sz+=\'<table border="0" cellpadding="1" cellspacing="1"><form action="" name="imageData">\';
                                '.(in_array('class', $removedProperties)?'':'
                                if(classesImage) {
                                        sz+=\'<tr><td\'+bgColor+\'><label for="iClass">'.$LANG->getLL('class').': </label></td><td>\'+styleSelector+\'</td></tr>\';
@@ -851,11 +851,11 @@ class tx_rtehtmlarea_select_image extends browse_links {
                                $tree = $foldertree->getBrowsableTree();
                                list(,,$specUid) = explode('_',t3lib_div::_GP('PM'));
                                $files = $this->expandFolder($foldertree->specUIDmap[$specUid],$this->act=='plain',$noThumbs?$noThumbs:!$_MOD_SETTINGS['displayThumbs']);
-                               $this->content.= '<table border=0 cellpadding=0 cellspacing=0>
+                               $this->content.= '<table border="0" cellpadding="0" cellspacing="0">
                                <tr>
-                                       <td valign=top>'.$this->barheader($LANG->getLL('folderTree').':').$tree.'</td>
+                                       <td style="vertical-align: top;">'.$this->barheader($LANG->getLL('folderTree').':').$tree.'</td>
                                        <td>&nbsp;</td>
-                                       <td valign=top>'.$files.'</td>
+                                       <td style="vertical-align: top;">'.$files.'</td>
                                </tr>
                                </table>
                                <br />'.$thumbNailCheck;
@@ -872,11 +872,11 @@ class tx_rtehtmlarea_select_image extends browse_links {
                                $tree = $foldertree->getBrowsableTree();
                                list(,,$specUid) = explode('_',t3lib_div::_GP('PM'));
                                $files = $this->TBE_dragNDrop($foldertree->specUIDmap[$specUid], implode(',', $this->allowedFileTypes));
-                               $this->content.= '<table border=0 cellpadding=0 cellspacing=0>
+                               $this->content.= '<table border="0" cellpadding="0" cellspacing="0">
                                <tr>
-                                       <td valign=top>'.$this->barheader($LANG->getLL('folderTree').':').$tree.'</td>
+                                       <td style="vertical-align: top;">'.$this->barheader($LANG->getLL('folderTree').':').$tree.'</td>
                                        <td>&nbsp;</td>
-                                       <td valign=top>'.$files.'</td>
+                                       <td style="vertical-align: top;">'.$files.'</td>
                                </tr>
                                </table>';
                                break;