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