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("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) {
|