Project

General

Profile

Bug #17031 ยป 5057.patch

Administrator Admin, 2007-06-25 19:34

View differences:

typo3_new/t3lib/class.t3lib_tstemplate.php 2007-06-25 19:31:00.656250000 +0200
*/
function printTitle($title,$no_title=0,$titleFirst=0) {
$st = trim($this->setup['sitetitle']) ? $this->setup['sitetitle']:'';
if(empty($st) && $this->rootId && $GLOBALS['TSFE']->id!=$this->rootId)
{
$root_page = $GLOBALS['TSFE']->sys_page->getPage_noCheck($this->rootId);
if(sizeof($root_page))
{
$st = trim($root_page['nav_title'] ? $root_page['nav_title'] : $root_page['title']);
}
}
$title = $no_title ? '' : $title;
if ($titleFirst) {
$temp=$st;
    (1-1/1)