From 36ad40135aa08383c8c7662bfee8521064922b63 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Sat, 22 Mar 2014 13:57:24 +1100 Subject: [PATCH] Add calendar wrapper to events calendar template --- admin/templates/events-calendar.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/templates/events-calendar.php b/admin/templates/events-calendar.php index b206685a..360e7d4a 100644 --- a/admin/templates/events-calendar.php +++ b/admin/templates/events-calendar.php @@ -77,6 +77,7 @@ if ( !function_exists( 'sportspress_events_calendar' ) ) { /* translators: Calendar caption: 1: month name, 2: 4-digit year */ $calendar_caption = _x('%1$s %2$s', 'calendar caption', 'sportspress'); $calendar_output = ' +
<' . $caption_tag . ' class="sp-table-caption">' . sprintf($calendar_caption, $wp_locale->get_month($thismonth), date('Y', $unixmonth)) . ' @@ -194,7 +195,7 @@ if ( !function_exists( 'sportspress_events_calendar' ) ) { if ( $pad != 0 && $pad != 7 ) $calendar_output .= "\n\t\t".''; - $calendar_output .= "\n\t\n\t\n\t
 
"; + $calendar_output .= "\n\t\n\t\n\t\n\t
"; if ( $id && $r['show_all_events_link'] ) $calendar_output .= '' . __( 'View all events', 'sportspress' ) . '';