2 function chLocation(newLocation) { document.location = newLocation; }
5 <table cellspacing="0" cellpadding="7" border="0" width="720">
6 <tr><td valign="top">{$i18n.form.groups.hint}</td></tr>
9 <table cellspacing="1" cellpadding="3" border="0" width="720">
11 <td width="3%" class="tableHeader">{$i18n.label.id}</td>
12 <td width="70%" class="tableHeader">{$i18n.label.thing_name}</td>
13 <td class="tableHeader">{$i18n.label.date}</td>
14 <td class="tableHeader">{$i18n.label.language}</td>
19 {foreach $groups as $group}
20 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
22 <td>{$group.name|escape}</td>
23 <td nowrap>{$group.date}</td>
24 <td align="center">{$group.lang}</td>
25 <td><a href="admin_group_edit.php?id={$group.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
26 <td><a href="admin_group_delete.php?id={$group.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
37 <input type="button" onclick="chLocation('admin_group_add.php');" value="{$i18n.button.create_group}"> {$i18n.label.or}
38 <input type="button" onclick="chLocation('import.php');" value="{$i18n.button.import}">