Changes for page Attachments
Last modified by Ruud de Jong on 2024/07/13 22:47
From version 3.1
edited by Bart Vastenhouw
on 2023/01/16 11:14
on 2023/01/16 11:14
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-attachment-ui/14.10.3]
To version 4.1
edited by Ruud de Jong
on 2023/02/15 13:25
on 2023/02/15 13:25
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-attachment-ui/15.0]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. BartVastenhouw1 +xwiki:XWiki.RuuddeJong
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -123,7 +123,7 @@ 123 123 #if ($displayImage) 124 124 (% class="$!{cssClass}#if (!$attachment) hidden#end" %)(((#if ("$!{attachmentResource}" != '' || $forceElement)#if($withLink)[[#end[[image:$services.rendering.escape(${attachmentResource}, 'xwiki/2.1')$!{imageParams}]]#if($withLink)>>attach:$services.rendering.escape(${attachmentResource},'xwiki/2.1')||rel=lightbox]]#{end}#end)))## 125 125 #else 126 - (% class="$!{cssClass}" %)#if ("$!{attachmentResource}" != '' || $forceElement)#if ($withLink)[[attach:${attachmentResource}||rel=__blank]]#{else}(% class="displayed" %)#if($targetPermView)$services.rendering.escape($!{attachmentName}, 'xwiki/2.1')#{else}Access Denied#{end}(% %)#{end}#end(%%)## 126 + (% class="$!{cssClass}" %)#if ("$!{attachmentResource}" != '' || $forceElement)#if ($withLink)[[attach:${attachmentResource}||rel=__blank]]#{else}(% class="displayed" %)#if($targetPermView)$!{services.rendering.escape($!{attachmentName}, 'xwiki/2.1')}#{else}Access Denied#{end}(% %)#{end}#end(%%)## 127 127 #end 128 128 #end 129 129