projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00a18b
)
fix ntable calls
author
ivan
<ivan>
Mon, 2 Jun 2008 18:31:07 +0000
(18:31 +0000)
committer
ivan
<ivan>
Mon, 2 Jun 2008 18:31:07 +0000
(18:31 +0000)
FS/FS/UI/Web/small_custview.pm
patch
|
blob
|
history
diff --git
a/FS/FS/UI/Web/small_custview.pm
b/FS/FS/UI/Web/small_custview.pm
index
4c705c1
..
079ae93
100644
(file)
--- 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;