Version Description
- COOL: complete makeover of the plugin dashboard based on WP standards
- added
advanced-ads-admin-overview-after
action hook to overview page - fixed display of only 10 posts for display conditions
- minor optimization
- updated German translation
Download this release
Release Info
Developer | webzunft |
Plugin | Advanced Ads |
Version | 1.4.3 |
Comparing to | |
See all releases |
Code changes from version 1.4.2 to 1.4.3
- admin/assets/css/admin.css +5 -4
- admin/class-advanced-ads-admin.php +15 -5
- admin/includes/class-display-condition-callbacks.php +1 -0
- admin/includes/class-overview-widgets.php +182 -0
- admin/views/ad-visitor-metabox.php +4 -1
- admin/views/overview.php +28 -113
- advanced-ads.php +1 -1
- languages/advanced-ads-de_DE.mo +0 -0
- languages/advanced-ads-de_DE.po +235 -144
- modules/gadsense/admin/views/adsense-ad-parameters.php +6 -7
- public/class-advanced-ads.php +4 -4
- readme.txt +17 -6
admin/assets/css/admin.css
CHANGED
@@ -8,10 +8,11 @@
|
|
8 |
/**
|
9 |
* OVERVIEW PAGE
|
10 |
*/
|
11 |
-
|
12 |
-
.
|
13 |
-
.
|
14 |
-
.
|
|
|
15 |
|
16 |
/**
|
17 |
* AD EDIT PAGE
|
8 |
/**
|
9 |
* OVERVIEW PAGE
|
10 |
*/
|
11 |
+
.toplevel_page_advanced-ads #dashboard-widgets .postbox-container { width: 100% !important; }
|
12 |
+
.toplevel_page_advanced-ads #dashboard-widgets .postbox-container .postbox { float: left; width: 24%; min-width: 310px; }
|
13 |
+
.toplevel_page_advanced-ads #dashboard-widgets .postbox-container .postbox + .postbox { margin-left: 1%; }
|
14 |
+
.toplevel_page_advanced-ads #dashboard-widgets .postbox-container .postbox ul.list { list-style: inside; }
|
15 |
+
.toplevel_page_advanced-ads .metabox-holder .postbox-container .empty-container { display: none; }
|
16 |
|
17 |
/**
|
18 |
* AD EDIT PAGE
|
admin/class-advanced-ads-admin.php
CHANGED
@@ -113,6 +113,10 @@ class Advanced_Ads_Admin {
|
|
113 |
// register dashboard widget
|
114 |
add_action('wp_dashboard_setup', array($this, 'add_dashboard_widget'));
|
115 |
|
|
|
|
|
|
|
|
|
116 |
}
|
117 |
|
118 |
/**
|
@@ -222,9 +226,17 @@ class Advanced_Ads_Admin {
|
|
222 |
* @since 1.2.2
|
223 |
*/
|
224 |
public function display_overview_page() {
|
225 |
-
|
226 |
-
$
|
227 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
include_once( 'views/overview.php' );
|
229 |
}
|
230 |
|
@@ -874,7 +886,6 @@ class Advanced_Ads_Admin {
|
|
874 |
* @since 1.3.12
|
875 |
*/
|
876 |
public function add_dashboard_widget(){
|
877 |
-
// wp_add_dashboard_widget('advads_dashboard_widget', __('Ads Dashboard', ADVADS_SLUG), array($this, 'dashboard_widget_function'));
|
878 |
add_meta_box('advads_dashboard_widget', __('Ads Dashboard', ADVADS_SLUG), array($this, 'dashboard_widget_function'), 'dashboard', 'side', 'high');
|
879 |
}
|
880 |
|
@@ -970,5 +981,4 @@ class Advanced_Ads_Admin {
|
|
970 |
echo "</div>";
|
971 |
}
|
972 |
}
|
973 |
-
|
974 |
}
|
113 |
// register dashboard widget
|
114 |
add_action('wp_dashboard_setup', array($this, 'add_dashboard_widget'));
|
115 |
|
116 |
+
// set 1 column layout on overview page as user and page option
|
117 |
+
add_filter( 'screen_layout_columns', array('AdvAds_Overview_Widgets_Callbacks', 'one_column_overview_page'));
|
118 |
+
add_filter( 'get_user_option_screen_layout_toplevel_page_advanced', array( 'AdvAds_Overview_Widgets_Callbacks', 'one_column_overview_page_user'));
|
119 |
+
|
120 |
}
|
121 |
|
122 |
/**
|
226 |
* @since 1.2.2
|
227 |
*/
|
228 |
public function display_overview_page() {
|
229 |
+
|
230 |
+
$screen = get_current_screen();
|
231 |
+
|
232 |
+
require_once('includes/class-overview-widgets.php');
|
233 |
+
|
234 |
+
// set up overview widgets
|
235 |
+
AdvAds_Overview_Widgets_Callbacks::setup_overview_widgets($screen);
|
236 |
+
|
237 |
+
// convert from vertical order to horizontal
|
238 |
+
$screen->add_option('layout_columns', 1);
|
239 |
+
|
240 |
include_once( 'views/overview.php' );
|
241 |
}
|
242 |
|
886 |
* @since 1.3.12
|
887 |
*/
|
888 |
public function add_dashboard_widget(){
|
|
|
889 |
add_meta_box('advads_dashboard_widget', __('Ads Dashboard', ADVADS_SLUG), array($this, 'dashboard_widget_function'), 'dashboard', 'side', 'high');
|
890 |
}
|
891 |
|
981 |
echo "</div>";
|
982 |
}
|
983 |
}
|
|
|
984 |
}
|
admin/includes/class-display-condition-callbacks.php
CHANGED
@@ -310,6 +310,7 @@ class AdvAds_Display_Condition_Callbacks {
|
|
310 |
'post_type' => 'any',
|
311 |
// 'post_status' => 'publish',
|
312 |
'post__in' => $_postids,
|
|
|
313 |
// 'ignore_sticky_posts' => 1,
|
314 |
);
|
315 |
|
310 |
'post_type' => 'any',
|
311 |
// 'post_status' => 'publish',
|
312 |
'post__in' => $_postids,
|
313 |
+
'posts_per_page' => -1,
|
314 |
// 'ignore_sticky_posts' => 1,
|
315 |
);
|
316 |
|
admin/includes/class-overview-widgets.php
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* container class for callbacks for overview widgets
|
4 |
+
*
|
5 |
+
* @package WordPress
|
6 |
+
* @subpackage Advanced Ads Plugin
|
7 |
+
* @since 1.4.3
|
8 |
+
*/
|
9 |
+
class AdvAds_Overview_Widgets_Callbacks {
|
10 |
+
|
11 |
+
/**
|
12 |
+
* set the overview page to one column layout so widgets can get ordered horizontally
|
13 |
+
*
|
14 |
+
* @since 1.4.3
|
15 |
+
* @param arr $columns columns array
|
16 |
+
* @return int $columns
|
17 |
+
*/
|
18 |
+
function one_column_overview_page( $columns ) {
|
19 |
+
// $columns['toplevel_page_advanced-ads'] = 1;
|
20 |
+
return $columns;
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* set the overview page to one column layout so widgets can get ordered horizontally
|
25 |
+
* this overwrites user settings
|
26 |
+
*
|
27 |
+
* @since 1.4.3
|
28 |
+
* @return int $columns
|
29 |
+
*/
|
30 |
+
function one_column_overview_page_user() {
|
31 |
+
// return 1;
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* register the plugin overview widgets
|
36 |
+
*
|
37 |
+
* @since 1.4.3
|
38 |
+
* @param obj $screen
|
39 |
+
*/
|
40 |
+
public function setup_overview_widgets($screen){
|
41 |
+
|
42 |
+
// abort if not on the overview page
|
43 |
+
if(!isset($screen->id) || $screen->id !== 'toplevel_page_advanced-ads') return;
|
44 |
+
|
45 |
+
add_meta_box('advads_overview_news', __('News and Tutorials', ADVADS_SLUG),
|
46 |
+
array($this, 'dashboard_widget_function'), $screen->id, 'normal', 'high');
|
47 |
+
add_meta_box('advads_overview_ads', __('My Ads', ADVADS_SLUG),
|
48 |
+
array('AdvAds_Overview_Widgets_Callbacks', 'render_ad_widget'), $screen->id, 'normal', 'high');
|
49 |
+
add_meta_box('advads_overview_support', __('Manual and Support', ADVADS_SLUG),
|
50 |
+
array('AdvAds_Overview_Widgets_Callbacks', 'render_support'), $screen->id, 'normal', 'high');
|
51 |
+
|
52 |
+
// add widgets for pro add ons
|
53 |
+
add_meta_box('advads_overview_addon_tracking', __('Tracking and Stats', ADVADS_SLUG),
|
54 |
+
array('AdvAds_Overview_Widgets_Callbacks', 'render_add_on_tracking'), $screen->id, 'side', 'high');
|
55 |
+
add_meta_box('advads_overview_addon_responsive', __('Responsive and Mobile ads', ADVADS_SLUG),
|
56 |
+
array('AdvAds_Overview_Widgets_Callbacks', 'render_add_on_responsive'), $screen->id, 'side', 'high');
|
57 |
+
add_meta_box('advads_overview_addon_sticky', __('Sticky ads', ADVADS_SLUG),
|
58 |
+
array('AdvAds_Overview_Widgets_Callbacks', 'render_add_on_sticky'), $screen->id, 'side', 'high');
|
59 |
+
add_meta_box('advads_overview_addon_layer', __('PopUps and Layers', ADVADS_SLUG),
|
60 |
+
array('AdvAds_Overview_Widgets_Callbacks', 'render_add_on_layer'), $screen->id, 'side', 'high');
|
61 |
+
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* ads widget
|
66 |
+
*/
|
67 |
+
public function render_ad_widget(){
|
68 |
+
|
69 |
+
$recent_ads = Advanced_Ads::get_ads();
|
70 |
+
|
71 |
+
?><p class="description"><?php _e('Ads are the smallest unit, containing the content or a single ad to be displayed.', ADVADS_SLUG); ?></p>
|
72 |
+
<p><?php printf(__('You have published %d ads.', ADVADS_SLUG), count($recent_ads));?></p><p><?php
|
73 |
+
printf(__('<a href="%s">Manage</a> them or <a href="%s">create</a> a new one', ADVADS_SLUG),
|
74 |
+
'edit.php?post_type='. Advanced_Ads::POST_TYPE_SLUG,
|
75 |
+
'post-new.php?post_type='. Advanced_Ads::POST_TYPE_SLUG);
|
76 |
+
?>
|
77 |
+
</p><?php
|
78 |
+
|
79 |
+
// get next steps
|
80 |
+
self::render_next_steps($recent_ads);
|
81 |
+
}
|
82 |
+
|
83 |
+
/**
|
84 |
+
* render next-steps
|
85 |
+
*/
|
86 |
+
private function render_next_steps($recent_ads = array()){
|
87 |
+
$groups = Advanced_Ads::get_ad_groups();
|
88 |
+
$placements = Advanced_Ads::get_ad_placements_array();
|
89 |
+
|
90 |
+
$next_steps = array();
|
91 |
+
|
92 |
+
if(count($recent_ads) > 0) :
|
93 |
+
$next_steps[] = '<p><a class="button button-primary" href="' . admin_url('post-new.php?post_type=' . Advanced_Ads::POST_TYPE_SLUG) .
|
94 |
+
'">' . __('Create your first ad', ADVADS_SLUG) . '</a></p>';
|
95 |
+
endif;
|
96 |
+
if(count($groups) == 0) :
|
97 |
+
$next_steps[] = '<p class="description">' . __('Ad Groups contain ads and are currently used to rotate multiple ads on a single spot.', ADVADS_SLUG) . '</p>' .
|
98 |
+
'<p><a class="button button-primary" href="' . admin_url('admin.php?action=edit&page=advanced-ads-groups') .
|
99 |
+
'">' . __('Create your first group', ADVADS_SLUG) . '</a></p>';
|
100 |
+
endif;
|
101 |
+
if(count($placements) > 0) :
|
102 |
+
$next_steps[] = '<p class="description">' . __('Ad Placements are the best way to manage where to display ads and groups.', ADVADS_SLUG) . '</p>'
|
103 |
+
. '<p><a class="button button-primary" href="' . admin_url('admin.php?action=edit&page=advanced-ads-placements') .
|
104 |
+
'">' . __('Create your first placement', ADVADS_SLUG) . '</a></p>';
|
105 |
+
endif;
|
106 |
+
|
107 |
+
// display all options
|
108 |
+
if(count($next_steps) > 0){
|
109 |
+
?><h4><?php _e('Next steps', ADVADS_SLUG); ?></h4><?php
|
110 |
+
foreach($next_steps as $_step){
|
111 |
+
echo $_step;
|
112 |
+
}
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
/**
|
117 |
+
* support widget
|
118 |
+
*/
|
119 |
+
public function render_support(){
|
120 |
+
?><ul>
|
121 |
+
<li><?php printf(__('<a href="%s" target="_blank">Plugin Homepage</a>', ADVADS_SLUG), 'http://wpadvancedads.com/advancedads/'); ?> –
|
122 |
+
<?php printf(__('<a href="%s" target="_blank">Manual</a>', ADVADS_SLUG), 'http://wpadvancedads.com/advancedads/manual/'); ?></li>
|
123 |
+
<li><?php printf(__('Ask other users in the <a href="%s" target="_blank">wordpress.org forum</a>', ADVADS_SLUG), 'http://wordpress.org/plugins/advanced-ads/'); ?></li>
|
124 |
+
<li><?php printf(__('Vote for a <a href="%s" target="_blank">feature</a>', ADVADS_SLUG), 'http://wpadvancedads.com/advancedads/feature-requests/'); ?></li>
|
125 |
+
<li><?php printf(__('<a href="%s" target="_blank">Hire the developer</a>', ADVADS_SLUG), 'http://webgilde.com/en/contact/'); ?></li>
|
126 |
+
<li><?php printf(__('Thank the developer with a ★★★★★ review on <a href="%s" target="_blank">wordpress.org</a>', ADVADS_SLUG), 'https://wordpress.org/support/view/plugin-reviews/advanced-ads'); ?></li>
|
127 |
+
</ul><?php
|
128 |
+
}
|
129 |
+
|
130 |
+
/**
|
131 |
+
* tracking add-on widget
|
132 |
+
*/
|
133 |
+
public function render_add_on_tracking(){
|
134 |
+
|
135 |
+
?><p><?php _e('Track the impressions of your ads.', ADVADS_SLUG); ?></p><ul class='list'>
|
136 |
+
<li><?php _e('2 methods to count impressions', ADVADS_SLUG); ?></li>
|
137 |
+
<li><?php _e('beautiful stats for all or single ads', ADVADS_SLUG); ?></li>
|
138 |
+
<li><?php _e('get stats for predefined and custom persiods', ADVADS_SLUG); ?></li>
|
139 |
+
<li><?php _e('group stats by day, week or month', ADVADS_SLUG); ?></li>
|
140 |
+
</ul><p><a class="button button-primary" href="http://wpadvancedads.com/ad-tracking/" target="_blank"><?php
|
141 |
+
_e('Get the Tracking add-on', ADVADS_SLUG); ?></a></p><?php
|
142 |
+
}
|
143 |
+
|
144 |
+
/**
|
145 |
+
* responsive add-on widget
|
146 |
+
*/
|
147 |
+
public function render_add_on_responsive(){
|
148 |
+
|
149 |
+
?><p><?php _e('Display ads based on the size of your visitor’s browser or device.', ADVADS_SLUG); ?></p><ul class='list'>
|
150 |
+
<li><?php _e('set a range (from … to …) pixels for the browser size', ADVADS_SLUG); ?></li>
|
151 |
+
<li><?php _e('set custom sizes for AdSense responsive ads', ADVADS_SLUG); ?></li>
|
152 |
+
<li><?php _e('list all ads by their responsive settings', ADVADS_SLUG); ?></li>
|
153 |
+
</ul><p><a class="button button-primary" href="http://wpadvancedads.com/responsive-ads/" target="_blank"><?php
|
154 |
+
_e('Get the Responsive add-on', ADVADS_SLUG); ?></a></p><?php
|
155 |
+
}
|
156 |
+
|
157 |
+
/**
|
158 |
+
* sticky add-on widget
|
159 |
+
*/
|
160 |
+
public function render_add_on_sticky(){
|
161 |
+
|
162 |
+
?><p><?php _e('Fix ads to the browser while users are scrolling and create best performing anchor ads.', ADVADS_SLUG); ?></p><ul class='list'>
|
163 |
+
<li><?php _e('position ads that don’t scroll with the screen', ADVADS_SLUG); ?></li>
|
164 |
+
<li><?php _e('build anchor ads not only on mobile devices', ADVADS_SLUG); ?></li>
|
165 |
+
</ul><p><a class="button button-primary" href="http://wpadvancedads.com/sticky-ads" target="_blank"><?php
|
166 |
+
_e('Get the Sticky add-on', ADVADS_SLUG); ?></a></p><?php
|
167 |
+
}
|
168 |
+
|
169 |
+
/**
|
170 |
+
* layer add-on widget
|
171 |
+
*/
|
172 |
+
public function render_add_on_layer(){
|
173 |
+
|
174 |
+
?><p><?php _e('Display content and ads in layers and popups on custom events.', ADVADS_SLUG); ?></p><ul class='list'>
|
175 |
+
<li><?php _e('display a popup after a user interaction like scrolling', ADVADS_SLUG); ?></li>
|
176 |
+
<li><?php _e('optional backgroup overlay', ADVADS_SLUG); ?></li>
|
177 |
+
<li><?php _e('allow users to close the popup', ADVADS_SLUG); ?></li>
|
178 |
+
</ul><p><a class="button button-primary" href="http://wpadvancedads.com/layer-ads/" target="_blank"><?php
|
179 |
+
_e('Get the PopUp and Layer add-on', ADVADS_SLUG); ?></a></p><?php
|
180 |
+
}
|
181 |
+
|
182 |
+
}
|
admin/views/ad-visitor-metabox.php
CHANGED
@@ -16,4 +16,7 @@
|
|
16 |
<label for="advanced-ad-visitor-mobile-no"><?php _e('not on mobile devices', ADVADS_SLUG); ?></label>
|
17 |
</li>
|
18 |
</ul>
|
19 |
-
<?php do_action('advanced-ads-visitor-conditions-after', $ad);
|
|
|
|
|
|
16 |
<label for="advanced-ad-visitor-mobile-no"><?php _e('not on mobile devices', ADVADS_SLUG); ?></label>
|
17 |
</li>
|
18 |
</ul>
|
19 |
+
<?php do_action('advanced-ads-visitor-conditions-after', $ad); ?>
|
20 |
+
<?php if(!defined('AAR_SLUG')) : ?>
|
21 |
+
<p><?php printf(__('Define the exact browser width for which an ad should be visible using the <a href="%s" target="_blank">Responsive add-on</a>.', ADVADS_SLUG), 'http://wpadvancedads.com/responsive-ads/'); ?></p>
|
22 |
+
<?php endif;
|
admin/views/overview.php
CHANGED
@@ -1,117 +1,32 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
?><div class="wrap">
|
6 |
-
|
7 |
-
|
8 |
-
<div
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
<p class="description"><?php _e('Ads are the smallest unit, containing the content or a single ad to be displayed.', ADVADS_SLUG); ?></p>
|
14 |
-
<p><?php printf(__('You have published %d ads.', ADVADS_SLUG), count($recent_ads));?> <?php
|
15 |
-
printf(__('<a href="%s">Manage</a> them or <a href="%s">create</a> a new one', ADVADS_SLUG),
|
16 |
-
'edit.php?post_type='. Advanced_Ads::POST_TYPE_SLUG,
|
17 |
-
'post-new.php?post_type='. Advanced_Ads::POST_TYPE_SLUG);
|
18 |
-
?>
|
19 |
-
</p>
|
20 |
-
</div>
|
21 |
-
<div class="advads-content-half">
|
22 |
-
<?php if(count($recent_ads) > 0) : ?>
|
23 |
-
<h4><?php _e('recent ads', ADVADS_SLUG); ?></h4>
|
24 |
-
<ul>
|
25 |
-
<?php foreach($recent_ads as $_index => $_ad) : ?>
|
26 |
-
<li><a href="<?php echo get_edit_post_link($_ad->ID); ?>"><?php echo $_ad->post_title; ?></a></li><?php
|
27 |
-
if($_index == 2) break;
|
28 |
-
?>
|
29 |
-
<?php endforeach; ?>
|
30 |
-
</ul>
|
31 |
-
<?php else : ?>
|
32 |
-
<a class="button button-primary" href="<?php echo admin_url('post-new.php?post_type=' . $this->post_type);
|
33 |
-
?>"><?php _e('Create your first ad', ADVADS_SLUG); ?></a>
|
34 |
-
<?php endif; ?>
|
35 |
-
</div>
|
36 |
-
<br class="clear"/>
|
37 |
-
</div>
|
38 |
-
<div class="advads-box">
|
39 |
-
<div class="advads-content-half">
|
40 |
-
<h2><?php _e('Groups', ADVADS_SLUG); ?></h2>
|
41 |
-
<p class="description"><?php _e('Ad Groups contain ads and are currently used to rotate multiple ads on a single spot.', ADVADS_SLUG); ?></p>
|
42 |
-
<p><?php printf(__('You have %d groups.', ADVADS_SLUG), count($groups)); ?> <?php
|
43 |
-
printf(__('<a href="%s">Manage</a> them.', ADVADS_SLUG),
|
44 |
-
'admin.php?page=advanced-ads-groups');
|
45 |
-
?></p>
|
46 |
-
</div>
|
47 |
-
<div class="advads-content-half">
|
48 |
-
<?php if(count($groups) > 0) : ?>
|
49 |
-
<h4><?php _e('recent groups', ADVADS_SLUG); ?></h4>
|
50 |
-
<ul>
|
51 |
-
<?php foreach($groups as $_index => $_group) : ?>
|
52 |
-
<li><?php echo $_group->name; ?></li><?php
|
53 |
-
if($_index == 2) break;
|
54 |
-
?>
|
55 |
-
<?php endforeach; ?>
|
56 |
-
</ul>
|
57 |
-
<?php else : ?>
|
58 |
-
<a class="button button-primary" href="<?php echo admin_url('admin.php?action=edit&page=advanced-ads-groups');
|
59 |
-
?>"><?php _e('Create your first group', ADVADS_SLUG); ?></a>
|
60 |
-
<?php endif; ?>
|
61 |
-
</div>
|
62 |
-
<br class="clear"/>
|
63 |
-
</div>
|
64 |
-
<div class="advads-box">
|
65 |
-
<div class="advads-content-half">
|
66 |
-
<h2><?php _e('Placements', ADVADS_SLUG); ?></h2>
|
67 |
-
<p class="description"><?php _e('Ad Placements are the best way to manage where to display ads and groups.', ADVADS_SLUG); ?></p>
|
68 |
-
<p><?php printf(__('You have %d placements.', ADVADS_SLUG), count($placements)); ?> <?php
|
69 |
-
printf(__('<a href="%s">Manage</a> them.', ADVADS_SLUG),
|
70 |
-
'admin.php?page=advanced-ads-placements');
|
71 |
-
?></p>
|
72 |
-
</div>
|
73 |
-
<div class="advads-content-half">
|
74 |
-
<?php if(count($placements) > 0) : ?>
|
75 |
-
<h4><?php _e('recent placements', ADVADS_SLUG); ?></h4>
|
76 |
-
<ul>
|
77 |
-
<?php $_i = 0; foreach($placements as $_index => $_placement) : ?>
|
78 |
-
<li><?php echo $_placement['name']; ?></li><?php
|
79 |
-
if($_i++ == 2) break;
|
80 |
-
?>
|
81 |
-
<?php endforeach; ?>
|
82 |
-
</ul>
|
83 |
-
<?php else : ?>
|
84 |
-
<a class="button button-primary" href="<?php echo admin_url('admin.php?page=advanced-ads-placements');
|
85 |
-
?>"><?php _e('Create your first placement', ADVADS_SLUG); ?></a>
|
86 |
-
<?php endif; ?>
|
87 |
-
</div>
|
88 |
-
<br class="clear"/>
|
89 |
-
</div>
|
90 |
-
</div>
|
91 |
-
<div class="advads-content-right">
|
92 |
-
<div class="advads-box">
|
93 |
-
<h3><?php _e('Manual and Support', ADVADS_SLUG); ?></h3>
|
94 |
-
<p><?php _e('Need some help? These are your options', ADVADS_SLUG); ?></p>
|
95 |
-
<ul>
|
96 |
-
<li><?php printf(__('Visit the <a href="%s" target="_blank">plugin homepage</a>', ADVADS_SLUG), 'http://wpadvancedads.com/advancedads/'); ?></li>
|
97 |
-
<li><?php printf(__('Have a look into the <a href="%s" target="_blank">manual</a>', ADVADS_SLUG), 'http://wpadvancedads.com/advancedads/manual/'); ?></li>
|
98 |
-
<li><?php printf(__('Ask a question to other users in the <a href="%s" target="_blank">wordpress.org forum</a>', ADVADS_SLUG), 'http://wordpress.org/plugins/advanced-ads/'); ?></li>
|
99 |
-
<li><?php printf(__('<a href="%s" target="_blank">Hire the developer</a>', ADVADS_SLUG), 'http://webgilde.com/en/contact/'); ?></li>
|
100 |
-
<li><?php printf(__('Vote for a <a href="%s" target="_blank">feature</a>', ADVADS_SLUG), 'http://wpadvancedads.com/advancedads/feature-requests/'); ?></li>
|
101 |
-
</ul>
|
102 |
-
</div>
|
103 |
-
<div class="advads-box">
|
104 |
-
<h3><?php _e('Add-ons', ADVADS_SLUG); ?></h3>
|
105 |
-
<p><?php _e('Want to boost your ad income? Try these add-ons', ADVADS_SLUG); ?></p>
|
106 |
-
<ul>
|
107 |
-
<li><a href="http://wpadvancedads.com/ad-tracking/?utm_campaign=advads&utm_medium=plugin&utm_source=overview" target="_blank">Ad Tracking and Analytics</a></li>
|
108 |
-
<li><a href="http://wpadvancedads.com/responsive-ads/?utm_campaign=advads&utm_medium=plugin&utm_source=overview" target="_blank">Responsive Ads</a></li>
|
109 |
-
<li><a href="http://wpadvancedads.com/layer-ads/?utm_campaign=advads&utm_medium=plugin&utm_source=overview" target="_blank">PopUp and Layer Ads</a></li>
|
110 |
-
<li><a href="http://wpadvancedads.com/sticky-ads/?utm_campaign=advads&utm_medium=plugin&utm_source=overview" target="_blank">Sticky Ads</a></li>
|
111 |
-
</ul>
|
112 |
-
<a class="button button-primary" target="_blank" href="http://wpadvancedads.com"><?php
|
113 |
-
_e('See Add-Ons', ADVADS_SLUG); ?></a>
|
114 |
-
</div>
|
115 |
-
</div>
|
116 |
-
</div>
|
117 |
-
</div>
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Advanced Ads overview page in the dashboard
|
4 |
*/
|
5 |
+
|
6 |
+
/** Load WordPress dashboard API */
|
7 |
+
require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
|
8 |
+
|
9 |
+
do_action('advanced-ads-admin-overview-before');
|
10 |
+
|
11 |
+
wp_enqueue_script( 'dashboard' );
|
12 |
+
if ( current_user_can( 'edit_theme_options' ) )
|
13 |
+
wp_enqueue_script( 'customize-loader' );
|
14 |
+
if ( current_user_can( 'install_plugins' ) )
|
15 |
+
wp_enqueue_script( 'plugin-install' );
|
16 |
+
if ( current_user_can( 'upload_files' ) )
|
17 |
+
wp_enqueue_script( 'media-upload' );
|
18 |
+
add_thickbox();
|
19 |
+
|
20 |
+
if ( wp_is_mobile() )
|
21 |
+
wp_enqueue_script( 'jquery-touch-punch' );
|
22 |
+
|
23 |
+
$title = __('Ads Dashboard', ADVADS_SLUG);
|
24 |
+
|
25 |
?><div class="wrap">
|
26 |
+
<h2><?php echo esc_html( $title ); ?></h2>
|
27 |
+
|
28 |
+
<div id="dashboard-widgets-wrap">
|
29 |
+
<?php wp_dashboard(); ?>
|
30 |
+
</div><!-- dashboard-widgets-wrap -->
|
31 |
+
<?php do_action('advanced-ads-admin-overview-after'); ?>
|
32 |
+
</div><!-- wrap -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
advanced-ads.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* Plugin Name: Advanced Ads
|
13 |
* Plugin URI: http://wpadvancedads.com
|
14 |
* Description: Manage and optimize your ads in WordPress
|
15 |
-
* Version: 1.4.
|
16 |
* Author: Thomas Maier
|
17 |
* Author URI: http://webgilde.com
|
18 |
* Text Domain: advanced-ads
|
12 |
* Plugin Name: Advanced Ads
|
13 |
* Plugin URI: http://wpadvancedads.com
|
14 |
* Description: Manage and optimize your ads in WordPress
|
15 |
+
* Version: 1.4.3
|
16 |
* Author: Thomas Maier
|
17 |
* Author URI: http://webgilde.com
|
18 |
* Text Domain: advanced-ads
|
languages/advanced-ads-de_DE.mo
CHANGED
Binary file
|
languages/advanced-ads-de_DE.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Advanced Ads v1.4.
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
|
5 |
"POT-Creation-Date: 2015-01-28 20:07+0100\n"
|
6 |
-
"PO-Revision-Date: 2015-03-
|
7 |
"Last-Translator: Thomas Maier <post@webzunft.de>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -20,22 +20,21 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Textdomain-Support: yes"
|
22 |
|
23 |
-
#: admin/class-advanced-ads-admin.php:
|
24 |
#@ advanced-ads
|
25 |
msgid "Overview"
|
26 |
msgstr "Übersicht"
|
27 |
|
28 |
#. translators: plugin header field 'Name'
|
29 |
-
#: admin/class-advanced-ads-admin.php:
|
30 |
#: advanced-ads.php:0
|
31 |
#: classes/widget.php:21
|
32 |
#@ advanced-ads
|
33 |
msgid "Advanced Ads"
|
34 |
msgstr "Advanced Ads"
|
35 |
|
36 |
-
#: admin/class-advanced-ads-admin.php:
|
37 |
#: admin/includes/class-ad-groups-list-table.php:191
|
38 |
-
#: admin/views/overview.php:12
|
39 |
#: admin/views/placements.php:91
|
40 |
#: classes/widget.php:66
|
41 |
#: public/class-advanced-ads.php:550
|
@@ -43,183 +42,177 @@ msgstr "Advanced Ads"
|
|
43 |
msgid "Ads"
|
44 |
msgstr "Anzeigen"
|
45 |
|
46 |
-
#: admin/class-advanced-ads-admin.php:
|
47 |
#: admin/views/placements.php:84
|
48 |
#: classes/widget.php:59
|
49 |
#@ advanced-ads
|
50 |
msgid "Ad Groups"
|
51 |
msgstr "Anzeigen-Gruppen"
|
52 |
|
53 |
-
#: admin/class-advanced-ads-admin.php:
|
54 |
-
#: admin/views/overview.php:40
|
55 |
#: public/class-advanced-ads.php:524
|
56 |
#@ advanced-ads
|
57 |
msgid "Groups"
|
58 |
msgstr "Gruppen"
|
59 |
|
60 |
-
#: admin/class-advanced-ads-admin.php:
|
61 |
#: admin/views/debug.php:19
|
62 |
#@ advanced-ads
|
63 |
msgid "Ad Placements"
|
64 |
msgstr "Anzeigen-Platzierungen"
|
65 |
|
66 |
-
#: admin/class-advanced-ads-admin.php:
|
67 |
-
#: admin/views/overview.php:66
|
68 |
#: admin/views/placements.php:47
|
69 |
#@ advanced-ads
|
70 |
msgid "Placements"
|
71 |
msgstr "Platzierungen"
|
72 |
|
73 |
-
#: admin/class-advanced-ads-admin.php:
|
74 |
#@ advanced-ads
|
75 |
msgid "Advanced Ads Settings"
|
76 |
msgstr "Advanced-Ads-Einstellungen"
|
77 |
|
78 |
-
#: admin/class-advanced-ads-admin.php:
|
79 |
-
#: admin/class-advanced-ads-admin.php:
|
80 |
#: admin/views/debug.php:13
|
81 |
#@ advanced-ads
|
82 |
msgid "Settings"
|
83 |
msgstr "Einstellungen"
|
84 |
|
85 |
-
#: admin/class-advanced-ads-admin.php:
|
86 |
#@ advanced-ads
|
87 |
msgid "Advanced Ads Debugging"
|
88 |
msgstr "Advanced-Ads-Fehleranalyse (Debugging)"
|
89 |
|
90 |
-
#: admin/class-advanced-ads-admin.php:
|
91 |
#@ advanced-ads
|
92 |
msgid "Debug"
|
93 |
msgstr "Debug"
|
94 |
|
95 |
-
#: admin/class-advanced-ads-admin.php:
|
96 |
#@ advanced-ads
|
97 |
msgid "Placements updated"
|
98 |
msgstr "Platzierungen aktualisiert"
|
99 |
|
100 |
-
#: admin/class-advanced-ads-admin.php:
|
101 |
-
#: admin/class-advanced-ads-admin.php:
|
102 |
#@ advanced-ads
|
103 |
msgid "Sorry, you are not allowed to access this feature."
|
104 |
msgstr "Sie haben leider keinen Zugriff auf diese Funktion"
|
105 |
|
106 |
-
#: admin/class-advanced-ads-admin.php:
|
107 |
#@ advanced-ads
|
108 |
msgid "You attempted to edit an ad group that doesn’t exist. Perhaps it was deleted?"
|
109 |
msgstr "Sie haben versucht, ein Element, das nicht existiert, zu bearbeiten. Vielleicht wurde es gelöscht?"
|
110 |
|
111 |
-
#: admin/class-advanced-ads-admin.php:
|
112 |
#@ advanced-ads
|
113 |
msgid "Ad Type"
|
114 |
msgstr "Anzeigen-Typ"
|
115 |
|
116 |
-
#: admin/class-advanced-ads-admin.php:
|
117 |
#@ advanced-ads
|
118 |
msgid "Ad Parameters"
|
119 |
msgstr "Anzeigen-Parameter"
|
120 |
|
121 |
-
#: admin/class-advanced-ads-admin.php:
|
122 |
#@ advanced-ads
|
123 |
msgid "Layout / Output"
|
124 |
msgstr "Layout / Ausgabe"
|
125 |
|
126 |
-
#: admin/class-advanced-ads-admin.php:
|
127 |
#@ advanced-ads
|
128 |
msgid "Display Conditions"
|
129 |
msgstr "Anzeige-Bedingungen"
|
130 |
|
131 |
-
#: admin/class-advanced-ads-admin.php:
|
132 |
#@ advanced-ads
|
133 |
msgid "Visitor Conditions"
|
134 |
msgstr "Besucher-Bedingungen"
|
135 |
|
136 |
-
#: admin/class-advanced-ads-admin.php:
|
137 |
#@ advanced-ads
|
138 |
msgid "General"
|
139 |
msgstr "Allgemein"
|
140 |
|
141 |
-
#: admin/class-advanced-ads-admin.php:
|
142 |
#@ advanced-ads
|
143 |
msgid "Disable ads"
|
144 |
msgstr "Anzeigen auf dieser Seite deaktivieren."
|
145 |
|
146 |
-
#: admin/class-advanced-ads-admin.php:
|
147 |
#@ advanced-ads
|
148 |
msgid "Hide ads for logged in users"
|
149 |
msgstr "Verstecke Anzeigen vor eingeloggten Benutzern"
|
150 |
|
151 |
-
#: admin/class-advanced-ads-admin.php:
|
152 |
#@ advanced-ads
|
153 |
msgid "Use advanced JavaScript"
|
154 |
msgstr "Advanced-JavaScript benutzen"
|
155 |
|
156 |
-
#: admin/class-advanced-ads-admin.php:
|
157 |
#@ advanced-ads
|
158 |
msgid "(display to all)"
|
159 |
msgstr "(für alle sichtbar)"
|
160 |
|
161 |
-
#: admin/class-advanced-ads-admin.php:
|
162 |
#@ advanced-ads
|
163 |
msgid "Subscriber"
|
164 |
msgstr "Abonnent"
|
165 |
|
166 |
-
#: admin/class-advanced-ads-admin.php:
|
167 |
#@ advanced-ads
|
168 |
msgid "Contributor"
|
169 |
msgstr "Mitarbeiter"
|
170 |
|
171 |
-
#: admin/class-advanced-ads-admin.php:
|
172 |
#@ advanced-ads
|
173 |
msgid "Author"
|
174 |
msgstr "Autor"
|
175 |
|
176 |
-
#: admin/class-advanced-ads-admin.php:
|
177 |
#@ advanced-ads
|
178 |
msgid "Editor"
|
179 |
msgstr "Redakteur"
|
180 |
|
181 |
-
#: admin/class-advanced-ads-admin.php:
|
182 |
#@ advanced-ads
|
183 |
msgid "Admin"
|
184 |
msgstr "Admin"
|
185 |
|
186 |
-
#: admin/class-advanced-ads-admin.php:
|
187 |
#@ advanced-ads
|
188 |
msgid "Choose the lowest role a user must have in order to not see any ads."
|
189 |
msgstr "Wählen Sie die niedrigste Rolle die ein Benutzer haben muss um keine Anzeigen zu sehen."
|
190 |
|
191 |
-
#: admin/class-advanced-ads-admin.php:
|
192 |
#, php-format
|
193 |
#@ advanced-ads
|
194 |
msgid "Only enable this if you can and want to use the advanced JavaScript functions described <a href=\"%s\">here</a>."
|
195 |
msgstr "Aktivieren Sie dies nur, wenn Sie die erweiterten und <a href=\"%s\">hier</a> beschriebenen Advanced-JavaScript-Funktionen verwenden können und wollen."
|
196 |
|
197 |
-
#: admin/class-advanced-ads-admin.php:
|
198 |
#@ advanced-ads
|
199 |
msgid "Ad Details"
|
200 |
msgstr "Anzeigeneinstellungen"
|
201 |
|
202 |
-
#: admin/class-advanced-ads-admin.php:
|
203 |
#@ advanced-ads
|
204 |
msgid "Ad Settings"
|
205 |
msgstr "Anzeigen-Einstellungen"
|
206 |
|
207 |
-
#: admin/class-advanced-ads-admin.php:
|
|
|
208 |
#@ advanced-ads
|
209 |
msgid "Ads Dashboard"
|
210 |
msgstr "Anzeigen-Dashboard"
|
211 |
|
212 |
-
#: admin/class-advanced-ads-admin.php:
|
213 |
-
#@ default
|
214 |
-
msgid "Tutorials and News"
|
215 |
-
msgstr "Anleitungen und Neuigkeiten"
|
216 |
-
|
217 |
-
#: admin/class-advanced-ads-admin.php:910
|
218 |
#@ advanced-ads
|
219 |
msgid "plugin manual and homepage"
|
220 |
msgstr "Plugin-Anleitung und Homepage"
|
221 |
|
222 |
-
#: admin/class-advanced-ads-admin.php:
|
223 |
#@ advanced-ads
|
224 |
msgid "From the ad optimization universe"
|
225 |
msgstr "Neues aus dem Anzeigen-Universum"
|
@@ -866,131 +859,53 @@ msgstr "Dieser Bildschirm ist in Arbeit. Sie können die Informationen verwenden
|
|
866 |
msgid "Ad Condition Overview"
|
867 |
msgstr "Übersicht der Anzeigen-Bedingungen"
|
868 |
|
869 |
-
#: admin/
|
870 |
#@ advanced-ads
|
871 |
msgid "Ads are the smallest unit, containing the content or a single ad to be displayed."
|
872 |
msgstr "Anzeigen sind die kleinste Einheit und enthalten Inhalte und Layout."
|
873 |
|
874 |
-
#: admin/
|
875 |
#, php-format
|
876 |
#@ advanced-ads
|
877 |
msgid "You have published %d ads."
|
878 |
msgstr "Sie haben %d Anzeigen veröffentlicht."
|
879 |
|
880 |
-
#: admin/
|
881 |
#, php-format
|
882 |
#@ advanced-ads
|
883 |
msgid "<a href=\"%s\">Manage</a> them or <a href=\"%s\">create</a> a new one"
|
884 |
msgstr "Anzeigen <a href=\"%s\">verwalten</a> oder neue <a href=\"%s\">erstellen</a>"
|
885 |
|
886 |
-
#: admin/
|
887 |
-
#@ advanced-ads
|
888 |
-
msgid "recent ads"
|
889 |
-
msgstr "Neueste Anzeigen"
|
890 |
-
|
891 |
-
#: admin/views/overview.php:33
|
892 |
#@ advanced-ads
|
893 |
msgid "Create your first ad"
|
894 |
msgstr "Erstellen Sie Ihre erste Anzeige"
|
895 |
|
896 |
-
#: admin/
|
897 |
#@ advanced-ads
|
898 |
msgid "Ad Groups contain ads and are currently used to rotate multiple ads on a single spot."
|
899 |
msgstr "Anzeigengruppen enthalten Anzeigen und werden verwendet, um mehrere Anzeigen an einer Stelle zu rotieren."
|
900 |
|
901 |
-
#: admin/
|
902 |
-
#, php-format
|
903 |
-
#@ advanced-ads
|
904 |
-
msgid "You have %d groups."
|
905 |
-
msgstr "Sie haben %d Gruppen."
|
906 |
-
|
907 |
-
#: admin/views/overview.php:43
|
908 |
-
#: admin/views/overview.php:69
|
909 |
-
#, php-format
|
910 |
-
#@ advanced-ads
|
911 |
-
msgid "<a href=\"%s\">Manage</a> them."
|
912 |
-
msgstr "<a href=\"%s\">Verwalten</a>"
|
913 |
-
|
914 |
-
#: admin/views/overview.php:49
|
915 |
-
#@ advanced-ads
|
916 |
-
msgid "recent groups"
|
917 |
-
msgstr "Neueste Gruppen"
|
918 |
-
|
919 |
-
#: admin/views/overview.php:59
|
920 |
#@ advanced-ads
|
921 |
msgid "Create your first group"
|
922 |
msgstr "Erstellen Sie Ihre erste Gruppe"
|
923 |
|
924 |
-
#: admin/
|
925 |
#@ advanced-ads
|
926 |
msgid "Ad Placements are the best way to manage where to display ads and groups."
|
927 |
msgstr "Anzeigen-Platzierungen sind am besten geeignet um zu bestimmen, wo Anzeigen und Gruppen veröffentlicht werden."
|
928 |
|
929 |
-
#: admin/
|
930 |
-
#, php-format
|
931 |
-
#@ advanced-ads
|
932 |
-
msgid "You have %d placements."
|
933 |
-
msgstr "Sie haben %d Platzierungen."
|
934 |
-
|
935 |
-
#: admin/views/overview.php:75
|
936 |
-
#@ advanced-ads
|
937 |
-
msgid "recent placements"
|
938 |
-
msgstr "Neueste Platzierungen"
|
939 |
-
|
940 |
-
#: admin/views/overview.php:85
|
941 |
#@ advanced-ads
|
942 |
msgid "Create your first placement"
|
943 |
msgstr "Erstellen Sie Ihre erste Platzierung"
|
944 |
|
945 |
-
#: admin/
|
946 |
#@ advanced-ads
|
947 |
msgid "Manual and Support"
|
948 |
msgstr "Anleitung und Support"
|
949 |
|
950 |
-
#: admin/views/overview.php:94
|
951 |
-
#@ advanced-ads
|
952 |
-
msgid "Need some help? These are your options"
|
953 |
-
msgstr "Benötigen Sie weitere Hilfe? Dies sind Ihre Optionen:"
|
954 |
-
|
955 |
-
#: admin/views/overview.php:96
|
956 |
-
#, php-format
|
957 |
-
#@ advanced-ads
|
958 |
-
msgid "Visit the <a href=\"%s\">plugin homepage</a>"
|
959 |
-
msgstr "Besuchen Sie die <a href=\"%s\">Plugin-Homepage</a>."
|
960 |
-
|
961 |
-
#: admin/views/overview.php:97
|
962 |
-
#, php-format
|
963 |
-
#@ advanced-ads
|
964 |
-
msgid "Have a look into the <a href=\"%s\">manual</a>"
|
965 |
-
msgstr "Werfen Sie einen Blick in die <a href=\"%s\">Anleitung</a>."
|
966 |
-
|
967 |
-
#: admin/views/overview.php:98
|
968 |
-
#, php-format
|
969 |
-
#@ advanced-ads
|
970 |
-
msgid "Ask a question to other users in the <a href=\"%s\">wordpress.org forum</a>"
|
971 |
-
msgstr "Fragen Sie andere Nutzer im <a href=\"%s\">wordpress.org forum</a>."
|
972 |
-
|
973 |
-
#: admin/views/overview.php:99
|
974 |
-
#, php-format
|
975 |
-
#@ advanced-ads
|
976 |
-
msgid "<a href=\"%s\">Hire the developer</a>"
|
977 |
-
msgstr "<a href=\"%s\">Engagieren Sie den Entwickler</a>."
|
978 |
-
|
979 |
-
#: admin/views/overview.php:103
|
980 |
-
#@ advanced-ads
|
981 |
-
msgid "Add-ons"
|
982 |
-
msgstr "Add-ons"
|
983 |
-
|
984 |
-
#: admin/views/overview.php:104
|
985 |
-
#@ advanced-ads
|
986 |
-
msgid "Want to boost your ad income? Try these add-ons"
|
987 |
-
msgstr "Möchten Sie Ihr Anzeigen-Einkommen steigern? Probieren Sie diese Add-ons"
|
988 |
-
|
989 |
-
#: admin/views/overview.php:111
|
990 |
-
#@ advanced-ads
|
991 |
-
msgid "See Add-Ons"
|
992 |
-
msgstr "Add-Ons sehen"
|
993 |
-
|
994 |
#: admin/views/placements.php:14
|
995 |
#@ advanced-ads
|
996 |
msgid "Placements are physically places in your theme and posts. You can use them if you plan to change ads and ad groups on the same place without the need to change your templates."
|
@@ -1551,7 +1466,7 @@ msgstr ""
|
|
1551 |
msgid "Execute PHP code (wrapped in <code><?php ?></code>)"
|
1552 |
msgstr "PHP Code ausführen (in <code><?php ?></code> tags)"
|
1553 |
|
1554 |
-
#: admin/class-advanced-ads-admin.php:
|
1555 |
#, php-format
|
1556 |
#@ advanced-ads
|
1557 |
msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
|
@@ -1669,22 +1584,16 @@ msgstr " am "
|
|
1669 |
msgid "Warning : You have not yet entered an AdSense account ID. The plugin won’t work without that"
|
1670 |
msgstr "Achtung: Bitte trage noch eine AdSense-Account-ID in den Einstellungen ein."
|
1671 |
|
1672 |
-
#: admin/class-advanced-ads-admin.php:
|
1673 |
#@ advanced-ads
|
1674 |
msgid "Priority of content injection filter"
|
1675 |
msgstr "Priorität des Filters für Anzeigen in Beiträgen"
|
1676 |
|
1677 |
-
#: admin/class-advanced-ads-admin.php:
|
1678 |
#@ advanced-ads
|
1679 |
msgid "Play with this value in order to change the priority of the injected ads compared to other auto injected elements in the post content."
|
1680 |
msgstr "Ändere diesen Wert, wenn du die Reihenfolge der automatisch im Beitrag eingefügten Anzeige im Vergleich zu anderen Elementen ändern willst."
|
1681 |
|
1682 |
-
#. translators: plugin header field 'Version'
|
1683 |
-
#: advanced-ads.php:0
|
1684 |
-
#@ advanced-ads
|
1685 |
-
msgid "1.4.1"
|
1686 |
-
msgstr ""
|
1687 |
-
|
1688 |
#: modules/gadsense/admin/views/admin-page.php:27
|
1689 |
#, php-format
|
1690 |
#@ advanced-ads
|
@@ -1707,3 +1616,185 @@ msgstr "Beachte: Für die Prüfung des Limits werden nur die Anzeigen herangezog
|
|
1707 |
msgid "Save AdSense Settings"
|
1708 |
msgstr "AdSense Einstellungen speichern"
|
1709 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Advanced Ads v1.4.2\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
|
5 |
"POT-Creation-Date: 2015-01-28 20:07+0100\n"
|
6 |
+
"PO-Revision-Date: 2015-03-21 20:32:11+0000\n"
|
7 |
"Last-Translator: Thomas Maier <post@webzunft.de>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Textdomain-Support: yes"
|
22 |
|
23 |
+
#: admin/class-advanced-ads-admin.php:196
|
24 |
#@ advanced-ads
|
25 |
msgid "Overview"
|
26 |
msgstr "Übersicht"
|
27 |
|
28 |
#. translators: plugin header field 'Name'
|
29 |
+
#: admin/class-advanced-ads-admin.php:196
|
30 |
#: advanced-ads.php:0
|
31 |
#: classes/widget.php:21
|
32 |
#@ advanced-ads
|
33 |
msgid "Advanced Ads"
|
34 |
msgstr "Advanced Ads"
|
35 |
|
36 |
+
#: admin/class-advanced-ads-admin.php:200
|
37 |
#: admin/includes/class-ad-groups-list-table.php:191
|
|
|
38 |
#: admin/views/placements.php:91
|
39 |
#: classes/widget.php:66
|
40 |
#: public/class-advanced-ads.php:550
|
42 |
msgid "Ads"
|
43 |
msgstr "Anzeigen"
|
44 |
|
45 |
+
#: admin/class-advanced-ads-admin.php:204
|
46 |
#: admin/views/placements.php:84
|
47 |
#: classes/widget.php:59
|
48 |
#@ advanced-ads
|
49 |
msgid "Ad Groups"
|
50 |
msgstr "Anzeigen-Gruppen"
|
51 |
|
52 |
+
#: admin/class-advanced-ads-admin.php:204
|
|
|
53 |
#: public/class-advanced-ads.php:524
|
54 |
#@ advanced-ads
|
55 |
msgid "Groups"
|
56 |
msgstr "Gruppen"
|
57 |
|
58 |
+
#: admin/class-advanced-ads-admin.php:209
|
59 |
#: admin/views/debug.php:19
|
60 |
#@ advanced-ads
|
61 |
msgid "Ad Placements"
|
62 |
msgstr "Anzeigen-Platzierungen"
|
63 |
|
64 |
+
#: admin/class-advanced-ads-admin.php:209
|
|
|
65 |
#: admin/views/placements.php:47
|
66 |
#@ advanced-ads
|
67 |
msgid "Placements"
|
68 |
msgstr "Platzierungen"
|
69 |
|
70 |
+
#: admin/class-advanced-ads-admin.php:213
|
71 |
#@ advanced-ads
|
72 |
msgid "Advanced Ads Settings"
|
73 |
msgstr "Advanced-Ads-Einstellungen"
|
74 |
|
75 |
+
#: admin/class-advanced-ads-admin.php:213
|
76 |
+
#: admin/class-advanced-ads-admin.php:402
|
77 |
#: admin/views/debug.php:13
|
78 |
#@ advanced-ads
|
79 |
msgid "Settings"
|
80 |
msgstr "Einstellungen"
|
81 |
|
82 |
+
#: admin/class-advanced-ads-admin.php:216
|
83 |
#@ advanced-ads
|
84 |
msgid "Advanced Ads Debugging"
|
85 |
msgstr "Advanced-Ads-Fehleranalyse (Debugging)"
|
86 |
|
87 |
+
#: admin/class-advanced-ads-admin.php:216
|
88 |
#@ advanced-ads
|
89 |
msgid "Debug"
|
90 |
msgstr "Debug"
|
91 |
|
92 |
+
#: admin/class-advanced-ads-admin.php:271
|
93 |
#@ advanced-ads
|
94 |
msgid "Placements updated"
|
95 |
msgstr "Platzierungen aktualisiert"
|
96 |
|
97 |
+
#: admin/class-advanced-ads-admin.php:315
|
98 |
+
#: admin/class-advanced-ads-admin.php:342
|
99 |
#@ advanced-ads
|
100 |
msgid "Sorry, you are not allowed to access this feature."
|
101 |
msgstr "Sie haben leider keinen Zugriff auf diese Funktion"
|
102 |
|
103 |
+
#: admin/class-advanced-ads-admin.php:328
|
104 |
#@ advanced-ads
|
105 |
msgid "You attempted to edit an ad group that doesn’t exist. Perhaps it was deleted?"
|
106 |
msgstr "Sie haben versucht, ein Element, das nicht existiert, zu bearbeiten. Vielleicht wurde es gelöscht?"
|
107 |
|
108 |
+
#: admin/class-advanced-ads-admin.php:429
|
109 |
#@ advanced-ads
|
110 |
msgid "Ad Type"
|
111 |
msgstr "Anzeigen-Typ"
|
112 |
|
113 |
+
#: admin/class-advanced-ads-admin.php:432
|
114 |
#@ advanced-ads
|
115 |
msgid "Ad Parameters"
|
116 |
msgstr "Anzeigen-Parameter"
|
117 |
|
118 |
+
#: admin/class-advanced-ads-admin.php:435
|
119 |
#@ advanced-ads
|
120 |
msgid "Layout / Output"
|
121 |
msgstr "Layout / Ausgabe"
|
122 |
|
123 |
+
#: admin/class-advanced-ads-admin.php:438
|
124 |
#@ advanced-ads
|
125 |
msgid "Display Conditions"
|
126 |
msgstr "Anzeige-Bedingungen"
|
127 |
|
128 |
+
#: admin/class-advanced-ads-admin.php:441
|
129 |
#@ advanced-ads
|
130 |
msgid "Visitor Conditions"
|
131 |
msgstr "Besucher-Bedingungen"
|
132 |
|
133 |
+
#: admin/class-advanced-ads-admin.php:603
|
134 |
#@ advanced-ads
|
135 |
msgid "General"
|
136 |
msgstr "Allgemein"
|
137 |
|
138 |
+
#: admin/class-advanced-ads-admin.php:611
|
139 |
#@ advanced-ads
|
140 |
msgid "Disable ads"
|
141 |
msgstr "Anzeigen auf dieser Seite deaktivieren."
|
142 |
|
143 |
+
#: admin/class-advanced-ads-admin.php:619
|
144 |
#@ advanced-ads
|
145 |
msgid "Hide ads for logged in users"
|
146 |
msgstr "Verstecke Anzeigen vor eingeloggten Benutzern"
|
147 |
|
148 |
+
#: admin/class-advanced-ads-admin.php:627
|
149 |
#@ advanced-ads
|
150 |
msgid "Use advanced JavaScript"
|
151 |
msgstr "Advanced-JavaScript benutzen"
|
152 |
|
153 |
+
#: admin/class-advanced-ads-admin.php:685
|
154 |
#@ advanced-ads
|
155 |
msgid "(display to all)"
|
156 |
msgstr "(für alle sichtbar)"
|
157 |
|
158 |
+
#: admin/class-advanced-ads-admin.php:686
|
159 |
#@ advanced-ads
|
160 |
msgid "Subscriber"
|
161 |
msgstr "Abonnent"
|
162 |
|
163 |
+
#: admin/class-advanced-ads-admin.php:687
|
164 |
#@ advanced-ads
|
165 |
msgid "Contributor"
|
166 |
msgstr "Mitarbeiter"
|
167 |
|
168 |
+
#: admin/class-advanced-ads-admin.php:688
|
169 |
#@ advanced-ads
|
170 |
msgid "Author"
|
171 |
msgstr "Autor"
|
172 |
|
173 |
+
#: admin/class-advanced-ads-admin.php:689
|
174 |
#@ advanced-ads
|
175 |
msgid "Editor"
|
176 |
msgstr "Redakteur"
|
177 |
|
178 |
+
#: admin/class-advanced-ads-admin.php:690
|
179 |
#@ advanced-ads
|
180 |
msgid "Admin"
|
181 |
msgstr "Admin"
|
182 |
|
183 |
+
#: admin/class-advanced-ads-admin.php:698
|
184 |
#@ advanced-ads
|
185 |
msgid "Choose the lowest role a user must have in order to not see any ads."
|
186 |
msgstr "Wählen Sie die niedrigste Rolle die ein Benutzer haben muss um keine Anzeigen zu sehen."
|
187 |
|
188 |
+
#: admin/class-advanced-ads-admin.php:711
|
189 |
#, php-format
|
190 |
#@ advanced-ads
|
191 |
msgid "Only enable this if you can and want to use the advanced JavaScript functions described <a href=\"%s\">here</a>."
|
192 |
msgstr "Aktivieren Sie dies nur, wenn Sie die erweiterten und <a href=\"%s\">hier</a> beschriebenen Advanced-JavaScript-Funktionen verwenden können und wollen."
|
193 |
|
194 |
+
#: admin/class-advanced-ads-admin.php:741
|
195 |
#@ advanced-ads
|
196 |
msgid "Ad Details"
|
197 |
msgstr "Anzeigeneinstellungen"
|
198 |
|
199 |
+
#: admin/class-advanced-ads-admin.php:815
|
200 |
#@ advanced-ads
|
201 |
msgid "Ad Settings"
|
202 |
msgstr "Anzeigen-Einstellungen"
|
203 |
|
204 |
+
#: admin/class-advanced-ads-admin.php:889
|
205 |
+
#: admin/views/overview.php:23
|
206 |
#@ advanced-ads
|
207 |
msgid "Ads Dashboard"
|
208 |
msgstr "Anzeigen-Dashboard"
|
209 |
|
210 |
+
#: admin/class-advanced-ads-admin.php:932
|
|
|
|
|
|
|
|
|
|
|
211 |
#@ advanced-ads
|
212 |
msgid "plugin manual and homepage"
|
213 |
msgstr "Plugin-Anleitung und Homepage"
|
214 |
|
215 |
+
#: admin/class-advanced-ads-admin.php:901
|
216 |
#@ advanced-ads
|
217 |
msgid "From the ad optimization universe"
|
218 |
msgstr "Neues aus dem Anzeigen-Universum"
|
859 |
msgid "Ad Condition Overview"
|
860 |
msgstr "Übersicht der Anzeigen-Bedingungen"
|
861 |
|
862 |
+
#: admin/includes/class-overview-widgets.php:71
|
863 |
#@ advanced-ads
|
864 |
msgid "Ads are the smallest unit, containing the content or a single ad to be displayed."
|
865 |
msgstr "Anzeigen sind die kleinste Einheit und enthalten Inhalte und Layout."
|
866 |
|
867 |
+
#: admin/includes/class-overview-widgets.php:72
|
868 |
#, php-format
|
869 |
#@ advanced-ads
|
870 |
msgid "You have published %d ads."
|
871 |
msgstr "Sie haben %d Anzeigen veröffentlicht."
|
872 |
|
873 |
+
#: admin/includes/class-overview-widgets.php:73
|
874 |
#, php-format
|
875 |
#@ advanced-ads
|
876 |
msgid "<a href=\"%s\">Manage</a> them or <a href=\"%s\">create</a> a new one"
|
877 |
msgstr "Anzeigen <a href=\"%s\">verwalten</a> oder neue <a href=\"%s\">erstellen</a>"
|
878 |
|
879 |
+
#: admin/includes/class-overview-widgets.php:94
|
|
|
|
|
|
|
|
|
|
|
880 |
#@ advanced-ads
|
881 |
msgid "Create your first ad"
|
882 |
msgstr "Erstellen Sie Ihre erste Anzeige"
|
883 |
|
884 |
+
#: admin/includes/class-overview-widgets.php:97
|
885 |
#@ advanced-ads
|
886 |
msgid "Ad Groups contain ads and are currently used to rotate multiple ads on a single spot."
|
887 |
msgstr "Anzeigengruppen enthalten Anzeigen und werden verwendet, um mehrere Anzeigen an einer Stelle zu rotieren."
|
888 |
|
889 |
+
#: admin/includes/class-overview-widgets.php:99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
890 |
#@ advanced-ads
|
891 |
msgid "Create your first group"
|
892 |
msgstr "Erstellen Sie Ihre erste Gruppe"
|
893 |
|
894 |
+
#: admin/includes/class-overview-widgets.php:102
|
895 |
#@ advanced-ads
|
896 |
msgid "Ad Placements are the best way to manage where to display ads and groups."
|
897 |
msgstr "Anzeigen-Platzierungen sind am besten geeignet um zu bestimmen, wo Anzeigen und Gruppen veröffentlicht werden."
|
898 |
|
899 |
+
#: admin/includes/class-overview-widgets.php:104
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
900 |
#@ advanced-ads
|
901 |
msgid "Create your first placement"
|
902 |
msgstr "Erstellen Sie Ihre erste Platzierung"
|
903 |
|
904 |
+
#: admin/includes/class-overview-widgets.php:49
|
905 |
#@ advanced-ads
|
906 |
msgid "Manual and Support"
|
907 |
msgstr "Anleitung und Support"
|
908 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
909 |
#: admin/views/placements.php:14
|
910 |
#@ advanced-ads
|
911 |
msgid "Placements are physically places in your theme and posts. You can use them if you plan to change ads and ad groups on the same place without the need to change your templates."
|
1466 |
msgid "Execute PHP code (wrapped in <code><?php ?></code>)"
|
1467 |
msgstr "PHP Code ausführen (in <code><?php ?></code> tags)"
|
1468 |
|
1469 |
+
#: admin/class-advanced-ads-admin.php:921
|
1470 |
#, php-format
|
1471 |
#@ advanced-ads
|
1472 |
msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
|
1584 |
msgid "Warning : You have not yet entered an AdSense account ID. The plugin won’t work without that"
|
1585 |
msgstr "Achtung: Bitte trage noch eine AdSense-Account-ID in den Einstellungen ein."
|
1586 |
|
1587 |
+
#: admin/class-advanced-ads-admin.php:635
|
1588 |
#@ advanced-ads
|
1589 |
msgid "Priority of content injection filter"
|
1590 |
msgstr "Priorität des Filters für Anzeigen in Beiträgen"
|
1591 |
|
1592 |
+
#: admin/class-advanced-ads-admin.php:724
|
1593 |
#@ advanced-ads
|
1594 |
msgid "Play with this value in order to change the priority of the injected ads compared to other auto injected elements in the post content."
|
1595 |
msgstr "Ändere diesen Wert, wenn du die Reihenfolge der automatisch im Beitrag eingefügten Anzeige im Vergleich zu anderen Elementen ändern willst."
|
1596 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1597 |
#: modules/gadsense/admin/views/admin-page.php:27
|
1598 |
#, php-format
|
1599 |
#@ advanced-ads
|
1616 |
msgid "Save AdSense Settings"
|
1617 |
msgstr "AdSense Einstellungen speichern"
|
1618 |
|
1619 |
+
#: admin/class-advanced-ads-admin.php:910
|
1620 |
+
#@ advanced-ads
|
1621 |
+
msgid "Advanced Ads Tutorials"
|
1622 |
+
msgstr ""
|
1623 |
+
|
1624 |
+
#: admin/includes/class-overview-widgets.php:45
|
1625 |
+
#@ advanced-ads
|
1626 |
+
msgid "News and Tutorials"
|
1627 |
+
msgstr ""
|
1628 |
+
|
1629 |
+
#: admin/includes/class-overview-widgets.php:47
|
1630 |
+
#@ advanced-ads
|
1631 |
+
msgid "My Ads"
|
1632 |
+
msgstr "Meine Anzeigen"
|
1633 |
+
|
1634 |
+
#: admin/includes/class-overview-widgets.php:53
|
1635 |
+
#@ advanced-ads
|
1636 |
+
msgid "Tracking and Stats"
|
1637 |
+
msgstr "Tracking und Statistik"
|
1638 |
+
|
1639 |
+
#: admin/includes/class-overview-widgets.php:55
|
1640 |
+
#@ advanced-ads
|
1641 |
+
msgid "Responsive and Mobile ads"
|
1642 |
+
msgstr "Responsive und Mobile Anzeigen"
|
1643 |
+
|
1644 |
+
#: admin/includes/class-overview-widgets.php:57
|
1645 |
+
#@ advanced-ads
|
1646 |
+
msgid "Sticky ads"
|
1647 |
+
msgstr ""
|
1648 |
+
|
1649 |
+
#: admin/includes/class-overview-widgets.php:59
|
1650 |
+
#@ advanced-ads
|
1651 |
+
msgid "PopUps and Layers"
|
1652 |
+
msgstr "PopUps und Layers"
|
1653 |
+
|
1654 |
+
#: admin/includes/class-overview-widgets.php:109
|
1655 |
+
#@ advanced-ads
|
1656 |
+
msgid "Next steps"
|
1657 |
+
msgstr "Nächste Schritte"
|
1658 |
+
|
1659 |
+
#: admin/includes/class-overview-widgets.php:121
|
1660 |
+
#, php-format
|
1661 |
+
#@ advanced-ads
|
1662 |
+
msgid "<a href=\"%s\" target=\"_blank\">Plugin Homepage</a>"
|
1663 |
+
msgstr "<a href=\"%s\" target=\"_blank\">Plugin Homepage</a>"
|
1664 |
+
|
1665 |
+
#: admin/includes/class-overview-widgets.php:122
|
1666 |
+
#, php-format
|
1667 |
+
#@ advanced-ads
|
1668 |
+
msgid "<a href=\"%s\" target=\"_blank\">Manual</a>"
|
1669 |
+
msgstr "<a href=\"%s\" target=\"_blank\">Anleitung</a>"
|
1670 |
+
|
1671 |
+
#: admin/includes/class-overview-widgets.php:123
|
1672 |
+
#, php-format
|
1673 |
+
#@ advanced-ads
|
1674 |
+
msgid "Ask other users in the <a href=\"%s\" target=\"_blank\">wordpress.org forum</a>"
|
1675 |
+
msgstr "<a href=\"%s\" target=\"_blank\">Nutzerforum</a>"
|
1676 |
+
|
1677 |
+
#: admin/includes/class-overview-widgets.php:124
|
1678 |
+
#, php-format
|
1679 |
+
#@ advanced-ads
|
1680 |
+
msgid "Vote for a <a href=\"%s\" target=\"_blank\">feature</a>"
|
1681 |
+
msgstr "Über <a href=\"%s\" target=\"_blank\">neue Funktionen</a> abstimmen"
|
1682 |
+
|
1683 |
+
#: admin/includes/class-overview-widgets.php:125
|
1684 |
+
#, php-format
|
1685 |
+
#@ advanced-ads
|
1686 |
+
msgid "<a href=\"%s\" target=\"_blank\">Hire the developer</a>"
|
1687 |
+
msgstr "<a href=\"%s\" target=\"_blank\">Beauftrage den Entwickler</a>"
|
1688 |
+
|
1689 |
+
#: admin/includes/class-overview-widgets.php:126
|
1690 |
+
#, php-format
|
1691 |
+
#@ advanced-ads
|
1692 |
+
msgid "Thank the developer with a ★★★★★ review on <a href=\"%s\" target=\"_blank\">wordpress.org</a>"
|
1693 |
+
msgstr "Danke dem Entwickler mit einem ★★★★★ Review auf <a href=\"%s\" target=\"_blank\">wordpress.org</a>"
|
1694 |
+
|
1695 |
+
#: admin/includes/class-overview-widgets.php:135
|
1696 |
+
#@ advanced-ads
|
1697 |
+
msgid "Track the impressions of your ads."
|
1698 |
+
msgstr "Zähle die Einblendungen von Anzeigen."
|
1699 |
+
|
1700 |
+
#: admin/includes/class-overview-widgets.php:136
|
1701 |
+
#@ advanced-ads
|
1702 |
+
msgid "2 methods to count impressions"
|
1703 |
+
msgstr "2 Zählmethoden zur Auswahl"
|
1704 |
+
|
1705 |
+
#: admin/includes/class-overview-widgets.php:137
|
1706 |
+
#@ advanced-ads
|
1707 |
+
msgid "beautiful stats for all or single ads"
|
1708 |
+
msgstr "Wunderschöne Statistiken"
|
1709 |
+
|
1710 |
+
#: admin/includes/class-overview-widgets.php:138
|
1711 |
+
#@ advanced-ads
|
1712 |
+
msgid "get stats for predefined and custom persiods"
|
1713 |
+
msgstr "Werte einen beliebigen Zeitraum aus."
|
1714 |
+
|
1715 |
+
#: admin/includes/class-overview-widgets.php:139
|
1716 |
+
#@ advanced-ads
|
1717 |
+
msgid "group stats by day, week or month"
|
1718 |
+
msgstr "Auswertung nach Tag, Woche und Monat"
|
1719 |
+
|
1720 |
+
#: admin/includes/class-overview-widgets.php:141
|
1721 |
+
#@ advanced-ads
|
1722 |
+
msgid "Get the Tracking add-on"
|
1723 |
+
msgstr "zum Tracking Add-On"
|
1724 |
+
|
1725 |
+
#: admin/includes/class-overview-widgets.php:149
|
1726 |
+
#@ advanced-ads
|
1727 |
+
msgid "Display ads based on the size of your visitor’s browser or device."
|
1728 |
+
msgstr "Zeige Anzeigen anhand der Breite des Browsers deines Besuchers."
|
1729 |
+
|
1730 |
+
#: admin/includes/class-overview-widgets.php:150
|
1731 |
+
#@ advanced-ads
|
1732 |
+
msgid "set a range (from … to …) pixels for the browser size"
|
1733 |
+
msgstr "Lege Spannen (von … bis …) für das Einblenden fest"
|
1734 |
+
|
1735 |
+
#: admin/includes/class-overview-widgets.php:151
|
1736 |
+
#@ advanced-ads
|
1737 |
+
msgid "set custom sizes for AdSense responsive ads"
|
1738 |
+
msgstr "Assistent für Größen von AdSense Anzeigen"
|
1739 |
+
|
1740 |
+
#: admin/includes/class-overview-widgets.php:152
|
1741 |
+
#@ advanced-ads
|
1742 |
+
msgid "list all ads by their responsive settings"
|
1743 |
+
msgstr "Übersicht der responsive Anzeigen"
|
1744 |
+
|
1745 |
+
#: admin/includes/class-overview-widgets.php:154
|
1746 |
+
#@ advanced-ads
|
1747 |
+
msgid "Get the Responsive add-on"
|
1748 |
+
msgstr "zum Responsive Add-On"
|
1749 |
+
|
1750 |
+
#: admin/includes/class-overview-widgets.php:162
|
1751 |
+
#@ advanced-ads
|
1752 |
+
msgid "Fix ads to the browser while users are scrolling and create best performing anchor ads."
|
1753 |
+
msgstr "Fixiere mit-scrollende Anzeigen am Browserfenster"
|
1754 |
+
|
1755 |
+
#: admin/includes/class-overview-widgets.php:163
|
1756 |
+
#@ advanced-ads
|
1757 |
+
msgid "position ads that don’t scroll with the screen"
|
1758 |
+
msgstr "Anzeigen die mit scrollen"
|
1759 |
+
|
1760 |
+
#: admin/includes/class-overview-widgets.php:164
|
1761 |
+
#@ advanced-ads
|
1762 |
+
msgid "build anchor ads not only on mobile devices"
|
1763 |
+
msgstr "Anchor-Anzeigen nicht nur für mobile Geräte"
|
1764 |
+
|
1765 |
+
#: admin/includes/class-overview-widgets.php:166
|
1766 |
+
#@ advanced-ads
|
1767 |
+
msgid "Get the Sticky add-on"
|
1768 |
+
msgstr "zum Sticky Add-On"
|
1769 |
+
|
1770 |
+
#: admin/includes/class-overview-widgets.php:174
|
1771 |
+
#@ advanced-ads
|
1772 |
+
msgid "Display content and ads in layers and popups on custom events."
|
1773 |
+
msgstr "Für sehr performante Anzeigen und Inhalte in Layern und PopUps."
|
1774 |
+
|
1775 |
+
#: admin/includes/class-overview-widgets.php:175
|
1776 |
+
#@ advanced-ads
|
1777 |
+
msgid "display a popup after a user interaction like scrolling"
|
1778 |
+
msgstr "Zeige ein PopUp basierend auf der Nutzeraktion"
|
1779 |
+
|
1780 |
+
#: admin/includes/class-overview-widgets.php:176
|
1781 |
+
#@ advanced-ads
|
1782 |
+
msgid "optional backgroup overlay"
|
1783 |
+
msgstr "Wahlweise mit Hintergrundeinfärbung"
|
1784 |
+
|
1785 |
+
#: admin/includes/class-overview-widgets.php:177
|
1786 |
+
#@ advanced-ads
|
1787 |
+
msgid "allow users to close the popup"
|
1788 |
+
msgstr "Erlaube Nutzern, das Fenster zu schließen"
|
1789 |
+
|
1790 |
+
#: admin/includes/class-overview-widgets.php:179
|
1791 |
+
#@ advanced-ads
|
1792 |
+
msgid "Get the PopUp and Layer add-on"
|
1793 |
+
msgstr "zum PopUp und Layouer Add-On"
|
1794 |
+
|
1795 |
+
#. translators: plugin header field 'Version'
|
1796 |
+
#: advanced-ads.php:0
|
1797 |
+
#@ advanced-ads
|
1798 |
+
msgid "1.4.2"
|
1799 |
+
msgstr ""
|
1800 |
+
|
modules/gadsense/admin/views/adsense-ad-parameters.php
CHANGED
@@ -15,13 +15,9 @@ if ($is_responsive) {
|
|
15 |
}
|
16 |
?>
|
17 |
<div id="adsense-new-add-div-default">
|
18 |
-
<
|
19 |
-
|
20 |
-
<input type="hidden" name="unit_id" id="unit_id" value="<?php echo esc_attr($unit_id); ?>" />
|
21 |
-
<hr />
|
22 |
<?php printf(__('<a class="button" href="#" id="%s">Copy&Paste existing ad code</a>', ADVADS_SLUG), 'show-pastecode-div'); ?>
|
23 |
-
<p><strong><?php _e('-or-', ADVADS_SLUG); ?></strong></p>
|
24 |
-
<p><?php _e('enter ad details manually', ADVADS_SLUG); ?>:</p>
|
25 |
<p id="adsense-ad-param-error"></p>
|
26 |
<label>
|
27 |
<?php _e('Ad Slot ID', ADVADS_SLUG); ?> :
|
@@ -34,7 +30,11 @@ if ($is_responsive) {
|
|
34 |
<option value="responsive" <?php selected($unit_type, 'responsive'); ?>><?php _e('Responsive', ADVADS_SLUG); ?></option>
|
35 |
</select>
|
36 |
</label>
|
|
|
|
|
|
|
37 |
<br />
|
|
|
38 |
<?php
|
39 |
$db = Gadsense_Data::get_instance();
|
40 |
$sizing_array = $db->get_responsive_sizing();
|
@@ -47,7 +47,6 @@ if ($is_responsive) {
|
|
47 |
<?php endforeach; ?>
|
48 |
</select>
|
49 |
</label>
|
50 |
-
</p>
|
51 |
<?php do_action('advanced-ads-gadsense-extra-ad-param', $extra_params, $content); ?>
|
52 |
</div><!-- #adsense-new-add-div-default -->
|
53 |
<div id="pastecode-div" style="display: none;">
|
15 |
}
|
16 |
?>
|
17 |
<div id="adsense-new-add-div-default">
|
18 |
+
<input type="hidden" id="advads-ad-content-adsense" name="advanced_ad[content]" value="<?php echo esc_attr($json_content); ?>" />
|
19 |
+
<input type="hidden" name="unit_id" id="unit_id" value="<?php echo esc_attr($unit_id); ?>" />
|
|
|
|
|
20 |
<?php printf(__('<a class="button" href="#" id="%s">Copy&Paste existing ad code</a>', ADVADS_SLUG), 'show-pastecode-div'); ?>
|
|
|
|
|
21 |
<p id="adsense-ad-param-error"></p>
|
22 |
<label>
|
23 |
<?php _e('Ad Slot ID', ADVADS_SLUG); ?> :
|
30 |
<option value="responsive" <?php selected($unit_type, 'responsive'); ?>><?php _e('Responsive', ADVADS_SLUG); ?></option>
|
31 |
</select>
|
32 |
</label>
|
33 |
+
<?php if(!defined('AAR_SLUG')) : ?>
|
34 |
+
<p><?php printf(__('Use the <a href="%s" target="_blank">Responsive add-on</a> in order to define the exact creative for each browser width.', ADVADS_SLUG), 'http://wpadvancedads.com/responsive-ads/'); ?></p>
|
35 |
+
<?php else : ?>
|
36 |
<br />
|
37 |
+
<?php endif; ?>
|
38 |
<?php
|
39 |
$db = Gadsense_Data::get_instance();
|
40 |
$sizing_array = $db->get_responsive_sizing();
|
47 |
<?php endforeach; ?>
|
48 |
</select>
|
49 |
</label>
|
|
|
50 |
<?php do_action('advanced-ads-gadsense-extra-ad-param', $extra_params, $content); ?>
|
51 |
</div><!-- #adsense-new-add-div-default -->
|
52 |
<div id="pastecode-div" style="display: none;">
|
public/class-advanced-ads.php
CHANGED
@@ -716,13 +716,13 @@ class Advanced_Ads {
|
|
716 |
* load all ad groups
|
717 |
*
|
718 |
* @since 1.1.0
|
|
|
719 |
* @return arr $groups array with ad groups
|
720 |
* @link http://codex.wordpress.org/Function_Reference/get_terms
|
721 |
*/
|
722 |
-
static function get_ad_groups(){
|
723 |
-
$args =
|
724 |
-
|
725 |
-
);
|
726 |
return get_terms(Advanced_Ads::AD_GROUP_TAXONOMY, $args);
|
727 |
}
|
728 |
}
|
716 |
* load all ad groups
|
717 |
*
|
718 |
* @since 1.1.0
|
719 |
+
* @param arr $args array with options
|
720 |
* @return arr $groups array with ad groups
|
721 |
* @link http://codex.wordpress.org/Function_Reference/get_terms
|
722 |
*/
|
723 |
+
static function get_ad_groups($args = array()){
|
724 |
+
$args['hide_empty'] = isset($args['hide_empty']) ? $args['hide_empty'] : false; // display groups without any ads
|
725 |
+
|
|
|
726 |
return get_terms(Advanced_Ads::AD_GROUP_TAXONOMY, $args);
|
727 |
}
|
728 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id
|
|
4 |
Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
|
5 |
Requires at least: WP 3.5, PHP 5.3
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -67,6 +67,7 @@ display ads by conditions based on the visitor
|
|
67 |
|
68 |
* display ads on all devices, mobile only or exclude mobile users
|
69 |
* hide all ads from logged in users based on their role
|
|
|
70 |
|
71 |
= ad injection =
|
72 |
|
@@ -88,6 +89,7 @@ There is an ad type dedicated to Google AdSense that supports:
|
|
88 |
* switch ad sizes
|
89 |
* switch between normal and responsive
|
90 |
* automatic limit 3 AdSense ads according to AdSense terms of service (can be disabled)
|
|
|
91 |
* (more coming soon)
|
92 |
|
93 |
= based on WordPress standards =
|
@@ -99,11 +101,12 @@ Learn more on the [plugin homepage](http://wpadvancedads.com).
|
|
99 |
|
100 |
Localizations: English, German, Italien, Portuguese
|
101 |
|
102 |
-
|
103 |
-
|
104 |
-
*
|
105 |
-
*
|
106 |
-
* Sticky Ads – increase click rates with fixed, sticky and anchor ads - [Demo](http://wpadvancedads.com/sticky-ads/demo/)
|
|
|
107 |
|
108 |
== Installation ==
|
109 |
|
@@ -166,6 +169,14 @@ There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way t
|
|
166 |
|
167 |
== Changelog ==
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
= 1.4.2 =
|
170 |
|
171 |
* COOL: [vote for and suggest features](http://wpadvancedads.com/advancedads/feature-requests/)
|
4 |
Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
|
5 |
Requires at least: WP 3.5, PHP 5.3
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 1.4.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
67 |
|
68 |
* display ads on all devices, mobile only or exclude mobile users
|
69 |
* hide all ads from logged in users based on their role
|
70 |
+
* display ads by exact browser width with the [Responsive add-on](http://wpadvancedads.com/responsive-ads/)
|
71 |
|
72 |
= ad injection =
|
73 |
|
89 |
* switch ad sizes
|
90 |
* switch between normal and responsive
|
91 |
* automatic limit 3 AdSense ads according to AdSense terms of service (can be disabled)
|
92 |
+
* assistant for exact sizes of responsive ads with the [Responsive add-on](http://wpadvancedads.com/responsive-ads/)
|
93 |
* (more coming soon)
|
94 |
|
95 |
= based on WordPress standards =
|
101 |
|
102 |
Localizations: English, German, Italien, Portuguese
|
103 |
|
104 |
+
> <strong>Add-Ons</strong>
|
105 |
+
>
|
106 |
+
> * Tracking – ad tracking and statistics – [more](http://wpadvancedads.com/ad-tracking/)
|
107 |
+
> * Responsive Ads – create mobile ads or ads for specific browser sizes - [Demo](http://wpadvancedads.com/responsive-ads/)
|
108 |
+
> * Sticky Ads – increase click rates with fixed, sticky, and anchor ads - [Demo](http://wpadvancedads.com/sticky-ads/demo/)
|
109 |
+
> * PopUp and Layer Ads – display ads and other content in layers and popups - [Demo](http://wpadvancedads.com/layer-ads/)
|
110 |
|
111 |
== Installation ==
|
112 |
|
169 |
|
170 |
== Changelog ==
|
171 |
|
172 |
+
= 1.4.3 =
|
173 |
+
|
174 |
+
* COOL: complete makeover of the plugin dashboard based on WP standards
|
175 |
+
* added `advanced-ads-admin-overview-after` action hook to overview page
|
176 |
+
* fixed display of only 10 posts for display conditions
|
177 |
+
* minor optimization
|
178 |
+
* updated German translation
|
179 |
+
|
180 |
= 1.4.2 =
|
181 |
|
182 |
* COOL: [vote for and suggest features](http://wpadvancedads.com/advancedads/feature-requests/)
|