/trunk/exemple/squelettes/modif_admin.tpl.html |
---|
New file |
0,0 → 1,29 |
<h2>Modification d'un administrateur</h2> |
<form id="modif_admin" action="<?=$base_url.'?m=modif_admin_va&id_admin='.$admin['ga_id_administrateur'] |
?>" method="post"> |
<fieldset><label for="admin_nom">Nom : </label> <input |
type="text" id="admin_nom" name="admin_nom" maxlength="80" tabindex="1" |
value="<?=$admin['ga_nom'] ?>" /> <label for="admin_prenom">Prénom |
: </label> <input type="text" id="admin_prenom" name="admin_prenom" |
maxlength="80" tabindex="2" value="<?=$admin['ga_prenom'] ?>" |
/> <label for="admin_mail">Mail : </label> <input type="text" |
id="admin_mail" name="admin_mail" maxlength="120" tabindex="3" value="<?=$admin['ga_mail'] |
?>" /> <?php if (isset($erreurs['mail'])): ?> <span |
class="symbole_obligatoire"> <?=$erreurs['mail'] ?> </span> <?php endif; ?> |
<label for="admin_lang">Langue : </label> <select id="admin_lang" |
name="admin_lang" tabindex="4"> |
<option<?=($admin['ga_ce_i18n'] == "fr-FR") ? |
'selected="selected"' : '';?> value="fr-FR"> Français</option> |
<option<?=($admin['ga_ce_i18n'] == "en-EN") ? |
'selected="selected"' : '';?> value="en-EN"> Anglais</option> |
</select> <label for="password">Mot de passe : </label> <input type="password" |
id="admin_pass" name="admin_pass" maxlength="80" tabindex="5" value="<?='' |
?>" /> <label for="password_confirm">Confirmez le mot de passe : |
</label> <input type="password" id="admin_pass_confirm" |
name="admin_pass_confirm" maxlength="80" tabindex="6" value="<?='' |
?>" /> <?php if (isset($erreurs['pass'])): ?> <span |
class="symbole_obligatoire"> <?=$erreurs['pass'] ?> </span> <?php endif; ?> |
</fieldset> |
<input type="submit" id="valider_modif_admin" name="valider_modif_admin" |
tabindex="7" value="Modifier" /> <a href="<?=$base_url.'?m=liste_admin' |
?>"> annuler </a></form> |
Property changes: |
Added: svn:keywords |
+Id Author Date Revision HeadURL |
\ No newline at end of property |
/trunk/exemple/squelettes/liste_admin.tpl.html |
---|
New file |
0,0 → 1,26 |
<h2>Liste des administrateurs</h2> |
<table class="liste_admin"> |
<th>Identifiant d'admin</th> |
<th>Nom</th> |
<th>Prénom</th> |
<th>Langue</th> |
<th></th> |
<th></th> |
<?php foreach ($admin as $element) : ?> |
<tr> |
<td><?=$element['ga_id_administrateur'] ?></td> |
<td><?=$element['ga_nom'] ?></td> |
<td><?=$element['ga_prenom'] ?></td> |
<td><?=$element['ga_ce_i18n'] ?></td> |
<td><a href=<?=$base_url.'?m=modif_admin&id_admin='.$element['ga_id_administrateur'] |
?>>Modifier</a></td> |
<td><a href=<?=$base_url.'?m=suppr_admin&id_admin='.$element['ga_id_administrateur'] |
?>>Supprimer</a></td> |
</tr> |
<?php endforeach; ?> |
</table> |
<?php if (isset($erreurs['supp'])): ?> |
<span class="symbole_obligatoire"> <?=$erreurs['supp'] ?> </span> |
<?php endif; ?> |
<p><a href="<?=$base_url.'?&m=ajout_admin' ?>"> Ajouter un |
administrateur </a></p> |
Property changes: |
Added: svn:keywords |
+Id Author Date Revision HeadURL |
\ No newline at end of property |
/trunk/exemple/squelettes/ajout_admin.tpl.html |
---|
New file |
0,0 → 1,30 |
<h2>Ajout d'un administrateur</h2> |
<form id="modif_admin" action="<?=$base_url.'?&m=ajout_admin_va'?>" |
method="post"> |
<fieldset><?php if (isset($erreurs['champs'])): ?> <span |
class="symbole_obligatoire"> <?=$erreurs['champs'] ?> </span> <?php endif; ?> |
<label for="admin_nom">Nom : </label> <input type="text" id="admin_nom" |
name="admin_nom" maxlength="80" tabindex="1" value="<?=$admin['ga_nom'] |
?>" /> <label for="admin_prenom">Prénom : </label> <input type="text" |
id="admin_prenom" name="admin_prenom" maxlength="80" tabindex="2" |
value="<?=$admin['ga_prenom'] ?>" /> <label for="admin_mail">Mail |
: </label> <input type="text" id="admin_mail" name="admin_mail" maxlength="120" |
tabindex="3" value="<?=$admin['ga_mail'] ?>" /> <?php if (isset($erreurs['mail'])): ?> |
<span class="symbole_obligatoire"> <?=$erreurs['mail'] ?> </span> <?php endif; ?> |
<label for="admin_lang">Langue : </label> <select id="admin_lang" |
name="admin_lang" tabindex="4"> |
<option<?=($admin['ga_ce_i18n'] == "fr-FR") ? |
'selected="selected"' : '';?> value="fr-FR"> Français</option> |
<option<?=($admin['ga_ce_i18n'] == "en-EN") ? |
'selected="selected"' : '';?> value="en-EN"> Anglais</option> |
</select> <label for="password">Mot de passe : </label> <input type="password" |
id="admin_pass" name="admin_pass" maxlength="80" tabindex="5" value="<?='' |
?>" /> <label for="password_confirm">Confirmez le mot de passe : |
</label> <input type="password" id="admin_pass_confirm" |
name="admin_pass_confirm" maxlength="80" tabindex="6" value="<?='' |
?>" /> <?php if (isset($erreurs['pass'])): ?> <span |
class="symbole_obligatoire"> <?=$erreurs['pass'] ?> </span> <?php endif; ?> |
</fieldset> |
<input type="submit" id="valider_ajout_admin" name="valider_ajout_admin" |
tabindex="7" value="Ajouter" /> <a href="<?= |
$base_url.'?m=liste_admin' ?>"> annuler </a></form> |
Property changes: |
Added: svn:keywords |
+Id Author Date Revision HeadURL |
\ No newline at end of property |
/trunk/exemple/squelettes/ident_admin.tpl.html |
---|
New file |
0,0 → 1,13 |
<p class="zone_alert">Identifiez-vous</p> |
<form id="form_connexion" style="clear: both;" |
class="form_identification" action="<?=$base_url ?>" |
method="post"> |
<fieldset><legend>Identifiez vous</legend> <label |
for="username">Courriel : </label> <input type="text" id="username" |
name="username" maxlength="80" tabindex="1" value="courriel" /> <label |
for="password">Mot de passe : </label> <input type="password" |
id="password" name="password" maxlength="80" tabindex="2" |
value="mot de passe" /> <input type="submit" id="connexion" |
name="connexion" tabindex="3" value="ok" /></fieldset> |
</form> |
Property changes: |
Added: svn:keywords |
+Id Author Date Revision HeadURL |
\ No newline at end of property |