mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
add only message notify to option
This commit is contained in:
parent
ace9c8ea9e
commit
966191963e
3 changed files with 9 additions and 5 deletions
|
|
@ -72,6 +72,7 @@ $lang->ncenterlite_warning = '주의!';
|
|||
$lang->ncenterlite_io = '알림센터 동작여부';
|
||||
$lang->ncenterlite_io_about = '알림센터의 모든 기능을 중지 시킬 수 있습니다.';
|
||||
$lang->ncenterlite_on = '동작';
|
||||
$lang->ncenterlite_message = '쪽지만';
|
||||
$lang->ncenterlite_off = '동작 안 함';
|
||||
$lang->ncenterlite_display = '알림센터 노출여부';
|
||||
$lang->ncenterlite_display_y = '노출';
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ class ncenterliteController extends ncenterlite
|
|||
{
|
||||
return new Object();
|
||||
}
|
||||
if($config->use != 'Y')
|
||||
if($config->use != 'Y' && $config->use != 'message')
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
|
@ -630,7 +630,7 @@ class ncenterliteController extends ncenterlite
|
|||
$config = $oNcenterliteModel->getConfig();
|
||||
|
||||
// 알림센터가 비활성화 되어 있으면 중지
|
||||
if($config->use != 'Y')
|
||||
if($config->use != 'Y' && $config->use != 'message')
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,9 @@
|
|||
<label class="x_inline">
|
||||
<input type="radio" id="use_y" name="use" value="Y" checked="checked"|cond="$config->use == 'Y'" /> {$lang->ncenterlite_on}
|
||||
</label>
|
||||
<label class="x_inline">
|
||||
<input type="radio" id="use_message" name="use" value="message" checked="checked"|cond="$config->use == 'message'" /> {$lang->ncenterlite_message}
|
||||
</label>
|
||||
<label class="x_inline">
|
||||
<input type="radio" id="use_n" name="use" value="N" checked="checked"|cond="$config->use == 'N'" /> {$lang->ncenterlite_off}
|
||||
</label>
|
||||
|
|
@ -57,7 +60,7 @@
|
|||
<label class="x_control-label">멘션 설정</label>
|
||||
<div class="x_controls mention_option">
|
||||
<label class="x_inline">
|
||||
<input type="checkbox" name="mention_format[]" value="respect" data-mention-split="님" checked="checked"|cond="in_array('respect', $config->mention_format)" /> '님'을 붙여 쓸 수 있도록 허용
|
||||
<input type="checkbox" name="mention_format[]" value="respect" data-mention-split="님" checked="checked"|cond="is_array('respect', $config->mention_format) && in_array('respect', $config->mention_format)" /> '님'을 붙여 쓸 수 있도록 허용
|
||||
</label>
|
||||
<ul class="preview">
|
||||
<li data-mention-default="enable"><strong>@스님</strong></li>
|
||||
|
|
@ -117,7 +120,7 @@
|
|||
<p class="x_help-block">선택한 페이지에서 알림센터를 표시하지 않습니다.</p>
|
||||
<div loop="$mid_list => $mid, $item">
|
||||
<label>
|
||||
<input type="checkbox" value="{$item->module_srl}" name="hide_module_srls[]" checked="checked"|cond="in_array($item->module_srl, $config->hide_module_srls)" />
|
||||
<input type="checkbox" value="{$item->module_srl}" name="hide_module_srls[]" checked="checked"|cond="is_array($item->module_srl, $config->hide_module_srls) && in_array($item->module_srl, $config->hide_module_srls)" />
|
||||
<strong>{$item->browser_title}</strong> ({$item->mid} / {strtoupper($item->module)})
|
||||
</label>
|
||||
</div>
|
||||
|
|
@ -129,7 +132,7 @@
|
|||
<p class="x_help-block">선택한 게시판에서는 댓글의 모든 알림을 관리자가 받을 수 있습니다.</p>
|
||||
<div loop="$mid_list => $mid, $item">
|
||||
<label>
|
||||
<input type="checkbox" value="{$item->module_srl}" name="admin_comment_module_srls[]" checked="checked"|cond="in_array($item->module_srl, $config->admin_comment_module_srls)" />
|
||||
<input type="checkbox" value="{$item->module_srl}" name="admin_comment_module_srls[]" checked="checked"|cond="is_array($item->module_srl, $config->admin_comment_module_srls) && in_array($item->module_srl, $config->admin_comment_module_srls)" />
|
||||
<strong>{$item->browser_title}</strong> ({$item->mid} / {strtoupper($item->module)})
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue