Your IP : 3.22.66.147


Current Path : /home/bitrix/ext_www/crm.klimatlend.ua/bitrix/modules/lists/socnet/
Upload File :
Current File : /home/bitrix/ext_www/crm.klimatlend.ua/bitrix/modules/lists/socnet/group_lists.php

<?php
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)
	die();

use Bitrix\Lists\Copy\Integration\Group;

$pageId = "group_group_lists";
include($_SERVER["DOCUMENT_ROOT"]."/bitrix/components/bitrix/socialnetwork_group/templates/.default/util_group_menu.php");
include($_SERVER["DOCUMENT_ROOT"]."/bitrix/components/bitrix/socialnetwork_group/templates/.default/util_group_profile.php");

$APPLICATION->IncludeComponent("bitrix:lists.element.navchain", ".default", array(
	"IBLOCK_TYPE_ID" => COption::GetOptionString("lists", "socnet_iblock_type_id"),
	"SOCNET_GROUP_ID" => $arResult["VARIABLES"]["group_id"],
	"ADD_NAVCHAIN_GROUP" => "Y",
	"PATH_TO_GROUP" => $arResult["PATH_TO_GROUP"],
	"LISTS_URL" => $arResult["PATH_TO_GROUP_LISTS"],
	"ADD_NAVCHAIN_LIST" => "N",
	"ADD_NAVCHAIN_SECTIONS" => "N",
	"ADD_NAVCHAIN_ELEMENT" => "N",
	),
	$component
);

$APPLICATION->includeComponent(
	"bitrix:socialnetwork.copy.checker",
	"",
	[
		"moduleId" => Group::MODULE_ID,
		"queueId" => $arResult["VARIABLES"]["group_id"],
		"stepperClassName" => Group::STEPPER_CLASS,
		"checkerOption" => Group::CHECKER_OPTION,
		"errorOption" => Group::ERROR_OPTION,
		"titleMessage" => GetMessage("LISTS_STEPPER_PROGRESS_TITLE"),
		"errorMessage" => GetMessage("LISTS_STEPPER_PROGRESS_ERROR"),
	],
	$component,
	["HIDE_ICONS" => "Y"]
);

$APPLICATION->IncludeComponent("bitrix:lists.lists", ".default", array(
	"IBLOCK_TYPE_ID" => COption::GetOptionString("lists", "socnet_iblock_type_id"),
	"LISTS_URL" => $arResult["PATH_TO_GROUP_LISTS"],
	"LIST_URL" => $arResult["PATH_TO_GROUP_LIST_VIEW"],
	"LIST_EDIT_URL" => $arResult["PATH_TO_GROUP_LIST_EDIT"],
	"CACHE_TYPE" => $arParams["CACHE_TYPE"],
	"CACHE_TIME" => $arParams["CACHE_TIME"],
	"LINE_ELEMENT_COUNT" => "3",
	"SOCNET_GROUP_ID" => $arResult["VARIABLES"]["group_id"],
	"TITLE_TEXT" => GetMessage("LISTS_SOCNET_TAB"),
	),
	$component
);