Changes for page Office Server

Last modified by SuperNico Laub on 2025/09/18 17:55

From version 1.1
edited by superadmin
on 2025/05/22 17:44
Change comment: Install extension [org.xwiki.platform:xwiki-platform-office-ui/16.10.8]
To version 2.1
edited by SuperNico Laub
on 2025/09/18 17:55
Change comment: Install extension [org.xwiki.platform:xwiki-platform-office-ui/17.7.0]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +xwiki:XWiki.supernico
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   ###