Remove references to X.org NL in AX mailer templates.
[platal.git] / templates / axletter / letter.tpl
CommitLineData
8da0d3c1 1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2006 Polytechnique.org *}
4{* http://opensource.polytechnique.org/ *}
5{* *}
6{* This program is free software; you can redistribute it and/or modify *}
7{* it under the terms of the GNU General Public License as published by *}
8{* the Free Software Foundation; either version 2 of the License, or *}
9{* (at your option) any later version. *}
10{* *}
11{* This program is distributed in the hope that it will be useful, *}
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14{* GNU General Public License for more details. *}
15{* *}
16{* You should have received a copy of the GNU General Public License *}
17{* along with this program; if not, write to the Free Software *}
18{* Foundation, Inc., *}
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
20{* *}
21{**************************************************************************}
22
23{if !$html_version}
24{if $is_mail}
25{config_load file="mails.conf" section="mails_ax"}
26{from full=#from#}
27{subject text=$am->title(true)}
28{if isset(#replyto#)}{add_header name='Reply-To' value=#replyto#}{/if}
29{if isset(#retpath#)}{add_header name='Return-Path' value=#retpath#}{/if}
30{else}
31<pre style="width : 72ex; margin: auto">
32{/if}
33====================================================================
34{$am->title()}
35====================================================================
36
37{$am->head($prenom, $nom, $sexe, 'text')}
38
39{$am->body('text')}
40
41{$am->signature('text')}
42
43--------------------------------------------------------------------
3b15fd0d 44Cette lettre est envoyée par l'AX grâce aux outils de Polytechnique.org.
8da0d3c1 45
46archives : [https://www.polytechnique.org/ax]
47ne plus recevoir : [https://www.polytechnique.org/ax/out]
48
49{if !$is_mail}
50</pre>
51{/if}
52{else}
53{if $is_mail}
54<?xml version="1.0" encoding="iso-8859-15"?>
55<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
56<html xmlns="http://www.w3.org/1999/xhtml">
57 <head>
58 <title></title>
59 <style type="text/css">
60 <!--
61 {literal}
62 body { background-color: #ddd; color: #000; }
63 {/literal}
64 {$am->css()}
65 -->
66 </style>
67 </head>
68 <body>
69{/if}
70 <div class='ax_mail'>
71 <div class="title">{$am->title()}</div>
72 <div class="intro">{$am->head($prenom, $nom, $sexe, 'html')|smarty:nodefaults}</div>
73 <div class="body">{$am->body('html')|smarty:nodefaults}</div>
74 <div class="signature">{$am->signature('html')|smarty:nodefaults}</div>
75 <div class="foot1">
76 Cette lettre est envoyée par l'AX grâce aux outils de Polytechnique.org.
77 </div>
78 <div class="foot2">
79 [<a href="https://www.polytechnique.org/ax">archives</a>&nbsp;|
80 <a href="https://www.polytechnique.org/ax/out">ne plus recevoir</a>]
81 </div>
82 </div>
83{if $is_mail}
84 </body>
85</html>
86{/if}
87{/if}
88
89{* vim:set et sw=2 sts=2 sws=2: *}