X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fsqlradius.html;h=8c405982f27ce3cc09395ab6f68c83a176ba9c9e;hb=3e01db10352a025538da91ec103b2c2ce562b11b;hp=8f4878dbce09fc8e3e3023d2f5f063f9caba1c38;hpb=34647c32b50ce3b8ee1b6d3d7aef4ba9d0297bdb;p=freeside.git diff --git a/httemplate/search/sqlradius.html b/httemplate/search/sqlradius.html index 8f4878dbc..8c405982f 100644 --- a/httemplate/search/sqlradius.html +++ b/httemplate/search/sqlradius.html @@ -1,12 +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: @@ -15,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: @@ -30,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: @@ -45,50 +41,83 @@ (leave blank to show all destinations) -<% } %> +% } + + + Show: + + Completed sessions
+ Open sessions + + + + + Session start + + + <% include( '/elements/tr-input-beginning_ending.html', + 'prefix' => 'starttime', + 'input_time' => 1, + ) + %> - - From: - - - - - - - - m/d/y - - - To: - - - - - - - m/d/y -
(leave one or both dates blank for an open-ended search) - - + + + Session end + + + <% include( '/elements/tr-input-beginning_ending.html', + 'prefix' => 'stoptime', + 'input_time' => 1, + ) + %> +
- - +<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('List rating data'); +