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