[ticket/10631] Remove references to delete extension

PHPBB3-10631
This commit is contained in:
Nathan Guse 2012-07-23 17:05:03 -05:00 committed by Unknown Bliss
parent 9c0cd2693f
commit 2273ae2b34
4 changed files with 2 additions and 50 deletions

View file

@ -1,27 +0,0 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_EXTENSIONS_ADMIN}</h1>
<p>{L_EXTENSIONS_EXPLAIN}</p>
<p>{L_ENABLE_EXPLAIN}</p>
<!-- IF PRE -->
<p>{L_DELETE_CONFIRM}</p>
<form id="acp_extensions" method="post" action="{U_DELETE}">
<fieldset class="submit-buttons">
<legend>{L_DELETE}</legend>
<input class="button1" type="submit" name="{L_DELETE}" value="{L_DELETE}" />
</fieldset>
</form>
<!-- ELSE IF -->
<div class="successbox">
<p>{L_DELETE_SUCCESS}</p>
<br />
<p><a href="{U_RETURN}">{L_RETURN}</a></p>
</div>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View file

@ -40,8 +40,7 @@
<td><strong>{disabled.EXT_NAME}</strong></a></td> <td><strong>{disabled.EXT_NAME}</strong></a></td>
<td style="text-align: center;"><a href="{disabled.U_DETAILS}">{L_DETAILS}</a></td> <td style="text-align: center;"><a href="{disabled.U_DETAILS}">{L_DETAILS}</a></td>
<td style="text-align: center;"><a href="{disabled.U_ENABLE}">{L_ENABLE}</a>&nbsp; <td style="text-align: center;"><a href="{disabled.U_ENABLE}">{L_ENABLE}</a>&nbsp;
<!-- IF disabled.U_PURGE -->|&nbsp;<a href="{disabled.U_PURGE}">{L_PURGE}</a>&nbsp;<!-- ENDIF --> <!-- IF disabled.U_PURGE -->|&nbsp;<a href="{disabled.U_PURGE}">{L_PURGE}</a>&nbsp;<!-- ENDIF --></td>
<!-- IF disabled.U_DELETE -->|&nbsp;<a href="{disabled.U_DELETE}">{L_DELETE}</a><!-- ENDIF --></td>
</tr> </tr>
<!-- END disabled --> <!-- END disabled -->
<!-- ENDIF --> <!-- ENDIF -->

View file

@ -139,19 +139,6 @@ class acp_extensions
)); ));
break; break;
/*case 'delete_pre':
$this->tpl_name = 'acp_ext_delete';
$template->assign_vars(array(
'PRE' => true,
'U_DELETE' => $this->u_action . '&amp;action=delete&amp;ext_name=' . $ext_name,
));
break;
case 'delete':
$this->tpl_name = 'acp_ext_delete';
break;*/
case 'details': case 'details':
// Output it to the template // Output it to the template
$md_manager->output_template_data(); $md_manager->output_template_data();
@ -202,7 +189,6 @@ class acp_extensions
'U_DETAILS' => $this->u_action . '&amp;action=details&amp;ext_name=' . $name, 'U_DETAILS' => $this->u_action . '&amp;action=details&amp;ext_name=' . $name,
'U_PURGE' => $this->u_action . '&amp;action=purge_pre&amp;ext_name=' . $name, 'U_PURGE' => $this->u_action . '&amp;action=purge_pre&amp;ext_name=' . $name,
//'U_DELETE' => $this->u_action . '&amp;action=delete_pre&amp;ext_name=' . $name,
'U_ENABLE' => $this->u_action . '&amp;action=enable_pre&amp;ext_name=' . $name, 'U_ENABLE' => $this->u_action . '&amp;action=enable_pre&amp;ext_name=' . $name,
)); ));
} }
@ -227,7 +213,6 @@ class acp_extensions
'EXT_NAME' => $md_manager->get_metadata('display-name'), 'EXT_NAME' => $md_manager->get_metadata('display-name'),
'U_DETAILS' => $this->u_action . '&amp;action=details&amp;ext_name=' . $name, 'U_DETAILS' => $this->u_action . '&amp;action=details&amp;ext_name=' . $name,
//'U_DELETE' => $this->u_action . '&amp;action=delete_pre&amp;ext_name=' . $name,
'U_ENABLE' => $this->u_action . '&amp;action=enable_pre&amp;ext_name=' . $name, 'U_ENABLE' => $this->u_action . '&amp;action=enable_pre&amp;ext_name=' . $name,
)); ));
} }

