}
# 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'} ] ]);
}
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";
}
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",
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";
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";
if ($access{'startstop'})
{
- print "<hr>\n";
+ print &ui_hr();
if (&is_postfix_running())
{
# 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";
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";
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";
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";
# 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)) {
}
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 ",
&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'}) {
}
# 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'});
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$/) {
}
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",