1 {$forms.timeRecordForm.open}
 
   2 <table cellspacing="4" cellpadding="7" border="0" width="720">
 
   5   <table border='0' cellpadding='3' cellspacing='1' width="100%">
 
   7 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
 
   8     <td class="tableHeader" align="center">{$i18n.label.project}</td>
 
  10 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
 
  11     <td class="tableHeader" align="center">{$i18n.label.task}</td>
 
  13 {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
 
  14     <td class="tableHeader" align="center">{$i18n.label.start}</td>
 
  15     <td class="tableHeader" align="center">{$i18n.label.finish}</td>
 
  17 {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
 
  18     <td class="tableHeader" align="center">{$i18n.label.duration}</td>
 
  20     <td class="tableHeader" align="center">{$i18n.label.note}</td>
 
  23 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
 
  24     <td>{$time_rec.project_name|escape}</td>
 
  26 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
 
  27     <td>{$time_rec.task_name|escape}</td>
 
  29 {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
 
  30     <td align="right">{if $time_rec.start}{$time_rec.start}{else} {/if}</td>
 
  31     <td align="right">{if $time_rec.finish<>$time_rec.start}{$time_rec.finish}{else} {/if}</td>
 
  33 {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
 
  34     <td align="right">{if ($time_rec.duration == '0:00' && $time_rec.start <> '')}<font color="#ff0000">{$i18n.form.time.uncompleted}</font>{else}{$time_rec.duration}{/if}</td>
 
  36     <td>{if $time_rec.comment}{$time_rec.comment|escape}{else} {/if}</td>
 
  41     <td align="center"> </td>
 
  44     <td align="center">{$forms.timeRecordForm.delete_button.control}  {$forms.timeRecordForm.cancel_button.control}</td>
 
  50 {$forms.timeRecordForm.close}