Changeset 21981 for branches/version-2_12-dev/data/class/pages/admin
- Timestamp:
- 2012/07/28 23:54:37 (14 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/admin
- Files:
-
- 6 edited
-
design/LC_Page_Admin_Design.php (modified) (1 diff)
-
order/LC_Page_Admin_Order_Edit.php (modified) (2 diffs)
-
order/LC_Page_Admin_Order_Mail.php (modified) (1 diff)
-
ownersstore/LC_Page_Admin_OwnersStore.php (modified) (10 diffs)
-
products/LC_Page_Admin_Products_Review.php (modified) (3 diffs)
-
products/LC_Page_Admin_Products_UploadCSV.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/design/LC_Page_Admin_Design.php
r21977 r21981 293 293 $arrParams['bloc_id'] = $id; 294 294 $arrParams['bloc_row'] = $objFormParam->getValue('top_' . $i); 295 295 296 296 if ($arrParams['page_id'] == 0) { 297 297 $arrParams['anywhere'] = 0; 298 298 } 299 299 300 300 $objQuery->insert('dtb_blocposition', $arrParams); 301 301 } -
branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
r21935 r21981 809 809 $arrProduct['price'] = $arrProduct['price02']; 810 810 $arrProduct['product_name'] = $arrProduct['name']; 811 811 812 812 $arrUpdateKeys = array( 813 813 'product_id', 'product_class_id', 'product_type_id', 'point_rate', … … 818 818 $arrValues = $objFormParam->getValue($key); 819 819 // FIXME getValueで文字列が返る場合があるので配列であるかをチェック 820 if (!is_array($arrValues)) {820 if (!is_array($arrValues)) { 821 821 $arrValues = array(); 822 822 } 823 823 824 824 if (isset($changed_no)) { 825 825 $arrValues[$changed_no] = $arrProduct[$key]; -
branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php
r21867 r21981 87 87 SC_Response_Ex::actionExit(); 88 88 } 89 89 90 90 //メール本文の確認例は初めの1受注とする 91 91 if (!SC_Utils_Ex::isBlank($this->order_id_array)){ -
branches/version-2_12-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore.php
r21974 r21981 73 73 $this->initParam($objFormParam, $mode); 74 74 $objFormParam->setParam($_POST); 75 75 76 76 $mode = $this->getMode(); 77 77 … … 184 184 $this->arrErr['priority'][$plugin_id] = $arrErr['priority']; 185 185 } 186 186 187 187 break; 188 188 default: … … 191 191 // DBからプラグイン情報を取得 192 192 $plugins = SC_Plugin_Util_Ex::getAllPlugin(); 193 193 194 194 foreach ($plugins as $key => $plugin) { 195 195 // ロゴファイルへのパスを生成(ロゴが無い場合はNO_IMAGEを表示) 196 if (file_exists(PLUGIN_HTML_REALDIR . $plugins[$key]['plugin_code'] . "/logo.png") === true){197 $plugins[$key]['logo'] = ROOT_URLPATH . "plugin/" . $plugins[$key]['plugin_code'] . "/logo.png";196 if (file_exists(PLUGIN_HTML_REALDIR . $plugins[$key]['plugin_code'] . '/logo.png') === true){ 197 $plugins[$key]['logo'] = ROOT_URLPATH . 'plugin/' . $plugins[$key]['plugin_code'] . '/logo.png'; 198 198 } else { 199 $plugins[$key]['logo'] = IMAGE_SAVE_URLPATH . "noimage_plugin_list.gif";199 $plugins[$key]['logo'] = IMAGE_SAVE_URLPATH . 'noimage_plugin_list.gif'; 200 200 } 201 201 202 202 // 設定ファイルがあるかを判定. 203 203 $plugins[$key]['config_flg'] = $this->isContainsFile(PLUGIN_UPLOAD_REALDIR . $plugin['plugin_code'], 'config.php'); … … 340 340 // インストール前に不要なファイルを消しておきます. 341 341 SC_Helper_FileManager_Ex::deleteFile(DOWNLOADS_TEMP_PLUGIN_INSTALL_DIR, false); 342 342 343 343 //シンタックスエラーがあるtar.gzをアップ後、削除するとたまにディレクトリが消えるので追加 344 344 $this->makeDir(PLUGIN_UPLOAD_REALDIR); … … 383 383 return $arrErr; 384 384 } 385 385 386 386 // プラグイン情報をDB登録 387 387 if ($this->registerData($arrPluginInfo) === false) { … … 557 557 // アップデート前に不要なファイルを消しておきます. 558 558 SC_Helper_FileManager_Ex::deleteFile(DOWNLOADS_TEMP_PLUGIN_UPDATE_DIR, false); 559 559 560 560 $arrErr = array(); 561 561 … … 578 578 return $arrErr; 579 579 } 580 580 581 581 // plugin_update.phpを読み込み. 582 582 $arrErr = $this->requirePluginFile(DOWNLOADS_TEMP_PLUGIN_UPDATE_DIR . 'plugin_update.php', $target_plugin['plugin_code']); … … 641 641 return $arrErr; 642 642 } 643 643 644 644 // プラグインが有効な場合に無効化処理を実行 645 if ($plugin['enable'] == PLUGIN_ENABLE_TRUE){645 if ($plugin['enable'] == PLUGIN_ENABLE_TRUE){ 646 646 // 無効化処理を実行します. 647 647 $arrErr = $this->execPlugin($plugin, $plugin['class_name'], 'disable'); … … 652 652 $this->updatePluginEnable($plugin['plugin_id'], PLUGIN_ENABLE_FALSE); 653 653 } 654 654 655 655 // アンインストール処理を実行します. 656 656 $arrErr = $this->execPlugin($plugin, $plugin['class_name'], 'uninstall'); … … 839 839 return $arrErr; 840 840 } 841 841 842 842 /** 843 843 * プラグインアーカイブを解凍する. -
branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_Review.php
r21954 r21981 98 98 $this->arrForm = $objFormParam->getHashArray(); 99 99 $this->arrHidden = $this->lfSetHidden($this->arrForm); 100 101 // 入力パラメーターチェック102 $this->arrErr = $this->lfCheckError($objFormParam);103 if(!SC_Utils_Ex::isBlank($this->arrErr)) {100 101 // 入力パラメーターチェック 102 $this->arrErr = $this->lfCheckError($objFormParam); 103 if (!SC_Utils_Ex::isBlank($this->arrErr)) { 104 104 return; 105 105 } … … 110 110 case 'search': 111 111 case 'csv': 112 113 // 検索条件を取得114 list($where, $arrWhereVal) = $this->lfGetWhere($this->arrForm);115 // 検索結果を取得116 $this->arrReview = $this->lfGetReview($this->arrForm, $where, $arrWhereVal);112 113 // 検索条件を取得 114 list($where, $arrWhereVal) = $this->lfGetWhere($this->arrForm); 115 // 検索結果を取得 116 $this->arrReview = $this->lfGetReview($this->arrForm, $where, $arrWhereVal); 117 117 118 118 //CSVダウンロード … … 122 122 SC_Response_Ex::actionExit(); 123 123 } 124 124 125 125 break; 126 126 default: -
branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_UploadCSV.php
r21923 r21981 650 650 $recommend_product_id_key = 'recommend_product_id' . $i; 651 651 if ((array_search($recommend_product_id_key, $this->arrFormKeyList) !== FALSE) 652 && ($item[$recommend_product_id_key] != '') ) {652 && ($item[$recommend_product_id_key] != '')) { 653 653 654 654 // 商品IDの存在チェック
Note: See TracChangeset
for help on using the changeset viewer.
