Wiki source code of Extensions

Version 11.1 by Thomas Mortagne on 2012/01/31 16:13

Show last authors
1 {{include document="ExtensionCode.RepositoryCode"/}}
2
3 {{include document="ExtensionCode.CreateExtension"/}}
4
5 (% class="centered" %) (((
6
7 (% class="extension-link search-extension" %)(((
8 Search Extension...
9 (((
10 {{velocity}}
11 {{html}}
12 <form action="$xwiki.getURL("ExtensionCode.ExtensionSearch")">
13 <input type="hidden" name="space" value="Extension" />
14 <input type="text" name="text" value="extension name..." size="25" class="withTip" id="searchTextInput" />
15 <span class="buttonwrapper">
16 <input class="button" type="submit" value="Search" id="searchSubmit"/>
17 </span>
18 </form>
19 {{/html}}
20 {{/velocity}}
21 )))
22 )))
23
24 (% class="extension-link add-extension" %)(((
25 Contribute Extension...
26
27 (((
28 {{velocity}}
29 {{html}}
30 #if ($isGuest)
31 You need first to <a href="${escapetool.xml($xwiki.getURL('Main.WebHome', 'login', "xredirect=$doc.externalURL"))}">log in</a> or <a href="${escapetool.xml($xwiki.getURL("xwiki:Main.WebHome", "register", "xredirect=$doc.externalURL"))}">register</a>.
32 #else
33 <form action="" id="createextension">
34 <input type="hidden" name="parent" value="Extension.WebHome" />
35 <input type="hidden" name="template" value="ExtensionCode.ExtensionTemplate" />
36 <input type="hidden" name="createExtension" value="true" />
37 <input class="withTip" type="text" name="name" value="extension name..." size="25" id="contributeNameInput"/>
38 <span class="buttonwrapper">
39 <input class="button" type="submit" value="Add" id="contributeSubmit"/>
40 </span>
41 </form>
42 {{/html}}
43 #end
44 {{/velocity}}
45 )))
46 )))
47
48 )))
49
50 (% class="clearfloats" %)((()))(%%)
51
52 {{velocity}}
53 #set($columns = ["name", "summary", "type", "authors", "doc.creationDate", "doc.date"])
54 #set($columnsProperties = {
55 "name" : { "type" : "text", "link" : "view" },
56 "summary" : { "type" : "text" },
57 "type" : { "type" : "list" },
58 "authors" : { "type" : "text"},
59 "doc.creationDate" : { "type" : "date" },
60 "doc.date" : { "type" : "date" }
61 })
62 #set($options = {
63 "tagCloud":true,
64 "resultPage":"ExtensionCode.ExtensionJSON",
65 "className":"ExtensionCode.ExtensionClass",
66 "selectedColumn":"doc.creationDate",
67 "defaultOrder":"desc",
68 "translationPrefix" : "extension.repository.",
69 "rowCount": 30,
70 "extraParams" : 'space=Extension'
71 })
72 #livetable("extensions" $columns $columnsProperties $options)
73
74 (% class="hidden" %) (((
75 Temporary provide a link for robots to index all extension.
76 In the future, this link will be provided via a sitemap.
77 [[ExtensionCode.AllExtensionsList]]
78 )))
79 {{/velocity}}

Get Connected