[freeside-commits] freeside/httemplate/search sqlradius.cgi, 1.15,
1.16
Ivan,,,
ivan at wavetail.420.am
Mon Sep 4 13:31:24 PDT 2006
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv32297/search
Modified Files:
sqlradius.cgi
Log Message:
really fix the embedded duration table
Index: sqlradius.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/sqlradius.cgi,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- sqlradius.cgi 4 Sep 2006 20:22:43 -0000 1.15
+++ sqlradius.cgi 4 Sep 2006 20:31:22 -0000 1.16
@@ -65,13 +65,14 @@
<TR>
% foreach my $field ( keys %efields ) {
+% my $html = &{ $efields{$field}->{fmt} }( $session->{$field},
+% $session,
+% $part_export,
+% );
+% my $class = ( $html =~ /<TABLE/ ? 'inv' : 'grid' );
- <TD CLASS="grid" BGCOLOR="<% $bgcolor %>" ALIGN="<% $efields{$field}->{align} %>">
- <% &{ $efields{$field}->{fmt} }( $session->{$field},
- $session,
- $part_export,
- )
- %>
+ <TD CLASS="<%$class%>" BGCOLOR="<% $bgcolor %>" ALIGN="<% $efields{$field}->{align} %>">
+ <% $html %>
</TD>
% }
</TR>
More information about the freeside-commits
mailing list