summaryrefslogtreecommitdiff
path: root/rt/share/html/Callbacks
diff options
context:
space:
mode:
authorivan <ivan>2010-12-04 23:43:35 +0000
committerivan <ivan>2010-12-04 23:43:35 +0000
commitef519f3acaf6a360ed613539f71850de390b7926 (patch)
treef386447de5d4b8ece615bb2396426738ebb50a9a /rt/share/html/Callbacks
parent95ec0a6a999359fd25f58376891047356f7311d6 (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/Default11
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>