forked from xwiki/xwiki-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
view.vm
36 lines (36 loc) · 837 Bytes
/
view.vm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
###
### Main "view" template
###
### General wrapper for view actions
###
#if ($request.getParameter("raw").equals("1"))
#template("code.vm")
#else
#template("startpage.vm")
#if("$!viewer" == '')
#set($viewer = $request.getParameter('viewer'))
#end
#if("$!viewer" == '')
#set($viewer = 'content')
#end
<div class="main layoutsubsection">
#if($displayContentMenu)
<div id="contentmenu" class="actionmenu">
#template("contentmenu.vm")
</div>
#end
<div id="mainContentArea">
#template("hierarchy.vm")
#if($viewer == 'content')
#template("contentview.vm")
#else
#template("${viewer}.vm")
#end
<div class="clearfloats"></div>
</div>## mainContentArea
#if($viewer == 'content' && $displayDocExtra)
#template("docextra.vm")
#end
</div>## main
#template("endpage.vm")
#end