mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10631] Remove references to delete extension
PHPBB3-10631
This commit is contained in:
parent
9c0cd2693f
commit
2273ae2b34
4 changed files with 2 additions and 50 deletions
|
@ -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 -->
|
|
|
@ -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>
|
<td style="text-align: center;"><a href="{disabled.U_ENABLE}">{L_ENABLE}</a>
|
||||||
<!-- IF disabled.U_PURGE -->| <a href="{disabled.U_PURGE}">{L_PURGE}</a> <!-- ENDIF -->
|
<!-- IF disabled.U_PURGE -->| <a href="{disabled.U_PURGE}">{L_PURGE}</a> <!-- ENDIF --></td>
|
||||||
<!-- IF disabled.U_DELETE -->| <a href="{disabled.U_DELETE}">{L_DELETE}</a><!-- ENDIF --></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<!-- END disabled -->
|
<!-- END disabled -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
|
@ -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 . '&action=delete&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 . '&action=details&ext_name=' . $name,
|
'U_DETAILS' => $this->u_action . '&action=details&ext_name=' . $name,
|
||||||
'U_PURGE' => $this->u_action . '&action=purge_pre&ext_name=' . $name,
|
'U_PURGE' => $this->u_action . '&action=purge_pre&ext_name=' . $name,
|
||||||
//'U_DELETE' => $this->u_action . '&action=delete_pre&ext_name=' . $name,
|
|
||||||
'U_ENABLE' => $this->u_action . '&action=enable_pre&ext_name=' . $name,
|
'U_ENABLE' => $this->u_action . '&action=enable_pre&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 . '&action=details&ext_name=' . $name,
|
'U_DETAILS' => $this->u_action . '&action=details&ext_name=' . $name,
|
||||||
//'U_DELETE' => $this->u_action . '&action=delete_pre&ext_name=' . $name,
|
|
||||||
'U_ENABLE' => $this->u_action . '&action=enable_pre&ext_name=' . $name,
|
'U_ENABLE' => $this->u_action . '&action=enable_pre&ext_name=' . $name,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -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'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'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's files and clear its data? This cannot be undone.',
|
|
||||||
|
|
||||||
'WARNING' => 'Warning',
|
'WARNING' => 'Warning',
|
||||||
'RETURN' => 'Return',
|
'RETURN' => 'Return',
|
||||||
|
|
Loading…
Add table
Reference in a new issue