Wiki source code of Extensions

Version 15.1 by Ludovic Dubost on 2014/02/04 09:03

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
21 [[Advanced>>ExtensionCode.ExtensionSearch||queryString="space=Extension"]]
22 {{/velocity}}
23 )))
24 )))
25
26 (% class="extension-link add-extension" %)(((
27 Contribute Extension...
28
29 (((
30 {{velocity}}
31 {{html}}
32 #if ($isGuest)
33 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>.
34 #else
35 <form action="" id="createextension">
36 <input type="hidden" name="parent" value="Extension.WebHome" />
37 <input type="hidden" name="template" value="ExtensionCode.ExtensionTemplate" />
38 <input type="hidden" name="createExtension" value="true" />
39 <input class="withTip" type="text" name="name" value="extension name..." size="25" id="contributeNameInput"/>
40 <span class="buttonwrapper">
41 <input class="button" type="submit" value="Add" id="contributeSubmit"/>
42 </span>
43 </form>
44 {{/html}}
45
46 [[Import>>ExtensionCode.ImportExtension]]
47 #end
48 {{/velocity}}
49 )))
50 )))
51
52 )))
53
54 (% class="clearfloats" %)((()))(%%)
55
56 {{velocity}}
57 #set($columns = ["name", "summary", "type", "authors", "doc.creationDate", "doc.date"])
58 #set($columnsProperties = {
59 "name" : { "type" : "text", "link" : "view" },
60 "summary" : { "type" : "text" },
61 "type" : { "type" : "list" },
62 "authors" : { "type" : "text", "filterable":"true", "sortable":"false", 'html': true},
63 "doc.creationDate" : { "type" : "date" },
64 "doc.date" : { "type" : "date" }
65 })
66 #set($options = {
67 "tagCloud":true,
68 "resultPage":"ExtensionCode.ExtensionJSON",
69 "className":"ExtensionCode.ExtensionClass",
70 "selectedColumn":"doc.creationDate",
71 "defaultOrder":"desc",
72 "translationPrefix" : "extension.repository.",
73 "rowCount": 30,
74 "extraParams" : 'space=Extension'
75 })
76 #livetable("extensions" $columns $columnsProperties $options)
77
78 (% class="hidden" %) (((
79 Temporary provide a link for robots to index all extension.
80 In the future, this link will be provided via a sitemap.
81 [[ExtensionCode.AllExtensionsList]]
82 )))
83 {{/velocity}}

Get Connected