1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 17:50:12 +02:00

Blogger Import added. TinyMce Image fixes. Custom-pages fixes. Moved Upload-js out of admin header and into media-manager page only. Parser fixes for [html] bbcode. XML parser fix for <content:encoded> rss tags.

This commit is contained in:
CaMer0n
2012-07-23 02:25:17 +00:00
parent 384b123475
commit d5a3b29340
18 changed files with 475 additions and 133 deletions

View File

@@ -299,7 +299,9 @@ class page_admin_ui extends e_admin_ui
echo $text;
exit;
// return $text;
/*
<div class='bbcode large' >
*/
}
@@ -717,7 +719,7 @@ class page_admin_ui extends e_admin_ui
$newData = "";
foreach($_POST as $k=>$v)
{
if(substr($k,0,4)=='data')
if(substr($k,0,4)=='data' && trim($v)!='')
{
list($tm,$key) = explode("_",$k);
@@ -728,7 +730,7 @@ class page_admin_ui extends e_admin_ui
// return;
}
// echo $newData;
// echo nl2br($newData);
$page_text = $tp->toDB($newData);
$pauthor = ($_POST['page_display_authordate_flag'] ? USERID : 0); // Ideally, this check should be done in the front-end.