mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 05:09:05 +01:00
This commit is contained in:
parent
03fb11dfc0
commit
f44c6b21c7
@ -454,6 +454,11 @@ class news_admin_ui extends e_admin_ui
|
||||
$tmp = explode(chr(35), $new_data['news_author']);
|
||||
$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;
|
||||
}
|
||||
|
||||
@ -481,6 +486,11 @@ class news_admin_ui extends e_admin_ui
|
||||
$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;
|
||||
}
|
||||
|
||||
|
@ -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','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('inline', "
|
||||
// tinymce.init({selector:'.e-wysiwyg'});
|
||||
|
Loading…
x
Reference in New Issue
Block a user