Version Description
Download this release
Release Info
Developer | redwallhp |
Plugin | WP125 |
Version | 1.4.9 |
Comparing to | |
See all releases |
Code changes from version 1.4.8 to 1.4.9
- adminmenus.php +2 -2
- readme.txt +4 -3
- wp125.css +16 -2
- wp125.php +2 -2
adminmenus.php
CHANGED
@@ -251,7 +251,7 @@ jQuery(document).ready(function() {
|
|
251 |
</script>
|
252 |
|
253 |
</table>
|
254 |
-
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Ad', 'wp125'); ?>" /> <?php if ($_GET['editad']!='') { ?><input type="submit" name="deletead" value="<?php _e('Delete Ad', 'wp125'); ?>" /><?php } ?></p>
|
255 |
</form>
|
256 |
<?php wp125_admin_page_footer(); ?>
|
257 |
</div><?php
|
@@ -354,7 +354,7 @@ $setting_daysbeforeexp = get_option("wp125_daysbeforeexp");
|
|
354 |
|
355 |
</table>
|
356 |
<input name="issubmitted" type="hidden" value="yes" />
|
357 |
-
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes', 'wp125'); ?>" /></p>
|
358 |
</form>
|
359 |
<br/>
|
360 |
<p><?php _e("Your ads can be displayed using either the included widget, or by using the <strong><?php wp125_write_ads(); ?></strong> template tag. Also, you can display a single ad, without any formatting, using <strong><?php wp125_single_ad(<em>num</em>); ?></strong>, where <em>num</em> is the number of the ad slot you wish to show. This is useful for cases where your theme prevents the default formatting from working properly, or where you wish to display your ads in an unforeseen manner.", 'wp125'); ?></p>
|
251 |
</script>
|
252 |
|
253 |
</table>
|
254 |
+
<p class="submit"><input type="submit" name="Submit" class="button" value="<?php _e('Save Ad', 'wp125'); ?>" /> <?php if ($_GET['editad']!='') { ?><input type="submit" name="deletead" value="<?php _e('Delete Ad', 'wp125'); ?>" /><?php } ?></p>
|
255 |
</form>
|
256 |
<?php wp125_admin_page_footer(); ?>
|
257 |
</div><?php
|
354 |
|
355 |
</table>
|
356 |
<input name="issubmitted" type="hidden" value="yes" />
|
357 |
+
<p class="submit"><input type="submit" class="button" name="Submit" value="<?php _e('Save Changes', 'wp125'); ?>" /></p>
|
358 |
</form>
|
359 |
<br/>
|
360 |
<p><?php _e("Your ads can be displayed using either the included widget, or by using the <strong><?php wp125_write_ads(); ?></strong> template tag. Also, you can display a single ad, without any formatting, using <strong><?php wp125_single_ad(<em>num</em>); ?></strong>, where <em>num</em> is the number of the ad slot you wish to show. This is useful for cases where your theme prevents the default formatting from working properly, or where you wish to display your ads in an unforeseen manner.", 'wp125'); ?></p>
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Author URI: http://www.webmaster-source.com
|
|
5 |
Donate link: http://www.webmaster-source.com/donate/?plugin=wp125
|
6 |
Tags: ads, 125x125, management, advertisement
|
7 |
Requires at least: 2.8
|
8 |
-
Tested up to: 3.
|
9 |
-
Stable tag: 1.4.
|
10 |
|
11 |
Easy management of 125x125 ads on your blog. Ads can be run for a specified number of days, and will automatically be taken down. Track clicks too.
|
12 |
|
@@ -127,4 +127,5 @@ If you're having a problem with the plugin, try posting on the official WordPres
|
|
127 |
* 1.4.5 - Added uploader, plus fixed some potential vulnerabilities. (Thanks to Charlie Eriksen via Secunia SVCRP.)
|
128 |
* 1.4.6 - Fix for duplicate ad expiration emails, part II: The Bug Strikes Back.
|
129 |
* 1.4.7 - Added uninstaller to properly remove WP125's database tables when removing the plugin.
|
130 |
-
* 1.4.8 - Translation update.
|
|
5 |
Donate link: http://www.webmaster-source.com/donate/?plugin=wp125
|
6 |
Tags: ads, 125x125, management, advertisement
|
7 |
Requires at least: 2.8
|
8 |
+
Tested up to: 3.5.1
|
9 |
+
Stable tag: 1.4.9
|
10 |
|
11 |
Easy management of 125x125 ads on your blog. Ads can be run for a specified number of days, and will automatically be taken down. Track clicks too.
|
12 |
|
127 |
* 1.4.5 - Added uploader, plus fixed some potential vulnerabilities. (Thanks to Charlie Eriksen via Secunia SVCRP.)
|
128 |
* 1.4.6 - Fix for duplicate ad expiration emails, part II: The Bug Strikes Back.
|
129 |
* 1.4.7 - Added uninstaller to properly remove WP125's database tables when removing the plugin.
|
130 |
+
* 1.4.8 - Translation update.
|
131 |
+
* 1.4.9 - Some changes to the default CSS. Added a clearfix to the ads in two-column mode (finally!). Also, updated some buttons to match changes in WordPress.
|
wp125.css
CHANGED
@@ -6,8 +6,22 @@ URL: http://www.webmaster-source.com/wp125-ad-plugin-wordpress/
|
|
6 |
|
7 |
/* Styles for one-column display */
|
8 |
#wp125adwrap_1c { width:100%; }
|
9 |
-
#wp125adwrap_1c .wp125ad { margin-bottom:
|
10 |
|
11 |
/* Styles for two-column display */
|
12 |
#wp125adwrap_2c { width:100%; }
|
13 |
-
#wp125adwrap_2c .wp125ad { width:125px; float:left; padding:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
/* Styles for one-column display */
|
8 |
#wp125adwrap_1c { width:100%; }
|
9 |
+
#wp125adwrap_1c .wp125ad { margin-bottom:8px; }
|
10 |
|
11 |
/* Styles for two-column display */
|
12 |
#wp125adwrap_2c { width:100%; }
|
13 |
+
#wp125adwrap_2c .wp125ad { width:125px; float:left; padding:4px; }
|
14 |
+
|
15 |
+
/* Clearfix */
|
16 |
+
.wp125clearfix {
|
17 |
+
*zoom: 1;
|
18 |
+
}
|
19 |
+
.wp125clearfix:before,
|
20 |
+
.wp125clearfix:after {
|
21 |
+
display: table;
|
22 |
+
content: "";
|
23 |
+
line-height: 0;
|
24 |
+
}
|
25 |
+
.wp125clearfix:after {
|
26 |
+
clear: both;
|
27 |
+
}
|
wp125.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.webmaster-source.com/wp125-ad-plugin-wordpress/
|
|
5 |
Description: Easily manage 125x125 ads within your WordPress Dashboard.
|
6 |
Author: Matt Harzewski (redwall_hp)
|
7 |
Author URI: http://www.webmaster-source.com
|
8 |
-
Version: 1.4.
|
9 |
*/
|
10 |
|
11 |
|
@@ -156,7 +156,7 @@ echo '<div class="wp125ad'.$altclass.'"><a href="'.$linkurl.'" title="'.$adguide
|
|
156 |
echo "</div>\n";
|
157 |
}
|
158 |
if ($setting_ad_orientation=='2c') {
|
159 |
-
echo '<div id="wp125adwrap_2c">'."\n";
|
160 |
$arraycount = 0;
|
161 |
if (!empty($theads)) {
|
162 |
foreach ($theads as $thead){
|
5 |
Description: Easily manage 125x125 ads within your WordPress Dashboard.
|
6 |
Author: Matt Harzewski (redwall_hp)
|
7 |
Author URI: http://www.webmaster-source.com
|
8 |
+
Version: 1.4.9
|
9 |
*/
|
10 |
|
11 |
|
156 |
echo "</div>\n";
|
157 |
}
|
158 |
if ($setting_ad_orientation=='2c') {
|
159 |
+
echo '<div id="wp125adwrap_2c" class="wp125clearfix">'."\n";
|
160 |
$arraycount = 0;
|
161 |
if (!empty($theads)) {
|
162 |
foreach ($theads as $thead){
|