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 --- 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) { /*