Project

General

Profile

Bug #3096 » forge-3096.diff

Patch - Steffen Gebert, 2010-10-17 15:33

View differences:

typo3/class.browse_links.php (Arbeitskopie)
// Outputting Temporary DB mount notice:
if (intval($GLOBALS['BE_USER']->getSessionData('pageTree_temporaryMountPoint'))) {
$link = '<a href="' . htmlspecialchars(t3lib_div::linkThisScript(array('setTempDBmount' => 0))) . '">' .
$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.temporaryDBmount', 1) .
$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.virtualTreeMount', 1) .
'</a>';
$flashMessage = t3lib_div::makeInstance(
't3lib_FlashMessage',
typo3/class.db_list.inc (Arbeitskopie)
</tr>
</table>
'.$formElements[1];
$content .= t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_searchbox', $GLOBALS['BACK_PATH'], '|<br />');
return $content;
}
typo3/alt_db_navframe.php (Arbeitskopie)
if ($this->active_tempMountPoint) {
$flashText = '
<a href="' . htmlspecialchars(t3lib_div::linkThisScript(array('setTempDBmount' => 0))) . '">' .
$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.temporaryDBmount',1) .
$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.virtualTreeMount',1) .
'</a> <br />' .
$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.path',1) . ': <span title="' .
htmlspecialchars($this->active_tempMountPoint['_thePathFull']) . '">' .
typo3/sysext/t3skin/stylesheets/visual/element_tree.css (Arbeitskopie)
#tree-toolbar-filter-item.active {
background-image: url("../../icons/gfx/toolbar_item_active_bg.png")
}
#typo3-pagetree .typo3-message {
border: none;
}
typo3/sysext/lang/locallang_core.xml (Arbeitskopie)
<label index="labels.generalTab">General</label>
<label index="labels.refresh">Reload the tree from server</label>
<label index="labels.temporaryDBmount">Cancel temporary DB mount</label>
<label index="labels.virtualTreeMount">Exit virtual tree mount</label>
<label index="labels.refreshList">Reload list from server</label>
<label index="labels.close">Close</label>
<label index="labels.new">NEW</label>
......
<label index="cm.info">Info</label>
<label index="cm.createnew">Create new</label>
<label index="cm.tempMountPoint">Mount as treeroot</label>
<label index="cm.virtualTreeMount">Mount as virtual treeroot</label>
<label index="cm.copyPage_into">Copy page into</label>
<label index="cm.copyPage_after">Copy page after</label>
<label index="cm.movePage_into">Move page into</label>
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php (Arbeitskopie)
// Outputting Temporary DB mount notice:
if (intval($GLOBALS['BE_USER']->getSessionData('pageTree_temporaryMountPoint'))) {
$link = '<a href="' . htmlspecialchars(t3lib_div::linkThisScript(array('setTempDBmount' => 0))) . '">' .
$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.temporaryDBmount', 1) .
$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.virtualTreeMount', 1) .
'</a>';
$flashMessage = t3lib_div::makeInstance(
't3lib_FlashMessage',
typo3/alt_clickmenu.php (Arbeitskopie)
*/
function DB_tempMountPoint($page_id) {
return $this->linkItem(
$this->label('tempMountPoint'),
$this->label('virtualTreeMount'),
$this->excludeIcon(t3lib_iconWorks::getSpriteIcon('apps-pagetree-page-mountpoint')),
"if (top.content.nav_frame) { top.content.nav_frame.location.href = 'alt_db_navframe.php?setTempDBmount=".intval($page_id)."'; } return hideCM();"
);
(10-10/13)