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 | ||
7a3f546b | 23 | {include wiki=Xorg.Antispam part=1} |
0337d704 | 24 | |
b9dcbddd | 25 | <script type="text/javascript">//<![CDATA[ |
26 | {literal} | |
4171c0bf | 27 | $(function() { |
b0e935d6 FB |
28 | var url = '{/literal}{$globals->baseurl}/emails/antispam/{literal}'; |
29 | var msg = "Le changement de réglage de l'antispam a bien été effectué."; | |
30 | $(':radio[name=statut_filtre]').change(function() { | |
31 | $("#bogo-msg").successMessage(url + $(this).val(), msg); | |
32 | }); | |
33 | }); | |
b9dcbddd | 34 | {/literal} |
21b1bb6e | 35 | //]]></script> |
94f3f9ba | 36 | <fieldset> |
e8439508 | 37 | <legend><strong>Choisis ton propre réglage :</strong></legend> |
b0e935d6 | 38 | <input id='s0' type='radio' name='statut_filtre' value='0' {if $filtre eq 0}checked="checked"{/if} /> |
faefdbb7 | 39 | <label for='s0'>(1) le filtre anti-spam n'agit pas sur tes emails</label> |
94f3f9ba | 40 | <br /> |
b0e935d6 | 41 | <input id='s1' type='radio' name='statut_filtre' value='1' {if $filtre eq 1}checked="checked"{/if} /> |
faefdbb7 | 42 | <label for='s1'>(2) le filtre anti-spam marque les emails</label> |
94f3f9ba | 43 | <br /> |
b0e935d6 | 44 | <input id='s2' type='radio' name='statut_filtre' value='2' {if $filtre eq 2}checked="checked"{/if} /> |
faefdbb7 | 45 | <label for='s2'>(3) le filtre anti-spam marque les emails, et élimine les spams avec des notes les plus hautes</label> |
94f3f9ba | 46 | <br /> |
b0e935d6 | 47 | <input id='s3' type='radio' name='statut_filtre' value='3' {if $filtre eq 3}checked="checked"{/if} /> |
faefdbb7 | 48 | <label for='s3'>(4) le filtre anti-spam élimine les emails détectés comme spams</label> |
94f3f9ba | 49 | </fieldset> |
0337d704 | 50 | |
b9dcbddd | 51 | <div id="bogo-msg" style="position:absolute;"></div><br /> |
52 | ||
7a3f546b | 53 | {include wiki=Xorg.Antispam part=2} |
0337d704 | 54 | |
a7de4ef7 | 55 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |