... |
... |
@@ -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 |
|
... |
... |
@@ -159,7 +159,7 @@ |
159 |
159 |
#elseif ($xcontext.action == 'inline' || $xcontext.action == 'edit') |
160 |
160 |
(% class="attachment-picker" %)(((## |
161 |
161 |
#attachmentPicker_displayAttachment($propValue $displayImage false true) #attachmentPicker_displayButton()## |
162 |
|
- {{html}}<input type="hidden" name="$escapetool.xml("${classname}_${object}_${property}")" value="$escapetool.xml("${propValue}")" class="property-reference"/>{{/html}}## |
|
162 |
+ {{html}}<input type="hidden" name="${classname}_${object}_${property}" value="${propValue}" class="property-reference"/>{{/html}}## |
163 |
163 |
))) |
164 |
164 |
#else |
165 |
165 |
#attachmentPicker_displayAttachment($propValue $displayImage $link false) |