From b080ab3e3ed12a6bdf1bd2b7e3799fe1336a3c47 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 27 May 2011 01:11:19 +0000 Subject: invoice batch download fix, #11871 --- httemplate/elements/header-popup.html | 3 ++- httemplate/elements/progress-init.html | 8 ++++++++ httemplate/elements/progress-popup.html | 4 +++- 3 files changed, 13 insertions(+), 2 deletions(-) (limited to 'httemplate/elements') 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: <% $head %> - > + >
<% $title %>
@@ -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 section } +$etc .= 'BGCOLOR="#f8f8f8"' if (! $etc =~ /BGCOLOR/i ); my $conf = new FS::Conf; diff --git a/httemplate/elements/progress-init.html b/httemplate/elements/progress-init.html index 8b8da66c8..9f17370db 100644 --- a/httemplate/elements/progress-init.html +++ b/httemplate/elements/progress-init.html @@ -11,6 +11,12 @@ In misc/something.html: $p.'misc/process_something.html', { url => $p.'where_to_go_next.html' }, #or { message => 'Finished!' }, + #or { url => $p.'where_to_go.html', + message => 'Finished' }, + # which displays the message, then waits for confirmation before + # redirecting to the URL. + #or { popup_url => $p.'popup_contents.html' } + # which loads that URL into the popup after completion ) %>