Completed
Pull Request — master (#605)
by Zack
05:22
created
templates/fields/source_url.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Generate output for the Source URL field
4
- * @package GravityView
5
- * @subpackage GravityView/templates/fields
6
- * @since 1.1.6
7
- */
3
+	 * Generate output for the Source URL field
4
+	 * @package GravityView
5
+	 * @subpackage GravityView/templates/fields
6
+	 * @since 1.1.6
7
+	 */
8 8
 
9 9
 $gravityview_view = GravityView_View::getInstance();
10 10
 
Please login to merge, or discard this patch.
templates/fields/fileupload.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Display the fileupload field type
4
- *
5
- * @package GravityView
6
- * @subpackage GravityView/templates/fields
7
- */
3
+	 * Display the fileupload field type
4
+	 *
5
+	 * @package GravityView
6
+	 * @subpackage GravityView/templates/fields
7
+	 */
8 8
 
9 9
 $gravityview_view = GravityView_View::getInstance();
10 10
 
Please login to merge, or discard this patch.
templates/fields/checkbox.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Checkbox field output
4
- *
5
- * @package GravityView
6
- * @subpackage GravityView/templates/fields
7
- *
8
- */
3
+	 * Checkbox field output
4
+	 *
5
+	 * @package GravityView
6
+	 * @subpackage GravityView/templates/fields
7
+	 *
8
+	 */
9 9
 
10 10
 $gravityview_view = GravityView_View::getInstance();
11 11
 
Please login to merge, or discard this patch.
templates/table-footer.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Display below 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 below 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
 	<tfoot>
12 12
 		<tr>
Please login to merge, or discard this patch.
templates/list-header.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Display above the entries loop when using a list 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 list 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-list-container'); ?>">
Please login to merge, or discard this patch.
templates/fields/email.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Display the Email field type
4
- *
5
- * @package GravityView
6
- * @subpackage GravityView/templates/fields
7
- */
3
+	 * Display the Email field type
4
+	 *
5
+	 * @package GravityView
6
+	 * @subpackage GravityView/templates/fields
7
+	 */
8 8
 
9 9
 $gravityview_view = GravityView_View::getInstance();
10 10
 
Please login to merge, or discard this patch.
templates/fields/gquiz_score.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Display Gravity Forms Quiz value Pass/Fail
4
- *
5
- * @package GravityView
6
- * @subpackage GravityView/templates/fields
7
- */
3
+	 * Display Gravity Forms Quiz value Pass/Fail
4
+	 *
5
+	 * @package GravityView
6
+	 * @subpackage GravityView/templates/fields
7
+	 */
8 8
 
9 9
 $field = GravityView_View::getInstance()->getCurrentField();
10 10
 
Please login to merge, or discard this patch.
templates/list-body.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file templates/list-body.php
4
- *
5
- * Display the entries loop when using a list layout
6
- *
7
- * @package GravityView
8
- * @subpackage GravityView/templates
9
- *
10
- * @global GravityView_View $this
11
- */
3
+			 * @file templates/list-body.php
4
+			 *
5
+			 * Display the entries loop when using a list layout
6
+			 *
7
+			 * @package GravityView
8
+			 * @subpackage GravityView/templates
9
+			 *
10
+			 * @global GravityView_View $this
11
+			 */
12 12
 
13 13
 /**
14 14
  * @action `gravityview_list_body_before` Tap in before the entry loop has been displayed
Please login to merge, or discard this patch.
includes/widgets/search-widget/class-search-widget.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The GravityView New Search widget
4
- *
5
- * @package   GravityView-DataTables-Ext
6
- * @license   GPL2+
7
- * @author    Katz Web Services, Inc.
8
- * @link      http://gravityview.co
9
- * @copyright Copyright 2014, Katz Web Services, Inc.
10
- */
3
+			 * The GravityView New Search widget
4
+			 *
5
+			 * @package   GravityView-DataTables-Ext
6
+			 * @license   GPL2+
7
+			 * @author    Katz Web Services, Inc.
8
+			 * @link      http://gravityview.co
9
+			 * @copyright Copyright 2014, Katz Web Services, Inc.
10
+			 */
11 11
 
12 12
 if ( ! defined( 'WPINC' ) ) {
13 13
 	die;
@@ -384,16 +384,16 @@  discard block
 block discarded – undo
384 384
 		$curr_start = esc_attr( rgget( 'gv_start' ) );
385 385
 		$curr_end = esc_attr( rgget( 'gv_end' ) );
386 386
 
387
-        /**
388
-         * @filter `gravityview_date_created_adjust_timezone` Whether to adjust the timezone for entries. \n
389
-         * date_created is stored in UTC format. Convert search date into UTC (also used on templates/fields/date_created.php)
390
-         * @since 1.12
391
-         * @param[out,in] boolean $adjust_tz  Use timezone-adjusted datetime? If true, adjusts date based on blog's timezone setting. If false, uses UTC setting. Default: true
392
-         * @param[in] string $context Where the filter is being called from. `search` in this case.
393
-         */
394
-        $adjust_tz = apply_filters( 'gravityview_date_created_adjust_timezone', true, 'search' );
395
-        $search_criteria['start_date'] = ( $adjust_tz && !empty( $curr_start ) ) ? get_gmt_from_date( $curr_start ) : $curr_start;
396
-        $search_criteria['end_date'] = ( $adjust_tz  && !empty( $curr_end ) ) ? get_gmt_from_date( $curr_end ) : $curr_end;
387
+		/**
388
+		 * @filter `gravityview_date_created_adjust_timezone` Whether to adjust the timezone for entries. \n
389
+		 * date_created is stored in UTC format. Convert search date into UTC (also used on templates/fields/date_created.php)
390
+		 * @since 1.12
391
+		 * @param[out,in] boolean $adjust_tz  Use timezone-adjusted datetime? If true, adjusts date based on blog's timezone setting. If false, uses UTC setting. Default: true
392
+		 * @param[in] string $context Where the filter is being called from. `search` in this case.
393
+		 */
394
+		$adjust_tz = apply_filters( 'gravityview_date_created_adjust_timezone', true, 'search' );
395
+		$search_criteria['start_date'] = ( $adjust_tz && !empty( $curr_start ) ) ? get_gmt_from_date( $curr_start ) : $curr_start;
396
+		$search_criteria['end_date'] = ( $adjust_tz  && !empty( $curr_end ) ) ? get_gmt_from_date( $curr_end ) : $curr_end;
397 397
 
398 398
 
399 399
 		// search for a specific entry ID
Please login to merge, or discard this patch.