mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 10:34:23 +02:00
Plugin Addons: e_tohtml.php deprecated in favor of new e_parse.php addon file. TinyMce now disables plugin hooks during parsing.
This commit is contained in:
@@ -129,7 +129,7 @@ TEMPL;
|
||||
|
||||
//$content = str_replace('\r\n',"<br />",$content);
|
||||
//$content = nl2br($content, true);
|
||||
$content = $tp->toHtml($content, true);
|
||||
$content = $tp->toHtml($content, true, 'WYSIWYG');
|
||||
}
|
||||
|
||||
$content = str_replace("{e_BASE}",e_HTTP,$content); // We want {e_BASE} in the final data going to the DB, but not the editor.
|
||||
@@ -161,7 +161,7 @@ TEMPL;
|
||||
//echo $tp->toHtml(str_replace("\n","",$content), true);
|
||||
|
||||
$content = str_replace("{e_BASE}",e_HTTP, $content); // We want {e_BASE} in the final data going to the DB, but not the editor.
|
||||
$content = $tp->toHtml($content, true);
|
||||
$content = $tp->toHtml($content, true, 'WYSIWYG');
|
||||
$content = str_replace(e_MEDIA_IMAGE,"{e_MEDIA_IMAGE}",$content);
|
||||
|
||||
$text = "";
|
||||
|
Reference in New Issue
Block a user