Wiki source code of Extensions

Version 10.1 by Thomas Mortagne on 2012/01/31 16:12

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 #if ($hasAdmin)
43 [[Import extension>>ExtensionCode.ImportExtension]]
44 #end
45 {{/html}}
46 #end
47 {{/velocity}}
48 )))
49 )))
50
51 )))
52
53 (% class="clearfloats" %)((()))(%%)
54
55 {{velocity}}
56 #set($columns = ["name", "summary", "type", "authors", "doc.creationDate", "doc.date"])
57 #set($columnsProperties = {
58 "name" : { "type" : "text", "link" : "view" },
59 "summary" : { "type" : "text" },
60 "type" : { "type" : "list" },
61 "authors" : { "type" : "text"},
62 "doc.creationDate" : { "type" : "date" },
63 "doc.date" : { "type" : "date" }
64 })
65 #set($options = {
66 "tagCloud":true,
67 "resultPage":"ExtensionCode.ExtensionJSON",
68 "className":"ExtensionCode.ExtensionClass",
69 "selectedColumn":"doc.creationDate",
70 "defaultOrder":"desc",
71 "translationPrefix" : "extension.repository.",
72 "rowCount": 30,
73 "extraParams" : 'space=Extension'
74 })
75 #livetable("extensions" $columns $columnsProperties $options)
76
77 (% class="hidden" %) (((
78 Temporary provide a link for robots to index all extension.
79 In the future, this link will be provided via a sitemap.
80 [[ExtensionCode.AllExtensionsList]]
81 )))
82 {{/velocity}}

Get Connected