From ec89662790c1360378ea5532214a05774803d886 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Wed, 26 Mar 2008 00:06:02 +0100 Subject: [PATCH] Fix bottom links of the newsletter and the axletter when using the web archive interface. Signed-off-by: Florent Bruneau --- templates/axletter/letter.mail.tpl | 5 +++++ templates/newsletter/nl.mail.tpl | 7 ++++++- templates/newsletter/show.tpl | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/axletter/letter.mail.tpl b/templates/axletter/letter.mail.tpl index 3f0bb05..5ae5706 100644 --- a/templates/axletter/letter.mail.tpl +++ b/templates/axletter/letter.mail.tpl @@ -43,8 +43,13 @@ -------------------------------------------------------------------- Cette lettre est envoyée par l'AX grâce aux outils de Polytechnique.org. +{if $is_mail} archives : ne plus recevoir : +{else} +archives : <https://www.polytechnique.org/ax> +ne plus recevoir : <https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}> +{/if} {if !$is_mail} diff --git a/templates/newsletter/nl.mail.tpl b/templates/newsletter/nl.mail.tpl index a9771cf..d32325e 100644 --- a/templates/newsletter/nl.mail.tpl +++ b/templates/newsletter/nl.mail.tpl @@ -60,10 +60,15 @@ Cette lettre est envoyée à tous les Polytechniciens sur Internet par l'intermédiaire de Polytechnique.org. +{if $is_mail} archives : écrire : ne plus recevoir : - +{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} {/if} diff --git a/templates/newsletter/show.tpl b/templates/newsletter/show.tpl index 8cb9332..7b162ca 100644 --- a/templates/newsletter/show.tpl +++ b/templates/newsletter/show.tpl @@ -47,7 +47,7 @@ {$nl->title(true)} - {include file="newsletter/nl.mail.tpl"} + {include file="newsletter/nl.mail.tpl" escape=true} -- 2.1.4