From 3c5cb85f9957dfcbaa97e8a07935525e4a880f79 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 31 Mar 2008 22:27:56 +0000 Subject: [PATCH] overlib cleanup: easy static CVV2/echeck popups --- httemplate/edit/cust_main/billing.html | 11 +---------- httemplate/elements/init_overlib.html | 7 +++++++ httemplate/misc/payment.cgi | 12 ++---------- 3 files changed, 10 insertions(+), 20 deletions(-) create mode 100644 httemplate/elements/init_overlib.html diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 68d7437e5..22cc10b8d 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -107,16 +107,7 @@ - - - - + <% include('/elements/init_overlib.html') %> % my $payby = $cust_main->payby; % my $paytype = $cust_main->paytype; diff --git a/httemplate/elements/init_overlib.html b/httemplate/elements/init_overlib.html new file mode 100644 index 000000000..0ea74aa95 --- /dev/null +++ b/httemplate/elements/init_overlib.html @@ -0,0 +1,7 @@ +% for my $file (@files) { + +} +<%init> + my @files = map "overlibmws$_", ( '', qw( _iframe _draggable _crossframe ) ); + push @files, 'iframecontentmws'; + diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index f99f2f068..7546a858a 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -6,16 +6,8 @@ - - - - +<% include('/elements/init_overlib.html') %> + % #include( '/elements/table.html', '#cccccc' ) <% ntable('#cccccc') %> -- 2.11.0