웹마스터 팁

기존의 것은 레이아웃마다 결과가 다를수도 있어서
다시 수정하였습니다..

(익스8,크롬,파이어폭스 테스트완료)


-------------------------------------------------------------------------------------


/xe/modules/board/skins/sketchbook5/_comment_write.html 파일 수정


60번대 줄에서(아닐수도...opt_chk 로 검색하면 2곳이 나오는데 위쪽부분... ) 

아래 코드중 빨간 부분 추가 합니다..



<button cond="$mi->cmt_wrt=='editor'" type="submit" class="btn fr">{$lang->cmd_registration}</button>
<!--추천버튼 추가-->
<div align="right" cond="$is_logged" >
<input onclick="doCallModuleAction('document','procDocumentVoteUp',{$oDocument->document_srl});" type="submit" value="{$lang->cmd_vote}+{$lang->cmd_submit}" class="btn" style="height:28px; width:60px; padding:0;"/>
</div>
<!--추천버튼 추가 끝-->
<div class="opt_chk">
<block cond="$is_logged"><input type="checkbox" name="notify_message" value="Y" id="notify_message_{$oDocument->document_srl}" /> <label for="notify_message_{$oDocument->document_srl}">{$lang->notify}</label></block>
<block cond="$mi->secret=='Y'"><input type="checkbox" name="is_secret" value="Y" id="is_secret_{$oDocument->document_srl}" /> <label for="is_secret_{$oDocument->document_srl}">{$lang->secret}</label></block>
</div>





-------------------------- 결과 ---------------------------------

▼평소모습▼
평상시.jpg



▼댓글 내용 입력시 추천+등록 버튼 생성▼
클릭시.jpg

▼로그인 안했을시 ▼
로그인x.jpg


▼레이아웃에 맞춰지도록 적용▼
321.jpg
-----------------------------------------------------------
비회원일경우 추천 기능이 동작하지 않아서
추천+등록 버튼 나오지 않도록 하였습니다.


제목 글쓴이 날짜

등록된 글이 없습니다.