Commit realizado el 12:13:52 08-04-2024
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Payment Recurring Item HTML template.
|
||||
*
|
||||
* @since 1.8.4
|
||||
*
|
||||
* @var string $plan_id Plan ID.
|
||||
* @var string $content Recurring payment content.
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="wpforms-panel-content-section-payment-plan" data-plan-id="<?php echo esc_attr( $plan_id ); ?>">
|
||||
<div class="wpforms-panel-content-section-payment-plan-head">
|
||||
<div class="wpforms-panel-content-section-payment-plan-head-title"></div>
|
||||
<div class="wpforms-panel-content-section-payment-plan-head-buttons">
|
||||
<i class="wpforms-panel-content-section-payment-plan-head-buttons-delete fa fa-trash-o"></i>
|
||||
<i class="wpforms-panel-content-section-payment-plan-head-buttons-toggle fa fa-chevron-circle-down"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wpforms-panel-content-section-payment-plan-body"><?php echo $content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></div>
|
||||
</div>
|
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Payments sidebar button in the builder.
|
||||
*
|
||||
* @since 1.8.2
|
||||
*
|
||||
* @var string $configured Whether payment is configured.
|
||||
* @var string $slug Slug of the payment integration.
|
||||
* @var string $icon Icon of the payment integration.
|
||||
* @var string $name Name of the payment integration.
|
||||
* @var bool $recommended Whether payment is recommended.
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<a href="#" class="wpforms-panel-sidebar-section icon <?php echo esc_attr( $configured ); ?> wpforms-panel-sidebar-section-<?php echo esc_attr( $slug ); ?>" data-section="<?php echo esc_attr( $slug ); ?>">
|
||||
|
||||
<img src="<?php echo esc_url( $icon ); ?>" alt="<?php echo esc_attr( $name ); ?>">
|
||||
|
||||
<?php echo esc_html( $name ); ?>
|
||||
|
||||
<?php if ( ! empty( $recommended ) ) : ?>
|
||||
<span class="wpforms-panel-sidebar-recommended">
|
||||
<i class="fa fa-star" aria-hidden="true"></i>
|
||||
<?php esc_html_e( 'Recommended', 'wpforms-lite' ); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<i class="fa fa-angle-right wpforms-toggle-arrow"></i>
|
||||
|
||||
<?php if ( ! empty( $configured ) ) : ?>
|
||||
<i class="fa fa-check-circle-o"></i>
|
||||
<?php endif; ?>
|
||||
</a>
|
Reference in New Issue
Block a user