From: Joe Hunt Date: Wed, 2 Dec 2009 16:29:56 +0000 (+0000) Subject: Changed 'delete' to 'delete2' in backups.php to better satisfy IE8 (Yes!) X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=b1f9a0081a04d1e55a9701bb01c872e9870de378;p=textcart.git Changed 'delete' to 'delete2' in backups.php to better satisfy IE8 (Yes!) --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index fc9cf79..6971948 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -31,13 +31,15 @@ $ /includes/errors.inc $ /admin/display_prefs.php /includes/current_user.inc -01-Dec-2009 Joe Hunt +02-Dec-2009 Joe Hunt ! Release 2.2.1 $ config.default.php /lang/new_language_template/LC_MESSAGES/empty.po /lang/en_US/LC_MESSAGES/en_US.mo # More restrictions on deleting gl_accounts $ /gl/manage/gl_accounts.php +! Changed 'delete' to 'delete2' in backups.php to better satisfy IE8 (Yes!) +$ /admin/backups.php 01-Dec-2009 Janusz Dobrowolski # Removing config.php after error during install. Otherwise misleading message is displayed. diff --git a/admin/backups.php b/admin/backups.php index efa7861..93ef6df 100644 --- a/admin/backups.php +++ b/admin/backups.php @@ -129,7 +129,7 @@ if (get_post('restore')) { display_notification(_("Restore backup completed.")); } -if (get_post('delete')) { +if (get_post('delete2')) { if (unlink(BACKUP_PATH . get_post('cmb_backups'))) { display_notification(_("File successfully deleted.")." " . _("Filename") . ": " . get_post('cmb_backups')); @@ -174,8 +174,8 @@ table_section_title(_("Backup scripts maintenance")); submit_row('restore',_("Restore Backup"), false, '','', 'process'); submit_js_confirm('restore',_("You are about to restore database from backup file.\nDo you want to continue?")); - submit_row('delete', _("Delete Backup"), false, '','', true); - submit_js_confirm('delete', sprintf(_("You are about to remove selected backup file.\nDo you want to continue ?"))); + submit_row('delete2', _("Delete Backup"), false, '','', true); + submit_js_confirm('delete2', sprintf(_("You are about to remove selected backup file.\nDo you want to continue ?"))); end_table(); echo ""; end_row();