묻고답하기
목록, 수정, 삭제 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 남기남 |
최태현913 | 모바일 설정해놓으면 동영상이 안뜨는 이유.. [2] | 2011.01.25 by 최태현913 |
최혜경147 | 한글이 깨지는 이유요.. [1] | 2011.01.25 by cycix |
동수기 | 홈페이지 메인 배경화면 바꾸기요 [1] | 2011.01.25 by 남산방송인 |
shrek | 확장변수 배경이미지 넣을수 없나요? | |
interkgb | 인증 메일 받는 사람 바꾸기. 도와주세요~ | |
gksdkf | 로그인 페이지 만들고 싶어요ㅠㅠ [2] | 2011.01.25 by dkf111 |
Tinno | 프로젝트XE에서 개발현황 등록 방법 [1] | 2011.01.25 by Tinno |
jinelove | 사용자가 속한 그룹 출력? [1] | 2011.01.25 by 라르게덴 |
신비의불 | 구버전 폴더 삭제해도 될까요? [1] | 2011.01.25 by 공듀 |
윤석사 | MySQL 4.0.x 에서 MySQL 5.x로 업데이트 방법? [1] | 2011.01.25 by 오기석673 |
나의해 | 최근글 위젯 시간 없애는 방법좀 가르쳐주세요 [1] | 2011.01.25 by 동탄간지 |
어쿠스틱 | 팝업창이 자꾸 브라우저 뒤로 숨어버립니다. | |
나의해 | 결제모듈 질문드립니다 | |
이건우297 | 제로보드 게시판 복구 [1] | 2011.01.24 by 공듀 |
mm이 | project 모듈 Fatal 오류 | |
어쿠스틱 | 메인페이지 팝업창 띄우는 소스좀 가르쳐주세요. [1] | 2011.01.24 by 불패의초인 |
다함께 | 관리자 비밀번호가 잘못되었다고 하네요... [2] | 2011.01.24 by misol |
신비의불 | 모바일버전 관련 질문입니다 [1] | 2011.01.24 by misol |
윤씨 | 리플 기능이 없는건가요? [1] | 2011.01.24 by misol |
EliteGuard | 위젯을 수정하려고 보면... [1] | 2011.01.24 by misol |
<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())-->
와 같이 써야 합니다.
그 외에는 잘 모릅니다;