Wiki source code of $msg.get("xe.index.documents")
Version 1.1 by Admin on 2009/09/09
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | #if((!$view) || ($view == "")) | ||
3 | #set($view = $request.getParameter("view")) | ||
4 | #if((!$view) || ($view == "")) | ||
5 | #set ($view = "index") | ||
6 | #end | ||
7 | #end | ||
8 | {{html}} | ||
9 | <div class="floatcontainer"> | ||
10 | <ul class="xwikitabbar"> | ||
11 | <li id="xwikiindex"#if($view == "index") class="active"#end><a href="$doc.getURL("view", "view=index&$!param")">$msg.get("xe.index")</a></li> | ||
12 | |||
13 | <li id="xwikitreeview"#if($view == "tree") class="active"#end><a href="$doc.getURL("view", "view=tree&$!param")">$msg.get("xe.index.tree")</a></li> | ||
14 | <li id="xwikiorphansview"#if($view == "orphans") class="active"#end><a href="$doc.getURL("view", "view=orphans&$!param")">$msg.get("xe.index.orphaned")</a></li> | ||
15 | <li id="xwikiattachments"#if($view == "attachments") class="active"#end><a href="$doc.getURL("view", "view=attachments&$!param")">$msg.get("xe.index.attachments")</a></li> | ||
16 | |||
17 | </ul> | ||
18 | </div> | ||
19 | <div class="xwikitabpanescontainer"> | ||
20 | {{/html}} | ||
21 | ## ============================================== | ||
22 | ## If view=index then displays the index of pages | ||
23 | ## ============================================== | ||
24 | #if ($view == "index") | ||
25 | {{include document="XWiki.Tableview" /}} | ||
26 | #elseif ($view == "tree") | ||
27 | ## ============================================== | ||
28 | ## If view=tree then displays the treeview | ||
29 | ## ============================================== | ||
30 | {{include document="XWiki.Treeview" /}} | ||
31 | #elseif ($view == "attachments") | ||
32 | ## ============================================== | ||
33 | ## If view=attachments then display attachments | ||
34 | ## ============================================== | ||
35 | {{include document="XWiki.AllAttachments" /}} | ||
36 | #else | ||
37 | ## ============================================== | ||
38 | ## If view=orphans then display orphans | ||
39 | ## ============================================== | ||
40 | {{include document="XWiki.OrphanedPages" /}} | ||
41 | #end | ||
42 | {{html}} | ||
43 | </div> | ||
44 | {{/html}} | ||
45 | {{/velocity}} |