mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
Do not modify document when it is a manual inserted document
Do not modify document when it is a manual inserted document. 다른 모듈 등을 통해서 manual inerted 표시된 문서는 변형하지 않습니다.
This commit is contained in:
parent
2694f5a510
commit
5d9c6a1e6d
1 changed files with 2 additions and 2 deletions
|
|
@ -280,7 +280,7 @@ class documentController extends document
|
|||
if($obj->title == '') $obj->title = 'Untitled';
|
||||
// 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() && !$manual_inserted)
|
||||
{
|
||||
if($obj->use_html != 'Y')
|
||||
{
|
||||
|
|
@ -478,7 +478,7 @@ class documentController extends document
|
|||
if($obj->title == '') $obj->title = 'Untitled';
|
||||
// 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() && !$manual_updated)
|
||||
{
|
||||
if($obj->use_html != 'Y')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue