Totally Zenned
- Join Date:
- Sep 2004
- Posts:
- 605
- Plugin Contributions:
- 1
[Done v1.3.8] embedded ot_coupon.php popup javascript causes problems
Discount Coupon: <a href="javascript:couponpopupWindow('http://www.isegames.com/ise-popup_coupon_help/cID-31/index.html?zenid=v13r0d6mungedxxc4nj5h8t62')">4HINSTR100</a> :rather than just:
Discount Coupon: 4HINSTR100as I would expect.
Looking at ot_coupon.php, the offending line 48 says:
$this->output[] = array('title' => $this->title . ': ' . '<a href="javascript:couponpopupWindow(\'' . zen_href_link(FILENAME_POPUP_COUPON_HELP, 'cID=' . $_SESSION['cc_id']) . '\')">' . $this->coupon_code . '</a> :',
'text' => '-' . $currencies->format($od_amount['total']),
'value' => $od_amount['total']);and appears to be responsible for this problem. Can someone explain the purpose of this code? :wacko:
Thanks,
Jeff