X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Freports.tpl;h=ce804dc575fcdb601ce10cba3b7e6902a8f15257;hb=ee49ee74b2a7d3c6daaa2d4bc6397b0c89e3099b;hp=b5db6d3b646f045887604c05a1a7d8cd442b2444;hpb=2a998c95dd9e86a9ad57939b056b62cab7402b08;p=timetracker.git diff --git a/WEB-INF/templates/reports.tpl b/WEB-INF/templates/reports.tpl index b5db6d3b..ce804dc5 100644 --- a/WEB-INF/templates/reports.tpl +++ b/WEB-INF/templates/reports.tpl @@ -149,7 +149,7 @@ function handleCheckboxes() { {$forms.reportForm.open}
- +
@@ -197,7 +197,7 @@ function handleCheckboxes() { {/if} {/if} -{if in_array('iv', explode(',', $user->plugins))} +{if $user->isPluginEnabled('iv')} @@ -236,12 +236,12 @@ function handleCheckboxes() {
{$i18n.form.time.billable}  
-{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} @@ -278,7 +278,7 @@ function handleCheckboxes() {
- +