當前位置: 首頁>>代碼示例>>PHP>>正文


PHP wpsc_get_ajax_spinner函數代碼示例

本文整理匯總了PHP中wpsc_get_ajax_spinner函數的典型用法代碼示例。如果您正苦於以下問題:PHP wpsc_get_ajax_spinner函數的具體用法?PHP wpsc_get_ajax_spinner怎麽用?PHP wpsc_get_ajax_spinner使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了wpsc_get_ajax_spinner函數的14個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: pro_script

 /**
  * WordPress Enqueue for the Pro Script and CSS file
  *
  * @return void
  *
  * @since 3.9
  */
 public static function pro_script()
 {
     if (wpsc_is_checkout()) {
         $pro_loc = array('spinner_url' => wpsc_get_ajax_spinner(), 'loading' => __('Loading...', 'wp-e-commerce'));
         wp_enqueue_script('pro-script-internal', WPSC_URL . '/wpsc-components/merchant-core-v3/gateways/pro.js', array('jquery'));
         wp_enqueue_style('pro-style-internal', WPSC_URL . '/wpsc-components/merchant-core-v3/gateways/pro.css');
         wp_localize_script('pro-script-internal', 'pro_loc', $pro_loc);
     }
 }
開發者ID:ashik968,項目名稱:digiplot,代碼行數:16,代碼來源:paypal-pro.php

示例2: wpsc_javascript_localizations

/**
 * Get the unique names used in checkout forms
 *
 * @since 3.8.14
 * @access private
 *
 * @return array  local variables to add to both admin and front end WPEC javascript
 */
function wpsc_javascript_localizations($localizations = false)
{
    if (!is_array($localizations)) {
        $localizations = array();
    }
    // The default localizations should only be added once per page as we don't want them to be
    // defined more than once in the javascript.
    static $already_added_default_localizations = false;
    if (!$already_added_default_localizations) {
        $localizations['wpsc_ajax'] = array('ajaxurl' => admin_url('admin-ajax.php', 'relative'), 'spinner' => esc_url(wpsc_get_ajax_spinner()), 'no_quotes' => __('It appears that there are no shipping quotes for the shipping information provided.  Please check the information and try again.', 'wpsc'), 'ajax_get_cart_error' => __('There was a problem getting the current contents of the shopping cart.', 'wpsc'), 'slide_to_shipping_error' => true);
        $localizations['base_url'] = site_url();
        $localizations['WPSC_URL'] = WPSC_URL;
        $localizations['WPSC_IMAGE_URL'] = WPSC_IMAGE_URL;
        $localizations['WPSC_CORE_IMAGES_URL'] = WPSC_CORE_IMAGES_URL;
        $localizations['fileThickboxLoadingImage'] = WPSC_CORE_IMAGES_URL . '/loadingAnimation.gif';
        $localizations['msg_shipping_need_recalc'] = __('Please click the <em>Calculate</em> button to refresh your shipping quotes, as your shipping information has been modified.', 'wpsc');
    }
    /**
     * a filter for WPeC components, plugins and themes to alter or add to what is localized into the WPeC javascript.
     *
     * @since 3.8.14
     *
     * @access public
     *
     * @param array $localizations array of localizations being sent to the javascript
     *
     */
    return apply_filters('wpsc_javascript_localizations', $localizations);
}
開發者ID:dreamteam111,項目名稱:dreamteam,代碼行數:37,代碼來源:wpsc-functions.php

