소셜 로그인 수정
This commit is contained in:
1 parent
c865379f13
commit
b3b0762d30
38 files changed
+1394
-1382
No files matched your search
@@ -17,11 +17,11 @@ function get_social_skin_path(){
|
||||
$theme_path = G5_PATH.'/'.G5_THEME_DIR.'/'.$cf_theme;
|
||||
|
||||
if(G5_IS_MOBILE) {
|
||||
$skin_path = $theme_path.'/'.G5_MOBILE_DIR.'/'.G5_SKIN_DIR.'/'.$dir.'/';
|
||||
$skin_path = $theme_path.'/'.G5_MOBILE_DIR.'/'.G5_SKIN_DIR.'/'.$dir;
|
||||
if(!is_dir($skin_path))
|
||||
$skin_path = $theme_path.'/'.G5_SKIN_DIR.'/'.$dir.'/';
|
||||
$skin_path = $theme_path.'/'.G5_SKIN_DIR.'/'.$dir;
|
||||
} else {
|
||||
$skin_path = $theme_path.'/'.G5_SKIN_DIR.'/'.$dir.'/';
|
||||
$skin_path = $theme_path.'/'.G5_SKIN_DIR.'/'.$dir;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -772,7 +772,7 @@ function social_login_link_account($mb_id, $is_buffer=false, $is_type=''){
|
||||
if( G5_SOCIAL_USE_POPUP )
|
||||
$self_url = G5_SOCIAL_LOGIN_URL.'/popup.php';
|
||||
|
||||
include(get_social_skin_path().'/social_member_form.skin.php');
|
||||
include(get_social_skin_path().'/social_u_register_form.skin.php');
|
||||
}
|
||||
|
||||
$html = ob_get_clean();
|
||||
|
||||
@@ -46,7 +46,7 @@ $req_nick = !isset($member['mb_nick_date']) || (isset($member['mb_nick_date']) &
|
||||
$required = ($w=='') ? 'required' : '';
|
||||
$readonly = ($w=='u') ? 'readonly' : '';
|
||||
|
||||
include_once(G5_SOCIAL_SKIN_PATH.'/social_register_member.skin.php');
|
||||
include_once(get_social_skin_path().'/social_register_member.skin.php');
|
||||
|
||||
include_once(G5_BBS_PATH.'/_tail.php');
|
||||
?>
|
||||
Reference in new issue
Block a user