PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.5
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.5
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 5.5, at classes/views/frm-entries/show.php

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