@@ -15,7 +15,8 @@
diff --git a/phpBB/adm/style/acp_ext_enable.html b/phpBB/adm/style/acp_ext_enable.html
index 9f278bfbe0..3f7be2c847 100644
--- a/phpBB/adm/style/acp_ext_enable.html
+++ b/phpBB/adm/style/acp_ext_enable.html
@@ -15,7 +15,8 @@
diff --git a/phpBB/adm/style/acp_ext_purge.html b/phpBB/adm/style/acp_ext_purge.html
index 816fd872b9..00a58721cb 100644
--- a/phpBB/adm/style/acp_ext_purge.html
+++ b/phpBB/adm/style/acp_ext_purge.html
@@ -5,7 +5,7 @@
{L_EXTENSIONS_ADMIN}
{L_EXTENSIONS_EXPLAIN}
-
{L_ENABLE_EXPLAIN}
+
{L_PURGE_EXPLAIN}
@@ -15,7 +15,8 @@
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index c4d9f0c0e0..1a9d51505a 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -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;
}