Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/blocks/bitrix/52.2.text_with_btn_left/ |
Upload File : |
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) { die(); } use \Bitrix\Main\Localization\Loc; return [ 'block' => [ 'name' => Loc::getMessage('LANDING_BLOCK_52_TEXT_WITH_BTN_LEFT-NAME'), 'type' => ['page', 'store', 'smn', 'knowledge', 'group', 'mainpage'], 'section' => ['title', 'widgets_text'], ], 'cards' => [], 'nodes' => [ '.landing-block-node-text' => [ 'name' => Loc::getMessage('LANDING_BLOCK_52_TEXT_WITH_BTN_LEFT-TEXT'), 'type' => 'text', ], '.landing-block-node-button' => [ 'name' => Loc::getMessage('LANDING_BLOCK_52_TEXT_WITH_BTN_LEFT-BTN'), 'type' => 'link', ], ], 'style' => [ '.landing-block-node-text' => [ 'name' => Loc::getMessage('LANDING_BLOCK_52_TEXT_WITH_BTN_LEFT-TEXT'), 'type' => [ //typo 'text-align', 'color', 'font-size', 'font-family', 'font-weight', 'text-decoration', 'text-transform', 'line-height', 'letter-spacing', 'word-break', 'text-shadow', 'padding-top', 'padding-left', 'padding-right', 'margin-bottom', //other 'animation', ], ], '.landing-block-node-button' => [ 'name' => Loc::getMessage('LANDING_BLOCK_52_TEXT_WITH_BTN_LEFT-BTN'), 'type' => [ 'button', ], ], '.landing-block-node-button-container' => [ 'name' => Loc::getMessage('LANDING_BLOCK_52_2_BTN_AREA'), 'type' => ['text-align', 'animation'], ], '.landing-block-node-container' => [ 'name' => Loc::getMessage('LANDING_BLOCK_52_2_CONTAINER'), 'type' => [ //container 'container-max-width', 'padding-left', 'padding-right', ], ], ], ];