Edit icons had two title attributes, one hardcoded as an empty string
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Thu, 8 Jun 2006 17:00:35 +0000 (17:00 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Thu, 8 Jun 2006 17:00:35 +0000 (17:00 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1514 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_content.php

index 17fd1f7..a81205f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 2006-06-08  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
        * Make t3lib_div::arrayToLogString() accept an empty string as empty list
+       * Fix bug #2938: edit icons have two title attributes, one hardcoded as an empty string
 
 2006-06-04  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
index b0c2bc9..fb05664 100755 (executable)
@@ -7044,7 +7044,7 @@ class tslib_cObj {
                        $GLOBALS['TSFE']->set_no_cache();               // Special content is about to be shown, so the cache must be disabled.
                        $style = $conf['styleAttribute'] ? ' style="'.htmlspecialchars($conf['styleAttribute']).'"' : '';
                        $iconTitle = $this->stdWrap($conf['iconTitle'],$conf['iconTitle.']);
-                       $iconImg = $conf['iconImg'] ? $conf['iconImg'] : '<img src="'.TYPO3_mainDir.'gfx/edit_fe.gif" width="11" height="12" border="0" align="top" title="'.t3lib_div::deHSCentities(htmlspecialchars($iconTitle)).'"'.$style.' class="frontEndEditIcons" alt="" title="" />';
+                       $iconImg = $conf['iconImg'] ? $conf['iconImg'] : '<img src="'.TYPO3_mainDir.'gfx/edit_fe.gif" width="11" height="12" border="0" align="top" title="'.t3lib_div::deHSCentities(htmlspecialchars($iconTitle)).'"'.$style.' class="frontEndEditIcons" alt="" />';
                        $nV=t3lib_div::_GP('ADMCMD_view')?1:0;
                        $adminURL = t3lib_div::getIndpEnv('TYPO3_SITE_URL').TYPO3_mainDir;
                        $icon = $this->editPanelLinkWrap_doWrap($iconImg, $adminURL.'alt_doc.php?edit['.$rParts[0].']['.$editUid.']=edit&columnsOnly='.rawurlencode($fieldList).'&noView='.$nV.$addUrlParamStr,implode(':',$rParts));