GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
view-configuration.php
Go to the documentation of this file.
1 <div id="gv-view-configuration-tabs">
2 
3  <ul class="nav-tab-wrapper">
4  <li><a href="#directory-view" class="nav-tab"><i class="dashicons dashicons-admin-page"></i> <?php esc_html_e( 'Multiple Entries', 'gravityview' ); ?></a></li>
5  <li><a href="#single-view" class="nav-tab"><i class="dashicons dashicons-media-default"></i> <?php esc_html_e( 'Single Entry', 'gravityview' ); ?></a></li>
6  <li><a href="#edit-view" class="nav-tab"><i class="dashicons dashicons-welcome-write-blog"></i> <?php esc_html_e( 'Edit Entry', 'gravityview' ); ?></a></li>
7  </ul>
8 
9  <div id="directory-view">
10 
11  <div id="directory-fields" class="gv-section">
12 
13  <h4><?php esc_html_e( 'Above Entries Widgets', 'gravityview'); ?> <span><?php esc_html_e( 'These widgets will be shown above entries.', 'gravityview'); ?></span></h4>
14 
15  <?php do_action('gravityview_render_widgets_active_areas', $curr_template, 'header', $post->ID ); ?>
16 
17  <h4><?php esc_html_e( 'Entries Fields', 'gravityview'); ?> <span><?php esc_html_e( 'These fields will be shown for each entry.', 'gravityview'); ?></span></h4>
18 
19  <div id="directory-active-fields" class="gv-grid gv-grid-pad gv-grid-border">
20  <?php if(!empty( $curr_template ) ) {
21  do_action('gravityview_render_directory_active_areas', $curr_template, 'directory', $post->ID, true );
22  } ?>
23  </div>
24 
25  <h4><?php esc_html_e( 'Below Entries Widgets', 'gravityview'); ?> <span><?php esc_html_e( 'These widgets will be shown below entries.', 'gravityview'); ?></span></h4>
26 
27  <?php do_action('gravityview_render_widgets_active_areas', $curr_template, 'footer', $post->ID ); ?>
28 
29 
30  <?php // list of available fields to be shown in the popup ?>
31  <div id="directory-available-fields" class="hide-if-js gv-tooltip">
32  <span class="close"><i class="dashicons dashicons-dismiss"></i></span>
33  <?php do_action('gravityview_render_available_fields', $curr_form, 'directory' ); ?>
34  </div>
35 
36  <?php // list of available widgets to be shown in the popup ?>
37  <div id="directory-available-widgets" class="hide-if-js gv-tooltip">
38  <span class="close"><i class="dashicons dashicons-dismiss"></i></span>
39  <?php do_action('gravityview_render_available_widgets' ); ?>
40  </div>
41 
42  </div>
43 
44 
45  </div><?php //end directory tab ?>
46 
47 
48 
49  <?php // Single View Tab ?>
50 
51  <div id="single-view">
52 
53  <div id="single-fields" class="gv-section">
54 
55  <h4><?php esc_html_e( 'These fields will be shown in Single Entry view.', 'gravityview'); ?></h4>
56 
57  <div id="single-active-fields" class="gv-grid gv-grid-pad gv-grid-border">
58  <?php if(!empty( $curr_template ) ) {
59  do_action('gravityview_render_directory_active_areas', $curr_template, 'single', $post->ID, true );
60  } ?>
61  </div>
62 
63  <div id="single-available-fields" class="hide-if-js gv-tooltip">
64  <span class="close"><i class="dashicons dashicons-dismiss"></i></span>
65  <?php do_action('gravityview_render_available_fields', $curr_form, 'single' ); ?>
66  </div>
67 
68  </div>
69 
70  </div> <?php // end single view tab ?>
71 
72  <div id="edit-view">
73 
74  <div id="edit-fields" class="gv-section">
75 
76  <h4><?php esc_html_e( 'Fields shown when editing an entry.', 'gravityview'); ?> <span><?php esc_html_e('If not configured, all form fields will be displayed.', 'gravityview'); ?></span></h4>
77 
78  <div id="edit-active-fields" class="gv-grid gv-grid-pad gv-grid-border">
79  <?php
80  do_action('gravityview_render_directory_active_areas', apply_filters( 'gravityview/template/edit', 'default_table_edit' ), 'edit', $post->ID, true );
81  ?>
82  </div>
83 
84  <div id="edit-available-fields" class="hide-if-js gv-tooltip">
85  <span class="close"><i class="dashicons dashicons-dismiss"></i></span>
86  <?php do_action('gravityview_render_available_fields', $curr_form, 'edit' ); ?>
87  </div>
88 
89  </div>
90 
91  </div> <?php // end edit view tab ?>
92 
93 </div> <?php // end tabs ?>
scale description ul
$curr_form
Definition: sort-filter.php:9
global $post