Grey submit button on send mail page after click.
[platal.git] / templates / admin / logger-view.tpl
index 8600534..2b214d3 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2014 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>
 </tr>
 <tr>
+  <td><strong>Action</strong></td>
+  <td>
+    <select name="action" onchange="this.form.submit()">
+      {html_options options=$actions selected=$action}
+    </select>
+  </td>
+</tr>
+<tr>
   <td><strong>Utilisateur</strong></td>
   <td>
     <input type="text" name="loguser" value="{$loguser}" />
     </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>
 {/if}
 
 
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
+{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}