Changeset 1969889
- Timestamp:
- 11/06/2018 02:32:37 PM (7 years ago)
- Location:
- events-as-posts
- Files:
-
- 4 edited
-
tags/0.5.2/event-meta.php (modified) (3 diffs)
-
tags/0.5.2/inc/eap.css (modified) (1 diff)
-
trunk/event-meta.php (modified) (3 diffs)
-
trunk/inc/eap.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
events-as-posts/tags/0.5.2/event-meta.php
r1969845 r1969889 29 29 if ( $from_date ) { 30 30 ?> 31 <span class="eap__date no-wrap"><?php if ( isset( $setting['date_icon'] ) ) echo $date_icon . ' '; ?><?php echo date_i18n( $setting['date_format'], strtotime( $from_date ) ); ?></span> 31 <span class="eap__date no-wrap"> 32 <?php 33 if ( isset( $setting['date_icon'] ) ) { 34 35 echo $date_icon . ' '; 36 } 37 38 echo date_i18n( $setting['date_format'], strtotime( $from_date ) ); 39 ?> 40 </span> 32 41 <?php 33 42 } … … 42 51 if ( isset( $setting['time_icon'] ) ) { 43 52 44 echo $time_icon ;53 echo $time_icon . ' '; 45 54 } 46 55 … … 88 97 if ( isset( $setting['time_icon'] ) && ( $from_date != $until_date ) ) { 89 98 90 echo $time_icon ;99 echo $time_icon . ' '; 91 100 } 92 101 -
events-as-posts/tags/0.5.2/inc/eap.css
r1969801 r1969889 9 9 width: 100%; 10 10 } 11 .eap__time-icon {12 margin-right: 2px;13 }14 11 .no-wrap { 15 12 white-space: nowrap; -
events-as-posts/trunk/event-meta.php
r1969845 r1969889 29 29 if ( $from_date ) { 30 30 ?> 31 <span class="eap__date no-wrap"><?php if ( isset( $setting['date_icon'] ) ) echo $date_icon . ' '; ?><?php echo date_i18n( $setting['date_format'], strtotime( $from_date ) ); ?></span> 31 <span class="eap__date no-wrap"> 32 <?php 33 if ( isset( $setting['date_icon'] ) ) { 34 35 echo $date_icon . ' '; 36 } 37 38 echo date_i18n( $setting['date_format'], strtotime( $from_date ) ); 39 ?> 40 </span> 32 41 <?php 33 42 } … … 42 51 if ( isset( $setting['time_icon'] ) ) { 43 52 44 echo $time_icon ;53 echo $time_icon . ' '; 45 54 } 46 55 … … 88 97 if ( isset( $setting['time_icon'] ) && ( $from_date != $until_date ) ) { 89 98 90 echo $time_icon ;99 echo $time_icon . ' '; 91 100 } 92 101 -
events-as-posts/trunk/inc/eap.css
r1969801 r1969889 9 9 width: 100%; 10 10 } 11 .eap__time-icon {12 margin-right: 2px;13 }14 11 .no-wrap { 15 12 white-space: nowrap;
Note: See TracChangeset
for help on using the changeset viewer.