{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2008 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
<table class="bicol">
<tr>
- <th colspan="2">Propriétés de la session</th>
+ <th colspan="2">Propriétés de la session</th>
</tr>
<tr class="impair">
<td class="titre">utilisateur</td>
<td>{$session.username} {if $session.suer}(suid by {$session.suer}){/if}
[<a href="{$platal->ns}admin/logger/user/{$session.username}">user's log</a>]</td>
</tr>
+{if $session.forward_ip}
<tr class="pair">
- <td class="titre">Hôte</td>
- <td><em>{$session.host}</em> <tt>IP: {$session.ip}</tt></td>
+ <td class="titre">Hôte</td>
+ <td><em>{$session.forward_host}</em> <tt>IP: {$session.forward_ip|uint_to_ip}</tt></td>
</tr>
+<tr class="pair">
+ <td class="titre">Proxy</td>
+ <td><em>{$session.host}</em> <tt>IP: {$session.ip|uint_to_ip}</tt></td>
+</tr>
+{else}
+<tr class="pair">
+ <td class="titre">{if $session.flags}Proxy{else}Hôte{/if}</td>
+ <td><em>{$session.host}</em> <tt>IP: {$session.ip|uint_to_ip}</tt></td>
+</tr>
+{/if}
<tr class="impair">
<td class="titre">Navigateur</td>
<td>{$session.browser}</td>
<tr>
<th>date</th>
<th>action</th>
- <th>donnée</th>
+ <th>donnée</th>
</tr>
{foreach from=$events item=myevent}
<tr class="{cycle values="impair,pair"}">
<tr>
<td><strong>Date</strong></td>
<td>
- Année
+ Année
<select name="year" onchange="this.form.submit()">
{html_options options=$years selected=$year}
</select>
<table class="bicol" style="font-size: 90%">
<tr>
- <th>début</th>
+ <th>début</th>
<th>utilisateur</th>
- <th>résumé</th>
+ <th>résumé</th>
<th>actions</th>
</tr>
{foreach from=$sessions item=mysess}
{/if}
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}