Modification des liens en fonction de la nouvelle organisation de la doc
[platal.git] / templates / xnet / groupe / membres-edit.tpl
index c9df9ac..b30780a 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 
 <h1>{$asso.nom} : gestion des membres</h1>
 
+<p>
+[<a href='{$platal->ns}annuaire'>Retour à l'annuaire</a>]
+</p>
+
 <h2>
   Édition du profil de {$user.prenom} {$user.nom}
   {if $user.origine eq 'X'}
   (X{$user.promo})
-  <a href="https://www.polytechnique.org/fiche.php?user={$user.alias}"><img src="{rel}/images/loupe.gif" alt="Voir la fiche" /></a>
+  <a href="https://www.polytechnique.org/profile/{$user.alias}">{icon name=user_suit title="fiche"}</a>
   {/if}
-  <a href="?del={$user.email}"><img src="{rel}/images/del.png" alt="Suppression du compte" /></a>
-  <a href="mailto:{$user.email}"><img src="{rel}/images/mail.png" alt="Ecrire un mail" /></a>
+  <a href="{$platal->ns}member/del/{$user.email}">{icon name=delete title="Suppression du compte"}</a>
+  <a href="mailto:{$user.email}">{icon name=email title="mail"}</a>
 </h2>
 
-<form method="post" action="{$smarty.server.REQUEST_URI}">
-  <table cellpadding="0" cellspacing="0" class='tiny'>
-    <tr>
+<form method="post" action="{$platal->ns}member/{$platal->argv[1]}">
+  <table cellpadding="0" cellspacing="0" class='tinybicol'>
+    <tr class="pair">
       <td class="titre">
         Permissions:
       </td>
@@ -46,7 +50,7 @@
       </td>
     </tr>
     {if $user.origine neq X}
-    <tr>
+    <tr class="impair">
       <td class="titre">
         Prénom:
       </td>
@@ -54,7 +58,7 @@
         <input type="text" value="{$user.prenom}" name="prenom" size="40" />
       </td>
     </tr>
-    <tr>
+    <tr class="impair">
       <td class="titre">
         Nom:
       </td>
         <input type="text" value="{$user.nom}" name="nom" size="40" />
       </td>
     </tr>
-    <tr>
+    <tr class="impair">
+      <td class="titre">
+        Sexe:
+      </td>
+      <td>
+        <select name="sexe">
+          <option value="0"{if $user.sexe eq 0} selected="selected"{/if}>Homme</option>
+          <option value="1"{if $user.sexe eq 1} selected="selected"{/if}>Femme</option>
+        </select>
+      </td>
+    </tr>
+    <tr class="impair">
       <td class="titre">
         Email:
       </td>
         <input type='checkbox' name='ml2[{$liste.list}]' {if $liste.sub eq 2}checked="checked"{/if} />
       </td>
       <td>
-        <a href='listes-members.php?liste={$liste.list}'>{$liste.list}</a>
+        <a href='{$platal->ns}lists/members/{$liste.list}'>{$liste.list}</a>
       </td>
       <td>{$liste.desc}</td>
       <td class='right'>{$liste.nbsub}</td>
         <input type='checkbox' name='ml4[{$a.alias}]' {if $a.sub}checked="checked"{/if} />
       </td>
       <td>
-        <a href='alias-admin.php?liste={$a.alias}'>{$a.alias}</a>
+        <a href='{$platal->ns}alias/admin/{$a.alias}'>{$a.alias}</a>
       </td>
     </tr>
     {foreachelse}