#set ( $nodeID = $context.getRequestParameter("nodeID") )
#set( $editNode = $pageTree.getModel().getChildById($nodeID))
#set( $editPath = $editNode.getURL() )
#set( $editPage = $pageManager.getPage( $editPath ) )
#if( $editPage.isFolder() ) #set( $type = "folder" )
#elseif ( $editPage.getMimeType().startsWith("image/")) #set ( $type = "image" )
#else #set( $type = "file" )
#end
#set ($origURL = "${page.filerootpath}/showfile.html")
$context.getText("Copy $type")
#if( $pages.canEdit($editPath) || $caneditallfiles)
|
$context.getText("Move and rename $type")
|
$context.getText("Delete $type")
#if( $editPage.getMimeType().equals("image/jpeg") )
|
[[Resize Image]]
|
[[Crop Image]]
#end
#end
| [[Download File]]
#if( $pages.canEdit($editPath) )
|
#if( $type == "file") [[Page Properties]] #elseif ($type == "folder") [[Folder Properties]] #elseif ($type == "image") [[Image Properties]] #end
|
[[Set Permissions]]
#if($pages.doesExist("/openedit/components/"))
|
Visual Editor
#if( $editPath.isDraft() )
$pages.include("/openedit/components/html/workflow/approvetoolbar.html", $context)
#end
#end
#end