mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-13 23:42:13 +09:00
convertHTML() 로 변경
This commit is contained in:
parent
da0ad3bd39
commit
820c725d69
5 changed files with 44 additions and 80 deletions
|
|
@ -438,9 +438,9 @@ class commentController extends comment
|
|||
// if use editor of nohtml, Remove HTML tags from the contents.
|
||||
if(!$manual_inserted)
|
||||
{
|
||||
$obj->content = $oCommentModel->filterHtml($obj);
|
||||
$obj->content = getModel('editor')->convertHTML($obj);
|
||||
}
|
||||
|
||||
|
||||
if(!$obj->regdate)
|
||||
{
|
||||
$obj->regdate = date("YmdHis");
|
||||
|
|
@ -784,13 +784,13 @@ class commentController extends comment
|
|||
{
|
||||
return new Object(-1, 'msg_empty_content');
|
||||
}
|
||||
|
||||
|
||||
// if use editor of nohtml, Remove HTML tags from the contents.
|
||||
if(!$manual_updated)
|
||||
{
|
||||
$obj->content = $oCommentModel->filterHtml($obj);
|
||||
$obj->content = getModel('editor')->convertHTML($obj);
|
||||
}
|
||||
|
||||
|
||||
// remove iframe and script if not a top administrator on the session
|
||||
if($logged_info->is_admin != 'Y')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue