ui_hr
authorJoe Cooper <joe@virtualmin.com>
Sat, 10 May 2008 02:37:48 +0000 (02:37 +0000)
committerJoe Cooper <joe@virtualmin.com>
Sat, 10 May 2008 02:37:48 +0000 (02:37 +0000)
proftpd/anon_index.cgi
proftpd/dir_index.cgi
proftpd/ftpaccess_index.cgi
proftpd/index.cgi
proftpd/virt_index.cgi

index cf43c24..d0694a2 100755 (executable)
@@ -28,7 +28,7 @@ $anon_icon = { "icon" => "images/anon.gif",
 @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') {
index 9db71b6..e536bfe 100755 (executable)
@@ -36,7 +36,7 @@ $ed_icon = { "icon" => "images/edit.gif",
 # 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).
index aaa0172..e080d09 100755 (executable)
@@ -25,7 +25,7 @@ $ed_icon = { "icon" => "images/edit.gif",
 @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).
index ade10e4..8d1d824 100755 (executable)
@@ -97,7 +97,7 @@ $gconf = $global->{'members'} if ($global);
 @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') {
@@ -165,7 +165,7 @@ foreach $v (@virt) {
        }
 
 # Show virtual servers
-print "<hr>\n";
+print &ui_hr();
 print &ui_subheading($text{'index_virts'});
 
 if ($config{'show_list'} && scalar(@vname)) {
@@ -223,7 +223,7 @@ print "</form>\n";
 if (!$inet) {
        # Get the FTP server pid
        $pid = &get_proftpd_pid();
-       print "<hr>\n";
+       print &ui_hr();
        print &ui_buttons_start();
        }
 if (!$inet && $pid) {
index e9605ab..359405b 100755 (executable)
@@ -28,7 +28,7 @@ $ed_icon = { "icon" => "images/edit.gif",
 @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') {