mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
\#1558 보완
- 설정값 명칭을 기존에 사용하던 쿠키값과 동일하게 auto, light, dark로 통일하여 혼동을 방지합니다. - 지나치게 긴 설명문보다는 옵션 명칭 자체가 충분히 의미를 전달할 수 있도록 합니다. - 설명문을 길게 써야 할 경우 매뉴얼에 넣어 주세요. - 설정을 변경하지 않고 저장할 경우, 자동 감지를 기본값으로 합니다.
This commit is contained in:
parent
899fe00dda
commit
c18e0a7225
5 changed files with 15 additions and 28 deletions
|
|
@ -1114,10 +1114,10 @@ class adminAdminController extends admin
|
|||
$vars->html_footer = utf8_trim($vars->html_footer);
|
||||
|
||||
// Validate the color scheme setting.
|
||||
$valid_color_scheme_options = array('off_light', 'off_dark', 'auto_light_dark');
|
||||
$valid_color_scheme_options = array('auto', 'light', 'dark');
|
||||
if (!in_array($vars->color_scheme, $valid_color_scheme_options))
|
||||
{
|
||||
$vars->color_scheme = 'off_light';
|
||||
$vars->color_scheme = 'auto';
|
||||
}
|
||||
|
||||
// Merge all settings into an array.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue