Bug #20374 » 11006_v3.patch
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;
|
||
}
|
||
/* - - - - - - - - - - - - - - - - - - - - -
|
||