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/cvetdv.ru/bitrix/blocks/bitrix/16.5.two_cols_map/ |
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_16_5_TWO_COLS_MAP--NAME"), 'section' => ['contacts'], 'dynamic' => false, 'version' => '18.5.0', // old param for backward compatibility. Can used for old versions of module via repo. Do not delete! 'subtype' => 'map', ], 'cards' => [ '.landing-block-card-address' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--CONTACT"), 'label' => array('.landing-block-card-address-title'), 'presets' => include __DIR__ . '/presets.php', ], '.landing-block-card-social' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--SOCIAL"), 'label' => array('.landing-block-card-social-icon'), 'presets' => include __DIR__ . '/presets_social.php', ], ], 'nodes' => [ '.landing-block-node-address-subtitle' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--SUBTITLE"), 'type' => 'text', ], '.landing-block-node-address-title' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--TITLE"), 'type' => 'text', ], '.landing-block-node-address-text' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--TEXT"), 'type' => 'text', ], '.landing-block-card-address-title' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--TITLE"), 'type' => 'text', ], '.landing-block-card-address-text' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--TEXT"), 'type' => 'text', ], '.landing-block-card-address-link' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--CONTACT_LINK"), 'type' => 'link', ], '.landing-block-card-social-icon' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--SOCIAL_ICON"), 'type' => 'icon', ], '.landing-block-card-social-link' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--SOCIAL_LINK"), 'type' => 'link', ], ], 'style' => [ 'block' => [ 'type' => ['block-default-wo-background'], ], 'nodes' => [ '.landing-block-node-map' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--MAP"), 'type' => 'animation', ], '.landing-block-node-address-col' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--COL"), 'type' => ['bg', 'animation'], ], '.landing-block-node-address-subtitle' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--SUBTITLE"), 'type' => ['typo', 'background-color'], ], '.landing-block-node-address-title' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--TITLE"), 'type' => ['typo', 'heading'], ], '.landing-block-node-address-text' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--TEXT"), 'type' => 'typo', ], '.landing-block-card-address-title' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--TITLE"), 'type' => 'typo', ], '.landing-block-card-address-text' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--TEXT"), 'type' => 'typo', ], '.landing-block-card-address-link' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--LINK"), 'type' => 'typo', ], '.landing-block-card-social-link' => [ 'name' => Loc::getMessage("LANDING_BLOCK_16_5_TWO_COLS_MAP--SOCIAL_LINK"), 'type' => ['background-color', 'background-hover'], ], ], ], 'assets' => [ 'ext' => ['landing_map'], ], ];