PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / stripe / views / lists / no-payments.php

no-payments.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More trunk, at stripe/views/lists/no-payments.php

37 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 // Check if this is being called from within a list (no header needed)
7 $is_in_list = isset( $this ) && method_exists( $this, 'no_items' );
8 ?>
9
10 <?php if ( ! $is_in_list ) : ?>
11 <div class="frm_wrap">
12 <?php
13 FrmAppHelper::get_admin_header(
14 array(
15 'label' => __( 'Payments', 'formidable' ),
16 )
17 );
18 ?>
19 <div class="wrap">
20 <?php endif; ?>
21
22 <div class="frm-no-payments-placeholder">
23 <div class="frm-no-payments-content">
24 <img src="<?php echo esc_url( FrmAppHelper::plugin_url() . '/images/no-payments.svg' ); ?>" alt="" class="frm-no-payments-image" />
25 <h2 class="frm-no-payments-title"><?php esc_html_e( 'Start accepting payments', 'formidable' ); ?></h2>
26 <p class="frm-no-payments-description"><?php esc_html_e( 'Connect a payment gateway to collect payments right through your forms. Pick one to get started.', 'formidable' ); ?></p>
27 <a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable-settings&t=stripe_settings' ) ); ?>" class="button button-primary frm-button-primary">
28 <?php esc_html_e( 'Go to Payment Settings', 'formidable' ); ?>
29 </a>
30 </div>
31 </div>
32
33 <?php if ( ! $is_in_list ) : ?>
34 </div>
35 </div>
36 <?php endif; ?>
37