From 2c757d7db4cb6a7b9655de13206fcc84fb7ce61f Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 14 May 2006 16:47:31 +0000 Subject: first part of ACL and re-skinning work and some other small stuff --- httemplate/search/sqlradius.html | 52 ++++------------------------------------ 1 file changed, 5 insertions(+), 47 deletions(-) (limited to 'httemplate/search/sqlradius.html') diff --git a/httemplate/search/sqlradius.html b/httemplate/search/sqlradius.html index 8f4878dbc..645505101 100644 --- a/httemplate/search/sqlradius.html +++ b/httemplate/search/sqlradius.html @@ -1,9 +1,5 @@ -<%= include( '/elements/header.html', 'Search RADIUS sessions', '', '', ' - - - - -') %> +<%= include( '/elements/header.html', 'Search RADIUS sessions' ) %> +
<% #include( '/elements/table.html' ) %> <%= ntable('#cccccc') %> @@ -47,48 +43,10 @@ <% } %> - - From: - - - - - - - - m/d/y - - - To: - - - - - - - - m/d/y -
(leave one or both dates blank for an open-ended search) - - +<%= include( '/elements/tr-input-beginning_ending.html' ) %> +
- - - +<%= include('/elements/footer.html') %> -- cgit v1.2.1 From 3ce7691203a7737406bf2d4442f7fd84b81f847e Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 23 Aug 2006 22:25:39 +0000 Subject: Will things ever be the same again? It's the final masonize --- httemplate/search/sqlradius.html | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'httemplate/search/sqlradius.html') diff --git a/httemplate/search/sqlradius.html b/httemplate/search/sqlradius.html index 645505101..c0791f1ed 100644 --- a/httemplate/search/sqlradius.html +++ b/httemplate/search/sqlradius.html @@ -1,8 +1,9 @@ -<%= include( '/elements/header.html', 'Search RADIUS sessions' ) %> +<% include( '/elements/header.html', 'Search RADIUS sessions' ) %>
-<% #include( '/elements/table.html' ) %> -<%= ntable('#cccccc') %> +% #include( '/elements/table.html' ) + +<% ntable('#cccccc') %> Username: @@ -11,13 +12,12 @@ (leave blank to show all users) +% my @part_export = qsearch( 'part_export', { 'exporttype' => 'sqlradius' } ); +% push @part_export, +% qsearch( 'part_export', { 'exporttype' => 'sqlradius_withdomain' } ); +% +% if ( grep { ! $_->option('hide_ip') } @part_export ) { -<% my @part_export = qsearch( 'part_export', { 'exporttype' => 'sqlradius' } ); - push @part_export, - qsearch( 'part_export', { 'exporttype' => 'sqlradius_withdomain' } ); -%> - -<% if ( grep { ! $_->option('hide_ip') } @part_export ) { %> IP address: @@ -26,9 +26,9 @@ (leave blank to show all IPs) -<% } %> +% } +% if ( grep { $_->option('show_called_station') } @part_export ) { -<% if ( grep { $_->option('show_called_station') } @part_export ) { %> Destination prefix: @@ -41,12 +41,13 @@ (leave blank to show all destinations) -<% } %> +% } + -<%= include( '/elements/tr-input-beginning_ending.html' ) %> +<% include( '/elements/tr-input-beginning_ending.html' ) %>
-<%= include('/elements/footer.html') %> +<% include('/elements/footer.html') %> -- cgit v1.2.1 From b9dea1e88a8a13a0d206e23ee5c864a0be813030 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 4 Sep 2006 20:05:58 +0000 Subject: allow time selection in RADIUS searches and grid-ize the resulting table --- httemplate/search/sqlradius.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/search/sqlradius.html') diff --git a/httemplate/search/sqlradius.html b/httemplate/search/sqlradius.html index c0791f1ed..1fd50da8d 100644 --- a/httemplate/search/sqlradius.html +++ b/httemplate/search/sqlradius.html @@ -44,7 +44,7 @@ % } -<% include( '/elements/tr-input-beginning_ending.html' ) %> +<% include( '/elements/tr-input-beginning_ending.html', 'input_time'=>1 ) %>
-- cgit v1.2.1 From 590603ecaea3184f64530755a76626be8205da49 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 3 Feb 2007 11:36:30 +0000 Subject: add customer status column to customer & most other reports. also put the C in ACL in the search/ and graph/ directories. --- httemplate/search/sqlradius.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'httemplate/search/sqlradius.html') diff --git a/httemplate/search/sqlradius.html b/httemplate/search/sqlradius.html index 1fd50da8d..660a54f3c 100644 --- a/httemplate/search/sqlradius.html +++ b/httemplate/search/sqlradius.html @@ -51,3 +51,9 @@ <% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('List rating data'); + + -- cgit v1.2.1