merges
[platal.git] / templates / xnet / skin.tpl
... / ...
CommitLineData
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="{$js}"></script>
47 {/foreach}
48 <script type="text/javascript" src="javascript/overlib.js"></script>
49
50 {if $xorg_extra_header}
51 {$xorg_extra_header|smarty:nodefaults}
52 {/if}
53
54 {include file=skin/common.bandeau.head.tpl}
55 </head>
56 <body>
57 {include file=skin/common.devel.tpl}
58 {include file=skin/common.bandeau.tpl}
59
60 <table id="layout" cellspacing="0" cellpadding="0">
61 <tr>
62 <td colspan="2">
63 <table cellspacing="0" cellpadding="0" id="top">
64 <tr>
65 <td style="width: 150px">
66 <a href=""><img src="images/asso-montants.png" alt="Logo Assos" /></a>
67 </td>
68 <td style="width: 106px">
69 {if $xnet_type}
70 <img src="images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" />
71 {else}
72 <img src="images/logo_institutions.png" alt="Logo {$xnet_type}" width="106" height="96" />
73 {/if}
74 </td>
75 <td style="width: 44px">
76 <img src="images/fin_logo.jpg" alt="Fin logo" width="44" height="96" />
77 </td>
78 <td style="width: auto;">
79 <img src="images/bandeau.jpg" alt="bandeau" height="96" width="100%" />
80 </td>
81 {if $xnet_type}
82 <td style="width: 280px">
83 <img src="images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="280" height="96" />
84 </td>
85 {if $asso}
86 <td class="logo">
87 {if $asso.site}
88 <a href="{$asso.site}"><img src='{$platal->ns}logo' alt="LOGO" height="80" /></a>
89 {else}
90 <img src='{$platal->ns}logo' alt="LOGO" height="80"/>
91 {/if}
92 </td>
93 {/if}
94 {else}
95 <td class="logo">
96 <img src="images/asso.png" alt="Le serveur des activés associative des X" />
97 <a href="http://www.polytechnique.org">
98 <img src="images/logo-xorg.png" alt="Polytechnique.org" height="80" />
99 </a>
100 </td>
101 {/if}
102 </tr>
103 </table>
104 </td>
105 </tr>
106
107 {if $menu}
108 <tr>
109 <td id="menu">
110 {foreach from=$menu key=title item=submenu}
111 {if $title neq 'no_title'}<h1>{$title}</h1>{/if}
112 {foreach from=$submenu key=tit item=url}
113 <a href="{$url}">{$tit}</a>
114 {/foreach}
115 {/foreach}
116 </td>
117 <td id="body">
118 <div class="breadcrumb">
119 {if $asso}
120 <a href="groups/{$asso.cat}">{$asso.cat|cat_pp}</a> »
121 {if $asso.dom}
122 <a href="groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> »
123 {/if}
124 {$asso.nom}
125 {elseif $cat}
126 <a href="groups/{$cat}">{$cat|cat_pp}</a> »
127 {if $dom || !$doms}
128 Choix de l'Asso
129 {else}
130 Choix du domaine
131 {/if}
132 {/if}
133 </div>
134 {include file="skin/common.content.tpl"}
135 </td>
136 </tr>
137 {else}
138 <tr>
139 <td colspan="2">
140 {include file="skin/common.content.tpl"}
141 </td>
142 </tr>
143
144 <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
145
146 <tr>
147 <td colspan="2">
148 <table class="links" summary="liens" cellspacing="0" cellpadding="0">
149 <tr>
150 <td class="left"> <a href="groups/groupesx">Groupes X</a> </td>
151 <td class="left"> <a href="groups/binets">Binets</a> </td>
152 <td class="center"> <a href="groups/promotions">Promotions</a> </td>
153 <td class="center"> <a href="groups/institutions">Institutions</a> </td>
154 <td class="right"> <a href="plan">Tous</a> </td>
155 </tr>
156 </table>
157 </td>
158 </tr>
159 {/if}
160
161 <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
162
163 <tr>
164 <td colspan="2">
165 <table style="width: 100%">
166 <tr>
167 <td id="perso">
168 {list_all_my_groups}
169 {if !$smarty.session.auth}
170 <div>Me connecter :</div>
171 <a class='gp' href="{$smarty.session.loginX}">polytechnicien</a>
172 {/if}
173 </td>
174 <td class="right" style="vertical-align: middle">
175 {if $smarty.session.perms eq admin}
176 <a href="admin" title="Administration des groupes">
177 Gérer les groupes
178 {icon name=wrench title="Administration"}
179 </a><br />
180 {/if}
181 <a href="Xnet" title="Manuel d'aide en ligne">
182 Manuel de l'utilisateur
183 {icon name=lightbulb title="Documentation"}
184 </a>
185 </td>
186 </tr>
187 </table>
188 </td>
189 </tr>
190
191 <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
192
193 <tr>
194 <td colspan="2" id="credits">
195 <a href="plan">plan du site</a> -
196 <a href="Xnet/Services">services proposés</a> -
197 <a href="Xnet/APropos">à propos de ce site</a> -
198 {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"}
199 {if $smarty.session.auth}
200 - <a href="send_bug" onclick="send_bug();return false">signaler un bug</a>
201 {include file=skin/common.bug.tpl}
202 {/if}
203 <br />
204 © Copyright 2000-2006 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a>
205 </td>
206 </tr>
207
208 </table>
209 </body>
210</html>
211{* vim:set et sw=2 sts=2 sws=2: *}