prepare ssl

This commit is contained in:
Srv Bebeboutik 2016-03-31 12:06:08 +02:00
parent e4a9771a82
commit bcdb91f1e3
4 changed files with 11 additions and 11 deletions

View File

@ -3,7 +3,7 @@
{if isset($smarty.get.sponsor) && isset($smarty.get.create_account)}
<a title="{l s='Return to the homepage' mod='blocklogo'}"><img src="{$base_dir_ssl}img/logo_{$cookie->id_lang}.png" alt="Bebeboutik" /></a>
{else}
<a href="{$base_dir_ssl}" title="{l s='Return to the homepage' mod='blocklogo'}"><img src="http://static.bebeboutik.com/img/logo_{$cookie->id_lang}.png" alt="Bebeboutik" /></a>
<a href="{$base_dir_ssl}" title="{l s='Return to the homepage' mod='blocklogo'}"><img src="https://static.bebeboutik.com/img/logo_{$cookie->id_lang}.png" alt="Bebeboutik" /></a>
{/if}
</div>
<!-- /MODULE Block logo -->

View File

@ -18,7 +18,7 @@
</div>
<div class="actions">
{*<a class="button_small" href="{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}">{l s='Trailer' mod='privatesales'}</a>*}
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="mailshare">{l s='Send to a friend' mod='privatesales'}</a>
<a class="enter" href="{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}">{l s='View the sale' mod='privatesales'}</a>
@ -51,7 +51,7 @@
{l s='From' mod='privatesales'} {$sale->date_start|date_format:'%A %e %B %H:%M'} {l s='To' mod='privatesales'} {$sale->date_end|date_format:'%A %e %B %H:%M'}
</div>
<div class="actions">
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="mailshare">{l s='Send to a friend' mod='privatesales'}</a>
<a class="button_small" href="{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}">{l s='Trailer' mod='privatesales'}</a>

View File

@ -184,7 +184,7 @@
<ul>{strip}{assign var=sales_index value=0}
{foreach $sales as $sale name=sales}
{if count(array_intersect($customer_groups, $sale->groups))>0}
<li style="background:url('http://static.bebeboutik.com{$path}img/{$sale->id}/liston_{$cookie->id_lang}.jpg') no-repeat;"
<li style="background:url('https://static.bebeboutik.com{$path}img/{$sale->id}/liston_{$cookie->id_lang}.jpg') no-repeat;"
class="modalbox {if $sales_index > 4}{if ($sales_index + 2) % 3 == 0}first{/if}{else}{if ($sales_index) % 2 == 0}first{/if}{/if}"
{if $cookie->isLogged() OR $showtoguests}
onclick="window.location.href='{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}';"
@ -215,7 +215,7 @@
{l s='To' mod='privatesales'} {$sale->date_end|date_format:'%d/%m'}
</div>
{*<a class="button_small" href="{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}">{l s='Trailer' mod='privatesales'}</a>*}
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="pop mailshare">{l s='Send to a friend' mod='privatesales'}</a>
<a class="enter" href="{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}">{l s='View the sale' mod='privatesales'}</a>
@ -240,9 +240,9 @@
</div>
<div class="fb_block">
{if $cookie->id_lang == 2}
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fbebeboutik&amp;width=271&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:271px; height:62px;" allowTransparency="true"></iframe>
<iframe src="https://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fbebeboutik&amp;width=271&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:271px; height:62px;" allowTransparency="true"></iframe>
{elseif $cookie->id_lang == 3}
<iframe src="http://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/Beb%C3%A9-Boutik-ES-703873103075174/&amp;width=271&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:271px; height:62px;" allowTransparency="true"></iframe>
<iframe src="https://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/Beb%C3%A9-Boutik-ES-703873103075174/&amp;width=271&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:271px; height:62px;" allowTransparency="true"></iframe>
{/if}
</div>
</li>
@ -265,7 +265,7 @@
<ul>{strip}
{foreach $futuresales as $sale name=futuresales}
{if count(array_intersect($customer_groups, $sale->groups))>0}
<li{if $smarty.foreach.futuresales.index % 3 == 0} class="first"{/if} style="background:url('http://static.bebeboutik.com{$path}img/{$sale->id}/listoff_{$cookie->id_lang}.jpg') no-repeat;"
<li{if $smarty.foreach.futuresales.index % 3 == 0} class="first"{/if} style="background:url('https://static.bebeboutik.com{$path}img/{$sale->id}/listoff_{$cookie->id_lang}.jpg') no-repeat;"
{if $cookie->isLogged() && in_array('2', $customer_groups)}
onclick="window.location.href='{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}';"
{/if}>
@ -289,7 +289,7 @@
</div>
{* <div class="actions">
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="pop mailshare">{l s='Send to a friend' mod='privatesales'}</a>
<a class="button_small" href="{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}">{l s='Trailer' mod='privatesales'}</a>
@ -301,7 +301,7 @@
<div class="date">
{l s='From 1' mod='privatesales'} {$sale->date_start|date_format:'%e/%m'} {l s='on 1' mod='privatesales'} {$sale->date_start|date_format:'%H:%M'}
</div>
<a href="http://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://www.facebook.com/sharer.php?u={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}&t={$sale->title[$cookie->id_lang]|rawurlencode}%20{l s='on' mod='privatesales'}%20{$shop_name|rawurlencode}" class="pop fbshare">{l s='Share on Facebook' mod='privatesales'}</a>
<a href="https://twitter.com/share?url={$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$cookie->id_lang]|str2url}{else}modules/privatesales/trailer.php%3Fid_sale={$sale->id}{/if}" class="pop twshare">{l s='Tweet this page' mod='privatesales'}</a>
<a href="{$base_dir_ssl}modules/advsendtoafriend/sendtoafriend-form.php?id_sale={$sale->id}" class="pop mailshare">{l s='Send to a friend' mod='privatesales'}</a>
{* <a class="enter" href="{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}">{l s='View the sale' mod='privatesales'}</a>*}

View File

@ -19,7 +19,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="http://static3.bebeboutik.com{$sale.img}" alt="">
<img class="thumb_menu" height="50px" src="https://static3.bebeboutik.com{$sale.img}" alt="">
{$sale.name}</a>
</li>
{/foreach}