Completed
Push — master ( 71159f...86ffa1 )
by
unknown
06:54
created
includes/admin/fields/date-picker.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 				}
96 96
 
97 97
 			} else {
98
-			    // @todo eventually if a date range picker is needed, this can be extended
98
+				// @todo eventually if a date range picker is needed, this can be extended
99 99
 			}
100 100
 
101 101
 			?>
Please login to merge, or discard this patch.
includes/admin/fields/datetime-format.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -335,7 +335,7 @@
 block discarded – undo
335 335
 	 */
336 336
 	private function meridiem() {
337 337
 
338
-	    ?>
338
+		?>
339 339
 		<div>
340 340
 			<label for="<?php echo $this->id; ?>-meridiem">
341 341
 				<?php _e( 'Meridiem', 'google-calendar-events' ); ?>
Please login to merge, or discard this patch.
includes/admin/fields/standard.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 		       value="<?php echo $this->value; ?>"
58 58
 		       class="<?php echo $this->class; ?>"<?php
59 59
 				echo $this->style ? 'style="' . $this->style . '" ' : ' ';
60
-		        echo $this->placeholder ? 'placeholder="' . $this->placeholder . '"' : ' ';
60
+				echo $this->placeholder ? 'placeholder="' . $this->placeholder . '"' : ' ';
61 61
 				echo $this->attributes; ?>/>
62 62
 		<?php
63 63
 
Please login to merge, or discard this patch.
includes/admin/menus.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -146,11 +146,11 @@
 block discarded – undo
146 146
 			$links = array();
147 147
 			$links['github']         = '<a href="' . simcal_get_url( 'github' ) . '" target="_blank" >GitHub</a>';
148 148
 			$links['documentation']  = '<a href="' . simcal_ga_campaign_url( simcal_get_url( 'docs' ), 'core-plugin', 'plugin-listing' ) . '" target="_blank" >' .
149
-			                           __( 'Documentation', 'google-calendar-events' ) . '</a>';
149
+									   __( 'Documentation', 'google-calendar-events' ) . '</a>';
150 150
 			$links['support']        = '<a href="' . simcal_get_url( 'support' ) . '" target="_blank" >' .
151
-			                           __( 'Support', 'google-calendar-events' ) . '</a>';
151
+									   __( 'Support', 'google-calendar-events' ) . '</a>';
152 152
 			$links['add-ons']        = '<a href="' . simcal_ga_campaign_url( simcal_get_url( 'add-ons' ), 'core-plugin', 'plugin-listing' ) . '" target="_blank" >' .
153
-			                           __( 'Add-ons', 'google-calendar-events' ) . '</a>';
153
+									   __( 'Add-ons', 'google-calendar-events' ) . '</a>';
154 154
 
155 155
 			return apply_filters( 'simcal_plugin_action_links', array_merge( $meta_links, $links ) );
156 156
 		}
Please login to merge, or discard this patch.
includes/admin/pages/licenses.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
75 75
 			'keys' => array(
76 76
 				'title' => __( 'Premium Add-on License Keys', 'google-calendar-events' ),
77 77
 				'description' => __( 'Enter your add-on license keys below, making sure to activate each one to ensure they are valid.', 'google-calendar-events' ) .
78
-				                 '<br/><br/>' .
79
-				                 '<em>' . __( 'Your license keys are used for access to automatic upgrades and premium support.', 'google-calendar-events' ) . '</em>',
78
+								 '<br/><br/>' .
79
+								 '<em>' . __( 'Your license keys are used for access to automatic upgrades and premium support.', 'google-calendar-events' ) . '</em>',
80 80
 			),
81 81
 		);
82 82
 		return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', $sections );
Please login to merge, or discard this patch.
includes/admin/post-types.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -272,9 +272,9 @@
 block discarded – undo
272 272
 
273 273
 		if ( $post_type == 'calendar' && isset( $post->ID ) ) {
274 274
 			echo '<a id="simcal-clear-cache" class="button" data-id="' . $post->ID . ' ">' .
275
-			     '<i class="simcal-icon-spinner simcal-icon-spin" style="display: none;"></i> ' .
276
-			     __( 'Clear cache', 'google-calendar-events' ) .
277
-			     '</a>';
275
+				 '<i class="simcal-icon-spinner simcal-icon-spin" style="display: none;"></i> ' .
276
+				 __( 'Clear cache', 'google-calendar-events' ) .
277
+				 '</a>';
278 278
 		}
279 279
 	}
280 280
 
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -341,8 +341,11 @@
 block discarded – undo
341 341
 						</label>
342 342
 					</p>
343 343
 					<p><input type="button" value="<?php _e( 'Insert Calendar', 'google-calendar-events' ); ?>" id="simcal-insert-shortcode" class="button button-primary button-large" name="" /></p>
344
-				<?php else : ?>
345
-					<p><em><?php _e( 'Could not find any calendars to add to this post.', 'google-calendar-events' ); ?></em></p>
344
+				<?php else {
345
+	: ?>
346
+					<p><em><?php _e( 'Could not find any calendars to add to this post.', 'google-calendar-events' );
347
+}
348
+?></em></p>
346 349
 					<strong><a href="post-new.php?post_type=calendar"><?php _e( 'Please add and configure new calendar first.', 'google-calendar-events' ); ?></a></strong>
347 350
 				<?php endif; ?>
348 351
 			</div>
Please login to merge, or discard this patch.
includes/calendars/views/default-calendar-grid.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -453,10 +453,12 @@
 block discarded – undo
453 453
 					$list_events .= '<button class="simcal-events-toggle"><i class="simcal-icon-down simcal-icon-animate"></i></button>';
454 454
 				endif;
455 455
 
456
-			else :
456
+			else {
457
+				:
457 458
 
458 459
 				// Empty cell for day with no events.
459 460
 				$list_events = '<span class="simcal-no-events"></span>';
461
+			}
460 462
 
461 463
 			endif;
462 464
 
Please login to merge, or discard this patch.
includes/calendars/views/default-calendar-list.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -576,9 +576,11 @@
 block discarded – undo
576 576
 
577 577
 			endforeach;
578 578
 
579
-		else :
579
+		else {
580
+			:
580 581
 
581 582
 			echo "\t" . '<p>';
583
+		}
582 584
 
583 585
 			$message = get_post_meta( $calendar->id, '_no_events_message', true );
584 586
 
Please login to merge, or discard this patch.
includes/functions/shared.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
- * Shared functions
4
- *
5
- * Functions shared by both back end and front end components.
6
- *
7
- * @package SimpleCalendar/Functions
8
- */
3
+	 * Shared functions
4
+	 *
5
+	 * Functions shared by both back end and front end components.
6
+	 *
7
+	 * @package SimpleCalendar/Functions
8
+	 */
9 9
 
10 10
 if ( ! defined( 'ABSPATH' ) ) {
11 11
 	exit;
Please login to merge, or discard this patch.