• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP zen_draw_checkbox_field函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中zen_draw_checkbox_field函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_draw_checkbox_field函数的具体用法?PHP zen_draw_checkbox_field怎么用?PHP zen_draw_checkbox_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了zen_draw_checkbox_field函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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;
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:authorizenet_admin_notification.php


示例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 '&nbsp;<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));
开发者ID:happyxlq,项目名称:zencart_svn,代码行数:31,代码来源:quick_updates.php


示例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>';
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:31,代码来源:linkpoint_api_admin_notification.php


示例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 />
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong><?php 
    echo TEXT_ACTIVITY_EXPORT_DEST;
    ?>
</strong> <em><?php 
    echo DIR_FS_ADMIN_ACTIVITY_EXPORT;
    ?>
</em>
              </td>
					</tr>
					<tr>
开发者ID:zenmagick,项目名称:zencart,代码行数:31,代码来源:admin_activity.php


示例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>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:30,代码来源:tpl_account_newsletters_default.php


示例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
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:31,代码来源:product_music.php


示例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) . '&nbsp;<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 {
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:31,代码来源:banner_manager.php


示例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>  
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:tpl_modules_create_account.php


示例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>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:admin.php


示例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;
    ?>
]&nbsp;&nbsp;&nbsp;</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>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:edit_orders.php


示例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);
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:tpl_checkout_success_default.php


示例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>
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:tpl_modules_address_book_details.php


示例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;
开发者ID:dalinhuang,项目名称:kakayaga,代码行数:31,代码来源:paypalwpp_admin_notification.php


示例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">&nbsp;</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;
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:sitemapxml.php


示例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">
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:module_create_visitor.php


