예제 #1
0
    echo intval($IBLOCK_SECTION_ID);
    ?>
">
<input type="hidden" name="PRODUCT_ID" value="<?php 
    echo $intProductID;
    ?>
">
<input type="hidden" name="TMP_ID" value="<?php 
    echo htmlspecialcharsbx($strSubTMP_ID);
    ?>
">
<?php 
    CCatalogAdminTools::showFormParams();
    $tabControl->EndEpilogContent();
    $customTabber->SetErrorState($bVarsFromForm);
    $tabControl->AddTabs($customTabber);
    $strFormAction = CIBlock::GetAdminSubElementEditLink($IBLOCK_ID, $intProductID, $ID > 0 && !$bSubCopy ? $ID : 0, array('WF' => $WF, 'find_section_section' => (int) $find_section_section), '', !BX_SUB_SETTINGS);
    $tabControl->Begin(array("FORM_ACTION" => $strFormAction));
    $tabControl->BeginNextFormTab();
    if ($ID > 0 && !$bSubCopy) {
        $p = CIblockElement::GetByID($ID);
        $pr = $p->ExtractFields("prn_");
    }
    $tabControl->AddCheckBoxField("SUB_ACTIVE", GetMessage("IBLOCK_FIELD_ACTIVE") . ":", false, "Y", $str_ACTIVE == "Y");
    $tabControl->BeginCustomField("SUB_ACTIVE_FROM", GetMessage("IBLOCK_FIELD_ACTIVE_PERIOD_FROM"), $arIBlock["FIELDS"]["ACTIVE_FROM"]["IS_REQUIRED"] === "Y");
    ?>
<tr id="tr_SUB_ACTIVE_FROM">
	<td><?php 
    echo $tabControl->GetCustomLabelHTML();
    ?>
:</td>