kleine optische Anpassung der VPN Stati

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@557 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-05-13 10:09:49 +00:00
parent 9b040aa0d8
commit a99274b3b6
4 changed files with 8 additions and 6 deletions

View File

@@ -225,7 +225,7 @@ END
} else {
foreach my $line (@status) {
if ($line =~ /\"$confighash{$key}[1]\".*IPsec SA established/) {
$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{'capsinactive'}</font></b></td></tr></table>";
}
}
}

View File

@@ -2529,7 +2529,7 @@ END
}
# move to blueif really down
if ($confighash{$key}[0] eq 'off' && $active =~ /${Header::colourred}/ ) {
$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{'capsinactive'}</font></b></td></tr></table>";
}
print <<END
<td align='center'>$active</td>

View File

@@ -396,8 +396,9 @@
'cant enable xtaccess' => 'Die zugehörige Port-Weiterleitungsregel ist deaktiviert, daher können Sie den externen Zugang für diese Regel nicht aktivieren.',
'cant start openssl' => 'Kann OpenSSL nicht starten',
'caps all' => 'ALLE',
'capsclosed' => 'BEENDET',
'capsopen' => 'OFFEN',
'capsclosed' => 'GETRENNT',
'capsinactive' => 'INAKTIV',
'capsopen' => 'VERBUNDEN',
'capswarning' => 'WARNUNG',
'caption' => 'Legende',
'cert' => 'Zertifikat',

View File

@@ -413,8 +413,9 @@
'cant enable xtaccess' => 'The associated port forwarding rule is disabled, therefore you cannot enable external access for this rule.',
'cant start openssl' => 'Can\'t start OpenSSL',
'caps all' => 'ALL',
'capsclosed' => 'CLOSED',
'capsopen' => 'OPEN',
'capsclosed' => 'DISCONNECTED',
'capsinactive' => 'INACTIVE',
'capsopen' => 'CONNECTED',
'capswarning' => 'WARNING',
'caption' => 'Caption',
'cert' => 'Certificate',