Fixed proxy label on index.cgi

Added apcusd status again.
This commit is contained in:
Jan Paul Tuecking
2009-11-07 19:28:14 +01:00
parent 53fa243711
commit ef482d53f3
3 changed files with 10 additions and 5 deletions

8
html/cgi-bin/index.cgi Normal file → Executable file
View File

@@ -314,9 +314,9 @@ END
<td width='45%' align='center'>
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 <<END;
<tr><td align='center' bgcolor='$Header::colourblue' width='25%'><a href="/cgi-bin/wireless.cgi"><font size='2' color='white'><b>$Lang::tr{'wireless'}</b></font></a><br>
@@ -324,9 +324,9 @@ END
<td width='45%' align='center'>
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 <<END;
<tr><td align='center' bgcolor='$Header::colourorange' width='25%'><a href="/cgi-bin/dmzholes.cgi"><font size='2' color='white'><b>$Lang::tr{'dmz'}</b></font></a><br>

View File

@@ -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

View File

@@ -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',