echosprintf(gettext('Successfully reverted to timestamp %1$s with description "%2$s".'),date(gettext("n/j/y H:i:s"),$thisbackup['time']),$thisbackup['description']);
echosprintf(gettext('Successfully reverted to timestamp %1$s with description "%2$s".'),date(gettext("n/j/y H:i:s"),$thisbackup['time']),$thisbackup['description']);
echo"\n".gettext("You may need to reboot the firewall or restart services before the restored configuration is fully active.")."\n\n";
echo"\n".gettext("You may need to reboot the firewall or restart services before the restored configuration is fully active.")."\n\n";
$savemsg=sprintf(gettext('Successfully reverted to timestamp %1$s with description "%2$s".'),date(gettext("n/j/y H:i:s"),$_POST['newver']),$confvers[$_POST['newver']]['description']);
$savemsg=sprintf(gettext('Successfully reverted to timestamp %1$s with description "%2$s".'),date(gettext("n/j/y H:i:s"),$_POST['newver']),$confvers[$_POST['newver']]['description']);
else
else
$savemsg=gettext("Unable to revert to the selected configuration.");
$savemsg=gettext("Unable to revert to the selected configuration.");
$savemsg=sprintf(gettext('Deleted backup with timestamp %1$s and description "%2$s".'),date(gettext("n/j/y H:i:s"),$_POST['rmver']),$confvers[$_POST['rmver']]['description']);
$savemsg=sprintf(gettext('Deleted backup with timestamp %1$s and description "%2$s".'),date(gettext("n/j/y H:i:s"),$_POST['rmver']),$confvers[$_POST['rmver']]['description']);