示例3: gateway_list_item

    private function gateway_list_item($gateway, $force)
    {
        $checked = in_array($gateway['id'], $this->active_gateways);
        $active = $checked ? 'active' : 'inactive';
        $hidden = $force ? '' : "style='display: none;'";
        $edithidden = $hidden;
        $payment_gateway_names = get_option('payment_gateway_names');
        $display_name = isset($payment_gateway_names[$gateway['id']]) ? $payment_gateway_names[$gateway['id']] : '';
        $gateway_data = false;
        ?>
			<tr class="wpsc-select-gateway <?php 
        echo $active;
        ?>
" data-gateway-id="<?php 
        echo esc_attr($gateway['id']);
        ?>
" id="gateway_list_item_<?php 
        echo $gateway['id'];
        ?>
">
				<th scope="row" class="check-column">
					<label class="screen-reader-text" for="<?php 
        echo esc_attr($gateway['id']);
        ?>
_id"><?php 
        _e("Select", 'wp-e-commerce');
        ?>
 <?php 
        echo esc_html($gateway['name']);
        ?>
</label>
					<input name='wpsc_options[custom_gateway_options][]' <?php 
        checked($checked);
        ?>
 type='checkbox' value='<?php 
        echo esc_attr($gateway['id']);
        ?>
' id='<?php 
        echo esc_attr($gateway['id']);
        ?>
_id' />
				</th>
				<td class="plugin-title">
					<label for='<?php 
        echo esc_attr($gateway['id']);
        ?>
_id'><strong><?php 
        echo esc_html($gateway['name']);
        ?>
</strong></label>
					<div class="row-actions-visible">
						<span class="edit">
							<a class='edit-payment-module' title="<?php 
        esc_attr_e("Edit this Payment Gateway's Settings", 'wp-e-commerce');
        ?>
" href='<?php 
        echo esc_url($this->get_gateway_settings_url($gateway['id']));
        ?>
'><?php 
        esc_html_e('Settings', 'wp-e-commerce');
        ?>
</a>
							<img src="<?php 
        echo esc_url(wpsc_get_ajax_spinner());
        ?>
" class="ajax-feedback" title="" alt="" />
						</span>
					</div>
				</td>
				<td class="plugin-description">
					<?php 
        echo esc_html($display_name);
        ?>
				</td>
			</tr>
			<tr id="wpsc_gateway_settings_<?php 
        echo esc_attr($gateway['id']);
        ?>
" data-gateway-id="<?php 
        echo esc_attr($gateway['id']);
        ?>
" class='gateway_settings <?php 
        echo $active;
        ?>
' <?php 
        echo $hidden;
        ?>
 >
				<td colspan="3" id="wpsc_gateway_settings_<?php 
        echo esc_attr($gateway['id']);
        ?>
_container">
					<?php 
        if ($force) {
            $this->display_payment_gateway_settings_form($gateway['id']);
        }
        ?>
				</td>
			</tr>

//.........這裏部分代碼省略.........
開發者ID:ashik968,項目名稱:digiplot,代碼行數:101,代碼來源:gateway.php

示例4: display_tablenav

    public function display_tablenav($which)
    {
        global $tab;
        if ($tab === 'account') {
            return;
        }
        if (!Sputnik::account_is_linked()) {
            return;
        }
        $account = Sputnik::get_account();
        if ('top' == $which) {
            ?>
			<div class="tablenav top">
				<div class="alignright actions">
<?php 
            if (in_array($tab, array('dashboard', 'search'))) {
                ?>
					<?php 
                Sputnik_Admin::search_form();
            }
            switch ($this->view) {
                case 'list':
                    $view = 'grid';
                    $name = __('Grid', 'wp-e-commerce');
                    break;
                case 'grid':
                    $view = 'list';
                    $name = __('List', 'wp-e-commerce');
                    break;
            }
            ?>
					<!--<a href="<?php 
            echo add_query_arg('view', $view);
            ?>
" class="view-as-<?php 
            echo $view;
            ?>
 button"><?php 
            echo $name;
            ?>
</a>-->
				</div>
<?php 
            $this->pagination($which);
            ?>
				<img src="<?php 
            echo esc_url(wpsc_get_ajax_spinner());
            ?>
" class="ajax-loading list-ajax-loading" alt="" />
				<br class="clear" />
			</div>
		<?php 
        } else {
            ?>
			<div class="tablenav bottom">
				<?php 
            $this->pagination($which);
            ?>
				<img src="<?php 
            echo esc_url(wpsc_get_ajax_spinner());
            ?>
" class="ajax-loading list-ajax-loading" alt="" />
				<br class="clear" />
			</div>
		<?php 
        }
    }
開發者ID:ashik968,項目名稱:digiplot,代碼行數:67,代碼來源:Install.php

示例5: shipping_list_item

    private function shipping_list_item($shipping, $force)
    {
        //get shipping options that are selected
        $selected_shippings = get_option('custom_shipping_options');
        $shipping->checked = is_object($shipping) && in_array($shipping->getInternalName(), (array) $selected_shippings);
        $shipping->active = $shipping->checked ? 'active' : 'inactive';
        $shipping->hidden = $force ? '' : "style='display: none;'";
        $shipping->disabled = isset($shipping->requires_curl) && $shipping->requires_curl && !function_exists('curl_init');
        ?>
			<tr class="wpsc-select-shipping <?php 
        echo $shipping->active;
        ?>
" data-shipping-id="<?php 
        echo esc_attr($shipping->getInternalName());
        ?>
" id="shipping_list_item_<?php 
        echo $shipping->getInternalName();
        ?>
">
				<th scope="row" class="check-column">
					<input name='custom_shipping_options[]' <?php 
        disabled($shipping->disabled);
        ?>
 <?php 
        checked($shipping->checked);
        ?>
 type='checkbox' value='<?php 
        echo $shipping->getInternalName();
        ?>
' id='<?php 
        echo $shipping->getInternalName();
        ?>
_id' />
				</th>
				<td class="plugin-title">
					<label for='<?php 
        echo $shipping->getInternalName();
        ?>
_id'><strong><?php 
        echo $shipping->getName();
        ?>
</strong></label>
					<div class="row-actions-visible">
						<span class="edit">
							<a class='edit-shipping-module' data-module-id="<?php 
        echo $shipping->getInternalName();
        ?>
" title="<?php 
        esc_attr_e('Edit this Shipping Module', 'wp-e-commerce');
        ?>
" href='<?php 
        echo esc_url($this->get_shipping_module_url($shipping));
        ?>
'><?php 
        _ex('Settings', 'Shipping modules link to individual settings', 'wp-e-commerce');
        ?>
							<img src="<?php 
        echo esc_url(wpsc_get_ajax_spinner());
        ?>
" class="ajax-feedback" title="" alt="" />
						</span>
					</div>
				</td>
			</tr>
			<tr id="wpsc_shipping_settings_<?php 
        echo esc_attr($shipping->getInternalName());
        ?>
" data-shipping-id="<?php 
        echo esc_attr($shipping->getInternalName());
        ?>
" class='wpsc-select-shipping <?php 
        echo $shipping->active;
        ?>
' <?php 
        echo $shipping->hidden;
        ?>
 >
				<td colspan="3" id="wpsc_shipping_settings_<?php 
        echo esc_attr($shipping->getInternalName());
        ?>
_container">
					<?php 
        $this->display_shipping_module_settings_form($shipping->getInternalName());
        ?>
				</td>
			</tr>
		<?php 
    }
開發者ID:ashik968,項目名稱:digiplot,代碼行數:88,代碼來源:shipping.php

示例6: column_tracking

    public function column_tracking($item)
    {
        $classes = array('wpsc-purchase-log-tracking-id');
        $empty = empty($item->track_id);
        ?>
			<div data-log-id="<?php 
        echo esc_attr($item->id);
        ?>
" <?php 
        echo $empty ? ' class="empty"' : '';
        ?>
>
				<a class="add" href="#"><?php 
        echo esc_html_x('Add Tracking ID', 'add purchase log tracking id', 'wpsc');
        ?>
</a>
				<input type="text" class="wpsc-purchase-log-tracking-id" value="<?php 
        echo esc_attr($item->track_id);
        ?>
" />
				<a class="button save" href="#"><?php 
        echo esc_html_x('Save', 'save sales log tracking id', 'wpsc');
        ?>
</a>
				<img src="<?php 
        echo esc_url(wpsc_get_ajax_spinner());
        ?>
" class="ajax-feedback" title="" alt="" /><br class="clear" />
				<small class="send-email"><a href="#"><?php 
        echo esc_html_x('Send Email', 'sales log', 'wpsc');
        ?>
</a></small>
			</div>
		<?php 
    }
開發者ID:dreamteam111,項目名稱:dreamteam,代碼行數:35,代碼來源:purchase-log-list-table-class.php

示例7: wpsc_build_taxes_row

    /**
     * generates a row for use in tax settings tables
     *
     * @param string specifies mode of row to generate. Options: rates, bands
     * @param string the key number for the row
     * @param array tax rate settings (used keys: rate, name, country_code, region_code, shipping, index, row_class)
     * */
    function wpsc_build_taxes_row($row_mode = 'rates', $row_key = 0, $tax_rate = false)
    {
        $defaults = array('rate' => null, 'name' => null, 'country_code' => null, 'region_code' => null, 'shipping' => null, 'index' => null, 'row_class' => null);
        $tax_rate = array_merge($defaults, (array) $tax_rate);
        $countries = $this->wpec_taxes->wpec_taxes_get_countries();
        if (!empty($tax_rate['country_code']) && $tax_rate['country_code'] != 'all-markets') {
            $selected_country = array('isocode' => $tax_rate['country_code'], 'country' => wpsc_get_country($tax_rate['country_code']));
        } else {
            $selected_country = array('isocode' => 'all-markets', 'country' => __('All Markets', 'wpsc'));
        }
        ob_start();
        ?>
		<tr id='wpsc-taxes-<?php 
        esc_attr_e($row_mode);
        ?>
-row-<?php 
        esc_attr_e($row_key);
        ?>
' data-row-key="<?php 
        esc_attr_e($row_key);
        ?>
" class='wpsc-tax-<?php 
        esc_attr_e($row_mode);
        ?>
-row <?php 
        esc_attr_e($tax_rate['row_class']);
        ?>
'>

			<?php 
        if ($row_mode == 'bands') {
            // BAND NAME
            ?>
				<td>
					<input type='hidden' id='band-index-<?php 
            esc_attr_e($row_key);
            ?>
' name="wpsc_options[wpec_taxes_bands][<?php 
            esc_attr_e($row_key);
            ?>
][index]" value="<?php 
            esc_attr_e($row_key);
            ?>
" />
					<input id='band-name-<?php 
            esc_attr_e($row_key);
            ?>
' name="wpsc_options[wpec_taxes_bands][<?php 
            esc_attr_e($row_key);
            ?>
][name]" class='taxes-band' type='text' value='<?php 
            esc_attr_e($tax_rate['name']);
            ?>
' />
				</td>
			<?php 
        }
        ?>

			<td>
				<?php 
        // MARKET COUNTRY SELECT
        echo $this->wpec_taxes_build_select_options($countries, 'isocode', 'country', $selected_country, array('id' => $row_mode . "-country-" . $row_key, 'name' => "wpsc_options[wpec_taxes_" . $row_mode . "][" . $row_key . "][country_code]", 'class' => 'wpsc-taxes-country-drop-down', 'data-row-key' => $row_key, 'data-row-mode' => $row_mode));
        // MARKET REGION SELECT
        if (!empty($tax_rate['region_code'])) {
            $regions = $this->wpec_taxes->wpec_taxes_get_regions($tax_rate['country_code']);
            if (!empty($regions)) {
                if ($tax_rate['region_code'] == 'all-markets') {
                    $region_name = 'All Markets';
                } else {
                    $region = new WPSC_Region($tax_rate['country_code'], $tax_rate['region_code']);
                    $region_name = $region->get_name();
                }
                echo $this->wpec_taxes_build_select_options($regions, 'region_code', 'name', array('region_code' => $tax_rate['region_code'], 'name' => $region_name), array('id' => $row_mode . "-region-" . $row_key, 'name' => "wpsc_options[wpec_taxes_" . $row_mode . "][" . $row_key . "][region_code]", 'class' => 'wpsc-taxes-region-drop-down'));
            }
        }
        // if
        ?>
				<img src="<?php 
        echo esc_url(wpsc_get_ajax_spinner());
        ?>
