1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Файл options.php

См. исходные тексты.

Функции

 StopReCount ()
 DoNext (name, id, recount)

Переменные

 $mid = $_REQUEST["mid"] ?? 'main'
 $arGROUPS = array()
 $groups = array()
 $z = CGroup::GetList('', '', array("ACTIVE"=>"Y", "ADMIN"=>"N", "ANONYMOUS"=>"N"))
while( $zr=$z->Fetch()) if($_SERVER $arSmileGallery ["REQUEST_METHOD"]=="GET" && $USER->IsAdmin() &&isset($_REQUEST["RestoreDefaults"]) && $_REQUEST["RestoreDefaults"]<> '' &&check_bitrix_sessid()) if( $_SERVER["REQUEST_METHOD"]=="GET" &&$USER->CanDoOperation( 'edit_other_settings') &&isset( $_REQUEST["GenKey"]) &&$_REQUEST["GenKey"]<> '' &&check_bitrix_sessid()) if($_SERVER['REQUEST_METHOD']=='POST' &&isset($_POST['save_passwords']) && $USER->CanDoOperation('edit_php') &&check_bitrix_sessid()) = CSmileGallery::getListForForm()
 $aZones = CTimeZone::GetZones()
 $smsSenders = array()
 $smsServices
if(\Bitrix\Main\Loader::includeModule("messageservice")) else
 $smsNote = GetMessage("main_options_sms_note2", ["#URL#" => $url])
 $currentSmsSender = \Bitrix\Main\Config\Option::get("main", "sms_default_service")
 $smsCurrentSenders = array()
if(isset($smsSenders[$currentSmsSender])) $countriesReference = GetCountryArray()
 $countriesArray = array()
 $arCodes = unserialize(COption::GetOptionString("main", "show_panel_for_users"), ['allowed_classes' => false])
if(!is_array($arCodes)) $arHideCodes = unserialize(COption::GetOptionString("main", "hide_panel_for_users"), ['allowed_classes' => false])
if(!is_array($arHideCodes)) $deviceNotifyCodes = unserialize(COption::GetOptionString("main", "user_device_notify_codes"), ['allowed_classes' => false])
if(!is_array($deviceNotifyCodes)) $access = new CAccess()
 $arNames = $access->GetNames(array_merge($arCodes, $arHideCodes, $deviceNotifyCodes))
 $panel
 $panelHide
 $deviceNotify
 $arAllOptions
 $allowedHostsList = unserialize(COption::GetOptionString("main", "imageeditor_proxy_white_list"), ['allowed_classes' => false])
if(!is_array( $allowedHostsList)||empty( $allowedHostsList)) foreach($allowedHostsList as $key=> $item) $addAllowedHost
 $arAllOptions ["main"][] = Array("", "", $addAllowedHost, Array("statichtml"))
 $intl = new \Bitrix\Main\UserConsent\Intl(LANGUAGE_ID)
 $listAgreement = array("" => GetMessage("MAIN_REGISTER_AGREEMENT_DEFAUTL_VALUE"))
 $listAgreementObject
foreach($listAgreementObject as $agreement) $arAllOptions ["auth"][] = GetMessage("MAIN_REGISTRATION_OPTIONS")
 $aTabs
 $tabControl = new CAdminTabControl("tabControl", $aTabs)
 $SET_LICENSE_KEY = ""
if($_SERVER ShowParamsHTMLByArray ["REQUEST_METHOD"]=="POST" &&!empty($_POST["Update"]) &&($USER->CanDoOperation('edit_other_settings') && $USER->CanDoOperation('edit_groups')) &&check_bitrix_sessid()) if( $SET_LICENSE_KEY=="") if($_SERVER["REQUEST_METHOD"]=="POST" &&isset($_POST["stop_site"]) && $_POST["stop_site"]=="Y" && $USER->CanDoOperation('edit_other_settings') &&check_bitrix_sessid()) if( $_SERVER["REQUEST_METHOD"]=="POST" &&isset( $_POST["start_site"]) &&$_POST["start_site"]=="Y" &&$USER->CanDoOperation( 'edit_other_settings') &&check_bitrix_sessid())($arParams)
 $module_id ="main"
 $GROUP_DEFAULT_TASK = COption::GetOptionString($module_id, "GROUP_DEFAULT_TASK", "")
 if ( $GROUP_DEFAULT_TASK=='') =GetMessage("MAIN_BY_DEFAULT")
 $arTasksInModule = CTask::GetTasksInModules(true,$module_id,'module')
 $nID = COperation::GetIDByName('edit_subordinate_users')
 $nID2 = COperation::GetIDByName('view_subordinate_users')
 $arTasks = $arTasksInModule['main']
 $show_subord = false
 $arTaskIds = $arTasks['reference_id']
 $arSubordTasks = Array()
 $l = count($arTaskIds)
