Completed
Branch FET-8365-add-indexes (a11c78)
by
unknown
557:35 queued 539:49
created
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_events.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 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
 /**
4
- * This template will display a single event - copy it to your theme folder
5
- *
6
- * @ package		Event Espresso
7
- * @ author		Seth Shoultes
8
- * @ copyright	(c) 2008-2013 Event Espresso  All Rights Reserved.
9
- * @ license		http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
10
- * @ link			http://www.eventespresso.com
11
- * @ version		4+
12
- */
4
+	 * This template will display a single event - copy it to your theme folder
5
+	 *
6
+	 * @ package		Event Espresso
7
+	 * @ author		Seth Shoultes
8
+	 * @ copyright	(c) 2008-2013 Event Espresso  All Rights Reserved.
9
+	 * @ license		http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
10
+	 * @ link			http://www.eventespresso.com
11
+	 * @ version		4+
12
+	 */
13 13
 
14 14
 global $post;
15 15
 $event_class = has_excerpt( $post->ID ) ? ' has-excerpt' : '';
Please login to merge, or discard this patch.
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -18,52 +18,52 @@
 block discarded – undo
18 18
  * and/or use any of the template tags functions found in:
19 19
  * \wp-content\plugins\event-espresso-core\public\template_tags.php
20 20
  ************************** IMPORTANT **************************/
21
-add_filter( 'FHEE__content_espresso_events__template_loaded', '__return_true' );
21
+add_filter('FHEE__content_espresso_events__template_loaded', '__return_true');
22 22
 
23 23
 //echo '<br/><h6 style="color:#2EA2CC;">'. __FILE__ . ' &nbsp; <span style="font-weight:normal;color:#E76700"> Line #: ' . __LINE__ . '</span></h6>';
24 24
 
25 25
 global $post;
26
-$event_class = has_excerpt( $post->ID ) ? ' has-excerpt' : '';
27
-$event_class = apply_filters( 'FHEE__content_espresso_events__event_class', $event_class );
26
+$event_class = has_excerpt($post->ID) ? ' has-excerpt' : '';
27
+$event_class = apply_filters('FHEE__content_espresso_events__event_class', $event_class);
28 28
 ?>
29
-<?php do_action( 'AHEE_event_details_before_post', $post ); ?>
30
-<article id="post-<?php the_ID(); ?>" <?php post_class( $event_class ); ?>>
29
+<?php do_action('AHEE_event_details_before_post', $post); ?>
30
+<article id="post-<?php the_ID(); ?>" <?php post_class($event_class); ?>>
31 31
 
32
-<?php if ( is_single() ) : ?>
32
+<?php if (is_single()) : ?>
33 33
 
34
-	<div id="espresso-event-header-dv-<?php echo $post->ID;?>" class="espresso-event-header-dv">
35
-		<?php espresso_get_template_part( 'content', 'espresso_events-thumbnail' ); ?>
36
-		<?php espresso_get_template_part( 'content', 'espresso_events-header' ); ?>
34
+	<div id="espresso-event-header-dv-<?php echo $post->ID; ?>" class="espresso-event-header-dv">
35
+		<?php espresso_get_template_part('content', 'espresso_events-thumbnail'); ?>
36
+		<?php espresso_get_template_part('content', 'espresso_events-header'); ?>
37 37
 	</div>
38 38
 
39 39
 	<div class="espresso-event-wrapper-dv">
40
-		<?php espresso_get_template_part( 'content', 'espresso_events-tickets' ); ?>
41
-		<?php espresso_get_template_part( 'content', 'espresso_events-datetimes' ); ?>
42
-		<?php espresso_get_template_part( 'content', 'espresso_events-details' ); ?>
43
-		<?php espresso_get_template_part( 'content', 'espresso_events-venues' ); ?>
40
+		<?php espresso_get_template_part('content', 'espresso_events-tickets'); ?>
41
+		<?php espresso_get_template_part('content', 'espresso_events-datetimes'); ?>
42
+		<?php espresso_get_template_part('content', 'espresso_events-details'); ?>
43
+		<?php espresso_get_template_part('content', 'espresso_events-venues'); ?>
44 44
 		<footer class="event-meta">
45
-			<?php do_action( 'AHEE_event_details_footer_top', $post ); ?>
46
-			<?php do_action( 'AHEE_event_details_footer_bottom', $post ); ?>
45
+			<?php do_action('AHEE_event_details_footer_top', $post); ?>
46
+			<?php do_action('AHEE_event_details_footer_bottom', $post); ?>
47 47
 		</footer>
48 48
 	</div>
49 49
 
50
-<?php elseif ( is_archive() ) : ?>
50
+<?php elseif (is_archive()) : ?>
51 51
 
52
-	<div id="espresso-event-list-header-dv-<?php echo $post->ID;?>" class="espresso-event-header-dv">
53
-		<?php espresso_get_template_part( 'content', 'espresso_events-thumbnail' ); ?>
54
-		<?php espresso_get_template_part( 'content', 'espresso_events-header' ); ?>
52
+	<div id="espresso-event-list-header-dv-<?php echo $post->ID; ?>" class="espresso-event-header-dv">
53
+		<?php espresso_get_template_part('content', 'espresso_events-thumbnail'); ?>
54
+		<?php espresso_get_template_part('content', 'espresso_events-header'); ?>
55 55
 	</div>
