From 7f9f851640e27a2b655e626b9ecd6b5995db1c2e Mon Sep 17 00:00:00 2001 From: maniacikarus Date: Mon, 8 Oct 2007 19:11:07 +0000 Subject: [PATCH] Verbindungsanzeige korrigiert git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@958 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- config/cfgroot/header.pl | 12 +++++++----- langs/de/cgi-bin/de.pl | 1 + langs/en/cgi-bin/en.pl | 1 + 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/config/cfgroot/header.pl b/config/cfgroot/header.pl index a3949cba34..e309817781 100644 --- a/config/cfgroot/header.pl +++ b/config/cfgroot/header.pl @@ -331,16 +331,18 @@ sub connectionstatus my ($timestr, $connstate); - my $connstate = "$Lang::tr{'idle'} $profileused"; + my $connstate = "$Lang::tr{'idle'} $profileused"; if (-e "${General::swroot}/red/active") { $timestr = &General::age("${General::swroot}/red/active"); - $connstate = "$Lang::tr{'connected'} - ($timestr) $profileused"; + $connstate = "$Lang::tr{'connected'} - ($timestr) $profileused"; } else { - if (($pppsettings{'RECONNECTION'} eq "dialondemand") && ( -e "${General::swroot}/red/dial-on-demand")) { - $connstate = "$Lang::tr{'dod waiting'} $profileused"; + if ((open(KEEPCONNECTED, " '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', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 5c1a25f943..8a4dbcd640 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -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', -- 2.39.2