Wiki source code of Extensions

Version 14.2 by Marius Dumitru Florea on 2013/07/15 16:20

Hide last authors
Admin 8.1 1 {{include document="ExtensionCode.RepositoryCode"/}}
Admin 2.1 2
Admin 8.1 3 {{include document="ExtensionCode.CreateExtension"/}}
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)
Admin 8.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("xwiki:Main.WebHome", "register", "xredirect=$doc.externalURL"))}">register</a>.
Admin 2.1 34 #else
Admin 8.1 35 <form action="" 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]]
Admin 2.1 47 #end
48 {{/velocity}}
49 )))
50 )))
51
52 )))
53
54 (% class="clearfloats" %)((()))(%%)
55
Admin 8.1 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" },
Marius Dumitru Florea 14.2 62 "authors" : { "type" : "text", "filterable":"false", "sortable":"false", 'html': true},
Admin 8.1 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)
Admin 2.1 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 )))
Admin 8.1 83 {{/velocity}}

Get Connected