0 Votes

Changes for page Office Server

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

From 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]
To 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]

Summary

Details

Page properties
Content
... ... @@ -53,7 +53,10 @@
53 53   ### Info about the place to modify the configuration
54 54   ###
55 55   <p>
56 - #info($escapetool.html($services.localization.render('admin.ooserver.options.source', ['__VALUE__'])).replaceFirst('__VALUE__', '<span class="monospace">xwiki.properties</span>'))
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>
57 57   </p>
58 58   <dl>
59 59   ###
... ... @@ -109,7 +109,7 @@
109 109   #if ("$!homePath" != '')
110 110   $escapetool.html($homePath)
111 111   #else
112 - #error($escapetool.html($services.localization.render('office.configuration.serverpath.error.notSetNotAutodetected')))
115 + <div class="box errormessage">$escapetool.html($services.localization.render('office.configuration.serverpath.error.notSetNotAutodetected'))</div>
113 113   #end
114 114   </dd>
115 115   ###