General Actions:
Log-in
Wiki:
Courses
▼
:
Document Index
»
Space:
Panels
▼
:
Document Index
»
Page:
WebHome
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to L3D's XWiki for Courses
»
Panels
Wiki source code of
Panels
Last modified by
Administrator
on 2009/09/08 18:00
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: {{velocity}} 2: #if($hasAdmin) 3: 4: = $msg.get("xe.panels.create") = 5: 6: {{include document="Panels.CreatePanel"/}} 7: 8: #end 9: 10: = $msg.get("xe.panels.viewer") = 11: 12: #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='Panels.PanelClass' and doc.fullName!='Panels.PanelTemplate' order by doc.name") 13: #set($searchResults = $xwiki.searchDocuments($sql)) 14: #foreach ($item in $searchResults) 15: #set($pdoc = $xwiki.getDocument($item)) 16: #set($obj = $pdoc.getObject("Panels.PanelClass")) 17: #if($obj.type == 'view') 18: * [[$item]] #if($hasAdmin)[ [[$msg.get("edit")>>$pdoc.getExternalURL("inline")]] [[$msg.get("delete")>>$pdoc.getExternalURL("delete")]] ]#end: $obj.description 19: #end 20: #end 21: 22: #if($hasAdmin) 23: {{box}} 24: {{html}}<img src="$xwiki.getSkinFile("icons/wiz.png")" alt=""/>{{/html}} $msg.get("xe.panels.customize") [[$msg.get("panelwizard.panelwizard")>>Panels.PanelWizard]]. 25: {{/box}} 26: #end 27: 28: = $msg.get("xe.panels.editor") = 29: 30: #foreach ($item in $searchResults) 31: #set($pdoc = $xwiki.getDocument($item)) 32: #set($obj = $pdoc.getObject("Panels.PanelClass")) 33: #if($obj.type == 'edit') 34: * [[$item]] #if($hasAdmin)[ [[$msg.get("edit")>>$pdoc.getExternalURL("inline")]] [[$msg.get("delete")>>$pdoc.getExternalURL("delete")"]] ]#end: $obj.description 35: #end 36: #end 37: {{/velocity}}
Welcome
Welcome to this XWiki!
Quick Links
DSSF 2008
DCNM 2009
HCCF 2010
Document Index
Sandbox
My Recent Modifications
ASSIGNMENTNAME