del.png -> delete.gif
[platal.git] / templates / xnetevents / index.tpl
index 507efa9..67970fe 100644 (file)
 
 {if $admin}
 <p class="center">
-  [<a href="{rel}/{$platal->ns}events/edit">Annoncer un nouvel événement</a>]
+  [<a href="{$platal->ns}events/edit">Annoncer un nouvel événement</a>]
 </p>
 {/if}
 
 {foreach from=$evenements item=e}
 
-<table class="bicol" cellspacing="0" cellpadding="0" {popup caption=$e.intitule text=$e.descriptif}>
+<table class="bicol" cellspacing="0" cellpadding="0">
   <colgroup>
     <col width='25%' />
   </colgroup>
       {$e.intitule}
       {if $admin}
       <br />
-      [<a href="{rel}/{$platal->ns}events/edit/{$e.eid}?mod=1">
+      [<a href="{$platal->ns}events/edit/{$e.eid}">
         modifier
-        <img src="{rel}/images/profil.png" title="Edition de l'événement" alt="Edition" />
+        <img src="images/profil.png" title="Edition de l'événement" alt="Edition" />
       </a>]
       &nbsp;&nbsp;&nbsp;&nbsp;
-      [<a href="{rel}/{$platal->ns}events/edit/{$e.eid}?sup=1"
+      [<a href="javascript:dynpostkv('{$platal->ns}events', 'del', {$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 ?')">
         supprimer
-        <img src="{rel}/images/del.png" alt="Suppression de {$e.intitule}" title="Suppression" />
-      </a>]
+      {icon name=delete title='Suppression'}</a>]
       {/if}
     </th>
   </tr>
@@ -72,7 +71,7 @@
   <tr>
     <td class="titre">annonceur :</td>
     <td>
-      <a href='https://polytechnique.org/profile/{$e.alias}' class='popup2'>{$e.prenom} {$e.nom} ({$e.promo})</a>
+      <a href='https://www.polytechnique.org/profile/{$e.alias}' class='popup2'>{$e.prenom} {$e.nom} ({$e.promo})</a>
     </td>
   </tr>
 
@@ -80,9 +79,9 @@
     <td class="titre">Informations :</td>
     <td class='actions'>
       {if $admin || $e.show_participants}
-      <a href="{rel}/{$platal->ns}events/admin/{$e.eid}">
+      <a href="{$platal->ns}events/admin/{$e.eid}">
         consulter la liste des participants
-        <img src="{rel}/images/loupe.gif" title="Liste des participants" alt="" />
+        {icon name=group title="Liste des participants"}
       </a><br />
       {/if}
       {if $e.deadline_inscription}
     </td>
   </tr>
 
-  {if (!$e.membres_only or $is_member or $e.inscrit) and $e.inscr_open}
+  {if $e.inscr_open}
   <tr>
     <td colspan='2' class='center'>
       <strong>
-      <a href='{rel}/{$platal->ns}events/sub/{$e.eid}'>
+      <a href='{$platal->ns}events/sub/{$e.eid}'>
         gérer mon inscription
       </a>
       </strong>