From patchwork Sat Apr 13 02:21:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 2197 Return-Path: Received: from mail01.ipfire.org (mail01.i.ipfire.org [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id 918F68AA542 for ; Fri, 12 Apr 2019 17:21:13 +0100 (BST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 44gjnN5sfwz5Kjch; Fri, 12 Apr 2019 17:21:12 +0100 (BST) Received: from tuxedo.stevee (213162073140.public.t-mobile.at [213.162.73.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 44gjnF28LGz5KjcX; Fri, 12 Apr 2019 17:21:05 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904rsa; t=1555086065; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=INhCBjjF163tzXCp6fJAGJix/P/m7fyG3KMdGmoGPZ0=; b=gl4Oev0646PkrftnR3INhQbRsvhOtzcZpRfxpAeHI1+OBXALCYl9IumDPo4EwNMtjXSHL9 hlBUmpDjqecIKRID7DImWMJzxq5P/AWAG5bLmdZP/CjZ0EpSilNi/bZFwAiZg3AIRyPqax 1ErA0QjzIB08LA8ry3pFsvR4QmvgDUgKZsLXubWjCS3i6cRhzqH8KHAxBArTNKgDb/sbOK KTzHDDchvg8iS+D6BdSjvDU5Jcj+P9K296C46ohXD7g6BixUuc2O1HbZ0GGzv9DThM2YUR iDWnXU6IoOlsoBX58Sq/7C6sh4LdFhlB//G4FWC7iuomC6S6m0ICt8XmBtQ+Hg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904ed25519; t=1555086065; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=INhCBjjF163tzXCp6fJAGJix/P/m7fyG3KMdGmoGPZ0=; b=P0QjLN6yH4om3r7jYoSBC2Ax+gankZSYEKDYZA2HXdY4/V5cBCqG9ZSCa1x9VvNkSvEQqg tOy2S/91bC5uQIDw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] ids.cgi: Display oinkcode section after page load when neccessary. Date: Fri, 12 Apr 2019 18:21:01 +0200 Message-Id: <20190412162101.4698-1-stefan.schantl@ipfire.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=stevee smtp.mailfrom=stefan.schantl@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 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" X-Spam: Yes Fixes #12048. Signed-off-by: Stefan Schantl --- html/cgi-bin/ids.cgi | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 98c6f57b4..00db6a0c3 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -689,20 +689,26 @@ print"var show = \"$Lang::tr{'ids show'}\"\;\n"; print"var hide = \"$Lang::tr{'ids hide'}\"\;\n"; print <