내용관리 html_purifier 사용 선택할 수 있는 설정 추가

This commit is contained in:
chicpro
2014-03-28 16:11:41 +09:00
parent 5ce0ad1221
commit 83fe14288a
6 changed files with 103 additions and 11 deletions

View File

@ -6,6 +6,11 @@ if( !isset($g5['content_table']) ){
die('<meta charset="utf-8">관리자 모드에서 게시판관리->내용 관리를 먼저 확인해 주세요.');
}
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/content.php');
return;
}
// 내용
$sql = " select * from {$g5['content_table']} where co_id = '$co_id' ";
$co = sql_fetch($sql);
@ -19,7 +24,7 @@ if ($co['co_include_head'])
else
include_once('./_head.php');
$str = conv_content($co['co_content'], $co['co_html']);
$str = conv_content($co['co_content'], $co['co_html'], $co['co_tag_filter_use']);
// $src 를 $dst 로 변환
unset($src);