묻고답하기
목록, 수정, 삭제 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.04.06 by 청개굴이 |
neotec |
[faceoff 레이아웃] 상단메뉴 가림
[2]
![]() | 2009.04.06 by neotec |
neotec | [Content 위젯] 대상 모듈 선택시 나타나지 않는 모듈이 있음. | |
태쥐 | 댓글에 답글 쓸 경우 에디터 모양.. [2] | 2009.04.06 by 태쥐 |
송범의 | zetyx_ 로 시작되는 테이블이 XE 에서 사용하는 테이블인가요? [2] | 2009.04.06 by 송범의 |
엉엉 | 애드온 설정에서 댓글 "사용"으로 바꾸고 나서.. [1] | 2009.04.06 by 백성찬 |
청개굴이 |
오른쪽이 잘려서 나옵니다..
[1]
![]() | 2009.04.06 by 유팔복 |
Programing | Xpress Engine다운그레이드... | |
너른벌판 | 메일보내기 다시 문의드립니다. | |
매실茶 |
파일첨부가 안되는군요...
[9]
![]() | 2009.04.06 by 백동엽 |
이귀동793 | 글쓰기하면 문자메세지보내기 | |
허접쵸보 |
파일 644권한 변경이랑 첨부파일 도와주세요.
[1]
![]() | 2009.04.06 by 이기현805 |
정시연 | htaccess 파일이 올라가지 않네요... [2] | 2009.04.06 by 제이디600 |
박명관 |
검정색 로그인박스가 살짝 크네요
![]() | |
복고열전 | 택배번호 조회기능은 넣을수 있나요??? | |
정용범 | apmsetup 6 + 제로보드 설치에서 mysql 시작이 안되는 현상 | |
KRB |
질문좀 할게요..
[1]
![]() | 2009.04.06 by phiz |
국왕 | 아무도 답변이 없으시네요, 꼭 답변바랍니다 ㅜ [2] | 2009.04.06 by 국왕 |
어두운새벽 |
대량의 엑셀데이터를 디비에 넣을 때 도움...
[1]
![]() | 2009.04.06 by phiz |
초짜 | 설치시 DB선택 질문 [2] | 2009.04.06 by phiz |
<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())-->
와 같이 써야 합니다.
그 외에는 잘 모릅니다;