<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.19.3.4984 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.19.3.4985 | 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>
<td>{$forms.weekTimeForm.onBehalfUser.control}</td>
</tr>
{/if}
-{if $user->isPluginEnabled('cl')}
+{if $show_client}
<tr>
<td align="right">{$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}:</td>
<td>{$forms.weekTimeForm.client.control}</td>
}
// End of access checks.
+$showClient = $user->isPluginEnabled('cl');
$showFiles = $user->isPluginEnabled('at');
// Initialize and store date in session.
$smarty->assign('timestring', $startDate->toString($user->date_format).' - '.$endDate->toString($user->date_format));
$smarty->assign('time_records', $records);
$smarty->assign('show_navigation', !$user->getConfigOption('menu_week'));
+$smarty->assign('show_client', $showClient);
$smarty->assign('show_files', $showFiles);
-$smarty->assign('title', $i18n->get('title.time'));
+$smarty->assign('title', $i18n->get('menu.week'));
$smarty->assign('content_page_name', 'week.tpl');
$smarty->display('index.tpl');