From d2deeb044560ca2dcf7fc763b3f563643a50f375 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 13 Apr 2008 02:58:00 +0000 Subject: [PATCH] allow table id to be specified for tablebreak elements (so edit/elements/edit.html m2* stuff can be used after a tablebreak) --- httemplate/elements/tablebreak-tr-title.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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'}; + + -- 2.11.0