Wiki source code of Extensions

Version 18.3 by Mohamed Boussaa on 2015/02/17 11:03

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

Get Connected