1 {include file="time_script.tpl"}
9 {$forms.weekTimeForm.open}
10 <table cellspacing="4" cellpadding="0" border="0">
12 <td align="center" colspan=2">
13 <a href="time.php?date={$selected_date->toString()}">{$i18n.label.day_view}</a> / <a href="week.php?date={$selected_date->toString()}">{$i18n.label.week_view}</a>
19 {if $on_behalf_control}
21 <td align="right">{$i18n.label.user}:</td>
22 <td>{$forms.weekTimeForm.onBehalfUser.control}</td>
25 {if $user->isPluginEnabled('cl')}
27 <td align="right">{$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}:</td>
28 <td>{$forms.weekTimeForm.client.control}</td>
31 {if $user->isPluginEnabled('iv')}
33 <td align="right"> </td>
34 <td><label>{$forms.weekTimeForm.billable.control}{$i18n.form.time.billable}</label></td>
37 {if ($custom_fields && $custom_fields->fields[0])}
39 <td align="right">{$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:</td><td>{$forms.weekTimeForm.cf_1.control}</td>
42 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
44 <td align="right">{$i18n.label.project} (*):</td>
45 <td>{$forms.weekTimeForm.project.control}</td>
48 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
50 <td align="right">{$i18n.label.task}:</td>
51 <td>{$forms.weekTimeForm.task.control}</td>
58 <tr><td>{$forms.weekTimeForm.date.control}</td></tr>
65 <td>{$forms.weekTimeForm.week_durations.control}</td>
70 <td align="center" colspan="2">{$forms.weekTimeForm.btn_submit.control}</td>
73 {$forms.weekTimeForm.close}