" class="ajax-feedback" title="" alt="" />
			</td>


			<td><?php 
        // TAX RATE
        ?>
				<input type='text' size='3' id="<?php 
        esc_attr_e($row_mode);
        ?>
-rate-<?php 
        esc_attr_e($row_key);
//.........這裏部分代碼省略.........
開發者ID:dreamteam111,項目名稱:dreamteam,代碼行數:101,代碼來源:taxes_controller.class.php

示例8: dg_script

 /**
  * WordPress Enqueue for the Dgital Goods Script and CSS file
  *
  * @return void
  *
  * @since 3.9
  */
 public static function dg_script()
 {
     $dg_loc = array('spinner_url' => wpsc_get_ajax_spinner(), 'loading' => __('Loading...', 'wp-e-commerce'));
     // Checkout Page
     if (wpsc_is_checkout()) {
         wp_enqueue_script('dg-script', 'https://www.paypalobjects.com/js/external/dg.js');
         wp_enqueue_script('dg-script-internal', WPSC_URL . '/wpsc-components/merchant-core-v3/gateways/dg.js', array('jquery'));
         wp_localize_script('dg-script', 'dg_loc', $dg_loc);
     }
     // Cart Page
     if (function_exists('wpsc_is_cart') && wpsc_is_cart()) {
         wp_enqueue_script('dg-script', 'https://www.paypalobjects.com/js/external/dg.js');
         wp_enqueue_script('dg-script-internal', WPSC_URL . '/wpsc-components/merchant-core-v3/gateways/dgs.js', array('jquery'));
         wp_localize_script('dg-script', 'dg_loc', $dg_loc);
     }
 }
