Changes for page Ticknock2

Last modified by David De La Harpe Golden on 2020/08/09 18:29

From version 5.1
edited by Administrator
on 2018/07/25 08:39
Change comment: There is no comment for this version
To version 6.1
edited by David De La Harpe Golden
on 2018/08/11 19:38
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.admin
1 +XWiki.david
Content
... ... @@ -1,14 +1,16 @@
1 1  {{velocity}}
2 -#foreach($attach in $doc.getAttachmentList())
3 -#set($docName = $doc.fullName)
4 -[[[[image:$attach.filename||height="48"]]>>attach:$attach.filename]] #end
2 +#set($alist = $sorttool.sort($doc.getAttachmentList(),["filename"]))
3 +#foreach($attach in $alist)
4 +(% class="thumb" data-imgnum="$foreach.index" %)[[[[image:$attach.filename||height="48"]]>>attach:$attach.filename]] #end
5 5  
6 6  
7 7  {{gallery width="" height=""}}
8 -#foreach($attach in $doc.getAttachmentList())
8 +#foreach($attach in $alist)
9 9  [[image:$attach.filename]]
10 10  #end
11 11  {{/gallery}}
12 12  
13 +#set($discard = $xwiki.jsx.use("Gallery.Ext.ThumbWiring.WebHome"))
13 13  
14 14  {{/velocity}}
16 +