$arFilterProps = array("PERSON_TYPE_ID" => $PERSON_TYPE, "ACTIVE" => "Y"); if ($saleModulePermissions >= "U" && $saleModulePermissions < "W") { $arFilterProps["USER_PROPS"] = "Y"; $arFilterProps["UTIL"] = "N"; } $tabControl->AddViewField("CODE_USER", GetMessage("BUYER_PE_USER") . ":", "[<a href=\"/bitrix/admin/user_edit.php?ID=" . $arUser["ID"] . "&lang=" . LANGUAGE_ID . "\">" . $arUser["ID"] . "</a>] (" . $arUser["LOGIN"] . ") " . $userFIO); $tabControl->AddEditField("CODE_PROFILE_NAME", GetMessage("BUYER_PE_PROFILE_NAME") . ":", false, array("size" => 30, "maxlength" => 255), htmlspecialcharsEx($profileName)); $propertyGroupID = ""; $dbProperties = CSaleOrderProps::GetList(array("GROUP_SORT" => "ASC", "PROPS_GROUP_ID" => "ASC", "SORT" => "ASC", "NAME" => "ASC"), $arFilterProps, false, false, array("*")); $userProfile = CSaleOrderUserProps::DoLoadProfiles($USER_ID, $PERSON_TYPE); $curVal = ""; while ($arProperties = $dbProperties->Fetch()) { $curVal = $userProfile[$ID]["VALUES"][IntVal($arProperties["ID"])]; $fieldValue = $curVal != "" ? $curVal : $arProperties["DEFAULT_VALUE"]; if (IntVal($arProperties["PROPS_GROUP_ID"]) != $propertyGroupID) { $tabControl->AddSection("SECTION_" . $arProperties["PROPS_GROUP_ID"], $arProperties["GROUP_NAME"]); } $shure = false; if ($arProperties["REQUIED"] == "Y" || $arProperties["IS_PROFILE_NAME"] == "Y" || $arProperties["IS_LOCATION"] == "Y" || $arProperties["IS_LOCATION4TAX"] == "Y" || $arProperties["IS_PAYER"] == "Y" || $arProperties["IS_ZIP"] == "Y") { $shure = true; } /*fields*/ if ($arProperties["TYPE"] == "TEXT") { $tabControl->AddEditField("CODE_" . IntVal($arProperties["ID"]), $arProperties["NAME"] . ":", $shure, array("size" => 30, "maxlength" => 255), $fieldValue); } elseif ($arProperties["TYPE"] == "CHECKBOX") { $tabControl->AddCheckBoxField("CODE_" . IntVal($arProperties["ID"]), $arProperties["NAME"] . ":", $shure, "Y", $fieldValue); } elseif ($arProperties["TYPE"] == "SELECT") { $tabControl->BeginCustomField("CODE_" . IntVal($arProperties["ID"]), $arProperties["NAME"], $shure); ?> <tr<?php $shure ? " class=\"adm-detail-required-field\"" : "";
$urlForm = ""; if (isset($ID) AND $ID != "") { $urlForm = "&ID=".$ID."&LID=".CUtil::JSEscape($LID); if (!$boolLocked) CSaleOrder::Lock($ID); } $tabControl->Begin(array( "FORM_ACTION" => $APPLICATION->GetCurPage()."?lang=".LANGUAGE_ID.$urlForm.GetFilterParams("filter_", false) )); //order tabs $tabControl->BeginNextFormTab(); $tabControl->AddSection("NEWO_TITLE_STATUS", GetMessage("NEWO_TITLE_STATUS")); $tabControl->BeginCustomField("ORDER_STATUS", GetMessage("SOE_STATUS"), true); ?> <tr class="adm-detail-required-field"> <td width="40%"><?php echo GetMessage("SOE_STATUS"); ?> :</td> <td width="60%"> <? $arFilter = array("LID" => LANGUAGE_ID); $arGroupByTmp = false; if ($saleModulePermissions < "W") {
<tr id="tr_LAST_DISCOUNT"> <td width="40%"><?php echo $tabControl->GetCustomLabelHTML(); ?> </td> <td width="60%"> <input type="hidden" value="N" name="LAST_DISCOUNT"> <input type="checkbox" value="Y" name="LAST_DISCOUNT" <?php echo 'Y' == $arDiscount['LAST_DISCOUNT'] ? 'checked' : ''; ?> > </td> </tr><?php $tabControl->EndCustomField("LAST_DISCOUNT", '<input type="hidden" name="LAST_DISCOUNT" value="' . htmlspecialcharsbx($arDiscount['LAST_DISCOUNT']) . '">'); $tabControl->BeginNextFormTab(); $tabControl->AddSection("BT_SALE_DISCOUNT_SECT_APP", GetMessage("BT_SALE_DISCOUNT_SECTIONS_APP")); $tabControl->BeginCustomField("ACTIONS", GetMessage('BT_SALE_DISCOUNT_EDIT_FIELDS_APP') . ":", false); ?> <tr id="ACTIONS"> <td valign="top" colspan="2"><div id="tree_actions" style="position: relative; z-index: 1;"></div><?php if (!is_array($arDiscount['APPICATIONS'])) { if (CheckSerializedData($arDiscount['APPICATIONS'])) { $arDiscount['APPICATIONS'] = unserialize($arDiscount['APPICATIONS']); } else { $arDiscount['APPICATIONS'] = ''; } } $arCondParams = array('FORM_NAME' => 'sale_discount_form', 'CONT_ID' => 'tree_actions', 'JS_NAME' => 'JSSaleAct', 'PREFIX' => 'actrl', 'INIT_CONTROLS' => array('SITE_ID' => $arDiscount['LID'], 'CURRENCY' => CSaleLang::GetLangCurrency($arDiscount['LID'])), 'SYSTEM_MESSAGES' => array('SELECT_CONTROL' => GetMessage('BT_SALE_DISCOUNT_ACTIONS_SELECT_CONTROL'), 'ADD_CONTROL' => GetMessage('BT_SALE_DISCOUNT_ACTIONS_ADD_CONTROL'), 'DELETE_CONTROL' => GetMessage('BT_SALE_DISCOUNT_ACTIONS_DELETE_CONTROL'))); $obAct = new CSaleActionTree(); $boolAct = $obAct->Init(BT_COND_MODE_DEFAULT, BT_COND_BUILD_SALE_ACTIONS, $arCondParams); if (!$boolAct) {
echo GetFilterHiddens("filter_"); ?> <?php echo bitrix_sessid_post(); ?> <input type="hidden" name="lang" value="<? echo LANGUAGE_ID; ?>"> <input type="hidden" name="ID" value="<? echo $ID; ?>"> <input type="hidden" name="save_order_data" value="Y"> <? $tabControl->EndEpilogContent(); $tabControl->Begin(); $tabControl->BeginNextFormTab(); $tabControl->AddSection("order_id", GetMessage("P_ORDER_ID")); $tabControl->BeginCustomField("ORDER_ACCOUNT_NUMBER", GetMessage("SOD_ORDER_ACCOUNT_NUMBER")); ?> <tr> <td width="40%"><?echo $tabControl->GetCustomLabelHTML()?>:</td> <td width="60%"><?echo $arOrder["ACCOUNT_NUMBER"]?></td> </tr> <? $tabControl->EndCustomField("ORDER_ACCOUNT_NUMBER", ''); $tabControl->BeginCustomField("ORDER_DATE_CREATE", GetMessage("SOD_ORDER_DATE_CREATE")); ?> <tr> <td width="40%"><?echo $tabControl->GetCustomLabelHTML()?>:</td> <td width="60%"><?echo $arOrder["DATE_INSERT"]?></td> </tr> <?
echo count($arObjects) > 1 ? '' : 'display:none'; ?> " class="adm-detail-required-field"> <td><?php echo GetMessage("RATING_RULE_EDIT_FRM_TYPE_ID"); ?> </td> <td><?php echo SelectBoxFromArray("ENTITY_TYPE_ID", array('reference_id' => $arObjects, 'reference' => $arObjects), $str_ENTITY_TYPE_ID, "", "onChange=\"jsTypeChanged('rating_rule_form')\""); ?> </td> </tr> <? $tabControl->EndCustomField("ENTITY_TYPE_ID"); $tabControl->AddSection("CAT_HOW_ACTIVATE", GetMessage("RATING_RULE_EDIT_CAT_HOW_ACTIVATE")); $tabControl->BeginCustomField("CONDITION_NAME", GetMessage('RATING_RULE_EDIT_FRM_CONDITION_NAME'), true); $arRatingRuleConfigs = CRatingRule::GetRatingRuleConfigs($str_ENTITY_TYPE_ID); $arConditionName = array(); foreach ($arRatingRuleConfigs["CONDITION_CONFIG"] as $configId => $arConfig) { $arConditionName['reference'][] = $arConfig["NAME"]; $arConditionName['reference_id'][] = $arConfig["ID"]; } $arCurrentCondition = $arRatingRuleConfigs["CONDITION_CONFIG"][$str_CONDITION_NAME]; $conditionCount = count($arCurrentCondition['FIELDS']); ?> <tr> <td colspan="2"> <table cellpadding="2" cellspacing="0" border="0" width="100%" class="edit-table">
{ foreach($str_IBLOCK_ELEMENT_SECTION as $section_id) { foreach(CIBlockSectionPropertyLink::GetArray($IBLOCK_ID, $section_id) as $PID => $arLink) $arPropLinks[$PID] = "PROPERTY_".$PID; } } else { foreach(CIBlockSectionPropertyLink::GetArray($IBLOCK_ID, 0) as $PID => $arLink) $arPropLinks[$PID] = "PROPERTY_".$PID; } $tabControl->AddFieldGroup("IBLOCK_ELEMENT_PROPERTY", GetMessage("IBLOCK_ELEMENT_PROP_VALUE"), $arPropLinks, $bPropertyAjax); } $tabControl->AddSection("IBLOCK_ELEMENT_PROP_VALUE", GetMessage("IBLOCK_ELEMENT_PROP_VALUE")); foreach($PROP as $prop_code=>$prop_fields): $prop_values = $prop_fields["VALUE"]; $tabControl->BeginCustomField("PROPERTY_".$prop_fields["ID"], $prop_fields["NAME"], $prop_fields["IS_REQUIRED"]==="Y"); ?> <tr id="tr_PROPERTY_<?echo $prop_fields["ID"];?>"<?if ($prop_fields["PROPERTY_TYPE"]=="F"):?> class="adm-detail-file-row"<?endif?>> <td class="adm-detail-valign-top" width="40%"><?if($prop_fields["HINT"]!=""): ?><span id="hint_<?echo $prop_fields["ID"];?>"></span><script type="text/javascript">BX.hint_replace(BX('hint_<?echo $prop_fields["ID"];?>'), '<?echo CUtil::JSEscape($prop_fields["HINT"])?>');</script> <? endif;?><?echo $tabControl->GetCustomLabelHTML();?>:</td> <td width="60%"><?_ShowPropertyField('PROP['.$prop_fields["ID"].']', $prop_fields, $prop_fields["VALUE"], (($historyId <= 0) && (!$bVarsFromForm) && ($ID<=0)), $bVarsFromForm||$bPropertyAjax, 50000, $tabControl->GetFormName(), $bCopy);?></td> </tr> <? $hidden = ""; if(!is_array($prop_fields["~VALUE"])) $values = Array();
</label> </td> </tr> <tr> <td colspan="2" align="center"> <textarea cols="60" rows="15" name="DESCRIPTION" style="width:100%"><?php echo $str_DESCRIPTION; ?> </textarea> </td> </tr> <?php } $tabControl->EndCustomField("DESCRIPTION", '<input type="hidden" name="DESCRIPTION" value="' . $str_DESCRIPTION . '">' . '<input type="hidden" name="DESCRIPTION_TYPE" value="' . $str_DESCRIPTION_TYPE . '">'); $tabControl->BeginNextFormTab(); $tabControl->AddSection("IPROPERTY_TEMPLATES_SECTION", GetMessage("IBSEC_E_SEO_FOR_SECTIONS")); $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_SECTION_META_TITLE", GetMessage("IBSEC_E_SEO_META_TITLE")); ?> <tr class="adm-detail-valign-top"> <td width="40%"><?php echo $tabControl->GetCustomLabelHTML(); ?> </td> <td width="60%"><?php echo IBlockInheritedPropertyInput($IBLOCK_ID, "SECTION_META_TITLE", $str_IPROPERTY_TEMPLATES, "S", GetMessage("IBSEC_E_SEO_SECTION_OVERWRITE")); ?> </td> </tr> <?php $tabControl->EndCustomField("IPROPERTY_TEMPLATES_SECTION_META_TITLE", '<input type="hidden" name="IPROPERTY_TEMPLATES[SECTION_META_TITLE][TEMPLATE]" value="' . $str_IPROPERTY_TEMPLATES["SECTION_META_TITLE"]["TEMPLATE"] . '">'); $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_SECTION_META_KEYWORDS", GetMessage("IBSEC_E_SEO_META_KEYWORDS"));
$tabControl->EndCustomField("CALCULATION_METHOD"); $tabControl->BeginCustomField("ACTIVE", GetMessage('RATING_EDIT_FRM_ACTIVE'), false); ?> <tr> <td><?php echo GetMessage("RATING_EDIT_FRM_ACTIVE"); ?> </td> <td><?php echo InputType("checkbox", "ACTIVE", "Y", $str_ACTIVE); ?> </td> </tr> <?php $tabControl->EndCustomField("ACTIVE"); $tabControl->AddSection("CAT_RATING_COMPONENT", GetMessage("RATING_EDIT_CAT_RATING_COMPONENT")); $arRatingConfigs = CRatings::GetRatingConfigs($str_ENTITY_ID); $tabControl->BeginCustomField("CAT_WHAT_CNT_FORM", '', true); ?> <tr> <td width="100%" colspan="2"> <?php $aTabs2 = array(); foreach ($arRatingConfigs as $arConfigModule => $arConfigModuleValue) { $aTabs2[] = array("DIV" => "panel_" . $arConfigModule, "TAB" => $arConfigModuleValue['MODULE_NAME'], "TITLE" => $arConfigModuleValue['MODULE_NAME']); } $tabControl2 = new CAdminViewTabControl("tabControl2", $aTabs2); $tabControl2->Begin(); foreach ($arRatingConfigs as $arConfigModule => $arConfigModuleValue) { $tabControl2->BeginNextTab(); foreach ($arConfigModuleValue as $arConfigType => $arConfigTypeValue) {
?> <tr> <td><?php echo $tabControl->GetCustomLabelHTML(); ?> :</td> <td> <input type="text" name="SORT" size="4" maxlength="10" value="<?php echo htmlspecialcharsbx($str_SORT); ?> "> </td> </tr> <?php $tabControl->EndCustomField("SORT"); $tabControl->AddSection("LEARNING_ACTIVATION_SCHEDULE", GetMessage('LEARNING_ACTIVATION_SCHEDULE')); $tabControl->BeginCustomField("PROPERTY_2", GetMessage('LEARNING_ACTIVATION_SCHEDULE_TITLE'), false); $html = '<table cellpadding="0" cellspacing="0" border="0" class="nopadding" width="100%" id="tb' . md5($name) . '">'; $arLessons = $arDelays = array(); if ($ID && $str_COURSE_LESSON_ID) { $rs = CLearnLesson::GetListOfImmediateChilds($str_COURSE_LESSON_ID, array('SORT' => 'ASC')); while ($ar = $rs->getNext()) { $arLessons[$ar['LESSON_ID']] = $ar['NAME']; } $arDelays = CLearningGroupLesson::getDelays($ID, array_keys($arLessons)); foreach ($arLessons as $lessonId => $lessonName) { $period = $arDelays[$lessonId]; $html .= '<tr><td>'; $html .= $lessonName; $html .= '</td><td>'; $html .= '<input type="text" name="PERIOD_L[' . $lessonId . ']" size="4" maxlength="5" value="' . htmlspecialcharsbx($period) . '">';
<?endforeach;?> </ul> <?else:?> <b><?php echo $localization->message('common.listEmpty'); ?> </b> <?endif;?> </td> </tr> <? $form->EndCustomField('list'); //-------------------- if ($lastSetupLog) { $form->AddSection('lastSetup', $localization->message('lastSetup.sectionName', array( ':time:' => $lastSetupLog->date->format('d.m.Y H:i:s'), ':user:'******'appliedList', 'vv'); ?> <tr style="color: #32cd32;"> <td width="30%"><?php echo $localization->getDataByPath('appliedList'); ?> :</td> <td width="60%"> <?if($appliedFixes):?> <ul> <?foreach ($appliedFixes as $fixName => $fixCount):?> <li><b><?php echo $fixName; ?>
if (defined("CATALOG_PRODUCT")) { $arPropLinks = array(); if (is_array($str_IBLOCK_ELEMENT_SECTION) && !empty($str_IBLOCK_ELEMENT_SECTION)) { foreach ($str_IBLOCK_ELEMENT_SECTION as $section_id) { foreach (CIBlockSectionPropertyLink::GetArray($IBLOCK_ID, $section_id) as $PID => $arLink) { $arPropLinks[$PID] = "PROPERTY_" . $PID; } } } else { foreach (CIBlockSectionPropertyLink::GetArray($IBLOCK_ID, 0) as $PID => $arLink) { $arPropLinks[$PID] = "PROPERTY_" . $PID; } } $tabControl->AddFieldGroup("IBLOCK_ELEMENT_PROPERTY", GetMessage("IBLOCK_ELEMENT_PROP_VALUE"), $arPropLinks, $bPropertyAjax); } $tabControl->AddSection("IBLOCK_ELEMENT_PROP_VALUE", GetMessage("IBLOCK_ELEMENT_PROP_VALUE")); foreach ($PROP as $prop_code => $prop_fields) { $prop_values = $prop_fields["VALUE"]; $tabControl->BeginCustomField("PROPERTY_" . $prop_fields["ID"], $prop_fields["NAME"], $prop_fields["IS_REQUIRED"] === "Y"); ?> <tr id="tr_PROPERTY_<?php echo $prop_fields["ID"]; ?> "<?php if ($prop_fields["PROPERTY_TYPE"] == "F") { ?> class="adm-detail-file-row"<?php } ?> > <td class="adm-detail-valign-top" width="40%"><?php
$localization; ?> <form method="POST" action="<?php echo $APPLICATION->GetCurUri(); ?> " ENCTYPE="multipart/form-data" name="apply"> <?php $form = new CAdminForm('ws_tools_conversion', array(array("DIV" => "edit1", "TAB" => $localization->getDataByPath('title'), "TITLE" => $localization->getDataByPath('title')))); $form->Begin(); $form->BeginNextFormTab(); $form->BeginCustomField('form', ''); $form->AddSection('section-source', 'Источник'); $form->AddDropDownField('selectTypes', 'Тип Инфоблока', '', array()); $form->AddDropDownField('selectIblocks', 'Инфоблок', '', array()); $form->AddDropDownField('selectProperties', 'Свойство Инфоблока', '', array()); $form->AddSection('section-appointment', 'Назначение'); $form->AddDropDownField('new-type-property-info-block', 'Тип', '', array('L' => 'Список', 'E' => 'Привязка к эементам')); ?> <div class="adm-info-message"> <span class="required"> Внимание! Пока доступна только конвертация свойств типа 'строка' в тип 'список' и 'привязка к элементу' </span> </div> <?php $form->Buttons(array('btnSave' => false)); $form->EndCustomField('form');
</td> </tr> <? $tabControl->EndCustomField("LID", '<input type="hidden" name="LID" value="'.$str_LID.'">'); $params = array('id="bx_user_info_event"'); if(!$canSelfEdit || $str_EXTERNAL_AUTH_ID <> '') { $params[] = "disabled"; } $tabControl->AddCheckBoxField("user_info_event", GetMessage('INFO_FOR_USER'), false, "Y", ($_REQUEST["user_info_event"]=="Y"), $params); endif; if(CTimeZone::Enabled()) { $tabControl->AddSection("USER_TIME_ZONE", GetMessage("user_edit_time_zones")); $tabControl->AddDropDownField("AUTO_TIME_ZONE", GetMessage("user_edit_time_zones_auto"), false, array(""=>GetMessage("user_edit_time_zones_auto_def"), "Y"=>GetMessage("user_edit_time_zones_auto_yes"), "N"=>GetMessage("user_edit_time_zones_auto_no")), $str_AUTO_TIME_ZONE, array('onchange="this.form.TIME_ZONE.disabled=(this.value != \'N\')"')); $tabControl->AddDropDownField("TIME_ZONE", GetMessage("user_edit_time_zones_zones"), false, CTimeZone::GetZones(), $str_TIME_ZONE, ($str_AUTO_TIME_ZONE<>"N"? array('disabled') : array())); } ?> <? if($showGroupTabs): $tabControl->BeginNextFormTab(); $tabControl->BeginCustomField("GROUP_ID", GetMessage("user_edit_form_groups")); ?> <tr> <td colspan="2" align="center"> <table border="0" cellpadding="0" cellspacing="0" class="internal" style="width:80%;"> <tr class="heading"> <td colspan="2"><?echo GetMessage("TBL_GROUP")?></td> <td><?php
} if ($boolCopy) { ?> <input type="hidden" name="action" value="copy"><?php } $tabControl->EndEpilogContent(); $tabControl->Begin(array("FORM_ACTION" => '/bitrix/admin/cat_discsave_edit.php?lang=' . urlencode(LANGUAGE_ID))); $tabControl->BeginNextFormTab(); if ($ID > 0 && !$boolCopy) { $tabControl->AddViewField('ID', 'ID:', $ID, false); } $tabControl->AddCheckBoxField("ACTIVE", GetMessage("BT_CAT_DISC_SAVE_EDIT_FIELDS_ACTIVE") . ":", false, "Y", $str_ACTIVE == "Y"); $tabControl->AddEditField("NAME", GetMessage("BT_CAT_DISC_SAVE_EDIT_FIELDS_NAME") . ":", true, array("size" => 50, "maxlength" => 255), $str_NAME); $tabControl->AddDropDownField("SITE_ID", GetMessage('BT_CAT_DISC_SAVE_EDIT_FIELDS_SITE_ID') . ':', true, $arSiteList, $str_SITE_ID); $tabControl->BeginNextFormTab(); $tabControl->AddSection("BT_CAT_DISC_SAVE_EDIT_FIELDS_COUNT", GetMessage("BT_CAT_DISC_SAVE_EDIT_SECTIONS_COUNT")); $tabControl->BeginCustomField("COUNT", GetMessage('BT_CAT_DISC_SAVE_EDIT_FIELDS_COUNT') . ":", true); ?> <tr id="tr_COUNT_PERIOD" class="adm-detail-required-field"> <td width="40%"><?php echo htmlspecialcharsex(GetMessage('BT_CAT_DISC_SAVE_COUNT_TYPE')); ?> :</td> <td width="60%"><select name="COUNT_PERIOD" id="COUNT_PERIOD"><?php foreach ($arCountPeriod as $key => $value) { ?> <option value="<?php echo htmlspecialcharsbx($key); ?> " <?php echo $key == $str_COUNT_PERIOD ? 'selected' : '';
)); $tabControl->BeginNextFormTab(); ?> <? if($ID > 0 && !$bCopy): $p = CIblockElement::GetByID($ID); $pr = $p->ExtractFields("prn_"); endif; $tabControl->AddCheckBoxField("ACTIVE", GetMessage("IBLOCK_FIELD_ACTIVE").":", false, "Y", $str_ACTIVE=="Y"); $tabControl->AddEditField("NAME", "URL:", true, array("size" => 50, "maxlength" => 255), $str_NAME); $tabControl->AddEditField("SORT", GetMessage("IBLOCK_FIELD_SORT").":", $arIBlock["FIELDS"]["SORT"]["IS_REQUIRED"] === "Y", array("size" => 7, "maxlength" => 10), $str_SORT); if(count($PROP)>0): $tabControl->AddSection("IBLOCK_ELEMENT_PROP_VALUE", GetMessage("kaycom.oneplaceseo_PROPS")); foreach($PROP as $prop_code=>$prop_fields): $prop_values = $prop_fields["VALUE"]; $tabControl->BeginCustomField("PROPERTY_".$prop_fields["ID"], $prop_fields["NAME"], $prop_fields["IS_REQUIRED"]==="Y"); ?> <tr id="tr_PROPERTY_<?echo $prop_fields["ID"];?>"> <td class="adm-detail-valign-top"><?if($prop_fields["HINT"]!=""): ?><span id="hint_<?echo $prop_fields["ID"];?>"></span><script>BX.hint_replace(BX('hint_<?echo $prop_fields["ID"];?>'), '<?echo CUtil::JSEscape($prop_fields["HINT"])?>');</script> <? endif;?><?echo $tabControl->GetCustomLabelHTML();?>:</td> <td><?_ShowPropertyField('PROP['.$prop_fields["ID"].']', $prop_fields, $prop_fields["VALUE"], (($historyId <= 0) && (!$bVarsFromForm) && ($ID<=0)), $bVarsFromForm, 50000, $tabControl->GetFormName(), $bCopy);?></td> </tr> <? $hidden = ""; if(!is_array($prop_fields["~VALUE"])) $values = Array();