### ### Main "edit" template ### ### General wrapper for edit actions ### ## ## Determine what editor to show ## $xwiki.jsfx.use('js/scriptaculous/scriptaculous.js') $xwiki.jsfx.use('js/xwiki/actionbuttons/actionButtons.js', true) #if("$!editor" == '') #set($editor = $request.getParameter('editor')) #if("$!editor" == '') #if(($xwiki.getUserPreference('editor') == 'Wysiwyg') && ($doc.SyntaxId != 'xwiki/1.0' || !$doc.isAdvancedContent())) #set($editor = 'wysiwyg') #else #set($editor = 'wiki') #end #end #end ## ## "Compute" the title ## #set($title = $xwiki.parseContent($msg.get('editpageTitle'))) ## ## Header ## #template("xwikivars.vm") #template("layoutvars.vm") #template("htmlheader.vm") #template("header.vm") #template("menuedit.vm") #if($editor == 'wiki' || $editor == 'wysiwyg')
#end #template("footer.vm") #template("htmlfooter.vm")