From 89d1ff9e372357d3a27c11dcb4d954ba5332860f Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 4 Dec 2010 23:43:40 +0000 Subject: RTx-Statistics in 2.1 / 3.8 --- rt/share/html/Callbacks/RTx-Statistics/Elements/Tabs/Default | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rt/share/html/Callbacks/RTx-Statistics/Elements/Tabs/Default (limited to 'rt/share/html/Callbacks') diff --git a/rt/share/html/Callbacks/RTx-Statistics/Elements/Tabs/Default b/rt/share/html/Callbacks/RTx-Statistics/Elements/Tabs/Default new file mode 100644 index 000000000..d4ca2b95e --- /dev/null +++ b/rt/share/html/Callbacks/RTx-Statistics/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 + -- cgit v1.2.1