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

Issue #1433 - Allow Images/Video posting with TinyMce for members (member.xml) and not for anonymous/public. (public.xml)

This commit is contained in:
Cameron
2016-03-23 09:16:54 -07:00
parent 5cac882925
commit f1a2c00160
4 changed files with 21 additions and 13 deletions

View File

@@ -3173,9 +3173,9 @@ class e_parser
protected $allowedTags = array('html', 'body','div','a','img','table','tr', 'td', 'th', 'tbody', 'thead', 'colgroup', 'b',
'i', 'pre','code', 'strong', 'u', 'em','ul', 'ol', 'li','img','h1','h2','h3','h4','h5','h6','p',
'div','pre','section','article', 'blockquote','hgroup','aside','figure','figcaption', 'abbr','span', 'audio', 'video', 'br',
'small', 'caption', 'noscript', 'hr', 'section'
'small', 'caption', 'noscript', 'hr', 'section', 'iframe'
);
protected $scriptTags = array('script','applet','iframe','form','input','button'); //allowed when $pref['post_script'] is enabled.
protected $scriptTags = array('script','applet','form','input','button'); //allowed when $pref['post_script'] is enabled.
protected $blockTags = array('pre','div','h1','h2','h3','h4','h5','h6','blockquote'); // element includes its own line-break.