本文整理汇总了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>
示例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>
示例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
示例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)