?> </label></div> </div><?php } echo "<br>" . str_replace('#LINK#', '/bitrix/admin/iblock_edit.php?type=' . $str_PRODUCT_IBLOCK_TYPE_ID . '&lang=' . LANGUAGE_ID . '&ID=' . $str_PRODUCT_IBLOCK_ID . '&admin=Y', GetMessage('IB_E_OF_SITES')); foreach ($arLidValue as &$strLid) { ?> <input type="hidden" name="LID[]" value="<?php echo htmlspecialcharsex($strLid); ?> "><?php } ?> </div><?php } else { echo CLang::SelectBoxMulti("LID", $str_LID); } ?> </td> </tr> <tr class="adm-detail-required-field"> <td ><?php echo GetMessage("IB_E_NAME"); ?> :</td> <td> <input type="text" name="NAME" size="55" maxlength="255" value="<?php echo $str_NAME; ?> "> </td>
"SaveConfig" => true, ) ); ?> </td> </tr> <tr class="adm-detail-required-field"> <td><?echo GetMessage("IBLOCK_CML2_IBLOCK_TYPE")?>:</td> <td><?php echo SelectBoxFromArray("IBLOCK_TYPE", $arIBlockType, $IBLOCK_TYPE, "", ""); ?> </td> </tr> <tr class="adm-detail-required-field"> <td class="adm-detail-valign-top"><?echo GetMessage("IBLOCK_CML2_LID")?></td> <td><?echo CLang::SelectBoxMulti("LID", htmlspecialcharsbx($LID));?></td> </tr> <tr> <td class="adm-detail-valign-top"><?echo GetMessage("IBLOCK_CML2_ACTION")?>:</td> <td> <input type="radio" name="outFileAction" value="N" id="outFileAction_N" checked="checked"><label for="outFileAction_N"><?echo GetMessage("IBLOCK_CML2_ACTION_NONE")?></label><br> <input type="radio" name="outFileAction" value="A" id="outFileAction_A"><label for="outFileAction_A"><?echo GetMessage("IBLOCK_CML2_ACTION_DEACTIVATE")?></label><br> <input type="radio" name="outFileAction" value="D" id="outFileAction_D"><label for="outFileAction_D"><?echo GetMessage("IBLOCK_CML2_ACTION_DELETE")?></label><br> </td> </tr> <tr> <td><?echo GetMessage("IBLOCK_CML2_INTERVAL")?>:</td> <td> <input type="text" id="INTERVAL" name="INTERVAL" size="5" value="<?echo intval($INTERVAL)?>"> </td> </tr>
?> "> </td> </tr> <?php $tabControl->EndCustomField("CODE"); $tabControl->BeginCustomField("SITE_ID", GetMessage("LEARNING_SITE_ID"), false); ?> <!-- Site --> <tr class="adm-detail-required-field"> <td valign="top"><?php echo $tabControl->GetCustomLabelHTML(); ?> :</td> <td><?php echo CLang::SelectBoxMulti("SITE_ID", $str_SITE_ID); ?> </td> </tr> <?php $tabControl->EndCustomField("SITE_ID"); $tabControl->BeginCustomField("NAME", GetMessage("LEARNING_NAME"), false); ?> <!-- Name --> <tr class="adm-detail-required-field"> <td><?php echo $tabControl->GetCustomLabelHTML(); ?> :</td> <td> <input type="text" name="NAME" size="40" maxlength="255" value="<?php
echo $v["ID"]; ?> "><?php echo $v["ID"]; ?> </a>]<?php echo (strLen(trim($v["SUBJECT"])) > 0 ? " " : "") . htmlspecialcharsEx($v["SUBJECT"]); ?> :</td> <td width="60%"><?php $arLID = array(); $db_LID = CEventMessage::GetLang($v["ID"]); while ($arrLID = $db_LID->Fetch()) { $arLID[] = $arrLID["LID"]; } echo CLang::SelectBoxMulti("LID_READONLY", $arLID); ?> </td> </tr><?php } } } $tabControl->Buttons(array("disabled" => !$isAdmin, "back_url" => "type_admin.php?lang=" . LANGUAGE_ID)); $tabControl->End(); ?> </form> <script language="JavaScript"> result = document.forms['form1'].elements['LID_READONLY[]']; if (result)