-{if in_array('cl', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('cl')}
- {$i18n.label.client}{if in_array('cm', explode(',', $user->plugins))} (*){/if}: |
+ {$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}: |
{$forms.timeRecordForm.client.control} |
{/if}
-{if in_array('iv', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('iv')}
|
|
@@ -219,7 +22,7 @@ function setNow(formField) {
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
- {$custom_fields->fields[0]['label']|escape:'html'}{if $custom_fields->fields[0]['required']} (*){/if}: | {$forms.timeRecordForm.cf_1.control} |
+ {$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}: | {$forms.timeRecordForm.cf_1.control} |
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
@@ -230,7 +33,7 @@ function setNow(formField) {
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- {$i18n.label.task} (*): |
+ {$i18n.label.task}: |
{$forms.timeRecordForm.task.control} |
{/if}
|