56 56
 
57 57
 	<div class="espresso-event-list-wrapper-dv">
58
-		<?php espresso_get_template_part( 'content', 'espresso_events-tickets' ); ?>
59
-		<?php espresso_get_template_part( 'content', 'espresso_events-datetimes' ); ?>
60
-		<?php espresso_get_template_part( 'content', 'espresso_events-details' ); ?>
61
-		<?php espresso_get_template_part( 'content', 'espresso_events-venues' ); ?>
58
+		<?php espresso_get_template_part('content', 'espresso_events-tickets'); ?>
59
+		<?php espresso_get_template_part('content', 'espresso_events-datetimes'); ?>
60
+		<?php espresso_get_template_part('content', 'espresso_events-details'); ?>
61
+		<?php espresso_get_template_part('content', 'espresso_events-venues'); ?>
62 62
 	</div>
63 63
 
64 64
 <?php endif; ?>
65 65
 
66 66
 </article>
67 67
 <!-- #post -->
68
-<?php do_action( 'AHEE_event_details_after_post', $post );
68
+<?php do_action('AHEE_event_details_after_post', $post);
69 69
 
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 2 patches
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.
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
- * This is template will display a single venue
4
- *
5
- * @ package		Event Espresso
6
- * @ author		Seth Shoultes
7
- * @ copyright	(c) 2008-2013 Event Espresso  All Rights Reserved.
8
- * @ license		http://venueespresso.com/support/terms-conditions/   * see Plugin Licensing *
9
- * @ link			http://www.eventespresso.com
10
- * @ version		4+
11
- */
3
+				 * This is template will display a single venue
4
+				 *
5
+				 * @ package		Event Espresso
6
+				 * @ author		Seth Shoultes
7
+				 * @ copyright	(c) 2008-2013 Event Espresso  All Rights Reserved.
8
+				 * @ license		http://venueespresso.com/support/terms-conditions/   * see Plugin Licensing *
9
+				 * @ link			http://www.eventespresso.com
10
+				 * @ version		4+
11
+				 */
12 12
 
13 13
 global $post;
14 14
 $wrap_class = has_excerpt( $post->ID ) ? ' has-excerpt' : '';
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/functions.php 2 patches
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.
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
- * Espresso Template functions
4
- *
5
- * @ package		Event Espresso
6
- * @ author		Seth Shoultes
7
- * @ copyright	(c) 2008-2014 Event Espresso  All Rights Reserved.
8
- * @ license		http://venueespresso.com/support/terms-conditions/   * see Plugin Licensing *
9
- * @ link			http://www.eventespresso.com
10
- * @ version		4+
11
- */
3
+  * Espresso Template functions
4
+  *
5
+  * @ package		Event Espresso
6
+  * @ author		Seth Shoultes
7
+  * @ copyright	(c) 2008-2014 Event Espresso  All Rights Reserved.
8
+  * @ license		http://venueespresso.com/support/terms-conditions/   * see Plugin Licensing *
9
+  * @ link			http://www.eventespresso.com
10
+  * @ version		4+
11
+  */
12 12
 define( 'EE_THEME_FUNCTIONS_LOADED', TRUE );
13 13
  
14 14
 /**
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/loop-espresso_event_attendees.php 3 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Loop Template for the [ESPRESSO_EVENT_ATTENDEES] shortcode
4
- *
5
- * @package Event Espresso
6
- * @subpackage templates
7
- * @since 4.6.29
8
- * @author Darren Ethier
9
- *
10
- * Template Args that are available in this template
11
- * @type EE_Attendee[] $contacts
12
- * @type EE_Event   $event
13
- * @type EE_Datetime    $datetime
14
- * @type EE_Ticket  $ticket
15
- * @type bool       $show_gravatar  whether to show gravatar or not.
16
- */
3
+	 * Loop Template for the [ESPRESSO_EVENT_ATTENDEES] shortcode
4
+	 *
5
+	 * @package Event Espresso
6
+	 * @subpackage templates
7
+	 * @since 4.6.29
8
+	 * @author Darren Ethier
9
+	 *
10
+	 * Template Args that are available in this template
11
+	 * @type EE_Attendee[] $contacts
12
+	 * @type EE_Event   $event
13
+	 * @type EE_Datetime    $datetime
14
+	 * @type EE_Ticket  $ticket
15
+	 * @type bool       $show_gravatar  whether to show gravatar or not.
16
+	 */
17 17
 
18 18
 $no_attendees_message =  apply_filters( 'FHEE__loop-espresso_attendees-shortcode__template__no_attendees_message', __('No Attendees Yet', 'event_espresso' ) );
19 19
 
Please login to merge, or discard this patch.
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.
public/Espresso_Arabica_2014/loop-espresso_events.php 3 patches
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,10 @@  discard block
 block discarded – undo
