From 28ca2990f00e6554bebb74879f05a5ca741316f3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 23 Mar 2021 20:09:26 +0100 Subject: [PATCH] CSS --- htdocs/core/lib/usergroups.lib.php | 8 ++++---- htdocs/societe/list.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php index e12a0d9c8a7..3188a9b39e2 100644 --- a/htdocs/core/lib/usergroups.lib.php +++ b/htdocs/core/lib/usergroups.lib.php @@ -343,14 +343,14 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false) // Title if ($foruserprofile) { - print ''.$langs->trans("Parameter").''.$langs->trans("DefaultValue").''; + print ''.$langs->trans("Parameter").''.$langs->trans("DefaultValue").''; print ' '; print ''; print ''; print ''.$langs->trans("DefaultSkin").''; print ''.$conf->global->MAIN_THEME.''; - print ' '.$langs->trans("UsePersonalValue").''; + print ' '.$langs->trans("UsePersonalValue").''; print ' '; print ''; } else { @@ -359,7 +359,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false) $dirthemestring .= '"'.$dirtheme.'" '; } - print ''; + print ''; print $form->textwithpicto($langs->trans("DefaultSkin"), $langs->trans("ThemeDir").' : '.$dirthemestring); print ''; print ''; @@ -448,7 +448,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false) // Nothing } else { // Show logo - print ''.$langs->trans("EnableShowLogo").''; + print ''.$langs->trans("EnableShowLogo").''; if ($edit) { print ajax_constantonoff('MAIN_SHOW_LOGO', array(), null, 0, 0, 1); //print $form->selectyesno('MAIN_SHOW_LOGO', $conf->global->MAIN_SHOW_LOGO, 1); diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index 6ac6d35e4eb..8ff860a33bc 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -960,7 +960,7 @@ if (empty($type) || $type == 'f') { if ($user->rights->societe->client->voir || $socid) { $moreforfilter .= '
'; $moreforfilter .= img_picto('', 'user', 'class="pictofixedwidth"'); - $moreforfilter .= $formother->select_salesrepresentatives($search_sale, 'search_sale', $user, 0, $langs->trans('SalesRepresentatives'), 'maxwidth300', 1); + $moreforfilter .= $formother->select_salesrepresentatives($search_sale, 'search_sale', $user, 0, $langs->trans('SalesRepresentatives'), ($conf->dol_optimize_smallscreen ? 'maxwidth200' : 'maxwidth300'), 1); $moreforfilter .= '
'; } if ($moreforfilter) {