Ignore:
Timestamp:
2011/03/09 15:21:44 (10 years ago)
Author:
kimoto
Message:

list.tplに古いロジックが残っていたので修正 #1089

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php

    r20540 r20567  
    124124        $this->tpl_linemax = $this->lfGetProductAllNum($arrSearchCondition); 
    125125        $urlParam = "category_id={$this->arrSearchData['category_id']}&pageno=#page#"; 
    126         $this->objNavi = new SC_PageNavi_Ex($this->tpl_pageno, $this->tpl_linemax, $this->disp_number, 'fnNaviPage', NAVI_PMAX, $urlParam,SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE); 
    127         $this->arrProducts = $this->lfGetProductsList($arrSearchCondition,$this->disp_number,$this->objNavi->start_row,$this->tpl_linemax,$objProduct); 
     126        $this->objNavi = new SC_PageNavi_Ex($this->tpl_pageno, $this->tpl_linemax, $this->disp_number, 'fnNaviPage', NAVI_PMAX, $urlParam, SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE); 
     127        $this->arrProducts = $this->lfGetProductsList($arrSearchCondition, $this->disp_number, $this->objNavi->start_row, $this->tpl_linemax, $objProduct); 
    128128        //商品一覧の表示処理 
    129129        $strnavi = $this->objNavi->strnavi; 
     
    314314        // 規格を設定 
    315315        $objProduct->setProductsClassByProductIds($arrProduct_id); 
    316         $arrProducts += array('productStatus'=>$objProduct->getProductStatus($arrProduct_id));      
     316        $arrProducts += array('productStatus'=>$objProduct->getProductStatus($arrProduct_id)); 
    317317        return $arrProducts; 
    318318    } 
     
    358358     * 
    359359     * @return str 
    360      */     
     360     */ 
    361361    function lfGetPageTitle($mode,$category_id = 0){ 
    362362        if ($mode == 'search') { 
     
    368368            return $arrCat['name']; 
    369369        } 
    370         return "";        
     370        return ""; 
    371371    } 
    372372 
     
    375375     * 
    376376     * @return array 
    377      */     
     377     */ 
    378378    function lfGetSearchConditionDisp($arrSearchData){ 
    379379        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    400400     * 
    401401     * @return int 
    402      */     
     402     */ 
    403403    function lfGetProductAllNum($searchCondition){ 
    404404        // 検索結果対象となる商品の数を取得 
     
    413413     * 
    414414     * @return array 
    415      */     
     415     */ 
    416416    function lfGetSearchCondition($arrSearchData){ 
    417417        $searchCondition = array( 
     
    468468     * 
    469469     * @return str 
    470      */    
     470     */ 
    471471    function lfSetSelectedData(&$arrProducts,$arrForm,$arrErr,$product_id){ 
    472472        $js_fnOnLoad = ""; 
     
    488488     * 
    489489     * @return void 
    490      */    
     490     */ 
    491491    function lfAddCart($arrForm, $referer){ 
    492492        $product_class_id = $arrForm['product_class_id']; 
Note: See TracChangeset for help on using the changeset viewer.