本文整理汇总了PHP中CLang::SelectBox方法的典型用法代码示例。如果您正苦于以下问题:PHP CLang::SelectBox方法的具体用法?PHP CLang::SelectBox怎么用?PHP CLang::SelectBox使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CLang
的用法示例。
在下文中一共展示了CLang::SelectBox方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GetMessage
<td><?php
echo GetMessage("MAIN_F_TIMESTAMP") . ":";
?>
</td>
<td><?php
echo CalendarPeriod("find_timestamp_1", htmlspecialcharsbx($find_timestamp_1), "find_timestamp_2", htmlspecialcharsbx($find_timestamp_2), "find_form", "Y");
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("MAIN_F_LID");
?>
</td>
<td><?php
echo CLang::SelectBox("find_lid", htmlspecialcharsbx($find_lid), GetMessage("MAIN_ALL"));
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("F_ACTIVE");
?>
</td>
<td><?php
$arr = array("reference" => array(GetMessage("MAIN_YES"), GetMessage("MAIN_NO")), "reference_id" => array("Y", "N"));
echo SelectBoxFromArray("find_active", $arr, htmlspecialcharsbx($find_active), GetMessage("MAIN_ALL"));
?>
</td>
</tr>
<tr>
示例2: GetMessage
<?
$tabControl->BeginNextTab();
if ($ID>0):?>
<tr>
<td width="40%">ID:</td>
<td width="60%"><?echo $ID ?></td>
</tr>
<?endif;?>
<tr class="adm-detail-required-field">
<td width="40%"><?echo GetMessage("F_NAME") ?>:</td>
<td width="60%"><input type="text" name="NAME" value="<?echo $str_NAME ?>" size="40"></td>
</tr>
<tr class="adm-detail-required-field">
<td width="40%"><?echo GetMessage("F_LANG") ?>:</td>
<td width="60%"><?echo CLang::SelectBox("LID", $str_LID, "")?></td>
</tr>
<tr>
<td width="40%"><?echo GetMessage("F_PERIOD_FROM") ?>:</td>
<td width="60%">
<?echo GetMessage("SALE_FROM")?>
<input type="text" name="PERIOD_FROM" value="<?echo $str_PERIOD_FROM ?>" size="3">
<?echo GetMessage("SALE_TO")?>
<input type="text" name="PERIOD_TO" value="<?echo $str_PERIOD_TO ?>" size="3">
<?
$arPerType = array(
"D" => GetMessage("PER_DAY"),
"H" => GetMessage("PER_HOUR"),
"M" => GetMessage("PER_MONTH")
);
?>
示例3: bitrix_sessid_post
?>
?lang=<?php
echo LANGUAGE_ID;
?>
" name="ebay_policysettings_form">
<?php
echo bitrix_sessid_post();
?>
<table width="100%">
<tr>
<td align="left">
<?php
echo Loc::getMessage("SALE_EBAY_SITE");
?>
: <?php
echo CLang::SelectBox("SITE_ID", $SITE_ID, "", "this.form.submit();");
?>
</td>
<td align="right">
<img alt="eBay logo" src="/bitrix/images/sale/ebay-logo.png" style="width: 100px; height: 67px;">
</td>
</tr>
</table>
<?php
$tabControl->Begin();
$tabControl->BeginNextTab();
?>
<tr class="heading"><td colspan="2"><?php
echo Loc::getMessage("SALE_EBAY_DEFAULT");
?>
</td></tr>
示例4: GetMessage
<td><?php
echo GetMessage("SEC_IP_LIST_ADMIN_SECTION");
?>
</td>
<td><?php
echo SelectBoxFromArray("find_admin_section", $arYesNo, htmlspecialcharsbx($find_admin_section), GetMessage("MAIN_ALL"));
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SEC_IP_LIST_SITE_ID");
?>
</td>
<td><?php
echo CLang::SelectBox("find_site_id", $find_admin_section, GetMessage("MAIN_ALL"));
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SEC_IP_LIST_NAME");
?>
</td>
<td><input type="text" name="find_name" size="47" value="<?php
echo htmlspecialcharsbx($find_name);
?>
"></td>
</tr>
<tr>
<td><?php
示例5: GetMessage
?>
</td>
<td><input type="checkbox" name="VISIBLE" value="Y"<?php
if ($str_VISIBLE == "Y") {
echo " checked";
}
?>
></td>
</tr>
<tr>
<td><?php
echo GetMessage("rub_site");
?>
</td>
<td><?php
echo CLang::SelectBox("LID", $str_LID);
?>
</td>
</tr>
<tr class="adm-detail-required-field">
<td><?php
echo GetMessage("rub_name");
?>
</td>
<td><input type="text" name="NAME" value="<?php
echo $str_NAME;
?>
" size="45" maxlength="100"></td>
</tr>
<tr>
<td><?php
示例6: GetMessage
</td>
<td><input type="text" name="max_execution_time" id="max_execution_time" size="3" value="<?php
echo $max_execution_time;
?>
"> <?php
echo GetMessage("SEARCH_REINDEX_STEP_sec");
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SEARCH_REINDEX_SITE");
?>
</td>
<td><?php
echo CLang::SelectBox("LID", $str_LID, GetMessage("SEARCH_REINDEX_ALL"), "", "id=\"LID\"");
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SEARCH_REINDEX_MODULE");
?>
</td>
<td>
<select name="MODULE_ID" id="MODULE_ID">
<option value="NOT_REF"><?php
echo GetMessage("SEARCH_REINDEX_ALL");
?>
</option>
<option value="main"><?php
示例7: GetMessage
<div class="adm-detail-content-item-block">
<p class="adm-detail-content-item-block-title"><?php
echo GetMessage("sender_wizard_step_mailing_title_sub");
?>
</p>
<table class="adm-detail-content-table edit-table">
<tr>
<td width="40%" class="adm-detail-valign-top"><?echo GetMessage("sender_mailing_edit_field_active")?></td>
<td width="60%" style="padding-top: 11px;">
<input class="adm-designed-checkbox" type="checkbox" id="ACTIVE" name="ACTIVE" value="Y"<?if($str_ACTIVE == "Y") echo " checked"?>>
<label for="ACTIVE" class="adm-designed-checkbox-label"></label>
</td>
</tr>
<tr>
<td><?echo GetMessage("sender_mailing_edit_field_site")?></td>
<td><?echo CLang::SelectBox("SITE_ID", $str_SITE_ID);?></td>
</tr>
<tr class="adm-detail-required-field">
<td><?echo GetMessage("sender_mailing_edit_field_name")?>
<br/>
<span class="adm-fn"><?php
echo GetMessage('sender_mailing_edit_field_name_desc');
?>
</span>
</td>
<td><input type="text" name="NAME" value="<?echo $str_NAME;?>" size="45" maxlength="100"></td>
</tr>
<tr>
<td class="adm-detail-valign-top">
<?echo GetMessage("sender_mailing_edit_field_desc")?>
<br/>
示例8: intval
$sm_max_execution_time = 30;
}
$sm_record_limit = intval(COption::GetOptionInt("search", "sm_record_limit"));
if ($sm_record_limit < 1) {
$sm_record_limit = 5000;
}
$tabControl->Begin();
$tabControl->BeginNextTab();
?>
<tr>
<td width="40%"><?php
echo GetMessage("SEARCH_SITEMAP_SITE");
?>
</td>
<td width="60%"><?php
echo CLang::SelectBox("SM_SITE_ID", SITE_ID);
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SEARCH_SITEMAP_STEP");
?>
</td>
<td><input type="text" name="sm_max_execution_time" id="sm_max_execution_time" size="5" value="<?php
echo $sm_max_execution_time;
?>
"> <?php
echo GetMessage("SEARCH_SITEMAP_STEP_sec");
?>
</td>
示例9: intval
<?
$sm_max_execution_time = intval(COption::GetOptionInt("search", "sm_max_execution_time"));
if($sm_max_execution_time < 1)
$sm_max_execution_time = 30;
$sm_record_limit = intval(COption::GetOptionInt("search", "sm_record_limit"));
if($sm_record_limit < 1)
$sm_record_limit = 5000;
$tabControl->Begin();
$tabControl->BeginNextTab();
?>
<tr>
<td width="40%"><?echo GetMessage("SEARCH_SITEMAP_SITE")?></td>
<td width="60%"><?echo CLang::SelectBox("SM_SITE_ID", SITE_ID);?></td>
</tr>
<tr>
<td><?echo GetMessage("SEARCH_SITEMAP_STEP")?></td>
<td><input type="text" name="sm_max_execution_time" id="sm_max_execution_time" size="5" value="<?echo $sm_max_execution_time?>"> <?echo GetMessage("SEARCH_SITEMAP_STEP_sec")?></td>
</tr>
<tr>
<td><?echo GetMessage("SEARCH_SITEMAP_RECORD_LIMIT")?></td>
<td><input type="text" name="sm_record_limit" id="sm_record_limit" size="5" value="<?echo $sm_record_limit?>"></td>
</tr>
<?if(IsModuleInstalled("forum")):?>
<tr>
<td><label for="sm_forum_topics_only"><?echo GetMessage("SEARCH_SITEMAP_FORUM_TOPICS_ONLY")?>:</label></td>
<td><input type="checkbox" id="sm_forum_topics_only" name="sm_forum_topics_only" value="Y"<?
if(COption::GetOptionString("search", "sm_forum_topics_only")=="Y") echo ' checked="checked"'?>></td>
</tr>
示例10: GetMessage
{
filter_order_price_from.disabled = false;
filter_order_price_to.disabled = false;
for (i = 0; i < arLang.length; i++)
{
if (filter_lang.options[filter_lang.selectedIndex].value == arLang[i])
{
f_currency.value = arCurr[i];
break;
}
}
}
}
</script>
<?php
echo CLang::SelectBox("filter_lang", $filter_lang, GetMessage("SALE_ALL"), "LangChange()");
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SALE_F_WEIGHT");
?>
:</td>
<td>
<?php
echo GetMessage("SALE_F_FROM");
?>
<input type="text" name="filter_weight_from" value="<?php
echo htmlspecialcharsbx($filter_weight_from);
?>
示例11: CAdminFilter
?>
<form name="find_form" method="GET" action="<?php
echo $APPLICATION->GetCurPage();
?>
?">
<?php
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("SONET_SUBJECT_NAME")));
$oFilter->Begin();
?>
<tr>
<td><?php
echo GetMessage("SONET_FILTER_SITE_ID");
?>
:</td>
<td><?php
echo CLang::SelectBox("filter_site_id", $filter_site_id, GetMessage("SONET_SPT_ALL"));
?>
</tr>
<tr>
<td><?php
echo GetMessage("SONET_SUBJECT_NAME");
?>
:</td>
<td><input type="text" name="filter_name" value="<?php
echo htmlspecialcharsbx($filter_name);
?>
" size="40"><?php
echo ShowFilterLogicHelp();
?>
</td>
</tr>
示例12: GetMessage
<form method="POST" Action="<?php
echo $APPLICATION->GetCurPage();
?>
" ENCTYPE="multipart/form-data" name="post_form" id="tbl_search">
<?php
$tabControl->Begin();
$tabControl->BeginNextTab();
?>
<tr>
<td width="40%"><?php
echo GetMessage("customrank_edit_site");
?>
</td>
<td width="60%"><?php
echo CLang::SelectBox("SITE_ID", $str_SITE_ID, "", "BoxUpdateNew('param1')", " id=\"SITE_ID\"");
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("customrank_edit_module");
?>
</td>
<td>
<select name="MODULE_ID" id="MODULE_ID" OnChange="BoxUpdateNew('param1')">
<option value="main"<?php
echo $str_MODULE_ID == "main" ? " selected" : "";
?>
><?php
echo GetMessage("customrank_edit_files");
示例13: htmlspecialcharsbx
?>
?lang=<?php
echo htmlspecialcharsbx(LANG);
?>
" name="fs1">
<?php
$tabControl->Begin();
$tabControl->BeginNextTab();
?>
<tr>
<td width="40%"><?php
echo GetMessage("MURL_REINDEX_SITE");
?>
</td>
<td width="60%"><?php
echo CLang::SelectBox("LID", $str_LID, GetMessage("MURL_REINDEX_ALL"), "");
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("MURL_REINDEX_MAX_SIZE");
?>
</td>
<td><input type="text" name="max_file_size" id="max_file_size" size="10" value="<?php
echo COption::GetOptionString("main", "urlrewrite_max_file_size");
?>
"><?php
echo GetMessage("MURL_REINDEX_MAX_SIZE_kb");
?>
</td>
示例14: GetMessage
<td><?php
echo GetMessage("customrank_id");
?>
</td>
<td><input type="text" name="find_id" size="47" value="<?php
echo htmlspecialcharsbx($find_id);
?>
"></td>
</tr>
<tr>
<td><?php
echo GetMessage("customrank_site");
?>
</td>
<td><?php
echo CLang::SelectBox("find_site_id", $find_site_id, GetMessage("customrank_all"));
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("customrank_module");
?>
</td>
<td><?php
echo CSearchCustomRank::ModulesSelectBox("find_module_id", $find_module_id, GetMessage("customrank_all"), "", "");
?>
</td>
</tr>
<tr>
<td><?php
示例15: CRubric
}
break;
}
}
}
$cData = new CRubric();
$rsData = $cData->GetList(array($by => $order), $arFilter);
$rsData = new CAdminResult($rsData, $sTableID);
$rsData->NavStart();
$lAdmin->NavText($rsData->GetNavPrint(GetMessage("rub_nav")));
$lAdmin->AddHeaders(array(array("id" => "ID", "content" => "ID", "sort" => "id", "align" => "right", "default" => true), array("id" => "NAME", "content" => GetMessage("rub_name"), "sort" => "name", "default" => true), array("id" => "LID", "content" => GetMessage("rub_site"), "sort" => "lid", "default" => true), array("id" => "SORT", "content" => GetMessage("rub_sort"), "sort" => "sort", "align" => "right", "default" => true), array("id" => "CODE", "content" => GetMessage("rub_code"), "sort" => "name", "default" => false), array("id" => "ACTIVE", "content" => GetMessage("rub_act"), "sort" => "act", "default" => true), array("id" => "VISIBLE", "content" => GetMessage("rub_visible"), "sort" => "visible", "default" => true), array("id" => "AUTO", "content" => GetMessage("rub_auto"), "sort" => "auto", "default" => true), array("id" => "LAST_EXECUTED", "content" => GetMessage("rub_last_exec"), "sort" => "last_executed", "default" => true)));
while ($arRes = $rsData->NavNext(true, "f_")) {
$row =& $lAdmin->AddRow($f_ID, $arRes);
$row->AddInputField("NAME", array("size" => 20));
$row->AddViewField("NAME", '<a href="rubric_edit.php?ID=' . $f_ID . '&lang=' . LANG . '">' . $f_NAME . '</a>');
$row->AddEditField("LID", CLang::SelectBox("FIELDS[" . $f_ID . "][LID]", $f_LID));
$row->AddInputField("SORT", array("size" => 6));
$row->AddInputField("CODE", array("size" => 20));
$row->AddCheckField("ACTIVE");
$row->AddCheckField("VISIBLE");
$row->AddViewField("AUTO", $f_AUTO == "Y" ? GetMessage("POST_U_YES") : GetMessage("POST_U_NO"));
$arActions = array();
$arActions[] = array("ICON" => "edit", "DEFAULT" => true, "TEXT" => GetMessage("rub_edit"), "ACTION" => $lAdmin->ActionRedirect("rubric_edit.php?ID=" . $f_ID));
if ($POST_RIGHT >= "W") {
$arActions[] = array("ICON" => "delete", "TEXT" => GetMessage("rub_del"), "ACTION" => "if(confirm('" . GetMessage('rub_del_conf') . "')) " . $lAdmin->ActionDoGroup($f_ID, "delete"));
}
$arActions[] = array("SEPARATOR" => true);
if (strlen($f_TEMPLATE) > 0 && $f_AUTO == "Y") {
$arActions[] = array("ICON" => "", "TEXT" => GetMessage("rub_check"), "ACTION" => $lAdmin->ActionRedirect("template_test.php?ID=" . $f_ID));
}
if (is_set($arActions[count($arActions) - 1], "SEPARATOR")) {