Changes for page Administration

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

From version 2.1
edited by Leon Poon
on 2019/04/20 06:00
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/11.2]
To 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]

Summary

Details

Page properties
Content
... ... @@ -16,6 +16,9 @@
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
19 19  #set($adminMenu = [
20 20   {
21 21   'id' : 'lf',
... ... @@ -23,8 +23,8 @@
23 23   'displayBeforeCategory': 'content',
24 24   'children': [
25 25   {'id' : 'Themes', 'perSpace' : true, 'order' : 100},
26 - {'id' : 'Panels.PanelWizard', 'perSpace' : true, 'order' : 200},
27 - {'id' : 'Presentation', 'perSpace' : true, 'order' : 300}
29 + {'id' : 'Panels.PanelWizard', 'perSpace' : true, 'order' : 300},
30 + {'id' : 'Presentation', 'perSpace' : true, 'order' : 600}
28 28   ]
29 29   },
30 30   {
... ... @@ -231,7 +231,8 @@
231 231   {{html clean="false"}}
232 232   <div id="$!options.id" class="panel-group $!options.cssClass" role="tablist" aria-multiselectable="true">
233 233   <div class="panel xform">
234 - <input type="text" class="form-control panel-group-filter" autocomplete="off"
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"
235 235   placeholder="$escapetool.xml($services.localization.render('administration.menu.search.hint'))" />
236 236   </div>
237 237   #foreach ($item in $menu)
... ... @@ -284,7 +284,7 @@
284 284  ## Administration Sheet, used to display a common UI for some wiki features (presentation, users,
285 285  ## groups, rights etc.) at global / space level and also for several applications.
286 286  ##**************************************************************************************************
287 -#if($xcontext.action == 'view')
291 +#if($xcontext.action == 'view' && "$!request.viewer" == '')
288 288   $response.sendRedirect($xwiki.getURL($doc.getFullName(), 'admin', $request.getQueryString()))##
289 289  #else
290 290   $xwiki.jsx.use('XWiki.AdminSheet')##