From 38d83a9761f9752f9dc8a4e2f42fde88dec709c5 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Tue, 14 Feb 2017 13:46:05 +0900 Subject: [PATCH] Reorder and clean up session-related settings in admin module --- modules/admin/lang/en.php | 6 +++--- modules/admin/lang/ko.php | 4 ++-- modules/admin/tpl/config_advanced.html | 16 ++++++++++------ 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/modules/admin/lang/en.php b/modules/admin/lang/en.php index 281d27c86..d9756bb46 100644 --- a/modules/admin/lang/en.php +++ b/modules/admin/lang/en.php @@ -111,8 +111,8 @@ $lang->ssl_options['always'] = 'Always'; $lang->about_use_ssl = 'Selecting \'Optional\' is to use SSL for the specified actions such as signing up and changing information. Selecting \'Always\' is to use SSL for all services. Please be careful because you may not be avaliable to access to the site if you use SSL where its environment is not set.'; $lang->server_ports = 'Server Port'; $lang->about_server_ports = 'If your web server does not use 80 for HTTP or 443 for HTTPS port, you should specify server ports.'; -$lang->use_db_session = 'Use Session DB'; -$lang->about_db_session = 'This setting will use PHP session as DB during authentication. For the Websites which do not use web server frequently, you can uncheck this setting to improve response time. However, session DB will make it impossible to get current users, so you cannot use related functions.'; +$lang->use_db_session = 'Store Session in DB'; +$lang->about_db_session = 'Store PHP sessions in the database. This setting must be turned on if you want to see current users or get detailed statistics.
Unnecessary use may decrease server performance.'; $lang->qmail_compatibility = 'Enable Qmail'; $lang->minify_scripts = 'Minify scripts'; $lang->cmd_minify_all = 'All files'; @@ -237,7 +237,7 @@ $lang->detail_use_mobile_icon = 'The mobile icon should be 57x57 or 114x114, onl $lang->cmd_site_default_image = 'Default Image'; $lang->about_site_default_image = 'This image will be shown when your site is linked to in various social networks. It should be 200x200, either jpg or png format.'; $lang->use_sso = 'Use SSO?'; -$lang->about_use_sso = 'SSO will enable users to sign in just once for both default and virtual site. You will need this only if you are using virtual sites.'; +$lang->about_use_sso = 'If your site uses multiple domains, logging into one domain will automatically log the user into all domains.'; $lang->about_arrange_session = 'Do you want to clean up session?'; $lang->cmd_clear_session = 'Clean up session'; $lang->save = 'Save'; diff --git a/modules/admin/lang/ko.php b/modules/admin/lang/ko.php index 07309689c..e407791f1 100644 --- a/modules/admin/lang/ko.php +++ b/modules/admin/lang/ko.php @@ -112,7 +112,7 @@ $lang->about_use_ssl = '\'선택적으로\'는 회원가입, 정보수정 등의 $lang->server_ports = '서버 포트 지정'; $lang->about_server_ports = 'HTTP는 80, HTTPS는 443 이 아닌, 다른 포트를 사용할 경우에 포트를 지정해 주어야 합니다.'; $lang->use_db_session = '인증 세션 DB 사용'; -$lang->about_db_session = '인증 시 사용되는 PHP 세션을 DB로 사용하는 기능입니다. 웹서버의 사용률이 낮은 사이트에서는 비활성화시 사이트 응답 속도가 향상될 수 있습니다. 단, 현재 접속자를 구할 수 없어 관련된 기능을 사용할 수 없게 됩니다.'; +$lang->about_db_session = '세션을 DB에 저장합니다. 현재 접속자를 파악하려면 이 기능을 켜야 합니다.
불필요하게 사용하면 서버 성능에 악영향을 줄 수 있으니 주의하십시오.'; $lang->qmail_compatibility = '큐메일(Qmail) 사용'; $lang->minify_scripts = '스크립트 자동 압축'; $lang->cmd_minify_all = '모든 파일을 압축'; @@ -232,7 +232,7 @@ $lang->detail_use_mobile_icon = '57x57 또는 114x114 크기의 png 파일을 $lang->cmd_site_default_image = '사이트 대표 이미지'; $lang->about_site_default_image = 'SNS 등에 이 사이트가 링크되었을 때 표시되는 이미지입니다. 200x200 크기의 jpg 또는 png 파일을 권장합니다.'; $lang->use_sso = 'SSO 사용'; -$lang->about_use_sso = '사용자가 한 번만 로그인하면 기본 사이트와 가상 사이트에 동시에 로그인이 됩니다. 가상 사이트를 사용할 때만 필요합니다.'; +$lang->about_use_sso = '여러 도메인을 사용하는 사이트에서 한 번만 로그인하면 모든 도메인에 로그인되도록 합니다.'; $lang->about_arrange_session = '세션을 정리하시겠습니까?'; $lang->cmd_clear_session = '세션 정리'; $lang->save = '저장'; diff --git a/modules/admin/tpl/config_advanced.html b/modules/admin/tpl/config_advanced.html index 30c7a35c6..d55d744dc 100644 --- a/modules/admin/tpl/config_advanced.html +++ b/modules/admin/tpl/config_advanced.html @@ -36,10 +36,12 @@
- +
- - + + +
+

{$lang->about_db_session}

@@ -70,10 +72,12 @@
- +
- - + + +
+

{$lang->about_use_sso}