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