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
on 2008/11/20 12:48
Change comment:
There is no comment for this version
To version 10.1
edited by Silvia Rusu
on 2010/03/15 11:40
on 2010/03/15 11:40
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:XWiki.jvdrean1 +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$name38 + <h1>$name</h1> 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