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

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

Переменные

 $module_id = 'subscribe'
 $POST_RIGHT = CMain::GetUserRight($module_id)
 $arAllOptions
 $aTabs
 $tabControl = new CAdminTabControl('tabControl', $aTabs)
 $request = \Bitrix\Main\Context::getCurrent()->getRequest()
 if ($request->isPost() &&((string) $request[ 'Update'] !==''||(string) $request[ 'Apply'] !==''||(string) $request[ 'RestoreDefaults'] !=='') &&$POST_RIGHT==='W' &&check_bitrix_sessid())

Переменные

◆ $arAllOptions

$arAllOptions
Инициализатор
= [
['allow_anonymous', GetMessage('opt_anonym'), ['checkbox', 'Y']],
['show_auth_links', GetMessage('opt_links'), ['checkbox', 'Y']],
['subscribe_section', GetMessage('opt_sect'), ['text', 35]],
['posting_interval', GetMessage('opt_interval'), ['text', 5]],
['max_bcc_count', GetMessage('opt_max_bcc_count'), ['text', 5]],
['default_from', GetMessage('opt_def_from'), ['text', 35]],
['default_to', GetMessage('opt_def_to'), ['text', 35]],
['posting_charset', GetMessage('opt_encoding'), ['text-list', 3, 20]],
['allow_8bit_chars', GetMessage('opt_allow_8bit'), ['checkbox', 'Y']],
['mail_additional_parameters', GetMessage('opt_mail_additional_parameters'), ['text', 35]],
['attach_images', GetMessage('opt_attach'), ['checkbox', 'Y']],
['subscribe_confirm_period', GetMessage('opt_delete'), ['text', 5]],
['subscribe_auto_method', GetMessage('opt_method'), ['selectbox', ['agent' => GetMessage('opt_method_agent'), 'cron' => GetMessage('opt_method_cron')]]],
['subscribe_max_emails_per_hit', GetMessage('opt_max_per_hit'), ['text', 5]],
['subscribe_template_method', GetMessage('opt_template_method'), ['selectbox', ['agent' => GetMessage('opt_method_agent'), 'cron' => GetMessage('opt_method_cron')]]],
['subscribe_template_interval', GetMessage('opt_template_interval'), ['text', 10]],
['max_files_size', GetMessage('opt_max_files_size'), ['text', 5]],
]
GetMessage($name, $aReplace=null)
Определения tools.php:3397

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

◆ $aTabs

$aTabs
Инициализатор
= [
['DIV' => 'edit1', 'TAB' => GetMessage('MAIN_TAB_SET'), 'ICON' => 'subscribe_settings', 'TITLE' => GetMessage('MAIN_TAB_TITLE_SET')],
['DIV' => 'edit2', 'TAB' => GetMessage('MAIN_TAB_RIGHTS'), 'ICON' => 'subscribe_settings', 'TITLE' => GetMessage('MAIN_TAB_TITLE_RIGHTS')],
]

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

◆ $module_id

$module_id = 'subscribe'

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

◆ $POST_RIGHT

$POST_RIGHT = CMain::GetUserRight($module_id)

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

◆ $request

$request = \Bitrix\Main\Context::getCurrent()->getRequest()

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

◆ $tabControl

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

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

◆ if

if( $request->isPost() &&((string) $request['Update'] !==''||(string) $request['Apply'] !==''||(string) $request['RestoreDefaults'] !=='') && $POST_RIGHT==='W' &&check_bitrix_sessid()) ( $request->isPost() &&((string) $request['Update'] !==''||(string) $request['Apply'] !==''||(string) $request['RestoreDefaults'] !=='') && = == 'W' && check_bitrix_sessid())

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