Ignore:
Timestamp:
2011/01/02 17:15:06 (13 years ago)
Author:
fukuda
Message:

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

Location:
branches/version-2_5-dev/data
Files:
8 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/mobile/guide/usage.tpl

    r19665 r19811  
    2626<hr> 
    2727 
    28 <!-- ▼メニュー ここから --> 
    29 <a href="usage.php?page=1" accesskey="1"><!--{1|numeric_emoji}-->商品の探し方</a><br> 
    30 <a href="usage.php?page=2" accesskey="2"><!--{2|numeric_emoji}-->ご注文方法</a><br> 
    31 <a href="usage.php?page=3" accesskey="3"><!--{3|numeric_emoji}-->ご注文後</a><br> 
    32 <a href="usage.php?page=4" accesskey="4"><!--{4|numeric_emoji}-->商品到着後</a><br> 
    33 <!-- ▲メニュー ここまで --> 
     28<!-- ▼ --> 
     29<!--{1|numeric_emoji}-->商品の探し方<br> 
     30「商品の探し方」の本文<br><br> 
     31<!-- ▲ --> 
     32 
     33<!-- ▼ --> 
     34<!--{2|numeric_emoji}-->ご注文方法<br> 
     35「ご注文方法」の本文<br><br> 
     36<!-- ▲ --> 
     37 
     38<!-- ▼ --> 
     39<!--{3|numeric_emoji}-->ご注文後<br> 
     40「ご注文後」の本文<br><br> 
     41<!-- ▲ --> 
     42 
     43<!-- ▼ --> 
     44<!--{4|numeric_emoji}-->商品到着後<br> 
     45「商品到着後」の本文<br><br> 
     46<!-- ▲ --> 
    3447 
    3548<br> 
  • branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide.php

    r19805 r19811  
    5252     */ 
    5353    function process() { 
     54        parent::process(); 
     55        $this->action(); 
     56        $this->sendResponse(); 
    5457    } 
    55  
     58     
    5659    /** 
    57      * モバイルページを初期化する. 
     60     * Page のアクション. 
    5861     * 
    5962     * @return void 
    6063     */ 
    61     function mobileInit() { 
    62         $this->tpl_mainpage = 'guide/index.tpl';    // メインテンプレート 
    63         $this->tpl_title = 'ご利用ガイド'; 
    64     } 
    65  
    66     /** 
    67      * Page のプロセス(モバイル). 
    68      * 
    69      * @return void 
    70      */ 
    71     function mobileProcess() { 
    72         $objView = new SC_MobileView(); 
    73         $objView->assignobj($this); 
    74         $objView->display(SITE_FRAME); 
    75     } 
    76  
     64    function action() {} 
     65     
    7766    /** 
    7867     * デストラクタ. 
  • branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_About.php

    r19805 r19811  
    5252     */ 
    5353    function process() { 
     54        parent::process(); 
     55        $this->action(); 
     56        $this->sendResponse(); 
    5457    } 
    5558 
    5659    /** 
    57      * モバイルページを初期化する. 
     60     * Page のアクション. 
    5861     * 
    5962     * @return void 
    6063     */ 
    61     function mobileInit() { 
    62         $this->tpl_mainpage = 'guide/about.tpl';    // メインテンプレート 
    63         $this->tpl_title = '運営会社紹介'; 
     64    function action() { 
     65        $objDb = new SC_Helper_DB_Ex(); 
     66        $this->arrSiteInfo = $objDb->sfGetBasisData(); 
    6467    } 
    65  
    66     /** 
    67      * Page のプロセス(モバイル). 
    68      * 
    69      * @return void 
    70      */ 
    71     function mobileProcess() { 
    72         $objView = new SC_MobileView(); 
    73         $objView->assignobj($this); 
    74         $objView->display(SITE_FRAME); 
    75     } 
    76  
     68     
    7769    /** 
    7870     * デストラクタ. 
  • branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Charge.php

    r19805 r19811  
    5252     */ 
    5353    function process() { 
     54        parent::process(); 
     55        $this->action(); 
     56        $this->sendResponse(); 
    5457    } 
    55  
     58     
    5659    /** 
    57      * モバイルページを初期化する. 
     60     * Page のアクション. 
    5861     * 
    5962     * @return void 
    6063     */ 
    61     function mobileInit() { 
    62         $this->tpl_mainpage = 'guide/charge.tpl';   // メインテンプレート 
    63         $this->tpl_title = '通信料について'; 
    64     } 
    65  
    66     /** 
    67      * Page のプロセス(モバイル). 
    68      * 
    69      * @return void 
    70      */ 
    71     function mobileProcess() { 
    72         $objView = new SC_MobileView(); 
    73         $objView->assignobj($this); 
    74         $objView->display(SITE_FRAME); 
    75     } 
     64    function action() {} 
    7665 
    7766    /** 
  • branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Kiyaku.php

    r19805 r19811  
    5252     */ 
    5353    function process() { 
     54        parent::process(); 
     55        $this->action(); 
     56        $this->sendResponse(); 
    5457    } 
    55  
     58     
    5659    /** 
    57      * モバイルページを初期化する. 
     60     * Page のアクション. 
    5861     * 
    5962     * @return void 
    6063     */ 
    61     function mobileInit() { 
    62         $this->tpl_mainpage = 'guide/kiyaku.tpl';   // メインテンプレート 
    63         $this->tpl_title = 'ご利用規約'; 
    64     } 
    65  
    66     /** 
    67      * Page のプロセス(モバイル). 
    68      * 
    69      * @return void 
    70      */ 
    71     function mobileProcess() { 
    72         // 利用規約を取得する。 
    73         $this->lfGetKiyaku(intval(@$_GET['page']), $this); 
    74  
    75         $objView = new SC_MobileView(); 
    76         $objView->assignobj($this); 
    77         $objView->display(SITE_FRAME); 
     64    function action() { 
     65        $this->lfGetKiyaku(intval($_GET['page']), $this); 
    7866    } 
    7967 
     
    112100        } 
    113101 
    114         $objPage->tpl_kiyaku_title = @$arrRet[$index]['kiyaku_title']; 
    115         $objPage->tpl_kiyaku_text = @$arrRet[$index]['kiyaku_text']; 
     102        $objPage->tpl_kiyaku_title = $arrRet[$index]['kiyaku_title']; 
     103        $objPage->tpl_kiyaku_text = $arrRet[$index]['kiyaku_text']; 
    116104        $objPage->tpl_kiyaku_index = $index; 
    117105        $objPage->tpl_kiyaku_last_index = $last; 
  • branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Privacy.php

    r19805 r19811  
    5252     */ 
    5353    function process() { 
     54        parent::process(); 
     55        $this->action(); 
     56        $this->sendResponse(); 
    5457    } 
    55  
     58     
    5659    /** 
    57      * モバイルページを初期化する. 
     60     * Page のアクション. 
    5861     * 
    5962     * @return void 
    6063     */ 
    61     function mobileInit() { 
    62         $this->tpl_mainpage = 'guide/privacy.tpl';  // メインテンプレート 
    63         $this->tpl_title = 'プライバシーポリシー'; 
    64     } 
    65  
    66     /** 
    67      * Page のプロセス(モバイル). 
    68      * 
    69      * @return void 
    70      */ 
    71     function mobileProcess() { 
    72         $objView = new SC_MobileView(); 
    73         $objView->assignobj($this); 
    74         $objView->display(SITE_FRAME); 
    75     } 
     64    function action() {} 
    7665 
    7766    /** 
  • branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Usage.php

    r19805 r19811  
    5252     */ 
    5353    function process() { 
     54        parent::process(); 
     55        $this->action(); 
     56        $this->sendResponse(); 
    5457    } 
    55  
     58     
    5659    /** 
    57      * モバイルページを初期化する. 
     60     * Page のアクション. 
    5861     * 
    5962     * @return void 
    6063     */ 
    61     function mobileInit() { 
    62         $this->tpl_mainpage = 'guide/usage.tpl';    // メインテンプレート 
    63         $this->tpl_title = 'ご利用方法'; 
    64     } 
    65  
    66     /** 
    67      * Page のプロセス(モバイル). 
    68      * 
    69      * @return void 
    70      */ 
    71     function mobileProcess() { 
    72  
    73         switch (@$_GET['page']) { 
    74         case '1': 
    75         case '2': 
    76         case '3': 
    77         case '4': 
    78             $this->tpl_mainpage = 'guide/usage' . $_GET['page'] . '.tpl'; 
    79             break; 
    80         } 
    81  
    82         $objView = new SC_MobileView(); 
    83         $objView->assignobj($this); 
    84         $objView->display(SITE_FRAME); 
    85     } 
     64    function action() {} 
    8665 
    8766    /** 
Note: See TracChangeset for help on using the changeset viewer.