Wiki source code of Extensions

Version 23.1 by Thomas Mortagne on 2016/02/23 14:39

Hide last authors
Vincent Massol 18.1 1 {{include reference="ExtensionCode.RepositoryCode"/}}
Admin 2.1 2
Vincent Massol 18.1 3 {{include reference="ExtensionCode.CreateExtension"/}}
Admin 8.1 4
Admin 2.1 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" />
Admin 8.1 14 <input type="text" name="text" value="extension name..." size="25" class="withTip" id="searchTextInput" />
Admin 2.1 15 <span class="buttonwrapper">
Admin 8.1 16 <input class="button" type="submit" value="Search" id="searchSubmit"/>
Admin 2.1 17 </span>
18 </form>
19 {{/html}}
Admin 12.1 20
21 [[Advanced>>ExtensionCode.ExtensionSearch||queryString="space=Extension"]]
Admin 2.1 22 {{/velocity}}
23 )))
24 )))
25
26 (% class="extension-link add-extension" %)(((
27 Contribute Extension...
28
29 (((
30 {{velocity}}
31 {{html}}
32 #if ($isGuest)
Vincent Massol 18.1 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>.
Admin 2.1 34 #else
Thomas Mortagne 22.1 35 <form action="$doc.getURL()" id="createextension">
Admin 2.1 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" />
Admin 8.1 39 <input class="withTip" type="text" name="name" value="extension name..." size="25" id="contributeNameInput"/>
Admin 2.1 40 <span class="buttonwrapper">
Admin 8.1 41 <input class="button" type="submit" value="Add" id="contributeSubmit"/>
Admin 2.1 42 </span>
43 </form>
44 {{/html}}
Admin 12.1 45
46 [[Import>>ExtensionCode.ImportExtension]]
Mohamed Boussaa 18.3 47
Mohamed Boussaa 19.1 48 [[How to contribute?>>EXOExtension.ContributingXWikiXarExtensions]]
Admin 2.1 49 #end
50 {{/velocity}}
51 )))
52 )))
53
54 )))
55
56 (% class="clearfloats" %)((()))(%%)
57
Admin 8.1 58 {{velocity}}
Thomas Mortagne 19.3 59 #set($columns = ["name", "summary", "type", "category", "authors", "doc.creationDate", "doc.date"])
Admin 8.1 60 #set($columnsProperties = {
61 "name" : { "type" : "text", "link" : "view" },
62 "summary" : { "type" : "text" },
63 "type" : { "type" : "list" },
Thomas Mortagne 19.4 64 "category" : { "type" : "list" },
Thomas Mortagne 23.1 65 "authors" : { "type" : "list", 'html': true},
Admin 8.1 66 "doc.creationDate" : { "type" : "date" },
67 "doc.date" : { "type" : "date" }
68 })
69 #set($options = {
70 "tagCloud":true,
71 "resultPage":"ExtensionCode.ExtensionJSON",
72 "className":"ExtensionCode.ExtensionClass",
73 "selectedColumn":"doc.creationDate",
74 "defaultOrder":"desc",
75 "translationPrefix" : "extension.repository.",
76 "rowCount": 30,
77 "extraParams" : 'space=Extension'
78 })
79 #livetable("extensions" $columns $columnsProperties $options)
Admin 2.1 80
81 (% class="hidden" %) (((
82 Temporary provide a link for robots to index all extension.
83 In the future, this link will be provided via a sitemap.
84 [[ExtensionCode.AllExtensionsList]]
85 )))
Admin 8.1 86 {{/velocity}}

Get Connected