5 |
aurelien |
1 |
<h2>Ajout d'un administrateur</h2>
|
|
|
2 |
<form id="modif_admin" action="<?=$base_url.'?&m=ajout_admin_va'?>"
|
|
|
3 |
method="post">
|
|
|
4 |
<fieldset><?php if (isset($erreurs['champs'])): ?> <span
|
|
|
5 |
class="symbole_obligatoire"> <?=$erreurs['champs'] ?> </span> <?php endif; ?>
|
|
|
6 |
<label for="admin_nom">Nom : </label> <input type="text" id="admin_nom"
|
|
|
7 |
name="admin_nom" maxlength="80" tabindex="1" value="<?=$admin['ga_nom']
|
|
|
8 |
?>" /> <label for="admin_prenom">Prénom : </label> <input type="text"
|
|
|
9 |
id="admin_prenom" name="admin_prenom" maxlength="80" tabindex="2"
|
|
|
10 |
value="<?=$admin['ga_prenom'] ?>" /> <label for="admin_mail">Mail
|
|
|
11 |
: </label> <input type="text" id="admin_mail" name="admin_mail" maxlength="120"
|
|
|
12 |
tabindex="3" value="<?=$admin['ga_mail'] ?>" /> <?php if (isset($erreurs['mail'])): ?>
|
|
|
13 |
<span class="symbole_obligatoire"> <?=$erreurs['mail'] ?> </span> <?php endif; ?>
|
|
|
14 |
<label for="admin_lang">Langue : </label> <select id="admin_lang"
|
|
|
15 |
name="admin_lang" tabindex="4">
|
|
|
16 |
<option<?=($admin['ga_ce_i18n'] == "fr-FR") ?
|
|
|
17 |
'selected="selected"' : '';?> value="fr-FR"> Français</option>
|
|
|
18 |
<option<?=($admin['ga_ce_i18n'] == "en-EN") ?
|
|
|
19 |
'selected="selected"' : '';?> value="en-EN"> Anglais</option>
|
|
|
20 |
</select> <label for="password">Mot de passe : </label> <input type="password"
|
|
|
21 |
id="admin_pass" name="admin_pass" maxlength="80" tabindex="5" value="<?=''
|
|
|
22 |
?>" /> <label for="password_confirm">Confirmez le mot de passe :
|
|
|
23 |
</label> <input type="password" id="admin_pass_confirm"
|
|
|
24 |
name="admin_pass_confirm" maxlength="80" tabindex="6" value="<?=''
|
|
|
25 |
?>" /> <?php if (isset($erreurs['pass'])): ?> <span
|
|
|
26 |
class="symbole_obligatoire"> <?=$erreurs['pass'] ?> </span> <?php endif; ?>
|
|
|
27 |
</fieldset>
|
|
|
28 |
<input type="submit" id="valider_ajout_admin" name="valider_ajout_admin"
|
|
|
29 |
tabindex="7" value="Ajouter" /> <a href="<?=
|
|
|
30 |
$base_url.'?m=liste_admin' ?>"> annuler </a></form>
|