projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
eb4cf55
)
small formatting updates to RADIUS report
author
ivan
<ivan>
Wed, 6 Oct 2004 13:33:25 +0000
(13:33 +0000)
committer
ivan
<ivan>
Wed, 6 Oct 2004 13:33:25 +0000
(13:33 +0000)
httemplate/search/sqlradius.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/sqlradius.cgi
b/httemplate/search/sqlradius.cgi
index
9cc5958
..
bb51acb
100644
(file)
--- a/
httemplate/search/sqlradius.cgi
+++ b/
httemplate/search/sqlradius.cgi
@@
-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/;
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 {
};
my $duration_format = sub {
@@
-171,19
+172,19
@@
fmt => $customer_format,
},
'framedipaddress' => {
fmt => $customer_format,
},
'framedipaddress' => {
- name => 'IP
Address',
+ name => 'IP
Address',
attrib => 'Framed-IP-Address',
fmt => sub { my $ip = shift;
length($ip) ? $ip : ' ';
},
},
'acctstarttime' => {
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' => {
attrib => 'Acct-Start-Time',
fmt => $time_format,
},
'acctstoptime' => {
- name => 'End
time',
+ name => 'End
time',
attrib => 'Acct-Stop-Time',
fmt => $time_format,
},
attrib => 'Acct-Stop-Time',
fmt => $time_format,
},