X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=admin%2Fbackups.php;h=9796a492ce5c442ba79cd9dc5b71678aa9284b6c;hb=b1c79afd0a78ec37ff813f1305e9e0804be78ef3;hp=cf2ef1cf3e4a4a1b5a48a86372d165a2ff9711fa;hpb=bc426821d8ae6319bd9394ac275bb700e6394fc3;p=fa-stable.git diff --git a/admin/backups.php b/admin/backups.php index cf2ef1cf..9796a492 100644 --- a/admin/backups.php +++ b/admin/backups.php @@ -20,7 +20,7 @@ if ($valid_paths != "") $db_name = $_SESSION["wa_current_user"]->company; $msg = handle_form($db_connections[$db_name]); -page(_("Backup and Restore Database")); +page(_("Backup and Restore Database"), false, false, '', '', true); //------------------------------------------------------------------------------- start_form(true, true); @@ -57,6 +57,7 @@ echo " function downloadBackup() { pFilename = document.forms[0].cmb_backups.options[document.forms[0].cmb_backups.selectedIndex].value document.location.replace('backups.php?c=ds&fn='+pFilename) + Behaviour.apply(); } function uploadBackup() { if (document.forms[0].uploadfile.value=='') { @@ -151,7 +152,8 @@ function handle_form($conn) $filename = urlencode($_GET['fn']); $msg = _("Backup is being downloaded..."); $msg .= ""; return $msg; }