force 'base href=...../~x......' once for good.
[platal.git] / templates / skin / nbviolet.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
6e1e795f 3{* Copyright (C) 2003-2006 Polytechnique.org *}
0337d704 4{* http://opensource.polytechnique.org/ *}
5{* *}
6{* This program is free software; you can redistribute it and/or modify *}
7{* it under the terms of the GNU General Public License as published by *}
8{* the Free Software Foundation; either version 2 of the License, or *}
9{* (at your option) any later version. *}
10{* *}
11{* This program is distributed in the hope that it will be useful, *}
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14{* GNU General Public License for more details. *}
15{* *}
16{* You should have received a copy of the GNU General Public License *}
17{* along with this program; if not, write to the Free Software *}
18{* Foundation, Inc., *}
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
20{* *}
21{**************************************************************************}
22<?xml version="1.0" encoding="iso-8859-1"?>
23<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
24<html xmlns="http://www.w3.org/1999/xhtml">
25 <head>
7da8ef90 26 <base href="{#globals.baseurl#}/" />
0337d704 27 <link rel="stylesheet" type="text/css" href="{rel}/css/default.css" media="screen" />
28 <link rel="stylesheet" type="text/css" href="{rel}/css/nbviolet.css" media="screen" />
29 {include file=skin/common.header.tpl}
30 {include file=skin/common.bandeau.head.tpl}
31 </head>
9931a3c9 32 <body>
0337d704 33 {include file=skin/common.devel.tpl}
34
35 {if $smarty.session.suid}
36 <table id="suid" cellpadding="0" cellspacing="0">
37 <tr>
38 <td>
39 {$smarty.session.suid} ({$smarty.session.forlife})
4a5fb34b 40 [<a href="{rel}/exit">exit</a>]
0337d704 41 </td>
42 </tr>
43 </table>
44 {/if}
45
46 {if $simple}
47
48 <div id="content">
49 {include file="skin/common.content.tpl"}
50 </div>
51
52 {else}
53
54 {include file=skin/common.bandeau.tpl}
55
56 <table id="body" cellpadding="0" cellspacing="0">
57 <tr>
58 <td id="body-logo">
42d9575b 59 <a href="{rel}/events"><img src="{rel}/images/sk_nbviolet_logo.gif" alt="[ LOGO ]" /></a>
0337d704 60 </td>
61 <td id="body-top">
42d9575b 62 <a href="{rel}/events"><img src="{rel}/images/sk_nbviolet_ban.jpg" alt="[ Polytechnique.org ]" /></a>
6e1e795f 63 {include file="skin/common.title.header.tpl"}
42d9575b 64 <a href="{rel}/events"><img src="{rel}/images/sk_nbviolet_lesX.gif" alt="[LES X SUR LE WEB]" /></a>
0337d704 65 </td>
66 </tr>
67 <tr>
68 <td id="body-menu">
69 {foreach key=menu_title item=menu_list from=$menu}
70 {if $menu_title}
71 <div class="menu_title">{$menu_title}</div>
72 {/if}
73 {foreach item=mi from=$menu_list}
42d9575b 74 <div class='menu_item'><a href="{$mi.url}">{$mi.text}</a></div>
0337d704 75 {/foreach}
76 {/foreach}
77 {perms level=admin}
78 <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;">
79 <tr><th>Valid</th></tr>
80 <tr class="impair">
42d9575b 81 <td><a href="{rel}/admin/valider.php">{insert name="mkStats"}</a></td>
0337d704 82 </tr>
83 </table>
84 {/perms}
85 </td>
86 <td id="content">
87 {include file="skin/common.content.tpl"}
88 </td>
89 </tr>
90 <tr>
91 <td id="body-bottom" colspan="2">
92 {include file=skin/common.footer.tpl}
93 </td>
94 </tr>
95 </table>
96 {/if}
97 </body>
98</html>
99{* vim:set et sw=2 sts=2 sws=2: *}