2 namespace TYPO3\CMS\Backend\Tree\View;
78 $clauseExcludePidList =
'';
79 if ($pidList =
$GLOBALS[
'BE_USER']->getTSConfigVal(
'options.hideRecords.pages')) {
80 if ($pidList =
$GLOBALS[
'TYPO3_DB']->cleanIntList($pidList)) {
81 $clauseExcludePidList =
' AND pages.uid NOT IN (' . $pidList .
')';
85 parent::init(
' AND ' .
$GLOBALS[
'BE_USER']->getPagePermsClause(1) .
' ' .
$clause . $clauseExcludePidList,
'sorting');
86 $this->title =
$GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'sitename'];
87 $this->MOUNTS =
$GLOBALS[
'BE_USER']->returnWebmounts();
90 $hideList = explode(
',', $pidList);
91 $this->MOUNTS = array_diff($this->MOUNTS, $hideList);
119 if (!$this->ext_IconMode) {
121 }
elseif ($this->ext_IconMode ===
'titlelink') {
122 $aOnClick =
'return jumpTo(' . \TYPO3\CMS\Core\Utility\GeneralUtility::quoteJSvalue($this->
getJumpToParam($row)) .
',this,' . \TYPO3\CMS\Core\Utility\GeneralUtility::quoteJSvalue($this->domIdPrefix . $this->
getId($row)) .
',' . $this->bank .
');';
123 $theIcon =
'<a href="#" onclick="' . htmlspecialchars($aOnClick) .
'">' . $icon .
'</a>';
138 $title = parent::getTitleStr($row, $titleLen);
139 if (isset($row[
'is_siteroot']) && $row[
'is_siteroot'] != 0 &&
$GLOBALS[
'BE_USER']->getTSConfigVal(
'options.pageTree.showDomainNameWithTitle')) {
141 if (is_array($rows) && !empty($rows)) {
142 $title = sprintf(
'%s [%s]',
$title, htmlspecialchars($rows[0][
'domainName']));