From patchwork Sun Sep 17 23:18:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 1420 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id D6D886147E for ; Sun, 17 Sep 2017 15:18:20 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id C7ABD18B4; Sun, 17 Sep 2017 15:18:19 +0200 (CEST) Received: from Devel.localdomain (p5DD83A95.dip0.t-ipconnect.de [93.216.58.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 406DF18B4 for ; Sun, 17 Sep 2017 15:18:18 +0200 (CEST) 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> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Added clickable links for 'URL filter' and 'Update accelerator' for faster access. 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' => 'Uneingeschränkte IP-Adressen (eine pro Zeile)', 'advproxy unrestricted mac clients' => 'Uneingeschränkte MAC-Adressen (eine pro Zeile)', 'advproxy update accelerator' => 'Update-Accelerator', +'advproxy update accelerator link' => 'Update-Accelerator', 'advproxy update notification' => 'Update-Benachrichtigung!', 'advproxy upstream password' => 'Proxy-Passwort', 'advproxy upstream proxy' => 'Vorgelagerter Proxy', 'advproxy upstream proxy host:port' => 'Vorgelagerter Proxy (Host:Port)', 'advproxy upstream username' => 'Proxy-Benutzername', 'advproxy url filter' => 'URL-Filter', +'advproxy url filter link' => 'URL-Filter', 'advproxy username forwarding' => ' Benutzernamen weiterleiten', 'advproxy via forwarding' => 'Proxy-Adresse weiterleiten', 'advproxy visible hostname' => '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' => 'Unrestricted IP addresses (one per line)', 'advproxy unrestricted mac clients' => 'Unrestricted MAC addresses (one per line)', 'advproxy update accelerator' => 'Update accelerator', +'advproxy update accelerator link' => 'Update accelerator', 'advproxy update information' => 'There is an updated version available for download. Visit http://www.advproxy.net for more information.', 'advproxy update notification' => 'Update notification!', 'advproxy upstream password' => 'Upstream password', @@ -334,6 +335,7 @@ 'advproxy upstream proxy host:port' => 'Upstream proxy (host:port)', 'advproxy upstream username' => 'Upstream username', 'advproxy url filter' => 'URL filter', +'advproxy url filter link' => 'URL filter', 'advproxy username forwarding' => 'Username forwarding', 'advproxy via forwarding' => 'Proxy address forwarding', 'advproxy visible hostname' => 'Visible hostname',