0337d704 |
1 | {**************************************************************************} |
2 | {* *} |
50a40a33 |
3 | {* Copyright (C) 2003-2006 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 | |
23 | |
24 | {if $success} |
25 | <p> |
e2006418 |
26 | La demande de création des alias <strong>{$success}@{#globals.mail.alias_dom#}</strong> et |
0337d704 |
27 | <strong>{$success}@{#globals.mail.alias_dom2#}</strong> a bien été enregistrée. Après |
28 | vérification, tu recevras un mail te signalant l'ouverture de ces adresses. |
29 | </p> |
30 | <p> |
31 | Encore merci de nous faire confiance pour tes e-mails ! |
32 | </p> |
33 | {else} |
34 | <h1> |
35 | Adresses e-mail personnalisées |
36 | </h1> |
37 | |
38 | {if $actuel} |
7b2413f6 |
39 | <form action="emails/alias/set/{if $mail_public}private{else}public{/if}" method='post'> |
0337d704 |
40 | <table class="flags"> |
41 | <tr> |
42 | <td class="orange"> |
43 | <input type="checkbox" {if $mail_public}checked="checked"{/if} onclick="this.form.submit()" /> |
44 | </td> |
45 | <td> |
46 | Ton alias est actuellement : <strong>{$actuel}</strong>. Il est pour l'instant |
47 | {if $mail_public}public et apparaît donc sur ta fiche.{else}privé et n'apparaît nulle part sur le site{/if} |
48 | </td> |
49 | </tr> |
50 | </table> |
51 | </form> |
52 | |
53 | {else} |
54 | <p> |
55 | Pour plus de <strong>convivialité</strong> dans l'utilisation de tes mails, tu peux choisir une adresse |
56 | e-mail discrète et personnalisée. Ce nouvel e-mail peut par exemple correspondre à ton surnom. |
57 | </p> |
58 | {/if} |
59 | |
60 | <p> |
61 | Pour de plus amples informations sur ce service, nous t'invitons à consulter |
7b2413f6 |
62 | <a href="Docs/MonAliasMailMelix-net">cette documentation</a> qui répondra |
0337d704 |
63 | sans doute à toutes tes questions |
64 | </p> |
65 | |
66 | {if $actuel} |
67 | <p> |
68 | <strong>Note : tu as déjà l'alias {$actuel}, or tu ne peux avoir qu'un seul alias à la fois. |
69 | Si tu effectues une nouvelle demande l'ancien alias sera effacé.</strong> |
70 | </p> |
71 | {/if} |
72 | |
73 | {if $demande} |
74 | <p> |
75 | <strong>Note : tu as déjà effectué une demande pour {$demande->alias}, dont le traitement est |
76 | en cours. Si tu souhaites modifier ceci refais une demande, sinon ce n'est pas la peine.</strong> |
77 | </p> |
78 | {/if} |
79 | |
80 | <br /> |
7b2413f6 |
81 | <form action="emails/alias/ask" method="post"> |
0337d704 |
82 | <table class="bicol" cellpadding="4" summary="Demande d'alias"> |
83 | <tr> |
84 | <th>Demande d'alias</th> |
85 | </tr> |
86 | <tr> |
87 | <td>Alias demandé :</td> |
88 | </tr> |
89 | <tr> |
90 | <td><input type="text" name="alias" value="{$r_alias}" />@{#globals.mail.alias_dom#} et @{#globals.mail.alias_dom2#}</td> |
91 | </tr> |
92 | <tr> |
93 | <td> |
94 | <table class="flags" summary="Flags" cellpadding="0" cellspacing="0"> |
95 | <tr> |
96 | <td class="orange"> |
97 | <input type="checkbox" name="public" {if $mail_public}checked="checked"{/if}/> |
98 | </td> |
99 | <td class="texte"> |
100 | adresse publique (apparaît sur ta fiche). |
101 | </td> |
102 | </tr> |
103 | </table> |
104 | </td> |
105 | </tr> |
106 | <tr> |
107 | <td>Brève explication :</td> |
108 | </tr> |
109 | <tr> |
110 | <td><textarea rows="5" cols="50" name="raison">{$r_raison}</textarea></td> |
111 | </tr> |
112 | <tr> |
113 | <td><input type="submit" name="submit" value="Envoyer" /></td> |
114 | </tr> |
115 | </table> |
116 | </form> |
117 | {if $actuel} |
7b2413f6 |
118 | <form action="emails/alias/delete/{$actuel}" method="post" |
0337d704 |
119 | onsubmit="return confirm('Es-tu sûr de vouloir supprimer {$actuel} ?')"> |
120 | <table class="bicol" cellpadding="4" summary="Suppression d'alias"> |
121 | <tr> |
122 | <th>Suppression d'alias</th> |
123 | </tr> |
124 | <tr> |
125 | <td class="center"> |
0337d704 |
126 | <input type="submit" value="Supprimer l'alias {$actuel}" /> |
127 | </td> |
128 | </tr> |
129 | </table> |
130 | </form> |
131 | {/if} |
132 | {/if} |
133 | |
134 | {* vim:set et sw=2 sts=2 sws=2: *} |