Wiki source code of Projects Powered by XWiki
Version 13.1 by Asiri Rathnayake on 2009/09/25
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
9.1 | 1 | Please add information about your usage of XWiki by using the form below. This will help promote XWiki and fund its development. |
2 | |||
![]() |
12.1 | 3 | {{html}} |
4 | <!-- | ||
![]() |
9.1 | 5 | ## --------------------------------------------------- |
6 | ## Let the user add a XWiki Reference | ||
7 | ## --------------------------------------------------- | ||
![]() |
12.1 | 8 | --> |
![]() |
9.1 | 9 | <form action="" id="newreference"> |
10 | <input type="hidden" name="parent" value="References.WebHome" /> | ||
11 | <input type="hidden" name="template" value="XWiki.ReferenceClassTemplate" /> | ||
12 | <input type="hidden" name="sheet" value="1" /> | ||
13 | <input type="hidden" name="webname" value="References"/> | ||
14 | <input type="hidden" name="name" value=""/> | ||
15 | <table> | ||
16 | <tr> | ||
17 | <td> | ||
18 | <input type="text" name="reference" value="" size="30"/> | ||
19 | </td> | ||
20 | <td> | ||
21 | <input type="submit" value="Add this Project" onclick='if (updateName(this.form.reference,this.form.name)) { action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }' /> | ||
22 | </td> | ||
23 | </tr> | ||
24 | </table> | ||
25 | </form> | ||
![]() |
10.1 | 26 | <p/> |
![]() |
12.1 | 27 | {{/html}} |
28 | |||
![]() |
10.1 | 29 | //You can also add yourself to the [[XWiki Users Map>>http://www.frappr.com/xwikiusers]].// |
![]() |
9.1 | 30 | |
![]() |
12.2 | 31 | = XWiki Badge = |
![]() |
9.1 | 32 | |
33 | If your site is powered by XWiki please consider adding this badge to show your appreciation: | ||
![]() |
12.1 | 34 | |
![]() |
10.1 | 35 | image:80X15.png |
![]() |
9.1 | 36 | |
![]() |
12.2 | 37 | = Project List = |
![]() |
9.1 | 38 | |
39 | Click on the projects in the table to get more information. You can search for a project using the filters below. | ||
40 | |||
![]() |
12.1 | 41 | {{velocity}}{{html wiki="true"}} |
42 | #info('Project using XWiki we know about are most of the time added to this list by default. Please register (top right) to add or edit the details of a project. If you would like your project to be removed from the list below please send us an email on the [[XWiki User Mailing list>>dev:Community.MailingLists]].') | ||
43 | {{/html}}{{/velocity}} | ||
44 | |||
45 | {{velocity}}{{html wiki="true"}} | ||
![]() |
9.1 | 46 | #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ReferenceClass' and obj.name<>'XWiki.ReferenceClassTemplate' order by doc.name asc") |
47 | #set ($references= $xwiki.searchDocuments($sql)) | ||
![]() |
12.1 | 48 | |
![]() |
10.1 | 49 | //There are currently $references.size() references listed on this page.// |
![]() |
9.1 | 50 | <table id="referenceTable" class="grid sortable filterable doOddEven" cellpadding="0" cellspacing="0" border="0"> |
51 | <tr class="sortHeader"> | ||
52 | <th class="unsortable noFilter">Image</th> | ||
53 | <th>Project</th> | ||
54 | <th>Organization</th> | ||
55 | <th class="unsortable">Usage</th> | ||
56 | </tr> | ||
57 | #foreach ($reference in $references) | ||
58 | <tr style="cursor: pointer;" onclick="window.location='$xwiki.getURL($reference)'"> | ||
59 | #set ($refDoc = $xwiki.getDocument($reference)) | ||
60 | <td> | ||
61 | #if ($refDoc.attachmentList.size() > 0) | ||
62 | #set ($attach = $refDoc.attachmentList.get(0)) | ||
63 | <img style="width: 100px; height: 100px; border: 1px; border-color: #000000; border-style: solid;" src="$refDoc.getAttachmentURL($attach.filename)"/> | ||
64 | #else | ||
65 | <img style="width: 100px; height: 87px; border: 1px; border-color: #000000; border-style: solid;" src="$doc.getAttachmentURL("XWikiReferenceThumbnail.png")" /> | ||
66 | #end | ||
67 | </td> | ||
68 | <td> | ||
![]() |
10.1 | 69 | **$refDoc.display("Project")** |
![]() |
9.1 | 70 | </td> |
71 | <td> | ||
72 | $refDoc.display("Organization") | ||
73 | </td> | ||
74 | <td> | ||
75 | $refDoc.display("Usage").trim() | ||
76 | </td> | ||
77 | </tr> | ||
78 | #end | ||
79 | </table> | ||
![]() |
12.1 | 80 | {{/html}}{{/velocity}} |
81 |