Can set a netmask for ip watch.
[platal.git] / templates / skin / openweb.tpl
index 1b1b3b3..b634ca7 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  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  *}
   <body>
     {include file=skin/common.devel.tpl}
 
-    {if $smarty.session.suid}
-    <table id="suid" cellpadding="0" cellspacing="0">
-      <tr>
-        <td>
-          {$smarty.session.suid} ({$smarty.session.forlife})
-          [<a href="exit">exit</a>]
-        </td>
-      </tr>
-    </table>
+    {if !$simple}
+      {include file=skin/common.bandeau.tpl}
     {/if}
+    {if $smarty.session.suid} 
+    <div id="suid"> 
+      <a href="exit"> 
+        Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms->flags()}) 
+      </a> 
+    </div> 
+    {/if} 
 
   {if $simple}
 
@@ -47,8 +47,6 @@
 
   {else}
 
-    {include file=skin/common.bandeau.tpl}
-
     <table id="body" cellpadding="0" cellspacing="0">
       <tr>
         <td id="body-logo">