mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
댓글 하이라이트 효과를 끌 수 있도록 설정 추가
This commit is contained in:
parent
a15666b018
commit
0d2fde9da0
6 changed files with 29 additions and 5 deletions
|
|
@ -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 = '<strong>Warning!</strong> Rhymix includes notification center by default.<br />Please remove this XE-only module and reinstall the Rhymix native version.';
|
||||
|
|
@ -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 = '메일 알림';
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ class ncenterliteAdminController extends ncenterlite
|
|||
'variable_name',
|
||||
'user_notify_setting',
|
||||
'anonymous_voter',
|
||||
'highlight_effect',
|
||||
'comment_all',
|
||||
'comment_all_notify_module_srls',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -73,6 +73,10 @@ class ncenterliteModel extends ncenterlite
|
|||
{
|
||||
$config->anonymous_voter = 'N';
|
||||
}
|
||||
if(!$config->highlight_effect)
|
||||
{
|
||||
$config->highlight_effect = 'Y';
|
||||
}
|
||||
|
||||
self::$config = $config;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,14 +62,26 @@
|
|||
<label class="x_control-label">{$lang->anonymous_voter}</label>
|
||||
<div class="x_controls">
|
||||
<label class="x_inline">
|
||||
<input type="radio" id="anonymous_voter_y" name="anonymous_voter" value="Y" checked="checked"|cond="$config->anonymous_voter === 'Y'" /> {$lang->use}
|
||||
<input type="radio" name="anonymous_voter" value="Y" checked="checked"|cond="$config->anonymous_voter === 'Y'" /> {$lang->use}
|
||||
</label>
|
||||
<label class="x_inline">
|
||||
<input type="radio" id="anonymous_voter_n" name="anonymous_voter" value="N" checked="checked"|cond="$config->anonymous_voter !== 'Y'" /> {$lang->notuse}
|
||||
<input type="radio" name="anonymous_voter" value="N" checked="checked"|cond="$config->anonymous_voter === 'N'" /> {$lang->notuse}
|
||||
</label>
|
||||
<p class="x_help-block">{$lang->about_anonymous_voter}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->highlight_effect}</label>
|
||||
<div class="x_controls">
|
||||
<label class="x_inline">
|
||||
<input type="radio" name="highlight_effect" value="Y" checked="checked"|cond="$config->highlight_effect === 'Y'" /> {$lang->use}
|
||||
</label>
|
||||
<label class="x_inline">
|
||||
<input type="radio" name="highlight_effect" value="N" checked="checked"|cond="$config->highlight_effect === 'N'" /> {$lang->notuse}
|
||||
</label>
|
||||
<p class="x_help-block">{$lang->about_highlight_effect}</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="x_clearfix btnArea">
|
||||
<div class="x_pull-right">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue