From 0fed0f2ace5e31f8946a78c5a2f61c80ec8882d2 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 13 Sep 2024 13:59:08 +0100 Subject: [PATCH] Bug 37916: Convert plugin install button to form This patch takes the usual approach of converting linked buttons to form with the csrf token included. Signed-off-by: JesseM Signed-off-by: Paul Derscheid --- .../prog/en/modules/plugins/plugins-home.tt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt index 1f09d11191..b8b7f764c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt @@ -102,7 +102,15 @@ [% sr.result.description | html %] [% sr.repo.name | html %] [% sr.result.tag_name | html %] - Install + +
+ [% INCLUDE 'csrf-token.inc' %] + + + + +
+ [% END %] -- 2.46.0