for($i=0;$i< $l;$i++) $arUsedGroups = array()
 $arTaskInModule = CGroup::GetTasksForModule('main')
 $arUsedGroups [$value["ID"]] = true
 $arSubordinateGroups = CGroup::GetSubordinateGroups($value["ID"])
foreach($arGROUPS as $v_gr) endforeach =$group["NAME"]." [".$group["ID"]."]"
 foreach ( $arGROUPS as $v_gr) =GetMessage('SUBORDINATE_GROUPS')
 endif
 $customWeakPasswords = COption::GetOptionString('main', 'custom_weak_passwords', 'N')

Функции

◆ DoNext()

DoNext ( name ,
id ,
recount  )

См. определение в файле options.php строка 1417

◆ StopReCount()

StopReCount ( )

См. определение в файле options.php строка 1404

Переменные

◆ $access

if (!is_array( $deviceNotifyCodes)) $access = new CAccess()

См. определение в файле options.php строка 174

◆ $addAllowedHost

$addAllowedHost

См. определение в файле options.php строка 388

◆ $allowedHostsList

$allowedHostsList = unserialize(COption::GetOptionString("main", "imageeditor_proxy_white_list"), ['allowed_classes' => false])

См. определение в файле options.php строка 376

◆ $arAllOptions [1/3]

$arAllOptions

См. определение в файле options.php строка 204

◆ $arAllOptions [2/3]

$arAllOptions["auth"][] = GetMessage("MAIN_REGISTRATION_OPTIONS")

См. определение в файле options.php строка 526

◆ $arAllOptions [3/3]

$arAllOptions["main"][] = Array("", "", $addAllowedHost, Array("statichtml"))

См. определение в файле options.php строка 491

◆ $arCodes

$arCodes = unserialize(COption::GetOptionString("main", "show_panel_for_users"), ['allowed_classes' => false])
Примеры
C:/bitrix/modules/learning/classes/general/clearnaccess.php.

См. определение в файле options.php строка 154

◆ $arGROUPS

$arGROUPS = array()

См. определение в файле options.php строка 29

◆ $arHideCodes

if (!is_array( $arCodes)) $arHideCodes = unserialize(COption::GetOptionString("main", "hide_panel_for_users"), ['allowed_classes' => false])

См. определение в файле options.php строка 161

◆ $arNames

$arNames = $access->GetNames(array_merge($arCodes, $arHideCodes, $deviceNotifyCodes))

См. определение в файле options.php строка 175

◆ $arSmileGallery

while($zr=$z->Fetch()) if( $_SERVER $arSmileGallery["REQUEST_METHOD"]=="GET" &&$USER->IsAdmin() &&isset( $_REQUEST["RestoreDefaults"]) &&$_REQUEST["RestoreDefaults"]<> '' &&check_bitrix_sessid()) if($_SERVER["REQUEST_METHOD"]=="GET" && $USER->CanDoOperation('edit_other_settings') &&isset($_REQUEST["GenKey"]) && $_REQUEST["GenKey"]<> '' &&check_bitrix_sessid()) if ( $_SERVER[ 'REQUEST_METHOD']=='POST' &&isset( $_POST[ 'save_passwords']) &&$USER->CanDoOperation( 'edit_php') &&check_bitrix_sessid()) = CSmileGallery::getListForForm()

См. определение в файле options.php строка 99

