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>
11 {if $item.freezed}
12 {image path="images/lists/locked.png"}
13 {else}
14 <input type='checkbox' name='{$mode}_{$key}' {if $item.selected} checked {/if}>
15 {/if}
16 </td>
17 <td>
18 {image path="{$types.$key.IMG}" title="{$types.$key.NAME}"}
19 </td>
20 <td style='width:150px;'>
21 {$types.$key.NAME}
22 </td>
23 <td style='width:80px;'>
25 {if $item.freezed}<i>({t}Freezed{/t})</i>
27 {/if}
28 </td>
29 <td><i>(
30 {$item.description.0})</i>
31 </td>
32 </tr>{/foreach}
33 </table>
34 {elseif $mode == "edit"}
35 <b>{t}Select the object you want to edit:{/t}</b>
36 <br>
37 <br>
38 <table summary="{t}FAI group edit{/t}">{foreach from=$FAI_group item=item key=key}
39 <tr>
40 <td>
43 <input type='radio' name='{$mode}_selected' value='{$key}' {if $item.selected} checked {/if}>
44 </td>
45 <td>
46 {image path="{$types.$key.IMG}" title="{$types.$key.NAME}"}
47 </td>
48 <td style='width:150px;'>
49 {$types.$key.NAME}
50 </td>
51 <td><i>(
52 {$item.description.0})</i>
53 </td>
54 </tr>{/foreach}
55 </table>
56 {elseif $mode == "copy"}
57 <b>{t}Select the object you want to copy:{/t}</b>
58 <br>
59 <br>
60 <table summary="{t}FAI group copy{/t}">{foreach from=$FAI_group item=item key=key}
61 <tr>
62 <td>
65 <input type='checkbox' name='{$mode}_{$key}' {if $item.selected} checked {/if}>
66 </td>
67 <td>
68 {image path="{$types.$key.IMG}" title="{$types.$key.NAME}"}
69 </td>
70 <td style='width:150px;'>
71 {$types.$key.NAME}
72 </td>
73 <td><i>(
74 {$item.description.0})</i>
75 </td>
76 </tr>{/foreach}
77 </table>
79 {/if}
80 <br>
81 <input type='hidden' value='faiGroupHandle' name='faiGroupHandle'>
82 <hr>
83 <div class="plugin-actions">
84 <button type='submit' name='faiGroupHandle_apply'>{msgPool type=applyButton}</button>
85 <button type='submit' name='faiGroupHandle_cancel'>{msgPool type=cancelButton}</button>
86 </div>