Commit | Line | Data |
---|---|---|
0337d704 | 1 | {**************************************************************************} |
2 | {* *} | |
5e1513f6 | 3 | {* Copyright (C) 2003-2011 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 | ||
2455266e | 23 | <h1>Marketing de {$full_name}</h1> |
0337d704 | 24 | |
25 | <h2>Matricules</h2> | |
26 | ||
e8439508 | 27 | Matricule polytechnique.org : {$matricule} |
0337d704 | 28 | {if $matricule_X} |
29 | <br /> | |
e8439508 | 30 | Matricule École (à rentrer lors de l'inscription) : <strong>{$matricule_X}</strong> |
0337d704 | 31 | {/if} |
32 | ||
33 | {if $pending} | |
34 | ||
35 | <h2>Inscription en cours</h2> | |
36 | ||
37 | <p> | |
38 | Cet utilisateur a une inscription en cours depuis le {$pending|date_format}. | |
39 | </p> | |
40 | <p> | |
41 | {if $relance eq '0000-00-00'} | |
3e9cfdad | 42 | Il n'a jamais été relancé. |
0337d704 | 43 | {else} |
3e9cfdad | 44 | Sa dernière relance date du {$relance|date_format}. |
0337d704 | 45 | {/if} |
46 | </p> | |
47 | ||
3e9cfdad | 48 | <p>[<a href='{$path}/insrel?token={xsrf_token}'>Le relancer</a>]</p> |
0337d704 | 49 | |
50 | {/if} | |
51 | ||
52 | <h2>Adresses connues</h2> | |
53 | ||
7b2413f6 | 54 | <form action="{$path}/add" method="post"> |
926edcd1 | 55 | <table class="bicol" cellpadding="0" cellspacing="0"> |
56 | <tr> | |
57 | <th>Adresse</th> | |
58 | <th>Marketeur</th> | |
59 | <th>Date</th> | |
60 | <th>Envois</th> | |
61 | <th>Nb.</th> | |
62 | <th> </th> | |
63 | </tr> | |
64 | {iterate from=$addr item=a} | |
65 | <tr class="{cycle values='impair,pair'}"> | |
66 | <td>{$a.email}</td> | |
b715c1e1 SJ |
67 | <td> |
68 | {if $a.alias neq ''}<a href="profile/{$a.alias}" class="popup2">{$a.alias}</a> | |
69 | {if $a.type eq user}(*){/if}{else}Email connu de l'AX{/if} | |
70 | </td> | |
926edcd1 | 71 | <td>{$a.date|date_format|default:'-'}</td> |
72 | <td>{$a.last|date_format|default:'-'}</td> | |
73 | <td class='center'>{$a.nb|default:"-"}</td> | |
74 | <td class='action'> | |
ce8ec5a3 | 75 | <a href='{$path}/del/{$a.email}?token={xsrf_token}'>del</a><br /> |
7b2413f6 | 76 | <a href='{$path}/rel/{$a.email}'>relance</a> |
926edcd1 | 77 | </td> |
78 | </tr> | |
79 | {/iterate} | |
80 | <tr> | |
81 | <td></td> | |
841ff7e7 | 82 | <td colspan='5' class='smaller'>(*) : email perso</td> |
926edcd1 | 83 | </tr> |
84 | <tr> | |
85 | <td> | |
86 | <input type='text' name='email' /> | |
87 | </td> | |
88 | <td colspan="4"> | |
89 | <select name="type"> | |
90 | <option value="staff">staff</option> | |
91 | <option value="user">user</option> | |
92 | </select> | |
93 | </td> | |
94 | <td class='action'> | |
95 | <input type='submit' value='ajouter' /> | |
96 | </td> | |
97 | </tr> | |
98 | </table> | |
0337d704 | 99 | </form> |
100 | ||
101 | {if $rel_to} | |
7b2413f6 | 102 | <form action="{$path}/relforce/{$email}" method="post"> |
ce8ec5a3 | 103 | {xsrf_token_field} |
0337d704 | 104 | <table class="bicol"> |
105 | <tr class="pair"> | |
e4705641 | 106 | <th colspan="2">Édition de l'email de relance</th> |
0337d704 | 107 | </tr> |
108 | <tr class="pair"> | |
841ff7e7 | 109 | <td align="right"><strong>From :</strong></td> |
0baf0741 | 110 | <td> |
111 | {if $rel_from_staff neq $rel_from_user} | |
112 | <select name="from"> | |
113 | <option value="staff">{$rel_from_staff}</option> | |
114 | <option value="user" selected="selected">{$rel_from_user}</option> | |
115 | </select> | |
116 | {else} | |
117 | {$rel_from_staff}<input type="hidden" name="from" value="staff" /> | |
118 | {/if} | |
119 | </td> | |
0337d704 | 120 | </tr> |
121 | <tr class="pair"> | |
841ff7e7 | 122 | <td align="right"><strong>To :</strong></td> |
0337d704 | 123 | <td> |
124 | <input type="text" value="{$rel_to}" name="to" size="40" maxlength="100" /> | |
125 | <input type="submit" name="valider" value="Envoyer" /> | |
126 | </td> | |
127 | </tr> | |
128 | <tr class="pair"> | |
841ff7e7 | 129 | <td align="right"><strong>Objet :</strong></td> |
0337d704 | 130 | <td><input type="text" name="title" value="{$rel_title}" size="50" maxlength="100" /></td> |
131 | </tr> | |
132 | <tr class="pair"> | |
841ff7e7 | 133 | <td align="right"><strong>Message :</strong></td> |
0337d704 | 134 | <td> |
135 | <textarea name="message" rows="40" cols="60">{$rel_text}</textarea> | |
136 | </td> | |
137 | </tr> | |
138 | </table> | |
139 | <div class="center"> | |
0337d704 | 140 | <input type="reset" value="Recommencer" /> |
141 | <input type="submit" name="valider" value="Envoyer" /> | |
142 | </div> | |
143 | </form> | |
144 | {/if} | |
145 | ||
a7de4ef7 | 146 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |