Completed
Branch FET-5580-registration-cancella... (d3ffee)
by
unknown
795:49 queued 782:35
created
public/Espresso_Arabica_2014/content-espresso_events-thumbnail.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 //echo '<br/><h6 style="color:#2EA2CC;">'. __FILE__ . ' &nbsp; <span style="font-weight:normal;color:#E76700"> Line #: ' . __LINE__ . '</span></h6>';
3 3
 global $post; 
4
-do_action( 'AHEE_event_details_before_featured_img', $post ); 
4
+do_action('AHEE_event_details_before_featured_img', $post); 
5 5
 
6
-if ( has_post_thumbnail( $post->ID )) :
7
-	if ( $img_ID = get_post_thumbnail_id( $post->ID )) :
8
-		if ( $featured_img = wp_get_attachment_image_src( $img_ID, 'large' )) :
9
-			$caption = esc_attr( get_post( get_post( $img_ID ))->post_excerpt );
6
+if (has_post_thumbnail($post->ID)) :
7
+	if ($img_ID = get_post_thumbnail_id($post->ID)) :
8
+		if ($featured_img = wp_get_attachment_image_src($img_ID, 'large')) :
9
+			$caption = esc_attr(get_post(get_post($img_ID))->post_excerpt);
10 10
 			?>
11 11
 <div id="ee-event-img-dv-<?php echo $post->ID; ?>" class="ee-event-img-dv">
12 12
 	<a class="" href="<?php the_permalink(); ?>">
@@ -18,4 +18,4 @@  discard block
 block discarded – undo
18 18
 	endif;
19 19
 endif;
20 20
 ?>		
21
-<?php do_action( 'AHEE_event_details_after_featured_img', $post );?>
21
+<?php do_action('AHEE_event_details_after_featured_img', $post); ?>
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/content-espresso_events-tickets.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 //echo '<br/><h6 style="color:#2EA2CC;">'. __FILE__ . ' &nbsp; <span style="font-weight:normal;color:#E76700"> Line #: ' . __LINE__ . '</span></h6>';
3 3
 global $post;
4
-if ( espresso_display_ticket_selector( $post->ID ) && ( is_single() || ( is_archive() && espresso_display_ticket_selector_in_event_list() ))) :
4
+if (espresso_display_ticket_selector($post->ID) && (is_single() || (is_archive() && espresso_display_ticket_selector_in_event_list()))) :
5 5
 ?>
6 6
 <div class="event-tickets" style="clear: both;">
7
-	<?php espresso_ticket_selector( $post ); ?>
7
+	<?php espresso_ticket_selector($post); ?>
8 8
 </div>
9 9
 <!-- .event-tickets -->
10
-<?php elseif ( ! is_single() ) : ?>
11
-<?php espresso_view_details_btn( $post ); ?>
10
+<?php elseif ( ! is_single()) : ?>
11
+<?php espresso_view_details_btn($post); ?>
12 12
 <?php endif; ?>
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/content-espresso_events-venues.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,11 @@
 block discarded – undo
37 37
 		<?php echo $venue_description; ?>
38 38
 	</p>
39 39
 		<?php endif;  ?>
40
-	<?php else : ?>
41
-		<?php $venue_excerpt = espresso_venue_excerpt( $VNU_ID, FALSE ); ?>
40
+	<?php else {
41
+	: ?>
42
+		<?php $venue_excerpt = espresso_venue_excerpt( $VNU_ID, FALSE );
43
+}
44
+?>
42 45
 		<?php if ( $venue_excerpt ) : ?>
43 46
 	<p>
44 47
 		<strong><?php _e( 'Description:', 'event_espresso' ); ?></strong><br/>
Please login to merge, or discard this patch.
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -1,54 +1,54 @@
 block discarded – undo
1 1
 <?php
2 2
 //echo '<br/><h6 style="color:#2EA2CC;">'. __FILE__ . ' &nbsp; <span style="font-weight:normal;color:#E76700"> Line #: ' . __LINE__ . '</span></h6>';
3
-if (( is_single() && espresso_display_venue_in_event_details() ) || ( is_archive() && espresso_display_venue_in_event_list() ) ) :
3
+if ((is_single() && espresso_display_venue_in_event_details()) || (is_archive() && espresso_display_venue_in_event_list())) :
4 4
 	global $post;
