print "<input type=submit value='$text{'exec_exec'}'></form>\n";
# Form for executing commands from a file
-print "<hr>\n";
+print &ui_hr();
print "<p>",&text('exec_header2', "<tt>$in{'db'}</tt>"),"<p>\n";
print "<form action=exec_file.cgi method=post enctype=multipart/form-data>\n";
print "<input type=hidden name=db value='$in{'db'}'> <table>\n";
print "</table> <input type=submit value='$text{'exec_exec'}'></form>\n";
# Form for loading a CSV or tab-separated file
-print "<hr>\n";
+print &ui_hr();
print "<p>",&text('exec_header3', "<tt>$in{'db'}</tt>"),"<br>",
$text{'exec_header4'},"<p>\n";
print "<form action=import.cgi method=post enctype=multipart/form-data>\n";
if (&is_postgresql_local()) {
if ($access{'stop'} || $access{'users'}) {
- print "<hr>\n";
+ print &ui_hr();
}
print &ui_buttons_start();
if ($access{'stop'}) {
}
if ($access{'users'}) {
- print "<hr>\n";
+ print &ui_hr();
print &ui_subheading($text{'index_users'});
@links = ( 'list_users.cgi', 'list_groups.cgi',
'list_hosts.cgi', 'list_grants.cgi' );
}
if ($access{'stop'} && &is_postgresql_local()) {
- print "<hr>\n";
+ print &ui_hr();
print "<form action=stop.cgi>\n";
print "<table width=100%><tr><td width=25%>\n";
print "<input type=submit ",
# Show backup all button
if ($can_all && $access{'backup'}) {
- print "<hr>\n" if (!$access{'stop'});
+ print &ui_hr() if (!$access{'stop'});
print "<form action=backup_form.cgi>\n";
print "<input type=hidden name=all value=1>\n";
print "<table width=100%><tr><td width=25%>\n";
print &ui_form_end([ [ "delete", $text{'user_delete'} ] ]);
if (&get_postgresql_version() >= 7 && &foreign_installed("useradmin")) {
- print "<hr>\n";
+ print &ui_hr();
print &ui_form_start("save_sync.cgi");
print "$text{'user_sync'}<br>\n";