X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fexpense_edit.tpl;h=41e3c2e213b06ab9302b963e1ba13583f3fb7990;hb=b35ed34767de056ad0adef9d85060b587c1f6ce2;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..41e3c2e2 100644 --- a/WEB-INF/templates/expense_edit.tpl +++ b/WEB-INF/templates/expense_edit.tpl @@ -27,7 +27,7 @@ projects = new Array(); 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}
{$i18n.label.client} {if in_array('cm', explode(',', $user->plugins))}(*){/if}:{$i18n.label.client} {if $user->isPluginEnabled('cm')}(*){/if}: {$forms.expenseItemForm.client.control}