42c87324b35fa6b6723e61e32dc460eb1eb5b432
[platal.git] / templates / nomusage.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2004 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 <h1>
25   Nom d'usage
26 </h1>
27
28 {if $same}
29 <p class="erreur">
30     Si ton nom d'usage est identique à ton nom à l'X, il n'est pas
31     nécessaire de le saisir ici!
32 </p>
33 {else}
34   {if $myusage}
35   {if $usage_old}
36   <p>
37     Ta demande de suppression de ton nom d'usage ainsi que de tes
38     alias {$alias_old}@polytechnique.org et
39     {$alias_old}@m4x.org a bien été enregistrée. 
40   </p>
41   {/if}
42
43   {if $myusage->alias}
44   <p>
45     Ta demande d'ajout de ton nom d'usage a bien été enregistrée. Sa
46     validation engendrera la création des alias
47     <strong>{$myusage->alias}@polytechnique.org</strong> et
48     <strong>{$myusage->alias}@m4x.org</strong>.
49   </p>
50   {/if}
51   
52   <p>
53     Tu recevras un mail dès que les changements demandés auront été effectués. 
54     Encore merci de nous faire confiance pour tes e-mails !
55   </p>
56
57 {else}
58
59   <p>
60   Afin d'être joignable à la fois sous ton nom à l'X et sous ton nom d'usage, tu peux
61   saisir ici ce dernier. Il apparaîtra alors dans l'annuaire et tu disposeras
62   des adresses correspondantes @m4x.org et @polytechnique.org, en plus de
63   celles que tu possèdes déjà.
64   </p>
65
66   <br />
67
68   <form action="{$smarty.server.PHP_SELF}" method="post">
69     <table class="bicol" cellpadding="4" summary="Nom d'usage">
70       <tr>
71         <th>Nom d'usage</th>
72       </tr>
73       <tr>
74         <td class="center"><input type="text" name="nom_usage" value="{$usage_old}" /></td>
75       </tr>
76       <tr>
77         <td class="center"><input type="submit" name="submit" value="Envoyer" /></td>
78       </tr>
79     </table>
80   </form>
81   {/if}
82 {/if}
83
84
85 {* vim:set et sw=2 sts=2 sws=2: *}