mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/11994] Use display name on confirmation screen
PHPBB3-11994
This commit is contained in:
parent
3ac3688a7f
commit
473402c77b
1 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ class acp_extensions
|
|||
$template->assign_vars(array(
|
||||
'PRE' => true,
|
||||
'IS_ENABLING' => $action == 'enable_pre',
|
||||
'L_CONFIRM_MESSAGE' => $this->user->lang('EXTENSION_' . (($action == 'enable_pre') ? 'ENABLE' : 'INSTALL') . '_CONFIRM', $ext_name),
|
||||
'L_CONFIRM_MESSAGE' => $this->user->lang('EXTENSION_' . (($action == 'enable_pre') ? 'ENABLE' : 'INSTALL') . '_CONFIRM', $md_manager->get_metadata('display-name')),
|
||||
'U_ENABLE' => $this->u_action . '&action=' . (($action == 'enable_pre') ? 'enable' : 'install') . '&ext_name=' . urlencode($ext_name),
|
||||
));
|
||||
break;
|
||||
|
@ -147,7 +147,7 @@ class acp_extensions
|
|||
|
||||
$template->assign_vars(array(
|
||||
'PRE' => true,
|
||||
'L_CONFIRM_MESSAGE' => $this->user->lang('EXTENSION_DISABLE_CONFIRM', $ext_name),
|
||||
'L_CONFIRM_MESSAGE' => $this->user->lang('EXTENSION_DISABLE_CONFIRM', $md_manager->get_metadata('display-name')),
|
||||
'U_DISABLE' => $this->u_action . '&action=disable&ext_name=' . urlencode($ext_name),
|
||||
));
|
||||
break;
|
||||
|
@ -176,7 +176,7 @@ class acp_extensions
|
|||
|
||||
$template->assign_vars(array(
|
||||
'PRE' => true,
|
||||
'L_CONFIRM_MESSAGE' => $this->user->lang('EXTENSION_UNINSTALL_CONFIRM', $ext_name),
|
||||
'L_CONFIRM_MESSAGE' => $this->user->lang('EXTENSION_UNINSTALL_CONFIRM', $md_manager->get_metadata('display-name')),
|
||||
'U_PURGE' => $this->u_action . '&action=purge&ext_name=' . urlencode($ext_name),
|
||||
));
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue