Update xnet menu and changelog
[platal.git] / templates / xnet / skin.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
50a40a33 3{* Copyright (C) 2003-2006 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{**************************************************************************}
2893603b 22<?xml version="1.0" encoding="iso-8859-15"?>
0337d704 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>
d083f500 26 <base href="{$globals->baseurl}/" />
dbc05e88 27 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
0337d704 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" />
7b2413f6 32 <link rel="stylesheet" type="text/css" href="css/xnet.css" media="screen" />
33 <link rel="icon" type="image/png" href="images/favicon.png" />
0337d704 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}
7b2413f6 43 <link rel="stylesheet" type="text/css" href="css/{$css}" />
0337d704 44 {/foreach}
45 {foreach from=$xorg_js item=js}
05a11a4d 46 <script type="text/javascript" src="javascript/{$js}"></script>
0337d704 47 {/foreach}
7b2413f6 48 <script type="text/javascript" src="javascript/overlib.js"></script>
24bcf50c 49
50 {if $xorg_rss}
51 <link rel="alternate" type="application/rss+xml" title="{$xorg_rss.title}" href="{$xorg_rss.href}" />
52 {/if}
53
7383676c 54 {if $xorg_extra_header}
55 {$xorg_extra_header|smarty:nodefaults}
56 {/if}
57
0337d704 58 {include file=skin/common.bandeau.head.tpl}
59 </head>
9931a3c9 60 <body>
0337d704 61 {include file=skin/common.devel.tpl}
62 {include file=skin/common.bandeau.tpl}
63
64 <table id="layout" cellspacing="0" cellpadding="0">
49848fd7 65 <tr>
0337d704 66 <td colspan="2">
49848fd7 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">
6fb8424a 73 {if $xnet_type}
49848fd7 74 <img src="images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" />
6fb8424a 75 {else}
76 <img src="images/logo_institutions.png" alt="Logo {$xnet_type}" width="106" height="96" />
77 {/if}
49848fd7 78 </td>
79 <td style="width: 44px">
80 <img src="images/fin_logo.jpg" alt="Fin logo" width="44" height="96" />
81 </td>
8175295d 82 <td style="width: auto;">
83 <img src="images/bandeau.jpg" alt="bandeau" height="96" width="100%" />
49848fd7 84 </td>
6fb8424a 85 {if $xnet_type}
8175295d 86 <td style="width: 280px">
87 <img src="images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="280" height="96" />
49848fd7 88 </td>
8175295d 89 {if $asso}
90 <td class="logo">
49848fd7 91 {if $asso.site}
6fb8424a 92 <a href="{$asso.site}"><img src='{$platal->ns}logo' alt="LOGO" height="80" /></a>
49848fd7 93 {else}
6fb8424a 94 <img src='{$platal->ns}logo' alt="LOGO" height="80"/>
49848fd7 95 {/if}
49848fd7 96 </td>
8175295d 97 {/if}
6fb8424a 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}
49848fd7 106 </tr>
107 </table>
0337d704 108 </td>
109 </tr>
0337d704 110
111 {if $menu}
112 <tr>
113 <td id="menu">
114 {foreach from=$menu key=title item=submenu}
59ff13cf 115 {if $title neq 'no_title'}<h1>{$title}</h1>{/if}
0337d704 116 {foreach from=$submenu key=tit item=url}
2893603b 117 {if is_array($url)}
118 <a href="{$url.link}" onclick="{$url.onclick}">{$tit}</a>
119 {else}
7b2413f6 120 <a href="{$url}">{$tit}</a>
2893603b 121 {/if}
0337d704 122 {/foreach}
123 {/foreach}
124 </td>
59ff13cf 125 <td id="body">
0337d704 126 <div class="breadcrumb">
6e607015 127 <a href=".">X.net</a> »
0337d704 128 {if $asso}
7b2413f6 129 <a href="groups/{$asso.cat}">{$asso.cat|cat_pp}</a> »
0337d704 130 {if $asso.dom}
7b2413f6 131 <a href="groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> »
0337d704 132 {/if}
133 {$asso.nom}
0e02493e 134 {elseif $cat}
7b2413f6 135 <a href="groups/{$cat}">{$cat|cat_pp}</a> »
0e02493e 136 {if $dom || !$doms}
6e607015 137 {if $cat eq 'promotions'}
138 Choix de la promotion
139 {else}
0337d704 140 Choix de l'Asso
6e607015 141 {/if}
0337d704 142 {else}
143 Choix du domaine
144 {/if}
41ab970e 145 {elseif $wikipage}
146 <a href="Xnet">Documentation</a>
0337d704 147 {/if}
148 </div>
149 {include file="skin/common.content.tpl"}
150 </td>
151 </tr>
152 {else}
153 <tr>
49848fd7 154 <td colspan="2">
0337d704 155 {include file="skin/common.content.tpl"}
156 </td>
157 </tr>
158
87b14ce7 159 <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
0337d704 160
161 <tr>
49848fd7 162 <td colspan="2">
0337d704 163 <table class="links" summary="liens" cellspacing="0" cellpadding="0">
164 <tr>
6fb8424a 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>
0337d704 170 </tr>
171 </table>
172 </td>
173 </tr>
174 {/if}
175
87b14ce7 176 <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
0337d704 177
178 <tr>
6fb8424a 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">
8383ee06 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}
27455960 196 <a href="Xnet" title="Manuel d'aide en ligne">
6fb8424a 197 Manuel de l'utilisateur
198 {icon name=lightbulb title="Documentation"}
199 </a>
200 </td>
201 </tr>
202 </table>
0337d704 203 </td>
0337d704 204 </tr>
205
87b14ce7 206 <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
0337d704 207
208 <tr>
49848fd7 209 <td colspan="2" id="credits">
6fb8424a 210 <a href="plan">plan du site</a> -
9053ac09 211 <a href="Xnet/Services">services proposés</a> -
212 <a href="Xnet/APropos">à propos de ce site</a> -
0337d704 213 {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"}
65b1cb38 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}
0337d704 218 <br />
946788b8 219 © Copyright 2000-2006 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a>
0337d704 220 </td>
221 </tr>
222
223 </table>
224 </body>
225</html>
226{* vim:set et sw=2 sts=2 sws=2: *}