diff --git a/modules/ncenterlite/lang/en.php b/modules/ncenterlite/lang/en.php
index 70f9fbb19..237989925 100644
--- a/modules/ncenterlite/lang/en.php
+++ b/modules/ncenterlite/lang/en.php
@@ -109,4 +109,6 @@ $lang->about_user_notify_setting = 'Each member can set a notify settings. Warni
$lang->msg_not_use_user_setting = 'user setting\'s not use. Please contact your administrator.';
$lang->anonymous_voter = 'anonymous voter';
$lang->about_anonymous_voter = 'anonymize voter in vote notification';
+$lang->highlight_effect = 'highlight effect';
+$lang->about_highlight_effect = 'it gives highlight effect to the comment when access the comment URL.';
$lang->msg_denger_rhymix_user = 'Warning! Rhymix includes notification center by default.
Please remove this XE-only module and reinstall the Rhymix native version.';
\ No newline at end of file
diff --git a/modules/ncenterlite/lang/ko.php b/modules/ncenterlite/lang/ko.php
index 1379fe242..35a433cb1 100644
--- a/modules/ncenterlite/lang/ko.php
+++ b/modules/ncenterlite/lang/ko.php
@@ -143,6 +143,8 @@ $lang->member_phone_variable = '회원전화번호 변수';
$lang->member_phone_variable_about = '회원전화번호 변수를 선택합니다. 회원전화번호 변수가 1개일 경우 설치시 자동으로 설정이 저장됩니다. 이 경우 설정을 할 필요가 없어서 설정을 선택할 수 없습니다.';
$lang->anonymous_voter = '추천인 익명';
$lang->about_anonymous_voter = '추천 알림시 추천인을 익명으로 처리합니다.';
+$lang->highlight_effect = '하이라이트 효과';
+$lang->about_highlight_effect = '댓글 URL로 접근시 해당 댓글에 하이라이트 효과를 줍니다.';
$lang->fail_module_install = '모듈설치에 실패하였습니다.';
$lang->cmd_web_notify = '웹 알림';
$lang->cmd_mail_notify = '메일 알림';
diff --git a/modules/ncenterlite/ncenterlite.admin.controller.php b/modules/ncenterlite/ncenterlite.admin.controller.php
index 60c608a90..7891bd6b7 100644
--- a/modules/ncenterlite/ncenterlite.admin.controller.php
+++ b/modules/ncenterlite/ncenterlite.admin.controller.php
@@ -31,6 +31,7 @@ class ncenterliteAdminController extends ncenterlite
'variable_name',
'user_notify_setting',
'anonymous_voter',
+ 'highlight_effect',
'comment_all',
'comment_all_notify_module_srls',
);
diff --git a/modules/ncenterlite/ncenterlite.controller.php b/modules/ncenterlite/ncenterlite.controller.php
index e046e0074..6c7753d00 100644
--- a/modules/ncenterlite/ncenterlite.controller.php
+++ b/modules/ncenterlite/ncenterlite.controller.php
@@ -812,11 +812,14 @@ class ncenterliteController extends ncenterlite
{
return;
}
-
+
Context::set('ncenterlite_config', $config);
- Context::loadFile(array('./modules/ncenterlite/tpl/js/ncenterlite.js', 'body', '', 100000));
-
+ if($config->highlight_effect === 'Y')
+ {
+ Context::loadFile(array('./modules/ncenterlite/tpl/js/ncenterlite.js', 'body', '', 100000));
+ }
+
$logged_info = Context::get('logged_info');
$_output = $oNcenterliteModel->getMyNotifyList($logged_info->member_srl);
diff --git a/modules/ncenterlite/ncenterlite.model.php b/modules/ncenterlite/ncenterlite.model.php
index df3c06fc6..360c500e4 100644
--- a/modules/ncenterlite/ncenterlite.model.php
+++ b/modules/ncenterlite/ncenterlite.model.php
@@ -73,6 +73,10 @@ class ncenterliteModel extends ncenterlite
{
$config->anonymous_voter = 'N';
}
+ if(!$config->highlight_effect)
+ {
+ $config->highlight_effect = 'Y';
+ }
self::$config = $config;
}
diff --git a/modules/ncenterlite/tpl/advancedconfig.html b/modules/ncenterlite/tpl/advancedconfig.html
index 761c7d864..311d09f0d 100644
--- a/modules/ncenterlite/tpl/advancedconfig.html
+++ b/modules/ncenterlite/tpl/advancedconfig.html
@@ -62,14 +62,26 @@
{$lang->about_anonymous_voter}
{$lang->about_highlight_effect}
+