import of rt 3.0.4
[freeside.git] / rt / html / Admin / Global / index.html
1 %# BEGIN LICENSE BLOCK
2 %# 
3 %# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
4 %# 
5 %# (Except where explictly superceded by other copyright notices)
6 %# 
7 %# This work is made available to you under the terms of Version 2 of
8 %# the GNU General Public License. A copy of that license should have
9 %# been provided with this software, but in any event can be snarfed
10 %# from www.gnu.org.
11 %# 
12 %# This work is distributed in the hope that it will be useful, but
13 %# WITHOUT ANY WARRANTY; without even the implied warranty of
14 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 %# General Public License for more details.
16 %# 
17 %# Unless otherwise specified, all modifications, corrections or
18 %# extensions to this work which alter its source code become the
19 %# property of Best Practical Solutions, LLC when submitted for
20 %# inclusion in the work.
21 %# 
22 %# 
23 %# END LICENSE BLOCK
24 <& /Elements/Callback, tabs => $tabs, %ARGS &>
25 <& /Admin/Elements/Header, Title => loc('Admin/Global configuration') &>
26 <& /Admin/Elements/SystemTabs, 
27     Title => loc('Admin/Global configuration') &>
28
29 <ul>
30 % foreach my $key (sort keys %$tabs) {
31 <li><font size="+2"><a href="<% $tabs->{$key}{path} %>"><% $tabs->{$key}{title} %></a></font><br>
32 <% $tabs->{$key}{text} %>
33 </li>
34 % }
35 </ul>
36
37 <%INIT>
38   my $tabs = {
39                 
40                A => { title => loc('Scrips'),
41                            text => loc('Modify scrips which apply to all queues'),
42                            path => 'Scrips.html',
43                          },
44                B => { title => loc('Templates'),
45                         text => loc('Edit system templates'),
46                         path => 'Templates.html',
47                       },
48               
49                 F => { title => loc('Custom Fields'),
50                         text => loc('Modify Custom Fields which apply to all queues'),
51                         path => 'CustomFields.html',
52                         },
53
54                 G => { title => loc('Group Rights'),
55                                 text => loc('Modify global group rights'),
56                                 path => 'GroupRights.html',
57                       },
58                 H => { title => loc('User Rights'),
59                                 text => loc('Modify global user rights'),
60                                 path => 'UserRights.html',
61                       }
62
63 };
64 </%INIT>