Index: typo3/template.php =================================================================== --- typo3/template.php (revision 5374) +++ typo3/template.php (working copy) @@ -1946,11 +1946,22 @@ // 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) . ': ' . htmlspecialchars(t3lib_div::fixed_lgd_cs($title, -50)) . ''; + $pagePath = $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.path', 1) . ': '; + + // crop the title after 50 chars + $cropLength = 50; + if ($title !== $fullTitle || strlen($title) > $cropLength) { + $pagePath .= '' . htmlspecialchars(t3lib_div::fixed_lgd_cs($title, -$cropLength)) . ''; + } else { + $pagePath .= htmlspecialchars(t3lib_div::fixed_lgd_cs($title, -$cropLength)); + } + $pagePath .= ''; return $pagePath; } Index: typo3/stylesheet.css =================================================================== --- typo3/stylesheet.css (revision 5374) +++ typo3/stylesheet.css (working copy) @@ -1706,6 +1706,9 @@ font-weight: bold; } +span.typo3-docheader-pagePath abbr { + border-bottom: none; +} /* - - - - - - - - - - - - - - - - - - - - -