Änderungen von Dokument AdminThemesSheet
Zuletzt geändert von Daniel Herrmann am 2025/06/22 18:45
Auf Version
2.1
bearbeitet von Daniel Herrmann
am 2025/06/22 18:45
am 2025/06/22 18:45
Änderungskommentar:
Install extension [org.xwiki.platform:xwiki-platform-administration-ui/17.4.0]
Zusammenfassung
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.dherrman - Inhalt
-
... ... @@ -6,22 +6,6 @@ 6 6 'icontheme' : ['iconTheme'], 7 7 'skin': ['skin'] 8 8 }) 9 -### 10 -### Use the color theme displayer. 11 -### 12 -### It's needed because the XWikiPreferences class might not have been configured to use it, which is the case 13 -### when oldcore creates the class (it is not supposed to know that the Administration Application will be installed). 14 -### 15 -#if ($hasGlobalAdmin) 16 - #set ($class = $xwiki.getClass('XWiki.XWikiPreferences')) 17 - #foreach ($p in $class.XWikiClass.enabledProperties) 18 - #if ($p.name == 'colorTheme' && "$!p.customDisplay" == '') 19 - ## Add the custom displayer (it won't be saved but it will be used for the display of the current document) 20 - $p.setCustomDisplay('{{include reference="XWiki.ColorThemePropertyDisplayer" /}}') 21 - #break 22 - #end 23 - #end 24 -#end 25 25 {{/velocity}} 26 26 27 27 {{include reference="XWiki.AdminFieldsDisplaySheet" /}}