PluginProbe
seQura / 2.0.0
seQura v2.0.0
4.3.4 4.3.3 4.3.2 4.3.1 trunk 2.0.0 2.0.10 2.0.11 2.0.12 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 3.0.0 3.0.2 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 4.0.0 All 30 releases
sequra / templates / payment-fields.php

payment-fields.php in seQura 2.0.0, at templates/payment-fields.php

38 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Payment fields template.
5 *
6 * @package woocommerce-sequra
7 */
8
9 // used in class-sequrapaymentgateway.php.
10 ?>
11 <div id="sq_pm_<?php esc_attr_e( $sq_product_campaign ); ?>" class="sq_payment_method <?php esc_attr_e( $sq_product_campaign ); ?>">
12 <input type="radio" name="sq_product_campaign" value="<?php esc_attr_e( $sq_product_campaign ); ?>" id="sq_product_campaign_<?php esc_attr_e( $sq_product_campaign ); ?>" class="input-radio sq-input-radio" />
13 <label for="sq_product_campaign_<?php esc_attr_e( $sq_product_campaign ); ?>" class="sq_payment_method">
14 <img src="data:image/svg+xml;base64,<?php esc_attr_e( base64_encode( $method['icon'] ) ); ?>" />
15 <div class="sq_payment_method_title_claim">
16 <span class="sq_payment_method_title"><?php echo wp_kses( $method['long_title'], array() ); ?></span>
17 <?php if ( isset( $method['claim'] ) && $method['claim'] ) { ?>
18 <br />
19 <?php echo wp_kses( $method['claim'], array( 'br', 'p', 'b', 'div', 'ol', 'ul', 'li', 'span' ) ); ?>
20 <?php } ?>
21 <?php if ( ! in_array( $method['product'], array( 'fp1' ) ) ) { ?>
22 <span id="sequra_info_link" class="sequra-educational-popup sequra_more_info" data-amount="<?php esc_attr_e( (int) $this->get_order_total() * 100 ); ?>" data-product="<?php esc_attr_e( $method['product'] ); ?>" data-campaign="<?php esc_attr_e( $method['campaign'] ); ?>" rel="sequra_invoice_popup_checkout" title="Más información"><span class="sequra-more-info"> + info</span>
23 </span>
24 <?php } ?>
25 </div>
26 </label>
27 <div class="sq_payment_method_cost">
28 <?php if ( isset( $method['cost_description'] ) ) { ?>
29 <span id="sequra_cost_link_<?php esc_attr_e( $sq_product_campaign ); ?>" class="sequra-educational-popup sequra_cost_description" data-amount="<?php esc_attr_e( (int) $this->get_order_total() * 100 ); ?>" data-product="<?php esc_attr_e( $method['product'] ); ?>" data-campaign="<?php esc_attr_e( $method['campaign'] ); ?>" rel="sequra_invoice_popup_checkout" title="Más información">
30 <span class="sequra-cost"><?php echo wp_kses_post( $method['cost_description'] ); ?></span>
31 </span>
32 <?php } ?>
33 </div>
34 </div>
35 <script>
36 jQuery('.payment_method_sequra').show();
37 </script>
38