mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
This commit is contained in:
@@ -454,6 +454,11 @@ class news_admin_ui extends e_admin_ui
|
|||||||
$tmp = explode(chr(35), $new_data['news_author']);
|
$tmp = explode(chr(35), $new_data['news_author']);
|
||||||
$new_data['news_author'] = intval($tmp[0]);
|
$new_data['news_author'] = intval($tmp[0]);
|
||||||
|
|
||||||
|
if(E107_DBG_SQLQUERIES)
|
||||||
|
{
|
||||||
|
e107::getMessage()->addInfo("<h3>Raw _POST data</h3>".print_a($_POST,true));
|
||||||
|
}
|
||||||
|
|
||||||
return $new_data;
|
return $new_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -481,6 +486,11 @@ class news_admin_ui extends e_admin_ui
|
|||||||
$new_data['news_author'] = intval($tmp[0]);
|
$new_data['news_author'] = intval($tmp[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(E107_DBG_SQLQUERIES)
|
||||||
|
{
|
||||||
|
e107::getMessage()->addInfo("<h3>Raw _POST data</h3>".print_a($_POST,true));
|
||||||
|
}
|
||||||
|
|
||||||
return $new_data;
|
return $new_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@ if((e107::wysiwyg() === true && check_class($pref['post_html'])) || strpos(e_SEL
|
|||||||
//e107::js('tinymce','tiny_mce.js','jquery');
|
//e107::js('tinymce','tiny_mce.js','jquery');
|
||||||
//e107::js('tinymce','wysiwyg.php','jquery',5);
|
//e107::js('tinymce','wysiwyg.php','jquery',5);
|
||||||
|
|
||||||
e107::js('footer', "http://tinymce.cachefly.net/4.2/tinymce.min.js");
|
e107::js('footer', "http://tinymce.cachefly.net/4.1/tinymce.min.js");
|
||||||
e107::js('footer',e_PLUGIN.'tinymce4/wysiwyg.php','jquery',5);
|
e107::js('footer',e_PLUGIN.'tinymce4/wysiwyg.php','jquery',5);
|
||||||
// e107::js('inline', "
|
// e107::js('inline', "
|
||||||
// tinymce.init({selector:'.e-wysiwyg'});
|
// tinymce.init({selector:'.e-wysiwyg'});
|
||||||
|
Reference in New Issue
Block a user