2 {if $mode == "remove"}
4 <h2>{t}Edit entry{/t}</h2>
5 <br>
6 {t}Select the entries you want to remove.{/t}
7 <br>
8 <br>
9 <table>
10 {foreach from=$FAI_group item=item key=key}
11 <tr>
12 <td>
13 <input type='checkbox' name='{$mode}_{$key}'
14 {if $item.selected} checked {/if}>
15 </td>
16 <td>
17 <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
18 class='center'>
19 </td>
20 <td style='width:150px;'>{$types.$key.NAME}</td>
21 <td>{$item.description}
22 </td>
23 </tr>
24 {/foreach}
25 </table>
27 {elseif $mode == "edit"}
29 <h2>{t}Edit entry{/t}</h2>
30 <br>
31 {t}Select the entry you want to edit.{/t}
32 <br>
33 <br>
34 <table>
35 {foreach from=$FAI_group item=item key=key}
36 <tr>
37 <td>
38 <input type='radio' name='{$mode}_selected' value='{$key}'
39 {if $item.selected} checked {/if}>
40 </td>
41 <td>
42 <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
43 class='center'>
44 </td>
45 <td style='width:150px;'>{$types.$key.NAME}</td>
46 <td>{$item.description}
47 </td>
48 </tr>
49 {/foreach}
50 </table>
51 {/if}
52 <br>
53 <br>
54 <input type='hidden' value='faiGroupHandle' name='faiGroupHandle'>
55 <p class='seperator'></div>
56 <div style='text-align:right; padding:5px'>
57 <input type='submit' value='{msgPool type=applyButton}' name='faiGroupHandle_apply'>
58
59 <input type='submit' value='{msgPool type=cancelButton}' name='faiGroupHandle_cancel'>
60 </div>