本文整理汇总了PHP中zen_draw_checkbox_field函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_draw_checkbox_field函数的具体用法?PHP zen_draw_checkbox_field怎么用?PHP zen_draw_checkbox_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了zen_draw_checkbox_field函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: zen_draw_checkbox_field
$outputCapt .= MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_CAPTURE_CONFIRM_CHECK . zen_draw_checkbox_field('captconfirm', '', false) . '<br />';
//comment field
$outputCapt .= '<br />' . MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_CAPTURE_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('captnote', 'soft', '50', '2', MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_CAPTURE_DEFAULT_MESSAGE);
//message text
$outputCapt .= '<br />' . MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_CAPTURE_SUFFIX;
$outputCapt .= '<br /><input type="submit" name="btndocapture" value="' . MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_CAPTURE_BUTTON_TEXT . '" title="' . MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_CAPTURE_BUTTON_TEXT . '" />';
$outputCapt .= '</form>';
$outputCapt .= '</td></tr></table></td>' . "\n";
}
if (method_exists($this, '_doVoid')) {
$outputVoid .= '<td valign="top"><table class="noprint">' . "\n";
$outputVoid .= '<tr style="background-color : #dddddd; border-style : dotted;">' . "\n";
$outputVoid .= '<td class="main">' . MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_VOID_TITLE . '<br />' . "\n";
$outputVoid .= zen_draw_form('aimvoid', FILENAME_ORDERS, zen_get_all_get_params(array('action')) . 'action=doVoid', 'post', '', true) . zen_hide_session_id();
$outputVoid .= MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_VOID . '<br />' . zen_draw_input_field('voidauthid', 'enter auth ID', 'length="32"');
$outputVoid .= '<br />' . MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_VOID_CONFIRM_CHECK . zen_draw_checkbox_field('voidconfirm', '', false);
//comment field
$outputVoid .= '<br /><br />' . MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_VOID_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('voidnote', 'soft', '50', '3', MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_VOID_DEFAULT_MESSAGE);
//message text
$outputVoid .= '<br />' . MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_VOID_SUFFIX;
// confirm checkbox
$outputVoid .= '<br /><input type="submit" name="ordervoid" value="' . MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_VOID_BUTTON_TEXT . '" title="' . MODULE_PAYMENT_AUTHORIZENET_AIM_ENTRY_VOID_BUTTON_TEXT . '" />';
$outputVoid .= '</form>';
$outputVoid .= '</td></tr></table></td>' . "\n";
}
// prepare output based on suitable content components
$output = '<!-- BOF: aim admin transaction processing tools -->';
$output .= $outputStartBlock;
if (MODULE_PAYMENT_AUTHORIZENET_AIM_AUTHORIZATION_TYPE == 'Authorize' || isset($_GET['authcapt']) && $_GET['authcapt'] == 'on') {
if (method_exists($this, '_doRefund')) {
$output .= $outputRefund;
示例2: updateMargin
$parameters = 'size="6"';
if (QUICKUPDATES_DISPLAY_TVA_PRICES == 'true') {
// updateMargin on products_price(was only on products_purchase_price before)
$parameters .= ' onKeyUp="updateGross(' . $products->fields['products_id'] . '); updateMargin(' . $products->fields['products_id'] . ');"';
}
if (in_array($products->fields['products_id'], $specials_array)) {
$spec = $db->Execute("select s.products_id, s.specials_id from " . TABLE_PRODUCTS . " p, " . TABLE_SPECIALS . " s where s.products_id = " . (int) $products->fields['products_id'] . "");
$flag_special = true;
echo '<td class="smallText specialPrice">';
} else {
$flag_special = false;
echo '<td class="smallText productsPrice">';
}
echo zen_draw_input_field('quick_updates_new[products_price][' . $products->fields['products_id'] . ']', $price, $parameters);
if ($flag_markup) {
echo zen_draw_checkbox_field('markup_checked[' . $products->fields['products_id'] . ']', '1', !$flag_special && $_POST['marge']);
//echo zen_draw_hidden_field('markup[' . $products->fields['products_id'] . ']', '1');
} else {
// this has become obsolete since we changed prices to update by default when markup is not set
//echo zen_draw_hidden_field('update_price[' . $products->fields['products_id'] . ']', 'yes');
}
if ($flag_special) {
echo ' <a target=blank href="' . zen_href_link(FILENAME_SPECIALS, 'sID=' . $spec->fields['specials_id'] . '&action=edit') . '" target="_blank">' . zen_image(DIR_WS_IMAGES . 'icon_info.gif', TEXT_SPECIALS_PRODUCTS) . '</a>';
}
if (QUICKUPDATES_DISPLAY_TVA_PRICES == 'true') {
$parameters = 'size="6"';
$parameters .= ' onKeyUp="updateNet(' . $products->fields['products_id'] . '); updateMargin(' . $products->fields['products_id'] . ');"';
// $taxprice needs the $currencies->currencies[DEFAULT_CURRENCY]['decimal_places'] to be set (done at top of file)
// an alternative might be to use $price (i.s.o. $taxprice) and update it with updatGross('$products->fields['products_id']') for each product ?)
$tax_price = zen_add_tax($price, $tax_rate->fields['tax_rate']);
$tax_price = sprintf("%01.2f", round($tax_price, 4));
示例3: zen_draw_checkbox_field
$outputCapt .= MODULE_PAYMENT_LINKPOINT_API_TEXT_CAPTURE_CONFIRM_CHECK . zen_draw_checkbox_field('captconfirm', '', false) . '<br />';
// comment field
$outputCapt .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('captnote', 'soft', '50', '2', MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_DEFAULT_MESSAGE);
// message text
$outputCapt .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_SUFFIX;
$outputCapt .= '<br /><input type="submit" name="btndocapture" value="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_BUTTON_TEXT . '" title="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_BUTTON_TEXT . '" />';
$outputCapt .= '</form>';
$outputCapt .= '</td></tr></table></td>' . "\n";
}
if (method_exists($this, '_doVoid')) {
$outputVoid .= '<td valign="top"><table class="noprint">' . "\n";
$outputVoid .= '<tr style="background-color : #dddddd; border-style : dotted;">' . "\n";
$outputVoid .= '<td class="main">' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_TITLE . '<br />' . "\n";
$outputVoid .= zen_draw_form('lpapivoid', FILENAME_ORDERS, zen_get_all_get_params(array('action')) . 'action=doVoid', 'post', '', true) . zen_hide_session_id();
$outputVoid .= MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID . zen_draw_input_field('voidauthid', MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_DEFAULT_TEXT, 'length="32"');
$outputVoid .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_TEXT_VOID_CONFIRM_CHECK . zen_draw_checkbox_field('voidconfirm', '', false);
// comment field
$outputVoid .= '<br /><br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('voidnote', 'soft', '50', '3', MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_DEFAULT_MESSAGE);
// message text
$outputVoid .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_SUFFIX;
// confirm checkbox
$outputVoid .= '<br /><input type="submit" name="ordervoid" value="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_BUTTON_TEXT . '" title="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_BUTTON_TEXT . '" />';
$outputVoid .= '</form>';
$outputVoid .= '</td></tr></table></td>' . "\n";
}
// prepare output based on suitable content components
if (defined('MODULE_PAYMENT_LINKPOINT_API_STATUS') && MODULE_PAYMENT_LINKPOINT_API_STATUS != '') {
$output = '<!-- BOF: lpapi admin transaction processing tools -->';
$output .= $outputStartBlock;
// debug
// $output .= '<pre>' . print_r($response, true) . '</pre>';
示例4: zen_draw_input_field
echo TEXT_ACTIVITY_EXPORT_FILENAME;
?>
</strong><br /><?php
echo zen_draw_input_field('filename', htmlspecialchars($file, ENT_COMPAT, CHARSET, TRUE), ' size="60"');
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo zen_draw_checkbox_field('savetofile', '1', $save_to_file_checked);
?>
<strong><?php
echo TEXT_ACTIVITY_EXPORT_SAVETOFILE;
?>
</strong><br />
<strong><?php
echo TEXT_ACTIVITY_EXPORT_DEST;
?>
</strong> <em><?php
echo DIR_FS_ADMIN_ACTIVITY_EXPORT;
?>
</em>
</td>
</tr>
<tr>
示例5: zen_draw_form
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_account_newsletters_default.php 2896 2006-01-26 19:10:56Z birdbrain $
*/
echo "<font color=red>" . $mobile->view_securepage_notice() . "</font>";
?>
<div class="centerColumn" id="acctNewslettersDefault">
<?php
echo zen_draw_form('account_newsletter', zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL')) . zen_draw_hidden_field('action', 'process');
echo TEXT_SQUARE . HEADING_TITLE;
echo MY_NEWSLETTERS_GENERAL_NEWSLETTER;
echo "<br>";
echo zen_draw_checkbox_field('newsletter_general', '1', $newsletter->fields['customers_newsletter'] == '1' ? true : false, 'id="newsletter"');
echo MY_NEWSLETTERS_GENERAL_NEWSLETTER_DESCRIPTION;
?>
<div class="buttonRow forward"><?php
echo zen_image_submit(BUTTON_IMAGE_UPDATE, BUTTON_UPDATE_ALT);
?>
</div>
<div class="buttonRow back"><?php
echo '<a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
?>
</div>
</form>
</div>
示例6: array
$copy_attributes_duplicates_skipped = '0';
$copy_attributes_duplicates_overwrite = '0';
$copy_attributes_include_downloads = '1';
$copy_attributes_include_filename = '1';
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_COPY_TO . '</b>');
// WebMakers.com Added: Split Page
if (empty($pInfo->products_id)) {
$pInfo->products_id = $pID;
}
$contents = array('form' => zen_draw_form('copy_to', $type_admin_handler, 'action=copy_to_confirm&product_type=' . $product_type . '&cPath=' . $cPath . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . zen_draw_hidden_field('products_id', $pInfo->products_id));
$contents[] = array('text' => TEXT_INFO_COPY_TO_INTRO);
$contents[] = array('text' => '<br />' . TEXT_INFO_CURRENT_PRODUCT . '<br /><b>' . $pInfo->products_name . ' ID#' . $pInfo->products_id . '</b>');
$contents[] = array('text' => '<br />' . TEXT_INFO_CURRENT_CATEGORIES . '<br /><b>' . zen_output_generated_category_path($pInfo->products_id, 'product') . '</b>');
$contents[] = array('text' => '<br />' . TEXT_CATEGORIES . '<br />' . zen_draw_pull_down_menu('categories_id', zen_get_category_tree(), $current_category_id));
$contents[] = array('text' => '<br />' . TEXT_HOW_TO_COPY . '<br />' . zen_draw_radio_field('copy_as', 'link', true) . ' ' . TEXT_COPY_AS_LINK . '<br />' . zen_draw_radio_field('copy_as', 'duplicate') . ' ' . TEXT_COPY_AS_DUPLICATE);
$contents[] = array('text' => zen_draw_checkbox_field('copy_media', true, true) . TEXT_COPY_MEDIA_MANAGER);
// only ask about attributes if they exist
if (zen_has_product_attributes($pInfo->products_id, 'false')) {
$contents[] = array('text' => '<br />' . zen_image(DIR_WS_IMAGES . 'pixel_black.gif', '', '100%', '3'));
$contents[] = array('text' => '<br />' . TEXT_COPY_ATTRIBUTES_ONLY);
$contents[] = array('text' => '<br />' . TEXT_COPY_ATTRIBUTES . '<br />' . zen_draw_radio_field('copy_attributes', 'copy_attributes_yes', true) . ' ' . TEXT_COPY_ATTRIBUTES_YES . '<br />' . zen_draw_radio_field('copy_attributes', 'copy_attributes_no') . ' ' . TEXT_COPY_ATTRIBUTES_NO);
// future $contents[] = array('align' => 'center', 'text' => '<br />' . ATTRIBUTES_NAMES_HELPER . '<br />' . zen_draw_separator('pixel_trans.gif', '1', '10'));
$contents[] = array('text' => '<br />' . zen_image(DIR_WS_IMAGES . 'pixel_black.gif', '', '100%', '3'));
}
$contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_copy.gif', IMAGE_COPY) . ' <a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
$contents[] = array('text' => '</form>');
$contents[] = array('text' => '<br />' . zen_image(DIR_WS_IMAGES . 'pixel_black.gif', '', '100%', '3'));
$contents[] = array('text' => '<form action="' . FILENAME_PRODUCTS_TO_CATEGORIES . '.php' . '?products_filter=' . $pInfo->products_id . '" method="post">');
$contents[] = array('align' => 'center', 'text' => '<input type="submit" value="' . BUTTON_PRODUCTS_TO_CATEGORIES . '"></form>');
break;
// attribute features
示例7: array
</td>
</tr>
</table></td>
</tr>
</table></td>
<?php
$heading = array();
$contents = array();
switch ($action) {
case 'delete':
$heading[] = array('text' => '<b>' . $bInfo->banners_title . '</b>');
$contents = array('form' => zen_draw_form('banners', FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&action=deleteconfirm') . zen_draw_hidden_field('bID', $bInfo->banners_id));
$contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
$contents[] = array('text' => '<br><b>' . $bInfo->banners_title . '</b>');
if ($bInfo->banners_image) {
$contents[] = array('text' => '<br>' . zen_draw_checkbox_field('delete_image', 'on', true) . ' ' . TEXT_INFO_DELETE_IMAGE);
}
$contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . zen_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $_GET['bID']) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
default:
if (is_object($bInfo)) {
$heading[] = array('text' => '<b>' . $bInfo->banners_title . '</b>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id . '&action=new') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id . '&action=delete') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
$contents[] = array('text' => '<br>' . TEXT_BANNERS_DATE_ADDED . ' ' . zen_date_short($bInfo->date_added));
$contents[] = array('center', 'text' => '<br />' . '<a href="' . zen_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id) . '">' . zen_image_button('button_update.gif', IMAGE_UPDATE) . '</a>');
if (function_exists('imagecreate') && $dir_ok && $banner_extension) {
$banner_id = $bInfo->banners_id;
$days = '3';
include DIR_WS_INCLUDES . 'graphs/banner_infobox.php';
$contents[] = array('align' => 'center', 'text' => '<br>' . zen_image(DIR_WS_IMAGES . 'graphs/banner_infobox-' . $banner_id . '.' . $banner_extension));
} else {
示例8: zen_draw_checkbox_field
</div>
</div>
<!-- eo Google reCAPTCHA -->
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 newsletter-details-signup">
<div>
<!--<h4><?php
//echo ENTRY_EMAIL_PREFERENCE;
?>
</h4>-->
<div class="newsletter row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 newsletter">
<?php
if (ACCOUNT_NEWSLETTER_STATUS != 0) {
?>
<?php
echo zen_draw_checkbox_field('newsletter', '1', $newsletter, 'id="newsletter-checkbox"') . '<label class="checkboxLabel" for="newsletter-checkbox">' . ENTRY_NEWSLETTER . '</label>' . (zen_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="alert-text">' . ENTRY_NEWSLETTER_TEXT . '</span>' : '');
?>
<br class="clearBoth" />
<?php
}
?>
<?php
echo zen_draw_radio_field('email_format', 'HTML', $email_format == 'HTML' ? true : false, 'id="email-format-html"') . '<label class="radioButtonLabel" for="email-format-html">' . ENTRY_EMAIL_HTML_DISPLAY . '</label>' . zen_draw_radio_field('email_format', 'TEXT', $email_format == 'TEXT' ? true : false, 'id="email-format-text"') . '<label class="radioButtonLabel" for="email-format-text">' . ENTRY_EMAIL_TEXT_DISPLAY . '</label>';
?>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 submit-info">
<div class="buttonRow forward"><?php
echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT);
?>
</div>
</div>
示例9: foreach
}
}
}
// end of for
// 多言語化すべき追加モジュールのconfiguration_keyが存在する場合に表示
if ($exists && sizeof($cfgs) > 0) {
echo '<li><div class="group_title depth1">' . HEADING_TITLE_ADDON_MODULES . '</div><div class="group_separator depth1">|</div><div class="group_btn depth1">' . MODULE_M17N_CONFIGURATION_CHECK_OPEN . '</div>' . "\n";
echo '<ul class="configuration">' . "\n";
foreach ($cfgs as $value) {
$title = $value['title'];
$cfg = $value['cfg'];
echo '<li><div class="group_title depth2">' . $title . '</div><div class="group_separator depth2">|</div><div class="group_btn depth2">' . MODULE_M17N_CONFIGURATION_CHECK_OPEN . '</div>' . "\n";
echo '<ul class="configuration">' . "\n";
while (!$cfg->EOF) {
$checked = empty($cfg->fields['m17n_cfg_key']) ? false : true;
echo '<li><dl><dt>' . zen_draw_checkbox_field('m17n_configuration[' . MODULE_M17N_CONFIGURATION_ADDON_MODULE_PREFIX . $cfg->fields['cfg_key'] . ']', 'on', $checked, '', 'id="' . $cfg->fields['cfg_key'] . '"') . '<label for="' . $cfg->fields['cfg_key'] . '">' . $cfg->fields['cfg_title'] . '</label></dt><dd>' . strip_tags($cfg->fields['cfg_desc']) . '</dd></dl></li>' . "\n";
$cfg->MoveNext();
}
echo '</ul></li>' . "\n";
}
echo '</li></ul>' . "\n";
}
echo '</ul>' . "\n";
echo zen_draw_hidden_field('action', 'update');
echo zen_image_submit('button_update.gif', IMAGE_UPDATE) . "\n";
echo '<a href="' . zen_href_link(FILENAME_ADDON_MODULES_ADMIN, 'module=m17n_configuration') . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>' . "\n";
echo '</form>' . "\n";
?>
</td>
</tr>
</table></td>
示例10: zen_draw_radio_field
</tr>
<tr>
<td><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><strong><?php
echo ENTRY_NOTIFY_CUSTOMER;
?>
</strong> [<?php
echo zen_draw_radio_field('notify', '1', true) . '-' . TEXT_EMAIL . ' ' . zen_draw_radio_field('notify', '0', FALSE) . '-' . TEXT_NOEMAIL . ' ' . zen_draw_radio_field('notify', '-1', FALSE) . '-' . TEXT_HIDE;
?>
] </td>
<td class="main"><strong><?php
echo ENTRY_NOTIFY_COMMENTS;
?>
</strong> <?php
echo zen_draw_checkbox_field('notify_comments', '', true);
?>
</td>
</tr>
<?php
/* } */
?>
</table></td>
</tr>
<tr>
<td valign="top"><?php
echo zen_image_submit('button_update.gif', IMAGE_UPDATE);
?>
</td>
</tr>
示例11: zen_draw_form
if ($flag_show_products_notification == true) {
?>
<div class="content">
<div id="csNotifications">
<h4><?php
echo TEXT_NOTIFY_PRODUCTS;
?>
</h4>
<?php
echo zen_draw_form('order', zen_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL'));
?>
<?php
foreach ($notificationsArray as $notifications) {
?>
<?php
echo zen_draw_checkbox_field('notify[]', $notifications['products_id'], true, 'id="notify-' . $notifications['counter'] . '"');
?>
<label class="checkboxLabel" for="<?php
echo 'notify-' . $notifications['counter'];
?>
">
<?php
echo $notifications['products_name'];
?>
</label>
<br />
<?php
}
?>
<div class="buttonRow forward"><?php
echo zen_image_submit(BUTTON_IMAGE_UPDATE, BUTTON_UPDATE_ALT);
示例12: zen_not_null
<?php
echo zen_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="alert-text">' . ENTRY_POST_CODE_TEXT . '</span>' : '';
?>
</label>
<?php
echo zen_draw_input_field('postcode', $entry->fields['entry_postcode'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_postcode', '40') . ' id="postcode"');
?>
<br class="clearBoth" />
<label class="inputLabel" for="country">
<?php
echo ENTRY_COUNTRY;
?>
<?php
echo zen_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="alert-text">' . ENTRY_COUNTRY_TEXT . '</span>' : '';
?>
</label>
<?php
echo zen_get_country_list('zone_country_id', $entry->fields['entry_country_id'], 'id="country" ' . ($flag_show_pulldown_states == true ? 'onchange="update_zone(this.form);"' : ''));
?>
<br class="clearBoth" />
<br class="clearBoth" />
<?php
if (isset($_GET['edit']) && $_SESSION['customer_default_address_id'] != $_GET['edit'] || isset($_GET['edit']) == false) {
?>
<?php
echo zen_draw_checkbox_field('primary', 'on', false, 'id="primary"') . ' <label class="checkboxLabel" for="primary">' . SET_AS_PRIMARY . '</label>';
?>
<?php
}
?>
</div>
示例13: zen_draw_checkbox_field
$outputCapt .= '<br />' . MODULE_PAYMENT_PAYPAL_ENTRY_CAPTURE_FINAL_TEXT . ' ' . zen_draw_checkbox_field('captfinal', '', true) . '<br />';
$outputCapt .= '<input type="submit" name="btndocapture" value="' . MODULE_PAYMENT_PAYPAL_ENTRY_CAPTURE_BUTTON_TEXT_FULL . '" title="' . MODULE_PAYMENT_PAYPAL_ENTRY_CAPTURE_BUTTON_TEXT_FULL . '" />' . ' ' . MODULE_PAYMENT_PAYPALWPP_TEXT_REFUND_FULL_CONFIRM_CHECK . zen_draw_checkbox_field('captfullconfirm', '', false);
//comment field
$outputCapt .= '<br />' . MODULE_PAYMENT_PAYPAL_ENTRY_CAPTURE_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('captnote', 'soft', '50', '2', MODULE_PAYMENT_PAYPAL_ENTRY_CAPTURE_DEFAULT_MESSAGE);
//message text
$outputCapt .= '<br />' . MODULE_PAYMENT_PAYPAL_ENTRY_CAPTURE_SUFFIX;
$outputCapt .= '</form>';
$outputCapt .= '</td></tr></table></td>' . "\n";
}
if (method_exists($this, '_doVoid')) {
$outputVoid .= '<td valign="top"><table class="noprint">' . "\n";
$outputVoid .= '<tr style="background-color : #eeeeee; border-style : dotted;">' . "\n";
$outputVoid .= '<td class="main">' . MODULE_PAYMENT_PAYPAL_ENTRY_VOID_TITLE . '<br />' . "\n";
$outputVoid .= zen_draw_form('ppvoid', FILENAME_ORDERS, zen_get_all_get_params(array('action')) . 'action=doVoid', 'post', '', true) . zen_hide_session_id();
$outputVoid .= MODULE_PAYMENT_PAYPAL_ENTRY_VOID . '<br />' . zen_draw_input_field('voidauthid', 'enter auth ID', 'length="8"');
$outputVoid .= '<input type="submit" name="ordervoid" value="' . MODULE_PAYMENT_PAYPAL_ENTRY_VOID_BUTTON_TEXT_FULL . '" title="' . MODULE_PAYMENT_PAYPAL_ENTRY_VOID_BUTTON_TEXT_FULL . '" />' . ' ' . MODULE_PAYMENT_PAYPALWPP_TEXT_VOID_CONFIRM_CHECK . zen_draw_checkbox_field('voidconfirm', '', false);
//comment field
$outputVoid .= '<br />' . MODULE_PAYMENT_PAYPAL_ENTRY_VOID_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('voidnote', 'soft', '50', '3', MODULE_PAYMENT_PAYPAL_ENTRY_VOID_DEFAULT_MESSAGE);
//message text
$outputVoid .= '<br />' . MODULE_PAYMENT_PAYPAL_ENTRY_VOID_SUFFIX;
$outputVoid .= '</form>';
$outputVoid .= '</td></tr></table></td>' . "\n";
}
// prepare output based on suitable content components
$output = '<!-- BOF: pp admin transaction processing tools -->';
$output .= $outputStartBlock;
//debug
//$output .= '<pre>' . print_r($response, true) . '</pre>';
if (isset($response['RESPMSG'])) {
// payflow
$output .= $outputPFmain;
示例14: zen_draw_checkbox_field
<?php
echo zen_draw_checkbox_field('pingyahoo', 'yes', true, '', 'id="pingSE-Yahoo"');
?>
<label for="pingSE-Ask"><?php
echo 'Ask.com';
?>
</label>
<?php
echo zen_draw_checkbox_field('pingask', 'yes', true, '', 'id="pingSE-Ask"');
?>
<label for="pingSE-MS"><?php
echo 'Microsoft';
?>
</label>
<?php
echo zen_draw_checkbox_field('pingms', 'yes', true, '', 'id="pingSE-MS"');
?>
<br class="clearBoth" />
<?php
echo zen_image_submit('button_send.gif', IMAGE_SEND);
?>
</form>
</fieldset>
-->
<div style="margin: 0px; text-align: left;" id="pingSEmessage"> </div>
</td>
<td width="22%" align="right" valign="top">
<table width="98%" border="0" cellpadding="1" cellspacing="0" bgcolor="#E1EEFF">
<tr>
<td align="center" class="smallText"><?php
echo TEXT_SITEMAPXML_LOGIN_HEAD;
示例15: zen_draw_checkbox_field
<?php
if ($messageStack->size('create_visitor') > 0) {
echo $messageStack->output('create_visitor');
}
?>
<?php
if (DISPLAY_PRIVACY_CONDITIONS == 'true' && !$_SESSION['visitors_id']) {
?>
<fieldset id="privacyBox">
<div class="information"><?php
echo TEXT_PRIVACY_CONDITIONS_DESCRIPTION;
?>
</div>
<p class="check"><?php
echo zen_draw_checkbox_field('privacy_conditions', '1', false, 'id="privacy"');
?>
<label class="checkboxLabel" for="privacy"><?php
echo TEXT_PRIVACY_CONDITIONS_CONFIRM;
?>
</label></p>
</fieldset>
<?php
}
?>
<h2 class="headline"><?php
echo MODULE_VISITORS_TABLE_HEADING_NAME;
?>
</h2>
<table class="border fit account" id="name">