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
on 2008/11/05 15:50
Change comment:
There is no comment for this version
To version 8.1
edited by Jean-Vincent Drean
on 2008/12/04 19:35
on 2008/12/04 19:35
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. Admin1 +xwiki:XWiki.jvdrean - 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,13 @@ 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 + ## 42 + ## THANKS NOT TO EDIT THIS MACRO 43 + ## 44 + <a href="$doc.getAttachmentURL("${name}.png")">{image:${name}.png|halign=center|alt=$name}</a> 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