This commit is contained in:
Joe Cooper
2008-05-10 03:04:49 +00:00
parent d2e1a28455
commit 4c9c14d32c
11 changed files with 16 additions and 16 deletions

View File

@@ -52,7 +52,7 @@ if (!$config{'mailq_count'}) {
&icons_table(\@olinks, \@otitles, \@oicons);
# Check if the qmail processes are running
print "<hr>\n";
print &ui_hr();
print &ui_buttons_start();
if (&is_qmail_running()) {
print &ui_buttons_row("stop.cgi", $text{'index_stop'},

View File

@@ -51,7 +51,7 @@ if (@routes) {
print &ui_form_end([ [ "delete", $text{'routes_delete'} ] ]);
}
print "<hr>\n";
print &ui_hr();
print "<form action=save_defroute.cgi>\n";
print "<input type=hidden name=idx value='$defroute->{'idx'}'>\n"
if ($defroute);

View File

@@ -204,7 +204,7 @@ else {
&show_buttons();
if ($access{'default'}) {
print "<hr>\n";
print &ui_hr();
print &text('lgroups_info', $text{'lusers_useradmin'});
print "<p>\n";
@@ -234,7 +234,7 @@ if ($access{'default'}) {
# Show form for email notifications
if ($access{'email'} && &foreign_check("cron") &&
&foreign_check("mailboxes")) {
print "<hr>\n";
print &ui_hr();
print &ui_form_start("save_gemail.cgi");
print &ui_hidden("filesys", $f);
print &ui_table_start($text{'lgroups_emailheader'}, "width=100%", 4);

View File

@@ -207,7 +207,7 @@ else {
# Show form for setting default quotas for new users
if ($access{'default'}) {
print "<hr>\n";
print &ui_hr();
print &text('lusers_info', $text{'lusers_useradmin'});
print "<p>\n";
@@ -237,7 +237,7 @@ if ($access{'default'}) {
# Show form for email notifications
if ($access{'email'} && &foreign_check("cron") &&
&foreign_check("mailboxes")) {
print "<hr>\n";
print &ui_hr();
print &ui_form_start("save_email.cgi");
print &ui_hidden("filesys", $f);
print &ui_table_start($text{'lusers_emailheader'}, "width=100%", 4);

View File

@@ -63,7 +63,7 @@ else {
# Form for mdadm monitoring options
if ($raid_mode eq "mdadm") {
$notif = &get_mdadm_notifications();
print "<hr>\n";
print &ui_hr();
print &ui_form_start("save_mdadm.cgi", "post");
print &ui_table_start($text{'index_header'}, undef, 2, [ "width=30%" ]);

View File

@@ -116,7 +116,7 @@ if ($sp) {
}
print &ui_table_end();
print "<hr>\n";
print &ui_hr();
@grid = ( );
if ($raid_mode eq "raidtools" && !$st[2]) {

View File

@@ -31,7 +31,7 @@ if (!-r $config{'vgetty_config'}) {
"images/messages.gif" );
&icons_table(\@links, \@titles, \@icons);
print "<hr>\n";
print &ui_hr();
print "<form action=vgetty_apply.cgi>\n";
print "<table width=100%><tr>\n";
print "<td><input type=submit value='$text{'vgetty_apply'}'></td>\n";

View File

@@ -56,7 +56,7 @@ else {
print "<p><b>$text{'messages_none'}</b> <p>\n";
}
print "<hr>\n";
print &ui_hr();
print "$text{'messages_updesc'}<p>\n";
print "<form action=upload.cgi method=post enctype=multipart/form-data>\n";
print "<input type=submit value='$text{'messages_upload'}'>\n";

View File

@@ -6,7 +6,7 @@ require '../web-lib.pl';
use Socket;
&init_config();
&header($text{'index_title'}, "", undef, &get_product_name() eq 'webmin', 1);
print "<hr>\n";
print &ui_hr();
if ($config{'program'}) {
# Check if Xvnc is installed
@@ -77,7 +77,7 @@ print "$text{'index_nojava'} <p>\n";
print "</applet><br>\n";
print "$text{'index_credits'}</center>\n";
print "<hr>\n";
print &ui_hr();
&footer("/", $text{'index'});
sub connect_timeout
@@ -87,7 +87,7 @@ sub connect_timeout
sub error_exit
{
print "<p>",@_,"<p>\n";
print "<hr>\n";
print &ui_hr();
&footer("/", $text{'index'});
exit;
}

View File

@@ -101,7 +101,7 @@ if (!$inet) {
}
if (!$inet && $pid) {
print "<hr>\n";
print &ui_hr();
print "<form action=restart.cgi>\n";
print "<input type=hidden name=pid value='$pid'>\n";
print "<table width=100%><tr>\n";
@@ -110,7 +110,7 @@ if (!$inet && $pid) {
print "</tr></table></form>\n";
}
elsif (!$inet && !$pid) {
print "<hr>\n";
print &ui_hr();
print "<form action=start.cgi>\n";
print "<table width=100%><tr>\n";
print "<td><input type=submit value=\"$text{'index_start'}\"></td>\n";

View File

@@ -97,7 +97,7 @@ print "<input type=submit name=enable value='$text{'index_enable'}'>\n";
print "<input type=submit name=disable value='$text{'index_disable'}'>\n";
print "</form>\n";
print "<hr>\n";
print &ui_hr();
print "<table>\n";
print "<form action=edit_defaults.cgi>\n";
print "<tr> <td><input type=submit value=\"$text{'index_defaults'}\"></td>\n";