Bug #21372 » bug_15375_v3.diff
t3lib/class.t3lib_browsetree.php 2010-08-09 08:52:37.000000000 +0200 | ||
---|---|---|
$title = parent::getTitleStr($row,$titleLen);
|
||
if (isset($row['is_siteroot']) && $row['is_siteroot'] != 0 && $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.showDomainNameWithTitle')) {
|
||
$rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('domainName,sorting', 'sys_domain',
|
||
'pid=' . $GLOBALS['TYPO3_DB']->quoteStr($row['uid'], 'sys_domain'), '', 'sorting', 1);
|
||
'pid=' . $GLOBALS['TYPO3_DB']->quoteStr($row['uid'] . ' AND hidden=0','sys_domain'), '', 'sorting', 1);
|
||
if (is_array($rows) && count($rows) > 0) {
|
||
$title = sprintf('%s [%s]', $title, htmlspecialchars($rows[0]['domainName']));
|
||
}
|
- « Previous
- 1
- 2
- 3
- Next »