mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 20:01:47 +02:00
TinyMce fixes and support for raw html or bbcodes. (depending on Html posting preference)
This commit is contained in:
@@ -1810,9 +1810,9 @@ class e_parse
|
||||
|
||||
public function thumbUrl($url, $options = array(), $raw = false, $full = false)
|
||||
{
|
||||
if(substr($url,0,3)=="{e_") // Fix for broken links that use {e_MEDIA} etc.
|
||||
if(substr($url,0,3)=="{e_") // Fix for broken links that use {e_MEDIA} etc. //XXX This is bad.
|
||||
{
|
||||
$url = $this->replaceConstants($url,'abs');
|
||||
//$url = $this->replaceConstants($url,'abs');
|
||||
}
|
||||
|
||||
if(!is_array($options))
|
||||
@@ -1823,7 +1823,7 @@ class e_parse
|
||||
if($raw) $url = $this->createConstants($url, 'mix');
|
||||
|
||||
$baseurl = ($full ? SITEURL : e_HTTP).'thumb.php?';
|
||||
|
||||
|
||||
$thurl = 'src='.$url.'&';
|
||||
|
||||
if(vartrue($options['aw']) || vartrue($options['ah']))
|
||||
|
Reference in New Issue
Block a user