@dir = ( &find_directive_struct("Directory", $anon) ,
&find_directive_struct("Limit", $anon) );
if (@dir) {
- print "<hr>\n";
+ print &ui_hr();
print "<h3>$text{'virt_header'}</h3>\n";
foreach $d (@dir) {
if ($d->{'name'} eq 'Limit') {
# Display limit options
@lim = &find_directive_struct("Limit", $dconf);
if (@lim) {
- print "<hr>\n";
+ print &ui_hr();
print "<h3>$text{'dir_header'}</h3>\n";
foreach $l (@lim) {
push(@links, "limit_index.cgi?limit=".&indexof($l, @$dconf).
@limit = ( &find_directive_struct("Limit", $conf) );
if (@limit) {
# Limit sub-directives
- print "<hr>\n";
+ print &ui_hr();
print "<h3>$text{'ftpindex_limit'}</h3>\n";
foreach $l (@limit) {
push(@links, "limit_index.cgi?limit=".&indexof($l, @$conf).
@dir = ( &find_directive_struct("Directory", $gconf) ,
&find_directive_struct("Limit", $gconf) );
if (@dir) {
- print "<hr>\n";
+ print &ui_hr();
print &ui_subheading($text{'virt_header'});
foreach $d (@dir) {
if ($d->{'name'} eq 'Limit') {
}
# Show virtual servers
-print "<hr>\n";
+print &ui_hr();
print &ui_subheading($text{'index_virts'});
if ($config{'show_list'} && scalar(@vname)) {
if (!$inet) {
# Get the FTP server pid
$pid = &get_proftpd_pid();
- print "<hr>\n";
+ print &ui_hr();
print &ui_buttons_start();
}
if (!$inet && $pid) {
@dir = ( &find_directive_struct("Directory", $conf) ,
&find_directive_struct("Limit", $conf) );
if (@dir) {
- print "<hr>\n";
+ print &ui_hr();
print "<h3>$text{'virt_header'}</h3>\n";
foreach $d (@dir) {
if ($d->{'name'} eq 'Limit') {