/**
  * ページタイトルの設定
  *
  * @return str
  */
 function lfGetPageTitle($mode, $category_id = 0)
 {
     if ($mode == 'search') {
         return '検索結果';
     } elseif ($category_id == 0) {
         return '全商品';
     } else {
         $arrCat = SC_Helper_DB_Ex::sfGetCat($category_id);
         return $arrCat['name'];
     }
 }
Ejemplo n.º 2
0
 /**
  * ページタイトルの設定
  *
  * @return str
  */
 function lfGetPageTitle($mode, $category_id = 0)
 {
     if ($mode == 'search') {
         return t('c_Search results_01');
     } elseif ($category_id == 0) {
         return t('c_All products_01');
     } else {
         $arrCat = SC_Helper_DB_Ex::sfGetCat($category_id);
         return $arrCat['name'];
     }
 }