summaryrefslogtreecommitdiff
path: root/httemplate/browse/radius_group.html
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-21 01:08:07 +0000
committerlevinse <levinse>2011-06-21 01:08:07 +0000
commit9f2280fbce022ab9bcfc46fe94483730b0aeb0f8 (patch)
tree15865cb482bc3995d423f95f1d45ca13b90c4905 /httemplate/browse/radius_group.html
parent44ce5ab2e8edd012154d3bb7e5711341e8c6cf35 (diff)
re-write RADIUS groups, RT13274
Diffstat (limited to 'httemplate/browse/radius_group.html')
-rw-r--r--httemplate/browse/radius_group.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/browse/radius_group.html b/httemplate/browse/radius_group.html
new file mode 100644
index 000000000..e2ac56363
--- /dev/null
+++ b/httemplate/browse/radius_group.html
@@ -0,0 +1,24 @@
+<& elements/browse.html,
+ 'title' => 'RADIUS Groups',
+ 'name' => 'RADIUS Groups',
+ 'menubar' => [ 'Add a RADIUS Group' => $p.'edit/radius_group.html', ],
+ 'query' => { 'table' => 'radius_group' },
+ 'count_query' => 'SELECT COUNT(*) FROM radius_group',
+ 'header' => [ '#', 'RADIUS Group', 'Description' ],
+ 'fields' => [ 'groupnum',
+ 'groupname',
+ 'description',
+ ],
+ 'links' => [ [ $p.'edit/radius_group.html?', 'groupnum' ],
+ '',
+ '',
+ ],
+&>
+<%init>
+
+my $curuser = $FS::CurrentUser::CurrentUser;
+
+die "access denied"
+ unless $curuser->access_right('Configuration');
+
+</%init>