1 {include file="time_script.tpl"}
3 {$forms.timeRecordForm.open}
4 <table cellspacing="4" cellpadding="7" border="0">
11 {if $user->isPluginEnabled('cl')}
12 <tr><td>{$i18n.label.client}:</td></tr>
13 <tr><td>{$forms.timeRecordForm.client.control}</td></tr>
15 {if $user->isPluginEnabled('iv')}
16 <tr><td><label>{$forms.timeRecordForm.billable.control}{$i18n.form.time.billable}</label></td></tr>
18 {if ($custom_fields && $custom_fields->fields[0])}
19 <tr><td>{$custom_fields->fields[0]['label']|escape}:</td></tr>
20 <tr><td>{$forms.timeRecordForm.cf_1.control}</td></tr>
22 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
23 <tr><td>{$i18n.label.project}:</td></tr>
24 <tr><td>{$forms.timeRecordForm.project.control}</td></tr>
26 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
27 <tr><td>{$i18n.label.task}:</td></tr>
28 <tr><td>{$forms.timeRecordForm.task.control}</td></tr>
30 {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
31 <tr><td>{$i18n.label.start}:</td></tr>
32 <tr><td>{$forms.timeRecordForm.start.control} <input onclick="setNow('start');" type="button" value="{$i18n.button.now}"></td></tr>
33 <tr><td>{$i18n.label.finish}:</td></tr>
34 <tr><td>{$forms.timeRecordForm.finish.control} <input onclick="setNow('finish');" type="button" value="{$i18n.button.now}"></td></tr>
36 {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
37 <tr><td>{$i18n.label.duration}:</td></tr>
38 <tr><td>{$forms.timeRecordForm.duration.control}</td></tr>
40 <tr><td>{$i18n.label.date}:</td></tr>
41 <tr><td>{$forms.timeRecordForm.date.control}</td></tr>
42 <tr><td>{$i18n.label.note}:</td></tr>
43 <tr><td>{$forms.timeRecordForm.note.control}</td></tr>
44 <tr><td align="center">{$forms.timeRecordForm.btn_save.control} {$forms.timeRecordForm.btn_delete.control}</td></tr>
52 {$forms.timeRecordForm.close}