Changes for page Macros

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

From version 6.1
edited by Stephanie Pouliquen
on 2008/12/04 15:13
Change comment: There is no comment for this version
To version 10.1
edited by Silvia Rusu
on 2010/03/15 11:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.StephaniePouliquen
1 +XWiki.SilviaRusu
Content
... ... @@ -1,4 +1,4 @@
1 -1 XWiki Enterprise Design Mockups
1 +## 1 XWiki Enterprise Design Mockups
2 2  
3 3  #macro(licenseViolationWarning)
4 4   #set($mockups=$xwiki.mockups)
... ... @@ -35,10 +35,13 @@
35 35   #set($png=$doc.getAttachment("${name}.png"))
36 36   #set($xml=$doc.getAttachment("${name}.bmml"))
37 37   #if($png and $xml)
38 - 1.1 $name
38 + <h1>$name</h1>
39 39  
40 40   <div align="center">
41 - <a href=$doc.getAttachmentURL("${name}.png")"<{image:${name}.png|halign=center|alt=$name|width=800}</a>
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