| 1 | {**************************************************************************}\r |
| 2 | {* *}\r |
| 3 | {* Copyright (C) 2003-2010 Polytechnique.org *}\r |
| 4 | {* http://opensource.polytechnique.org/ *}\r |
| 5 | {* *}\r |
| 6 | {* This program is free software; you can redistribute it and/or modify *}\r |
| 7 | {* it under the terms of the GNU General Public License as published by *}\r |
| 8 | {* the Free Software Foundation; either version 2 of the License, or *}\r |
| 9 | {* (at your option) any later version. *}\r |
| 10 | {* *}\r |
| 11 | {* This program is distributed in the hope that it will be useful, *}\r |
| 12 | {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}\r |
| 13 | {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}\r |
| 14 | {* GNU General Public License for more details. *}\r |
| 15 | {* *}\r |
| 16 | {* You should have received a copy of the GNU General Public License *}\r |
| 17 | {* along with this program; if not, write to the Free Software *}\r |
| 18 | {* Foundation, Inc., *}\r |
| 19 | {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}\r |
| 20 | {* *}\r |
| 21 | {**************************************************************************}\r |
| 22 | {if $lang eq "en"}\r |
| 23 | "Subject","Start Date","End Date","All day event","Categories","Description","Private"\r |
| 24 | {else}\r |
| 25 | "Objet","{"Début"|utf8_decode}","Fin","{"Journée entière"|utf8_decode}","{"Catégories"|utf8_decode}","{"Privé"|utf8_decode}"\r |
| 26 | {/if}\r |
| 27 | {iterate from=$events item=e}\r |
| 28 | {foreach from=$years item=year}\r |
| 29 | "{$e.summary|addslashes|utf8_decode}","{$e.timestamp|date_format:"%m/%d/"}{$year}","{$e.timestamp|date_format:"%m/%d/"}{$year}","True","{if $lang eq\r |
| 30 | "en"}Birthday{else}Anniversaire{/if}","False"\r |
| 31 | {/foreach}\r |
| 32 | {/iterate}\r |