annuaire xnet, tri par promo + suppression d'un exterieur rentre deux fois dans la...
[platal.git] / templates / xnet / groupe / evenements.tpl
index f3ffaed..8282772 100644 (file)
@@ -47,12 +47,12 @@ Ev
   <form action="{$smarty.server.PHP_SELF}" method="post">
   {foreach from=$evenements item=e}
   <table class="tiny" cellspacing="0" cellpadding="0">
-    <tr {popup caption=$e.intitule text=$e.descriptif}>
+    <tr {popup caption=$e.intitule" text=$e.descriptif}>
       <th colspan="2">
         {$e.intitule}
         {if $admin}
         <a href="evt-modif.php?mod=1&amp;eid={$e.eid}"><img src="{rel}/images/profil.png" title="Edition de l'événement" alt="Edition de l'événement" /></a>
-        <a href="evt-modif.php?sup=1&amp;eid={$e.eid}"><img src="{rel}/images/del.png" alt="Suppression de {$e.intitule}" title="Suppression de {$e.intitule}" /></a>
+        <a href="evt-modif.php?sup=1&amp;eid={$e.eid}" onclick="return confirm('Supprimer l\'événement effacera la liste des inscrits et des paiements.\n Es-tu sûr de vouloir supprimer l\'événement ?')"><img src="{rel}/images/del.png" alt="Suppression de {$e.intitule}" title="Suppression de {$e.intitule}" /></a>
         {/if}
       </th>
     </tr>
@@ -149,6 +149,8 @@ Ev
     <p style="text-align:center">
       <input type="submit" value="Valider mes inscriptions" />
     </p>
+  {else}
+    <p>&nbsp;</p>
   {/if}
   {/foreach}