Race condition.
[platal.git] / templates / skin / openweb.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2008 Polytechnique.org                             *}
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
23 {include file=skin/common.doctype.tpl}
24     <link rel="stylesheet" type="text/css" href="css/openweb.css" media="all" />
25     {include file=skin/common.header.tpl}
26     {include file=skin/common.bandeau.head.tpl}
27   </head>
28   <body>
29     {include file=skin/common.devel.tpl}
30
31     {if !$simple}
32       {include file=skin/common.bandeau.tpl}
33     {/if}
34     {if $smarty.session.suid} 
35     <div id="suid"> 
36       <a href="exit"> 
37         Quitter le SU sur {$smarty.session.forlife} ({$smarty.session.perms->flags()}) 
38       </a> 
39     </div> 
40     {/if} 
41
42   {if $simple}
43
44   <div id="body">
45     {include file="skin/common.content.tpl"}
46   </div>
47
48   {else}
49
50     <table id="body" cellpadding="0" cellspacing="0">
51       <tr>
52         <td id="body-logo">
53           <a href=""><img src="images/skins/default_headlogo.jpg" alt="[ LOGO ]" /></a>
54         </td>
55         <td id="body-top">
56           <a href=""><img src="images/skins/default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
57           {include file="skin/common.title.header.tpl"}
58         </td>
59       </tr>
60       <tr>
61         <td id="body-menu">
62         {include file=skin/common.menu.tpl}
63         </td>
64         <td style="vertical-align: top">
65           <div id="content">
66           {include file="skin/common.content.tpl"}
67           </div>
68         </td>
69       </tr>
70       <tr>
71         <td id="body-bottom" colspan='2'>
72           {include file=skin/common.footer.tpl}
73         </td>
74       </tr>
75     </table>
76   {/if}
77   </body>
78 </html>
79 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}