◆ $arSubordinateGroups

$arSubordinateGroups = CGroup::GetSubordinateGroups($value["ID"])

См. определение в файле options.php строка 838

◆ $arSubordTasks

$arSubordTasks = Array()

См. определение в файле options.php строка 782

◆ $arTaskIds

$arTaskIds = $arTasks['reference_id']

См. определение в файле options.php строка 781

◆ $arTaskInModule

$arTaskInModule = CGroup::GetTasksForModule('main')

См. определение в файле options.php строка 820

◆ $arTasks

$arTasks = $arTasksInModule['main']

См. определение в файле options.php строка 777

◆ $arTasksInModule

$arTasksInModule = CTask::GetTasksInModules(true,$module_id,'module')

См. определение в файле options.php строка 774

◆ $arUsedGroups [1/2]

for ( $i=0; $i< $l; $i++) $arUsedGroups ( ) = array()

См. определение в файле options.php строка 819

◆ $arUsedGroups [2/2]

$arUsedGroups[ $value["ID"]] = true

См. определение в файле options.php строка 825

◆ $aTabs

$aTabs
Инициализатор
array("DIV" => "edit1", "TAB" => GetMessage("MAIN_TAB_SET"), "ICON" => "main_settings", "TITLE" => GetMessage("MAIN_TAB_TITLE_SET")),
array("DIV" => "tab_mail", "TAB" => GetMessage("main_options_mail_sms"), "ICON" => "main_settings", "TITLE" => GetMessage("main_options_mail_sms_title")),
array("DIV" => "edit6", "TAB" => GetMessage("MAIN_TAB_6"), "ICON" => "main_settings", "TITLE" => GetMessage("MAIN_OPTION_REG")),
array("DIV" => "edit8", "TAB" => GetMessage("MAIN_TAB_8"), "ICON" => "main_settings", "TITLE" => GetMessage("MAIN_OPTION_EVENT_LOG")),
array("DIV" => "edit5", "TAB" => GetMessage("MAIN_TAB_5"), "ICON" => "main_settings", "TITLE" => GetMessage("MAIN_OPTION_UPD")),
array("DIV" => "edit2", "TAB" => GetMessage("MAIN_TAB_RIGHTS"), "ICON" => "main_settings", "TITLE" => GetMessage("MAIN_TAB_TITLE_RIGHTS")),
)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
GetMessage($name, $aReplace=null)
Определения tools.php:3397

См. определение в файле options.php строка 550

◆ $aZones

$aZones = CTimeZone::GetZones()

См. определение в файле options.php строка 104

◆ $countriesArray

$countriesArray = array()

См. определение в файле options.php строка 144

◆ $countriesReference

if (isset( $smsSenders[ $currentSmsSender])) $countriesReference = GetCountryArray()

См. определение в файле options.php строка 143

◆ $currentSmsSender

$currentSmsSender = \Bitrix\Main\Config\Option::get("main", "sms_default_service")

См. определение в файле options.php строка 135

◆ $customWeakPasswords

$customWeakPasswords = COption::GetOptionString('main', 'custom_weak_passwords', 'N')

См. определение в файле options.php строка 1456

◆ $deviceNotify

foreach ( $deviceNotifyCodes as $code) $deviceNotify
Инициализатор
= "
<div id=\"bx_access_notify_div\">
"

См. определение в файле options.php строка 195

◆ $deviceNotifyCodes

if (!is_array( $arHideCodes)) $deviceNotifyCodes = unserialize(COption::GetOptionString("main", "user_device_notify_codes"), ['allowed_classes' => false])

См. определение в файле options.php строка 168

◆ $GROUP_DEFAULT_TASK

$GROUP_DEFAULT_TASK = COption::GetOptionString($module_id, "GROUP_DEFAULT_TASK", "")

См. определение в файле options.php строка 759

◆ $groups

$groups = array()

См. определение в файле options.php строка 30

◆ $intl

$intl = new \Bitrix\Main\UserConsent\Intl(LANGUAGE_ID)

См. определение в файле options.php строка 515

◆ $l

$l = count($arTaskIds)

