diff options
author | ivan <ivan> | 2008-06-02 18:31:08 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-06-02 18:31:08 +0000 |
commit | 553cf2b9aaa01c7256100c904c814338b3fa29e3 (patch) | |
tree | 33eadcf61df494a52e4d140c72446401b2777140 /FS | |
parent | 9d438e3587ad99a69c66356f351838ec04a98251 (diff) |
fix ntable calls
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/UI/Web/small_custview.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/FS/FS/UI/Web/small_custview.pm b/FS/FS/UI/Web/small_custview.pm index 4c705c159..079ae9368 100644 --- a/FS/FS/UI/Web/small_custview.pm +++ b/FS/FS/UI/Web/small_custview.pm @@ -112,5 +112,18 @@ sub small_custview { $html; } +#bah. don't want to pull in all of FS::CGI, that's the whole problem in the +#first place +sub ntable { + my $col = shift; + my $cellspacing = shift || 0; + if ( $col ) { + qq!<TABLE BGCOLOR="$col" BORDER=0 CELLSPACING=$cellspacing>!; + } else { + '<TABLE BORDER CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">'; + } + +} + 1; |