Fixed bug #14547: Flags in localization view (list view) have no title
authorSteffen Kamper <info@sk-typo3.de>
Mon, 31 May 2010 11:26:15 +0000 (11:26 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 31 May 2010 11:26:15 +0000 (11:26 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7790 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.db_list_extra.inc

index d5bc986..f09547f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
 
 2010-05-31  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #14547: Flags in localization view (list view) have no title
        * Fixed bug #14530: Missing icons in new BE skin (sprites) v6
        * Fixed bug  #12990 : referrer in felogin form is not encoded correctly (Thanks to Jigal van Hemert)
        
index 94fa180..03fe2f4 100644 (file)
@@ -1574,9 +1574,9 @@ class localRecordList extends recordList {
                                                '&cmd['.$table.']['.$row['uid'].'][localize]='.$lUid_OnPage,
                                                $this->listURL().'&justLocalized='.rawurlencode($table.':'.$row['uid'].':'.$lUid_OnPage)
                                        );
-
+                                       $language = t3lib_BEfunc::getRecord('sys_language', $lUid_OnPage, 'title');
                                        $lC = ($this->languageIconTitles[$lUid_OnPage]['flagIcon'] ? '<img src="'.$this->languageIconTitles[$lUid_OnPage]['flagIcon'].'" class="absmiddle" alt="" />' : $this->languageIconTitles[$lUid_OnPage]['title']);
-                                       $lC = '<a href="'.htmlspecialchars($href).'">'.$lC.'</a> ';
+                                       $lC = '<a href="' . htmlspecialchars($href) . '" title="' . htmlspecialchars($language['title']) . '">' . $lC . '</a> ';
 
                                        $lNew.=$lC;
                                }