diff options
author | ivan <ivan> | 2010-12-04 23:43:40 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-12-04 23:43:40 +0000 |
commit | 89d1ff9e372357d3a27c11dcb4d954ba5332860f (patch) | |
tree | 73fa4608a17546a12643982749e5bb3168738eb9 /rt/share/html/Callbacks | |
parent | 95ec9396c6fdd5d5f9e75ee30dc78f2726f509a9 (diff) |
RTx-Statistics in 2.1 / 3.8
Diffstat (limited to 'rt/share/html/Callbacks')
-rw-r--r-- | rt/share/html/Callbacks/RTx-Statistics/Elements/Tabs/Default | 11 |
1 files changed, 11 insertions, 0 deletions
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" }; +} +</%init> +<%args> + $toptabs =>undef +</%args> |