Änderungen von Dokument User Directory Macros
Zuletzt geändert von admin am 2023/07/25 15:00
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -238,8 +238,7 @@ 238 238 #macro (displayProperty $propertyName $object $action) 239 239 #set ($propertyClass = $object.xWikiClass.get($propertyName)) 240 240 #set ($isCheckbox = $propertyClass.getValue('displayFormType') == 'checkbox') 241 - #set ($fieldDisplay = $stringtool.removeEnd($stringtool.removeStart($object.display($propertyName, $action), 242 - '{{html clean="false" wiki="false"}}'), '{{/html}}')) 241 + #set ($fieldDisplay = "#unwrapXPropertyDisplay($object.display($propertyName, $action))") 243 243 <dt> 244 244 <label #if ($action == 'edit' && !$isCheckbox) 245 245 for="$escapetool.xml("${object.xWikiClass.name}_${object.number}_$propertyName")"#end> ... ... @@ -271,7 +271,8 @@ 271 271 $escapetool.url({ 272 272 'customize': true, 273 273 'action': 'reset', 274 - 'xredirect': $xredirect 273 + 'xredirect': $xredirect, 274 + 'form_token': $services.csrf.token 275 275 }), 276 276 "$doc.fullName", 277 277 'customize=true'