From 42c886aec2ce038f607e0501d6aaff1bf8409d6e Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 27 Jun 2007 01:17:27 +0000 Subject: [PATCH] somehow missed commiting this on 1.7 branch --- rt/html/Callbacks/kStatistics/Elements/Tabs/Default | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rt/html/Callbacks/kStatistics/Elements/Tabs/Default diff --git a/rt/html/Callbacks/kStatistics/Elements/Tabs/Default b/rt/html/Callbacks/kStatistics/Elements/Tabs/Default new file mode 100644 index 000000000..d4ca2b95e --- /dev/null +++ b/rt/html/Callbacks/kStatistics/Elements/Tabs/Default @@ -0,0 +1,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" }; +} + +<%args> + $toptabs =>undef + -- 2.20.1