11d441f3 |
1 | {if $grouplist|@count} |
7027794f |
2 | {if $withsubs} |
2f0aa8ce |
3 | <form action="{url action=subscribe}" method="post"> |
7027794f |
4 | <p style="text-align: center"> |
a0b2e16c |
5 | <input type="submit" name="validsubs" value="{"Valider"|b}" /> |
7027794f |
6 | </p> |
7 | {/if} |
8f4ed520 |
8 | <table class="bicol banana_box_list"> |
7027794f |
9 | <tr> |
10 | {if $withsubs} |
11 | <th></th> |
12 | {/if} |
13 | {if $withstats} |
a0b2e16c |
14 | <th>{"Total"|b}</th> |
15 | <th>{"Nouveaux"|b}</th> |
7027794f |
16 | {/if} |
a0b2e16c |
17 | <th>{"Nom"|b}</th> |
e02edbfe |
18 | <th> |
19 | {if $withfeed} |
20 | <div class="action"> |
21 | {imglink action=$feed_format img=feed alt="Flux"|b accesskey=f} |
22 | </div> |
23 | {/if} |
24 | {"Description"|b} |
25 | </th> |
7027794f |
26 | </tr> |
11d441f3 |
27 | {foreach from=$grouplist key=name item=grp} |
7027794f |
28 | <tr class="{cycle values="impair,pair"}"> |
29 | {if $withsubs} |
30 | <td> |
31 | <input type="checkbox" name="subscribe[{$name}]" {if in_array($name, $profile.subscribe)}checked="checked"{/if} /> |
32 | </td> |
33 | {/if} |
34 | {if $withstats} |
35 | <td style="text-align: center">{if $grp.msgnum eq 0}-{else}{$grp.msgnum}{/if}</td> |
36 | <td style="text-align: center">{if $grp.unread eq 0}-{else}{$grp.unread}{/if}</td> |
37 | {/if} |
38 | <td class="grp">{link group=$name text=$name}</td> |
39 | <td class="dsc">{$grp.desc}</td> |
40 | </tr> |
41 | {/foreach} |
42 | </table> |
43 | {if $withsubs} |
44 | <p style="text-align: center"> |
a0b2e16c |
45 | <input type="submit" name="validsubs" value="{"Valider"|b}" /> |
7027794f |
46 | </p> |
47 | </form> |
48 | {/if} |
49 | {/if} |
50 | |
a90b6fc9 |
51 | {* vim:set et sw=2 sts=2 ts=2 fenc=utf-8: *} |