Objet : devel-adl
Archives de la liste
- From: svn AT agendadulibre.org
- To: devel AT agendadulibre.org
- Subject: [Devel] r277 - branches/dui
- Date: Mon, 28 May 2007 23:18:37 +0200 (CEST)
- List-archive: <http://lolut.utbm.info/pipermail/devel>
- List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>
Author: ldayot
Date: Mon May 28 23:18:36 2007
New Revision: 277
Log:
Limitation de la saisie des minutes par quart d'heure.
Affichage des minutes sur deux caracteres.
Modified:
branches/dui/funcs.inc.php
Modified: branches/dui/funcs.inc.php
==============================================================================
--- branches/dui/funcs.inc.php (original)
+++ branches/dui/funcs.inc.php Mon May 28 23:18:36 2007
@@ -762,12 +762,12 @@
echo " h ";
echo "<select name=\"__event_" . $ident . "_minute\">\n";
- for ($i = 0; $i <= 59; $i++)
+ for ($i = 0; $i <= 59; $i+=15)
{
if ($i == date("i", $current_time))
- echo " <option value=\"$i\" selected=\"selected\">$i</option>\n";
+ echo " <option value=\"$i\" selected=\"selected\">". sprintf("%02s",
$i). "</option>\n";
else
- echo " <option value=\"$i\">$i</option>\n";
+ echo " <option value=\"$i\">". sprintf("%02s", $i). "</option>\n";
}
echo "</select>\n";
}
- [Devel] r277 - branches/dui, svn, 28/05/2007
- Re: [Devel] r277 - branches/dui, David MENTRE, 30/05/2007
- Re: [Devel] r277 - branches/dui, Thomas Petazzoni, 31/05/2007
- Re: [Devel] r277 - branches/dui, David MENTRE, 30/05/2007
Archives gérées par MHonArc 2.6.16.