{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2004 Polytechnique.org *}
+{* Copyright (C) 2003-2008 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
{* *}
{**************************************************************************}
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <link rel="stylesheet" type="text/css" href="{rel}/css/default.css" media="screen" />
- <link rel="stylesheet" type="text/css" href="{rel}/css/linux.css" media="screen" />
+
+{include file=skin/common.doctype.tpl}
+ <link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
+ <link rel="stylesheet" type="text/css" href="css/linux.css" media="all" />
{include file=skin/common.header.tpl}
{include file=skin/common.bandeau.head.tpl}
</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.php"|url}">exit</a>]
- </td>
- </tr>
- </table>
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.hruid} ({$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">
- <a href="{"login.php"|url}"><img src="{"images/sk_linux_logo.jpg"|url}" alt="[ LOGO ]" /></a>
+ <a href=""><img src="images/skins/linux_logo.jpg" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_linux_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
- <table>
- <tr>
- <td class="date-heure">
- <script type="text/javascript">
- <!--
- document.write(getNow());
- //-->
- </script>
- </td>
- <td class="inscrits">
- {insert name="getNbIns"} polytechniciens sur le web<br />
- {insert name="getNbNotifs"}
- </td>
- </tr>
- </table>
- <a href="{"login.php"|url}"><img src="{"images/sk_linux_lesX.jpg"|url}" alt="[LES X SUR LE WEB]" /></a>
+ <a href=""><img src="images/skins/linux_ban.jpg" alt="[ Polytechnique.org ]" /></a>
+ {include file="skin/common.title.header.tpl"}
+ <a href=""><img src="images/skins/linux_lesX.jpg" alt="[LES X SUR LE WEB]" /></a>
</td>
</tr>
<tr>
<td id="body-menu">
- {foreach key=menu_title item=menu_list from=$menu}
- {if $menu_title}
- <div class="menu_title">{$menu_title}</div>
- {/if}
- {foreach item=mi from=$menu_list}
- <div class='menu_item'><a href="{$mi.url|url}">{$mi.text}</a></div>
- {/foreach}
- {/foreach}
- {perms level=admin}
- <table class="bicol" style="font-weight:normal;text-align:center; border-left:0px; border-right:0px; margin-top:0.5em; width:100%; margin-left: 0; font-size: smaller;">
- <tr><th>Valid</th></tr>
- <tr class="impair">
- <td><a href="{"admin/valider.php"|url}">{insert name="mkStats"}</a></td>
- </tr>
- </table>
- {/perms}
+ {include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include file="skin/common.content.tpl"}
</td>
</tr>
<tr>
{/if}
</body>
</html>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}