diff options
Diffstat (limited to 'httemplate/search/sqlradius.html')
-rw-r--r-- | httemplate/search/sqlradius.html | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/httemplate/search/sqlradius.html b/httemplate/search/sqlradius.html new file mode 100644 index 000000000..1fd50da8d --- /dev/null +++ b/httemplate/search/sqlradius.html @@ -0,0 +1,53 @@ +<% include( '/elements/header.html', 'Search RADIUS sessions' ) %> + +<FORM NAME="OneTrueForm" ACTION="sqlradius.cgi" METHOD="GET"> +% #include( '/elements/table.html' ) + +<% ntable('#cccccc') %> +<TR> + <TD ALIGN="right">Username: </TD> + <TD><INPUT TYPE="text" NAME="username"></TD> +</TR> +<TR> + <TD></TD> + <TD><FONT SIZE="-1"><I>(leave blank to show all users)</I></FONT></TD> +</TR> +% my @part_export = qsearch( 'part_export', { 'exporttype' => 'sqlradius' } ); +% push @part_export, +% qsearch( 'part_export', { 'exporttype' => 'sqlradius_withdomain' } ); +% +% if ( grep { ! $_->option('hide_ip') } @part_export ) { + + <TR> + <TD ALIGN="right">IP address: </TD> + <TD><INPUT TYPE="text" NAME="ip"></TD> + </TR> + <TR> + <TD></TD> + <TD><FONT SIZE="-1"><I>(leave blank to show all IPs)</I></FONT></TD> + </TR> +% } +% if ( grep { $_->option('show_called_station') } @part_export ) { + + <TR> + <TD ALIGN="right">Destination prefix:</TD> + <TD><INPUT TYPE="text" NAME="prefix"></TD> + </TR> + <TR> + <TD></TD> + <TD><FONT SIZE="-1"><I>(country code or country code and prefix)</I></FONT></TD> + </TR> + <TR> + <TD></TD> + <TD><FONT SIZE="-1"><I>(leave blank to show all destinations)</I></FONT></TD> + </TR> +% } + + +<% include( '/elements/tr-input-beginning_ending.html', 'input_time'=>1 ) %> + +</TABLE> +<BR><INPUT TYPE="submit" VALUE="View sessions"> +</FORM> + +<% include('/elements/footer.html') %> |