ptit patch

This commit is contained in:
Baptiste 2022-06-15 23:52:29 +02:00
parent fe16631cc8
commit 60d9d41665
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
AuthName "Vous ne passerez pas (sauf si vous passez)" AuthName "Vous ne passerez pas (sauf si vous passez)"
AuthType Basic AuthType Basic
AuthUserFile ".htpasswd" AuthUserFile "/home_clubs/accueil_insa/public_html/admin/.htpasswd"
Require valid-user Require valid-user

View file

@ -75,7 +75,7 @@ if(isset($_POST['send'])) {
while($r = $req->fetch()) { while($r = $req->fetch()) {
?> ?>
<input type="text" name="input<?= $r['id'] ?>" placeholder="Mot <?= $r['id'] ?>" value="<?php if(isset($input[$r['id']])) { echo $input[$r['id']]; } ?>" style="border: <?= $color[$r['id']] ?>;" class="input"> <input type="text" name="input<?= $r['id'] ?>" placeholder="Mot <?= $r['id'] ?>" value="<?php if(isset($input[$r['id']])) { echo $input[$r['id']]; } ?>" style="border: 3px solid <?= $color[$r['id']] ?>;" class="input">
<?php <?php
} }