Wiki source code of

Version 16.3 by Vincent Massol on 2010/11/25

Show last authors
1 Please add information about your usage of XWiki by using the form below. This will help promote XWiki and fund its development.
2
3 {{html}}
4 <!--
5 ## ---------------------------------------------------
6 ## Let the user add a XWiki Reference
7 ## ---------------------------------------------------
8 -->
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>
26 <p/>
27 {{/html}}
28
29 = XWiki Badge =
30
31 If your site is powered by XWiki please consider adding this badge to show your appreciation:
32
33 image:80X15.png
34
35 = Testimonials =
36
37 List of [[Testimonials]] found on the web about XWiki.
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}}

Get Connected