somehow missed commiting this on 1.7 branch
authorivan <ivan>
Wed, 27 Jun 2007 01:17:27 +0000 (01:17 +0000)
committerivan <ivan>
Wed, 27 Jun 2007 01:17:27 +0000 (01:17 +0000)
rt/html/Callbacks/kStatistics/Elements/Tabs/Default [new file with mode: 0644]

diff --git a/rt/html/Callbacks/kStatistics/Elements/Tabs/Default b/rt/html/Callbacks/kStatistics/Elements/Tabs/Default
new file mode 100644 (file)
index 0000000..d4ca2b9
--- /dev/null
@@ -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>