From patchwork Sat Nov 27 19:10:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo-Andres Hofmann X-Patchwork-Id: 4861 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 ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4J1h6K09cVz3wsg for ; Sat, 27 Nov 2021 19:11:04 +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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4J1h6J0Nz1zbB; Sat, 27 Nov 2021 19:11:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4J1h6H6cXCz2yVC; Sat, 27 Nov 2021 19:11:03 +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 ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4J1h6G08Wgz2xYh for ; Sat, 27 Nov 2021 19:11:02 +0000 (UTC) Received: from arche.uberspace.de (arche.uberspace.de [185.26.156.147]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4J1h682k9GzbB for ; Sat, 27 Nov 2021 19:10:56 +0000 (UTC) Received: (qmail 28251 invoked from network); 27 Nov 2021 19:10:55 -0000 Received: from localhost (HELO localhost) (127.0.0.1) by arche.uberspace.de with SMTP; 27 Nov 2021 19:10:55 -0000 From: Leo-Andres Hofmann To: development@lists.ipfire.org Subject: [PATCH] ipfire-theme/functions.pl: Load $extrahead after jQuery Date: Sat, 27 Nov 2021 20:10:43 +0100 Message-Id: <20211127191043.1279-1-hofmann@leo-andres.de> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1638040256; a=rsa-sha256; cv=none; b=uxgL/8Hazeiz9bXDYUwSVZCtNSn3J0puwqkC+bZor+QjDeCUq6AAuBxABdqAV+mVYQx3pB MuxT+CZy3ldecXxNyvkD7R0fugzMqdRzzvKEp7JRFYJJyZMPJ/o1SJpDsnCxvL0ghZadxp KRof8WLefqqREeroVzgIF+VJ0q5qDTUbIcBud6rj4IDQ3Yo1v5b+wn2N2qdU5ru79ORgzh hDaUP9Ad6F6b/CZktE/TxuJ/HxkuWmR9esNRxSN7YrJ20kCzXlwFT/wS8UTEAYvuC9sMS2 jZjxRSEkNbinXzuE0mGSCGfIE9+s69ZVGVQ7sIAvzc1ZEe2+qPDiMr4PG7WFQg== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=none; spf=pass (mail01.ipfire.org: domain of hofmann@leo-andres.de designates 185.26.156.147 as permitted sender) smtp.mailfrom=hofmann@leo-andres.de; dmarc=pass (policy=none) header.from=leo-andres.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1638040256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ArqVAyW4wfHk/DOevZOqXlXKyH5xl96v1tPdYOzlK3w=; b=u/Of75k3Qzcs1rw4wEoOJVBqO+dhzcRpGu1SQq8qc9NCml4415shH1xjP84fy1XhLJx5EN Dd0fx4ptwKs4/SCia/t86bsVGYyMJpMoirJaDh+vVHuMZmd5+HK8D0Ol+8oIuD+KMGuvd9 wd9rWtSfjJnLyfqyNdGOKyaa7eK/gim+hljTSlLCC23ODLATc/GhLlRVg6Q/Xm4xt6oIxL fHTbJKgKG4sMW1bBHwsUboAnMYecCpuUJ/HGoK5K61AyTdEsJjRhIE2qn4pkVLebxnMAfQ /dVtMDbRCubLN02CWpG3KdhLoZmweI3QBiqZtXnwJtdR5BnB7kTCiD+EdwjWcQ== X-Rspamd-Queue-Id: 4J1h682k9GzbB Authentication-Results: mail01.ipfire.org; dkim=none; spf=pass (mail01.ipfire.org: domain of hofmann@leo-andres.de designates 185.26.156.147 as permitted sender) smtp.mailfrom=hofmann@leo-andres.de; dmarc=pass (policy=none) header.from=leo-andres.de X-Spamd-Result: default: False [-0.40 / 11.00]; BAYES_HAM(-3.00)[99.99%]; SUBJECT_HAS_CURRENCY(1.00)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_SPAM(1.00)[0.997]; SPF_REPUTATION_HAM(-0.89)[-0.88665773947595]; DMARC_POLICY_ALLOW(-0.50)[leo-andres.de,none]; R_MISSING_CHARSET(0.50)[]; MX_INVALID(0.50)[]; MIME_HTML_ONLY(0.20)[]; R_SPF_ALLOW(-0.20)[+mx]; IP_REPUTATION_HAM(-0.01)[asn: 205766(0.00), country: DE(-0.01), ip: 185.26.156.147(0.00)]; ASN(0.00)[asn:205766, ipnet:185.26.156.0/24, country:DE]; MIME_TRACE(0.00)[0:~]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mail01.haj.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" This ensures that jQuery is also available for custom javascript added to the HTML with $extrahead. Signed-off-by: Leo-Andres Hofmann Reviewed-by: Michael Tremer --- html/html/themes/ipfire/include/functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/html/themes/ipfire/include/functions.pl b/html/html/themes/ipfire/include/functions.pl index 18931428e..54f8966d5 100644 --- a/html/html/themes/ipfire/include/functions.pl +++ b/html/html/themes/ipfire/include/functions.pl @@ -120,12 +120,12 @@ print < $headline - $title - $extrahead + $extrahead