... |
... |
@@ -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 |
### |