Skip to content

Commit

Permalink
refs #1654 : modified - classic skin uses smartphone UI by default.
Browse files Browse the repository at this point in the history
 -
  • Loading branch information
inureyes committed Dec 13, 2014
1 parent 8a34874 commit b4f2f0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion interface/owner/setting/blog/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ function setLocale() {
<dl id="blog-iphone-ui-line" class="line">
<dt><span class="label"><?php echo _t('모바일 인터페이스');?></span></dt>
<dd>
<input type="checkbox" id="useiPhoneUI" class="checkbox" name="useiPhoneUI"<?php echo (Setting::getBlogSettingGlobal('useiPhoneUI',true) ? ' checked="checked"' : '');?> /><label for="useiPhoneUI"><?php echo _t('iPhone / iPod Touch로 블로그에 접속할 경우 자동으로 iPhone용 인터페이스로 이동합니다.');?></label>
<input type="checkbox" id="useiPhoneUI" class="checkbox" name="useiPhoneUI"<?php echo (Setting::getBlogSettingGlobal('useiPhoneUI',true) ? ' checked="checked"' : '');?> /><label for="useiPhoneUI"><?php echo _t('스마트폰으로 기기로 블로그에 접속할 경우 자동으로 스마트폰용 인터페이스로 이동합니다.');?></label>
</dd>
</dl>
</fieldset>
Expand Down
2 changes: 2 additions & 0 deletions library/model/blog.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ function selectSkin($blogid, $skinName) {
Setting::setBlogSetting('useiPhoneUI',1,true);
}
}
} else {
Setting::setBlogSetting('useiPhoneUI',1,true);
}
// none/single/multiple
$value = $xmls->getValue('/skin/default/commentMessage/none');
Expand Down

0 comments on commit b4f2f0e

Please sign in to comment.