[Svn-src-all:899] [version-2_5-dev 19787] #880(mobile/sphoneディレクトリを削除)に対応する、

fukuran admin @ mail.ec-cube.net
2010年 12月 29日 (水) 16:50:44 JST


Subversion committed to /home/svn/open 19787
http://svn.ec-cube.net/open_trac/changeset/19787
┌────────────────────────────┐
│更新者 :  fukuran                                      │
│更新日時:  2010-12-29 16:50:44 +0900 (水, 29 12月 2010)│
└────────────────────────────┘

Log:
--------------------------------------------------------
#880(mobile/sphoneディレクトリを削除)に対応する、
影響の少ない部分を先行してコミット

Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_5-dev/data/class/SC_MobileUserAgent.php
U   branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php
U   branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php
U   branches/version-2_5-dev/data/class/pages/order/LC_Page_Order.php
D   branches/version-2_5-dev/html/mobile/contact/
D   branches/version-2_5-dev/html/mobile/forgot/
D   branches/version-2_5-dev/html/mobile/order/

変更: branches/version-2_5-dev/data/class/SC_MobileUserAgent.php
===================================================================
--- branches/version-2_5-dev/data/class/SC_MobileUserAgent.php	2010-12-29 06:11:36 UTC (rev 19786)
+++ branches/version-2_5-dev/data/class/SC_MobileUserAgent.php	2010-12-29 07:50:44 UTC (rev 19787)
@@ -147,27 +147,5 @@
         }
     }
 
-    /**
-     * 携帯端末の場合、モバイルサイトへリダイレクトする
-     *
-     * @return void
-     */
-    function sfAutoRedirectMobileSite() {
-        // 携帯端末ではない場合、処理しない
-        if (SC_MobileUserAgent::isNonMobile()) return;
-
-        $url = SC_Utils_Ex::sfIsHTTPS()
-            ? MOBILE_SSL_URL
-            : MOBILE_SITE_URL
-        ;
-
-        $url .= (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches))
-            ? $matches[1]
-            : ''
-        ;
-
-        header("Location: ". SC_Utils_Ex::sfRmDupSlash($url));
-        exit;
-    }
 }
 ?>

変更: branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php	2010-12-29 06:11:36 UTC (rev 19786)
+++ branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php	2010-12-29 07:50:44 UTC (rev 19787)
@@ -119,35 +119,6 @@
     }
 
     /**
-     * モバイルページを初期化する.
-     *
-     * @return void
-     */
-    function mobileInit() {
-        $this->init();
-    }
-
-    /**
-     * Page のプロセス(モバイル).
-     *
-     * @return void
-     */
-    function mobileProcess() {
-        $this->mobileAction();
-        $this->sendResponse();
-    }
-
-    /**
-     * Page のアクション(モバイル).
-     *
-     * @return void
-     */
-    function mobileAction() {
-        $objDb = new SC_Helper_DB_Ex();
-        $this->CONF = $objDb->sfGetBasisData();			// 店舗基本情報
-    }
-
-    /**
      * デストラクタ.
      *
      * @return void

変更: branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php	2010-12-29 06:11:36 UTC (rev 19786)
+++ branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php	2010-12-29 07:50:44 UTC (rev 19787)
@@ -179,24 +179,6 @@
     }
 
     /**
-     * モバイルページを初期化する.
-     *
-     * @return void
-     */
-    function mobileInit() {
-        $this->init();
-    }
-
-    /**
-     * Page のプロセス(モバイル).
-     *
-     * @return void
-     */
-    function mobileProcess() {
-        $this->process();
-    }
-
-    /**
      * デストラクタ.
      *
      * @return void

変更: branches/version-2_5-dev/data/class/pages/order/LC_Page_Order.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/order/LC_Page_Order.php	2010-12-29 06:11:36 UTC (rev 19786)
+++ branches/version-2_5-dev/data/class/pages/order/LC_Page_Order.php	2010-12-29 07:50:44 UTC (rev 19787)
@@ -75,39 +75,6 @@
     }
 
     /**
-     * モバイルページを初期化する.
-     *
-     * @return void
-     */
-    function mobileInit() {
-        $this->init();
-    }
-
-    /**
-     * Page のプロセス(モバイル).
-     *
-     *
-     * @return void
-     */
-    function mobileProcess() {
-        parent::mobileProcess();
-        $this->mobileAction();
-        $this->sendResponse();
-    }
-
-    /**
-     * Page のアクション(モバイル).
-     *
-     *
-     * @return void
-     */
-    function mobileAction() {
-        $objDb = new SC_Helper_DB_Ex();
-        $this->arrRet = $objDb->sfGetBasisData();
-    }
-
-
-    /**
      * デストラクタ.
      *
      * @return void




Svn-src-all メーリングリストの案内