print "<b>$text{'index_none'}</b><p>\n";
}
print &ui_links_row(\@crlinks);
-print "<hr>\n";
+print &ui_hr();
print &ui_buttons_start();
@icons = map { "images/${_}.gif" } @opts;
&icons_table(\@links, \@titles, \@icons);
-print "<hr>\n";
+print &ui_hr();
print "<table width=100%><tr>\n";
# Show status
}
print "<a href=\"edit_export.cgi?new=1\">$text{'index_add'}</a> <p>\n";
-print "<hr>\n";
+print &ui_hr();
print "<table width=100%> <tr>\n";
print "<td><form action=restart_mountd.cgi>\n";
print "<input type=submit value=\"$text{'index_apply'}\">\n";
# Form to find existing .htaccess files
if ($can_create) {
- print "<hr>\n";
+ print &ui_hr();
print &ui_form_start("search.cgi");
print &ui_submit($text{'index_search'}),"\n";
print &ui_textbox("search", $accessdirs[0] eq "/" ? "" : $accessdirs[0],
}
print "</tr></table></form>\n";
-print "<hr>\n";
+print &ui_hr();
print "<a href=\"edit_rpc.cgi?new=1\">$text{'index_newrpc'}</a>. <br>\n";
print "<table border width=100%>\n";
print "<tr $tb> <td><b>$text{'index_rpc'}</b></td> </tr>\n";
print "</table></td></tr></table>\n";
print "<a href=\"edit_rpc.cgi?new=1\">$text{'index_newrpc'}</a>. <p>\n";
-print "<hr>\n";
+print &ui_hr();
print "<form action=restart_inetd.cgi>\n";
print "<table width=100%> <tr>\n";
print "<td><input type=submit value=\"$text{'index_apply'}\"></td>\n";
#create the edit file forms
if ($startscript ne "") {
- print "<hr>\n";
+ print &ui_hr();
print &text('edit_hostconfig_startup',
"<tt>$startscript</tt>"),"<br>\n";
# }
print "<input type=submit value='$text{'save'}'></form>\n";
}
if ($plistedit ne "") {
- print "<hr>\n";
+ print &ui_hr();
print &text('edit_hostconfig_plist',
"<tt>$plistedit</tt>"),"<br>\n";
# }
close(LOCAL);
print "</textarea><br>\n";
print "<input type=submit value='$text{'save'}'></form>\n";
- print "<hr>\n";
+ print &ui_hr();
#add reboot and shutdown messages to this page as well...
print "<table cellpadding=5 width=100%>\n";
[ "addboot_start", $text{'index_addboot_start'} ],
[ "delboot_stop", $text{'index_delboot_stop'} ],
]);
- print "<hr>\n";
+ print &ui_hr();
}
elsif ($init_mode eq "rc" && $access{'bootup'}) {
# Show FreeBSD scripts
}
# reboot/shutdown buttons
-print "<hr>\n";
+print &ui_hr();
print &ui_buttons_start();
if ($init_mode eq 'init' && $access{'bootup'} == 1) {
print &ui_buttons_row("change_rl.cgi", $text{'index_rlchange'},
print &ui_links_row(\@links);
print &ui_form_end([ [ "delete", $text{'index_delete'} ] ]);
-print "<hr>\n";
+print &ui_hr();
print "<table width=100%><tr>\n";
print "<form action=apply.cgi>\n";
print "<td><input type=submit value='$text{'inittab_apply'}'></td>\n";
print &ui_form_end();
# Show NAT rules
- print "<hr>\n";
+ print &ui_hr();
$natrules = &get_ipnat_config();
print &ui_form_start("edit_nat.cgi");
if (@$natrules) {
print &ui_form_end();
# Show buttons to apply configuration and start at boot
- print "<hr>\n";
+ print &ui_hr();
print &ui_buttons_start();
if (&foreign_check("servers")) {
print &ui_form_end();
# Show buttons to apply configuration and start at boot
- print "<hr>\n";
+ print &ui_hr();
$atboot = &check_boot();
print &ui_buttons_start();
print "<p>\n";
# Show icons for various options
- print "<hr>\n";
+ print &ui_hr();
print &ui_subheading($text{'index_header2'});
@links = ( "edit_config.cgi", "showkey.cgi",
"list_secrets.cgi" );
"$gconfig{'webprefix'}/config.cgi?$module_name"),"</b><p>\n";
}
- print "<hr>\n";
+ print &ui_hr();
print "<table width=100%>\n";
# Start connection button
print &text(@needs == 2 ? 'index_emodules' : 'index_emodule', @needs,
"/cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".&urlize($text{'index_return'})),"<p>\n";
print "$text{'index_expat'}<p>\n";
- print "<hr>\n";
+ print &ui_hr();
&ui_print_footer("/", $text{"index"});
exit;
}
$conf = &get_jabber_config();
if (!ref($conf)) {
print &text('index_eparse', "<tt>XML::Parser</tt>", $conf),"<p>\n";
- print "<hr>\n";
+ print &ui_hr();
&ui_print_footer("/", $text{"index"});
exit;
}
"<tt>$config{'jabber_config'}</tt>"),"</b><p>\n" if ($has_comment);
# Check if jabber is running and show the correct buttons
-print "<hr>\n";
+print &ui_hr();
print "<table width=100%>\n";
if (&check_pid_file(&jabber_pid_file())) {
# Running .. offer to restart and stop
&icons_table(\@links, \@titles, \@icons, 5);
# Validate button
-print "<hr>\n";
+print &ui_hr();
print &ui_buttons_start();
print &ui_buttons_row("check.cgi", $text{'index_check'},
$text{'index_checkdesc'});
print &ui_form_end([ [ undef, $text{'save'} ] ]);
# SSL setup button
-print "<hr>\n";
+print &ui_hr();
print &ui_buttons_start();
print &ui_buttons_row("gencert_form.cgi", $text{'slapd_gencert'},
$text{'slapd_gencertdesc'}.
"<tt>$config{'ldap_user'}</tt>"),"<p>\n";
print &ui_form_end([ [ undef, $text{'index_perms'} ] ]);
print "</center>\n";
- print "<hr>\n";
+ print &ui_hr();
}
# Check if need to init new install, by creating the root DN
print &text('index_setupdesc', "<tt>$base</tt>"),"<p>\n";
print &ui_form_end([ [ undef, $text{'index_setup'} ] ]);
print "</center>\n";
- print "<hr>\n";
+ print &ui_hr();
}
}
if ($local == 1) {
# Show stop/restart buttons
- print "<hr>\n";
+ print &ui_hr();
print &ui_buttons_start();
if (&is_ldap_server_running()) {
if ($access{'apply'}) {
# Show groups header
if ($gcount || $access{'gcreate'}) {
- print "<hr>\n";
+ print &ui_hr();
print "<a name=groups></a>\n";
print "<table width=100% cellpadding=0 cellspacing=0><tr>\n";
print "<td>".&ui_subheading($text{'index_groups'})."</td>\n";
&icons_table(\@links, \@titles, \@icons, 4);
print "<a href='edit_image.cgi?new=1'>$text{'index_addk'}</a> \n";
print "<a href='edit_other.cgi?new=1'>$text{'index_addp'}</a><p>\n";
-print "<hr>\n";
+print &ui_hr();
print "<table width=100%>\n";
print "<form action=edit_global.cgi>\n";
}
# Show buttons for editing global config and scheduling
-print "<hr>\n";
+print &ui_hr();
print &ui_buttons_start();
print &ui_buttons_row("edit_log.cgi", $text{'index_global'},
$text{'index_globaldesc'},
}
# display button to start or stop the scheduler (lpd, lpsched, etc..)
-print "<hr>\n";
+print &ui_hr();
print &ui_buttons_start();
$pid = &sched_running();
if ($pid < 0 || !$access{'stop'}) {
if ($in{'lv'} && !$stat[2] && !$lv->{'is_snap'}) {
# Show button for creating filesystems
- print "<hr>\n";
+ print &ui_hr();
print &ui_buttons_start();
$fstype = $stat[1] || "ext3";
}
if ($config{'manual_build'}) {
- print "<hr>\n";
+ print &ui_hr();
print "<table width=100%><tr>\n";
print "<form action=build.cgi>\n";
print "<input type=hidden name=table value='$in{'table'}'>\n";
"images/dacfg.gif", "images/log.gif" );
&icons_table(\@links, \@titles, \@icons);
-print "<hr>\n";
+print &ui_hr();
if (&slpd_is_running()) {
print "<form action=stop.cgi>\n";
print "<table width=100%><tr><td>\n";