summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2007-06-27 01:17:27 +0000
committerivan <ivan>2007-06-27 01:17:27 +0000
commit42c886aec2ce038f607e0501d6aaff1bf8409d6e (patch)
tree9dd7d0679fa47d37fc93caee6b9034b693133183
parent8a300edadacd20c6aabd47b1b6d632bdd6ccbc31 (diff)
somehow missed commiting this on 1.7 branch
-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 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" };
+}
+</%init>
+<%args>
+ $toptabs =>undef
+</%args>