Fix styles and scripts in header
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user