summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-04-13 03:03:42 +0000
committerivan <ivan>2008-04-13 03:03:42 +0000
commitd4734cefabb54109fc036cb030adff6f5c5b5119 (patch)
tree36061f2ff6406face0f2a4ba1d73374a642edf37
parentef64fdd5d8a55ab807353834895703914953bea3 (diff)
more stuff to allow select-table to be used as as edit/elements/edit.html m2* element: add tr-select-table.html
-rw-r--r--httemplate/elements/tr-select-table.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-table.html b/httemplate/elements/tr-select-table.html
new file mode 100644
index 0000000..6ac7487
--- /dev/null
+++ b/httemplate/elements/tr-select-table.html
@@ -0,0 +1,20 @@
+% unless ( $opt{'js_only'} ) {
+
+ <% include('tr-td-label.html', @_ ) %>
+
+ <TD <% $style %>>
+% }
+
+ <% include( '/elements/select-table.html', %opt ) %>
+
+% unless ( $opt{'js_only'} ) {
+ </TD>
+ </TR>
+% }
+<%init>
+
+my( %opt ) = @_;
+
+my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
+
+</%init>