9154ce0d04726d0e1a043b398a32cceee6e68224
[platal.git] / templates / marketing / public.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2013 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
24 {if $already}
25
26 <p>
27 Merci de nous avoir communiqué cette information&nbsp;!
28 </p>
29 <p>
30 Nous avions déjà connaissance de cette adresse, nous espérons donc comme toi que {$full_name} va s'inscrire au plus vite.
31 </p>
32 <p>
33 Si tu le connais personnellement, un petit email pour lui expliquer les atouts de Polytechnique.org
34 peut sans aucun doute l'aider à se décider&nbsp;!
35 </p>
36
37 {elseif $ok}
38
39 <p>
40   Merci de nous avoir communiqué cette information&nbsp;!  Un administrateur de Polytechnique.org va
41   envoyer un email de proposition d'inscription à Polytechnique.org à {$full_name} dans les
42   toutes prochaines heures (ceci est fait à la main pour vérifier qu'aucun utilisateur malveillant
43   ne fasse mauvais usage de cette fonctionnalité&hellip;).
44 </p>
45 <p>
46   <strong>Merci de ton aide à la reconnaissance de notre site&nbsp;!</strong> Tu seras informé par email de
47   l'inscription de {$full_name} si notre camarade accepte de rejoindre la communauté des X sur
48   le web&nbsp;!
49 </p>
50
51 {else}
52
53 {if $full_name}
54 <h1>
55   Et si nous proposions à {$full_name} de s'inscrire à Polytechnique.org&nbsp;?
56 </h1>
57
58 <p>
59   En effet notre camarade n'a pour l'instant pas encore rejoint la communauté des X sur le web&hellip;
60   C'est dommage, et en nous indiquant son adresse email, tu nous permettrais de lui envoyer une
61   proposition d'inscription.
62 </p>
63 <p>
64   Si tu es d'accord, merci d'indiquer ci-dessous l'adresse email de {$full_name} si tu la
65   connais.  Nous nous permettons d'attirer ton attention sur le fait que nous avons besoin d'être
66   sûrs que cette adresse est bien la sienne, afin que la partie privée du site reste uniquement
67   accessible aux seuls polytechniciens. Merci donc de ne nous donner ce renseignement uniquement si
68   tu es certain de sa véracité&nbsp;!
69 </p>
70 <p>
71   Nous pouvons au choix lui écrire au nom de l'équipe Polytechnique.org, ou bien, si tu le veux
72   bien, en ton nom. À toi de choisir la solution qui te paraît la plus adaptée. Une fois
73   {$full_name} inscrit, nous t'enverrons un email pour te prévenir que son inscription a réussi.
74 </p>
75
76 <form method="post" action="{$platal->path}">
77   {xsrf_token_field}
78   <table class="bicol" summary="Fiche camarade">
79     <tr class="impair"><td>Nom&nbsp;:</td><td>{$full_name}</td></tr>
80     <tr class="impair"><td>Promo&nbsp;:</td><td>{$promo}</td></tr>
81     <tr class="pair">
82       <td>Adresse email&nbsp;:</td>
83       <td>
84         <input type="text" name="mail" size="30" maxlength="255" />
85       </td>
86     </tr>
87     <tr class="impair">
88       <td>Nous lui écrirons&nbsp;:</td>
89       <td>
90         <label>
91           <input type="radio" name="origine" value="user" checked="checked"
92                  onclick="$('#sender').html('{$perso_signature}'); $('#tr_perso').show();
93                           $('#personal_notes_display').show();" />
94           en ton nom
95         </label><br />
96         <label>
97           <input type="radio" name="origine" value="staff"
98                  onclick='$("#sender").html("{include file=include/signature.mail.tpl mail_part=$mail_part}");
99                           $("#tr_perso").hide(); $("#personal_notes_display").hide();' />
100           au nom de l'équipe Polytechnique.org
101         </label>
102       </td>
103     </tr>
104     <tr class="pair" id="tr_perso">
105       <td>Texte à ajouter à l'email&nbsp;:</td>
106       <td><textarea cols="60" rows="5" name="personal_notes" id="textarea_perso"
107                     onkeyup="$('#personal_notes_display').html('<br />' + $('#textarea_perso').val().replace(/\n/g,
108                     '<br />') + '<br />');"></textarea>
109     </tr>
110   </table>
111   <div class="center">
112     <br />
113     <input type="submit" name="valide" value="Valider" />
114     <br />
115     <br />
116   </div>
117   <table class="bicol" summary="Texte de l'email">
118     <tr>
119       <th colspan="2">Texte de l'email</th>
120     </tr>
121     <tr>
122       <td colspan="2">
123         {$text|smarty:nodefaults}
124       </td>
125     </tr>
126   </table>
127 </form>
128 {/if}
129
130 {/if}
131
132
133 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}