Commit 6ca93ecf294131d9187571877dc1982241ae82ab

Authored by grouille
1 parent 3722a6bb

MAJ

Showing 2 changed files with 3 additions and 2 deletions   Show diff stats
site/stop.php
1 1 <?php
2   -echo $_POST['arret'];
  2 +echo $_POST['nom'];
3 3 ?>
... ...
site/values.php
... ... @@ -26,7 +26,8 @@
26 26 <td><?php echo $sensor['value'];?></td>
27 27 <td><?php echo $sensor['unite'];?></td>
28 28 <td>
29   - <input type="submit" name="stop" value="<?php echo $sensor['nom'];?>">
  29 + <input type="hidden" name="nom" value="<?php echo $sensor['nom'];?>">
  30 + <input type="submit" name="stop" value="ArrĂȘter">
30 31 </td>
31 32 </tr>
32 33 <?php
... ...