Project

General

Profile

Bug #20374 » 11006_v3.patch

Administrator Admin, 2009-05-02 22:19

View differences:

typo3/template.php (working copy)
// Is this a real page
if ($pageRecord['uid']) {
$title = $pageRecord['_thePath'];
$fullTitle = $pageRecord['_thePathFull'];
} else {
$title = $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'];
$fullTitle = $title;
}
// 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 = $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.path', 1) . ': <span class="typo3-docheader-pagePath">';
// crop the title after 50 chars
$cropLength = 50;
if ($title !== $fullTitle || strlen($title) > $cropLength) {
$pagePath .= '<abbr title="' . htmlspecialchars($fullTitle) . '">' . htmlspecialchars(t3lib_div::fixed_lgd_cs($title, -$cropLength)) . '</abbr>';
} else {
$pagePath .= htmlspecialchars(t3lib_div::fixed_lgd_cs($title, -$cropLength));
}
$pagePath .= '</span>';
return $pagePath;
}
typo3/stylesheet.css (working copy)
font-weight: bold;
}
span.typo3-docheader-pagePath abbr {
border-bottom: none;
}
/* - - - - - - - - - - - - - - - - - - - - -
(4-4/6)