From ef482d53f35d4547c5260fd7778fa5e1ac891026 Mon Sep 17 00:00:00 2001 From: Jan Paul Tuecking Date: Sat, 7 Nov 2009 19:28:14 +0100 Subject: [PATCH] Fixed proxy label on index.cgi Added apcusd status again. --- html/cgi-bin/index.cgi | 8 ++++---- langs/de/cgi-bin/de.pl | 4 +++- langs/en/cgi-bin/en.pl | 3 +++ 3 files changed, 10 insertions(+), 5 deletions(-) mode change 100644 => 100755 html/cgi-bin/index.cgi diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi old mode 100644 new mode 100755 index a1b0369e6e..6a78baa9bc --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -314,9 +314,9 @@ END END if ( `cat /var/ipfire/proxy/advanced/settings | grep ^ENABLE=on` ) { - print "Proxy an"; + print $Lang::tr{'advproxy on'}; if ( `cat /var/ipfire/proxy/advanced/settings | grep ^TRANSPARENT=on` ) { print " (transparent)"; } - } else { print "Proxy aus"; } + } else { print $Lang::tr{'advproxy off'}; } } if ( $netsettings{'BLUE_DEV'} ) { print <$Lang::tr{'wireless'}
@@ -324,9 +324,9 @@ END END if ( `cat /var/ipfire/proxy/advanced/settings | grep ^ENABLE_BLUE=on` ) { - print "Proxy an"; + print $Lang::tr{'advproxy on'}; if ( `cat /var/ipfire/proxy/advanced/settings | grep ^TRANSPARENT_BLUE=on` ) { print " (transparent)"; } - } else { print "Proxy aus"; } + } else { print $Lang::tr{'advproxy off'}; } } if ( $netsettings{'ORANGE_DEV'} ) { print <$Lang::tr{'dmz'}
diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index 17942107a2..536a59afd2 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -313,6 +313,8 @@ 'advproxy visible hostname' => 'Sichtbarer Hostname', 'advproxy web browser' => 'Web-Browser', 'advproxy wednesday' => 'Mit', +'advproxy on' => 'Proxy an', +'advproxy off' => 'Proxy aus', 'again' => 'Wiederholung:', 'aktiv' => 'aktiv', 'album' => 'Album', @@ -336,6 +338,7 @@ 'alt system' => 'System', 'alt vpn' => 'VPNs', 'and' => 'Und', +'apcupsd' => 'APC-UPS status', 'apply' => 'Jetzt anwenden', 'april' => 'April', 'archive not exist' => 'Konfigurationsarchiv existiert nicht', @@ -2056,7 +2059,6 @@ 'proxy admin password' => 'Cache Administrator Passwort', 'proxy cachemgr' => 'Cachemanager aktivieren', 'proxy reconfigure' => 'Speichern und Laden', -'apcupsd' => 'APC-UPS Status', ); #EOF diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 20baf0de57..d156316e26 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -317,6 +317,8 @@ 'advproxy visible hostname' => 'Visible hostname', 'advproxy web browser' => 'Web browser', 'advproxy wednesday' => 'Wed', +'advproxy on' => 'Proxy on', +'advproxy off' => 'Proxy off', 'again' => 'Again:', 'aktiv' => 'Active', 'album' => 'Album', @@ -341,6 +343,7 @@ 'alt vpn' => 'VPNs', 'and' => 'And', 'ansi t1.483' => 'TO BE REMOVED', +'apcupsd' => 'APC-UPS status', 'apply' => 'Apply now', 'april' => 'April', 'archive not exist' => 'Configuration archive does not exist', -- 2.39.2