summaryrefslogtreecommitdiff
path: root/httemplate/elements/header-popup.html
diff options
context:
space:
mode:
authormark <mark>2011-05-27 01:11:19 +0000
committermark <mark>2011-05-27 01:11:19 +0000
commitb080ab3e3ed12a6bdf1bd2b7e3799fe1336a3c47 (patch)
treed907b78775c9ae62db283ad47562e80ff3ab0ab0 /httemplate/elements/header-popup.html
parent9c3cd0386047b568c7c4ad77c72815abfff10456 (diff)
invoice batch download fix, #11871
Diffstat (limited to 'httemplate/elements/header-popup.html')
-rw-r--r--httemplate/elements/header-popup.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html
index 2bd4a96e8..14ddc6871 100644
--- a/httemplate/elements/header-popup.html
+++ b/httemplate/elements/header-popup.html
@@ -27,7 +27,7 @@ Example:
<META HTTP-Equiv="Expires" Content="0">
<% $head %>
</HEAD>
- <BODY BGCOLOR="#f8f8f8" <% $etc %>>
+ <BODY <% $etc %>>
<link href="<%$fsurl%>elements/freeside.css" type="text/css" rel="stylesheet">
<FONT SIZE=6>
<CENTER><% $title %></CENTER>
@@ -55,6 +55,7 @@ if ( ref($_[0]) ) {
$etc = @_ ? shift : ''; #$etc is for things like onLoad= etc.
$head = @_ ? shift : ''; #$head is for things that go in the <HEAD> section
}
+$etc .= 'BGCOLOR="#f8f8f8"' if (! $etc =~ /BGCOLOR/i );
my $conf = new FS::Conf;