Version Description
Download this release
Release Info
Developer | redwallhp |
Plugin | WP125 |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
- adminmenus.php +9 -3
- readme.txt +2 -2
- wp125.php +1 -1
adminmenus.php
CHANGED
@@ -82,10 +82,16 @@ echo '</div>';
|
|
82 |
function wp125_write_addeditmenu() {
|
83 |
//DB Data
|
84 |
global $wpdb;
|
85 |
-
$settingtable_name = $wpdb->prefix . "wp125_settings";
|
86 |
$adtable_name = $wpdb->prefix . "wp125_ads";
|
87 |
// Retrieve settings
|
88 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
//If post is being edited, grab current info
|
90 |
if ($_GET['editad']!='') {
|
91 |
$theid = $_GET['editad'];
|
@@ -152,7 +158,7 @@ echo '<div id="message" class="updated fade"><p>Ad deleted.</p></div>';
|
|
152 |
<th scope="row">Slot</th>
|
153 |
<td><label for="adslot">
|
154 |
<select name="adslot" id="adslot">
|
155 |
-
<?php for ($count = 1; $count <= $
|
156 |
<option value="<?php echo $count; ?>" <?php if ($count == $editingad->slot) { echo 'selected="selected"'; } ?>>#<?php echo $count; ?></option>
|
157 |
<?php } ?>
|
158 |
</select></label>
|
82 |
function wp125_write_addeditmenu() {
|
83 |
//DB Data
|
84 |
global $wpdb;
|
|
|
85 |
$adtable_name = $wpdb->prefix . "wp125_ads";
|
86 |
// Retrieve settings
|
87 |
+
$setting_ad_orientation = get_option("wp125_ad_orientation");
|
88 |
+
$setting_num_slots = get_option("wp125_num_slots");
|
89 |
+
$setting_ad_order = get_option("wp125_ad_order");
|
90 |
+
$setting_buyad_url = get_option("wp125_buyad_url");
|
91 |
+
$setting_widget_title = get_option("wp125_widget_title");
|
92 |
+
$setting_disable_default_style = get_option("wp125_disable_default_style");
|
93 |
+
$setting_emailonexp = get_option("wp125_emailonexp");
|
94 |
+
$setting_defaultad = get_option("wp125_defaultad");
|
95 |
//If post is being edited, grab current info
|
96 |
if ($_GET['editad']!='') {
|
97 |
$theid = $_GET['editad'];
|
158 |
<th scope="row">Slot</th>
|
159 |
<td><label for="adslot">
|
160 |
<select name="adslot" id="adslot">
|
161 |
+
<?php for ($count = 1; $count <= $setting_num_slots; $count += 1) { ?>
|
162 |
<option value="<?php echo $count; ?>" <?php if ($count == $editingad->slot) { echo 'selected="selected"'; } ?>>#<?php echo $count; ?></option>
|
163 |
<?php } ?>
|
164 |
</select></label>
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Author URI: http://www.webmaster-source.com
|
|
5 |
Donate link: http://www.webmaster-source.com/donate/
|
6 |
Tags: ads, 125x125, management, advertisement
|
7 |
Requires at least: 2.3
|
8 |
-
Tested up to: 2.6
|
9 |
-
Stable tag: 1.1.
|
10 |
|
11 |
|
12 |
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.
|
5 |
Donate link: http://www.webmaster-source.com/donate/
|
6 |
Tags: ads, 125x125, management, advertisement
|
7 |
Requires at least: 2.3
|
8 |
+
Tested up to: 2.6
|
9 |
+
Stable tag: 1.1.4
|
10 |
|
11 |
|
12 |
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.
|
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.1.
|
9 |
*/
|
10 |
|
11 |
|
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.1.4
|
9 |
*/
|
10 |
|
11 |
|