mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
글작성/댓글작성/서명부분의 위지윅에디터 코드의 자바스크립트/iframe 제거 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2233 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d7aa8157a6
commit
07d5c1c017
5 changed files with 23 additions and 3 deletions
|
|
@ -25,6 +25,7 @@
|
|||
* @brief 댓글 입력
|
||||
**/
|
||||
function insertComment($obj, $manual_inserted = false) {
|
||||
$obj->content = removeHackTag($obj->content);
|
||||
|
||||
// document_srl에 해당하는 글이 있는지 확인
|
||||
$document_srl = $obj->document_srl;
|
||||
|
|
@ -33,6 +34,7 @@
|
|||
// document model 객체 생성
|
||||
$oDocumentModel = &getModel('document');
|
||||
|
||||
|
||||
// 원본글을 가져옴
|
||||
if(!$manual_inserted) {
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||
|
|
@ -106,6 +108,8 @@
|
|||
* @brief 댓글 수정
|
||||
**/
|
||||
function updateComment($obj, $is_admin = false) {
|
||||
$obj->content = removeHackTag($obj->content);
|
||||
|
||||
// comment model 객체 생성
|
||||
$oCommentModel = &getModel('comment');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue