Plugin Directory

Changeset 1699541


Ignore:
Timestamp:
07/20/2017 10:28:14 AM (8 years ago)
Author:
ekamiya
Message:

Initial Release δ(minor fix to meet old PHP syntax).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • simple-schedule-notice/trunk/simple-schedule-notice.php

    r1699531 r1699541  
    625625
    626626  private function gen_article_hdr( $id=null ) {
    627     if ( empty( id ) ) { $idstr = ''; } else { $idstr = ' id="' . $id . '"'; }
    628     echo '<article' . $idstr . '><h1>' . $this->module_title . '</h1>';
     627    echo '<article' . ( empty( $id ) ? '' : ' id="' . $id . '"') . '><h1>' . $this->module_title . '</h1>';
    629628    // gen_articleftr must be called to close <article>
    630629  }
Note: See TracChangeset for help on using the changeset viewer.