drop {rel} for good.
[platal.git] / templates / skin / default.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#}/" />
7b2413f6 27 <link rel="stylesheet" type="text/css" href="css/default.css" media="screen" />
0337d704 28 {include file=skin/common.header.tpl}
29 {include file=skin/common.bandeau.head.tpl}
30 </head>
9931a3c9 31 <body>
0337d704 32 {include file=skin/common.devel.tpl}
33 {if $smarty.session.suid}
34 <table id="suid" cellpadding="0" cellspacing="0">
35 <tr>
36 <td>
37 {$smarty.session.suid} ({$smarty.session.forlife})
7b2413f6 38 [<a href="exit">exit</a>]
0337d704 39 </td>
40 </tr>
41 </table>
42 {/if}
43
44 {if $simple}
45
46 <div id="content">
47 {include file="skin/common.content.tpl"}
48 </div>
49
50 {else}
51
52 {include file=skin/common.bandeau.tpl}
53
54 <table id="body" cellpadding="0" cellspacing="0">
55 <tr>
56 <td id="body-logo">
7b2413f6 57 <a href="events"><img src="images/sk_default_headlogo.jpg" alt="[ LOGO ]" /></a>
0337d704 58 </td>
59 <td id="body-top">
7b2413f6 60 <a href="events"><img src="images/sk_default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
6e1e795f 61 {include file="skin/common.title.header.tpl"}
7b2413f6 62 <a href="events"><img src="images/sk_default_lesX.gif" alt="[LES X SUR LE WEB]" /></a>
0337d704 63 </td>
64 </tr>
65 <tr>
66 <td id="body-menu">
67 {foreach key=menu_title item=menu_list from=$menu}
68 {if $menu_title}
69 <div class="menu_title">{$menu_title}</div>
70 {/if}
71 {foreach item=mi from=$menu_list}
42d9575b 72 <div class='menu_item'><a href="{$mi.url}">{$mi.text}</a></div>
0337d704 73 {/foreach}
74 {/foreach}
75 {perms level=admin}
76 <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;">
77 <tr><th>Valid</th></tr>
78 <tr class="impair">
7b2413f6 79 <td><a href="admin/valider.php">{insert name="mkStats"}</a></td>
0337d704 80 </tr>
81 </table>
82 {/perms}
83 </td>
84 <td id="content">
85 {include file="skin/common.content.tpl"}
86 </td>
87 </tr>
88 <tr>
89 <td id="body-bottom" colspan="2">
90 {include file=skin/common.footer.tpl}
91 </td>
92 </tr>
93 </table>
94 {/if}
95 </body>
96</html>
97{* vim:set et sw=2 sts=2 sws=2: *}