mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
댓글에서도 에디터를 쓸 수 있는 설정을 만들어둡니다.
This commit is contained in:
parent
a3e307a6d0
commit
f0ca885016
1 changed files with 2 additions and 2 deletions
|
|
@ -318,7 +318,7 @@ class commentController extends comment
|
|||
// remove XE's own tags from the contents
|
||||
$obj->content = preg_replace('!<\!--(Before|After)(Document|Comment)\(([0-9]+),([0-9]+)\)-->!is', '', $obj->content);
|
||||
|
||||
if(Mobile::isFromMobilePhone())
|
||||
if(Mobile::isFromMobilePhone() && $obj->use_editor != 'Y')
|
||||
{
|
||||
if($obj->use_html != 'Y')
|
||||
{
|
||||
|
|
@ -721,7 +721,7 @@ class commentController extends comment
|
|||
// remove XE's wn tags from contents
|
||||
$obj->content = preg_replace('!<\!--(Before|After)(Document|Comment)\(([0-9]+),([0-9]+)\)-->!is', '', $obj->content);
|
||||
|
||||
if(Mobile::isFromMobilePhone())
|
||||
if(Mobile::isFromMobilePhone() && $obj->use_editor != 'Y')
|
||||
{
|
||||
if($obj->use_html != 'Y')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue