body {
font-family: "Arial", sans-serif;
- font-size: 90%;
+ font-size: 10pt;
background: url('../images/skins/keynote_bg.png') #4f4e63 top left repeat-x fixed;
color: #fff;
}
#body-menu {
width: 140px;
text-align: center;
- font-size: 78%;
+ font-size: 85%;
font-weight: bold;
white-space: nowrap;
border-right: 1px solid #fff;
function handlers()
{
return array(
- 'login' => $this->make_hook('login', AUTH_COOKIE),
'groupex/donne-chall.php'
=> $this->make_hook('chall', AUTH_PUBLIC),
'groupex/export-econfiance.php'
);
}
- function handler_login(&$page)
- {
- $allkeys = func_get_args();
- unset($allkeys[0]);
- $url = join('/',$allkeys);
- pl_redirect($url ? $url : 'events');
- }
-
function handler_chall(&$page)
{
$_SESSION["chall"] = uniqid(rand(), 1);
return array(
'403' => $this->make_hook('403', AUTH_PUBLIC),
'404' => $this->make_hook('404', AUTH_PUBLIC),
- 'send_bug' => $this->make_hook('bug', AUTH_COOKIE),
+ 'login' => $this->make_hook('login', AUTH_COOKIE),
+ 'send_bug' => $this->make_hook('bug', AUTH_COOKIE),
'purge_cache' => $this->make_hook('purge_cache', AUTH_COOKIE, 'admin'),
'get_rights' => $this->make_hook('get_rights', AUTH_MDP, 'admin'),
$page->assign('near', $platal->near_hook());
}
+ function handler_login(&$page)
+ {
+ $allkeys = func_get_args();
+ unset($allkeys[0]);
+ $url = join('/',$allkeys);
+ pl_redirect($url);
+ }
+
function handler_favicon(&$page)
{
$data = file_get_contents(dirname(__FILE__).'/../htdocs/images/favicon.ico');
{
return array(
'index' => $this->make_hook('index', AUTH_PUBLIC),
- 'login' => $this->make_hook('login', AUTH_MDP),
'exit' => $this->make_hook('exit', AUTH_PUBLIC),
'admin' => $this->make_hook('admin', AUTH_MDP, 'admin'),
{foreach item=query from=$trace_data}
-<table class="bicol" style="width: 75%; font-family: monospace; font-size: smaller; margin-left:2px; margin-top: 3px;">
+{if $query.explain}
+{assign var=cols value=$query.explain[0]|@count}
+{else}
+{assign var=cols value=1}
+{/if}
+<table class="bicol" style="width: 75%; font-size: smaller; margin-left:2px; margin-top: 3px;">
<tr class="impair">
- <td>
+ <td colspan="{$cols}">
<strong>QUERY:</strong>
<pre style="padding: 0; margin: 0;">{$query.query}</pre>
<br/>
</tr>
{if $query.error}
<tr>
- <td>
+ <td colspan="{$cols}">
<strong style="color: #f00">ERROR:</strong><br />
{$query.error|nl2br}
</td>
</tr>
{else}
<tr>
- <td>
+ <td colspan="{$cols}">
<strong>INFO:</strong><br />
{$query.rows} enregistrement{if $query.rows > 1}s{/if} en {$query.exectime}ms
</td>
</tr>
{/if}
-</table>
{if $query.explain}
-<table class="bicol" style="width: 75%; font-family: monospace; font-size: smaller; margin-left: 2px; margin-bottom: 3px;">
<tr>
{foreach key=key item=item from=$query.explain[0]}
- <th>{$key}</th>
+ <th style="font-size: smaller">{$key}</th>
{/foreach}
</tr>
{foreach item=explain_row from=$query.explain}
<tr class="impair">
{foreach item=item from=$explain_row}
- <td class="center">{$item}</td>
+ <td class="center" style="font-size: smaller">{$item}</td>
{/foreach}
</tr>
{/foreach}
-</table>
{/if}
+</table>
{/foreach}
{* vim:set et sw=2 sts=2 sws=2: *}