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

PHP nzshpcrt_form_field_list函数代码示例

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

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



在下文中一共展示了nzshpcrt_form_field_list函数的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: form_paypal_certified

function form_paypal_certified()
{
    $select_currency[get_option('paypal_curcode')] = "selected='true'";
    $output = "\n  <tr>\n      <td>\n      PayPal API Username\n      </td>\n      <td>\n      <input type='text' size='40' value='" . get_option('paypal_certified_apiuser') . "' name='paypal_certified_apiuser' />\n      </td>\n  </tr>\n  <tr>\n      <td>\n      PayPal API Password\n      </td>\n      <td>\n      <input type='text' size='40' value='" . get_option('paypal_certified_apipass') . "' name='paypal_certified_apipass' />\n      </td>\n  </tr>\n  <tr>\n     <td>\n\t PayPal API Signature\n     </td>\n     <td>\n     <input type='text' size='70' value='" . get_option('paypal_certified_apisign') . "' name='paypal_certified_apisign' />\n     </td>\n  </tr>\n  ";
    $output .= "\n  <tr>\n      <td>\n      PayPal Accepted Currency (e.g. USD, AUD)\n      </td>\n      <td>\n        <select name='paypal_curcode'>\n          <option " . $select_currency['USD'] . " value='USD'>U.S. Dollar</option>\n          <option " . $select_currency['CAD'] . " value='CAD'>Canadian Dollar</option>\n          <option " . $select_currency['AUD'] . " value='AUD'>Australian Dollar</option>\n          <option " . $select_currency['EUR'] . " value='EUR'>Euro</option>\n          <option " . $select_currency['GBP'] . " value='GBP'>Pound Sterling</option>\n          <option " . $select_currency['JPY'] . " value='JPY'>Yen</option>\n          <option " . $select_currency['NZD'] . " value='NZD'>New Zealand Dollar</option>\n          <option " . $select_currency['CHF'] . " value='CHF'>Swiss Franc</option>\n          <option " . $select_currency['HKD'] . " value='HKD'>Hong Kong Dollar</option>\n          <option " . $select_currency['SGD'] . " value='SGD'>Singapore Dollar</option>\n          <option " . $select_currency['SEK'] . " value='SEK'>Swedish Krona</option>\n          <option " . $select_currency['HUF'] . " value='HUF'>Hungarian Forint</option>\n          <option " . $select_currency['DKK'] . " value='DKK'>Danish Krone</option>\n          <option " . $select_currency['PLN'] . " value='PLN'>Polish Zloty</option>\n          <option " . $select_currency['NOK'] . " value='NOK'>Norwegian Krone</option>\n          <option " . $select_currency['CZK'] . " value='CZK'>Czech Koruna</option>\n        </select> \n      </td>\n   </tr>\n   \n   \n\t<tr class='update_gateway' >\n\t\t<td colspan='2'>\n\t\t\t<div class='submit'>\n\t\t\t<input type='submit' value='Update &raquo;' name='updateoption'/>\n\t\t</div>\n\t\t</td>\n\t</tr>\n\t\n    <tr style='background: none;'>\n      <td colspan='2'>\n\t\t\t\t<h4>Forms Sent to Gateway</h2>\n      </td>\n\t\t</tr>\n   \n    <tr>\n      <td>\n      First Name Field\n      </td>\n      <td>\n      <select name='paypal_form[first_name]'>\n      " . nzshpcrt_form_field_list(get_option('paypal_form_first_name')) . "\n      </select>\n      </td>\n  </tr>\n    <tr>\n      <td>\n      Last Name Field\n      </td>\n      <td>\n      <select name='paypal_form[last_name]'>\n      " . nzshpcrt_form_field_list(get_option('paypal_form_last_name')) . "\n      </select>\n      </td>\n  </tr>\n    <tr>\n      <td>\n      Address Field\n      </td>\n      <td>\n      <select name='paypal_form[address]'>\n      " . nzshpcrt_form_field_list(get_option('paypal_form_address')) . "\n      </select>\n      </td>\n  </tr>\n  <tr>\n      <td>\n      City Field\n      </td>\n      <td>\n      <select name='paypal_form[city]'>\n      " . nzshpcrt_form_field_list(get_option('paypal_form_city')) . "\n      </select>\n      </td>\n  </tr>\n  <tr>\n      <td>\n      State Field\n      </td>\n      <td>\n      <select name='paypal_form[state]'>\n      " . nzshpcrt_form_field_list(get_option('paypal_form_state')) . "\n      </select>\n      </td>\n  </tr>\n  <tr>\n      <td>\n      Postal code/Zip code Field\n      </td>\n      <td>\n      <select name='paypal_form[post_code]'>\n      " . nzshpcrt_form_field_list(get_option('paypal_form_post_code')) . "\n      </select>\n      </td>\n  </tr>\n  <tr>\n      <td>\n      Country Field\n      </td>\n      <td>\n      <select name='paypal_form[country]'>\n      " . nzshpcrt_form_field_list(get_option('paypal_form_country')) . "\n      </select>\n      </td>\n  </tr>\n";
    return $output;
}
开发者ID:alx,项目名称:barceloneta,代码行数:7,代码来源:paypal_certified.php


示例2: form_hsbc

