Changes for page Macros

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

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

Summary

Details

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