Remove my old and ugly hack to check permissions and set up a new flexible way to...
[platal.git] / templates / skin / linux.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5ddeb07c 3{* Copyright (C) 2003-2007 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{**************************************************************************}
9b2e77de 22
23{include file=skin/common.doctype.tpl}
b9384d56 24 <link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
25 <link rel="stylesheet" type="text/css" href="css/linux.css" media="all" />
0337d704 26 {include file=skin/common.header.tpl}
27 {include file=skin/common.bandeau.head.tpl}
28 </head>
9931a3c9 29 <body>
0337d704 30 {include file=skin/common.devel.tpl}
a3afa47c 31 {if !$simple}
32 {include file=skin/common.bandeau.tpl}
33 {/if}
0337d704 34 {if $smarty.session.suid}
a3afa47c 35 <div id="suid">
36 <a href="exit">
bf517daf 37 Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms->flags()})
a3afa47c 38 </a>
39 </div>
0337d704 40 {/if}
41
42 {if $simple}
43
44 <div id="content">
45 {include file="skin/common.content.tpl"}
46 </div>
47
48 {else}
49
0337d704 50 <table id="body" cellpadding="0" cellspacing="0">
51 <tr>
52 <td id="body-logo">
d7eb7920 53 <a href=""><img src="images/skins/linux_logo.jpg" alt="[ LOGO ]" /></a>
0337d704 54 </td>
55 <td id="body-top">
d7eb7920 56 <a href=""><img src="images/skins/linux_ban.jpg" alt="[ Polytechnique.org ]" /></a>
6e1e795f 57 {include file="skin/common.title.header.tpl"}
d7eb7920 58 <a href=""><img src="images/skins/linux_lesX.jpg" alt="[LES X SUR LE WEB]" /></a>
0337d704 59 </td>
60 </tr>
61 <tr>
62 <td id="body-menu">
62a66dfc 63 {include file=skin/common.menu.tpl}
0337d704 64 </td>
65 <td id="content">
62a66dfc 66 {include file="skin/common.content.tpl"}
0337d704 67 </td>
68 </tr>
69 <tr>
70 <td id="body-bottom" colspan="2">
71 {include file=skin/common.footer.tpl}
72 </td>
73 </tr>
74 </table>
75 {/if}
76 </body>
77</html>
a7de4ef7 78{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}