function form_hsbc()
{
    global $wpdb, $wpsc_gateways;
    $hsbc_currency = get_option('hsbc_currency');
    $currencies = array(036 => 'Australia, Dollars', 124 => 'Canada, Dollars', 208 => 'Denmark, Kroner', 978 => 'Euro Member Countries, Euro', 344 => 'Hong Kong, Dollars', 392 => 'Japan, Yen', 554 => 'New Zealand, Dollars', 578 => 'Norway, Krone', 702 => 'Singapore, Dollars', 752 => 'Sweden, Kronor', 756 => 'Switzerland, Francs', 826 => 'United Kingdom, Pounds', 840 => 'United States of America, Dollars');
    $hsbc_currency_options = '';
    foreach ($currencies as $k => $c) {
        if ($k == get_option('hsbc_currency')) {
            $hsbc_currency_options .= "<option selected='selected' value='{$k}'>{$c}</option>";
        } else {
            $hsbc_currency_options .= "<option value='{$k}'>{$c}</option>";
        }
    }
    $output = "\n \t<tr>\n \t    <td>HSBC username:</td>\n \t    <td>\n \t    \t<input type='text' size='40' value='" . get_option('hsbc_username') . "' name='hsbc_username' />\n \t    </td>\n \t</tr>\n \t<tr>\n\t\t<td>Password:</td>\n\t\t<td>\n\t\t\t<input type='text' size='40' value='" . get_option('hsbc_password') . "' name='hsbc_password' />\n\t\t</td>\n \t</tr>\n \t<tr>\n\t\t<td>Customer ID:</td>\n\t\t<td>\n\t\t\t<input type='text' size='40' value='" . get_option('hsbc_id') . "' name='hsbc_id' />\n\t\t</td>\n \t</tr>\n \t<tr>\n\t\t<td>Store Currency:</td>\n\t\t<td>\n\t\t\t<select name='hsbc_currency'>\n\t\t\t\t" . $hsbc_currency_options . "\n\t\t\t</select>\n\t\t</td>\n \t</tr>";
    $output .= "\n   <tr class='update_gateway' >\n\t\t<td colspan='2'>\n\t\t\t<div class='submit'>\n\t\t\t<input type='submit' value='" . __('Update &raquo;', 'wpsc') . "' name='updateoption'/>\n\t\t</div>\n\t\t</td>\n\t</tr>\n\t\n\t<tr class='firstrowth'>\n\t\t<td style='border-bottom: medium none;' colspan='2'>\n\t\t\t<strong class='form_group'>Forms Sent to Gateway</strong>\n\t\t</td>\n\t</tr>\n   \n    <tr>\n      <td>\n      First Name Field\n      </td>\n      <td>\n      <select name='hsbc_form[first_name]'>\n      " . nzshpcrt_form_field_list(get_option('hsbc_form_first_name')) . "\n      </select>\n      </td>\n  </tr>\n    <tr>\n      <td>\n      Last Name Field\n      </td>\n      <td>\n      <select name='hsbc_form[last_name]'>\n      " . nzshpcrt_form_field_list(get_option('hsbc_form_last_name')) . "\n      </select>\n      </td>\n  </tr>\n    <tr>\n      <td>\n      Address Field\n      </td>\n      <td>\n      <select name='hsbc_form[address]'>\n      " . nzshpcrt_form_field_list(get_option('hsbc_form_address')) . "\n      </select>\n      </td>\n  </tr>\n  <tr>\n      <td>\n      City Field\n      </td>\n      <td>\n      <select name='hsbc_form[city]'>\n      " . nzshpcrt_form_field_list(get_option('hsbc_form_city')) . "\n      </select>\n      </td>\n  </tr>\n  <tr>\n      <td>\n      State Field\n      </td>\n      <td>\n      <select name='hsbc_form[state]'>\n      " . nzshpcrt_form_field_list(get_option('hsbc_form_state')) . "\n      </select>\n      </td>\n  </tr>\n  <tr>\n      <td>\n      Postal code/Zip code Field\n      </td>\n      <td>\n      <select name='hsbc_form[post_code]'>\n      " . nzshpcrt_form_field_list(get_option('hsbc_form_post_code')) . "\n      </select>\n      </td>\n  </tr>\n  <tr>\n      <td>\n      Country Field\n      </td>\n      <td>\n      <select name='hsbc_form[country]'>\n      " . nzshpcrt_form_field_list(get_option('hsbc_form_country')) . "\n      </select>\n      </td>\n  </tr> ";
    return $output;
}
开发者ID:hanzhimeng,项目名称:HSBC-payment-gateway-module-for-WPSC,代码行数:17,代码来源:HSBC.php


示例3: form_chronopay

