本文整理汇总了PHP中CLanguage::SelectBox方法的典型用法代码示例。如果您正苦于以下问题:PHP CLanguage::SelectBox方法的具体用法?PHP CLanguage::SelectBox怎么用?PHP CLanguage::SelectBox使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CLanguage
的用法示例。
在下文中一共展示了CLanguage::SelectBox方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: htmlspecialcharsbx
?>
</td>
</tr>
<?
if (!isset($TRANSLIT_LANG) || empty($TRANSLIT_LANG))
$TRANSLIT_LANG = LANGUAGE_ID;
if ($boolOutTranslit)
{
?><input type="hidden" name="TRANSLIT_LANG" value="<? echo htmlspecialcharsbx($TRANSLIT_LANG); ?>"><?
}
else
{
?><tr>
<td width="40%"><? echo GetMessage('CATI_CODE_TRANSLIT_LANG'); ?>:</td>
<td width="60%">
<? echo CLanguage::SelectBox('TRANSLIT_LANG', $TRANSLIT_LANG); ?>
</td>
</tr><?
}
?>
<tr>
<td valign="top" width="40%"><? echo GetMessage("CATI_OUTFILE"); ?>:</td>
<td valign="top" width="60%"><?
if (!isset($outFileAction) || empty($outFileAction) || !in_array($outFileAction, array('H', 'D', 'M', 'F')))
$outFileAction = 'F';
?><input type="radio" name="outFileAction" value="H" <?if ($outFileAction=="H") echo "checked";?>> <? echo GetMessage("CATI_OF_DEACT"); ?><br>
<input type="radio" name="outFileAction" value="D" <?if ($outFileAction=="D") echo "checked";?>> <? echo GetMessage("CATI_OF_DEL"); ?><br>
<input type="radio" name="outFileAction" value="M" <?if ($outFileAction=="M") echo "checked";?>> <? echo GetMessage("CATI_OF_CAN_BUY"); ?> <span class="required">*</span><br>
<input type="radio" name="outFileAction" value="F" <?if ($outFileAction=="F") echo "checked";?>> <? echo GetMessage("CATI_OF_KEEP"); ?>
</td>
</tr>
示例2: GetMessage
<td align="right"><?php
echo GetMessage("STAT_MESSAGE");
?>
</td>
<td><textarea name="MESSAGE" rows="5" cols="45"><?php
echo $str_MESSAGE;
?>
</textarea></td>
</tr>
<tr valign="top">
<td align="right"><?php
echo GetMessage("STAT_MESSAGE_LID");
?>
</td>
<td><?php
echo CLanguage::SelectBox("MESSAGE_LID", $str_MESSAGE_LID);
?>
</td>
</tr>
<tr valign="top">
<td align="right"><?php
echo GetMessage("STAT_SAVE_STATISTIC");
?>
</td>
<td><?php
echo InputType("checkbox", "SAVE_STATISTIC", "Y", $str_SAVE_STATISTIC, false);
?>
</td>
</tr>
<?php
$tabControl->BeginNextTab();
示例3: htmlspecialcharsbx
</td>
<td><input type="text" name="find_id" size="40" value="<?php
echo htmlspecialcharsbx($find_id);
?>
"><?php
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("fav_list_flt_lang2");
?>
</td>
<td><?php
echo CLanguage::SelectBox("find_language_id", $find_language_id, GetMessage("fav_list_flt_all"));
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("MAIN_F_DATE") . ":";
?>
</td>
<td><?php
echo CalendarPeriod("find_date1", $find_date1, "find_date2", $find_date2, "form1", "Y");
?>
</td>
</tr>
<tr>
<td><?php
示例4: GetMessage
<td><?php
echo GetMessage("MAIN_C_SORT");
?>
</td>
<td><input type="text" name="C_SORT" size="5" maxlength="18" value="<?php
echo $str_C_SORT;
?>
"></td>
</tr>
<tr >
<td><?php
echo GetMessage("fav_edit_lang");
?>
</td>
<td><?php
echo CLanguage::SelectBox("LANGUAGE_ID", $str_LANGUAGE_ID);
?>
</td>
</tr>
<tr>
<td width="40%"><?php
echo GetMessage("MAIN_MENU_ID");
?>
</td>
<td width="60%"><input type="text" name="MENU_ID" size="45" maxlength="255" value="<?php
echo $str_MENU_ID;
?>
"></td>
</tr>
<tr>
<td class="adm-detail-valign-top"><?php
示例5: GetMessage
?>
:</label></td>
<td><input type="checkbox" id="TEST_SSL_CERT_VALIDITY" name="TESTS[]" value="test_ssl_cert_validity" <?php
if (in_array("test_ssl_cert_validity", $aDomain["TESTS"])) {
echo 'checked="checked"';
}
?>
></td>
</tr>
<!--<tr>
<td width="40%"><?php
echo GetMessage("BCL_MONITORING_LANGUAGE");
?>
:</td>
<td width="60%"><?php
echo CLanguage::SelectBox("LANG", $aDomain["LANG"]);
?>
</td>
</tr>-->
<tr class="adm-detail-required-field adm-detail-valign-top">
<td width="40%"><?php
echo GetMessage("BCL_MONITORING_EMAIL");
?>
:</td>
<td width="60%" id="EMAILS"><?php
foreach ($aDomain["EMAILS"] as $email) {
?>
<input type="text" name="EMAILS[]" size="45" value="<?php
echo htmlspecialcharsbx($email);
?>
"><br><?php
示例6: GetMessage
</td>
</tr>
<tr class="adm-detail-required-field">
<td><? echo GetMessage('DIR')?></td>
<td><input type="text" name="DIR" size="30" maxlength="50" value="<? echo $str_DIR?>"></td>
</tr>
<tr class="adm-detail-required-field">
<td><?echo GetMessage('SORT')?></td>
<td><input type="text" name="SORT" size="10" maxlength="10" value="<? echo $str_SORT?>"></td>
</tr>
<tr class="heading">
<td colspan="2"><?echo GetMessage("MAIN_SITE_PARAMS")?></td>
</tr>
<tr class="adm-detail-required-field">
<td><?echo GetMessage("MAIN_SITE_LANG")?></td>
<td><?echo CLanguage::SelectBox("LANGUAGE_ID", $str_LANGUAGE_ID);?></td>
</tr>
<tr class="adm-detail-required-field">
<td><? echo GetMessage('FORMAT_DATE')?></td>
<td><input type="text" name="FORMAT_DATE" size="30" maxlength="50" value="<? echo $str_FORMAT_DATE?>"></td>
</tr>
<tr class="adm-detail-required-field">
<td><? echo GetMessage('FORMAT_DATETIME')?></td>
<td><input type="text" name="FORMAT_DATETIME" size="30" maxlength="50" value="<?echo $str_FORMAT_DATETIME?>"></td>
</tr>
<tr>
<td><? echo GetMessage('SITE_EDIT_WEEK_START')?></td>
<td><select name="WEEK_START">
<?
for ($i = 0; $i < 7; $i++)
{