From a126c2116d921e8313f58cb1af4920bf079c144e Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 8 Aug 2024 19:52:27 +0200 Subject: [PATCH] fix not resized tabs in site-config, if app's config.xet already had a tab-widget --- admin/inc/class.admin_config.inc.php | 3 +- admin/templates/default/site-config.xet | 44 +++++++++++++++++-------- 2 files changed, 32 insertions(+), 15 deletions(-) diff --git a/admin/inc/class.admin_config.inc.php b/admin/inc/class.admin_config.inc.php index ae38805f4d..a6420850e6 100644 --- a/admin/inc/class.admin_config.inc.php +++ b/admin/inc/class.admin_config.inc.php @@ -270,6 +270,7 @@ class admin_config 'tabs2' => $_content['tabs2'] ?: $_GET['tab'] ?? '', 'template' => $appname.'.config', 'newsettings' => array(), + 'need_tab' => strpos(file_get_contents(EGW_SERVER_ROOT.'/'.$appname.'/templates/default/config.xet'), '') === false, ); // $app.config is looping eg.