From 8b148b0cd998522c735243d67f0c0a3625058a04 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 25 Mar 2006 13:32:42 +0000 Subject: [PATCH] =?UTF-8?q?Utilise=20le=20nom=20de=20mois=20abr=E9g=E9=20d?= =?UTF-8?q?ans=20les=20listes=20d=E9roulantes=20des=20mois?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/html.form.class.php | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index ae7c0bf6062..77710a54e56 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -1617,19 +1617,6 @@ class Form if (! $set_time && $empty == 0) $set_time = time(); - $strmonth[1] = $langs->trans("January"); - $strmonth[2] = $langs->trans("February"); - $strmonth[3] = $langs->trans("March"); - $strmonth[4] = $langs->trans("April"); - $strmonth[5] = $langs->trans("May"); - $strmonth[6] = $langs->trans("June"); - $strmonth[7] = $langs->trans("July"); - $strmonth[8] = $langs->trans("August"); - $strmonth[9] = $langs->trans("September"); - $strmonth[10] = $langs->trans("October"); - $strmonth[11] = $langs->trans("November"); - $strmonth[12] = $langs->trans("December"); - // Analyse de la date de préselection if (eregi('^([0-9]+)\-([0-9]+)\-([0-9]+)\s?([0-9]+)?:?([0-9]+)?',$set_time,$reg)) { @@ -1752,14 +1739,8 @@ class Form // Mois for ($month = 1 ; $month <= 12 ; $month++) { - if ($month == $smonth) - { - print ""; } print "";