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