UI interface improvements.

This commit is contained in:
BJRambo 2016-03-29 11:33:34 +09:00
parent a39dc762c2
commit 6b3a1570d7
4 changed files with 68 additions and 39 deletions

View file

@ -11,11 +11,11 @@
<div class="x_control-group">
<label class="x_control-label"><span class="x_label x_label-important">{$lang->ncenterlite_warning}</span> {$lang->ncenterlite_io}</label>
<div class="x_controls">
<label for="notify_mention" class="x_inline"><input type="checkbox" name="use[mention]" id="notify_mention" value="1" checked="checked"|cond="isset($config->use[mention])" /> mention</label>
<label for="notify_comment" class="x_inline"><input type="checkbox" name="use[comment]" id="notify_comment" value="1" checked="checked"|cond="isset($config->use[comment])" /> comment</label>
<label for="notify_comment_comment" class="x_inline"><input type="checkbox" name="use[comment_comment]" id="notify_comment_comment" value="1" checked="checked"|cond="isset($config->use[comment_comment])" /> comment_comment</label>
<label for="notify_vote" class="x_inline"><input type="checkbox" name="use[vote]" id="notify_vote" value="1" checked="checked"|cond="isset($config->use[vote])" /> vote</label>
<label for="notify_message" class="x_inline"><input type="checkbox" name="use[message]" id="notify_message" value="1" checked="checked"|cond="isset($config->use[message])" /> message</label>
<label for="notify_mention" class="x_inline"><input type="checkbox" name="use[mention]" id="notify_mention" value="1" checked="checked"|cond="isset($config->use[mention])" /> {$lang->ncenterlite_mention}</label>
<label for="notify_comment" class="x_inline"><input type="checkbox" name="use[comment]" id="notify_comment" value="1" checked="checked"|cond="isset($config->use[comment])" /> {$lang->ncenterlite_comment}</label>
<label for="notify_comment_comment" class="x_inline"><input type="checkbox" name="use[comment_comment]" id="notify_comment_comment" value="1" checked="checked"|cond="isset($config->use[comment_comment])" /> {$lang->ncenterlite_comment_comment}</label>
<label for="notify_vote" class="x_inline"><input type="checkbox" name="use[vote]" id="notify_vote" value="1" checked="checked"|cond="isset($config->use[vote])" /> {$lang->ncenterlite_cmd_vote}</label>
<label for="notify_message" class="x_inline"><input type="checkbox" name="use[message]" id="notify_message" value="1" checked="checked"|cond="isset($config->use[message])" /> {$lang->ncenterlite_type_message}</label>
</div>
</div>
<div class="x_control-group">
@ -31,28 +31,19 @@
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">익명 알림에서 익명 이름 설정</label>
<label class="x_control-label">{$lang->anonymous_nick_name_setting}</label>
<div class="x_controls">
<input type="text" name="anonymous_name" value="{$config->anonymous_name}" />
<p class="x_help-block">익명 게시판 등에서 알림이 등록될 시, Anonymous 등 익명을 표시할 이름을 설정할 수 있습니다. 기본은 Anonymous 입니다.</p>
<p class="x_help-block">{$lang->about_anonymous_nick_name}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">멘션 설정</label>
<label class="x_control-label">{$lang->mention_setting}</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="is_array($config->mention_format) && in_array('respect', $config->mention_format)" /> '님'을 붙여 쓸 수 있도록 허용
<input type="checkbox" name="mention_format[]" value="respect" data-mention-split="님" checked="checked"|cond="is_array($config->mention_format) && in_array('respect', $config->mention_format)" />{$lang->mention_nim}
</label>
<ul class="preview">
<li data-mention-default="enable"><strong>@스님</strong></li>
<li data-mention-default="enable"><strong>@선생님이다</strong></li>
<li data-mention-default="enable"><strong>@NAME</strong>&nbsp;&nbsp;</li>
<li data-mention-default="enable"><strong>@NAME</strong>&nbsp;&nbsp;</li>
<li><strong>@NAME</strong></li>
<li><strong>@NAME</strong>님과</li>
<li><strong>@NAME1</strong>님,&nbsp;&nbsp;<strong>@NAME2</strong>님이&nbsp;&nbsp;</li>
</ul>
<p class="x_help-block">녹색으로 표시된 예시처럼 사용할 수 있습니다.</p>
{$lang->about_mention_preview}
</div>
</div>
<div class="x_control-group">
@ -68,15 +59,15 @@
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">회원정보 메뉴노출 설정</label>
<label class="x_control-label">{$lang->member_menu_view}</label>
<div class="x_controls">
<label class="x_inline">
<input type="radio" id="user_config_list_id" name="user_config_list" value="Y" checked="checked"|cond="$config->user_config_list == 'Y'" /> 회원정보에 표시함
<input type="radio" id="user_config_list_id" name="user_config_list" value="Y" checked="checked"|cond="$config->user_config_list == 'Y'" /> {$lang->member_menu_on}
</label>
<label class="x_inline">
<input type="radio" id="user_config_list_nick_name" name="user_config_list" value="N" checked="checked"|cond="$config->user_config_list == 'N'" /> 표기안함
<input type="radio" id="user_config_list_nick_name" name="user_config_list" value="N" checked="checked"|cond="$config->user_config_list == 'N'" /> {$lang->member_menu_off}
</label>
<p class="x_help-block">회원정보보기에서 메뉴 목록에 회원알림센터 설정 및 회원알림목록을 접근할 수잇는 페이지를 노출하거나 노출 시키지 않을 수 있습니다.</p>
<p class="x_help-block">{$lang->about_member_menu_view}</p>
</div>
</div>
<div class="x_control-group">
@ -87,9 +78,7 @@
<p>{$lang->ncenterlite_document_event_read_about}</p>
</div>
</div>
</section>
<div class="x_clearfix btnArea">
<div class="x_pull-right">
<button class="x_btn x_btn-primary" type="submit">{$lang->cmd_registration}</button>

