From ac845cc4d155307a4e194641e7516a762efffd25 Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Sun, 24 Apr 2022 07:38:21 +0300 Subject: [PATCH] Get rid of duplicate DOCTYPE html --- Web/Presenters/templates/@layout.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Web/Presenters/templates/@layout.xml b/Web/Presenters/templates/@layout.xml index 9252a8ca..0ef7a064 100644 --- a/Web/Presenters/templates/@layout.xml +++ b/Web/Presenters/templates/@layout.xml @@ -1,7 +1,7 @@ {var instance_name = OPENVK_ROOT_CONF['openvk']['appearance']['name']} - +{if !isset($parentModule) || substr($parentModule, 0, 21) === 'libchandler:absolute.'} - + {ifset title}{include title} - {/ifset}{$instance_name} @@ -333,6 +333,7 @@ {/ifset} </body> </html> +{/if} {if isset($parentModule) && substr($parentModule, 0, 21) !== 'libchandler:absolute.'} <!-- INCLUDING TEMPLATE FROM PARENTMODULE: {$parentModule} -->