Merge remote branch 'origin/master' into account
[platal.git] / templates / register / registration.mail.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
9f5bd98e 3{* Copyright (C) 2003-2010 Polytechnique.org *}
0337d704 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
94590511 23{config_load file="mails.conf" section="registration"}
5b21237d 24{if $mail_part eq 'head'}
94590511 25{subject text="$subj"}
0337d704 26{from full=#from#}
94590511
SJ
27{to addr=#to#}
28{if isset(#replyto#)}{add_header name='Reply-To' value=#replyto#}{/if}
792f6192 29{elseif $mail_part eq 'text'}
94590511
SJ
30{$firstname} {$lastname} ({$promo}) a terminé son inscription avec les données suivantes :
31 - nom : {$lastname}
32 - prenom : {$firstname}
33 - promo : {$promo}
34 - naissance : {$birthdate} (date connue : {$birthdate_ref})
35 - forlife : {$forlife}
36 - email : {$email}
37 - sexe : {$sex}
38 - ip : {S::logger()->ip} ({S::logger()->host})
39{if S::logger()->proxy_ip} - proxy : {S::logger()->proxy_ip} ({S::logger()->proxy_host}){/if}
0337d704 40
0337d704 41
94590511
SJ
42{if $market}Les marketings suivants avaient été effectués :
43{$market}
44{else}{$firstname} {$lastname} n'a jamais reçu d'email de marketing.
45{/if}
1e33266a 46{/if}
a7de4ef7 47{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}