import some diogenes thingies into x.org, rough import, needs more work
[platal.git] / templates / logger-view.tpl
index 8c15713..f20a2d3 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {*                                                                        *}
 {**************************************************************************}
 
-
-<h1>
-  Parcours des logs du site
-</h1>
-
+<h1>Parcours des logs du site</h1>
 
 {if $smarty.request.logsess}
 
@@ -34,7 +30,8 @@
 </tr>
 <tr class="impair">
   <td class="titre">{$msg_user}</td>
-  <td>{$session.username} {if $session.suer}(suid by {$session.suer}){/if} [<a href="?logauth={$session.auth}&amp;loguser={$session.username}">user's log</a>]</td>
+  <td>{$session.username} {if $session.suer}(suid by {$session.suer}){/if}
+  [<a href="{$platal->ns}admin/logger?logauth={$session.auth}&amp;loguser={$session.username}">user's log</a>]</td>
 </tr>
 <tr class="pair">
   <td class="titre">{$msg_host}</td>
@@ -65,7 +62,7 @@
 
 {else}
 
-<form method="post" action="{$smarty.server.PHP_SELF}">
+<form method="post" action="{$platal->ns}admin/logger">
 <table class="bicol">
 <tr>
   <th colspan="2">{$msg_filter_by}</th>