ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 3809


Ignore:
Timestamp:
Sep 2, 2007, 8:47:12 PM (12 years ago)
Author:
maruyama
Message:

携帯ID必須機能Slaveに対応

Location:
OpenPNE/branches/work/maruyama/prj_ktai_id/webapp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/maruyama/prj_ktai_id/webapp/lib/auth.inc

    r3800 r3809  
    6363}
    6464
    65 if (OPENPNE_KTAI_ID_REQUIRED) {
    66         if (!db_member_is_ktai_id_registed($u)) {
     65if (OPENPNE_KTAI_ID_REQUIRED && (!IS_SLAVEPNE || $_SESSION['regist_step'])) {
     66    if (!db_member_is_ktai_id_registed($u)) {
    6767        $current_page = $GLOBALS['__Framework']['current_type']."_".$GLOBALS['__Framework']['current_action'];
    6868        //携帯個体識別番号が未登録の場合はリダイレクト
     
    7777                openpne_redirect('pc', 'page_h_regist_ktai_id');
    7878        }
    79         }
     79    }
    8080}
    8181
  • OpenPNE/branches/work/maruyama/prj_ktai_id/webapp/modules/ktai/auth.inc

    r3800 r3809  
    6060    }
    6161}
     62if (OPENPNE_KTAI_ID_REQUIRED && (!IS_SLAVEPNE || $_SESSION['regist_step'])) {
     63    if (!db_member_is_ktai_id_registed($u)) {
     64        $current_page = $GLOBALS['__Framework']['current_type']."_".$GLOBALS['__Framework']['current_action'];
     65        //携帯個体識別番号が未登録の場合はリダイレクト
     66        $ktai_id_ext_page=array(
     67        'page_h_regist_ktai_id'=>true,
     68        'do_h_regist_ktai_id'=>true,
     69        );
     70       
     71        if (!$ktai_id_ext_page[$current_page]) {
     72            openpne_redirect('ktai', 'page_h_regist_ktai_id');
     73        }
     74    }
     75}
    6276
    6377function __logout($msg = 0, $c_member_id = 0)
     
    8195}
    8296
    83 if (OPENPNE_KTAI_ID_REQUIRED) {
    84     if (!db_member_is_ktai_id_registed($u)) {
    85         $current_page = $GLOBALS['__Framework']['current_type']."_".$GLOBALS['__Framework']['current_action'];
    86         //携帯個体識別番号が未登録の場合はリダイレクト
    87         $ktai_id_ext_page=array(
    88         'page_h_regist_ktai_id'=>true,
    89         'do_h_regist_ktai_id'=>true,
    90         );
    91        
    92         if (!$ktai_id_ext_page[$current_page]) {
    93             openpne_redirect('ktai', 'page_h_regist_ktai_id');
    94         }
    95     }
    96 }
    97 
    9897?>
  • OpenPNE/branches/work/maruyama/prj_ktai_id/webapp/modules/pc/do/h_regist_prof.php

    r1856 r3809  
    4747        $profile_list = db_member_c_profile_list4null();
    4848        foreach ($profile_list as $profile) {
    49             if ($profile['disp_config']
     49            if ($profile['disp_regist']
    5050                && $profile['is_required']
    5151                && !$c_member_profile_list[$profile['name']]['value']
Note: See TracChangeset for help on using the changeset viewer.