From d0942117df727874e435d15047b2a50138a41d78 Mon Sep 17 00:00:00 2001 From: BB2A Anthony Berton Date: Wed, 26 Jan 2022 17:20:12 +0100 Subject: [PATCH 1/3] 1 --- htdocs/core/lib/usergroups.lib.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php index 9ee6afa182e..700687483f4 100644 --- a/htdocs/core/lib/usergroups.lib.php +++ b/htdocs/core/lib/usergroups.lib.php @@ -503,6 +503,25 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false) print ''; } + // BorderTableActive + if ($foruserprofile) { + } else { + $default = $langs->trans('No'); + print ''; + print ''.$langs->trans("TopMenuDisableImages").''; + print ''; + if ($edit) { + print ajax_constantonoff('THEME_TOPMENU_DISABLE_IMAGE', array(), null, 0, 0, 1); + //print $form->selectyesno('THEME_TOPMENU_DISABLE_IMAGE', $conf->global->THEME_TOPMENU_DISABLE_IMAGE, 1); + } else { + print yn($conf->global->THEME_TOPMENU_DISABLE_IMAGE); + } + print '   '.$langs->trans("Default").': '.$default.' '; + print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis")); + print ''; + print ''; + } + // Background color THEME_ELDY_BACKBODY if ($foruserprofile) { /* From be543b3ef9fecce427b2377518989b46cef9d2c1 Mon Sep 17 00:00:00 2001 From: BB2A Anthony Berton Date: Wed, 26 Jan 2022 17:25:13 +0100 Subject: [PATCH 2/3] ok --- htdocs/langs/en_US/admin.lang | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 99f87413d06..84715364360 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -1917,6 +1917,7 @@ ConfFileMustContainCustom=Installing or building an external module from applica HighlightLinesOnMouseHover=Highlight table lines when mouse move passes over HighlightLinesColor=Highlight color of the line when the mouse passes over (use 'ffffff' for no highlight) HighlightLinesChecked=Highlight color of the line when it is checked (use 'ffffff' for no highlight) +UseBorderOnTable=Active border on tables BtnActionColor=Color of the action button TextTitleColor=Text color of Page title LinkColor=Color of links From 285e1d0f843c91d048c44f83629761c0ef0f22e5 Mon Sep 17 00:00:00 2001 From: BB2A Anthony Berton Date: Wed, 26 Jan 2022 17:25:24 +0100 Subject: [PATCH 3/3] ok --- htdocs/core/lib/usergroups.lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php index 700687483f4..d7d4fda9d16 100644 --- a/htdocs/core/lib/usergroups.lib.php +++ b/htdocs/core/lib/usergroups.lib.php @@ -508,13 +508,13 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false) } else { $default = $langs->trans('No'); print ''; - print ''.$langs->trans("TopMenuDisableImages").''; + print ''.$langs->trans("UseBorderOnTable").''; print ''; if ($edit) { - print ajax_constantonoff('THEME_TOPMENU_DISABLE_IMAGE', array(), null, 0, 0, 1); - //print $form->selectyesno('THEME_TOPMENU_DISABLE_IMAGE', $conf->global->THEME_TOPMENU_DISABLE_IMAGE, 1); + print ajax_constantonoff('THEME_ELDY_USEBORDERONTABLE', array(), null, 0, 0, 1); + //print $form->selectyesno('THEME_ELDY_USEBORDERONTABLE', $conf->global->THEME_ELDY_USEBORDERONTABLE, 1); } else { - print yn($conf->global->THEME_TOPMENU_DISABLE_IMAGE); + print yn($conf->global->THEME_ELDY_USEBORDERONTABLE); } print '   '.$langs->trans("Default").': '.$default.' '; print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));