ui_hr
authorJoe Cooper <joe@virtualmin.com>
Sat, 10 May 2008 03:02:55 +0000 (03:02 +0000)
committerJoe Cooper <joe@virtualmin.com>
Sat, 10 May 2008 03:02:55 +0000 (03:02 +0000)
16 files changed:
pam/edit_pam.cgi
pap/list_mgetty.cgi
pap/list_secrets.cgi
postfix/edit_canonical_mappings.cgi
postfix/header.cgi
postfix/index.cgi
postfix/mailq.cgi
postfix/relocated.cgi
postfix/transport.cgi
postfix/virtual.cgi
ppp-client/index.cgi
pptp-client/index.cgi
pptp-server/index.cgi
procmail/index.cgi
pserver/index.cgi
pserver/list_passwd.cgi

index e4f74f6..417de36 100755 (executable)
@@ -128,7 +128,7 @@ if (&include_style(\@pams) == 3) {
        }
 
 # Delete whole service form
-print "<hr>\n";
+print &ui_hr();
 print &ui_form_start("delete_pam.cgi");
 print &ui_hidden("idx", $in{'idx'});
 print &ui_form_end([ [ undef, $text{'edit_delete'} ] ]);
index edf8a11..44b9a19 100755 (executable)
@@ -65,7 +65,7 @@ else {
        }
 print "<a href='edit_mgetty.cgi?new=1'>$text{'mgetty_add'}</a><p>\n";
 
-print "<hr>\n";
+print &ui_hr();
 print "<form action=mgetty_apply.cgi>\n";
 print "<table width=100%><tr>\n";
 print "<td><input type=submit value='$text{'mgetty_apply'}'></td>\n";
index 0df2e89..4dd315f 100755 (executable)
@@ -48,7 +48,7 @@ else {
        }
 
 if ($access{'sync'}) {
-       print "<hr>\n", $text{'index_info'}, " <p>\n";
+       print &ui_hr(), $text{'index_info'}, " <p>\n";
 
        print "<form action=save_sync.cgi>\n";
        printf "<input type=checkbox name=add value=1 %s>\n",
index f5fa4a1..76a8196 100755 (executable)
@@ -60,6 +60,6 @@ print "</table></td></tr></table><p>\n";
 print "<input type=submit value=\"$text{'alias_save'}\">\n";
 print "<input type=submit name=delete value=\"$text{'delete_alias'}\"></form>\n";
 
-print "<hr>\n";
+print &ui_hr();
 print "<br>\n";
 
index bc43efc..bf1a4c7 100755 (executable)
@@ -38,7 +38,7 @@ print "</tr>\n";
 
 print "</table></td></tr></table><p>\n";
 print "<input type=submit value=\"$text{'opts_save'}\"></form>\n";
-print "<hr>\n";
+print &ui_hr();
 print "<br>\n";
 
 
index 5637c72..c5c1939 100755 (executable)
@@ -124,7 +124,7 @@ foreach $oitem (@onames)
 
 if ($access{'startstop'})
 {
-    print "<hr>\n";
+    print &ui_hr();
 
     if (&is_postfix_running())
     {
index 60c28ef..e9ce50c 100755 (executable)
@@ -71,7 +71,7 @@ if (@qfiles) {
 
        # Show flush button, if the needed command is installed
        if (&has_command($config{'postfix_queue_command'})) {
-               print "<hr>\n";
+               print &ui_hr();
                print "<table width=100%><tr><form action=flushq.cgi>\n";
                print "<td><input type=submit ",
                      "value='$text{'mailq_flush'}'></td>\n";
index 9649d7e..71e66a0 100755 (executable)
@@ -37,7 +37,7 @@ print "</tr>\n";
 
 print "</table></td></tr></table><p>\n";
 print "<input type=submit value=\"$text{'opts_save'}\"></form>\n";
-print "<hr>\n";
+print &ui_hr();
 print "<br>\n";
 
 
index 1d528ad..4c66860 100755 (executable)
@@ -39,7 +39,7 @@ print "</tr>\n";
 
 print "</table></td></tr></table><p>\n";
 print "<input type=submit value=\"$text{'opts_save'}\"></form>\n";
-print "<hr>\n";
+print &ui_hr();
 print "<br>\n";
 
 
index 21aa0b9..1664d6c 100755 (executable)
@@ -45,7 +45,7 @@ if ($postfix_version >= 2) {
 
 print "</table></td></tr></table><p>\n";
 print "<input type=submit value=\"$text{'opts_save'}\"></form>\n";
-print "<hr>\n";
+print &ui_hr();
 print "<br>\n";
 
 
index dbfb3b0..95b0a8a 100755 (executable)
@@ -57,7 +57,7 @@ else {
                # Show buttons for connect/disconnect and status
                local @dials = grep { $_->{'name'} =~ /^Dialer\s+/i }
                                    @$conf;
-               print "<hr>\n";
+               print &ui_hr();
                print "<table width=100%>\n";
                ($ip, $pid, $sect) = &get_connect_details();
                if ($ip && kill(0, $pid)) {
index f827eb5..60aa938 100755 (executable)
@@ -40,7 +40,7 @@ else {
                }
        print "<a href='edit.cgi?new=1'>$text{'index_add'}</a><p>\n";
 
-       print "<hr>\n";
+       print &ui_hr();
        print "<table width=100%>\n";
        print "<tr><form action=edit_opts.cgi>\n";
        print "<td><input type=submit ",
index 10c3652..ba1ad72 100755 (executable)
@@ -55,7 +55,7 @@ else {
                &icons_table(\@links, \@titles, \@images);
 
                # Start or stop/apply buttons
-               print "<hr>\n";
+               print &ui_hr();
                print "<table width=100%>\n";
                $pid = &get_pptpd_pid();
                if ($access{'apply'}) {
index 4402581..d7938d3 100755 (executable)
@@ -158,7 +158,7 @@ else {
        }
 
 # Manual edit button
-print "<hr>\n";
+print &ui_hr();
 print &ui_buttons_start();
 print &ui_buttons_row("manual_form.cgi",
                      $text{'index_man'}, $text{'index_mandesc'});
index 1233ba8..83d7a1e 100755 (executable)
@@ -58,7 +58,7 @@ if (!-d "$config{'cvsroot'}/CVSROOT") {
 
 if ($access{'setup'}) {
        # Check if run from inetd or xinetd
-       print "<hr>\n";
+       print &ui_hr();
        print "<table width=100%><tr>\n";
        $inet = &check_inetd();
        if ($inet && $inet->{'args'} =~ /\s(\/\S+)\s+pserver$/) {
index cbcc770..ffdd918 100755 (executable)
@@ -39,7 +39,7 @@ else {
        }
 print &ui_links_row(\@links);
 
-print "<hr>\n";
+print &ui_hr();
 print "<form action=save_sync.cgi>\n";
 print "$text{'passwd_sync'}<p>\n";
 printf "<input type=checkbox name=sync_create value=1 %s> %s<br>\n",