Version 2.1.0

This commit is contained in:
dmzx
2018-08-02 11:34:39 +02:00
parent cd0f139598
commit 006a4e404e
140 changed files with 2695 additions and 2699 deletions

View File

@@ -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);