projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec6dfa
)
allow table id to be specified for tablebreak elements (so edit/elements/edit.html...
author
ivan
<ivan>
Sun, 13 Apr 2008 02:58:00 +0000
(
02:58
+0000)
committer
ivan
<ivan>
Sun, 13 Apr 2008 02:58:00 +0000
(
02:58
+0000)
httemplate/elements/tablebreak-tr-title.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/tablebreak-tr-title.html
b/httemplate/elements/tablebreak-tr-title.html
index
35dc05d
..
ee28312
100644
(file)
--- 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>