mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08: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,12 +40,11 @@
|
|||
<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_ENABLE}">{L_ENABLE}</a>
|
||||
<!-- IF disabled.U_PURGE -->| <a href="{disabled.U_PURGE}">{L_PURGE}</a> <!-- ENDIF -->
|
||||
<!-- IF disabled.U_DELETE -->| <a href="{disabled.U_DELETE}">{L_DELETE}</a><!-- ENDIF --></td>
|
||||
<!-- IF disabled.U_PURGE -->| <a href="{disabled.U_PURGE}">{L_PURGE}</a> <!-- ENDIF --></td>
|
||||
</tr>
|
||||
<!-- END disabled -->
|
||||
<!-- ENDIF -->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
||||
|
|
|
@ -139,19 +139,6 @@ class acp_extensions
|
|||
));
|
||||
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':
|
||||
// Output it to the template
|
||||
$md_manager->output_template_data();
|
||||
|
@ -202,7 +189,6 @@ class acp_extensions
|
|||
|
||||
'U_DETAILS' => $this->u_action . '&action=details&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,
|
||||
));
|
||||
}
|
||||
|
@ -227,7 +213,6 @@ class acp_extensions
|
|||
'EXT_NAME' => $md_manager->get_metadata('display-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,
|
||||
));
|
||||
}
|
||||
|
|
|
@ -48,13 +48,11 @@ $lang = array_merge($lang, array(
|
|||
'ENABLED' => 'Enabled',
|
||||
'DISABLED' => 'Disabled',
|
||||
'PURGED' => 'Purged',
|
||||
'DELETED' => 'Deleted',
|
||||
'UPLOADED' => 'Uploaded',
|
||||
|
||||
'ENABLE' => 'Enable',
|
||||
'DISABLE' => 'Disable',
|
||||
'PURGE' => 'Purge',
|
||||
'DELETE' => 'Delete',
|
||||
|
||||
'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.',
|
||||
|
@ -67,12 +65,10 @@ $lang = array_merge($lang, array(
|
|||
'ENABLE_SUCCESS' => 'The extension was enabled successfully',
|
||||
'DISABLE_SUCCESS' => 'The extension was disabled successfully',
|
||||
'PURGE_SUCCESS' => 'The extension was purged successfully',
|
||||
'DELETE_SUCCESS' => 'The extension was deleted successfully',
|
||||
|
||||
'ENABLE_FAIL' => 'The extension could not be enabled',
|
||||
'DISABLE_FAIL' => 'The extension could not be disabled',
|
||||
'PURGE_FAIL' => 'The extension could not be purged',
|
||||
'DELETE_FAIL' => 'The extension could not be deleted',
|
||||
|
||||
'EXTENSION_NAME' => 'Extension Name',
|
||||
'EXTENSION_ACTIONS' => 'Actions',
|
||||
|
@ -81,7 +77,6 @@ $lang = array_merge($lang, array(
|
|||
'ENABLE_CONFIRM' => 'Are you sure that you wish to enable 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!',
|
||||
'DELETE_CONFIRM' => 'Are you sure that you wish to data this extension's files and clear its data? This cannot be undone.',
|
||||
|
||||
'WARNING' => 'Warning',
|
||||
'RETURN' => 'Return',
|
||||
|
|
Loading…
Add table
Reference in a new issue