Changeset 16329


Ignore:
Timestamp:
2007/10/08 19:40:30 (16 years ago)
Author:
naka
Message:

GC_Mobile*→SC_Mobile*に変換

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  
    2727     */ 
    2828    function lfMobileCheckCompatibility() { 
    29         if (!GC_MobileUserAgent::isSupported()) { 
     29        if (!SC_MobileUserAgent::isSupported()) { 
    3030            header('Location: ' . URL_DIR . 'mobile/unsupported/index.php'); 
    3131            exit; 
     
    137137 
    138138        // 携帯端末の機種が一致するかどうかをチェックする。 
    139         $model = GC_MobileUserAgent::getModel(); 
     139        $model = SC_MobileUserAgent::getModel(); 
    140140        if (@$_SESSION['mobile']['model'] != $model) { 
    141141            GC_Utils_Ex::gfPrintLog("User agent model mismatch : " . 
     
    166166        if ($sessionId === false || !$this->lfMobileValidateSession()) { 
    167167            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(), 
    170170                                                'expires'  => time() + MOBILE_SESSION_LIFETIME)); 
    171171 
     
    182182 
    183183        // 携帯端末IDを取得できた場合はセッションデータに保存する。 
    184         $phoneId = GC_MobileUserAgent::getId(); 
     184        $phoneId = SC_MobileUserAgent::getId(); 
    185185        if ($phoneId !== false) { 
    186186            $_SESSION['mobile']['phone_id'] = $phoneId; 
     
    212212 
    213213        // 絵文字タグを絵文字コードに変換する。 
    214         ob_start(array('GC_MobileEmoji', 'handler')); 
     214        ob_start(array('SC_MobileEmoji', 'handler')); 
    215215 
    216216        // 端末に合わせて画像サイズを変換する。 
    217         ob_start(array('GC_MobileImage', 'handler')); 
     217        ob_start(array('SC_MobileImage', 'handler')); 
    218218 
    219219        // 全角カタカナを半角カタカナに変換する。 
  • branches/feature-module-update/data/downloads/module/mdl_epsilon/card.php

    r15532 r16329  
    7373 
    7474    // 完了画面へ 
    75     if (is_callable(GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) { 
     75    if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 
    7676        header("Location: " .  gfAddSessionId(URL_SHOP_COMPLETE)); 
    7777    } else { 
     
    135135         
    136136        // 携帯端末の場合は、セッションID・オーダー番号・戻ってくるURLを保存しておく。 
    137         if (is_callable(GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) { 
     137        if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 
    138138            sfMobileSetExtSessionId('order_number', $arrData['order_id'], 'shopping/load_payment_module.php'); 
    139139            sfMobileSetExtSessionId('order_number', $arrData['order_id'], 'shopping/confirm.php'); 
  • branches/feature-module-update/data/downloads/module/mdl_epsilon/convenience.php

    r15532 r16329  
    1212class LC_Page { 
    1313    function LC_Page() { 
    14         if (is_callable(GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) { 
     14        if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 
    1515            $this->tpl_mainpage = MODULE_PATH . "mdl_epsilon/convenience_mobile.tpl"; 
    1616        } else { 
     
    7070        $objSiteSess->setRegistFlag(); 
    7171        // 確認ページへ移動 
    72         if (is_callable(GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) { 
     72        if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 
    7373            header("Location: " . gfAddSessionId(URL_SHOP_CONFIRM)); 
    7474        } else { 
     
    210210                sfRegistTempOrder($uniqid, $sqlval); 
    211211 
    212                 if (is_callable(GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) { 
     212                if (is_callable(SC_MobileUserAgent) && SC_MobileUserAgent::isMobile()) { 
    213213                    header("Location: " . gfAddSessionId(URL_SHOP_COMPLETE)); 
    214214                } else { 
  • branches/feature-module-update/data/script/receive_kara_mail.php

    r16322 r16329  
    99require_once DATA_PATH . '/include/mobile.inc'; 
    1010require_once DATA_PATH . '/lib/slib.php'; 
    11 require_once DATA_PATH . '/class/GC_MobileKaraMail.php'; 
     11require_once DATA_PATH . '/class/SC_MobileKaraMail.php'; 
    1212require_once DATA_PATH . '/class/SC_SendMail.php'; 
    1313 
    1414$CONF = sf_getBasisData(); 
    1515 
    16 $objMail =& GC_MobileKaraMail::factory(); 
     16$objMail =& SC_MobileKaraMail::factory(); 
    1717$objMail->parse(); 
    1818$token = $objMail->getToken(); 
  • branches/feature-module-update/data/smarty_extends/block.marquee.php

    r15532 r16329  
    1818 
    1919    // marqueeタグを使用しない場合 
    20     if (defined('MOBILE_SITE') && GC_MobileUserAgent::getCarrier() == 'docomo') { 
     20    if (defined('MOBILE_SITE') && SC_MobileUserAgent::getCarrier() == 'docomo') { 
    2121        return "<div>\n$content\n</div>\n"; 
    2222    } 
  • branches/feature-module-update/data/smarty_extends/modifier.numeric_emoji.php

    r15532 r16329  
    1313    static $numeric_emoji_index = array('134', '125', '126', '127', '128', '129', '130', '131', '132', '133'); 
    1414 
    15     if (GC_MobileUserAgent::isMobile() && isset($numeric_emoji_index[$value])) { 
     15    if (SC_MobileUserAgent::isMobile() && isset($numeric_emoji_index[$value])) { 
    1616        return '[emoji:' . $numeric_emoji_index[$value] . ']'; 
    1717    } else { 
  • branches/feature-module-update/html/mobile/require.php

    r16326 r16329  
    3939require_once(CLASS_PATH . "SC_Page.php"); 
    4040require_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"); 
     41require_once(CLASS_PATH . "SC_MobileUserAgent.php"); 
     42require_once(CLASS_PATH . "SC_MobileEmoji.php"); 
     43require_once(CLASS_PATH . "SC_MobileImage.php"); 
    4444require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 
    4545require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_DB_Ex.php"); 
  • branches/feature-module-update/html/require.php

    r16326 r16329  
    4646require_once(CLASS_PATH . "SC_Page.php"); 
    4747require_once(CLASS_PATH . "SC_Pdf.php"); 
    48 require_once(CLASS_PATH . "GC_MobileUserAgent.php"); 
    49 require_once(CLASS_PATH . "GC_MobileEmoji.php"); 
     48require_once(CLASS_PATH . "SC_MobileUserAgent.php"); 
     49require_once(CLASS_PATH . "SC_MobileEmoji.php"); 
    5050require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 
    5151require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_DB_Ex.php"); 
     
    5858 
    5959// 携帯端末の場合は mobile 以下へリダイレクトする。 
    60 if (GC_MobileUserAgent::isMobile()) { 
     60if (SC_MobileUserAgent::isMobile()) { 
    6161    if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) { 
    6262        $path = $matches[1]; 
     
    7777 
    7878// 絵文字変換 (除去) フィルターを組み込む。 
    79 ob_start(array('GC_MobileEmoji', 'handler')); 
     79ob_start(array('SC_MobileEmoji', 'handler')); 
    8080 
    8181// アップデートで取得したPHPを読み出す 
Note: See TracChangeset for help on using the changeset viewer.