summaryrefslogtreecommitdiff
path: root/beta_accents/app/popcreneau.php
diff options
context:
space:
mode:
Diffstat (limited to 'beta_accents/app/popcreneau.php')
-rw-r--r--beta_accents/app/popcreneau.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/beta_accents/app/popcreneau.php b/beta_accents/app/popcreneau.php
index f4ba56f..4e496a7 100644
--- a/beta_accents/app/popcreneau.php
+++ b/beta_accents/app/popcreneau.php
@@ -36,7 +36,7 @@ function generate_html_div_popcreneau($idR)
</select>:
<select name="minuteStart">
<?php
- for ($i=0;$i<=59;$i++) {$i = "0$i"; $i = substr($i,-2); echo "<option value=\"$i\">$i</option>"; }
+ for ($i=0;$i<=3;$i++) {$c = $i * 15; $c = "0$c" ; $c = substr($c,-2); echo "<option value=\"$c\">$c</option>"; }
?>
</select><br />Fin&nbsp;:&nbsp;
<select name="hourEnd">
@@ -46,7 +46,7 @@ function generate_html_div_popcreneau($idR)
</select>:
<select name="minuteEnd">
<?php
- for ($i=0;$i<=59;$i++) {$i = "0$i"; $i = substr($i,-2); echo "<option value=\"$i\">$i</option>"; }
+ for ($i=0;$i<=3;$i++) {$c = $i * 15; $c = "0$c" ; $c = substr($c,-2); echo "<option value=\"$c\">$c</option>"; }
?>
</select></td>
<td><input name="AjouterCreneau" type="button" value="Ajouter" onclick="addcreneau(this.form);"/><br/><br/>