Version Description
Enjoy this update with the latest tweaks and improvements for AdRotate for WordPress!
Download this release
Release Info
Developer | adegans |
Plugin | AdRotate Banner Manager |
Version | 5.8.17 |
Comparing to | |
See all releases |
Code changes from version 5.8.16 to 5.8.17
- adrotate.php +2 -2
- dashboard/publisher/adverts-edit.php +29 -50
- dashboard/publisher/adverts-generator.php +21 -29
- dashboard/publisher/groups-edit.php +53 -62
- dashboard/settings/advertisers.php +3 -3
- dashboard/settings/general.php +7 -7
- dashboard/settings/geotargeting.php +4 -4
- dashboard/settings/maintenance.php +3 -3
- dashboard/settings/misc.php +4 -4
- dashboard/settings/notifications.php +3 -3
- dashboard/settings/roles.php +8 -8
- dashboard/support.php +5 -5
- readme.txt +19 -18
adrotate.php
CHANGED
@@ -6,7 +6,7 @@ Author: Arnan de Gans
|
|
6 |
Author URI: http://www.arnan.me/?pk_campaign=adrotatefree&pk_keyword=plugin_info
|
7 |
Description: Monetize your website with adverts while keeping things simple. Start making money today!
|
8 |
Text Domain: adrotate
|
9 |
-
Version: 5.8.
|
10 |
License: GPLv3
|
11 |
*/
|
12 |
|
@@ -21,7 +21,7 @@ License: GPLv3
|
|
21 |
------------------------------------------------------------------------------------ */
|
22 |
|
23 |
/*--- AdRotate values ---------------------------------------*/
|
24 |
-
define("ADROTATE_DISPLAY", '5.8.
|
25 |
define("ADROTATE_VERSION", 399);
|
26 |
define("ADROTATE_DB_VERSION", 66);
|
27 |
$plugin_folder = plugin_dir_path(__FILE__);
|
6 |
Author URI: http://www.arnan.me/?pk_campaign=adrotatefree&pk_keyword=plugin_info
|
7 |
Description: Monetize your website with adverts while keeping things simple. Start making money today!
|
8 |
Text Domain: adrotate
|
9 |
+
Version: 5.8.17
|
10 |
License: GPLv3
|
11 |
*/
|
12 |
|
21 |
------------------------------------------------------------------------------------ */
|
22 |
|
23 |
/*--- AdRotate values ---------------------------------------*/
|
24 |
+
define("ADROTATE_DISPLAY", '5.8.17');
|
25 |
define("ADROTATE_VERSION", 399);
|
26 |
define("ADROTATE_DB_VERSION", 66);
|
27 |
$plugin_folder = plugin_dir_path(__FILE__);
|
dashboard/publisher/adverts-edit.php
CHANGED
@@ -111,7 +111,7 @@ if($edit_banner) {
|
|
111 |
<tr>
|
112 |
<th width="15%"><?php _e('Name', 'adrotate'); ?></th>
|
113 |
<td>
|
114 |
-
<
|
115 |
</td>
|
116 |
<td width="35%">
|
117 |
|
@@ -120,7 +120,7 @@ if($edit_banner) {
|
|
120 |
<tr>
|
121 |
<th valign="top"><?php _e('AdCode', 'adrotate'); ?></th>
|
122 |
<td>
|
123 |
-
<
|
124 |
</td>
|
125 |
<td width="35%" rowspan="2">
|
126 |
<p><strong><?php _e('Basic Examples:', 'adrotate'); ?></strong></p>
|
@@ -152,23 +152,20 @@ if($edit_banner) {
|
|
152 |
<tr>
|
153 |
<th valign="top"><?php _e('Banner asset', 'adrotate'); ?></th>
|
154 |
<td colspan="3">
|
155 |
-
<
|
156 |
-
|
157 |
-
</label><br />
|
158 |
<?php _e('- OR -', 'adrotate'); ?><br />
|
159 |
-
<
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
</select><br />
|
171 |
-
</label>
|
172 |
<em><?php _e('Use %asset% in the adcode instead of the file path.', 'adrotate'); ?> <?php _e('Use either the text field or the dropdown. If the textfield has content that field has priority.', 'adrotate'); ?></em>
|
173 |
</td>
|
174 |
</tr>
|
@@ -176,21 +173,18 @@ if($edit_banner) {
|
|
176 |
<tr>
|
177 |
<th width="15%" valign="top"><?php _e('Statistics', 'adrotate'); ?></th>
|
178 |
<td colspan="3">
|
179 |
-
<label for="adrotate_tracker"><input tabindex="6" type="checkbox" name="adrotate_tracker" <?php if($edit_banner->tracker == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Enable click and impression tracking for this advert.', 'adrotate');
|
180 |
<em><?php _e('Note: Clicktracking does not work for Javascript adverts such as those provided by Google AdSense/DFP/DoubleClick. HTML5/Flash adverts are not always supported.', 'adrotate'); ?></em>
|
181 |
-
</label>
|
182 |
</td>
|
183 |
</tr>
|
184 |
<?php } ?>
|
185 |
<tr>
|
186 |
<th><?php _e('Activate', 'adrotate'); ?></th>
|
187 |
<td colspan="3">
|
188 |
-
<
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
</select>
|
193 |
-
</label>
|
194 |
</td>
|
195 |
</tr>
|
196 |
</tbody>
|
@@ -235,17 +229,13 @@ if($edit_banner) {
|
|
235 |
<tr>
|
236 |
<th><?php _e('Start time', 'adrotate'); ?> (hh:mm)</th>
|
237 |
<td>
|
238 |
-
<label for="adrotate_sday">
|
239 |
<input tabindex="11" name="adrotate_start_hour" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $start_hour; ?>" autocomplete="off" /> :
|
240 |
<input tabindex="12" name="adrotate_start_minute" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $start_minute; ?>" autocomplete="off" />
|
241 |
-
</label>
|
242 |
</td>
|
243 |
<th><?php _e('End time', 'adrotate'); ?> (hh:mm)</th>
|
244 |
<td>
|
245 |
-
<label for="adrotate_eday">
|
246 |
<input tabindex="13" name="adrotate_end_hour" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $end_hour; ?>" autocomplete="off" /> :
|
247 |
<input tabindex="14" name="adrotate_end_minute" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $end_minute; ?>" autocomplete="off" />
|
248 |
-
</label>
|
249 |
</td>
|
250 |
</tr>
|
251 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
@@ -273,48 +263,37 @@ if($edit_banner) {
|
|
273 |
<tr>
|
274 |
<th width="15%" valign="top"><?php _e('Show to everyone', 'adrotate'); ?></th>
|
275 |
<td colspan="5">
|
276 |
-
<
|
277 |
-
</label>
|
278 |
</td>
|
279 |
</tr>
|
280 |
<tr>
|
281 |
<th width="15%" valign="top"><?php _e('Weight', 'adrotate'); ?></th>
|
282 |
<td width="17%">
|
283 |
-
<label for="adrotate_weight">
|
284 |
<center><input type="radio" disabled name="adrotate_weight" value="2" /><br /><?php _e('Few impressions', 'adrotate'); ?></center>
|
285 |
-
</label>
|
286 |
</td>
|
287 |
<td width="17%">
|
288 |
-
<label for="adrotate_weight">
|
289 |
<center><input type="radio" disabled name="adrotate_weight" value="4" /><br /><?php _e('Less than average', 'adrotate'); ?></center>
|
290 |
-
</label>
|
291 |
</td>
|
292 |
<td width="17%">
|
293 |
-
<label for="adrotate_weight">
|
294 |
<center><input type="radio" disabled name="adrotate_weight" value="6" checked="1" /><br /><?php _e('Normal impressions', 'adrotate'); ?></center>
|
295 |
-
</label>
|
296 |
</td>
|
297 |
<td width="17%">
|
298 |
-
<label for="adrotate_weight">
|
299 |
<center><input type="radio" disabled name="adrotate_weight" value="8" /><br /><?php _e('More than average', 'adrotate'); ?></center>
|
300 |
-
</label>
|
301 |
</td>
|
302 |
<td>
|
303 |
-
<
|
304 |
-
<center><input type="radio" disabled name="adrotate_weight" value="10" /><br /><?php _e('Many impressions', 'adrotate'); ?>
|
305 |
-
</label>
|
306 |
</td>
|
307 |
</tr>
|
308 |
<tr>
|
309 |
<th width="15%" valign="top"><?php _e('Mobile', 'adrotate'); ?></th>
|
310 |
<td>
|
311 |
-
<
|
312 |
</td>
|
313 |
<td>
|
314 |
-
<
|
315 |
</td>
|
316 |
<td>
|
317 |
-
<
|
318 |
</td>
|
319 |
<td colspan="2" rowspan="2">
|
320 |
<em><?php _e("Also enable 'Mobile Support' in the group this advert goes in or 'Device' and 'Operating System' are ignored!", 'adrotate'); ?><br /><?php _e("Operating system detection only detects iOS and Android, select 'Not Mobile/Other' for everything else.", 'adrotate'); ?></em>
|
@@ -323,19 +302,19 @@ if($edit_banner) {
|
|
323 |
<tr>
|
324 |
<th width="15%" valign="top"><?php _e('Mobile OS', 'adrotate'); ?></th>
|
325 |
<td>
|
326 |
-
<
|
327 |
</td>
|
328 |
<td>
|
329 |
-
<
|
330 |
</td>
|
331 |
<td>
|
332 |
-
<
|
333 |
</td>
|
334 |
</tr>
|
335 |
<tr>
|
336 |
<th valign="top"><?php _e('Auto-delete', 'adrotate'); ?></th>
|
337 |
<td colspan="5">
|
338 |
-
<
|
339 |
</td>
|
340 |
</tr>
|
341 |
</tbody>
|
111 |
<tr>
|
112 |
<th width="15%"><?php _e('Name', 'adrotate'); ?></th>
|
113 |
<td>
|
114 |
+
<input tabindex="1" id="adrotate_title" name="adrotate_title" type="text" size="70" class="ajdg-inputfield ajdg-fullwidth" value="<?php echo stripslashes($edit_banner->title);?>" autocomplete="off" />
|
115 |
</td>
|
116 |
<td width="35%">
|
117 |
|
120 |
<tr>
|
121 |
<th valign="top"><?php _e('AdCode', 'adrotate'); ?></th>
|
122 |
<td>
|
123 |
+
<textarea tabindex="2" id="adrotate_bannercode" name="adrotate_bannercode" cols="70" rows="10" class="ajdg-fullwidth"><?php echo stripslashes($edit_banner->bannercode); ?></textarea>
|
124 |
</td>
|
125 |
<td width="35%" rowspan="2">
|
126 |
<p><strong><?php _e('Basic Examples:', 'adrotate'); ?></strong></p>
|
152 |
<tr>
|
153 |
<th valign="top"><?php _e('Banner asset', 'adrotate'); ?></th>
|
154 |
<td colspan="3">
|
155 |
+
<?php _e('WordPress media:', 'adrotate'); ?> <input tabindex="3" id="adrotate_image" type="text" size="50" name="adrotate_image" value="<?php echo $image_field; ?>" class="ajdg-inputfield" /> <input tabindex="4" id="adrotate_image_button" class="button" type="button" value="<?php _e('Select Banner', 'adrotate'); ?>" />
|
156 |
+
<br />
|
|
|
157 |
<?php _e('- OR -', 'adrotate'); ?><br />
|
158 |
+
<?php _e('Banner folder:', 'adrotate'); ?> <select tabindex="5" name="adrotate_image_dropdown" style="min-width: 200px;">
|
159 |
+
<option value=""><?php _e('No image selected', 'adrotate'); ?></option>
|
160 |
+
<?php
|
161 |
+
$assets = adrotate_dropdown_folder_contents(WP_CONTENT_DIR."/".$adrotate_config['banner_folder'], array('jpg', 'jpeg', 'gif', 'png', 'html', 'htm'));
|
162 |
+
foreach($assets as $key => $option) {
|
163 |
+
echo "<option value=\"$option\"";
|
164 |
+
if($image_dropdown == WP_CONTENT_URL."/banners/".$option) { echo " selected"; }
|
165 |
+
echo ">$option</option>";
|
166 |
+
}
|
167 |
+
?>
|
168 |
+
</select><br />
|
|
|
|
|
169 |
<em><?php _e('Use %asset% in the adcode instead of the file path.', 'adrotate'); ?> <?php _e('Use either the text field or the dropdown. If the textfield has content that field has priority.', 'adrotate'); ?></em>
|
170 |
</td>
|
171 |
</tr>
|
173 |
<tr>
|
174 |
<th width="15%" valign="top"><?php _e('Statistics', 'adrotate'); ?></th>
|
175 |
<td colspan="3">
|
176 |
+
<label for="adrotate_tracker"><input tabindex="6" type="checkbox" name="adrotate_tracker" id="adrotate_tracker" <?php if($edit_banner->tracker == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Enable click and impression tracking for this advert.', 'adrotate'); ?></label><br />
|
177 |
<em><?php _e('Note: Clicktracking does not work for Javascript adverts such as those provided by Google AdSense/DFP/DoubleClick. HTML5/Flash adverts are not always supported.', 'adrotate'); ?></em>
|
|
|
178 |
</td>
|
179 |
</tr>
|
180 |
<?php } ?>
|
181 |
<tr>
|
182 |
<th><?php _e('Activate', 'adrotate'); ?></th>
|
183 |
<td colspan="3">
|
184 |
+
<select tabindex="7" name="adrotate_active">
|
185 |
+
<option value="active" <?php if($edit_banner->type == "active" OR $edit_banner->type == "error") { echo 'selected'; } ?>><?php _e('Enabled, this ad will be visible', 'adrotate'); ?></option>
|
186 |
+
<option value="disabled" <?php if($edit_banner->type == "disabled") { echo 'selected'; } ?>><?php _e('Disabled, do not show this advert anywhere', 'adrotate'); ?></option>
|
187 |
+
</select>
|
|
|
|
|
188 |
</td>
|
189 |
</tr>
|
190 |
</tbody>
|
229 |
<tr>
|
230 |
<th><?php _e('Start time', 'adrotate'); ?> (hh:mm)</th>
|
231 |
<td>
|
|
|
232 |
<input tabindex="11" name="adrotate_start_hour" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $start_hour; ?>" autocomplete="off" /> :
|
233 |
<input tabindex="12" name="adrotate_start_minute" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $start_minute; ?>" autocomplete="off" />
|
|
|
234 |
</td>
|
235 |
<th><?php _e('End time', 'adrotate'); ?> (hh:mm)</th>
|
236 |
<td>
|
|
|
237 |
<input tabindex="13" name="adrotate_end_hour" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $end_hour; ?>" autocomplete="off" /> :
|
238 |
<input tabindex="14" name="adrotate_end_minute" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $end_minute; ?>" autocomplete="off" />
|
|
|
239 |
</td>
|
240 |
</tr>
|
241 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
263 |
<tr>
|
264 |
<th width="15%" valign="top"><?php _e('Show to everyone', 'adrotate'); ?></th>
|
265 |
<td colspan="5">
|
266 |
+
<input type="checkbox" name="adrotate_show_everyone" checked disabled /> <?php _e('Disable this option to hide the advert from logged-in visitors.', 'adrotate'); ?>
|
|
|
267 |
</td>
|
268 |
</tr>
|
269 |
<tr>
|
270 |
<th width="15%" valign="top"><?php _e('Weight', 'adrotate'); ?></th>
|
271 |
<td width="17%">
|
|
|
272 |
<center><input type="radio" disabled name="adrotate_weight" value="2" /><br /><?php _e('Few impressions', 'adrotate'); ?></center>
|
|
|
273 |
</td>
|
274 |
<td width="17%">
|
|
|
275 |
<center><input type="radio" disabled name="adrotate_weight" value="4" /><br /><?php _e('Less than average', 'adrotate'); ?></center>
|
|
|
276 |
</td>
|
277 |
<td width="17%">
|
|
|
278 |
<center><input type="radio" disabled name="adrotate_weight" value="6" checked="1" /><br /><?php _e('Normal impressions', 'adrotate'); ?></center>
|
|
|
279 |
</td>
|
280 |
<td width="17%">
|
|
|
281 |
<center><input type="radio" disabled name="adrotate_weight" value="8" /><br /><?php _e('More than average', 'adrotate'); ?></center>
|
|
|
282 |
</td>
|
283 |
<td>
|
284 |
+
<center><input type="radio" disabled name="adrotate_weight" value="10" /><br /><?php _e('Many impressions', 'adrotate'); ?></center>
|
|
|
|
|
285 |
</td>
|
286 |
</tr>
|
287 |
<tr>
|
288 |
<th width="15%" valign="top"><?php _e('Mobile', 'adrotate'); ?></th>
|
289 |
<td>
|
290 |
+
<center><input disabled type="checkbox" name="adrotate_desktop" checked="1" /><br /><?php _e('Desktops/Laptops', 'adrotate'); ?></center>
|
291 |
</td>
|
292 |
<td>
|
293 |
+
<center><input disabled type="checkbox" name="adrotate_mobile" checked="1" /><br /><?php _e('Smartphones', 'adrotate'); ?></center>
|
294 |
</td>
|
295 |
<td>
|
296 |
+
<center><input disabled type="checkbox" name="adrotate_tablet" checked="1" /><br /><?php _e('Tablets', 'adrotate'); ?></center>
|
297 |
</td>
|
298 |
<td colspan="2" rowspan="2">
|
299 |
<em><?php _e("Also enable 'Mobile Support' in the group this advert goes in or 'Device' and 'Operating System' are ignored!", 'adrotate'); ?><br /><?php _e("Operating system detection only detects iOS and Android, select 'Not Mobile/Other' for everything else.", 'adrotate'); ?></em>
|
302 |
<tr>
|
303 |
<th width="15%" valign="top"><?php _e('Mobile OS', 'adrotate'); ?></th>
|
304 |
<td>
|
305 |
+
<center><input disabled type="checkbox" name="adrotate_ios" checked="1" /><br /><?php _e('iOS', 'adrotate'); ?></center>
|
306 |
</td>
|
307 |
<td>
|
308 |
+
<center><input disabled type="checkbox" name="adrotate_android" checked="1" /><br /><?php _e('Android', 'adrotate'); ?></center>
|
309 |
</td>
|
310 |
<td>
|
311 |
+
<center><input disabled type="checkbox" name="adrotate_other" checked="1" /><br /><?php _e('Not mobile/Others', 'adrotate'); ?></center>
|
312 |
</td>
|
313 |
</tr>
|
314 |
<tr>
|
315 |
<th valign="top"><?php _e('Auto-delete', 'adrotate'); ?></th>
|
316 |
<td colspan="5">
|
317 |
+
<input tabindex="31" type="checkbox" name="adrotate_autodelete" disabled /> <?php _e('Automatically delete the advert 1 day after it expires?', 'adrotate'); ?><br /><em><?php _e('This is useful for short running campaigns that do not require attention after they finish.', 'adrotate'); ?></em>
|
318 |
</td>
|
319 |
</tr>
|
320 |
</tbody>
|
dashboard/publisher/adverts-generator.php
CHANGED
@@ -52,22 +52,20 @@ if($edit_banner) {
|
|
52 |
<tr>
|
53 |
<th valign="top"><?php _e('Banner image', 'adrotate'); ?></th>
|
54 |
<td>
|
55 |
-
<
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
</select> <?php _e('Is your file not listed? Upload it to the banners folder using (s)FTP.', 'adrotate'); ?>
|
64 |
-
</label>
|
65 |
</td>
|
66 |
</tr>
|
67 |
<tr>
|
68 |
<th width="15%" valign="top"><?php _e('Target website', 'adrotate'); ?></th>
|
69 |
<td>
|
70 |
-
<
|
71 |
</td>
|
72 |
</tr>
|
73 |
</tbody>
|
@@ -82,31 +80,25 @@ if($edit_banner) {
|
|
82 |
<tr>
|
83 |
<th valign="top"><?php _e('Smaller Devices', 'adrotate'); ?></th>
|
84 |
<td>
|
85 |
-
<
|
86 |
-
|
87 |
-
|
88 |
-
</select> <em><?php _e('Smaller smartphones and tablets with a viewport of up to 480px wide (up-to 1440px resolution).', 'adrotate'); ?></em>
|
89 |
-
</label>
|
90 |
</td>
|
91 |
</tr>
|
92 |
<tr>
|
93 |
<th valign="top"><?php _e('Medium sized Devices', 'adrotate'); ?></th>
|
94 |
<td>
|
95 |
-
<
|
96 |
-
|
97 |
-
|
98 |
-
</select> <em><?php _e('Larger smartphones or Small tablets with a viewport of up to 960px wide (up-to 1536px resolution).', 'adrotate'); ?></em>
|
99 |
-
</label>
|
100 |
</td>
|
101 |
</tr>
|
102 |
<tr>
|
103 |
<th valign="top"><?php _e('Larger Devices', 'adrotate'); ?></th>
|
104 |
<td>
|
105 |
-
<
|
106 |
-
|
107 |
-
|
108 |
-
</select> <em><?php _e('Small laptops and Larger tablets with a viewport of up to 1280px wide (up-to 2048px resolution).', 'adrotate'); ?></em>
|
109 |
-
</label>
|
110 |
</td>
|
111 |
</tr>
|
112 |
<tr>
|
@@ -123,19 +115,19 @@ if($edit_banner) {
|
|
123 |
<tr>
|
124 |
<th valign="top"><?php _e('Target window', 'adrotate'); ?></th>
|
125 |
<td>
|
126 |
-
<label for="adrotate_newwindow"><input tabindex="6" type="checkbox" name="adrotate_newwindow" checked="1"
|
127 |
</td>
|
128 |
</tr>
|
129 |
<tr>
|
130 |
<th valign="top"><?php _e('NoFollow', 'adrotate'); ?></th>
|
131 |
<td>
|
132 |
-
<
|
133 |
</td>
|
134 |
</tr>
|
135 |
<tr>
|
136 |
<th valign="top"><?php _e('Alt and Title', 'adrotate'); ?></th>
|
137 |
<td>
|
138 |
-
<
|
139 |
</td>
|
140 |
</tr>
|
141 |
</tbody>
|
52 |
<tr>
|
53 |
<th valign="top"><?php _e('Banner image', 'adrotate'); ?></th>
|
54 |
<td>
|
55 |
+
<select tabindex="1" id="adrotate_fullsize_dropdown" name="adrotate_fullsize_dropdown" style="min-width: 300px;">
|
56 |
+
<option value=""><?php _e('Select advert image', 'adrotate'); ?></option>
|
57 |
+
<?php
|
58 |
+
foreach(adrotate_dropdown_folder_contents(WP_CONTENT_DIR."/".$adrotate_config['banner_folder'], array('jpg', 'jpeg', 'gif', 'png'), 0) as $key => $option) {
|
59 |
+
echo "<option value=\"$option\">$option</option>";
|
60 |
+
}
|
61 |
+
?>
|
62 |
+
</select> <?php _e('Is your file not listed? Upload it to the banners folder using (s)FTP.', 'adrotate'); ?>
|
|
|
|
|
63 |
</td>
|
64 |
</tr>
|
65 |
<tr>
|
66 |
<th width="15%" valign="top"><?php _e('Target website', 'adrotate'); ?></th>
|
67 |
<td>
|
68 |
+
<input tabindex="2" id="adrotate_targeturl" name="adrotate_targeturl" type="text" size="60" class="ajdg-inputfield" value="" autocomplete="off" /> <?php _e('Where does the person clicking the advert go?', 'adrotate'); ?>
|
69 |
</td>
|
70 |
</tr>
|
71 |
</tbody>
|
80 |
<tr>
|
81 |
<th valign="top"><?php _e('Smaller Devices', 'adrotate'); ?></th>
|
82 |
<td>
|
83 |
+
<select tabindex="3" id="adrotate_small_dropdown" name="adrotate_small_dropdown" style="min-width: 300px;" disabled>
|
84 |
+
<option value=""><?php _e('No file selected', 'adrotate'); ?></option>
|
85 |
+
</select> <em><?php _e('Smaller smartphones and tablets with a viewport of up to 480px wide (up-to 1440px resolution).', 'adrotate'); ?></em>
|
|
|
|
|
86 |
</td>
|
87 |
</tr>
|
88 |
<tr>
|
89 |
<th valign="top"><?php _e('Medium sized Devices', 'adrotate'); ?></th>
|
90 |
<td>
|
91 |
+
<select tabindex="4" id="adrotate_medium_dropdown" name="adrotate_medium_dropdown" style="min-width: 300px;" disabled>
|
92 |
+
<option value=""><?php _e('No file selected', 'adrotate'); ?></option>
|
93 |
+
</select> <em><?php _e('Larger smartphones or Small tablets with a viewport of up to 960px wide (up-to 1536px resolution).', 'adrotate'); ?></em>
|
|
|
|
|
94 |
</td>
|
95 |
</tr>
|
96 |
<tr>
|
97 |
<th valign="top"><?php _e('Larger Devices', 'adrotate'); ?></th>
|
98 |
<td>
|
99 |
+
<select tabindex="5" id="adrotate_large_dropdown" name="adrotate_large_dropdown" style="min-width: 300px;" disabled>
|
100 |
+
<option value=""><?php _e('No file selected', 'adrotate'); ?></option>
|
101 |
+
</select> <em><?php _e('Small laptops and Larger tablets with a viewport of up to 1280px wide (up-to 2048px resolution).', 'adrotate'); ?></em>
|
|
|
|
|
102 |
</td>
|
103 |
</tr>
|
104 |
<tr>
|
115 |
<tr>
|
116 |
<th valign="top"><?php _e('Target window', 'adrotate'); ?></th>
|
117 |
<td>
|
118 |
+
<label for="adrotate_newwindow"><input tabindex="6" type="checkbox" name="adrotate_newwindow" id="adrotate_newwindow" checked="1" /> <?php _e('Open the advert in a new window?', 'adrotate'); ?> <?php _e('(Recommended)', 'adrotate'); ?></label>
|
119 |
</td>
|
120 |
</tr>
|
121 |
<tr>
|
122 |
<th valign="top"><?php _e('NoFollow', 'adrotate'); ?></th>
|
123 |
<td>
|
124 |
+
<input tabindex="7" type="checkbox" name="adrotate_nofollow" disabled /> <?php _e('Tell crawlers and search engines not to follow the target website url?', 'adrotate'); ?> <?php _e('(Available in AdRotate Pro)', 'adrotate'); ?><br /><em><?php _e('Letting bots (Such as Googlebot) index paid links may negatively affect your SEO and PageRank.', 'adrotate'); ?></em>
|
125 |
</td>
|
126 |
</tr>
|
127 |
<tr>
|
128 |
<th valign="top"><?php _e('Alt and Title', 'adrotate'); ?></th>
|
129 |
<td>
|
130 |
+
<input tabindex="8" type="checkbox" name="adrotate_title_attr" disabled /> <?php _e('Add an alt and title attribute based on the asset name?', 'adrotate'); ?> <?php _e('(Available in AdRotate Pro)', 'adrotate'); ?><br /><em><?php _e('Some bots/crawlers use them as a descriptive measure to see what the code is about.', 'adrotate'); ?></em>
|
131 |
</td>
|
132 |
</tr>
|
133 |
</tbody>
|
dashboard/publisher/groups-edit.php
CHANGED
@@ -64,7 +64,7 @@ if($edit_group) {
|
|
64 |
<tr>
|
65 |
<th width="15%"><?php _e('Name', 'adrotate'); ?></th>
|
66 |
<td width="35%">
|
67 |
-
<
|
68 |
</td>
|
69 |
<td>
|
70 |
|
@@ -86,7 +86,7 @@ if($edit_group) {
|
|
86 |
<tr>
|
87 |
<th valign="top"><?php _e('Advert size', 'adrotate'); ?></strong></th>
|
88 |
<td>
|
89 |
-
<
|
90 |
</td>
|
91 |
<td>
|
92 |
<em><?php _e('Define the maximum size of the adverts in pixels. Size can be \'auto\' (Not recommended).', 'adrotate'); ?></em>
|
@@ -101,15 +101,15 @@ if($edit_group) {
|
|
101 |
<tr>
|
102 |
<th width="15%"><?php _e('Block size', 'adrotate'); ?></strong></th>
|
103 |
<td width="35%">
|
104 |
-
<
|
105 |
<?php for($rows=1;$rows<=32;$rows++) { ?>
|
106 |
<option value="<?php echo $rows; ?>" <?php if($edit_group->gridrows == $rows) { echo 'selected'; } ?>><?php echo $rows; ?></option>
|
107 |
<?php } ?>
|
108 |
-
</select> <?php _e('rows', 'adrotate');
|
109 |
<?php for($columns=1;$columns<=12;$columns++) { ?>
|
110 |
<option value="<?php echo $columns; ?>" <?php if($edit_group->gridcolumns == $columns) { echo 'selected'; } ?>><?php echo $columns; ?></option>
|
111 |
<?php } ?>
|
112 |
-
</select> <?php _e('columns', 'adrotate');
|
113 |
</td>
|
114 |
<td colspan="2">
|
115 |
<p><em><?php _e('Block Mode', 'adrotate'); ?> - <?php _e('Larger blocks will degrade your sites performance! Default: 2/2.', 'adrotate'); ?></em></p>
|
@@ -118,7 +118,7 @@ if($edit_group) {
|
|
118 |
<tr>
|
119 |
<th valign="top"><?php _e('Automated refresh', 'adrotate'); ?></strong></th>
|
120 |
<td>
|
121 |
-
<
|
122 |
<option value="3000" <?php if($edit_group->adspeed == 3000) { echo 'selected'; } ?>>3</option>
|
123 |
<option value="4000" <?php if($edit_group->adspeed == 4000) { echo 'selected'; } ?>>4</option>
|
124 |
<option value="5000" <?php if($edit_group->adspeed == 5000) { echo 'selected'; } ?>>5</option>
|
@@ -135,7 +135,7 @@ if($edit_group) {
|
|
135 |
<option value="45000" <?php if($edit_group->adspeed == 45000) { echo 'selected'; } ?>>45</option>
|
136 |
<option value="60000" <?php if($edit_group->adspeed == 60000) { echo 'selected'; } ?>>60</option>
|
137 |
<option value="90000" <?php if($edit_group->adspeed == 90000) { echo 'selected'; } ?>>90</option>
|
138 |
-
</select> <?php _e('seconds.', 'adrotate');
|
139 |
</td>
|
140 |
<td colspan="2">
|
141 |
<p><em><?php _e('Dynamic Mode', 'adrotate'); ?> - <?php _e('Load a new advert in this interval without reloading the page. Default: 6.', 'adrotate'); ?></em></p>
|
@@ -144,7 +144,7 @@ if($edit_group) {
|
|
144 |
<tr>
|
145 |
<th valign="top"><?php _e('Repeat impressions', 'adrotate'); ?></th>
|
146 |
<td>
|
147 |
-
<
|
148 |
</td>
|
149 |
<td>
|
150 |
<em><?php _e('Dynamic Mode', 'adrotate'); ?> - <?php _e('Uncheck this option to only count impressions for the first cycle of adverts.', 'adrotate'); ?></em>
|
@@ -181,7 +181,7 @@ if($edit_group) {
|
|
181 |
<tr>
|
182 |
<th width="15%" valign="top"><?php _e('Advert Margin', 'adrotate'); ?></strong></th>
|
183 |
<td width="35%">
|
184 |
-
<
|
185 |
</td>
|
186 |
<td>
|
187 |
<p><em><?php _e('A transparent area outside the advert in pixels. Default: 0.', 'adrotate'); ?> <?php _e('Set to 0 to disable.', 'adrotate'); ?> <?php _e('Margins are automatically disabled for blocks where required.', 'adrotate'); ?></em></p>
|
@@ -190,12 +190,12 @@ if($edit_group) {
|
|
190 |
<tr>
|
191 |
<th valign="top"><?php _e('Align the group', 'adrotate'); ?></strong></th>
|
192 |
<td>
|
193 |
-
<
|
194 |
<option value="0" <?php if($edit_group->align == 0) { echo 'selected'; } ?>><?php _e('None (Default)', 'adrotate'); ?></option>
|
195 |
<option value="1" <?php if($edit_group->align == 1) { echo 'selected'; } ?>><?php _e('Left', 'adrotate'); ?></option>
|
196 |
<option value="2" <?php if($edit_group->align == 2) { echo 'selected'; } ?>><?php _e('Right', 'adrotate'); ?></option>
|
197 |
<option value="3" <?php if($edit_group->align == 3) { echo 'selected'; } ?>><?php _e('Center', 'adrotate'); ?></option>
|
198 |
-
</select
|
199 |
</td>
|
200 |
<td>
|
201 |
<p><em><?php _e('Align the group in your post or page. Using \'center\' may affect your margin setting. Not every theme supports this feature.', 'adrotate'); ?></em></p>
|
@@ -203,18 +203,17 @@ if($edit_group) {
|
|
203 |
</tr>
|
204 |
<tr>
|
205 |
<th width="15%" valign="top"><?php _e('Geo Targeting', 'adrotate'); ?></th>
|
206 |
-
<td width="35%"><
|
207 |
<td><p><em><?php _e('Do not forget to tell the adverts for which areas they should show.', 'adrotate'); ?></em></p></td>
|
208 |
</tr>
|
209 |
<tr>
|
210 |
<th width="15%" valign="top"><?php _e('Mobile Support', 'adrotate'); ?></th>
|
211 |
-
<td width="35%"><
|
212 |
<td><p><em><?php _e('Do not forget to put at least one mobile advert in this group.', 'adrotate'); ?></em></p></td>
|
213 |
</tr>
|
214 |
<tr>
|
215 |
<th valign="top"><?php _e('Fallback Group', 'adrotate'); ?></th>
|
216 |
<td>
|
217 |
-
<label for="adrotate_fallback">
|
218 |
<select tabindex="16" name="adrotate_fallback" disabled>
|
219 |
<option value="0"><?php _e('Available in AdRotate Pro', 'adrotate'); ?></option>
|
220 |
</select>
|
@@ -234,30 +233,26 @@ if($edit_group) {
|
|
234 |
<div class="ajdg-postbox">
|
235 |
<h2 class="ajdg-postbox-title"><?php _e('Post Injection', 'adrotate'); ?></h2>
|
236 |
<div id="postinjection" class="ajdg-postbox-content">
|
237 |
-
<p><
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
<option value="7" <?php if($edit_group->cat_par == 7) { echo 'selected'; } ?>><?php _e('after the 7th paragraph', 'adrotate'); ?></option>
|
258 |
-
<option value="8" <?php if($edit_group->cat_par == 8) { echo 'selected'; } ?>><?php _e('after the 8th paragraph', 'adrotate'); ?></option>
|
259 |
-
</select>
|
260 |
-
</label></p>
|
261 |
<p><strong>Select Categories</strong></p>
|
262 |
<div class="adrotate-select">
|
263 |
<?php echo adrotate_select_categories($edit_group->cat, 0, 0, 0); ?>
|
@@ -271,30 +266,26 @@ if($edit_group) {
|
|
271 |
<div class="ajdg-postbox">
|
272 |
<h2 class="ajdg-postbox-title"><?php _e('Page Injection', 'adrotate'); ?></h2>
|
273 |
<div id="pageinjection" class="ajdg-postbox-content">
|
274 |
-
<p><
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
<option value="7" <?php if($edit_group->page_par == 7) { echo 'selected'; } ?>><?php _e('after the 7th paragraph', 'adrotate'); ?></option>
|
295 |
-
<option value="8" <?php if($edit_group->page_par == 8) { echo 'selected'; } ?>><?php _e('after the 8th paragraph', 'adrotate'); ?></option>
|
296 |
-
</select>
|
297 |
-
</label></p>
|
298 |
|
299 |
<p><strong>Select Pages</strong></p>
|
300 |
<div class="adrotate-select">
|
64 |
<tr>
|
65 |
<th width="15%"><?php _e('Name', 'adrotate'); ?></th>
|
66 |
<td width="35%">
|
67 |
+
<input tabindex="1" name="adrotate_groupname" type="text" class="ajdg-fullwidth ajdg-inputfield" size="70" value="<?php echo $edit_group->name; ?>" autocomplete="off" />
|
68 |
</td>
|
69 |
<td>
|
70 |
|
86 |
<tr>
|
87 |
<th valign="top"><?php _e('Advert size', 'adrotate'); ?></strong></th>
|
88 |
<td>
|
89 |
+
<input tabindex="5" name="adrotate_adwidth" type="text" class="search-input" size="3" value="<?php echo $edit_group->adwidth; ?>" autocomplete="off" /> <?php _e('pixel(s) wide', 'adrotate'); ?>, <input tabindex="6" name="adrotate_adheight" type="text" class="search-input" size="3" value="<?php echo $edit_group->adheight; ?>" autocomplete="off" /> <?php _e('pixel(s) high.', 'adrotate'); ?>
|
90 |
</td>
|
91 |
<td>
|
92 |
<em><?php _e('Define the maximum size of the adverts in pixels. Size can be \'auto\' (Not recommended).', 'adrotate'); ?></em>
|
101 |
<tr>
|
102 |
<th width="15%"><?php _e('Block size', 'adrotate'); ?></strong></th>
|
103 |
<td width="35%">
|
104 |
+
<select tabindex="3" name="adrotate_gridrows">
|
105 |
<?php for($rows=1;$rows<=32;$rows++) { ?>
|
106 |
<option value="<?php echo $rows; ?>" <?php if($edit_group->gridrows == $rows) { echo 'selected'; } ?>><?php echo $rows; ?></option>
|
107 |
<?php } ?>
|
108 |
+
</select> <?php _e('rows', 'adrotate'); ?>, <select tabindex="4" name="adrotate_gridcolumns">
|
109 |
<?php for($columns=1;$columns<=12;$columns++) { ?>
|
110 |
<option value="<?php echo $columns; ?>" <?php if($edit_group->gridcolumns == $columns) { echo 'selected'; } ?>><?php echo $columns; ?></option>
|
111 |
<?php } ?>
|
112 |
+
</select> <?php _e('columns', 'adrotate'); ?>.
|
113 |
</td>
|
114 |
<td colspan="2">
|
115 |
<p><em><?php _e('Block Mode', 'adrotate'); ?> - <?php _e('Larger blocks will degrade your sites performance! Default: 2/2.', 'adrotate'); ?></em></p>
|
118 |
<tr>
|
119 |
<th valign="top"><?php _e('Automated refresh', 'adrotate'); ?></strong></th>
|
120 |
<td>
|
121 |
+
<select tabindex="7" name="adrotate_adspeed">
|
122 |
<option value="3000" <?php if($edit_group->adspeed == 3000) { echo 'selected'; } ?>>3</option>
|
123 |
<option value="4000" <?php if($edit_group->adspeed == 4000) { echo 'selected'; } ?>>4</option>
|
124 |
<option value="5000" <?php if($edit_group->adspeed == 5000) { echo 'selected'; } ?>>5</option>
|
135 |
<option value="45000" <?php if($edit_group->adspeed == 45000) { echo 'selected'; } ?>>45</option>
|
136 |
<option value="60000" <?php if($edit_group->adspeed == 60000) { echo 'selected'; } ?>>60</option>
|
137 |
<option value="90000" <?php if($edit_group->adspeed == 90000) { echo 'selected'; } ?>>90</option>
|
138 |
+
</select> <?php _e('seconds.', 'adrotate'); ?>
|
139 |
</td>
|
140 |
<td colspan="2">
|
141 |
<p><em><?php _e('Dynamic Mode', 'adrotate'); ?> - <?php _e('Load a new advert in this interval without reloading the page. Default: 6.', 'adrotate'); ?></em></p>
|
144 |
<tr>
|
145 |
<th valign="top"><?php _e('Repeat impressions', 'adrotate'); ?></th>
|
146 |
<td>
|
147 |
+
<input type="checkbox" name="adrotate_repeat_impressions" checked disabled /> <?php _e('Count impressions for every cycle of adverts?', 'adrotate'); ?>
|
148 |
</td>
|
149 |
<td>
|
150 |
<em><?php _e('Dynamic Mode', 'adrotate'); ?> - <?php _e('Uncheck this option to only count impressions for the first cycle of adverts.', 'adrotate'); ?></em>
|
181 |
<tr>
|
182 |
<th width="15%" valign="top"><?php _e('Advert Margin', 'adrotate'); ?></strong></th>
|
183 |
<td width="35%">
|
184 |
+
<input tabindex="9" name="adrotate_admargin" type="text" class="ajdg-inputfield" size="5" value="<?php echo $edit_group->admargin; ?>" autocomplete="off" /> <?php _e('pixel(s)', 'adrotate'); ?>.
|
185 |
</td>
|
186 |
<td>
|
187 |
<p><em><?php _e('A transparent area outside the advert in pixels. Default: 0.', 'adrotate'); ?> <?php _e('Set to 0 to disable.', 'adrotate'); ?> <?php _e('Margins are automatically disabled for blocks where required.', 'adrotate'); ?></em></p>
|
190 |
<tr>
|
191 |
<th valign="top"><?php _e('Align the group', 'adrotate'); ?></strong></th>
|
192 |
<td>
|
193 |
+
<select tabindex="10" name="adrotate_align">
|
194 |
<option value="0" <?php if($edit_group->align == 0) { echo 'selected'; } ?>><?php _e('None (Default)', 'adrotate'); ?></option>
|
195 |
<option value="1" <?php if($edit_group->align == 1) { echo 'selected'; } ?>><?php _e('Left', 'adrotate'); ?></option>
|
196 |
<option value="2" <?php if($edit_group->align == 2) { echo 'selected'; } ?>><?php _e('Right', 'adrotate'); ?></option>
|
197 |
<option value="3" <?php if($edit_group->align == 3) { echo 'selected'; } ?>><?php _e('Center', 'adrotate'); ?></option>
|
198 |
+
</select>
|
199 |
</td>
|
200 |
<td>
|
201 |
<p><em><?php _e('Align the group in your post or page. Using \'center\' may affect your margin setting. Not every theme supports this feature.', 'adrotate'); ?></em></p>
|
203 |
</tr>
|
204 |
<tr>
|
205 |
<th width="15%" valign="top"><?php _e('Geo Targeting', 'adrotate'); ?></th>
|
206 |
+
<td width="35%"><input type="checkbox" name="adrotate_geo" value="1" disabled /> <?php _e('Enable Geo Targeting for this group.', 'adrotate'); ?></td>
|
207 |
<td><p><em><?php _e('Do not forget to tell the adverts for which areas they should show.', 'adrotate'); ?></em></p></td>
|
208 |
</tr>
|
209 |
<tr>
|
210 |
<th width="15%" valign="top"><?php _e('Mobile Support', 'adrotate'); ?></th>
|
211 |
+
<td width="35%"><input type="checkbox" name="adrotate_mobile" value="1" disabled /> <?php _e('Enable mobile support for this group.', 'adrotate'); ?></td>
|
212 |
<td><p><em><?php _e('Do not forget to put at least one mobile advert in this group.', 'adrotate'); ?></em></p></td>
|
213 |
</tr>
|
214 |
<tr>
|
215 |
<th valign="top"><?php _e('Fallback Group', 'adrotate'); ?></th>
|
216 |
<td>
|
|
|
217 |
<select tabindex="16" name="adrotate_fallback" disabled>
|
218 |
<option value="0"><?php _e('Available in AdRotate Pro', 'adrotate'); ?></option>
|
219 |
</select>
|
233 |
<div class="ajdg-postbox">
|
234 |
<h2 class="ajdg-postbox-title"><?php _e('Post Injection', 'adrotate'); ?></h2>
|
235 |
<div id="postinjection" class="ajdg-postbox-content">
|
236 |
+
<p><select tabindex="18" name="adrotate_cat_location">
|
237 |
+
<option value="0" <?php if($edit_group->cat_loc == 0) { echo 'selected'; } ?>><?php _e('Disabled', 'adrotate'); ?></option>
|
238 |
+
<option value="0" disabled><?php _e('Widget (Pro only)', 'adrotate'); ?></option>
|
239 |
+
<option value="1" <?php if($edit_group->cat_loc == 1) { echo 'selected'; } ?>><?php _e('Before content', 'adrotate'); ?></option>
|
240 |
+
<option value="2" <?php if($edit_group->cat_loc == 2) { echo 'selected'; } ?>><?php _e('After content', 'adrotate'); ?></option>
|
241 |
+
<option value="3" <?php if($edit_group->cat_loc == 3) { echo 'selected'; } ?>><?php _e('Before and after content', 'adrotate'); ?></option>
|
242 |
+
<option value="4" <?php if($edit_group->cat_loc == 4) { echo 'selected'; } ?>><?php _e('Inside the content...', 'adrotate'); ?></option>
|
243 |
+
</select>
|
244 |
+
<select tabindex="19" name="adrotate_cat_paragraph">
|
245 |
+
<option value="0" <?php if($edit_group->cat_par == 0) { echo 'selected'; } ?>>...</option>
|
246 |
+
<option value="99" <?php if($edit_group->cat_par == 99) { echo 'selected'; } ?>><?php _e('after the middle paragraph', 'adrotate'); ?></option>
|
247 |
+
<option value="1" <?php if($edit_group->cat_par == 1) { echo 'selected'; } ?>><?php _e('after the 1st paragraph', 'adrotate'); ?></option>
|
248 |
+
<option value="2" <?php if($edit_group->cat_par == 2) { echo 'selected'; } ?>><?php _e('after the 2nd paragraph', 'adrotate'); ?></option>
|
249 |
+
<option value="3" <?php if($edit_group->cat_par == 3) { echo 'selected'; } ?>><?php _e('after the 3rd paragraph', 'adrotate'); ?></option>
|
250 |
+
<option value="4" <?php if($edit_group->cat_par == 4) { echo 'selected'; } ?>><?php _e('after the 4th paragraph', 'adrotate'); ?></option>
|
251 |
+
<option value="5" <?php if($edit_group->cat_par == 5) { echo 'selected'; } ?>><?php _e('after the 5th paragraph', 'adrotate'); ?></option>
|
252 |
+
<option value="6" <?php if($edit_group->cat_par == 6) { echo 'selected'; } ?>><?php _e('after the 6th paragraph', 'adrotate'); ?></option>
|
253 |
+
<option value="7" <?php if($edit_group->cat_par == 7) { echo 'selected'; } ?>><?php _e('after the 7th paragraph', 'adrotate'); ?></option>
|
254 |
+
<option value="8" <?php if($edit_group->cat_par == 8) { echo 'selected'; } ?>><?php _e('after the 8th paragraph', 'adrotate'); ?></option>
|
255 |
+
</select></p>
|
|
|
|
|
|
|
|
|
256 |
<p><strong>Select Categories</strong></p>
|
257 |
<div class="adrotate-select">
|
258 |
<?php echo adrotate_select_categories($edit_group->cat, 0, 0, 0); ?>
|
266 |
<div class="ajdg-postbox">
|
267 |
<h2 class="ajdg-postbox-title"><?php _e('Page Injection', 'adrotate'); ?></h2>
|
268 |
<div id="pageinjection" class="ajdg-postbox-content">
|
269 |
+
<p><select tabindex="20" name="adrotate_page_location">
|
270 |
+
<option value="0" <?php if($edit_group->page_loc == 0) { echo 'selected'; } ?>><?php _e('Disabled', 'adrotate'); ?></option>
|
271 |
+
<option value="0" disabled><?php _e('Widget (Pro only)', 'adrotate'); ?></option>
|
272 |
+
<option value="1" <?php if($edit_group->page_loc == 1) { echo 'selected'; } ?>><?php _e('Before content', 'adrotate'); ?></option>
|
273 |
+
<option value="2" <?php if($edit_group->page_loc == 2) { echo 'selected'; } ?>><?php _e('After content', 'adrotate'); ?></option>
|
274 |
+
<option value="3" <?php if($edit_group->page_loc == 3) { echo 'selected'; } ?>><?php _e('Before and after content', 'adrotate'); ?></option>
|
275 |
+
<option value="4" <?php if($edit_group->page_loc == 4) { echo 'selected'; } ?>><?php _e('Inside the content...', 'adrotate'); ?></option>
|
276 |
+
</select>
|
277 |
+
<select tabindex="21" name="adrotate_page_paragraph">
|
278 |
+
<option value="0" <?php if($edit_group->page_par == 0) { echo 'selected'; } ?>>...</option>
|
279 |
+
<option value="99" <?php if($edit_group->page_par == 99) { echo 'selected'; } ?>><?php _e('after the middle paragraph', 'adrotate'); ?></option>
|
280 |
+
<option value="1" <?php if($edit_group->page_par == 1) { echo 'selected'; } ?>><?php _e('after the 1st paragraph', 'adrotate'); ?></option>
|
281 |
+
<option value="2" <?php if($edit_group->page_par == 2) { echo 'selected'; } ?>><?php _e('after the 2nd paragraph', 'adrotate'); ?></option>
|
282 |
+
<option value="3" <?php if($edit_group->page_par == 3) { echo 'selected'; } ?>><?php _e('after the 3rd paragraph', 'adrotate'); ?></option>
|
283 |
+
<option value="4" <?php if($edit_group->page_par == 4) { echo 'selected'; } ?>><?php _e('after the 4th paragraph', 'adrotate'); ?></option>
|
284 |
+
<option value="5" <?php if($edit_group->page_par == 5) { echo 'selected'; } ?>><?php _e('after the 5th paragraph', 'adrotate'); ?></option>
|
285 |
+
<option value="6" <?php if($edit_group->page_par == 6) { echo 'selected'; } ?>><?php _e('after the 6th paragraph', 'adrotate'); ?></option>
|
286 |
+
<option value="7" <?php if($edit_group->page_par == 7) { echo 'selected'; } ?>><?php _e('after the 7th paragraph', 'adrotate'); ?></option>
|
287 |
+
<option value="8" <?php if($edit_group->page_par == 8) { echo 'selected'; } ?>><?php _e('after the 8th paragraph', 'adrotate'); ?></option>
|
288 |
+
</select></p>
|
|
|
|
|
|
|
|
|
289 |
|
290 |
<p><strong>Select Pages</strong></p>
|
291 |
<div class="adrotate-select">
|
dashboard/settings/advertisers.php
CHANGED
@@ -19,13 +19,13 @@
|
|
19 |
<tr>
|
20 |
<th valign="top"><?php _e('Enable Advertisers', 'adrotate'); ?></th>
|
21 |
<td>
|
22 |
-
<
|
23 |
</td>
|
24 |
</tr>
|
25 |
<tr>
|
26 |
<th valign="top"><?php _e('Edit/update adverts', 'adrotate'); ?></th>
|
27 |
<td>
|
28 |
-
<
|
29 |
</td>
|
30 |
</tr>
|
31 |
<tr>
|
@@ -43,7 +43,7 @@
|
|
43 |
<tr>
|
44 |
<th valign="top"><?php _e('Advertiser role', 'adrotate'); ?></th>
|
45 |
<td>
|
46 |
-
<
|
47 |
<span class="description"><?php _e('Don\'t forget to give these users access to their advertiser dashboard via the Roles tab.', 'adrotate'); ?></span>
|
48 |
</td>
|
49 |
</tr>
|
19 |
<tr>
|
20 |
<th valign="top"><?php _e('Enable Advertisers', 'adrotate'); ?></th>
|
21 |
<td>
|
22 |
+
<input type="checkbox" name="adrotate_enable_advertisers_disabled" disabled="1" /> <?php _e('Allow adverts to be coupled to users (Advertisers).', 'adrotate'); ?>
|
23 |
</td>
|
24 |
</tr>
|
25 |
<tr>
|
26 |
<th valign="top"><?php _e('Edit/update adverts', 'adrotate'); ?></th>
|
27 |
<td>
|
28 |
+
<input type="checkbox" name="adrotate_enable_editing_disabled" disabled="1" /> <?php _e('Allow advertisers to add new or edit their adverts.', 'adrotate'); ?>
|
29 |
</td>
|
30 |
</tr>
|
31 |
<tr>
|
43 |
<tr>
|
44 |
<th valign="top"><?php _e('Advertiser role', 'adrotate'); ?></th>
|
45 |
<td>
|
46 |
+
<input type="checkbox" name="adrotate_role_disabled" disabled="1" /> <?php _e('Create a seperate user role for your advertisers.', 'adrotate'); ?><br />
|
47 |
<span class="description"><?php _e('Don\'t forget to give these users access to their advertiser dashboard via the Roles tab.', 'adrotate'); ?></span>
|
48 |
</td>
|
49 |
</tr>
|
dashboard/settings/general.php
CHANGED
@@ -19,28 +19,28 @@
|
|
19 |
<table class="form-table">
|
20 |
<tr>
|
21 |
<th valign="top"><?php _e('Shortcode in widgets', 'adrotate'); ?></th>
|
22 |
-
<td><
|
23 |
</tr>
|
24 |
<tr>
|
25 |
<th valign="top"><?php _e('Disable live preview', 'adrotate'); ?></th>
|
26 |
-
<td><
|
27 |
</tr>
|
28 |
<tr>
|
29 |
<th valign="top"><?php _e('Disable dynamic mode', 'adrotate'); ?></th>
|
30 |
-
<td><label for="adrotate_mobile_dynamic_mode"><input type="checkbox" name="adrotate_mobile_dynamic_mode" <?php if($adrotate_config['mobile_dynamic_mode'] == 'Y') { ?>checked="checked" <?php } ?> /><?php _e('Enable this option to disable dynamic mode in groups for mobile devices if you notice skipping or jumpy content.', 'adrotate'); ?></label></td>
|
31 |
</tr>
|
32 |
<tr>
|
33 |
<th valign="top"><?php _e('Load jQuery', 'adrotate'); ?></th>
|
34 |
-
<td><label for="adrotate_jquery"><input type="checkbox" name="adrotate_jquery" <?php if($adrotate_config['jquery'] == 'Y') { ?>checked="checked" <?php } ?> /><?php _e('Enable this option if your theme does not load jQuery. jQuery is required for dynamic groups, statistics and some other features.', 'adrotate'); ?></label></td>
|
35 |
</tr>
|
36 |
<tr>
|
37 |
<th valign="top"><?php _e('Load scripts in footer?', 'adrotate'); ?></th>
|
38 |
-
<td><label for="adrotate_jsfooter"><input type="checkbox" name="adrotate_jsfooter" <?php if($adrotate_config['jsfooter'] == 'Y') { ?>checked="checked" <?php } ?> /><?php _e('Enable this option if you want to load all AdRotate Javascripts in the footer of your site.', 'adrotate'); ?></label></td>
|
39 |
</tr>
|
40 |
<tr>
|
41 |
<th valign="top"><?php _e('Adblock disguise', 'adrotate'); ?></th>
|
42 |
<td>
|
43 |
-
<
|
44 |
<span class="description"><?php _e('Try and avoid adblock plugins in most modern browsers when using shortcodes.', 'adrotate'); ?><br /><?php _e('To also apply this feature to widgets, use a text widget with a shortcode instead of the AdRotate widget.', 'adrotate'); ?><br /><?php _e('Avoid the use of obvious keywords or filenames in your adverts or this feature will have little effect!', 'adrotate'); ?></span>
|
45 |
</td>
|
46 |
</tr>
|
@@ -52,7 +52,7 @@
|
|
52 |
<tr>
|
53 |
<th valign="top"><?php _e('Folder name', 'adrotate'); ?></th>
|
54 |
<td>
|
55 |
-
|
56 |
<span class="description"><?php _e('To try and trick ad blockers you could set the folder to something crazy like:', 'adrotate'); ?> "<?php echo adrotate_rand(12); ?>".<br />
|
57 |
<?php _e("This folder will not be automatically created if it doesn't exist. AdRotate will show errors when the folder is missing.", 'adrotate'); ?></span>
|
58 |
</td>
|
19 |
<table class="form-table">
|
20 |
<tr>
|
21 |
<th valign="top"><?php _e('Shortcode in widgets', 'adrotate'); ?></th>
|
22 |
+
<td><input type="checkbox" name="adrotate_textwidget_shortcodes" disabled /><?php _e('Enable this option to if your theme does not support shortcodes in the WordPress text widget.', 'adrotate'); ?></td>
|
23 |
</tr>
|
24 |
<tr>
|
25 |
<th valign="top"><?php _e('Disable live preview', 'adrotate'); ?></th>
|
26 |
+
<td><input type="checkbox" name="adrotate_live_preview" disabled checked /><?php _e('Enable this option if you have faulty adverts that overflow their designated area while creating/editing adverts.', 'adrotate'); ?></td>
|
27 |
</tr>
|
28 |
<tr>
|
29 |
<th valign="top"><?php _e('Disable dynamic mode', 'adrotate'); ?></th>
|
30 |
+
<td><label for="adrotate_mobile_dynamic_mode"><input type="checkbox" name="adrotate_mobile_dynamic_mode" id="adrotate_mobile_dynamic_mode" <?php if($adrotate_config['mobile_dynamic_mode'] == 'Y') { ?>checked="checked" <?php } ?> /><?php _e('Enable this option to disable dynamic mode in groups for mobile devices if you notice skipping or jumpy content.', 'adrotate'); ?></label></td>
|
31 |
</tr>
|
32 |
<tr>
|
33 |
<th valign="top"><?php _e('Load jQuery', 'adrotate'); ?></th>
|
34 |
+
<td><label for="adrotate_jquery"><input type="checkbox" name="adrotate_jquery" id="adrotate_jquery" <?php if($adrotate_config['jquery'] == 'Y') { ?>checked="checked" <?php } ?> /><?php _e('Enable this option if your theme does not load jQuery. jQuery is required for dynamic groups, statistics and some other features.', 'adrotate'); ?></label></td>
|
35 |
</tr>
|
36 |
<tr>
|
37 |
<th valign="top"><?php _e('Load scripts in footer?', 'adrotate'); ?></th>
|
38 |
+
<td><label for="adrotate_jsfooter"><input type="checkbox" name="adrotate_jsfooter" id="adrotate_jsfooter" <?php if($adrotate_config['jsfooter'] == 'Y') { ?>checked="checked" <?php } ?> /><?php _e('Enable this option if you want to load all AdRotate Javascripts in the footer of your site.', 'adrotate'); ?></label></td>
|
39 |
</tr>
|
40 |
<tr>
|
41 |
<th valign="top"><?php _e('Adblock disguise', 'adrotate'); ?></th>
|
42 |
<td>
|
43 |
+
<input name="adrotate_adblock_disguise" type="text" class="search-input" size="6" value="getpro" disabled /> <?php _e('Leave empty to disable. Use only lowercaps letters. For example:', 'adrotate'); ?> <?php echo adrotate_rand(6); ?><br />
|
44 |
<span class="description"><?php _e('Try and avoid adblock plugins in most modern browsers when using shortcodes.', 'adrotate'); ?><br /><?php _e('To also apply this feature to widgets, use a text widget with a shortcode instead of the AdRotate widget.', 'adrotate'); ?><br /><?php _e('Avoid the use of obvious keywords or filenames in your adverts or this feature will have little effect!', 'adrotate'); ?></span>
|
45 |
</td>
|
46 |
</tr>
|
52 |
<tr>
|
53 |
<th valign="top"><?php _e('Folder name', 'adrotate'); ?></th>
|
54 |
<td>
|
55 |
+
<?php echo WP_CONTENT_DIR; ?>/<input name="adrotate_banner_folder_disabled" type="text" class="search-input" size="20" value="<?php echo $adrotate_config['banner_folder']; ?>" disabled="1" />/ <?php _e('(Default: banners).', 'adrotate'); ?><br />
|
56 |
<span class="description"><?php _e('To try and trick ad blockers you could set the folder to something crazy like:', 'adrotate'); ?> "<?php echo adrotate_rand(12); ?>".<br />
|
57 |
<?php _e("This folder will not be automatically created if it doesn't exist. AdRotate will show errors when the folder is missing.", 'adrotate'); ?></span>
|
58 |
</td>
|
dashboard/settings/geotargeting.php
CHANGED
@@ -50,14 +50,14 @@
|
|
50 |
<tr>
|
51 |
<th valign="top"><?php _e('Geo Cookie Lifespan', 'adrotate'); ?></th>
|
52 |
<td>
|
53 |
-
<
|
54 |
<option value="0" disabled selected>24 (<?php _e('Default', 'adrotate'); ?>)</option>
|
55 |
<option value="0" disabled>36</option>
|
56 |
<option value="0" disabled>48</option>
|
57 |
<option value="0" disabled>72</option>
|
58 |
<option value="0" disabled>120</option>
|
59 |
<option value="0" disabled>168</option>
|
60 |
-
</select> <?php _e('Hours.', 'adrotate');
|
61 |
<span class="description"><?php _e('Geo Data is stored in a cookie to reduce lookups. How long should this cookie last? A longer period is less accurate for mobile users but may reduce the usage of your lookups drastically.', 'adrotate'); ?></span>
|
62 |
|
63 |
</td>
|
@@ -68,10 +68,10 @@
|
|
68 |
<table class="form-table">
|
69 |
<tr>
|
70 |
<th valign="top"><?php _e('Username/Email', 'adrotate'); ?></th>
|
71 |
-
<td><
|
72 |
</tr>
|
73 |
<tr>
|
74 |
<th valign="top"><?php _e('Password/License Key', 'adrotate'); ?></th>
|
75 |
-
<td><
|
76 |
</tr>
|
77 |
</table>
|
50 |
<tr>
|
51 |
<th valign="top"><?php _e('Geo Cookie Lifespan', 'adrotate'); ?></th>
|
52 |
<td>
|
53 |
+
<select name="adrotate_geo_cookie_life_disabled">
|
54 |
<option value="0" disabled selected>24 (<?php _e('Default', 'adrotate'); ?>)</option>
|
55 |
<option value="0" disabled>36</option>
|
56 |
<option value="0" disabled>48</option>
|
57 |
<option value="0" disabled>72</option>
|
58 |
<option value="0" disabled>120</option>
|
59 |
<option value="0" disabled>168</option>
|
60 |
+
</select> <?php _e('Hours.', 'adrotate'); ?><br />
|
61 |
<span class="description"><?php _e('Geo Data is stored in a cookie to reduce lookups. How long should this cookie last? A longer period is less accurate for mobile users but may reduce the usage of your lookups drastically.', 'adrotate'); ?></span>
|
62 |
|
63 |
</td>
|
68 |
<table class="form-table">
|
69 |
<tr>
|
70 |
<th valign="top"><?php _e('Username/Email', 'adrotate'); ?></th>
|
71 |
+
<td><input name="adrotate_geo_email_disabled" type="text" class="search-input" size="50" value="" disabled /></td>
|
72 |
</tr>
|
73 |
<tr>
|
74 |
<th valign="top"><?php _e('Password/License Key', 'adrotate'); ?></th>
|
75 |
+
<td><input name="adrotate_geo_pass_disabled" type="text" class="search-input" size="50" value="" disabled /></td>
|
76 |
</tr>
|
77 |
</table>
|
dashboard/settings/maintenance.php
CHANGED
@@ -29,9 +29,9 @@
|
|
29 |
<td>
|
30 |
<input type="submit" id="post-role-submit" name="adrotate_cleanup_submit" value="<?php _e('Clean-up database and old files', 'adrotate'); ?>" class="button-secondary" onclick="return confirm('<?php _e('You are about to do maintenance on your setup of AdRotate.', 'adrotate'); ?>\n\n<?php _e('This optionally may delete old statistics and tries to delete old export files.', 'adrotate'); ?>\n\n<?php _e('Are you sure you want to continue?', 'adrotate'); ?>\n<?php _e('THIS ACTION CAN NOT BE UNDONE!', 'adrotate'); ?>')" />
|
31 |
<br /><br />
|
32 |
-
<
|
33 |
-
<label for="adrotate_db_cleanup_statistics"><input type="checkbox" name="adrotate_db_cleanup_statistics" value="1" /> <?php _e('Delete stats older than 365 days.', 'adrotate'); ?></label><br />
|
34 |
-
<label for="adrotate_db_cleanup_exportfiles"><input type="checkbox" name="adrotate_db_cleanup_exportfiles" value="1" /> <?php _e('Delete leftover export files.', 'adrotate'); ?></label><br />
|
35 |
<span class="description"><?php _e('For when you create an advert, group or schedule and it does not save or keep changes you make.', 'adrotate'); ?><br /><?php _e('Additionally you can delete statistics and/or unused export files. This will improve the speed of your site.', 'adrotate'); ?></span>
|
36 |
</td>
|
37 |
</tr>
|
29 |
<td>
|
30 |
<input type="submit" id="post-role-submit" name="adrotate_cleanup_submit" value="<?php _e('Clean-up database and old files', 'adrotate'); ?>" class="button-secondary" onclick="return confirm('<?php _e('You are about to do maintenance on your setup of AdRotate.', 'adrotate'); ?>\n\n<?php _e('This optionally may delete old statistics and tries to delete old export files.', 'adrotate'); ?>\n\n<?php _e('Are you sure you want to continue?', 'adrotate'); ?>\n<?php _e('THIS ACTION CAN NOT BE UNDONE!', 'adrotate'); ?>')" />
|
31 |
<br /><br />
|
32 |
+
<input type="checkbox" name="adrotate_db_cleanup_db" value="0" checked disabled /> <?php _e('Basic database maintenance.', 'adrotate'); ?><br />
|
33 |
+
<label for="adrotate_db_cleanup_statistics"><input type="checkbox" name="adrotate_db_cleanup_statistics" id="adrotate_db_cleanup_statistics" value="1" /> <?php _e('Delete stats older than 365 days.', 'adrotate'); ?></label><br />
|
34 |
+
<label for="adrotate_db_cleanup_exportfiles"><input type="checkbox" name="adrotate_db_cleanup_exportfiles" id="adrotate_db_cleanup_exportfiles" value="1" /> <?php _e('Delete leftover export files.', 'adrotate'); ?></label><br />
|
35 |
<span class="description"><?php _e('For when you create an advert, group or schedule and it does not save or keep changes you make.', 'adrotate'); ?><br /><?php _e('Additionally you can delete statistics and/or unused export files. This will improve the speed of your site.', 'adrotate'); ?></span>
|
36 |
</td>
|
37 |
</tr>
|
dashboard/settings/misc.php
CHANGED
@@ -17,11 +17,11 @@
|
|
17 |
<table class="form-table">
|
18 |
<tr>
|
19 |
<th valign="top"><?php _e('Widget alignment', 'adrotate'); ?></th>
|
20 |
-
<td><label for="adrotate_widgetalign"><input type="checkbox" name="adrotate_widgetalign" <?php if($adrotate_config['widgetalign'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Check this box if your widgets do not align in your themes sidebar. (Does not always help!)', 'adrotate'); ?></label></td>
|
21 |
</tr>
|
22 |
<tr>
|
23 |
<th valign="top"><?php _e('Widget padding', 'adrotate'); ?></th>
|
24 |
-
<td><label for="adrotate_widgetpadding"><input type="checkbox" name="adrotate_widgetpadding" <?php if($adrotate_config['widgetpadding'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Enable this to remove the padding (blank space) around ads in widgets. (Does not always work!)', 'adrotate'); ?></label></td>
|
25 |
</tr>
|
26 |
<?php if($adrotate_config['w3caching'] == "Y" AND !defined('W3TC_DYNAMIC_SECURITY')) { ?>
|
27 |
<tr>
|
@@ -31,11 +31,11 @@
|
|
31 |
<?php } ?>
|
32 |
<tr>
|
33 |
<th valign="top"><?php _e('W3 Total Caching', 'adrotate'); ?></th>
|
34 |
-
<td><label for="adrotate_w3caching"><input type="checkbox" name="adrotate_w3caching" <?php if($adrotate_config['w3caching'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Check this box if you use W3 Total Caching on your site.', 'adrotate'); ?></label></td>
|
35 |
</tr>
|
36 |
<tr>
|
37 |
<th valign="top"><?php _e('Borlabs Cache', 'adrotate'); ?></th>
|
38 |
-
<td><label for="adrotate_borlabscache"><input type="checkbox" name="adrotate_borlabscache" <?php if($adrotate_config['borlabscache'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Check this box if you use Borlabs Caching on your site.', 'adrotate'); ?></label></td>
|
39 |
</tr>
|
40 |
<tr>
|
41 |
<th valign="top"> </th>
|
17 |
<table class="form-table">
|
18 |
<tr>
|
19 |
<th valign="top"><?php _e('Widget alignment', 'adrotate'); ?></th>
|
20 |
+
<td><label for="adrotate_widgetalign"><input type="checkbox" name="adrotate_widgetalign" id="adrotate_widgetalign" <?php if($adrotate_config['widgetalign'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Check this box if your widgets do not align in your themes sidebar. (Does not always help!)', 'adrotate'); ?></label></td>
|
21 |
</tr>
|
22 |
<tr>
|
23 |
<th valign="top"><?php _e('Widget padding', 'adrotate'); ?></th>
|
24 |
+
<td><label for="adrotate_widgetpadding"><input type="checkbox" name="adrotate_widgetpadding" id="adrotate_widgetpadding" <?php if($adrotate_config['widgetpadding'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Enable this to remove the padding (blank space) around ads in widgets. (Does not always work!)', 'adrotate'); ?></label></td>
|
25 |
</tr>
|
26 |
<?php if($adrotate_config['w3caching'] == "Y" AND !defined('W3TC_DYNAMIC_SECURITY')) { ?>
|
27 |
<tr>
|
31 |
<?php } ?>
|
32 |
<tr>
|
33 |
<th valign="top"><?php _e('W3 Total Caching', 'adrotate'); ?></th>
|
34 |
+
<td><label for="adrotate_w3caching"><input type="checkbox" name="adrotate_w3caching" id="adrotate_w3caching" <?php if($adrotate_config['w3caching'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Check this box if you use W3 Total Caching on your site.', 'adrotate'); ?></label></td>
|
35 |
</tr>
|
36 |
<tr>
|
37 |
<th valign="top"><?php _e('Borlabs Cache', 'adrotate'); ?></th>
|
38 |
+
<td><label for="adrotate_borlabscache"><input type="checkbox" name="adrotate_borlabscache" id="adrotate_borlabscache" <?php if($adrotate_config['borlabscache'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Check this box if you use Borlabs Caching on your site.', 'adrotate'); ?></label></td>
|
39 |
</tr>
|
40 |
<tr>
|
41 |
<th valign="top"> </th>
|
dashboard/settings/notifications.php
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
<tr>
|
22 |
<th valign="top"><?php _e('How to notify', 'adrotate'); ?></th>
|
23 |
<td>
|
24 |
-
<input type="checkbox" name="adrotate_notification_dash" <?php if($adrotate_notifications['notification_dash'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Dashboard banner.', 'adrotate');
|
25 |
<input type="checkbox" name="adrotate_notification_email_disabled" disabled /> <?php _e('Email message.', 'adrotate'); ?><br />
|
26 |
</td>
|
27 |
</tr>
|
@@ -39,8 +39,8 @@
|
|
39 |
<tr>
|
40 |
<th valign="top"><?php _e('What', 'adrotate'); ?></th>
|
41 |
<td>
|
42 |
-
<input type="checkbox" name="adrotate_notification_dash_expired" <?php if($adrotate_notifications['notification_dash_expired'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Expired adverts.', 'adrotate');
|
43 |
-
<input type="checkbox" name="adrotate_notification_dash_soon" <?php if($adrotate_notifications['notification_dash_soon'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Almost expired adverts.', 'adrotate');
|
44 |
</td>
|
45 |
</tr>
|
46 |
</table>
|
21 |
<tr>
|
22 |
<th valign="top"><?php _e('How to notify', 'adrotate'); ?></th>
|
23 |
<td>
|
24 |
+
<label for="adrotate_notification_dash"><input type="checkbox" name="adrotate_notification_dash" id="adrotate_notification_dash" <?php if($adrotate_notifications['notification_dash'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Dashboard banner.', 'adrotate'); ?></label><br />
|
25 |
<input type="checkbox" name="adrotate_notification_email_disabled" disabled /> <?php _e('Email message.', 'adrotate'); ?><br />
|
26 |
</td>
|
27 |
</tr>
|
39 |
<tr>
|
40 |
<th valign="top"><?php _e('What', 'adrotate'); ?></th>
|
41 |
<td>
|
42 |
+
<label for="adrotate_notification_dash_expired"><input type="checkbox" name="adrotate_notification_dash_expired" id="adrotate_notification_dash_expired" <?php if($adrotate_notifications['notification_dash_expired'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Expired adverts.', 'adrotate'); ?></label><br />
|
43 |
+
<label for="adrotate_notification_dash_soon"><input type="checkbox" name="adrotate_notification_dash_soon" id="adrotate_notification_dash_soon" <?php if($adrotate_notifications['notification_dash_soon'] == 'Y') { ?>checked="checked" <?php } ?> /> <?php _e('Almost expired adverts.', 'adrotate'); ?></label>
|
44 |
</td>
|
45 |
</tr>
|
46 |
</table>
|
dashboard/settings/roles.php
CHANGED
@@ -20,33 +20,33 @@
|
|
20 |
<tr>
|
21 |
<th valign="top"><?php _e('Manage/Add/Edit adverts', 'adrotate'); ?></th>
|
22 |
<td>
|
23 |
-
<
|
24 |
<?php wp_dropdown_roles($adrotate_config['ad_manage']); ?>
|
25 |
-
</select> <?php _e('Role to see and add/edit ads.', 'adrotate');
|
26 |
</td>
|
27 |
</tr>
|
28 |
<tr>
|
29 |
<th valign="top"><?php _e('Delete/Reset adverts', 'adrotate'); ?></th>
|
30 |
<td>
|
31 |
-
<
|
32 |
<?php wp_dropdown_roles($adrotate_config['ad_delete']); ?>
|
33 |
-
</select> <?php _e('Role to delete ads and reset stats.', 'adrotate');
|
34 |
</td>
|
35 |
</tr>
|
36 |
<tr>
|
37 |
<th valign="top"><?php _e('Manage/Add/Edit groups', 'adrotate'); ?></th>
|
38 |
<td>
|
39 |
-
<
|
40 |
<?php wp_dropdown_roles($adrotate_config['group_manage']); ?>
|
41 |
-
</select> <?php _e('Role to see and add/edit groups.', 'adrotate');
|
42 |
</td>
|
43 |
</tr>
|
44 |
<tr>
|
45 |
<th valign="top"><?php _e('Delete groups', 'adrotate'); ?></th>
|
46 |
<td>
|
47 |
-
<
|
48 |
<?php wp_dropdown_roles($adrotate_config['group_delete']); ?>
|
49 |
-
</select> <?php _e('Role to delete groups.', 'adrotate');
|
50 |
</td>
|
51 |
</tr>
|
52 |
</table>
|
20 |
<tr>
|
21 |
<th valign="top"><?php _e('Manage/Add/Edit adverts', 'adrotate'); ?></th>
|
22 |
<td>
|
23 |
+
<select name="adrotate_ad_manage">
|
24 |
<?php wp_dropdown_roles($adrotate_config['ad_manage']); ?>
|
25 |
+
</select> <?php _e('Role to see and add/edit ads.', 'adrotate'); ?>
|
26 |
</td>
|
27 |
</tr>
|
28 |
<tr>
|
29 |
<th valign="top"><?php _e('Delete/Reset adverts', 'adrotate'); ?></th>
|
30 |
<td>
|
31 |
+
<select name="adrotate_ad_delete">
|
32 |
<?php wp_dropdown_roles($adrotate_config['ad_delete']); ?>
|
33 |
+
</select> <?php _e('Role to delete ads and reset stats.', 'adrotate'); ?>
|
34 |
</td>
|
35 |
</tr>
|
36 |
<tr>
|
37 |
<th valign="top"><?php _e('Manage/Add/Edit groups', 'adrotate'); ?></th>
|
38 |
<td>
|
39 |
+
<select name="adrotate_group_manage">
|
40 |
<?php wp_dropdown_roles($adrotate_config['group_manage']); ?>
|
41 |
+
</select> <?php _e('Role to see and add/edit groups.', 'adrotate'); ?>
|
42 |
</td>
|
43 |
</tr>
|
44 |
<tr>
|
45 |
<th valign="top"><?php _e('Delete groups', 'adrotate'); ?></th>
|
46 |
<td>
|
47 |
+
<select name="adrotate_group_delete">
|
48 |
<?php wp_dropdown_roles($adrotate_config['group_delete']); ?>
|
49 |
+
</select> <?php _e('Role to delete groups.', 'adrotate'); ?>
|
50 |
</td>
|
51 |
</tr>
|
52 |
</table>
|
dashboard/support.php
CHANGED
@@ -85,11 +85,11 @@ $data = get_option("adrotate_advert_status");
|
|
85 |
<form name="request" id="post" method="post" action="admin.php?page=adrotate">
|
86 |
<p><img src="<?php echo plugins_url('/images/icon-contact.png', dirname(__FILE__)); ?>" class="alignleft pro-image" />» <?php _e('Premium support always comes first!', 'adrotate'); ?><br />» <?php _e('No queuing up on the forum...', 'adrotate'); ?><br />» <?php _e('Using this form includes essential information for a quick answer.', 'adrotate'); ?><br />» <?php _e('Available in AdRotate Professional!', 'adrotate'); ?></p>
|
87 |
|
88 |
-
<p><
|
89 |
-
<p><
|
90 |
-
<p><
|
91 |
-
<p><
|
92 |
-
<p><
|
93 |
|
94 |
<p><strong><?php _e('When you send this form the following data will be submitted:', 'adrotate'); ?></strong><br/>
|
95 |
<em><?php _e('Your name, Account email address, Your website url and some basic WordPress information will be included with the message.', 'adrotate'); ?><br /><?php _e('This information is treated as confidential and is mandatory.', 'adrotate'); ?></em></p>
|
85 |
<form name="request" id="post" method="post" action="admin.php?page=adrotate">
|
86 |
<p><img src="<?php echo plugins_url('/images/icon-contact.png', dirname(__FILE__)); ?>" class="alignleft pro-image" />» <?php _e('Premium support always comes first!', 'adrotate'); ?><br />» <?php _e('No queuing up on the forum...', 'adrotate'); ?><br />» <?php _e('Using this form includes essential information for a quick answer.', 'adrotate'); ?><br />» <?php _e('Available in AdRotate Professional!', 'adrotate'); ?></p>
|
87 |
|
88 |
+
<p><strong><?php _e('Your name:', 'adrotate'); ?></strong><br /><input tabindex="1" name="ajdg_support_username" type="text" class="search-input" style="width:100%;" value="<?php echo $current_user->display_name;?>" autocomplete="off" disabled /></p>
|
89 |
+
<p><strong><?php _e('Your Email Address:', 'adrotate'); ?></strong><br /><input tabindex="1" name="ajdg_support_email" type="text" class="search-input" style="width:100%;" value="<?php echo $current_user->user_email;?>" autocomplete="off" disabled /></p>
|
90 |
+
<p><strong><?php _e('Subject:', 'adrotate'); ?></strong><br /><input tabindex="2" name="ajdg_support_subject" type="text" class="search-input" style="width:100%;" value="" autocomplete="off" disabled /></p>
|
91 |
+
<p><strong><?php _e('Problem description / Question:', 'adrotate'); ?></strong><br /><textarea tabindex="3" name="ajdg_support_message" style="width:100%; height:100px;" disabled></textarea></p>
|
92 |
+
<p><input tabindex="4" name="ajdg_support_account" type="checkbox" disabled /> <?php _e('Please log in to my website and take a look.', 'adrotate'); ?> <span class="ajdg-tooltip">What's this?<span class="ajdg-tooltiptext ajdg-tooltip-top">Checking this option will create an account for Arnan to log in and take a look at your setup.</span></span></p>
|
93 |
|
94 |
<p><strong><?php _e('When you send this form the following data will be submitted:', 'adrotate'); ?></strong><br/>
|
95 |
<em><?php _e('Your name, Account email address, Your website url and some basic WordPress information will be included with the message.', 'adrotate'); ?><br /><?php _e('This information is treated as confidential and is mandatory.', 'adrotate'); ?></em></p>
|
readme.txt
CHANGED
@@ -5,17 +5,17 @@ Tags: adverts, ads, banners, advert manager, ad manager, banner manager, monetis
|
|
5 |
Requires at least: 5.0
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.7
|
8 |
-
Stable tag: 5.8.
|
9 |
License: GPLv3
|
10 |
|
11 |
-
AdRotate is the only advert manager you'll ever need. Manage all your
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
|
16 |
-
AdRotate is designed to be simple to use, yet offers a professional set of features for newcomers and
|
17 |
|
18 |
-
With AdRotate you can easily
|
19 |
|
20 |
**Some of the AdRotate Features**
|
21 |
|
@@ -27,7 +27,7 @@ With AdRotate you can easily create your own adverts and campaigns with HTML an
|
|
27 |
* Track clicks, impressions and calculate the Cick-Through-Rate (CTR)
|
28 |
* Disguise adverts from ad blockers so they're less likely to be blocked
|
29 |
* Automagically disable Ads after they expire
|
30 |
-
* Use shortcodes anywhere they are supported
|
31 |
* Place widgets for single adverts or groups
|
32 |
* Insert PHP snippets in your theme files to put Adverts anywhere on your site
|
33 |
* Dashboard and Email notifications when Adverts are about to expire or need attention
|
@@ -55,8 +55,8 @@ AdRotate and AdRotate Professional share many features. But some features are ex
|
|
55 |
|
56 |
== Installation ==
|
57 |
|
58 |
-
Installing
|
59 |
-
Once activated, a new menu called "AdRotate" appears in the WordPress navigation from which you handle everything in AdRotate.
|
60 |
|
61 |
For more detailed instructions check out the [installation steps](https://ajdg.solutions/support/adrotate-manuals/installing-adrotate-on-your-website/?pk_campaign=adrotatefree&pk_keyword=readme) on the AdRotate website.
|
62 |
|
@@ -64,26 +64,27 @@ For more detailed instructions check out the [installation steps](https://ajdg.s
|
|
64 |
|
65 |
For the full changelog check out the [development page](https://ajdg.solutions/support/adrotate-development/?pk_campaign=adrotatefree&pk_keyword=readme).
|
66 |
|
|
|
|
|
|
|
|
|
67 |
= AdRotate 5.8.16 =
|
68 |
* [change] Dashboard tweaks
|
69 |
* [i18n] Updated Dutch, French, German and Italian translation texts
|
70 |
* [i18n] Updated Polish translation strings
|
71 |
|
72 |
-
= AdRotate 5.8.15 =
|
73 |
-
* [fix] Dashboard notifications screwing up dashboard layout
|
74 |
-
|
75 |
= AdRotate 5.8.14 =
|
76 |
* [fix] Dashboard tweaks
|
77 |
* [fix] Added Telegram as a ‘news&updates’ option
|
78 |
|
|
|
|
|
|
|
|
|
|
|
79 |
= AdRotate Professional 5.8.11 =
|
80 |
* [fix] Dashboard notifications screwing up dashboard layout
|
81 |
|
82 |
-
= AdRotate Professional 5.8.10 =
|
83 |
-
* [fix] Correct ISO code for Israel
|
84 |
-
* [fix] Dashboard tweaks
|
85 |
-
* [fix] Added Telegram as a ‘news&updates’ option
|
86 |
-
|
87 |
Be a Pro and get [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?pk_campaign=adrotatefree&pk_keyword=readme)!
|
88 |
|
89 |
== Upgrade Notice ==
|
@@ -100,7 +101,7 @@ You can also post your questions on the [forum](https://ajdg.solutions/forums/fo
|
|
100 |
The best place to ask your question is on my [support forum](https://ajdg.solutions/forums/forum/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=readme) or you can send a message through [Telegram](https://t.me/arnandegans).
|
101 |
|
102 |
= Does AdRotate offer click tracking? =
|
103 |
-
Yes, clicks and impressions.
|
104 |
|
105 |
= Can I use my adverts from Google AdSense? =
|
106 |
Yes, usually you can use their code as-is.
|
@@ -113,7 +114,7 @@ Yes!
|
|
113 |
Yep, check out my website [AJdG Solutions](https://ajdg.solutions/?pk_campaign=adrotatefree&pk_keyword=readme)
|
114 |
|
115 |
= Why do some dashboard notifications look so ugly =
|
116 |
-
If a dashboard notification misses
|
117 |
Some ad blockers block parts of the AdRotate dashboard, check out this page to make an exception for your website in adblockers - [Whitelist your site](https://ajdg.solutions/support/adrotate-manuals/configure-adblockers-for-your-own-website/?pk_campaign=adrotatefree&pk_keyword=readme).
|
118 |
|
119 |
= Is AdRotate compatible with Yoast SEO or other SEO plugins? =
|
5 |
Requires at least: 5.0
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.7
|
8 |
+
Stable tag: 5.8.17
|
9 |
License: GPLv3
|
10 |
|
11 |
+
AdRotate is the only advert manager you'll ever need. Manage all your adverts and campaigns with ease. From any ad publisher. Manage your ads.txt, widgets and use the many powerful features to run successful campaigns.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
If you are looking for an easy to use way to manage all your adverts from the dashboard you have come to the right place. AdRotate is easy to set up, easy to use and is built for your website.
|
16 |
+
AdRotate is designed to be simple to use, yet offers a professional set of features for newcomers and experienced users alike.
|
17 |
|
18 |
+
With AdRotate you can easily set up your own adverts and campaigns with standard HTML and/or Javascript code or use adverts from your favorite Ad Server such as Media.net, Blind Ferret, Yahoo! Adverts, DFP, Google AdSense, Google Ad Manager, Bing Ads, Amazon Affiliates, Chitika, Doubleclick, JuiceAds and many more similar ad servers and affiliate programs.
|
19 |
|
20 |
**Some of the AdRotate Features**
|
21 |
|
27 |
* Track clicks, impressions and calculate the Cick-Through-Rate (CTR)
|
28 |
* Disguise adverts from ad blockers so they're less likely to be blocked
|
29 |
* Automagically disable Ads after they expire
|
30 |
+
* Use shortcodes anywhere they are supported in WordPress
|
31 |
* Place widgets for single adverts or groups
|
32 |
* Insert PHP snippets in your theme files to put Adverts anywhere on your site
|
33 |
* Dashboard and Email notifications when Adverts are about to expire or need attention
|
55 |
|
56 |
== Installation ==
|
57 |
|
58 |
+
Installing AdRotate is as easy as searching for "AdRotate Arnan" or simply "AdRotate" in your plugin dashboard and clicking the "Install Now" button in your dashboards plugin page. Just like every other plugin.
|
59 |
+
Once activated, a new menu called "AdRotate" appears in the WordPress navigation from which you'll handle everything in AdRotate.
|
60 |
|
61 |
For more detailed instructions check out the [installation steps](https://ajdg.solutions/support/adrotate-manuals/installing-adrotate-on-your-website/?pk_campaign=adrotatefree&pk_keyword=readme) on the AdRotate website.
|
62 |
|
64 |
|
65 |
For the full changelog check out the [development page](https://ajdg.solutions/support/adrotate-development/?pk_campaign=adrotatefree&pk_keyword=readme).
|
66 |
|
67 |
+
= AdRotate 5.8.17 =
|
68 |
+
* [fix] Labels for all checkboxes
|
69 |
+
* [update] HTML dashboard code cleanup
|
70 |
+
|
71 |
= AdRotate 5.8.16 =
|
72 |
* [change] Dashboard tweaks
|
73 |
* [i18n] Updated Dutch, French, German and Italian translation texts
|
74 |
* [i18n] Updated Polish translation strings
|
75 |
|
|
|
|
|
|
|
76 |
= AdRotate 5.8.14 =
|
77 |
* [fix] Dashboard tweaks
|
78 |
* [fix] Added Telegram as a ‘news&updates’ option
|
79 |
|
80 |
+
= AdRotate Professional 5.8.12 =
|
81 |
+
* [fix] Labels for all checkboxes
|
82 |
+
* [new] Labels for all radio buttons
|
83 |
+
* [update] HTML dashboard code cleanup
|
84 |
+
|
85 |
= AdRotate Professional 5.8.11 =
|
86 |
* [fix] Dashboard notifications screwing up dashboard layout
|
87 |
|
|
|
|
|
|
|
|
|
|
|
88 |
Be a Pro and get [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?pk_campaign=adrotatefree&pk_keyword=readme)!
|
89 |
|
90 |
== Upgrade Notice ==
|
101 |
The best place to ask your question is on my [support forum](https://ajdg.solutions/forums/forum/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=readme) or you can send a message through [Telegram](https://t.me/arnandegans).
|
102 |
|
103 |
= Does AdRotate offer click tracking? =
|
104 |
+
Yes, AdRotate counts clicks and impressions.
|
105 |
|
106 |
= Can I use my adverts from Google AdSense? =
|
107 |
Yes, usually you can use their code as-is.
|
114 |
Yep, check out my website [AJdG Solutions](https://ajdg.solutions/?pk_campaign=adrotatefree&pk_keyword=readme)
|
115 |
|
116 |
= Why do some dashboard notifications look so ugly =
|
117 |
+
If a dashboard notification misses its layout or looks out of shape try clearing your browser cache.
|
118 |
Some ad blockers block parts of the AdRotate dashboard, check out this page to make an exception for your website in adblockers - [Whitelist your site](https://ajdg.solutions/support/adrotate-manuals/configure-adblockers-for-your-own-website/?pk_campaign=adrotatefree&pk_keyword=readme).
|
119 |
|
120 |
= Is AdRotate compatible with Yoast SEO or other SEO plugins? =
|