Code

Created trunk inside of 2.6-lhm
[gosa.git] / trunk / gosa-plugins / fai / admin / fai / faiGroupHandle.tpl
1 {if $mode == "remove"}
3 <b>{t}Please select the objects you want to remove:{/t}</b>
4 <br>
5 <br>
6 <table>
7 {foreach from=$FAI_group item=item key=key}
8         <tr>
9                 <td>
10                         {if $item.freezed}
11                                 <img src="images/lists/locked.png" class='center'>
12                         {else}
13                                 <input type='checkbox' name='{$mode}_{$key}'
14                         {if $item.selected} checked {/if}>
15                         {/if}
16                 </td>
17                 <td>
18                         <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
19                                 class='center'>
20                 </td>
21                 <td style='width:150px;'>{$types.$key.NAME}</td>
22                 <td style='width:80px;'>{if $item.freezed}<i>({t}Freezed{/t})</i>{/if}</td>
23                 <td><i>({$item.description})</i></td>
24         </tr>
25 {/foreach}
26 </table>
28 {elseif $mode == "edit"}
30 <b>{t}Select the object you want to edit:{/t}</b>
31 <br>
32 <br>
33 <table>
34 {foreach from=$FAI_group item=item key=key}
35         <tr>
36                 <td>
37                 <input type='radio' name='{$mode}_selected' value='{$key}'
38                {if $item.selected} checked {/if}>
39                 </td>
40                 <td>
41                         <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
42                                 class='center'>
43                 </td>
44                 <td style='width:150px;'>{$types.$key.NAME}</td>
45                 <td><i>({$item.description})</i>
46                 </td>
47         </tr>
48 {/foreach}
49 </table>
51 {elseif $mode == "copy"}
53 <b>{t}Select the object you want to copy:{/t}</b>
54 <br>
55 <br>
56 <table>
57 {foreach from=$FAI_group item=item key=key}
58         <tr>
59                 <td>
60                         <input type='checkbox' name='{$mode}_{$key}'
61                         {if $item.selected} checked {/if}>
62                 </td>
63                 <td>
64                         <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
65                                 class='center'>
66                 </td>
67                 <td style='width:150px;'>{$types.$key.NAME}</td>
68                 <td><i>({$item.description})</i>
69                 </td>
70         </tr>
71 {/foreach}
72 </table>
74 {elseif $mode == "cut"}
76 <b>{t}Select the object you want to cut:{/t}</b>
77 <br>
78 <br>
79 <table>
80 {foreach from=$FAI_group item=item key=key}
81         <tr>
82                 <td>
83                         {if $item.freezed}
84                                 <img src="images/lists/locked.png" class='center'>
85                         {else}
86                                 <input type='checkbox' name='{$mode}_{$key}'
87                         {if $item.selected} checked {/if}>
88                         {/if}
89                 </td>
90                 <td>
91                         <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
92                                 class='center'>
93                 </td>
94                 <td style='width:150px;'>{$types.$key.NAME}</td>
95                 <td><i>({$item.description})</i> </td>
96         </tr>
97 {/foreach}
98 </table>
99 {/if}
100 <br>
101 <br>
102 <input type='hidden' value='faiGroupHandle' name='faiGroupHandle'>
103 <p class='seperator'></div>
104 <div style='text-align:right; padding:5px'>
105         <input type='submit' value='{msgPool type=applyButton}' name='faiGroupHandle_apply'>
106         &nbsp;
107         <input type='submit' value='{msgPool type=cancelButton}' name='faiGroupHandle_cancel'>
108 </div>