+2009-01-14 Steffen Kamper <info@sk-typo3.de>
+
+ * Fixed bug #8787: titles length in list module (thanks to Stefano Cecere)
+
2009-01-14 Jeff Segars <jeff@webempoweredchurch.org>
* Fixed bug #10064: config.admPanel has no effect (thanks to Ralf Hettinger)
2009-01-14 Jeff Segars <jeff@webempoweredchurch.org>
* Fixed bug #10064: config.admPanel has no effect (thanks to Ralf Hettinger)
if (!strcmp($code,'')) {
$code = '<i>['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title',1).']</i> - '.htmlspecialchars(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle($table,$row),$GLOBALS['BE_USER']->uc['titleLen']));
} else {
if (!strcmp($code,'')) {
$code = '<i>['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title',1).']</i> - '.htmlspecialchars(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle($table,$row),$GLOBALS['BE_USER']->uc['titleLen']));
} else {
- $code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code,$this->fixedL));
+ $code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code, t3lib_div::intval_positive($GLOBALS['BE_USER']->uc['titleLen']) ? $GLOBALS['BE_USER']->uc['titleLen'] : $this->fixedL));
if ($code != htmlspecialchars($origCode)) {
$code = '<span title="'.htmlspecialchars($origCode).'">'.$code.'</span>';
}
if ($code != htmlspecialchars($origCode)) {
$code = '<span title="'.htmlspecialchars($origCode).'">'.$code.'</span>';
}