Fix styles and scripts in header

This commit is contained in:
2023-02-18 07:49:25 +01:00
parent c500face92
commit be9610cd98
2 changed files with 134 additions and 143 deletions

View File

@@ -6,12 +6,16 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="images/shield.ico">
<link rel="stylesheet" href="tpl/style.css" type="text/css">
{if isset($styles)}
{foreach item=style from=$styles}
<link rel="stylesheet" href="css/{$style[0]}" type="text/css" media="{$style[1]}" />
{/foreach}
{/if}
{if isset($scripts)}
{foreach item=script from=$scripts}
<script type="text/javascript" src="lib/{$script}"></script>
{/foreach}
{/if}
</head>
<body>