Changeset 19915 for branches/version-2_5-dev/data/class
- Timestamp:
- 2011/01/14 18:40:07 (15 years ago)
- Location:
- branches/version-2_5-dev/data/class/pages
- Files:
-
- 2 edited
-
mypage/LC_Page_Mypage.php (modified) (1 diff)
-
shopping/LC_Page_Shopping_Payment.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage.php
r19908 r19915 209 209 $this->CustomerName1 = $objCustomer->getvalue('name01'); 210 210 $this->CustomerName2 = $objCustomer->getvalue('name02'); 211 $this->CustomerPoint = $objCustomer->getvalue('point'); 211 212 } 212 213 } -
branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r19908 r19915 139 139 if (!isset($_POST['mode'])) $_POST['mode'] = ""; 140 140 141 // 戻るボタンの処理(モバイル)142 if (Net_UserAgent_Mobile::isMobile() === true) {143 if (!empty($_POST['return'])) {144 switch ($_POST['mode']) {145 case 'confirm':146 $_POST['mode'] = 'payment';147 break;148 default:149 // 正常な推移であることを記録しておく150 $objSiteSess->setRegistFlag();151 if ($this->cartdown == 2) {152 // ダウンロード商品のみの場合はカート画面へ戻る153 SC_Response_Ex::sendRedirect(CART_URL_PATH);154 } else {155 SC_Response_Ex::sendRedirect(SHOPPING_URL);156 }157 exit;158 }159 }160 }161 162 141 switch($_POST['mode']) { 163 // お届け日時指定(モバイル)164 case 'deliv_date':165 // 入力値の変換166 $this->objFormParam->convParam();167 $this->arrErr = $this->lfCheckError($this->arrData, $this->arrPayment);168 if (!isset($this->arrErr['payment_id'])) {169 // 支払い方法の入力エラーなし170 $this->tpl_mainpage = 'shopping/deliv_date.tpl';171 $this->tpl_title = "お届け日時指定";172 break;173 } else {174 // ユーザユニークIDの取得175 $uniqid = $objSiteSess->getUniqId();176 // 受注一時テーブルからの情報を格納177 $this->lfSetOrderTempData($uniqid);178 }179 break;180 142 case 'confirm': 181 143 // 入力値の変換 … … 198 160 // 受注一時テーブルからの情報を格納 199 161 $this->lfSetOrderTempData($uniqid); 200 if (Net_UserAgent_Mobile::isMobile() === true && !isset($this->arrErr['payment_id'])) {201 // 支払い方法の入力エラーなし202 $this->tpl_mainpage = 'shopping/deliv_date.tpl';203 $this->tpl_title = "お届け日時指定";204 }205 162 } 206 163 break; … … 244 201 $this->objFormParam->addParam("お支払い方法", "payment_id", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK")); 245 202 $this->objFormParam->addParam("ポイント", "use_point", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK", "ZERO_START")); 246 $this->objFormParam->addParam(" ご質問", "message", LTEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK"));203 $this->objFormParam->addParam("その他お問い合わせ", "message", LTEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 247 204 $this->objFormParam->addParam("ポイントを使用する", "point_check", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"), '2'); 248 205
Note: See TracChangeset
for help on using the changeset viewer.
