Completed
Push — develop ( bfa9f8...b7c424 )
by Zack
19:20
created
includes/admin/metaboxes/views/view-configuration.php 1 patch
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -15,25 +15,25 @@  discard block
 block discarded – undo
15 15
 
16 16
 		<div id="directory-fields" class="gv-section">
17 17
 
18
-			<h4><?php esc_html_e( 'Top Widgets', 'gravityview'); ?> <span><?php esc_html_e( 'These widgets will be shown above entries.', 'gravityview'); ?></span></h4>
18
+			<h4><?php esc_html_e( 'Top Widgets', 'gravityview' ); ?> <span><?php esc_html_e( 'These widgets will be shown above entries.', 'gravityview' ); ?></span></h4>
19 19
 
20
-			<?php do_action('gravityview_render_widgets_active_areas', $curr_template, 'header', $post->ID ); ?>
20
+			<?php do_action( 'gravityview_render_widgets_active_areas', $curr_template, 'header', $post->ID ); ?>
21 21
 
22
-			<h4><?php esc_html_e( 'Entries Fields', 'gravityview'); ?> <span><?php esc_html_e( 'These fields will be shown for each entry.', 'gravityview'); ?></span></h4>
22
+			<h4><?php esc_html_e( 'Entries Fields', 'gravityview' ); ?> <span><?php esc_html_e( 'These fields will be shown for each entry.', 'gravityview' ); ?></span></h4>
23 23
 
24 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 );
25
+				<?php if ( ! empty( $curr_template ) ) {
26
+					do_action( 'gravityview_render_directory_active_areas', $curr_template, 'directory', $post->ID, true );
27 27
 				} ?>
28 28
 			</div>
29 29
 
30
-			<h4><?php esc_html_e( 'Bottom Widgets', 'gravityview'); ?> <i class="gf_tooltip gv_tooltip" title="<?php esc_attr_e( 'These widgets will be shown below entries.', 'gravityview'); ?>"></i></h4>
30
+			<h4><?php esc_html_e( 'Bottom Widgets', 'gravityview' ); ?> <i class="gf_tooltip gv_tooltip" title="<?php esc_attr_e( 'These widgets will be shown below entries.', 'gravityview' ); ?>"></i></h4>
31 31
 
32 32
 			<?php
33 33
 
34
-                do_action('gravityview_render_widgets_active_areas', $curr_template, 'footer', $post->ID );
34
+                do_action( 'gravityview_render_widgets_active_areas', $curr_template, 'footer', $post->ID );
35 35
 
36
-    			do_action('gravityview_render_field_pickers', 'directory' );
36
+    			do_action( 'gravityview_render_field_pickers', 'directory' );
37 37
 
38 38
             ?>
39 39
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             <div id="directory-available-widgets" class="hide-if-js gv-tooltip">
42 42
 				<div aria-live="polite" role="listbox" class="gv-items-picker-container gv-widget-picker-container" data-layout="grid" data-cols="2">
43 43
                 	<button class="close" role="button" aria-label="<?php esc_html_e( 'Close', 'gravityview' ); ?>"><i class="dashicons dashicons-dismiss"></i></button>
44
-					<?php do_action('gravityview_render_available_widgets' ); ?>
44
+					<?php do_action( 'gravityview_render_available_widgets' ); ?>
45 45
 				</div>
46 46
             </div>
47 47
 
@@ -59,21 +59,21 @@  discard block
 block discarded – undo
59 59
 		<div id="single-fields" class="gv-section">
60 60
 
61 61
 			<div class="notice notice-warning inline is-dismissible">
62
-				<h3><?php printf( esc_html__( 'Note: %s', 'gravityview' ), sprintf( esc_html__( 'No fields link to the %s layout.', 'gravityview'), esc_html__( 'Single Entry', 'gravityview' ) ) ); ?></h3>
62
+				<h3><?php printf( esc_html__( 'Note: %s', 'gravityview' ), sprintf( esc_html__( 'No fields link to the %s layout.', 'gravityview' ), esc_html__( 'Single Entry', 'gravityview' ) ) ); ?></h3>
63 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', 'gravityview' ), esc_html__( 'Single Entry', 'gravityview' ) ); ?></a></p>
64 64
 			</div>
65 65
 
66
-			<h4><?php esc_html_e( 'These fields will be shown in Single Entry layout.', 'gravityview'); ?></h4>
66
+			<h4><?php esc_html_e( 'These fields will be shown in Single Entry layout.', 'gravityview' ); ?></h4>
67 67
 
68 68
 			<div id="single-active-fields" class="gv-grid">
69 69
 				<?php
70
-                if(!empty( $curr_template ) ) {
71
-				    do_action('gravityview_render_directory_active_areas', $curr_template, 'single', $post->ID, true );
70
+                if ( ! empty( $curr_template ) ) {
71
+				    do_action( 'gravityview_render_directory_active_areas', $curr_template, 'single', $post->ID, true );
72 72
                 }
73 73
 			    ?>
74 74
 			</div>
75 75
             <?php
76
-                do_action('gravityview_render_field_pickers', 'single' );
76
+                do_action( 'gravityview_render_field_pickers', 'single' );
77 77
 			?>
78 78
 		</div>
79 79
 
@@ -84,20 +84,20 @@  discard block
 block discarded – undo
84 84
 		<div id="edit-fields" class="gv-section">
85 85
 
86 86
 			<div class="notice notice-warning inline is-dismissible">
87
-				<h3><?php printf( esc_html__( 'Note: %s', 'gravityview' ), sprintf( esc_html__( 'No fields link to the %s layout.', 'gravityview'), esc_html__( 'Edit Entry', 'gravityview' ) ) ); ?></h3>
87
+				<h3><?php printf( esc_html__( 'Note: %s', 'gravityview' ), sprintf( esc_html__( 'No fields link to the %s layout.', 'gravityview' ), esc_html__( 'Edit Entry', 'gravityview' ) ) ); ?></h3>
88 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', 'gravityview' ), esc_html__( 'Edit Entry', 'gravityview' ) ); ?></a></p>
89 89
 			</div>
90 90
 
91
-			<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>
91
+			<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>
92 92
 
93 93
 			<div id="edit-active-fields" class="gv-grid">
94 94
 				<?php
95
-				do_action('gravityview_render_directory_active_areas', apply_filters( 'gravityview/template/edit', 'default_table_edit' ), 'edit', $post->ID, true );
95
+				do_action( 'gravityview_render_directory_active_areas', apply_filters( 'gravityview/template/edit', 'default_table_edit' ), 'edit', $post->ID, true );
96 96
 				?>
97 97
 			</div>
98 98
 
99 99
 			<?php
100
-			    do_action('gravityview_render_field_pickers', 'edit' );
100
+			    do_action( 'gravityview_render_field_pickers', 'edit' );
101 101
 			?>
102 102
 
103 103
 		</div>
Please login to merge, or discard this patch.