지에디터 권한별 사용 유무 질문 입니다. 정보
지에디터 권한별 사용 유무 질문 입니다.본문
게시판설정에서 DHTML 사용에 체크시에 글쓰기할때 지에디터가 나오는데요
이걸 관리자 로그인시에만 보여주고 싶습니다.
어디를 수정봐야 되는지 고수님들의 한수 부탁 드립니다 ^^;
좋은 주말 되세요~
이걸 관리자 로그인시에만 보여주고 싶습니다.
어디를 수정봐야 되는지 고수님들의 한수 부탁 드립니다 ^^;
좋은 주말 되세요~
댓글 전체

write.skin.php 4라인에서
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
이 부분위부분에 한줄만 넣어줘보세요.
if($is_admin!='super') $is_dhtml_editor = false;
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
이 부분위부분에 한줄만 넣어줘보세요.
if($is_admin!='super') $is_dhtml_editor = false;
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
와~ 감사합니다.... 찾던 내용이었어요...