mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2026-03-28 03:00:22 +01:00
Initial commit
Functional, without SSO
This commit is contained in:
26
sources/app/default/views/login.phtml
Normal file
26
sources/app/default/views/login.phtml
Normal file
@@ -0,0 +1,26 @@
|
||||
<form action="" method="post">
|
||||
<h2>Identifiez-vous</h2>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="username">Nom d'utilisateur</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="text" id="username" name="username" value="<?php
|
||||
echo htmlspecialchars($username);
|
||||
?>" />
|
||||
<?php if (isset($errors["username"])) : ?>
|
||||
<p class="error"><?php echo $errors["username"]; ?></p>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
<dt>
|
||||
<label for="password">Mot de passe</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="password" id="password" name="password" />
|
||||
<?php if (isset($errors["password"])) : ?>
|
||||
<p class="error"><?php echo $errors["password"]; ?></p>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<p><input type="submit" value="Connexion" /></p>
|
||||
</form>
|
||||
Reference in New Issue
Block a user