freeside/httemplate/search sqlradius.cgi,1.2,1.3
ivan
ivan at pouncequick.420.am
Wed Oct 6 06:33:29 PDT 2004
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv21221
Modified Files:
sqlradius.cgi
Log Message:
small formatting updates to RADIUS report
Index: sqlradius.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/sqlradius.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sqlradius.cgi 6 Oct 2004 13:27:49 -0000 1.2
+++ sqlradius.cgi 6 Oct 2004 13:33:25 -0000 1.3
@@ -126,6 +126,7 @@
return ' ' if $time == 0;
my $pretty = time2str('%T%P %a %b %o %Y', $time );
$pretty =~ s/ (\d)(st|dn|rd|th)/ $1$2/;
+ $pretty;
};
my $duration_format = sub {
@@ -171,19 +172,19 @@
fmt => $customer_format,
},
'framedipaddress' => {
- name => 'IP Address',
+ name => 'IP Address',
attrib => 'Framed-IP-Address',
fmt => sub { my $ip = shift;
length($ip) ? $ip : ' ';
},
},
'acctstarttime' => {
- name => 'Start time',
+ name => 'Start time',
attrib => 'Acct-Start-Time',
fmt => $time_format,
},
'acctstoptime' => {
- name => 'End time',
+ name => 'End time',
attrib => 'Acct-Stop-Time',
fmt => $time_format,
},
More information about the freeside-commits
mailing list