a431fe768181c1698aa119df5abb836b594ef54b
[platal.git] / templates / reminder / ml.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2009 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 <div class="warnings reminder">
24   <span style="float: right">
25     <a href="" onclick="Ajax.update_html('reminder', '{$baseurl}/dismiss')">
26       {icon name=cross title="Cacher cet avertissement."}
27     </a>
28   </span>
29   <form action="{$baseurl}/suscribe" method="post">
30     {xsrf_token_field}
31     Des camarades souhaitent que tu t'inscrives aux listes suivantes&nbsp;:
32     <dl>
33       {foreach from=$lists key=list item=details}
34       <dt>
35         <label>
36           <input type='checkbox' value='1' checked="checked" name="sub_ml[{$list}]" />
37           {$list}*&nbsp;: {$details.desc}
38         </label>
39       </dt>
40       {if $details.info}
41       <dd>
42         {$details.info|nl2br}
43       </dd>
44       {/if}
45       {/foreach}
46     </dl>
47     <input type="submit" value="M'inscrire aux listes choisies." />
48   </form>
49   [<a href="" onclick="Ajax.update_html('reminder', '{$baseurl}/no')">
50     {icon name=delete} Ne pas m'inscrire à ces listes de diffusion.
51   </a>]
52 </div>
53
54 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}