60 if (is_array($pageRecord) && !empty($pageRecord[
'uid'])) {
61 $title = substr($pageRecord[
'_thePathFull'], 0, -1);
63 $pos = strrpos($title, $pageRecord[
'title']);
65 $title = substr($title, 0, $pos);
67 } elseif (!empty($pageRecord[
'combined_identifier'])) {
71 $title .= $resourceObject->getParentFolder()->getReadablePath();
79 $cropLength = empty($beUser->uc[
'titleLen']) ? 50 : $beUser->uc[
'titleLen'];
80 $croppedTitle = GeneralUtility::fixed_lgd_cs($title, -$cropLength);
81 if ($croppedTitle !== $title) {
82 $pagePath =
'<abbr title="' . htmlspecialchars($title) .
'">' . htmlspecialchars($croppedTitle) .
'</abbr>';
84 $pagePath = htmlspecialchars($title);
97 if (!empty($recordInformations)) {
98 $recordInformation = $recordInformations[
'icon'] .
99 ' <strong>' . htmlspecialchars($recordInformations[
'title']) . ($recordInformations[
'uid'] !==
'' ?
' [' . $recordInformations[
'uid'] .
']' :
'') .
'</strong>' .
100 (!empty($recordInformations[
'additionalInfo']) ?
' ' . htmlspecialchars($recordInformations[
'additionalInfo']) :
'');
102 $recordInformation =
'';
104 return $recordInformation;
115 if (!empty($recordInformations)) {
116 $recordInformationIcon = $recordInformations[
'icon'];
118 $recordInformationIcon =
null;
120 return $recordInformationIcon;
131 if (!empty($recordInformations)) {
132 $title = $recordInformations[
'title'];
139 $cropLength = empty($beUser->uc[
'titleLen']) ? 50 : $beUser->uc[
'titleLen'];
140 return htmlspecialchars(GeneralUtility::fixed_lgd_cs($title, $cropLength));
151 if (!empty($recordInformations)) {
152 $recordInformationUid = $recordInformations[
'uid'];
154 $recordInformationUid =
null;
156 return $recordInformationUid;
167 return $recordInformations[
'additionalInfo'] ??
'';
178 if (empty($pageRecord)) {
182 $iconFactory = GeneralUtility::makeInstance(IconFactory::class);
185 $additionalInfo = (!empty($pageRecord[
'_additional_info']) ? $pageRecord[
'_additional_info'] :
'');
188 if (is_array($pageRecord) && !empty($pageRecord[
'uid'])) {
190 $iconImg =
'<span ' . $toolTip .
'>' . $iconFactory->getIconForRecord(
'pages', $pageRecord,
Icon::SIZE_SMALL)->render() .
'</span>';
193 $uid = $pageRecord[
'uid'];
195 } elseif (is_array($pageRecord) && !empty($pageRecord[
'combined_identifier'])) {
200 $title = $fileMountTitle ?: $resourceObject->getName();
203 $iconImg =
'<span title="' . htmlspecialchars($title) .
'">' . $iconFactory->getIconForResource(
207 [
'mount-root' =>
true]
208 )->render() .
'</span>';
210 $iconImg =
'<span title="' . htmlspecialchars($title) .
'">' . $iconFactory->getIconForResource(
213 )->render() .
'</span>';
215 $tableName = ($resourceObject->getIdentifier() === $resourceObject->getStorage()->getRootLevelFolder()->getIdentifier())
216 ?
'sys_filemounts' :
'sys_file';
224 $iconImg =
'<span title="' .
225 htmlspecialchars(
$GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'sitename']) .
227 $iconFactory->getIcon(
'apps-pagetree-root',
Icon::SIZE_SMALL)->render() .
'</span>';
234 $title =
$GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'sitename'];
241 'additionalInfo' => $additionalInfo