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