Get rid of duplicate DOCTYPE html

This commit is contained in:
Ilya Prokopenko 2022-04-24 07:38:21 +03:00
parent d836cd7d3d
commit ac845cc4d1

View file

@ -1,7 +1,7 @@
{var instance_name = OPENVK_ROOT_CONF['openvk']['appearance']['name']}
{if !isset($parentModule) || substr($parentModule, 0, 21) === 'libchandler:absolute.'}
<!DOCTYPE html>
<html n:if="!isset($parentModule) || substr($parentModule, 0, 21) === 'libchandler:absolute.'">
<html>
<head>
<title>
{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} -->