Skip to content

Commit

Permalink
비회원 추천 사용시 비회원도 추천할 수 있도록 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrambo committed Jan 25, 2018
1 parent 67bec11 commit 80b0c69
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions _read.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,19 +302,19 @@ <h4><em class="fa fa-info-circle bd_info_icon"></em> Who's <em>{$oDocument->getN

<!--// Vote -->
<div cond="$mi->votes!='N'" class="rd_vote">
<a cond="$oDocument->getVoted() === false || $oDocument->getVoted() < 0" class="bd_login" href="#" onclick="doCallModuleAction('document','procDocumentVoteUp','{$oDocument->document_srl}');return false;"|cond="$is_logged" style="border:2px solid #{$mi->color};color:#{$mi->color};">
<a cond="$oDocument->getVoted() === false || $oDocument->getVoted() < 0" class="<!--@if($mi->non_login_vote != 'Y')-->bd_login<!--@end-->" href="#" onclick="doCallModuleAction('document','procDocumentVoteUp','{$oDocument->document_srl}');return false;"|cond="$is_logged || $mi->non_login_vote == 'Y'" style="border:2px solid #{$mi->color};color:#{$mi->color};">
<b><i class="fa fa-heart"></i> {$oDocument->get('voted_count')}</b>
<span>{$lang->cmd_vote}</span>
</a>
<a cond="$oDocument->getVoted() > 0" class="bd_login" href="#" onclick="doCallModuleAction('document','procDocumentVoteUpCancel','{$oDocument->document_srl}');return false;"|cond="$is_logged" style="border:2px solid #{$mi->color};color:#{$mi->color};">
<a cond="$oDocument->getVoted() > 0" class="<!--@if($mi->non_login_vote != 'Y')-->bd_login<!--@end-->" href="#" onclick="doCallModuleAction('document','procDocumentVoteUpCancel','{$oDocument->document_srl}');return false;"|cond="$is_logged || $mi->non_login_vote == 'Y'" style="border:2px solid #{$mi->color};color:#{$mi->color};">
<b><i class="fa fa-heart"></i> {$oDocument->get('voted_count')}</b>
<span>{$lang->cmd_vote}</span>
</a>
<a cond="!$mi->votes && $oDocument->getVoted() === false || $oDocument->getVoted() > 0" class="blamed bd_login" href="#" onclick="doCallModuleAction('document','procDocumentVoteDown','{$oDocument->document_srl}');return false;"|cond="$is_logged">
<a cond="!$mi->votes && $oDocument->getVoted() === false || $oDocument->getVoted() > 0" class="blamed <!--@if($mi->non_login_vote != 'Y')-->bd_login<!--@end-->" href="#" onclick="doCallModuleAction('document','procDocumentVoteDown','{$oDocument->document_srl}');return false;"|cond="$is_logged || $mi->non_login_vote == 'Y'">
<b><i class="fa fa-heart"></i> {$oDocument->get('blamed_count')}</b>
<span>{$lang->cmd_vote_down}</span>
</a>
<a cond="!$mi->votes && $oDocument->getVoted() < 0" class="blamed bd_login" href="#" onclick="doCallModuleAction('document','procDocumentVoteDownCancel','{$oDocument->document_srl}');return false;"|cond="$is_logged">
<a cond="!$mi->votes && $oDocument->getVoted() < 0" class="blamed <!--@if($mi->non_login_vote != 'Y')-->bd_login<!--@end-->" href="#" onclick="doCallModuleAction('document','procDocumentVoteDownCancel','{$oDocument->document_srl}');return false;"|cond="$is_logged || $mi->non_login_vote == 'Y'">
<b><i class="fa fa-heart"></i> {$oDocument->get('blamed_count')}</b>
<span>{$lang->cmd_vote_down}</span>
</a>
Expand Down Expand Up @@ -406,4 +406,5 @@ <h4><em class="fa fa-info-circle bd_info_icon"></em> Who's <em>{$oDocument->getN
</div>
</div>

<hr id="rd_end_{$oDocument->document_srl}" class="rd_end clear" />
<hr id="rd_end_{$oDocument->document_srl}" class="rd_end clear" />

0 comments on commit 80b0c69

Please sign in to comment.