function form_chronopay()
{
    $select_currency[get_option('chronopay_curcode')] = "selected='selected'";
    $select_language[get_option('chronopay_language')] = "selected='selected'";
    $chronopay_url = get_option('chronopay_url') == '' ? 'https://secure.chronopay.com/index_shop.cgi' : get_option('chronopay_url');
    $chronopay_salt = get_option('chronopay_salt') == '' ? wp_generate_password(24, true, true) : get_option('chronopay_salt');
    if (!isset($select_currency['USD'])) {
        $select_currency['USD'] = '';
    }
    if (!isset($select_currency['EUR'])) {
        $select_currency['EUR'] = '';
    }
    if (!isset($select_language['EN'])) {
        $select_language['EN'] = '';
    }
    if (!isset($select_language['ES'])) {
        $select_language['ES'] = '';
    }
    if (!isset($select_language['NL'])) {
        $select_language['NL'] = '';
    }
    if (!isset($select_language['RU'])) {
        $select_language['RU'] = '';
    }
    $output = "\n\t\t<tr>\n\t\t\t<td>" . __('Product ID', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<input type='text' size='40' value='" . get_option('chronopay_product_id') . "' name='chronopay_product_id' />\n\t\t\t\t<p class='description'>\n\t\t\t\t\t" . __('This should be set to your product ID that has been set up in the ChronoPay client interface. This is the ChronoPay product that all purchases will be processed against. The cost will be changed depending on the grand total of the users cart.', 'wp-e-commerce') . "\n\t\t\t\t</p>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Product Name', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<input type='text' size='40' value='" . get_option('chronopay_product_name') . "' name='chronopay_product_name' />\n\t\t\t\t<p class='description'>\n\t\t\t\t\t" . __('This is not important and is usually set to the name of the web shop. It is displayed on the ChronoPay secure processing page.', 'wp-e-commerce') . "\n\t\t\t\t</p>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Accepted Currency', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<select name='chronopay_curcode'>\n\t\t\t\t\t<option " . $select_currency['USD'] . " value='USD'>" . __('USD - U.S. Dollar', 'wp-e-commerce') . "</option>\n\t\t\t\t\t<option " . $select_currency['EUR'] . " value='EUR'>" . __('EUR - Euros', 'wp-e-commerce') . "</option>\n\t\t\t\t</select>\n\t\t\t\t<p class='description'>\n\t\t\t\t\t" . __('The currency code that ChronoPay will process the payment in. All products must be set up in this currency.', 'wp-e-commerce') . "\n\t\t\t\t</p>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Language', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<select name='chronopay_language'>\n\t\t\t\t\t<option " . $select_language['EN'] . " value='EN'>Engish</option>\n\t\t\t\t\t<option " . $select_language['ES'] . " value='ES'>Spanish</option>\n\t\t\t\t\t<option " . $select_language['NL'] . " value='NL'>Dutch</option>\n\t\t\t\t\t<option " . $select_language['RU'] . " value='RU'>Russian</option>\n\t\t\t\t</select>\n\t\t\t\t<p class='description'>\n\t\t\t\t\t" . __('The language that the ChronoPay secure processing page will be displayed in.', 'wp-e-commerce') . "\n\t\t\t\t</p>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Processing URL', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<input type='text' size='40' value='" . $chronopay_url . "' name='chronopay_url' />\n\t\t\t\t<p class='description'>\n\t\t\t\t\t" . __('URL of the secure payment page customers are sent to for payment processing. If unsure leave at default setting.', 'wp-e-commerce') . "\n\t\t\t\t</p>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Return URL', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<input type='text' size='40' value='" . get_option('transact_url') . "' name='chronopay_return_url' />\n\t\t\t\t<p class='description'>\n\t\t\t\t\t" . __('Enter this URL in the ChronoPay web client against the Product ID that you have set up. This page is the transaction details page that you have configured in Shop Options.  It can not be edited on this page.', 'wp-e-commerce') . "\n\t\t\t\t</p>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Security Key', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<input type='text' size='40' value='" . $chronopay_salt . "' name='chronopay_salt' />\n\t\t\t\t<p class='description'>\n\t\t\t\t\t" . __('A bit of security... This is a keyword that is used to ensure transaction approval calls from ChronoPay to this application are real and were instigated from this server.  Enter a unique word into this field.', 'wp-e-commerce') . "\n\t\t\t\t</p>\n\t\t</tr>\n\n\t\t<tr class='firstrowth'>\n\t\t\t<td style='border-bottom: medium none;' colspan='2'>\n\t\t\t\t<strong class='form_group'>" . __('Forms Sent to Gateway', 'wp-e-commerce') . "</strong>\n\t\t\t</td>\n\t\t</tr>\n\n\t\t<tr>\n\t\t\t<td>" . __('First Name Field', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<select name='chronopay_form[first_name]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('chronopay_form_first_name')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Last Name Field', 'wp-e-commerce') . "</td>\n\t\t\t<td><select name='chronopay_form[last_name]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('chronopay_form_last_name')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Address Field', 'wp-e-commerce') . "</td>\n\t\t\t<td><select name='chronopay_form[address]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('chronopay_form_address')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('City Field', 'wp-e-commerce') . "</td>\n\t\t\t<td><select name='chronopay_form[city]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('chronopay_form_city')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('State Field', 'wp-e-commerce') . "</td>\n\t\t\t<td><select name='chronopay_form[state]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('chronopay_form_state')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Postal / ZIP Code Field', 'wp-e-commerce') . "</td>\n\t\t\t<td><select name='chronopay_form[post_code]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('chronopay_form_post_code')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Country Field', 'wp-e-commerce') . "</td>\n\t\t\t<td><select name='chronopay_form[country]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('chronopay_form_country')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t   <tr>\n           <td colspan='2'>\n           \t" . sprintf(__('For more help configuring Chronopay, read our documentation <a href="%s">here</a>', 'wp-e-commerce'), esc_url('https://docs.wpecommerce.org/documentation/chronopay/')) . "\n           </td>\n       </tr>";
    return $output;
}
开发者ID:ashik968,项目名称:digiplot,代码行数:27,代码来源:chronopay.php


示例4: form_ideal

