Changeset 17908


Ignore:
Timestamp:
2009/03/19 04:14:27 (15 years ago)
Author:
Seasoft
Message:

merge 17720
・取得元: version-2
・未テスト
【取得元のログメッセージ】
モバイル簡単ログインを修正 モバイル登録時にdtb_customerにmobile_phone_idが挿入されない問題を追加 ログイン時にドコモのみphone_idを取り出せない不具合をSC_Customer.phpに記述

Location:
branches/comu-ver2/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/mobile/entry/confirm.tpl

    r17784 r17908  
    2424<div align="center">登録確認</div> 
    2525<hr> 
    26 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> 
     26<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" utn> 
    2727    <input type="hidden" name="mode" value="complete"> 
    2828    <!--{foreach from=$list_data key=key item=item}--> 
  • branches/comu-ver2/data/class/SC_Customer.php

    r16741 r17908  
    9999     */ 
    100100    function checkMobilePhoneId() { 
    101         if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 
     101        //docomo用にデータを取り出す。 
     102        if(SC_MobileUserAgent::getCarrier() == 'docomo'){ 
     103            $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent::getId(); 
     104        } 
     105        if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 
    102106            return false; 
    103107        } 
     
    118122     */ 
    119123    function getCustomerDataFromMobilePhoneIdPass($pass) { 
    120         if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 
     124        //docomo用にデータを取り出す。 
     125        if(SC_MobileUserAgent::getCarrier() == 'docomo'){ 
     126            if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0) 
     127                $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent::getId(); 
     128        }  
     129        if(SC_MobileUserAgent::getCarrier() == 'docomo'){ 
     130            $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent::getId(); 
     131        } 
     132        if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 
    121133            return false; 
    122134        } 
  • branches/comu-ver2/data/class/pages/entry/LC_Page_Entry.php

    r17795 r17908  
    594594            // 携帯メールアドレス 
    595595            $arrRegist['email_mobile'] = $arrRegist['email']; 
     596            //PHONE_IDを取り出す 
     597            $phoneId = SC_MobileUserAgent::getId(); 
     598            $arrRegist['mobile_phone_id'] =  $phoneId; 
    596599        } 
    597600 
Note: See TracChangeset for help on using the changeset viewer.