Convert source code to UTF-8
[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--------------------------------------------------------------------
a7de4ef7 44Cette lettre est envoyée par l'AX grâce aux outils de Polytechnique.org.
8da0d3c1 45
46archives : [https://www.polytechnique.org/ax]
4e25428d 47ne plus recevoir : [https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}]
8da0d3c1 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>
183a157b 58 <title>Lettre d'information de l'AX</title>
8da0d3c1 59 <style type="text/css">
a46f274c 60 {literal}
61 body { background-color: #ddd; color: #000; }
62 {/literal}
8da0d3c1 63 <!--
8da0d3c1 64 {$am->css()}
65 -->
66 </style>
67 </head>
68 <body>
a46f274c 69 <div class="ax_background">
8da0d3c1 70{/if}
71 <div class='ax_mail'>
72 <div class="title">{$am->title()}</div>
73 <div class="intro">{$am->head($prenom, $nom, $sexe, 'html')|smarty:nodefaults}</div>
74 <div class="body">{$am->body('html')|smarty:nodefaults}</div>
75 <div class="signature">{$am->signature('html')|smarty:nodefaults}</div>
76 <div class="foot1">
a7de4ef7 77 Cette lettre est envoyée par l'AX grâce aux outils de Polytechnique.org.
8da0d3c1 78 </div>
79 <div class="foot2">
80 [<a href="https://www.polytechnique.org/ax">archives</a>&nbsp;|
4e25428d 81 <a href="https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}">ne plus recevoir</a>]
8da0d3c1 82 </div>
83 </div>
84{if $is_mail}
a46f274c 85 </div>
8da0d3c1 86 </body>
87</html>
88{/if}
89{/if}
90
a7de4ef7 91{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}