Failed to execute the [velocity] macro. Cause: [null]. Click on this message for details.

Wiki源代码Home

由用户 Yang Sheng 在 2025-02-42,00:07 保存的版本 103.1

显示最后作者
1 == {{displayIcon name="bell"/}} 通知公告 ==
2
3
4 (% style="font-size:16px" %)内部网站,不提供注册功能。
5
6
7 == ==
8
9 == ==
10
11 == ==
12
13
14
15 (% class="col-xs-12 col-sm-6" %)
16 (((
17 === 近期更新 ===
18
19 {{velocity}}
20 ## 获取最近的文档
21 #set($query = $services.query.hql("select doc.fullName from XWikiDocument doc order by doc.date desc"))
22 #set($query = $query.setLimit(5))
23 #set($recentDocs = $query.execute())
24
25 #if($recentDocs.isEmpty())
26 No recent documents found.
27 #else
28 ## 循环显示最近的文档标题
29 #foreach($docFullName in $recentDocs)
30 #set($document = $xwiki.getDocument($docFullName))
31 ## 获取文档标题
32 #set($docTitle = $document.getDisplayTitle())
33
34 ## 显示标题或权限不足消息
35 #if($xwiki.hasAccessLevel('view', 'XWikiGuest', $document.getFullName()))
36 #if($docTitle == '')
37 * Untitled Document
38 #else
39 * $docTitle
40 #end
41 #else
42 * 您的权限不够,请登录查看
43 #end
44 #end
45 #end
46 {{/velocity}}
47
48
49 )))
50
51 (% class="col-xs-12 col-sm-6" %)
52 (((
53 === 相关链接 ===
54
55 (% style="font-size:14px" %)[[北区AIO项目看板(IPV6访问)>>http://nas.nicebro.fun:57567||rel="noopener noreferrer" target="_blank"]]
56 )))
57
58