CSS open if values in cookie

This commit is contained in:
Michael RICOIS 2018-03-16 10:12:24 +01:00
parent 93fe8b597a
commit e057c88351

View File

@ -1,7 +1,7 @@
{if count($sizes) > 0} {if count($sizes) > 0}
<div class="block_filter"> <div class="block_filter">
<div class="content"> <div class="content">
<h4 class="open">{l s='Recherche par' mod='filtervp'} {$name}</h4> <h4 class="open{if $smarty.get.id_category==$cookie->filters_category && !empty($cookie->filters_value)} active{/if}">{l s='Recherche par' mod='filtervp'}</h4>
<div class="content_filter"> <div class="content_filter">
<ul id="filters"> <ul id="filters">