2006 => 2007 Happy New Year\!
[platal.git] / templates / carnet / index.tpl
index 031d49f..9b41374 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2007 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.
@@ -39,7 +39,7 @@
     </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>
 <table class="bicol">
   <tr>
     <th colspan="2">
+      {if $smarty.session.core_rss_hash}
+      <a href='carnet/rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml' style="display:block;float:right">
+        {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="{"carnet/panel.php"|url}">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}/rss.php/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}.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}
       </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, ...