summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorivan <ivan>2007-08-01 22:13:41 +0000
committerivan <ivan>2007-08-01 22:13:41 +0000
commit52af7f398d81a374ec63e12b67ac7938fe1e6dac (patch)
tree4a20dc921d5bf078f7b565ed1da8adea476ef398 /rt
parent7c2ca1ae0be6ca3e8f82f44ffdf87cba357f8342 (diff)
because i had missed commiting this on HEAD, that's why
Diffstat (limited to 'rt')
-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>