Changeset 11889


Ignore:
Timestamp:
2007/03/15 20:46:41 (17 years ago)
Author:
uehara
Message:
 
Location:
branches/dev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/lib/slib.php

    r11861 r11889  
    317317 
    318318/* ¥µ¥¤¥È¥¨¥é¡¼¥Ú¡¼¥¸¤Îɽ¼¨ */ 
    319 function sfDispSiteError($type, $objSiteSess = "", $return_top = false, $err_msg = "") { 
     319function sfDispSiteError($type, $objSiteSess = "", $return_top = false, $err_msg = "", $is_mobile = false) { 
    320320    global $objCampaignSess; 
    321321     
     
    333333     
    334334    $objPage = new LC_ErrorPage(); 
    335     $objView = new SC_SiteView(); 
     335     
     336    if($is_mobile¡¡=== true) { 
     337        $objView = new SC_MobileView();      
     338    } else { 
     339        $objView = new SC_SiteView(); 
     340    } 
    336341     
    337342    switch ($type) { 
  • branches/dev/html/mobile/mypage/index.php

    r11842 r11889  
    7070            $where = "email = ? AND status = 1 AND del_flg = 0"; 
    7171            $ret = $objQuery->count("dtb_customer", $where, array($arrForm['login_email'])); 
    72              
     72 
    7373            if($ret > 0) { 
    74                 sfDispSiteError(TEMP_LOGIN_ERROR); 
     74                sfDispSiteError(TEMP_LOGIN_ERROR, "", false, "", true); 
    7575            } else { 
    76                 sfDispSiteError(SITE_LOGIN_ERROR); 
     76                sfDispSiteError(SITE_LOGIN_ERROR, "", false, "", true); 
    7777            } 
    7878        } 
Note: See TracChangeset for help on using the changeset viewer.