PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 4.11.02
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v4.11.02
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 / classes / views / frm-entries / _sidebar-shared-pub.php

_sidebar-shared-pub.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 4.11.02, at classes/views/frm-entries/_sidebar-shared-pub.php

40 lines 1.1 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 if ( ! isset( $entry ) ) {
7 $entry = $record;
8 } ?>
9
10 <div class="misc-pub-section">
11 <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_calendar_icon', array( 'aria-hidden' => 'true' ) ); ?>
12 <span id="timestamp">
13 <?php
14 $date_format = __( 'M j, Y @ G:i', 'formidable' );
15 printf(
16 /* translators: %1$s: The date */
17 esc_html__( 'Submitted: %1$s', 'formidable' ),
18 '<b>' . esc_html( FrmAppHelper::get_localized_date( $date_format, $entry->created_at ) ) . '</b>'
19 );
20 ?>
21 </span>
22 </div>
23
24 <?php if ( $entry->updated_at && $entry->updated_at != $entry->created_at ) { ?>
25 <div class="misc-pub-section">
26 <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_calendar_icon', array( 'aria-hidden' => 'true' ) ); ?>
27 <span id="timestamp">
28 <?php
29 printf(
30 /* translators: %1$s: The date */
31 esc_html__( 'Updated: %1$s', 'formidable' ),
32 '<b>' . esc_html( FrmAppHelper::get_localized_date( $date_format, $entry->updated_at ) ) . '</b>'
33 );
34 ?>
35 </span>
36 </div>
37 <?php } ?>
38
39 <?php do_action( 'frm_entry_shared_sidebar', $entry ); ?>
40