1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10631] Various front-end fixes (extensions manager)

Add Back button from details

Add cancel button from actions

Correct language strings

PHPBB3-10631
This commit is contained in:
Nathan Guse
2012-07-30 19:30:49 -05:00
committed by Unknown Bliss
parent 47898cb37a
commit dce04b2d03
5 changed files with 19 additions and 5 deletions

View File

@@ -43,6 +43,13 @@ class acp_extensions
$action = $request->variable('action', 'list');
$ext_name = $request->variable('ext_name', '');
// Cancel action
if ($request->is_set_post('cancel'))
{
$action = 'list';
$ext_name = '';
}
// If they've specificed an extension, let's load the metadata manager and validate it.
if ($ext_name)
@@ -162,6 +169,8 @@ class acp_extensions
// Output it to the template
$md_manager->output_template_data();
$template->assign_var('U_BACK', $this->u_action . '&action=list');
$this->tpl_name = 'acp_ext_details';
break;
}