묻고답하기
목록, 수정, 삭제 view_document.html 오류 ㅠㅠ
2011.01.23 22:53
view_document.html 파일을 아래와 같이 수정해줬습니다
관리자 계정으로 테스트 하였을시에는 모든 버튼이 보이고 정상 작동하는대
다른 아이디로 로그인하거나 로그아웃 하였을시에는 목록만 나타납니다
무엇이 잘못 되었는지 어디를 손봐야 하는지 부탁드립니다 실시간 확인하겠습니다
<!-- 목록, 수정/삭제 버튼 -->
<div class="contentButton">
<default_style">!--@if($module_info->default_style != 'blog' || ($module_info->default_style == 'blog' && Context::get('document_srl')))-->
<center><a href="{getUrl('document_srl','')}" class="button {$btn_class}"><span><default_style">!--@if($module_info->default_style != 'blog'+
')-->{$lang->cmd_list}<{$lang->cmd_view_all}!--@else-->{$lang->cmd_view_all}<!--@end--></span></a>
<!--@end-->
<isEditable">!--@if($oDocument->isEditable())-->
<!--추천-->
<a href="#" onclick="doCallModuleAction('document','procDocumentVoteUp','{$document_srl}');return false;" class="button"><span>{$menu_str = Context::getLang('cmd_vote')}</span></a>
<!--비추천-->
<a href="#" onclick="doCallModuleAction('document','procDocumentVoteDown','{$document_srl}');return false;" class="button"><span>{$menu_str = Context::getLang('cmd_vote_down')}</span></a>
<!--신고-->
<a href="#" onclick="doCallModuleAction('document','procDocumentDeclare','{$document_srl}');return false;" class="button"><span>{$menu_str = Context::getLang('cmd_declare')}</span></a>
<!--스크랩-->
<!--@if($is_logged)-->
<a href="#" onclick="doScrap({$oDocument->document_srl}); return false;" class="button"><span>{$lang->cmd_scrap}</span></a>
<!--@end-->
<!--프린트-->
<a href="{getUrl('','act','dispDocumentPrint'+
','document_srl',$oDocument->document_srl)}" onclick="winopen(this.href);return false;" class="button"><span>{$lang->cmd_print}</span></a>
<a href="{getUrl('act','dispBoardWrite','document_srl'+
',$oDocument->document_srl,'comment_srl','')}" class="button {$btn_class}"><span>{$lang->cmd_modify}</span></a>
<a href="{getUrl('act','dispBoardDelete','document_srl',$oDocument->document_srl,'comment_srl','')}" class="button {$btn_class}"><span>{$lang->cmd_delete}</span></a>
</center><!--@end-->
</div>
</div>
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
파일 첨부창이 안뜹니다. 컴퓨터 랜덤;;;; [2] | 2009.03.05 by 스마일 | |
샤릉해 | PageHandler.class.php 사용방법 [1] | 2009.03.05 by 지연아빠 |
sky | 모듈 [1] | 2009.03.05 by 지연아빠 |
하츠하루 | 제로보드가 에러가 났어요; 급합니다. [2] | 2009.03.05 by sgpark |
mvm | 외부페이지를 불러와 다른 서비스의 세션을 인식 시킬수 있나요? [1] | 2009.03.05 by gsaG |
shhyun.myid.net | 특정 사용자들이 자료를 받아가지를 못합니다. [1] | 2009.03.05 by 백성찬 |
건강하게살자 | 질문드립니다 [1] | 2009.03.05 by cxvcx |
지킬께♥ | 회원가입폼에 주민번호 체크시 외국인 가입에 대한 질문입니다.. [1] | 2009.03.05 by thejeon |
아로나민v | 왕초보 질문드립니다. [1] | 2009.03.05 by thejeon |
낯선그리움 |
회원정보이전 문의
[2]
![]() | 2009.03.05 by thejeon |
모래바람 | 제로보드 Zb5 _에라 155입니다_ 급합니다 [2] | 2009.03.05 by 띵야 |
XE | 계정이 있어야만 시험이 가능한가요? [4] | 2009.03.05 by 띵야 |
띵야 | 레이아웃을 적용 중일때 {$content} 부분만 빼 내는 방법 질문 [3] | 2009.03.05 by 띵야 |
띵야 | 어렵게 설치했는데 설정에서 이상한 현상이...ㅡ.ㅡ | |
띵야 |
서로 다른 곳에서 같은 게시물만 읽어들이는데...
[3]
![]() | 2020.03.15 by 띵야 |
레시테 | 레이아웃 메인 가운데 정렬 질문입니다. [1] | 2009.03.05 by 닝기리쓰레빠 |
WhiteAT | 구글 아날리틱스 애드온 [1] | 2009.03.05 by 난다날아 |
로이573 | 익스프롤러8문제 [1] | 2009.03.05 by 익명 |
박토치 | 관리자에게 쪽지보내기 [3] | 2009.03.05 by 지연아빠 |
Joongsya |
코멘트의 작성자와 새글표시 방법 문의
![]() |
<default_style">!--@if($module_info->default_style != 'blog' || ($module_info->default_style == 'blog' && Context::get('document_srl')))-->
나
<isEditable">!--@if($oDocument->isEditable())-->
와 같은 형식은 템플릿 코드 형식이 아닙니다.
<!--@if($module_info->default_style != 'blog' || ($module_info->default_style == 'blog' && Context::get('document_srl')))-->
<!--@if($oDocument->isEditable())-->
와 같이 써야 합니다.
그 외에는 잘 모릅니다;