Completed
Push — master ( 72dfec...61887c )
by
unknown
06:50
created
includes/admin/post-types.php 1 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.