[TYPO3-core] RFC: #2134: place as root does not function

Holzinger Franz franz at fholzinger.com
Thu Dec 29 21:40:06 CET 2005


Hello Sebastian,

see Michael's email.

You can check this in without any notice here, but only in the Changelog.


Greets,

Franz

>This is a CVS patch request.
>
>Type: bugfix (minor)
>
>Branch: 4.0
>
>Description:
>"Place as root" from "more options" in the context menu in the pagtree
>does not function.
>
>Solution:
>arguments to $this->linkItem were wrong. The fix is very easy. See
>attached patch.
>
>Grz, Sebastian
>  
>
>------------------------------------------------------------------------
>
>diff -ur TYPO3core_orig_cvs/typo3/alt_clickmenu.php TYPO3core_testing/typo3/alt_clickmenu.php
>--- TYPO3core_orig_cvs/typo3/alt_clickmenu.php	2005-12-19 21:29:26.000000000 +0100
>+++ TYPO3core_testing/typo3/alt_clickmenu.php	2005-12-29 21:00:03.000000000 +0100
>@@ -742,7 +742,6 @@
> 		return $this->linkItem(
> 			$this->label('tempMountPoint'),
> 			$this->excludeIcon('<img'.t3lib_iconWorks::skinImg($this->PH_backPath,'gfx/placeasroot.gif','width="14" height="12"').' alt="" />'),
>-			'',
> 			"if (top.content.nav_frame) { top.content.nav_frame.document.location = 'alt_db_navframe.php?setTempDBmount=".intval($page_id)."'; } return hideCM();"
> 		);
> 	}
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>TYPO3-team-core mailing list
>TYPO3-team-core at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
>




More information about the TYPO3-team-core mailing list