Index: typo3/template.php =================================================================== --- typo3/template.php (revision 6490) +++ typo3/template.php (working copy) @@ -2019,6 +2019,7 @@ $iconImg = t3lib_iconWorks::getIconImage('pages', $pageRecord, $this->backPath, 'class="absmiddle" title="'. htmlspecialchars($alttext) . '"'); // Make Icon: $theIcon = $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($iconImg, 'pages', $pageRecord['uid']); + $pid = $pageRecord['uid']; } else { // On root-level of page tree // Make Icon $iconImg = 'backPath, 'gfx/i/_icon_website.gif') . ' alt="' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] . '" />'; @@ -2027,10 +2028,11 @@ } else { $theIcon = $iconImg; } + $pid = '0 (root)'; } // Setting icon with clickmenu + uid - $pageInfo = $theIcon . '[pid: ' . $pageRecord['uid'] . ']'; + $pageInfo = $theIcon . '[pid: ' . $pid . ']'; return $pageInfo; }