Ignore:
Timestamp:
2010/03/11 10:35:11 (14 years ago)
Author:
kajiwara
Message:

正式版にナイトリービルド版をマージしてみるテスト

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tmp/version-2_5-test/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.php

    r18562 r18609  
    6464            // 文字サイズを制限する 
    6565            foreach($arrRet as $key => $val) { 
    66                 $str = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN, false); 
    67                 $arrRet[$key] = preg_replace('/ /', " ", $str); 
     66                $arrRet[$key] = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN, false); 
    6867            } 
    6968        } 
    7069        $this->arrCatList = $arrRet; 
    7170 
    72         $objSubView = new SC_SiteView(); 
     71        // 選択中のメーカーIDを判定する 
     72        $this->maker_id = $objDb->sfGetMakerId($_GET['product_id'], $_GET['maker_id']); 
     73        // メーカー検索用選択リスト 
     74        $arrRet = $objDb->sfGetMakerList('', true); 
     75        if(is_array($arrRet)) { 
     76            // 文字サイズを制限する 
     77            foreach($arrRet as $key => $val) { 
     78                $arrRet[$key] = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN); 
     79            } 
     80        } 
     81        $this->arrMakerList = $arrRet; 
     82 
     83        $objSubView = new SC_SiteView(false); 
    7384        $objSubView->assignobj($this); 
    7485        $objSubView->display($this->tpl_mainpage); 
Note: See TracChangeset for help on using the changeset viewer.