1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 11:04:18 +02:00

TinyMce styling corrected to work with newer version of TinyMce. TinyMce parser image path corrections. Old Tinymce popup code removed.

This commit is contained in:
Cameron
2016-03-10 13:33:11 -08:00
parent c8bcce656f
commit 4516bc910e
10 changed files with 61 additions and 21 deletions

View File

@@ -2364,7 +2364,7 @@ class e_parse extends e_parser
}
if(e_MOD_REWRITE_MEDIA == true)// Experimental SEF URL support.
if(e_MOD_REWRITE_MEDIA == true && empty($options['nosef']))// Experimental SEF URL support.
{
$options['full'] = $full;
$options['ext'] = substr($url,-3);
@@ -2465,8 +2465,15 @@ class e_parse extends e_parser
*/
private function thumbUrlSEF($url='', $options=array())
{
$base = (!empty($options['full'])) ? SITEURL : e_HTTP;
if(!empty($options['full']))
{
$base = SITEURL;
}
else
{
$base = (!empty($options['ebase'])) ? '{e_BASE}' : e_HTTP;
}
// $base = (!empty($options['full'])) ? SITEURL : e_HTTP;
if(!empty($options['x']) && !empty($options['ext'])) // base64 encoded. Build URL for: RewriteRule ^media\/img\/([-A-Za-z0-9+/]*={0,3})\.(jpg|gif|png)?$ thumb.php?id=$1
{