From patchwork Thu Dec 24 10:56:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 3755 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4D1n7Y336dz3wx8 for ; Thu, 24 Dec 2020 10:56:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4D1n7W1XYGzpy; Thu, 24 Dec 2020 10:56:23 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4D1n7W0ZFKz2xvK; Thu, 24 Dec 2020 10:56:23 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4D1n7T2WwCz2xdN for ; Thu, 24 Dec 2020 10:56:21 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4D1n7S4kLpzBR for ; Thu, 24 Dec 2020 10:56:20 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1608807380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=8TuRXlYnXp+IlULKLpCrd8131iAOOCJNHgCyCwJ6XX8=; b=7EJiT5QiT8hHGvtdNJf+GsTPnzfUsqFkO7XkR6E9XTyBozfDK4P49umV+5wEeqAYfr6ZY3 +4gCOZNcuTJBDmAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1608807380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=8TuRXlYnXp+IlULKLpCrd8131iAOOCJNHgCyCwJ6XX8=; b=ZMRr7VNepD8KGbQScQz2VpntKpxJEch2ZWpNbF6KwFfHlC/2i+QHQYGtJShM1G+XZKoCiv W0BL08GdqbZcoqdvOt7ajUlFz1bcd0WoXF6bzD2LwKhd6V0JkUecKa/amwJPjP7enwH1Q0 beCuuvARs+Ee00ZiqErGtxbcPpOmdHazs2a6W67F4eDuzw9xJrZEcP6KyqiiUtyD2oIR6k r4nVuAeeBSL8w9+OMZYe/eo93Ei1V/fTigNNV1N+3KJKNA6QD+C8Fent8Lmj13PY5mjKzK 8ZmGQZAkq/MEnUtPW6dmM1/WZo/89Vf/HFEEFqE8h0J0euJfV/2u8/ImaTVwcA== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] country.cgi: Cosmetic fix for 'Back'-button' Date: Thu, 24 Dec 2020 11:56:13 +0100 Message-Id: <20201224105613.1220-1-matthias.fischer@ipfire.org> X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 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" While testing Peter's patch for Bug #12560 I noticed that the standard 'back'-button at the end of the page - like in 'ipinfo.cgi' - was implemented as a text string. I just took the code segment with the 'back'-*image* from 'ipinfo.cgi' to make this link looking similar to the other pages. Signed-off-by: Matthias Fischer --- html/cgi-bin/country.cgi | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/html/cgi-bin/country.cgi b/html/cgi-bin/country.cgi index b1c72bb22..7504a7601 100644 --- a/html/cgi-bin/country.cgi +++ b/html/cgi-bin/country.cgi @@ -96,10 +96,17 @@ foreach my $country (@countries) { print ""; &Header::closebox(); -&Header::closebigbox(); +print < + + +<-> + +
$Lang::tr{
+ +END +; -print "\n"; +&Header::closebigbox(); &Header::closepage(); - -