0 Votes

Changes for page Office Server

Last modified by Ryan C on 2025/04/30 08:04

From version 2.1
edited by Ryan C
on 2025/04/14 06:58
Change comment: Install extension [org.xwiki.platform:xwiki-platform-office-ui/17.2.1]
To version 3.1
edited by Ryan C
on 2025/04/30 08:04
Change comment: Install extension [org.xwiki.platform:xwiki-platform-office-ui/17.3.0]

Summary

Details

Page properties
Content
... ... @@ -53,10 +53,7 @@
53 53   ### Info about the place to modify the configuration
54 54   ###
55 55   <p>
56 - <span class="box infomessage">
57 - ## TODO: we do not escape this string because we inject some HTML code. We should improve it.
58 - $services.localization.render('admin.ooserver.options.source', ['<span class="monospace">xwiki.properties</span>'])
59 - </span>
56 + #info($escapetool.html($services.localization.render('admin.ooserver.options.source', ['__VALUE__'])).replaceFirst('__VALUE__', '<span class="monospace">xwiki.properties</span>'))
60 60   </p>
61 61   <dl>
62 62   ###
... ... @@ -112,7 +112,7 @@
112 112   #if ("$!homePath" != '')
113 113   $escapetool.html($homePath)
114 114   #else
115 - <div class="box errormessage">$escapetool.html($services.localization.render('office.configuration.serverpath.error.notSetNotAutodetected'))</div>
112 + #error($escapetool.html($services.localization.render('office.configuration.serverpath.error.notSetNotAutodetected')))
116 116   #end
117 117   </dd>
118 118   ###

XWiki AI Chat