Download project

This commit is contained in:
Roman Pyrih
2024-11-20 09:09:44 +01:00
parent 547a138d6a
commit 5ff041757f
40737 changed files with 7766183 additions and 0 deletions

View File

@@ -0,0 +1,94 @@
<?php
/* Smarty version 3.1.48, created on 2024-11-20 08:34:39
from 'module:psfacetedsearchviewstempl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.48',
'unifunc' => 'content_673d910fcf9433_47732223',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2e807335546cfa2360c36327ac89dd2fcb054379' =>
array (
0 => 'module:psfacetedsearchviewstempl',
1 => 1732017561,
2 => 'module',
),
),
'includes' =>
array (
),
),false)) {
function content_673d910fcf9433_47732223 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<section id="js-active-search-filters" class="<?php if (count($_smarty_tpl->tpl_vars['activeFilters']->value)) {?>active_filters<?php } else { ?>hide<?php }?>">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_429489118673d910fcf66b3_38661557', 'active_filters_title');
?>
<?php if (count($_smarty_tpl->tpl_vars['activeFilters']->value)) {?>
<ul>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['activeFilters']->value, 'filter');
$_smarty_tpl->tpl_vars['filter']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['filter']->value) {
$_smarty_tpl->tpl_vars['filter']->do_else = false;
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1899543964673d910fcf7f09_73908572', 'active_filters_item');
?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php }?>
</section>
<?php }
/* {block 'active_filters_title'} */
class Block_429489118673d910fcf66b3_38661557 extends Smarty_Internal_Block
{
public $subBlocks = array (
'active_filters_title' =>
array (
0 => 'Block_429489118673d910fcf66b3_38661557',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<p class="h6 <?php if (count($_smarty_tpl->tpl_vars['activeFilters']->value)) {?>active-filter-title<?php } else { ?>hidden-xs-up<?php }?>"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Active filters','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
</p>
<?php
}
}
/* {/block 'active_filters_title'} */
/* {block 'active_filters_item'} */
class Block_1899543964673d910fcf7f09_73908572 extends Smarty_Internal_Block
{
public $subBlocks = array (
'active_filters_item' =>
array (
0 => 'Block_1899543964673d910fcf7f09_73908572',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<li class="filter-block">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'%1$s:','d'=>'Shop.Theme.Catalog','sprintf'=>array($_smarty_tpl->tpl_vars['filter']->value['facetLabel'])),$_smarty_tpl ) );?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['filter']->value['label'], ENT_QUOTES, 'UTF-8');?>
<a class="js-search-link" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['filter']->value['nextEncodedFacetsURL'], ENT_QUOTES, 'UTF-8');?>
"><i class="material-icons close">&#xE5CD;</i></a>
</li>
<?php
}
}
/* {/block 'active_filters_item'} */
}