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

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

Locked

Views: 1,051

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,099
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,099
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,513
Plugin Contributions:
176

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

#1 - Fixed v1.5.1
#2 - irrelevant