This commit is contained in:
Joe Cooper
2008-05-10 02:44:54 +00:00
parent 36d32662da
commit 8dfb3afb38
3 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ print "<textarea name=cmd rows=10 cols=70></textarea><br>\n";
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";
@@ -28,7 +28,7 @@ print "<tr> <td><input type=radio name=mode value=1> ",
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";

View File

@@ -58,7 +58,7 @@ if ($r == 0) {
if (&is_postgresql_local()) {
if ($access{'stop'} || $access{'users'}) {
print "<hr>\n";
print &ui_hr();
}
print &ui_buttons_start();
if ($access{'stop'}) {
@@ -243,7 +243,7 @@ else {
}
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' );
@@ -255,7 +255,7 @@ else {
}
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 ",
@@ -266,7 +266,7 @@ else {
# 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";

View File

@@ -33,7 +33,7 @@ print &ui_links_row(\@rowlinks);
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";