View file

@ -48,13 +48,11 @@ $lang = array_merge($lang, array(
'ENABLED' => 'Enabled', 'ENABLED' => 'Enabled',
'DISABLED' => 'Disabled', 'DISABLED' => 'Disabled',
'PURGED' => 'Purged', 'PURGED' => 'Purged',
'DELETED' => 'Deleted',
'UPLOADED' => 'Uploaded', 'UPLOADED' => 'Uploaded',
'ENABLE' => 'Enable', 'ENABLE' => 'Enable',
'DISABLE' => 'Disable', 'DISABLE' => 'Disable',
'PURGE' => 'Purge', 'PURGE' => 'Purge',
'DELETE' => 'Delete',
'ENABLE_EXPLAIN' => 'Enabling an extension allows you to use it on your board.', 'ENABLE_EXPLAIN' => 'Enabling an extension allows you to use it on your board.',
'DISABLE_EXPLAIN' => 'Disabling an extension retains its files and settings but removes any functionality added by the extension.', 'DISABLE_EXPLAIN' => 'Disabling an extension retains its files and settings but removes any functionality added by the extension.',
@ -67,12 +65,10 @@ $lang = array_merge($lang, array(
'ENABLE_SUCCESS' => 'The extension was enabled successfully', 'ENABLE_SUCCESS' => 'The extension was enabled successfully',
'DISABLE_SUCCESS' => 'The extension was disabled successfully', 'DISABLE_SUCCESS' => 'The extension was disabled successfully',
'PURGE_SUCCESS' => 'The extension was purged successfully', 'PURGE_SUCCESS' => 'The extension was purged successfully',
'DELETE_SUCCESS' => 'The extension was deleted successfully',
'ENABLE_FAIL' => 'The extension could not be enabled', 'ENABLE_FAIL' => 'The extension could not be enabled',
'DISABLE_FAIL' => 'The extension could not be disabled', 'DISABLE_FAIL' => 'The extension could not be disabled',
'PURGE_FAIL' => 'The extension could not be purged', 'PURGE_FAIL' => 'The extension could not be purged',
'DELETE_FAIL' => 'The extension could not be deleted',
'EXTENSION_NAME' => 'Extension Name', 'EXTENSION_NAME' => 'Extension Name',
'EXTENSION_ACTIONS' => 'Actions', 'EXTENSION_ACTIONS' => 'Actions',
@ -81,7 +77,6 @@ $lang = array_merge($lang, array(
'ENABLE_CONFIRM' => 'Are you sure that you wish to enable this extension?', 'ENABLE_CONFIRM' => 'Are you sure that you wish to enable this extension?',
'DISABLE_CONFIRM' => 'Are you sure that you wish to disable this extension?', 'DISABLE_CONFIRM' => 'Are you sure that you wish to disable this extension?',
'PURGE_CONFIRM' => 'Are you sure that you wish to purge this extension&#39;s data? This will remove all settings stored for this extension and cannot be undone!', 'PURGE_CONFIRM' => 'Are you sure that you wish to purge this extension&#39;s data? This will remove all settings stored for this extension and cannot be undone!',
'DELETE_CONFIRM' => 'Are you sure that you wish to data this extension&#39;s files and clear its data? This cannot be undone.',
'WARNING' => 'Warning', 'WARNING' => 'Warning',
'RETURN' => 'Return', 'RETURN' => 'Return',