Ignore:
Timestamp:
2012/01/17 16:03:47 (14 years ago)
Author:
Seasoft
Message:

2.12系へマイルストーン変更となったチケット分を差し戻し
r21388 #1593
r21387 #1592
r21386 #1591
r21384 #1589,#1588
r21383 #1580

Location:
branches/version-2_11-dev/data
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/Smarty/templates/admin/contents/recommend.tpl

    r21388 r21400  
    141141        <!--{if $arrItems[$smarty.section.cnt.iteration].product_id}--> 
    142142        <tr><td colspan="4" class="no-border"> 
    143         <a class="btn-action" href="javascript:;" onclick="lfnCheckSubmit(document.form<!--{$smarty.section.cnt.iteration}-->); return false;"><span class="btn-next">この内容で登録する</span></a> 
     143        <a class="btn-action" href="javascript:;" onclick="return lfnCheckSubmit(document.form<!--{$smarty.section.cnt.iteration}-->);"><span class="btn-next">この内容で登録する</span></a> 
    144144        </td> 
    145145        </tr> 
  • branches/version-2_11-dev/data/Smarty/templates/sphone/cart/index.tpl

    r21383 r21400  
    123123                     </div> 
    124124                    <ul> 
    125                       <li class="quantity"><span class="mini">数量:</span><!--{$item.quantity|number_format}--></li> 
    126                       <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.png" width="22" height="21" alt="+" onclick="fnFormModeSubmit('form<!--{$key}-->', 'up','cart_no','<!--{$item.cart_no}-->'); return false" /></li> 
    127                       <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" width="22" height="21" alt="-" onclick="fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$item.cart_no}-->'); return false" /></a></li> 
     125                     <li><input type="number" name="quantity" class="cartin_quantity text data-role-none" value="<!--{$item.quantity}-->" max="9" style="" onchange="fnFormModeSubmit('form<!--{$key}-->', 'setQuantity','cart_no','<!--{$item.cart_no}-->');" /></li> 
    128126                      <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li> 
    129127                    </ul> 
  • branches/version-2_11-dev/data/class/SC_Initial.php

    r21384 r21400  
    113113     */ 
    114114    function phpconfigInit() { 
     115        // E_DEPRECATED 定数 (for PHP < 5.3) 
     116        // TODO バージョン互換処理に統合したい。 
     117        $this->defineIfNotDefined('E_DEPRECATED', 8192); 
     118 
     119        // エラーレベル設定 
     120        // 開発時は E_ALL を推奨 
     121        error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); 
     122 
    115123        ini_set('display_errors', '1'); 
    116124        ini_set('html_errors', '1'); 
  • branches/version-2_11-dev/data/class/SC_Product.php

    r21386 r21400  
    7474    function findProductIdsOrder(&$objQuery, $arrVal = array()) { 
    7575        $table = <<< __EOS__ 
    76             dtb_products AS alldtl 
    77             LEFT JOIN dtb_products_class 
    78                 ON alldtl.product_id = dtb_products_class.product_id 
    79             LEFT JOIN dtb_product_categories 
    80                 ON alldtl.product_id = dtb_product_categories.product_id 
     76                 dtb_products AS alldtl 
     77            JOIN dtb_products_class AS T1 
     78              ON alldtl.product_id = T1.product_id 
     79            JOIN dtb_product_categories AS T2 
     80              ON alldtl.product_id = T2.product_id 
     81            JOIN dtb_category 
     82              ON T2.category_id = dtb_category.category_id 
    8183__EOS__; 
    8284        $objQuery->setGroupBy('alldtl.product_id'); 
     
    117119    function findProductCount(&$objQuery, $arrVal = array()) { 
    118120        $table = <<< __EOS__ 
    119             dtb_products AS alldtl 
    120             LEFT JOIN dtb_products_class 
    121                 ON alldtl.product_id = dtb_products_class.product_id 
    122             LEFT JOIN dtb_product_categories 
    123                 ON alldtl.product_id = dtb_product_categories.product_id 
     121                 dtb_products AS alldtl 
     122            JOIN dtb_product_categories AS T2 
     123              ON alldtl.product_id = T2.product_id 
     124            JOIN dtb_category 
     125              ON T2.category_id = dtb_category.category_id 
    124126__EOS__; 
    125127        $objQuery->setGroupBy('alldtl.product_id'); 
  • branches/version-2_11-dev/data/class/pages/products/LC_Page_Products_List.php

    r21386 r21400  
    425425 
    426426        if (strlen($searchCondition["where_category"]) >= 1) { 
    427             $searchCondition['where'] .= " AND dtb_product_categories.".$searchCondition["where_category"]; 
     427            $searchCondition['where'] .= " AND T2.".$searchCondition["where_category"]; 
    428428            $searchCondition['arrval'] = array_merge($searchCondition['arrval'], $searchCondition['arrvalCategory']); 
    429429        } 
Note: See TracChangeset for help on using the changeset viewer.