Adapts homonyms issues to new mail chain.
[platal.git] / templates / admin / logger-view.tpl
index ae9e58a..8505bce 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -22,7 +22,7 @@
 
 <h1>Parcours des logs du site</h1>
 
-{if $events}
+{if t($events)}
 
 <table class="bicol">
 <tr>
     </td>
     <td class="action">
       <a href="admin/logger/session/{$mysess.id}">session</a>
+      {if !$loguser || ($loguser neq $mysess.username) || $year || $month || $day}
       <a href="admin/logger/user/{$mysess.username}">user's log</a>
+      {/if}
     </td>
   </tr>
   {/foreach}
-{if $msg_nofilters}
+{if t($msg_nofilters)}
 <tr>
   <td>{$msg_nofilters}</td>
 </tr>