@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | if( !empty( $field_settings['make_clickable'] ) ) { |
21 | - $value = make_clickable( $value ); |
|
21 | + $value = make_clickable( $value ); |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | if( ! empty( $field_settings['new_window'] ) ) { |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Display above the entries loop when using a table layout |
|
4 | - * |
|
5 | - * @package GravityView |
|
6 | - * @subpackage GravityView/templates |
|
7 | - * |
|
8 | - * @global GravityView_View $this |
|
9 | - */ |
|
3 | + * Display above the entries loop when using a table layout |
|
4 | + * |
|
5 | + * @package GravityView |
|
6 | + * @subpackage GravityView/templates |
|
7 | + * |
|
8 | + * @global GravityView_View $this |
|
9 | + */ |
|
10 | 10 | ?> |
11 | 11 | <?php gravityview_before(); ?> |
12 | 12 | <div class="<?php gv_container_class('gv-table-container'); ?>"> |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Display a single entry when using a table template |
|
4 | - * |
|
5 | - * @package GravityView |
|
6 | - * @subpackage GravityView/templates |
|
7 | - * |
|
8 | - * @global GravityView_View $this |
|
9 | - */ |
|
3 | + * Display a single entry when using a table template |
|
4 | + * |
|
5 | + * @package GravityView |
|
6 | + * @subpackage GravityView/templates |
|
7 | + * |
|
8 | + * @global GravityView_View $this |
|
9 | + */ |
|
10 | 10 | ?> |
11 | 11 | <?php gravityview_before(); ?> |
12 | 12 |
@@ -28,10 +28,10 @@ |
||
28 | 28 | |
29 | 29 | $show_mt = $this->show_merge_tags(); |
30 | 30 | |
31 | - if( $show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force' ) { |
|
32 | - $class = 'merge-tag-support mt-position-right mt-hide_all_fields '; |
|
33 | - } |
|
34 | - $class .= !empty( $this->field['class'] ) ? $this->field['class'] : 'widefat'; |
|
31 | + if( $show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force' ) { |
|
32 | + $class = 'merge-tag-support mt-position-right mt-hide_all_fields '; |
|
33 | + } |
|
34 | + $class .= !empty( $this->field['class'] ) ? $this->field['class'] : 'widefat'; |
|
35 | 35 | |
36 | 36 | ?> |
37 | 37 | <input name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>" type="text" value="<?php echo esc_attr( $this->value ); ?>" class="<?php echo esc_attr( $class ); ?>"> |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * GravityView oEmbed handling |
|
4 | - * |
|
5 | - * @package GravityView |
|
6 | - * @license GPL2+ |
|
7 | - * @author Katz Web Services, Inc. |
|
8 | - * @link http://gravityview.co |
|
9 | - * @copyright Copyright 2014, Katz Web Services, Inc. |
|
10 | - * @since 1.6 |
|
11 | - */ |
|
3 | + * GravityView oEmbed handling |
|
4 | + * |
|
5 | + * @package GravityView |
|
6 | + * @license GPL2+ |
|
7 | + * @author Katz Web Services, Inc. |
|
8 | + * @link http://gravityview.co |
|
9 | + * @copyright Copyright 2014, Katz Web Services, Inc. |
|
10 | + * @since 1.6 |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | if ( ! defined( 'ABSPATH' ) ) { |
14 | 14 | die; |
@@ -184,8 +184,8 @@ |
||
184 | 184 | // Get the settings for the View ID |
185 | 185 | $view_settings = gravityview_get_template_settings( $instance['view_id'] ); |
186 | 186 | |
187 | - // Set the context view ID to avoid conflicts with the Advanced Filter extension. |
|
188 | - $criteria['context_view_id'] = $instance['view_id']; |
|
187 | + // Set the context view ID to avoid conflicts with the Advanced Filter extension. |
|
188 | + $criteria['context_view_id'] = $instance['view_id']; |
|
189 | 189 | |
190 | 190 | $instance['limit'] = isset( $instance['limit'] ) ? $instance['limit'] : 10; |
191 | 191 | $view_settings['id'] = $instance['view_id']; |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Display the Search widget |
|
4 | - * |
|
5 | - * @see class-search-widget.php |
|
6 | - */ |
|
3 | + * Display the Search widget |
|
4 | + * |
|
5 | + * @see class-search-widget.php |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | $gravityview_view = GravityView_View::getInstance(); |
9 | 9 |
@@ -26,19 +26,19 @@ discard block |
||
26 | 26 | |
27 | 27 | // Prepare paging criteria |
28 | 28 | $criteria['paging'] = array( |
29 | - 'offset' => 0, |
|
30 | - 'page_size' => $view_settings['page_size'] |
|
29 | + 'offset' => 0, |
|
30 | + 'page_size' => $view_settings['page_size'] |
|
31 | 31 | ); |
32 | 32 | |
33 | 33 | // Prepare Search Criteria |
34 | 34 | $criteria['search_criteria'] = array( |
35 | - 'field_filters' => array( |
|
36 | - array( |
|
37 | - 'key' => 'created_by', |
|
38 | - 'value' => $created_by, |
|
39 | - 'operator' => 'is' |
|
40 | - ) |
|
41 | - ) |
|
35 | + 'field_filters' => array( |
|
36 | + array( |
|
37 | + 'key' => 'created_by', |
|
38 | + 'value' => $created_by, |
|
39 | + 'operator' => 'is' |
|
40 | + ) |
|
41 | + ) |
|
42 | 42 | ); |
43 | 43 | $criteria['search_criteria'] = GravityView_frontend::process_search_only_approved( $view_settings, $criteria['search_criteria'] ); |
44 | 44 | $criteria['search_criteria']['status'] = apply_filters( 'gravityview_status', 'active', $view_settings ); |
@@ -80,5 +80,5 @@ discard block |
||
80 | 80 | */ |
81 | 81 | $deprecated = apply_filters( 'gravityview/field/other_entries/args', array(), $field ); |
82 | 82 | if ( !empty( $deprecated ) ) { |
83 | - _deprecated_function( 'The "gravityview/field/other_entries/args" filter', 'GravityView 1.11', 'gravityview/field/other_entries/criteria' ); |
|
83 | + _deprecated_function( 'The "gravityview/field/other_entries/args" filter', 'GravityView 1.11', 'gravityview/field/other_entries/criteria' ); |
|
84 | 84 | } |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Display the number field type |
|
4 | - * |
|
5 | - * @since 1.13 |
|
6 | - * |
|
7 | - * @package GravityView |
|
8 | - * @subpackage GravityView/templates/fields |
|
9 | - */ |
|
3 | + * Display the number field type |
|
4 | + * |
|
5 | + * @since 1.13 |
|
6 | + * |
|
7 | + * @package GravityView |
|
8 | + * @subpackage GravityView/templates/fields |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | $gravityview_view = GravityView_View::getInstance(); |
12 | 12 |