X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fexpense_edit.tpl;h=a679820ebd46fb50a6f30c8784341290139c7541;hb=8c194ac6af2accb4f45e35e93629037a0983cc3f;hp=5f4a4e46e21769271486074123de48971d573b1b;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git diff --git a/WEB-INF/templates/expense_edit.tpl b/WEB-INF/templates/expense_edit.tpl index 5f4a4e46..a679820e 100644 --- a/WEB-INF/templates/expense_edit.tpl +++ b/WEB-INF/templates/expense_edit.tpl @@ -24,7 +24,7 @@ projects = new Array(); {/foreach} // Mandatory top option for project dropdown. -empty_label_project = '{$i18n.dropdown.select|escape:'javascript'}'; +empty_label_project = "{$i18n.dropdown.select|escape:'javascript'}"; // The fillProjectDropdown function populates the project combo box with // projects associated with a selected client (client id is passed here as id). @@ -76,9 +76,9 @@ function get_date() { -{if in_array('cl', explode(',', $user->plugins))} +{if $user->isPluginEnabled('cl')} - + {/if} @@ -94,7 +94,7 @@ function get_date() { - + @@ -114,4 +114,4 @@ function get_date() {
{$i18n.label.client} {if in_array('cm', explode(',', $user->plugins))}(*){/if}:{$i18n.label.client} {if $user->isPluginEnabled('cm')}(*){/if}: {$forms.expenseItemForm.client.control}
{$i18n.label.cost}:{$forms.expenseItemForm.cost.control} {$user->currency|escape:'html'}{$forms.expenseItemForm.cost.control} {$user->currency|escape}
{$i18n.label.date}:
-{$forms.expenseItemForm.close} \ No newline at end of file +{$forms.expenseItemForm.close}