From: ivan Date: Mon, 31 Mar 2008 22:27:56 +0000 (+0000) Subject: overlib cleanup: easy static CVV2/echeck popups X-Git-Tag: freeside_1_7_3rc1~18 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=3c5cb85f9957dfcbaa97e8a07935525e4a880f79;p=freeside.git overlib cleanup: easy static CVV2/echeck popups --- 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') %>