fix //static

This commit is contained in:
Marion Muszynski 2017-03-09 11:07:11 +01:00
parent 1bd2edfe4d
commit 52a3477a1e
3 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ $smarty->assign('sale', $sale);
$smarty->assign(array(
'meta_title' => (isset($ps_i18n[$isolang])? $ps_i18n[$isolang]: $ps_i18n['en']).' '.$sale->title[(int) $cookie->id_lang].' '.(isset($on_i18n[$isolang])? $on_i18n[$isolang]: $on_i18n['en']).' '.Configuration::get('PS_SHOP_NAME'),
'meta_description' => substr(strip_tags($sale->description[(int) $cookie->id_lang]), 0, 120),
'meta_fb_img' => 'http://static.bebeboutik.com'.__PS_BASE_URI__.'modules/privatesales/img/'.$sale->id.'/liston_'.(int) $cookie->id_lang.'.jpg'
'meta_fb_img' => '//static.bebeboutik.com'.__PS_BASE_URI__.'modules/privatesales/img/'.$sale->id.'/liston_'.(int) $cookie->id_lang.'.jpg'
// 'meta_keywords' => '', // TODO: Handle keywords
));

View File

@ -2,7 +2,7 @@
<style type="text/css">{literal}
body#category #columns {
/* background-image: url("{/literal}{$link->getCatImageLink($sale->alias[$cookie->id_lang], $sale->id_category, 'privatesales')}{literal}"); */
background: url("https://static.bebeboutik.com/modules/privatesales/img/{/literal}{$sale->id}{literal}/salebg_{/literal}{$cookie->id_lang}{literal}.jpg")no-repeat fixed center 0;
background: url("//static.bebeboutik.com/modules/privatesales/img/{/literal}{$sale->id}{literal}/salebg_{/literal}{$cookie->id_lang}{literal}.jpg")no-repeat fixed center 0;
/* background: url("{/literal}{$path}{literal}/modules/privatesales/img/{/literal}{$sale->id}{literal}/salebg_{/literal}{$cookie->id_lang}{literal}.jpg") no-repeat fixed center 0; */
/* background: url("{/literal}{$path_saleimg}{literal}salebg_{/literal}{$cookie->id_lang}{literal}.jpg") no-repeat fixed center 0; */
}

View File

@ -20,7 +20,7 @@
{foreach from=$child.sales item=sale}
<li>
<a class="link_sale" href="{$link->getCategoryLink($sale.id_category, $sale.link_rewrite)|escape:'htmlall':'UTF-8'}">
<img class="thumb_menu" height="50px" src="https://static3.bebeboutik.com{$sale.img}" alt="">
<img class="thumb_menu" height="50px" src="//static3.bebeboutik.com{$sale.img}" alt="">
{$sale.name}</a>
</li>
{/foreach}
@ -33,7 +33,7 @@
{foreach from=$child.future_sales item=sale}
<li>
<a class="link_sale">
<img class="thumb_menu" height="50px" src="https://static3.bebeboutik.com{$sale.img}" alt="">
<img class="thumb_menu" height="50px" src="//static3.bebeboutik.com{$sale.img}" alt="">
{$sale.name}</a>
</li>
{/foreach}