Fix #425: Add a header with the user login in mails sent from the site
[platal.git] / templates / carnet / rss.tpl
index ef669e1..81b744a 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -22,7 +22,7 @@
 
 <?xml version="1.0"?>
 {***************************************************************************
- *  Copyright (C) 2003-2004 Polytechnique.org                              *
+ *  Copyright (C) 2003-2006 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -44,7 +44,7 @@
   <channel>
     <title>Polytechnique.org :: Carnet</title>
     <language>fr</language>
-    <link>{#globals.baseurl#}/carnet/panel.php</link>
+    <link>{#globals.baseurl#}/carnet/panel</link>
     <description>Ton carnet polytechnicien...</description>
     <image>
       <title>Polytechnique.org</title>
       <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}</link>
+      <link>{#globals.baseurl#}/profile/{$x.bestalias}?force_login=1</link>
       <description><![CDATA[
-        {if !$x.contact}
-        <a href="{#globals.baseurl#}/carnet/mescontacts.php?action=ajouter&amp;user={$x.bestalias}">
+        {if !$x.contact and !$x.dcd}
+        <a href="{#globals.baseurl#}/carnet/contacts?action=ajouter&amp;user={$x.bestalias}">
           ajouter &agrave; mes contacts
         </a>
         {/if}