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