X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime_edit.tpl;h=f6381d6a9c8161e486668324c36142d07dd1fc1c;hb=3d5bc3e13797cb7121ed8548b723a0ef85eda80c;hp=729d3ce9e6cb9ce30af891b443617696edde34a6;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git diff --git a/WEB-INF/templates/mobile/time_edit.tpl b/WEB-INF/templates/mobile/time_edit.tpl index 729d3ce9..f6381d6a 100644 --- a/WEB-INF/templates/mobile/time_edit.tpl +++ b/WEB-INF/templates/mobile/time_edit.tpl @@ -41,7 +41,7 @@ task_names = new Array(); empty_label_project = '{$i18n.dropdown.select|escape:'javascript'}'; empty_label_task = '{$i18n.dropdown.select|escape:'javascript'}'; -// The populateDropdowns function populates the "project" and "task" dropdown controls +// The fillDropdowns function populates the "project" and "task" dropdown controls // with relevant values. function fillDropdowns() { if(document.body.contains(document.timeRecordForm.client)) @@ -210,11 +210,11 @@ function get_date() { -{if in_array('cl', explode(',', $user->plugins))} +{if $user->isPluginEnabled('cl')} {/if} -{if in_array('iv', explode(',', $user->plugins))} +{if $user->isPluginEnabled('iv')} {/if} {if ($custom_fields && $custom_fields->fields[0])}
{$i18n.label.client}:
{$forms.timeRecordForm.client.control}