git-svn-id: file:///svn/phpbb/trunk@7472 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-05-05 13:43:39 +00:00
parent b316fad5c8
commit 4d558febc8
2 changed files with 10 additions and 2 deletions

View file

@ -222,10 +222,17 @@ class acp_database
}
if ($delete)
{
if (confirm_box(true))
{
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', '');

View file

@ -44,6 +44,7 @@ $lang = array_merge($lang, array(
'DATABASE' => 'Database utilities',
'DATA_ONLY' => 'Data only',
'DELETE_BACKUP' => 'Delete backup',
'DELETE_SELECTED_BACKUP' => 'Are you sure you want to deletee the selected backup?',
'DESELECT_ALL' => 'Deselect all',
'DOWNLOAD_BACKUP' => 'Download backup',