X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fsqlradius.html;h=547a9bb44ba961733fa0492b2319148c55c14f7f;hp=20e8fb8179c50ae6a07fccbbcfb8e5bcb5cce9ee;hb=ae2ce7f3fc2a0fe00f05145ce64e8b6b8c034631;hpb=f7fd2a3e34da751cbc02bbf215e99c6dc89adc15 diff --git a/httemplate/search/sqlradius.html b/httemplate/search/sqlradius.html index 20e8fb817..547a9bb44 100644 --- a/httemplate/search/sqlradius.html +++ b/httemplate/search/sqlradius.html @@ -1,27 +1,29 @@ -<%= 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: +<% include( '/elements/tr-checkbox.html', + 'field' => 'summarize', + 'label' => 'Summarize', + 'value' => 'Y', + ) +%> (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 +32,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 +47,74 @@ (leave blank to show all destinations) -<% } %> +% } + + + Show: + + All sessions
+ 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'); +