Add upstream

This commit is contained in:
root
2019-10-24 00:12:05 +02:00
parent 85d41e4216
commit ac980f592c
3504 changed files with 1049983 additions and 29971 deletions

View File

@@ -0,0 +1,33 @@
<?php
/**
* Display the Simple Payments Widget.
*
* @package Jetpack
*/
?>
<div class='jetpack-simple-payments-wrapper'>
<div class='jetpack-simple-payments-product'>
<div class='jetpack-simple-payments-product-image' <?php if ( empty( $instance['form_product_image_id'] ) ) echo 'style="display:none;"'; ?>>
<div class='jetpack-simple-payments-image'>
<?php echo wp_get_attachment_image( $instance['form_product_image_id'], 'full' ); ?>
</div>
</div>
<div class='jetpack-simple-payments-details'>
<div class='jetpack-simple-payments-title'><p><?php echo esc_html( $instance['form_product_title'] ); ?></p></div>
<div class='jetpack-simple-payments-description'><p><?php echo esc_html( $instance['form_product_description'] ); ?></p></div>
<div class='jetpack-simple-payments-price'><p><?php echo esc_html( $instance['form_product_price'] ); ?> <?php echo esc_html( $instance['form_product_currency'] ); ?></p></div>
<div class='jetpack-simple-payments-purchase-box'>
<?php if ( $instance['form_product_multiple'] ) { ?>
<div class='jetpack-simple-payments-items'>
<input
type='number'
class='jetpack-simple-payments-items-number'
value='1'
min='1' />
</div>
<?php } ?>
</div>
</div>
</div>
</div>