0337d704 |
1 | {**************************************************************************} |
2 | {* *} |
5ddeb07c |
3 | {* Copyright (C) 2003-2007 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 | |
f719597f |
23 | <h1>Nom d'usage</h1> |
0337d704 |
24 | |
9ba22f37 |
25 | {if $same} |
26 | <p class="erreur"> |
a7de4ef7 |
27 | Si ton nom d'usage est identique à ton nom à l'X, il n'est pas |
28 | nécessaire de le saisir ici! |
9ba22f37 |
29 | </p> |
30 | <p> |
a7de4ef7 |
31 | Pour supprimer ton nom d'usage, fais une demande avec un nom vide et en précisant la raison. |
9ba22f37 |
32 | </p> |
33 | <p> |
648020d2 |
34 | [<a href='profile/usage'>Refaire une demande</a>] - [<a href='profile/edit'>Retour au profil</a>] |
9ba22f37 |
35 | </p> |
36 | {else} |
37 | {if $myusage} |
38 | {if $usage_old} |
39 | <p> |
40 | Ta demande de suppression de ton nom d'usage ainsi que de tes |
7d73bb7b |
41 | alias {$alias_old}@{#globals.mail.domain#} et |
a7de4ef7 |
42 | {$alias_old}@{#globals.mail.domain2#} a bien été enregistrée. |
9ba22f37 |
43 | </p> |
44 | {/if} |
45 | |
46 | {if $myusage->alias} |
47 | <p> |
a7de4ef7 |
48 | Ta demande d'ajout de ton nom d'usage a bien été enregistrée. Sa |
49 | validation engendrera la création des alias |
7d73bb7b |
50 | <strong>{$myusage->alias}@{#globals.mail.domain#}</strong> et |
51 | <strong>{$myusage->alias}@{#globals.mail.domain2#}</strong>. |
9ba22f37 |
52 | </p> |
53 | {/if} |
54 | |
55 | <p> |
a7de4ef7 |
56 | Tu recevras un mail dès que les changements demandés auront été effectués. |
9ba22f37 |
57 | Encore merci de nous faire confiance pour tes e-mails ! |
58 | </p> |
59 | |
60 | {else} |
61 | |
f719597f |
62 | <p> |
a7de4ef7 |
63 | Le nom d'usage est un patronyme qui doit être <strong>reconnu par la |
f719597f |
64 | loi</strong> (nom du conjoint, d'un de ses parents, ou bien plus |
a7de4ef7 |
65 | exceptionnellement sur changement de l'état civil, ...). |
f719597f |
66 | </p> |
67 | |
68 | <p> |
a7de4ef7 |
69 | Les surnoms sont <strong>systématiquement refusés</strong>. Pour |
70 | utiliser une adresse personnalisée, il faut se tourner vers |
7b2413f6 |
71 | <a href="emails/alias">l'alias @melix.net</a>. |
f719597f |
72 | </p> |
0337d704 |
73 | |
0337d704 |
74 | <p> |
a7de4ef7 |
75 | Afin d'être joignable à la fois sous ton nom à l'X et sous ton nom d'usage, tu peux |
76 | saisir ici ce dernier. Il apparaîtra alors dans l'annuaire et tu disposeras |
7d73bb7b |
77 | des adresses correspondantes @{#globals.mail.domain#} et @{#globals.mail.domain2#}, en plus de |
a7de4ef7 |
78 | celles que tu possèdes déjà. |
0337d704 |
79 | </p> |
80 | |
81 | <br /> |
82 | |
8bd7c1de |
83 | {literal} |
84 | <form action="profile/usage" method="post" onsubmit=" |
85 | for (var i=this.reason.length-1; i--; i>=0) { |
86 | if (this.reason[i].checked) { |
87 | return true; |
88 | } |
89 | } |
90 | alert('Tu dois préciser une raison motivant ta demande.'); |
91 | return false; |
92 | "> |
93 | {/literal} |
0337d704 |
94 | <table class="bicol" cellpadding="4" summary="Nom d'usage"> |
95 | <tr> |
96 | <th>Nom d'usage</th> |
97 | </tr> |
98 | <tr> |
21e9114c |
99 | <td class="center"> |
100 | <input type="text" name="nom_usage" id="nom_usage" value="{$usage_old}" /> |
101 | <script type="text/javascript"> |
102 | document.getElementById("nom_usage").focus(); |
103 | </script> |
104 | </td> |
105 | </tr> |
106 | <tr> |
107 | <th>Raison du changement de nom</th> |
108 | </tr> |
109 | <tr> |
110 | <td class="rt"> |
8bd7c1de |
111 | <input type="radio" name="reason" value="époux/se" id="reason_ep" onclick="this.form.other_reason.value=''" /><label for="reason_ep">Nom d'épouse / d'époux</label><br /> |
21e9114c |
112 | {if $usage_old} |
113 | <input type="radio" name="reason" value="divorce" id="reason_div" onclick="this.form.other_reason.value=''" /><label for="reason_div">Divorce</label><br /> |
114 | {/if} |
a7de4ef7 |
115 | <input type="radio" name="reason" value="raccourci" id="reason_rac" onclick="this.form.other_reason.value=''" /><label for="reason_rac">Nom d'état civil simplifié, le nom officiel étant trop long</label><br /> |
21e9114c |
116 | <input type="radio" name="reason" value="other" id="reason_oth" /><label for="reason_oth">Autre :</label><br /> |
117 | <input type="text" name="other_reason" onfocus="document.getElementById('reason_oth').checked='checked'" size="60" /> |
118 | </td> |
0337d704 |
119 | </tr> |
120 | <tr> |
c80cbb5a |
121 | <td class="center"> |
122 | {if !$usage_old} |
123 | <input type="submit" name="submit" value="Faire la demande" /> |
124 | {else} |
125 | <input type="submit" name="submit" value="Modifier" /> |
126 | <input type="submit" name="submit" value="Supprimer" onClick="this.form.nom_usage.value=''" /> |
127 | {/if} |
128 | </td> |
0337d704 |
129 | </tr> |
130 | </table> |
131 | </form> |
132 | {/if} |
133 | {/if} |
134 | |
135 | |
a7de4ef7 |
136 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |