1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
25 {if $actif}Modification du mot de passe SMTP/NNTP{else}Activation de ton compte SMTP/NNTP{/if}
29 <script type="text/javascript">
31 function CheckResponse() {
32 pw1 = document.forms.smtppass_form.smtppass1.value;
33 pw2 = document.forms.smtppass_form.smtppass2.value;
35 alert ("\nErreur : les deux champs ne sont pas identiques !");
40 alert ("\nErreur : le nouveau mot de passe doit faire au moins 6 caractères !");
44 document.forms.smtppass_form.op.value='Valider';
45 document.forms.smtppass_form.submit();
49 function SupprimerMdp() {
50 document.forms.smtppass_form.op.value='Supprimer';
51 document.forms.smtppass_form.submit();
58 <a href="docs/doc_smtp.php">Pourquoi et comment</a> utiliser le serveur SMTP de Polytechnique.org. <br />
59 <a href="docs/doc_nntp.php">Pourquoi et comment</a> utiliser le serveur NNTP de Polytechnique.org. <br />
63 Clique sur <strong>"Supprimer"</strong> si tu veux supprimer ton compte SMTP/NNTP.
65 Pour activer un compte SMTP/NNTP sur <strong>ssl.polytechnique.org</strong>, tape un mot de passe ci-dessous.
68 <form action="{$smarty.server.REQUEST_URI}" method="post" id="smtppass_form">
69 <table class="tinybicol" cellpadding="3" summary="Définition du mot de passe">
72 Définition du mot de passe
80 <input type="password" size="15" maxlength="15" name="smtppass1" />
85 Retape-le une fois (pour vérification):
88 <input type="password" size="15" maxlength="15" name="smtppass2" />
92 <td colspan="2" class="center">
93 <input type="hidden" name="op" value="" />
94 <input type="submit" value="Valider" onclick="CheckResponse(); return false;" />
96 <input type="submit" value="Supprimer" onclick="SupprimerMdp();" />
103 Ce mot de passe peut être le même que celui d'accès au site. Il doit faire au
104 moins <strong>6 caractères</strong> quelconques. Attention au type de clavier que tu
105 utilises (qwerty?) et aux majuscules/minuscules.
108 {* vim:set et sw=2 sts=2 sws=2: *}