Merge branch 'fix/smartbanner' into develop

This commit is contained in:
Michael RICOIS 2017-12-21 15:56:46 +01:00
commit 78c1c15990
5 changed files with 14 additions and 5 deletions

View File

@ -24,8 +24,7 @@
<link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />
{if isset($page_name) && $page_name == 'authentication'}
<link rel="canonical" href="{$link->getPageLink('authentication.php', TRUE)}" />
{/if}
{/if}
<script type="text/javascript">
var baseDirSsl = '{$base_dir_ssl}';
var baseDir = '{$content_dir}';
@ -40,19 +39,29 @@
{foreach from=$css_files key=css_uri item=media}
<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
{/foreach}
<link rel="stylesheet" href="{$content_dir}themes/site_mobile/js/smartbanner/jquery.smartbanner.css">
{/if}
<link rel="stylesheet" href="{$content_dir}themes/site_mobile/libs/smartbanner-1.9.0/smartbanner.min.css">
{if isset($js_files)}
{foreach from=$js_files item=js_uri}
<script type="text/javascript" src="{$js_uri}"></script>
{/foreach}
<script src="{$content_dir}themes/site_mobile/js/smartbanner/jquery.smartbanner.js"></script>
{/if}
<script src="{$content_dir}themes/site_mobile/libs/smartbanner-1.9.0/smartbanner.min.js"></script>
<script src="{$content_dir}themes/site_mobile/js/global.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
{if isset($cookie->id_lang) && $cookie->id_lang == 2 && isset($page_name) && $page_name != 'authentication'}
<meta name="apple-itunes-app" content="app-id=1287943233" />
<meta name="google-play-app" content="app-id=com.bebeboutik" />
<meta name="google-play-app" content="app-id=com.bebeboutik" />
<!-- Start SmartBanner configuration -->
<meta name="smartbanner:title" content="Bebeboutik">
<meta name="smartbanner:author" content="bebeboutik.com">
<meta name="smartbanner:price" content="Gratuit">
<meta name="smartbanner:price-suffix-google" content=" - sur Google play">
<meta name="smartbanner:icon-google" content="{$base_dir_ssl}img/apple-touch-icon.png">
<meta name="smartbanner:button" content="Voir">
<meta name="smartbanner:button-url-google" content="market://details?id=com.bebeboutik">
<meta name="smartbanner:enabled-platforms" content="android">
<!-- End SmartBanner configuration -->
{/if}
<link rel="apple-touch-icon" href="{$base_dir_ssl}img/apple-touch-icon.png" />