Merge branch 'xorg/maint' into xorg/1.0.2/master
[platal.git] / templates / carnet / panel.tpl
index 680db95..db12e22 100644 (file)
@@ -38,8 +38,8 @@ Il faut pour cela se rendre sur la page de <a href='carnet/notifs'>configuration
 </p>
 
 <div class="right">
-{if $smarty.session.token}
-<a href="carnet/rss/{$smarty.session.hruid}/{$smarty.session.token}/rss.xml" title="Notifications">{icon name=feed title='fil rss'}</a>
+{if $smarty.session.user->token}
+<a href="carnet/rss/{$smarty.session.hruid}/{$smarty.session.user->token}/rss.xml" title="Notifications">{icon name=feed title='fil rss'}</a>
 {/if}
 </div>
 
@@ -63,9 +63,9 @@ Il faut pour cela se rendre sur la page de <a href='carnet/notifs'>configuration
     <ul>
     {/if}
     <li>
-      {if $cat.operation->seen($user,$smarty.session.watch_last)}<strong>{/if}
+      {if $cat.operation->seen($user,$smarty.session.user->watch_last)}<strong>{/if}
       {profile user=$user promo=true}
-      {if $cat.operation->seen($user,$smarty.session.watch_last)}</strong>{/if}
+      {if $cat.operation->seen($user,$smarty.session.user->watch_last)}</strong>{/if}
       {assign var=data value=$cat.operation->getData($user)}
       {if $data}
       <ul>