summaryrefslogtreecommitdiff
path: root/rt/html/Callbacks/kStatistics/Elements/Tabs/Default
diff options
context:
space:
mode:
Diffstat (limited to 'rt/html/Callbacks/kStatistics/Elements/Tabs/Default')
-rw-r--r--rt/html/Callbacks/kStatistics/Elements/Tabs/Default11
1 files changed, 11 insertions, 0 deletions
diff --git a/rt/html/Callbacks/kStatistics/Elements/Tabs/Default b/rt/html/Callbacks/kStatistics/Elements/Tabs/Default
new file mode 100644
index 0000000..d4ca2b9
--- /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" };
+}
+</%init>
+<%args>
+ $toptabs =>undef
+</%args>