first part of ACL and re-skinning work and some other small stuff
[freeside.git] / httemplate / browse / access_group.html
1 <%
2
3 my $html_init = 
4   "Internal access groups control access to the back-office interface.<BR><BR>".
5   qq!<A HREF="${p}edit/access_group.html"><I>Add an internal access group</I></A><BR><BR>!;
6
7 my $count_query = 'SELECT COUNT(*) FROM access_group';
8
9 my $link = [ $p.'edit/access_group.html?', 'groupnum' ];
10
11 %><%= include( 'elements/browse.html',
12                  'title'       => 'Internal Access Groups',
13                  'menubar'     => [ # 'Main menu' => $p,
14                                     'Internal users' => $p.'browse/access_user.html',
15                                   ],
16                  'html_init'   => $html_init,
17                  'name'        => 'internal access groups',
18                  'query'       => { 'table'     => 'access_group',
19                                     'hashref'   => {},
20                                     'extra_sql' => 'ORDER BY groupname', #??
21                                   },
22                  'count_query' => $count_query,
23                  'header'      => [ '#',
24                                     'Group name',
25                                   ],
26                  'fields'      => [ 'groupnum',
27                                     'groupname',
28                                   ],
29                  'links'       => [ $link,
30                                     $link,
31                                   ],
32              )
33 %>