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