mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Get rid of duplicate DOCTYPE html
This commit is contained in:
parent
d836cd7d3d
commit
ac845cc4d1
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{var instance_name = OPENVK_ROOT_CONF['openvk']['appearance']['name']}
|
{var instance_name = OPENVK_ROOT_CONF['openvk']['appearance']['name']}
|
||||||
|
{if !isset($parentModule) || substr($parentModule, 0, 21) === 'libchandler:absolute.'}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html n:if="!isset($parentModule) || substr($parentModule, 0, 21) === 'libchandler:absolute.'">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>
|
<title>
|
||||||
{ifset title}{include title} - {/ifset}{$instance_name}
|
{ifset title}{include title} - {/ifset}{$instance_name}
|
||||||
|
@ -333,6 +333,7 @@
|
||||||
{/ifset}
|
{/ifset}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
{/if}
|
||||||
|
|
||||||
{if isset($parentModule) && substr($parentModule, 0, 21) !== 'libchandler:absolute.'}
|
{if isset($parentModule) && substr($parentModule, 0, 21) !== 'libchandler:absolute.'}
|
||||||
<!-- INCLUDING TEMPLATE FROM PARENTMODULE: {$parentModule} -->
|
<!-- INCLUDING TEMPLATE FROM PARENTMODULE: {$parentModule} -->
|
||||||
|
|
Loading…
Reference in a new issue