X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Freports.tpl;h=bd5ab3f48e83265bde4e80ff86f7c79fcbce5532;hb=360675cb2f9116df2ad5feac2156516eabbf4ef9;hp=b5db6d3b646f045887604c05a1a7d8cd442b2444;hpb=2a998c95dd9e86a9ad57939b056b62cab7402b08;p=timetracker.git diff --git a/WEB-INF/templates/reports.tpl b/WEB-INF/templates/reports.tpl index b5db6d3b..bd5ab3f4 100644 --- a/WEB-INF/templates/reports.tpl +++ b/WEB-INF/templates/reports.tpl @@ -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}