@@ -197,7 +197,7 @@ function handleCheckboxes() {
{/if}
{/if}
-{if in_array('iv', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('iv')}
{$i18n.form.time.billable} |
|
@@ -236,12 +236,12 @@ function handleCheckboxes() {
-{if $user->isPluginEnabled('cl') || in_array('iv', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('cl') || $user->isPluginEnabled('iv')}
{if $user->isPluginEnabled('cl')}
|
{/if}
- {if ($user->canManageTeam() || $user->isClient()) && in_array('iv', explode(',', $user->plugins))}
+ {if ($user->canManageTeam() || $user->isClient()) && $user->isPluginEnabled('iv')}
|
{/if}
@@ -261,7 +261,7 @@ function handleCheckboxes() {
{if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}{/if} |
|
{if ($custom_fields && $custom_fields->fields[0])}
- |
+ |
{else}
|
{/if}
@@ -278,7 +278,7 @@ function handleCheckboxes() {
| |