mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +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:
@@ -16,8 +16,15 @@ if(!defined('e107_INIT'))
|
||||
require_once('../../class2.php');
|
||||
}
|
||||
|
||||
if(USER)
|
||||
{
|
||||
define('e_TINYMCE_TEMPLATE', 'member'); // allow images / videos.
|
||||
}
|
||||
else
|
||||
{
|
||||
define('e_TINYMCE_TEMPLATE', 'public');
|
||||
}
|
||||
|
||||
define('e_TINYMCE_TEMPLATE', 'public');
|
||||
define('NAVIGATION_ACTIVE','forum'); // ??
|
||||
|
||||
$tp = e107::getParser();
|
||||
|
Reference in New Issue
Block a user