Fix link to calendar and update Changelog
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 23 Jul 2006 12:54:36 +0000 (12:54 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 23 Jul 2006 12:54:36 +0000 (12:54 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@589 839d8a87-29fc-0310-9880-83ba4fa771e5

ChangeLog
modules/carnet.php
templates/carnet/mescontacts.tpl

index e8b3baf..e309675 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -64,6 +64,10 @@ New:
         - Rework pmwiki integration, make it way more simple.               -MC
         - Rework authentication, don't let pmwiki deal with it.             -MC
 
+Bug/Wish:
+
+    * Carnet:
+        - #435: Calendar contains yearly events for all the contacts       -FRU
 
 ================================================================================
 VERSION 0.9.10                                                      29 Juin 2006
index 6c200e3..407655c 100644 (file)
@@ -326,7 +326,7 @@ class CarnetModule extends PLModule
         $page->assign('notifs', $notifs);
     }
 
-    function handler_ical(&$page, $user = null, $hash = null, $all = null)
+    function handler_ical(&$page)
     {
         $page->changeTpl('carnet/calendar.tpl', NO_SKIN);
 
index d50608c..d023b91 100644 (file)
@@ -54,19 +54,12 @@ Pour r
   [<a href="carnet/contacts/pdf/mescontacts.pdf" class='popup'><strong>tri par noms</strong></a>]
   </li>
 </ul>
-{if $smarty.session.core_rss_hash}
 <p>
   Tu peux récupérer un calendrier iCal avec l'anniversaire de tes contacts.
 </p>
-  <div class="right">
-    <a href='carnet/ical/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/cal.ics'><img src='images/icalicon.gif' alt='fichier ical' title='Anniversaires'/></a>
-  </div>
-{else}
-<p>
-  Pour récupérer un calendrier iCal avec l'anniversaire de tes contacts, active les flux RSS dans <a href="preferences">Mes préférences</a>.
-</p>
-{/if}
-
+<div class="right">
+  <a href='carnet/ical/annivs-x.ics'><img src='images/icalicon.gif' alt='fichier ical' title='Anniversaires'/></a>
+</div>
 
 {if $trombi}