Plugin Directory

Changeset 160220


Ignore:
Timestamp:
10/03/2009 03:54:58 PM (17 years ago)
Author:
webternals
Message:

AdMangler 0.0.6.1 Alpha: Format Bug

Location:
admangler/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admangler/trunk/adMangler.class.php

    r158797 r160220  
    106106            $sql = "SELECT * FROM $this->adsTable WHERE id=".intval($id);
    107107            $row = $wpdb->get_row($sql);
    108             $str = "<div class=\"adManglerUnknown\">";
    109             $str .= $this->FormatAd($row->type, $row->code);
    110             $str .= "</div>";
     108            $str = $this->FormatAd($row->type, $row->code);
    111109
    112110            if ($return) return $str; else echo $str;
     
    119117            if (!isset($this->banners[$width."x".$height]))
    120118            {
    121                 $str = "<div class=\"adMangler".$width."x".$height."\">";
    122119                $sql = "SELECT type,code FROM $this->adsTable WHERE width=$width and height=$height and active and approved and NOT base ORDER BY RAND()";
    123120                $results = $wpdb->get_results($sql);
     
    137134                $banner = array_shift($this->banners[$width."x".$height]);
    138135                array_push($this->banners[$width."x".$height], $banner);
    139                 $str .= $this->FormatAd($banner->type, $banner->code);
    140                 $str .= "</div>";
     136                $str = $this->FormatAd($banner->type, $banner->code);
    141137            }
    142138
  • admangler/trunk/adMangler.php

    r158797 r160220  
    44        Plugin URI: http://www.codeternals.com/AdMangler
    55        Description: Display, sell, and manage ad space on your Wordpress powered site with AdMangler.
    6         Version: 0.0.6 Alpha
     6        Version: 0.0.6.1 Alpha
    77        Author: Webternals, LLC - Allen Sanford
    88        Author URI: http://www.webternals.com/
  • admangler/trunk/readme.txt

    r158797 r160220  
    55Requires at least: 2.8.2
    66Tested up to: 2.8.4
    7 Stable Tag: 0.0.6.Alpha
     7Stable Tag: 0.0.6.1.Alpha
    88
    99Display, sell, and manage ad space on your Wordpress powered site with AdMangler.
     
    6464== Changelog ==
    6565
     66= 0.0.6.1 Alpha =
     67* Fixed a formatting bug
     68
    6669= 0.0.6 Alpha =
    6770* Bug fixes dealing with multiple banner ads
Note: See TracChangeset for help on using the changeset viewer.