Project

General

Profile

Bug #21083 » 11990_v2.diff

Administrator Admin, 2009-09-18 13:30

View differences:

t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php (working copy)
$iconPath = $this->getIcon($row);
$uid = ($row['t3ver_oid'] > 0 ? $row['t3ver_oid'] : $row['uid']);
$croppedPath = $path = $this->getRecordPath($row, $uid);
if (strlen($croppedPath) > 30) {
$croppedPath = $GLOBALS['LANG']->csConvObj->crop($GLOBALS['LANG']->charSet, $path, 10) .
'...' . $GLOBALS['LANG']->csConvObj->crop($GLOBALS['LANG']->charSet, $path, -20);
$path = $this->getRecordPath($row, $uid);
if (strlen($path) > 30) {
$croppedPath = '<abbr title="' . htmlspecialchars($path) . '">' .
htmlspecialchars($GLOBALS['LANG']->csConvObj->crop($GLOBALS['LANG']->charSet, $path, 10) .
'...' . $GLOBALS['LANG']->csConvObj->crop($GLOBALS['LANG']->charSet, $path, -20)
) . '</abbr>';
} else {
$croppedPath = htmlspecialchars($path);
}
$label = $this->getLabel($row);
typo3/stylesheet.css (working copy)
margin-top:0.3em;
}
div.typo3-TCEforms-suggest-choices span.suggest-path abbr {
border-bottom: none;
}
div.typo3-TCEforms-suggest-choises a {
cursor: pointer;
}
/* - - - - - - - - - - - - - - - - - - - - -
TCEforms Inline-Relational-Record-Editing
(2-2/2)