Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 2002 → Rev 2003

/trunk/papyrus/applications/admin_administrateur/views/index.html
New file
0,0 → 1,10
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
 
<p>Directory access is forbidden.</p>
 
</body>
</html>
/trunk/papyrus/applications/admin_administrateur/views/modif_admin.php
New file
0,0 → 1,31
<html>
<head>
<title>Modification d'un administrateur</title>
</head>
<body>
 
<h1> Modification d'un administrateur</h1>
<form id="modif_admin" action="<?=$GLOBALS['_GEN_commun']['url']->url.'?menu=18&m=modif_admin_va&id_admin='.$admin[0]->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[0]->ga_nom ?>" />
<label for="admin_prenom">Prénom : </label>
<input type="text" id="admin_prenom" name="admin_prenom" maxlength="80" tabindex="2" value="<?=$admin[0]->ga_prenom ?>" />
<label for="admin_mail">Mail : </label>
<input type="text" id="admin_mail" name="admin_mail" maxlength="120" tabindex="3" value="<?=$admin[0]->ga_mail ?>" />
<label for="admin_lang">Langue : </label>
<select id="admin_lang" name="admin_lang" tabindex="4">
<option <?=($admin[0]->ga_ce_i18n == "fr-FR") ? 'selected="selected"' : '';?> value="fr-FR"> Français </option>
<option <?=($admin[0]->ga_ce_i18n == "en-EN") ? 'selected="selected"' : '';?> value="en-EN"> Anglais </option>
</select>
<label for="password">Mot de passe : </label>
<input type="password" id="password" name="password" maxlength="80" tabindex="5" />
<label for="password_confirm">Confirmez le mot de passe : </label>
<input type="password" id="password_confirm" name="password_confirm" maxlength="80" tabindex="6" />
</fieldset>
<input type="submit" id="valider_modif_admin" name="valider_modif_admin" tabindex="7" value="Modifier" />
<a href="<?=$GLOBALS['_GEN_commun']['url']->getUrl() ?>"> annuler </a>
</form>
 
</body>
</html>
/trunk/papyrus/applications/admin_administrateur/views/liste_admin.php
New file
0,0 → 1,20
<html>
<head>
<title>Liste des admin du site Tela Botanica</title>
</head>
<body>
 
<h1> Liste des aministrateurs</h1>
<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=<?=$GLOBALS['_GEN_commun']['url']->url.'?menu=18&m=modif_admin&id_admin='.$element->ga_id_administrateur ?>>Modifier</a></td><td><a href=<?=$GLOBALS['_GEN_commun']['url']->url.'?menu=18&m=suppr_admin&id_admin='.$element->ga_id_administrateur ?>>Supprimer</a></td></tr>
<?php endforeach; ?>
</table>
<p>
<a href="<?=$GLOBALS['_GEN_commun']['url']->url.'?menu=18&m=ajout_admin' ?>"> Ajouter un administrateur </a>
</p>
 
</body>
</html>
/trunk/papyrus/applications/admin_administrateur/views/ajout_admin.php
New file
0,0 → 1,31
<html>
<head>
<title>Ajout d'un administrateur</title>
</head>
<body>
 
<h1> Ajout d'un administrateur</h1>
<form id="modif_admin" action="<?=$GLOBALS['_GEN_commun']['url']->url.'?menu=18&m=ajout_admin_va' ?>" method="post">
<fieldset>
<label for="admin_nom">Nom : </label>
<input type="text" id="admin_nom" name="admin_nom" maxlength="80" tabindex="1" />
<label for="admin_prenom">Prénom : </label>
<input type="text" id="admin_prenom" name="admin_prenom" maxlength="80" tabindex="2" />
<label for="admin_mail">Mail : </label>
<input type="text" id="admin_mail" name="admin_mail" maxlength="120" tabindex="3" />
<label for="admin_lang">Langue : </label>
<select id="admin_lang" name="admin_lang" tabindex="4">
<option value="fr-FR"> Français </option>
<option value="en-EN"> Anglais </option>
</select>
<label for="password">Mot de passe : </label>
<input type="password" id="password" name="password" maxlength="80" tabindex="5" />
<label for="password_confirm">Confirmez le mot de passe : </label>
<input type="password" id="password_confirm" name="password_confirm" maxlength="80" tabindex="6" />
</fieldset>
<input type="submit" id="valider_ajout_admin" name="valider_ajout_admin" tabindex="7" value="Ajouter" />
<a href="<?=$GLOBALS['_GEN_commun']['url']->getUrl() ?>"> annuler </a>
</form>
 
</body>
</html>