PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.2.3
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.2.3
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 / show.php

show.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.2.3, at classes/views/frm-entries/show.php

84 lines 2.3 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 id="form_show_entry_page" class="frm_wrap frm_single_entry_page">
7 <div>
8 <?php
9 FrmAppHelper::get_admin_header(
10 array(
11 'label' => __( 'View Entry', 'formidable' ),
12 'form' => $form,
13 'hide_title' => true,
14 'close' => '?page=formidable-entries&form=' . $form->id,
15 )
16 );
17 ?>
18
19 <div class="columns-2">
20
21 <div id="post-body-content" class="frm-fields">
22 <div class="wrap frm-with-margin frm_form_fields">
23 <div class="postbox">
24 <a href="#" class="alignright frm-pre-hndle" data-frmtoggle=".frm-empty-row" data-toggletext="<?php esc_attr_e( 'Hide empty fields', 'formidable' ); ?>">
25 <?php esc_html_e( 'Show empty fields', 'formidable' ); ?>
26 </a>
27 <h3 class="hndle">
28 <span><?php esc_html_e( 'Entry', 'formidable' ); ?></span>
29 <span class="frm-sub-label">
30 <?php
31 printf(
32 /* translators: %d: Entry ID */
33 esc_html__( '(ID %d)', 'formidable' ),
34 esc_attr( $entry->id )
35 );
36 ?>
37 </span>
38 </h3>
39 <?php
40 $show_args = array(
41 'id' => $entry->id,
42 'entry' => $entry,
43 'fields' => $fields,
44 'include_blank' => true,
45 'include_extras' => 'page, section, password',
46 'inline_style' => 0,
47 'class' => 'frm-alt-table',
48 'show_filename' => true,
49 'show_image' => true,
50 'size' => 'thumbnail',
51 'add_link' => true,
52 );
53
54 /**
55 * Allows modifying the arguments when showing entry in the Entries page.
56 *
57 * @since 5.0.16
58 *
59 * @param array $show_args The arguments.
60 * @param array $args Includes `form`.
61 */
62 $show_args = apply_filters( 'frm_entries_show_args', $show_args, compact( 'form' ) );
63
64 echo FrmEntriesController::show_entry_shortcode( $show_args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
65 ?>
66
67 <?php do_action( 'frm_show_entry', $entry ); ?>
68 </div>
69
70 <?php do_action( 'frm_after_show_entry', $entry ); ?>
71 </div>
72 </div>
73
74 <div class="frm-right-panel">
75 <?php
76 do_action( 'frm_show_entry_sidebar', $entry );
77 FrmEntriesController::entry_sidebar( $entry );
78 ?>
79 </div>
80
81 </div>
82 </div>
83 </div>
84