From f9e040a6719d100c1485411c9f0ea599a239681a Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 22 Aug 2024 10:00:58 +0200 Subject: [PATCH] add template blocks --- views/smarty/admin/mailconfigcheck.tpl | 12 +++++++----- views/smarty/admin/smtpCheck.tpl | 18 ++++++++++-------- views/twig/admin/mailConfigCheck.html.twig | 12 +++++++----- views/twig/admin/smtpCheck.html.twig | 18 ++++++++++-------- 4 files changed, 34 insertions(+), 26 deletions(-) diff --git a/views/smarty/admin/mailconfigcheck.tpl b/views/smarty/admin/mailconfigcheck.tpl index a81790f..0960e5e 100644 --- a/views/smarty/admin/mailconfigcheck.tpl +++ b/views/smarty/admin/mailconfigcheck.tpl @@ -28,12 +28,14 @@
- -
-
- - +
+ [{block name="smtp_credentials"}] +
+ + +
+ [{/block}]
diff --git a/views/smarty/admin/smtpCheck.tpl b/views/smarty/admin/smtpCheck.tpl index 0182e18..c78e6c5 100644 --- a/views/smarty/admin/smtpCheck.tpl +++ b/views/smarty/admin/smtpCheck.tpl @@ -43,14 +43,16 @@
-
- - -
-
- - -
+ [{block name="smtp_credentials"}] +
+ + +
+
+ + +
+ [{/block}]
-
-
- - +
+ {% block smtp_credentials %} +
+ + +
+ {% endblock %}
diff --git a/views/twig/admin/smtpCheck.html.twig b/views/twig/admin/smtpCheck.html.twig index 8cfc60b..168668b 100644 --- a/views/twig/admin/smtpCheck.html.twig +++ b/views/twig/admin/smtpCheck.html.twig @@ -43,14 +43,16 @@
-
- - -
-
- - -
+ {% block smtp_credentials %} +
+ + +
+
+ + +
+ {% endblock %}