本文整理汇总了PHP中html_calendar_field函数的典型用法代码示例。如果您正苦于以下问题:PHP html_calendar_field函数的具体用法?PHP html_calendar_field怎么用?PHP html_calendar_field使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_calendar_field函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: html_calendar_field
<tr><td colspan="2"> </td></tr>
<tr><th colspan="2"><?php
echo ZENCART_SHIP_CONFIRM_TITLE;
?>
</th></tr>
<tr><td colspan="2"><?php
echo ZENCART_SHIP_CONFIRM_INFO;
?>
</td></tr>
<tr>
<td align="right"><?php
echo ZENCART_TEXT_CONFIRM_ON;
?>
</td>
<td><?php
echo html_calendar_field($cal_zc);
?>
</td>
</tr>
<tr>
<td align="right"><?php
echo ZENCART_SHIP_CONFIRM_TEXT;
?>
</td>
<td><?php
echo html_button_field('confirm', ZENCART_SHIP_CONFIRM_BTN, 'onclick="submitToDo(\'confirm\')"');
?>
</td>
</tr>
</table>
</form>
示例2: constant
</tr>
<tr>
<td align="right"><?php
echo constant('ACT_' . strtoupper($type) . '_ID_NUMBER');
?>
</td>
<td><?php
echo html_input_field('gov_id_number', $cInfo->gov_id_number, 'size="17" maxlength="16"');
?>
</td>
<td align="right"><?php
echo TEXT_END_DATE;
?>
</td>
<td><?php
echo html_calendar_field($cal_j_gen2);
?>
</td>
</tr>
</table>
</fieldset>
<?php
// *********************** Mailing/Main Address (only one allowed) ******************************
?>
<fieldset>
<legend><?php
echo ACT_CATEGORY_M_ADDRESS;
?>
</legend>
<table id="<?php
示例3: html_pull_down_menu
echo html_pull_down_menu('store_id', gen_get_store_ids(), $order->store_id ? $order->store_id : $_SESSION['admin_prefs']['def_store_id']);
?>
</td>
<?php
}
?>
<td align="center"><?php
echo html_pull_down_menu('rep_id', gen_get_rep_ids($account_type), $order->rep_id ? $order->rep_id : $default_sales_rep);
?>
</td>
<?php
if ($template_options['terms']) {
echo '<td align="center">' . html_input_field('terms_text', gen_terms_to_language('0', true, 'ap'), 'readonly="readonly" size="25"') . ' ' . html_icon('apps/accessories-text-editor.png', ACT_TERMS_DUE, 'small', 'align="top" style="cursor:pointer" onclick="TermsList()"') . '</td>';
}
if ($template_options['terminal_date']) {
echo '<td align="center">' . html_calendar_field($cal_terminal) . '</td>';
}
?>
<td align="center">
<?php
echo html_pull_down_menu('gl_acct_id', $gl_array_list, $order->gl_acct_id, '');
?>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td id="productList">
<table style="border-collapse:collapse;width:100%;">
示例4: html_calendar_field
$toolbar->add_icon('continue', 'onclick="submitToDo(\'rates\')"', $order = 10);
$toolbar->add_help('09');
echo $toolbar->build_toolbar();
?>
<h1><?php
echo SHIPPING_ESTIMATOR_OPTIONS;
?>
</h1>
<table>
<tr>
<td><?php
echo SHIPPING_TEXT_SHIPPER;
?>
<select name="select"></select></td>
<td><?php
echo SHIPPING_TEXT_SHIPMENT_DATE . ' ' . html_calendar_field($cal_ship);
?>
</td>
</tr>
<tr>
<td><?php
echo SHIPPING_TEXT_SHIP_FROM_CITY;
echo html_input_field('ship_city_town', $pkg->ship_city_town, $parameters = '');
?>
</td>
<td><?php
echo SHIPPING_TEXT_SHIP_TO_CITY;
echo html_input_field('ship_to_city', $pkg->ship_to_city, $parameters = '');
echo html_checkbox_field('residential_address', '1', $pkg->residential_address);
echo SHIPPING_RESIDENTIAL_ADDRESS;
?>
示例5: html_calendar_field
<td><?php
echo SHIPPING_TEXT_SHIPMENT_DATE;
?>
</td>
<td><?php
echo html_calendar_field($cal_ship);
?>
</td>
</tr>
<tr>
<td><?php
echo SHIPPING_TEXT_EXPECTED_DATE;
?>
</td>
<td><?php
echo html_calendar_field($cal_exp);
?>
</td>
</tr>
<tr>
<td><?php
echo SHIPPING_TEXT_TRACKING_NUM;
?>
</td>
<td><?php
echo html_input_field('tracking_id', $sInfo->tracking_id, 'size="25" maxlength="24"');
?>
</td>
</tr>
<tr>
<td><?php
示例6: add_date
function add_date($cal_props)
{
$output = '<div id="tb_date_' . $this->id . '" class="ui-state-hover" style="float:right; border:0px;">' . "\n";
$output .= TEXT_DATE . '<br />' . "\n";
$output .= html_calendar_field($cal_props) . "\n";
$output .= '</div>' . "\n";
return $output;
}
示例7: html_pull_down_menu
?>
</th>
<th><?php
echo TEXT_ACTION;
?>
</th>
</tr>
</thead>
<tbody class="ui-widget-content">
<tr>
<td align="center"><?php
echo html_pull_down_menu('crm_rep_id', $sales_rep_array, $cInfo->crm_rep_id ? $cInfo->crm_rep_id : $_SESSION['account_id']);
?>
</td>
<td align="center"><?php
echo html_calendar_field($cal_c_gen);
?>
</td>
<td align="center"><?php
echo html_pull_down_menu('crm_action', gen_build_pull_down($crm_actions), $cInfo->crm_action);
?>
</td>
</tr>
<tr>
<td colspan="3" align="center"><?php
echo '<br />' . html_textarea_field('crm_note', 60, 1, $cInfo->crm_note, '');
?>
</td>
</tr>
</tbody>
</table>
示例8: html_pull_down_menu
</tr>
<tr>
<td><?php
echo TEXT_TRANSACTION_DATE;
?>
</td>
<td><?php
echo html_pull_down_menu('search_date_id', gen_build_pull_down($DateChoices), $_SESSION['search_date_id'], $params = '');
?>
</td>
<td><?php
echo html_calendar_field($cal_from);
?>
</td>
<td><?php
echo html_calendar_field($cal_to);
?>
</td>
</tr>
<tr>
<td><?php
echo TEXT_REFERENCE_NUMBER;
?>
</td>
<td><?php
echo html_pull_down_menu('search_ref_id', gen_build_pull_down($choices), $_SESSION['search_ref_id'], $params = '');
?>
</td>
<td><?php
echo html_input_field('search_ref_from', $_SESSION['search_ref_from'], $params = '');
?>
示例9: html_input_field
<td align="right"><?php
echo TEXT_ORIG_PO_SO;
?>
</td>
<td><?php
echo html_input_field('purch_order_id', $cInfo->purch_order_id);
?>
</td>
</tr>
<tr>
<td align="right"><?php
echo TEXT_INVOICE_DATE;
?>
</td>
<td><?php
echo html_calendar_field($cal_invoice);
?>
</td>
</tr>
</tbody>
</table>
</div>
<div style="clear:both">
<table class="ui-widget" style="border-style:none;margin-left:auto;margin-right:auto">
<tbody class="ui-widget-content">
<tr>
<td><?php
echo TEXT_REASON_FOR_RETURN;
?>
</td>
<td><?php
示例10: html_checkbox_field
<td align="right"><?php
echo TEXT_INACTIVE . html_checkbox_field('inactive', '1', $inactive ? ' checked' : '');
?>
</td>
<td align="right"><?php
echo TEXT_REVISION . html_input_field('revision', $revision, 'readonly="readonly" size="5"', false);
?>
</td>
</tr>
<tr>
<td><?php
echo TEXT_EFFECTIVE_DATE;
?>
</td>
<td><?php
echo html_calendar_field($cal_ps);
?>
</td>
<td align="right"><?php
echo TEXT_USE_AS_DEFAULT;
?>
</td>
<td><?php
echo html_checkbox_field('default_sheet', '1', $default_sheet ? ' checked' : '');
?>
</td>
</tr>
<?php
if (ENABLE_MULTI_CURRENCY) {
echo '<tr><td colspan="4" class="fieldRequired" align="center"> ' . sprintf(GEN_PRICE_SHEET_CURRENCY_NOTE, $currencies->currencies[DEFAULT_CURRENCY]['title']) . '</td></tr>';
}
示例11: html_pull_down_menu
$toolbar->add_help('07.05.04');
echo $toolbar->build_toolbar($add_search = false, $add_period = false);
// Build the page
?>
<h1><?php
echo POS_HEADING_CLOSING;
?>
</h1>
<?php
if (empty($combined_list)) {
?>
<fieldset id="search_part" align="center">
<ol>
<?php
echo '<li><label>' . TEXT_TILL . ' ' . html_pull_down_menu('till_id', $tills->till_array(true), $tills->till_id) . '</label></li>';
echo '<li><label>' . TEXT_DATE . ' ' . html_calendar_field($cal_gl) . '</label></li>';
?>
</ol>
</fieldset>
<?php
} else {
echo html_hidden_field('till_id', $tills->till_id) . chr(10);
echo html_hidden_field('post_date', gen_locale_date($post_date)) . chr(10);
?>
<table class="ui-widget" style="border-collapse:collapse;width:900px;margin-left:auto;margin-right:auto;">
<thead class="ui-widget-header">
<tr>
<?php
$heading_array = array();
示例12: html_pull_down_menu
?>
</td>
<td>
<?php
echo html_pull_down_menu('source_store_id', gen_get_store_ids(), $cInfo->source_store_id ? $cInfo->source_store_id : $_SESSION['admin_prefs']['def_store_id']);
?>
<?php
echo INV_XFER_TO_STORE . html_pull_down_menu('dest_store_id', gen_get_store_ids(), $cInfo->dest_store_id);
?>
</td>
<td align="right"><?php
echo TEXT_POST_DATE . ' ';
?>
</td>
<td><?php
echo html_calendar_field($cal_xfr);
?>
</td>
</tr>
<tr>
<td align="right"><?php
echo TEXT_TRANSFER_REASON;
?>
</td>
<td><?php
echo html_input_field('adj_reason', $cInfo->adj_reason, 'size="50"');
?>
</td>
<td align="right"><?php
echo TEXT_REFERENCE;
?>
示例13: html_input_field
<td><?php
echo TEXT_REFERENCE;
?>
</td>
<td align="right"><?php
echo html_input_field('purchase_invoice_id', $cInfo->purchase_invoice_id, 'size="21" maxlength="20"');
?>
</td>
</tr>
<tr>
<td><?php
echo TEXT_POST_DATE;
?>
</td>
<td align="right"><?php
echo html_calendar_field($cal_assy);
?>
</td>
</tr>
<tr>
<td><?php
echo INV_QTY_ON_HAND;
?>
</td>
<td align="right"><?php
echo html_input_field('stock_1', $cInfo->stock_1, 'readonly="readonly" style="text-align:right" size="13"');
?>
</td>
</tr>
<tr>
<td><?php
示例14: html_radio_field
echo html_radio_field('special_terms', 3, $terms[0] == '3' ? true : false, '', 'onclick="changeOptions()"') . ACT_SPECIAL_TERMS . '<br />' . chr(10);
echo html_radio_field('special_terms', 4, $terms[0] == '4' ? true : false, '', 'onclick="changeOptions()"') . ACT_DAY_NEXT_MONTH . '<br />' . chr(10);
echo html_radio_field('special_terms', 5, $terms[0] == '5' ? true : false, '', 'onclick="changeOptions()"') . ACT_END_OF_MONTH . chr(10);
?>
</td>
<td valign="top">
<?php
echo ACT_DISCOUNT . html_input_field('early_percent', isset($terms[1]) ? $terms[1] : $discount_percent, 'size="4"') . ACT_EARLY_DISCOUNT . '<br />' . chr(10);
echo ACT_DUE_IN . html_input_field('early_days', isset($terms[2]) ? $terms[2] : $discount_days, 'size="3"') . ACT_TERMS_EARLY_DAYS . '<br />' . chr(10);
if ($terms[0] == '0' || $terms[0] == '1' || $terms[0] == '2' || $terms[0] == '3') {
$field_value = isset($terms[3]) ? $terms[3] : $num_days_due;
} else {
$field_value = '';
}
echo ACT_TERMS_NET . html_input_field('standard_days', $field_value, 'size="3"') . ACT_TERMS_STANDARD_DAYS . '<br />' . chr(10);
echo '<br /><br />' . html_calendar_field($cal_terms);
if ($terms[0] == '4' || $terms[0] == '5') {
echo '<script type="text/javascript">';
echo "document.popup_terms.elements['due_date'].value = '" . $terms[3] . "';";
echo '</script>';
}
?>
</td>
</tr>
<tr><td colspan="2"><?php
echo ACT_TERMS_CREDIT_LIMIT . ' ' . html_input_field('credit_limit', isset($terms[4]) ? $terms[4] : $credit_limit) . chr(10);
?>
</td></tr>
</tbody>
</table>
</form>
示例15: html_input_field
<h1><?php
echo GL_ENTRY_TITLE;
?>
</h1>
<table class="ui-widget" style="border-style:none;margin-left:auto;margin-right:auto">
<tbody class="ui-widget-content">
<tr>
<td><table class="ui-widget" style="border-style:none;margin-left:auto;margin-right:auto">
<tbody class="ui-widget-content">
<tr>
<td><?php
echo TEXT_REFERENCE . ' ' . html_input_field('purchase_invoice_id', $cInfo->purchase_invoice_id, 'size="21" maxlength="20"');
?>
</td>
<td><?php
echo TEXT_POST_DATE . ' ' . html_calendar_field($cal_gl);
?>
</td>
<td><?php
echo TEXT_AUTO_COMPLETE . ' ' . html_checkbox_field('auto_complete', '1', '1');
?>
</td>
<?php
if (ENABLE_MULTI_BRANCH) {
?>
<td><?php
echo GEN_STORE_ID . ' ' . html_pull_down_menu('store_id', gen_get_store_ids(), $cInfo->store_id ? $cInfo->store_id : $_SESSION['admin_prefs']['def_store_id']);
?>
</td>
<?php