Changeset 16329
- Timestamp:
- 2007/10/08 19:40:30 (16 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 4 added
- 4 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/helper/SC_Helper_Mobile.php
r16232 r16329 27 27 */ 28 28 function lfMobileCheckCompatibility() { 29 if (! GC_MobileUserAgent::isSupported()) {29 if (!SC_MobileUserAgent::isSupported()) { 30 30 header('Location: ' . URL_DIR . 'mobile/unsupported/index.php'); 31 31 exit; … … 137 137 138 138 // 携帯端末の機種が一致するかどうかをチェックする。 139 $model = GC_MobileUserAgent::getModel();139 $model = SC_MobileUserAgent::getModel(); 140 140 if (@$_SESSION['mobile']['model'] != $model) { 141 141 GC_Utils_Ex::gfPrintLog("User agent model mismatch : " . … … 166 166 if ($sessionId === false || !$this->lfMobileValidateSession()) { 167 167 session_regenerate_id(); 168 $_SESSION = array('mobile' => array('model' => GC_MobileUserAgent::getModel(),169 'phone_id' => GC_MobileUserAgent::getId(),168 $_SESSION = array('mobile' => array('model' => SC_MobileUserAgent::getModel(), 169 'phone_id' => SC_MobileUserAgent::getId(), 170 170 'expires' => time() + MOBILE_SESSION_LIFETIME)); 171 171 … … 182 182 183 183 // 携帯端末IDを取得できた場合はセッションデータに保存する。 184 $phoneId = GC_MobileUserAgent::getId();184 $phoneId = SC_MobileUserAgent::getId(); 185 185 if ($phoneId !== false) { 186 186 $_SESSION['mobile']['phone_id'] = $phoneId; … … 212 212 213 213 // 絵文字タグを絵文字コードに変換する。 214 ob_start(array(' GC_MobileEmoji', 'handler'));214 ob_start(array('SC_MobileEmoji', 'handler')); 215 215 216 216 // 端末に合わせて画像サイズを変換する。 217 ob_start(array(' GC_MobileImage', 'handler'));217 ob_start(array('SC_MobileImage', 'handler')); 218 218 219 219 // 全角カタカナを半角カタカナに変換する。 -
branches/feature-module-update/data/downloads/module/mdl_epsilon/card.php
r15532 r16329 73 73 74 74 // 完了画面へ 75 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {75 if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 76 76 header("Location: " . gfAddSessionId(URL_SHOP_COMPLETE)); 77 77 } else { … … 135 135 136 136 // 携帯端末の場合は、セッションID・オーダー番号・戻ってくるURLを保存しておく。 137 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {137 if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 138 138 sfMobileSetExtSessionId('order_number', $arrData['order_id'], 'shopping/load_payment_module.php'); 139 139 sfMobileSetExtSessionId('order_number', $arrData['order_id'], 'shopping/confirm.php'); -
branches/feature-module-update/data/downloads/module/mdl_epsilon/convenience.php
r15532 r16329 12 12 class LC_Page { 13 13 function LC_Page() { 14 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {14 if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 15 15 $this->tpl_mainpage = MODULE_PATH . "mdl_epsilon/convenience_mobile.tpl"; 16 16 } else { … … 70 70 $objSiteSess->setRegistFlag(); 71 71 // 確認ページへ移動 72 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {72 if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 73 73 header("Location: " . gfAddSessionId(URL_SHOP_CONFIRM)); 74 74 } else { … … 210 210 sfRegistTempOrder($uniqid, $sqlval); 211 211 212 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {212 if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 213 213 header("Location: " . gfAddSessionId(URL_SHOP_COMPLETE)); 214 214 } else { -
branches/feature-module-update/data/script/receive_kara_mail.php
r16322 r16329 9 9 require_once DATA_PATH . '/include/mobile.inc'; 10 10 require_once DATA_PATH . '/lib/slib.php'; 11 require_once DATA_PATH . '/class/ GC_MobileKaraMail.php';11 require_once DATA_PATH . '/class/SC_MobileKaraMail.php'; 12 12 require_once DATA_PATH . '/class/SC_SendMail.php'; 13 13 14 14 $CONF = sf_getBasisData(); 15 15 16 $objMail =& GC_MobileKaraMail::factory();16 $objMail =& SC_MobileKaraMail::factory(); 17 17 $objMail->parse(); 18 18 $token = $objMail->getToken(); -
branches/feature-module-update/data/smarty_extends/block.marquee.php
r15532 r16329 18 18 19 19 // marqueeタグを使用しない場合 20 if (defined('MOBILE_SITE') && GC_MobileUserAgent::getCarrier() == 'docomo') {20 if (defined('MOBILE_SITE') && SC_MobileUserAgent::getCarrier() == 'docomo') { 21 21 return "<div>\n$content\n</div>\n"; 22 22 } -
branches/feature-module-update/data/smarty_extends/modifier.numeric_emoji.php
r15532 r16329 13 13 static $numeric_emoji_index = array('134', '125', '126', '127', '128', '129', '130', '131', '132', '133'); 14 14 15 if ( GC_MobileUserAgent::isMobile() && isset($numeric_emoji_index[$value])) {15 if (SC_MobileUserAgent::isMobile() && isset($numeric_emoji_index[$value])) { 16 16 return '[emoji:' . $numeric_emoji_index[$value] . ']'; 17 17 } else { -
branches/feature-module-update/html/mobile/require.php
r16326 r16329 39 39 require_once(CLASS_PATH . "SC_Page.php"); 40 40 require_once(CLASS_PATH . "SC_Pdf.php"); 41 require_once(CLASS_PATH . " GC_MobileUserAgent.php");42 require_once(CLASS_PATH . " GC_MobileEmoji.php");43 require_once(CLASS_PATH . " GC_MobileImage.php");41 require_once(CLASS_PATH . "SC_MobileUserAgent.php"); 42 require_once(CLASS_PATH . "SC_MobileEmoji.php"); 43 require_once(CLASS_PATH . "SC_MobileImage.php"); 44 44 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 45 45 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_DB_Ex.php"); -
branches/feature-module-update/html/require.php
r16326 r16329 46 46 require_once(CLASS_PATH . "SC_Page.php"); 47 47 require_once(CLASS_PATH . "SC_Pdf.php"); 48 require_once(CLASS_PATH . " GC_MobileUserAgent.php");49 require_once(CLASS_PATH . " GC_MobileEmoji.php");48 require_once(CLASS_PATH . "SC_MobileUserAgent.php"); 49 require_once(CLASS_PATH . "SC_MobileEmoji.php"); 50 50 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 51 51 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_DB_Ex.php"); … … 58 58 59 59 // 携帯端末の場合は mobile 以下へリダイレクトする。 60 if ( GC_MobileUserAgent::isMobile()) {60 if (SC_MobileUserAgent::isMobile()) { 61 61 if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) { 62 62 $path = $matches[1]; … … 77 77 78 78 // 絵文字変換 (除去) フィルターを組み込む。 79 ob_start(array(' GC_MobileEmoji', 'handler'));79 ob_start(array('SC_MobileEmoji', 'handler')); 80 80 81 81 // アップデートで取得したPHPを読み出す
Note: See TracChangeset
for help on using the changeset viewer.