$globals->menu->addPrivateEntry(XOM_ADMIN, 30, 'Trackers', 'http://trackers.polytechnique.org');
$globals->menu->addPrivateEntry(XOM_ADMIN, 40, 'Support', 'http://support.polytechnique.org');
- $globals->menu->addPublicEntry(XOM_US, 00, 'Me connecter !', 'login.php');
+ $globals->menu->addPublicEntry(XOM_US, 00, 'Me connecter !', 'events');
$globals->menu->addPublicEntry(XOM_US, 10, 'M\'inscrire', 'register/');
$globals->menu->addPublicEntry(XOM_US, 20, 'Pourquoi m\'inscrire ?', 'Docs/PourquoiM\'Inscrire');
+++ /dev/null
-<?php
-/***************************************************************************
- * Copyright (C) 2003-2006 Polytechnique.org *
- * http://opensource.polytechnique.org/ *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the Free Software *
- * Foundation, Inc., *
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
- ***************************************************************************/
-
-require_once('xorg.inc.php');
-new_skinned_page('login.tpl', AUTH_COOKIE);
-
-$res = $globals->xdb->query('SELECT date, naissance FROM auth_user_md5 WHERE user_id={?}', Session::getInt('uid'));
-list($date, $naissance) = $res->fetchOneRow();
-
-// incitation à mettre à jour la fiche
-
-$d2 = mktime(0, 0, 0, substr($date, 5, 2), substr($date, 8, 2), substr($date, 0, 4));
-if( (time() - $d2) > 60 * 60 * 24 * 400 ) {
- // si fiche date de + de 400j;
- $page->assign('fiche_incitation', $date);
-}
-
-// Souhaite bon anniversaire
-
-if (substr($naissance, 5) == date("m-d")) {
- $page->assign('birthday', date("Y") - substr($naissance, 0, 4));
-}
-
-// incitation à mettre une photo
-
-$res = $globals->xdb->query('SELECT COUNT(*) FROM photo WHERE uid={?}', Session::getInt('uid'));
-$page->assign('photo_incitation', $res->fetchOneCell() == 0);
-
-// Incitation à se géolocaliser
-require_once('geoloc.inc.php');
-$res = localize_addresses(Session::getInt('uid', -1));
-$page->assign('geoloc_incitation', count($res));
-
-// affichage de la boîte avec quelques liens
-
-require_once('login.conf.php') ;
-$pub_nbElem = $pub_nbLig * $pub_nbCol ;
-if (count($pub_tjs) <= $pub_nbElem)
- $publicite = array_slice ($pub_tjs,0,$pub_nbElem) ;
-else
- $publicite = $pub_tjs ;
-$nbAlea = $pub_nbElem - count($publicite) ;
-if ($nbAlea > 0) {
- $choix = array_rand($pub_rnd,$nbAlea) ;
- foreach ($choix as $url)
- $publicite[$url] = $pub_rnd[$url] ;
- }
-$publicite = array_chunk( $publicite , $pub_nbLig , true ) ;
-$page->assign_by_ref('publicite', $publicite);
-
-// ajout du lien RSS
-
-if (Session::has('core_rss_hash')) {
- $page->assign('xorg_rss',
- array("title" => "Polytechnique.org :: News",
- "href" => "/rss/".Session::get('forlife')."/".Session::get('core_rss_hash')."/rss.xml"));
-}
-
-// cache les evenements lus et raffiche les evenements a relire
-if (Env::has('lu')){
- $globals->xdb->execute('DELETE FROM evenements_vus AS ev INNER JOIN evenements AS e ON e.id = ev.evt_id WHERE peremption < NOW)');
- $globals->xdb->execute('REPLACE INTO evenements_vus VALUES({?},{?})', Env::get('lu'), Session::getInt('uid'));
-}
-if (Env::has('nonlu')){
- $globals->xdb->execute('DELETE FROM evenements_vus WHERE evt_id = {?} AND user_id = {?}', Env::get('nonlu'), Session::getInt('uid'));
-}
-
-// affichage des evenements
-// annonces promos triées par présence d'une limite sur les promos
-// puis par dates croissantes d'expiration
-$promo = Session::getInt('promo');
-$sql = "SELECT e.id,e.titre,e.texte,a.user_id,a.nom,a.prenom,a.promo,l.alias AS forlife
- FROM evenements AS e
- INNER JOIN auth_user_md5 AS a ON e.user_id=a.user_id
- INNER JOIN aliases AS l ON ( a.user_id=l.id AND l.type='a_vie' )
- LEFT JOIN evenements_vus AS ev ON (e.id = ev.evt_id AND ev.user_id = {?})
- WHERE FIND_IN_SET(e.flags, 'valide') AND peremption >= NOW()
- AND (e.promo_min = 0 || e.promo_min <= {?})
- AND (e.promo_max = 0 || e.promo_max >= {?})
- AND ev.user_id IS NULL
- ORDER BY (e.promo_min != 0 AND e.promo_max != 0) DESC, e.peremption";
-$page->assign('evenement', $globals->xdb->iterator($sql, Session::getInt('uid'), $promo, $promo));
-
-$sql = "SELECT e.id,e.titre, ev.user_id IS NULL AS nonlu
- FROM evenements AS e
- LEFT JOIN evenements_vus AS ev ON (e.id = ev.evt_id AND ev.user_id = {?})
- WHERE FIND_IN_SET(e.flags, 'valide') AND peremption >= NOW()
- AND (e.promo_min = 0 || e.promo_min <= {?})
- AND (e.promo_max = 0 || e.promo_max >= {?})
- ORDER BY (e.promo_min != 0 AND e.promo_max != 0) DESC, e.peremption";
-$page->assign('evenement_summary', $globals->xdb->iterator($sql, Session::getInt('uid'), $promo, $promo));
-
-$page->assign('refe',$_SERVER['PHP_SELF']);
-
-$page->run();
-
-// vim:set et sws=4 sw=4 sts=4:
-?>
function handler_index(&$page)
{
if (logged()) {
- redirect("login.php");
+ redirect("events");
}
return PL_OK;
Session::kill('suid');
redirect($globals->baseurl.'/admin/utilisateurs.php?login='.$a4l);
} else {
- redirect("login.php");
+ redirect("events");
}
}
function handlers()
{
return array(
- 'events/submit' => $this->make_hook('submit', AUTH_MDP),
+ 'events' => $this->make_hook('ev', AUTH_COOKIE),
+ 'events/submit' => $this->make_hook('ev_submit', AUTH_MDP),
'nl' => $this->make_hook('nl', AUTH_COOKIE),
'nl/show' => $this->make_hook('nl_show', AUTH_COOKIE),
);
}
- function handler_submit(&$page)
+ function handler_ev(&$page)
+ {
+ global $globals;
+
+ $page->changeTpl('login.tpl');
+
+ $res = $globals->xdb->query('SELECT date, naissance FROM auth_user_md5
+ WHERE user_id={?}', Session::getInt('uid'));
+ list($date, $naissance) = $res->fetchOneRow();
+
+ // incitation à mettre à jour la fiche
+
+ $d2 = mktime(0, 0, 0, substr($date, 5, 2), substr($date, 8, 2),
+ substr($date, 0, 4));
+ if( (time() - $d2) > 60 * 60 * 24 * 400 ) {
+ // si fiche date de + de 400j;
+ $page->assign('fiche_incitation', $date);
+ }
+
+ // Souhaite bon anniversaire
+
+ if (substr($naissance, 5) == date('m-d')) {
+ $page->assign('birthday', date('Y') - substr($naissance, 0, 4));
+ }
+
+ // incitation à mettre une photo
+
+ $res = $globals->xdb->query('SELECT COUNT(*) FROM photo
+ WHERE uid={?}', Session::getInt('uid'));
+ $page->assign('photo_incitation', $res->fetchOneCell() == 0);
+
+ // Incitation à se géolocaliser
+ require_once 'geoloc.inc.php';
+ $res = localize_addresses(Session::getInt('uid', -1));
+ $page->assign('geoloc_incitation', count($res));
+
+ // affichage de la boîte avec quelques liens
+ require_once 'login.conf.php';
+ $pub_nbElem = $pub_nbLig * $pub_nbCol ;
+ if (count($pub_tjs) <= $pub_nbElem) {
+ $publicite = array_slice($pub_tjs, 0, $pub_nbElem);
+ } else {
+ $publicite = $pub_tjs ;
+ }
+
+ $nbAlea = $pub_nbElem - count($publicite) ;
+ if ($nbAlea > 0) {
+ $choix = array_rand($pub_rnd,$nbAlea) ;
+ foreach ($choix as $url) {
+ $publicite[$url] = $pub_rnd[$url] ;
+ }
+ }
+ $publicite = array_chunk( $publicite , $pub_nbLig , true ) ;
+ $page->assign_by_ref('publicite', $publicite);
+
+ // ajout du lien RSS
+
+ if (Session::has('core_rss_hash')) {
+ $page->assign('xorg_rss',
+ array('title' => 'Polytechnique.org :: News',
+ 'href' => '/rss/'.Session::get('forlife')
+ .'/'.Session::get('core_rss_hash').'/rss.xml')
+ );
+ }
+
+ // cache les evenements lus et raffiche les evenements a relire
+ if (Env::has('lu')){
+ $globals->xdb->execute('DELETE FROM evenements_vus AS ev
+ INNER JOIN evenements AS e ON e.id = ev.evt_id
+ WHERE peremption < NOW)');
+ $globals->xdb->execute('REPLACE INTO evenements_vus VALUES({?},{?})',
+ Env::get('lu'), Session::getInt('uid'));
+ }
+
+ if (Env::has('nonlu')){
+ $globals->xdb->execute('DELETE FROM evenements_vus
+ WHERE evt_id = {?} AND user_id = {?}',
+ Env::get('nonlu'), Session::getInt('uid'));
+ }
+
+ // affichage des evenements
+ // annonces promos triées par présence d'une limite sur les promos
+ // puis par dates croissantes d'expiration
+ $promo = Session::getInt('promo');
+ $sql = "SELECT e.id,e.titre,e.texte,a.user_id,a.nom,a.prenom,a.promo,l.alias AS forlife
+ FROM evenements AS e
+ INNER JOIN auth_user_md5 AS a ON e.user_id=a.user_id
+ INNER JOIN aliases AS l ON ( a.user_id=l.id AND l.type='a_vie' )
+ LEFT JOIN evenements_vus AS ev ON (e.id = ev.evt_id AND ev.user_id = {?})
+ WHERE FIND_IN_SET(e.flags, 'valide') AND peremption >= NOW()
+ AND (e.promo_min = 0 || e.promo_min <= {?})
+ AND (e.promo_max = 0 || e.promo_max >= {?})
+ AND ev.user_id IS NULL
+ ORDER BY (e.promo_min != 0 AND e.promo_max != 0) DESC, e.peremption";
+ $page->assign('evenement',
+ $globals->xdb->iterator($sql, Session::getInt('uid'),
+ $promo, $promo)
+ );
+
+ $sql = "SELECT e.id,e.titre, ev.user_id IS NULL AS nonlu
+ FROM evenements AS e
+ LEFT JOIN evenements_vus AS ev ON (e.id = ev.evt_id AND ev.user_id = {?})
+ WHERE FIND_IN_SET(e.flags, 'valide') AND peremption >= NOW()
+ AND (e.promo_min = 0 || e.promo_min <= {?})
+ AND (e.promo_max = 0 || e.promo_max >= {?})
+ ORDER BY (e.promo_min != 0 AND e.promo_max != 0) DESC, e.peremption";
+ $page->assign('evenement_summary',
+ $globals->xdb->iterator($sql, Session::getInt('uid'),
+ $promo, $promo)
+ );
+
+ return PL_OK;
+ }
+
+ function handler_ev_submit(&$page)
{
global $globals;
$page->changeTpl('evenements.tpl');
Merci pour ta contribution à la vie du site!
</p>
<p>
-<a href="{rel}/login.php">Retour à la page d'accueil</a>
+<a href="{rel}/events">Retour à la page d'accueil</a>
</p>
{else}
<p class="erreur">
<strong>Si vous êtes polytechnicien,</strong>
<ul>
<li class="spaced">vous pouvez <strong><a href="{rel}/register">vous inscrire à Polytechnique.org</a></strong> si ce n'est pas encore fait,</li>
- <li class="spaced">ou <strong><a href="login.php">vous connecter</a></strong> si vous êtes inscrit !</li>
+ <li class="spaced">ou <strong><a href="{rel}/events">vous connecter</a></strong> si vous êtes inscrit !</li>
</ul>
Vous pouvez <strong><a href="docs/services.php">consulter la liste de ce que vous apporte Polytechnique.org</a></strong> si vous hésitez à vous inscrire !
<br />
</div>
{else}
<div class="right">
- <a href='{rel}/prefs/rss?referer=login.php'><img src='{rel}/images/rssact.gif' alt='fil rss' /></a>
+ <a href='{rel}/prefs/rss?referer=events'><img src='{rel}/images/rssact.gif' alt='fil rss' /></a>
</div>
{/if}
{/if}
{iterate item=line from=$rss}
<item>
<title>{$line.titre|strip_tags}</title>
- <link>{#globals.baseurl#}/login.php#newsid{$line.id}</link>
+ <link>{#globals.baseurl#}/events#newsid{$line.id}</link>
<description><![CDATA[{$line.texte|nl2br}]]></description>
<pubDate>{$line.creation_date|rss_date}</pubDate>
</item>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{rel}/login.php"><img src="{rel}/images/sk_default_headlogo.jpg" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{rel}/images/sk_default_headlogo.jpg" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{rel}/login.php"><img src="{rel}/images/sk_default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{rel}/images/sk_default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
- <a href="{rel}/login.php"><img src="{rel}/images/sk_default_lesX.gif" alt="[LES X SUR LE WEB]" /></a>
+ <a href="{rel}/events"><img src="{rel}/images/sk_default_lesX.gif" alt="[LES X SUR LE WEB]" /></a>
</td>
</tr>
<tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_espace_logo.gif"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_espace_logo.gif"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_espace_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_espace_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
- <a href="{"login.php"|url}"><img src="{"images/sk_espace_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_espace_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
</td>
</tr>
<tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_humlinux_logo.gif"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_humlinux_logo.gif"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_humlinux_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_humlinux_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
{include file="skin/common.title.header.tpl"}
</td>
</tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_linux_logo.jpg"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_linux_logo.jpg"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_linux_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_linux_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
- <a href="{"login.php"|url}"><img src="{"images/sk_linux_lesX.jpg"|url}" alt="[LES X SUR LE WEB]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_linux_lesX.jpg"|url}" alt="[LES X SUR LE WEB]" /></a>
</td>
</tr>
<tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_liteskin_logo.png"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_liteskin_logo.png"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_liteskin_titre.png"|url}" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_liteskin_titre.png"|url}" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
</td>
</tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_nbviolet_logo.gif"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_nbviolet_logo.gif"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_nbviolet_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_nbviolet_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
- <a href="{"login.php"|url}"><img src="{"images/sk_nbviolet_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_nbviolet_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
</td>
</tr>
<tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_newxorg_logo.jpg"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_newxorg_logo.jpg"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_newxorg_ban.png"|url}" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_newxorg_ban.png"|url}" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
</td>
</tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_oldtimes_logo.gif"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_oldtimes_logo.gif"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_oldtimes_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_oldtimes_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
- <a href="{"login.php"|url}"><img src="{"images/sk_oldtimes_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_oldtimes_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
</td>
</tr>
<tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{rel}/login.php"><img src="{rel}/images/sk_default_headlogo.jpg" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{rel}/images/sk_default_headlogo.jpg" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{rel}/login.php"><img src="{rel}/images/sk_default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{rel}/images/sk_default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
</td>
</tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_sharky_logo.png"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_sharky_logo.png"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_sharky_ban.png"|url}" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_sharky_ban.png"|url}" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
</td>
</tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_spectral_logo.gif"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_spectral_logo.gif"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_spectral_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_spectral_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
- <a href="{"login.php"|url}"><img src="{"images/sk_spectral_lesX.jpg"|url}" alt="[LES X SUR LE WEB]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_spectral_lesX.jpg"|url}" alt="[LES X SUR LE WEB]" /></a>
</td>
</tr>
<tr>
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="{"login.php"|url}"><img src="{"images/sk_trapped_logo.gif"|url}" alt="[ LOGO ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_trapped_logo.gif"|url}" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
- <a href="{"login.php"|url}"><img src="{"images/sk_trapped_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_trapped_ban.jpg"|url}" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
- <a href="{"login.php"|url}"><img src="{"images/sk_trapped_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
+ <a href="{rel}/events"><img src="{"images/sk_trapped_lesX.gif"|url}" alt="[LES X SUR LE WEB]" /></a>
</td>
</tr>
<tr>