Adapts email related user defined parameters to the new mail chain.
[platal.git] / templates / emails / antispam.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2011 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 {include wiki=Xorg.Antispam part=1}
24
25 <script type="text/javascript">//<![CDATA[
26   {literal}
27   $(function() {
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=filter_status]').change(function() {
31           $("#bogo-msg").successMessage(url + $(this).val(), msg);
32       });
33   });
34   {/literal}
35 //]]></script>
36   <fieldset>
37     <legend><strong>Choisis ton propre réglage&nbsp;:</strong></legend>
38     <input id='s0' type='radio' name='filter_status' value='0' {if $filter eq 0}checked="checked"{/if} />
39     <label for='s0'>(1) le filtre anti-spam n'agit pas sur tes emails</label>
40     <br />
41     <input id='s1' type='radio' name='filter_status' value='1' {if $filter eq 1}checked="checked"{/if} />
42     <label for='s1'>(2) le filtre anti-spam marque les emails</label>
43     <br />
44     <input id='s2' type='radio' name='filter_status' value='2' {if $filter eq 2}checked="checked"{/if} />
45     <label for='s2'>(3) le filtre anti-spam marque les emails, et élimine les spams avec des notes les plus hautes</label>
46     <br />
47     <input id='s3' type='radio' name='filter_status' value='3' {if $filter eq 3}checked="checked"{/if} />
48     <label for='s3'>(4) le filtre anti-spam élimine les emails détectés comme spams</label>
49   </fieldset>
50
51   <div id="bogo-msg" style="position:absolute;"></div><br />
52
53 {include wiki=Xorg.Antispam part=2}
54
55 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}