一般动作
登录
Wiki: BROPEN ▼: Document Index
»
Space: Panels ▼: Document Index
»
Page: WebHome
搜索
default
页面动作
导出 ▼: 以PDF格式导出 以RTF格式导出 以HTML格式导出
更多动作 ▼: 打印预览 察看源码
欢迎进入Wiki » 面板

# Wiki源代码面板

在2013-10-01 11:53上被Administrator修改
评论 (0) · 附件 (0) · 记录 · 信息
隐藏行号 1: {{velocity}} 2: #if($hasAdmin) 3: 4: = $services.localization.render('xe.panels.create') = 5: 6: {{include document="Panels.CreatePanel"/}} 7: 8: #end 9: = $services.localization.render('xe.panels.viewer') = 10: 11: #set ($searchResults = $services.query.xwql('from doc.object(Panels.PanelClass) as panel where doc.fullName<>?1 order by doc.name').bindValue(1, 'Panels.PanelTemplate').execute()) 12: #foreach ($item in $searchResults) 13: #set ($pdoc = $xwiki.getDocument($item)) 14: #set ($obj = $pdoc.getObject("Panels.PanelClass")) 15: #if ($obj.getProperty('type').value == 'view') 16: * [[$item]] #if ($hasAdmin)[ [[$services.localization.render('edit')>>path:$pdoc.getURL('inline')]] [[$services.localization.render('delete')>>path:$pdoc.getURL('delete')]] ]#end: $obj.description 17: #end 18: #end 19: 20: #if ($hasAdmin) 21: {{box}} 22: [[image:icon:wand]] $services.localization.render('xe.panels.customize') [[$services.localization.render('panelwizard.panelwizard')>>Panels.PanelWizard]]. 23: {{/box}} 24: 25: #end 26: = $services.localization.render('xe.panels.editor') = 27: 28: #foreach ($item in $searchResults) 29: #set ($pdoc = $xwiki.getDocument($item)) 30: #set ($obj = $pdoc.getObject('Panels.PanelClass')) 31: #if ($obj.getProperty('type').value == 'edit') 32: * [[$item]] #if ($hasAdmin)[ [[$services.localization.render('edit')>>path:$pdoc.getURL('inline')]] [[$services.localization.render('delete')>>path:$pdoc.getURL('delete')]] ]#end: $obj.description 33: #end 34: #end 35: {{/velocity}}

# 快速链接

- 首页
- 新闻动态
- FAQ

Copyright © 2013 北京博瑞开源软件有限公司
京ICP备12048974号