Merge branch 'profile_edit'
[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          {if $disabled}disabled="disabled"{/if} />
26 </td>
27 <td class="orange">
28   <input type="radio" name="{$name}" value="ax" {if $val eq 'ax'}checked="checked"{/if}
29          {if $disabled}disabled="disabled"{/if}/>
30 </td>
31 <td class="rouge">
32   <input type="radio" name="{$name}" value="private" {if $val eq 'private' || (!$val && !$disabled)}checked="checked"{/if}
33          {if $disabled}disabled="disabled"{/if}/>
34 </td>
35 {elseif $display eq "div"}
36 <span class="vert">
37   <input type="radio" name="{$name}" value="public" {if $val eq 'public'}checked="checked"{/if}
38          {if $disabled}disabled="disabled"{/if}/>
39 </span>
40 <span class="orange">
41   <input type="radio" name="{$name}" value="ax" {if $val eq 'ax'}checked="checked"{/if}
42          {if $disabled}disabled="disabled"{/if}/>
43 </span>
44 <span class="rouge">
45   <input type="radio" name="{$name}" value="private" {if $val eq 'private' || (!$val && !$disabled)}checked="checked"{/if}
46          {if $disabled}disabled="disabled"{/if}/>
47 </span>
48 {else}
49   {if !$notable}
50     <tr>
51       <td colspan="5" class="pflags">
52   {/if}
53         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
54           <tr>
55             <td class="vert">
56               <input type="radio" name="{$name}" value="public" {if $val eq 'public'}checked="checked"{/if}
57                      {if $disabled}disabled="disabled"{/if} />
58             </td>
59             <td class="texte">
60               site public
61             </td>
62             <td class="orange">
63               <input type="radio" name="{$name}" value="ax" {if $val eq 'ax'}checked="checked"{/if}
64                      {if $disabled}disabled="disabled"{/if}/>
65             </td>
66             <td class="texte">
67               transmis à l'AX
68             </td>
69             <td class="rouge">
70               <input type="radio" name="{$name}" value="private" {if $val eq 'private' || (!$val && !$disabled)}checked="checked"{/if}
71                      {if $disabled}disabled="disabled"{/if} />
72             </td>
73             <td class="texte">
74               privé
75             </td>
76             <td class="texte">
77               <a href="Xorg/FAQ?display=light#flags" class="popup_800x240">Quelle couleur ??</a>
78             </td>
79           </tr>
80         </table>
81   {if !$notable}
82       </td>
83     </tr>
84   {/if}
85 {/if}
86 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}