diff --git a/themes/site/modules/privatesales/privatesales-home.tpl b/themes/site/modules/privatesales/privatesales-home.tpl index 77a5e106..8eaecf16 100755 --- a/themes/site/modules/privatesales/privatesales-home.tpl +++ b/themes/site/modules/privatesales/privatesales-home.tpl @@ -56,38 +56,10 @@ $(document).ready(function() {

{l s='Nos ventes en cours' mod='privatesales'}

{if $currentsales|count > 0}
- {*hook h='displaySlider' mod='advslider'*} + {hook h='displaySlider' mod='advslider'}
{assign var=i value=0} - {foreach $currentsales as $sale} - {if isset($slider_active) && $slider_active && ($currentsales|count == 1 || $i == 0)} -
- {*desktop*} -
-
- {foreach from=$slider item=slide key=key name=slider} -
- {if isset($slide.link) && $slide.link} - - {/if} -
- {/foreach} -
-
- {*mobile*} -
- -
-
- {/if} + {foreach $currentsales as $sale} {capture name=img_sale}{$base_dir}{$link_img}{$sale->id}/current/{$sale->id}_{$cookie->id_lang}.jpg{/capture} {if !$sale->news} {if strtotime($sale->date_end) < (strtotime(date('Y-m-d H:i:s')) + (3600 * 24 * 2))}