From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] proxy.cgi: Some cosmetics for the absolutely lazy ones... ; -) Date: Sun, 17 Sep 2017 15:18:12 +0200 Message-ID: <20170917131812.2865-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5171000197402646532==" List-Id: --===============5171000197402646532== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Added clickable links for 'URL filter' and 'Update accelerator' for faster ac= cess. Best, Matthias Signed-off-by: Matthias Fischer --- html/cgi-bin/proxy.cgi | 4 ++-- langs/de/cgi-bin/de.pl | 2 ++ langs/en/cgi-bin/en.pl | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi index 0b7d36c3c..1a5985d17 100644 --- a/html/cgi-bin/proxy.cgi +++ b/html/cgi-bin/proxy.cgi @@ -1054,11 +1054,11 @@ if ( -e "/usr/bin/squidclamav" ) { } else { print ""; } -print "".$Lang::tr{'advproxy url filter'}."
"; +print "".$Lang::tr{'advproxy url filter link'}.""; print $Lang::tr{'advproxy enabled'}."
"; print "+ ".int(($count**(1/3)) * 6); print ""; -print "".$Lang::tr{'advproxy update accelerator'}."

"; +print "".$Lang::tr{'advproxy update accelerator link'}= ."
"; print $Lang::tr{'advproxy enabled'}."
"; print "+ ".int(($count**(1/3)) * 5); print ""; diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index 7bc1c495d..45e45aa2e 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -327,12 +327,14 @@ 'advproxy unrestricted ip clients' =3D> 'Uneingeschr=C3=A4nkte IP-Adressen (= eine pro Zeile)', 'advproxy unrestricted mac clients' =3D> 'Uneingeschr=C3=A4nkte MAC-Adressen= (eine pro Zeile)', 'advproxy update accelerator' =3D> 'Update-Accelerator', +'advproxy update accelerator link' =3D> 'Update-Accelerator', 'advproxy update notification' =3D> 'Update-Benachrichtigung!', 'advproxy upstream password' =3D> 'Proxy-Passwort', 'advproxy upstream proxy' =3D> 'Vorgelagerter Proxy', 'advproxy upstream proxy host:port' =3D> 'Vorgelagerter Proxy (Host:Port)', 'advproxy upstream username' =3D> 'Proxy-Benutzername', 'advproxy url filter' =3D> 'URL-Filter', +'advproxy url filter link' =3D> 'URL-Filt= er', 'advproxy username forwarding' =3D> ' Benutzernamen weiterleiten', 'advproxy via forwarding' =3D> 'Proxy-Adresse weiterleiten', 'advproxy visible hostname' =3D> 'Sichtbarer Hostname', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 9732a6e9d..adebbf4b4 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -327,6 +327,7 @@ 'advproxy unrestricted ip clients' =3D> 'Unrestricted IP addresses (one per = line)', 'advproxy unrestricted mac clients' =3D> 'Unrestricted MAC addresses (one pe= r line)', 'advproxy update accelerator' =3D> 'Update accelerator', +'advproxy update accelerator link' =3D> 'Update accelerator', 'advproxy update information' =3D> 'There is an updated version available fo= r download. Visit http:= //www.advproxy.net for more information.', 'advproxy update notification' =3D> 'Update notification!', 'advproxy upstream password' =3D> 'Upstream password', @@ -334,6 +335,7 @@ 'advproxy upstream proxy host:port' =3D> 'Upstream proxy (host:port)', 'advproxy upstream username' =3D> 'Upstream username', 'advproxy url filter' =3D> 'URL filter', +'advproxy url filter link' =3D> 'URL filt= er', 'advproxy username forwarding' =3D> 'Username forwarding', 'advproxy via forwarding' =3D> 'Proxy address forwarding', 'advproxy visible hostname' =3D> 'Visible hostname', --=20 2.14.1 --===============5171000197402646532==--