2 function chLocation(newLocation) { document.location = newLocation; }
5 <table cellspacing="0" cellpadding="7" border="0" width="720">
6 <tr><td valign="top">{$i18n.form.teams.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>
15 <td class="tableHeader">{$i18n.label.edit}</td>
16 <td class="tableHeader">{$i18n.label.delete}</td>
19 {foreach $teams as $team}
20 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
22 <td>{$team.name|escape}</td>
23 <td nowrap>{$team.date}</td>
24 <td align="center">{$team.lang}</td>
25 <td><a href="admin_team_edit.php?id={$team.id}">{$i18n.label.edit}</a></td>
26 <td><a href="admin_team_delete.php?id={$team.id}">{$i18n.label.delete}</a></td>
37 <input type="button" onclick="chLocation('admin_team_add.php');" value="{$i18n.button.create_team}"> {$i18n.label.or}
38 <input type="button" onclick="chLocation('import.php');" value="{$i18n.button.import}">