X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fsqlradius.html;h=660a54f3cd8035ba57501a8be66b50fa5693ee88;hb=12c2362c84bea9f2e03ed9c67b2de8d453202ebf;hp=48a3d8680169e634d37f79c987bee803b6e49fe8;hpb=049da6c538c952f938af4544a07c688b89c26a17;p=freeside.git diff --git a/httemplate/search/sqlradius.html b/httemplate/search/sqlradius.html index 48a3d8680..660a54f3c 100644 --- a/httemplate/search/sqlradius.html +++ b/httemplate/search/sqlradius.html @@ -1,12 +1,9 @@ -<%= include( '/elements/header.html', 'Search RADIUS sessions', '', '', ' - - - - -') %> -
-<% #include( '/elements/table.html' ) %> -<%= ntable('#cccccc') %> +<% include( '/elements/header.html', 'Search RADIUS sessions' ) %> + + +% #include( '/elements/table.html' ) + +<% ntable('#cccccc') %> Username: @@ -15,56 +12,48 @@ (leave blank to show all users) - - IP address: - - - - - (leave blank to show all IPs) - - - From: - - - - - - - - m/d/y - - - To: - - - - - - - - m/d/y -
(leave one or both dates blank for an open-ended search) - - +% 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: + + + + + (leave blank to show all IPs) + +% } +% if ( grep { $_->option('show_called_station') } @part_export ) { + + + Destination prefix: + + + + + (country code or country code and prefix) + + + + (leave blank to show all destinations) + +% } + + +<% include( '/elements/tr-input-beginning_ending.html', 'input_time'=>1 ) %> +
- - +<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('List rating data'); +