#suid {
color: red;
background: #ffc0cb;
- width: 100%;
+ 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;
}
-#suid td { padding: 2px; }
-#suid a { color: red; }
#body {
width: 740px;
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;
}
-#suid td { padding: 2px; }
-#suid a { color: red; background: inherit; }
#body {
- width: 740px;
+ width: 800px;
margin-left: auto;
margin-right: auto;
}
LEFT JOIN auth_user_quick AS a ON s.id=a.skin
WHERE skin_tpl != '' AND ext != ''
GROUP BY id ORDER BY s.date DESC";
- $page->assign_by_ref('skins', XDB::iterator($sql));
+ $page->assign('skins', XDB::iterator($sql));
}
function handler_exit(&$page, $level = null)
</head>
<body>
{include file=skin/common.devel.tpl}
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
</head>
<body>
{include file=skin/common.devel.tpl}
-
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
</head>
<body>
{include file=skin/common.devel.tpl}
-
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
</head>
<body>
{include file=skin/common.devel.tpl}
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
</head>
<body>
{include file=skin/common.devel.tpl}
-
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
</head>
<body>
{include file=skin/common.devel.tpl}
-
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
</head>
<body>
{include file=skin/common.devel.tpl}
-
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
</head>
<body>
{include file=skin/common.devel.tpl}
-
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
</head>
<body>
{include file=skin/common.devel.tpl}
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{include file="skin/common.content.tpl"}
</div>
{else}
- {include file=skin/common.bandeau.tpl}
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-top">
</head>
<body>
{include file=skin/common.devel.tpl}
-
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
</head>
<body>
{include file=skin/common.devel.tpl}
-
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
{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>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms})
+ </a>
+ </div>
{/if}
{if $simple}
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">