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
← All changes | classes/views/frm-entries/show.php +17 -5 6.4.1 → trunk View file →
@@ -1,5 +1,16 @@
1 1 <?php
2 +/**
3 + * Entry show page.
4 + *
5 + * @package Formidable
6 + *
7 + * @var stdClass $form Form object.
8 + * @var stdClass $entry Entry object.
9 + * @var array $fields Field objects for the entry.
10 + * @var int $id Entry ID.
11 + */
12 +
2 13 if ( ! defined( 'ABSPATH' ) ) {
3 14 die( 'You are not allowed to call this page directly.' );
4 15 }
5 16 ?>
@@ -7,12 +18,12 @@
7 18 <div>
8 19 <?php
9 20 FrmAppHelper::get_admin_header(
10 21 array(
11 - 'label' => __( 'View Entry', 'formidable' ),
12 - 'form' => $form,
13 - 'hide_title' => true,
14 - 'close' => '?page=formidable-entries&form=' . $form->id,
22 + 'label' => __( 'View Entry', 'formidable' ),
23 + 'form' => $form,
24 + 'hide_title' => true,
25 + 'close' => '?page=formidable-entries&form=' . $form->id,
15 26 )
16 27 );
17 28 ?>
18 29
@@ -37,9 +48,9 @@
37 48 ?>
38 49
39 50 <div class="wrap frm-with-margin frm_form_fields">
40 51 <div class="postbox">
41 - <a href="#" class="alignright frm-pre-hndle" data-frmtoggle=".frm-empty-row" data-toggletext="<?php esc_attr_e( 'Hide empty fields', 'formidable' ); ?>">
52 + <a href="#" id="frm-entry-show-empty-fields" class="alignright frm-pre-hndle" data-frmtoggle=".frm-empty-row" data-toggletext="<?php esc_attr_e( 'Hide empty fields', 'formidable' ); ?>">
42 53 <?php esc_html_e( 'Show empty fields', 'formidable' ); ?>
43 54 </a>
44 55 <h3 class="hndle">
45 56 <span><?php esc_html_e( 'Entry', 'formidable' ); ?></span>
@@ -75,8 +86,9 @@
75 86 *
76 87 * @param array $show_args The arguments.
77 88 * @param array $args Includes `form`.
78 89 */
90 + // skipcq: PHP-W1020
79 91 $show_args = apply_filters( 'frm_entries_show_args', $show_args, compact( 'form' ) );
80 92
81 93 echo FrmEntriesController::show_entry_shortcode( $show_args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
82 94 ?>