Version 2.1.0
This commit is contained in:
@@ -19,10 +19,11 @@ class acp_mchat_module
|
||||
|
||||
public function main($id, $mode)
|
||||
{
|
||||
global $phpbb_container, $user;
|
||||
global $phpbb_container;
|
||||
|
||||
// Add the ACP lang file
|
||||
$user->add_lang_ext('dmzx/mchat', array('mchat_acp', 'mchat_ucp'));
|
||||
$language = $phpbb_container->get('language');
|
||||
$language->add_lang(['mchat_acp', 'mchat_ucp'], 'dmzx/mchat');
|
||||
|
||||
// Set template
|
||||
$this->tpl_name = 'acp_mchat_' . strtolower($mode);
|
||||
|
||||
Reference in New Issue
Block a user