{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{$nl->title()}
====================================================================
-{$nl->head($prenom, $nom, $sexe, 'text')}
+{$nl->head($user, 'text')}
{foreach from=$nl->_arts key=cid item=arts name=cats}
--------------------------------------------------------------------
{foreach from=$arts item=art}
-{$art->toText()}
+{$art->toText($hash, $user->login())}
{/foreach}
{/foreach}
Cette lettre est envoyée à tous les Polytechniciens sur Internet par
l'intermédiaire de Polytechnique.org.
+{if $is_mail}
archives : <https://www.polytechnique.org/nl>
écrire : <https://www.polytechnique.org/nl/submit>
ne plus recevoir : <https://www.polytechnique.org/nl/out>
-
+{else}
+archives : <https://www.polytechnique.org/nl>
+écrire : <https://www.polytechnique.org/nl/submit>
+ne plus recevoir : <https://www.polytechnique.org/nl/out>
+{/if}
{if !$is_mail}
</pre>
{/if}
{if $is_mail}
<?xml version="1.0" encoding="UTF-8"?>
<!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>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
<title>Lettre mensuelle de Polytechnique.org</title>
<style type="text/css">
{literal}
<div class='nl_background'>
{/if}
<div class='nl'>
- <div class="title">{$nl->title()}</div>
- <div class="intro">{$nl->head($prenom, $nom, $sexe, 'html')|smarty:nodefaults}</div>
+ <div class="title"><a href="{$globals->baseurl}">{$nl->title()}</a></div>
+ <div class="intro">{$nl->head($user, 'html')|smarty:nodefaults}</div>
<a id="top_lnk"></a>
{foreach from=$nl->_arts key=cid item=arts name=cats}
<div class="lnk">
{$nl->_cats[$cid]}
</h1>
{foreach from=$arts item=art}
- {$art->toHtml()|smarty:nodefaults}
+ {$art->toHtml($hash, $user->login())|smarty:nodefaults}
<div class="top_lnk"><a href="{$prefix}#top_lnk">Revenir au sommaire</a></div>
{/foreach}
{/foreach}