#8517: CSS class is missing for FE edit links
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 30 May 2008 08:47:37 +0000 (08:47 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 30 May 2008 08:47:37 +0000 (08:47 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3741 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index 71da3ca..6aef896 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 2008-05-30  Martin Kutschker  <masi@typo3.org>
 
        * Fixed bug #8554: installer doesn't check DB problems when creating admin user
+       * Fixed bug #8517: CSS class is missing for FE edit links (thanx to Ralf Hettinger)
 
 2008-05-29  Martin Kutschker  <masi@typo3.org>
 
index 7525716..13244b6 100755 (executable)
@@ -7289,11 +7289,11 @@ class tslib_cObj {
                        if ($rParts[0]=='tt_content' && $this->parentRecordNumber>2)    {       // This parentRecordNumber is used to make sure that only elements 3- of ordinary content elements makes a 'anchor' jump down the page.
                                $retUrl.='#'.$rParts[1];
                        }
-                       return '<a href="'.htmlspecialchars($url.'&returnUrl='.rawurlencode($retUrl)).'">'.$string.'</a>';
+                       return '<a href="'.htmlspecialchars($url.'&returnUrl='.rawurlencode($retUrl)).'" class="frontEndEditIconLinks">'.$string.'</a>';
                } else {
                        return '<a href="#" onclick="'.
                                htmlspecialchars('vHWin=window.open(\''.$url.'&returnUrl=close.html\',\'FEquickEditWindow\',\''.($GLOBALS['BE_USER']->uc['edit_wideDocument']?'width=690,height=500':'width=540,height=400').',status=0,menubar=0,scrollbars=1,resizable=1\');vHWin.focus();return false;').
-                               '">'.$string.'</a>';
+                               '" class="frontEndEditIconLinks">'.$string.'</a>';
                }
        }