From: ivan Date: Sun, 13 Apr 2008 02:58:00 +0000 (+0000) Subject: allow table id to be specified for tablebreak elements (so edit/elements/edit.html... X-Git-Tag: root_of_webpay_support~715 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=d2deeb044560ca2dcf7fc763b3f563643a50f375;hp=4ec6dfa446447d68663b01fbfda07c0bd2fcb3ae allow table id to be specified for tablebreak elements (so edit/elements/edit.html m2* stuff can be used after a tablebreak) --- diff --git a/httemplate/elements/tablebreak-tr-title.html b/httemplate/elements/tablebreak-tr-title.html index 35dc05d8b..ee2831231 100644 --- a/httemplate/elements/tablebreak-tr-title.html +++ b/httemplate/elements/tablebreak-tr-title.html @@ -1,5 +1,14 @@ - +
BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> <% include('tr-title.html', @_ ) %> + +<%init> + +my %opt = @_; + +my $id = ''; +$id = 'ID="'. $opt{'table_id'}. '"' if $opt{'table_id'}; + +