Ignore:
Timestamp:
2008/08/29 00:10:25 (16 years ago)
Author:
Seasoft
Message:

merge r17463,r17464,r17465,r17468,r17472,r17473,r17493,r17497,r17500,r17501,r17504

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/admin/products/LC_Page_Admin_Products_Product.php

    r17576 r17579  
    9797        $this->objUpFile->setHiddenFileList($_POST); 
    9898 
     99        // 規格の有り無し判定 
     100        $this->tpl_nonclass = $this->lfCheckNonClass($_POST['product_id']); 
     101 
    99102        // 検索パラメータの引き継ぎ 
    100103        foreach ($_POST as $key => $val) { 
     
    140143                $this->arrRecommend = $this->lfPreGetRecommendProducts($_POST['product_id']); 
    141144 
    142                 // 規格登録ありなし判定 
    143                 $this->tpl_nonclass = $this->lfCheckNonClass($_POST['product_id']); 
    144145                $this->lfProductPage();     // 商品登録ページ 
    145146            } 
     
    147148        // 商品登録・編集 
    148149        case 'edit': 
    149             // 規格登録ありなし判定 
    150             $tpl_nonclass = $this->lfCheckNonClass($_POST['product_id']); 
    151  
    152150            if($_POST['product_id'] == "" and SC_Utils_Ex::sfIsInt($_POST['copy_product_id'])){ 
    153                 $tpl_nonclass = $this->lfCheckNonClass($_POST['copy_product_id']); 
    154             } 
    155             $this->tpl_nonclass = $tpl_nonclass; 
     151                $this->tpl_nonclass = $this->lfCheckNonClass($_POST['copy_product_id']); 
     152            } 
    156153 
    157154            // 入力値の変換 
     
    200197        // 確認ページからの戻り 
    201198        case 'confirm_return': 
    202             // 規格登録ありなし判定 
    203             $this->tpl_nonclass = $this->lfCheckNonClass($_POST['product_id']); 
    204199            $this->lfProductPage();     // 商品登録ページ 
    205200            break; 
     
    442437                $sqlval['product_id'] = $product_id; 
    443438            } 
    444              
     439 
    445440            // INSERTの実行 
    446441            $sqlval['create_date'] = "Now()"; 
    447442            $objQuery->insert("dtb_products", $sqlval); 
    448              
     443 
    449444            // product_id 取得(MySQLの場合) 
    450445            if(DB_TYPE=='mysql'){ 
    451446                $product_id = $objQuery->nextval("dtb_products", "product_id"); 
    452447            } 
    453              
     448 
    454449            // カテゴリを更新 
    455450            $objDb->updateProductCategories($arrList['category_id'], $product_id); 
     
    694689            if($forced) $this->objUpFile->save_file[$arrImageKey[$to_key]] = ""; 
    695690 
    696             if(empty($this->objUpFile->temp_file[$arrImageKey[$to_key]]) &&  
     691            if(empty($this->objUpFile->temp_file[$arrImageKey[$to_key]]) && 
    697692               empty($this->objUpFile->save_file[$arrImageKey[$to_key]])) { 
    698693 
Note: See TracChangeset for help on using the changeset viewer.