X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fexpense_edit.tpl;h=a679820ebd46fb50a6f30c8784341290139c7541;hb=135b39df3ad421005e7f9c112fc7df1d44ebddc0;hp=79be818506e6454bc28e48120c61612486be744e;hpb=0dcf21723daf12934f4977fcf24a0e1b1bff8021;p=timetracker.git diff --git a/WEB-INF/templates/expense_edit.tpl b/WEB-INF/templates/expense_edit.tpl index 79be8185..a679820e 100644 --- a/WEB-INF/templates/expense_edit.tpl +++ b/WEB-INF/templates/expense_edit.tpl @@ -24,10 +24,10 @@ 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). +// projects associated with a selected client (client id is passed here as id). function fillProjectDropdown(id) { var str_ids = project_ids[id]; var dropdown = document.getElementById("project"); @@ -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}