Project

General

Profile

Bug #20374 » 11006_v7.patch

Administrator Admin, 2009-05-08 20:43

View differences:

typo3/template.php (working copy)
* @return string Page path
*/
protected function getPagePath($pageRecord) {
global $LANG;
// Is this a real page
if ($pageRecord['uid']) {
$title = $pageRecord['_thePath'];
$title = $pageRecord['_thePathFull'];
} else {
$title = $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'];
}
// Setting the path of the page
$pagePath = $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.path', 1) . ': <span class="typo3-docheader-pagePath">' . htmlspecialchars(t3lib_div::fixed_lgd_cs($title, -50)) . '</span>';
$pagePath = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.path', 1) . ': <span class="typo3-docheader-pagePath">';
// crop the title to title limit (or 50, if not defined)
$cropLength = (empty($GLOBALS['BE_USER']->uc['titleLen'])) ? 50 : $GLOBALS['BE_USER']->uc['titleLen'];
$croppedTitle = t3lib_div::fixed_lgd_cs($title, -$cropLength);
if ($croppedTitle !== $title) {
$pagePath .= '<abbr title="' . htmlspecialchars($title) . '">' . htmlspecialchars($croppedTitle) . '</abbr>';
} else {
$pagePath .= htmlspecialchars($title);
}
$pagePath .= '</span>';
return $pagePath;
}
typo3/stylesheet.css (working copy)
font-weight: bold;
}
span.typo3-docheader-pagePath abbr {
border-bottom: none;
}
/* - - - - - - - - - - - - - - - - - - - - -
(6-6/6)