Changes for page Macros

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

From version 1.1
edited by Administrator
on 2008/11/05 15:50
Change comment: There is no comment for this version
To version 4.1
edited by Stephanie Pouliquen
on 2008/12/04 15:11
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Admin
1 +XWiki.StephaniePouliquen
Content
... ... @@ -1,3 +1,5 @@
1 +1 XWiki Enterprise Design Mockups
2 +
1 1  #macro(licenseViolationWarning)
2 2   #set($mockups=$xwiki.mockups)
3 3   #if($xwiki.hasAccessLevel('admin'))
... ... @@ -33,8 +33,10 @@
33 33   #set($png=$doc.getAttachment("${name}.png"))
34 34   #set($xml=$doc.getAttachment("${name}.bmml"))
35 35   #if($png and $xml)
38 + 1.1 $name
39 +
36 36   <div align="center">
37 - {image:${name}.png|halign=center|alt=$name}
41 + {image:${name}.png|halign=center|alt=$name|width=400}
38 38   #if($mockups.canLoadEditor() and $hasEdit)<a href="$xwiki.getURL($doc.fullName, "loadeditor", "mockup=$name")">edit this mockup</a>#end
39 39   </div>
40 40   #else