phpBB

Code Changes

File: includes/acp/acp_extensions.php

  Unmodified   Added   Modified   Removed
Line 575Line 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 589Line 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),
));
}