{assign var=isBdPreview value=isset($smarty.get.theme_name) scope="global"} {assign var=themeParam value="{if isset($smarty.get.theme_name)}theme_name={$smarty.get.theme_name}{/if}"} {include file="$tpl_dir./version.tpl"}
{if isset($meta_description) AND $meta_description} {/if} {if isset($meta_keywords) AND $meta_keywords} {/if}
@includeHead("/") @includeHead("../body") {* PS > 1.6.0.6 *} {if isset($js_defer) && !$js_defer && isset($js_files) && isset($js_def)} {$js_def} {foreach from=$js_files item=js_uri} {if ($js_uri|strpos:"/modules/blockwishlist/js/" !== false)}{assign var=js_uri value=$js_uri|replace:"/modules/blockwishlist/js/":"/themes/{$theme_name}/js/modules/"}{/if}
{/foreach} {else} {if isset($js_files)} {foreach from=$js_files item=js_uri} {if ($js_uri|strpos:"/modules/blockwishlist/js/" !== false)}{assign var=js_uri value=$js_uri|replace:"/modules/blockwishlist/js/":"/themes/{$theme_name}/js/modules/"}{/if}
{/foreach} {/if} {/if} {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} {if ($css_uri|strpos:'global.css' !== false)} {if $isBdPreview} {assign var=css_uri value="{$css_uri|replace:'.css':'.preview.php'}"} {elseif file_exists("$tpl_dir./css/global.min.css")} {assign var=css_uri value="{$css_uri|replace:'.css':'.min.css'}"} {/if} {assign var=css_uri value="{$css_uri}{$_version}"} {/if} {/foreach} {/if} {if $isBdPreview && isset($css_theme_cache) && $css_theme_cache} {/if} @additionalHead {if isset($HOOK_HEADER) && $HOOK_HEADER}{$HOOK_HEADER}{/if}
{if $isBdPreview}
{/if} @include("../body")