Merge commit 'origin/master' into account
[platal.git] / templates / carnet / index.tpl
index 9905583..b1d0630 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -31,7 +31,7 @@
   <tr class="impair">
     <td class='half'>
       <h3>
-        <a href="{"carnet/mescontacts.php"|url}">Page de tes contacts</a>
+        <a href="carnet/contacts">Page de tes contacts</a>
       </h3>
       <div class="explication">
         Tu peux ici lister tes contacts, en ajouter et en retirer.
     </td>
     <td class='half'>
       <h3>
-        <a href="{"carnet/mescontacts.php?trombi=1"|url}">Le trombi de tes contacts</a>
+        <a href="carnet/contacts/trombi">Le trombi de tes contacts</a>
       </h3>
       <div class="explication">
-        La même chose que la page de tes contacts... <strong>en images !</strong>
+        La même chose que la page de tes contacts&hellip; <strong>en images&nbsp;!</strong>
       </div>
     </td>
   </tr>
 <table class="bicol">
   <tr>
     <th colspan="2">
+      {if $smarty.session.token}
+      <a href="carnet/rss/{$smarty.session.hruid}/{$smarty.session.token}/rss.xml" style="display:block;float:right" title="Notifications">
+        {icon name=feed title='fil rss'}
+      </a>
+      {else}
+      <a href='prefs/rss/?referer=carnet' style="display:block;float:right">
+        {icon name=feed_add title='Activer mon fil rss'}
+      </a>
+      {/if}
       Notifications
     </th>
   </tr>
   <tr class="pair">
     <td class='half'>
       <h3>
-        <a href="{rel}/carnet/panel">Tous les évenements de la semaine</a>
+        <a href="carnet/panel">Tous les évenements de la semaine</a>
       </h3>
       <div class="explication">
-        Affichage de tous les évenements de camarades/promos
-  {if $smarty.session.core_rss_hash}
-  <div class="right">
-    <a href='{rel}/carnet/rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml'><img src='{rel}/images/rssicon.gif' alt='fil rss' /></a>
-  </div>
-  {else}
-  <div class="right">
-    <a href='{rel}/prefs/rss/?referer=carnet/index.php'><img src='{rel}/images/rssact.gif' alt='fil rss' /></a>
-  </div>
-  {/if}
+        Affichage de tous les évenements de camarades/promos
       </div>
     </td>
     <td class='half'>
       <h3>
-        <a href="{"carnet/notifs.php"|url}">Configurer tes notifications</a>
+        <a href="carnet/notifs">Configurer tes notifications</a>
       </h3>
       <div class="explication">
-        Être notifié des inscriptions, décès, changement de fiche, ...
+        Être notifié des inscriptions, décès, changement de fiche&hellip;
       </div>
     </td>
   </tr>
 </table>
 
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}