Update xnet menu and changelog
[platal.git] / templates / xnet / skin.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2006 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 <?xml version="1.0" encoding="iso-8859-15"?>
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>
26     <base href="{$globals->baseurl}/" />
27     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
28
29     <title>Les associations polytechniciennes</title>
30     <meta name="description" content="Les associations polytechniciennes" />
31     <meta name="keywords" content="Ecole polytechnique, associations polytechniciennes, groupes X, binets" />
32     <link rel="stylesheet" type="text/css" href="css/xnet.css" media="screen" />
33     <link rel="icon" type="image/png" href="images/favicon.png" />
34
35     <link rel="bookmark" href="http://www.polytechnique.fr/"        title="| École polytechnique" />
36     <link rel="bookmark" href="http://www.polytechnique.edu/"       title="| Institutionnal site" />
37     <link rel="bookmark" href="http://www.fondationx.org/"          title="| FX" />
38     <link rel="bookmark" href="http://www.polytechniciens.com/"     title="| AX" />
39     <link rel="bookmark" href="http://www.polytechnique.org/"       title="| Polytechnique.org" />
40     <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" />
41
42     {foreach from=$xorg_css item=css}
43     <link rel="stylesheet" type="text/css" href="css/{$css}" />
44     {/foreach}
45     {foreach from=$xorg_js item=js}
46     <script type="text/javascript" src="javascript/{$js}"></script>
47     {/foreach}
48     <script type="text/javascript" src="javascript/overlib.js"></script>
49
50     {if $xorg_rss}
51     <link rel="alternate" type="application/rss+xml" title="{$xorg_rss.title}" href="{$xorg_rss.href}" />
52     {/if}
53
54     {if $xorg_extra_header}
55     {$xorg_extra_header|smarty:nodefaults}
56     {/if}
57
58     {include file=skin/common.bandeau.head.tpl}
59   </head>
60   <body>
61     {include file=skin/common.devel.tpl}
62     {include file=skin/common.bandeau.tpl}
63
64     <table id="layout" cellspacing="0" cellpadding="0">
65       <tr>
66         <td colspan="2">
67         <table cellspacing="0" cellpadding="0" id="top">
68           <tr>
69             <td style="width: 150px">
70               <a href=""><img src="images/asso-montants.png" alt="Logo Assos" /></a>
71             </td>
72             <td style="width: 106px">
73               {if $xnet_type}
74               <img src="images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" />
75               {else}
76               <img src="images/logo_institutions.png" alt="Logo {$xnet_type}" width="106" height="96" />
77               {/if}
78             </td>
79             <td style="width: 44px">
80               <img src="images/fin_logo.jpg" alt="Fin logo" width="44" height="96" />
81             </td>
82             <td style="width: auto;">
83               <img src="images/bandeau.jpg" alt="bandeau" height="96" width="100%" />
84             </td>
85             {if $xnet_type}
86             <td style="width: 280px">
87               <img src="images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="280" height="96" />
88             </td>
89             {if $asso}
90             <td class="logo">
91               {if $asso.site}
92                 <a href="{$asso.site}"><img src='{$platal->ns}logo' alt="LOGO" height="80" /></a>
93               {else}
94                 <img src='{$platal->ns}logo' alt="LOGO" height="80"/>
95               {/if}
96             </td>
97             {/if}
98             {else}
99             <td class="logo">
100               <img src="images/asso.png" alt="Le serveur des activés associative des X" />
101               <a href="http://www.polytechnique.org">
102                 <img src="images/logo-xorg.png" alt="Polytechnique.org" height="80" />
103               </a>
104             </td>
105             {/if}
106           </tr>
107         </table>
108         </td>
109       </tr>
110
111       {if $menu}
112       <tr>
113         <td id="menu">
114           {foreach from=$menu key=title item=submenu}
115           {if $title neq 'no_title'}<h1>{$title}</h1>{/if}
116           {foreach from=$submenu key=tit item=url}
117           {if is_array($url)}
118           <a href="{$url.link}" onclick="{$url.onclick}">{$tit}</a>
119           {else}
120           <a href="{$url}">{$tit}</a>
121           {/if}
122           {/foreach}
123           {/foreach}
124         </td>
125         <td id="body">
126           <div class="breadcrumb">
127             <a href=".">X.net</a> »
128             {if $asso}
129             <a href="groups/{$asso.cat}">{$asso.cat|cat_pp}</a> »
130             {if $asso.dom}
131             <a href="groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> »
132             {/if}
133             {$asso.nom}
134             {elseif $cat}
135             <a href="groups/{$cat}">{$cat|cat_pp}</a> »
136             {if $dom || !$doms}
137             {if $cat eq 'promotions'}
138             Choix de la promotion
139             {else}
140             Choix de l'Asso
141             {/if}
142             {else}
143             Choix du domaine
144             {/if}
145             {elseif $wikipage}
146             <a href="Xnet">Documentation</a>
147             {/if}
148           </div>
149           {include file="skin/common.content.tpl"}
150         </td>
151       </tr>
152       {else}
153       <tr>
154         <td colspan="2">
155           {include file="skin/common.content.tpl"}
156         </td>
157       </tr>
158
159       <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
160
161       <tr>
162         <td colspan="2">
163           <table class="links" summary="liens" cellspacing="0" cellpadding="0">
164             <tr>
165               <td class="left">   <a href="groups/groupesx">Groupes X</a> </td>
166               <td class="left"> <a href="groups/binets">Binets</a> </td>
167               <td class="center"> <a href="groups/promotions">Promotions</a> </td>
168               <td class="center"> <a href="groups/institutions">Institutions</a> </td>
169               <td class="right">  <a href="plan">Tous</a> </td>
170             </tr>
171           </table>
172         </td>
173       </tr>
174       {/if}
175
176       <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
177
178       <tr>
179         <td colspan="2">
180         <table style="width: 100%">
181           <tr>
182             <td id="perso">
183               {list_all_my_groups}
184               {if !$smarty.session.auth}
185               <div>Me connecter :</div>
186               <a class='gp' href="{$smarty.session.loginX}">polytechnicien</a>
187               {/if}
188             </td>
189             <td class="right" style="vertical-align: middle">
190               {if $smarty.session.perms eq admin}
191               <a href="admin" title="Administration des groupes">
192                 Gérer les groupes
193                 {icon name=wrench title="Administration"}
194               </a><br />
195               {/if}
196               <a href="Xnet" title="Manuel d'aide en ligne">
197                 Manuel de l'utilisateur
198                 {icon name=lightbulb title="Documentation"}
199               </a>
200             </td>
201           </tr>
202         </table>
203         </td>
204       </tr>
205
206       <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
207
208       <tr>
209         <td colspan="2" id="credits">
210           <a href="plan">plan du site</a> -
211           <a href="Xnet/Services">services proposés</a> -
212           <a href="Xnet/APropos">à propos de ce site</a> -
213           {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"}
214           {if $smarty.session.auth}
215             - <a href="send_bug" onclick="send_bug();return false">signaler un bug</a>
216             {include file=skin/common.bug.tpl}
217           {/if}
218           <br />
219           © Copyright 2000-2006 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a>
220         </td>
221       </tr>
222
223     </table>
224   </body>
225 </html>
226 {* vim:set et sw=2 sts=2 sws=2: *}