Subversion Repositories Applications.papyrus

Rev

Rev 2021 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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