Version Description
Bug fix.
Download this release
Release Info
Developer | manojtd |
Plugin | Easy Plugin for AdSense |
Version | 7.13 |
Comparing to | |
See all releases |
Code changes from version 7.12 to 7.13
- EzAdmin.php +3 -0
- EzOptions.php +9 -2
- admin.php +2 -8
- easy-adsense-lite.php +3 -3
- readme.txt +3 -2
EzAdmin.php
CHANGED
@@ -473,6 +473,8 @@ ENDDIVS;
|
|
473 |
}
|
474 |
|
475 |
function renderSupport() {
|
|
|
|
|
476 |
$plgURL = $this->plgURL;
|
477 |
$plg = $this->plg;
|
478 |
$slug = $this->slug;
|
@@ -497,6 +499,7 @@ ENDDIVS;
|
|
497 |
printf(__('You are using %s (V%s)', 'easy-common'), $value, $info[0]['Version']);
|
498 |
echo "]</em></small>";
|
499 |
$_SESSION['ezSupport'] = $info[0]['Info'];
|
|
|
500 |
}
|
501 |
|
502 |
function renderWhyPro($short = false) {
|
473 |
}
|
474 |
|
475 |
function renderSupport() {
|
476 |
+
echo '<div style="background-color:#fcf;padding:5px;border: solid 1px;margin:5px;">
|
477 |
+
';
|
478 |
$plgURL = $this->plgURL;
|
479 |
$plg = $this->plg;
|
480 |
$slug = $this->slug;
|
499 |
printf(__('You are using %s (V%s)', 'easy-common'), $value, $info[0]['Version']);
|
500 |
echo "]</em></small>";
|
501 |
$_SESSION['ezSupport'] = $info[0]['Info'];
|
502 |
+
echo "</div>";
|
503 |
}
|
504 |
|
505 |
function renderWhyPro($short = false) {
|
EzOptions.php
CHANGED
@@ -128,7 +128,7 @@ if (!class_exists("EzBaseOption")) {
|
|
128 |
|
129 |
function mkTagToTip() {
|
130 |
if (!empty($this->title)) {
|
131 |
-
$toolTip = "<span style='text-decoration:underline' "
|
132 |
. "onmouseover=\"Tip('{$this->title}')\" "
|
133 |
. "onclick=\"TagToTip('{$this->name}', WIDTH, 300, "
|
134 |
. "TITLE, '{$this->tipTitle}', STICKY, 1, CLOSEBTN, true, "
|
@@ -333,7 +333,7 @@ if (!class_exists("EzBaseOption")) {
|
|
333 |
|
334 |
function render() {
|
335 |
echo "{$this->before}\n";
|
336 |
-
echo "<span style='text-decoration:underline' "
|
337 |
. "onmouseover=\"Tip('{$this->title}')\" "
|
338 |
. "onclick=\"popupwindow('{$this->name}', 'DontCare', 1024, 1024);"
|
339 |
. "return false;\" onmouseout=\"UnTip();\">"
|
@@ -573,6 +573,13 @@ if (!class_exists("EzBasePlugin")) {
|
|
573 |
}
|
574 |
}
|
575 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
576 |
function mkEzAdmin() {
|
577 |
require_once($this->plgDir . '/myPlugins.php');
|
578 |
$slug = $this->slug;
|
128 |
|
129 |
function mkTagToTip() {
|
130 |
if (!empty($this->title)) {
|
131 |
+
$toolTip = "<span style='text-decoration:underline;cursor:pointer;' "
|
132 |
. "onmouseover=\"Tip('{$this->title}')\" "
|
133 |
. "onclick=\"TagToTip('{$this->name}', WIDTH, 300, "
|
134 |
. "TITLE, '{$this->tipTitle}', STICKY, 1, CLOSEBTN, true, "
|
333 |
|
334 |
function render() {
|
335 |
echo "{$this->before}\n";
|
336 |
+
echo "<span style='text-decoration:underline;cursor:pointer;' "
|
337 |
. "onmouseover=\"Tip('{$this->title}')\" "
|
338 |
. "onclick=\"popupwindow('{$this->name}', 'DontCare', 1024, 1024);"
|
339 |
. "return false;\" onmouseout=\"UnTip();\">"
|
573 |
}
|
574 |
}
|
575 |
|
576 |
+
function setOptionValues() {
|
577 |
+
$error = EzBaseOption::setValues($this->options, $this->ezOptions);
|
578 |
+
if (WP_DEBUG && !empty($error)) {
|
579 |
+
echo "<div class='error'>$error</div>";
|
580 |
+
}
|
581 |
+
}
|
582 |
+
|
583 |
function mkEzAdmin() {
|
584 |
require_once($this->plgDir . '/myPlugins.php');
|
585 |
$slug = $this->slug;
|
admin.php
CHANGED
@@ -339,16 +339,10 @@ no', 'easy-adsenser'); ?>
|
|
339 |
if (!$this->isPro) {
|
340 |
$ez->renderWhyPro();
|
341 |
}
|
|
|
|
|
342 |
?>
|
343 |
|
344 |
-
<div style="background-color:#fcf;padding:5px;border: solid 1px;margin:5px;">
|
345 |
-
<?php
|
346 |
-
$ez->renderSupport();
|
347 |
-
?>
|
348 |
-
</div>
|
349 |
-
|
350 |
-
<?php include ($this->plgDir . '/tail-text.php'); ?>
|
351 |
-
|
352 |
<table class="form-table" >
|
353 |
<tr><th scope="row"><b><?php _e('Credits', 'easy-adsenser'); ?></b></th></tr>
|
354 |
<tr><td>
|
339 |
if (!$this->isPro) {
|
340 |
$ez->renderWhyPro();
|
341 |
}
|
342 |
+
$ez->renderSupport();
|
343 |
+
include ($this->plgDir . '/tail-text.php');
|
344 |
?>
|
345 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
<table class="form-table" >
|
347 |
<tr><th scope="row"><b><?php _e('Credits', 'easy-adsenser'); ?></b></th></tr>
|
348 |
<tr><td>
|
easy-adsense-lite.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Easy AdSense
|
5 |
Plugin URI: http://www.thulasidas.com/adsense
|
6 |
Description: Easiest way to show AdSense and make money from your blog. Configure it at <a href="options-general.php?page=easy-adsense-lite.php">Settings → Easy AdSense</a>.
|
7 |
-
Version: 7.
|
8 |
Author: Manoj Thulasidas
|
9 |
Author URI: http://www.thulasidas.com
|
10 |
*/
|
@@ -60,7 +60,7 @@ if (!class_exists("EzAdSense")) {
|
|
60 |
}
|
61 |
// Counts and limis
|
62 |
$this->ezMax = 99;
|
63 |
-
$this->urMax =
|
64 |
$this->urCount = 0;
|
65 |
$this->ezCount = 0;
|
66 |
$this->metaOptions = array();
|
@@ -764,7 +764,7 @@ if (!class_exists("EzAdSense")) {
|
|
764 |
}
|
765 |
$unreal = self::showUnreal();
|
766 |
$adBlock = stripslashes($linebreak . $this->info() .
|
767 |
-
"<!-- [$slot: {$this->ezCount }] -->$linebreak" .
|
768 |
'<div class="ezAdsense adsense adsense-' . $slot . '" ' . $inline . '>' .
|
769 |
$this->options["text_$slot"] .
|
770 |
($this->urCount++ < $this->urMax ? $unreal : '') .
|
4 |
Plugin Name: Easy AdSense
|
5 |
Plugin URI: http://www.thulasidas.com/adsense
|
6 |
Description: Easiest way to show AdSense and make money from your blog. Configure it at <a href="options-general.php?page=easy-adsense-lite.php">Settings → Easy AdSense</a>.
|
7 |
+
Version: 7.13
|
8 |
Author: Manoj Thulasidas
|
9 |
Author URI: http://www.thulasidas.com
|
10 |
*/
|
60 |
}
|
61 |
// Counts and limis
|
62 |
$this->ezMax = 99;
|
63 |
+
$this->urMax = 0;
|
64 |
$this->urCount = 0;
|
65 |
$this->ezCount = 0;
|
66 |
$this->metaOptions = array();
|
764 |
}
|
765 |
$unreal = self::showUnreal();
|
766 |
$adBlock = stripslashes($linebreak . $this->info() .
|
767 |
+
"<!-- [$slot: {$this->ezCount } urCount: {$this->urCount} urMax: {$this->urMax}] -->$linebreak" .
|
768 |
'<div class="ezAdsense adsense adsense-' . $slot . '" ' . $inline . '>' .
|
769 |
$this->options["text_$slot"] .
|
770 |
($this->urCount++ < $this->urMax ? $unreal : '') .
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://buy.thulasidas.com/easy-adsense
|
|
4 |
Tags: adsense, google adsense, ads, advertising, easy adsense, google, adsense plugin
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 3.8
|
7 |
-
Stable tag: 7.
|
8 |
License: GPL2 or later
|
9 |
|
10 |
Easy AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
|
@@ -42,7 +42,7 @@ Easy AdSense is the freely distributed version of a premium plugin. The [Pro ver
|
|
42 |
|
43 |
== Upgrade Notice ==
|
44 |
|
45 |
-
|
46 |
|
47 |
== Screenshots ==
|
48 |
|
@@ -140,6 +140,7 @@ A big "Thank You" to all my translators. Easy AdSense V2.6+ sports an *Easy Tran
|
|
140 |
|
141 |
== Change Log ==
|
142 |
|
|
|
143 |
* V7.12: Auto migrating options to current version if needed. [Apr 2, 2014]
|
144 |
* V7.11: Minor fixes to the links on the widgets page. [Apr 2, 2014]
|
145 |
* V7.10: Coding improvements. [Apr 2, 2014]
|
4 |
Tags: adsense, google adsense, ads, advertising, easy adsense, google, adsense plugin
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 3.8
|
7 |
+
Stable tag: 7.13
|
8 |
License: GPL2 or later
|
9 |
|
10 |
Easy AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
|
42 |
|
43 |
== Upgrade Notice ==
|
44 |
|
45 |
+
Bug fix.
|
46 |
|
47 |
== Screenshots ==
|
48 |
|
140 |
|
141 |
== Change Log ==
|
142 |
|
143 |
+
* V7.13: Bug fix. [Apr 10, 2014]
|
144 |
* V7.12: Auto migrating options to current version if needed. [Apr 2, 2014]
|
145 |
* V7.11: Minor fixes to the links on the widgets page. [Apr 2, 2014]
|
146 |
* V7.10: Coding improvements. [Apr 2, 2014]
|