Line 53 | Line 53 |
---|
$this->phpbb_container = $phpbb_container; $this->php_ini = $this->phpbb_container->get('php_ini');
|
$this->phpbb_container = $phpbb_container; $this->php_ini = $this->phpbb_container->get('php_ini');
|
$this->user->add_lang(array('install', 'acp/extensions', 'migrator'));
| $this->user->add_lang(array('install', 'acp/extensions', 'acp/modules', 'migrator'));
|
$this->page_title = 'ACP_EXTENSIONS';
| $this->page_title = 'ACP_EXTENSIONS';
|
Line 575 | Line 575 |
---|
catch (exception_interface $e) { $message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
catch (exception_interface $e) { $message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
$this->template->assign_block_vars('disabled', array(
| $this->template->assign_block_vars('not_installed', array(
|
'META_DISPLAY_NAME' => $this->user->lang('EXTENSION_INVALID_LIST', $name, $message), 'S_VERSIONCHECK' => false, ));
| 'META_DISPLAY_NAME' => $this->user->lang('EXTENSION_INVALID_LIST', $name, $message), 'S_VERSIONCHECK' => false, ));
|
Line 589 | Line 589 |
---|
$block_vars['NAME'] = $name; $block_vars['U_DETAILS'] = $this->u_action . '&action=details&ext_name=' . urlencode($name);
|
$block_vars['NAME'] = $name; $block_vars['U_DETAILS'] = $this->u_action . '&action=details&ext_name=' . urlencode($name);
|
$this->template->assign_block_vars('disabled', $block_vars);
| $this->template->assign_block_vars('not_installed', $block_vars);
|
|
|
$this->output_actions('disabled', array(
| $this->output_actions('not_installed', array(
|
'ENABLE' => $this->u_action . '&action=enable_pre&ext_name=' . urlencode($name), )); }
| 'ENABLE' => $this->u_action . '&action=enable_pre&ext_name=' . urlencode($name), )); }
|