X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcarnet%2Fcalendar.tpl;h=52df5e2b80808cc4e527dcf9aa9431132ceee6da;hb=0be1a4a16a7e66d2a1bf617c2ed1914fae5e91a7;hp=80df304caf8210d173177a6a7a8fa9951d61e6a4;hpb=b27ccd85af8db2d996495ba1e8a63b504b2a9b4a;p=platal.git diff --git a/templates/carnet/calendar.tpl b/templates/carnet/calendar.tpl index 80df304..52df5e2 100644 --- a/templates/carnet/calendar.tpl +++ b/templates/carnet/calendar.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -26,7 +26,7 @@ CALSCALE:GREGORIAN METHOD:PUBLISH {display_ical name="x-wr-calname" value="Anniversaires des X"} X-WR-TIMEZONE:Europe/Paris -{foreach from=$events item=e} +{iterate from=$events item=e} BEGIN:VEVENT DTSTAMP:{$e.timestamp|date_format:"%Y%m%dT%H%M%SZ"} DTSTART;VALUE=DATE:{$e.date} @@ -36,5 +36,5 @@ RRULE:FREQ=YEARLY;INTERVAL=1 CLASS:PUBLIC {display_ical name="summary" value=$e.summary} END:VEVENT -{/foreach} +{/iterate} END:VCALENDAR{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}