Changes for page Macros

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

From version 3.1
edited by Jean-Vincent Drean
on 2008/11/20 12:48
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
... ... @@ -38,7 +38,10 @@
38 38   1.1 $name
39 39  
40 40   <div align="center">
41 - {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>
42 42   #if($mockups.canLoadEditor() and $hasEdit)<a href="$xwiki.getURL($doc.fullName, "loadeditor", "mockup=$name")">edit this mockup</a>#end
43 43   </div>
44 44   #else