Modification des liens en fonction de la nouvelle organisation de la doc
[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-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>
26     <base href="{$globals->baseurl}/" />
27     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
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           <a href="{$url}">{$tit}</a>
118           {/foreach}
119           {/foreach}
120         </td>
121         <td id="body">
122           <div class="breadcrumb">
123             {if $asso}
124             <a href="groups/{$asso.cat}">{$asso.cat|cat_pp}</a> »
125             {if $asso.dom}
126             <a href="groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> »
127             {/if}
128             {$asso.nom}
129             {elseif $cat}
130             <a href="groups/{$cat}">{$cat|cat_pp}</a> »
131             {if $dom || !$doms}
132             Choix de l'Asso
133             {else}
134             Choix du domaine
135             {/if}
136             {/if}
137           </div>
138           {include file="skin/common.content.tpl"}
139         </td>
140       </tr>
141       {else}
142       <tr>
143         <td colspan="2">
144           {include file="skin/common.content.tpl"}
145         </td>
146       </tr>
147
148       <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
149
150       <tr>
151         <td colspan="2">
152           <table class="links" summary="liens" cellspacing="0" cellpadding="0">
153             <tr>
154               <td class="left">   <a href="groups/groupesx">Groupes X</a> </td>
155               <td class="left"> <a href="groups/binets">Binets</a> </td>
156               <td class="center"> <a href="groups/promotions">Promotions</a> </td>
157               <td class="center"> <a href="groups/institutions">Institutions</a> </td>
158               <td class="right">  <a href="plan">Tous</a> </td>
159             </tr>
160           </table>
161         </td>
162       </tr>
163       {/if}
164
165       <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
166
167       <tr>
168         <td colspan="2">
169         <table style="width: 100%">
170           <tr>
171             <td id="perso">
172               {list_all_my_groups}
173               {if !$smarty.session.auth}
174               <div>Me connecter :</div>
175               <a class='gp' href="{$smarty.session.loginX}">polytechnicien</a>
176               {/if}
177             </td>
178             <td class="right" style="vertical-align: middle">
179               {if $smarty.session.perms eq admin}
180               <a href="admin" title="Administration des groupes">
181                 Gérer les groupes
182                 {icon name=wrench title="Administration"}
183               </a><br />
184               {/if}
185               <a href="Xnet" title="Manuel d'aide en ligne">
186                 Manuel de l'utilisateur
187                 {icon name=lightbulb title="Documentation"}
188               </a>
189             </td>
190           </tr>
191         </table>
192         </td>
193       </tr>
194
195       <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
196
197       <tr>
198         <td colspan="2" id="credits">
199           <a href="plan">plan du site</a> -
200           <a href="Xnet/Services">services proposés</a> -
201           <a href="Xnet/APropos">à propos de ce site</a> -
202           {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"}
203           {if $smarty.session.auth}
204             - <a href="send_bug" onclick="send_bug();return false">signaler un bug</a>
205             {include file=skin/common.bug.tpl}
206           {/if}
207           <br />
208           © Copyright 2000-2006 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a>
209         </td>
210       </tr>
211
212     </table>
213   </body>
214 </html>
215 {* vim:set et sw=2 sts=2 sws=2: *}