View file

@ -4,7 +4,7 @@
<section class="section">
<h1>알림 목록</h1>
<p class="x_well x_well-small" cond="!$ncenterlite_list">알림이 없습니다.</p>
<p class="x_well x_well-small" cond="!$ncenterlite_list">{$lang->ncenterlite_no_notify}</p>
<block cond="$ncenterlite_list">
<div class="x_clearfix">
@ -12,9 +12,9 @@
<fieldset>
<input type="hidden" name="module" value="ncenterlite" />
<input type="hidden" name="act" value="procNcenterliteAdminDeleteNofity" />
<button type="submit" class="x_btn">전체 삭제</button>
<button type="submit" name="old_date" value="{date('Ymd', strtotime('-1 month'))}" class="x_btn">한 달 이전의 알림 삭제</button>
<p class="x_help-block"><span class="x_label x_label-important">주의!</span> 회원이 확인하지 않은 알림도 삭제됩니다.</p>
<button type="submit" class="x_btn">{$lang->ncenterlite_all_delete}</button>
<button type="submit" name="old_date" value="{date('Ymd', strtotime('-1 month'))}" class="x_btn">{$lang->ncenterlite_month_before_delete}</button>
<p class="x_help-block"><span class="x_label x_label-important">{$lang->ncenterlite_warning}</span> {$lang->dont_check_notify_delete}</p>
</fieldset>
</form>
</div>
@ -22,10 +22,10 @@
<table class="x_table x_table-striped x_table-hover" style="margin-top:20px;">
<thead>
<tr>
<th scope="col" class="nowr" style="width:100px;">보낸사람</th>
<th scope="col" style="width:100px;">받은사람</th>
<th scope="col" style="width:500px;">내용</th>
<th scope="col" style="width:50px;">읽음여부</th>
<th scope="col" class="nowr" style="width:100px;">{$lang->send_member}</th>
<th scope="col" style="width:100px;">{$lang->resiver_member}</th>
<th scope="col" style="width:500px;">{$lang->notify_content}</th>
<th scope="col" style="width:50px;">{$lang->notify_read_check}</th>
<th scope="col" style="width:100px;">{$lang->date}</th>
</tr>
</thead>
@ -39,7 +39,10 @@
<td>{$val->target_nick_name}</td>
<td cond="$member_info->member_srl">{$member_info->nick_name}</td> <td cond="!$member_info->member_srl">타겟없음</td>
<td><a href="{$val->target_url}">{$val->text}</a></td>
<td>{$val->readed}</td>
<td>
<span cond="$val->readed == 'Y'" style="color:#8582E6">{$lang->notify_readed}</span>
<span cond="$val->readed != 'Y'" style="color:#FF2828">{$lang->notify_dont_readed}</span>
</td>
<td>
{zdate($val->regdate,"Y-m-d")}
</br>

View file

@ -10,9 +10,9 @@
<section class="section">
<div class="x_control-group">
<label class="x_control-label">알림센터 사용여부</label>
<label class="x_control-label">{$lang->ncenterlite_notify_setting}</label>
<div class="x_controls">
<p class="x_help-block">선택한 페이지에서 알림센터를 표시하지 않습니다.</p>
<p class="x_help-block">{$lang->ncenterlite_about_notify_setting}</p>
<div loop="$mid_list => $mid, $item">
<label>
<input type="checkbox" value="{$item->module_srl}" name="hide_module_srls[]" checked="checked"|cond="is_array($config->hide_module_srls) && in_array($item->module_srl, $config->hide_module_srls)" />
@ -22,9 +22,9 @@
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">댓글 알림 사용게시판</label>
<label class="x_control-label">{$lang->ncenterlite_notify_comment}</label>
<div class="x_controls">
<p class="x_help-block">선택한 게시판에서는 댓글의 모든 알림을 관리자가 받을 수 있습니다.</p>
<p class="x_help-block">{$lang->ncenterlite_about_notify_comment}</p>
<div loop="$mid_list => $mid, $item">
<label>
<input type="checkbox" value="{$item->module_srl}" name="admin_comment_module_srls[]" checked="checked"|cond="is_array($config->admin_comment_module_srls) && in_array($item->module_srl, $config->admin_comment_module_srls)" />