freeside/httemplate/search sqlradius.cgi,1.1,1.2
ivan
ivan at pouncequick.420.am
Wed Oct 6 06:27:56 PDT 2004
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv21076
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.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sqlradius.cgi 5 Oct 2004 16:28:27 -0000 1.1
+++ sqlradius.cgi 6 Oct 2004 13:27:49 -0000 1.2
@@ -123,9 +123,9 @@
my $time_format = sub {
my $time = shift;
- $time > 0
- ? time2str('%T%P %a %b %o %Y', $time )
- : ' ';
+ return ' ' if $time == 0;
+ my $pretty = time2str('%T%P %a %b %o %Y', $time );
+ $pretty =~ s/ (\d)(st|dn|rd|th)/ $1$2/;
};
my $duration_format = sub {
@@ -223,7 +223,7 @@
<% foreach my $field ( keys %fields ) { %>
<TH>
<%= $fields{$field}->{name} %><BR>
- <FONT SIZE=-1><%= $fields{$field}->{attrib} %></FONT>
+ <FONT SIZE=-2><%= $fields{$field}->{attrib} %></FONT>
</TH>
<% } %>
</TR>
More information about the freeside-commits
mailing list