mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +09:00
Fix erroneous identification of nohtml config
This commit is contained in:
parent
1d2368f105
commit
24ab7dba9e
2 changed files with 4 additions and 4 deletions
|
|
@ -437,7 +437,7 @@ class commentController extends comment
|
|||
if(!$manual_inserted)
|
||||
{
|
||||
$editor_config = getModel('editor')->getEditorConfig($obj->module_srl);
|
||||
if (strpos($editor_config->comment_editor_skin, 'textarea') !== false || strpos($editor_config->sel_comment_editor_colorset, 'nohtml') !== false)
|
||||
if (strpos($editor_config->sel_comment_editor_colorset, 'nohtml') !== false)
|
||||
{
|
||||
$is_html_content = false;
|
||||
}
|
||||
|
|
@ -811,7 +811,7 @@ class commentController extends comment
|
|||
if(!$manual_updated)
|
||||
{
|
||||
$editor_config = getModel('editor')->getEditorConfig($obj->module_srl);
|
||||
if (strpos($editor_config->comment_editor_skin, 'textarea') !== false || strpos($editor_config->sel_comment_editor_colorset, 'nohtml') !== false)
|
||||
if (strpos($editor_config->sel_comment_editor_colorset, 'nohtml') !== false)
|
||||
{
|
||||
$is_html_content = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -458,7 +458,7 @@ class documentController extends document
|
|||
if(!$manual_inserted)
|
||||
{
|
||||
$editor_config = getModel('editor')->getEditorConfig($obj->module_srl);
|
||||
if (strpos($editor_config->comment_editor_skin, 'textarea') !== false || strpos($editor_config->sel_comment_editor_colorset, 'nohtml') !== false)
|
||||
if (strpos($editor_config->sel_editor_colorset, 'nohtml') !== false)
|
||||
{
|
||||
$is_html_content = false;
|
||||
}
|
||||
|
|
@ -717,7 +717,7 @@ class documentController extends document
|
|||
if(!$manual_updated)
|
||||
{
|
||||
$editor_config = getModel('editor')->getEditorConfig($obj->module_srl);
|
||||
if (strpos($editor_config->comment_editor_skin, 'textarea') !== false || strpos($editor_config->sel_comment_editor_colorset, 'nohtml') !== false)
|
||||
if (strpos($editor_config->sel_editor_colorset, 'nohtml') !== false)
|
||||
{
|
||||
$is_html_content = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue