A bit of cleanup.
[timetracker.git] / WEB-INF / templates / profile_edit.tpl
index 973f3cb..4a05bb0 100644 (file)
@@ -142,11 +142,11 @@ function handlePluginCheckboxes() {
             <td>{$forms.profileForm.decimal_mark.control} <font id="decimal_preview" color="#777777">&nbsp;</font></td>
           <tr>
             <td align="right" nowrap>{$i18n.label.date_format}:</td>
-            <td>{$forms.profileForm.format_date.control} <font id="date_format_preview" color="#777777">&nbsp;</font></td>
+            <td>{$forms.profileForm.date_format.control} <font id="date_format_preview" color="#777777">&nbsp;</font></td>
           </tr>
           <tr>
             <td align="right" nowrap>{$i18n.label.time_format}:</td>
-            <td>{$forms.profileForm.format_time.control} <font id="time_format_preview" color="#777777">&nbsp;</font></td>
+            <td>{$forms.profileForm.time_format.control} <font id="time_format_preview" color="#777777">&nbsp;</font></td>
           </tr>
           <tr>
             <td align="right" nowrap>{$i18n.label.week_start}:</td>
@@ -205,7 +205,7 @@ function handlePluginCheckboxes() {
             <td align="right" nowrap>{$forms.profileForm.invoices.control}</td>
             <td><label for="invoices">{$i18n.title.invoices}</label></td>
           </tr>
-{if ($smarty.const.DEBUG_PAID_STATUS)}
+{if ($smarty.const.DEBUG_PAID_STATUS == 1)}
           <tr>
             <td align="right" nowrap>{$forms.profileForm.paid_status.control}</td>
             <td><label for="paid_status">{$i18n.label.paid_status}</label></td>