Plugin Directory

Changeset 542062


Ignore:
Timestamp:
05/09/2012 08:50:26 PM (14 years ago)
Author:
digitalnature
Message:
 
Location:
ad-manager-for-wp
Files:
10 added
3 edited

Legend:

Unmodified
Added
Removed
  • ad-manager-for-wp/trunk/ad-manager.css

    r541912 r542062  
    3535}
    3636
    37 #ads .controls{
     37#ads tr .controls{
    3838  display: none;
    3939  position: absolute;
    40   bottom: 5px;
    41   left: 7px;
     40  top: 24px;
     41  left: 0;
    4242}
    4343
    44 #ads td.ad-type{
     44#ads td.ad-type > div{
    4545  position: relative;
     46  height: 100%;
    4647}
    4748
  • ad-manager-for-wp/trunk/ad-manager.php

    r541912 r542062  
    22/*
    33Plugin Name: Ad Manager
    4 Version: 0.9
     4Version: 0.9.1
    55Plugin URI: http://digitalnature.eu/forum/plugins/ad-manager/
    66Description: Manage ads on your website trough the WP dashboard
     
    3434
    3535  const
    36     VERSION     = '0.9',                                               // plugin version
     36    VERSION     = '0.9.1',                                               // plugin version
    3737    ID          = 'ad_manager',                                        // internally used, mostly for text domain
    3838    PROJECT_URI = 'http://digitalnature.eu/forum/plugins/ad-manager/'; // plugin project page
     
    578578
    579579      <td class="ad-type">
    580         <strong><?php echo $this->ad_types[$type]->getLabel(); ?></strong>
    581         <?php if(isset($track) && $track): ?>
    582         (<a class="show-log" data-id="<?php echo $id; ?>" href="#"><?php printf(_n('1 click', '%d clicks', $clicks, self::ID), $clicks); ?></a>)
    583         <?php endif; ?>
    584         <div class="controls">
    585            <a href="#" class="quick-edit" data-id="<?php echo $id; ?>"><?php _e('Edit', self::ID); ?></a> |
    586            <a href="#" title="Not yet implemented" class="quick-clone" data-id="<?php echo $id; ?>"><?php _e('Clone', self::ID); ?></a> |
    587            <?php if($active): ?>
    588            <a href="#" title="Not yet implemented" class="quick-disable" data-id="<?php echo $id; ?>"><?php _e('Disable', self::ID); ?></a> |
    589            <?php else: ?>
    590            <a href="#" title="Not yet implemented" class="quick-enable" data-id="<?php echo $id; ?>"><?php _e('Enable', self::ID); ?></a> |
    591            <?php endif; ?>
    592            <a href="#" class="quick-remove" data-id="<?php echo $id; ?>"><?php _e('Remove', self::ID); ?></a>
     580        <div class="stupid-ff">
     581          <strong><?php echo $this->ad_types[$type]->getLabel(); ?></strong>
     582          <?php if(isset($track) && $track): ?>
     583          (<a class="show-log" data-id="<?php echo $id; ?>" href="#"><?php printf(_n('1 click', '%d clicks', $clicks, self::ID), $clicks); ?></a>)
     584          <?php endif; ?>
     585          <div class="controls">
     586            <a href="#" class="quick-edit" data-id="<?php echo $id; ?>"><?php _e('Edit', self::ID); ?></a> |
     587            <a href="#" title="Not yet implemented" class="quick-clone" data-id="<?php echo $id; ?>"><?php _e('Clone', self::ID); ?></a> |
     588            <?php if($active): ?>
     589            <a href="#" title="Not yet implemented" class="quick-disable" data-id="<?php echo $id; ?>"><?php _e('Disable', self::ID); ?></a> |
     590            <?php else: ?>
     591            <a href="#" title="Not yet implemented" class="quick-enable" data-id="<?php echo $id; ?>"><?php _e('Enable', self::ID); ?></a> |
     592            <?php endif; ?>
     593            <a href="#" class="quick-remove" data-id="<?php echo $id; ?>"><?php _e('Remove', self::ID); ?></a>
     594          </div>
    593595        </div>
    594596      </td>
     
    12051207        // determine if the location needs an index
    12061208        if(($index_pos = strpos($location, ':index')) !== false){
    1207 
    1208           $action = substr($location, 0, $index_pos);
     1209          $location = substr($location, 0, $index_pos);
    12091210
    12101211          // ignore the index conditions for posts if the page is set to singular-type
    12111212          if(!(strpos($location, 'p:') === 0 && strpos($page_visibility, 'singular:') === 0))
    12121213            $this->location_index_conditions[$id] = $index;
    1213 
    12141214        }
    12151215
  • ad-manager-for-wp/trunk/readme.txt

    r541912 r542062  
    6060== Changelog ==
    6161
    62 = 1.0 =
     62= 0.9.1 =
     63* CSS fix for Firefox for ad editor controls
     64* Fixed an ad queue issue with theme locations
     65
     66= 0.9 =
    6367* First public release (forked from the "Ads" module 1.4 from Atom).
    6468
Note: See TracChangeset for help on using the changeset viewer.