Bug #3096 » 10904-pagetree-workspace-treeroot.patch
typo3/alt_db_navframe.php (working copy) | ||
---|---|---|
if ($this->active_tempMountPoint) {
|
||
$this->content.= '
|
||
<div class="bgColor4 c-notice">
|
||
<img'.t3lib_iconWorks::skinImg('','gfx/icon_note.gif','width="18" height="16"').' align="top" alt="" />'.
|
||
'<a href="'.htmlspecialchars(t3lib_div::linkThisScript(array('setTempDBmount' => 0))).'">'.
|
||
<a href="'.htmlspecialchars(t3lib_div::linkThisScript(array('setTempDBmount' => 0))).'">'.
|
||
'<img'.t3lib_iconWorks::skinImg('','gfx/placeasroot.gif','width="16" height="16"').' align="top" alt="" />'.
|
||
$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.temporaryDBmount',1).
|
||
'</a><br/>
|
||
'.$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.path',1).': <span title="'.htmlspecialchars($this->active_tempMountPoint['_thePathFull']).'">'.htmlspecialchars(t3lib_div::fixed_lgd_cs($this->active_tempMountPoint['_thePath'],-50)).'</span>
|
||
</div>
|
||
';
|
||
'</a></div>';
|
||
}
|
||
// Outputting page tree:
|
||
... | ... | |
if ($GLOBALS['BE_USER']->workspace!==0 || $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.onlineWorkspaceInfo')) {
|
||
switch($GLOBALS['BE_USER']->workspace) {
|
||
case 0:
|
||
$wsTitle = ' '.$this->doc->icons(2).'['.$LANG->sL('LLL:EXT:lang/locallang_misc.xml:shortcut_onlineWS',1).']';
|
||
$wsTitle = ' ' . $this->doc->icons(2) . $LANG->sL('LLL:EXT:lang/locallang_misc.xml:shortcut_onlineWS',1);
|
||
break;
|
||
case -1:
|
||
$wsTitle = '['.$LANG->sL('LLL:EXT:lang/locallang_misc.xml:shortcut_offlineWS',1).']';
|
||
$wsTitle = $LANG->sL('LLL:EXT:lang/locallang_misc.xml:shortcut_offlineWS',1);
|
||
break;
|
||
default:
|
||
$wsTitle = '['.$GLOBALS['BE_USER']->workspace.'] '.htmlspecialchars($GLOBALS['BE_USER']->workspaceRec['title']);
|
||
$wsTitle = $GLOBALS['BE_USER']->workspace . htmlspecialchars($GLOBALS['BE_USER']->workspaceRec['title']);
|
||
break;
|
||
}
|
||
$workspaceInfo = '
|
||
<div class="bgColor4 workspace-info">
|
||
<a href="'.htmlspecialchars('mod/user/ws/index.php').'" target="content">'.
|
||
'<img'.t3lib_iconWorks::skinImg('','gfx/i/sys_workspace.png','width="18" height="16"').' align="top" alt="" />'.
|
||
'</a>'.$wsTitle.'
|
||
</div>
|
||
'<img' . t3lib_iconWorks::skinImg('','gfx/i/sys_workspace.png','width="16" height="16"') . ' align="top" alt="" />'.
|
||
$wsTitle.
|
||
'</a>'.
|
||
'</div>
|
||
';
|
||
}
|
||
typo3/stylesheet.css (working copy) | ||
---|---|---|
- - - - - - - - - - - - - - - - - - - - - */
|
||
div.workspace-info {
|
||
padding: 3px;
|
||
padding: 3px 0 3px 6px;
|
||
margin: -10px 0px 5px -10px;
|
||
border-bottom: 1px solid #999;
|
||
background-color: #ccccff;
|
||
}
|
||
div.workspace-info img {
|
||
margin-right:4px;
|
||
|
||
}
|
||
.ver-element, ul.tree ul li.ver-element {
|
||
background-color: #ccddcc;
|
||
}
|
||
#typo3-pagetree .c-notice {
|
||
margin-left: -10px;
|
||
padding-left: 6px;
|
||
|
||
}
|
||
#typo3-pagetree .c-notice img {margin-right: 4px}
|
||
.ver-page, ul.tree ul li.ver-page {
|
||
background-color: #ccccff;
|
||
}
|