Wiki source code of

Version 11.1 by kuchumovn on 2009/09/03

Hide last authors
kuchumovn 10.1 1 = Projects Powered by XWiki =
Vincent Massol 9.1 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
kuchumovn 11.1 5 {{velocity filter="none"}}
6 {{html clean="false" wiki="true"}}
Vincent Massol 9.1 7 ## ---------------------------------------------------
8 ## Let the user add a XWiki Reference
9 ## ---------------------------------------------------
kuchumovn 11.1 10
Vincent Massol 9.1 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>
kuchumovn 10.1 28 <p/>
29 //You can also add yourself to the [[XWiki Users Map>>http://www.frappr.com/xwikiusers]].//
Vincent Massol 9.1 30
kuchumovn 10.1 31 == XWiki Badge ==
Vincent Massol 9.1 32
33 If your site is powered by XWiki please consider adding this badge to show your appreciation:
kuchumovn 11.1 34 <p/>
kuchumovn 10.1 35 image:80X15.png
Vincent Massol 9.1 36
kuchumovn 10.1 37 == Project List ==
Vincent Massol 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.
kuchumovn 11.1 40 <p/>
41 #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 at contact@xwiki.com')
Vincent Massol 9.1 42
43 #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")
44 #set ($references= $xwiki.searchDocuments($sql))
kuchumovn 11.1 45 <p/>
kuchumovn 10.1 46 //There are currently $references.size() references listed on this page.//
kuchumovn 11.1 47 <p/>
Vincent Massol 9.1 48 <table id="referenceTable" class="grid sortable filterable doOddEven" cellpadding="0" cellspacing="0" border="0">
49 <tr class="sortHeader">
50 <th class="unsortable noFilter">Image</th>
51 <th>Project</th>
52 <th>Organization</th>
53 <th class="unsortable">Usage</th>
54 </tr>
55 #foreach ($reference in $references)
56 <tr style="cursor: pointer;" onclick="window.location='$xwiki.getURL($reference)'">
57 #set ($refDoc = $xwiki.getDocument($reference))
58 <td>
59 #if ($refDoc.attachmentList.size() > 0)
60 #set ($attach = $refDoc.attachmentList.get(0))
61 <img style="width: 100px; height: 100px; border: 1px; border-color: #000000; border-style: solid;" src="$refDoc.getAttachmentURL($attach.filename)"/>
62 #else
63 <img style="width: 100px; height: 87px; border: 1px; border-color: #000000; border-style: solid;" src="$doc.getAttachmentURL("XWikiReferenceThumbnail.png")" />
64 #end
65 </td>
66 <td>
kuchumovn 10.1 67 **$refDoc.display("Project")**
Vincent Massol 9.1 68 </td>
69 <td>
70 $refDoc.display("Organization")
71 </td>
72 <td>
73 $refDoc.display("Usage").trim()
74 </td>
75 </tr>
76 #end
77 </table>
kuchumovn 11.1 78 {{/html}}
79 {{/velocity}}

Get Connected