Changes - Minor - Modification de la façon d'envoyer l'action, afin d'améliorer le rafraichissement

de la page. Et div autour de la partie "antispam visible par les humains".
This commit is contained in:
Zatalyz 2024-11-18 10:27:53 +01:00
parent 542a24939f
commit 47abb24746

View file

@ -28,6 +28,7 @@
<textarea id="message" name="message" rows="6" cols="50" placeholder="Entrer votre message"></textarea> <textarea id="message" name="message" rows="6" cols="50" placeholder="Entrer votre message"></textarea>
</div> </div>
<!-- Antibot --> <!-- Antibot -->
<div class="areyoubot">
<div> <div>
<input id="nobotc" type="checkbox" name="nobotc" value="<?php echo md5($nobot); ?>" /> <input id="nobotc" type="checkbox" name="nobotc" value="<?php echo md5($nobot); ?>" />
@ -49,12 +50,14 @@
</div> </div>
<!-- Envoyer --> <!-- Envoyer -->
<div> <div>
<input type="hidden" name="action" value="submit_form">
<ul class="actions"> <ul class="actions">
<li><input type="submit" name="new_question" value="Demander une autre question"></li> <li><button type="submit" name="action" value="new_question" >Demander une autre question</button></li>
<li><input type="submit" name="submit_form" class="primary" value="<?php echo $txt['submit_button']; ?>"></li> <li><button type="submit" name="action" value="submit_form" class="primary"><?php echo $txt['submit_button']; ?></button></li>
</ul> </ul>
</div> </div>
</div> </div>
</div>
</form> </form>