{*
These file contains common html headers to include for Galette Smarty rendering.

Just put a {include file='common_header.tpl'} into the head tag.
*}
<title>{if $pref_slogan ne ""}{$pref_slogan} - {/if}{if $page_title ne ""}{$page_title} - {/if}Galette {$GALETTE_VERSION}</title>
		<meta charset="UTF-8" />
		<link rel="stylesheet" type="text/css" href="{$template_subdir}galette.css" />
        {* Let's see if a local CSS exists and include it *}
        {assign var="localstyleseet" value="`$template_subdir`galette_local.css"}
        {if file_exists($localstyleseet)}
    		<link rel="stylesheet" type="text/css" href="{$localstyleseet}" />
        {/if}
        <script type="text/javascript" src="{$jquery_dir}jquery-{$jquery_version}.min.js"></script>
        {* IE8 doe not know html5 tags *}
        <!--[if lt IE 9]>
            <script type="text/javascript" src="{$scripts_dir}html5-ie.js"></script>
            <link rel="stylesheet" type="text/css" href="{$template_subdir}ie.css" />
        <![endif]-->
		<script type="text/javascript" src="{$jquery_dir}jquery.bgFade.js"></script>
		<script type="text/javascript" src="{$jquery_dir}chili-1.7.pack.js"></script>
		<script type="text/javascript" src="{$jquery_dir}jquery.tooltip.pack.js"></script>
		{* UI accordion is used for main menu ; we have to require it and UI core *}
		<script type="text/javascript" src="{$jquery_dir}jquery.ui-{$jquery_ui_version}/jquery.ui.core.min.js"></script>
		<script type="text/javascript" src="{$jquery_dir}jquery.ui-{$jquery_ui_version}/jquery.ui.widget.min.js"></script>
		<script type="text/javascript" src="{$jquery_dir}jquery.ui-{$jquery_ui_version}/jquery.ui.accordion.min.js"></script>
        {* Buttons can be used everywhere *}
		<script type="text/javascript" src="{$jquery_dir}jquery.ui-{$jquery_ui_version}/jquery.ui.button.min.js"></script>
        <script type="text/javascript" src="{$scripts_dir}common.js"></script>
        <meta name="viewport" content="width=device-width" />
		{* UI accordion is used for main menu ; we need the CSS *}
		<link rel="stylesheet" type="text/css" href="{$template_subdir}jquery-ui/jquery-ui-{$jquery_ui_version}.custom.css" />
        <link rel="stylesheet" type="text/css" href="{$template_subdir}galette_print.css" media="print" />
        <link rel="shortcut icon" href="{$template_subdir}images/favicon.png" />
