From: ivan Date: Mon, 31 Mar 2008 22:27:55 +0000 (+0000) Subject: overlib cleanup: easy static CVV2/echeck popups X-Git-Tag: root_of_webpay_support~778 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=19f9cc14302fdae5dbfcb580abea3c03ee612593 overlib cleanup: easy static CVV2/echeck popups --- diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 6ed35c15a..6b1c2a86f 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..12084f61c --- /dev/null +++ b/httemplate/elements/init_overlib.html @@ -0,0 +1,9 @@ +% 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') %>