Код |
---|
//START of the custom form |
Код |
---|
//END of the custom form |
Код |
---|
<?_ShowPropertyField('PROP['.$prop_fields["ID"].']', $prop_fields, $prop_fields["VALUE"], (($historyId <= 0) && (!$bVarsFromForm) && ($ID<=0)), $bVarsFromForm, 50000, $tabControl->GetFormName(), $bCopy);?> |
Код |
---|
// Toolbar "Настроить" $aMenu = array(); if (false == ((true == defined('BT_UT_AUTOCOMPLETE')) && (1 == BT_UT_AUTOCOMPLETE))) { $link = DeleteParam(array("mode")); $link = $GLOBALS["APPLICATION"]->GetCurPage()."?mode=settings".($link <> ""? "&".$link:""); $aMenu[] = array( "TEXT"=>GetMessage("IBEL_E_SETTINGS"), "TITLE"=>GetMessage("IBEL_E_SETTINGS_TITLE"), "LINK"=>"jav * ascript:".$tabControl->GetName().".ShowSettings('".urlencode($link)."')", "ICON"=>"btn_settings", ); $context = new CAdminContextMenu($aMenu); $context->Show(); } |
Код |
---|
$tabControl = new CAdminForm($bCustomForm? "tabControl": "form_element_".$IBLOCK_ID, $aTabs); |
Код |
---|
tabControl->AddCheckBoxField("ACTIVE", GetMessage("IBLOCK_FIELD_ACTIVE").":", false, "Y", $str_ACTIVE=="Y"); |
Код |
---|
$tabControl->Show(); |