24 24
 				elseif ( is_year() ) :
25 25
 					printf( __( 'Events This Year: %s', 'event_espresso' ), get_the_date( _x( 'Y', 'yearly archives date format', 'event_espresso' ) ) );
26 26
 
27
-				else :
27
+				else {
28
+					:
28 29
 					echo apply_filters( 'FHEE__archive_espresso_events_template__upcoming_events_h1', __( 'Upcoming Events', 'event_espresso' ));
30
+				}
29 31
 
30 32
 				endif;
31 33
 			?>
@@ -45,9 +47,11 @@  discard block
 block discarded – undo
45 47
 		// allow moar other stuff
46 48
 		do_action( 'AHEE__archive_espresso_events_template__after_loop' );
47 49
 
48
-	else :
50
+	else {
51
+		:
49 52
 		// If no content, include the "No posts found" template.
50 53
 		espresso_get_template_part( 'content', 'none' );
54
+	}
51 55
 		
52 56
 	endif;
53 57
 	
Please login to merge, or discard this patch.
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -11,22 +11,22 @@  discard block
 block discarded – undo
11 11
  * @ version		4+
12 12
  */
13 13
 
14
- if ( have_posts() ) : ?>
14
+ if (have_posts()) : ?>
15 15
 
16 16
 	<header class="page-header">
17 17
 		<h1 class="page-title">
18 18
 			<?php
19
-				if ( is_day() ) :
20
-					printf( __( 'Today\'s Events: %s', 'event_espresso' ), get_the_date() );
19
+				if (is_day()) :
20
+					printf(__('Today\'s Events: %s', 'event_espresso'), get_the_date());
21 21
 
22
-				elseif ( is_month() ) :
23
-					printf( __( 'Events This Month: %s', 'event_espresso' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'event_espresso' ) ) );
22
+				elseif (is_month()) :
23
+					printf(__('Events This Month: %s', 'event_espresso'), get_the_date(_x('F Y', 'monthly archives date format', 'event_espresso')));
24 24
 
25
-				elseif ( is_year() ) :
26
-					printf( __( 'Events This Year: %s', 'event_espresso' ), get_the_date( _x( 'Y', 'yearly archives date format', 'event_espresso' ) ) );
25
+				elseif (is_year()) :
26
+					printf(__('Events This Year: %s', 'event_espresso'), get_the_date(_x('Y', 'yearly archives date format', 'event_espresso')));
27 27
 
28 28
 				else :
29
-					echo apply_filters( 'FHEE__archive_espresso_events_template__upcoming_events_h1', __( 'Upcoming Events', 'event_espresso' ));
29
+					echo apply_filters('FHEE__archive_espresso_events_template__upcoming_events_h1', __('Upcoming Events', 'event_espresso'));
30 30
 
31 31
 				endif;
32 32
 			?>
@@ -36,20 +36,20 @@  discard block
 block discarded – undo
36 36
 
37 37
 	<?php
38 38
 		// allow other stuff
39
-		do_action( 'AHEE__archive_espresso_events_template__before_loop' );
39
+		do_action('AHEE__archive_espresso_events_template__before_loop');
40 40
 		// Start the Loop.
41
-		while ( have_posts() ) : the_post();
41
+		while (have_posts()) : the_post();
42 42
 			// Include the post TYPE-specific template for the content.
43
-			espresso_get_template_part( 'content', 'espresso_events-shortcode' );
43
+			espresso_get_template_part('content', 'espresso_events-shortcode');
44 44
 		endwhile;
45 45
 		// Previous/next page navigation.
46 46
 		espresso_pagination();
47 47
 		// allow moar other stuff
48
-		do_action( 'AHEE__archive_espresso_events_template__after_loop' );
48
+		do_action('AHEE__archive_espresso_events_template__after_loop');
49 49
 
50 50
 	else :
51 51
 		// If no content, include the "No posts found" template.
52
-		espresso_get_template_part( 'content', 'none' );
52
+		espresso_get_template_part('content', 'none');
53 53
 
54 54
 	endif;
55 55
 
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This template will display The Loop that displays your events
4
- * DO NOT COPY THIS TEMPLATE TO YOUR THEMES FOLDER
5
- *
6
- * @ package		Event Espresso
7
- * @ author		Seth Shoultes
8
- * @ copyright	(c) 2008-2013 Event Espresso  All Rights Reserved.
9
- * @ license		http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
10
- * @ link			http://www.eventespresso.com
11
- * @ version		4+
12
- */
3
+	 * This template will display The Loop that displays your events
4
+	 * DO NOT COPY THIS TEMPLATE TO YOUR THEMES FOLDER
5
+	 *
6
+	 * @ package		Event Espresso
7
+	 * @ author		Seth Shoultes
8
+	 * @ copyright	(c) 2008-2013 Event Espresso  All Rights Reserved.
9
+	 * @ license		http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
10
+	 * @ link			http://www.eventespresso.com
11
+	 * @ version		4+
12
+	 */
13 13
 
14 14
  if ( have_posts() ) : ?>
15 15
 
Please login to merge, or discard this patch.