From patchwork Thu Sep 21 09:46:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 1424 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 211A66147E for ; Thu, 21 Sep 2017 01:46:36 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id E8C56180C; Thu, 21 Sep 2017 01:46:34 +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 51C931640 for ; Thu, 21 Sep 2017 01:46:32 +0200 (CEST) From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] proxy.cgi: Some cosmetics for the absolutely lazy ones (V2) Date: Thu, 21 Sep 2017 01:46:27 +0200 Message-Id: <20170920234627.10414-1-matthias.fischer@ipfire.org> X-Mailer: git-send-email 2.14.1 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, this time without the need to alter the language-files. Best, Matthias Signed-off-by: Matthias Fischer --- html/cgi-bin/proxy.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi index 0b7d36c3c..dd83bba73 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'}."
"; print $Lang::tr{'advproxy enabled'}."
"; print "+ ".int(($count**(1/3)) * 6); print ""; -print "".$Lang::tr{'advproxy update accelerator'}."
"; +print "".$Lang::tr{'advproxy update accelerator'}."
"; print $Lang::tr{'advproxy enabled'}."
"; print "+ ".int(($count**(1/3)) * 5); print "";