Enable responsive skin in member, communication, and ncenterlite

회원, 커뮤니케이션, 알림센터Lite 모듈에서 모바일 스킨을 선택할 때
PC와 동일한 반응형 스킨을 지정할 수 있도록 개선
This commit is contained in:
Kijin Sung 2017-12-05 23:57:58 +09:00
parent eb3108b446
commit f0ad692650
6 changed files with 58 additions and 32 deletions

View file

@ -18,13 +18,19 @@ class memberMobile extends memberView
$oSecurity = new Security();
$oSecurity->encodeHTML('member_config.signupForm..');
$mskin = $this->member_config->mskin;
// Set the template path
$mskin = $this->member_config->mskin;
if(!$mskin)
{
$mskin = 'default';
$template_path = sprintf('%sm.skins/%s', $this->module_path, $mskin);
$template_path = sprintf('%sm.skins/%s/', $this->module_path, 'default');
}
elseif($mskin === '/USE_RESPONSIVE/')
{
$template_path = sprintf("%sskins/%s/", $this->module_path, $this->member_config->skin);
if(!is_dir($template_path) || !$this->member_config->skin)
{
$template_path = sprintf("%sskins/%s/", $this->module_path, 'default');
}
}
else
{