Changeset 19810


Ignore:
Timestamp:
2011/01/02 16:01:35 (13 years ago)
Author:
fukuda
Message:

#880(mobile/sphoneディレクトリを削除)に対応。まずmobileのみ意図通りの動作になるように一部コミット(unsupportedディレクトリ)

Location:
branches/version-2_5-dev
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php

    r19805 r19810  
    3737    /** 
    3838     * EC-CUBE がサポートする携帯端末かどうかをチェックする。 
    39      * 非対応端末の場合は /mobile/unsupported/ へリダイレクトする。 
     39     * 非対応端末の場合は /unsupported/ へリダイレクトする。 
    4040     * 
    4141     * @return void 
     
    4343    function lfMobileCheckCompatibility() { 
    4444        if (!SC_MobileUserAgent::isSupported()) { 
    45             header('Location: ' . URL_PATH . 'mobile/unsupported/' . DIR_INDEX_URL); 
     45            header('Location: ' . URL_PATH . 'unsupported/' . DIR_INDEX_URL); 
    4646            exit; 
    4747        } 
  • branches/version-2_5-dev/data/class/pages/unsupported/LC_Page_Unsupported.php

    r19807 r19810  
    4444    function init() { 
    4545        parent::init(); 
    46         $this->tpl_mainpage = TEMPLATE_REALDIR . 'mobile/unsupported/index.tpl'; 
     46        $this->tpl_title = '未対応デバイス'; 
    4747    } 
    4848 
     
    5353     */ 
    5454    function process() { 
    55         $objView = new SC_MobileView(); 
    56  
    57         $objView->assignobj($this); 
    58         $objView->display($this->tpl_mainpage); 
     55        parent::process(); 
     56        $this->action(); 
     57        $this->sendResponse(); 
    5958    } 
    6059 
     60    function action() {} 
     61     
    6162    /** 
    6263     * デストラクタ. 
  • branches/version-2_5-dev/html/install/sql/insert_data.sql

    r19809 r19810  
    595595INSERT INTO dtb_pagelayout (device_type_id, page_id, page_name, url, php_dir, tpl_dir, filename, header_chk, footer_chk, edit_flg, author, description, keyword, update_url, create_date, update_date) VALUES (1, 25, '商品購入/ご入力内容のご確認', 'shopping/confirm.php', NULL, NULL, 'shopping/confirm', 1, 1, 2, NULL, NULL, NULL, NULL, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); 
    596596INSERT INTO dtb_pagelayout (device_type_id, page_id, page_name, url, php_dir, tpl_dir, filename, header_chk, footer_chk, edit_flg, author, description, keyword, update_url, create_date, update_date) VALUES (1, 26, '商品購入/ご注文完了', 'shopping/complete.php', NULL, NULL, 'shopping/complete', 1, 1, 2, NULL, NULL, NULL, NULL, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); 
     597INSERT INTO dtb_pagelayout (device_type_id, page_id, page_name, url, php_dir, tpl_dir, filename, header_chk, footer_chk, edit_flg, author, description, keyword, update_url, create_date, update_date) VALUES (1, 27, '非対応デバイス', 'unsupported/index.php', NULL, NULL, 'unsupported/index', 1, 1, 2, NULL, NULL, NULL, NULL, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); 
    597598 
    598599INSERT INTO dtb_payment (payment_id, payment_method, charge, rule, rank, note, fix, status, del_flg, creator_id, create_date, update_date, payment_image, upper_rule, charge_flg, rule_min, upper_rule_max, module_id, module_path, memo01, memo02, memo03, memo04, memo05, memo06, memo07, memo08, memo09, memo10) VALUES (1, 'クレジット', 0, NULL, 5, NULL, 2, 1, 0, 1, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); 
Note: See TracChangeset for help on using the changeset viewer.