From feb7f2ac54b389aaffd7ca221df49991aab3065d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.chilliet@fusiondirectory.org>
Date: Thu, 12 Nov 2020 15:12:00 +0100
Subject: [PATCH] :ambulance: fix(setup) Fix escaped HTML link in setup

issue #6122
---
 setup/class_setupStepChecks.inc | 2 +-
 setup/setup_checks.tpl          | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/setup/class_setupStepChecks.inc b/setup/class_setupStepChecks.inc
index 616f25637..9c48022d8 100644
--- a/setup/class_setupStepChecks.inc
+++ b/setup/class_setupStepChecks.inc
@@ -34,7 +34,7 @@ class setupStepChecks extends setupStep
         ]
       ],
       'setup' => [
-        'name'      => _('PHP setup configuration (<a href="?info" target="_blank">show information</a>)'),
+        'name'      => _('PHP setup configuration'),
         'template'  => get_template_path("setup_checks.tpl", TRUE, dirname(__FILE__)),
         'attrs'     => [
           new FakeAttribute('config_checks')
diff --git a/setup/setup_checks.tpl b/setup/setup_checks.tpl
index 39fc1ec57..a0c2070ec 100644
--- a/setup/setup_checks.tpl
+++ b/setup/setup_checks.tpl
@@ -1,6 +1,8 @@
 <div id="{$sectionId}" class="plugin-section">
   <span class="legend">
     {if !empty($sectionIcon)}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape}
+    -
+    <a href="?info" target="_blank">{t}show information{/t}</a>
   </span>
   <div>
     {foreach from=$attributes item=infos}
-- 
GitLab