-<HTML>
- <HEAD>
- <TITLE>
- <% mt('CVV2 information') |h %>
- </TITLE>
- </HEAD>
- <BODY BGCOLOR="#f8f8f8">
+<& /elements/header-popup.html, '' &>
+
<% mt('The CVV2 number (also called CVC2 or CID) is a three- or four-digit security code used to reduce credit card fraud') |h %>
<BR><BR>
<TABLE BORDER=0 CELLSPACING=4>
<IMG BORDER=0 ALT="<% mt('American Express') |h %>" SRC="../images/cvv2_amex.png">
</TD>
</TABLE>
- </BODY>
-</HTML>
+
+<& /elements/footer-popup.html &>
VALUE = "<% scalar($cgi->param($name.'_paycvv')) || ('*' x length($cust_payby->paycvv)) %>"
onChange = "<% $onchange %>"
>
- <BR><FONT SIZE="-1"><% mt('CVV2') |h %> (<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('<%$p%>docs/cvv2.html', 480, 275, 'cvv2_popup' ), CAPTION, 'CVV2 Help', STICKY, AUTOSTATUSCAP, CLOSECLICK, DRAGGABLE ); return false;"><% mt('help') |h %></A>)</FONT>
+ <BR><FONT SIZE="-1"><% mt('CVV2') |h %> <& /elements/popup_link.html,
+ 'action' => $p.'docs/cvv2.html',
+ 'label' => mt('(help)'),
+ 'actionlabel' => 'CVV2 Help',
+ 'width' => 480,
+ 'height' => 275,
+ 'nocenter' => 1,
+ #popup_name => 'cvv2_popup',
+ &></FONT>
</TD>
<TD ID="<%$id%>_td_payname" <%$card_display%>>
'height' => 336,
'color' => '#ff0000',
'closetext' => 'Go Away', # the value '' removes the link
+ 'nocenter' => 0, #bool, elminates centering the popup
#uncommon opt
'frame' => 0, #bool
my $onclick =
"overlib( OLiframeContent($action, $width, $height, '$popup_name', 0, '$scrolling' ), ".
- "CAPTION, $actionlabel, STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, ".
- "DRAGGABLE, CLOSECLICK, ".
+ "CAPTION, $actionlabel, STICKY, AUTOSTATUSCAP, ".
+ ( $params->{'nocenter'} ? "" : "MIDX, 0, MIDY, 0, " ).
+ "DRAGGABLE, CLOSECLICK, TEXTPADDING, 0, BASE, 0, ".
"BGCOLOR, '$color', CGCOLOR, '$color', FGCOLOR, '#f8f8f8', ".
"CLOSETEXT, '$closetext'".
( $frame ? ", FRAME, $frame" : '' ).