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

# Wiki源代码面板

在2013-10-01 11:53上被Administrator修改
评论 (0) · 附件 (0) · 记录 · 信息
显示行号 {{velocity}} #if($hasAdmin) = $services.localization.render('xe.panels.create') = {{include document="Panels.CreatePanel"/}} #end = $services.localization.render('xe.panels.viewer') = #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()) #foreach ($item in $searchResults) #set ($pdoc = $xwiki.getDocument($item)) #set ($obj = $pdoc.getObject("Panels.PanelClass")) #if ($obj.getProperty('type').value == 'view') * [[$item]] #if ($hasAdmin)[ [[$services.localization.render('edit')>>path:$pdoc.getURL('inline')]] [[$services.localization.render('delete')>>path:$pdoc.getURL('delete')]] ]#end: $obj.description #end #end #if ($hasAdmin) {{box}} [[image:icon:wand]] $services.localization.render('xe.panels.customize') [[$services.localization.render('panelwizard.panelwizard')>>Panels.PanelWizard]]. {{/box}} #end = $services.localization.render('xe.panels.editor') = #foreach ($item in $searchResults) #set ($pdoc = $xwiki.getDocument($item)) #set ($obj = $pdoc.getObject('Panels.PanelClass')) #if ($obj.getProperty('type').value == 'edit') * [[$item]] #if ($hasAdmin)[ [[$services.localization.render('edit')>>path:$pdoc.getURL('inline')]] [[$services.localization.render('delete')>>path:$pdoc.getURL('delete')]] ]#end: $obj.description #end #end {{/velocity}}

# 快速链接

- 首页
- 新闻动态
- FAQ

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