Layout refactoring (step 1)
[platal.git] / templates / include / flags.radio.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2007 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 {if $display eq "mini"}
23 <td class="vert">
24   <input type="radio" name="{$name}" value="public" {if $val eq 'public'}checked="checked"{/if} />
25 </td>
26 <td class="orange">
27   <input type="radio" name="{$name}" value="ax" {if $val eq 'ax'}checked="checked"{/if} />
28 </td>
29 <td class="rouge">
30   <input type="radio" name="{$name}" value="private" {if $val eq 'private' || !$val}checked="checked"{/if} />
31 </td>
32 {elseif $display eq "div"}
33 <span class="vert">
34   <input type="radio" name="{$name}" value="public" {if $val eq 'public'}checked="checked"{/if} />
35 </span>
36 <span class="orange">
37   <input type="radio" name="{$name}" value="ax" {if $val eq 'ax'}checked="checked"{/if} />
38 </span>
39 <span class="rouge">
40   <input type="radio" name="{$name}" value="private" {if $val eq 'private' || !$val}checked="checked"{/if} />
41 </span>
42 {else}
43   {if !$notable}
44     <tr>
45       <td colspan="5" class="pflags">
46   {/if}
47         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
48           <tr>
49             <td class="vert">
50               <input type="radio" name="{$name}" value="public" {if $val eq 'public'}checked="checked"{/if} />
51             </td>
52             <td class="texte">
53               site public
54             </td>
55             <td class="orange">
56               <input type="radio" name="{$name}" value="ax" {if $val eq 'ax'}checked="checked"{/if} />
57             </td>
58             <td class="texte">
59               transmis à l'AX
60             </td>
61             <td class="rouge">
62               <input type="radio" name="{$name}" value="private" {if $val eq 'private' || !$val}checked="checked"{/if} />
63             </td>
64             <td class="texte">
65               privé
66             </td>
67             <td class="texte">
68               <a href="Xorg/FAQ?display=light#flags" class="popup_800x240">Quelle couleur ??</a>
69             </td>
70           </tr>
71         </table>
72   {if !$notable}
73       </td>
74     </tr>
75   {/if}
76 {/if}
77 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}