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.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/elements/table.html b/httemplate/elements/table.html
new file mode 100644
index 0000000..3b61087
--- /dev/null
+++ b/httemplate/elements/table.html
@@ -0,0 +1,8 @@
+<%
+ 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">
+<% } %>