當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CLang::SelectBoxMulti方法代碼示例

本文整理匯總了PHP中CLang::SelectBoxMulti方法的典型用法代碼示例。如果您正苦於以下問題:PHP CLang::SelectBoxMulti方法的具體用法?PHP CLang::SelectBoxMulti怎麽用?PHP CLang::SelectBoxMulti使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在CLang的用法示例。


在下文中一共展示了CLang::SelectBoxMulti方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: str_replace

                ?>
</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>
開發者ID:Satariall,項目名稱:izurit,代碼行數:31,代碼來源:iblock_edit.php

示例2: GetMessage

					"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>
開發者ID:ASDAFF,項目名稱:open_bx,代碼行數:31,代碼來源:iblock_xml_import.php

示例3: GetMessage

    ?>
">
		</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 
開發者ID:DarneoStudio,項目名稱:bitrix,代碼行數:31,代碼來源:learn_course_edit.php

示例4: echo

            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)
開發者ID:spas-viktor,項目名稱:books,代碼行數:31,代碼來源:type_edit.php


注:本文中的CLang::SelectBoxMulti方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。