[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [FIX][UI] UAB: correct layout on tiki-admin.php and fix admin modules transparent navbars

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a2dd5587e1ca_386e04c90103831@gitlab-sidekiq-low-urgency-cpu-bound-v2-c9f44b7d4-w6c85.mail>

luci pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
9131cf62 by luci at 2026-06-13T22:10:30+00:00
[FIX][UI] UAB: correct layout on tiki-admin.php and fix admin modules transparent navbars
---
* [FIX][UI] UAB: correct layout on tiki-admin.php and fix admin modules transparent navbars

See merge request tikiwiki/tiki!10518


(cherry picked from commit 46a23b795b48cfb125e06ea406794dd590916032)

d53bfa33 [FIX][UI] UAB: correct layout on tiki-admin.php and fix admin modules transparent navbars

Co-authored-by: luci <gitlab-TfYQc8/[email protected]>
- - - - -


1 changed file:

- lib/setup/theme.php


Changes:

=====================================
lib/setup/theme.php
=====================================
@@ -125,7 +125,7 @@ if (
     || strpos($_SERVER['PHP_SELF'], 'tiki-sys'))
 ) { // TODO: refactor this check into an array of all admin and management pages we want to include and the related perms to access in UAB layout
     $headerlib->add_cssfile('themes/base_files/css/feature/adminui.css');
-    if (! str_contains($_SERVER['PHP_SELF'], 'tiki-admin.php') && ! str_contains($_SERVER['PHP_SELF'], 'tiki-admin_modules.php') && strpos($_SERVER['PHP_SELF'], 'tiki-admin_tracker_fields.php') === false) { // Exclude tiki-admin.php, tiki-admin_tracker_fields.php, and the modules admin here
+    if (! str_contains($_SERVER['PHP_SELF'], 'tiki-admin_modules.php') && strpos($_SERVER['PHP_SELF'], 'tiki-admin_tracker_fields.php') === false) { // Exclude tiki-admin_tracker_fields.php, and the modules admin here
         /* Force the admin layout on admin pages */
         $prefs['site_layout_admin'] = 'admin';
         /* Force the admin layout on setup/management pages too */
@@ -141,8 +141,10 @@ if (
         }
         $smarty->assign('admin_icons', $admin_icons);
     }
-    if (! str_contains($_SERVER['PHP_SELF'], 'tiki-admin_modules.php')) { // Exclude the modules admin here
+    if (! str_contains($_SERVER['PHP_SELF'], 'tiki-admin_modules.php') && ! str_contains($_SERVER['PHP_SELF'], 'tiki-admin_tracker_fields.php')) { // Exclude the modules admin and tracker fields admin here
         $smarty->assign('navbar_color_variant', $prefs['theme_navbar_color_variant_admin']);
+    } else {
+        $smarty->assign('navbar_color_variant', $prefs['theme_navbar_color_variant']);
     }
 } else {
     $smarty->assign('navbar_color_variant', $prefs['theme_navbar_color_variant']);



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9131cf62435f72655e052297f80a6bbbe28359a4

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9131cf62435f72655e052297f80a6bbbe28359a4
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.