{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2004 Polytechnique.org *}
+{* Copyright (C) 2003-2007 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
{* *}
{**************************************************************************}
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <title>Les associations polytechniciennes</title>
+{include file="skin/common.doctype.tpl"}
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Les associations polytechniciennes" />
<meta name="keywords" content="Ecole polytechnique, associations polytechniciennes, groupes X, binets" />
- <link rel="stylesheet" type="text/css" href="{rel}/css/xnet.css" media="screen" />
- <link rel="icon" type="image/png" href="{rel}/images/favicon.png" />
- <link rel="bookmark" href="http://www.polytechnique.fr/" title="| École polytechnique" />
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+ <link rel="icon" href="images/favicon.png" type="image/png" />
+
+ <link rel="stylesheet" type="text/css" href="css/xnet.css" media="screen" />
+
+ <link rel="bookmark" href="http://www.polytechnique.fr/" title="| École polytechnique" />
<link rel="bookmark" href="http://www.polytechnique.edu/" title="| Institutionnal site" />
<link rel="bookmark" href="http://www.fondationx.org/" title="| FX" />
<link rel="bookmark" href="http://www.polytechniciens.com/" title="| AX" />
<link rel="bookmark" href="http://www.polytechnique.org/" title="| Polytechnique.org" />
- <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" />
+ <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" />
{foreach from=$xorg_css item=css}
- <link rel="stylesheet" type="text/css" href="{rel}/{$css}" />
+ <link rel="stylesheet" type="text/css" href="css/{$css}" />
{/foreach}
+ <script type="text/javascript">
+ var platal_baseurl = "{#globals.baseurl#}/"
+ if (window.top != window)
+ document.write('<link rel="stylesheet" type="text/css" href="css/onlycontent.css" media="all"/>');
+ </script>
{foreach from=$xorg_js item=js}
- <script type="text/javascript" src="{rel}/{$js}"></script>
+ <script type="text/javascript" src="javascript/{$js}"></script>
{/foreach}
- <script type="text/javascript" src="{rel}/javascript/overlib.js"></script>
-
+ {javascript name=overlib}
+
+ {if $xorg_rss}
+ <link rel="alternate" type="application/rss+xml" title="{$xorg_rss.title}" href="{$xorg_rss.href}" />
+ {/if}
+
+ {if $xorg_extra_header}
+ {$xorg_extra_header|smarty:nodefaults}
+ {/if}
+
+ <title>Les associations polytechniciennes</title>
{include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include file=skin/common.devel.tpl}
- {include file=skin/common.bandeau.tpl}
+ {if !$simple}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
<table id="layout" cellspacing="0" cellpadding="0">
- {if $xnet_type}
- <tr id="top">
- <td>
- <a href="{rel}/index.php"><img src="{rel}/images/asso-montants.png" alt="Logo Assos" /></a>
- </td>
- <td>
- <img src="{rel}/images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" />
- </td>
+ {if !$simple}
+ <tr>
<td colspan="2">
- <img src="{rel}/images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="490" height="96" />
- </td>
- </tr>
- {else}
- <tr id="top">
- <td>
- <img src="{rel}/images/logo.png" alt="LOGO Assos" />
- </td>
- <td colspan="3" style="text-align: right">
- <a href="https://www.polytechnique.org/"><img src="{rel}/images/logo-xorg.png" alt="LOGO X.Org" /></a>
- <img src="{rel}/images/asso2.png" alt="titre_du_site" />
+ <table cellspacing="0" cellpadding="0" id="top">
+ <tr>
+ <td style="width: 150px">
+ <a href="{if $is_logged}login{/if}"><img src="images/asso-montants.png" alt="Logo Assos" /></a>
+ </td>
+ <td style="width: 106px">
+ {if $xnet_type}
+ <img src="images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" />
+ {else}
+ <img src="images/logo_institutions.png" alt="Logo {$xnet_type}" width="106" height="96" />
+ {/if}
+ </td>
+ <td style="width: 44px">
+ <img src="images/fin_logo.jpg" alt="Fin logo" width="44" height="96" />
+ </td>
+ <td style="width: auto;">
+ <img src="images/bandeau.jpg" alt="bandeau" height="96" width="100%" />
+ </td>
+ {if $xnet_type}
+ <td style="width: 280px">
+ <img src="images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="280" height="96" />
+ </td>
+ {if $asso}
+ <td class="logo">
+ {if $asso.site}
+ <a href="{$asso.site}"><img src='{$platal->ns}logo' alt="LOGO" height="80" /></a>
+ {else}
+ <img src='{$platal->ns}logo' alt="LOGO" height="80"/>
+ {/if}
+ </td>
+ {/if}
+ {else}
+ <td class="logo">
+ <img src="images/asso.png" alt="Le serveur des activés associative des X" />
+ <a href="http://www.polytechnique.org">
+ <img src="images/logo-xorg.png" alt="Polytechnique.org" height="80" />
+ </a>
+ </td>
+ {/if}
+ </tr>
+ </table>
</td>
</tr>
- <tr><td colspan="4"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
- {/if}
+ {/if}{* fin simple *}
- {if $menu}
+ {if $menu && !$simple}
<tr>
- <td id="menu">
+ <td id="menu" rowspan="2">
{foreach from=$menu key=title item=submenu}
- <h1>{$title}</h1>
- {foreach from=$submenu key=tit item=url}
- <a href="{rel}/{$url}">{$tit}</a>
- {/foreach}
+ {if $title neq 'no_title'}<h1>{$title}</h1>{/if}
+ {foreach from=$submenu key=tit item=url}
+ {if is_array($url)}
+ <a{foreach from=$url key=var item=val} {$var}="{$val}"{/foreach}>{$tit}</a>
+ {else}
+ <a href="{$url}">{$tit}</a>
+ {/if}
+ {/foreach}
{/foreach}
</td>
- <td colspan="3">
- <div class="breadcrumb">
- {if $asso}
- <a href="{rel}/groupes.php?cat={$asso.cat}">{$asso.cat|cat_pp}</a> »
+ <td class="breadcrumb">
+ {if $asso && ($is_admin || $smarty.session.suid.perms eq 'admin' || $smarty.session.suid.may_update[$asso.id])}
+ <div style="float: right">
+ <form method="post" action="{$platal->ns}change_rights">
+ <div style="display: inline">
+ <small>voir le site en tant que...
+ <select name="right" onchange="this.form.submit()" style="margin: 0; padding: 0">
+ {if $smarty.session.perms->hasFlag('admin') || $smarty.session.suid.perms->hasFlag('admin')}
+ <option value="admin" {if $smarty.session.perms->hasFlag('admin')}selected="selected"{/if}>Administrateur</option>
+ {/if}
+ <option value="anim" {if $is_admin && !$smarty.session.perms->hasFlag('admin')}selected="selected"{/if}>Animateur</option>
+ <option value="member" {if !$is_admin && $is_member}selected="selected"{/if}>Membre</option>
+ <option value="logged" {if !$is_admin && !$is_member}selected="selected"{/if}>Non-membre</option>
+ </select>
+ </small>
+ </div>
+ </form>
+ </div>
+ {/if}
+ <a href=".">X.net</a> »
+ {if $asso}
+ <a href="groups/{$asso.cat}">{$asso.cat|cat_pp}</a> »
{if $asso.dom}
- <a href="{rel}/groupes.php?cat={$asso.cat}&dom={$asso.dom}">{$asso.domnom}</a> »
+ <a href="groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> »
{/if}
{$asso.nom}
- {elseif $smarty.request.cat}
- <a href="{rel}/groupes.php?cat={$smarty.request.cat}">{$smarty.request.cat|cat_pp}</a> »
- {if $smarty.request.dom || !$doms}
- Choix de l'Asso
+ {elseif $cat}
+ <a href="groups/{$cat}">{$cat|cat_pp}</a> »
+ {if $dom || !$doms}
+ {if $cat eq 'promotions'}
+ Choix de la promotion
+ {else}
+ Choix de l'Asso
+ {/if}
{else}
- Choix du domaine
- {/if}
+ Choix du domaine
{/if}
- </div>
+ {elseif $wikipage}
+ <a href="Xnet">Documentation</a>
+ {/if}
+ </td>
+ </tr>
+ <tr>
+ <td id="body">
{include file="skin/common.content.tpl"}
</td>
</tr>
{else}
<tr>
- <td colspan="4">
+ <td colspan="2">
{include file="skin/common.content.tpl"}
</td>
</tr>
+ {if !$simple}
+ <tr class="hideable"><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
- <tr><td colspan="4"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
-
- <tr>
- <td colspan="4">
+ <tr class="hideable">
+ <td colspan="2">
<table class="links" summary="liens" cellspacing="0" cellpadding="0">
<tr>
- <td> <a href="{rel}/plan.php">PLAN DU SITE</a> </td>
- <td> <a href="{rel}/groupes.php?cat=groupesx">groupes X</a> </td>
- <td> <a href="{rel}/groupes.php?cat=binets">binets</a> </td>
- <td> <a href="{rel}/groupes.php?cat=promotions">promotions</a> </td>
- <td> <a href="{rel}/groupes.php?cat=institutions">institutions</a> </td>
+ <td class="left"> <a href="groups/groupesx">Groupes X</a> </td>
+ <td class="left"> <a href="groups/binets">Binets</a> </td>
+ <td class="center"> <a href="groups/promotions">Promotions</a> </td>
+ <td class="center"> <a href="groups/institutions">Institutions</a> </td>
+ <td class="right"> <a href="plan">Tous</a> </td>
</tr>
</table>
</td>
</tr>
{/if}
+ {/if}
+ {if !$simple}
+ <tr class="hideable"><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
- <tr><td colspan="4"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
-
- <tr>
- <td colspan="3" id="perso">
- {list_all_my_groups}
- {only_public}
- <div>Me connecter :</div>
- <a class='gp' href="{$smarty.session.session->loginX}">polytechnicien</a>
- <a class='gp' href="{rel}/login.php">extérieur</a>
- {/only_public}
- </td>
- <td id="search">
- <form method="get" action="{rel}/recherche.php">
- <div>
- <a href="{rel}/manuel.php" title="Manuel d'aide en ligne"><img src="{rel}/images/manuel.png" alt="manuel" /></a>
- <input type="text" name="query" value="{$exalead_data->query->query}" size="25" maxlength="60" />
- <input type="image" src="{rel}/images/recherche.png" title="Chercher" value="submit" />
-
- <br />
- <strong><a href="http://www.exalead.com/">Powered by</a></strong>
- <a href="http://www.exalead.com/"><img src="{rel}/images/Exalead-logo-Carved-100.gif" alt="exalead" /></a>
- </div>
- </form>
+ <tr class="hideable">
+ <td colspan="2">
+ <table style="width: 100%">
+ <tr>
+ <td id="perso">
+ {list_all_my_groups}
+ {if !$smarty.session.auth}
+ <div>Me connecter :</div>
+ <a class='gp' href="login/{if $platal->pl_self() eq 'exit'}index{else}{$platal->pl_self()}{/if}">polytechnicien</a>
+ {if $platal->pl_self() neq 'exit'}
+ {javascript name=jquery}
+ <script type="text/javascript" src="login/autologin/{$platal->pl_self()}?forceXml=1"></script>
+ {/if}
+ {/if}
+ </td>
+ <td class="right" style="vertical-align: middle">
+ {if $smarty.session.perms->hasFlag('admin')}
+ <a href="admin" title="Administration des groupes">
+ Gérer les groupes
+ {icon name=wrench title="Administration"}
+ </a><br />
+ {/if}
+ <a href="Xnet" title="Manuel d'aide en ligne">
+ Manuel de l'utilisateur
+ {icon name=lightbulb title="Documentation"}
+ </a>
+ </td>
+ </tr>
+ </table>
</td>
</tr>
- <tr><td colspan="4"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
+ <tr class="hideable"><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
- <tr>
- <td colspan="4" id="credits">
- <a href="{rel}/index.php">page d'accueil</a> -
- <a href="{rel}/plan.php">liste des associations</a> -
- <a href="{rel}/services.php">services proposés</a> -
- <a href="{rel}/apropos.php">à propos de ce site</a> -
- <a href="https://www.polytechnique.org/">polytechnique.org</a> -
+ <tr class="hideable">
+ <td colspan="2" id="credits">
+ <a href="plan">plan du site</a> -
+ <a href="Xnet/Services">services proposés</a> -
+ <a href="Xnet/APropos">à propos de ce site</a> -
{mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"}
+ {if $smarty.session.auth}
+ - <a href="send_bug" class="popup_840x600">signaler un bug</a>
+ {/if}
<br />
- © Copyright 2000-2005 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a>
+ © Copyright 2000-2007 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a>
</td>
</tr>
-
+ {/if}
</table>
</body>
</html>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}