Index: t3lib/class.t3lib_recordlist.php
===================================================================
--- t3lib/class.t3lib_recordlist.php (revision 3725)
+++ t3lib/class.t3lib_recordlist.php (working copy)
@@ -378,9 +378,9 @@
* @param integer Sys language uid
* @return string Language icon
*/
- function languageFlag($sys_language_uid) {
- return ($this->languageIconTitles[$sys_language_uid]['flagIcon'] ? ' ' : '').
- htmlspecialchars($this->languageIconTitles[$sys_language_uid]['title']);
+ function languageFlag($sys_language_uid, $showTitle = true) {
+ return ($this->languageIconTitles[$sys_language_uid]['flagIcon'] ? '
' : '') .
+ ($showTitle ? htmlspecialchars($this->languageIconTitles[$sys_language_uid]['title']) : '');
}
}
@@ -389,4 +389,4 @@
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_recordlist.php']);
}
-?>
\ No newline at end of file
+?>
Index: typo3/sysext/cms/layout/class.tx_cms_layout.php
===================================================================
--- typo3/sysext/cms/layout/class.tx_cms_layout.php (revision 3725)
+++ typo3/sysext/cms/layout/class.tx_cms_layout.php (working copy)
@@ -131,7 +131,10 @@
var $externalTables = array(); // Array of tables which is configured to be listed by the Web > Page module in addition to the default tables.
var $descrTable; // "Pseudo" Description -table name
var $defLangBinding=FALSE; // If set true, the language mode of tt_content elements will be rendered with hard binding between default language content elements and their translations!
-
+ var $showLanguageLabelInCE = false; // If set true, label for language will be shown in CE header
+ var $previewTextCropLength = 150; // sets length of preview text of CEs
+ var $columnWidth = 200; // fix width for columns
+
// External, static: Configuration of tt_content element display:
var $tt_contentConfig = Array (
'showInfo' => 1, // Boolean: Display info-marks or not
@@ -449,7 +452,8 @@
$singleElementHTML.= $this->tt_content_drawHeader($row,$this->tt_contentConfig['showInfo']?15:5, $this->defLangBinding && $lP>0, TRUE);
$isRTE = $RTE && $this->isRTEforField('tt_content',$row,'bodytext');
- $singleElementHTML.= '
+ |
+ + ' . t3lib_BEfunc::cshItem($this->descrTable,'language_list',$GLOBALS['BACK_PATH']) . + ' | +
![]() |
||
'.$header.' | -||
';
-
+ $icon['space'] = '![]() ![]() ![]() ![]() ![]() | ||
+
+ ' . $icon['edit'] . $icon['hide'] . $icon['space'] . $icon['new'] . $icon['space'] . $icon['info'] . $icon['space'] . $icon['delete'] . '
+
+
+ ' . $icon['up'] . $icon['down'] . '
+
|
||
'.implode(' ',$info).' |
- ||
'.$header.' | +
![]() |
' . t3lib_BEfunc::cshItem($this->descrTable,'columns_multi',$GLOBALS['BACK_PATH']) . ' | '; + // Wrap the cells into a table row: + $columnWidth = intval($this->columnWidth) > 0 ? 'style="width:' . $this->columnWidth . 'px;"' : ''; $out = ' -
+ |
+ + ' . t3lib_BEfunc::cshItem($this->descrTable,'language_list',$GLOBALS['BACK_PATH']) . + ' | +
![]() |
'.$header.' | -
';
-
+ $icon['space'] = '![]() ![]() ![]() ![]() ![]() |
+
+ ' . $icon['edit'] . $icon['hide'] . $icon['space'] . $icon['new'] . $icon['space'] . $icon['info'] . $icon['space'] . $icon['delete'] . '
+
+
+ ' . $icon['up'] . $icon['down'] . '
+
|
'.implode(' ',$info).' |
-
'.$header.' | +
![]() |