@@ -307,7 +307,7 @@ |
||
307 | 307 | ! isset( $value ) // If it's not set, it's empty! |
308 | 308 | || false === $value |
309 | 309 | || null === $value |
310 | - || '' === $value // Empty string |
|
310 | + || '' === $value // Empty string |
|
311 | 311 | || array() === $value // Empty array |
312 | 312 | || ( is_object( $value ) && ! get_object_vars( $value ) ) // Empty object |
313 | 313 | ) { |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Include files that load plugin and theme hooks |
|
4 | - * |
|
5 | - * @file load-plugin-and-theme-hooks.php |
|
6 | - * @package GravityView |
|
7 | - * @license GPL2+ |
|
8 | - * @author Katz Web Services, Inc. |
|
9 | - * @link http://gravityview.co |
|
10 | - * @copyright Copyright 2015, Katz Web Services, Inc. |
|
11 | - * |
|
12 | - * @since 1.15.2 |
|
13 | - */ |
|
3 | + * Include files that load plugin and theme hooks |
|
4 | + * |
|
5 | + * @file load-plugin-and-theme-hooks.php |
|
6 | + * @package GravityView |
|
7 | + * @license GPL2+ |
|
8 | + * @author Katz Web Services, Inc. |
|
9 | + * @link http://gravityview.co |
|
10 | + * @copyright Copyright 2015, Katz Web Services, Inc. |
|
11 | + * |
|
12 | + * @since 1.15.2 |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | |
16 | 16 | /** @define "GRAVITYVIEW_DIR" "../" */ |
@@ -1,17 +1,17 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles, as well as |
|
4 | - * add post meta keys for GravityView to parse when checking for the existence of shortcodes in content. |
|
5 | - * |
|
6 | - * @file abstract-gravityview-plugin-and-theme-hooks.php |
|
7 | - * @package GravityView |
|
8 | - * @license GPL2+ |
|
9 | - * @author Katz Web Services, Inc. |
|
10 | - * @link http://gravityview.co |
|
11 | - * @copyright Copyright 2015, Katz Web Services, Inc. |
|
12 | - * |
|
13 | - * @since 1.15.2 |
|
14 | - */ |
|
3 | + * Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles, as well as |
|
4 | + * add post meta keys for GravityView to parse when checking for the existence of shortcodes in content. |
|
5 | + * |
|
6 | + * @file abstract-gravityview-plugin-and-theme-hooks.php |
|
7 | + * @package GravityView |
|
8 | + * @license GPL2+ |
|
9 | + * @author Katz Web Services, Inc. |
|
10 | + * @link http://gravityview.co |
|
11 | + * @copyright Copyright 2015, Katz Web Services, Inc. |
|
12 | + * |
|
13 | + * @since 1.15.2 |
|
14 | + */ |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles, as well as |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * GravityView preset template |
|
4 | - * |
|
5 | - * @file class-gravityview-preset-resume-board.php |
|
6 | - * @package GravityView |
|
7 | - * @license GPL2+ |
|
8 | - * @author Katz Web Services, Inc. |
|
9 | - * @link http://gravityview.co |
|
10 | - * @copyright Copyright 2015, Katz Web Services, Inc. |
|
11 | - * |
|
12 | - * @since 1.15 |
|
13 | - */ |
|
3 | + * GravityView preset template |
|
4 | + * |
|
5 | + * @file class-gravityview-preset-resume-board.php |
|
6 | + * @package GravityView |
|
7 | + * @license GPL2+ |
|
8 | + * @author Katz Web Services, Inc. |
|
9 | + * @link http://gravityview.co |
|
10 | + * @copyright Copyright 2015, Katz Web Services, Inc. |
|
11 | + * |
|
12 | + * @since 1.15 |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | class GravityView_Preset_Resume_Board extends GravityView_Default_Template_Table { |
16 | 16 |
@@ -116,12 +116,12 @@ |
||
116 | 116 | return $settings; |
117 | 117 | } |
118 | 118 | |
119 | - /** |
|
120 | - * @return string |
|
121 | - */ |
|
122 | - public function get_widget_id() { |
|
123 | - return $this->widget_id; |
|
124 | - } |
|
119 | + /** |
|
120 | + * @return string |
|
121 | + */ |
|
122 | + public function get_widget_id() { |
|
123 | + return $this->widget_id; |
|
124 | + } |
|
125 | 125 | |
126 | 126 | /** |
127 | 127 | * Get the widget settings |
@@ -39,22 +39,22 @@ |
||
39 | 39 | |
40 | 40 | <?php |
41 | 41 | |
42 | - $search_value = rgget( $search_field['name'] ); |
|
42 | + $search_value = rgget( $search_field['name'] ); |
|
43 | 43 | |
44 | - foreach ( $search_field['choices'] as $k => $choice ) { |
|
44 | + foreach ( $search_field['choices'] as $k => $choice ) { |
|
45 | 45 | |
46 | - if ( 0 != $k ) { |
|
47 | - echo esc_html( $links_sep ); |
|
48 | - } |
|
46 | + if ( 0 != $k ) { |
|
47 | + echo esc_html( $links_sep ); |
|
48 | + } |
|
49 | 49 | |
50 | - $active = ( '' !== $search_value && in_array( $search_value, array( $choice['text'], $choice['value'] ) ) ) ? ' class="active"' : false; |
|
50 | + $active = ( '' !== $search_value && in_array( $search_value, array( $choice['text'], $choice['value'] ) ) ) ? ' class="active"' : false; |
|
51 | 51 | |
52 | - if ( $active ) { |
|
53 | - $link = remove_query_arg( array( 'pagenum', $search_field['name'] ), $base_url ); |
|
54 | - } else { |
|
55 | - $link = add_query_arg( array( $search_field['name'] => urlencode( $choice['value'] ) ), remove_query_arg( array('pagenum'), $base_url ) ); |
|
56 | - } |
|
57 | - ?> |
|
52 | + if ( $active ) { |
|
53 | + $link = remove_query_arg( array( 'pagenum', $search_field['name'] ), $base_url ); |
|
54 | + } else { |
|
55 | + $link = add_query_arg( array( $search_field['name'] => urlencode( $choice['value'] ) ), remove_query_arg( array('pagenum'), $base_url ) ); |
|
56 | + } |
|
57 | + ?> |
|
58 | 58 | |
59 | 59 | <a href="<?php echo esc_url_raw( $link ); ?>" <?php echo $active; ?>><?php echo esc_html( $choice['text'] ); ?></a> |
60 | 60 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Display the search MULTISELECT input field |
|
4 | - * |
|
5 | - * @see class-search-widget.php |
|
6 | - */ |
|
3 | + * Display the search MULTISELECT input field |
|
4 | + * |
|
5 | + * @see class-search-widget.php |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | $gravityview_view = GravityView_View::getInstance(); |
9 | 9 | $view_id = $gravityview_view->getViewId(); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Display the search RADIO input field |
|
4 | - * |
|
5 | - * @see class-search-widget.php |
|
6 | - */ |
|
3 | + * Display the search RADIO input field |
|
4 | + * |
|
5 | + * @see class-search-widget.php |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | $gravityview_view = GravityView_View::getInstance(); |
9 | 9 | $view_id = $gravityview_view->getViewId(); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Display the search single CHECKBOX input field ( on/off type) |
|
4 | - * |
|
5 | - * @see class-search-widget.php |
|
6 | - */ |
|
3 | + * Display the search single CHECKBOX input field ( on/off type) |
|
4 | + * |
|
5 | + * @see class-search-widget.php |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | $gravityview_view = GravityView_View::getInstance(); |
9 | 9 | $view_id = $gravityview_view->getViewId(); |