mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Changed TinyMce CDN to Cloudflare
Corrected issue with {MENU} when used to load plugin menus.
This commit is contained in:
@@ -16,7 +16,7 @@ function menu_shortcode($parm, $mode='')
|
|||||||
}
|
}
|
||||||
|
|
||||||
unset($parm['path']);
|
unset($parm['path']);
|
||||||
return e107::getMenu()->renderMenu($plugin,$menu."_menu", http_build_query($parm, '', '&'));
|
return e107::getMenu()->renderMenu($plugin,$menu."_menu", http_build_query($parm, '', '&'),true);
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -37,7 +37,7 @@ function menu_shortcode($parm, $mode='')
|
|||||||
$menu = $plugin;
|
$menu = $plugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
return e107::getMenu()->renderMenu($plugin,$menu."_menu");
|
return e107::getMenu()->renderMenu($plugin,$menu."_menu", null, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -19,7 +19,9 @@ if((e107::wysiwyg() === true && check_class($pref['post_html'])) || strpos(e_SEL
|
|||||||
{
|
{
|
||||||
// e107::js('footer', "https://tinymce.cachefly.net/4.3/tinymce.min.js");
|
// e107::js('footer', "https://tinymce.cachefly.net/4.3/tinymce.min.js");
|
||||||
|
|
||||||
e107::js('footer', '//cdn.tinymce.com/4/tinymce.min.js');
|
// e107::js('footer', '//cdn.tinymce.com/4/tinymce.min.js');
|
||||||
|
|
||||||
|
e107::js('footer', 'https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.3/tinymce.min.js');
|
||||||
|
|
||||||
// e107::js('footer', "//cdn.tinymce.com/4/tinymce.min.js");
|
// e107::js('footer', "//cdn.tinymce.com/4/tinymce.min.js");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user