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

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

Переменные

if(! $USER->IsAdmin()) if(!Loader::includeModule('iblock')) $defaultValues = Main\Config\Option::getDefaults('iblock')
 $arAllOptions
 $aTabs
 $tabControl = new CAdminTabControl("tabControl", $aTabs)
 $request = Main\Context::getCurrent()->getRequest()
 $currentAction = null
if($request->getPost('Update') !==null) elseif( $request->getPost( 'Apply') !==null) elseif($request->getPost('RestoreDefaults') !==null) $backUrl = (string)$request->get('back_url_settings')
if($request->isPost() && $currentAction !==null &&check_bitrix_sessid()) $currentValues = []
 $needFeatureConfirm = false
 $activity = Main\Config\Option::get('iblock', 'iblock_activity_dates')
if($activity !=='') else
 $currentValues ['iblock_activity_dates'] = $activity
 $currentValues ['iblock_activity_dates_period'] = (int)Main\Config\Option::get('iblock', 'iblock_activity_dates_period')
if($currentValues['iblock_activity_dates_period']<=0) $currentValues ['iblock_activity_dates_period_custom'] = $currentValues['iblock_activity_dates_period']
 $periodList
if(!isset($periodList[$currentValues['iblock_activity_dates_period']])) $optionHints
 if (!empty( $currentValues[ 'iblock_activity_dates'])) =htmlspecialcharsbx(GetMessage("IBLOCK_MESS_DELETE_ENTITY"))
 foreach ( $periodList as $index=> $value) =($currentValues['iblock_activity_dates_period'] == -1 ? 'table-row' : 'none')

Переменные

◆ $activity

$activity = Main\Config\Option::get('iblock', 'iblock_activity_dates')

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

◆ $arAllOptions

$arAllOptions
Инициализатор
GetMessage('IBLOCK_OPTION_SECTION_SYSTEM'),
array("property_features_enabled", GetMessage("IBLOCK_PROPERTY_FEATURES"), "Y", array("checkbox", "Y")),
array("event_log_iblock", GetMessage("IBLOCK_EVENT_LOG"), "Y", array("checkbox", "Y")),
array("path2rss", GetMessage("IBLOCK_PATH2RSS"), "/upload/", array("text", 30)),
GetMessage('IBLOCK_OPTION_SECTION_LIST_AND_FORM'),
array("use_htmledit", GetMessage("IBLOCK_USE_HTMLEDIT"), "N", array("checkbox", "Y")),
array("list_image_size", GetMessage("IBLOCK_LIST_IMAGE_SIZE"), "50", array("text", 5)),
array("detail_image_size", GetMessage("IBLOCK_DETAIL_IMAGE_SIZE"), "200", array("text", 5)),
array("show_xml_id", GetMessage("IBLOCK_SHOW_LOADING_CODE"), "N", array("checkbox", "Y")),
array("excel_export_rights", GetMessage("IBLOCK_EXCEL_EXPORT_RIGHTS"), "N", array("checkbox", "Y")),
array("list_full_date_edit", GetMessage("IBLOCK_LIST_FULL_DATE_EDIT"), "N", array("checkbox", "Y")),
array("combined_list_mode", GetMessage("IBLOCK_COMBINED_LIST_MODE"), "N", array("checkbox", "Y")),
array("iblock_menu_max_sections", GetMessage("IBLOCK_MENU_MAX_SECTIONS"), "50", array("text", 5)),
array("change_user_by_group_active_modify", GetMessage("IBLOCK_OPTION_CHANGE_USER_BY_GROUP_ACTIVE_MODIFY"), "N", array("checkbox", "N")),
GetMessage('IBLOCK_OPTION_SECTION_CUSTOM_FORM'),
array("custom_edit_form_use_property_id", GetMessage("IBLOCK_CUSTOM_FORM_USE_PROPERTY_ID"), "Y", array("checkbox", "Y")),
GetMessage('IBLOCK_OPTION_SECTION_IMPORT_EXPORT'),
array("num_catalog_levels", GetMessage("IBLOCK_NUM_CATALOG_LEVELS"), "3", array("text", 5)),
)
</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 строка 24

◆ $aTabs

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

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

◆ $backUrl

if( $request->getPost( 'Update') !==null) elseif($request->getPost('Apply') !==null) elseif ( $request->getPost( 'RestoreDefaults') !==null) $backUrl = (string)$request->get('back_url_settings')

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

◆ $currentAction

$currentAction = null

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

◆ $currentValues [1/4]

if ( $request->isPost() &&$currentAction !==null &&check_bitrix_sessid()) $currentValues = []

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

◆ $currentValues [2/4]

$currentValues[ 'iblock_activity_dates'] = $activity

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

◆ $currentValues [3/4]

$currentValues[ 'iblock_activity_dates_period'] = (int)Main\Config\Option::get('iblock', 'iblock_activity_dates_period')

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

◆ $currentValues [4/4]

if ( $currentValues[ 'iblock_activity_dates_period']<=0) $currentValues[ 'iblock_activity_dates_period_custom'] = $currentValues['iblock_activity_dates_period']

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

◆ $defaultValues

if(! $USER->IsAdmin()) if (!Loader::includeModule( 'iblock')) $defaultValues = Main\Config\Option::getDefaults('iblock')

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

◆ $needFeatureConfirm

$needFeatureConfirm = false

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

◆ $optionHints

if (!isset( $periodList[ $currentValues[ 'iblock_activity_dates_period']])) $optionHints
Инициализатор
'property_features_enabled' => GetMessage(
'IBLOCK_PROPERTY_FEATURES_HINT',
['#LINK#' => 'https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=42&LESSON_ID=1986']
),
'change_user_by_group_active_modify' => GetMessage('IBLOCK_OPTION_CHANGE_USER_BY_GROUP_ACTIVE_MODIFY_HINT')
)

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

◆ $periodList

$periodList
Инициализатор
-1 => GetMessage('IBLOCK_OPTION_CHECK_ACTIVITY_PERIOD_CUSTOM'),
3600 => GetMessage('IBLOCK_OPTION_CHECK_ACTIVITY_PERIOD_ONE_HOUR'),
10800 => GetMessage('IBLOCK_OPTION_CHECK_ACTIVITY_PERIOD_THREE_HOUR'),
21600 => GetMessage('IBLOCK_OPTION_CHECK_ACTIVITY_PERIOD_SIX_HOUR'),
43200 => GetMessage('IBLOCK_OPTION_CHECK_ACTIVITY_PERIOD_TWELVE_HOUR'),
86400 => GetMessage('IBLOCK_OPTION_CHECK_ACTIVITY_PERIOD_DAY')
)

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

◆ $request

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

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

◆ $tabControl

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

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

◆ else

if ( $activity !=='') else
Инициализатор
{
$activity
Определения options.php:214

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

◆ foreach

foreach($periodList as $index=> $value) ( $periodList as,
$value ) =($currentValues['iblock_activity_dates_period'] == -1 ? 'table-row' : 'none')

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

◆ if

if($backUrl !=='') ( ! empty$currentValues['iblock_activity_dates']) =htmlspecialcharsbx(GetMessage("IBLOCK_MESS_DELETE_ENTITY"))

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