From c99c79128048913c4a62ef64f6400d396b504078 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 10 Aug 2007 08:19:35 +0000 Subject: [PATCH] *** empty log message *** --- htdocs/lib/functions.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 41cea84e0df..cc8f08f737c 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -1871,7 +1871,7 @@ function dol_delete_dir_recursive($dir,$count=0) */ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='', $center='', $num=-1) { - global $conf; + global $conf,$langs; if ($num > $conf->liste_limit or $num == -1) { @@ -1886,7 +1886,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so if ($page > 0 || $num > $conf->liste_limit) { - print '
'.$titre.' - page '.($page+1); + print '
'.$titre.' - '.$langs->trans('page').' '.($page+1); print '
'; } else @@ -3045,7 +3045,7 @@ function vignette($file, $maxWidth = 160, $maxHeight = 120, $extName='_small', $ // Renvoi la vignette créée switch($infoImg[2]){ case 2: - imagejpeg($imgThumb, $imgThumbName, $quality); // Renvoi d'une image jpeg avec une qualité de 50 + imagejpeg($imgThumb, $imgThumbName, $quality); // Renvoi d'une image jpeg avec une qualité de 50 par défaut break; case 3: imagepng($imgThumb, $imgThumbName);