$this->assign('is_member', is_member());
}
$this->addJsLink('xorg.js');
+ $this->setTitle('Les associations polytechniciennes');
}
// }}}
// Set the default page
$this->changeTpl('platal/index.tpl');
$this->addJsLink('xorg.js');
+ $this->setTitle('le site des élèves et anciens élèves de l\'École polytechnique');
}
public function run()
-Subproject commit 906b45bbf7130955dc65a34445b53390d6460b49
+Subproject commit f734e828ef90b48ba709a84de92f5f95154cb111
{/if}
{if $smarty.request.response}<!-- failed login code //-->
-{include file="include/triggers.tpl" text="Erreur d'identification. Essaie à nouveau !" type="errors"}
+{include core=triggers.tpl text="Erreur d'identification. Essaie à nouveau !" type="errors"}
<br />
{/if}
</form>
<br />
{if $smarty.request.response}<!-- failed login code -->
-{include file="include/triggers.tpl" text="Erreur d'identification. Essaie à nouveau !" type="errors"}
+{include core=triggers.tpl text="Erreur d'identification. Essaie à nouveau !" type="errors"}
{/if}
<!-- Set up the form with the challenge value and an empty reply value -->
+++ /dev/null
-{**************************************************************************}
-{* *}
-{* Copyright (C) 2003-2008 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 *}
-{* *}
-{**************************************************************************}
-
-{if !$smarty.server.HTTP_USER_AGENT|regex_replace:"/^Mozilla\/(3|4\.[^0]).*$/":""}
-<h1>ATTENTION !</h1>
-
-<p class="erreur">
-Netscape 4 et certains autres navigateurs très anciens ne sont pas supportés par ce site !!!
-</p>
-<p>
-En effet, ils ne comprenent qu'une trop faible partie des standards du web.
-Il faut donc s'attendre à ce que nombre des fonctionnalités de ce site soient de ce fait indisponnibles.
-</p>
-<p>
-Nous conseillons très vivement d'utiliser des navigateurs récents, tels
-<a href="http://www.mozilla.org/products/firefox/">Firefox</a>
-</p>
-<br />
-{/if}
-
-{if !$pl_no_errors || $pl_failure}
-{include core=triggers.tpl}
-{/if}
-
-{if !$pl_failure && $pl_tpl}{include file=$pl_tpl}{/if}
-
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
+++ /dev/null
-{**************************************************************************}
-{* *}
-{* Copyright (C) 2003-2008 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 *}
-{* *}
-{**************************************************************************}
-
-{if #globals.debug#}
-@@BACKTRACE@@
-
-{if $validate}
- <div id="dev">
- @HOOK@
- Validation :
- <a href="http://jigsaw.w3.org/css-validator/validator?uri={#globals.baseurl#}/valid.html">CSS</a>
- |
- références :
- <a href="http://www.w3schools.com/xhtml/xhtml_reference.asp">XHTML</a>
- <a href="http://www.w3schools.com/css/css_reference.asp">CSS2</a>
- </div>
-{/if}
-{/if}
-
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
<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" />
+ {include core=plpage.header.tpl}
<link rel="stylesheet" type="text/css" href="css/base.css" media="all"/>
- {foreach from=$pl_css item=css}
- <link rel="stylesheet" type="text/css" href="css/{$css}" media="all"/>
- {/foreach}
- {foreach from=$pl_inline_css item=css}
- <style type="text/css">
- {$css|smarty:nodefaults}
- </style>
- {/foreach}
<link rel="stylesheet" type="text/css" href="css/print.css" media="print"/>
- {foreach from=$pl_link item=link}
- <link rel="{$link.rel}" href="{$link.href}" />
- {/foreach}
<script type="text/javascript">
var platal_baseurl = "{$globals->baseurl}/";
</script>
- {foreach from=$pl_js item=js}
- <script type="text/javascript" src="javascript/{$js}"></script>
- {/foreach}
{javascript name=overlib}
{javascript name=md5}
{javascript name=sha1}
{javascript name=secure_hash}
- {if $pl_rss}
- <link rel="alternate" type="application/rss+xml" title="{$pl_rss.title}" href="{$pl_rss.href}" />
- {/if}
-
- {if $pl_extra_header}
- {$pl_extra_header|smarty:nodefaults}
- {/if}
-
- <title>{$pl_title|default:"Polytechnique.org : le site des élèves et anciens élèves de l'École polytechnique"}</title>
-
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="body">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
</td>
<td style="vertical-align: top">
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
</td>
</tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
<table id="body" cellpadding="0" cellspacing="0">
</tr>
<tr>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
</table>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
{if $simple}
<div id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</div>
{else}
{include file=skin/common.menu.tpl}
</td>
<td id="content">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
<tr>
<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" />
- {foreach from=$pl_css item=css}
- <link rel="stylesheet" type="text/css" href="css/{$css}" />
- {/foreach}
- {foreach from=$pl_inline_css item=css}
- <style type="text/css">
- {$css|smarty:nodefaults}
- </style>
- {/foreach}
- {foreach from=$pl_link item=link}
- <link rel="{$link.rel}" href="{$link.href}" />
- {/foreach}
+ {include core=plpage.header.tpl}
<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=$pl_js item=js}
- <script type="text/javascript" src="javascript/{$js}"></script>
- {/foreach}
{javascript name=overlib}
-
- {if $pl_rss}
- <link rel="alternate" type="application/rss+xml" title="{$pl_rss.title}" href="{$pl_rss.href}" />
- {/if}
-
- {if $pl_extra_header}
- {$pl_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 core=plpage.devel.tpl}
{if !$simple}
{include file=skin/common.bandeau.tpl}
{/if}
{/if}
</td>
<td id="body">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
{else}
<tr>
<td colspan="2">
- {include file="skin/common.content.tpl"}
+ {include core=plpage.content.tpl}
</td>
</tr>
{if !$simple}