projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds log search on actions (Closes #1568).
[platal.git]
/
templates
/
admin
/
logger-view.tpl
diff --git
a/templates/admin/logger-view.tpl
b/templates/admin/logger-view.tpl
index
ae9e58a
..
083acfe
100644
(file)
--- a/
templates/admin/logger-view.tpl
+++ b/
templates/admin/logger-view.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
11
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* 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>
<h1>Parcours des logs du site</h1>
-{if
$events
}
+{if
t($events)
}
<table class="bicol">
<tr>
<table class="bicol">
<tr>
@@
-93,6
+93,14
@@
</td>
</tr>
<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><strong>Utilisateur</strong></td>
<td>
<input type="text" name="loguser" value="{$loguser}" />
@@
-121,11
+129,13
@@
</td>
<td class="action">
<a href="admin/logger/session/{$mysess.id}">session</a>
</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>
<a href="admin/logger/user/{$mysess.username}">user's log</a>
+ {/if}
</td>
</tr>
{/foreach}
</td>
</tr>
{/foreach}
-{if
$msg_nofilters
}
+{if
t($msg_nofilters)
}
<tr>
<td>{$msg_nofilters}</td>
</tr>
<tr>
<td>{$msg_nofilters}</td>
</tr>