1 2 3 4 5 6 7 8 9 10 11
<%init> use RTx::Statistics; if (($Statistics::RestrictAccess == 0) || ($session{'CurrentUser'}->HasRight( Right => 'ShowConfigTab', Object => $RT::System ))) { $toptabs->{'ZZ-RTx-STATS'} = { title => 'RTx-Statistics', path => "RTx/Statistics/index.html" }; } </%init> <%args> $toptabs =>undef </%args>