mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 17:19:59 +09:00
개별 문서 댓글 알림을 차단하는 옵션 추가
This commit is contained in:
parent
7285a332b7
commit
c315a6ad10
15 changed files with 447 additions and 0 deletions
65
modules/ncenterlite/skins/default/individualBlock.html
Normal file
65
modules/ncenterlite/skins/default/individualBlock.html
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<load target="../../../member/skins/default/css/member.css" />
|
||||
<include target="../../../member/skins/default/common_header.html" />
|
||||
<div class="xm">
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/ncenterlite/skins/default/individualblock/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
||||
|
||||
<form ruleset="insertConfig" action="./" method="post" class="form-horizontal" id="fo_ncenterlite">
|
||||
<input type="hidden" name="module" value="ncenterlite" />
|
||||
<input type="hidden" name="act" value="procNcenterliteInsertIndividualBlock" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/ncenterlite/skins/default/individualblock/1" />
|
||||
<!--@if($individualData)-->
|
||||
<input type="hidden" name="target_srl" value="{$individualData->target_srl}" />
|
||||
<input type="hidden" name="individual_srl" value="{$individualData->individual_srl}" />
|
||||
<input type="hidden" name="individual_type" value="{$individualData->individual_type}" />
|
||||
<!--@else-->
|
||||
<input type="hidden" name="target_srl" value="{$target_srl}" />
|
||||
<input type="hidden" name="individual_srl" value="{$individual_srl}" />
|
||||
<input type="hidden" name="individual_type" value="{$individual_type}" />
|
||||
<!--@end-->
|
||||
<section class="section">
|
||||
<div class="control-group">
|
||||
<label class="control-label">글 종류</label>
|
||||
<div class="controls">
|
||||
<p>
|
||||
{$type}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">내용</label>
|
||||
<div class="controls">
|
||||
<p>
|
||||
<!--@if($individualData)-->
|
||||
{$individualData->text}
|
||||
<!--@else-->
|
||||
{$text}
|
||||
<!--@end-->
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">{$lang->this_message_block}</label>
|
||||
<div class="controls">
|
||||
<label class="inline">
|
||||
<input type="radio" name="value" value="Y" checked="checked"|cond="$individualData->value != 'N'" /> {$lang->ncenterlite_to_block}
|
||||
</label>
|
||||
<label class="inline">
|
||||
<input type="radio" name="value" value="N" checked="checked"|cond="$individualData->value == 'N'" /> {$lang->ncenterlite_unblock}
|
||||
</label>
|
||||
<p>{$lang->about_this_message_block}</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="clearfix btnArea">
|
||||
<div class="pull-right">
|
||||
<button class="btn btn-primary" type="submit">{$lang->cmd_registration}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<include target="../../../member/skins/default/common_footer.html" />
|
||||
59
modules/ncenterlite/skins/default/individualList.html
Normal file
59
modules/ncenterlite/skins/default/individualList.html
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<include target="../../../member/skins/default/common_header.html" />
|
||||
<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>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($individual_list as $no => $val)-->
|
||||
<tr>
|
||||
<td>
|
||||
<!--@if($val->individual_type == 'document')-->
|
||||
<span>문서</span>
|
||||
<!--@else-->
|
||||
<span>댓글</span>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>
|
||||
<!--@if($val->individual_type == 'document')-->
|
||||
<a href="{getUrl('', 'document_srl', $val->target_url)}">{$val->text}</a>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('', 'document_srl', $val->document_srl)}#{$val->target_srl}">{$val->text}</a>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>
|
||||
<form action="./" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="module" value="ncenterlite" />
|
||||
<input type="hidden" name="act" value="procNcenterliteInsertIndividualBlock" />
|
||||
<input type="hidden" name="target_srl" value="{$val->target_srl}" />
|
||||
<input type="hidden" name="individual_type" value="{$val->individual_type}" />
|
||||
<input type="hidden" name="individual_srl" value="{$val->individual_srl}" />
|
||||
<select name="value" style="width:75px;">
|
||||
<option value="Y">{$lang->ncenterlite_to_block}</option>
|
||||
<option value="N">{$lang->ncenterlite_unblock}</option>
|
||||
</select>
|
||||
<button type="submit" class="x_btn">{$lang->cmd_setup}</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@endforeach-->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="pagination pagination-centered">
|
||||
<ul>
|
||||
<li><a href="{getUrl('page','')}" class="direction">« {$lang->first_page}</a></li>
|
||||
<!--@if($page_navigation)-->
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<li class="active"|cond="$page == $page_no"><a href="{getUrl('page',$page_no)}">{$page_no}</a></li>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<li><a href="{getUrl('page',$page_navigation->last_page)}" class="direction">{$lang->last_page} »</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<include target="../../../member/skins/default/common_footer.html" />
|
||||
Loading…
Add table
Add a link
Reference in a new issue