Changeset 1095 for sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/template-events.php
- Timestamp:
- 01/07/2015 07:25:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/template-events.php
r492 r1095 1 <div id="ofe_events"> 2 <ul> 3 <?php foreach ( $events as $event ) : ?> 1 <div id="ofe-events"> 2 <?php foreach ( $events as $date => $day_events ) : ?> 4 3 5 <li>6 <a href="<?php echo esc_attr( esc_url( $event->url ) ); ?>">7 <?php echo esc_html( $event->title ); ?>8 </a><br />4 <h3> 5 <?php echo date( 'F j', strtotime( $date ) ); ?> 6 <span class="owe-day-of-week"><?php echo date( '(l)', strtotime( $date ) ); ?></span> 7 </h3> 9 8 10 <?php echo esc_html( date( 'l, F jS | g:i a', (int) $event->start_timestamp ) ); ?><br /> 9 <ul class="ofe-event-list"> 10 <?php foreach ( $day_events as $event ) : ?> 11 <li> 12 <?php if ( $event->location ) : ?> 13 <?php echo esc_html( $event->location ); ?> 14 <span class="owe-separator"></span> 15 <?php endif; ?> 11 16 12 <?php echo esc_html( $event->location ); ?> 13 </li> 17 <a href="<?php echo esc_attr( esc_url( $event->url ) ); ?>"> 18 <?php echo esc_html( $event->title ); ?> 19 </a> 20 <span class="owe-separator"></span> 14 21 15 <?php endforeach; ?> 16 </ul> 17 </div> <!-- end #ofe_events --> 22 <?php echo date( 'g:i a', $event->start_timestamp ); ?> 23 </li> 24 <?php endforeach; ?> 25 </ul> 26 27 <?php endforeach; ?> 28 </div> <!-- end #ofe-events -->
Note: See TracChangeset
for help on using the changeset viewer.