Changeset 22563


Ignore:
Timestamp:
2013/02/18 15:30:08 (8 years ago)
Author:
Qwert
Message:

#2149 (スマートフォンの購入履歴ページにて、もっと見る表示が不適切) を修正

環境によってjson_encode関数が使えないとのことで、json_encode()からSC_Utils::jsonEncode()に変更

Location:
branches/version-2_12-dev/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/index.tpl

    r22562 r22563  
    102102    var url = "<!--{$smarty.const.ROOT_URLPATH}-->mypage/history.php"; 
    103103    var statusImagePath = "<!--{$TPL_URLPATH}-->"; 
    104     var arrPayment = <!--{$arrPayment|@json_encode}--> 
    105     var arrCustomerOrderStatus = <!--{$arrCustomerOrderStatus|@json_encode}--> 
     104    var arrPayment = <!--{$json_payment}--> 
     105    var arrCustomerOrderStatus = <!--{$json_customer_order_status}--> 
    106106 
    107107    function getHistory(limit) { 
  • branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage.php

    r22537 r22563  
    103103        // 1ページあたりの件数 
    104104        $this->dispNumber = SEARCH_PMAX; 
     105         
     106        $this->json_payment = SC_Utils::jsonEncode($this->arrPayment); 
     107        $this->json_customer_order_status = SC_Utils::jsonEncode($this->arrCustomerOrderStatus); 
    105108    } 
    106109 
Note: See TracChangeset for help on using the changeset viewer.