{$forms.timeRecordForm.open}
<table cellspacing="4" cellpadding="0" border="0">
+{if $user->isPluginEnabled('wv')}
<tr>
<td align="center" colspan=2">
<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>
</td>
</tr>
+{/if}
<tr>
<td valign="top">
<table>
-{if $on_behalf_control}
+{if $user_dropdown}
<tr>
<td align="right">{$i18n.label.user}:</td>
- <td>{$forms.timeRecordForm.onBehalfUser.control}</td>
+ <td>{$forms.timeRecordForm.user.control}</td>
</tr>
{/if}
{if $user->isPluginEnabled('cl')}
{if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
<tr>
<td align="right">{$i18n.label.duration}:</td>
- <td>{$forms.timeRecordForm.duration.control} {if $user->decimal_mark == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if}</td>
+ <td>{$forms.timeRecordForm.duration.control} {if $user->getDecimalMark() == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if}</td>
</tr>
{/if}
</table>