알림 수신 거부 기능을 드롭다운 메뉴에 추가 (#1301)

알림센터의 수신 거부 기능을 드롭다운 메뉴에 추가.

* 알림 수신 설정 메뉴 트리거 코드 수정
* Unsubscribe_srl이 잘못된 값일 경우에 대한 오류 처리 추가
* Refining the unsubscribing methods
* 사용하지 않는 변수 제거, 오류 문구 정리
* 사용할 필요가 없어진 $member_srl 변수 사용 안함.
* 수신 거부 해제 대상이 아닌 컨텐츠를 수신 거부 해제 요청시 오류 문구 추가.
* Support multi-lang for the unsubscribing page of default skin
This commit is contained in:
Min-Soo Kim 2020-05-31 22:44:14 +09:00 committed by GitHub
parent 81774f6e96
commit 43fe12af13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 144 additions and 32 deletions

View file

@ -20,7 +20,7 @@
<!--@end-->
<section class="section">
<div class="control-group">
<label class="control-label">글 종류</label>
<label class="control-label">{lang('ncenterlite_content_type')}</label>
<div class="controls">
<p>
{$type}
@ -28,7 +28,7 @@
</div>
</div>
<div class="control-group">
<label class="control-label">내용</label>
<label class="control-label">{lang('content')}</label>
<div class="controls">
<p>
<!--@if($unsubscribeData)-->

View file

@ -5,9 +5,9 @@
<table class="table table-striped table-hover" style="margin-top:20px;">
<thead class="bg_f_f9">
<tr>
<th scope="col">타입</th>
<th scope="col">콘텐츠</th>
<th scope="col">차단설정</th>
<th scope="col">{lang('ncenterlite_content_type')}</th>
<th scope="col">{lang('content')}</th>
<th scope="col">{lang('ncenterlite_notify_settings')}</th>
</tr>
</thead>
<tbody>
@ -15,9 +15,9 @@
<tr>
<td>
<!--@if($val->unsubscribe_type == 'document')-->
<span>문서</span>
<span>{lang('document')}</span>
<!--@else-->
<span>댓글</span>
<span>{lang('comment')}</span>
<!--@end-->
</td>
<td>