29 lines
1.3 KiB
PHP
29 lines
1.3 KiB
PHP
<?php $page = $b->ls_get_key("page"); ?>
|
|
<?php $termins = $page->get_prop_render_value("product_termins_field"); ?>
|
|
<?php if(!$termins) return; ?>
|
|
<div class="category-wrapper__inner terms">
|
|
<h2 class="category-wrapper__heading">Термины</h2>
|
|
<div class="category-wrapper__filters cat-filters category-wrapper__filters_termins">
|
|
<?php foreach ($termins as $key => $termin) { ?>
|
|
<article class="section-article">
|
|
<div class="section-btn">
|
|
<div class="execphpwidget">
|
|
<p>
|
|
<button type="button" class="filters-item__title">
|
|
<span><?= $termin["title"]; ?></span>
|
|
<svg>
|
|
<use
|
|
xlink:href="<?= $b->pa_get_assets_dir() ?>main/images/icons/sprite.svg#galka_up"
|
|
></use>
|
|
</svg>
|
|
</button>
|
|
</p>
|
|
</div>
|
|
<div class="widget widget_block section-body post-content">
|
|
<?= $termin["text"]; ?>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
<?php } ?>
|
|
</div>
|
|
</div>
|