Code

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