X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime_edit.tpl;h=c6431d90fafad86d561e227cf9912e6b658aa55e;hb=1a77a68a1622313c9ab4aaab0e39392450aa39cf;hp=4a97fc96024b11ae83755f3790c3e303b9daf6c9;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git diff --git a/WEB-INF/templates/time_edit.tpl b/WEB-INF/templates/time_edit.tpl index 4a97fc96..c6431d90 100644 --- a/WEB-INF/templates/time_edit.tpl +++ b/WEB-INF/templates/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)) @@ -205,13 +205,13 @@ function setNow(formField) { -{if in_array('cl', explode(',', $user->plugins))} +{if $user->isPluginEnabled('cl')} - + {/if} -{if in_array('iv', explode(',', $user->plugins))} +{if $user->isPluginEnabled('iv')}
{$i18n.label.client}{if in_array('cm', explode(',', $user->plugins))} (*){/if}:{$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}: {$forms.timeRecordForm.client.control}