1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
23 <h1>Parcours des logs du site</h1>
25 {if $smarty.request.logsess}
29 <th colspan="2">Propriétés de la session</th>
32 <td class="titre">utilisateur</td>
33 <td>{$session.username} {if $session.suer}(suid by {$session.suer}){/if}
34 [<a href="{$platal->ns}admin/logger?logauth={$session.auth}&loguser={$session.username}">user's log</a>]</td>
37 <td class="titre">Hôte</td>
38 <td><em>{$session.host}</em> <tt>IP: {$session.ip}</tt></td>
41 <td class="titre">Navigateur</td>
42 <td>{$session.browser}</td>
54 {foreach from=$events item=myevent}
55 <tr class="{cycle values="impair,pair"}">
56 <td style="font-size:90%;">{$myevent.stamp|date_format:"%x %X"}</td>
57 <td><strong>{$myevent.text}</strong></td>
58 <td>{$myevent.data}</td>
65 <form method="post" action="{$platal->ns}admin/logger">
68 <td><strong>{$msg_date}</strong></td>
71 <select name="year" onchange="this.form.submit()">
72 {html_options options=$years selected=$year}
75 <select name="month" onchange="this.form.submit()">
76 {html_options options=$months selected=$month}
79 <select name="day" onchange="this.form.submit()">
80 {html_options options=$days selected=$day}
85 <td><strong>Utilisateur</strong></td>
87 <input type="text" name="loguser" value="{$loguser}" />
88 {html_options name="logauth" options=$auths selected=$logauth}
89 <input type="submit" />
98 <table class="bicol" style="font-size: 90%">
105 {foreach from=$sessions item=mysess}
106 <tr class="{cycle values="impair,pair"}">
107 <td>{$mysess.start|date_format:"%x %X"}</td>
108 <td><strong>{$mysess.username}</strong> <span class="smaller">({$mysess.lauth})</span></td>
110 {foreach from=$mysess.events item=myevent}{$myevent}<br />{/foreach}
113 <a href="admin/logger?logsess={$mysess.id}">session</a>
114 <a href="admin/logger?logauth={$mysess.auth}&loguser={$mysess.username}">user's log</a>
120 <td>{$msg_nofilters}</td>
127 {* vim:set et sw=2 sts=2 sws=2: *}