{**************************************************************************}
{* *}
-{* 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 *}
{* *}
{**************************************************************************}
-<?xml version="1.0"?>
-{***************************************************************************
- * Copyright (C) 2003-2006 Polytechnique.org *
- * http://opensource.polytechnique.org/ *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the Free Software *
- * Foundation, Inc., *
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
- ***************************************************************************}
-<rss version="2.0">
- <channel>
- <title>Polytechnique.org :: Carnet</title>
- <language>fr</language>
- <link>{#globals.baseurl#}/carnet/panel.php</link>
- <description>Ton carnet polytechnicien...</description>
- <image>
- <title>Polytechnique.org</title>
- <url>{#globals.baseurl#}/images/logo.png</url>
- <link>{#globals.baseurl#}/</link>
- </image>
- {foreach from=$notifs->_data item=c key=cid}
- {foreach from=$c item=promo}
- {foreach from=$promo item=x}
- <item>
- <title>
- [{$notifs->_cats[$cid].short}] {$x.prenom} {$x.nom} ({$x.promo}) - le {$x.date|date_format|utf8_encode}
- </title>
- <link>{#globals.baseurl#}/fiche.php?user={$x.bestalias}&force_login=1</link>
- <description><![CDATA[
- {if !$x.contact and !$x.dcd}
- <a href="{#globals.baseurl#}/carnet/mescontacts.php?action=ajouter&user={$x.bestalias}">
- ajouter à mes contacts
- </a>
- {/if}
- ]]></description>
- <pubDate>{$x->known|rss_date}</pubDate>
- </item>
- {/foreach}
- {/foreach}
- {/foreach}
- </channel>
-</rss>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{if $article->data}
+<p>{profile user=$article->user promo=false link=false} a mis à jours les données suivantes :</p>
+<ul>
+{foreach from=$article->data item=f}
+ <li>{$f}</li>
+{/foreach}
+</ul>
+{/if}
+{if !$article->contact and !$article->dead}
+<a href="{#globals.baseurl#}/carnet/contacts?action=ajouter&user={$article->hruid}&token={$rss_hash}">
+ {icon name=add title="Ajouter" full=true} Ajouter à mes contacts
+</a><br />
+{/if}
+{if !$article->dead}
+<a href="{#globals.baseurl#}/vcard/{$article->profile}.vcf">
+ {icon name=vcard title="Carte de visite" full=true} Télécharger la carte de visite électronique
+</a>
+{/if}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}