Wiki source code of SectionsList
Last modified by Eugen Colesnicov on 2013/03/24 06:00
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | {{html wiki="true"}} | ||
3 | == $msg.get("corr.groupSections.caption.sections"): == | ||
4 | #foreach($item in $list) | ||
5 | #set($sDoc = $xwiki.getDocument($item)) | ||
6 | #set($sStr=$sDoc.display('Index')+" - "+$sDoc.display('NameFull')) | ||
7 | #set($sStr2="show="+$item) | ||
8 | <ul class="xlist"> | ||
9 | <li class="xitem xunderline xhighlight space"> | ||
10 | <div class="xitemcontainer"> | ||
11 | <div class="spSpaceName"> | ||
12 | #if($show==$item) | ||
13 | <a href="$xwiki.getURL($doc.getFullName(), 'view', $sStr2)">**$sStr**</a> | ||
14 | #else | ||
15 | <a href="$xwiki.getURL($doc.getFullName(), 'view', $sStr2)">$sStr</a> | ||
16 | #end | ||
17 | </div> | ||
18 | <div class="xshowonhover spSpaceActions"> | ||
19 | <a href="$xwiki.getURL($item, 'inline')" title=$msg.get("corr.groupSections.caption.editLink")> | ||
20 | <img src="$xwiki.getSkinFile('icons/silk/pencil.gif')" alt="edit icon"/> | ||
21 | </a> | ||
22 | <a href="$xwiki.getURL($item, 'view')" title=$msg.get("corr.groupSections.caption.viewLink")> | ||
23 | <img src="$xwiki.getSkinFile('icons/silk/book_open.gif')" alt="external link icon"/> | ||
24 | </a> | ||
25 | </div> | ||
26 | <div class="xspacer"> </div> | ||
27 | </div> | ||
28 | </li> | ||
29 | </ul> | ||
30 | #end | ||
31 | {{/html}} | ||
32 | {{/velocity}} |