%PDF- %PDF-
| Direktori : /home/bitrix/www/bitrix/components/bitrix/catalog.compare.list/templates/.default/ |
| Current File : //home/bitrix/www/bitrix/components/bitrix/catalog.compare.list/templates/.default/.parameters.php |
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
$arTemplateParameters = array(
'POSITION_FIXED' => array(
'PARENT' => 'VISUAL',
'NAME' => GetMessage('CP_BCCL_TPL_PARAM_TITLE_POSITION_FIXED'),
'TYPE' => 'CHECKBOX',
'DEFAULT' => 'Y',
'REFRESH' => 'Y'
)
);
if (!isset($arCurrentValues['POSITION_FIXED']) || $arCurrentValues['POSITION_FIXED'] == 'Y')
{
$positionList = array(
'top left' => GetMessage('CP_BCCL_TPL_PARAM_POSITION_TOP_LEFT'),
'top right' => GetMessage('CP_BCCL_TPL_PARAM_POSITION_TOP_RIGHT'),
'bottom left' => GetMessage('CP_BCCL_TPL_PARAM_POSITION_BOTTOM_LEFT'),
'bottom right' => GetMessage('CP_BCCL_TPL_PARAM_POSITION_BOTTOM_RIGHT')
);
$arTemplateParameters['POSITION'] = array(
'PARENT' => 'VISUAL',
'NAME' => GetMessage('CP_BCCL_TPL_PARAM_TITLE_POSITION'),
'TYPE' => 'LIST',
'VALUES' => $positionList,
'DEFAULT' => 'top left'
);
unset($positionList);
}
?>