Changeset 3375 for temp/trunk
- Timestamp:
- 2006/08/31 00:14:33 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/lib/slib.php (modified) (2 diffs)
-
html/frontparts/bloc/search_products.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r3371 r3375 746 746 747 747 // ¥«¥Æ¥´¥ê¥Ä¥ê¡¼¤Î¼èÆÀ($products_check:true¾¦ÉÊÅÐÏ¿ºÑ¤ß¤Î¤â¤Î¤À¤±¼èÆÀ) 748 function sfGetCategoryList($addwhere = "", $products_check = false ) {748 function sfGetCategoryList($addwhere = "", $products_check = false, $head = CATEGORY_HEAD) { 749 749 $objQuery = new SC_Query(); 750 750 $where = "delete = 0"; … … 778 778 */ 779 779 for($cat_cnt = 0; $cat_cnt < $arrRet[$cnt]['level']; $cat_cnt++) { 780 $arrList[$id].= CATEGORY_HEAD;780 $arrList[$id].= $head; 781 781 } 782 782 $arrList[$id].= $name; -
temp/trunk/html/frontparts/bloc/search_products.php
r1328 r3375 13 13 // ÁªÂòÃæ¤Î¥«¥Æ¥´¥êID¤òȽÄꤹ¤ë 14 14 $objSubPage->category_id = sfGetCategoryId($_GET['product_id'], $_GET['category_id']); 15 $arrRet = sfGetCategoryList('', true );15 $arrRet = sfGetCategoryList('', true, ' '); 16 16 17 17 if(is_array($arrRet)) {
Note: See TracChangeset
for help on using the changeset viewer.
