ui_hr
authorJoe Cooper <joe@virtualmin.com>
Sat, 10 May 2008 02:44:54 +0000 (02:44 +0000)
committerJoe Cooper <joe@virtualmin.com>
Sat, 10 May 2008 02:44:54 +0000 (02:44 +0000)
postgresql/exec_form.cgi
postgresql/index.cgi
postgresql/list_users.cgi

index f2443ee..76622eb 100755 (executable)
@@ -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";
index b48b0b3..62a02ef 100755 (executable)
@@ -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";
index ac899d8..c94605e 100755 (executable)
@@ -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";