Ignore:
Timestamp:
2012/07/28 23:54:37 (14 years ago)
Author:
Seasoft
Message:

#1905 (typo修正・ソース整形・ソースコメントの改善)

Location:
branches/version-2_12-dev/data/class/pages/admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/design/LC_Page_Admin_Design.php

    r21977 r21981  
    293293            $arrParams['bloc_id'] = $id; 
    294294            $arrParams['bloc_row'] = $objFormParam->getValue('top_' . $i); 
    295              
     295 
    296296            if ($arrParams['page_id'] == 0) { 
    297297                $arrParams['anywhere'] = 0; 
    298298            } 
    299              
     299 
    300300            $objQuery->insert('dtb_blocposition', $arrParams); 
    301301        } 
  • branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r21935 r21981  
    809809            $arrProduct['price'] = $arrProduct['price02']; 
    810810            $arrProduct['product_name'] = $arrProduct['name']; 
    811              
     811 
    812812            $arrUpdateKeys = array( 
    813813                'product_id', 'product_class_id', 'product_type_id', 'point_rate', 
     
    818818                $arrValues = $objFormParam->getValue($key); 
    819819                // FIXME getValueで文字列が返る場合があるので配列であるかをチェック 
    820                 if(!is_array($arrValues)) { 
     820                if (!is_array($arrValues)) { 
    821821                    $arrValues = array(); 
    822822                } 
    823                  
     823 
    824824                if (isset($changed_no)) { 
    825825                    $arrValues[$changed_no] = $arrProduct[$key]; 
  • branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php

    r21867 r21981  
    8787            SC_Response_Ex::actionExit(); 
    8888        } 
    89          
     89 
    9090        //メール本文の確認例は初めの1受注とする 
    9191        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  
    7373        $this->initParam($objFormParam, $mode); 
    7474        $objFormParam->setParam($_POST); 
    75   
     75 
    7676        $mode = $this->getMode(); 
    7777 
     
    184184                    $this->arrErr['priority'][$plugin_id] = $arrErr['priority']; 
    185185                } 
    186                  
     186 
    187187                break; 
    188188            default: 
     
    191191        // DBからプラグイン情報を取得 
    192192        $plugins = SC_Plugin_Util_Ex::getAllPlugin(); 
    193          
     193 
    194194        foreach ($plugins as $key => $plugin) { 
    195195            // ロゴファイルへのパスを生成(ロゴが無い場合は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'; 
    198198            } else { 
    199                 $plugins[$key]['logo'] = IMAGE_SAVE_URLPATH . "noimage_plugin_list.gif"; 
     199                $plugins[$key]['logo'] = IMAGE_SAVE_URLPATH . 'noimage_plugin_list.gif'; 
    200200            } 
    201              
     201 
    202202            // 設定ファイルがあるかを判定. 
    203203            $plugins[$key]['config_flg'] = $this->isContainsFile(PLUGIN_UPLOAD_REALDIR . $plugin['plugin_code'], 'config.php'); 
     
    340340        // インストール前に不要なファイルを消しておきます. 
    341341        SC_Helper_FileManager_Ex::deleteFile(DOWNLOADS_TEMP_PLUGIN_INSTALL_DIR, false); 
    342          
     342 
    343343        //シンタックスエラーがあるtar.gzをアップ後、削除するとたまにディレクトリが消えるので追加 
    344344        $this->makeDir(PLUGIN_UPLOAD_REALDIR); 
     
    383383            return $arrErr; 
    384384        } 
    385          
     385 
    386386        // プラグイン情報をDB登録 
    387387        if ($this->registerData($arrPluginInfo) === false) { 
     
    557557        // アップデート前に不要なファイルを消しておきます. 
    558558        SC_Helper_FileManager_Ex::deleteFile(DOWNLOADS_TEMP_PLUGIN_UPDATE_DIR, false); 
    559          
     559 
    560560        $arrErr = array(); 
    561561 
     
    578578            return $arrErr; 
    579579        } 
    580          
     580 
    581581        // plugin_update.phpを読み込み. 
    582582        $arrErr = $this->requirePluginFile(DOWNLOADS_TEMP_PLUGIN_UPDATE_DIR . 'plugin_update.php', $target_plugin['plugin_code']); 
     
    641641            return $arrErr; 
    642642        } 
    643          
     643 
    644644        // プラグインが有効な場合に無効化処理を実行 
    645         if($plugin['enable'] == PLUGIN_ENABLE_TRUE){ 
     645        if ($plugin['enable'] == PLUGIN_ENABLE_TRUE){ 
    646646            // 無効化処理を実行します. 
    647647            $arrErr = $this->execPlugin($plugin, $plugin['class_name'], 'disable'); 
     
    652652            $this->updatePluginEnable($plugin['plugin_id'], PLUGIN_ENABLE_FALSE); 
    653653        } 
    654          
     654 
    655655        // アンインストール処理を実行します. 
    656656        $arrErr = $this->execPlugin($plugin, $plugin['class_name'], 'uninstall'); 
     
    839839        return $arrErr; 
    840840    } 
    841      
     841 
    842842    /** 
    843843     * プラグインアーカイブを解凍する. 
  • branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_Review.php

    r21954 r21981  
    9898        $this->arrForm = $objFormParam->getHashArray(); 
    9999        $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)) { 
    104104            return; 
    105105        } 
     
    110110            case 'search': 
    111111            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); 
    117117 
    118118                //CSVダウンロード 
     
    122122                    SC_Response_Ex::actionExit(); 
    123123                } 
    124                  
     124 
    125125                break; 
    126126            default: 
  • branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_UploadCSV.php

    r21923 r21981  
    650650            $recommend_product_id_key = 'recommend_product_id' . $i; 
    651651            if ((array_search($recommend_product_id_key, $this->arrFormKeyList) !== FALSE) 
    652              && ($item[$recommend_product_id_key] != '') ) { 
     652             && ($item[$recommend_product_id_key] != '')) { 
    653653 
    654654                // 商品IDの存在チェック 
Note: See TracChangeset for help on using the changeset viewer.