21 Jul 2011, 8:31 AM
Totally Zenned
- Join Date:
- Jun 2007
- Location:
- Bronx, New York, United States
- Posts:
- 949
- Plugin Contributions:
- 3
[Done v1.5.0] Small code change to authorizenet_aim.php
This really isn't even necessary unless you want to W3C most of the pages. (It's just one small comma, it's possible it doesn't do anything. I only notice it since I'm working on a template and working on getting it W3C Compliant as best as possible.)
In zencart/includes/modules/payment/authorizenet_aim.php around line 197 the follow change should be made:
Before:
$selection['fields'][] = array('title' => MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_CVV,
'field' => zen_draw_input_field('authorizenet_aim_cc_cvv', '', 'size="4", maxlength="4"' . ' id="'.$this->code.'-cc-cvv"' . $onFocus . ' autocomplete="off"') . ' ' . '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_CVV_HELP) . '\')">' . MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_POPUP_CVV_LINK . '</a>',
'tag' => $this->code.'-cc-cvv');
```After:
```php
$selection['fields'][] = array('title' => MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_CVV,
'field' => zen_draw_input_field('authorizenet_aim_cc_cvv', '', 'size="4" maxlength="4"' . ' id="'.$this->code.'-cc-cvv"' . $onFocus . ' autocomplete="off"') . ' ' . '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_CVV_HELP) . '\')">' . MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_POPUP_CVV_LINK . '</a>',
'tag' => $this->code.'-cc-cvv');