Исходный код вики 00. Как пользоваться базой знаний
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | #set($pubRefs = $doc.getChildrenReferences()) | ||
3 | #foreach($pubRef in $pubRefs) | ||
4 | #if($pubRef.toString().contains("Как пользоваться базой знаний")) | ||
5 | #set($pub = $xwiki.getDocument($pubRef)) | ||
6 | #set($title = $pub.getTitle()) | ||
7 | #if($title.equals("Руководство для пользователя")) | ||
8 | * [[$title>>$pubRef]] | ||
9 | #else | ||
10 | #if($hasAdmin) | ||
11 | * [[$title>>$pubRef]] | ||
12 | #end | ||
13 | #end | ||
14 | #end | ||
15 | #end | ||
16 | {{/velocity}} |