diff options
author | ivan <ivan> | 2008-04-13 02:58:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-04-13 02:58:00 +0000 |
commit | d2deeb044560ca2dcf7fc763b3f563643a50f375 (patch) | |
tree | 42f5b419a63ac423d9f29f6712b4f88db3263322 /httemplate | |
parent | 4ec6dfa446447d68663b01fbfda07c0bd2fcb3ae (diff) |
allow table id to be specified for tablebreak elements (so edit/elements/edit.html m2* stuff can be used after a tablebreak)
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/tablebreak-tr-title.html | 11 |
1 files changed, 10 insertions, 1 deletions
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 @@ </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> |