internal banner render update
This commit is contained in:
parent
92110cef4e
commit
472db68003
@ -12,11 +12,10 @@
|
||||
/** @var CBitrixComponent $component */
|
||||
$this->setFrameMode(true);
|
||||
?>
|
||||
<!--
|
||||
<?= print_r($arResult); ?>
|
||||
-->
|
||||
<div class="banner special">
|
||||
<img src="<?= $arResult['BANNER']['PREVIEW_PICTURE']; ?>" alt="" width="254px" height="238px" />
|
||||
<?= $arResult['BANNER']['~PREVIEW_TEXT']; ?>
|
||||
<a href="<?= $arResult['BANNER']['PROPERTIES']['URL']['VALUE']; ?>" aria-label="Подробнее" title="Подробнее"></a>
|
||||
</div>
|
||||
<? if(isset($arResult['BANNER'])): ?>
|
||||
<div class="banner special">
|
||||
<img src="<?= $arResult['BANNER']['PREVIEW_PICTURE']; ?>" alt="" width="254px" height="238px" />
|
||||
<?= $arResult['BANNER']['~PREVIEW_TEXT']; ?>
|
||||
<a href="<?= $arResult['BANNER']['PROPERTIES']['URL']['VALUE']; ?>" aria-label="Подробнее" title="Подробнее"></a>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
Loading…
x
Reference in New Issue
Block a user