From 52af7f398d81a374ec63e12b67ac7938fe1e6dac Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 1 Aug 2007 22:13:41 +0000 Subject: [PATCH] because i had missed commiting this on HEAD, that's why --- 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.11.0