summaryrefslogtreecommitdiff
path: root/httemplate/elements/table.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/table.html')
-rw-r--r--httemplate/elements/table.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/httemplate/elements/table.html b/httemplate/elements/table.html
new file mode 100644
index 0000000..8152b65
--- /dev/null
+++ b/httemplate/elements/table.html
@@ -0,0 +1,11 @@
+%
+% my $color = shift;
+% if ( $color ) {
+%
+
+ <TABLE BGCOLOR="<% $color %>" BORDER=1 WIDTH="100%" CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">
+% } else {
+
+ <TABLE BORDER=1 CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">
+% }
+