Changeset 11409 for temp/branches/mobile/data/downloads
- Timestamp:
- 2007/02/08 10:03:52 (20 years ago)
- Location:
- temp/branches/mobile/data/downloads/module/mdl_epsilon
- Files:
-
- 1 added
- 2 edited
-
card.php (modified) (2 diffs)
-
convenience.php (modified) (3 diffs)
-
convenience_mobile.tpl (added)
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/mobile/data/downloads/module/mdl_epsilon/card.php
r8662 r11409 66 66 67 67 // ´°Î»²èÌÌ¤Ø 68 header("Location: " . URL_SHOP_COMPLETE); 68 if (GC_MobileUserAgent::isMobile()) { 69 header("Location: " . gfAddSessionId(URL_SHOP_COMPLETE)); 70 } else { 71 header("Location: " . URL_SHOP_COMPLETE); 72 } 69 73 } 70 74 … … 122 126 $objSiteSess->setRegistFlag(); 123 127 128 // ·ÈÂÓüËö¤Î¾ì¹ç¤Ï¡¢¥»¥Ã¥·¥ç¥óID¡¦¥ª¡¼¥À¡¼Èֹ桦Ìá¤Ã¤Æ¤¯¤ëURL¤òÊݸ¤·¤Æ¤ª¤¯¡£ 129 if (GC_MobileUserAgent::isMobile()) { 130 sfMobileSetExtSessionId('order_number', $arrData['order_id'], 'shopping/load_payment_module.php'); 131 sfMobileSetExtSessionId('order_number', $arrData['order_id'], 'shopping/confirm.php'); 132 } 133 124 134 $url = sfGetXMLValue($arrXML,'RESULT','REDIRECT'); 125 135 header("Location: " . $url); -
temp/branches/mobile/data/downloads/module/mdl_epsilon/convenience.php
r8660 r11409 12 12 class LC_Page { 13 13 function LC_Page() { 14 $this->tpl_mainpage = MODULE_PATH . "mdl_epsilon/convenience.tpl"; 14 if (GC_MobileUserAgent::isMobile()) { 15 $this->tpl_mainpage = MODULE_PATH . "mdl_epsilon/convenience_mobile.tpl"; 16 } else { 17 $this->tpl_mainpage = MODULE_PATH . "mdl_epsilon/convenience.tpl"; 18 } 15 19 /* 16 20 session_start»þ¤Îno-cache¥Ø¥Ã¥À¡¼¤òÍÞÀ©¤¹¤ë¤³¤È¤Ç … … 64 68 $objSiteSess->setRegistFlag(); 65 69 // ³Îǧ¥Ú¡¼¥¸¤Ø°Üư 66 header("Location: " . URL_SHOP_CONFIRM); 70 if (GC_MobileUserAgent::isMobile()) { 71 header("Location: " . gfAddSessionId(URL_SHOP_CONFIRM)); 72 } else { 73 header("Location: " . URL_SHOP_CONFIRM); 74 } 67 75 exit; 68 76 break; … … 195 203 sfRegistTempOrder($uniqid, $sqlval); 196 204 197 header("Location: " . URL_SHOP_COMPLETE); 205 if (GC_MobileUserAgent::isMobile()) { 206 header("Location: " . gfAddSessionId(URL_SHOP_COMPLETE)); 207 } else { 208 header("Location: " . URL_SHOP_COMPLETE); 209 } 198 210 } 199 211 }
Note: See TracChangeset
for help on using the changeset viewer.
