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

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

Переменные

 $module_id = "security"
 $canRead = $USER->CanDoOperation('security_module_settings_read')
 $canWrite = $USER->CanDoOperation('security_module_settings_write')
 $arSyslogFacilities
 $arSyslogPriorities
 $arAllOptions
 $aTabs
if($USER->IsAdmin()) $tabControl = new CAdminTabControl("tabControl", $aTabs)
if($_SERVER $message ["REQUEST_METHOD"]=="POST" && $_REQUEST["Update"]. $_REQUEST["Apply"]. $_REQUEST["RestoreDefaults"] !="" && $canWrite &&check_bitrix_sessid()) = CSecurityIPRule::CheckAntiFile(true)
 $availableMessagePlaceholders = CSecurityEventMessageFormatter::getAvailableMessagePlaceholders()
 $availableUserInfoPlaceholders = CSecurityEventMessageFormatter::getAvailableUserInfoPlaceholders()
foreach($arAllOptions as $arOption) $note = $arOption[3] ?? null
endif endif
 endforeach =BeginNote()
foreach( $availableMessagePlaceholders as $placeholder)("SEC_OPTIONS_EVENT_MESSAGE_PLACEHOLDER_".str_replace("#", "", $placeholder))?></div ><?endforeach?></p >< p >< span classforeach ($availableUserInfoPlaceholders as $placeholder) ("SEC_OPTIONS_EVENT_USERINFO_PLACEHOLDER_".str_replace("#", "", $placeholder))?></div ><?endforeach?></p >< p >< span class =EndNote()

Переменные

◆ $arAllOptions

$arAllOptions
Инициализатор
array("", GetMessage("SEC_OPTIONS_IPCHECK"), array("heading")),
array("ipcheck_allow_self_block", GetMessage("SEC_OPTIONS_IPCHECK_ALLOW_SELF_BLOCK"), array("checkbox")),
array("ipcheck_disable_file", GetMessage("SEC_OPTIONS_IPCHECK_DISABLE_FILE"), array("text", 45)),
array("", GetMessage("SEC_OPTIONS_EVENTS"), array("heading")),
array("security_event_format", GetMessage("SEC_OPTIONS_EVENT_FORMAT"), array("text", 60), 1),
array("security_event_userinfo_format", GetMessage("SEC_OPTIONS_EVENT_USERINFO_FORMAT"), array("text", 60), 2),
array("security_event_db_active", GetMessage("SEC_OPTIONS_EVENT_DB_ACTIVE"), array("checkbox")),
array("security_event_syslog_active", GetMessage("SEC_OPTIONS_EVENT_SYSLOG_ACTIVE"), array("checkbox")),
array("security_event_syslog_facility", GetMessage("SEC_OPTIONS_EVENT_SYSLOG_FACILITY"), array("selectbox", $arSyslogFacilities)),
array("security_event_syslog_priority", GetMessage("SEC_OPTIONS_EVENT_SYSLOG_PRIORITY"), array("selectbox", $arSyslogPriorities)),
array("security_event_file_active", GetMessage("SEC_OPTIONS_EVENT_FILE_ACTIVE"), array("checkbox")),
array("security_event_file_path", GetMessage("SEC_OPTIONS_EVENT_FILE_PATH"), array("text", 45), 3),
)
</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
$arSyslogFacilities
Определения options.php:16
$arSyslogPriorities
Определения options.php:20

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

◆ $arSyslogFacilities

$arSyslogFacilities
Инициализатор
"reference_id" => array_keys(CSecurityEvent::getSyslogFacilities()),
"reference" => array_values(CSecurityEvent::getSyslogFacilities()),
)
static getSyslogFacilities()
Определения event.php:99

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

◆ $arSyslogPriorities

$arSyslogPriorities
Инициализатор
"reference_id" => array_keys(CSecurityEvent::getSyslogPriorities()),
"reference" => array_values(CSecurityEvent::getSyslogPriorities()),
)
static getSyslogPriorities()
Определения event.php:91

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

◆ $aTabs

$aTabs
Инициализатор
"DIV" => "edit1",
"TAB" => GetMessage("MAIN_TAB_SET"),
"ICON" => "security_settings",
"TITLE" => GetMessage("MAIN_TAB_TITLE_SET"),
),
)

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

◆ $availableMessagePlaceholders

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

◆ $availableUserInfoPlaceholders

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

◆ $canRead

$canRead = $USER->CanDoOperation('security_module_settings_read')

@global CUser $USER @global CMain $APPLICATION

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

◆ $canWrite

$canWrite = $USER->CanDoOperation('security_module_settings_write')

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

◆ $message

if ( $_SERVER $message["REQUEST_METHOD"]=="POST" &&$_REQUEST["Update"]. $_REQUEST["Apply"]. $_REQUEST["RestoreDefaults"] !="" &&$canWrite &&check_bitrix_sessid()) = CSecurityIPRule::CheckAntiFile(true)

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

◆ $module_id

$module_id = "security"

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

◆ $note

foreach ( $arAllOptions as $arOption) $note = $arOption[3] ?? null

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

◆ $tabControl

if ( $USER->IsAdmin()) $tabControl = new CAdminTabControl("tabControl", $aTabs)

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

◆ ($availableUserInfoPlaceholders as $placeholder)

foreach ($availableMessagePlaceholders as $placeholder) ("SEC_OPTIONS_EVENT_MESSAGE_PLACEHOLDER_".str_replace("#", "", $placeholder))?></div> <?endforeach?> </p> <p> <span classforeach ( $availableUserInfoPlaceholders as $placeholder)("SEC_OPTIONS_EVENT_USERINFO_PLACEHOLDER_".str_replace("#", "", $placeholder))?></div ><?endforeach?></p >< p >< span class ( $availableUserInfoPlaceholders as) =EndNote()

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

◆ endforeach

endforeach =BeginNote()

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

◆ endif

endif

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