本文整理汇总了PHP中CCurrency::SelectBox方法的典型用法代码示例。如果您正苦于以下问题:PHP CCurrency::SelectBox方法的具体用法?PHP CCurrency::SelectBox怎么用?PHP CCurrency::SelectBox使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CCurrency
的用法示例。
在下文中一共展示了CCurrency::SelectBox方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __AddCellCurrency
/**
* @param $intRangeID
* @param $strPrefix
* @return string
*/
function __AddCellCurrency($intRangeID, $strPrefix)
{
$currencySelectbox = CCurrency::SelectBox("{$strPrefix}CURRENCY[{$intRangeID}]", '', "", true, "", "class=\"adm-select\" style=\"width: 169px;\"");
return <<<CURRENCYCELL
\t<td width="30%">
\t\t<span class="adm-select-wrap">
\t\t\t{$currencySelectbox}
\t\t</span>
\t</td>
CURRENCYCELL;
}
示例2: DoubleVal
</td>
<td>
<input type="text" name="SUM_MAX" size="10" maxlength="10" value="<?php
echo DoubleVal($str_SUM_MAX) > 0 ? roundEx($str_SUM_MAX, SALE_VALUE_PRECISION) : "";
?>
">
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SCE_SUM_CURRENCY");
?>
</td>
<td>
<?php
echo CCurrency::SelectBox("SUM_CURRENCY", $str_SUM_CURRENCY, "", false, "", "class='typeselect'");
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SCE_DESCRIPTION");
?>
</td>
<td>
<input type="text" name="DESCRIPTION" size="40" maxlength="250" value="<?php
echo $str_DESCRIPTION;
?>
">
</td>
</tr>
示例3: GetMessage
</td>
</tr>
<tr>
<td width="40%" align="right">
<?php
echo GetMessage("SOE_DELIVERY_PRICE");
?>
:
</td>
<td width="60%">
<input type="text" name="PRICE_DELIVERY" size="10" maxlength="20" value="<?php
echo roundEx($str_PRICE_DELIVERY, SALE_VALUE_PRECISION);
?>
">
<?php
echo CCurrency::SelectBox("PRICE_DELIVERY_CURRENCY", $str_CURRENCY, "", false, "", "");
?>
<script language="JavaScript">
<!--
OnCurrencyChange();
//-->
</script>
</td>
</tr>
<?php
$obDelivery = ob_get_contents();
ob_end_clean();
ob_start();
?>
<td width="40%" align="right">
<?php
示例4: GetMessage
?>
" title="<?php
echo GetMessage("SALE_SITE_ALT");
?>
"><?php
echo $val["ID"];
?>
</a>] <?php
echo $val["NAME"];
?>
</td>
<td valign="top">
<?php
$arCurr = CSaleLang::GetByID($val["ID"]);
echo CCurrency::SelectBox("CURRENCY_" . $val["ID"], $arCurr["CURRENCY"], GetMessage("SALE_NOT_SET"), True, "");
?>
</td>
<td valign="top">
<?php
$arCurrentGroups = array();
$dbSiteGroupsList = CSaleGroupAccessToSite::GetList(array(), array("SITE_ID" => $val["ID"]));
while ($arSiteGroup = $dbSiteGroupsList->Fetch()) {
$arCurrentGroups[] = IntVal($arSiteGroup["GROUP_ID"]);
}
$b = "c_sort";
$o = "asc";
$userGroupList = array();
$dbGroups = CGroup::GetList($b, $o, array("ANONYMOUS" => "N"));
示例5: GetMessage
<td width="40%"><?php
echo GetMessage("curr_rates_date1");
?>
:</td>
<td width="60%"><?php
echo CalendarDate("DATE_RATE", $str_DATE_RATE, "form1", "10", "class=\"typeinput\"");
?>
</td>
</tr>
<tr class="adm-detail-required-field">
<td><?php
echo GetMessage("curr_rates_curr1");
?>
:</td>
<td><?php
echo CCurrency::SelectBox("CURRENCY", $str_CURRENCY, "", True, "ChangeCurr()", "");
?>
</td>
</tr>
<tr class="adm-detail-required-field">
<td><?php
echo GetMessage("curr_rates_rate_cnt");
?>
:</td>
<td><input type="text" name="RATE_CNT" value="<?php
echo $str_RATE_CNT;
?>
" size="5"></td>
</tr>
<tr class="adm-detail-required-field">
<td><?php
示例6: elseif
if (${$key} == "Y") {
echo "checked";
}
?>
></td>
</tr>
<?php
} elseif ($key == "BASE_CURRENCY" && CModule::IncludeModule("currency")) {
?>
<tr>
<td class="adm-detail-valign-top"><?php
echo GetMessage("STAT_OPT_BASE_CURRENCY");
?>
</td>
<td><?php
echo CCurrency::SelectBox("BASE_CURRENCY", $BASE_CURRENCY, " ", True, "");
?>
<br>
<input type="checkbox" name="recount_base_currency" id="recount_base_currency" value="Y"><label for="recount_base_currency"><?php
echo GetMessage("STAT_OPT_DO_RECOUNT");
?>
</label></td>
</tr>
<?php
}
} else {
$val = COption::GetOptionString($module_id, $Option[0]);
$type = $Option[2];
?>
<tr>
<td <?php
示例7: htmlspecialcharsbx
//-->
</script>
<input name="filter_product_id" id="filter_product_id" value="<?php
echo htmlspecialcharsbx($filter_product_id);
?>
" size="5" type="text"> <input type="button" value="..." id="cat_prod_button" onClick="showProductSearchDialog()"><span id="product_name_alt" class="adm-filter-text-search"></span>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SB_CURRENCY");
?>
:</td>
<td align="left">
<?php
echo CCurrency::SelectBox("filter_currency", $filter_currency, GetMessage("SB_ALL"), True, "", "");
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("SB_USER_GROUP_ID");
?>
:</td>
<td>
<?php
$z = CGroup::GetDropDownList("AND ID!=2");
echo SelectBoxM("filter_group_id[]", $z, $filter_group_id, "", false, 5);
?>
</td>
</tr>
示例8: GetMessage
<td width="40%"><?php
echo GetMessage("curr_rates_date1");
?>
:</td>
<td width="60%"><?php
echo CalendarDate("DATE_RATE", $currencyRate['DATE_RATE'], "rate_edit", "10", 'class="typeinput"');
?>
</td>
</tr>
<tr class="adm-detail-required-field">
<td><?php
echo GetMessage("curr_rates_curr1");
?>
:</td>
<td><?php
echo CCurrency::SelectBox("CURRENCY", $currencyRate['CURRENCY'], '', true);
?>
</td>
</tr>
<tr class="adm-detail-required-field">
<td><?php
echo GetMessage("curr_rates_rate_cnt");
?>
:</td>
<td><input type="text" id="RATE_CNT" name="RATE_CNT" value="<?php
echo $currencyRate['RATE_CNT'];
?>
" size="5"></td>
</tr>
<tr class="adm-detail-required-field">
<td><?php
示例9: GetMessage
echo GetMessage("PAYMENT_PRICE_TO");
?>
<input type="text" name="filter_sum_to" value="<?php
echo $filter_sum_to != 0 ? htmlspecialcharsbx($filter_sum_to) : '';
?>
" size="3">
</td>
</tr>
<tr>
<td><?php
echo GetMessage("PAYMENT_CURRENCY");
?>
:</td>
<td>
<?php
echo CCurrency::SelectBox("filter_currency", htmlspecialcharsbx($filter_currency), GetMessage("PAYMENT_CURRENCY_ALL"), false, "", "");
?>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("PAYMENT_VOUCHER_NUM");
?>
:</td>
<td>
<input type="text" name="filter_pay_voucher_num" value="<?php
echo htmlspecialcharsbx($filter_pay_voucher_num);
?>
">
</td>
</tr>
示例10: GetMessage
<td class="field-name"><?php
echo GetMessage('SALE_DH_HANDLER_NAME');
?>
</td>
<td><input type="text" name="HANDLER[NAME]" value="<?php
echo htmlspecialcharsbx($arDeliveryInfo[$SITE_ID]["NAME"]);
?>
" /></td>
</tr>
<tr>
<td class="field-name"><?php
echo GetMessage('SALE_DH_HANDLER_CURRENCY');
?>
</td>
<td><?php
echo CCurrency::SelectBox('HANDLER[BASE_CURRENCY]', htmlspecialcharsbx($arDeliveryInfo[$SITE_ID]["BASE_CURRENCY"]));
?>
</td>
</tr>
<tr>
<td valign="top" class="field-name"><?php
echo GetMessage('SALE_DH_HANDLER_DESCRIPTION');
?>
</td>
<td valign="top">
<?php
echo wrapDescrLHE('HANDLER[DESCRIPTION]', isset($arDeliveryInfo[$SITE_ID]["DESCRIPTION"]) ? $arDeliveryInfo[$SITE_ID]["DESCRIPTION"] : '', 'hndl_dscr');
?>
<script language="JavaScript">setLHEClass('bxlhe_frame_hndl_dscr'); </script>
</td>
</tr>
示例11: GetMessage
" size="8" />
<?php
echo GetMessage('SALE_DH_PROFILE_SUM_RESTRICTIONS_TO');
?>
<input type="text" name="HANDLER[PROFILES][<?php
echo htmlspecialcharsbx($profile_id);
?>
][RESTRICTIONS_SUM][2]" value="<?php
echo number_format(floatval($arProfile['RESTRICTIONS_SUM'][2]), 2, '.', '');
?>
" size="8" />
<?php
echo GetMessage('SALE_DH_PROFILE_SUM_RESTRICTIONS_CURRENCY');
?>
<?php
echo CCurrency::SelectBox('HANDLER[PROFILES][' . htmlspecialcharsbx($profile_id) . '][RESTRICTIONS_SUM][0]', $arDeliveryInfo[$SITE_ID]["BASE_CURRENCY"]);
?>
</td>
</tr>
</table><br />
<?php
}
}
?>
</td>
</tr>
</table>
<?php
$tabControl->BeginNextTab();
?>
示例12: GetMessage
?>
</td>
</tr>
<?php
}
?>
<?php
if (isset($requiredFields["CURRENCY"])) {
?>
<tr class="adm-detail-required-field">
<td width="40%" class="adm-detail-content-cell-l"><?php
echo GetMessage("CAT_DOC_CURRENCY");
?>
:</td>
<td width="60%" class="adm-detail-content-cell-r"><?php
echo CCurrency::SelectBox("CAT_CURRENCY_STORE", $str_CURRENCY, "", true, "", "onChange=\"recalculateSum(0);\" id='CAT_CURRENCY_STORE'" . $isDisable);
?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
<?php
$aTabs = array();
$tabControl = new CAdminTabControl("storeDocument_" . $docType, $aTabs);
$tabControl->Begin();
示例13: GetMessage
?>
</a>
<?php
}
?>
</td>
</tr>
<tr class="adm-detail-required-field">
<td width="40%" class="adm-detail-content-cell-l"><?php
echo GetMessage("CAT_DOC_CURRENCY");
?>
:</td>
<td width="60%" class="adm-detail-content-cell-r"><?php
echo CCurrency::SelectBox("CAT_CURRENCY_STORE", $str_CURRENCY, "", true, "", " id='CAT_CURRENCY_STORE'" . $isDisable);
?>
</td>
</tr>
<tr class="adm-detail-required-field">
<td width="40%" class="adm-detail-content-cell-l"><?php
echo GetMessage("CAT_DOC_STORE_TO");
?>
:</td>
<td width="60%" class="adm-detail-content-cell-r"><?php
echo $store_to_select;
?>
</td>
</tr>
<!-- HTML-код строк таблицы -->
示例14: GetMessage
echo "<option " . $selected . " value=" . $val['ID'] . ">" . $val["NAME"] . " (" . $val["ID"] . ")" . "</option>";
}
?>
</select>
</td>
</tr>
<?php
if (is_set($requiredFields, "CURRENCY")) {
?>
<tr class="adm-detail-required-field">
<td><?php
echo GetMessage("CAT_DOC_CURRENCY");
?>
:</td>
<td><?php
echo CCurrency::SelectBox("CAT_CURRENCY_STORE", $str_CURRENCY, "", true, "", "onChange=\"fRecalProduct(1, '', 'N', 'N');\" id='CAT_CURRENCY_STORE'" . $isDisabled);
?>
</td>
</tr>
<?php
}
?>
<?php
if (is_set($requiredFields, "CONTRACTOR")) {
?>
<tr class="adm-detail-required-field">
<td><?php
echo GetMessage("CAT_DOC_CONTRACTOR");
?>
:</td>
<td>
示例15: urlencode
}
?>
</select>
<?else:?>
<a href="/bitrix/admin/cat_contractor_edit.php?lang=<? echo urlencode(LANGUAGE_ID); ?>"><?echo GetMessage("CAT_DOC_CONTRACTOR_ADD")?></a>
<?endif;?>
</td>
</tr>
<?endif;?>
<?if(isset($requiredFields["CURRENCY"])):?>
<tr class="adm-detail-required-field">
<td width="40%" class="adm-detail-content-cell-l"><?php
echo GetMessage("CAT_DOC_CURRENCY");
?>
:</td>
<td width="60%" class="adm-detail-content-cell-r"><? echo CCurrency::SelectBox("CAT_CURRENCY_STORE", $str_CURRENCY, "", true, "", "onChange=\"recalculateSum(0);\" id='CAT_CURRENCY_STORE'".$isDisable);?></td>
</tr>
<?endif;?>
</tbody>
</table>
</div>
</div>
</div>
<?
$aTabs = array();
$tabControl = new CAdminTabControl("storeDocument_".$docType, $aTabs);
$tabControl->Begin();
$lAdmin->DisplayList();