diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 7023bf8bed7..c6abf0e5b87 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -5448,6 +5448,7 @@ function print_barre_liste($titre, $page, $file, $options = '', $sortfield = '', if ($picto && $titre) { print ''.img_picto('', $picto, 'class="valignmiddle pictotitle widthpictotitle"', $pictoisfullpath).''; } + print ''; print '
'.$titre; if (!empty($titre) && $savtotalnboflines >= 0 && (string) $savtotalnboflines != '') { @@ -5456,7 +5457,7 @@ function print_barre_liste($titre, $page, $file, $options = '', $sortfield = '', print '
'; // Center - if ($morehtmlcenter) { + if ($morehtmlcenter && empty($conf->dol_optimize_smallscreen)) { print ''.$morehtmlcenter.''; } @@ -5541,8 +5542,15 @@ function print_barre_liste($titre, $page, $file, $options = '', $sortfield = '', } print ''; + print ''; + + print ''."\n"; + + // Center + if ($morehtmlcenter && !empty($conf->dol_optimize_smallscreen)) { + print '
'.$morehtmlcenter.'
'; + } - print ''."\n"; print "\n\n"; } diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index 12de0af0f29..68304f2b119 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -958,12 +958,12 @@ if ($user->hasRight("societe", "creer")) { if ($user->hasRight("societe", "creer")) { $arrayofmassactions['presetcommercial'] = img_picto('', 'user', 'class="pictofixedwidth"').$langs->trans("AllocateCommercial"); } -if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend', 'predelete', 'preaffecttag', 'preenable', 'preclose'))) { - $arrayofmassactions = array(); -} if ($user->hasRight('societe', 'supprimer')) { $arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete"); } +if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend', 'predelete', 'preaffecttag', 'preenable', 'preclose'))) { + $arrayofmassactions = array(); +} $massactionbutton = $form->selectMassAction('', $arrayofmassactions); $typefilter = '';