Wiki source code of $msg.get("xe.index.documents")

Version 3.1 by Sergiu Dumitriu on 2010/03/03 19:49

Show last authors
1 {{velocity}}
2 #if("$!{view}" == '')
3 #set($view = $request.getParameter('view'))
4 #if("$!{view}" == '')
5 #set ($view = 'index')
6 #end
7 #end
8 #macro(indexTab $tabname $idSuffix $translationKeySuffix)
9 <li id="xwiki${idSuffix}"#if($view == $tabname) class="active"#end><a href="$doc.getURL('view', "view=${tabname}&amp;$!param")">$msg.get("xe.index${translationKeySuffix}")</a></li>
10 #end
11 {{html}}
12 <div class="floatcontainer">
13 <ul class="xwikitabbar">
14 #indexTab('index', 'index', '')
15 #indexTab('tree', 'treeview', '.tree')
16 #indexTab('orphans', 'orphansview', '.orphaned')
17 #indexTab('attachments', 'attachments', '.attachments')
18 #indexTab('deletedDocs', 'deletedDocs', '.documentsTrash')
19 #indexTab('deletedAttachments', 'deletedAttachments', '.attachmentsTrash')
20 </ul>
21 </div>
22 <div class="xwikitabpanescontainer">
23 {{/html}}
24 ## ==============================================
25 ## If view=index then displays the index of pages
26 ## ==============================================
27 #if ($view == 'index')
28 {{include document="XWiki.Tableview" /}}
29 #elseif ($view == 'tree')
30 ## ==============================================
31 ## If view=tree then displays the treeview
32 ## ==============================================
33 {{include document="XWiki.Treeview" /}}
34 #elseif ($view == 'attachments')
35 ## ==============================================
36 ## If view=attachments then display attachments
37 ## ==============================================
38 {{include document="XWiki.AllAttachments" /}}
39 #elseif ($view == 'orphans')
40 ## ==============================================
41 ## If view=orphans then display orphans
42 ## ==============================================
43 {{include document="XWiki.OrphanedPages" /}}
44 #elseif ($view == 'deletedDocs')
45 ## ==============================================
46 ## If view=deletedDocs then display the recycle bin
47 ## ==============================================
48 {{include document="XWiki.DeletedDocuments" /}}
49 #elseif ($view == 'deletedAttachments')
50 ## ==============================================
51 ## If view=deletedAttachments then display the attachment trash
52 ## ==============================================
53 {{include document="XWiki.DeletedAttachments" /}}
54 #end
55 {{html}}
56 </div>
57 {{/html}}
58 {{/velocity}}