Changes for page Office Server

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

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

Summary

Details

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