Changes for page Administration

Last modified by Leon Poon on 2025/05/12 14:26

From version 4.1
edited by Leon Poon
on 2020/01/05 06:16
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/11.10.2]
To version 1.1
edited by Leon Poon
on 2018/12/16 14:31
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/10.10]

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -$services.localization.render("administration.title#if ($doc.documentReference.name == 'WebPreferences').page#elseif ($doc.fullName == 'XWiki.XWikiPreferences')#if ($xcontext.isMainWiki()).global#{else}.wiki#end#end")
1 +$services.localization.render("administration.title#if ($doc.name == 'WebPreferences').page#elseif ($doc.fullName == 'XWiki.XWikiPreferences')#if ($xcontext.isMainWiki()).global#{else}.wiki#end#end")
Content
... ... @@ -16,9 +16,6 @@
16 16  ##
17 17  ## Admin menu map
18 18  ##
19 -## displayInSection: menu.name | sectionOrder: 200 | page: Menu.MenuConfigurationSection
20 -## displayInSection: panels.applications | sectionOrder: 400 | page: PanelsCode.ApplicationsPanelConfigurable
21 -## displayInSection: panels.navigation | sectionOrder: 500 | page: PanelsCode.NavigationConfigurationSection
22 22  #set($adminMenu = [
23 23   {
24 24   'id' : 'lf',
... ... @@ -26,8 +26,8 @@
26 26   'displayBeforeCategory': 'content',
27 27   'children': [
28 28   {'id' : 'Themes', 'perSpace' : true, 'order' : 100},
29 - {'id' : 'Panels.PanelWizard', 'perSpace' : true, 'order' : 300},
30 - {'id' : 'Presentation', 'perSpace' : true, 'order' : 600}
26 + {'id' : 'Panels.PanelWizard', 'perSpace' : true, 'order' : 200},
27 + {'id' : 'Presentation', 'perSpace' : true, 'order' : 300}
31 31   ]
32 32   },
33 33   {
... ... @@ -234,8 +234,7 @@
234 234   {{html clean="false"}}
235 235   <div id="$!options.id" class="panel-group $!options.cssClass" role="tablist" aria-multiselectable="true">
236 236   <div class="panel xform">
237 - <label for="adminsearchmenu" class="hidden">$services.localization.render('search')</label>
238 - <input type="text" class="form-control panel-group-filter" autocomplete="off" id="adminsearchmenu"
234 + <input type="text" class="form-control panel-group-filter" autocomplete="off"
239 239   placeholder="$escapetool.xml($services.localization.render('administration.menu.search.hint'))" />
240 240   </div>
241 241   #foreach ($item in $menu)
... ... @@ -288,7 +288,7 @@
288 288  ## Administration Sheet, used to display a common UI for some wiki features (presentation, users,
289 289  ## groups, rights etc.) at global / space level and also for several applications.
290 290  ##**************************************************************************************************
291 -#if($xcontext.action == 'view' && "$!request.viewer" == '')
287 +#if($xcontext.action == 'view')
292 292   $response.sendRedirect($xwiki.getURL($doc.getFullName(), 'admin', $request.getQueryString()))##
293 293  #else
294 294   $xwiki.jsx.use('XWiki.AdminSheet')##
... ... @@ -321,7 +321,7 @@
321 321  
322 322  ## Determine the administration level.
323 323  #set ($level = '')
324 -#if ($doc.documentReference.name == 'WebPreferences')
320 +#if ($doc.name == 'WebPreferences')
325 325   #set ($level = '.page')
326 326  #elseif ($doc.fullName == 'XWiki.XWikiPreferences')
327 327   #if ($xcontext.isMainWiki())