示例16: zen_image

                 $tmp_attributes_image .= '<div class="attribImg">' . '<label class="attribsCheckbox" for="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '">' . zen_image(DIR_WS_IMAGES . $products_options->fields['attributes_image']) . (PRODUCT_IMAGES_ATTRIBUTES_NAMES == '1' ? '<br />' . $products_options->fields['products_options_values_name'] : '') . ($products_options_details_noname != '' ? '<br />' . $products_options_details_noname : '') . '</label><br />' . zen_draw_checkbox_field('id[' . $products_options_names->fields['products_options_id'] . '][' . $products_options_value_id . ']', $products_options_value_id, $selected_attribute, 'id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '"') . '</div>' . "\n";
             } else {
                 $tmp_attributes_image .= '<div class="attribImg">' . '<label class="attribsCheckbox" for="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '">' . $products_options->fields['products_options_values_name'] . ($products_options_details_noname != '' ? '<br />' . $products_options_details_noname : '') . '</label><br />' . zen_draw_checkbox_field('id[' . $products_options_names->fields['products_options_id'] . '][' . $products_options_value_id . ']', $products_options_value_id, $selected_attribute, 'id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '"') . '</div>' . "\n";
             }
             break;
         case '5':
             $tmp_attributes_image_row++;
             //                  if ($tmp_attributes_image_row > PRODUCTS_IMAGES_ATTRIBUTES_PER_ROW) {
             if ($tmp_attributes_image_row > $products_options_names->fields['products_options_images_per_row']) {
                 $tmp_attributes_image .= '<br class="clearBoth" />' . "\n";
                 $tmp_attributes_image_row = 1;
             }
             if ($products_options->fields['attributes_image'] != '') {
                 $tmp_attributes_image .= '<div class="attribImg">' . zen_draw_checkbox_field('id[' . $products_options_names->fields['products_options_id'] . '][' . $products_options_value_id . ']', $products_options_value_id, $selected_attribute, 'id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '"') . '<br />' . zen_image(DIR_WS_IMAGES . $products_options->fields['attributes_image']) . '<label class="attribsCheckbox" for="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '">' . (PRODUCT_IMAGES_ATTRIBUTES_NAMES == '1' ? '<br />' . $products_options->fields['products_options_values_name'] : '') . ($products_options_details_noname != '' ? '<br />' . $products_options_details_noname : '') . '</label></div>' . "\n";
             } else {
                 $tmp_attributes_image .= '<div class="attribImg">' . zen_draw_checkbox_field('id[' . $products_options_names->fields['products_options_id'] . '][' . $products_options_value_id . ']', $products_options_value_id, $selected_attribute, 'id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '"') . '<br />' . '<label class="attribsCheckbox" for="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '">' . $products_options->fields['products_options_values_name'] . ($products_options_details_noname != '' ? '<br />' . $products_options_details_noname : '') . '</label></div>' . "\n";
             }
             break;
     }
 }
 // text
 if ($products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_TEXT) {
     //CLR 030714 Add logic for text option
     //            $products_attribs_query = zen_db_query("select distinct patrib.options_values_price, patrib.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$_GET['products_id'] . "' and patrib.options_id = '" . $products_options_name['products_options_id'] . "'");
     //            $products_attribs_array = zen_db_fetch_array($products_attribs_query);
     if ($_POST['id']) {
         reset($_POST['id']);
         foreach ($_POST['id'] as $key => $value) {
             //echo ereg_replace('txt_', '', $key) . '#';
             //print_r($_POST['id']);
             //echo $products_options_names->fields['products_options_id'].'|';
开发者ID:dalinhuang,项目名称:kakayaga,代码行数:31,代码来源:attributes.php


示例17: zen_draw_checkbox_field

                <td class="smallText" align="left"><?php 
    echo HEADING_END_DATE . '<br />';
    ?>
                  <script language="javascript">
                    EndDate.writeControl(); EndDate.dateFormat="<?php 
    echo DATE_FORMAT_SPIFFYCAL;
    ?>
";
                  </script>
                </td>
              </tr>
            </table></td>
            <td><table border="0" cellspacing="2" cellpadding="0">
              <tr>
                <td class="smallText" valign="top"><br /><?php 
    echo zen_draw_checkbox_field('print_format', 1) . HEADING_PRINT_FORMAT;
    ?>
</td>
              </tr>
              <tr>
                <td class="main" valign="bottom"><br /><input class="submit_button button" type="submit" value="<?php 
    echo BUTTON_SEARCH;
    ?>
"></td>
              </tr>
            </table></td>
          </tr>
          </form>
        </td></table>
<?php 
    if ($target && $is_for_display) {
开发者ID:retched,项目名称:zen_SuperOrders,代码行数:31,代码来源:super_report_cash.php


示例18: zen_draw_checkbox_field

    ?>

<fieldset id="contactUsForm">
<legend><?php 
    echo HEADING_TITLE;
    ?>
</legend>
<?php 
    if (DISPLAY_CONTACT_US_PRIVACY_CONDITIONS == 'true') {
        ?>
<div id="contactUsNoticeContent" class="content">
     <?php 
        echo TABLE_HEADING_PRIVACY_CONDITIONS;
        ?>
     <?php 
        echo TEXT_PRIVACY_CONDITIONS_DESCRIPTION . '<br /><br />' . zen_draw_checkbox_field('privacy_conditions', '1', false, 'id="privacy"') . '<label for="privacy">&nbsp;' . TEXT_PRIVACY_CONDITIONS_CONFIRM . '</label>';
        ?>
</div>
<?php 
    }
    ?>

<div class="alert forward"><?php 
    echo FORM_REQUIRED_INFORMATION;
    ?>
</div>
<br class="clearBoth" />

<?php 
    // show dropdown if set
    if (CONTACT_US_LIST != '') {
开发者ID:ygeneration666,项目名称:ec,代码行数:31,代码来源:tpl_contact_us_default.php


示例19: zen_draw_input_field

    ?>
            <td class="main" align="left" valign="bottom"><?php 
    echo '<strong>' . TEXT_CONFIGURATION_KEY . '</strong>' . '<br />' . zen_draw_input_field('configuration_key', '', ' size="40" ');
    ?>
</td>
            <td class="main" align="left" valign="middle">
              <?php 
    $za_lookup = array(array('id' => '0', 'text' => TEXT_LOOKUP_NONE), array('id' => '1', 'text' => TEXT_ALL_FILES_LOOKUP_CURRENT), array('id' => '2', 'text' => TEXT_ALL_FILES_LOOKUP_CURRENT_CATALOG), array('id' => '3', 'text' => TEXT_ALL_FILES_LOOKUP_CURRENT_ADMIN));
    echo '<strong>' . TEXT_ALL_FILES_LOOKUPS . '</strong>' . '<br />' . zen_draw_pull_down_menu('zv_files', $za_lookup, '0');
    ?>
         

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP zen_draw_file_field函数代码示例发布时间:2022-05-23
下一篇:
PHP zen_display_tax_value函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap