* show chat admin menu only in standalone lite vision, bug #21295.
This commit is contained in:
@@ -266,7 +266,7 @@ $lang->createIcons['execution'] = 'kanban';
|
||||
|
||||
/* Xuan */
|
||||
global $config;
|
||||
if(isset($config->xuanxuan))
|
||||
if(isset($config->xuanxuan) && strpos($config->visions, ',rnd,') === false)
|
||||
{
|
||||
$lang->xuanxuan = new stdclass();
|
||||
$lang->admin->menu->xuanxuan = array('link' => 'Chat|admin|xuanxuan', 'subModule' => 'client,setting');
|
||||
|
||||
@@ -266,7 +266,7 @@ $lang->createIcons['execution'] = 'kanban';
|
||||
|
||||
/* Xuan */
|
||||
global $config;
|
||||
if(isset($config->xuanxuan))
|
||||
if(isset($config->xuanxuan) && strpos($config->visions, ',rnd,') === false)
|
||||
{
|
||||
$lang->xuanxuan = new stdclass();
|
||||
$lang->admin->menu->xuanxuan = array('link' => '聊天|admin|xuanxuan', 'subModule' => 'client,setting');
|
||||
|
||||
Reference in New Issue
Block a user