2 function chLocation(newLocation) { document.location = newLocation; }
5 <table class="mobile-table">
8 {if ($user->canManageTeam())}
9 <table class="mobile-table-details">
10 {if $inactive_clients}
11 <tr><td class="sectionHeaderNoBorder">{$i18n.form.clients.active_clients}</td></tr>
14 <td width="40%" class="tableHeader">{$i18n.label.person_name}</td>
15 <td width="40%" class="tableHeader">{$i18n.label.address}</td>
17 {foreach $active_clients as $client}
18 <tr valign="top" bgcolor="{cycle values="#f5f5f5,#ffffff"}">
19 <td><a href="client_edit.php?id={$client.id}">{$client.name|escape}</a></td>
20 <td>{$client.address|escape}</td>
26 <tr><td align="center"><br><form><input type="button" onclick="chLocation('client_add.php');" value="{$i18n.button.add_client}"></form></td></tr>
29 {if $inactive_clients}
30 <table cellspacing="1" cellpadding="3" border="0" width="100%">
31 <tr><td class="sectionHeaderNoBorder">{$i18n.form.clients.inactive_clients}</td></tr>
33 <td width="40%" class="tableHeader">{$i18n.label.person_name}</td>
34 <td width="40%" class="tableHeader">{$i18n.label.address}</td>
36 {foreach $inactive_clients as $client}
37 <tr valign="top" bgcolor="{cycle values="#f5f5f5,#ffffff"}">
38 <td><a href="client_edit.php?id={$client.id}">{$client.name|escape}</a></td>
39 <td>{$client.address|escape}</td>
45 <tr><td align="center"><br><form><input type="button" onclick="chLocation('client_add.php');" value="{$i18n.button.add_client}"></form></td></tr>