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"} |
493b6abe |
24 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
0337d704 |
25 | <meta name="description" content="Les associations polytechniciennes" /> |
26 | <meta name="keywords" content="Ecole polytechnique, associations polytechniciennes, groupes X, binets" /> |
06c2f76f |
27 | |
28 | <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> |
29 | <link rel="icon" href="images/favicon.png" type="image/png" /> |
30 | |
7b2413f6 |
31 | <link rel="stylesheet" type="text/css" href="css/xnet.css" media="screen" /> |
0337d704 |
32 | |
a7de4ef7 |
33 | <link rel="bookmark" href="http://www.polytechnique.fr/" title="| École polytechnique" /> |
0337d704 |
34 | <link rel="bookmark" href="http://www.polytechnique.edu/" title="| Institutionnal site" /> |
35 | <link rel="bookmark" href="http://www.fondationx.org/" title="| FX" /> |
36 | <link rel="bookmark" href="http://www.polytechniciens.com/" title="| AX" /> |
37 | <link rel="bookmark" href="http://www.polytechnique.org/" title="| Polytechnique.org" /> |
a7de4ef7 |
38 | <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" /> |
0337d704 |
39 | |
40 | {foreach from=$xorg_css item=css} |
7b2413f6 |
41 | <link rel="stylesheet" type="text/css" href="css/{$css}" /> |
0337d704 |
42 | {/foreach} |
1b0cd4ab |
43 | <script type="text/javascript"> |
44 | if (window.top != window) |
45 | document.write('<link rel="stylesheet" type="text/css" href="css/onlycontent.css" media="all"/>'); |
46 | </script> |
0337d704 |
47 | {foreach from=$xorg_js item=js} |
05a11a4d |
48 | <script type="text/javascript" src="javascript/{$js}"></script> |
0337d704 |
49 | {/foreach} |
5721c9a3 |
50 | {javascript name=overlib} |
51 | |
24bcf50c |
52 | {if $xorg_rss} |
53 | <link rel="alternate" type="application/rss+xml" title="{$xorg_rss.title}" href="{$xorg_rss.href}" /> |
54 | {/if} |
55 | |
7383676c |
56 | {if $xorg_extra_header} |
57 | {$xorg_extra_header|smarty:nodefaults} |
58 | {/if} |
59 | |
06c2f76f |
60 | <title>Les associations polytechniciennes</title> |
0337d704 |
61 | {include file=skin/common.bandeau.head.tpl} |
62 | </head> |
9931a3c9 |
63 | <body> |
0337d704 |
64 | {include file=skin/common.devel.tpl} |
c0d230b0 |
65 | {if !$simple} |
66 | {include file=skin/common.bandeau.tpl} |
67 | {/if} |
0337d704 |
68 | |
69 | <table id="layout" cellspacing="0" cellpadding="0"> |
c0d230b0 |
70 | {if !$simple} |
49848fd7 |
71 | <tr> |
0337d704 |
72 | <td colspan="2"> |
49848fd7 |
73 | <table cellspacing="0" cellpadding="0" id="top"> |
74 | <tr> |
75 | <td style="width: 150px"> |
76 | <a href=""><img src="images/asso-montants.png" alt="Logo Assos" /></a> |
77 | </td> |
78 | <td style="width: 106px"> |
6fb8424a |
79 | {if $xnet_type} |
49848fd7 |
80 | <img src="images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" /> |
6fb8424a |
81 | {else} |
82 | <img src="images/logo_institutions.png" alt="Logo {$xnet_type}" width="106" height="96" /> |
83 | {/if} |
49848fd7 |
84 | </td> |
85 | <td style="width: 44px"> |
86 | <img src="images/fin_logo.jpg" alt="Fin logo" width="44" height="96" /> |
87 | </td> |
8175295d |
88 | <td style="width: auto;"> |
89 | <img src="images/bandeau.jpg" alt="bandeau" height="96" width="100%" /> |
49848fd7 |
90 | </td> |
6fb8424a |
91 | {if $xnet_type} |
8175295d |
92 | <td style="width: 280px"> |
93 | <img src="images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="280" height="96" /> |
49848fd7 |
94 | </td> |
8175295d |
95 | {if $asso} |
96 | <td class="logo"> |
49848fd7 |
97 | {if $asso.site} |
6fb8424a |
98 | <a href="{$asso.site}"><img src='{$platal->ns}logo' alt="LOGO" height="80" /></a> |
49848fd7 |
99 | {else} |
6fb8424a |
100 | <img src='{$platal->ns}logo' alt="LOGO" height="80"/> |
49848fd7 |
101 | {/if} |
49848fd7 |
102 | </td> |
8175295d |
103 | {/if} |
6fb8424a |
104 | {else} |
105 | <td class="logo"> |
a7de4ef7 |
106 | <img src="images/asso.png" alt="Le serveur des activés associative des X" /> |
6fb8424a |
107 | <a href="http://www.polytechnique.org"> |
108 | <img src="images/logo-xorg.png" alt="Polytechnique.org" height="80" /> |
109 | </a> |
110 | </td> |
111 | {/if} |
49848fd7 |
112 | </tr> |
113 | </table> |
0337d704 |
114 | </td> |
115 | </tr> |
c0d230b0 |
116 | {/if}{* fin simple *} |
0337d704 |
117 | |
c0d230b0 |
118 | {if $menu && !$simple} |
0337d704 |
119 | <tr> |
2ac33a69 |
120 | <td id="menu" rowspan="2"> |
0337d704 |
121 | {foreach from=$menu key=title item=submenu} |
c0d230b0 |
122 | {if $title neq 'no_title'}<h1>{$title}</h1>{/if} |
123 | {foreach from=$submenu key=tit item=url} |
124 | {if is_array($url)} |
125 | <a{foreach from=$url key=var item=val} {$var}="{$val}"{/foreach}>{$tit}</a> |
126 | {else} |
127 | <a href="{$url}">{$tit}</a> |
128 | {/if} |
129 | {/foreach} |
0337d704 |
130 | {/foreach} |
131 | </td> |
2ac33a69 |
132 | <td class="breadcrumb"> |
7903a47a |
133 | {if $asso && ($is_admin || $smarty.session.suid.perms eq 'admin' || $smarty.session.suid.may_update[$asso.id])} |
2ac33a69 |
134 | <div style="float: right"> |
0deaff1d |
135 | <form method="post" action="{$platal->ns}change_rights"> |
136 | <div style="display: inline"> |
137 | <small>voir le site en tant que... |
2ac33a69 |
138 | <select name="right" onchange="this.form.submit()" style="margin: 0; padding: 0"> |
bf517daf |
139 | {if $smarty.session.perms->hasFlag('admin') || $smarty.session.suid.perms->hasFlag('admin')} |
140 | <option value="admin" {if $smarty.session.perms->hasFlag('admin')}selected="selected"{/if}>Administrateur</option> |
0deaff1d |
141 | {/if} |
bf517daf |
142 | <option value="anim" {if $is_admin && !$smarty.session.perms->hasFlag('admin')}selected="selected"{/if}>Animateur</option> |
0deaff1d |
143 | <option value="member" {if !$is_admin && $is_member}selected="selected"{/if}>Membre</option> |
144 | <option value="logged" {if !$is_admin && !$is_member}selected="selected"{/if}>Non-membre</option> |
145 | </select> |
146 | </small> |
147 | </div> |
148 | </form> |
149 | </div> |
150 | {/if} |
2ac33a69 |
151 | <a href=".">X.net</a> » |
152 | {if $asso} |
153 | <a href="groups/{$asso.cat}">{$asso.cat|cat_pp}</a> » |
154 | {if $asso.dom} |
155 | <a href="groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> » |
156 | {/if} |
157 | {$asso.nom} |
158 | {elseif $cat} |
159 | <a href="groups/{$cat}">{$cat|cat_pp}</a> » |
160 | {if $dom || !$doms} |
161 | {if $cat eq 'promotions'} |
162 | Choix de la promotion |
c0d230b0 |
163 | {else} |
2ac33a69 |
164 | Choix de l'Asso |
c0d230b0 |
165 | {/if} |
2ac33a69 |
166 | {else} |
167 | Choix du domaine |
0337d704 |
168 | {/if} |
2ac33a69 |
169 | {elseif $wikipage} |
170 | <a href="Xnet">Documentation</a> |
171 | {/if} |
172 | </td> |
173 | </tr> |
174 | <tr> |
175 | <td id="body"> |
0337d704 |
176 | {include file="skin/common.content.tpl"} |
177 | </td> |
178 | </tr> |
179 | {else} |
180 | <tr> |
49848fd7 |
181 | <td colspan="2"> |
0337d704 |
182 | {include file="skin/common.content.tpl"} |
183 | </td> |
184 | </tr> |
c0d230b0 |
185 | {if !$simple} |
1b0cd4ab |
186 | <tr class="hideable"><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr> |
0337d704 |
187 | |
1b0cd4ab |
188 | <tr class="hideable"> |
49848fd7 |
189 | <td colspan="2"> |
0337d704 |
190 | <table class="links" summary="liens" cellspacing="0" cellpadding="0"> |
191 | <tr> |
6fb8424a |
192 | <td class="left"> <a href="groups/groupesx">Groupes X</a> </td> |
193 | <td class="left"> <a href="groups/binets">Binets</a> </td> |
194 | <td class="center"> <a href="groups/promotions">Promotions</a> </td> |
195 | <td class="center"> <a href="groups/institutions">Institutions</a> </td> |
196 | <td class="right"> <a href="plan">Tous</a> </td> |
0337d704 |
197 | </tr> |
198 | </table> |
199 | </td> |
200 | </tr> |
201 | {/if} |
c0d230b0 |
202 | {/if} |
203 | {if !$simple} |
1b0cd4ab |
204 | <tr class="hideable"><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr> |
0337d704 |
205 | |
1b0cd4ab |
206 | <tr class="hideable"> |
6fb8424a |
207 | <td colspan="2"> |
208 | <table style="width: 100%"> |
209 | <tr> |
210 | <td id="perso"> |
211 | {list_all_my_groups} |
212 | {if !$smarty.session.auth} |
8c5c6d64 |
213 | <div>Me connecter :</div> |
214 | <a class='gp' href="login/{if $platal->pl_self() eq 'exit'}index{else}{$platal->pl_self()}{/if}">polytechnicien</a> |
215 | {if $platal->pl_self() neq 'exit'} |
5721c9a3 |
216 | {javascript name=jquery} |
8c5c6d64 |
217 | <script type="text/javascript" src="login/autologin/{$platal->pl_self()}?forceXml=1"></script> |
218 | {/if} |
6fb8424a |
219 | {/if} |
220 | </td> |
221 | <td class="right" style="vertical-align: middle"> |
bf517daf |
222 | {if $smarty.session.perms->hasFlag('admin')} |
8383ee06 |
223 | <a href="admin" title="Administration des groupes"> |
a7de4ef7 |
224 | Gérer les groupes |
8383ee06 |
225 | {icon name=wrench title="Administration"} |
226 | </a><br /> |
227 | {/if} |
27455960 |
228 | <a href="Xnet" title="Manuel d'aide en ligne"> |
6fb8424a |
229 | Manuel de l'utilisateur |
230 | {icon name=lightbulb title="Documentation"} |
231 | </a> |
232 | </td> |
233 | </tr> |
234 | </table> |
0337d704 |
235 | </td> |
0337d704 |
236 | </tr> |
237 | |
1b0cd4ab |
238 | <tr class="hideable"><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr> |
0337d704 |
239 | |
1b0cd4ab |
240 | <tr class="hideable"> |
49848fd7 |
241 | <td colspan="2" id="credits"> |
6fb8424a |
242 | <a href="plan">plan du site</a> - |
a7de4ef7 |
243 | <a href="Xnet/Services">services proposés</a> - |
244 | <a href="Xnet/APropos">à propos de ce site</a> - |
0337d704 |
245 | {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"} |
65b1cb38 |
246 | {if $smarty.session.auth} |
c0d230b0 |
247 | - <a href="send_bug" class="popup_840x600">signaler un bug</a> |
65b1cb38 |
248 | {/if} |
0337d704 |
249 | <br /> |
a7de4ef7 |
250 | © Copyright 2000-2007 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a> |
0337d704 |
251 | </td> |
252 | </tr> |
c0d230b0 |
253 | {/if} |
0337d704 |
254 | </table> |
255 | </body> |
256 | </html> |
a7de4ef7 |
257 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |