#!/usr/local/bin/perl # restore_form.cgi # Display a form for restore a database require './postgresql-lib.pl' ; &ReadParse ( ) ; &error_setup ( $text{'restore_err'} ) ; $access{'restore'} || &error($text{'restore_ecannot'}); &can_edit_db($in{'db'}) || &error($text{'dbase_ecannot'}); &has_command($config{'rstr_cmd'}) || &error(&text('restore_ecmd', "$config{'rstr_cmd'}")); &header ( $text{'restore_title'}, "", "restore_form" ) ; print "
\n" ; print "
\n" ; print "\n" ; print "\n" ; print "\n" ; print "
$text{'restore_header'}
\n" ; print "\n" ; print "\n" ; print "\n"; print "\n"; print "\n"; print "\n"; print "\n" ; print "
$text{'restore_path'}\n" ; print "
$text{'restore_only'} $text{'yes'}\n"; print " $text{'no'}
$text{'restore_clean'} $text{'yes'}\n"; print " $text{'no'}
$text{'yes'}\n"; print "
\n" ; print "
\n" ; &footer ( "", $text{'index_return'} ) ;