開發者ID:benhuson,項目名稱:WP-e-Commerce,代碼行數:23,代碼來源:paypal-digital-goods.php

示例9: display

    /**
     * Display the settings page.
     * @since 3.8.8
     * @uses esc_html_e()     Sanitize HTML
     * @uses esc_attr()       Sanitize HTML attributes
     * @uses wp_nonce_field() Prevent CSRF
     * @uses WPSC_Settings_Page::output_tabs()         Display tab navigation.
     * @uses WPSC_Settings_Page::display_current_tab() Display current tab.
     * @access public
     */
    public function display()
    {
        ?>
			<div id="wpsc_options" class="wrap">
				<div id="icon_card" class="icon32"></div>
				<h2 id="wpsc-settings-page-title">
					<?php 
        esc_html_e('Store Settings', 'wpsc');
        ?>
					<img src="<?php 
        echo esc_url(wpsc_get_ajax_spinner());
        ?>
" class="ajax-feedback" title="" alt="" />
				</h2>
				<?php 
        $this->output_tabs();
        ?>
				<div id='wpsc_options_page'>
					<form method='post' action='<?php 
        echo esc_url($this->submit_url());
        ?>
' enctype='multipart/form-data' id='wpsc-settings-form'>
						<?php 
        $this->display_current_tab();
        ?>
					</form>
				</div>
			</div>
		<?php 
    }
