Replace PHP short tags
Co-authored-by: LeOSW42 <673670+LeOSW42@users.noreply.github.com>
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<? include('blocks/d.head.html'); ?>
|
||||
<?php include('blocks/d.head.html'); ?>
|
||||
|
||||
<body>
|
||||
|
||||
<? include('blocks/d.nav.html'); ?>
|
||||
<?php include('blocks/d.nav.html'); ?>
|
||||
|
||||
<section>
|
||||
<h1>Inscription</h1>
|
||||
<form class="form" action="<?=$config['rel_root_folder']?>user/signin" method="post" id="signin">
|
||||
<? if(isset($_GET['error']) AND $_GET['error']=="name") { ?>
|
||||
<?php if(isset($_GET['error']) AND $_GET['error']=="name") { ?>
|
||||
<p style="color: red;">Veuillez choisir un autre nom d'utilisateur.</p>
|
||||
<? } ?>
|
||||
<? if(isset($_GET['error']) AND $_GET['error']=="email") { ?>
|
||||
<?php } ?>
|
||||
<?php if(isset($_GET['error']) AND $_GET['error']=="email") { ?>
|
||||
<p style="color: red;">Cette adresse mail est déjà prise.</p>
|
||||
<? } ?>
|
||||
<? if(isset($_GET['error']) AND $_GET['error']=="empty") { ?>
|
||||
<?php } ?>
|
||||
<?php if(isset($_GET['error']) AND $_GET['error']=="empty") { ?>
|
||||
<p style="color: red;">Merci de remplir tous les champs, il n'y en a que trois.</p>
|
||||
<? } ?>
|
||||
<? if(isset($_GET['error']) AND $_GET['error']=="captcha") { ?>
|
||||
<?php } ?>
|
||||
<?php if(isset($_GET['error']) AND $_GET['error']=="captcha") { ?>
|
||||
<p style="color: red;">Nous n'avons pas pu vérifier que vous êtes un humain.<br>
|
||||
Avez-vous javascript activé et attendu la fin du compte à rebours ?</p>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<input type="text" name="login" id="login" placeholder="Nom d'utilisateur">
|
||||
<input type="password" name="password" id="password" placeholder="Mot de passe">
|
||||
<input type="email" name="email" id="email" placeholder="Adresse mail">
|
||||
@@ -35,7 +35,7 @@
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<? include('blocks/d.footer.html'); ?>
|
||||
<?php include('blocks/d.footer.html'); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user