]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
ovpnmain.cgi: change connected/disconnected to enabled/disabled at n2n connections.
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 13 Sep 2011 17:05:04 +0000 (19:05 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 13 Sep 2011 17:05:04 +0000 (19:05 +0200)
html/cgi-bin/ovpnmain.cgi

index b66299bf6dc2af1da851c4818bd0cd46680ab609..ea52f858c2f8d1ed48c544635504a314ee17607c 100644 (file)
@@ -3727,7 +3727,7 @@ END
        my $active = "<table cellpadding='2' cellspacing='0' bgcolor='${Header::colourred}' width='100%'><tr><td align='center'><b><font color='#FFFFFF'>$Lang::tr{'capsclosed'}</font></b></td></tr></table>";
 
        if ($confighash{$key}[0] eq 'off') {
-           $active = "<table cellpadding='2' cellspacing='0' bgcolor='${Header::colourblue}' width='100%'><tr><td align='center'><b><font color='#FFFFFF'>$Lang::tr{'capsclosed'}</font></b></td></tr></table>";
+           $active = "<table cellpadding='2' cellspacing='0' bgcolor='${Header::colourblue}' width='100%'><tr><td align='center'><b><font color='#FFFFFF'>$Lang::tr{'disabled'}</font></b></td></tr></table>";
        } else {
 
 ###
@@ -3750,7 +3750,7 @@ END
 #                         $p->close(); 
 
        if (-e "/var/run/$confighash{$key}[1]n2n.pid") {
-       $active = "<table cellpadding='2' cellspacing='0' bgcolor='${Header::colourgreen}' width='100%'><tr><td align='center'><b><font color='#FFFFFF'>$Lang::tr{'capsopen'}</font></b></td></tr></table>";
+       $active = "<table cellpadding='2' cellspacing='0' bgcolor='${Header::colourgreen}' width='100%'><tr><td align='center'><b><font color='#FFFFFF'>$Lang::tr{'enabledtitle'}</font></b></td></tr></table>";
        } 
     }