Plugin Directory

Changeset 1969889


Ignore:
Timestamp:
11/06/2018 02:32:37 PM (7 years ago)
Author:
orbam7819
Message:

updated event-meta.php and inc/eap.css

Location:
events-as-posts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • events-as-posts/tags/0.5.2/event-meta.php

    r1969845 r1969889  
    2929    if ( $from_date ) {
    3030        ?>
    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>
    3241        <?php
    3342    }
     
    4251            if ( isset( $setting['time_icon'] ) ) {
    4352
    44                 echo $time_icon;
     53                echo $time_icon . ' ';
    4554            }
    4655
     
    8897                if ( isset( $setting['time_icon'] ) && ( $from_date != $until_date ) ) {
    8998
    90                     echo $time_icon;
     99                    echo $time_icon . ' ';
    91100                }
    92101
  • events-as-posts/tags/0.5.2/inc/eap.css

    r1969801 r1969889  
    99  width: 100%;
    1010}
    11 .eap__time-icon {
    12     margin-right: 2px;
    13 }
    1411.no-wrap {
    1512    white-space: nowrap;
  • events-as-posts/trunk/event-meta.php

    r1969845 r1969889  
    2929    if ( $from_date ) {
    3030        ?>
    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>
    3241        <?php
    3342    }
     
    4251            if ( isset( $setting['time_icon'] ) ) {
    4352
    44                 echo $time_icon;
     53                echo $time_icon . ' ';
    4554            }
    4655
     
    8897                if ( isset( $setting['time_icon'] ) && ( $from_date != $until_date ) ) {
    8998
    90                     echo $time_icon;
     99                    echo $time_icon . ' ';
    91100                }
    92101
  • events-as-posts/trunk/inc/eap.css

    r1969801 r1969889  
    99  width: 100%;
    1010}
    11 .eap__time-icon {
    12     margin-right: 2px;
    13 }
    1411.no-wrap {
    1512    white-space: nowrap;
Note: See TracChangeset for help on using the changeset viewer.