<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.18.64.4925 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.18.64.4926 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
{/if}
<td class="tableHeader">{$i18n.label.view}</td>
{if !$user->isClient()}
- <td class="tableHeader">{$i18n.label.delete}</td>
+ <td></td>
{/if}
</tr>
{foreach $invoices as $invoice}
{/if}
<td><a href="invoice_view.php?id={$invoice.id}">{$i18n.label.view}</a></td>
{if !$user->isClient()}
- <td><a href="invoice_delete.php?id={$invoice.id}">{$i18n.label.delete}</a></td>
+ <td><a href="invoice_delete.php?id={$invoice.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
{/if}
</tr>
{/foreach}
<tr>
<td class="tableHeader" width="45%">{$i18n.label.thing_name}</td>
<td class="tableHeader" width="45%">{$i18n.label.description}</td>
- <td class="tableHeader" width="5%">{$i18n.label.edit}</td>
- <td class="tableHeader" width="5%">{$i18n.label.delete}</td>
+ <td></td>
+ <td></td>
</tr>
{foreach $active_templates as $template}
<tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
<td>{$template['name']|escape}</td>
<td>{$template['description']|escape}</td>
- <td><a href="template_edit.php?id={$template['id']}">{$i18n.label.edit}</a></td>
- <td><a href="template_delete.php?id={$template['id']}">{$i18n.label.delete}</a></td>
+ <td><a href="template_edit.php?id={$template['id']}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+ <td><a href="template_delete.php?id={$template['id']}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
</tr>
{/foreach}
</table>
<tr>
<td class="tableHeader" width="45%">{$i18n.label.thing_name}</td>
<td class="tableHeader" width="45%">{$i18n.label.description}</td>
- <td class="tableHeader" width="5%">{$i18n.label.edit}</td>
- <td class="tableHeader" width="5%">{$i18n.label.delete}</td>
+ <td></td>
+ <td></td>
</tr>
{foreach $inactive_templates as $template}
<tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
<td>{$template['name']|escape}</td>
<td>{$template['description']|escape}</td>
- <td><a href="template_edit.php?id={$template['id']}">{$i18n.label.edit}</a></td>
- <td><a href="template_delete.php?id={$template['id']}">{$i18n.label.delete}</a></td>
+ <td><a href="template_edit.php?id={$template['id']}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+ <td><a href="template_delete.php?id={$template['id']}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
</tr>
{/foreach}
</table>
<td class="tableHeader">{$i18n.label.submitted}</td>
<td class="tableHeader">{$i18n.label.approved}</td>
<td class="tableHeader">{$i18n.label.view}</td>
- <td class="tableHeader">{$i18n.label.edit}</td>
+ <td></td>
+ <td></td>
</tr>
{foreach $active_timesheets as $timesheet}
<tr valign="top" bgcolor="{cycle values="#f5f5f5,#ffffff"}">
<td>{if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}</td>
{/if}
<td><a href="timesheet_view.php?id={$timesheet.id}">{$i18n.label.view}</a></td>
- <td><a href="timesheet_edit.php?id={$timesheet.id}">{$i18n.label.edit}</a></td>
+ <td><a href="timesheet_edit.php?id={$timesheet.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+ <td><a href="timesheet_delete.php?id={$timesheet.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
</tr>
{/foreach}
</table>
<td class="tableHeader">{$i18n.label.submitted}</td>
<td class="tableHeader">{$i18n.label.approved}</td>
<td class="tableHeader">{$i18n.label.view}</td>
- <td class="tableHeader">{$i18n.label.edit}</td>
+ <td></td>
+ <td></td>
</tr>
{foreach $inactive_timesheets as $timesheet}
<tr valign="top" bgcolor="{cycle values="#f5f5f5,#ffffff"}">
<td>{if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}</td>
{/if}
<td><a href="timesheet_view.php?id={$timesheet.id}">{$i18n.label.view}</a></td>
- <td><a href="timesheet_edit.php?id={$timesheet.id}">{$i18n.label.edit}</a></td>
+ <td><a href="timesheet_edit.php?id={$timesheet.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+ <td><a href="timesheet_delete.php?id={$timesheet.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
</tr>
{/foreach}
</table>
{/if}
<td width="5%" class="tableHeader">{$i18n.label.duration}</td>
<td class="tableHeader">{$i18n.label.note}</td>
- <td width="5%" class="tableHeader">{$i18n.label.edit}</td>
+ <td></td>
+ <td></td>
</tr>
{foreach $time_records as $record}
<tr bgcolor="{cycle values="#f5f5f5,#ffffff"}" {if !$record.billable} class="not_billable" {/if}>
<td align="right" valign="top">{if ($record.duration == '0:00' && $record.start <> '')}<font color="#ff0000">{$i18n.form.time.uncompleted}</font>{else}{$record.duration}{/if}</td>
<td valign="top">{if $record.comment}{$record.comment|escape}{else} {/if}</td>
<td valign="top" align="center">
- {if $record.invoice_id}
+ {if $record.approved || $record.timesheet_id || $record.invoice_id}
{else}
- <a href="time_edit.php?id={$record.id}">{$i18n.label.edit}</a>
+ <a href="time_edit.php?id={$record.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a>
{if ($record.duration == '0:00' && $record.start <> '')}
<input type="hidden" name="record_id" value="{$record.id}">
<input type="hidden" name="browser_date" value="">
<input type="hidden" name="browser_time" value="">
<input type="submit" id="btn_stop" name="btn_stop" onclick="browser_date.value=get_date();browser_time.value=get_time()" value="{$i18n.button.stop}">
{/if}
+ {/if}
+ </td>
+ <td valign="top" align="center">
+ {if $record.approved || $record.timesheet_id || $record.invoice_id}
+
+ {else}
+ <a href="time_delete.php?id={$record.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a>
{/if}
</td>
</tr>