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