5
-	do_action( 'AHEE_event_details_before_venue_details', $post );
6
-	$venue_name = espresso_venue_name( 0, 'details', FALSE );
7
-	if ( empty( $venue_name ) && espresso_is_venue_private() ) {
8
-		do_action( 'AHEE_event_details_after_venue_details', $post );
5
+	do_action('AHEE_event_details_before_venue_details', $post);
6
+	$venue_name = espresso_venue_name(0, 'details', FALSE);
7
+	if (empty($venue_name) && espresso_is_venue_private()) {
8
+		do_action('AHEE_event_details_after_venue_details', $post);
9 9
 		return '';
10 10
 	}
11 11
 ?>
12 12
 
13 13
 <div class="espresso-venue-dv<?php echo espresso_is_venue_private() ? ' espresso-private-venue-dv' : ''; ?>">
14 14
 	<h3 class="event-venues-h3 ee-event-h3">
15
-		<?php _e( 'Location', 'event_espresso' ); ?>
15
+		<?php _e('Location', 'event_espresso'); ?>
16 16
 	</h3>
17
-	<h4><strong><?php _e( 'Venue:', 'event_espresso' ); ?></strong>&nbsp;&nbsp; <strong> <?php echo $venue_name; ?></strong></h4>
17
+	<h4><strong><?php _e('Venue:', 'event_espresso'); ?></strong>&nbsp;&nbsp; <strong> <?php echo $venue_name; ?></strong></h4>
18 18
 	<p><span class="smaller-text tags-links"><?php echo espresso_venue_categories(); ?></span></p>
19
-<?php  if ( $venue_phone = espresso_venue_phone( $post->ID, FALSE )) : ?>
19
+<?php  if ($venue_phone = espresso_venue_phone($post->ID, FALSE)) : ?>
20 20
 	<p>
21
-		<span class="small-text"><strong><?php _e( 'Venue Phone:', 'event_espresso' ); ?></strong></span> <?php echo $venue_phone; ?>
21
+		<span class="small-text"><strong><?php _e('Venue Phone:', 'event_espresso'); ?></strong></span> <?php echo $venue_phone; ?>
22 22
 	</p>
23
-<?php endif;  ?>
24
-<?php  if ( espresso_venue_has_address( $post->ID )) : ?>
25
-	<strong><span class="dashicons dashicons-location-alt"></span><?php _e( 'Address:', 'event_espresso' ); ?></strong>
26
-	<?php espresso_venue_address( 'inline' ); ?>
27
-	<?php espresso_venue_gmap( $post->ID ); ?>
23
+<?php endif; ?>
24
+<?php  if (espresso_venue_has_address($post->ID)) : ?>
25
+	<strong><span class="dashicons dashicons-location-alt"></span><?php _e('Address:', 'event_espresso'); ?></strong>
26
+	<?php espresso_venue_address('inline'); ?>
27
+	<?php espresso_venue_gmap($post->ID); ?>
28 28
 	<div class="clear"><br/></div>
29
-<?php endif;  ?>
29
+<?php endif; ?>
30 30
 
31
-	<?php $VNU_ID = espresso_venue_id( $post->ID ); ?>
32
-	<?php if ( is_single() ) : ?>
33
-		<?php $venue_description = espresso_venue_description( $VNU_ID, FALSE ); ?>
34
-		<?php if ( $venue_description ) : ?>
31
+	<?php $VNU_ID = espresso_venue_id($post->ID); ?>
32
+	<?php if (is_single()) : ?>
33
+		<?php $venue_description = espresso_venue_description($VNU_ID, FALSE); ?>
34
+		<?php if ($venue_description) : ?>
35 35
 	<p>
36
-		<strong><?php _e( 'Description:', 'event_espresso' ); ?></strong><br/>
37
-		<?php echo do_shortcode( $venue_description ); ?>
36
+		<strong><?php _e('Description:', 'event_espresso'); ?></strong><br/>
37
+		<?php echo do_shortcode($venue_description); ?>
38 38
 	</p>
39
-		<?php endif;  ?>
39
+		<?php endif; ?>
40 40
 	<?php else : ?>
41
-		<?php $venue_excerpt = espresso_venue_excerpt( $VNU_ID, FALSE ); ?>
42
-		<?php if ( $venue_excerpt ) : ?>
41
+		<?php $venue_excerpt = espresso_venue_excerpt($VNU_ID, FALSE); ?>
42
+		<?php if ($venue_excerpt) : ?>
43 43
 	<p>
44
-		<strong><?php _e( 'Description:', 'event_espresso' ); ?></strong><br/>
44
+		<strong><?php _e('Description:', 'event_espresso'); ?></strong><br/>
45 45
 		<?php echo $venue_excerpt; ?>
46 46
 	</p>
47
-			<?php endif;  ?>
48
-		<?php endif;  ?>
47
+			<?php endif; ?>
48
+		<?php endif; ?>
49 49
 </div>
50 50
 <!-- .espresso-venue-dv -->
51 51
 <?php
52
-do_action( 'AHEE_event_details_after_venue_details', $post );
52
+do_action('AHEE_event_details_after_venue_details', $post);
53 53
 endif;
54 54
 ?>
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/content-espresso_venues-header.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php //echo '<h1>' . __FILE__ . '</h1>'; ?>
2 2
 <?php global $post; 
3
-$wrap_class = has_excerpt( $post->ID ) ? ' has-excerpt' : '';
3
+$wrap_class = has_excerpt($post->ID) ? ' has-excerpt' : '';
4 4
 ?>
5
-<header class="venue-header<?php echo $wrap_class;?>">
5
+<header class="venue-header<?php echo $wrap_class; ?>">
6 6
 	<h1 id="venue-details-h1" class="entry-title">
7 7
 		<a class="" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
8 8
 	</h1>
9
-	<?php if ( has_excerpt( $post->ID )) { the_excerpt(); } ?>
9
+	<?php if (has_excerpt($post->ID)) { the_excerpt(); } ?>
10 10
 </header>
11 11
 <!-- .venue-content -->
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/content-espresso_venues-location.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php //echo '<h1>' . __FILE__ . '</h1>'; 
2 2
 global $post; 
3
-if ( espresso_venue_has_address( $post->ID )) :
3
+if (espresso_venue_has_address($post->ID)) :
4 4
 ?>
5 5
 <div class="venue-location">
6 6
 	
7 7
 	<h3 class="venue-address-h3 ee-venue-h3">
8
-		<span class="dashicons dashicons-location-alt"></span><?php _e( 'Location', 'event_espresso' ); ?>
8
+		<span class="dashicons dashicons-location-alt"></span><?php _e('Location', 'event_espresso'); ?>
9 9
 	</h3>
10
-	<span class="small-text"><strong><?php _e( 'Address:', 'event_espresso' ); ?></strong></span><?php espresso_venue_address( 'inline', $post->ID ); ?>
10
+	<span class="small-text"><strong><?php _e('Address:', 'event_espresso'); ?></strong></span><?php espresso_venue_address('inline', $post->ID); ?>
11 11
 	<div class="clear"></div>
12 12
 
13
-	<div class="venue-gmap"><?php espresso_venue_gmap( $post->ID ); ?></div>
13
+	<div class="venue-gmap"><?php espresso_venue_gmap($post->ID); ?></div>
14 14
 	<div class="clear"></div>
15 15
 	
16 16
 </div>
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/content-espresso_venues-thumbnail.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php //echo '<h1>' . __FILE__ . '</h1>'; ?>
2 2
 <?php global $post; ?>
3
-<?php do_action( 'AHEE__content_espresso_venues_template__before_featured_img', $post ); ?>	
3
+<?php do_action('AHEE__content_espresso_venues_template__before_featured_img', $post); ?>	
4 4
 <?php				
5
-if ( has_post_thumbnail( $post->ID )) :
6
-	if ( $img_ID = get_post_thumbnail_id( $post->ID )) :
7
-		if ( $featured_img = wp_get_attachment_image_src( $img_ID, 'large' )) :
8
-			$caption = esc_attr( get_post( get_post( $img_ID ))->post_excerpt );
5
+if (has_post_thumbnail($post->ID)) :
6
+	if ($img_ID = get_post_thumbnail_id($post->ID)) :
7
+		if ($featured_img = wp_get_attachment_image_src($img_ID, 'large')) :
8
+			$caption = esc_attr(get_post(get_post($img_ID))->post_excerpt);
9 9
 			$wrap_class .= ' has-img';
10 10
 			?>
11 11
 <div id="ee-venue-img-dv-<?php echo $post->ID; ?>" class="ee-venue-img-dv">
@@ -18,5 +18,5 @@  discard block
 block discarded – undo
18 18
 	endif;
19 19
 endif;
20 20
 ?>		
21
-<?php do_action( 'AHEE__content_espresso_venues_template__after_featured_img', $post );?>
21
+<?php do_action('AHEE__content_espresso_venues_template__after_featured_img', $post); ?>
22 22
 <!-- .venue-content -->
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/content-espresso_venues.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -11,41 +11,41 @@
 block discarded – undo
11 11
  */
12 12
 
13 13
 global $post;
14
-$wrap_class = has_excerpt( $post->ID ) ? ' has-excerpt' : '';
14
+$wrap_class = has_excerpt($post->ID) ? ' has-excerpt' : '';
15 15
 ?>
16
-<?php do_action( 'AHEE__content_espresso_venues_template__before_post', $post ); ?>
17
-<article id="post-<?php the_ID(); ?>" <?php post_class( 'espresso-venue-details entry-content ' . $wrap_class ); ?>>
16
+<?php do_action('AHEE__content_espresso_venues_template__before_post', $post); ?>
17
+<article id="post-<?php the_ID(); ?>" <?php post_class('espresso-venue-details entry-content '.$wrap_class); ?>>
18 18
 
19
-<?php if ( is_single() ) : ?>
19
+<?php if (is_single()) : ?>
20 20
 
21
-	<div id="espresso-venue-header-dv-<?php echo $post->ID;?>" class="espresso-venue-header-dv">
22
-		<?php espresso_get_template_part( 'content', 'espresso_venues-thumbnail' ); ?>
23
-		<?php espresso_get_template_part( 'content', 'espresso_venues-header' ); ?>
21
+	<div id="espresso-venue-header-dv-<?php echo $post->ID; ?>" class="espresso-venue-header-dv">
22
+		<?php espresso_get_template_part('content', 'espresso_venues-thumbnail'); ?>
23
+		<?php espresso_get_template_part('content', 'espresso_venues-header'); ?>
24 24
 	</div>
25 25
 
26 26
 	<div class="espresso-venue-wrapper-dv">
27
-		<?php espresso_get_template_part( 'content', 'espresso_venues-details' ); ?>
28
-		<?php espresso_get_template_part( 'content', 'espresso_venues-location' ); ?>
27
+		<?php espresso_get_template_part('content', 'espresso_venues-details'); ?>
28
+		<?php espresso_get_template_part('content', 'espresso_venues-location'); ?>
29 29
 		<footer class="venue-meta">
30
-			<?php do_action( 'AHEE__content_espresso_venues_template__footer_top', $post ); ?>
31
-			<?php do_action( 'AHEE__content_espresso_venues_template__footer_bottom', $post ); ?>
30
+			<?php do_action('AHEE__content_espresso_venues_template__footer_top', $post); ?>
31
+			<?php do_action('AHEE__content_espresso_venues_template__footer_bottom', $post); ?>
32 32
 		</footer>
33 33
 	</div>
34 34
 
35
-<?php elseif ( is_archive() ) : ?>
35
+<?php elseif (is_archive()) : ?>
36 36
 
37
-	<div id="espresso-venue-header-dv-<?php echo $post->ID;?>" class="espresso-venue-header-dv">
38
-		<?php espresso_get_template_part( 'content', 'espresso_venues-thumbnail' ); ?>
39
-		<?php espresso_get_template_part( 'content', 'espresso_venues-header' ); ?>
37
+	<div id="espresso-venue-header-dv-<?php echo $post->ID; ?>" class="espresso-venue-header-dv">
38
+		<?php espresso_get_template_part('content', 'espresso_venues-thumbnail'); ?>
39
+		<?php espresso_get_template_part('content', 'espresso_venues-header'); ?>
40 40
 	</div>
41 41
 
42 42
 	<div class="espresso-venue-wrapper-dv">
43
-		<?php espresso_get_template_part( 'content', 'espresso_venues-details' ); ?>
43
+		<?php espresso_get_template_part('content', 'espresso_venues-details'); ?>
44 44
 	</div>
45 45
 
46 46
 <?php endif; ?>
47 47
 
48 48
 </article>
49 49
 <!-- #post -->
50
-<?php do_action( 'AHEE__content_espresso_venues_template__after_post', $post );
50
+<?php do_action('AHEE__content_espresso_venues_template__after_post', $post);
51 51
 
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/functions.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * @ link			http://www.eventespresso.com
10 10
  * @ version		4+
11 11
  */
12
-define( 'EE_THEME_FUNCTIONS_LOADED', TRUE );
12
+define('EE_THEME_FUNCTIONS_LOADED', TRUE);
13 13
  
14 14
 /**
15 15
  * 	espresso_pagination
@@ -20,20 +20,20 @@  discard block
 block discarded – undo
20 20
 function espresso_pagination() {
21 21
 	global $wp_query;
22 22
 	$big = 999999999; // need an unlikely integer
23
-	$pagination = paginate_links( array(
24
-		'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
23
+	$pagination = paginate_links(array(
24
+		'base' => str_replace($big, '%#%', esc_url(get_pagenum_link($big))),
25 25
 		'format' => '?paged=%#%',
26
-		'current' => max( 1, get_query_var('paged') ),
26
+		'current' => max(1, get_query_var('paged')),
27 27
 		'total' => $wp_query->max_num_pages,
28 28
 		'show_all'     => TRUE,
29 29
 		'end_size'     => 10,
30 30
 		'mid_size'     => 6,
31 31
 		'prev_next'    => TRUE,
32
-		'prev_text'    => __( '&lsaquo; PREV', 'event_espresso' ),
33
-		'next_text'    => __( 'NEXT &rsaquo;', 'event_espresso' ),
32
+		'prev_text'    => __('&lsaquo; PREV', 'event_espresso'),
33
+		'next_text'    => __('NEXT &rsaquo;', 'event_espresso'),
34 34
 		'type'         => 'plain',
35 35
 		'add_args'     => FALSE,
36 36
 		'add_fragment' => ''
37 37
 	));
38
-	echo ! empty( $pagination ) ? '<div class="ee-pagination-dv clear">' . $pagination . '</div>' : '';
38
+	echo ! empty($pagination) ? '<div class="ee-pagination-dv clear">'.$pagination.'</div>' : '';
39 39
 }
40 40
\ No newline at end of file
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/loop-espresso_event_attendees.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,21 +15,21 @@
 block discarded – undo
15 15
  * @type bool       $show_gravatar  whether to show gravatar or not.
16 16
  */
17 17
 
18
-$no_attendees_message =  apply_filters( 'FHEE__loop-espresso_attendees-shortcode__template__no_attendees_message', __('No Attendees Yet', 'event_espresso' ) );
18
+$no_attendees_message = apply_filters('FHEE__loop-espresso_attendees-shortcode__template__no_attendees_message', __('No Attendees Yet', 'event_espresso'));
19 19
 
20 20
 
21 21
 ?>
22 22
 
23 23
 <div class="event-attendees">
24
-	<?php do_action( 'AHEE__loop-espresso_event_attendees__before', $contacts, $event, $datetime, $ticket, $show_gravatar ); ?>
25
-	<?php if ( $contacts ) : ?>
24
+	<?php do_action('AHEE__loop-espresso_event_attendees__before', $contacts, $event, $datetime, $ticket, $show_gravatar); ?>
25
+	<?php if ($contacts) : ?>
26 26
 		<ul class="event-attendees-list">
27
-			<?php foreach( $contacts as $contact ) :
28
-				EEH_Template::get_template_part( 'content', 'espresso_event_attendees', array( 'contact' => $contact, 'show_gravatar' => $show_gravatar ) );
27
+			<?php foreach ($contacts as $contact) :
28
+				EEH_Template::get_template_part('content', 'espresso_event_attendees', array('contact' => $contact, 'show_gravatar' => $show_gravatar));
29 29
 				endforeach; ?>
30 30
 		</ul>
31 31
 	<?php else : ?>
32 32
 		<p><?php echo $no_attendees_message; ?></p>
33 33
 	<?php endif; ?>
34
-	<?php do_action( 'AHEE__loop-espresso_event_attendees__after', $contacts, $event, $datetime, $ticket, $show_gravatar ); ?>
34
+	<?php do_action('AHEE__loop-espresso_event_attendees__after', $contacts, $event, $datetime, $ticket, $show_gravatar); ?>
35 35
 </div>
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,11 @@
 block discarded – undo
28 28
 				EEH_Template::get_template_part( 'content', 'espresso_event_attendees', array( 'contact' => $contact, 'show_gravatar' => $show_gravatar ) );
29 29
 				endforeach; ?>
30 30
 		</ul>
31
-	<?php else : ?>
32
-		<p><?php echo $no_attendees_message; ?></p>
31
+	<?php else {
32
+	: ?>
33
+		<p><?php echo $no_attendees_message;
34
+}
35
+?></p>
33 36
 	<?php endif; ?>
34 37
 	<?php do_action( 'AHEE__loop-espresso_event_attendees__after', $contacts, $event, $datetime, $ticket, $show_gravatar ); ?>
35 38
 </div>
36 39
\ No newline at end of file
Please login to merge, or discard this patch.