묻고답하기
목록, 수정, 삭제 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 남기남 |
원피스799 | 사이트 글씨색 변경질문입니다. | |
남산방송인 | 게시판을 삭제하려는데 안지워지네요.. 지우는 방법좀 알려주세요 [1] | 2011.01.24 by 불패의초인 |
Ghost XE | 이것도 아이디어겸 질문입니다 ㅇ.ㅇ..... [2] | 2011.01.24 by 불패의초인 |
오월동주 | 게시판 관리 기능 [1] | 2011.01.24 by 불패의초인 |
나의해 | 최근글위젯 질문드려요 [1] | 2011.01.24 by 불패의초인 |
led0953 | 최근게시물 클릭시 팝업창 내지 지정페이지 이동 [1] | 2011.01.24 by 불패의초인 |
therock3 | 관리자 페이지가 이상 [1] | 2011.01.24 by 불패의초인 |
오대영582 | 관리자 모드 오류 [1] | 2011.01.24 by 불패의초인 |
나의해 | 최근글 위젯 이미지 질문드려요 [3] | 2011.01.24 by ForHanbi |
원피스799 |
쪽지함과 설정창 배경색 질문입니다.
![]() | |
hsikim | 해외 호스팅 ixwebhosting 에서 설치 에러 | |
memory1404 | 502 Bad Gateway 무슨 에러 인가요? [2] | 2011.01.24 by wjddn304.sosiz.com |
웹마 | xe엔진 최근문서출력 오류 도아주세요~ | |
웹마 | 도와주세요~! 최근 문서 출력 오류 | |
윌로우피페 | 신디케이션 또 문제인건가요?? | |
청주개신동 | <비밀글입니다>를 메시지창으로 바꿀수는 없는지요. | |
drumspark | 1.4.?.? 버전 이후 긴주소에서 rewrite시 레이아웃 오류 [1] | 2011.01.23 by misol |
참빛누리 | 텍스타일 스킨에서 오류가... [1] | 2011.01.23 by misol |
st.june | 로그인이 되지 않습니다 (반응이 없습니다) | |
원피스799 | 쪽지함과 설정창 배경색 질문입니다. |
<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())-->
와 같이 써야 합니다.
그 외에는 잘 모릅니다;