Close brackets in event list template

This commit is contained in:
Brian Miyaji
2018-01-17 10:50:25 +11:00
parent cb52599d17
commit 210122ad67

View File

@@ -135,6 +135,7 @@ $identifier = uniqid( 'eventlist_' );
} else { } else {
echo '<th class="data-event">' . __( 'Event', 'sportspress' ) . '</th>'; echo '<th class="data-event">' . __( 'Event', 'sportspress' ) . '</th>';
} }
}
switch ( $time_format ) { switch ( $time_format ) {
case 'separate': case 'separate':
@@ -434,10 +435,11 @@ $identifier = uniqid( 'eventlist_' );
</div> </div>
<?php <?php
// If responsive tables are enabled then load the inline css code // If responsive tables are enabled then load the inline css code
if ( true == $responsive ){ if ( $responsive ){
sportspress_responsive_tables_css( $identifier ); sportspress_responsive_tables_css( $identifier );
} }
if ( $id && $show_all_events_link ) if ( $id && $show_all_events_link ) {
echo '<div class="sp-calendar-link sp-view-all-link"><a href="' . get_permalink( $id ) . '">' . __( 'View all events', 'sportspress' ) . '</a></div>'; echo '<div class="sp-calendar-link sp-view-all-link"><a href="' . get_permalink( $id ) . '">' . __( 'View all events', 'sportspress' ) . '</a></div>';
}
?> ?>
</div> </div>