[freeside-commits] freeside/httemplate/elements tablebreak-tr-title.html, 1.1, 1.2
Ivan,,,
ivan at wavetail.420.am
Sat Apr 12 19:58:02 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv32211
Modified Files:
tablebreak-tr-title.html
Log Message:
allow table id to be specified for tablebreak elements (so edit/elements/edit.html m2* stuff can be used after a tablebreak)
Index: tablebreak-tr-title.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tablebreak-tr-title.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tablebreak-tr-title.html 4 Jan 2008 02:19:50 -0000 1.1
+++ tablebreak-tr-title.html 13 Apr 2008 02:58:00 -0000 1.2
@@ -1,5 +1,14 @@
</TABLE>
-<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE <% $id %> BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
<% include('tr-title.html', @_ ) %>
+
+<%init>
+
+my %opt = @_;
+
+my $id = '';
+$id = 'ID="'. $opt{'table_id'}. '"' if $opt{'table_id'};
+
+</%init>
More information about the freeside-commits
mailing list