Changeset 17509 for branches/comu-ver2/data/class/pages/admin
- Timestamp:
- 2008/08/08 00:00:00 (16 years ago)
- Location:
- branches/comu-ver2/data/class/pages/admin/products
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/admin/products/LC_Page_Admin_Products_Class.php
r16741 r17509 45 45 parent::init(); 46 46 $this->tpl_mainpage = 'products/class.tpl'; 47 48 49 50 47 $this->tpl_subnavi = 'products/subnavi.tpl'; 48 $this->tpl_subno = 'class'; 49 $this->tpl_subtitle = '規格登録'; 50 $this->tpl_mainno = 'products'; 51 51 } 52 52 … … 80 80 if(count($this->arrErr) <= 0) { 81 81 if($_POST['class_id'] == "") { 82 $this->lfInsertClass($this->arrForm); 82 $this->lfInsertClass($this->arrForm); // 新規作成 83 83 } else { 84 $this->lfUpdateClass($this->arrForm); 84 $this->lfUpdateClass($this->arrForm); // 既存編集 85 85 } 86 86 // 再表示 -
branches/comu-ver2/data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php
r17408 r17509 48 48 $this->tpl_mainno = 'products'; 49 49 $this->tpl_subno = 'product'; 50 $this->tpl_subtitle = '商品登録 ';50 $this->tpl_subtitle = '商品登録(商品規格)'; 51 51 52 52 $masterData = new SC_DB_MasterData_Ex(); … … 87 87 case 'delete': 88 88 $objQuery = new SC_Query(); 89 $objDb = new SC_Helper_DB_Ex(); 89 90 90 91 $objQuery->setLimitOffset(1); … … 113 114 $objQuery->commit(); 114 115 } 115 116 117 // 在庫無し商品の非表示対応 118 if (NOSTOCK_HIDDEN === true) { 119 // 件数カウントバッチ実行 120 $objDb->sfCategory_Count($objQuery); 121 } 122 116 123 $this->lfProductClassPage(); // 規格登録ページ 117 124 break; … … 334 341 function lfInsertProductClass($arrList, $product_id) { 335 342 $objQuery = new SC_Query(); 343 $objDb = new SC_Helper_DB_Ex(); 336 344 337 345 $objQuery->begin(); … … 361 369 $cnt++; 362 370 } 363 371 372 // 件数カウントバッチ実行 373 $objDb->sfCategory_Count($objQuery); 374 364 375 $objQuery->commit(); 365 376 }
Note: See TracChangeset
for help on using the changeset viewer.