mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
git-svn-id: file:///svn/phpbb/trunk@7472 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b316fad5c8
commit
4d558febc8
2 changed files with 10 additions and 2 deletions
|
@ -223,8 +223,15 @@ class acp_database
|
||||||
|
|
||||||
if ($delete)
|
if ($delete)
|
||||||
{
|
{
|
||||||
unlink($file_name);
|
if (confirm_box(true))
|
||||||
trigger_error($user->lang['BACKUP_DELETE'] . adm_back_link($this->u_action));
|
{
|
||||||
|
unlink($file_name);
|
||||||
|
trigger_error($user->lang['BACKUP_DELETE'] . adm_back_link($this->u_action));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
confirm_box(false, 'DELETE_SELECTED_BACKUP', build_hidden_fields(array('delete' => $delete, 'file' => $file)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$download = request_var('download', '');
|
$download = request_var('download', '');
|
||||||
|
|
|
@ -44,6 +44,7 @@ $lang = array_merge($lang, array(
|
||||||
'DATABASE' => 'Database utilities',
|
'DATABASE' => 'Database utilities',
|
||||||
'DATA_ONLY' => 'Data only',
|
'DATA_ONLY' => 'Data only',
|
||||||
'DELETE_BACKUP' => 'Delete backup',
|
'DELETE_BACKUP' => 'Delete backup',
|
||||||
|
'DELETE_SELECTED_BACKUP' => 'Are you sure you want to deletee the selected backup?',
|
||||||
'DESELECT_ALL' => 'Deselect all',
|
'DESELECT_ALL' => 'Deselect all',
|
||||||
'DOWNLOAD_BACKUP' => 'Download backup',
|
'DOWNLOAD_BACKUP' => 'Download backup',
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue