Changes for page Macros

Last modified by Ecaterina Moraru on 2013/11/13 15:45

From version 2.1
edited by Jean-Vincent Drean
on 2008/11/20 12:46
Change comment: There is no comment for this version
To version 8.1
edited by Jean-Vincent Drean
on 2008/12/04 19:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,5 @@
1 1  1 XWiki Enterprise Design Mockups
2 2  
3 -#toc("" "" "")
4 -
5 5  #macro(licenseViolationWarning)
6 6   #set($mockups=$xwiki.mockups)
7 7   #if($xwiki.hasAccessLevel('admin'))
... ... @@ -40,7 +40,10 @@
40 40   1.1 $name
41 41  
42 42   <div align="center">
43 - {image:${name}.png|halign=center|alt=$name}
41 + ##
42 + ## THANKS NOT TO EDIT THIS MACRO
43 + ##
44 + <a href="$doc.getAttachmentURL("${name}.png")">{image:${name}.png|halign=center|alt=$name}</a>
44 44   #if($mockups.canLoadEditor() and $hasEdit)<a href="$xwiki.getURL($doc.fullName, "loadeditor", "mockup=$name")">edit this mockup</a>#end
45 45   </div>
46 46   #else