Wiki源代码Home
隐藏最后作者
author | version | line-number | content |
---|---|---|---|
![]() |
58.2 | 1 | == {{displayIcon name="bell"/}} 通知公告 == |
![]() |
1.1 | 2 | |
![]() |
57.1 | 3 | |
![]() |
59.2 | 4 | (% style="font-size:16px" %)内部网站,不提供注册功能。 |
![]() |
1.1 | 5 | |
![]() |
59.2 | 6 | |
![]() |
58.2 | 7 | == == |
![]() |
1.1 | 8 | |
![]() |
58.2 | 9 | == == |
![]() |
1.1 | 10 | |
![]() |
58.2 | 11 | == == |
![]() |
1.1 | 12 | |
13 | |||
![]() |
59.1 | 14 | |
![]() |
60.1 | 15 | (% class="col-xs-12 col-sm-6" %) |
![]() |
1.1 | 16 | ((( |
![]() |
59.3 | 17 | === 近期更新 === |
![]() |
99.1 | 18 | |
![]() |
70.1 | 19 | {{velocity}} |
![]() |
101.1 | 20 | #set($query = $xwiki.getStore().newQuery("select doc.fullName from XWikiDocument doc order by doc.date desc", "hql")) |
21 | #set($query.limit = 5) | ||
![]() |
82.1 | 22 | #set($recentDocs = $query.execute()) |
![]() |
76.1 | 23 | |
24 | #if($recentDocs.isEmpty()) | ||
![]() |
77.1 | 25 | No recent documents found. |
![]() |
76.1 | 26 | #else |
![]() |
98.1 | 27 | #foreach($docFullName in $recentDocs) |
![]() |
95.1 | 28 | #set($document = $xwiki.getDocument($docFullName)) |
![]() |
101.1 | 29 | #set($docTitle = $document.getDisplayTitle()) |
![]() |
98.1 | 30 | |
![]() |
101.1 | 31 | #if($xwiki.hasAccessLevel('view', 'XWikiGuest', $docFullName)) |
32 | ## 如果访客有权限查看文档,则显示标题 | ||
33 | #if($docTitle == '') | ||
34 | * Untitled Document | ||
![]() |
96.1 | 35 | #else |
36 | * $docTitle | ||
37 | #end | ||
![]() |
89.1 | 38 | #else |
![]() |
101.1 | 39 | ## 如果访客没有权限,显示权限不足的消息 |
40 | * 您的权限不够,请登录查看 | ||
![]() |
89.1 | 41 | #end |
![]() |
101.1 | 42 | |
![]() |
76.1 | 43 | #end |
![]() |
72.1 | 44 | #end |
![]() |
65.1 | 45 | {{/velocity}} |
![]() |
101.1 | 46 | |
47 | |||
![]() |
1.1 | 48 | ))) |
![]() |
38.1 | 49 | |
![]() |
60.1 | 50 | (% class="col-xs-12 col-sm-6" %) |
![]() |
38.1 | 51 | ((( |
![]() |
58.8 | 52 | === 相关链接 === |
![]() |
43.1 | 53 | |
![]() |
71.1 | 54 | (% style="font-size:14px" %)[[北区AIO项目看板(IPV6访问)>>http://nas.nicebro.fun:57567||rel="noopener noreferrer" target="_blank"]] |
![]() |
38.1 | 55 | ))) |
![]() |
61.1 | 56 | |
57 |