Plugin Directory

Changeset 561890


Ignore:
Timestamp:
06/21/2012 05:06:49 PM (14 years ago)
Author:
LRHGuy
Message:

Updating to version 1.2.0

Location:
omt-on-air/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • omt-on-air/trunk/readme.txt

    r438485 r561890  
    44Tags: lrh omt onair imediatouch
    55Requires at least: 3.0.0
    6 Tested up to: 3.2.1
    7 Stable tag: 1.1.0
     6Tested up to: 3.4
     7Stable tag: 1.2.0
     8License: GPLv2 or later
    89
    910Retrieves the OMT/iMediaTouch OnAir xml file and displays the active cut.
     
    5859== Changelog ==
    5960
     61= 1.2.0 =
     62
     63* Maintenance update.
     64
    6065= 1.1.0 =
    6166* Changes for better security.
     
    6974== Upgrade Notice ==
    7075
    71 = 1.1.0 =
    72 * Upgrade adds features and better security.
     76= 1.2.0 =
     77* Maintenance update.
    7378
  • omt-on-air/trunk/wp.widget_lrhomtonair.php

    r437482 r561890  
    55Description: Retrieves the OMT/iMediaTouch OnAir xml file and displays the active cut.
    66Author: Larry Houbre, Jr.
    7 Version: 1.1.0
     7Version: 1.2.0
    88*/
    99
     
    3535
    3636class lrh_widget_omtonair extends LRH_WPWidget {
    37 
    38     function lrh_widget_omtonair()
    39     { $this->__construct(); }
    4037
    4138    function __construct()
     
    192189        $k=$e->attributes()->Event+0; //convert to number
    193190        $t=$e->attributes()->Type.'';
    194         if ($t=='Playing') $k='now';
    195         else if (($next=='') && ($t=='Not Played')) $k=$next='next';
     191        if ('Playing'==$t) $k='now';
     192        else if ((''==$next) && ('Not Played'==$t)) $k=$next='next';
    196193        $r[$k]['Title']=iconv($fe,$te,$e->attributes()->Title.'');
    197194        $r[$k]['Artist']=iconv($fe,$te,$e->attributes()->Artist.'');
     
    215212    $ONAIR=lrh_GetOnAirData($aUrl);
    216213    $data=$ONAIR['now'];
    217     if ($data==null) {
     214    if (null==$data) {
    218215        $show=$aDefaultProgram;
    219216        if (empty($show)) $show=cwidgetoption_lrhomtonair_defaultprogram_value;
Note: See TracChangeset for help on using the changeset viewer.