ez-pro/s1/include/blocks/phones/_button_view.php.back1.2.6
2025-11-13 19:04:05 +03:00

22 lines
626 B
Groff

<?
if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
//options from TSolution\Functions::showBlockHtml
$arOptions = $arConfig['PARAMS'];
if (!$arOptions['DATASET']) return;
$bShowWrapper = !!trim($arOptions['WRAPPER_CLASS']);
?>
<?if ($bShowWrapper):?>
<div class="<?=$arOptions['WRAPPER_CLASS'];?>">
<?endif;?>
<div class="animate-load btn btn-default btn-wide<?=$arOptions['ADDITIONAL_CLASS'];?>" data-event="jqm" data-param-id="<?=$arOptions['DATASET']['PARAM_ID'];?>" data-name="<?=$arOptions['DATASET']['NAME'];?>">
<?=$arOptions['TEXT'];?>
</div>
<?if ($bShowWrapper):?>
</div>
<?endif;?>