Changeset 18609 for tmp/version-2_5-test/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.php
- Timestamp:
- 2010/03/11 10:35:11 (14 years ago)
- 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 64 64 // 文字サイズを制限する 65 65 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); 68 67 } 69 68 } 70 69 $this->arrCatList = $arrRet; 71 70 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); 73 84 $objSubView->assignobj($this); 74 85 $objSubView->display($this->tpl_mainpage);
Note: See TracChangeset
for help on using the changeset viewer.