4 <input name=
"gv_fields" type=
"hidden" value=
"<?php echo esc_attr( http_build_query( array( 'fields' => get_post_meta( $post->ID, '_gravityview_directory_fields', true ) ) ) ); ?>" />
6 <div
id=
"gv-view-configuration-tabs">
8 <
ul class=
"nav-tab-wrapper">
9 <li><a href=
"#directory-view" class=
"nav-tab"><i
class=
"dashicons dashicons-admin-page tab-icon"></i> <?php echo sprintf( esc_html__(
'%s Layout',
'gk-gravityview' ), esc_html__(
'Multiple Entries',
'gk-gravityview' ) .
'<span class="gv-responsive-label--collapse">' ); ?></span></a></li>
10 <li><a href=
"#single-view" class=
"nav-tab"><i
class=
"dashicons dashicons-media-default tab-icon"></i> <?php echo sprintf( esc_html__(
'%s Layout',
'gk-gravityview' ), esc_html__(
'Single Entry',
'gk-gravityview' ) .
'<span class="gv-responsive-label--collapse">' ); ?></span></a></li>
11 <li><a href=
"#edit-view" class=
"nav-tab"><i
class=
"dashicons dashicons-welcome-write-blog tab-icon"></i> <?php echo sprintf( esc_html__(
'%s Layout',
'gk-gravityview' ), esc_html__(
'Edit Entry',
'gk-gravityview' ) .
'<span class="gv-responsive-label--collapse">' ); ?></span></a></li>
14 <div
id=
"directory-view">
16 <div
id=
"directory-fields" class=
"gv-section">
18 <h4><?php esc_html_e(
'Top Widgets',
'gk-gravityview'); ?> <span><?php esc_html_e(
'These widgets will be shown above entries.',
'gk-gravityview'); ?></span></h4>
20 <?php do_action(
'gravityview_render_widgets_active_areas', $curr_template,
'header',
$post->ID ); ?>
22 <h4><?php esc_html_e(
'Entries Fields',
'gk-gravityview'); ?> <span><?php esc_html_e(
'These fields will be shown for each entry.',
'gk-gravityview'); ?></span></h4>
24 <div
id=
"directory-active-fields" class=
"gv-grid">
25 <?php
if(!empty( $curr_template ) ) {
26 do_action(
'gravityview_render_directory_active_areas', $curr_template,
'directory',
$post->ID,
true );
30 <h4><?php esc_html_e(
'Bottom Widgets',
'gk-gravityview'); ?> <i
class=
"gf_tooltip gv_tooltip" title=
"<?php esc_attr_e( 'These widgets will be shown below entries.', 'gk-gravityview'); ?>"></i></h4>
34 do_action(
'gravityview_render_widgets_active_areas', $curr_template,
'footer',
$post->ID );
36 do_action(
'gravityview_render_field_pickers',
'directory' );
41 <div
id=
"directory-available-widgets" class=
"hide-if-js gv-tooltip">
42 <div aria-live=
"polite" role=
"listbox" class=
"gv-items-picker-container gv-widget-picker-container" data-layout=
"grid" data-cols=
"2">
43 <button
class=
"close" role=
"button" aria-label=
"<?php esc_html_e( 'Close', 'gk-gravityview' ); ?>"><i
class=
"dashicons dashicons-dismiss"></i></button>
44 <?php do_action(
'gravityview_render_available_widgets' ); ?>
57 <div
id=
"single-view">
59 <div
id=
"single-fields" class=
"gv-section">
61 <div
class=
"notice notice-warning inline is-dismissible">
62 <h3><?php printf( esc_html__(
'Note: %s',
'gk-gravityview' ), sprintf( esc_html__(
'No fields link to the %s layout.',
'gk-gravityview'), esc_html__(
'Single Entry',
'gk-gravityview' ) ) ); ?></h3>
63 <p><a data-beacon-article-modal=
"54c67bbae4b0512429885516" href=
"https://docs.gravityview.co/article/70-linking-to-a-single-entry"><?php printf( esc_html__(
'Learn how to link to %s',
'gk-gravityview' ), esc_html__(
'Single Entry',
'gk-gravityview' ) ); ?></a></p>
66 <h4><?php esc_html_e(
'These fields will be shown in Single Entry layout.',
'gk-gravityview'); ?></h4>
68 <div
id=
"single-active-fields" class=
"gv-grid">
70 if(!empty( $curr_template ) ) {
71 do_action(
'gravityview_render_directory_active_areas', $curr_template,
'single',
$post->ID,
true );
76 do_action(
'gravityview_render_field_pickers',
'single' );
84 <div
id=
"edit-fields" class=
"gv-section">
86 <div
class=
"notice notice-warning inline is-dismissible">
87 <h3><?php printf( esc_html__(
'Note: %s',
'gk-gravityview' ), sprintf( esc_html__(
'No fields link to the %s layout.',
'gk-gravityview'), esc_html__(
'Edit Entry',
'gk-gravityview' ) ) ); ?></h3>
88 <p><a data-beacon-article-modal=
"54c67bb9e4b0512429885513" href=
"https://docs.gravityview.co/article/67-configuring-the-edit-entry-screen"><?php printf( esc_html__(
'Learn how to link to %s',
'gk-gravityview' ), esc_html__(
'Edit Entry',
'gk-gravityview' ) ); ?></a></p>
91 <h4><?php esc_html_e(
'Fields shown when editing an entry.',
'gk-gravityview'); ?> <span><?php esc_html_e(
'If not configured, all form fields will be displayed.',
'gk-gravityview'); ?></span></h4>
93 <div
id=
"edit-active-fields" class=
"gv-grid">
95 do_action(
'gravityview_render_directory_active_areas', apply_filters(
'gravityview/template/edit',
'default_table_edit' ),
'edit',
$post->ID,
true );
100 do_action(
'gravityview_render_field_pickers',
'edit' );
108 <input type=
"hidden" name=
"gv_fields_done" value=
"1" />