first part of ACL and re-skinning work and some other small stuff
[freeside.git] / httemplate / search / sqlradius.html
1 <%= include( '/elements/header.html', 'Search RADIUS sessions' ) %>
2
3 <FORM NAME="OneTrueForm" ACTION="sqlradius.cgi" METHOD="GET">
4 <% #include( '/elements/table.html' ) %>
5 <%= ntable('#cccccc') %>
6 <TR>
7   <TD ALIGN="right">Username: </TD>
8   <TD><INPUT TYPE="text" NAME="username"></TD>
9 </TR>
10 <TR>
11   <TD></TD>
12   <TD><FONT SIZE="-1"><I>(leave blank to show all users)</I></FONT></TD>
13 </TR>
14
15 <% my @part_export = qsearch( 'part_export', { 'exporttype' => 'sqlradius' } );
16    push @part_export,
17      qsearch( 'part_export', { 'exporttype' => 'sqlradius_withdomain' } );
18 %>
19
20 <% if ( grep { ! $_->option('hide_ip') } @part_export ) { %>
21   <TR>
22     <TD ALIGN="right">IP address: </TD>
23     <TD><INPUT TYPE="text" NAME="ip"></TD>
24   </TR>
25   <TR>
26     <TD></TD>
27     <TD><FONT SIZE="-1"><I>(leave blank to show all IPs)</I></FONT></TD>
28   </TR>
29 <% } %>
30
31 <% if ( grep { $_->option('show_called_station') } @part_export ) { %>
32   <TR>
33     <TD ALIGN="right">Destination prefix:</TD>
34     <TD><INPUT TYPE="text" NAME="prefix"></TD>
35   </TR>
36   <TR>
37     <TD></TD>
38     <TD><FONT SIZE="-1"><I>(country code or country code and prefix)</I></FONT></TD>
39   </TR>
40   <TR>
41     <TD></TD>
42     <TD><FONT SIZE="-1"><I>(leave blank to show all destinations)</I></FONT></TD>
43   </TR>
44 <% } %>
45
46 <%= include( '/elements/tr-input-beginning_ending.html' ) %>
47
48 </TABLE>
49 <BR><INPUT TYPE="submit" VALUE="View sessions">
50 </FORM>
51
52 <%= include('/elements/footer.html') %>