From 43ae9986cf6428074c8c4466e19006dfb487aaf5 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Fri, 7 May 2021 15:37:28 +0200 Subject: [PATCH] fix(form): compatibility with themes Signed-off-by: Thierry Bugier --- inc/form.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/form.class.php b/inc/form.class.php index f4aa4337c..8f039c9e2 100644 --- a/inc/form.class.php +++ b/inc/form.class.php @@ -650,7 +650,7 @@ public function showTargets($ID, $options = []) { foreach ($allTargets as $targetType => $targets) { foreach ($targets as $targetId => $target) { $i++; - echo ''; + echo ''; $targetItemUrl = Toolbox::getItemTypeFormURL($targetType) . '?id=' . $targetId; // echo ''; $onclick = "plugin_formcreator_editTarget('$targetType', $targetId)"; @@ -676,7 +676,7 @@ public function showTargets($ID, $options = []) { } // Display add target link... - echo ''; + echo ''; echo ''; echo ' @@ -686,7 +686,7 @@ public function showTargets($ID, $options = []) { echo ''; // OR display add target form - echo ''; + echo ''; echo ''; echo ''; @@ -2350,7 +2350,7 @@ public function showAddTargetForm() { echo ''.__('Add a target', 'formcreator').''; - echo ''; + echo ''; echo ''.__('Name').' *'; echo ''; echo ''._n('Type', 'Types', 1).' *'; @@ -2369,7 +2369,7 @@ public function showAddTargetForm() { echo ''; echo ''; - echo ''; + echo ''; echo ''; echo Html::hidden('plugin_formcreator_forms_id', ['value' => $this->getID()]); echo Html::submit(__('Add'), ['name' => 'add_target']);