Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Bug Reports / [Fixed v1.5.1] Hardcoded text in Reports/Customer Referrals

[Fixed v1.5.1] Hardcoded text in Reports/Customer Referrals

Locked

Started by lat9 on 10 Feb 2012, 5:22 PM · Views: 1,052

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Feb 2012, 5:22 PM
#1
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,139
Plugin Contributions:
56

[Fixed v1.5.1] Hardcoded text in Reports/Customer Referrals

Running 1.5.0, no mods. There is hardcoded text in \YOUR_ADMIN\stats_customers_referrals.php, lines 151-152:

            <td class="main" align="left">Order #<?php echo $customers_orders->fields['orders_id']; ?></td>
            <td class="main" align="left">Discount Coupon ID# <?php echo $customers_orders->fields['coupon_code']; ?></td>
10 Feb 2012, 5:36 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,139
Plugin Contributions:
56

Re: [Fixed v1.5.1] Hardcoded text in Reports/Customer Referrals

Also on lines 160-161:

           '                <td align="left" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $order->totals[$i]['title'] . '</td>' . "\n" .
           '                <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
19 Sep 2012, 2:40 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: [Fixed v1.5.1] Hardcoded text in Reports/Customer Referrals

#1 - Fixed v1.5.1
#2 - irrelevant

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.