Changeset 542062
- Timestamp:
- 05/09/2012 08:50:26 PM (14 years ago)
- Location:
- ad-manager-for-wp
- Files:
-
- 10 added
- 3 edited
-
tags/0.9.1 (added)
-
tags/0.9.1/ad-manager.css (added)
-
tags/0.9.1/ad-manager.js (added)
-
tags/0.9.1/ad-manager.php (added)
-
tags/0.9.1/ad-types.php (added)
-
tags/0.9.1/lang (added)
-
tags/0.9.1/lang/ad-manager.pot (added)
-
tags/0.9.1/readme.txt (added)
-
tags/0.9.1/screenshot-1.png (added)
-
tags/0.9.1/templates (added)
-
trunk/ad-manager.css (modified) (1 diff)
-
trunk/ad-manager.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ad-manager-for-wp/trunk/ad-manager.css
r541912 r542062 35 35 } 36 36 37 #ads .controls{37 #ads tr .controls{ 38 38 display: none; 39 39 position: absolute; 40 bottom: 5px;41 left: 7px;40 top: 24px; 41 left: 0; 42 42 } 43 43 44 #ads td.ad-type {44 #ads td.ad-type > div{ 45 45 position: relative; 46 height: 100%; 46 47 } 47 48 -
ad-manager-for-wp/trunk/ad-manager.php
r541912 r542062 2 2 /* 3 3 Plugin Name: Ad Manager 4 Version: 0.9 4 Version: 0.9.1 5 5 Plugin URI: http://digitalnature.eu/forum/plugins/ad-manager/ 6 6 Description: Manage ads on your website trough the WP dashboard … … 34 34 35 35 const 36 VERSION = '0.9 ', // plugin version36 VERSION = '0.9.1', // plugin version 37 37 ID = 'ad_manager', // internally used, mostly for text domain 38 38 PROJECT_URI = 'http://digitalnature.eu/forum/plugins/ad-manager/'; // plugin project page … … 578 578 579 579 <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> 593 595 </div> 594 596 </td> … … 1205 1207 // determine if the location needs an index 1206 1208 if(($index_pos = strpos($location, ':index')) !== false){ 1207 1208 $action = substr($location, 0, $index_pos); 1209 $location = substr($location, 0, $index_pos); 1209 1210 1210 1211 // ignore the index conditions for posts if the page is set to singular-type 1211 1212 if(!(strpos($location, 'p:') === 0 && strpos($page_visibility, 'singular:') === 0)) 1212 1213 $this->location_index_conditions[$id] = $index; 1213 1214 1214 } 1215 1215 -
ad-manager-for-wp/trunk/readme.txt
r541912 r542062 60 60 == Changelog == 61 61 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 = 63 67 * First public release (forked from the "Ads" module 1.4 from Atom). 64 68
Note: See TracChangeset
for help on using the changeset viewer.