function form_ideal()
{
    $languages = array('en_US' => __('English', 'wpsc_gold_cart'), 'nl_NL' => __('Dutch', 'wpsc_gold_cart'), 'fr_FR' => __('Français', 'wpsc_gold_cart'));
    $currencies = array('EUR', 'USD', 'GBP');
    $selected_language = get_option('ideal_language');
    $selected_currency = get_option('ideal_currency');
    ob_start();
    ?>
<tr>
	<td>
		<?php 
    _e('iDeal PSPID', 'wpsc_gold_cart');
    ?>
	</td>
	<td>
		<input type='text' size='20' value='<?php 
    echo esc_attr(get_option('ideal_id'));
    ?>
' name='ideal_id' />
	</td>
</tr>
<tr>
	<td>
		<?php 
    _e('iDeal Currency', 'wpsc_gold_cart');
    ?>
	</td>
	<td>
		<select name='ideal_currency'>
			<?php 
    foreach ($currencies as $currency) {
        $selected = $currency == $selected_currency ? ' selected="selected"' : '';
        echo "<option{$selected} value='{$currency}'>{$currency}</option>";
    }
    ?>
		</select>
	</td>
</tr>
<tr>
	<td>
		<?php 
    _e('iDeal Language', 'wpsc_gold_cart');
    ?>
	</td>
	<td>
		<select name='ideal_language'>
			<?php 
    foreach ($languages as $code => $language) {
        $selected = $language == $selected_language ? ' selected="selected"' : '';
        echo "<option{$selected} value='{$code}'>{$language}</option>";
    }
    ?>
		</select>
	</td>
</tr>
<tr>
	<td colspan="2"><h2><?php 
    _e('Forms Sent to Gateway', 'wpsc_gold_cart');
    ?>
</h2></td>
</tr>
<tr>
	<td>
	<?php 
    _e('First Name Field', 'wpsc_gold_cart');
    ?>
	</td>
	<td>
	<select name='ideal_form[first_name]'>
		<?php 
    echo nzshpcrt_form_field_list(get_option('ideal_form_first_name'));
    ?>
	</select>
	</td>
</tr>
<tr>
	<td>
	<?php 
    _e('Last Name Field', 'wpsc_gold_cart');
    ?>
	</td>
	<td>
	<select name='ideal_form[last_name]'>
		<?php 
    echo nzshpcrt_form_field_list(get_option('ideal_form_last_name'));
    ?>
	</select>
	</td>
</tr>
<tr>
	<td>
	<?php 
    _e('Email Field', 'wpsc_gold_cart');
    ?>
	</td>
	<td>
	<select name='ideal_form[email]'>
		<?php 
    echo nzshpcrt_form_field_list(get_option('ideal_form_email'));
    ?>
//.........这里部分代码省略.........
开发者ID:benhuson,项目名称:Gold-Cart,代码行数:101,代码来源:ideal.php


示例5: dibspayment_paywin_form


//.........这里部分代码省略.........
                <span class="small description">
                    Order status before payment.
                </span>
            </td>
        </tr><tr>
          <td>Cancel payment status:</td>
            <td><select name="dibspw_statusc">
                ' . get_statuses(get_option('dibspw_statusc')) . '
            </select></td>
        </tr>
          <tr>
            <td>&nbsp;</td>
            <td>
                <span class="small description">
                    Order status on cancellation.
                </span>
            </td>
        </tr>';
    $address_fields = '<tr class="update_gateway" >
                        <td colspan="2">
                 <div class="submit">
                     <input type="submit" value="' . __('Update &raquo;', 'wpsc') . '" name="updateoption" />
                 </div>
             </td>
         </tr>
         <tr class="firstrowth">
             <td style="border-bottom: medium none;" colspan="2">
                 <strong class="form_group">Billing Form Sent to Gateway</strong>
             </td>
         </tr>
         <tr>
             <td>First Name Field</td>
             <td>
                 <select name="dibspw_form[first_name_b]">' . nzshpcrt_form_field_list(get_option('dibspw_form_first_name_b')) . '</select>
             </td>
         </tr>
         <tr>
             <td>Last Name Field</td>
             <td>
                 <select name="dibspw_form[last_name_b]">' . nzshpcrt_form_field_list(get_option('dibspw_form_last_name_b')) . '</select>
             </td>
         </tr>
         <tr>
             <td>Address Field</td>
             <td>
                 <select name="dibspw_form[address_b]">' . nzshpcrt_form_field_list(get_option('dibspw_form_address_b')) . '</select>
             </td>
         </tr>
         <tr>
             <td>City Field</td>
             <td>
                 <select name="dibspw_form[city_b]">' . nzshpcrt_form_field_list(get_option('dibspw_form_city_b')) . '</select>
             </td>
         </tr>
         <tr>
             <td>State Field</td>
             <td>
                 <select name="dibspw_form[state_b]">' . nzshpcrt_form_field_list(get_option('dibspw_form_state_b')) . '</select>
             </td>
         </tr>
         <tr>
             <td>Postal/Zip code Field</td>
             <td>
                 <select name="dibspw_form[post_code_b]">' . nzshpcrt_form_field_list(get_option('dibspw_form_post_code_b')) . '</select>
             </td>
         </tr>
开发者ID:alexwonderwood,项目名称:leir,代码行数:67,代码来源:dibspw.php


示例6: form_paypal_multiple

/**
 * form_paypal_multiple function.
 *
 * Use this for now, but it will eventually be replaced with a better form API for gateways
 * @access public
 * @return void
 */
function form_paypal_multiple()
{
    global $wpdb, $wpsc_gateways;
    $account_type = get_option('paypal_multiple_url');
    $account_types = array('https://www.paypal.com/cgi-bin/webscr' => __('Live Account', 'wp-e-commerce'), 'https://www.sandbox.paypal.com/cgi-bin/webscr' => __('Sandbox Account', 'wp-e-commerce'));
    $output = "\n\t<tr>\n\t\t<td>" . __('Username:', 'wp-e-commerce') . "</td>\n\t\t<td>\n\t\t\t<input type='text' size='40' value='" . get_option('paypal_multiple_business') . "' name='paypal_multiple_business' />\n\t\t\t<p class='description'>\n\t\t\t\t" . __('This is your PayPal email address.', 'wp-e-commerce') . "\n\t\t\t</p>\n\t\t</td>\n\t</tr>\n\n\t<tr>\n\t\t<td>" . __('Account Type:', 'wp-e-commerce') . "</td>\n\t\t<td>\n\t\t\t<select name='paypal_multiple_url'>\n";
    foreach ($account_types as $url => $label) {
        $output .= "<option value='{$url}' " . selected($url, $account_type, false) . ">" . esc_html($label) . "</option>";
    }
    $output .= "\n\t\t\t</select>\n\t\t\t<p class='description'>\n\t\t\t\t" . __('If you have a PayPal developers Sandbox account, please use Sandbox mode. If you just have a standard PayPal account, then you will want to use Live mode.', 'wp-e-commerce') . "\n\t\t\t</p>\n\t\t</td>\n\t</tr>\n";
    $paypal_ipn = get_option('paypal_ipn');
    $paypal_ipn1 = "";
    $paypal_ipn2 = "";
    switch ($paypal_ipn) {
        case 0:
            $paypal_ipn2 = "checked='checked'";
            break;
        case 1:
            $paypal_ipn1 = "checked='checked'";
            break;
    }
    $paypal_ship = get_option('paypal_ship');
    $paypal_ship1 = "";
    $paypal_ship2 = "";
    switch ($paypal_ship) {
        case 1:
            $paypal_ship1 = "checked='checked'";
            break;
        case 0:
        default:
            $paypal_ship2 = "checked='checked'";
            break;
    }
    $address_override = get_option('address_override');
    $address_override1 = "";
    $address_override2 = "";
    switch ($address_override) {
        case 1:
            $address_override1 = "checked='checked'";
            break;
        case 0:
        default:
            $address_override2 = "checked='checked'";
            break;
    }
    $output .= "\n\t<tr>\n\t\t<td>" . __("IPN", 'wp-e-commerce') . ":</td>\n\t\t<td>\n\t\t\t<input type='radio' value='1' name='paypal_ipn' id='paypal_ipn1' " . $paypal_ipn1 . " /> <label for='paypal_ipn1'>" . __('Yes', 'wp-e-commerce') . "</label> &nbsp;\n\t\t\t<input type='radio' value='0' name='paypal_ipn' id='paypal_ipn2' " . $paypal_ipn2 . " /> <label for='paypal_ipn2'>" . __('No', 'wp-e-commerce') . "</label>\n\t\t\t<p class='description'>\n\t\t\t\t" . __("IPN (instant payment notification) will automatically update your sales logs to 'Accepted payment' when a customer's payment is successful. For IPN to work you also need to have IPN turned on in your PayPal settings. If it is not turned on, the sales will remain as 'Order Pending' status until manually changed. It is highly recommended using IPN, especially if you are selling digital products.", 'wp-e-commerce') . "\n\t\t\t</p>\n\t\t</td>\n\t</tr>\n\t<tr>\n\t\t<td style='padding-bottom: 0px;'>" . __("Send shipping details", 'wp-e-commerce') . "</td>\n\t\t<td style='padding-bottom: 0px;'>\n\t\t\t<input type='radio' value='1' name='paypal_ship' id='paypal_ship1' " . $paypal_ship1 . " /> <label for='paypal_ship1'>" . __('Yes', 'wp-e-commerce') . "</label> &nbsp;\n\t\t\t<input type='radio' value='0' name='paypal_ship' id='paypal_ship2' " . $paypal_ship2 . " /> <label for='paypal_ship2'>" . __('No', 'wp-e-commerce') . "</label>\n\t\t\t<p class='description'>\n\t\t\t\t" . __("Note: If your checkout page does not have a shipping details section, or if you don't want to send PayPal shipping information, you should change the Send shipping details option to 'No'.", 'wp-e-commerce') . "\n\t\t\t</p>\n\t\t</td>\n\t</tr>\n\t<tr>\n\t\t<td>\n\t\t\t" . __('Address Override:', 'wp-e-commerce') . "\n\t\t</td>\n\t\t<td>\n\t\t\t<input type='radio' value='1' name='address_override' id='address_override1' " . $address_override1 . " /> <label for='address_override1'>" . __('Yes', 'wp-e-commerce') . "</label> &nbsp;\n\t\t\t<input type='radio' value='0' name='address_override' id='address_override2' " . $address_override2 . " /> <label for='address_override2'>" . __('No', 'wp-e-commerce') . "</label>\n\t\t\t<p class='description'>\n\t\t\t\t" . __("This setting affects your PayPal purchase log. If your customers already have a PayPal account, PayPal will try to populate your PayPal Purchase Log with their PayPal address. This setting tries to replace the address in the PayPal purchase log with the address customers enter on your Checkout page.", 'wp-e-commerce') . "\n\t\t\t</p>\n\t\t</td>\n\t</tr>\n";
    $store_currency_data = WPSC_Countries::get_currency_data(get_option('currency_type'), true);
    $current_currency = get_option('paypal_curcode');
    if ($current_currency == '' && in_array($store_currency_data['code'], $wpsc_gateways['wpsc_merchant_paypal_standard']['supported_currencies']['currency_list'])) {
        update_option('paypal_curcode', $store_currency_data['code']);
        $current_currency = $store_currency_data['code'];
    }
    if ($current_currency != $store_currency_data['code']) {
        $output .= "\n\t\t<tr>\n\t\t\t<td>\n\t\t\t</td>\n\t\t\t<td><strong class='form_group'>" . __('Currency Converter', 'wp-e-commerce') . "</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t" . sprintf(__('Your website uses <strong>%s</strong>. This currency is not supported by PayPal. Please select an accepted currency using the drop down menu below. Buyers on your site will still pay in your local currency. However, we will send the order through to PayPal using the currency you choose below.', 'wp-e-commerce'), $store_currency_data['currency']) . "\n\t\t\t</td>\n\t\t</tr>\n\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t" . __('Select Currency:', 'wp-e-commerce') . "\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<select name='paypal_curcode'>\n";
        $paypal_currency_list = array_map('esc_sql', $wpsc_gateways['wpsc_merchant_paypal_standard']['supported_currencies']['currency_list']);
        $currency_list = WPSC_Countries::get_currencies(true);
        foreach ($currency_list as $currency_item) {
            $selected_currency = '';
            if ($current_currency == $currency_item['code']) {
                $selected_currency = "selected='selected'";
            }
            $output .= "<option " . $selected_currency . " value='{$currency_item['code']}'>{$currency_item['name']}</option>";
        }
        $output .= "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n";
    }
    if (get_option('paypal_form_first_name', false)) {
        $output .= "\n\t\t<tr>\n\t\t\t<td colspan='2'>\n\t\t\t\t<strong class='form_group'>" . __('Forms Sent to Gateway', 'wp-e-commerce') . "</strong>\n\t\t\t</td>\n\t\t</tr>\n\n\t\t<tr>\n\t\t\t<td>" . __('First Name Field', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<select name='paypal_form[first_name]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('paypal_form_first_name')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>" . __('Last Name Field', 'wp-e-commerce') . "</td>\n\t\t\t<td>\n\t\t\t\t<select name='paypal_form[last_name]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('paypal_form_last_name')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t" . __('Address Field', 'wp-e-commerce') . "\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<select name='paypal_form[address]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('paypal_form_address')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t" . __('City Field', 'wp-e-commerce') . "\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<select name='paypal_form[city]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('paypal_form_city')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t" . __('State Field', 'wp-e-commerce') . "\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<select name='paypal_form[state]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('paypal_form_state')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t" . __('Postal / ZIP Code Field', 'wp-e-commerce') . "\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<select name='paypal_form[post_code]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('paypal_form_post_code')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t" . __('Country Field', 'wp-e-commerce') . "\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<select name='paypal_form[country]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('paypal_form_country')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td colspan='2'>\n\t\t\t\t<p class='description'>\n\t\t\t\t" . sprintf(__("For more help configuring PayPal Standard, please read our documentation <a href='%s'>here</a>", 'wp-e-commerce'), esc_url('http://docs.wpecommerce.org/documentation/paypal-payments-standard/')) . "\n\t\t\t\t</p>\n\t\t\t</td>\n\t\t</tr>\n";
    }
    return $output;
}
开发者ID:ashik968,项目名称:digiplot,代码行数:77,代码来源:paypal-standard.merchant.php


示例7: nzshpcrt_form_field_list

	</tr>

	<tr>
		<td>Country Field</td>
		<td>
			<select name='eway_form[country]'>
				<?php echo nzshpcrt_form_field_list(get_option('eway_form_country')); ?>
			</select>
		</td>
	</tr>

	<tr>
		<td>Email Field</td>
		<td>
			<select name='eway_form[email]'>
				<?php echo nzshpcrt_form_field_list(get_option('eway_form_email')); ?>
			</select>
		</td>
	</tr>

<script>
(function($) {

	/**
	* check whether both the sandbox (test) mode and Stored Payments are selected,
	* show warning message if they are
	*/
	function setVisibility() {
		var	useTest = ($("input[name='eway_test']:checked").val() === "1"),
			useBeagle = ($("input[name='eway_beagle']:checked").val() === "1"),
			useStored = ($("input[name='eway_stored']:checked").val() === "1");
开发者ID:helloworld-digital,项目名称:katemorgan,代码行数:31,代码来源:admin-wpsc.php


示例8: form_tco

function form_tco()
{
    $select_currency[get_option('tco_curcode')] = "selected='selected'";
    $select_language[get_option('tco_language')] = "selected='selected'";
    $tco_debug = get_option('tco_debug');
    $tco_debug1 = "";
    $tco_debug2 = "";
    switch ($tco_debug) {
        case 0:
            $tco_debug2 = "checked ='checked'";
            break;
        case 1:
            $tco_debug1 = "checked ='checked'";
            break;
    }
    $tco_direct = get_option('tco_direct');
    $tco_direct1 = "";
    $tco_direct2 = "";
    switch ($tco_direct) {
        case 0:
            $tco_direct2 = "checked ='checked'";
            break;
        case 1:
            $tco_direct1 = "checked ='checked'";
            break;
    }
    if (!isset($select_currency['USD'])) {
        $select_currency['USD'] = '';
    }
    if (!isset($select_currency['EUR'])) {
        $select_currency['EUR'] = '';
    }
    if (!isset($select_language['en'])) {
        $select_language['en'] = '';
    }
    if (!isset($select_language['es_la'])) {
        $select_language['es_la'] = '';
    }
    if (!isset($select_language['nl'])) {
        $select_language['nl'] = '';
    }
    if (!isset($select_language['zh'])) {
        $select_language['zh'] = '';
    }
    if (!isset($select_language['da'])) {
        $select_language['da'] = '';
    }
    if (!isset($select_language['fr'])) {
        $select_language['fr'] = '';
    }
    if (!isset($select_language['gr'])) {
        $select_language['gr'] = '';
    }
    if (!isset($select_language['el'])) {
        $select_language['el'] = '';
    }
    if (!isset($select_language['it'])) {
        $select_language['it'] = '';
    }
    if (!isset($select_language['jp'])) {
        $select_language['jp'] = '';
    }
    if (!isset($select_language['no'])) {
        $select_language['no'] = '';
    }
    if (!isset($select_language['pt'])) {
        $select_language['pt'] = '';
    }
    if (!isset($select_language['es_ib'])) {
        $select_language['es_ib'] = '';
    }
    if (!isset($select_language['sv'])) {
        $select_language['sv'] = '';
    }
    $output = "\n\t\t<tr>\n\t\t\t<td>2Checkout Account Number</td>\n\t\t\t<td><input type='text' size='40' value='" . get_option('tco_seller_id') . "' name='tco_seller_id' /></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td><small>2Checkout Account Number</small></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Secret Word</td>\n\t\t\t<td><input type='text' size='40' value='" . get_option('tco_secret_word') . "' name='tco_secret_word' /></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td><small>Must me the same value you setup on the 2Checkout Site Management page.</small></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Language</td>\n\t\t\t<td><select name='tco_language'>\n\t\t\t\t\t<option " . $select_language['en'] . " value='en'>Engish</option>\n\t\t\t\t\t<option " . $select_language['es_la'] . " value='es_la'>Spanish</option>\n\t\t\t\t\t<option " . $select_language['nl'] . " value='nl'>Dutch</option>\n\t\t\t\t\t<option " . $select_language['zh'] . " value='zh'>Chinese</option>\n\t\t\t\t\t<option " . $select_language['da'] . " value='da'>Danish</option>\n\t\t\t\t\t<option " . $select_language['fr'] . " value='fr'>French</option>\n\t\t\t\t\t<option " . $select_language['gr'] . " value='gr'>German</option>\n\t\t\t\t\t<option " . $select_language['el'] . " value='el'>Greek</option>\n\t\t\t\t\t<option " . $select_language['it'] . " value='it'>Italian</option>\n\t\t\t\t\t<option " . $select_language['jp'] . " value='jp'>Japanese</option>\n\t\t\t\t\t<option " . $select_language['no'] . " value='no'>Norwegian</option>\n\t\t\t\t\t<option " . $select_language['pt'] . " value='pt'>Portuguese</option>\n\t\t\t\t\t<option " . $select_language['es_ib'] . " value='es_ib'>Spanish(Europe)</option>\n\t\t\t\t\t<option " . $select_language['sv'] . " value='sv'>Swedish</option>\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td><small>The language that the 2Checkout purchase routine will be displayed in.</small></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Return URL</td>\n\t\t\t<td><input type='text' size='40' value='" . get_option('transact_url') . "' name='tco_return_url' /></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td><small>If you are using a demo account, enter this URL in the Approved URL field on your 2Checkout Site Management page and append &tco_callback=true. (Example: http://yoursite.com?page=6&tco_callback=true) This page is the  transaction details page that you have configured in Shop Options.  It can not be edited on this page.</small></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Inline Checkout</td>\n\t\t\t<td>\n\t\t\t\t<input type='radio' value='1' name='tco_direct' id='tco_direct1' " . $tco_direct1 . " /> <label for='tco_direct1'>" . __('Yes', 'wpsc') . "</label> &nbsp;\n\t\t\t\t<input type='radio' value='0' name='tco_direct' id='tco_direct2' " . $tco_direct2 . " /> <label for='tco_direct2'>" . __('No', 'wpsc') . "</label>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Debug Mode</td>\n\t\t\t<td>\n\t\t\t\t<input type='radio' value='1' name='tco_debug' id='tco_debug1' " . $tco_debug1 . " /> <label for='tco_debug1'>" . __('Yes', 'wpsc') . "</label> &nbsp;\n\t\t\t\t<input type='radio' value='0' name='tco_debug' id='tco_debug2' " . $tco_debug2 . " /> <label for='tco_debug2'>" . __('No', 'wpsc') . "</label>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td><small>Debug mode is used to write HTTP communications between the 2Checkout server and your host to a log file.  This should only be activated for testing!</small></td>\n\t\t</tr>\n\n\n\t<tr class='update_gateway' >\n\t\t<td colspan='2'>\n\t\t\t<div class='submit'>\n\t\t\t<input type='submit' value='" . __('Update &raquo;', 'wpsc') . "' name='updateoption'/>\n\t\t</div>\n\t\t</td>\n\t</tr>\n\n\t<tr class='firstrowth'>\n\t\t<td style='border-bottom: medium none;' colspan='2'>\n\t\t\t<strong class='form_group'>Forms Sent to Gateway</strong>\n\t\t</td>\n\t</tr>\n\n\t\t<tr>\n\t\t\t<td>First Name Field</td>\n\t\t\t<td><select name='tco_form[first_name]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('tco_form_first_name')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Last Name Field</td>\n\t\t\t<td><select name='tco_form[last_name]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('tco_form_last_name')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Address Field</td>\n\t\t\t<td><select name='tco_form[address]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('tco_form_address')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>City Field</td>\n\t\t\t<td><select name='tco_form[city]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('tco_form_city')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>State Field</td>\n\t\t\t<td><select name='tco_form[state]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('tco_form_state')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Postal code</td>\n\t\t\t<td><select name='tco_form[post_code]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('tco_form_post_code')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Country Field</td>\n\t\t\t<td><select name='tco_form[country]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('tco_form_country')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>Phone Field</td>\n\t\t\t<td><select name='tco_form[phone]'>\n\t\t\t\t" . nzshpcrt_form_field_list(get_option('tco_form_phone')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t   <tr>\n           <td colspan='2'>For more help configuring 2Checkout, contact [email protected].</a></td>\n       </tr>";
    return $output;
}
开发者ID:rpineda,项目名称:2checkout-wp-e-commerce,代码行数:77,代码来源:tco.php


示例9: form_eway

function form_eway()
{
    $eway_cvn = get_option('eway_cvn');
    $eway_cvn1 = $eway_cvn2 = '';
    if ($eway_cvn == '1') {
        $eway_cvn1 = "checked='checked'";
    } else {
        $eway_cvn2 = "checked='checked'";
    }
    $eway_test = get_option('eway_test');
    $eway_test1 = $eway_test2 = '';
    if ($eway_test == '1') {
        $eway_test1 = "checked='checked'";
    } else {
        $eway_test2 = "checked='checked'";
    }
    $output = "\n\t<tr>\n\t\t<td>\n\t\t\teWay Customer id\n\t\t</td>\n\t\t<td>\n\t\t\t<input type='text' size='10' value='" . get_option('ewayCustomerID_id') . "' name='ewayCustomerID_id' />\n\t\t</td>\n\t</tr>\n\t<tr>\n\t\t<td>\n\t\t\tUse Testing enviroment\n\t\t</td>\n\t\t<td>\n\t\t\t<input type='radio' value='1' name='eway_test' id='eway_test1' " . $eway_test1 . " /> <label for='eway_test1'>" . TXT_WPSC_YES . "</label> &nbsp;\n\t\t\t<input type='radio' value='0' name='eway_test' id='eway_test2' " . $eway_test2 . " /> <label for='eway_test2'>" . TXT_WPSC_NO . "</label>\n\t\t</td>\n\t</tr>\n\t<tr>\n\t\t<td>\n\t\t\tUse CVN Security\n\t\t</td>\n\t\t<td>\n\t\t\t<input type='radio' value='1' name='eway_cvn' id='eway_cvn1' " . $eway_cvn1 . " /> <label for='eway_cvn1'>" . TXT_WPSC_YES . "</label> &nbsp;\n\t\t\t<input type='radio' value='0' name='eway_cvn' id='eway_cvn2' " . $eway_cvn2 . " /> <label for='eway_cvn2'>" . TXT_WPSC_NO . "</label>\n\t\t</td>\n\t</tr>";
    $output .= "\n\t\t<tr>\n\t\t\t<td>First Name Field</td>\n\t\t\t<td>\n\t\t\t\t<select name='eway_form[first_name]'>\n\t\t\t\t\t" . nzshpcrt_form_field_list(get_option('eway_form_first_name')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> Last Name Field </td>\n\t\t\t<td>\n\t\t\t\t<select name='eway_form[last_name]'>\n\t\t\t\t\t" . nzshpcrt_form_field_list(get_option('eway_form_last_name')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> Address Field </td>\n\t\t\t<td>\n\t\t\t\t<select name='eway_form[address]'>\n\t\t\t\t\t" . nzshpcrt_form_field_list(get_option('eway_form_address')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> City Field </td>\n\t\t\t<td>\n\t\t\t\t<select name='eway_form[city]'>\n\t\t\t\t\t" . nzshpcrt_form_field_list(get_option('eway_form_city')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> State Field </td>\n\t\t\t<td>\n\t\t\t\t<select name='eway_form[state]'>\n\t\t\t\t\t" . nzshpcrt_form_field_list(get_option('eway_form_state')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> Postal code/Zip code Field </td>\n\t\t\t<td>\n\t\t\t\t<select name='eway_form[post_code]'>\n\t\t\t\t\t" . nzshpcrt_form_field_list(get_option('eway_form_post_code')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> Country Field </td>\n\t\t\t<td>\n\t\t\t\t<select name='eway_form[country]'>\n\t\t\t\t\t" . nzshpcrt_form_field_list(get_option('eway_form_country')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t<td> Email Field </td>\n\t\t\t<td>\n\t\t\t\t<select name='eway_form[email]'>\n\t\t\t\t\t" . nzshpcrt_form_field_list(get_option('eway_form_email')) . "\n\t\t\t\t</select>\n\t\t\t</td>\n\t\t</tr>";
    return $output;
}
开发者ID:hornet9,项目名称:Morato,代码行数:20,代码来源:eway.php


示例10: form_paypal_payflow


//.........这里部分代码省略.........
<tr>
	<td>
		<?php 
    _e('PayPal Accepted Currency (e.g. USD, AUD)', 'wpsc_gold_cart');
    ?>
	</td>
	<td>
	<select name='paypal_payflow_curcode'>
		<?php 
    foreach ($currencies as $currency => $title) {
        $selected = $chosen_currency == $currency ? ' selected="selected"' : '';
        echo "<option{$selected} value='{$currency}'>" . esc_html($title) . "</option>";
    }
    ?>
	  </select>
	</td>
</tr>

<tr>
	<td colspan="2"><h2><?php 
    _e('Forms Sent to Gateway', 'wpsc_gold_cart');
    ?>
</h2></td>
</tr>
<tr>
	<td>
		<?php 
    _e('First Name Field', 'wp 

鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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