開發者ID:dreamteam111,項目名稱:dreamteam,代碼行數:40,代碼來源:settings-page.php

示例10: display

    public function display()
    {
        global $wpdb;
        ?>
		<h3><?php 
        echo esc_html_e('General Settings', 'wpsc');
        ?>
</h3>
		<table class='wpsc_options form-table'>
			<tr>
				<th scope="row"><label for="wpsc-base-country-drop-down"><?php 
        esc_html_e('Base Country/Region', 'wpsc');
        ?>
</label></th>
				<td>
					<?php 
        wpsc_country_dropdown(array('id' => 'wpsc-base-country-drop-down', 'name' => 'wpsc_options[base_country]', 'selected' => get_option('base_country'), 'include_invisible' => true));
        ?>
					<span id='wpsc-base-region-drop-down'>
						<?php 
        $this->display_region_drop_down();
        ?>
						<img src="<?php 
        echo esc_url(wpsc_get_ajax_spinner());
        ?>
" class="ajax-feedback" title="" alt="" />
					</span>
					<p class='description'><?php 
        esc_html_e('Select your primary business location.', 'wpsc');
        ?>
</p>
				</td>
			</tr>

			<?php 
        /* START OF TARGET MARKET SELECTION */
        $countrylist = WPSC_Countries::get_countries_array(true, true);
        ?>
			<tr>
				<th scope="row">
					<?php 
        esc_html_e('Target Markets', 'wpsc');
        ?>
				</th>
				<td>
					<?php 
        // check for the suhosin module
        if (wpsc_is_suhosin_enabled()) {
            echo "<em>" . __("The Target Markets feature has been disabled because you have the Suhosin PHP extension installed on this server. If you need to use the Target Markets feature then disable the suhosin extension, if you can not do this, you will need to contact your hosting provider.", 'wpsc') . "</em>";
        } else {
            ?>
							<span>
								<?php 
            printf(__('Select: <a href="%1$s"  class="wpsc-select-all" title="All">All</a> <a href="%2$s" class="wpsc-select-none" title="None">None</a>', 'wpsc'), esc_url(add_query_arg(array('selected_all' => 'all'))), esc_url(add_query_arg(array('selected_all' => 'none'))));
            ?>
							</span><br />
							<div id='wpsc-target-markets' class='ui-widget-content multiple-select'>
								<?php 
            foreach ((array) $countrylist as $country) {
                ?>
									<?php 
                if ($country['visible'] == 1) {
                    ?>
										<input type='checkbox' id="countrylist2-<?php 
                    echo $country['id'];
                    ?>
" name='countrylist2[]' value='<?php 
                    echo $country['id'];
                    ?>
' checked='checked' />
										<label for="countrylist2-<?php 
                    echo $country['id'];
                    ?>
"><?php 
                    esc_html_e($country['country']);
                    ?>
</label><br />
									<?php 
                } else {
                    ?>
										<input type='checkbox' id="countrylist2-<?php 
                    echo $country['id'];
                    ?>
" name='countrylist2[]' value='<?php 
                    echo $country['id'];
                    ?>
'  />
										<label for="countrylist2-<?php 
                    echo $country['id'];
                    ?>
"><?php 
                    esc_html_e($country['country']);
                    ?>
</label><br />
									<?php 
                }
                ?>
								<?php 
            }
            ?>
//.........這裏部分代碼省略.........
開發者ID:VanessaGarcia-Freelance,項目名稱:ButtonHut,代碼行數:101,代碼來源:general.php

示例11: display


//.........這裏部分代碼省略.........
            ?>
				<?php 
        } else {
            ?>
					<?php 
            foreach ($this->form_fields as $form_field) {
                ?>

						<tr data-field-id="<?php 
                echo esc_attr($form_field->id);
                ?>
" data-field-type="<?php 
                echo $form_field->type;
                ?>
" id="checkout_<?php 
                echo esc_attr($form_field->id);
                ?>
" class="checkout_form_field field_type_<?php 
                echo $form_field->type;
                ?>
">
							<td class="drag">
								<div class="cell-wrapper">
									<a title="<?php 
                esc_attr_e('Click and Drag to Order Checkout Fields', 'wpsc');
                ?>
">
										<img src="<?php 
                echo esc_url(WPSC_CORE_IMAGES_URL . '/drag.png');
                ?>
" />
									</a>
									<img src="<?php 
                echo esc_url(wpsc_get_ajax_spinner());
                ?>
" class="ajax-feedback" title="" alt="" />
								</div>
							</td>
							<td class="namecol">
								<div class="cell-wrapper">
									<input type="text" name="form_name[<?php 
                echo esc_attr($form_field->id);
                ?>
]" value="<?php 
                echo esc_attr($form_field->name);
                ?>
" />
								</div>
							</td>
							<td class="typecol">
								<div class="cell-wrapper">
									<?php 
                if ($this->is_field_default($form_field)) {
                    ?>
										<strong><?php 
                    echo esc_html($form_field->type);
                    ?>
</strong>
									<?php 
                } else {
                    ?>
										<select name="form_type[<?php 
                    echo esc_attr($form_field->id);
                    ?>
]">
											<?php 
開發者ID:RJHanson292,項目名稱:WP-e-Commerce,代碼行數:67,代碼來源:checkout.php

示例12: display_tablenav

    public function display_tablenav($which)
    {
        global $tab;
        if ($tab === 'account') {
            return;
        }
        $account = Sputnik::get_account();
        if ('top' == $which) {
            ?>
			<div class="tablenav top">
				<div class="alignright account">
					<?php 
            printf(__('Logged in as %s', 'wp-e-commerce'), '<a href="' . menu_page_url('sputnik-account', false) . '" class="account-link">' . $account->name . '</a>');
            if ($tab === 'search') {
                ?>
					<?php 
                Sputnik_Admin::search_form();
            }
            ?>
				</div>
<?php 
            $this->pagination($which);
            ?>
				<img src="<?php 
            echo esc_url(wpsc_get_ajax_spinner());
            ?>
" class="ajax-loading list-ajax-loading" alt="" />
				<br class="clear" />
			</div>
		<?php 
        } else {
            ?>
			<div class="tablenav bottom">
				<?php 
            $this->pagination($which);
            ?>
				<img src="<?php 
            echo esc_url(wpsc_get_ajax_spinner());
            ?>
" class="ajax-loading list-ajax-loading" alt="" />
				<br class="clear" />
			</div>
		<?php 
        }
    }
開發者ID:ashik968,項目名稱:digiplot,代碼行數:45,代碼來源:Grid.php

示例13: esc_html_e

esc_html_e("Enter new variants", 'wp-e-commerce');
?>
</label>
			<input type="text" class="text-field" id="new-variants" /><br />
		</p>
		<p class="howto"><?php 
esc_html_e("Example: Red, Green, Blue. Separate variants with commas.", 'wp-e-commerce');
?>
</p>
		<p>
			<a class="button" href="#"><?php 
esc_html_e('Add New Variants', 'wp-e-commerce');
?>
</a>
			<img src="<?php 
echo esc_url(wpsc_get_ajax_spinner());
?>
" class="ajax-feedback" title="" alt="" /><br class="clear" />
		</p>
	</div>

	<p><a name='variation_control'>&nbsp;</a><?php 
_e('Select the Variation sets and then the corresponding Variants you want to add to this product.', 'wp-e-commerce');
?>
</p>

	<form action="" method="post">
		<ul class="variation_checkboxes">
			<?php 
wp_terms_checklist($this->parent_id, array('taxonomy' => 'wpsc-variation', 'walker' => new WPSC_Walker_Variation_Checklist(), 'checked_ontop' => false));
?>
開發者ID:ashik968,項目名稱:digiplot,代碼行數:31,代碼來源:product-variations-setup.page.php

示例14: display

    /**
     * Display the settings page.
     * @since 3.8.8
     * @uses esc_html_e()     Sanitize HTML
     * @uses esc_attr()       Sanitize HTML attributes
     * @uses wp_nonce_field() Prevent CSRF
     * @uses WPSC_Settings_Page::output_tabs()         Display tab navigation.
     * @uses WPSC_Settings_Page::display_current_tab() Display current tab.
     * @access public
     */
    public function display()
    {
        ?>
			<div id="wpsc_options" class="wrap">
				<div id="icon_card" class="icon32"></div>
				<h2 id="wpsc-settings-page-title">
					<?php 
        esc_html_e('Store Settings', 'wp-e-commerce');
        ?>
					<?php 
        if (current_user_can('customize') && '2.0' == get_option('wpsc_get_active_theme_engine')) {
            printf(' <a class="page-title-action hide-if-no-customize" href="%1$s">%2$s</a>', esc_url(add_query_arg(array(array('autofocus' => array('panel' => 'wpsc')), 'return' => urlencode(wp_unslash($_SERVER['REQUEST_URI']))), admin_url('customize.php'))), __('Manage in Customizer'));
        }
        ?>
					<img src="<?php 
        echo esc_url(wpsc_get_ajax_spinner());
        ?>
" class="ajax-feedback" title="" alt="" />
				</h2>
				<?php 
        $this->output_tabs();
        ?>
				<div id='wpsc_options_page'>
					<form method='post' action='<?php 
        echo esc_url($this->submit_url());
        ?>
' enctype='multipart/form-data' id='wpsc-settings-form'>
						<?php 
        $this->display_current_tab();
        ?>
					</form>
				</div>
			</div>
		<?php 
    }
開發者ID:benhuson,項目名稱:WP-e-Commerce,代碼行數:45,代碼來源:settings-page.php


注:本文中的wpsc_get_ajax_spinner函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。