См. определение в файле options.php строка 783

◆ $listAgreement

$listAgreement = array("" => GetMessage("MAIN_REGISTER_AGREEMENT_DEFAUTL_VALUE"))

См. определение в файле options.php строка 516

◆ $listAgreementObject

$listAgreementObject
Инициализатор
"select" => array("ID", "NAME"),
"filter" => array("=ACTIVE" => "Y"),
"order" => array("ID" => "ASC")
))
static getList(array $parameters=array())
Определения datamanager.php:431

См. определение в файле options.php строка 517

◆ $mid

$mid = $_REQUEST["mid"] ?? 'main'

См. определение в файле options.php строка 27

◆ $module_id

$module_id ="main"

См. определение в файле options.php строка 758

◆ $nID

$nID = COperation::GetIDByName('edit_subordinate_users')

См. определение в файле options.php строка 775

◆ $nID2

$nID2 = COperation::GetIDByName('view_subordinate_users')

См. определение в файле options.php строка 776

◆ $panel

foreach ( $arCodes as $code) $panel
Инициализатор
= "
<div id=\"bx_access_div\">
"

См. определение в файле options.php строка 177

◆ $panelHide

foreach ( $arHideCodes as $code) $panelHide
Инициализатор
= "
<div id=\"bx_access_hide_div\">
"

См. определение в файле options.php строка 186

◆ $SET_LICENSE_KEY

$SET_LICENSE_KEY = ""

См. определение в файле options.php строка 561

◆ $show_subord

$show_subord = false

См. определение в файле options.php строка 780

◆ $smsCurrentSenders

$smsCurrentSenders = array()

См. определение в файле options.php строка 136

◆ $smsNote

$smsNote = GetMessage("main_options_sms_note2", ["#URL#" => $url])

См. определение в файле options.php строка 133

◆ $smsSenders

$smsSenders = array()

См. определение в файле options.php строка 107

◆ $smsServices

$smsServices
Инициализатор
"" => GetMessage("main_options_sms_list_prompt")
)

См. определение в файле options.php строка 108

◆ $tabControl

$tabControl = new CAdminTabControl("tabControl", $aTabs)

См. определение в файле options.php строка 559

◆ $z

$z = CGroup::GetList('', '', array("ACTIVE"=>"Y", "ADMIN"=>"N", "ANONYMOUS"=>"N"))

См. определение в файле options.php строка 31

◆ else

else
Инициализатор
{
$url = "/bitrix/admin/module_admin.php?lang=".LANGUAGE_ID
$url
Определения iframe.php:7

См. определение в файле options.php строка 130

◆ endforeach

endforeach =$group["NAME"]." [".$group["ID"]."]"

См. определение в файле options.php строка 850

◆ endif

endif

См. определение в файле options.php строка 1445

◆ foreach

foreach($arGROUPS as $v_gr) ( $arGROUPS as) =GetMessage('SUBORDINATE_GROUPS')

См. определение в файле options.php строка 874

◆ if

if($GROUP_DEFAULT_TASK=='') ( $GROUP_DEFAULT_TASK = = '') =GetMessage("MAIN_BY_DEFAULT")

См. определение в файле options.php строка 761

◆ ShowParamsHTMLByArray

if( $_SERVER ShowParamsHTMLByArray["REQUEST_METHOD"]=="POST" &&!empty( $_POST["Update"]) &&( $USER->CanDoOperation( 'edit_other_settings') &&$USER->CanDoOperation( 'edit_groups')) &&check_bitrix_sessid()) if($SET_LICENSE_KEY=="") if( $_SERVER["REQUEST_METHOD"]=="POST" &&isset( $_POST["stop_site"]) &&$_POST["stop_site"]=="Y" &&$USER->CanDoOperation( 'edit_other_settings') &&check_bitrix_sessid()) if($_SERVER["REQUEST_METHOD"]=="POST" &&isset($_POST["start_site"]) && $_POST["start_site"]=="Y" && $USER->CanDoOperation('edit_other_settings') &&check_bitrix_sessid())( $arParams) ( $arParams)

См. определение в файле options.php строка 640