&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'},
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);
&show_buttons();
if ($access{'default'}) {
- print "<hr>\n";
+ print &ui_hr();
print &text('lgroups_info', $text{'lusers_useradmin'});
print "<p>\n";
# 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);
# 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";
# 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);
# 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%" ]);
}
print &ui_table_end();
-print "<hr>\n";
+print &ui_hr();
@grid = ( );
if ($raid_mode eq "raidtools" && !$st[2]) {
"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";
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";
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
print "</applet><br>\n";
print "$text{'index_credits'}</center>\n";
-print "<hr>\n";
+print &ui_hr();
&footer("/", $text{'index'});
sub connect_timeout
sub error_exit
{
print "<p>",@_,"<p>\n";
-print "<hr>\n";
+print &ui_hr();
&footer("/", $text{'index'});
exit;
}
}
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";
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";
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";