Changes for page ClassEditSheet
Last modified by Thomas Coelho (local) on 2023/08/09 10:59
From version 1.1
edited by Laura Sagunski
on 2022/09/27 12:40
on 2022/09/27 12:40
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/14.6]
To version 2.1
edited by Thomas Coelho
on 2023/02/27 13:38
on 2023/02/27 13:38
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/15.1]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. sagunski1 +xwiki:XWiki.thw - Content
-
... ... @@ -66,7 +66,7 @@ 66 66 #foreach ($category in $services.query.xwql($categoryListStatement).execute()) 67 67 #set ($categoryDoc = $xwiki.getDocument($category)) 68 68 <li> 69 - <div class="category">$categoryDoc.plainTitle</div> 69 + <div class="category">$escapetool.xml($categoryDoc.plainTitle)</div> 70 70 #set ($formFieldsForCategoryStatement = "from doc.object($formFieldClassName) as field where field.category = :category order by field.priority") 71 71 #set ($formFieldsForCategoryQuery = $services.query.xwql($formFieldsForCategoryStatement).bindValue('category', $category)) 72 72 <ul> ... ... @@ -81,7 +81,7 @@ 81 81 #else 82 82 #set ($formFieldIconURL = $formFieldDoc.getAttachmentURL($formFieldIcon)) 83 83 #end 84 - #set ($formFieldIconRendered = "<img src='$formFieldIconURL' alt='$escapetool.xml($formFieldDoc.plainTitle)' class='icon' />") 84 + #set ($formFieldIconRendered = "<img src='$escapetool.xml($formFieldIconURL)' alt='$escapetool.xml($formFieldDoc.plainTitle)' class='icon' />") 85 85 #end 86 86 <li class="field"> 87 87 $formFieldIconRendered ... ... @@ -101,7 +101,7 @@ 101 101 'field': $formFieldDoc.fullName, 102 102 'xeditmode': 'text' 103 103 }))) 104 - <input type="hidden" value="$fieldURL" class="data"/> 104 + <input type="hidden" value="$escapetool.xml($fieldURL)" class="data"/> 105 105 </li> 106 106 #end 107 107 </ul>