Changeset 17670
- Timestamp:
- 2008/11/01 11:31:36 (18 years ago)
- Location:
- branches/comu-ver2/data
- Files:
-
- 3 edited
-
class/pages/admin/design/LC_Page_Admin_Design_Template.php (modified) (1 diff)
-
class/pages/admin/products/LC_Page_Admin_Products_Product.php (modified) (2 diffs)
-
include/module.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php
r17575 r17670 136 136 SC_Utils::sfDispError(''); 137 137 } 138 138 139 //現在使用中のテンプレートとデフォルトのテンプレートは削除できないようにする 139 140 $template_code = $objForm->getValue('template_code_temp'); 140 if ($template_code == DEFAULT_TEMPLATE_NAME ) {141 $this->tpl_onload = "alert('選択中のテンプレートは削除出来ません');";141 if ($template_code == DEFAULT_TEMPLATE_NAME || $template_code == 'default') { 142 $this->tpl_onload = "alert('選択中のテンプレートは削除出来ません');"; 142 143 break; 143 144 } 144 145 145 $this->lfDeleteTemplate($template_code); 146 146 break; -
branches/comu-ver2/data/class/pages/admin/products/LC_Page_Admin_Products_Product.php
r17581 r17670 462 462 unset($arrColList[$arrColList_tmp["product_class_id"]]); //規格ID 463 463 unset($arrColList[$arrColList_tmp["product_id"]]); //商品ID 464 464 unset($arrColList[$arrColList_tmp["create_date"]]); 465 465 466 $col = SC_Utils_Ex::sfGetCommaList($arrColList); 466 467 … … 482 483 $objDb->updateProductCategories($arrList['category_id'], $product_id); 483 484 } 484 485 // 規格登録 486 SC_Utils_Ex::sfInsertProductClass($objQuery, $arrList, $product_id , $arrList['product_class_id'] ); 487 485 486 //商品登録の時は規格を生成する。複製の場合は規格も複製されるのでこの処理は不要。 487 if( $_POST["copy_product_id"] == "" ){ 488 // 規格登録 489 SC_Utils_Ex::sfInsertProductClass($objQuery, $arrList, $product_id , $arrList['product_class_id'] ); 490 } 491 488 492 // 関連商品登録 489 493 $this->lfInsertRecommendProducts($objQuery, $arrList, $product_id); -
branches/comu-ver2/data/include/module.inc
r17605 r17670 45 45 46 46 /** 47 * インクルードするモジュールの一覧47 * 常にinclude.phpを呼び出すモジュールの一覧を$_arrModuleに定義している 48 48 * FIXME dtb_moduleとかに保持する 49 * TODO dtb_module内にカラムを追加して判定するか、include.phpで定義するかに変更する必要有り。 49 50 */ 50 51 $_arrModule = array( 51 52 'mdl_a8', 52 53 'mdl_moba8', 54 'mdl_janet', 53 55 'mdl_opebuilder', 54 56 'mdl_souraku',
Note: See TracChangeset
for help on using the changeset viewer.
