.backtrace:hover div.hide { display: block }
.backtrace h1 { margin: 0px; }
-#suid {
- color: red;
- background: #ffc0cb;
- width: 100%;
- font-weight: bold;
-}
-#suid td { padding: 2px; }
-#suid a { color: red; }
+#suid {
+ color: red;
+ background: #ffc0cb;
+ width: auto;
+ font-weight: bold;
+ text-align: center;
+}
+#suid a {
+ color: red;
+ background: inherit;
+ text-decoration: none;
+ display: block;
+}
+#suid:hover {
+ color: red;
+ background: #ffffcb;
+}
+#suid a:hover {
+ color: #ff7000;
+ background: inherit;
+}
table#body {
color: #000;
<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}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">