diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 5e288acaabc..51754bd4814 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -2481,7 +2481,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so { if ($totalnboflines) { - if ($picto && $titre) print ''.img_picto('',$picto, '', $pictoisfullpath).''; + if ($picto && $titre) print ''.img_picto('',$picto, '', $pictoisfullpath).''; print ''; print '
'.$titre.'
'; print ''; @@ -2518,7 +2518,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so } else { - if (empty($conf->dol_optimize_smallscreen) && $picto && $titre) print ''.img_picto('',$picto, '', $pictoisfullpath).''; + if ($picto && $titre) print ''.img_picto('',$picto, '', $pictoisfullpath).''; print ''; print '
'.$titre.'
'; $pagelist.= $langs->trans('Page').' '.($page+1); @@ -2527,7 +2527,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so } else { - if (empty($conf->dol_optimize_smallscreen) && $picto && $titre) print ''.img_picto('',$picto, '', $pictoisfullpath).''; + if ($picto && $titre) print ''.img_picto('',$picto, '', $pictoisfullpath).''; print '
'.$titre.'
'; } @@ -2562,14 +2562,17 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so function print_fleche_navigation($page,$file,$options='',$nextpage=0,$betweenarrows='') { global $conf, $langs; + if ($page > 0) { - print ''.img_previous($langs->trans("Previous")).''; + if (empty($conf->dol_use_jmobile)) print ''.img_previous($langs->trans("Previous")).''; + else print ''.$langs->trans("Previous").''; } if ($betweenarrows) print ($page > 0?' ':'').$betweenarrows.($nextpage>0?' ':''); if ($nextpage > 0) { - print ''.img_next($langs->trans("Next")).''; + if (empty($conf->dol_use_jmobile)) print ''.img_next($langs->trans("Next")).''; + else print ''.$langs->trans("Next").''; } }