Index: typo3/class.browse_links.php
===================================================================
--- typo3/class.browse_links.php (revision 9323)
+++ typo3/class.browse_links.php (working copy)
@@ -1858,7 +1858,7 @@
// Look up tt_content elements from the expanded page:
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
- 'uid,header,hidden,starttime,endtime,fe_group,CType,colpos,bodytext',
+ 'uid,header,hidden,starttime,endtime,fe_group,CType,colpos,bodytext,sys_language_uid',
'tt_content',
'pid='.intval($expPageId).
t3lib_BEfunc::deleteClause('tt_content').
@@ -1873,6 +1873,12 @@
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$c++;
$icon = t3lib_iconWorks::getSpriteIconForRecord('tt_content', $row);
+ $localizationMarkerClass = '';
+ $titleText = t3lib_BEfunc::getRecordIconAltText($row, 'tt_content');
+ if ($row['sys_language_uid'] != 0){
+ $localizationMarkerClass = 'localization';
+ $titleText .= ', ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xml:LGL.language') . ' ' . $row['sys_language_uid'];
+ }
if ($this->curUrlInfo['act']=='page' && $this->curUrlInfo['cElement']==$row['uid']) {
$arrCol='';
} else {
@@ -1881,7 +1887,7 @@
// Putting list element HTML together:
$out.=''.
$arrCol.
- ''.
+ '' .
$icon.
t3lib_BEfunc::getRecordTitle('tt_content', $row, TRUE) .
'
';
Index: typo3/sysext/t3skin/stylesheets/structure/element_rte.css
===================================================================
--- typo3/sysext/t3skin/stylesheets/structure/element_rte.css (revision 9323)
+++ typo3/sysext/t3skin/stylesheets/structure/element_rte.css (working copy)
@@ -41,6 +41,10 @@
padding: 0 0 0 5px;
}
+table#typo3-linkPages a.localization {
+ padding: 0 0 0 12px;
+}
+
table#typo3-linkPages,
table#typo3-linkFiles,
table#typo3-EBrecords,