PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.5.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.5.2
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 / subscriptions / sidebar_actions.php

sidebar_actions.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.5.2, at stripe/views/subscriptions/sidebar_actions.php

48 lines 1.4 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 <div class="misc-pub-section">
7 <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_calendar_icon' ); ?>
8 <span id="timestamp" class="frm_link_label">
9 <?php
10 printf(
11 // translators: %s: Timestamp.
12 esc_html__( 'Created on: %1$s', 'formidable' ),
13 '<b>' . esc_html( FrmAppHelper::get_localized_date( $date_format, $subscription->created_at ) ) . '</b>'
14 );
15 ?>
16 </span>
17 </div>
18
19 <?php foreach ( $payments as $payment ) { ?>
20 <div class="misc-pub-section">
21 <?php
22 FrmAppHelper::icon_by_class( 'frm_icon_font ' . ( $payment->status === 'complete' ? 'frm_check1_icon' : 'frm_x_icon' ) );
23 ?>
24 <span class="frm_link_label">
25 <?php echo esc_html( FrmTransLiteAppHelper::formatted_amount( $payment ) ); ?>
26 <a href="?page=formidable-payments&action=show&id=<?php echo absint( $payment->id ); ?>">
27 <?php echo esc_html( FrmAppHelper::get_localized_date( $date_format, $payment->created_at ) ); ?>
28 </a>
29 </span>
30 </div>
31 <?php } ?>
32
33 <?php if ( $subscription->status === 'active' ) { ?>
34 <div class="misc-pub-section">
35 <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_x_icon' ); ?>
36 <span class="frm_link_label">
37 <?php
38 FrmTransLiteSubscriptionsController::show_cancel_link(
39 $subscription,
40 array(
41 'cancel' => __( 'Cancel Subscription', 'formidable' ),
42 )
43 );
44 ?>
45 </span>
46 </div>
47 <?php } ?>
48