#if ( $editPage.getMimeType().startsWith("image/")) #set ( $type = "image" ) #else #set( $type = "file" ) #end $context.putPageValue("type", $type) $context.putPageValue("editPath", $editPage.path) #set( $canedit = $pages.canEdit($editPage.path)) #set( $newcontext = $context.copy($toolbar) ) $!newcontext.setEditable($canedit)
| #if (!($canuseeditmenu == false)) | $pages.include("${page.filerootpath}/overview/actionbuttons.html", $context) | #end
$editPage.getMimeType()
#end #set( $revision = $pageManager.getLatestVersion($editPage.path) ) #if( $revision.author ) [[Last Edited By]]: $revision.author on #end $editPage.getLastModified("MM/dd/yy h:mm a") $context.getPageProperty('text.filesize'): $filesize.inEnglish( $editPage.path ) #else [[Does not exist]] #end