mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Verbindungsanzeige korrigiert
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@958 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -331,16 +331,18 @@ sub connectionstatus
|
||||
|
||||
my ($timestr, $connstate);
|
||||
|
||||
my $connstate = "<span class='ipcop_StatusBig'>$Lang::tr{'idle'} $profileused</span>";
|
||||
my $connstate = "<span>$Lang::tr{'idle'} $profileused</span>";
|
||||
|
||||
if (-e "${General::swroot}/red/active") {
|
||||
$timestr = &General::age("${General::swroot}/red/active");
|
||||
$connstate = "<span class='ipcop_StatusBig'>$Lang::tr{'connected'} - (<span class='ipcop_StatusBigRed'>$timestr</span>) $profileused</span>";
|
||||
$connstate = "<span>$Lang::tr{'connected'} - (<span>$timestr</span>) $profileused</span>";
|
||||
} else {
|
||||
if (($pppsettings{'RECONNECTION'} eq "dialondemand") && ( -e "${General::swroot}/red/dial-on-demand")) {
|
||||
$connstate = "<span class='ipcop_StatusBig'>$Lang::tr{'dod waiting'} $profileused</span>";
|
||||
if ((open(KEEPCONNECTED, "</var/ipfire/red/keepconnected") == false) && ($pppsettings{'RECONNECTION'} eq "persistent")) {
|
||||
$connstate = "<span>$Lang::tr{'connection closed'} $profileused</span>";
|
||||
} elsif (($pppsettings{'RECONNECTION'} eq "dialondemand") && ( -e "${General::swroot}/red/dial-on-demand")) {
|
||||
$connstate = "<span>$Lang::tr{'dod waiting'} $profileused</span>";
|
||||
} else {
|
||||
$connstate = "<span class='ipcop_StatusBig'>$Lang::tr{'connecting'} $profileused</span>" if (system("ps -ef | grep -q '[p]ppd'"));
|
||||
$connstate = "<span>$Lang::tr{'connecting'} $profileused</span>" if (system("ps -ef | grep -q '[p]ppd'"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -473,6 +473,7 @@
|
||||
'connected' => 'Verbunden',
|
||||
'connecting' => 'Baue Verbindung auf...',
|
||||
'connection' => 'Verbindung',
|
||||
'connection closed' => 'Nicht Verbunden...',
|
||||
'connection debugging' => 'Verbindungs-Debugging',
|
||||
'connection status and controlc' => 'Verbindungsstatus und -kontrolle:',
|
||||
'connection tracking' => 'IPTables-Verbindungsverfolgung',
|
||||
|
||||
@@ -493,6 +493,7 @@
|
||||
'connected' => 'Connected',
|
||||
'connecting' => 'Connecting...',
|
||||
'connection' => 'Connection',
|
||||
'connection closed' => 'Not connected...',
|
||||
'connection debugging' => 'Connection debugging',
|
||||
'connection status and controlc' => 'Connection status and control:',
|
||||
'connection tracking' => 'IPTables Connection Tracking',
|
||||
|
||||
Reference in New Issue
Block a user