projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fusionax' into account
[platal.git]
/
templates
/
newsletter
/
nl.mail.tpl
diff --git
a/templates/newsletter/nl.mail.tpl
b/templates/newsletter/nl.mail.tpl
index
a9771cf
..
6c23ac5
100644
(file)
--- a/
templates/newsletter/nl.mail.tpl
+++ b/
templates/newsletter/nl.mail.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-200
8
Polytechnique.org *}
+{* Copyright (C) 2003-200
9
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-34,7
+34,7
@@
{$nl->title()}
====================================================================
{$nl->title()}
====================================================================
-{$nl->head($
prenom, $nom, $sexe
, 'text')}
+{$nl->head($
user
, 'text')}
{foreach from=$nl->_arts key=cid item=arts name=cats}
{foreach from=$nl->_arts key=cid item=arts name=cats}
@@
-51,7
+51,7
@@
--------------------------------------------------------------------
{foreach from=$arts item=art}
--------------------------------------------------------------------
{foreach from=$arts item=art}
-{$art->toText()}
+{$art->toText(
$hash, $user->login()
)}
{/foreach}
{/foreach}
{/foreach}
{/foreach}
@@
-60,10
+60,15
@@
Cette lettre est envoyée à tous les Polytechniciens sur Internet par
l'intermédiaire de Polytechnique.org.
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>
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}
</pre>
{/if}
@@
-88,7
+93,7
@@
ne plus recevoir : <https://www.polytechnique.org/nl/out>
{/if}
<div class='nl'>
<div class="title">{$nl->title()}</div>
{/if}
<div class='nl'>
<div class="title">{$nl->title()}</div>
- <div class="intro">{$nl->head($
prenom, $nom, $sexe
, 'html')|smarty:nodefaults}</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">
<a id="top_lnk"></a>
{foreach from=$nl->_arts key=cid item=arts name=cats}
<div class="lnk">
@@
-104,7
+109,7
@@
ne plus recevoir : <https://www.polytechnique.org/nl/out>
{$nl->_cats[$cid]}
</h1>
{foreach from=$arts item=art}
{$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}
<div class="top_lnk"><a href="{$prefix}#top_lnk">Revenir au sommaire</a></div>
{/foreach}
{/foreach}