protected function after_table()
    {
        ?>
	<div class="wpsc-form-actions bottom">
		<?php 
        do_action('wpsc_cart_item_table_form_actions_left', self::$instance, 'bottom');
        ?>

		<?php 
        wpsc_begin_checkout_button();
        ?>
		<?php 
        wpsc_form_hidden('_wp_nonce', wp_create_nonce('wpsc-cart-update'));
        ?>

		<?php 
        do_action('wpsc_cart_item_table_form_actions_right', self::$instance, 'bottom');
        ?>
	</div>
	<?php 
        parent::after_table();
        ?>
</form>
<!-- WP eCommerce Cart Form Ends -->
<?php 
    }
    protected function after_table()
    {
        ?>
	<div class="wpsc-form-actions bottom">
		<?php 
        wpsc_begin_checkout_button();
        ?>
		<?php 
        wpsc_form_hidden('_wp_nonce', wp_create_nonce('wpsc-cart-update'));
        ?>
	</div>
</form>
<?php 
    }
    protected function after_table()
    {
        ?>
	<div class="wpsc-form-actions bottom">
		<?php 
        wpsc_keep_shopping_button();
        ?>
		<?php 
        wpsc_begin_checkout_button();
        ?>
		<?php 
        wpsc_form_hidden('_wp_nonce', wp_create_nonce('wpsc-cart-update'));
        ?>
	</div>
	<?php 
        parent::after_table();
        ?>
</form>
<!-- WP eCommerce Cart Form Ends -->
<?php 
    }
示例#4
0
function _wpsc_filter_control_hidden($output, $field, $args)
{
    extract($field);
    $class = $args['id'] . '-hidden wpsc-hidden-input';
    $id = $args['id'] . '-' . $field['name'];
    $output .= wpsc_form_hidden($name, $value, array('class' => $class, 'id' => $id), false);
    return $output;
}