Version Description
- Added support for insertion before/after every N paragraphs (%N)
- Added support for i18n
- Fix for insertion on admin pages
- Fix for client-side cookie check
- Fix for loaded styles from other plugins/themes on the settings page
- Fix for client-side insertion near HTML elements using :eq selector
- Fix for deactivation feedback form not closing
- Few minor bug fixes, cosmetic changes and code improvements
Download this release
Release Info
Developer | spacetime |
Plugin | Ad Inserter – WordPress Ads Management with AdSense Header Integration |
Version | 2.4.3 |
Comparing to | |
See all releases |
Code changes from version 2.4.2 to 2.4.3
- ad-inserter.php +373 -191
- class.php +564 -228
- constants.php +240 -163
- css/ad-inserter.css +7 -3
- css/images/insertions-alignmets.png +0 -0
- includes/dst/dst.php +114 -38
- includes/dst/languages/dst-sl_SI.mo +0 -0
- includes/dst/languages/dst-sl_SI.po +218 -0
- includes/dst/languages/dst.pot +191 -0
- includes/editor.php +6 -6
- includes/js/ai-insert.js +27 -3
- includes/js/ai-insert.min.js +6 -5
- includes/js/ai-lists.js +1 -1
- includes/js/ai-lists.min.js +1 -1
- includes/js/ai-select.js +9 -9
- includes/js/ai-select.min.js +9 -6
- includes/placeholders.php +23 -26
- includes/preview-adb.php +11 -11
- includes/preview.php +84 -82
- js/ad-inserter.js +83 -45
- languages/ad-inserter-sl_SI.mo +0 -0
- languages/ad-inserter-sl_SI.po +5199 -0
- languages/ad-inserter.pot +4509 -0
- readme.txt +24 -4
- settings.php +687 -613
- strings.php +231 -0
ad-inserter.php
CHANGED
@@ -2,17 +2,29 @@
|
|
2 |
|
3 |
/*
|
4 |
Plugin Name: Ad Inserter
|
5 |
-
Version: 2.4.
|
6 |
-
Description: Ad management
|
7 |
Author: Igor Funa
|
8 |
Author URI: http://igorfuna.com/
|
9 |
Plugin URI: https://adinserter.pro/documentation
|
|
|
|
|
10 |
*/
|
11 |
|
12 |
/*
|
13 |
|
14 |
Change Log
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
Ad Inserter 2.4.2 - 2018-10-21
|
17 |
- Added support for visual HTML element selection
|
18 |
- Fix for client-side insertion inside HTML elements
|
@@ -233,7 +245,7 @@ function ai_toolbar_menu_items () {
|
|
233 |
'id' => 'ai-toolbar-settings',
|
234 |
// 'parent' => 'ai-toolbar',
|
235 |
// 'title' => '<span class="ab-icon'.$debug_settings_class.'"></span>'.AD_INSERTER_NAME . (defined ('AI_DEBUGGING_DEMO') ? ' Debugging DEMO' : ($debug_settings_on ? ' Debugging' : '')),
|
236 |
-
'title' => '<span class="ab-icon'.$debug_settings_class.'"></span>'.AD_INSERTER_NAME . (defined ('AI_DEBUGGING_DEMO') ? ' Debugging DEMO' : ($debug_settings_on ? '' : '')),
|
237 |
'href' => $top_menu_url,
|
238 |
// 'meta' => $debug_settings_on ? array ('title' => 'Turn Debugging Off') : array (),
|
239 |
);
|
@@ -241,14 +253,14 @@ function ai_toolbar_menu_items () {
|
|
241 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
242 |
'id' => 'ai-toolbar-blocks',
|
243 |
'parent' => 'ai-toolbar-settings',
|
244 |
-
'title' => '<span class="ab-icon'.$debug_blocks_class.'"></span>Label Blocks',
|
245 |
'href' => set_url_parameter (AI_URL_DEBUG_BLOCKS, $debug_blocks),
|
246 |
);
|
247 |
|
248 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
249 |
'id' => 'ai-toolbar-positions',
|
250 |
'parent' => 'ai-toolbar-settings',
|
251 |
-
'title' => '<span class="ab-icon'.$debug_positions_class.'"></span>Show Positions',
|
252 |
'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $debug_positions),
|
253 |
);
|
254 |
|
@@ -259,7 +271,7 @@ function ai_toolbar_menu_items () {
|
|
259 |
if ($block == 0 || !$obj->get_disable_insertion () && ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH || $automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH)) {
|
260 |
|
261 |
$block_tags = trim ($block_object [$block]->get_paragraph_tags ());
|
262 |
-
$direction = $block_object [$block]->get_direction_type() ==
|
263 |
$paragraph_min_words = intval ($obj->get_minimum_paragraph_words());
|
264 |
$paragraph_max_words = intval ($obj->get_maximum_paragraph_words());
|
265 |
$paragraph_text_type = $obj->get_paragraph_text_type ();
|
@@ -310,7 +322,7 @@ function ai_toolbar_menu_items () {
|
|
310 |
($paragraph_block ['min'] != 0 ? ' min '.$paragraph_block ['min']. ' ' : '').
|
311 |
($paragraph_block ['max'] != 0 ? ' max '.$paragraph_block ['max']. ' ' : '').
|
312 |
($paragraph_block ['blockquote'] ? ' +[' . $no_paragraph_counting_inside . '] ' : '').
|
313 |
-
($paragraph_block ['text'] != '' ? ($paragraph_block ['text_type'] ==
|
314 |
// 'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $paragraph_block ['blocks'][0]),
|
315 |
'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $debug_block_active ? '' : $paragraph_block ['blocks'][0]),
|
316 |
);
|
@@ -319,14 +331,14 @@ function ai_toolbar_menu_items () {
|
|
319 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
320 |
'id' => 'ai-toolbar-tags',
|
321 |
'parent' => 'ai-toolbar-settings',
|
322 |
-
'title' => '<span class="ab-icon'.$debug_tags_class.'"></span>Show HTML Tags',
|
323 |
'href' => set_url_parameter (AI_URL_DEBUG_TAGS, $debug_tags),
|
324 |
);
|
325 |
|
326 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
327 |
'id' => 'ai-toolbar-no-insertion',
|
328 |
'parent' => 'ai-toolbar-settings',
|
329 |
-
'title' => '<span class="ab-icon'.$debug_no_insertion_class.'"></span>Disable Insertion',
|
330 |
'href' => set_url_parameter (AI_URL_DEBUG_NO_INSERTION, $debug_no_insertion),
|
331 |
);
|
332 |
|
@@ -335,14 +347,14 @@ function ai_toolbar_menu_items () {
|
|
335 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
336 |
'id' => 'ai-toolbar-adb-status',
|
337 |
'parent' => 'ai-toolbar-settings',
|
338 |
-
'title' => '<span class="ab-icon'.$debug_ad_blocking_status_class.'"></span>Ad Blocking Status',
|
339 |
'href' => set_url_parameter (AI_URL_DEBUG_AD_BLOCKING_STATUS, $debug_ad_blocking_status),
|
340 |
);
|
341 |
|
342 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
343 |
'id' => 'ai-toolbar-adb',
|
344 |
'parent' => 'ai-toolbar-settings',
|
345 |
-
'title' => '<span class="ab-icon'.$debug_ad_blocking_class.'"></span>Simulate Ad Blocking',
|
346 |
'href' => set_url_parameter (AI_URL_DEBUG_AD_BLOCKING, $debug_ad_blocking),
|
347 |
);
|
348 |
}
|
@@ -352,7 +364,7 @@ function ai_toolbar_menu_items () {
|
|
352 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
353 |
'id' => 'ai-toolbar-processing',
|
354 |
'parent' => 'ai-toolbar-settings',
|
355 |
-
'title' => '<span class="ab-icon'.$debug_processing_class.'"></span>Log Processing',
|
356 |
'href' => set_url_parameter (AI_URL_DEBUG_PROCESSING, $debug_processing),
|
357 |
);
|
358 |
}
|
@@ -501,6 +513,7 @@ function ai_block_insertion_status ($block, $ai_last_check) {
|
|
501 |
case AI_CHECK_PARAGRAPHS_AFTER_CLEARANCE: $status .= "PARAGRAPHS AFTER CLEARANCE"; break;
|
502 |
case AI_CHECK_PARAGRAPHS_MIN_NUMBER: $status .= "PARAGRAPHS MIN NUMBER"; break;
|
503 |
case AI_CHECK_PARAGRAPH_NUMBER: $status .= "PARAGRAPH NUMBER " . $obj->get_paragraph_number(); break;
|
|
|
504 |
|
505 |
case AI_CHECK_DO_NOT_INSERT: $status .= "PARAGRAPH CLEARANCE"; break;
|
506 |
case AI_CHECK_AD_ABOVE: $status .= "PARAGRAPH CLEARANCE ABOVE"; break;
|
@@ -566,7 +579,7 @@ function number_of_words (&$content) {
|
|
566 |
$text = preg_replace('#<style.*?'.'>(.*?)</style>#i', '', $text);
|
567 |
$text = preg_replace('#<script.*?'.'>(.*?)</script>#i', '', $text);
|
568 |
$text = htmlspecialchars_decode ($text);
|
569 |
-
$text = strip_tags ($text);
|
570 |
$text = preg_replace ('#\s+#', ' ', $text);
|
571 |
|
572 |
if ($text == '') return 0;
|
@@ -601,7 +614,7 @@ function ai_buffering_start () {
|
|
601 |
}
|
602 |
|
603 |
function ai_buffering_end () {
|
604 |
-
global $ai_wp_data, $ai_total_plugin_time, $ai_db_options_extract, $block_object;
|
605 |
|
606 |
if (!defined ('AI_BUFFERING_START')) return;
|
607 |
|
@@ -869,6 +882,44 @@ function ai_buffering_end () {
|
|
869 |
|
870 |
$new_content = '';
|
871 |
$current_offset = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
872 |
foreach ($insertion_offsets as $index => $insertion_offset) {
|
873 |
if ($multibyte)
|
874 |
$new_content .= mb_substr ($body, $current_offset, $insertion_offset - $current_offset);
|
@@ -888,39 +939,13 @@ function ai_buffering_end () {
|
|
888 |
|
889 |
ob_start ();
|
890 |
|
891 |
-
switch ($insertion_position) {
|
892 |
-
case 'before':
|
893 |
-
$action = 'before_html_element';
|
894 |
-
$action_name = 'Before ' . $selector;
|
895 |
-
break;
|
896 |
-
case 'after':
|
897 |
-
$action = 'after_html_element';
|
898 |
-
$action_name = 'After ' . $selector;
|
899 |
-
break;
|
900 |
-
case 'prepend':
|
901 |
-
$action = 'prepend_html_element';
|
902 |
-
$action_name = 'Prepend ' . $selector;
|
903 |
-
break;
|
904 |
-
case 'append':
|
905 |
-
$action = 'append_html_element';
|
906 |
-
$action_name = 'Append ' . $selector;
|
907 |
-
break;
|
908 |
-
case 'replace-content':
|
909 |
-
$action = 'replace_content_html_element';
|
910 |
-
$action_name = 'Replace content' . $selector;
|
911 |
-
break;
|
912 |
-
case 'replace-element':
|
913 |
-
$action = 'replace_html_element';
|
914 |
-
$action_name = 'Replace ' . $selector;
|
915 |
-
break;
|
916 |
-
}
|
917 |
-
|
918 |
-
$ai_db_options_extract [$action . CUSTOM_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]] = array ($block);
|
919 |
ai_custom_hook ($action, $action_name);
|
920 |
-
unset ($ai_db_options_extract [$action . CUSTOM_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]);
|
921 |
|
922 |
$new_content .= ob_get_clean();
|
923 |
}
|
|
|
|
|
|
|
924 |
$new_content .= substr ($body, $current_offset);
|
925 |
|
926 |
$body = $new_content;
|
@@ -931,10 +956,12 @@ function ai_buffering_end () {
|
|
931 |
|
932 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
|
933 |
$class = AI_DEBUG_STATUS_CLASS;
|
934 |
-
|
|
|
935 |
}
|
936 |
|
937 |
-
|
|
|
938 |
echo $body;
|
939 |
} else echo $page;
|
940 |
|
@@ -1132,7 +1159,7 @@ function ai_wp_hook () {
|
|
1132 |
((get_remote_debugging () && ($ai_wp_data [AI_WP_DEBUGGING] != 0 || (isset ($_GET [AI_URL_DEBUG]) && $_GET [AI_URL_DEBUG] == 1))) ||
|
1133 |
defined ('AI_DEBUGGING_DEMO'))) {
|
1134 |
function ai_login_adminbar ($wp_admin_bar) {
|
1135 |
-
$wp_admin_bar->add_menu (array ('title' =>
|
1136 |
}
|
1137 |
|
1138 |
add_filter ('show_admin_bar', '__return_true', 999999);
|
@@ -1159,15 +1186,12 @@ function ai_wp_hook () {
|
|
1159 |
add_filter ('the_excerpt', 'ai_excerpt_hook', $plugin_priority);
|
1160 |
|
1161 |
if (isset ($ai_db_options_extract [LOOP_START_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && count ($ai_db_options_extract [LOOP_START_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) != 0 || $debug_positions)
|
1162 |
-
// add_action ('loop_start', 'ai_loop_start_hook');
|
1163 |
add_action ('loop_start', 'ai_hook_function_loop_start');
|
1164 |
|
1165 |
if (isset ($ai_db_options_extract [LOOP_END_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && count ($ai_db_options_extract [LOOP_END_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) != 0 || $debug_positions)
|
1166 |
-
// add_action ('loop_end', 'ai_loop_end_hook');
|
1167 |
add_action ('loop_end', 'ai_hook_function_loop_end');
|
1168 |
|
1169 |
if (isset ($ai_db_options_extract [POST_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && count ($ai_db_options_extract [POST_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) != 0 || $debug_positions)
|
1170 |
-
// add_action ('the_post', 'ai_post_hook');
|
1171 |
add_action ('the_post', 'ai_hook_function_post');
|
1172 |
|
1173 |
if ((isset ($ai_db_options_extract [BETWEEN_COMMENTS_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && count ($ai_db_options_extract [BETWEEN_COMMENTS_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) != 0) ||
|
@@ -1280,9 +1304,15 @@ function ai_wp_hook () {
|
|
1280 |
}
|
1281 |
};
|
1282 |
|
|
|
|
|
|
|
|
|
1283 |
function ai_init_hook () {
|
1284 |
global $block_object, $ai_wp_data, $ai_db_options_extract;
|
1285 |
|
|
|
|
|
1286 |
if (defined ('DOING_AJAX') && DOING_AJAX) {
|
1287 |
$ai_wp_data [AI_WP_PAGE_TYPE] = AI_PT_AJAX;
|
1288 |
|
@@ -1345,7 +1375,6 @@ function ai_load_extract ($recreate = true) {
|
|
1345 |
}
|
1346 |
|
1347 |
function ai_wp_loaded_hook () {
|
1348 |
-
// global $ai_db_options, $ai_db_options_extract, $version_string, $ai_total_plugin_time, $ai_wp_data;
|
1349 |
global $ai_total_plugin_time, $ai_wp_data;
|
1350 |
|
1351 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
|
@@ -1360,6 +1389,9 @@ function ai_wp_loaded_hook () {
|
|
1360 |
if (defined ('AI_EXTRACT_GENERATED')) ai_log ("EXTRACT GENERATED");
|
1361 |
ai_log ("WP LOADED HOOK END\n");
|
1362 |
}
|
|
|
|
|
|
|
1363 |
}
|
1364 |
|
1365 |
function ai_admin_menu_hook () {
|
@@ -1367,8 +1399,10 @@ function ai_admin_menu_hook () {
|
|
1367 |
|
1368 |
if (is_multisite() && !is_main_site () && !multisite_settings_page_enabled ()) return;
|
1369 |
|
1370 |
-
|
|
|
1371 |
add_action ('admin_enqueue_scripts', 'ai_admin_enqueue_scripts');
|
|
|
1372 |
add_action ('admin_enqueue_scripts', 'ai_admin_remove_scripts', 99999);
|
1373 |
add_action ('admin_head', 'ai_admin_head');
|
1374 |
add_filter ('clean_url', 'ai_clean_url', 999999, 2);
|
@@ -1383,7 +1417,7 @@ function ai_admin_head () {
|
|
1383 |
}
|
1384 |
|
1385 |
function ai_admin_enqueue_scripts ($hook_suffix) {
|
1386 |
-
global $ai_settings_page;
|
1387 |
|
1388 |
if ($hook_suffix == $ai_settings_page) {
|
1389 |
wp_enqueue_style ('ai-admin-jquery-ui', plugins_url ('css/jquery-ui-1.10.3.custom.min.css', __FILE__), array (), null);
|
@@ -1396,9 +1430,9 @@ function ai_admin_enqueue_scripts ($hook_suffix) {
|
|
1396 |
|
1397 |
wp_enqueue_style ('ai-combobox-css', plugins_url ('css/jquery.scombobox.min.css', __FILE__), array (), AD_INSERTER_VERSION);
|
1398 |
|
1399 |
-
wp_enqueue_style ('ai-admin-css', plugins_url ('css/ad-inserter.css', __FILE__), array (), AD_INSERTER_VERSION);
|
1400 |
|
1401 |
-
wp_add_inline_style ('ai-admin-css', '.notice {margin: 5px 15px 15px 0;}');
|
1402 |
|
1403 |
if (function_exists ('ai_admin_enqueue_scripts_2')) ai_admin_enqueue_scripts_2 ();
|
1404 |
|
@@ -1430,6 +1464,8 @@ function ai_admin_enqueue_scripts ($hook_suffix) {
|
|
1430 |
'jquery-ui-dialog',
|
1431 |
), AD_INSERTER_VERSION, true);
|
1432 |
|
|
|
|
|
1433 |
wp_enqueue_script ('ai-combobox', plugins_url ('includes/js/jquery.scombobox.min.js', __FILE__), array (
|
1434 |
'jquery',
|
1435 |
), AD_INSERTER_VERSION , true);
|
@@ -1440,13 +1476,40 @@ function ai_admin_enqueue_scripts ($hook_suffix) {
|
|
1440 |
wp_enqueue_script ('ai-admin-js-gen', plugins_url ('includes/js/ai-admin.js', __FILE__ ), array (), AD_INSERTER_VERSION, true);
|
1441 |
}
|
1442 |
|
1443 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1444 |
function ai_admin_remove_scripts ($hook_suffix) {
|
1445 |
global $ai_settings_page;
|
1446 |
|
1447 |
if ($hook_suffix == $ai_settings_page) {
|
|
|
1448 |
wp_deregister_script ('ace-editor-script');
|
1449 |
wp_dequeue_script ('publisher-admin');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1450 |
}
|
1451 |
}
|
1452 |
|
@@ -1455,7 +1518,7 @@ function ai_admin_referrer_policy ($policy) {
|
|
1455 |
}
|
1456 |
|
1457 |
function ai_wp_enqueue_scripts_hook () {
|
1458 |
-
global $ai_wp_data, $wp_version;
|
1459 |
|
1460 |
// TEST
|
1461 |
// wp_deregister_script('jquery');
|
@@ -1491,6 +1554,8 @@ function ai_wp_enqueue_scripts_hook () {
|
|
1491 |
}
|
1492 |
wp_enqueue_script ('ai-jquery-js', plugins_url ('includes/js/ai-jquery.js', __FILE__), $jquery_required, $wp_version . '+' . AD_INSERTER_VERSION);
|
1493 |
|
|
|
|
|
1494 |
if ($ai_wp_data [AI_HTML_ELEMENT_SELECTION]) {
|
1495 |
$wp_scripts = wp_scripts();
|
1496 |
wp_enqueue_style (
|
@@ -1571,7 +1636,6 @@ function add_head_inline_styles_and_scripts () {
|
|
1571 |
echo ".ai-close-bottom {top: unset; bottom: -11px;}\n";
|
1572 |
}
|
1573 |
|
1574 |
-
// if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES)
|
1575 |
if (!get_inline_styles ()) {
|
1576 |
echo get_alignment_css ();
|
1577 |
}
|
@@ -1631,6 +1695,10 @@ function add_head_inline_styles_and_scripts () {
|
|
1631 |
#wp-admin-bar-ai-toolbar-positions .up-icon:before {
|
1632 |
font: 400 20px/1 dashicons;
|
1633 |
}
|
|
|
|
|
|
|
|
|
1634 |
";
|
1635 |
if (get_admin_toolbar_mobile ()) {
|
1636 |
echo "@media screen and (max-width: 782px) {
|
@@ -1744,7 +1812,6 @@ function ai_replace_js_data ($js) {
|
|
1744 |
$js = str_replace ('AI_ADB_MESSAGE_WINDOW', "jQuery ('<div>', {attr: {'style': b64d ('" . base64_encode (str_replace (array ("'", "\r", "\n"), array ("\'", '', ''), AI_BASIC_ADB_MESSAGE_CSS) . get_message_css ()) . "')}, 'html': b64d ('" .
|
1745 |
base64_encode (str_replace (array ("'", "\r", "\n"), array ("\'", '', ''), do_shortcode ($adb->ai_getCode ()))) . "')})", $js);
|
1746 |
|
1747 |
-
// $js = str_replace ('AI_ADB_SELECTORS', str_replace (' ', '', get_adb_selectors (true)), $js);
|
1748 |
$js = str_replace ('AI_ADB_SELECTORS', get_adb_selectors (true), $js);
|
1749 |
|
1750 |
$redirection_page = get_redirection_page ();
|
@@ -1752,12 +1819,13 @@ function ai_replace_js_data ($js) {
|
|
1752 |
$js = str_replace ('AI_ADB_REDIRECTION_PAGE', $url, $js);
|
1753 |
|
1754 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_AD_BLOCKING_STATUS) != 0) {
|
1755 |
-
|
1756 |
-
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=
|
1757 |
-
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=
|
1758 |
-
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=
|
1759 |
-
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=
|
1760 |
-
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=
|
|
|
1761 |
} else {
|
1762 |
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=1', '', $js);
|
1763 |
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=2', '', $js);
|
@@ -1950,11 +2018,13 @@ function ai_admin_notice_hook () {
|
|
1950 |
$used_blocks >= 2 && $ai_wp_data [AI_DAYS_SINCE_INSTAL] > 70))) {
|
1951 |
|
1952 |
if ($notice_option == 'later') {
|
1953 |
-
|
1954 |
-
$
|
|
|
1955 |
} else {
|
1956 |
-
|
1957 |
-
$
|
|
|
1958 |
}
|
1959 |
?>
|
1960 |
<div class="notice notice-info ai-notice ai-no-phone" style="display: none;" data-notice="review" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" >
|
@@ -1962,21 +2032,22 @@ function ai_admin_notice_hook () {
|
|
1962 |
<img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-50x50.jpg" style="width: 50px; margin: 5px 10px 0px 10px;" />
|
1963 |
</div>
|
1964 |
<div class="ai-notice-element" style="width: 100%; padding: 0 10px 0;">
|
1965 |
-
<p><?php
|
1966 |
-
|
1967 |
-
|
1968 |
-
|
1969 |
-
|
|
|
1970 |
</div>
|
1971 |
<div class="ai-notice-element ai-notice-buttons last">
|
1972 |
<div class="ai-notice-text-button ai-notice-dismiss" data-notice="yes">
|
1973 |
<button class="button-primary ai-notice-dismiss" data-notice="yes">
|
1974 |
-
<a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post" class="ai-notice-dismiss" target="_blank" data-notice="yes"
|
1975 |
</button>
|
1976 |
</div>
|
1977 |
|
1978 |
<?php echo $option; ?>
|
1979 |
-
<div class="ai-notice-text-button ai-notice-dismiss" data-notice="already"
|
1980 |
</div>
|
1981 |
</div>
|
1982 |
|
@@ -1990,7 +2061,7 @@ function ai_admin_notice_hook () {
|
|
1990 |
function ai_plugin_action_links ($links) {
|
1991 |
if (is_multisite() && !is_main_site () && !multisite_settings_page_enabled ()) return $links;
|
1992 |
|
1993 |
-
$settings_link = '<a href="'.admin_url ('options-general.php?page=ad-inserter.php').'">Settings</a>';
|
1994 |
array_unshift ($links, $settings_link);
|
1995 |
return $links;
|
1996 |
}
|
@@ -2063,7 +2134,8 @@ function ai_add_meta_box_hook() {
|
|
2063 |
foreach ($screens as $screen) {
|
2064 |
add_meta_box (
|
2065 |
'adinserter_sectionid',
|
2066 |
-
|
|
|
2067 |
'ai_meta_box_callback',
|
2068 |
$screen
|
2069 |
);
|
@@ -2092,15 +2164,17 @@ function ai_meta_box_callback ($post) {
|
|
2092 |
|
2093 |
echo '<table>';
|
2094 |
echo '<thead style="font-weight: bold;">';
|
2095 |
-
echo ' <td>Block</td>';
|
2096 |
-
echo ' <td style="padding: 0 10px 0 10px;">Name</td>';
|
2097 |
-
echo ' <td style="padding: 0 10px 0 10px;">Automatic
|
2098 |
|
2099 |
if ($post_type == 'page')
|
2100 |
-
echo ' <td style="padding: 0 10px 0 10px;">Default insertion for pages</td>'; else
|
2101 |
-
echo ' <td style="padding: 0 10px 0 10px;">Default insertion for posts</td>';
|
2102 |
-
|
2103 |
-
|
|
|
|
|
2104 |
echo '</thead>';
|
2105 |
echo '<tbody>';
|
2106 |
$rows = 0;
|
@@ -2108,11 +2182,13 @@ function ai_meta_box_callback ($post) {
|
|
2108 |
$obj = $block_object [$block];
|
2109 |
|
2110 |
if ($post_type == 'page') {
|
2111 |
-
$
|
|
|
2112 |
$enabled_on = $obj->get_ad_enabled_on_which_pages ();
|
2113 |
$general_enabled = $obj->get_display_settings_page();
|
2114 |
} else {
|
2115 |
-
$
|
|
|
2116 |
$enabled_on = $obj->get_ad_enabled_on_which_posts ();
|
2117 |
$general_enabled = $obj->get_display_settings_post();
|
2118 |
}
|
@@ -2131,10 +2207,12 @@ function ai_meta_box_callback ($post) {
|
|
2131 |
echo ' <td style="padding: 0 10px 0 10px; text-align: left;">';
|
2132 |
|
2133 |
if ($individual_option_enabled) {
|
2134 |
-
if ($individual_text_enabled) echo 'Enabled'; else echo 'Disabled';
|
2135 |
} else {
|
2136 |
-
|
2137 |
-
|
|
|
|
|
2138 |
}
|
2139 |
echo ' </td>';
|
2140 |
echo ' <td style="padding: 0 10px 0 10px; text-align: left;">';
|
@@ -2142,7 +2220,7 @@ function ai_meta_box_callback ($post) {
|
|
2142 |
if ($individual_option_enabled) {
|
2143 |
echo '<input type="checkbox" style="border-radius: 5px;" name="adinserter_selected_block_', $block, '" id="ai-selected-block-', $block, '" value="1"', in_array ($block, $selected_blocks) ? ' checked': '', ' />';
|
2144 |
echo '<label for="ai-selected-block-', $block, '">';
|
2145 |
-
if (!$individual_text_enabled) echo 'Enabled'; else echo 'Disabled';
|
2146 |
echo '</label>';
|
2147 |
} else {
|
2148 |
if (in_array ($block, $selected_blocks)) {
|
@@ -2161,14 +2239,26 @@ function ai_meta_box_callback ($post) {
|
|
2161 |
$exceptions_table = ob_get_clean ();
|
2162 |
|
2163 |
if ($rows == 0) {
|
2164 |
-
|
|
|
2165 |
} else echo $exceptions_table;
|
2166 |
|
2167 |
-
|
2168 |
-
|
2169 |
-
|
2170 |
-
|
2171 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2172 |
}
|
2173 |
|
2174 |
function ai_save_meta_box_data_hook ($post_id) {
|
@@ -2213,31 +2303,31 @@ function get_page_type_debug_info ($text = '') {
|
|
2213 |
|
2214 |
switch ($ai_wp_data [AI_WP_PAGE_TYPE]) {
|
2215 |
case AI_PT_STATIC:
|
2216 |
-
$page_type = 'STATIC PAGE';
|
2217 |
break;
|
2218 |
case AI_PT_POST:
|
2219 |
-
$page_type = 'POST';
|
2220 |
break;
|
2221 |
case AI_PT_HOMEPAGE:
|
2222 |
-
$page_type = 'HOMEPAGE';
|
2223 |
break;
|
2224 |
case AI_PT_CATEGORY:
|
2225 |
-
$page_type = 'CATEGORY PAGE';
|
2226 |
break;
|
2227 |
case AI_PT_SEARCH:
|
2228 |
-
$page_type = 'SEARCH PAGE';
|
2229 |
break;
|
2230 |
case AI_PT_ARCHIVE:
|
2231 |
-
$page_type = 'ARCHIVE PAGE';
|
2232 |
break;
|
2233 |
case AI_PT_404:
|
2234 |
-
$page_type = 'ERROR 404 PAGE';
|
2235 |
break;
|
2236 |
case AI_PT_AJAX:
|
2237 |
-
$page_type = 'AJAX CALL';
|
2238 |
break;
|
2239 |
default:
|
2240 |
-
$page_type = 'UNKNOWN PAGE TYPE';
|
2241 |
break;
|
2242 |
}
|
2243 |
$class = AI_DEBUG_PAGE_TYPE_CLASS;
|
@@ -2254,7 +2344,9 @@ function get_adb_status_debug_info () {
|
|
2254 |
|
2255 |
if (defined ('AI_ADBLOCKING_DETECTION') && AI_ADBLOCKING_DETECTION) {
|
2256 |
if ($ai_wp_data [AI_ADB_DETECTION]) {
|
2257 |
-
$
|
|
|
|
|
2258 |
}
|
2259 |
}
|
2260 |
|
@@ -2272,7 +2364,9 @@ function ai_header_noindex () {
|
|
2272 |
|
2273 |
function get_code_debug_block ($name, $message, $right_text, $code, $inserted_code, $javascript = false) {
|
2274 |
if (strpos ($code, 'enable_page_level_ads') !== false)
|
2275 |
-
|
|
|
|
|
2276 |
|
2277 |
$debug_script = new ai_block_labels ('ai-debug-script');
|
2278 |
$debug_block_start = $debug_script->block_start ();
|
@@ -2405,7 +2499,7 @@ function ai_wp_head_hook () {
|
|
2405 |
} else $code_for_insertion = '';
|
2406 |
echo "<script>\n";
|
2407 |
echo " jQuery(document).ready(function($) {
|
2408 |
-
$('body').prepend (\"" . get_code_debug_block (' ' . $block_name, '', 'Code for insertion ' . strlen ($code_for_insertion).' characters ', $obj->ai_getCode (), $code_for_insertion, true) . "\");
|
2409 |
});
|
2410 |
</script>\n";
|
2411 |
}
|
@@ -2414,7 +2508,7 @@ function ai_wp_head_hook () {
|
|
2414 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !defined ('AI_DEBUGGING_DEMO')) {
|
2415 |
echo "<script>\n";
|
2416 |
echo " jQuery(document).ready(function($) {
|
2417 |
-
$('body').prepend (\"" . get_code_debug_block (' Header code ' . ($header->get_enable_manual () ? '' : ' DISABLED'), '<head>...</head>', strlen ($header_code).' characters inserted ', $header->ai_getCode (), $header_code, true) . "\");
|
2418 |
});
|
2419 |
</script>\n";
|
2420 |
}
|
@@ -2430,7 +2524,9 @@ function ai_wp_head_hook () {
|
|
2430 |
jQuery(document).ready(function($) {
|
2431 |
setTimeout (function() {
|
2432 |
var google_auto_placed = jQuery ('.google-auto-placed');
|
2433 |
-
google_auto_placed.before ('<section class=\"ai-debug-bar ai-debug-adsense\">
|
|
|
|
|
2434 |
}, 3000);
|
2435 |
});
|
2436 |
</script>\n";
|
@@ -2579,11 +2675,24 @@ function ai_wp_footer_hook () {
|
|
2579 |
}
|
2580 |
|
2581 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2582 |
echo get_page_type_debug_info () , "\n";
|
|
|
2583 |
}
|
2584 |
|
2585 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !defined ('AI_DEBUGGING_DEMO')) {
|
2586 |
-
echo get_code_debug_block (' Footer code ' . ($footer->get_enable_manual () ? '' : ' DISABLED'), '...</body>', strlen ($footer_code).' characters inserted', $footer->ai_getCode (), $footer_code);
|
2587 |
}
|
2588 |
|
2589 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
|
@@ -2675,6 +2784,7 @@ function ai_write_debug_info ($write_processing_log = false) {
|
|
2675 |
(int) ($ai_db_options [AI_OPTION_GLOBAL]['VERSION'][4].$ai_db_options [AI_OPTION_GLOBAL]['VERSION'][5]);
|
2676 |
|
2677 |
echo "\n";
|
|
|
2678 |
echo "SETTINGS TIMESTAMP: ";
|
2679 |
echo isset ($ai_db_options [AI_OPTION_GLOBAL]['TIMESTAMP']) ? date ("Y-m-d H:i:s", $ai_db_options [AI_OPTION_GLOBAL]['TIMESTAMP'] + get_option ('gmt_offset') * 3600) : "", "\n";
|
2680 |
|
@@ -2835,26 +2945,26 @@ function ai_write_debug_info ($write_processing_log = false) {
|
|
2835 |
echo 'DYNAMIC BLOCKS: ';
|
2836 |
switch (get_dynamic_blocks()) {
|
2837 |
case AI_DYNAMIC_BLOCKS_SERVER_SIDE:
|
2838 |
-
echo
|
2839 |
break;
|
2840 |
case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
|
2841 |
-
echo
|
2842 |
break;
|
2843 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
|
2844 |
-
echo
|
2845 |
break;
|
2846 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
|
2847 |
-
echo
|
2848 |
break;
|
2849 |
}
|
2850 |
echo "\n";
|
2851 |
echo 'PARAGRAPH COUNTING: ';
|
2852 |
switch (get_paragraph_counting_functions()) {
|
2853 |
case AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS:
|
2854 |
-
echo
|
2855 |
break;
|
2856 |
case AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS:
|
2857 |
-
echo
|
2858 |
break;
|
2859 |
}
|
2860 |
echo "\n";
|
@@ -2863,10 +2973,10 @@ function ai_write_debug_info ($write_processing_log = false) {
|
|
2863 |
echo 'OUTPUT BUFFERING: ';
|
2864 |
switch (get_output_buffering()) {
|
2865 |
case AI_OUTPUT_BUFFERING_DISABLED:
|
2866 |
-
echo
|
2867 |
break;
|
2868 |
case AI_OUTPUT_BUFFERING_ENABLED:
|
2869 |
-
echo
|
2870 |
break;
|
2871 |
}
|
2872 |
echo "\n";
|
@@ -2884,13 +2994,13 @@ function ai_write_debug_info ($write_processing_log = false) {
|
|
2884 |
echo 'ADB ACTION: ';
|
2885 |
switch (get_adb_action ()) {
|
2886 |
case AI_ADB_ACTION_NONE:
|
2887 |
-
echo
|
2888 |
break;
|
2889 |
case AI_ADB_ACTION_MESSAGE:
|
2890 |
-
echo
|
2891 |
break;
|
2892 |
case AI_ADB_ACTION_REDIRECTION:
|
2893 |
-
echo
|
2894 |
break;
|
2895 |
}
|
2896 |
echo "\n";
|
@@ -2965,19 +3075,40 @@ function ai_write_debug_info ($write_processing_log = false) {
|
|
2965 |
$default_settings = false;
|
2966 |
switch ($key) {
|
2967 |
case AI_OPTION_AUTOMATIC_INSERTION:
|
2968 |
-
$insertion_settings = $obj->get_automatic_insertion_text();
|
2969 |
break;
|
2970 |
case AI_OPTION_SERVER_SIDE_INSERTION:
|
2971 |
-
$settings .= "[" . $key . ": " . $obj->get_automatic_insertion_text (true) . ']';
|
2972 |
break;
|
2973 |
case AI_OPTION_ALIGNMENT_TYPE:
|
2974 |
-
$alignment_settings = $obj->get_alignment_type_text ();
|
2975 |
break;
|
2976 |
case AI_OPTION_ENABLED_ON_WHICH_PAGES:
|
2977 |
-
$settings .= "[" . $key . ": " . $obj->get_ad_enabled_on_which_pages_text () . ']';
|
2978 |
break;
|
2979 |
case AI_OPTION_ENABLED_ON_WHICH_POSTS:
|
2980 |
-
$settings .= "[" . $key . ": " . $obj->get_ad_enabled_on_which_posts_text () . ']';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2981 |
break;
|
2982 |
case AI_OPTION_PARAGRAPH_TEXT:
|
2983 |
case AI_OPTION_AVOID_TEXT_ABOVE:
|
@@ -2987,9 +3118,6 @@ function ai_write_debug_info ($write_processing_log = false) {
|
|
2987 |
$settings .= "[" . $key . ": " . ai_log_filter_content (html_entity_decode ($obj->wp_options [$key])) . ']'; else
|
2988 |
$settings .= "[" . $key . ": " . $obj->wp_options [$key] . ']';
|
2989 |
break;
|
2990 |
-
case AI_OPTION_FILTER_TYPE:
|
2991 |
-
$settings .= "[" . $key . ": " . $obj->get_filter_type_text () . ']';
|
2992 |
-
break;
|
2993 |
default:
|
2994 |
$settings .= "[" . $key . ": " . $obj->wp_options [$key] . ']';
|
2995 |
break;
|
@@ -3000,10 +3128,10 @@ function ai_write_debug_info ($write_processing_log = false) {
|
|
3000 |
} else
|
3001 |
switch ($key) {
|
3002 |
case AI_OPTION_AUTOMATIC_INSERTION:
|
3003 |
-
$insertion_settings = $obj->get_automatic_insertion_text ();
|
3004 |
break;
|
3005 |
case AI_OPTION_ALIGNMENT_TYPE:
|
3006 |
-
$alignment_settings = $obj->get_alignment_type_text ();
|
3007 |
break;
|
3008 |
}
|
3009 |
}
|
@@ -3180,6 +3308,7 @@ function ai_write_debug_info ($write_processing_log = false) {
|
|
3180 |
echo "\n";
|
3181 |
|
3182 |
echo "PHP: ", phpversion(), "\n";
|
|
|
3183 |
echo "Memory Limit: ", ini_get ('memory_limit'), "\n";
|
3184 |
echo "Upload Max Filesize: ", ini_get ('upload_max_filesize'), "\n";
|
3185 |
echo "Post Max Size: ", ini_get ('post_max_size'), "\n";
|
@@ -3312,6 +3441,7 @@ function ai_check_plugin_options ($plugin_options = array ()) {
|
|
3312 |
if (!isset ($plugin_options ['ADMIN_TOOLBAR_MOBILE'])) $plugin_options ['ADMIN_TOOLBAR_MOBILE'] = DEFAULT_ADMIN_TOOLBAR_MOBILE;
|
3313 |
if (!isset ($plugin_options ['FORCE_ADMIN_TOOLBAR'])) $plugin_options ['FORCE_ADMIN_TOOLBAR'] = DEFAULT_FORCE_ADMIN_TOOLBAR;
|
3314 |
if (!isset ($plugin_options ['REMOTE_DEBUGGING'])) $plugin_options ['REMOTE_DEBUGGING'] = DEFAULT_REMOTE_DEBUGGING;
|
|
|
3315 |
if (!isset ($plugin_options ['BACKEND_JS_DEBUGGING'])) $plugin_options ['BACKEND_JS_DEBUGGING'] = DEFAULT_BACKEND_JS_DEBUGGING;
|
3316 |
if (!isset ($plugin_options ['FRONTEND_JS_DEBUGGING'])) $plugin_options ['FRONTEND_JS_DEBUGGING'] = DEFAULT_FRONTEND_JS_DEBUGGING;
|
3317 |
|
@@ -3604,6 +3734,14 @@ function get_remote_debugging () {
|
|
3604 |
return ($ai_db_options [AI_OPTION_GLOBAL]['REMOTE_DEBUGGING']);
|
3605 |
}
|
3606 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3607 |
function get_backend_javascript_debugging () {
|
3608 |
global $ai_db_options;
|
3609 |
|
@@ -4490,8 +4628,8 @@ function ai_load_settings () {
|
|
4490 |
$used_blocks = @unserialize ($ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_USED_BLOCKS]);
|
4491 |
} else $used_blocks = false;
|
4492 |
|
4493 |
-
$obj = new ai_Block (0);
|
4494 |
-
$obj->wp_options [AI_OPTION_BLOCK_NAME] = 'Default';
|
4495 |
$block_object [0] = $obj;
|
4496 |
|
4497 |
for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
|
@@ -4622,12 +4760,12 @@ function generate_alignment_css () {
|
|
4622 |
|
4623 |
$styles = array ();
|
4624 |
|
4625 |
-
$styles [AI_ALIGNMENT_DEFAULT] = array (
|
4626 |
-
$styles [AI_ALIGNMENT_LEFT] = array (
|
4627 |
-
$styles [AI_ALIGNMENT_RIGHT] = array (
|
4628 |
-
$styles [AI_ALIGNMENT_CENTER] = array (
|
4629 |
-
$styles [AI_ALIGNMENT_FLOAT_LEFT] = array (
|
4630 |
-
$styles [AI_ALIGNMENT_FLOAT_RIGHT] = array (
|
4631 |
|
4632 |
if (function_exists ('generate_alignment_css_2')) $styles = array_replace ($styles, generate_alignment_css_2 ());
|
4633 |
|
@@ -4685,9 +4823,9 @@ function generate_debug_css () {
|
|
4685 |
.ai-debug-status {clear: both; text-align: center; padding: 10px 0; font-family: arial; font-weight: bold; border: 1px solid red; color: red; background: #fee;}
|
4686 |
.ai-debug-adb {opacity: 0.85; cursor: pointer;}
|
4687 |
.ai-debug-widget {margin: 0; padding: 0 5px; font-size: 10px; white-space: pre; overflow-x: auto; overflow-y: hidden;}
|
4688 |
-
a.ai-debug-left {float: left; font-size: 10px; text-decoration: none; color: transparent; padding: 0px 10px 0 0; border: 0; box-shadow: none;}
|
4689 |
-
a.ai-debug-right {float: right; font-size: 10px; text-decoration: none; color: #88f; padding: 0px 10px 0 0; border: 0; box-shadow: none;}
|
4690 |
-
a.ai-debug-center {text-align: center; font-size: 10px; text-decoration: none; color: white; padding: 0px 10px 0 0; border: 0; box-shadow: none;}
|
4691 |
.ai-debug-invisible {display: none;}
|
4692 |
.ai-debug-content-hook-positions {color: blue;}
|
4693 |
.ai-debug-removed-html-tags {color: red;}
|
@@ -4763,6 +4901,9 @@ section.ai-debug-block {padding: 0; margin: 0;}
|
|
4763 |
|
4764 |
.ai-debug-block pre {margin: 0; padding: 2px 5px 2px; line-height: 14px;}
|
4765 |
|
|
|
|
|
|
|
4766 |
|
4767 |
<?php
|
4768 |
}
|
@@ -5004,6 +5145,7 @@ function ai_settings () {
|
|
5004 |
if (isset ($_POST ['admin_toolbar_debugging'])) $options ['ADMIN_TOOLBAR_DEBUGGING'] = filter_option ('ADMIN_TOOLBAR_DEBUGGING', $_POST ['admin_toolbar_debugging']);
|
5005 |
if (isset ($_POST ['admin_toolbar_mobile'])) $options ['ADMIN_TOOLBAR_MOBILE'] = filter_option ('ADMIN_TOOLBAR_MOBILE', $_POST ['admin_toolbar_mobile']);
|
5006 |
if (isset ($_POST ['remote_debugging'])) $options ['REMOTE_DEBUGGING'] = filter_option ('REMOTE_DEBUGGING', $_POST ['remote_debugging']);
|
|
|
5007 |
if (isset ($_POST ['backend_js_debugging'])) $options ['BACKEND_JS_DEBUGGING'] = filter_option ('BACKEND_JS_DEBUGGING', $_POST ['backend_js_debugging']);
|
5008 |
if (isset ($_POST ['frontend_js_debugging'])) $options ['FRONTEND_JS_DEBUGGING'] = filter_option ('FRONTEND_JS_DEBUGGING', $_POST ['frontend_js_debugging']);
|
5009 |
|
@@ -5026,9 +5168,9 @@ function ai_settings () {
|
|
5026 |
}
|
5027 |
|
5028 |
if (!empty ($invalid_blocks)) {
|
5029 |
-
if ($invalid_blocks [0] == 0) {
|
5030 |
-
echo
|
5031 |
-
} else echo
|
5032 |
}
|
5033 |
|
5034 |
// Generate and save extract
|
@@ -5077,7 +5219,7 @@ function ai_settings () {
|
|
5077 |
delete_option (str_replace ("#", "Footer", AD_ADx_OPTIONS));
|
5078 |
delete_option (AD_OPTIONS);
|
5079 |
|
5080 |
-
echo
|
5081 |
} elseif (isset ($_POST [AI_FORM_CLEAR])) {
|
5082 |
|
5083 |
check_admin_referer ('save_adinserter_settings');
|
@@ -5162,7 +5304,7 @@ function ai_settings () {
|
|
5162 |
|
5163 |
if (function_exists ('ai_load_globals')) ai_load_globals ();
|
5164 |
|
5165 |
-
echo
|
5166 |
} elseif (isset ($_POST [AI_FORM_CLEAR_EXCEPTIONS])) {
|
5167 |
if (ai_current_user_role_ok () && (!is_multisite() || is_main_site () || multisite_exceptions_enabled ())) {
|
5168 |
|
@@ -5334,7 +5476,7 @@ function ai_content_hook ($content = '') {
|
|
5334 |
} else $ad_inserter_globals [$globals_name] ++;
|
5335 |
|
5336 |
if ($debug_processing) {
|
5337 |
-
ai_log ("CONTENT HOOK START [" . $ad_inserter_globals [$globals_name] . (in_the_loop () ? '' : ', NOT IN THE LOOP') . ']');
|
5338 |
$start_time = microtime (true);
|
5339 |
}
|
5340 |
|
@@ -5489,19 +5631,29 @@ function ai_content_hook ($content = '') {
|
|
5489 |
$content = $preview->after_paragraph ($content, true);
|
5490 |
}
|
5491 |
|
5492 |
-
|
5493 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5494 |
|
5495 |
$counter = $ad_inserter_globals [$globals_name];
|
5496 |
if ($counter == 1) $counter = '';
|
5497 |
|
5498 |
-
$content = "<section class='$class'><a class='ai-debug-left'
|
5499 |
|
5500 |
if ($ai_wp_data [AI_WP_AMP_PAGE]) {
|
5501 |
$content = get_page_type_debug_info ('AMP ') . $content;
|
5502 |
}
|
5503 |
|
5504 |
-
$content = $content . "<section class='$class'>
|
5505 |
|
5506 |
$content = $content . get_page_type_debug_info ();
|
5507 |
|
@@ -5511,7 +5663,7 @@ function ai_content_hook ($content = '') {
|
|
5511 |
}
|
5512 |
|
5513 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_TAGS) != 0) {
|
5514 |
-
$content = '<kbd class="ai-debug-invisible">[HTML TAGS REMOVED]</kbd>' . $content;
|
5515 |
}
|
5516 |
|
5517 |
if ($debug_processing) {
|
@@ -5601,10 +5753,19 @@ function ai_excerpt_hook ($content = '') {
|
|
5601 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
|
5602 |
$class = AI_DEBUG_POSITIONS_CLASS;
|
5603 |
|
5604 |
-
$content = "<section class='$class'>
|
|
|
|
|
|
|
|
|
|
|
5605 |
|
5606 |
// Color positions from the content hook
|
5607 |
-
$content = preg_replace ("/((BEFORE|AFTER) (CONTENT|PARAGRAPH) ?[\d]*)/", "<span class='ai-debug-content-hook-positions'> [$1] </span>", $content);
|
|
|
|
|
|
|
|
|
5608 |
}
|
5609 |
|
5610 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_TAGS) != 0) {
|
@@ -5612,7 +5773,7 @@ function ai_excerpt_hook ($content = '') {
|
|
5612 |
$content = preg_replace ("/<(.+?)>/", "", $content);
|
5613 |
|
5614 |
// Color text to mark removed HTML tags
|
5615 |
-
$content = str_replace ('[HTML TAGS REMOVED]',
|
5616 |
}
|
5617 |
|
5618 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
|
@@ -5686,7 +5847,7 @@ function ai_comment_callback ($comment, $args, $depth) {
|
|
5686 |
$class = AI_DEBUG_POSITIONS_CLASS;
|
5687 |
|
5688 |
echo "<$tag>\n";
|
5689 |
-
echo "<section class='$class'>BEFORE COMMENTS</section>
|
5690 |
echo "</$tag>\n";
|
5691 |
}
|
5692 |
|
@@ -5793,7 +5954,7 @@ function ai_comment_end_callback ($comment, $args, $depth) {
|
|
5793 |
$class = AI_DEBUG_POSITIONS_CLASS;
|
5794 |
|
5795 |
echo "<$tag>\n";
|
5796 |
-
echo "<section class='$class'>AFTER COMMENTS</section>
|
5797 |
echo "</$tag>\n";
|
5798 |
}
|
5799 |
|
@@ -5857,7 +6018,7 @@ function ai_comment_end_callback ($comment, $args, $depth) {
|
|
5857 |
$class = AI_DEBUG_POSITIONS_CLASS;
|
5858 |
|
5859 |
echo "<$tag>\n";
|
5860 |
-
echo "<section class='$class'>BETWEEN COMMENTS
|
5861 |
echo "</$tag>\n";
|
5862 |
}
|
5863 |
|
@@ -5928,6 +6089,7 @@ function ai_custom_hook ($action, $name, $hook_parameter = null, $hook_check = n
|
|
5928 |
$debug_processing = ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0;
|
5929 |
|
5930 |
if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_ADMIN) return;
|
|
|
5931 |
|
5932 |
$ai_wp_data [AI_CONTEXT] = AI_CONTEXT_NONE;
|
5933 |
|
@@ -5935,7 +6097,7 @@ function ai_custom_hook ($action, $name, $hook_parameter = null, $hook_check = n
|
|
5935 |
if (!call_user_func ($hook_check, $hook_parameter, $action)) return;
|
5936 |
}
|
5937 |
|
5938 |
-
$hook_name =
|
5939 |
|
5940 |
if ($debug_processing) {
|
5941 |
ai_log (str_replace (array ('<', '>'), array ('<', '>'), $hook_name) . " HOOK START");
|
@@ -5989,8 +6151,6 @@ function ai_custom_hook ($action, $name, $hook_parameter = null, $hook_check = n
|
|
5989 |
if ($obj->get_disable_insertion ()) continue;
|
5990 |
|
5991 |
// Last check before counter check before insertion
|
5992 |
-
// $ai_last_check = AI_CHECK_CODE;
|
5993 |
-
// if ($obj->ai_getCode () == '') continue;
|
5994 |
if ($obj->empty_code ()) continue;
|
5995 |
|
5996 |
$max_page_blocks_enabled = $obj->get_max_page_blocks_enabled ();
|
@@ -6006,7 +6166,6 @@ function ai_custom_hook ($action, $name, $hook_parameter = null, $hook_check = n
|
|
6006 |
if ($max_page_blocks_enabled) $ai_wp_data [AI_PAGE_BLOCKS] ++;
|
6007 |
|
6008 |
$ai_last_check = AI_CHECK_DEBUG_NO_INSERTION;
|
6009 |
-
// if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_NO_INSERTION) == 0) {
|
6010 |
if (!$obj->get_debug_disable_insertion ()) {
|
6011 |
$ad_code .= $obj->get_code_for_serverside_insertion ();
|
6012 |
$ai_last_check = AI_CHECK_INSERTED;
|
@@ -6582,12 +6741,14 @@ function ai_special_widget ($args, $instance, $block) {
|
|
6582 |
function check_url_parameter_cookie_list ($list, $white_list, $parameters, &$found) {
|
6583 |
$parameter_list = trim ($list);
|
6584 |
$return = $white_list;
|
6585 |
-
$found =
|
6586 |
|
6587 |
if ($parameter_list == AD_EMPTY_DATA || count ($parameters) == 0) {
|
6588 |
return !$return;
|
6589 |
}
|
6590 |
|
|
|
|
|
6591 |
foreach ($parameters as $index => $parameter) {
|
6592 |
if (is_string ($parameter)) {
|
6593 |
$parameters [$index] = urlencode ($parameter);
|
@@ -6823,7 +6984,7 @@ if (!is_admin()) {
|
|
6823 |
$ai_total_php_time = 0;
|
6824 |
$ai_last_time = microtime (true);
|
6825 |
$ai_processing_log = array ();
|
6826 |
-
ai_log (
|
6827 |
}
|
6828 |
}
|
6829 |
}
|
@@ -6832,7 +6993,7 @@ if (!is_admin()) {
|
|
6832 |
global $wp_version, $version_string;
|
6833 |
|
6834 |
if (version_compare ($wp_version, "4.0", "<")) {
|
6835 |
-
exit ('Ad Inserter requires WordPress 4.0 or newer. <a href="http://codex.wordpress.org/Upgrading_WordPress">Please update
|
6836 |
}
|
6837 |
|
6838 |
//include required files
|
@@ -6956,10 +7117,17 @@ if (isset ($_POST [AI_FORM_SAVE]))
|
|
6956 |
define ('AI_SYNTAX_HIGHLIGHTING', isset ($_POST ["syntax-highlighter-theme"]) && $_POST ["syntax-highlighter-theme"] != AI_OPTION_DISABLED); else
|
6957 |
define ('AI_SYNTAX_HIGHLIGHTING', get_syntax_highlighter_theme () != AI_OPTION_DISABLED);
|
6958 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6959 |
|
|
|
6960 |
add_action ('wp_loaded', 'ai_wp_loaded_hook');
|
6961 |
add_action ('admin_menu', 'ai_admin_menu_hook');
|
6962 |
-
add_action ('init', 'ai_init_hook');
|
6963 |
add_action ('admin_notices', 'ai_admin_notice_hook');
|
6964 |
add_action ('wp', 'ai_wp_hook');
|
6965 |
add_action ('wp_enqueue_scripts', 'ai_wp_enqueue_scripts_hook' );
|
@@ -7017,8 +7185,13 @@ if (defined ('AI_PLUGIN_TRACKING') && AI_PLUGIN_TRACKING) {
|
|
7017 |
}
|
7018 |
|
7019 |
function ai_notice_text ($text) {
|
7020 |
-
$text =
|
7021 |
-
|
|
|
|
|
|
|
|
|
|
|
7022 |
|
7023 |
return $text;
|
7024 |
}
|
@@ -7054,9 +7227,13 @@ if (defined ('AI_PLUGIN_TRACKING') && AI_PLUGIN_TRACKING) {
|
|
7054 |
function ai_dst_form_text ($form) {
|
7055 |
$form ['body'] =
|
7056 |
'</p>' .
|
7057 |
-
|
7058 |
-
|
7059 |
-
'
|
|
|
|
|
|
|
|
|
7060 |
'<hr /><p>' .
|
7061 |
$form ['body'];
|
7062 |
return ($form);
|
@@ -7086,7 +7263,9 @@ if (!class_exists ('ai_widget')) {
|
|
7086 |
AD_INSERTER_NAME, // Name
|
7087 |
array ( // Args
|
7088 |
'classname' => 'ai_widget',
|
7089 |
-
|
|
|
|
|
7090 |
);
|
7091 |
}
|
7092 |
|
@@ -7100,17 +7279,21 @@ if (!class_exists ('ai_widget')) {
|
|
7100 |
if ($block > AD_INSERTER_BLOCKS) $block = 1;
|
7101 |
$sticky = isset ($instance ['sticky']) ? $instance ['sticky'] : 0;
|
7102 |
|
7103 |
-
|
7104 |
-
|
7105 |
-
|
|
|
|
|
|
|
7106 |
elseif ($block >= 1) {
|
7107 |
$obj = $block_object [$block];
|
7108 |
|
7109 |
$title = '[' . $block . '] ' . $obj->get_ad_name();
|
7110 |
if (!empty ($widget_title)) $title .= ' - ' . $widget_title;
|
7111 |
-
|
7112 |
-
if (
|
7113 |
-
|
|
|
7114 |
|
7115 |
$url_parameters = "";
|
7116 |
if (function_exists ('ai_settings_url_parameters')) $url_parameters = ai_settings_url_parameters ($block);
|
@@ -7119,29 +7302,29 @@ if (!class_exists ('ai_widget')) {
|
|
7119 |
<input id="<?php echo $this->get_field_id ('title'); ?>" name="<?php echo $this->get_field_name ('title'); ?>" type="hidden" value="<?php echo esc_attr ($title); ?>">
|
7120 |
|
7121 |
<p>
|
7122 |
-
<label for="<?php echo $this->get_field_id ('widget-title'); ?>"
|
7123 |
-
<input id="<?php echo $this->get_field_id ('widget-title'); ?>" name="<?php echo $this->get_field_name ('widget-title'); ?>" type="text" value="<?php echo esc_attr ($widget_title); ?>" style="width:
|
7124 |
</p>
|
7125 |
|
7126 |
<p>
|
7127 |
-
<label for="<?php echo $this->get_field_id ('block'); ?>"><a href='<?php echo admin_url ('options-general.php?page=ad-inserter.php'), $url_parameters, "&tab=", $block; ?>' title='Click for block settings' style='text-decoration: none;'
|
7128 |
-
<select id="<?php echo $this->get_field_id ('block'); ?>" name="<?php echo $this->get_field_name('block'); ?>" style="width:
|
7129 |
<?php
|
7130 |
for ($block_index = 1; $block_index <= AD_INSERTER_BLOCKS; $block_index ++) {
|
7131 |
$obj = $block_object [$block_index];
|
7132 |
?>
|
7133 |
<option value='<?php echo $block_index; ?>' <?php if ($block_index == $block) echo 'selected="selected"'; ?>><?php echo $block_index, ' - ', $obj->get_ad_name(), $obj->get_disable_insertion () ? ' - PAUSED' : ''; ?></option>
|
7134 |
<?php } ?>
|
7135 |
-
<option value='-2' <?php if ($block == - 2) echo 'selected="selected"';
|
7136 |
-
<option value='0' <?php if ($block == 0) echo 'selected="selected"';
|
7137 |
-
<option value='-1' <?php if ($block == - 1) echo 'selected="selected"';
|
7138 |
</select>
|
7139 |
</p>
|
7140 |
|
7141 |
<p>
|
7142 |
<input type="hidden" name='<?php echo $this->get_field_name ('sticky'); ?>' value="0" />
|
7143 |
<input type='checkbox' id='<?php echo $this->get_field_id ('sticky'); ?>' name='<?php echo $this->get_field_name ('sticky'); ?>' value='1' <?php if ($sticky) echo 'checked '; ?>>
|
7144 |
-
<label for='<?php echo $this->get_field_id ('sticky'); ?>'
|
7145 |
</p>
|
7146 |
<?php
|
7147 |
}
|
@@ -7151,7 +7334,6 @@ if (!class_exists ('ai_widget')) {
|
|
7151 |
$instance = $old_instance;
|
7152 |
|
7153 |
$instance ['widget-title'] = (!empty ($new_instance ['widget-title'])) ? strip_tags ($new_instance ['widget-title']) : '';
|
7154 |
-
// $instance ['title'] = (!empty ($new_instance ['title'])) ? strip_tags ($new_instance ['title']) : '';
|
7155 |
$instance ['title'] = (!empty ($new_instance ['title'])) ? ($new_instance ['title']) : '';
|
7156 |
$instance ['block'] = (isset ($new_instance ['block'])) ? $new_instance ['block'] : 1;
|
7157 |
$instance ['sticky'] = (isset ($new_instance ['sticky'])) ? $new_instance ['sticky'] : 0;
|
@@ -7191,8 +7373,8 @@ if (!class_exists ('ai_widget')) {
|
|
7191 |
<img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-50x50.jpg" style="width: 50px; margin: 5px 10px 0px 10px;" />
|
7192 |
</div>
|
7193 |
<div class="ai-notice-element" style="width: 100%; padding: 0 10px 0;">
|
7194 |
-
<p
|
7195 |
-
<p
|
7196 |
</div>
|
7197 |
</div>
|
7198 |
<?php
|
2 |
|
3 |
/*
|
4 |
Plugin Name: Ad Inserter
|
5 |
+
Version: 2.4.3
|
6 |
+
Description: Ad management with many advanced advertising features to insert ads at optimal positions
|
7 |
Author: Igor Funa
|
8 |
Author URI: http://igorfuna.com/
|
9 |
Plugin URI: https://adinserter.pro/documentation
|
10 |
+
Text Domain: ad-inserter
|
11 |
+
Domain Path: /languages
|
12 |
*/
|
13 |
|
14 |
/*
|
15 |
|
16 |
Change Log
|
17 |
|
18 |
+
Ad Inserter 2.4.3 - 2018-12-10
|
19 |
+
- Added support for insertion before/after every N paragraphs (%N)
|
20 |
+
- Added support for i18n
|
21 |
+
- Fix for insertion on admin pages
|
22 |
+
- Fix for client-side cookie check
|
23 |
+
- Fix for loaded styles from other plugins/themes on the settings page
|
24 |
+
- Fix for client-side insertion near HTML elements using :eq selector
|
25 |
+
- Fix for deactivation feedback form not closing
|
26 |
+
- Few minor bug fixes, cosmetic changes and code improvements
|
27 |
+
|
28 |
Ad Inserter 2.4.2 - 2018-10-21
|
29 |
- Added support for visual HTML element selection
|
30 |
- Fix for client-side insertion inside HTML elements
|
245 |
'id' => 'ai-toolbar-settings',
|
246 |
// 'parent' => 'ai-toolbar',
|
247 |
// 'title' => '<span class="ab-icon'.$debug_settings_class.'"></span>'.AD_INSERTER_NAME . (defined ('AI_DEBUGGING_DEMO') ? ' Debugging DEMO' : ($debug_settings_on ? ' Debugging' : '')),
|
248 |
+
'title' => '<span class="ab-icon'.$debug_settings_class.'"></span>'.AD_INSERTER_NAME . (defined ('AI_DEBUGGING_DEMO') ? ' ' . _x('Debugging DEMO', 'Menu item', 'ad-inserter') : ($debug_settings_on ? '' : '')),
|
249 |
'href' => $top_menu_url,
|
250 |
// 'meta' => $debug_settings_on ? array ('title' => 'Turn Debugging Off') : array (),
|
251 |
);
|
253 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
254 |
'id' => 'ai-toolbar-blocks',
|
255 |
'parent' => 'ai-toolbar-settings',
|
256 |
+
'title' => '<span class="ab-icon'.$debug_blocks_class.'"></span>' . _x('Label Blocks', 'Menu item', 'ad-inserter'),
|
257 |
'href' => set_url_parameter (AI_URL_DEBUG_BLOCKS, $debug_blocks),
|
258 |
);
|
259 |
|
260 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
261 |
'id' => 'ai-toolbar-positions',
|
262 |
'parent' => 'ai-toolbar-settings',
|
263 |
+
'title' => '<span class="ab-icon'.$debug_positions_class.'"></span>' . _x('Show Positions', 'Menu item', 'ad-inserter'),
|
264 |
'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $debug_positions),
|
265 |
);
|
266 |
|
271 |
if ($block == 0 || !$obj->get_disable_insertion () && ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH || $automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH)) {
|
272 |
|
273 |
$block_tags = trim ($block_object [$block]->get_paragraph_tags ());
|
274 |
+
$direction = $block_object [$block]->get_direction_type() == AI_DIRECTION_FROM_TOP ? 't' : 'b';
|
275 |
$paragraph_min_words = intval ($obj->get_minimum_paragraph_words());
|
276 |
$paragraph_max_words = intval ($obj->get_maximum_paragraph_words());
|
277 |
$paragraph_text_type = $obj->get_paragraph_text_type ();
|
322 |
($paragraph_block ['min'] != 0 ? ' min '.$paragraph_block ['min']. ' ' : '').
|
323 |
($paragraph_block ['max'] != 0 ? ' max '.$paragraph_block ['max']. ' ' : '').
|
324 |
($paragraph_block ['blockquote'] ? ' +[' . $no_paragraph_counting_inside . '] ' : '').
|
325 |
+
($paragraph_block ['text'] != '' ? ($paragraph_block ['text_type'] == AI_DO_NOT_CONTAIN ? ' NC ' : ' C ').' ['.htmlentities ($paragraph_block ['text']).']' : ''),
|
326 |
// 'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $paragraph_block ['blocks'][0]),
|
327 |
'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $debug_block_active ? '' : $paragraph_block ['blocks'][0]),
|
328 |
);
|
331 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
332 |
'id' => 'ai-toolbar-tags',
|
333 |
'parent' => 'ai-toolbar-settings',
|
334 |
+
'title' => '<span class="ab-icon'.$debug_tags_class.'"></span>' . _x('Show HTML Tags', 'Menu item', 'ad-inserter'),
|
335 |
'href' => set_url_parameter (AI_URL_DEBUG_TAGS, $debug_tags),
|
336 |
);
|
337 |
|
338 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
339 |
'id' => 'ai-toolbar-no-insertion',
|
340 |
'parent' => 'ai-toolbar-settings',
|
341 |
+
'title' => '<span class="ab-icon'.$debug_no_insertion_class.'"></span>' . _x('Disable Insertion', 'Menu item', 'ad-inserter'),
|
342 |
'href' => set_url_parameter (AI_URL_DEBUG_NO_INSERTION, $debug_no_insertion),
|
343 |
);
|
344 |
|
347 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
348 |
'id' => 'ai-toolbar-adb-status',
|
349 |
'parent' => 'ai-toolbar-settings',
|
350 |
+
'title' => '<span class="ab-icon'.$debug_ad_blocking_status_class.'"></span>' . _x('Ad Blocking Status', 'Menu item', 'ad-inserter'),
|
351 |
'href' => set_url_parameter (AI_URL_DEBUG_AD_BLOCKING_STATUS, $debug_ad_blocking_status),
|
352 |
);
|
353 |
|
354 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
355 |
'id' => 'ai-toolbar-adb',
|
356 |
'parent' => 'ai-toolbar-settings',
|
357 |
+
'title' => '<span class="ab-icon'.$debug_ad_blocking_class.'"></span>' . _x('Simulate Ad Blocking', 'Menu item', 'ad-inserter'),
|
358 |
'href' => set_url_parameter (AI_URL_DEBUG_AD_BLOCKING, $debug_ad_blocking),
|
359 |
);
|
360 |
}
|
364 |
$ai_wp_data [AI_DEBUG_MENU_ITEMS][] = array (
|
365 |
'id' => 'ai-toolbar-processing',
|
366 |
'parent' => 'ai-toolbar-settings',
|
367 |
+
'title' => '<span class="ab-icon'.$debug_processing_class.'"></span>' . _x('Log Processing', 'Menu item', 'ad-inserter'),
|
368 |
'href' => set_url_parameter (AI_URL_DEBUG_PROCESSING, $debug_processing),
|
369 |
);
|
370 |
}
|
513 |
case AI_CHECK_PARAGRAPHS_AFTER_CLEARANCE: $status .= "PARAGRAPHS AFTER CLEARANCE"; break;
|
514 |
case AI_CHECK_PARAGRAPHS_MIN_NUMBER: $status .= "PARAGRAPHS MIN NUMBER"; break;
|
515 |
case AI_CHECK_PARAGRAPH_NUMBER: $status .= "PARAGRAPH NUMBER " . $obj->get_paragraph_number(); break;
|
516 |
+
case AI_CHECK_NO_PARAGRAPHS: $status .= "NO PARAGRAPHS"; break;
|
517 |
|
518 |
case AI_CHECK_DO_NOT_INSERT: $status .= "PARAGRAPH CLEARANCE"; break;
|
519 |
case AI_CHECK_AD_ABOVE: $status .= "PARAGRAPH CLEARANCE ABOVE"; break;
|
579 |
$text = preg_replace('#<style.*?'.'>(.*?)</style>#i', '', $text);
|
580 |
$text = preg_replace('#<script.*?'.'>(.*?)</script>#i', '', $text);
|
581 |
$text = htmlspecialchars_decode ($text);
|
582 |
+
$text = trim (strip_tags ($text));
|
583 |
$text = preg_replace ('#\s+#', ' ', $text);
|
584 |
|
585 |
if ($text == '') return 0;
|
614 |
}
|
615 |
|
616 |
function ai_buffering_end () {
|
617 |
+
global $ai_wp_data, $ai_total_plugin_time, $ai_db_options_extract, $block_object, $ad_inserter_globals;
|
618 |
|
619 |
if (!defined ('AI_BUFFERING_START')) return;
|
620 |
|
882 |
|
883 |
$new_content = '';
|
884 |
$current_offset = 0;
|
885 |
+
|
886 |
+
switch ($insertion_position) {
|
887 |
+
case 'before':
|
888 |
+
$action = 'before_html_element';
|
889 |
+
// translators: Debugging position name Before HTML element
|
890 |
+
$action_name = __('Before', 'ad-inserter') . ' ' . $selector;
|
891 |
+
break;
|
892 |
+
case 'after':
|
893 |
+
$action = 'after_html_element';
|
894 |
+
// translators: Debugging position name After HTML element
|
895 |
+
$action_name = __('After', 'ad-inserter') . ' ' . $selector;
|
896 |
+
break;
|
897 |
+
case 'prepend':
|
898 |
+
$action = 'prepend_html_element';
|
899 |
+
// translators: Debugging position name Prepend content of HTML element (before the content of the HTML element)
|
900 |
+
$action_name = __('Prepend content', 'ad-inserter') . ' ' . $selector;
|
901 |
+
break;
|
902 |
+
case 'append':
|
903 |
+
$action = 'append_html_element';
|
904 |
+
// translators: Debugging position name Append content of HTML element (after the content of the HTML element)
|
905 |
+
$action_name = __('Append content', 'ad-inserter') . ' ' . $selector;
|
906 |
+
break;
|
907 |
+
case 'replace-content':
|
908 |
+
$action = 'replace_content_html_element';
|
909 |
+
// translators: Debugging position name Replace content of HTML element
|
910 |
+
$action_name = __('Replace content', 'ad-inserter') . ' ' . $selector;
|
911 |
+
break;
|
912 |
+
case 'replace-element':
|
913 |
+
// translators: Debugging position name Replace HTML element
|
914 |
+
$action = 'replace_html_element';
|
915 |
+
$action_name = __('Replace', 'ad-inserter') . ' ' . $selector;
|
916 |
+
break;
|
917 |
+
}
|
918 |
+
|
919 |
+
$globals_name = 'AI_' . strtoupper ($action) . '_COUNTER';
|
920 |
+
unset ($ad_inserter_globals [$globals_name]);
|
921 |
+
$ai_db_options_extract [$action . CUSTOM_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]] = array ($block);
|
922 |
+
|
923 |
foreach ($insertion_offsets as $index => $insertion_offset) {
|
924 |
if ($multibyte)
|
925 |
$new_content .= mb_substr ($body, $current_offset, $insertion_offset - $current_offset);
|
939 |
|
940 |
ob_start ();
|
941 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
942 |
ai_custom_hook ($action, $action_name);
|
|
|
943 |
|
944 |
$new_content .= ob_get_clean();
|
945 |
}
|
946 |
+
|
947 |
+
unset ($ai_db_options_extract [$action . CUSTOM_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]);
|
948 |
+
|
949 |
$new_content .= substr ($body, $current_offset);
|
950 |
|
951 |
$body = $new_content;
|
956 |
|
957 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
|
958 |
$class = AI_DEBUG_STATUS_CLASS;
|
959 |
+
// translators: Debugging message when output buffering is enabled
|
960 |
+
echo "<section class='$class'>" . __('OUTPUT BUFFERING', 'ad-inserter') . '</section>';
|
961 |
}
|
962 |
|
963 |
+
// translators: Debugging position
|
964 |
+
ai_custom_hook ('above_header', __('Above Header', 'ad-inserter'));
|
965 |
echo $body;
|
966 |
} else echo $page;
|
967 |
|
1159 |
((get_remote_debugging () && ($ai_wp_data [AI_WP_DEBUGGING] != 0 || (isset ($_GET [AI_URL_DEBUG]) && $_GET [AI_URL_DEBUG] == 1))) ||
|
1160 |
defined ('AI_DEBUGGING_DEMO'))) {
|
1161 |
function ai_login_adminbar ($wp_admin_bar) {
|
1162 |
+
$wp_admin_bar->add_menu (array ('title' => _x('Log In', 'Menu item', 'ad-inserter'), 'href' => wp_login_url()));
|
1163 |
}
|
1164 |
|
1165 |
add_filter ('show_admin_bar', '__return_true', 999999);
|
1186 |
add_filter ('the_excerpt', 'ai_excerpt_hook', $plugin_priority);
|
1187 |
|
1188 |
if (isset ($ai_db_options_extract [LOOP_START_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && count ($ai_db_options_extract [LOOP_START_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) != 0 || $debug_positions)
|
|
|
1189 |
add_action ('loop_start', 'ai_hook_function_loop_start');
|
1190 |
|
1191 |
if (isset ($ai_db_options_extract [LOOP_END_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && count ($ai_db_options_extract [LOOP_END_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) != 0 || $debug_positions)
|
|
|
1192 |
add_action ('loop_end', 'ai_hook_function_loop_end');
|
1193 |
|
1194 |
if (isset ($ai_db_options_extract [POST_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && count ($ai_db_options_extract [POST_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) != 0 || $debug_positions)
|
|
|
1195 |
add_action ('the_post', 'ai_hook_function_post');
|
1196 |
|
1197 |
if ((isset ($ai_db_options_extract [BETWEEN_COMMENTS_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && count ($ai_db_options_extract [BETWEEN_COMMENTS_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) != 0) ||
|
1304 |
}
|
1305 |
};
|
1306 |
|
1307 |
+
function ai_load_plugin_textdomain_hook () {
|
1308 |
+
load_plugin_textdomain ('ad-inserter', false, basename (dirname ( __FILE__)) . '/languages/');
|
1309 |
+
}
|
1310 |
+
|
1311 |
function ai_init_hook () {
|
1312 |
global $block_object, $ai_wp_data, $ai_db_options_extract;
|
1313 |
|
1314 |
+
require_once AD_INSERTER_PLUGIN_DIR.'strings.php';
|
1315 |
+
|
1316 |
if (defined ('DOING_AJAX') && DOING_AJAX) {
|
1317 |
$ai_wp_data [AI_WP_PAGE_TYPE] = AI_PT_AJAX;
|
1318 |
|
1375 |
}
|
1376 |
|
1377 |
function ai_wp_loaded_hook () {
|
|
|
1378 |
global $ai_total_plugin_time, $ai_wp_data;
|
1379 |
|
1380 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
|
1389 |
if (defined ('AI_EXTRACT_GENERATED')) ai_log ("EXTRACT GENERATED");
|
1390 |
ai_log ("WP LOADED HOOK END\n");
|
1391 |
}
|
1392 |
+
if ($ai_wp_data [AI_DISABLE_TRANSLATION]) {
|
1393 |
+
unload_textdomain ('ad-inserter');
|
1394 |
+
}
|
1395 |
}
|
1396 |
|
1397 |
function ai_admin_menu_hook () {
|
1399 |
|
1400 |
if (is_multisite() && !is_main_site () && !multisite_settings_page_enabled ()) return;
|
1401 |
|
1402 |
+
// translators: %s: Ad Inserter
|
1403 |
+
$ai_settings_page = add_submenu_page ('options-general.php', sprintf (__('%s Settings', 'ad-inserter'), AD_INSERTER_NAME), AD_INSERTER_NAME, 'manage_options', basename (__FILE__), 'ai_settings');
|
1404 |
add_action ('admin_enqueue_scripts', 'ai_admin_enqueue_scripts');
|
1405 |
+
add_action ('admin_enqueue_scripts', 'ai_admin_enqueue_scripts_late', 99999);
|
1406 |
add_action ('admin_enqueue_scripts', 'ai_admin_remove_scripts', 99999);
|
1407 |
add_action ('admin_head', 'ai_admin_head');
|
1408 |
add_filter ('clean_url', 'ai_clean_url', 999999, 2);
|
1417 |
}
|
1418 |
|
1419 |
function ai_admin_enqueue_scripts ($hook_suffix) {
|
1420 |
+
global $ai_settings_page, $ai_admin_translations;
|
1421 |
|
1422 |
if ($hook_suffix == $ai_settings_page) {
|
1423 |
wp_enqueue_style ('ai-admin-jquery-ui', plugins_url ('css/jquery-ui-1.10.3.custom.min.css', __FILE__), array (), null);
|
1430 |
|
1431 |
wp_enqueue_style ('ai-combobox-css', plugins_url ('css/jquery.scombobox.min.css', __FILE__), array (), AD_INSERTER_VERSION);
|
1432 |
|
1433 |
+
// wp_enqueue_style ('ai-admin-css', plugins_url ('css/ad-inserter.css', __FILE__), array (), AD_INSERTER_VERSION);
|
1434 |
|
1435 |
+
// wp_add_inline_style ('ai-admin-css', '.notice {margin: 5px 15px 15px 0;}');
|
1436 |
|
1437 |
if (function_exists ('ai_admin_enqueue_scripts_2')) ai_admin_enqueue_scripts_2 ();
|
1438 |
|
1464 |
'jquery-ui-dialog',
|
1465 |
), AD_INSERTER_VERSION, true);
|
1466 |
|
1467 |
+
wp_localize_script ('ai-admin-js', 'ai_admin', $ai_admin_translations);
|
1468 |
+
|
1469 |
wp_enqueue_script ('ai-combobox', plugins_url ('includes/js/jquery.scombobox.min.js', __FILE__), array (
|
1470 |
'jquery',
|
1471 |
), AD_INSERTER_VERSION , true);
|
1476 |
wp_enqueue_script ('ai-admin-js-gen', plugins_url ('includes/js/ai-admin.js', __FILE__ ), array (), AD_INSERTER_VERSION, true);
|
1477 |
}
|
1478 |
|
1479 |
+
function ai_admin_enqueue_scripts_late ($hook_suffix) {
|
1480 |
+
global $ai_settings_page;
|
1481 |
+
|
1482 |
+
if ($hook_suffix == $ai_settings_page) {
|
1483 |
+
wp_enqueue_style ('ai-admin-css', plugins_url ('css/ad-inserter.css', __FILE__), array (), AD_INSERTER_VERSION);
|
1484 |
+
wp_add_inline_style ('ai-admin-css', '.notice {margin: 5px 15px 15px 0;}');
|
1485 |
+
}
|
1486 |
+
}
|
1487 |
+
|
1488 |
function ai_admin_remove_scripts ($hook_suffix) {
|
1489 |
global $ai_settings_page;
|
1490 |
|
1491 |
if ($hook_suffix == $ai_settings_page) {
|
1492 |
+
// Fix for Publisher theme: remove scripts loaded on Ad Inserter admin page
|
1493 |
wp_deregister_script ('ace-editor-script');
|
1494 |
wp_dequeue_script ('publisher-admin');
|
1495 |
+
|
1496 |
+
// Fix for Shell ClubSmart theme (titan framework)
|
1497 |
+
wp_dequeue_script ('tf-ace');
|
1498 |
+
// Default settings
|
1499 |
+
wp_dequeue_script ('tf-ace-theme-chrome');
|
1500 |
+
wp_dequeue_script ('tf-ace-mode-css');
|
1501 |
+
|
1502 |
+
// Fix for OptimizePress plugin: remove styles loaded on Ad Inserter admin page
|
1503 |
+
wp_dequeue_style ('optimizepress-admin-assets');
|
1504 |
+
wp_dequeue_style ('optimizepress-admin-common');
|
1505 |
+
wp_dequeue_style ('optimizepress-tiny-mce-css');
|
1506 |
+
wp_dequeue_style ('optimizepress-dashicons');
|
1507 |
+
|
1508 |
+
// Fix for WP Nav Manager plugin: remove styles loaded on Ad Inserter admin page
|
1509 |
+
wp_dequeue_style ('wp-nav-manager-admin-style');
|
1510 |
+
|
1511 |
+
// Fix for WP BotWatch plugin: remove styles loaded on Ad Inserter admin page
|
1512 |
+
wp_dequeue_style ('wp-botwatch');
|
1513 |
}
|
1514 |
}
|
1515 |
|
1518 |
}
|
1519 |
|
1520 |
function ai_wp_enqueue_scripts_hook () {
|
1521 |
+
global $ai_wp_data, $wp_version, $ai_front_translations;
|
1522 |
|
1523 |
// TEST
|
1524 |
// wp_deregister_script('jquery');
|
1554 |
}
|
1555 |
wp_enqueue_script ('ai-jquery-js', plugins_url ('includes/js/ai-jquery.js', __FILE__), $jquery_required, $wp_version . '+' . AD_INSERTER_VERSION);
|
1556 |
|
1557 |
+
wp_localize_script ('ai-jquery-js', 'ai_front', $ai_front_translations);
|
1558 |
+
|
1559 |
if ($ai_wp_data [AI_HTML_ELEMENT_SELECTION]) {
|
1560 |
$wp_scripts = wp_scripts();
|
1561 |
wp_enqueue_style (
|
1636 |
echo ".ai-close-bottom {top: unset; bottom: -11px;}\n";
|
1637 |
}
|
1638 |
|
|
|
1639 |
if (!get_inline_styles ()) {
|
1640 |
echo get_alignment_css ();
|
1641 |
}
|
1695 |
#wp-admin-bar-ai-toolbar-positions .up-icon:before {
|
1696 |
font: 400 20px/1 dashicons;
|
1697 |
}
|
1698 |
+
|
1699 |
+
#wp-admin-bar-ai-toolbar-settings .ab-sub-wrapper {
|
1700 |
+
width: max-content;
|
1701 |
+
}
|
1702 |
";
|
1703 |
if (get_admin_toolbar_mobile ()) {
|
1704 |
echo "@media screen and (max-width: 782px) {
|
1812 |
$js = str_replace ('AI_ADB_MESSAGE_WINDOW', "jQuery ('<div>', {attr: {'style': b64d ('" . base64_encode (str_replace (array ("'", "\r", "\n"), array ("\'", '', ''), AI_BASIC_ADB_MESSAGE_CSS) . get_message_css ()) . "')}, 'html': b64d ('" .
|
1813 |
base64_encode (str_replace (array ("'", "\r", "\n"), array ("\'", '', ''), do_shortcode ($adb->ai_getCode ()))) . "')})", $js);
|
1814 |
|
|
|
1815 |
$js = str_replace ('AI_ADB_SELECTORS', get_adb_selectors (true), $js);
|
1816 |
|
1817 |
$redirection_page = get_redirection_page ();
|
1819 |
$js = str_replace ('AI_ADB_REDIRECTION_PAGE', $url, $js);
|
1820 |
|
1821 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_AD_BLOCKING_STATUS) != 0) {
|
1822 |
+
// translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
|
1823 |
+
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=1', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED, PAGE VIEWS', 'ad-inserter') . '" + ": " + d1 + " - " + "' . __('NO ACTION', 'ad-inserter') . '")', $js);
|
1824 |
+
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=2', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION', 'ad-inserter') . '")', $js);
|
1825 |
+
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=3', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED - ACTION', 'ad-inserter') . '")', $js);
|
1826 |
+
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=4', 'jQuery("#ai-adb-status").text ("' . __('AD BLOCKING NOT DETECTED', 'ad-inserter') . '")', $js);
|
1827 |
+
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=5', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTION COOKIES DELETED', 'ad-inserter') . '")', $js);
|
1828 |
+
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=6', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED - NO ACTION', 'ad-inserter') . '")', $js);
|
1829 |
} else {
|
1830 |
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=1', '', $js);
|
1831 |
$js = str_replace ('var AI_ADB_STATUS_MESSAGE=2', '', $js);
|
2018 |
$used_blocks >= 2 && $ai_wp_data [AI_DAYS_SINCE_INSTAL] > 70))) {
|
2019 |
|
2020 |
if ($notice_option == 'later') {
|
2021 |
+
// Translators: 1: number of blocks, 2: Ad Inserter
|
2022 |
+
$message = sprintf (_n('Hey, you are now using %1$s %2$s block.', 'Hey, you are now using %1$s %2$s blocks.', $used_blocks, 'ad-inserter'), "<strong>{$used_blocks}</strong>", "<strong>Ad Inserter</strong>");
|
2023 |
+
$option = '<div class="ai-notice-text-button ai-notice-dismiss" data-notice="no">' . __("No, thank you.", 'ad-inserter') . '</div>';
|
2024 |
} else {
|
2025 |
+
// Translators: %s: Ad Inserter
|
2026 |
+
$message = sprintf (__("Hey, you've been using %s for a while now, and I hope you're happy with it.", 'ad-inserter'), '<strong>Ad Inserter</strong>');
|
2027 |
+
$option = '<div class="ai-notice-text-button ai-notice-dismiss" data-notice="later">' . __("Not now, maybe later.", 'ad-inserter') . '</div>';
|
2028 |
}
|
2029 |
?>
|
2030 |
<div class="notice notice-info ai-notice ai-no-phone" style="display: none;" data-notice="review" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" >
|
2032 |
<img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-50x50.jpg" style="width: 50px; margin: 5px 10px 0px 10px;" />
|
2033 |
</div>
|
2034 |
<div class="ai-notice-element" style="width: 100%; padding: 0 10px 0;">
|
2035 |
+
<p><?php
|
2036 |
+
echo $message, ' ';
|
2037 |
+
_e("I would really appreciate it if you could give the plugin a 5-star rating on WordPres.", 'ad-inserter');
|
2038 |
+
echo '<br />';
|
2039 |
+
_e("Positive reviews are a great incentive to fix bugs and to add new features for better monetization of your website. Thank you, Igor", 'ad-inserter');
|
2040 |
+
?></p>
|
2041 |
</div>
|
2042 |
<div class="ai-notice-element ai-notice-buttons last">
|
2043 |
<div class="ai-notice-text-button ai-notice-dismiss" data-notice="yes">
|
2044 |
<button class="button-primary ai-notice-dismiss" data-notice="yes">
|
2045 |
+
<a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post" class="ai-notice-dismiss" target="_blank" data-notice="yes"><?php /* translators: %s: Ad Inserter */ printf (__("Rate %s", 'ad-inserter'), 'Ad Inserter'); ?></a>
|
2046 |
</button>
|
2047 |
</div>
|
2048 |
|
2049 |
<?php echo $option; ?>
|
2050 |
+
<div class="ai-notice-text-button ai-notice-dismiss" data-notice="already"><?php _e("I already did.", 'ad-inserter'); ?></div>
|
2051 |
</div>
|
2052 |
</div>
|
2053 |
|
2061 |
function ai_plugin_action_links ($links) {
|
2062 |
if (is_multisite() && !is_main_site () && !multisite_settings_page_enabled ()) return $links;
|
2063 |
|
2064 |
+
$settings_link = '<a href="'.admin_url ('options-general.php?page=ad-inserter.php').'">'._x('Settings', 'Menu item', 'ad-inserter') . '</a>';
|
2065 |
array_unshift ($links, $settings_link);
|
2066 |
return $links;
|
2067 |
}
|
2134 |
foreach ($screens as $screen) {
|
2135 |
add_meta_box (
|
2136 |
'adinserter_sectionid',
|
2137 |
+
// translators: %s: Ad Inserter
|
2138 |
+
sprintf (_x('%s Individual Exceptions', 'Meta box name', 'ad-inserter'), AD_INSERTER_NAME),
|
2139 |
'ai_meta_box_callback',
|
2140 |
$screen
|
2141 |
);
|
2164 |
|
2165 |
echo '<table>';
|
2166 |
echo '<thead style="font-weight: bold;">';
|
2167 |
+
echo ' <td>', __('Block', 'ad-inserter') . '</td>';
|
2168 |
+
echo ' <td style="padding: 0 10px 0 10px;">', __('Name', 'ad-inserter') . '</td>';
|
2169 |
+
echo ' <td style="padding: 0 10px 0 10px;">', __('Automatic insertion', 'ad-inserter') . '</td>';
|
2170 |
|
2171 |
if ($post_type == 'page')
|
2172 |
+
echo ' <td style="padding: 0 10px 0 10px;">', __('Default insertion for pages', 'ad-inserter') . '</td>'; else
|
2173 |
+
echo ' <td style="padding: 0 10px 0 10px;">', __('Default insertion for posts', 'ad-inserter') . '</td>';
|
2174 |
+
// translators: For this post or page
|
2175 |
+
if ($post_type == 'page')
|
2176 |
+
echo ' <td style="padding: 0 10px 0 10px;">', _x('For this', 'Page', 'ad-inserter'), ' ', $page_type_name1, '</td>'; else
|
2177 |
+
echo ' <td style="padding: 0 10px 0 10px;">', _x('For this', 'Post', 'ad-inserter'), ' ', $page_type_name1, '</td>';
|
2178 |
echo '</thead>';
|
2179 |
echo '<tbody>';
|
2180 |
$rows = 0;
|
2182 |
$obj = $block_object [$block];
|
2183 |
|
2184 |
if ($post_type == 'page') {
|
2185 |
+
$page_name1 = _x('pages', 'Enabled/disabled on all', 'ad-inserter');
|
2186 |
+
$page_name2 = _x('pages', 'Default insertion for', 'ad-inserter');
|
2187 |
$enabled_on = $obj->get_ad_enabled_on_which_pages ();
|
2188 |
$general_enabled = $obj->get_display_settings_page();
|
2189 |
} else {
|
2190 |
+
$page_name1 = _x('posts', 'Enabled/disabled on all', 'ad-inserter');
|
2191 |
+
$page_name2 = _x('posts', 'Default insertion for', 'ad-inserter');
|
2192 |
$enabled_on = $obj->get_ad_enabled_on_which_posts ();
|
2193 |
$general_enabled = $obj->get_display_settings_post();
|
2194 |
}
|
2207 |
echo ' <td style="padding: 0 10px 0 10px; text-align: left;">';
|
2208 |
|
2209 |
if ($individual_option_enabled) {
|
2210 |
+
if ($individual_text_enabled) echo __('Enabled', 'ad-inserter'); else echo __('Disabled', 'ad-inserter');
|
2211 |
} else {
|
2212 |
+
// translators: Enabled on all pages or posts
|
2213 |
+
if ($general_enabled) echo __('Enabled on all', 'ad-inserter'). ' ', $page_name1; else
|
2214 |
+
// translators: Disabled on all pages or posts
|
2215 |
+
echo __('Disabled on all', 'ad-inserter') . ' ', $page_name1;
|
2216 |
}
|
2217 |
echo ' </td>';
|
2218 |
echo ' <td style="padding: 0 10px 0 10px; text-align: left;">';
|
2220 |
if ($individual_option_enabled) {
|
2221 |
echo '<input type="checkbox" style="border-radius: 5px;" name="adinserter_selected_block_', $block, '" id="ai-selected-block-', $block, '" value="1"', in_array ($block, $selected_blocks) ? ' checked': '', ' />';
|
2222 |
echo '<label for="ai-selected-block-', $block, '">';
|
2223 |
+
if (!$individual_text_enabled) echo __('Enabled', 'ad-inserter'); else echo __('Disabled', 'ad-inserter');
|
2224 |
echo '</label>';
|
2225 |
} else {
|
2226 |
if (in_array ($block, $selected_blocks)) {
|
2239 |
$exceptions_table = ob_get_clean ();
|
2240 |
|
2241 |
if ($rows == 0) {
|
2242 |
+
// translators: No individual exceptions enabled for pages or posts
|
2243 |
+
echo '<p><strong>' . __('No individual exceptions enabled for', 'ad-inserter') . ' ', $page_name2, '</strong>.</p>';
|
2244 |
} else echo $exceptions_table;
|
2245 |
|
2246 |
+
// translators: 1: pages or posts, 2: Ad Inserter Settings (page)
|
2247 |
+
echo '<p>',
|
2248 |
+
sprintf (__('Default insertion for %1$s can be configured for each block on %2$s page - selection next to <strong>Posts</strong> / <strong>Static pages</strong> checkbox.<br />', 'ad-inserter'),
|
2249 |
+
$page_name2,
|
2250 |
+
// translators: %s: Ad Inserter
|
2251 |
+
'<a href="' . admin_url ('options-general.php?page=ad-inserter.php') . '" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">' . sprintf (__('%s Settings', 'ad-inserter'), AD_INSERTER_NAME) . '</a>'),
|
2252 |
+
|
2253 |
+
__('Default value is <strong>blank</strong> and means no individual exceptions (even if previously defined here).<br />', 'ad-inserter');
|
2254 |
+
|
2255 |
+
if ($post_type == 'page')
|
2256 |
+
_ex('Set to <strong>Individually disabled</strong> or <strong>Individually enabled</strong> to enable individual exception settings on this page.<br />', 'Pages', 'ad-inserter'); else
|
2257 |
+
_ex('Set to <strong>Individually disabled</strong> or <strong>Individually enabled</strong> to enable individual exception settings on this page.<br />', 'Posts', 'ad-inserter');
|
2258 |
+
|
2259 |
+
printf (__('For more information check page %s', 'ad-inserter'),
|
2260 |
+
// translators: Ad Inserter Exceptions documentation page
|
2261 |
+
'<a href="https://adinserter.pro/documentation/individual-post-and-page-exceptions" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">Ad Inserter ' . __('Individual Exceptions', 'ad-inserter') . '</a>.</p>');
|
2262 |
}
|
2263 |
|
2264 |
function ai_save_meta_box_data_hook ($post_id) {
|
2303 |
|
2304 |
switch ($ai_wp_data [AI_WP_PAGE_TYPE]) {
|
2305 |
case AI_PT_STATIC:
|
2306 |
+
$page_type = __('STATIC PAGE', 'ad-inserter');
|
2307 |
break;
|
2308 |
case AI_PT_POST:
|
2309 |
+
$page_type = __('POST', 'ad-inserter');
|
2310 |
break;
|
2311 |
case AI_PT_HOMEPAGE:
|
2312 |
+
$page_type = __('HOMEPAGE', 'ad-inserter');
|
2313 |
break;
|
2314 |
case AI_PT_CATEGORY:
|
2315 |
+
$page_type = __('CATEGORY PAGE', 'ad-inserter');
|
2316 |
break;
|
2317 |
case AI_PT_SEARCH:
|
2318 |
+
$page_type = __('SEARCH PAGE', 'ad-inserter');
|
2319 |
break;
|
2320 |
case AI_PT_ARCHIVE:
|
2321 |
+
$page_type = __('ARCHIVE PAGE', 'ad-inserter');
|
2322 |
break;
|
2323 |
case AI_PT_404:
|
2324 |
+
$page_type = __('ERROR 404 PAGE', 'ad-inserter');
|
2325 |
break;
|
2326 |
case AI_PT_AJAX:
|
2327 |
+
$page_type = __('AJAX CALL', 'ad-inserter');
|
2328 |
break;
|
2329 |
default:
|
2330 |
+
$page_type = __('UNKNOWN PAGE TYPE', 'ad-inserter');
|
2331 |
break;
|
2332 |
}
|
2333 |
$class = AI_DEBUG_PAGE_TYPE_CLASS;
|
2344 |
|
2345 |
if (defined ('AI_ADBLOCKING_DETECTION') && AI_ADBLOCKING_DETECTION) {
|
2346 |
if ($ai_wp_data [AI_ADB_DETECTION]) {
|
2347 |
+
$title = __('Click to delete ad blocking detection cokies', 'ad-inserter');
|
2348 |
+
$status = __('AD BLOCKING STATUS UNKNOWN', 'ad-inserter');
|
2349 |
+
$page_type = "<section id='ai-adb-bar' class='".AI_DEBUG_STATUS_CLASS.' '.AI_DEBUG_ADB_CLASS."' title='$title'><span id='ai-adb-status'>$status</span></section>";
|
2350 |
}
|
2351 |
}
|
2352 |
|
2364 |
|
2365 |
function get_code_debug_block ($name, $message, $right_text, $code, $inserted_code, $javascript = false) {
|
2366 |
if (strpos ($code, 'enable_page_level_ads') !== false)
|
2367 |
+
// translators: %s: AdSense Auto Ads
|
2368 |
+
$message = sprintf (__('Code for %s detected - Code will automatically insert AdSense ads at optimal positions', 'ad-inserter') . ' ',
|
2369 |
+
'<a style="text-decoration: none; color: #fff; font-weight: bold; box-shadow: none;" href="https://adinserter.pro/documentation/adsense-ads#auto-ads" target="_blank">AdSense Auto Ads</a>');
|
2370 |
|
2371 |
$debug_script = new ai_block_labels ('ai-debug-script');
|
2372 |
$debug_block_start = $debug_script->block_start ();
|
2499 |
} else $code_for_insertion = '';
|
2500 |
echo "<script>\n";
|
2501 |
echo " jQuery(document).ready(function($) {
|
2502 |
+
$('body').prepend (\"" . get_code_debug_block (' ' . $block_name, '', __('Code for insertion', 'ad-inserter') . ' ' . strlen ($code_for_insertion) . ' ' . _n('character', 'characters', strlen ($code_for_insertion), 'ad-inserter') . ' ', $obj->ai_getCode (), $code_for_insertion, true) . "\");
|
2503 |
});
|
2504 |
</script>\n";
|
2505 |
}
|
2508 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !defined ('AI_DEBUGGING_DEMO')) {
|
2509 |
echo "<script>\n";
|
2510 |
echo " jQuery(document).ready(function($) {
|
2511 |
+
$('body').prepend (\"" . get_code_debug_block (' ' . __('Header code', 'ad-inserter') . ' ' . ($header->get_enable_manual () ? '' : ' ' . _x('DISABLED', 'Header code', 'ad-inserter')), '<head>...</head>', strlen ($header_code) . ' ' . _n('character inserted', 'characters inserted', strlen ($header_code), 'ad-inserter') . ' ', $header->ai_getCode (), $header_code, true) . "\");
|
2512 |
});
|
2513 |
</script>\n";
|
2514 |
}
|
2524 |
jQuery(document).ready(function($) {
|
2525 |
setTimeout (function() {
|
2526 |
var google_auto_placed = jQuery ('.google-auto-placed');
|
2527 |
+
google_auto_placed.before ('<section class=\"ai-debug-bar ai-debug-adsense\">",
|
2528 |
+
__('Automatically placed by AdSense Auto ads code', 'ad-inserter'),
|
2529 |
+
"</section>');
|
2530 |
}, 3000);
|
2531 |
});
|
2532 |
</script>\n";
|
2675 |
}
|
2676 |
|
2677 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
|
2678 |
+
$class_0 = AI_DEBUG_STATUS_CLASS;
|
2679 |
+
$class_1 = AI_DEBUG_PAGE_TYPE_CLASS;
|
2680 |
+
$javascript_text = "<section class='ai-js-0 $class_0'>" . __('JAVASCRIPT NOT WORKING', 'ad-inserter') . "</section><section class='ai-js-1 $class_1' style='display: none;'>" . __('JAVASCRIPT WORKING', 'ad-inserter') . "</section>";
|
2681 |
+
|
2682 |
+
echo "<script>
|
2683 |
+
jQuery(document).ready(function($) {
|
2684 |
+
$('body').prepend (\"", $javascript_text, "\");
|
2685 |
+
$('.ai-js-1').show ();
|
2686 |
+
$('.ai-js-0').hide ();
|
2687 |
+
});
|
2688 |
+
</script>\n";
|
2689 |
+
|
2690 |
echo get_page_type_debug_info () , "\n";
|
2691 |
+
echo $javascript_text , "\n";
|
2692 |
}
|
2693 |
|
2694 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !defined ('AI_DEBUGGING_DEMO')) {
|
2695 |
+
echo get_code_debug_block (' ' . __('Footer code', 'ad-inserter') . ' ' . ($footer->get_enable_manual () ? '' : ' ' . _x('DISABLED', 'Footer code', 'ad-inserter')), '...</body>', strlen ($footer_code).' ' . _n('character inserted', 'characters inserted', strlen ($footer_code), 'ad-inserter'), $footer->ai_getCode (), $footer_code);
|
2696 |
}
|
2697 |
|
2698 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
|
2784 |
(int) ($ai_db_options [AI_OPTION_GLOBAL]['VERSION'][4].$ai_db_options [AI_OPTION_GLOBAL]['VERSION'][5]);
|
2785 |
|
2786 |
echo "\n";
|
2787 |
+
echo "SETTINGS SIZE: ", strlen (serialize (get_option (AI_OPTION_NAME))), "\n";
|
2788 |
echo "SETTINGS TIMESTAMP: ";
|
2789 |
echo isset ($ai_db_options [AI_OPTION_GLOBAL]['TIMESTAMP']) ? date ("Y-m-d H:i:s", $ai_db_options [AI_OPTION_GLOBAL]['TIMESTAMP'] + get_option ('gmt_offset') * 3600) : "", "\n";
|
2790 |
|
2945 |
echo 'DYNAMIC BLOCKS: ';
|
2946 |
switch (get_dynamic_blocks()) {
|
2947 |
case AI_DYNAMIC_BLOCKS_SERVER_SIDE:
|
2948 |
+
echo AI_TEXT_ENG_SERVER_SIDE;
|
2949 |
break;
|
2950 |
case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
|
2951 |
+
echo AI_TEXT_ENG_SERVER_SIDE_W3TC;
|
2952 |
break;
|
2953 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
|
2954 |
+
echo AI_TEXT_ENG_CLIENT_SIDE_SHOW;
|
2955 |
break;
|
2956 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
|
2957 |
+
echo AI_TEXT_ENG_CLIENT_SIDE_INSERT;
|
2958 |
break;
|
2959 |
}
|
2960 |
echo "\n";
|
2961 |
echo 'PARAGRAPH COUNTING: ';
|
2962 |
switch (get_paragraph_counting_functions()) {
|
2963 |
case AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS:
|
2964 |
+
echo AI_TEXT_ENG_STANDARD;
|
2965 |
break;
|
2966 |
case AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS:
|
2967 |
+
echo AI_TEXT_ENG_MULTIBYTE;
|
2968 |
break;
|
2969 |
}
|
2970 |
echo "\n";
|
2973 |
echo 'OUTPUT BUFFERING: ';
|
2974 |
switch (get_output_buffering()) {
|
2975 |
case AI_OUTPUT_BUFFERING_DISABLED:
|
2976 |
+
echo AI_TEXT_ENG_DISABLED;
|
2977 |
break;
|
2978 |
case AI_OUTPUT_BUFFERING_ENABLED:
|
2979 |
+
echo AI_TEXT_ENG_ENABLED;
|
2980 |
break;
|
2981 |
}
|
2982 |
echo "\n";
|
2994 |
echo 'ADB ACTION: ';
|
2995 |
switch (get_adb_action ()) {
|
2996 |
case AI_ADB_ACTION_NONE:
|
2997 |
+
echo AI_TEXT_ENG_NONE;
|
2998 |
break;
|
2999 |
case AI_ADB_ACTION_MESSAGE:
|
3000 |
+
echo AI_TEXT_ENG_POPUP_MESSAGE;
|
3001 |
break;
|
3002 |
case AI_ADB_ACTION_REDIRECTION:
|
3003 |
+
echo AI_TEXT_ENG_REDIRECTION;
|
3004 |
break;
|
3005 |
}
|
3006 |
echo "\n";
|
3075 |
$default_settings = false;
|
3076 |
switch ($key) {
|
3077 |
case AI_OPTION_AUTOMATIC_INSERTION:
|
3078 |
+
$insertion_settings = $obj->get_automatic_insertion_text (false, false);
|
3079 |
break;
|
3080 |
case AI_OPTION_SERVER_SIDE_INSERTION:
|
3081 |
+
$settings .= "[" . $key . ": " . $obj->get_automatic_insertion_text (true, false) . ']';
|
3082 |
break;
|
3083 |
case AI_OPTION_ALIGNMENT_TYPE:
|
3084 |
+
$alignment_settings = $obj->get_alignment_type_text (false);
|
3085 |
break;
|
3086 |
case AI_OPTION_ENABLED_ON_WHICH_PAGES:
|
3087 |
+
$settings .= "[" . $key . ": " . $obj->get_ad_enabled_on_which_pages_text (false) . ']';
|
3088 |
break;
|
3089 |
case AI_OPTION_ENABLED_ON_WHICH_POSTS:
|
3090 |
+
$settings .= "[" . $key . ": " . $obj->get_ad_enabled_on_which_posts_text (false) . ']';
|
3091 |
+
break;
|
3092 |
+
case AI_OPTION_FILTER_TYPE:
|
3093 |
+
$settings .= "[" . $key . ": " . $obj->get_filter_type_text (false) . ']';
|
3094 |
+
break;
|
3095 |
+
case AI_OPTION_AVOID_ACTION:
|
3096 |
+
$settings .= "[" . $key . ": " . $obj->get_avoid_action_text (false) . ']';
|
3097 |
+
break;
|
3098 |
+
case AI_OPTION_AVOID_DIRECTION:
|
3099 |
+
$settings .= "[" . $key . ": " . $obj->get_avoid_direction_text (false) . ']';
|
3100 |
+
break;
|
3101 |
+
case AI_OPTION_DIRECTION_TYPE:
|
3102 |
+
$settings .= "[" . $key . ": " . $obj->get_direction_type_text (false) . ']';
|
3103 |
+
break;
|
3104 |
+
case AI_OPTION_PARAGRAPH_TEXT_TYPE:
|
3105 |
+
$settings .= "[" . $key . ": " . $obj->get_paragraph_text_type_text (false) . ']';
|
3106 |
+
break;
|
3107 |
+
case AI_OPTION_DISPLAY_FOR_USERS:
|
3108 |
+
$settings .= "[" . $key . ": " . $obj->get_display_for_users_text (false) . ']';
|
3109 |
+
break;
|
3110 |
+
case AI_OPTION_DISPLAY_FOR_DEVICES:
|
3111 |
+
$settings .= "[" . $key . ": " . $obj->get_display_for_devices_text (false) . ']';
|
3112 |
break;
|
3113 |
case AI_OPTION_PARAGRAPH_TEXT:
|
3114 |
case AI_OPTION_AVOID_TEXT_ABOVE:
|
3118 |
$settings .= "[" . $key . ": " . ai_log_filter_content (html_entity_decode ($obj->wp_options [$key])) . ']'; else
|
3119 |
$settings .= "[" . $key . ": " . $obj->wp_options [$key] . ']';
|
3120 |
break;
|
|
|
|
|
|
|
3121 |
default:
|
3122 |
$settings .= "[" . $key . ": " . $obj->wp_options [$key] . ']';
|
3123 |
break;
|
3128 |
} else
|
3129 |
switch ($key) {
|
3130 |
case AI_OPTION_AUTOMATIC_INSERTION:
|
3131 |
+
$insertion_settings = $obj->get_automatic_insertion_text (false, false);
|
3132 |
break;
|
3133 |
case AI_OPTION_ALIGNMENT_TYPE:
|
3134 |
+
$alignment_settings = $obj->get_alignment_type_text (false);
|
3135 |
break;
|
3136 |
}
|
3137 |
}
|
3308 |
echo "\n";
|
3309 |
|
3310 |
echo "PHP: ", phpversion(), "\n";
|
3311 |
+
echo "Default charset: ", ini_get ("default_charset"), "\n";
|
3312 |
echo "Memory Limit: ", ini_get ('memory_limit'), "\n";
|
3313 |
echo "Upload Max Filesize: ", ini_get ('upload_max_filesize'), "\n";
|
3314 |
echo "Post Max Size: ", ini_get ('post_max_size'), "\n";
|
3441 |
if (!isset ($plugin_options ['ADMIN_TOOLBAR_MOBILE'])) $plugin_options ['ADMIN_TOOLBAR_MOBILE'] = DEFAULT_ADMIN_TOOLBAR_MOBILE;
|
3442 |
if (!isset ($plugin_options ['FORCE_ADMIN_TOOLBAR'])) $plugin_options ['FORCE_ADMIN_TOOLBAR'] = DEFAULT_FORCE_ADMIN_TOOLBAR;
|
3443 |
if (!isset ($plugin_options ['REMOTE_DEBUGGING'])) $plugin_options ['REMOTE_DEBUGGING'] = DEFAULT_REMOTE_DEBUGGING;
|
3444 |
+
if (!isset ($plugin_options ['DISABLE_TRANSLATION'])) $plugin_options ['DISABLE_TRANSLATION'] = DEFAULT_DISABLE_TRANSLATION;
|
3445 |
if (!isset ($plugin_options ['BACKEND_JS_DEBUGGING'])) $plugin_options ['BACKEND_JS_DEBUGGING'] = DEFAULT_BACKEND_JS_DEBUGGING;
|
3446 |
if (!isset ($plugin_options ['FRONTEND_JS_DEBUGGING'])) $plugin_options ['FRONTEND_JS_DEBUGGING'] = DEFAULT_FRONTEND_JS_DEBUGGING;
|
3447 |
|
3734 |
return ($ai_db_options [AI_OPTION_GLOBAL]['REMOTE_DEBUGGING']);
|
3735 |
}
|
3736 |
|
3737 |
+
function get_disable_translation () {
|
3738 |
+
global $ai_db_options;
|
3739 |
+
|
3740 |
+
if (!isset ($ai_db_options [AI_OPTION_GLOBAL]['DISABLE_TRANSLATION'])) $ai_db_options [AI_OPTION_GLOBAL]['DISABLE_TRANSLATION'] = DEFAULT_DISABLE_TRANSLATION;
|
3741 |
+
|
3742 |
+
return ($ai_db_options [AI_OPTION_GLOBAL]['DISABLE_TRANSLATION']);
|
3743 |
+
}
|
3744 |
+
|
3745 |
function get_backend_javascript_debugging () {
|
3746 |
global $ai_db_options;
|
3747 |
|
4628 |
$used_blocks = @unserialize ($ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_USED_BLOCKS]);
|
4629 |
} else $used_blocks = false;
|
4630 |
|
4631 |
+
$obj = new ai_Block (0); // translators: block name (block with default settings)
|
4632 |
+
$obj->wp_options [AI_OPTION_BLOCK_NAME] = _x('Default', 'Block name', 'ad-inserter');
|
4633 |
$block_object [0] = $obj;
|
4634 |
|
4635 |
for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
|
4760 |
|
4761 |
$styles = array ();
|
4762 |
|
4763 |
+
$styles [AI_ALIGNMENT_DEFAULT] = array (AI_TEXT_ENG_DEFAULT, get_main_alignment_css (AI_ALIGNMENT_CSS_DEFAULT));
|
4764 |
+
$styles [AI_ALIGNMENT_LEFT] = array (AI_TEXT_ENG_LEFT, get_main_alignment_css (AI_ALIGNMENT_CSS_LEFT));
|
4765 |
+
$styles [AI_ALIGNMENT_RIGHT] = array (AI_TEXT_ENG_RIGHT, get_main_alignment_css (AI_ALIGNMENT_CSS_RIGHT));
|
4766 |
+
$styles [AI_ALIGNMENT_CENTER] = array (AI_TEXT_ENG_CENTER, get_main_alignment_css (AI_ALIGNMENT_CSS_CENTER));
|
4767 |
+
$styles [AI_ALIGNMENT_FLOAT_LEFT] = array (AI_TEXT_ENG_FLOAT_LEFT, get_main_alignment_css (AI_ALIGNMENT_CSS_FLOAT_LEFT));
|
4768 |
+
$styles [AI_ALIGNMENT_FLOAT_RIGHT] = array (AI_TEXT_ENG_FLOAT_RIGHT, get_main_alignment_css (AI_ALIGNMENT_CSS_FLOAT_RIGHT));
|
4769 |
|
4770 |
if (function_exists ('generate_alignment_css_2')) $styles = array_replace ($styles, generate_alignment_css_2 ());
|
4771 |
|
4823 |
.ai-debug-status {clear: both; text-align: center; padding: 10px 0; font-family: arial; font-weight: bold; border: 1px solid red; color: red; background: #fee;}
|
4824 |
.ai-debug-adb {opacity: 0.85; cursor: pointer;}
|
4825 |
.ai-debug-widget {margin: 0; padding: 0 5px; font-size: 10px; white-space: pre; overflow-x: auto; overflow-y: hidden;}
|
4826 |
+
a.ai-debug-left {float: left; cursor: default; font-size: 10px; text-decoration: none; color: transparent; padding: 0px 10px 0 0; border: 0; box-shadow: none;}
|
4827 |
+
a.ai-debug-right {float: right; cursor: default; font-size: 10px; text-decoration: none; color: #88f; padding: 0px 10px 0 0; border: 0; box-shadow: none;}
|
4828 |
+
a.ai-debug-center {text-align: center; cursor: default; font-size: 10px; text-decoration: none; color: white; padding: 0px 10px 0 0; border: 0; box-shadow: none;}
|
4829 |
.ai-debug-invisible {display: none;}
|
4830 |
.ai-debug-content-hook-positions {color: blue;}
|
4831 |
.ai-debug-removed-html-tags {color: red;}
|
4901 |
|
4902 |
.ai-debug-block pre {margin: 0; padding: 2px 5px 2px; line-height: 14px;}
|
4903 |
|
4904 |
+
.ai-debug-visibility-hidden {visibility: hidden}
|
4905 |
+
|
4906 |
+
.ai-debug-display-none {display: none}
|
4907 |
|
4908 |
<?php
|
4909 |
}
|
5145 |
if (isset ($_POST ['admin_toolbar_debugging'])) $options ['ADMIN_TOOLBAR_DEBUGGING'] = filter_option ('ADMIN_TOOLBAR_DEBUGGING', $_POST ['admin_toolbar_debugging']);
|
5146 |
if (isset ($_POST ['admin_toolbar_mobile'])) $options ['ADMIN_TOOLBAR_MOBILE'] = filter_option ('ADMIN_TOOLBAR_MOBILE', $_POST ['admin_toolbar_mobile']);
|
5147 |
if (isset ($_POST ['remote_debugging'])) $options ['REMOTE_DEBUGGING'] = filter_option ('REMOTE_DEBUGGING', $_POST ['remote_debugging']);
|
5148 |
+
if (isset ($_POST ['disable_translation'])) $options ['DISABLE_TRANSLATION'] = filter_option ('DISABLE_TRANSLATION', $_POST ['disable_translation']);
|
5149 |
if (isset ($_POST ['backend_js_debugging'])) $options ['BACKEND_JS_DEBUGGING'] = filter_option ('BACKEND_JS_DEBUGGING', $_POST ['backend_js_debugging']);
|
5150 |
if (isset ($_POST ['frontend_js_debugging'])) $options ['FRONTEND_JS_DEBUGGING'] = filter_option ('FRONTEND_JS_DEBUGGING', $_POST ['frontend_js_debugging']);
|
5151 |
|
5168 |
}
|
5169 |
|
5170 |
if (!empty ($invalid_blocks)) {
|
5171 |
+
if ($invalid_blocks [0] == 0) { // translators: %s: Ad Inserter
|
5172 |
+
echo '<div class="error" style="margin: 5px 15px 2px 0px; padding: 10px;">', sprintf (__('Error importing %s settings.', 'ad-inserter'), AD_INSERTER_NAME), '</div>';
|
5173 |
+
} else echo '<div class="error" style="margin: 5px 15px 2px 0px; padding: 10px;">', _n('Error importing settings for block', 'Error importing settings for blocks:', count ($invalid_blocks), 'ad-inserter') , ' ', implode (', ', $invalid_blocks), '.</div>';
|
5174 |
}
|
5175 |
|
5176 |
// Generate and save extract
|
5219 |
delete_option (str_replace ("#", "Footer", AD_ADx_OPTIONS));
|
5220 |
delete_option (AD_OPTIONS);
|
5221 |
|
5222 |
+
echo '<div class="notice notice-success is-dismissible" style="margin: 5px 15px 2px 0px;"><p><strong>' . __('Settings saved.', 'ad-inserter') . '</strong></p></div>';
|
5223 |
} elseif (isset ($_POST [AI_FORM_CLEAR])) {
|
5224 |
|
5225 |
check_admin_referer ('save_adinserter_settings');
|
5304 |
|
5305 |
if (function_exists ('ai_load_globals')) ai_load_globals ();
|
5306 |
|
5307 |
+
echo '<div class="notice notice-warning is-dismissible" style="margin: 5px 15px 2px 0px;"><p><strong>' . __('Settings cleared.', 'ad-inserter') . '</strong></p></div>';
|
5308 |
} elseif (isset ($_POST [AI_FORM_CLEAR_EXCEPTIONS])) {
|
5309 |
if (ai_current_user_role_ok () && (!is_multisite() || is_main_site () || multisite_exceptions_enabled ())) {
|
5310 |
|
5476 |
} else $ad_inserter_globals [$globals_name] ++;
|
5477 |
|
5478 |
if ($debug_processing) {
|
5479 |
+
ai_log ("CONTENT HOOK START [" . $ad_inserter_globals [$globals_name] . (in_the_loop () ? ', IN THE LOOP' : ', NOT IN THE LOOP') . ']');
|
5480 |
$start_time = microtime (true);
|
5481 |
}
|
5482 |
|
5631 |
$content = $preview->after_paragraph ($content, true);
|
5632 |
}
|
5633 |
|
5634 |
+
if (preg_match_all ("/\[\[AI_BP([\d]+?)=([\d]+?)\]\]/", $content, $matches)) {
|
5635 |
+
foreach ($matches [0] as $index => $match) {
|
5636 |
+
$content = str_replace ($match,
|
5637 |
+
"<section class='$class'><a href='#' class='ai-debug-left ai-debug-visibility-hidden'><span class='ai-debug-display-none'>[(]</span>" . $matches [2][$index] . " " . _n('word', 'words', $matches [2][$index], 'ad-inserter') . '<span class="ai-debug-display-none">[)]</span></a>' .
|
5638 |
+
mb_strtoupper (AI_TEXT_BEFORE_PARAGRAPH) . ' ' . $matches [1][$index] .
|
5639 |
+
"<a href='#' class='ai-debug-right'><span class='ai-debug-display-none'>[(]</span>" . $matches [2][$index] . ' ' . _n('word', 'words', $matches [2][$index], 'ad-inserter') . '<span class="ai-debug-display-none">[)]</span></a></section>',
|
5640 |
+
$content);
|
5641 |
+
}
|
5642 |
+
}
|
5643 |
+
|
5644 |
+
// $content = preg_replace ("/\[\[AI_BP([\d]+?)=([\d]+?)\]\]/", "<section class='$class'><a class='ai-debug-left' style='visibility: hidden;'><span style='display: none'>[(]</span>$2 " . __('words', 'ad-inserter') . '[)]</a>' . mb_strtoupper (AI_TEXT_BEFORE_PARAGRAPH) . " $1<a class='ai-debug-right'><span style='display: none'>[(]</span>$2 " . __('word', 'words', 'ad-inserter') . '<span style="display: none">[)]</span></a></section>', $content);
|
5645 |
+
$content = preg_replace ("/\[\[AI_AP([\d]+?)\]\]/", "<section class='$class'>" . mb_strtoupper (AI_TEXT_AFTER_PARAGRAPH) . " $1</section>", $content);
|
5646 |
|
5647 |
$counter = $ad_inserter_globals [$globals_name];
|
5648 |
if ($counter == 1) $counter = '';
|
5649 |
|
5650 |
+
$content = "<section class='$class'><a href='#' class='ai-debug-left ai-debug-visibility-hidden'><span class='ai-debug-display-none'>[(]</span>".$content_words . ' ' . _n('word', 'words', $content_words, 'ad-inserter') . '</a> ' . mb_strtoupper (AI_TEXT_BEFORE_CONTENT) . ' '.$counter."<a href='#' class='ai-debug-right'>".$content_words.' ' . _n('word', 'words', $content_words, 'ad-inserter') . '<span class="ai-debug-display-none">[)]</span></a></section>'. $content;
|
5651 |
|
5652 |
if ($ai_wp_data [AI_WP_AMP_PAGE]) {
|
5653 |
$content = get_page_type_debug_info ('AMP ') . $content;
|
5654 |
}
|
5655 |
|
5656 |
+
$content = $content . "<section class='$class'>" . mb_strtoupper (AI_TEXT_AFTER_CONTENT) . ' '.$counter."</section>";
|
5657 |
|
5658 |
$content = $content . get_page_type_debug_info ();
|
5659 |
|
5663 |
}
|
5664 |
|
5665 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_TAGS) != 0) {
|
5666 |
+
$content = '<kbd class="ai-debug-invisible">[' . __('HTML TAGS REMOVED', 'ad-inserter') . ']</kbd>' . $content;
|
5667 |
}
|
5668 |
|
5669 |
if ($debug_processing) {
|
5753 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
|
5754 |
$class = AI_DEBUG_POSITIONS_CLASS;
|
5755 |
|
5756 |
+
$content = "<section class='$class'>" . mb_strtoupper (AI_TEXT_BEFORE_EXCERPT) . ' ' . $ad_inserter_globals [$globals_name]."</section>". $content . "<section class='$class'>" . mb_strtoupper (AI_TEXT_AFTER_EXCERPT) . ' ' .$ad_inserter_globals [$globals_name]."</section>";
|
5757 |
+
|
5758 |
+
|
5759 |
+
// Remove word counts
|
5760 |
+
$content = preg_replace ("/\[\(\](.+?)\[\)\]/", "", $content);
|
5761 |
+
$content = preg_replace ("/\[\(\].*/", "", $content);
|
5762 |
|
5763 |
// Color positions from the content hook
|
5764 |
+
// $content = preg_replace ("/((BEFORE|AFTER) (CONTENT|PARAGRAPH) ?[\d]*)/", "<span class='ai-debug-content-hook-positions'> [$1] </span>", $content);
|
5765 |
+
$content = preg_replace ("/(" . mb_strtoupper (AI_TEXT_BEFORE_CONTENT) . " ?[\d]*)/", "<span class='ai-debug-content-hook-positions'> [$1] </span>", $content);
|
5766 |
+
$content = preg_replace ("/(" . mb_strtoupper (AI_TEXT_AFTER_CONTENT) . " ?[\d]*)/", "<span class='ai-debug-content-hook-positions'> [$1] </span>", $content);
|
5767 |
+
$content = preg_replace ("/(" . mb_strtoupper (AI_TEXT_BEFORE_PARAGRAPH) . " ?[\d]*)/", "<span class='ai-debug-content-hook-positions'> [$1] </span>", $content);
|
5768 |
+
$content = preg_replace ("/(" . mb_strtoupper (AI_TEXT_AFTER_PARAGRAPH) . " ?[\d]*)/", "<span class='ai-debug-content-hook-positions'> [$1] </span>", $content);
|
5769 |
}
|
5770 |
|
5771 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_TAGS) != 0) {
|
5773 |
$content = preg_replace ("/<(.+?)>/", "", $content);
|
5774 |
|
5775 |
// Color text to mark removed HTML tags
|
5776 |
+
$content = str_replace ('[' . __('HTML TAGS REMOVED', 'ad-inserter') . ']', '<span class="ai-debug-removed-html-tags">[' . __('HTML TAGS REMOVED', 'ad-inserter') . ']</span>', $content);
|
5777 |
}
|
5778 |
|
5779 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
|
5847 |
$class = AI_DEBUG_POSITIONS_CLASS;
|
5848 |
|
5849 |
echo "<$tag>\n";
|
5850 |
+
echo "<section class='$class'>" . __('BEFORE COMMENTS', 'ad-inserter') . '</section>';
|
5851 |
echo "</$tag>\n";
|
5852 |
}
|
5853 |
|
5954 |
$class = AI_DEBUG_POSITIONS_CLASS;
|
5955 |
|
5956 |
echo "<$tag>\n";
|
5957 |
+
echo "<section class='$class'>" . __('AFTER COMMENTS', 'ad-inserter') . '</section>';
|
5958 |
echo "</$tag>\n";
|
5959 |
}
|
5960 |
|
6018 |
$class = AI_DEBUG_POSITIONS_CLASS;
|
6019 |
|
6020 |
echo "<$tag>\n";
|
6021 |
+
echo "<section class='$class'>" . __('BETWEEN COMMENTS', 'ad-inserter') . ' ' . $ad_inserter_globals [AI_COMMENT_COUNTER_NAME]."</section>";
|
6022 |
echo "</$tag>\n";
|
6023 |
}
|
6024 |
|
6089 |
$debug_processing = ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0;
|
6090 |
|
6091 |
if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_ADMIN) return;
|
6092 |
+
if (is_admin()) return;
|
6093 |
|
6094 |
$ai_wp_data [AI_CONTEXT] = AI_CONTEXT_NONE;
|
6095 |
|
6097 |
if (!call_user_func ($hook_check, $hook_parameter, $action)) return;
|
6098 |
}
|
6099 |
|
6100 |
+
$hook_name = mb_strtoupper ($name);
|
6101 |
|
6102 |
if ($debug_processing) {
|
6103 |
ai_log (str_replace (array ('<', '>'), array ('<', '>'), $hook_name) . " HOOK START");
|
6151 |
if ($obj->get_disable_insertion ()) continue;
|
6152 |
|
6153 |
// Last check before counter check before insertion
|
|
|
|
|
6154 |
if ($obj->empty_code ()) continue;
|
6155 |
|
6156 |
$max_page_blocks_enabled = $obj->get_max_page_blocks_enabled ();
|
6166 |
if ($max_page_blocks_enabled) $ai_wp_data [AI_PAGE_BLOCKS] ++;
|
6167 |
|
6168 |
$ai_last_check = AI_CHECK_DEBUG_NO_INSERTION;
|
|
|
6169 |
if (!$obj->get_debug_disable_insertion ()) {
|
6170 |
$ad_code .= $obj->get_code_for_serverside_insertion ();
|
6171 |
$ai_last_check = AI_CHECK_INSERTED;
|
6741 |
function check_url_parameter_cookie_list ($list, $white_list, $parameters, &$found) {
|
6742 |
$parameter_list = trim ($list);
|
6743 |
$return = $white_list;
|
6744 |
+
$found = false;
|
6745 |
|
6746 |
if ($parameter_list == AD_EMPTY_DATA || count ($parameters) == 0) {
|
6747 |
return !$return;
|
6748 |
}
|
6749 |
|
6750 |
+
$found = true;
|
6751 |
+
|
6752 |
foreach ($parameters as $index => $parameter) {
|
6753 |
if (is_string ($parameter)) {
|
6754 |
$parameters [$index] = urlencode ($parameter);
|
6984 |
$ai_total_php_time = 0;
|
6985 |
$ai_last_time = microtime (true);
|
6986 |
$ai_processing_log = array ();
|
6987 |
+
ai_log ('INITIALIZATION START');
|
6988 |
}
|
6989 |
}
|
6990 |
}
|
6993 |
global $wp_version, $version_string;
|
6994 |
|
6995 |
if (version_compare ($wp_version, "4.0", "<")) {
|
6996 |
+
exit ('Ad Inserter ' . __('requires WordPress 4.0 or newer', 'ad-inserter') . '. <a href="http://codex.wordpress.org/Upgrading_WordPress" target=_blank">'. __('Please update!', 'ad-inserter') . '</a>');
|
6997 |
}
|
6998 |
|
6999 |
//include required files
|
7117 |
define ('AI_SYNTAX_HIGHLIGHTING', isset ($_POST ["syntax-highlighter-theme"]) && $_POST ["syntax-highlighter-theme"] != AI_OPTION_DISABLED); else
|
7118 |
define ('AI_SYNTAX_HIGHLIGHTING', get_syntax_highlighter_theme () != AI_OPTION_DISABLED);
|
7119 |
|
7120 |
+
if (isset ($_POST [AI_FORM_SAVE])) {
|
7121 |
+
$ai_wp_data [AI_DISABLE_TRANSLATION] = isset ($_POST ['disable_translation']) ? $_POST ['disable_translation'] : DEFAULT_DISABLE_TRANSLATION;
|
7122 |
+
} else $ai_wp_data [AI_DISABLE_TRANSLATION] = get_disable_translation ();
|
7123 |
+
|
7124 |
+
if (!$ai_wp_data [AI_DISABLE_TRANSLATION]) {
|
7125 |
+
add_action ('plugins_loaded', 'ai_load_plugin_textdomain_hook');
|
7126 |
+
}
|
7127 |
|
7128 |
+
add_action ('init', 'ai_init_hook');
|
7129 |
add_action ('wp_loaded', 'ai_wp_loaded_hook');
|
7130 |
add_action ('admin_menu', 'ai_admin_menu_hook');
|
|
|
7131 |
add_action ('admin_notices', 'ai_admin_notice_hook');
|
7132 |
add_action ('wp', 'ai_wp_hook');
|
7133 |
add_action ('wp_enqueue_scripts', 'ai_wp_enqueue_scripts_hook' );
|
7185 |
}
|
7186 |
|
7187 |
function ai_notice_text ($text) {
|
7188 |
+
$text =
|
7189 |
+
// translators: Opt-in message: Thank you for installing Ad Inserter (plugin name with HTML tags will be added)
|
7190 |
+
__("Thank you for installing", 'ad-inserter') . ' [STRONG][NAME][/STRONG]. ' .
|
7191 |
+
// translators: Opt-in message: %s: HTML tags
|
7192 |
+
sprintf (__("We would like to %s track its usage %s on your site. This is completely optional and can be disabled at any time.", 'ad-inserter'),
|
7193 |
+
'<a href="https://wordpress.org/plugins/ad-inserter/#what%20is%20plugin%20usage%20tracking%3F" target=_blank" style="text-decoration: none; box-shadow: 0 0 0;">', '</a>') . '[P]' .
|
7194 |
+
__("We don't record any sensitive data, only information regarding the WordPress environment and plugin usage, which will help us to make improvements to the plugin.", 'ad-inserter');
|
7195 |
|
7196 |
return $text;
|
7197 |
}
|
7227 |
function ai_dst_form_text ($form) {
|
7228 |
$form ['body'] =
|
7229 |
'</p>' .
|
7230 |
+
// translators: Deactivation message: %s: HTML tags
|
7231 |
+
sprintf (__("Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let us know %s and we'll try to help you.", 'ad-inserter'),
|
7232 |
+
'<a href="https://adinserter.pro/documentation" target="_blank" style="text-decoration: none; box-shadow: 0 0 0;">', '</a>',
|
7233 |
+
'<a href="https://adinserter.pro/documentation/common-settings" target="_blank" style="text-decoration: none; box-shadow: 0 0 0;">', '</a>',
|
7234 |
+
'<a href="https://adinserter.pro/documentation/quick-start" target="_blank" style="text-decoration: none; box-shadow: 0 0 0;">', '</a>',
|
7235 |
+
'<a href="https://adinserter.pro/documentation/adsense-ads" target="_blank" style="text-decoration: none; box-shadow: 0 0 0;">', '</a>',
|
7236 |
+
'<a href="https://adinserter.pro/contact#help" target="_blank" style="text-decoration: none; box-shadow: 0 0 0;">', '</a>') .
|
7237 |
'<hr /><p>' .
|
7238 |
$form ['body'];
|
7239 |
return ($form);
|
7263 |
AD_INSERTER_NAME, // Name
|
7264 |
array ( // Args
|
7265 |
'classname' => 'ai_widget',
|
7266 |
+
// translators: %s: Ad Inserter
|
7267 |
+
'description' => sprintf (__('%s block.', 'ad-inserter'), AD_INSERTER_NAME)
|
7268 |
+
)
|
7269 |
);
|
7270 |
}
|
7271 |
|
7279 |
if ($block > AD_INSERTER_BLOCKS) $block = 1;
|
7280 |
$sticky = isset ($instance ['sticky']) ? $instance ['sticky'] : 0;
|
7281 |
|
7282 |
+
// translators: widget title
|
7283 |
+
if ($block == 0) $title = __('Processing log', 'ad-inserter');
|
7284 |
+
// translators: widget title
|
7285 |
+
elseif ($block == - 1) $title = __('Dummy widget', 'ad-inserter');
|
7286 |
+
// translators: widget title
|
7287 |
+
elseif ($block == - 2) $title = __('Debugging tools', 'ad-inserter');
|
7288 |
elseif ($block >= 1) {
|
7289 |
$obj = $block_object [$block];
|
7290 |
|
7291 |
$title = '[' . $block . '] ' . $obj->get_ad_name();
|
7292 |
if (!empty ($widget_title)) $title .= ' - ' . $widget_title;
|
7293 |
+
// translators: block status (widget title)
|
7294 |
+
if ($obj->get_disable_insertion ()) $title .= ' - ' . _x('PAUSED', 'block', 'ad-inserter') . ' ';
|
7295 |
+
if (!$obj->get_enable_widget ()) $title .= ' - ' . __('WIDGET DISABLED', 'ad-inserter');
|
7296 |
+
} else $title = __('Unknown block', 'ad-inserter');
|
7297 |
|
7298 |
$url_parameters = "";
|
7299 |
if (function_exists ('ai_settings_url_parameters')) $url_parameters = ai_settings_url_parameters ($block);
|
7302 |
<input id="<?php echo $this->get_field_id ('title'); ?>" name="<?php echo $this->get_field_name ('title'); ?>" type="hidden" value="<?php echo esc_attr ($title); ?>">
|
7303 |
|
7304 |
<p>
|
7305 |
+
<label for="<?php echo $this->get_field_id ('widget-title'); ?>"><?php _e('Title', 'ad-inserter'); ?>: </label>
|
7306 |
+
<input id="<?php echo $this->get_field_id ('widget-title'); ?>" name="<?php echo $this->get_field_name ('widget-title'); ?>" type="text" value="<?php echo esc_attr ($widget_title); ?>" style="width: 100%;">
|
7307 |
</p>
|
7308 |
|
7309 |
<p>
|
7310 |
+
<label for="<?php echo $this->get_field_id ('block'); ?>"><a href='<?php echo admin_url ('options-general.php?page=ad-inserter.php'), $url_parameters, "&tab=", $block; ?>' title='Click for block settings' style='text-decoration: none;'><?php _e('Block', 'ad-inserter'); ?></a>:</label>
|
7311 |
+
<select id="<?php echo $this->get_field_id ('block'); ?>" name="<?php echo $this->get_field_name('block'); ?>" style="width: 100%;">
|
7312 |
<?php
|
7313 |
for ($block_index = 1; $block_index <= AD_INSERTER_BLOCKS; $block_index ++) {
|
7314 |
$obj = $block_object [$block_index];
|
7315 |
?>
|
7316 |
<option value='<?php echo $block_index; ?>' <?php if ($block_index == $block) echo 'selected="selected"'; ?>><?php echo $block_index, ' - ', $obj->get_ad_name(), $obj->get_disable_insertion () ? ' - PAUSED' : ''; ?></option>
|
7317 |
<?php } ?>
|
7318 |
+
<option value='-2' <?php if ($block == - 2) echo 'selected="selected"'; ?>><?php _e('Debugging tools', 'ad-inserter'); ?></option>
|
7319 |
+
<option value='0' <?php if ($block == 0) echo 'selected="selected"'; ?>><?php _e('Processing log', 'ad-inserter'); ?></option>
|
7320 |
+
<option value='-1' <?php if ($block == - 1) echo 'selected="selected"'; ?>><?php _e('Dummy widget', 'ad-inserter'); ?></option>
|
7321 |
</select>
|
7322 |
</p>
|
7323 |
|
7324 |
<p>
|
7325 |
<input type="hidden" name='<?php echo $this->get_field_name ('sticky'); ?>' value="0" />
|
7326 |
<input type='checkbox' id='<?php echo $this->get_field_id ('sticky'); ?>' name='<?php echo $this->get_field_name ('sticky'); ?>' value='1' <?php if ($sticky) echo 'checked '; ?>>
|
7327 |
+
<label for='<?php echo $this->get_field_id ('sticky'); ?>'><?php _ex('Sticky', 'Widget', 'ad-inserter'); ?></label>
|
7328 |
</p>
|
7329 |
<?php
|
7330 |
}
|
7334 |
$instance = $old_instance;
|
7335 |
|
7336 |
$instance ['widget-title'] = (!empty ($new_instance ['widget-title'])) ? strip_tags ($new_instance ['widget-title']) : '';
|
|
|
7337 |
$instance ['title'] = (!empty ($new_instance ['title'])) ? ($new_instance ['title']) : '';
|
7338 |
$instance ['block'] = (isset ($new_instance ['block'])) ? $new_instance ['block'] : 1;
|
7339 |
$instance ['sticky'] = (isset ($new_instance ['sticky'])) ? $new_instance ['sticky'] : 0;
|
7373 |
<img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-50x50.jpg" style="width: 50px; margin: 5px 10px 0px 10px;" />
|
7374 |
</div>
|
7375 |
<div class="ai-notice-element" style="width: 100%; padding: 0 10px 0;">
|
7376 |
+
<p><?php _e("Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad Inserter you need to first deactivate Ad Inserter Pro.", 'ad-inserter'); ?></p>
|
7377 |
+
<p><?php _e("<strong>WARNING</strong>: Please note that saving settings in Ad Inserter will clear all settings that are available only in the Pro version (blocks 17 - 96, additional block and plugin settings)!", 'ad-inserter'); ?></p>
|
7378 |
</div>
|
7379 |
</div>
|
7380 |
<?php
|
class.php
CHANGED
@@ -49,7 +49,7 @@ abstract class ai_BaseCodeBlock {
|
|
49 |
$this->wp_options [AI_OPTION_ENABLE_AMP] = AI_DISABLED;
|
50 |
$this->wp_options [AI_OPTION_ENABLE_404] = AI_DISABLED;
|
51 |
$this->wp_options [AI_OPTION_DETECT_SERVER_SIDE] = AI_DISABLED;
|
52 |
-
$this->wp_options [AI_OPTION_DISPLAY_FOR_DEVICES] =
|
53 |
}
|
54 |
|
55 |
public function load_options ($block) {
|
@@ -290,7 +290,7 @@ abstract class ai_BaseCodeBlock {
|
|
290 |
// Fix for AMP code blocks with url white-list */amp
|
291 |
$urls = $this->get_ad_url_list();
|
292 |
$url_type = $this->get_ad_url_list_type();
|
293 |
-
if ($url_type ==
|
294 |
$enable_amp = true;
|
295 |
}
|
296 |
// Fix for code blocks using PHP function is_amp_endpoint
|
@@ -316,11 +316,13 @@ abstract class ai_BaseCodeBlock {
|
|
316 |
public function get_detection_server_side(){
|
317 |
// Check old settings for all devices
|
318 |
if (isset ($this->wp_options [AI_OPTION_DISPLAY_FOR_DEVICES])) {
|
319 |
-
|
320 |
} else $display_for_devices = '';
|
321 |
-
|
|
|
322 |
|
323 |
$option = isset ($this->wp_options [AI_OPTION_DETECT_SERVER_SIDE]) ? $this->wp_options [AI_OPTION_DETECT_SERVER_SIDE] : AI_DISABLED;
|
|
|
324 |
return $option;
|
325 |
}
|
326 |
|
@@ -331,28 +333,66 @@ abstract class ai_BaseCodeBlock {
|
|
331 |
$display_for_devices = $this->get_display_for_devices ();
|
332 |
|
333 |
$ai_last_check = AI_CHECK_DESKTOP_DEVICES;
|
334 |
-
if ($display_for_devices ==
|
335 |
$ai_last_check = AI_CHECK_MOBILE_DEVICES;
|
336 |
-
if ($display_for_devices ==
|
337 |
$ai_last_check = AI_CHECK_TABLET_DEVICES;
|
338 |
-
if ($display_for_devices ==
|
339 |
$ai_last_check = AI_CHECK_PHONE_DEVICES;
|
340 |
-
if ($display_for_devices ==
|
341 |
$ai_last_check = AI_CHECK_DESKTOP_TABLET_DEVICES;
|
342 |
-
if ($display_for_devices ==
|
343 |
$ai_last_check = AI_CHECK_DESKTOP_PHONE_DEVICES;
|
344 |
-
if ($display_for_devices ==
|
345 |
}
|
346 |
return true;
|
347 |
}
|
348 |
|
349 |
-
public function get_display_for_devices (){
|
350 |
-
|
351 |
-
$display_for_devices = $this->wp_options [AI_OPTION_DISPLAY_FOR_DEVICES];
|
352 |
-
} else $display_for_devices = '';
|
353 |
// convert old option
|
354 |
-
if ($
|
355 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
356 |
}
|
357 |
|
358 |
public function get_debug_disable_insertion (){
|
@@ -404,7 +444,8 @@ abstract class ai_BaseCodeBlock {
|
|
404 |
try {
|
405 |
eval ("?>". $code . "<?php ");
|
406 |
} catch (Exception $e) {
|
407 |
-
|
|
|
408 |
}
|
409 |
|
410 |
$processed_code = ob_get_clean ();
|
@@ -412,9 +453,11 @@ abstract class ai_BaseCodeBlock {
|
|
412 |
if (strpos ($processed_code, __FILE__) || $php_error != "") {
|
413 |
|
414 |
if (preg_match ("%(.+) in ".__FILE__."%", strip_tags($processed_code), $error_message))
|
415 |
-
|
|
|
416 |
elseif (preg_match ("%(.+) in ".__FILE__."%", $php_error, $error_message))
|
417 |
-
|
|
|
418 |
|
419 |
else $code = $processed_code;
|
420 |
} else $code = $processed_code;
|
@@ -437,7 +480,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
437 |
|
438 |
parent::__construct();
|
439 |
|
440 |
-
$this->wp_options [AI_OPTION_BLOCK_NAME] =
|
441 |
$this->wp_options [AI_OPTION_DISABLE_INSERTION] = AI_DISABLED;
|
442 |
$this->wp_options [AI_OPTION_SHOW_LABEL] = AI_DISABLED;
|
443 |
$this->wp_options [AI_OPTION_LAZY_LOADING] = AI_DISABLED;
|
@@ -460,13 +503,13 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
460 |
$this->wp_options [AI_OPTION_AVOID_PARAGRAPHS_BELOW] = AD_EMPTY_DATA;
|
461 |
$this->wp_options [AI_OPTION_AVOID_TEXT_ABOVE] = AD_EMPTY_DATA;
|
462 |
$this->wp_options [AI_OPTION_AVOID_TEXT_BELOW] = AD_EMPTY_DATA;
|
463 |
-
$this->wp_options [AI_OPTION_AVOID_ACTION] =
|
464 |
$this->wp_options [AI_OPTION_AVOID_TRY_LIMIT] = AD_ONE;
|
465 |
-
$this->wp_options [AI_OPTION_AVOID_DIRECTION] =
|
466 |
$this->wp_options [AI_OPTION_EXCERPT_NUMBER] = AD_EMPTY_DATA;
|
467 |
$this->wp_options [AI_OPTION_FILTER_TYPE] = AI_FILTER_AUTO;
|
468 |
$this->wp_options [AI_OPTION_INVERTED_FILTER] = AI_DISABLED;
|
469 |
-
$this->wp_options [AI_OPTION_DIRECTION_TYPE] =
|
470 |
$this->wp_options [AI_OPTION_ALIGNMENT_TYPE] = AI_ALIGNMENT_DEFAULT;
|
471 |
|
472 |
if (defined ('AI_STICKY_SETTINGS') && AI_STICKY_SETTINGS) {
|
@@ -481,7 +524,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
481 |
$this->wp_options [AI_OPTION_ANIMATION_TRIGGER_DELAY] = DEFAULT_ANIMATION_TRIGGER_DELAY;
|
482 |
$this->wp_options [AI_OPTION_ANIMATION_TRIGGER_ONCE] = DEFAULT_ANIMATION_TRIGGER_ONCE;
|
483 |
}
|
484 |
-
$this->wp_options [AI_OPTION_GENERAL_TAG] =
|
485 |
$this->wp_options [AI_OPTION_SCHEDULING] = AI_SCHEDULING_OFF;
|
486 |
$this->wp_options [AI_OPTION_AFTER_DAYS] = AD_EMPTY_DATA;
|
487 |
$this->wp_options [AI_OPTION_START_DATE] = AD_EMPTY_DATA;
|
@@ -491,23 +534,23 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
491 |
$this->wp_options [AI_OPTION_ADB_BLOCK_REPLACEMENT] = AD_EMPTY_DATA;
|
492 |
$this->wp_options [AI_OPTION_MAXIMUM_INSERTIONS] = AD_EMPTY_DATA;
|
493 |
$this->wp_options [AI_OPTION_ID_LIST] = AD_EMPTY_DATA;
|
494 |
-
$this->wp_options [AI_OPTION_ID_LIST_TYPE] =
|
495 |
$this->wp_options [AI_OPTION_URL_LIST] = AD_EMPTY_DATA;
|
496 |
-
$this->wp_options [AI_OPTION_URL_LIST_TYPE] =
|
497 |
$this->wp_options [AI_OPTION_URL_PARAMETER_LIST] = AD_EMPTY_DATA;
|
498 |
-
$this->wp_options [AI_OPTION_URL_PARAMETER_LIST_TYPE] =
|
499 |
$this->wp_options [AI_OPTION_DOMAIN_LIST] = AD_EMPTY_DATA;
|
500 |
-
$this->wp_options [AI_OPTION_DOMAIN_LIST_TYPE] =
|
501 |
$this->wp_options [AI_OPTION_IP_ADDRESS_LIST] = AD_EMPTY_DATA;
|
502 |
-
$this->wp_options [AI_OPTION_IP_ADDRESS_LIST_TYPE] =
|
503 |
$this->wp_options [AI_OPTION_COUNTRY_LIST] = AD_EMPTY_DATA;
|
504 |
-
$this->wp_options [AI_OPTION_COUNTRY_LIST_TYPE] =
|
505 |
$this->wp_options [AI_OPTION_CATEGORY_LIST] = AD_EMPTY_DATA;
|
506 |
-
$this->wp_options [AI_OPTION_CATEGORY_LIST_TYPE] =
|
507 |
$this->wp_options [AI_OPTION_TAG_LIST] = AD_EMPTY_DATA;
|
508 |
-
$this->wp_options [AI_OPTION_TAG_LIST_TYPE] =
|
509 |
$this->wp_options [AI_OPTION_TAXONOMY_LIST] = AD_EMPTY_DATA;
|
510 |
-
$this->wp_options [AI_OPTION_TAXONOMY_LIST_TYPE] =
|
511 |
$this->wp_options [AI_OPTION_DISPLAY_ON_POSTS] = AI_ENABLED;
|
512 |
$this->wp_options [AI_OPTION_DISPLAY_ON_PAGES] = AI_DISABLED;
|
513 |
$this->wp_options [AI_OPTION_DISPLAY_ON_HOMEPAGE] = AI_DISABLED;
|
@@ -524,9 +567,9 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
524 |
$this->wp_options [AI_OPTION_ENABLE_PHP_CALL] = AI_DISABLED;
|
525 |
$this->wp_options [AI_OPTION_ENABLE_WIDGET] = AI_ENABLED;
|
526 |
$this->wp_options [AI_OPTION_PARAGRAPH_TEXT] = AD_EMPTY_DATA;
|
527 |
-
$this->wp_options [AI_OPTION_PARAGRAPH_TEXT_TYPE] =
|
528 |
$this->wp_options [AI_OPTION_CUSTOM_CSS] = AD_EMPTY_DATA;
|
529 |
-
$this->wp_options [AI_OPTION_DISPLAY_FOR_USERS] =
|
530 |
$this->wp_options [AI_OPTION_DETECT_CLIENT_SIDE] = AI_DISABLED;
|
531 |
$this->wp_options [AI_OPTION_CLIENT_SIDE_ACTION] = DEFAULT_CLIENT_SIDE_ACTION;
|
532 |
$this->wp_options [AI_OPTION_CLOSE_BUTTON] = DEFAULT_CLOSE_BUTTON;
|
@@ -576,7 +619,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
576 |
return $option;
|
577 |
}
|
578 |
|
579 |
-
public function get_automatic_insertion_text ($server_side_insertion = false){
|
580 |
|
581 |
if ($server_side_insertion)
|
582 |
$automatic_insertion = $this->get_server_side_insertion (); else
|
@@ -585,57 +628,75 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
585 |
if ($automatic_insertion == null) $automatic_insertion = $this->get_automatic_insertion();
|
586 |
switch ($automatic_insertion) {
|
587 |
case AI_AUTOMATIC_INSERTION_DISABLED:
|
|
|
588 |
return AI_TEXT_DISABLED;
|
589 |
break;
|
590 |
case AI_AUTOMATIC_INSERTION_BEFORE_POST:
|
|
|
591 |
return AI_TEXT_BEFORE_POST;
|
592 |
break;
|
593 |
case AI_AUTOMATIC_INSERTION_AFTER_POST:
|
|
|
594 |
return AI_TEXT_AFTER_POST;
|
595 |
break;
|
596 |
case AI_AUTOMATIC_INSERTION_BEFORE_CONTENT:
|
|
|
597 |
return AI_TEXT_BEFORE_CONTENT;
|
598 |
break;
|
599 |
case AI_AUTOMATIC_INSERTION_AFTER_CONTENT:
|
|
|
600 |
return AI_TEXT_AFTER_CONTENT;
|
601 |
break;
|
602 |
case AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH:
|
|
|
603 |
return AI_TEXT_BEFORE_PARAGRAPH;
|
604 |
break;
|
605 |
case AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH:
|
|
|
606 |
return AI_TEXT_AFTER_PARAGRAPH;
|
607 |
break;
|
608 |
case AI_AUTOMATIC_INSERTION_BEFORE_EXCERPT:
|
|
|
609 |
return AI_TEXT_BEFORE_EXCERPT;
|
610 |
break;
|
611 |
case AI_AUTOMATIC_INSERTION_AFTER_EXCERPT:
|
|
|
612 |
return AI_TEXT_AFTER_EXCERPT;
|
613 |
break;
|
614 |
case AI_AUTOMATIC_INSERTION_BETWEEN_POSTS:
|
|
|
615 |
return AI_TEXT_BETWEEN_POSTS;
|
616 |
break;
|
617 |
case AI_AUTOMATIC_INSERTION_BEFORE_COMMENTS:
|
|
|
618 |
return AI_TEXT_BEFORE_COMMENTS;
|
619 |
break;
|
620 |
case AI_AUTOMATIC_INSERTION_BETWEEN_COMMENTS:
|
|
|
621 |
return AI_TEXT_BETWEEN_COMMENTS;
|
622 |
break;
|
623 |
case AI_AUTOMATIC_INSERTION_AFTER_COMMENTS:
|
|
|
624 |
return AI_TEXT_AFTER_COMMENTS;
|
625 |
break;
|
626 |
case AI_AUTOMATIC_INSERTION_FOOTER:
|
|
|
627 |
return AI_TEXT_FOOTER;
|
628 |
break;
|
629 |
case AI_AUTOMATIC_INSERTION_ABOVE_HEADER:
|
|
|
630 |
return AI_TEXT_ABOVE_HEADER;
|
631 |
break;
|
632 |
case AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT:
|
|
|
633 |
return AI_TEXT_BEFORE_HTML_ELEMENT;
|
634 |
break;
|
635 |
case AI_AUTOMATIC_INSERTION_INSIDE_HTML_ELEMENT:
|
|
|
636 |
return AI_TEXT_INSIDE_HTML_ELEMENT;
|
637 |
break;
|
638 |
case AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT:
|
|
|
639 |
return AI_TEXT_AFTER_HTML_ELEMENT;
|
640 |
break;
|
641 |
default:
|
@@ -673,45 +734,58 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
673 |
return $option;
|
674 |
}
|
675 |
|
676 |
-
public function get_alignment_type_text (){
|
677 |
switch ($this->get_alignment_type ()) {
|
678 |
case AI_ALIGNMENT_DEFAULT:
|
|
|
679 |
return AI_TEXT_DEFAULT;
|
680 |
break;
|
681 |
case AI_ALIGNMENT_LEFT:
|
|
|
682 |
return AI_TEXT_LEFT;
|
683 |
break;
|
684 |
case AI_ALIGNMENT_RIGHT:
|
|
|
685 |
return AI_TEXT_RIGHT;
|
686 |
break;
|
687 |
case AI_ALIGNMENT_CENTER:
|
|
|
688 |
return AI_TEXT_CENTER;
|
689 |
break;
|
690 |
case AI_ALIGNMENT_FLOAT_LEFT:
|
|
|
691 |
return AI_TEXT_FLOAT_LEFT;
|
692 |
break;
|
693 |
case AI_ALIGNMENT_FLOAT_RIGHT:
|
|
|
694 |
return AI_TEXT_FLOAT_RIGHT;
|
695 |
break;
|
696 |
case AI_ALIGNMENT_STICKY_LEFT:
|
|
|
697 |
return AI_TEXT_STICKY_LEFT;
|
698 |
break;
|
699 |
case AI_ALIGNMENT_STICKY_RIGHT:
|
|
|
700 |
return AI_TEXT_STICKY_RIGHT;
|
701 |
break;
|
702 |
case AI_ALIGNMENT_STICKY_TOP:
|
|
|
703 |
return AI_TEXT_STICKY_TOP;
|
704 |
break;
|
705 |
case AI_ALIGNMENT_STICKY_BOTTOM:
|
|
|
706 |
return AI_TEXT_STICKY_BOTTOM;
|
707 |
break;
|
708 |
case AI_ALIGNMENT_STICKY:
|
|
|
709 |
return AI_TEXT_STICKY;
|
710 |
break;
|
711 |
case AI_ALIGNMENT_NO_WRAPPING:
|
|
|
712 |
return AI_TEXT_NO_WRAPPING;
|
713 |
break;
|
714 |
case AI_ALIGNMENT_CUSTOM_CSS:
|
|
|
715 |
return AI_TEXT_CUSTOM_CSS;
|
716 |
break;
|
717 |
default:
|
@@ -1181,11 +1255,31 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1181 |
return $option;
|
1182 |
}
|
1183 |
|
1184 |
-
public function get_html_element_insertion (){
|
1185 |
$option = isset ($this->wp_options [AI_OPTION_HTML_ELEMENT_INSERTION]) ? $this->wp_options [AI_OPTION_HTML_ELEMENT_INSERTION] : DEFAULT_HTML_ELEMENT_INSERTION;
|
1186 |
return $option;
|
1187 |
}
|
1188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1189 |
public function get_inside_element (){
|
1190 |
$option = isset ($this->wp_options [AI_OPTION_INSIDE_ELEMENT]) ? $this->wp_options [AI_OPTION_INSIDE_ELEMENT] : DEFAULT_INSIDE_ELEMENT;
|
1191 |
return $option;
|
@@ -1261,10 +1355,30 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1261 |
}
|
1262 |
|
1263 |
public function get_avoid_action(){
|
1264 |
-
$option = isset ($this->wp_options [AI_OPTION_AVOID_ACTION]) ? $this->wp_options [AI_OPTION_AVOID_ACTION] :
|
1265 |
-
if ($option == '') $option =
|
|
|
|
|
|
|
|
|
1266 |
return $option;
|
1267 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1268 |
|
1269 |
public function get_avoid_try_limit(){
|
1270 |
$option = isset ($this->wp_options [AI_OPTION_AVOID_TRY_LIMIT]) ? $this->wp_options [AI_OPTION_AVOID_TRY_LIMIT] : "";
|
@@ -1273,10 +1387,40 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1273 |
}
|
1274 |
|
1275 |
public function get_avoid_direction(){
|
1276 |
-
$option = isset ($this->wp_options [AI_OPTION_AVOID_DIRECTION]) ? $this->wp_options [AI_OPTION_AVOID_DIRECTION] :
|
1277 |
-
if ($option == '') $option =
|
|
|
|
|
|
|
|
|
|
|
|
|
1278 |
return $option;
|
1279 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1280 |
|
1281 |
public function get_call_filter(){
|
1282 |
$option = isset ($this->wp_options [AI_OPTION_EXCERPT_NUMBER]) ? $this->wp_options [AI_OPTION_EXCERPT_NUMBER] : "";
|
@@ -1303,40 +1447,51 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1303 |
return $option;
|
1304 |
}
|
1305 |
|
1306 |
-
public function get_filter_type_text (){
|
1307 |
switch ($this->get_filter_type()) {
|
1308 |
case AI_FILTER_AUTO:
|
1309 |
-
return
|
|
|
1310 |
break;
|
1311 |
case AI_FILTER_PHP_FUNCTION_CALLS:
|
1312 |
-
return
|
|
|
1313 |
break;
|
1314 |
case AI_FILTER_CONTENT_PROCESSING:
|
1315 |
-
return
|
|
|
1316 |
break;
|
1317 |
case AI_FILTER_EXCERPT_PROCESSING:
|
1318 |
-
return
|
|
|
1319 |
break;
|
1320 |
case AI_FILTER_BEFORE_POST_PROCESSING:
|
1321 |
-
return
|
|
|
1322 |
break;
|
1323 |
case AI_FILTER_AFTER_POST_PROCESSING:
|
1324 |
-
return
|
|
|
1325 |
break;
|
1326 |
case AI_FILTER_WIDGET_DRAWING:
|
1327 |
-
return
|
|
|
1328 |
break;
|
1329 |
case AI_FILTER_SUBPAGES:
|
1330 |
-
return
|
|
|
1331 |
break;
|
1332 |
case AI_FILTER_POSTS:
|
1333 |
-
return
|
|
|
1334 |
break;
|
1335 |
case AI_FILTER_PARAGRAPHS:
|
1336 |
-
return
|
|
|
1337 |
break;
|
1338 |
case AI_FILTER_COMMENTS:
|
1339 |
-
return
|
|
|
1340 |
break;
|
1341 |
default:
|
1342 |
return '';
|
@@ -1350,12 +1505,32 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1350 |
return $inverted_filter;
|
1351 |
}
|
1352 |
|
1353 |
-
public function get_direction_type(){
|
1354 |
-
$option = isset ($this->wp_options [AI_OPTION_DIRECTION_TYPE]) ? $this->wp_options [AI_OPTION_DIRECTION_TYPE] :
|
1355 |
-
if ($option == '') $option =
|
|
|
|
|
|
|
|
|
1356 |
return $option;
|
1357 |
}
|
1358 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1359 |
public function get_display_settings_post(){
|
1360 |
$option = isset ($this->wp_options [AI_OPTION_DISPLAY_ON_POSTS]) ? $this->wp_options [AI_OPTION_DISPLAY_ON_POSTS] : "";
|
1361 |
if ($option == '') $option = AI_ENABLED;
|
@@ -1508,11 +1683,31 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1508 |
return $paragraph_text;
|
1509 |
}
|
1510 |
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1516 |
|
1517 |
public function get_custom_css (){
|
1518 |
global $ai_db_options;
|
@@ -1525,18 +1720,45 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1525 |
return $option;
|
1526 |
}
|
1527 |
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
} else $display_for_users = '';
|
1532 |
-
if ($display_for_users == '') $display_for_users = AD_DISPLAY_ALL_USERS;
|
1533 |
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
|
1538 |
-
|
1539 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1540 |
|
1541 |
public function get_detection_client_side(){
|
1542 |
global $ai_db_options;
|
@@ -1622,41 +1844,41 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1622 |
}
|
1623 |
|
1624 |
$counters = '';
|
1625 |
-
$title = 'Counters:';
|
1626 |
|
1627 |
if (isset ($ad_inserter_globals [AI_CONTENT_COUNTER_NAME]) && ($ai_wp_data [AI_CONTEXT] == AI_CONTEXT_CONTENT || $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_SHORTCODE)) {
|
1628 |
$counters .= ' C='.$ad_inserter_globals [AI_CONTENT_COUNTER_NAME];
|
1629 |
-
$title .= ' C= Content, ';
|
1630 |
}
|
1631 |
|
1632 |
if (isset ($ad_inserter_globals [AI_EXCERPT_COUNTER_NAME]) && $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_EXCERPT) {
|
1633 |
$counters .= ' X='.$ad_inserter_globals [AI_EXCERPT_COUNTER_NAME];
|
1634 |
-
$title .= ' X = Excerpt, ';
|
1635 |
}
|
1636 |
|
1637 |
if (isset ($ad_inserter_globals [AI_LOOP_BEFORE_COUNTER_NAME]) && $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_BEFORE_POST) {
|
1638 |
$counters .= ' B='.$ad_inserter_globals [AI_LOOP_BEFORE_COUNTER_NAME];
|
1639 |
-
$title .= ' B = Before post, ';
|
1640 |
}
|
1641 |
|
1642 |
if (isset ($ad_inserter_globals [AI_LOOP_AFTER_COUNTER_NAME]) && $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_AFTER_POST) {
|
1643 |
$counters .= ' A='.$ad_inserter_globals [AI_LOOP_AFTER_COUNTER_NAME];
|
1644 |
-
$title .= ' A = After post, ';
|
1645 |
}
|
1646 |
|
1647 |
if (isset ($ad_inserter_globals [AI_WIDGET_COUNTER_NAME . $this->number]) && $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_WIDGET) {
|
1648 |
$counters .= ' W='.$ad_inserter_globals [AI_WIDGET_COUNTER_NAME . $this->number];
|
1649 |
-
$title .= ' W = Widget, ';
|
1650 |
}
|
1651 |
|
1652 |
if (isset ($ad_inserter_globals [AI_PHP_FUNCTION_CALL_COUNTER_NAME . $this->number])) {
|
1653 |
$counters .= ' P='.$ad_inserter_globals [AI_PHP_FUNCTION_CALL_COUNTER_NAME . $this->number];
|
1654 |
-
$title .= ' P = PHP function call, ';
|
1655 |
}
|
1656 |
|
1657 |
if (isset ($ad_inserter_globals [AI_BLOCK_COUNTER_NAME . $this->number])) {
|
1658 |
$counters .= ' N='.$ad_inserter_globals [AI_BLOCK_COUNTER_NAME . $this->number];
|
1659 |
-
$title .= ' N = Block';
|
1660 |
}
|
1661 |
|
1662 |
return $counters;
|
@@ -1922,6 +2144,9 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1922 |
$codes = explode (AD_AMP_SEPARATOR, $processed_code);
|
1923 |
$code_index = $ai_wp_data [AI_WP_AMP_PAGE] ? 1 : 0;
|
1924 |
$this->labels->class = $code_index ? 'ai-debug-amp' : 'ai-debug-default';
|
|
|
|
|
|
|
1925 |
$processed_code = trim ($codes [$code_index]);
|
1926 |
} else {
|
1927 |
// AMP page but No AMP separator - don't insert code unless enabled
|
@@ -1971,12 +2196,12 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1971 |
$referers = base64_encode ($referers_raw);
|
1972 |
$referer_list_type = $this->get_ad_domain_list_type ();
|
1973 |
|
1974 |
-
if ($this->client_side_cookie_check && ($url_parameters != '' || $url_parameter_list_type ==
|
1975 |
switch ($dynamic_blocks) {
|
1976 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
|
1977 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
|
1978 |
-
if ($url_parameter_list_type ==
|
1979 |
-
if ($referer_list_type ==
|
1980 |
|
1981 |
if ($this->client_side_cookie_check && ($url_parameters != '' || $url_parameter_list_type == 'W')) $url_parameter_attributes = "parameter-list='$url_parameters' parameter-list-type='$url_parameter_list_type'"; else $url_parameter_attributes = '';
|
1982 |
if ( $referers != '' || $referer_list_type == 'W') $referer_attributes = "referer-list='$referers' referer-list-type='$referer_list_type'"; else $referer_attributes = '';
|
@@ -1997,11 +2222,13 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
1997 |
}
|
1998 |
|
1999 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
|
2000 |
-
|
2001 |
-
if (
|
|
|
|
|
2002 |
|
2003 |
-
$
|
2004 |
-
$processed_code = $
|
2005 |
}
|
2006 |
|
2007 |
break;
|
@@ -2009,13 +2236,13 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2009 |
if ($this->w3tc_code == '') $this->w3tc_code = '$ai_code = base64_decode (\''.base64_encode ($processed_code).'\'); $ai_index = 0; $ai_enabled = true;';
|
2010 |
|
2011 |
if ($referers != '') {
|
2012 |
-
$this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_check_referer_list (base64_decode (\''.$referers.'\'), '.($referer_list_type ==
|
2013 |
-
} elseif ($referer_list_type ==
|
2014 |
|
2015 |
if ($this->client_side_cookie_check) {
|
2016 |
if ($url_parameters != '') {
|
2017 |
-
$this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_cookie_list (base64_decode (\''.$url_parameters.'\'), '.($url_parameter_list_type ==
|
2018 |
-
} elseif ($url_parameter_list_type ==
|
2019 |
}
|
2020 |
|
2021 |
$processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
|
@@ -2031,12 +2258,12 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2031 |
$ip_addresses = trim (str_replace (' ', '', strtolower ($this->get_ad_ip_address_list ())));
|
2032 |
$ip_address_list_type = $this->get_ad_ip_address_list_type ();
|
2033 |
|
2034 |
-
if ($countries != '' || $country_list_type ==
|
2035 |
switch ($dynamic_blocks) {
|
2036 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
|
2037 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
|
2038 |
-
if ($country_list_type ==
|
2039 |
-
if ($ip_address_list_type ==
|
2040 |
|
2041 |
if ($countries != '' || $country_list_type == 'W') $country_attributes = "countries='$countries' country-list='$country_list_type'"; else $country_attributes = '';
|
2042 |
if ($ip_addresses != '' || $ip_address_list_type == 'W') $ip_address_attributes = "ip-addresses='$ip_addresses' ip-address-list='$ip_address_list_type'"; else $ip_address_attributes = '';
|
@@ -2057,8 +2284,14 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2057 |
}
|
2058 |
|
2059 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
|
|
|
|
|
|
|
|
|
|
|
|
|
2060 |
$debug_ip = new ai_block_labels ('ai-debug-lists');
|
2061 |
-
$processed_code = $debug_ip->bar ($
|
2062 |
}
|
2063 |
|
2064 |
break;
|
@@ -2068,12 +2301,12 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2068 |
$this->w3tc_code .= ' require_once \''.AD_INSERTER_PLUGIN_DIR.'includes/geo/Ip2Country.php\';';
|
2069 |
|
2070 |
if ($ip_addresses != '') {
|
2071 |
-
$this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_ip_address_list (base64_decode (\''.base64_encode ($ip_addresses).'\'), '.($ip_address_list_type ==
|
2072 |
-
} elseif ($ip_address_list_type ==
|
2073 |
|
2074 |
if ($countries != '') {
|
2075 |
-
$this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_country_list (base64_decode (\''.base64_encode ($countries).'\'), '.($country_list_type ==
|
2076 |
-
} elseif ($country_list_type ==
|
2077 |
|
2078 |
$processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
|
2079 |
$processed_code .= $this->w3tc_code.' if ($ai_enabled) echo $ai_code;';
|
@@ -2100,7 +2333,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2100 |
|
2101 |
if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
|
2102 |
$this->labels->class = 'ai-debug-ajax';
|
2103 |
-
$ajax = 'AJAX REQUEST';
|
2104 |
}
|
2105 |
|
2106 |
if ($this->fallback != 0) {
|
@@ -2114,7 +2347,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2114 |
$block_name = $this->number . ' ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>' . $fallback_block_name;
|
2115 |
|
2116 |
if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
|
2117 |
-
$ajax_bar = $this->labels->bar ($_SERVER ['REQUEST_URI'], 'Ajax request url', '', 'IN THE LOOP: ' . (in_the_loop() ? 'YES' : 'NO'), 'in_the_loop ()');
|
2118 |
} else $ajax_bar = '';
|
2119 |
|
2120 |
$this->additional_code_before =
|
@@ -2174,7 +2407,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2174 |
$this->number . ' ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>', '',
|
2175 |
$viewport_name . ' <kbd class="ai-debug-name ai-main"></kbd>',
|
2176 |
$counters, $title) .
|
2177 |
-
$this->labels->message (($hidden_widgets ? 'WIDGET':'BLOCK').' INSERTED BUT NOT VISIBLE') .
|
2178 |
'</section>';
|
2179 |
}
|
2180 |
}
|
@@ -2352,9 +2585,11 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2352 |
$viewports_insertion = $this->get_detection_client_side() && $this->get_client_side_action () == AI_CLIENT_SIDE_ACTION_INSERT;
|
2353 |
$server_side_html_insertion = $this->get_html_element_insertion () == AI_HTML_INSERTION_SEREVR_SIDE;
|
2354 |
|
|
|
2355 |
switch ($this->get_automatic_insertion()) {
|
2356 |
case AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT:
|
2357 |
$insertion = 'before';
|
|
|
2358 |
if ($server_side_html_insertion && !$viewports_insertion) return $this->get_code_for_insertion ($include_viewport_classes, $hidden_widgets, $code_only);
|
2359 |
$html_element_insertion = true;
|
2360 |
break;
|
@@ -2362,15 +2597,19 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2362 |
switch ($this->get_inside_element ()) {
|
2363 |
case AI_HTML_PREPEND_CONTENT:
|
2364 |
$insertion = 'prepend';
|
|
|
2365 |
break;
|
2366 |
case AI_HTML_APPEND_CONTENT:
|
2367 |
$insertion = 'append';
|
|
|
2368 |
break;
|
2369 |
case AI_HTML_REPLACE_CONTENT:
|
2370 |
$insertion = 'replace-content';
|
|
|
2371 |
break;
|
2372 |
case AI_HTML_REPLACE_ELEMENT:
|
2373 |
$insertion = 'replace-element';
|
|
|
2374 |
break;
|
2375 |
default:
|
2376 |
$insertion = '';
|
@@ -2381,6 +2620,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2381 |
break;
|
2382 |
case AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT:
|
2383 |
$insertion = 'after';
|
|
|
2384 |
if ($server_side_html_insertion && !$viewports_insertion) return $this->get_code_for_insertion ($include_viewport_classes, $hidden_widgets, $code_only);
|
2385 |
$html_element_insertion = true;
|
2386 |
break;
|
@@ -2445,9 +2685,9 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2445 |
|
2446 |
$version_name = $this->version_name == '' ? '' : ' - ' . $this->version_name;
|
2447 |
|
2448 |
-
$tag = $viewports_insertion ? 'div' : 'script';
|
2449 |
$debug_script = new ai_block_labels ('ai-debug-script');
|
2450 |
-
$serverside_insertion_code = $debug_script->bar (" $tag for " . $this->number . ' ' . $this->get_ad_name () . $version_name . ' ' . $fallback_block_name, '',
|
2451 |
}
|
2452 |
|
2453 |
if ($this->w3tc_code != '' && get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && !defined ('AI_NO_W3TC')) {
|
@@ -2520,8 +2760,8 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2520 |
}
|
2521 |
|
2522 |
public function get_ad_general_tag(){
|
2523 |
-
$option = isset ($this->wp_options [AI_OPTION_GENERAL_TAG]) ? $this->wp_options [AI_OPTION_GENERAL_TAG] :
|
2524 |
-
if ($option == '') $option =
|
2525 |
return $option;
|
2526 |
}
|
2527 |
|
@@ -2556,57 +2796,69 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2556 |
}
|
2557 |
|
2558 |
public function get_schedule_start_date(){
|
2559 |
-
|
2560 |
-
|
2561 |
}
|
2562 |
|
2563 |
public function get_schedule_end_date(){
|
2564 |
-
|
2565 |
-
|
2566 |
}
|
2567 |
|
2568 |
public function get_fallback(){
|
2569 |
-
|
2570 |
-
|
2571 |
}
|
2572 |
|
2573 |
public function get_maximum_insertions (){
|
2574 |
-
|
2575 |
-
|
2576 |
-
|
2577 |
}
|
2578 |
|
2579 |
public function get_id_list(){
|
2580 |
-
|
2581 |
-
|
2582 |
}
|
2583 |
|
2584 |
public function get_id_list_type (){
|
2585 |
-
|
2586 |
-
|
2587 |
-
|
|
|
|
|
|
|
|
|
2588 |
}
|
2589 |
|
2590 |
public function get_ad_url_list(){
|
2591 |
-
|
2592 |
-
|
2593 |
}
|
2594 |
|
2595 |
public function get_ad_url_list_type (){
|
2596 |
-
|
2597 |
-
|
2598 |
-
|
|
|
|
|
|
|
|
|
2599 |
}
|
2600 |
|
2601 |
public function get_url_parameter_list(){
|
2602 |
-
|
2603 |
-
|
2604 |
}
|
2605 |
|
2606 |
public function get_url_parameter_list_type (){
|
2607 |
-
|
2608 |
-
|
2609 |
-
|
|
|
|
|
|
|
|
|
2610 |
}
|
2611 |
|
2612 |
public function get_ad_domain_list(){
|
@@ -2615,9 +2867,13 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2615 |
}
|
2616 |
|
2617 |
public function get_ad_domain_list_type (){
|
2618 |
-
|
2619 |
-
|
2620 |
-
|
|
|
|
|
|
|
|
|
2621 |
}
|
2622 |
|
2623 |
public function get_ad_ip_address_list (){
|
@@ -2626,9 +2882,13 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2626 |
}
|
2627 |
|
2628 |
public function get_ad_ip_address_list_type (){
|
2629 |
-
|
2630 |
-
|
2631 |
-
|
|
|
|
|
|
|
|
|
2632 |
}
|
2633 |
|
2634 |
public function get_ad_country_list ($expand = false){
|
@@ -2638,14 +2898,18 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2638 |
}
|
2639 |
|
2640 |
public function get_ad_country_list_type (){
|
2641 |
-
|
2642 |
-
|
2643 |
-
|
|
|
|
|
|
|
|
|
2644 |
}
|
2645 |
|
2646 |
public function get_ad_name(){
|
2647 |
$option = isset ($this->wp_options [AI_OPTION_BLOCK_NAME]) ? $this->wp_options [AI_OPTION_BLOCK_NAME] : "";
|
2648 |
-
if ($option == '') $option =
|
2649 |
return $option;
|
2650 |
}
|
2651 |
|
@@ -2655,17 +2919,21 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2655 |
}
|
2656 |
|
2657 |
public function get_ad_block_cat_type(){
|
2658 |
-
|
2659 |
|
2660 |
-
|
2661 |
-
|
2662 |
-
|
2663 |
-
|
2664 |
-
|
2665 |
|
2666 |
-
|
2667 |
-
|
2668 |
-
|
|
|
|
|
|
|
|
|
2669 |
|
2670 |
public function get_ad_block_tag(){
|
2671 |
$option = isset ($this->wp_options [AI_OPTION_TAG_LIST]) ? $this->wp_options [AI_OPTION_TAG_LIST] : "";
|
@@ -2673,9 +2941,13 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2673 |
}
|
2674 |
|
2675 |
public function get_ad_block_tag_type(){
|
2676 |
-
|
2677 |
-
|
2678 |
-
|
|
|
|
|
|
|
|
|
2679 |
}
|
2680 |
|
2681 |
public function get_ad_block_taxonomy(){
|
@@ -2684,10 +2956,14 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2684 |
}
|
2685 |
|
2686 |
public function get_ad_block_taxonomy_type(){
|
2687 |
-
|
2688 |
-
|
2689 |
-
|
2690 |
-
|
|
|
|
|
|
|
|
|
2691 |
|
2692 |
public function get_ad_enabled_on_which_pages (){
|
2693 |
$option = isset ($this->wp_options [AI_OPTION_ENABLED_ON_WHICH_PAGES]) ? $this->wp_options [AI_OPTION_ENABLED_ON_WHICH_PAGES] : AI_NO_INDIVIDUAL_EXCEPTIONS;
|
@@ -2702,16 +2978,19 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2702 |
return $option;
|
2703 |
}
|
2704 |
|
2705 |
-
public function get_ad_enabled_on_which_pages_text (){
|
2706 |
switch ($this->get_ad_enabled_on_which_pages ()) {
|
2707 |
case AI_NO_INDIVIDUAL_EXCEPTIONS:
|
2708 |
-
return
|
|
|
2709 |
break;
|
2710 |
case AI_INDIVIDUALLY_DISABLED:
|
2711 |
-
return
|
|
|
2712 |
break;
|
2713 |
case AI_INDIVIDUALLY_ENABLED:
|
2714 |
-
return
|
|
|
2715 |
break;
|
2716 |
default:
|
2717 |
return '';
|
@@ -2732,16 +3011,19 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2732 |
return $option;
|
2733 |
}
|
2734 |
|
2735 |
-
public function get_ad_enabled_on_which_posts_text (){
|
2736 |
switch ($this->get_ad_enabled_on_which_posts ()) {
|
2737 |
case AI_NO_INDIVIDUAL_EXCEPTIONS:
|
2738 |
-
return
|
|
|
2739 |
break;
|
2740 |
case AI_INDIVIDUALLY_DISABLED:
|
2741 |
-
return
|
|
|
2742 |
break;
|
2743 |
case AI_INDIVIDUALLY_ENABLED:
|
2744 |
-
return
|
|
|
2745 |
break;
|
2746 |
default:
|
2747 |
return '';
|
@@ -2813,7 +3095,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2813 |
case AI_ALIGNMENT_STICKY_RIGHT:
|
2814 |
case AI_ALIGNMENT_STICKY_TOP:
|
2815 |
case AI_ALIGNMENT_STICKY_BOTTOM:
|
2816 |
-
return $block_class_name . str_replace (' ', '-', strtolower ($this->get_alignment_type_text ()));
|
2817 |
break;
|
2818 |
case AI_ALIGNMENT_STICKY:
|
2819 |
return $block_class_name . str_replace (' ', '-', strtolower (md5 ($this->alignment_style ($this->get_alignment_type ()))));
|
@@ -2973,7 +3255,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2973 |
$paragraph_code = substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
|
2974 |
}
|
2975 |
|
2976 |
-
if ($paragraph_text_type ==
|
2977 |
$found = true;
|
2978 |
foreach ($paragraph_texts as $paragraph_text) {
|
2979 |
if (trim ($paragraph_text) == '') continue;
|
@@ -2991,7 +3273,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
2991 |
}
|
2992 |
}
|
2993 |
if (!$found) $active_paragraph_positions [$index] = 0;
|
2994 |
-
} elseif ($paragraph_text_type ==
|
2995 |
$found = false;
|
2996 |
foreach ($paragraph_texts as $paragraph_text) {
|
2997 |
if (trim ($paragraph_text) == '') continue;
|
@@ -3034,7 +3316,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3034 |
}
|
3035 |
$paragraph_end_positions = $filtered_paragraph_end_positions;
|
3036 |
|
3037 |
-
if ($this->get_direction_type() ==
|
3038 |
$paragraph_end_positions = array_reverse ($paragraph_end_positions);
|
3039 |
}
|
3040 |
}
|
@@ -3048,7 +3330,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3048 |
$paragraph_positions = $filtered_paragraph_positions;
|
3049 |
|
3050 |
|
3051 |
-
if ($this->get_direction_type() ==
|
3052 |
$paragraph_positions = array_reverse ($paragraph_positions);
|
3053 |
}
|
3054 |
|
@@ -3077,9 +3359,19 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3077 |
$positions = array ($position);
|
3078 |
}
|
3079 |
elseif (strpos ($position_text, ',') !== false) {
|
|
|
3080 |
$positions = explode (',', str_replace (' ', '', $position_text));
|
3081 |
foreach ($positions as $index => $position) {
|
3082 |
-
if ($position
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3083 |
$positions [$index] = intval ($position * (count ($paragraph_positions) - 1) + 0.5);
|
3084 |
}
|
3085 |
elseif ($position > - 1 && $position < 0) {
|
@@ -3093,6 +3385,16 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3093 |
}
|
3094 |
else $positions [$index] = $position - 1;
|
3095 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3096 |
}
|
3097 |
elseif ($position_text == '') {
|
3098 |
$positions = array ();
|
@@ -3102,7 +3404,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3102 |
$words_above = 0;
|
3103 |
foreach ($paragraph_positions as $index => $paragraph_position) {
|
3104 |
|
3105 |
-
if ($this->get_direction_type() !=
|
3106 |
if ($words_above >= $min_words_above) {
|
3107 |
$positions []= $index;
|
3108 |
$words_above = 0;
|
@@ -3118,7 +3420,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3118 |
|
3119 |
$words_above += number_of_words ($paragraph_code);
|
3120 |
|
3121 |
-
if ($this->get_direction_type() ==
|
3122 |
if ($words_above >= $min_words_above) {
|
3123 |
$positions []= $index;
|
3124 |
$words_above = 0;
|
@@ -3131,9 +3433,9 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3131 |
$positions []= $index;
|
3132 |
}
|
3133 |
|
3134 |
-
|
3135 |
-
|
3136 |
-
if (
|
3137 |
|
3138 |
$filter_values = array ();
|
3139 |
if (strpos ($filter_settings, ",") !== false) {
|
@@ -3163,7 +3465,8 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3163 |
if ($insert xor $inverted_filter) $filtered_positions []= $position;
|
3164 |
}
|
3165 |
$positions = $filtered_positions;
|
3166 |
-
}
|
|
|
3167 |
}
|
3168 |
|
3169 |
}
|
@@ -3269,14 +3572,14 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3269 |
if ($debug_processing && $this->number != 0) ai_log ('BLOCK ' . $this->number . ' CLEARANCE CHECK POSITION ' . ($position + 1) . ' FAILED');
|
3270 |
|
3271 |
$ai_last_check = AI_CHECK_DO_NOT_INSERT;
|
3272 |
-
if ($this->get_avoid_action() ==
|
3273 |
$failed_clearance_positions [$positions [$position_index]] = $ai_last_check;
|
3274 |
$positions [$position_index] = - 1;
|
3275 |
break;
|
3276 |
}
|
3277 |
|
3278 |
switch ($direction) {
|
3279 |
-
case
|
3280 |
$ai_last_check = AI_CHECK_AD_ABOVE;
|
3281 |
// Already at the top - do not insert
|
3282 |
if ($position == 0) {
|
@@ -3287,7 +3590,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3287 |
|
3288 |
$position --;
|
3289 |
break;
|
3290 |
-
case
|
3291 |
$ai_last_check = AI_CHECK_AD_BELOW;
|
3292 |
// Already at the bottom - do not insert
|
3293 |
if ($position >= count ($paragraph_positions) - 1) {
|
@@ -3298,10 +3601,10 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3298 |
|
3299 |
$position ++;
|
3300 |
break;
|
3301 |
-
case
|
3302 |
if ($position == 0 || $checks == 0) {
|
3303 |
// Try below
|
3304 |
-
$direction =
|
3305 |
$checks = $max_checks;
|
3306 |
$position = $saved_position;
|
3307 |
$ai_last_check = AI_CHECK_AD_BELOW;
|
@@ -3315,10 +3618,10 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3315 |
$position ++;
|
3316 |
} else $position --;
|
3317 |
break;
|
3318 |
-
case
|
3319 |
if ($position >= count ($paragraph_positions) - 1 || $checks == 0) {
|
3320 |
// Try above
|
3321 |
-
$direction =
|
3322 |
$checks = $max_checks;
|
3323 |
$position = $saved_position;
|
3324 |
$ai_last_check = AI_CHECK_AD_ABOVE;
|
@@ -3374,10 +3677,11 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3374 |
foreach ($paragraph_positions as $counter => $paragraph_position) {
|
3375 |
if ($position_preview) {
|
3376 |
if ($multibyte) {
|
3377 |
-
$paragraph_code = mb_substr ($content, $paragraph_position, $paragraph_end_positions [$counter] - $paragraph_position + 1);
|
3378 |
} else {
|
3379 |
-
$paragraph_code = substr ($content, $paragraph_position, $paragraph_end_positions [$counter] - $paragraph_position + 1);
|
3380 |
}
|
|
|
3381 |
$paragraph_words = number_of_words ($paragraph_code);
|
3382 |
$inserted_code = "[[AI_BP".($counter + 1)."=".$paragraph_words."]]";
|
3383 |
}
|
@@ -3414,14 +3718,14 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3414 |
}
|
3415 |
|
3416 |
if ($multibyte) {
|
3417 |
-
if ($this->get_direction_type() ==
|
3418 |
$content = mb_substr ($content, 0, $paragraph_position) . $inserted_code . mb_substr ($content, $paragraph_position);
|
3419 |
} else {
|
3420 |
$content = mb_substr ($content, 0, $paragraph_position + $offset) . $inserted_code . mb_substr ($content, $paragraph_position + $offset);
|
3421 |
$offset += mb_strlen ($inserted_code);
|
3422 |
}
|
3423 |
} else {
|
3424 |
-
if ($this->get_direction_type() ==
|
3425 |
$content = substr_replace ($content, $inserted_code, $paragraph_position, 0);
|
3426 |
} else {
|
3427 |
$content = substr_replace ($content, $inserted_code, $paragraph_position + $offset, 0);
|
@@ -3435,6 +3739,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3435 |
}
|
3436 |
|
3437 |
// empty $positions
|
|
|
3438 |
return $content;
|
3439 |
}
|
3440 |
|
@@ -3593,7 +3898,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3593 |
$paragraph_code = substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
|
3594 |
}
|
3595 |
|
3596 |
-
if ($paragraph_text_type ==
|
3597 |
$found = true;
|
3598 |
foreach ($paragraph_texts as $paragraph_text) {
|
3599 |
if (trim ($paragraph_text) == '') continue;
|
@@ -3612,7 +3917,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3612 |
|
3613 |
}
|
3614 |
if (!$found) $filtered_paragraph_positions [] = $active_paragraph_positions [$index] = 0;
|
3615 |
-
} elseif ($paragraph_text_type ==
|
3616 |
$found = false;
|
3617 |
foreach ($paragraph_texts as $paragraph_text) {
|
3618 |
if (trim ($paragraph_text) == '') continue;
|
@@ -3657,7 +3962,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3657 |
}
|
3658 |
$paragraph_start_positions = $filtered_paragraph_positions;
|
3659 |
|
3660 |
-
if ($this->get_direction_type() ==
|
3661 |
$paragraph_start_positions = array_reverse ($paragraph_start_positions);
|
3662 |
}
|
3663 |
}
|
@@ -3670,7 +3975,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3670 |
$paragraph_positions = $filtered_paragraph_positions;
|
3671 |
|
3672 |
|
3673 |
-
if ($this->get_direction_type() ==
|
3674 |
$paragraph_positions = array_reverse ($paragraph_positions);
|
3675 |
}
|
3676 |
|
@@ -3693,13 +3998,25 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3693 |
}
|
3694 |
elseif ($position == 0) {
|
3695 |
$position = mt_rand (0, count ($paragraph_positions) - 1);
|
3696 |
-
}
|
|
|
|
|
3697 |
$positions = array ($position);
|
3698 |
}
|
3699 |
elseif (strpos ($position_text, ',') !== false) {
|
|
|
3700 |
$positions = explode (',', str_replace (' ', '', $position_text));
|
3701 |
foreach ($positions as $index => $position) {
|
3702 |
-
if ($position
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3703 |
$positions [$index] = intval ($position * (count ($paragraph_positions) - 1) + 0.5);
|
3704 |
}
|
3705 |
elseif ($position > - 1 && $position < 0) {
|
@@ -3711,7 +4028,17 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3711 |
elseif ($position == 0) {
|
3712 |
$positions [$index] = mt_rand (0, count ($paragraph_positions) - 1);
|
3713 |
}
|
3714 |
-
else
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3715 |
}
|
3716 |
}
|
3717 |
elseif ($position_text == '') {
|
@@ -3722,7 +4049,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3722 |
$words_above = 0;
|
3723 |
foreach ($paragraph_positions as $index => $paragraph_position) {
|
3724 |
|
3725 |
-
if ($this->get_direction_type() ==
|
3726 |
if ($words_above >= $min_words_above) {
|
3727 |
$positions []= $index;
|
3728 |
$words_above = 0;
|
@@ -3737,7 +4064,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3737 |
|
3738 |
$words_above += number_of_words ($paragraph_code);
|
3739 |
|
3740 |
-
if ($this->get_direction_type() !=
|
3741 |
if ($words_above >= $min_words_above) {
|
3742 |
$positions []= $index;
|
3743 |
$words_above = 0;
|
@@ -3750,9 +4077,9 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3750 |
$positions []= $index;
|
3751 |
}
|
3752 |
|
3753 |
-
|
3754 |
-
|
3755 |
-
if (
|
3756 |
$filter_values = array ();
|
3757 |
if (strpos ($filter_settings, ",") !== false) {
|
3758 |
$filter_values = explode (",", $filter_settings);
|
@@ -3779,7 +4106,8 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3779 |
if ($insert xor $inverted_filter) $filtered_positions []= $position;
|
3780 |
}
|
3781 |
$positions = $filtered_positions;
|
3782 |
-
}
|
|
|
3783 |
}
|
3784 |
}
|
3785 |
}
|
@@ -3885,14 +4213,14 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3885 |
if ($debug_processing && $this->number != 0) ai_log ('BLOCK ' . $this->number . ' CLEARANCE CHECK POSITION ' . ($position + 1) . ' FAILED');
|
3886 |
|
3887 |
$ai_last_check = AI_CHECK_DO_NOT_INSERT;
|
3888 |
-
if ($this->get_avoid_action() ==
|
3889 |
$failed_clearance_positions [$positions [$position_index]] = $ai_last_check;
|
3890 |
$positions [$position_index] = - 1;
|
3891 |
break;
|
3892 |
}
|
3893 |
|
3894 |
switch ($direction) {
|
3895 |
-
case
|
3896 |
$ai_last_check = AI_CHECK_AD_ABOVE;
|
3897 |
// Already at the top - do not insert
|
3898 |
if ($position == 0) {
|
@@ -3903,7 +4231,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3903 |
|
3904 |
$position --;
|
3905 |
break;
|
3906 |
-
case
|
3907 |
$ai_last_check = AI_CHECK_AD_BELOW;
|
3908 |
// Already at the bottom - do not insert
|
3909 |
if ($position >= count ($paragraph_positions) - 1) {
|
@@ -3914,10 +4242,10 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3914 |
|
3915 |
$position ++;
|
3916 |
break;
|
3917 |
-
case
|
3918 |
if ($position == 0 || $checks == 0) {
|
3919 |
// Try below
|
3920 |
-
$direction =
|
3921 |
$checks = $max_checks;
|
3922 |
$position = $saved_position;
|
3923 |
$ai_last_check = AI_CHECK_AD_BELOW;
|
@@ -3931,10 +4259,10 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
3931 |
$position ++;
|
3932 |
} else $position --;
|
3933 |
break;
|
3934 |
-
case
|
3935 |
if ($position >= count ($paragraph_positions) - 1 || $checks == 0) {
|
3936 |
// Try above
|
3937 |
-
$direction =
|
3938 |
$checks = $max_checks;
|
3939 |
$position = $saved_position;
|
3940 |
$ai_last_check = AI_CHECK_AD_ABOVE;
|
@@ -4021,14 +4349,14 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4021 |
}
|
4022 |
|
4023 |
if ($multibyte) {
|
4024 |
-
if ($this->get_direction_type() ==
|
4025 |
$content = mb_substr ($content, 0, $paragraph_position + 1) . $inserted_code . mb_substr ($content, $paragraph_position + 1);
|
4026 |
} else {
|
4027 |
$content = mb_substr ($content, 0, $paragraph_position + $offset + 1) . $inserted_code . mb_substr ($content, $paragraph_position + $offset + 1);
|
4028 |
$offset += mb_strlen ($inserted_code);
|
4029 |
}
|
4030 |
} else {
|
4031 |
-
if ($this->get_direction_type() ==
|
4032 |
$content = substr_replace ($content, $inserted_code, $paragraph_position + 1, 0);
|
4033 |
} else {
|
4034 |
$content = substr_replace ($content, $inserted_code, $paragraph_position + $offset + 1, 0);
|
@@ -4042,6 +4370,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4042 |
}
|
4043 |
|
4044 |
// empty $positions
|
|
|
4045 |
return $content;
|
4046 |
}
|
4047 |
|
@@ -4098,9 +4427,9 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4098 |
|
4099 |
$wp_categories = get_the_category ();
|
4100 |
|
4101 |
-
if ($cat_type ==
|
4102 |
|
4103 |
-
if($categories == AD_EMPTY_DATA) return true;
|
4104 |
|
4105 |
$cats_listed = explode (",", $categories);
|
4106 |
|
@@ -4159,7 +4488,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4159 |
}
|
4160 |
$has_any_of_the_given_tags = has_tag ($tags_listed);
|
4161 |
|
4162 |
-
if ($tag_type ==
|
4163 |
|
4164 |
if ($tags == AD_EMPTY_DATA) return true;
|
4165 |
|
@@ -4193,7 +4522,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4193 |
$taxonomies = trim (strtolower ($this->get_ad_block_taxonomy()));
|
4194 |
$taxonomy_type = $this->get_ad_block_taxonomy_type();
|
4195 |
|
4196 |
-
if ($taxonomy_type ==
|
4197 |
|
4198 |
if ($taxonomies == AD_EMPTY_DATA) return true;
|
4199 |
|
@@ -4315,7 +4644,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4315 |
$ids = trim ($this->get_id_list());
|
4316 |
$id_type = $this->get_id_list_type();
|
4317 |
|
4318 |
-
if ($id_type ==
|
4319 |
|
4320 |
if ($ids == AD_EMPTY_DATA || $page_id === false) {
|
4321 |
return !$return;
|
@@ -4346,7 +4675,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4346 |
$urls = trim ($this->get_ad_url_list());
|
4347 |
$url_type = $this->get_ad_url_list_type();
|
4348 |
|
4349 |
-
if ($url_type ==
|
4350 |
|
4351 |
if ($urls == AD_EMPTY_DATA) return !$return;
|
4352 |
|
@@ -4517,7 +4846,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4517 |
}
|
4518 |
|
4519 |
function check_referer () {
|
4520 |
-
return check_check_referer_list ($this->get_ad_domain_list(), $this->get_ad_domain_list_type() ==
|
4521 |
}
|
4522 |
|
4523 |
function check_number_of_words (&$content = null, $number_of_words = 0) {
|
@@ -4626,10 +4955,10 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4626 |
$ai_last_check = AI_CHECK_URL_PARAMETER;
|
4627 |
switch ($server_side_check) {
|
4628 |
case true:
|
4629 |
-
if (!check_url_parameter_and_cookie_list ($this->get_url_parameter_list(), $this->get_url_parameter_list_type() ==
|
4630 |
default:
|
4631 |
$url_parameter_found = false;
|
4632 |
-
$url_parameter_list_pass = check_url_parameter_list ($this->get_url_parameter_list(), $this->get_url_parameter_list_type() ==
|
4633 |
|
4634 |
if ($url_parameter_found && !$url_parameter_list_pass) return false;
|
4635 |
|
@@ -4651,11 +4980,11 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4651 |
$display_for_users = $this->get_display_for_users ();
|
4652 |
|
4653 |
$ai_last_check = AI_CHECK_LOGGED_IN_USER;
|
4654 |
-
if ($display_for_users ==
|
4655 |
$ai_last_check = AI_CHECK_NOT_LOGGED_IN_USER;
|
4656 |
-
if ($display_for_users ==
|
4657 |
$ai_last_check = AI_CHECK_ADMINISTRATOR;
|
4658 |
-
if ($display_for_users ==
|
4659 |
|
4660 |
return true;
|
4661 |
}
|
@@ -4814,7 +5143,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4814 |
if (!empty ($categories)) {
|
4815 |
$first_category = reset ($categories);
|
4816 |
$category = str_replace ("&", "and", $first_category->name);
|
4817 |
-
if ($category ==
|
4818 |
} else {
|
4819 |
$category = $general_tag;
|
4820 |
}
|
@@ -4866,7 +5195,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
|
|
4866 |
if (!empty ($categories)) {
|
4867 |
$first_category = reset ($categories);
|
4868 |
$category = str_replace ("&", "and", $first_category->name);
|
4869 |
-
if ($category ==
|
4870 |
} else {
|
4871 |
$category = $short_title;
|
4872 |
}
|
@@ -5032,7 +5361,7 @@ class ai_Block extends ai_CodeBlock {
|
|
5032 |
parent::__construct();
|
5033 |
|
5034 |
$this->number = $number;
|
5035 |
-
$this->wp_options [AI_OPTION_BLOCK_NAME] =
|
5036 |
}
|
5037 |
}
|
5038 |
|
@@ -5060,7 +5389,14 @@ class ai_AdA extends ai_BaseCodeBlock {
|
|
5060 |
parent::__construct();
|
5061 |
|
5062 |
$this->wp_options [AI_OPTION_BLOCK_NAME] = 'AD BLOCKING MESSAGE';
|
5063 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5064 |
}
|
5065 |
}
|
5066 |
|
@@ -5347,7 +5683,7 @@ class ai_code_generator {
|
|
5347 |
}
|
5348 |
|
5349 |
if (!class_exists ('DOMDocument')) {
|
5350 |
-
echo 'ERROR: class DOMDocument not found. Your webhost needs to install the DOM extension for PHP.';
|
5351 |
wp_die ();
|
5352 |
}
|
5353 |
|
49 |
$this->wp_options [AI_OPTION_ENABLE_AMP] = AI_DISABLED;
|
50 |
$this->wp_options [AI_OPTION_ENABLE_404] = AI_DISABLED;
|
51 |
$this->wp_options [AI_OPTION_DETECT_SERVER_SIDE] = AI_DISABLED;
|
52 |
+
$this->wp_options [AI_OPTION_DISPLAY_FOR_DEVICES] = DEFAULT_DISPLAY_FOR_DEVICES;
|
53 |
}
|
54 |
|
55 |
public function load_options ($block) {
|
290 |
// Fix for AMP code blocks with url white-list */amp
|
291 |
$urls = $this->get_ad_url_list();
|
292 |
$url_type = $this->get_ad_url_list_type();
|
293 |
+
if ($url_type == AI_WHITE_LIST && strpos ($urls, '/amp') !== false) {
|
294 |
$enable_amp = true;
|
295 |
}
|
296 |
// Fix for code blocks using PHP function is_amp_endpoint
|
316 |
public function get_detection_server_side(){
|
317 |
// Check old settings for all devices
|
318 |
if (isset ($this->wp_options [AI_OPTION_DISPLAY_FOR_DEVICES])) {
|
319 |
+
$display_for_devices = $this->wp_options [AI_OPTION_DISPLAY_FOR_DEVICES];
|
320 |
} else $display_for_devices = '';
|
321 |
+
|
322 |
+
if ($display_for_devices === AD_DISPLAY_ALL_DEVICES) $option = AI_DISABLED; else
|
323 |
|
324 |
$option = isset ($this->wp_options [AI_OPTION_DETECT_SERVER_SIDE]) ? $this->wp_options [AI_OPTION_DETECT_SERVER_SIDE] : AI_DISABLED;
|
325 |
+
|
326 |
return $option;
|
327 |
}
|
328 |
|
333 |
$display_for_devices = $this->get_display_for_devices ();
|
334 |
|
335 |
$ai_last_check = AI_CHECK_DESKTOP_DEVICES;
|
336 |
+
if ($display_for_devices == AI_INSERT_FOR_DESKTOP_DEVICES && !AI_DESKTOP) return false;
|
337 |
$ai_last_check = AI_CHECK_MOBILE_DEVICES;
|
338 |
+
if ($display_for_devices == AI_INSERT_FOR_MOBILE_DEVICES && !AI_MOBILE) return false;
|
339 |
$ai_last_check = AI_CHECK_TABLET_DEVICES;
|
340 |
+
if ($display_for_devices == AI_INSERT_FOR_TABLET_DEVICES && !AI_TABLET) return false;
|
341 |
$ai_last_check = AI_CHECK_PHONE_DEVICES;
|
342 |
+
if ($display_for_devices == AI_INSERT_FOR_PHONE_DEVICES && !AI_PHONE) return false;
|
343 |
$ai_last_check = AI_CHECK_DESKTOP_TABLET_DEVICES;
|
344 |
+
if ($display_for_devices == AI_INSERT_FOR_DESKTOP_TABLET_DEVICES && !(AI_DESKTOP || AI_TABLET)) return false;
|
345 |
$ai_last_check = AI_CHECK_DESKTOP_PHONE_DEVICES;
|
346 |
+
if ($display_for_devices == AI_INSERT_FOR_DESKTOP_PHONE_DEVICES && !(AI_DESKTOP || AI_PHONE)) return false;
|
347 |
}
|
348 |
return true;
|
349 |
}
|
350 |
|
351 |
+
public function get_display_for_devices () {
|
352 |
+
$option = isset ($this->wp_options [AI_OPTION_DISPLAY_FOR_DEVICES]) ? $this->wp_options [AI_OPTION_DISPLAY_FOR_DEVICES] : DEFAULT_DISPLAY_FOR_DEVICES;
|
|
|
|
|
353 |
// convert old option
|
354 |
+
if ($option == '' || $option == AD_DISPLAY_ALL_DEVICES) $option = DEFAULT_DISPLAY_FOR_DEVICES;
|
355 |
+
|
356 |
+
elseif ($option == AD_DISPLAY_DESKTOP_DEVICES) $option = AI_INSERT_FOR_DESKTOP_DEVICES;
|
357 |
+
elseif ($option == AD_DISPLAY_MOBILE_DEVICES) $option = AI_INSERT_FOR_MOBILE_DEVICES;
|
358 |
+
elseif ($option == AD_DISPLAY_TABLET_DEVICES) $option = AI_INSERT_FOR_TABLET_DEVICES;
|
359 |
+
elseif ($option == AD_DISPLAY_PHONE_DEVICES) $option = AI_INSERT_FOR_PHONE_DEVICES;
|
360 |
+
elseif ($option == AD_DISPLAY_DESKTOP_TABLET_DEVICES) $option = AI_INSERT_FOR_DESKTOP_TABLET_DEVICES;
|
361 |
+
elseif ($option == AD_DISPLAY_DESKTOP_PHONE_DEVICES) $option = AI_INSERT_FOR_DESKTOP_PHONE_DEVICES;
|
362 |
+
|
363 |
+
return $option;
|
364 |
+
}
|
365 |
+
|
366 |
+
public function get_display_for_devices_text ($translate = true) {
|
367 |
+
switch ($this->get_display_for_devices ()) {
|
368 |
+
case AI_INSERT_FOR_DESKTOP_DEVICES:
|
369 |
+
if (!$translate) return AI_TEXT_ENG_DESKTOP_DEVICES;
|
370 |
+
return AI_TEXT_DESKTOP_DEVICES;
|
371 |
+
break;
|
372 |
+
case AI_INSERT_FOR_MOBILE_DEVICES:
|
373 |
+
if (!$translate) return AI_TEXT_ENG_MOBILE_DEVICES;
|
374 |
+
return AI_TEXT_MOBILE_DEVICES;
|
375 |
+
break;
|
376 |
+
case AI_INSERT_FOR_TABLET_DEVICES:
|
377 |
+
if (!$translate) return AI_TEXT_ENG_TABLET_DEVICES;
|
378 |
+
return AI_TEXT_TABLET_DEVICES;
|
379 |
+
break;
|
380 |
+
case AI_INSERT_FOR_PHONE_DEVICES:
|
381 |
+
if (!$translate) return AI_TEXT_ENG_PHONE_DEVICES;
|
382 |
+
return AI_TEXT_PHONE_DEVICES;
|
383 |
+
break;
|
384 |
+
case AI_INSERT_FOR_DESKTOP_TABLET_DEVICES:
|
385 |
+
if (!$translate) return AI_TEXT_ENG_DESKTOP_TABLET_DEVICES;
|
386 |
+
return AI_TEXT_DESKTOP_TABLET_DEVICES;
|
387 |
+
break;
|
388 |
+
case AI_INSERT_FOR_DESKTOP_PHONE_DEVICES:
|
389 |
+
if (!$translate) return AI_TEXT_ENG_DESKTOP_PHONE_DEVICES;
|
390 |
+
return AI_TEXT_DESKTOP_PHONE_DEVICES;
|
391 |
+
break;
|
392 |
+
default:
|
393 |
+
return '';
|
394 |
+
break;
|
395 |
+
}
|
396 |
}
|
397 |
|
398 |
public function get_debug_disable_insertion (){
|
444 |
try {
|
445 |
eval ("?>". $code . "<?php ");
|
446 |
} catch (Exception $e) {
|
447 |
+
// translators: %s: Ad Inserter
|
448 |
+
$php_error = sprintf (__("PHP error in %s block", 'ad-inserter') . AD_INSERTER_NAME) . ' ' . ($obj->number == 0 ? '' : $obj->number . " - ") . $obj->get_ad_name() . "<br />\n" . $e->getMessage();
|
449 |
}
|
450 |
|
451 |
$processed_code = ob_get_clean ();
|
453 |
if (strpos ($processed_code, __FILE__) || $php_error != "") {
|
454 |
|
455 |
if (preg_match ("%(.+) in ".__FILE__."%", strip_tags($processed_code), $error_message))
|
456 |
+
// translators: %s: Ad Inserter
|
457 |
+
$code = sprintf (__("PHP error in %s block", 'ad-inserter'), AD_INSERTER_NAME) . ' '. ($obj->number == 0 ? '' : $obj->number . " - ") . $obj->get_ad_name() . "<br />\n" . $error_message [1];
|
458 |
elseif (preg_match ("%(.+) in ".__FILE__."%", $php_error, $error_message))
|
459 |
+
// translators: %s: Ad Inserter
|
460 |
+
$code = sprintf (__("PHP error in %s block", 'ad-inserter'), AD_INSERTER_NAME) . ' ' .($obj->number == 0 ? '' : $obj->number . " - ") . $obj->get_ad_name() . "<br />\n" . $error_message [1];
|
461 |
|
462 |
else $code = $processed_code;
|
463 |
} else $code = $processed_code;
|
480 |
|
481 |
parent::__construct();
|
482 |
|
483 |
+
$this->wp_options [AI_OPTION_BLOCK_NAME] = '';
|
484 |
$this->wp_options [AI_OPTION_DISABLE_INSERTION] = AI_DISABLED;
|
485 |
$this->wp_options [AI_OPTION_SHOW_LABEL] = AI_DISABLED;
|
486 |
$this->wp_options [AI_OPTION_LAZY_LOADING] = AI_DISABLED;
|
503 |
$this->wp_options [AI_OPTION_AVOID_PARAGRAPHS_BELOW] = AD_EMPTY_DATA;
|
504 |
$this->wp_options [AI_OPTION_AVOID_TEXT_ABOVE] = AD_EMPTY_DATA;
|
505 |
$this->wp_options [AI_OPTION_AVOID_TEXT_BELOW] = AD_EMPTY_DATA;
|
506 |
+
$this->wp_options [AI_OPTION_AVOID_ACTION] = DEFAULT_AVOID_ACTION;
|
507 |
$this->wp_options [AI_OPTION_AVOID_TRY_LIMIT] = AD_ONE;
|
508 |
+
$this->wp_options [AI_OPTION_AVOID_DIRECTION] = DEFAULT_AVOID_DIRECTION;
|
509 |
$this->wp_options [AI_OPTION_EXCERPT_NUMBER] = AD_EMPTY_DATA;
|
510 |
$this->wp_options [AI_OPTION_FILTER_TYPE] = AI_FILTER_AUTO;
|
511 |
$this->wp_options [AI_OPTION_INVERTED_FILTER] = AI_DISABLED;
|
512 |
+
$this->wp_options [AI_OPTION_DIRECTION_TYPE] = DEFAULT_DIRECTION_TYPE;
|
513 |
$this->wp_options [AI_OPTION_ALIGNMENT_TYPE] = AI_ALIGNMENT_DEFAULT;
|
514 |
|
515 |
if (defined ('AI_STICKY_SETTINGS') && AI_STICKY_SETTINGS) {
|
524 |
$this->wp_options [AI_OPTION_ANIMATION_TRIGGER_DELAY] = DEFAULT_ANIMATION_TRIGGER_DELAY;
|
525 |
$this->wp_options [AI_OPTION_ANIMATION_TRIGGER_ONCE] = DEFAULT_ANIMATION_TRIGGER_ONCE;
|
526 |
}
|
527 |
+
$this->wp_options [AI_OPTION_GENERAL_TAG] = DEFAULT_GENERAL_TAG;
|
528 |
$this->wp_options [AI_OPTION_SCHEDULING] = AI_SCHEDULING_OFF;
|
529 |
$this->wp_options [AI_OPTION_AFTER_DAYS] = AD_EMPTY_DATA;
|
530 |
$this->wp_options [AI_OPTION_START_DATE] = AD_EMPTY_DATA;
|
534 |
$this->wp_options [AI_OPTION_ADB_BLOCK_REPLACEMENT] = AD_EMPTY_DATA;
|
535 |
$this->wp_options [AI_OPTION_MAXIMUM_INSERTIONS] = AD_EMPTY_DATA;
|
536 |
$this->wp_options [AI_OPTION_ID_LIST] = AD_EMPTY_DATA;
|
537 |
+
$this->wp_options [AI_OPTION_ID_LIST_TYPE] = AI_BLACK_LIST;
|
538 |
$this->wp_options [AI_OPTION_URL_LIST] = AD_EMPTY_DATA;
|
539 |
+
$this->wp_options [AI_OPTION_URL_LIST_TYPE] = AI_BLACK_LIST;
|
540 |
$this->wp_options [AI_OPTION_URL_PARAMETER_LIST] = AD_EMPTY_DATA;
|
541 |
+
$this->wp_options [AI_OPTION_URL_PARAMETER_LIST_TYPE] = AI_BLACK_LIST;
|
542 |
$this->wp_options [AI_OPTION_DOMAIN_LIST] = AD_EMPTY_DATA;
|
543 |
+
$this->wp_options [AI_OPTION_DOMAIN_LIST_TYPE] = AI_BLACK_LIST;
|
544 |
$this->wp_options [AI_OPTION_IP_ADDRESS_LIST] = AD_EMPTY_DATA;
|
545 |
+
$this->wp_options [AI_OPTION_IP_ADDRESS_LIST_TYPE] = AI_BLACK_LIST;
|
546 |
$this->wp_options [AI_OPTION_COUNTRY_LIST] = AD_EMPTY_DATA;
|
547 |
+
$this->wp_options [AI_OPTION_COUNTRY_LIST_TYPE] = AI_BLACK_LIST;
|
548 |
$this->wp_options [AI_OPTION_CATEGORY_LIST] = AD_EMPTY_DATA;
|
549 |
+
$this->wp_options [AI_OPTION_CATEGORY_LIST_TYPE] = AI_BLACK_LIST;
|
550 |
$this->wp_options [AI_OPTION_TAG_LIST] = AD_EMPTY_DATA;
|
551 |
+
$this->wp_options [AI_OPTION_TAG_LIST_TYPE] = AI_BLACK_LIST;
|
552 |
$this->wp_options [AI_OPTION_TAXONOMY_LIST] = AD_EMPTY_DATA;
|
553 |
+
$this->wp_options [AI_OPTION_TAXONOMY_LIST_TYPE] = AI_BLACK_LIST;
|
554 |
$this->wp_options [AI_OPTION_DISPLAY_ON_POSTS] = AI_ENABLED;
|
555 |
$this->wp_options [AI_OPTION_DISPLAY_ON_PAGES] = AI_DISABLED;
|
556 |
$this->wp_options [AI_OPTION_DISPLAY_ON_HOMEPAGE] = AI_DISABLED;
|
567 |
$this->wp_options [AI_OPTION_ENABLE_PHP_CALL] = AI_DISABLED;
|
568 |
$this->wp_options [AI_OPTION_ENABLE_WIDGET] = AI_ENABLED;
|
569 |
$this->wp_options [AI_OPTION_PARAGRAPH_TEXT] = AD_EMPTY_DATA;
|
570 |
+
$this->wp_options [AI_OPTION_PARAGRAPH_TEXT_TYPE] = DEFAULT_PARAGRAPH_TEXT_TYPE;
|
571 |
$this->wp_options [AI_OPTION_CUSTOM_CSS] = AD_EMPTY_DATA;
|
572 |
+
$this->wp_options [AI_OPTION_DISPLAY_FOR_USERS] = DEFAULT_DISPLAY_FOR_USERS;
|
573 |
$this->wp_options [AI_OPTION_DETECT_CLIENT_SIDE] = AI_DISABLED;
|
574 |
$this->wp_options [AI_OPTION_CLIENT_SIDE_ACTION] = DEFAULT_CLIENT_SIDE_ACTION;
|
575 |
$this->wp_options [AI_OPTION_CLOSE_BUTTON] = DEFAULT_CLOSE_BUTTON;
|
619 |
return $option;
|
620 |
}
|
621 |
|
622 |
+
public function get_automatic_insertion_text ($server_side_insertion = false, $translate = true){
|
623 |
|
624 |
if ($server_side_insertion)
|
625 |
$automatic_insertion = $this->get_server_side_insertion (); else
|
628 |
if ($automatic_insertion == null) $automatic_insertion = $this->get_automatic_insertion();
|
629 |
switch ($automatic_insertion) {
|
630 |
case AI_AUTOMATIC_INSERTION_DISABLED:
|
631 |
+
if (!$translate) return AI_TEXT_ENG_DISABLED;
|
632 |
return AI_TEXT_DISABLED;
|
633 |
break;
|
634 |
case AI_AUTOMATIC_INSERTION_BEFORE_POST:
|
635 |
+
if (!$translate) return AI_TEXT_ENG_BEFORE_POST;
|
636 |
return AI_TEXT_BEFORE_POST;
|
637 |
break;
|
638 |
case AI_AUTOMATIC_INSERTION_AFTER_POST:
|
639 |
+
if (!$translate) return AI_TEXT_ENG_AFTER_POST;
|
640 |
return AI_TEXT_AFTER_POST;
|
641 |
break;
|
642 |
case AI_AUTOMATIC_INSERTION_BEFORE_CONTENT:
|
643 |
+
if (!$translate) return AI_TEXT_ENG_BEFORE_CONTENT;
|
644 |
return AI_TEXT_BEFORE_CONTENT;
|
645 |
break;
|
646 |
case AI_AUTOMATIC_INSERTION_AFTER_CONTENT:
|
647 |
+
if (!$translate) return AI_TEXT_ENG_AFTER_CONTENT;
|
648 |
return AI_TEXT_AFTER_CONTENT;
|
649 |
break;
|
650 |
case AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH:
|
651 |
+
if (!$translate) return AI_TEXT_ENG_BEFORE_PARAGRAPH;
|
652 |
return AI_TEXT_BEFORE_PARAGRAPH;
|
653 |
break;
|
654 |
case AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH:
|
655 |
+
if (!$translate) return AI_TEXT_ENG_AFTER_PARAGRAPH;
|
656 |
return AI_TEXT_AFTER_PARAGRAPH;
|
657 |
break;
|
658 |
case AI_AUTOMATIC_INSERTION_BEFORE_EXCERPT:
|
659 |
+
if (!$translate) return AI_TEXT_ENG_BEFORE_EXCERPT;
|
660 |
return AI_TEXT_BEFORE_EXCERPT;
|
661 |
break;
|
662 |
case AI_AUTOMATIC_INSERTION_AFTER_EXCERPT:
|
663 |
+
if (!$translate) return AI_TEXT_ENG_AFTER_EXCERPT;
|
664 |
return AI_TEXT_AFTER_EXCERPT;
|
665 |
break;
|
666 |
case AI_AUTOMATIC_INSERTION_BETWEEN_POSTS:
|
667 |
+
if (!$translate) return AI_TEXT_ENG_BETWEEN_POSTS;
|
668 |
return AI_TEXT_BETWEEN_POSTS;
|
669 |
break;
|
670 |
case AI_AUTOMATIC_INSERTION_BEFORE_COMMENTS:
|
671 |
+
if (!$translate) return AI_TEXT_ENG_BEFORE_COMMENTS;
|
672 |
return AI_TEXT_BEFORE_COMMENTS;
|
673 |
break;
|
674 |
case AI_AUTOMATIC_INSERTION_BETWEEN_COMMENTS:
|
675 |
+
if (!$translate) return AI_TEXT_ENG_BETWEEN_COMMENTS;
|
676 |
return AI_TEXT_BETWEEN_COMMENTS;
|
677 |
break;
|
678 |
case AI_AUTOMATIC_INSERTION_AFTER_COMMENTS:
|
679 |
+
if (!$translate) return AI_TEXT_ENG_AFTER_COMMENTS;
|
680 |
return AI_TEXT_AFTER_COMMENTS;
|
681 |
break;
|
682 |
case AI_AUTOMATIC_INSERTION_FOOTER:
|
683 |
+
if (!$translate) return AI_TEXT_ENG_FOOTER;
|
684 |
return AI_TEXT_FOOTER;
|
685 |
break;
|
686 |
case AI_AUTOMATIC_INSERTION_ABOVE_HEADER:
|
687 |
+
if (!$translate) return AI_TEXT_ENG_ABOVE_HEADER;
|
688 |
return AI_TEXT_ABOVE_HEADER;
|
689 |
break;
|
690 |
case AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT:
|
691 |
+
if (!$translate) return AI_TEXT_ENG_BEFORE_HTML_ELEMENT;
|
692 |
return AI_TEXT_BEFORE_HTML_ELEMENT;
|
693 |
break;
|
694 |
case AI_AUTOMATIC_INSERTION_INSIDE_HTML_ELEMENT:
|
695 |
+
if (!$translate) return AI_TEXT_ENG_INSIDE_HTML_ELEMENT;
|
696 |
return AI_TEXT_INSIDE_HTML_ELEMENT;
|
697 |
break;
|
698 |
case AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT:
|
699 |
+
if (!$translate) return AI_TEXT_ENG_AFTER_HTML_ELEMENT;
|
700 |
return AI_TEXT_AFTER_HTML_ELEMENT;
|
701 |
break;
|
702 |
default:
|
734 |
return $option;
|
735 |
}
|
736 |
|
737 |
+
public function get_alignment_type_text ($translate = true){
|
738 |
switch ($this->get_alignment_type ()) {
|
739 |
case AI_ALIGNMENT_DEFAULT:
|
740 |
+
if (!$translate) return AI_TEXT_ENG_DEFAULT;
|
741 |
return AI_TEXT_DEFAULT;
|
742 |
break;
|
743 |
case AI_ALIGNMENT_LEFT:
|
744 |
+
if (!$translate) return AI_TEXT_ENG_LEFT;
|
745 |
return AI_TEXT_LEFT;
|
746 |
break;
|
747 |
case AI_ALIGNMENT_RIGHT:
|
748 |
+
if (!$translate) return AI_TEXT_ENG_RIGHT;
|
749 |
return AI_TEXT_RIGHT;
|
750 |
break;
|
751 |
case AI_ALIGNMENT_CENTER:
|
752 |
+
if (!$translate) return AI_TEXT_ENG_CENTER;
|
753 |
return AI_TEXT_CENTER;
|
754 |
break;
|
755 |
case AI_ALIGNMENT_FLOAT_LEFT:
|
756 |
+
if (!$translate) return AI_TEXT_ENG_FLOAT_LEFT;
|
757 |
return AI_TEXT_FLOAT_LEFT;
|
758 |
break;
|
759 |
case AI_ALIGNMENT_FLOAT_RIGHT:
|
760 |
+
if (!$translate) return AI_TEXT_ENG_FLOAT_RIGHT;
|
761 |
return AI_TEXT_FLOAT_RIGHT;
|
762 |
break;
|
763 |
case AI_ALIGNMENT_STICKY_LEFT:
|
764 |
+
if (!$translate) return AI_TEXT_ENG_STICKY_LEFT;
|
765 |
return AI_TEXT_STICKY_LEFT;
|
766 |
break;
|
767 |
case AI_ALIGNMENT_STICKY_RIGHT:
|
768 |
+
if (!$translate) return AI_TEXT_ENG_STICKY_RIGHT;
|
769 |
return AI_TEXT_STICKY_RIGHT;
|
770 |
break;
|
771 |
case AI_ALIGNMENT_STICKY_TOP:
|
772 |
+
if (!$translate) return AI_TEXT_ENG_STICKY_TOP;
|
773 |
return AI_TEXT_STICKY_TOP;
|
774 |
break;
|
775 |
case AI_ALIGNMENT_STICKY_BOTTOM:
|
776 |
+
if (!$translate) return AI_TEXT_ENG_STICKY_BOTTOM;
|
777 |
return AI_TEXT_STICKY_BOTTOM;
|
778 |
break;
|
779 |
case AI_ALIGNMENT_STICKY:
|
780 |
+
if (!$translate) return AI_TEXT_ENG_STICKY;
|
781 |
return AI_TEXT_STICKY;
|
782 |
break;
|
783 |
case AI_ALIGNMENT_NO_WRAPPING:
|
784 |
+
if (!$translate) return AI_TEXT_ENG_NO_WRAPPING;
|
785 |
return AI_TEXT_NO_WRAPPING;
|
786 |
break;
|
787 |
case AI_ALIGNMENT_CUSTOM_CSS:
|
788 |
+
if (!$translate) return AI_TEXT_ENG_CUSTOM_CSS;
|
789 |
return AI_TEXT_CUSTOM_CSS;
|
790 |
break;
|
791 |
default:
|
1255 |
return $option;
|
1256 |
}
|
1257 |
|
1258 |
+
public function get_html_element_insertion () {
|
1259 |
$option = isset ($this->wp_options [AI_OPTION_HTML_ELEMENT_INSERTION]) ? $this->wp_options [AI_OPTION_HTML_ELEMENT_INSERTION] : DEFAULT_HTML_ELEMENT_INSERTION;
|
1260 |
return $option;
|
1261 |
}
|
1262 |
|
1263 |
+
public function get_html_element_insertion_text ($translate = true) {
|
1264 |
+
switch ($this->get_html_element_insertion ()) {
|
1265 |
+
case AI_HTML_INSERTION_CLIENT_SIDE:
|
1266 |
+
if (!$translate) return AI_TEXT_ENG_CLIENT_SIDE;
|
1267 |
+
return AI_TEXT_CLIENT_SIDE;
|
1268 |
+
break;
|
1269 |
+
case AI_HTML_INSERTION_CLIENT_SIDE_DOM_READY:
|
1270 |
+
if (!$translate) return AI_TEXT_ENG_CLIENT_SIDE_DOM_READY;
|
1271 |
+
return AI_TEXT_CLIENT_SIDE_DOM_READY;
|
1272 |
+
break;
|
1273 |
+
case AI_HTML_INSERTION_SEREVR_SIDE:
|
1274 |
+
if (!$translate) return AI_TEXT_ENG_SERVER_SIDE;
|
1275 |
+
return AI_TEXT_SERVER_SIDE;
|
1276 |
+
break;
|
1277 |
+
default:
|
1278 |
+
return '';
|
1279 |
+
break;
|
1280 |
+
}
|
1281 |
+
}
|
1282 |
+
|
1283 |
public function get_inside_element (){
|
1284 |
$option = isset ($this->wp_options [AI_OPTION_INSIDE_ELEMENT]) ? $this->wp_options [AI_OPTION_INSIDE_ELEMENT] : DEFAULT_INSIDE_ELEMENT;
|
1285 |
return $option;
|
1355 |
}
|
1356 |
|
1357 |
public function get_avoid_action(){
|
1358 |
+
$option = isset ($this->wp_options [AI_OPTION_AVOID_ACTION]) ? $this->wp_options [AI_OPTION_AVOID_ACTION] : DEFAULT_AVOID_ACTION;
|
1359 |
+
if ($option == '') $option = DEFAULT_AVOID_ACTION;
|
1360 |
+
|
1361 |
+
elseif ($option == AD_DO_NOT_INSERT) $option = AI_DO_NOT_INSERT;
|
1362 |
+
elseif ($option == AD_TRY_TO_SHIFT_POSITION) $option = AI_TRY_TO_SHIFT_POSITION;
|
1363 |
+
|
1364 |
return $option;
|
1365 |
+
}
|
1366 |
+
|
1367 |
+
public function get_avoid_action_text ($translate = true) {
|
1368 |
+
switch ($this->get_avoid_action()) {
|
1369 |
+
case AI_DO_NOT_INSERT:
|
1370 |
+
if (!$translate) return AI_TEXT_ENG_DO_NOT_INSERT;
|
1371 |
+
return AI_TEXT_DO_NOT_INSERT;
|
1372 |
+
break;
|
1373 |
+
case AI_TRY_TO_SHIFT_POSITION:
|
1374 |
+
if (!$translate) return AI_TEXT_ENG_TRY_TO_SHIFT_POSITION;
|
1375 |
+
return AI_TEXT_TRY_TO_SHIFT_POSITION;
|
1376 |
+
break;
|
1377 |
+
default:
|
1378 |
+
return '';
|
1379 |
+
break;
|
1380 |
+
}
|
1381 |
+
}
|
1382 |
|
1383 |
public function get_avoid_try_limit(){
|
1384 |
$option = isset ($this->wp_options [AI_OPTION_AVOID_TRY_LIMIT]) ? $this->wp_options [AI_OPTION_AVOID_TRY_LIMIT] : "";
|
1387 |
}
|
1388 |
|
1389 |
public function get_avoid_direction(){
|
1390 |
+
$option = isset ($this->wp_options [AI_OPTION_AVOID_DIRECTION]) ? $this->wp_options [AI_OPTION_AVOID_DIRECTION] : DEFAULT_AVOID_DIRECTION;
|
1391 |
+
if ($option == '') $option = DEFAULT_AVOID_DIRECTION;
|
1392 |
+
|
1393 |
+
elseif ($option == AD_ABOVE) $option = AI_ABOVE;
|
1394 |
+
elseif ($option == AD_BELOW) $option = AI_BELOW;
|
1395 |
+
elseif ($option == AD_ABOVE_AND_THEN_BELOW) $option = AI_ABOVE_AND_THEN_BELOW;
|
1396 |
+
elseif ($option == AD_BELOW_AND_THEN_ABOVE) $option = AI_BELOW_AND_THEN_ABOVE;
|
1397 |
+
|
1398 |
return $option;
|
1399 |
+
}
|
1400 |
+
|
1401 |
+
public function get_avoid_direction_text ($translate = true){
|
1402 |
+
switch ($this->get_avoid_direction()) {
|
1403 |
+
case AI_ABOVE:
|
1404 |
+
if (!$translate) return AI_TEXT_ENG_ABOVE;
|
1405 |
+
return AI_TEXT_ABOVE;
|
1406 |
+
break;
|
1407 |
+
case AI_BELOW:
|
1408 |
+
if (!$translate) return AI_TEXT_ENG_BELOW;
|
1409 |
+
return AI_TEXT_BELOW;
|
1410 |
+
break;
|
1411 |
+
case AI_ABOVE_AND_THEN_BELOW:
|
1412 |
+
if (!$translate) return AI_TEXT_ENG_ABOVE_AND_THEN_BELOW;
|
1413 |
+
return AI_TEXT_ABOVE_AND_THEN_BELOW;
|
1414 |
+
break;
|
1415 |
+
case AI_BELOW_AND_THEN_ABOVE:
|
1416 |
+
if (!$translate) return AI_TEXT_ENG_BELOW_AND_THEN_ABOVE;
|
1417 |
+
return AI_TEXT_BELOW_AND_THEN_ABOVE;
|
1418 |
+
break;
|
1419 |
+
default:
|
1420 |
+
return '';
|
1421 |
+
break;
|
1422 |
+
}
|
1423 |
+
}
|
1424 |
|
1425 |
public function get_call_filter(){
|
1426 |
$option = isset ($this->wp_options [AI_OPTION_EXCERPT_NUMBER]) ? $this->wp_options [AI_OPTION_EXCERPT_NUMBER] : "";
|
1447 |
return $option;
|
1448 |
}
|
1449 |
|
1450 |
+
public function get_filter_type_text ($translate = true){
|
1451 |
switch ($this->get_filter_type()) {
|
1452 |
case AI_FILTER_AUTO:
|
1453 |
+
if (!$translate) return AI_TEXT_ENG_AUTO_COUNTER;
|
1454 |
+
return AI_TEXT_AUTO_COUNTER;
|
1455 |
break;
|
1456 |
case AI_FILTER_PHP_FUNCTION_CALLS:
|
1457 |
+
if (!$translate) return AI_TEXT_ENG_PHP_FUNCTION_CALLS_COUNTER;
|
1458 |
+
return AI_TEXT_PHP_FUNCTION_CALLS_COUNTER;
|
1459 |
break;
|
1460 |
case AI_FILTER_CONTENT_PROCESSING:
|
1461 |
+
if (!$translate) return AI_TEXT_ENG_CONTENT_PROCESSING_COUNTER;
|
1462 |
+
return AI_TEXT_CONTENT_PROCESSING_COUNTER;
|
1463 |
break;
|
1464 |
case AI_FILTER_EXCERPT_PROCESSING:
|
1465 |
+
if (!$translate) return AI_TEXT_ENG_EXCERPT_PROCESSING_COUNTER;
|
1466 |
+
return AI_TEXT_EXCERPT_PROCESSING_COUNTER;
|
1467 |
break;
|
1468 |
case AI_FILTER_BEFORE_POST_PROCESSING:
|
1469 |
+
if (!$translate) return AI_TEXT_ENG_BEFORE_POST_PROCESSING_COUNTER;
|
1470 |
+
return AI_TEXT_BEFORE_POST_PROCESSING_COUNTER;
|
1471 |
break;
|
1472 |
case AI_FILTER_AFTER_POST_PROCESSING:
|
1473 |
+
if (!$translate) return AI_TEXT_ENG_AFTER_POST_PROCESSING_COUNTER;
|
1474 |
+
return AI_TEXT_AFTER_POST_PROCESSING_COUNTER;
|
1475 |
break;
|
1476 |
case AI_FILTER_WIDGET_DRAWING:
|
1477 |
+
if (!$translate) return AI_TEXT_ENG_WIDGET_DRAWING_COUNTER;
|
1478 |
+
return AI_TEXT_WIDGET_DRAWING_COUNTER;
|
1479 |
break;
|
1480 |
case AI_FILTER_SUBPAGES:
|
1481 |
+
if (!$translate) return AI_TEXT_ENG_SUBPAGES_COUNTER;
|
1482 |
+
return AI_TEXT_SUBPAGES_COUNTER;
|
1483 |
break;
|
1484 |
case AI_FILTER_POSTS:
|
1485 |
+
if (!$translate) return AI_TEXT_ENG_POSTS_COUNTER;
|
1486 |
+
return AI_TEXT_POSTS_COUNTER;
|
1487 |
break;
|
1488 |
case AI_FILTER_PARAGRAPHS:
|
1489 |
+
if (!$translate) return AI_TEXT_ENG_PARAGRAPHS_COUNTER;
|
1490 |
+
return AI_TEXT_PARAGRAPHS_COUNTER;
|
1491 |
break;
|
1492 |
case AI_FILTER_COMMENTS:
|
1493 |
+
if (!$translate) return AI_TEXT_ENG_COMMENTS_COUNTER;
|
1494 |
+
return AI_TEXT_COMMENTS_COUNTER;
|
1495 |
break;
|
1496 |
default:
|
1497 |
return '';
|
1505 |
return $inverted_filter;
|
1506 |
}
|
1507 |
|
1508 |
+
public function get_direction_type () {
|
1509 |
+
$option = isset ($this->wp_options [AI_OPTION_DIRECTION_TYPE]) ? $this->wp_options [AI_OPTION_DIRECTION_TYPE] : DEFAULT_DIRECTION_TYPE;
|
1510 |
+
if ($option == '') $option = DEFAULT_DIRECTION_TYPE;
|
1511 |
+
|
1512 |
+
elseif ($option == AD_DIRECTION_FROM_TOP) $option = AI_DIRECTION_FROM_TOP;
|
1513 |
+
elseif ($option == AD_DIRECTION_FROM_BOTTOM) $option = AI_DIRECTION_FROM_BOTTOM;
|
1514 |
+
|
1515 |
return $option;
|
1516 |
}
|
1517 |
|
1518 |
+
public function get_direction_type_text ($translate = true){
|
1519 |
+
switch ($this->get_direction_type ()) {
|
1520 |
+
case AI_DIRECTION_FROM_TOP:
|
1521 |
+
if (!$translate) return AI_TEXT_ENG_DIRECTION_FROM_TOP;
|
1522 |
+
return AI_TEXT_DIRECTION_FROM_TOP;
|
1523 |
+
break;
|
1524 |
+
case AI_DIRECTION_FROM_BOTTOM:
|
1525 |
+
if (!$translate) return AI_TEXT_ENG_DIRECTION_FROM_BOTTOM;
|
1526 |
+
return AI_TEXT_DIRECTION_FROM_BOTTOM;
|
1527 |
+
break;
|
1528 |
+
default:
|
1529 |
+
return '';
|
1530 |
+
break;
|
1531 |
+
}
|
1532 |
+
}
|
1533 |
+
|
1534 |
public function get_display_settings_post(){
|
1535 |
$option = isset ($this->wp_options [AI_OPTION_DISPLAY_ON_POSTS]) ? $this->wp_options [AI_OPTION_DISPLAY_ON_POSTS] : "";
|
1536 |
if ($option == '') $option = AI_ENABLED;
|
1683 |
return $paragraph_text;
|
1684 |
}
|
1685 |
|
1686 |
+
public function get_paragraph_text_type () {
|
1687 |
+
$option = isset ($this->wp_options [AI_OPTION_PARAGRAPH_TEXT_TYPE]) ? $this->wp_options [AI_OPTION_PARAGRAPH_TEXT_TYPE] : DEFAULT_PARAGRAPH_TEXT_TYPE;
|
1688 |
+
if ($option == '') $option = DEFAULT_PARAGRAPH_TEXT_TYPE;
|
1689 |
+
|
1690 |
+
elseif ($option == AD_CONTAIN) $option = AI_CONTAIN;
|
1691 |
+
elseif ($option == AD_DO_NOT_CONTAIN) $option = AI_DO_NOT_CONTAIN;
|
1692 |
+
|
1693 |
+
return $option;
|
1694 |
+
}
|
1695 |
+
|
1696 |
+
public function get_paragraph_text_type_text ($translate = true){
|
1697 |
+
switch ($this->get_paragraph_text_type ()) {
|
1698 |
+
case AI_CONTAIN:
|
1699 |
+
if (!$translate) return AI_TEXT_ENG_CONTAIN;
|
1700 |
+
return AI_TEXT_CONTAIN;
|
1701 |
+
break;
|
1702 |
+
case AI_DO_NOT_CONTAIN:
|
1703 |
+
if (!$translate) return AI_TEXT_ENG_DO_NOT_CONTAIN;
|
1704 |
+
return AI_TEXT_DO_NOT_CONTAIN;
|
1705 |
+
break;
|
1706 |
+
default:
|
1707 |
+
return '';
|
1708 |
+
break;
|
1709 |
+
}
|
1710 |
+
}
|
1711 |
|
1712 |
public function get_custom_css (){
|
1713 |
global $ai_db_options;
|
1720 |
return $option;
|
1721 |
}
|
1722 |
|
1723 |
+
public function get_display_for_users (){
|
1724 |
+
$option = isset ($this->wp_options [AI_OPTION_DISPLAY_FOR_USERS]) ? $this->wp_options [AI_OPTION_DISPLAY_FOR_USERS] : DEFAULT_DISPLAY_FOR_USERS;
|
1725 |
+
if ($option == '') $option = DEFAULT_DISPLAY_FOR_USERS;
|
|
|
|
|
1726 |
|
1727 |
+
elseif ($option == 'all') $option = AI_DISPLAY_ALL_USERS;
|
1728 |
+
elseif ($option == 'logged in') $option = AI_DISPLAY_LOGGED_IN_USERS;
|
1729 |
+
elseif ($option == 'not logged in') $option = AI_DISPLAY_NOT_LOGGED_IN_USERS;
|
1730 |
|
1731 |
+
elseif ($option == AD_DISPLAY_ALL_USERS) $option = AI_DISPLAY_ALL_USERS;
|
1732 |
+
elseif ($option == AD_DISPLAY_LOGGED_IN_USERS) $option = AI_DISPLAY_LOGGED_IN_USERS;
|
1733 |
+
elseif ($option == AD_DISPLAY_NOT_LOGGED_IN_USERS) $option = AI_DISPLAY_NOT_LOGGED_IN_USERS;
|
1734 |
+
elseif ($option == AD_DISPLAY_ADMINISTRATORS) $option = AI_DISPLAY_ADMINISTRATORS;
|
1735 |
+
|
1736 |
+
return $option;
|
1737 |
+
}
|
1738 |
+
|
1739 |
+
public function get_display_for_users_text ($translate = true){
|
1740 |
+
switch ($this->get_display_for_users ()) {
|
1741 |
+
case AI_DISPLAY_ALL_USERS:
|
1742 |
+
if (!$translate) return AI_TEXT_ENG_DISPLAY_ALL_USERS;
|
1743 |
+
return AI_TEXT_DISPLAY_ALL_USERS;
|
1744 |
+
break;
|
1745 |
+
case AI_DISPLAY_LOGGED_IN_USERS:
|
1746 |
+
if (!$translate) return AI_TEXT_ENG_DISPLAY_LOGGED_IN_USERS;
|
1747 |
+
return AI_TEXT_DISPLAY_LOGGED_IN_USERS;
|
1748 |
+
break;
|
1749 |
+
case AI_DISPLAY_NOT_LOGGED_IN_USERS:
|
1750 |
+
if (!$translate) return AI_TEXT_ENG_DISPLAY_NOT_LOGGED_IN_USERS;
|
1751 |
+
return AI_TEXT_DISPLAY_NOT_LOGGED_IN_USERS;
|
1752 |
+
break;
|
1753 |
+
case AI_DISPLAY_ADMINISTRATORS:
|
1754 |
+
if (!$translate) return AI_TEXT_ENG_DISPLAY_ADMINISTRATORS;
|
1755 |
+
return AI_TEXT_DISPLAY_ADMINISTRATORS;
|
1756 |
+
break;
|
1757 |
+
default:
|
1758 |
+
return '';
|
1759 |
+
break;
|
1760 |
+
}
|
1761 |
+
}
|
1762 |
|
1763 |
public function get_detection_client_side(){
|
1764 |
global $ai_db_options;
|
1844 |
}
|
1845 |
|
1846 |
$counters = '';
|
1847 |
+
$title = __('Counters', 'ad-inserter') . ':';
|
1848 |
|
1849 |
if (isset ($ad_inserter_globals [AI_CONTENT_COUNTER_NAME]) && ($ai_wp_data [AI_CONTEXT] == AI_CONTEXT_CONTENT || $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_SHORTCODE)) {
|
1850 |
$counters .= ' C='.$ad_inserter_globals [AI_CONTENT_COUNTER_NAME];
|
1851 |
+
$title .= ' C= ' . __('Content', 'ad-inserter') . ', ';
|
1852 |
}
|
1853 |
|
1854 |
if (isset ($ad_inserter_globals [AI_EXCERPT_COUNTER_NAME]) && $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_EXCERPT) {
|
1855 |
$counters .= ' X='.$ad_inserter_globals [AI_EXCERPT_COUNTER_NAME];
|
1856 |
+
$title .= ' X = ' . __('Excerpt', 'ad-inserter') . ', ';
|
1857 |
}
|
1858 |
|
1859 |
if (isset ($ad_inserter_globals [AI_LOOP_BEFORE_COUNTER_NAME]) && $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_BEFORE_POST) {
|
1860 |
$counters .= ' B='.$ad_inserter_globals [AI_LOOP_BEFORE_COUNTER_NAME];
|
1861 |
+
$title .= ' B = ' . __('Before post', 'ad-inserter') . ', ';
|
1862 |
}
|
1863 |
|
1864 |
if (isset ($ad_inserter_globals [AI_LOOP_AFTER_COUNTER_NAME]) && $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_AFTER_POST) {
|
1865 |
$counters .= ' A='.$ad_inserter_globals [AI_LOOP_AFTER_COUNTER_NAME];
|
1866 |
+
$title .= ' A = ' . __('After post', 'ad-inserter') . ', ';
|
1867 |
}
|
1868 |
|
1869 |
if (isset ($ad_inserter_globals [AI_WIDGET_COUNTER_NAME . $this->number]) && $ai_wp_data [AI_CONTEXT] == AI_CONTEXT_WIDGET) {
|
1870 |
$counters .= ' W='.$ad_inserter_globals [AI_WIDGET_COUNTER_NAME . $this->number];
|
1871 |
+
$title .= ' W = ' . __('Widget', 'ad-inserter') . ', ';
|
1872 |
}
|
1873 |
|
1874 |
if (isset ($ad_inserter_globals [AI_PHP_FUNCTION_CALL_COUNTER_NAME . $this->number])) {
|
1875 |
$counters .= ' P='.$ad_inserter_globals [AI_PHP_FUNCTION_CALL_COUNTER_NAME . $this->number];
|
1876 |
+
$title .= ' P = ' . __('PHP function call', 'ad-inserter') . ', ';
|
1877 |
}
|
1878 |
|
1879 |
if (isset ($ad_inserter_globals [AI_BLOCK_COUNTER_NAME . $this->number])) {
|
1880 |
$counters .= ' N='.$ad_inserter_globals [AI_BLOCK_COUNTER_NAME . $this->number];
|
1881 |
+
$title .= ' N = ' . __('Block', 'ad-inserter');
|
1882 |
}
|
1883 |
|
1884 |
return $counters;
|
2144 |
$codes = explode (AD_AMP_SEPARATOR, $processed_code);
|
2145 |
$code_index = $ai_wp_data [AI_WP_AMP_PAGE] ? 1 : 0;
|
2146 |
$this->labels->class = $code_index ? 'ai-debug-amp' : 'ai-debug-default';
|
2147 |
+
if ($code_index == 1) {
|
2148 |
+
ai_log ('BLOCK ' . $this->number . ' AMP CODE USED');
|
2149 |
+
}
|
2150 |
$processed_code = trim ($codes [$code_index]);
|
2151 |
} else {
|
2152 |
// AMP page but No AMP separator - don't insert code unless enabled
|
2196 |
$referers = base64_encode ($referers_raw);
|
2197 |
$referer_list_type = $this->get_ad_domain_list_type ();
|
2198 |
|
2199 |
+
if ($this->client_side_cookie_check && ($url_parameters != '' || $url_parameter_list_type == AI_WHITE_LIST) || $referers != '' || $referer_list_type == AI_WHITE_LIST) {
|
2200 |
switch ($dynamic_blocks) {
|
2201 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
|
2202 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
|
2203 |
+
if ($url_parameter_list_type == AI_BLACK_LIST) $url_parameter_list_type = 'B'; else $url_parameter_list_type = 'W';
|
2204 |
+
if ($referer_list_type == AI_BLACK_LIST) $referer_list_type = 'B'; else $referer_list_type = 'W';
|
2205 |
|
2206 |
if ($this->client_side_cookie_check && ($url_parameters != '' || $url_parameter_list_type == 'W')) $url_parameter_attributes = "parameter-list='$url_parameters' parameter-list-type='$url_parameter_list_type'"; else $url_parameter_attributes = '';
|
2207 |
if ( $referers != '' || $referer_list_type == 'W') $referer_attributes = "referer-list='$referers' referer-list-type='$referer_list_type'"; else $referer_attributes = '';
|
2222 |
}
|
2223 |
|
2224 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
|
2225 |
+
// translators: %s: list parameters and type
|
2226 |
+
if ($this->client_side_cookie_check && ($url_parameters != '' || $url_parameter_list_type == 'W')) $url_parameter_attributes_dbg = sprintf (__ ("parameters='%s' type='%s'", 'ad-inserter'), $url_parameters_raw, $url_parameter_list_type); else $url_parameter_attributes_dbg = '';
|
2227 |
+
// translators: %s: list parameters and type
|
2228 |
+
if ( $referers != '' || $referer_list_type == 'W') $referer_attributes_dbg = sprintf (__ ("referers='%s' type='%s'", 'ad-inserter'), $referers_raw, $referer_list_type); else $referer_attributes_dbg = '';
|
2229 |
|
2230 |
+
$debug_list = new ai_block_labels ('ai-debug-lists');
|
2231 |
+
$processed_code = $debug_list->bar ($url_parameter_attributes_dbg . ' ' . $referer_attributes_dbg, 'B = ' . AI_TEXT_BLACK_LIST .', W = ' . AI_TEXT_WHITE_LIST, '<kbd class="ai-debug-name ai-list-status"></kbd>', '<kbd class="ai-debug-name ai-list-info"></kbd>') . $processed_code;
|
2232 |
}
|
2233 |
|
2234 |
break;
|
2236 |
if ($this->w3tc_code == '') $this->w3tc_code = '$ai_code = base64_decode (\''.base64_encode ($processed_code).'\'); $ai_index = 0; $ai_enabled = true;';
|
2237 |
|
2238 |
if ($referers != '') {
|
2239 |
+
$this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_check_referer_list (base64_decode (\''.$referers.'\'), '.($referer_list_type == AI_WHITE_LIST ? 'true':'false').');';
|
2240 |
+
} elseif ($referer_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
|
2241 |
|
2242 |
if ($this->client_side_cookie_check) {
|
2243 |
if ($url_parameters != '') {
|
2244 |
+
$this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_cookie_list (base64_decode (\''.$url_parameters.'\'), '.($url_parameter_list_type == AI_WHITE_LIST ? 'true':'false').');';
|
2245 |
+
} elseif ($url_parameter_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
|
2246 |
}
|
2247 |
|
2248 |
$processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
|
2258 |
$ip_addresses = trim (str_replace (' ', '', strtolower ($this->get_ad_ip_address_list ())));
|
2259 |
$ip_address_list_type = $this->get_ad_ip_address_list_type ();
|
2260 |
|
2261 |
+
if ($countries != '' || $country_list_type == AI_WHITE_LIST || $ip_addresses != '' || $ip_address_list_type == AI_WHITE_LIST) {
|
2262 |
switch ($dynamic_blocks) {
|
2263 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
|
2264 |
case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
|
2265 |
+
if ($country_list_type == AI_BLACK_LIST) $country_list_type = 'B'; else $country_list_type = 'W';
|
2266 |
+
if ($ip_address_list_type == AI_BLACK_LIST) $ip_address_list_type = 'B'; else $ip_address_list_type = 'W';
|
2267 |
|
2268 |
if ($countries != '' || $country_list_type == 'W') $country_attributes = "countries='$countries' country-list='$country_list_type'"; else $country_attributes = '';
|
2269 |
if ($ip_addresses != '' || $ip_address_list_type == 'W') $ip_address_attributes = "ip-addresses='$ip_addresses' ip-address-list='$ip_address_list_type'"; else $ip_address_attributes = '';
|
2284 |
}
|
2285 |
|
2286 |
if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
|
2287 |
+
|
2288 |
+
// translators: %s: list parameters and type
|
2289 |
+
if ($countries != '' || $country_list_type == 'W') $country_attributes_dbg = sprintf (__ ("countries='%s' type='%s'", 'ad-inserter'), $countries, $country_list_type); else $country_attributes_dbg = '';
|
2290 |
+
// translators: %s: list parameters and type
|
2291 |
+
if ($ip_addresses != '' || $ip_address_list_type == 'W') $ip_address_attributes_dbg = sprintf (__ ("ip addresses='%s' type='%s'", 'ad-inserter'), $ip_addresses, $ip_address_list_type); else $ip_address_attributes_dbg = '';
|
2292 |
+
|
2293 |
$debug_ip = new ai_block_labels ('ai-debug-lists');
|
2294 |
+
$processed_code = $debug_ip->bar ($country_attributes_dbg . ' ' . $ip_address_attributes_dbg, 'B = ' . AI_TEXT_BLACK_LIST .', W = ' . AI_TEXT_WHITE_LIST, '<kbd class="ai-debug-name ai-ip-status"></kbd>', '<kbd class="ai-debug-name ai-ip-country"></kbd>') . $processed_code;
|
2295 |
}
|
2296 |
|
2297 |
break;
|
2301 |
$this->w3tc_code .= ' require_once \''.AD_INSERTER_PLUGIN_DIR.'includes/geo/Ip2Country.php\';';
|
2302 |
|
2303 |
if ($ip_addresses != '') {
|
2304 |
+
$this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_ip_address_list (base64_decode (\''.base64_encode ($ip_addresses).'\'), '.($ip_address_list_type == AI_WHITE_LIST ? 'true':'false').');';
|
2305 |
+
} elseif ($ip_address_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
|
2306 |
|
2307 |
if ($countries != '') {
|
2308 |
+
$this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_country_list (base64_decode (\''.base64_encode ($countries).'\'), '.($country_list_type == AI_WHITE_LIST ? 'true':'false').');';
|
2309 |
+
} elseif ($country_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
|
2310 |
|
2311 |
$processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
|
2312 |
$processed_code .= $this->w3tc_code.' if ($ai_enabled) echo $ai_code;';
|
2333 |
|
2334 |
if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
|
2335 |
$this->labels->class = 'ai-debug-ajax';
|
2336 |
+
$ajax = __('AJAX REQUEST', 'ad-inserter');
|
2337 |
}
|
2338 |
|
2339 |
if ($this->fallback != 0) {
|
2347 |
$block_name = $this->number . ' ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>' . $fallback_block_name;
|
2348 |
|
2349 |
if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
|
2350 |
+
$ajax_bar = $this->labels->bar ($_SERVER ['REQUEST_URI'], __('Ajax request url', 'ad-inserter'), '', __('IN THE LOOP', 'ad-inserter') . ': ' . (in_the_loop() ? __('YES', 'ad-inserter') : __('NO', 'ad-inserter')), 'in_the_loop ()');
|
2351 |
} else $ajax_bar = '';
|
2352 |
|
2353 |
$this->additional_code_before =
|
2407 |
$this->number . ' ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>', '',
|
2408 |
$viewport_name . ' <kbd class="ai-debug-name ai-main"></kbd>',
|
2409 |
$counters, $title) .
|
2410 |
+
$this->labels->message (($hidden_widgets ? __('WIDGET', 'ad-inserter') : __('BLOCK', 'ad-inserter')).' '._x('INSERTED BUT NOT VISIBLE', 'block or widget', 'ad-inserter')) .
|
2411 |
'</section>';
|
2412 |
}
|
2413 |
}
|
2585 |
$viewports_insertion = $this->get_detection_client_side() && $this->get_client_side_action () == AI_CLIENT_SIDE_ACTION_INSERT;
|
2586 |
$server_side_html_insertion = $this->get_html_element_insertion () == AI_HTML_INSERTION_SEREVR_SIDE;
|
2587 |
|
2588 |
+
$insertion_name = '';
|
2589 |
switch ($this->get_automatic_insertion()) {
|
2590 |
case AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT:
|
2591 |
$insertion = 'before';
|
2592 |
+
$insertion_name = __('BEFORE', 'ad-inserter');
|
2593 |
if ($server_side_html_insertion && !$viewports_insertion) return $this->get_code_for_insertion ($include_viewport_classes, $hidden_widgets, $code_only);
|
2594 |
$html_element_insertion = true;
|
2595 |
break;
|
2597 |
switch ($this->get_inside_element ()) {
|
2598 |
case AI_HTML_PREPEND_CONTENT:
|
2599 |
$insertion = 'prepend';
|
2600 |
+
$insertion_name = __('PREPEND CONTENT', 'ad-inserter');
|
2601 |
break;
|
2602 |
case AI_HTML_APPEND_CONTENT:
|
2603 |
$insertion = 'append';
|
2604 |
+
$insertion_name = __('APPEND CONTENT', 'ad-inserter');
|
2605 |
break;
|
2606 |
case AI_HTML_REPLACE_CONTENT:
|
2607 |
$insertion = 'replace-content';
|
2608 |
+
$insertion_name = __('REPLACE CONTENT', 'ad-inserter');
|
2609 |
break;
|
2610 |
case AI_HTML_REPLACE_ELEMENT:
|
2611 |
$insertion = 'replace-element';
|
2612 |
+
$insertion_name = __('REPLACE ELEMENT', 'ad-inserter');
|
2613 |
break;
|
2614 |
default:
|
2615 |
$insertion = '';
|
2620 |
break;
|
2621 |
case AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT:
|
2622 |
$insertion = 'after';
|
2623 |
+
$insertion_name = __('AFTER', 'ad-inserter');
|
2624 |
if ($server_side_html_insertion && !$viewports_insertion) return $this->get_code_for_insertion ($include_viewport_classes, $hidden_widgets, $code_only);
|
2625 |
$html_element_insertion = true;
|
2626 |
break;
|
2685 |
|
2686 |
$version_name = $this->version_name == '' ? '' : ' - ' . $this->version_name;
|
2687 |
|
2688 |
+
$tag = $viewports_insertion ? 'div' : _x('script', 'JavaScript', 'ad-inserter');
|
2689 |
$debug_script = new ai_block_labels ('ai-debug-script');
|
2690 |
+
$serverside_insertion_code = $debug_script->bar (" $tag " . __('for', 'ad-inserter') . " " . $this->number . ' ' . $this->get_ad_name () . $version_name . ' ' . $fallback_block_name, '', $insertion_name . ' ' . $selector, $counters, $title) . $serverside_insertion_code;
|
2691 |
}
|
2692 |
|
2693 |
if ($this->w3tc_code != '' && get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && !defined ('AI_NO_W3TC')) {
|
2760 |
}
|
2761 |
|
2762 |
public function get_ad_general_tag(){
|
2763 |
+
$option = isset ($this->wp_options [AI_OPTION_GENERAL_TAG]) ? $this->wp_options [AI_OPTION_GENERAL_TAG] : DEFAULT_GENERAL_TAG;
|
2764 |
+
// if ($option == '') $option = DEFAULT_GENERAL_TAG;
|
2765 |
return $option;
|
2766 |
}
|
2767 |
|
2796 |
}
|
2797 |
|
2798 |
public function get_schedule_start_date(){
|
2799 |
+
$option = isset ($this->wp_options [AI_OPTION_START_DATE]) ? $this->wp_options [AI_OPTION_START_DATE] : "";
|
2800 |
+
return $option;
|
2801 |
}
|
2802 |
|
2803 |
public function get_schedule_end_date(){
|
2804 |
+
$option = isset ($this->wp_options [AI_OPTION_END_DATE]) ? $this->wp_options [AI_OPTION_END_DATE] : "";
|
2805 |
+
return $option;
|
2806 |
}
|
2807 |
|
2808 |
public function get_fallback(){
|
2809 |
+
$option = isset ($this->wp_options [AI_OPTION_FALLBACK]) ? $this->wp_options [AI_OPTION_FALLBACK] : "";
|
2810 |
+
return $option;
|
2811 |
}
|
2812 |
|
2813 |
public function get_maximum_insertions (){
|
2814 |
+
$option = isset ($this->wp_options [AI_OPTION_MAXIMUM_INSERTIONS]) ? $this->wp_options [AI_OPTION_MAXIMUM_INSERTIONS] : "";
|
2815 |
+
if ($option == '0') $option = '';
|
2816 |
+
return $option;
|
2817 |
}
|
2818 |
|
2819 |
public function get_id_list(){
|
2820 |
+
$option = isset ($this->wp_options [AI_OPTION_ID_LIST]) ? $this->wp_options [AI_OPTION_ID_LIST] : "";
|
2821 |
+
return $option;
|
2822 |
}
|
2823 |
|
2824 |
public function get_id_list_type (){
|
2825 |
+
$option = isset ($this->wp_options [AI_OPTION_ID_LIST_TYPE]) ? $this->wp_options [AI_OPTION_ID_LIST_TYPE] : AI_BLACK_LIST;
|
2826 |
+
if ($option == '') $option = AI_BLACK_LIST;
|
2827 |
+
|
2828 |
+
elseif ($option == AD_BLACK_LIST) $option = AI_BLACK_LIST;
|
2829 |
+
elseif ($option == AD_WHITE_LIST) $option = AI_WHITE_LIST;
|
2830 |
+
|
2831 |
+
return $option;
|
2832 |
}
|
2833 |
|
2834 |
public function get_ad_url_list(){
|
2835 |
+
$option = isset ($this->wp_options [AI_OPTION_URL_LIST]) ? $this->wp_options [AI_OPTION_URL_LIST] : "";
|
2836 |
+
return $option;
|
2837 |
}
|
2838 |
|
2839 |
public function get_ad_url_list_type (){
|
2840 |
+
$option = isset ($this->wp_options [AI_OPTION_URL_LIST_TYPE]) ? $this->wp_options [AI_OPTION_URL_LIST_TYPE] : AI_BLACK_LIST;
|
2841 |
+
if ($option == '') $option = AI_BLACK_LIST;
|
2842 |
+
|
2843 |
+
elseif ($option == AD_BLACK_LIST) $option = AI_BLACK_LIST;
|
2844 |
+
elseif ($option == AD_WHITE_LIST) $option = AI_WHITE_LIST;
|
2845 |
+
|
2846 |
+
return $option;
|
2847 |
}
|
2848 |
|
2849 |
public function get_url_parameter_list(){
|
2850 |
+
$option = isset ($this->wp_options [AI_OPTION_URL_PARAMETER_LIST]) ? $this->wp_options [AI_OPTION_URL_PARAMETER_LIST] : "";
|
2851 |
+
return $option;
|
2852 |
}
|
2853 |
|
2854 |
public function get_url_parameter_list_type (){
|
2855 |
+
$option = isset ($this->wp_options [AI_OPTION_URL_PARAMETER_LIST_TYPE]) ? $this->wp_options [AI_OPTION_URL_PARAMETER_LIST_TYPE] : AI_BLACK_LIST;
|
2856 |
+
if ($option == '') $option = AI_BLACK_LIST;
|
2857 |
+
|
2858 |
+
elseif ($option == AD_BLACK_LIST) $option = AI_BLACK_LIST;
|
2859 |
+
elseif ($option == AD_WHITE_LIST) $option = AI_WHITE_LIST;
|
2860 |
+
|
2861 |
+
return $option;
|
2862 |
}
|
2863 |
|
2864 |
public function get_ad_domain_list(){
|
2867 |
}
|
2868 |
|
2869 |
public function get_ad_domain_list_type (){
|
2870 |
+
$option = isset ($this->wp_options [AI_OPTION_DOMAIN_LIST_TYPE]) ? $this->wp_options [AI_OPTION_DOMAIN_LIST_TYPE] : AI_BLACK_LIST;
|
2871 |
+
if ($option == '') $option = AI_BLACK_LIST;
|
2872 |
+
|
2873 |
+
elseif ($option == AD_BLACK_LIST) $option = AI_BLACK_LIST;
|
2874 |
+
elseif ($option == AD_WHITE_LIST) $option = AI_WHITE_LIST;
|
2875 |
+
|
2876 |
+
return $option;
|
2877 |
}
|
2878 |
|
2879 |
public function get_ad_ip_address_list (){
|
2882 |
}
|
2883 |
|
2884 |
public function get_ad_ip_address_list_type (){
|
2885 |
+
$option = isset ($this->wp_options [AI_OPTION_IP_ADDRESS_LIST_TYPE]) ? $this->wp_options [AI_OPTION_IP_ADDRESS_LIST_TYPE] : AI_BLACK_LIST;
|
2886 |
+
if ($option == '') $option = AI_BLACK_LIST;
|
2887 |
+
|
2888 |
+
elseif ($option == AD_BLACK_LIST) $option = AI_BLACK_LIST;
|
2889 |
+
elseif ($option == AD_WHITE_LIST) $option = AI_WHITE_LIST;
|
2890 |
+
|
2891 |
+
return $option;
|
2892 |
}
|
2893 |
|
2894 |
public function get_ad_country_list ($expand = false){
|
2898 |
}
|
2899 |
|
2900 |
public function get_ad_country_list_type (){
|
2901 |
+
$option = isset ($this->wp_options [AI_OPTION_COUNTRY_LIST_TYPE]) ? $this->wp_options [AI_OPTION_COUNTRY_LIST_TYPE] : AI_BLACK_LIST;
|
2902 |
+
if ($option == '') $option = AI_BLACK_LIST;
|
2903 |
+
|
2904 |
+
elseif ($option == AD_BLACK_LIST) $option = AI_BLACK_LIST;
|
2905 |
+
elseif ($option == AD_WHITE_LIST) $option = AI_WHITE_LIST;
|
2906 |
+
|
2907 |
+
return $option;
|
2908 |
}
|
2909 |
|
2910 |
public function get_ad_name(){
|
2911 |
$option = isset ($this->wp_options [AI_OPTION_BLOCK_NAME]) ? $this->wp_options [AI_OPTION_BLOCK_NAME] : "";
|
2912 |
+
if ($option == '') $option = DEFAULT_AD_NAME. " " . $this->number;
|
2913 |
return $option;
|
2914 |
}
|
2915 |
|
2919 |
}
|
2920 |
|
2921 |
public function get_ad_block_cat_type(){
|
2922 |
+
$option = isset ($this->wp_options [AI_OPTION_CATEGORY_LIST_TYPE]) ? $this->wp_options [AI_OPTION_CATEGORY_LIST_TYPE] : AI_BLACK_LIST;
|
2923 |
|
2924 |
+
// Update old data
|
2925 |
+
if ($option == ''){
|
2926 |
+
$option = AI_BLACK_LIST;
|
2927 |
+
$this->wp_options [AI_OPTION_CATEGORY_LIST_TYPE] = AI_BLACK_LIST;
|
2928 |
+
}
|
2929 |
|
2930 |
+
if ($option == '') $option = AI_BLACK_LIST;
|
2931 |
+
|
2932 |
+
elseif ($option == AD_BLACK_LIST) $option = AI_BLACK_LIST;
|
2933 |
+
elseif ($option == AD_WHITE_LIST) $option = AI_WHITE_LIST;
|
2934 |
+
|
2935 |
+
return $option;
|
2936 |
+
}
|
2937 |
|
2938 |
public function get_ad_block_tag(){
|
2939 |
$option = isset ($this->wp_options [AI_OPTION_TAG_LIST]) ? $this->wp_options [AI_OPTION_TAG_LIST] : "";
|
2941 |
}
|
2942 |
|
2943 |
public function get_ad_block_tag_type(){
|
2944 |
+
$option = isset ($this->wp_options [AI_OPTION_TAG_LIST_TYPE]) ? $this->wp_options [AI_OPTION_TAG_LIST_TYPE] : AI_BLACK_LIST;
|
2945 |
+
if ($option == '') $option = AI_BLACK_LIST;
|
2946 |
+
|
2947 |
+
elseif ($option == AD_BLACK_LIST) $option = AI_BLACK_LIST;
|
2948 |
+
elseif ($option == AD_WHITE_LIST) $option = AI_WHITE_LIST;
|
2949 |
+
|
2950 |
+
return $option;
|
2951 |
}
|
2952 |
|
2953 |
public function get_ad_block_taxonomy(){
|
2956 |
}
|
2957 |
|
2958 |
public function get_ad_block_taxonomy_type(){
|
2959 |
+
$option = isset ($this->wp_options [AI_OPTION_TAXONOMY_LIST_TYPE]) ? $this->wp_options [AI_OPTION_TAXONOMY_LIST_TYPE] : AI_BLACK_LIST;
|
2960 |
+
if ($option == '') $option = AI_BLACK_LIST;
|
2961 |
+
|
2962 |
+
elseif ($option == AD_BLACK_LIST) $option = AI_BLACK_LIST;
|
2963 |
+
elseif ($option == AD_WHITE_LIST) $option = AI_WHITE_LIST;
|
2964 |
+
|
2965 |
+
return $option;
|
2966 |
+
}
|
2967 |
|
2968 |
public function get_ad_enabled_on_which_pages (){
|
2969 |
$option = isset ($this->wp_options [AI_OPTION_ENABLED_ON_WHICH_PAGES]) ? $this->wp_options [AI_OPTION_ENABLED_ON_WHICH_PAGES] : AI_NO_INDIVIDUAL_EXCEPTIONS;
|
2978 |
return $option;
|
2979 |
}
|
2980 |
|
2981 |
+
public function get_ad_enabled_on_which_pages_text ($translated = true){
|
2982 |
switch ($this->get_ad_enabled_on_which_pages ()) {
|
2983 |
case AI_NO_INDIVIDUAL_EXCEPTIONS:
|
2984 |
+
if (!$translated) return AI_TEXT_ENG_NO_INDIVIDUAL_EXCEPTIONS;
|
2985 |
+
return AI_TEXT_PAGES_NO_INDIVIDUAL_EXCEPTIONS;
|
2986 |
break;
|
2987 |
case AI_INDIVIDUALLY_DISABLED:
|
2988 |
+
if (!$translated) return AI_TEXT_ENG_INDIVIDUALLY_DISABLED;
|
2989 |
+
return AI_TEXT_PAGES_INDIVIDUALLY_DISABLED;
|
2990 |
break;
|
2991 |
case AI_INDIVIDUALLY_ENABLED:
|
2992 |
+
if (!$translated) return AI_TEXT_ENG_INDIVIDUALLY_ENABLED;
|
2993 |
+
return AI_TEXT_PAGES_INDIVIDUALLY_ENABLED;
|
2994 |
break;
|
2995 |
default:
|
2996 |
return '';
|
3011 |
return $option;
|
3012 |
}
|
3013 |
|
3014 |
+
public function get_ad_enabled_on_which_posts_text ($translated = true){
|
3015 |
switch ($this->get_ad_enabled_on_which_posts ()) {
|
3016 |
case AI_NO_INDIVIDUAL_EXCEPTIONS:
|
3017 |
+
if (!$translated) return AI_TEXT_ENG_NO_INDIVIDUAL_EXCEPTIONS;
|
3018 |
+
return AI_TEXT_POSTS_NO_INDIVIDUAL_EXCEPTIONS;
|
3019 |
break;
|
3020 |
case AI_INDIVIDUALLY_DISABLED:
|
3021 |
+
if (!$translated) return AI_TEXT_ENG_INDIVIDUALLY_DISABLED;
|
3022 |
+
return AI_TEXT_POSTS_INDIVIDUALLY_DISABLED;
|
3023 |
break;
|
3024 |
case AI_INDIVIDUALLY_ENABLED:
|
3025 |
+
if (!$translated) return AI_TEXT_ENG_INDIVIDUALLY_ENABLED;
|
3026 |
+
return AI_TEXT_POSTS_INDIVIDUALLY_ENABLED;
|
3027 |
break;
|
3028 |
default:
|
3029 |
return '';
|
3095 |
case AI_ALIGNMENT_STICKY_RIGHT:
|
3096 |
case AI_ALIGNMENT_STICKY_TOP:
|
3097 |
case AI_ALIGNMENT_STICKY_BOTTOM:
|
3098 |
+
return $block_class_name . str_replace (' ', '-', strtolower ($this->get_alignment_type_text (false)));
|
3099 |
break;
|
3100 |
case AI_ALIGNMENT_STICKY:
|
3101 |
return $block_class_name . str_replace (' ', '-', strtolower (md5 ($this->alignment_style ($this->get_alignment_type ()))));
|
3255 |
$paragraph_code = substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
|
3256 |
}
|
3257 |
|
3258 |
+
if ($paragraph_text_type == AI_CONTAIN) {
|
3259 |
$found = true;
|
3260 |
foreach ($paragraph_texts as $paragraph_text) {
|
3261 |
if (trim ($paragraph_text) == '') continue;
|
3273 |
}
|
3274 |
}
|
3275 |
if (!$found) $active_paragraph_positions [$index] = 0;
|
3276 |
+
} elseif ($paragraph_text_type == AI_DO_NOT_CONTAIN) {
|
3277 |
$found = false;
|
3278 |
foreach ($paragraph_texts as $paragraph_text) {
|
3279 |
if (trim ($paragraph_text) == '') continue;
|
3316 |
}
|
3317 |
$paragraph_end_positions = $filtered_paragraph_end_positions;
|
3318 |
|
3319 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
3320 |
$paragraph_end_positions = array_reverse ($paragraph_end_positions);
|
3321 |
}
|
3322 |
}
|
3330 |
$paragraph_positions = $filtered_paragraph_positions;
|
3331 |
|
3332 |
|
3333 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
3334 |
$paragraph_positions = array_reverse ($paragraph_positions);
|
3335 |
}
|
3336 |
|
3359 |
$positions = array ($position);
|
3360 |
}
|
3361 |
elseif (strpos ($position_text, ',') !== false) {
|
3362 |
+
$new_positions = array ();
|
3363 |
$positions = explode (',', str_replace (' ', '', $position_text));
|
3364 |
foreach ($positions as $index => $position) {
|
3365 |
+
if (isset ($position [0]) && $position [0] == '%') {
|
3366 |
+
unset ($positions [$index]);
|
3367 |
+
$mod_value = substr ($position, 1);
|
3368 |
+
if (is_numeric ($mod_value) && $mod_value > 0) {
|
3369 |
+
foreach ($paragraph_positions as $index => $paragraph_position) {
|
3370 |
+
if (($index + 1) % $mod_value == 0) $new_positions []= $index;
|
3371 |
+
}
|
3372 |
+
}
|
3373 |
+
}
|
3374 |
+
elseif ($position > 0 && $position < 1) {
|
3375 |
$positions [$index] = intval ($position * (count ($paragraph_positions) - 1) + 0.5);
|
3376 |
}
|
3377 |
elseif ($position > - 1 && $position < 0) {
|
3385 |
}
|
3386 |
else $positions [$index] = $position - 1;
|
3387 |
}
|
3388 |
+
$positions = array_unique (array_merge ($positions, $new_positions));
|
3389 |
+
sort ($positions);
|
3390 |
+
}
|
3391 |
+
elseif (isset ($position_text [0]) && $position_text [0] == '%') {
|
3392 |
+
$mod_value = substr ($position_text, 1);
|
3393 |
+
if (is_numeric ($mod_value) && $mod_value > 0) {
|
3394 |
+
foreach ($paragraph_positions as $index => $paragraph_position) {
|
3395 |
+
if (($index + 1) % $mod_value == 0) $positions []= $index;
|
3396 |
+
}
|
3397 |
+
}
|
3398 |
}
|
3399 |
elseif ($position_text == '') {
|
3400 |
$positions = array ();
|
3404 |
$words_above = 0;
|
3405 |
foreach ($paragraph_positions as $index => $paragraph_position) {
|
3406 |
|
3407 |
+
if ($this->get_direction_type() != AI_DIRECTION_FROM_BOTTOM) {
|
3408 |
if ($words_above >= $min_words_above) {
|
3409 |
$positions []= $index;
|
3410 |
$words_above = 0;
|
3420 |
|
3421 |
$words_above += number_of_words ($paragraph_code);
|
3422 |
|
3423 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
3424 |
if ($words_above >= $min_words_above) {
|
3425 |
$positions []= $index;
|
3426 |
$words_above = 0;
|
3433 |
$positions []= $index;
|
3434 |
}
|
3435 |
|
3436 |
+
$filter_settings = trim (str_replace (' ', '', $this->get_call_filter()));
|
3437 |
+
if (!empty ($filter_settings)) {
|
3438 |
+
if ($this->get_filter_type() == AI_FILTER_PARAGRAPHS) {
|
3439 |
|
3440 |
$filter_values = array ();
|
3441 |
if (strpos ($filter_settings, ",") !== false) {
|
3465 |
if ($insert xor $inverted_filter) $filtered_positions []= $position;
|
3466 |
}
|
3467 |
$positions = $filtered_positions;
|
3468 |
+
}
|
3469 |
+
// else $positions = array ();
|
3470 |
}
|
3471 |
|
3472 |
}
|
3572 |
if ($debug_processing && $this->number != 0) ai_log ('BLOCK ' . $this->number . ' CLEARANCE CHECK POSITION ' . ($position + 1) . ' FAILED');
|
3573 |
|
3574 |
$ai_last_check = AI_CHECK_DO_NOT_INSERT;
|
3575 |
+
if ($this->get_avoid_action() == AI_DO_NOT_INSERT) {
|
3576 |
$failed_clearance_positions [$positions [$position_index]] = $ai_last_check;
|
3577 |
$positions [$position_index] = - 1;
|
3578 |
break;
|
3579 |
}
|
3580 |
|
3581 |
switch ($direction) {
|
3582 |
+
case AI_ABOVE: // Try above
|
3583 |
$ai_last_check = AI_CHECK_AD_ABOVE;
|
3584 |
// Already at the top - do not insert
|
3585 |
if ($position == 0) {
|
3590 |
|
3591 |
$position --;
|
3592 |
break;
|
3593 |
+
case AI_BELOW: // Try below
|
3594 |
$ai_last_check = AI_CHECK_AD_BELOW;
|
3595 |
// Already at the bottom - do not insert
|
3596 |
if ($position >= count ($paragraph_positions) - 1) {
|
3601 |
|
3602 |
$position ++;
|
3603 |
break;
|
3604 |
+
case AI_ABOVE_AND_THEN_BELOW: // Try first above and then below
|
3605 |
if ($position == 0 || $checks == 0) {
|
3606 |
// Try below
|
3607 |
+
$direction = AI_BELOW;
|
3608 |
$checks = $max_checks;
|
3609 |
$position = $saved_position;
|
3610 |
$ai_last_check = AI_CHECK_AD_BELOW;
|
3618 |
$position ++;
|
3619 |
} else $position --;
|
3620 |
break;
|
3621 |
+
case AI_BELOW_AND_THEN_ABOVE: // Try first below and then above
|
3622 |
if ($position >= count ($paragraph_positions) - 1 || $checks == 0) {
|
3623 |
// Try above
|
3624 |
+
$direction = AI_ABOVE;
|
3625 |
$checks = $max_checks;
|
3626 |
$position = $saved_position;
|
3627 |
$ai_last_check = AI_CHECK_AD_ABOVE;
|
3677 |
foreach ($paragraph_positions as $counter => $paragraph_position) {
|
3678 |
if ($position_preview) {
|
3679 |
if ($multibyte) {
|
3680 |
+
$paragraph_code = mb_substr ($content, $paragraph_position + $offset, $paragraph_end_positions [$counter] - $paragraph_position + 1);
|
3681 |
} else {
|
3682 |
+
$paragraph_code = substr ($content, $paragraph_position + $offset, $paragraph_end_positions [$counter] - $paragraph_position + 1);
|
3683 |
}
|
3684 |
+
|
3685 |
$paragraph_words = number_of_words ($paragraph_code);
|
3686 |
$inserted_code = "[[AI_BP".($counter + 1)."=".$paragraph_words."]]";
|
3687 |
}
|
3718 |
}
|
3719 |
|
3720 |
if ($multibyte) {
|
3721 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
3722 |
$content = mb_substr ($content, 0, $paragraph_position) . $inserted_code . mb_substr ($content, $paragraph_position);
|
3723 |
} else {
|
3724 |
$content = mb_substr ($content, 0, $paragraph_position + $offset) . $inserted_code . mb_substr ($content, $paragraph_position + $offset);
|
3725 |
$offset += mb_strlen ($inserted_code);
|
3726 |
}
|
3727 |
} else {
|
3728 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
3729 |
$content = substr_replace ($content, $inserted_code, $paragraph_position, 0);
|
3730 |
} else {
|
3731 |
$content = substr_replace ($content, $inserted_code, $paragraph_position + $offset, 0);
|
3739 |
}
|
3740 |
|
3741 |
// empty $positions
|
3742 |
+
$ai_last_check = AI_CHECK_NO_PARAGRAPHS;
|
3743 |
return $content;
|
3744 |
}
|
3745 |
|
3898 |
$paragraph_code = substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
|
3899 |
}
|
3900 |
|
3901 |
+
if ($paragraph_text_type == AI_CONTAIN) {
|
3902 |
$found = true;
|
3903 |
foreach ($paragraph_texts as $paragraph_text) {
|
3904 |
if (trim ($paragraph_text) == '') continue;
|
3917 |
|
3918 |
}
|
3919 |
if (!$found) $filtered_paragraph_positions [] = $active_paragraph_positions [$index] = 0;
|
3920 |
+
} elseif ($paragraph_text_type == AI_DO_NOT_CONTAIN) {
|
3921 |
$found = false;
|
3922 |
foreach ($paragraph_texts as $paragraph_text) {
|
3923 |
if (trim ($paragraph_text) == '') continue;
|
3962 |
}
|
3963 |
$paragraph_start_positions = $filtered_paragraph_positions;
|
3964 |
|
3965 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
3966 |
$paragraph_start_positions = array_reverse ($paragraph_start_positions);
|
3967 |
}
|
3968 |
}
|
3975 |
$paragraph_positions = $filtered_paragraph_positions;
|
3976 |
|
3977 |
|
3978 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
3979 |
$paragraph_positions = array_reverse ($paragraph_positions);
|
3980 |
}
|
3981 |
|
3998 |
}
|
3999 |
elseif ($position == 0) {
|
4000 |
$position = mt_rand (0, count ($paragraph_positions) - 1);
|
4001 |
+
}
|
4002 |
+
else $position --;
|
4003 |
+
|
4004 |
$positions = array ($position);
|
4005 |
}
|
4006 |
elseif (strpos ($position_text, ',') !== false) {
|
4007 |
+
$new_positions = array ();
|
4008 |
$positions = explode (',', str_replace (' ', '', $position_text));
|
4009 |
foreach ($positions as $index => $position) {
|
4010 |
+
if (isset ($position [0]) && $position [0] == '%') {
|
4011 |
+
unset ($positions [$index]);
|
4012 |
+
$mod_value = substr ($position, 1);
|
4013 |
+
if (is_numeric ($mod_value) && $mod_value > 0) {
|
4014 |
+
foreach ($paragraph_positions as $index => $paragraph_position) {
|
4015 |
+
if (($index + 1) % $mod_value == 0) $new_positions []= $index;
|
4016 |
+
}
|
4017 |
+
}
|
4018 |
+
}
|
4019 |
+
elseif ($position > 0 && $position < 1) {
|
4020 |
$positions [$index] = intval ($position * (count ($paragraph_positions) - 1) + 0.5);
|
4021 |
}
|
4022 |
elseif ($position > - 1 && $position < 0) {
|
4028 |
elseif ($position == 0) {
|
4029 |
$positions [$index] = mt_rand (0, count ($paragraph_positions) - 1);
|
4030 |
}
|
4031 |
+
else $positions [$index] = $position - 1;
|
4032 |
+
}
|
4033 |
+
$positions = array_unique (array_merge ($positions, $new_positions));
|
4034 |
+
sort ($positions);
|
4035 |
+
}
|
4036 |
+
elseif (isset ($position_text [0]) && $position_text [0] == '%') {
|
4037 |
+
$mod_value = substr ($position_text, 1);
|
4038 |
+
if (is_numeric ($mod_value) && $mod_value > 0) {
|
4039 |
+
foreach ($paragraph_positions as $index => $paragraph_position) {
|
4040 |
+
if (($index + 1) % $mod_value == 0) $positions []= $index;
|
4041 |
+
}
|
4042 |
}
|
4043 |
}
|
4044 |
elseif ($position_text == '') {
|
4049 |
$words_above = 0;
|
4050 |
foreach ($paragraph_positions as $index => $paragraph_position) {
|
4051 |
|
4052 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
4053 |
if ($words_above >= $min_words_above) {
|
4054 |
$positions []= $index;
|
4055 |
$words_above = 0;
|
4064 |
|
4065 |
$words_above += number_of_words ($paragraph_code);
|
4066 |
|
4067 |
+
if ($this->get_direction_type() != AI_DIRECTION_FROM_BOTTOM) {
|
4068 |
if ($words_above >= $min_words_above) {
|
4069 |
$positions []= $index;
|
4070 |
$words_above = 0;
|
4077 |
$positions []= $index;
|
4078 |
}
|
4079 |
|
4080 |
+
$filter_settings = trim (str_replace (' ', '', $this->get_call_filter()));
|
4081 |
+
if (!empty ($filter_settings)) {
|
4082 |
+
if ($this->get_filter_type() == AI_FILTER_PARAGRAPHS) {
|
4083 |
$filter_values = array ();
|
4084 |
if (strpos ($filter_settings, ",") !== false) {
|
4085 |
$filter_values = explode (",", $filter_settings);
|
4106 |
if ($insert xor $inverted_filter) $filtered_positions []= $position;
|
4107 |
}
|
4108 |
$positions = $filtered_positions;
|
4109 |
+
}
|
4110 |
+
// else $positions = array ();
|
4111 |
}
|
4112 |
}
|
4113 |
}
|
4213 |
if ($debug_processing && $this->number != 0) ai_log ('BLOCK ' . $this->number . ' CLEARANCE CHECK POSITION ' . ($position + 1) . ' FAILED');
|
4214 |
|
4215 |
$ai_last_check = AI_CHECK_DO_NOT_INSERT;
|
4216 |
+
if ($this->get_avoid_action() == AI_DO_NOT_INSERT) {
|
4217 |
$failed_clearance_positions [$positions [$position_index]] = $ai_last_check;
|
4218 |
$positions [$position_index] = - 1;
|
4219 |
break;
|
4220 |
}
|
4221 |
|
4222 |
switch ($direction) {
|
4223 |
+
case AI_ABOVE: // Try above
|
4224 |
$ai_last_check = AI_CHECK_AD_ABOVE;
|
4225 |
// Already at the top - do not insert
|
4226 |
if ($position == 0) {
|
4231 |
|
4232 |
$position --;
|
4233 |
break;
|
4234 |
+
case AI_BELOW: // Try below
|
4235 |
$ai_last_check = AI_CHECK_AD_BELOW;
|
4236 |
// Already at the bottom - do not insert
|
4237 |
if ($position >= count ($paragraph_positions) - 1) {
|
4242 |
|
4243 |
$position ++;
|
4244 |
break;
|
4245 |
+
case AI_ABOVE_AND_THEN_BELOW: // Try first above and then below
|
4246 |
if ($position == 0 || $checks == 0) {
|
4247 |
// Try below
|
4248 |
+
$direction = AI_BELOW;
|
4249 |
$checks = $max_checks;
|
4250 |
$position = $saved_position;
|
4251 |
$ai_last_check = AI_CHECK_AD_BELOW;
|
4259 |
$position ++;
|
4260 |
} else $position --;
|
4261 |
break;
|
4262 |
+
case AI_BELOW_AND_THEN_ABOVE: // Try first below and then above
|
4263 |
if ($position >= count ($paragraph_positions) - 1 || $checks == 0) {
|
4264 |
// Try above
|
4265 |
+
$direction = AI_ABOVE;
|
4266 |
$checks = $max_checks;
|
4267 |
$position = $saved_position;
|
4268 |
$ai_last_check = AI_CHECK_AD_ABOVE;
|
4349 |
}
|
4350 |
|
4351 |
if ($multibyte) {
|
4352 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
4353 |
$content = mb_substr ($content, 0, $paragraph_position + 1) . $inserted_code . mb_substr ($content, $paragraph_position + 1);
|
4354 |
} else {
|
4355 |
$content = mb_substr ($content, 0, $paragraph_position + $offset + 1) . $inserted_code . mb_substr ($content, $paragraph_position + $offset + 1);
|
4356 |
$offset += mb_strlen ($inserted_code);
|
4357 |
}
|
4358 |
} else {
|
4359 |
+
if ($this->get_direction_type() == AI_DIRECTION_FROM_BOTTOM) {
|
4360 |
$content = substr_replace ($content, $inserted_code, $paragraph_position + 1, 0);
|
4361 |
} else {
|
4362 |
$content = substr_replace ($content, $inserted_code, $paragraph_position + $offset + 1, 0);
|
4370 |
}
|
4371 |
|
4372 |
// empty $positions
|
4373 |
+
$ai_last_check = AI_CHECK_NO_PARAGRAPHS;
|
4374 |
return $content;
|
4375 |
}
|
4376 |
|
4427 |
|
4428 |
$wp_categories = get_the_category ();
|
4429 |
|
4430 |
+
if ($cat_type == AI_BLACK_LIST) {
|
4431 |
|
4432 |
+
if ($categories == AD_EMPTY_DATA) return true;
|
4433 |
|
4434 |
$cats_listed = explode (",", $categories);
|
4435 |
|
4488 |
}
|
4489 |
$has_any_of_the_given_tags = has_tag ($tags_listed);
|
4490 |
|
4491 |
+
if ($tag_type == AI_BLACK_LIST) {
|
4492 |
|
4493 |
if ($tags == AD_EMPTY_DATA) return true;
|
4494 |
|
4522 |
$taxonomies = trim (strtolower ($this->get_ad_block_taxonomy()));
|
4523 |
$taxonomy_type = $this->get_ad_block_taxonomy_type();
|
4524 |
|
4525 |
+
if ($taxonomy_type == AI_BLACK_LIST) {
|
4526 |
|
4527 |
if ($taxonomies == AD_EMPTY_DATA) return true;
|
4528 |
|
4644 |
$ids = trim ($this->get_id_list());
|
4645 |
$id_type = $this->get_id_list_type();
|
4646 |
|
4647 |
+
if ($id_type == AI_BLACK_LIST) $return = false; else $return = true;
|
4648 |
|
4649 |
if ($ids == AD_EMPTY_DATA || $page_id === false) {
|
4650 |
return !$return;
|
4675 |
$urls = trim ($this->get_ad_url_list());
|
4676 |
$url_type = $this->get_ad_url_list_type();
|
4677 |
|
4678 |
+
if ($url_type == AI_BLACK_LIST) $return = false; else $return = true;
|
4679 |
|
4680 |
if ($urls == AD_EMPTY_DATA) return !$return;
|
4681 |
|
4846 |
}
|
4847 |
|
4848 |
function check_referer () {
|
4849 |
+
return check_check_referer_list ($this->get_ad_domain_list(), $this->get_ad_domain_list_type() == AI_WHITE_LIST);
|
4850 |
}
|
4851 |
|
4852 |
function check_number_of_words (&$content = null, $number_of_words = 0) {
|
4955 |
$ai_last_check = AI_CHECK_URL_PARAMETER;
|
4956 |
switch ($server_side_check) {
|
4957 |
case true:
|
4958 |
+
if (!check_url_parameter_and_cookie_list ($this->get_url_parameter_list(), $this->get_url_parameter_list_type() == AI_WHITE_LIST)) return false;
|
4959 |
default:
|
4960 |
$url_parameter_found = false;
|
4961 |
+
$url_parameter_list_pass = check_url_parameter_list ($this->get_url_parameter_list(), $this->get_url_parameter_list_type() == AI_WHITE_LIST, $url_parameter_found);
|
4962 |
|
4963 |
if ($url_parameter_found && !$url_parameter_list_pass) return false;
|
4964 |
|
4980 |
$display_for_users = $this->get_display_for_users ();
|
4981 |
|
4982 |
$ai_last_check = AI_CHECK_LOGGED_IN_USER;
|
4983 |
+
if ($display_for_users == AI_DISPLAY_LOGGED_IN_USERS && ($ai_wp_data [AI_WP_USER] & AI_USER_LOGGED_IN) != AI_USER_LOGGED_IN) return false;
|
4984 |
$ai_last_check = AI_CHECK_NOT_LOGGED_IN_USER;
|
4985 |
+
if ($display_for_users == AI_DISPLAY_NOT_LOGGED_IN_USERS && ($ai_wp_data [AI_WP_USER] & AI_USER_LOGGED_IN) == AI_USER_LOGGED_IN) return false;
|
4986 |
$ai_last_check = AI_CHECK_ADMINISTRATOR;
|
4987 |
+
if ($display_for_users == AI_DISPLAY_ADMINISTRATORS && ($ai_wp_data [AI_WP_USER] & AI_USER_ADMINISTRATOR) != AI_USER_ADMINISTRATOR) return false;
|
4988 |
|
4989 |
return true;
|
4990 |
}
|
5143 |
if (!empty ($categories)) {
|
5144 |
$first_category = reset ($categories);
|
5145 |
$category = str_replace ("&", "and", $first_category->name);
|
5146 |
+
if ($category == _x('Uncategorized', 'category name', 'ad-inserter')) $category = $general_tag;
|
5147 |
} else {
|
5148 |
$category = $general_tag;
|
5149 |
}
|
5195 |
if (!empty ($categories)) {
|
5196 |
$first_category = reset ($categories);
|
5197 |
$category = str_replace ("&", "and", $first_category->name);
|
5198 |
+
if ($category == _x('Uncategorized', 'category name', 'ad-inserter')) $category = $general_tag;
|
5199 |
} else {
|
5200 |
$category = $short_title;
|
5201 |
}
|
5361 |
parent::__construct();
|
5362 |
|
5363 |
$this->number = $number;
|
5364 |
+
// $this->wp_options [AI_OPTION_BLOCK_NAME] = DEFAULT_AD_NAME .' ' . $number;
|
5365 |
}
|
5366 |
}
|
5367 |
|
5389 |
parent::__construct();
|
5390 |
|
5391 |
$this->wp_options [AI_OPTION_BLOCK_NAME] = 'AD BLOCKING MESSAGE';
|
5392 |
+
}
|
5393 |
+
|
5394 |
+
public function get_ad_data (){
|
5395 |
+
$option = isset ($this->wp_options [AI_OPTION_CODE]) ? $this->wp_options [AI_OPTION_CODE] : AI_DEFAULT_ADB_MESSAGE;
|
5396 |
+
|
5397 |
+
if ($option == AD_EMPTY_DATA) $option = AI_DEFAULT_ADB_MESSAGE;
|
5398 |
+
|
5399 |
+
return $option;
|
5400 |
}
|
5401 |
}
|
5402 |
|
5683 |
}
|
5684 |
|
5685 |
if (!class_exists ('DOMDocument')) {
|
5686 |
+
echo __('ERROR: class DOMDocument not found. Your webhost needs to install the DOM extension for PHP.', 'ad-inserter');
|
5687 |
wp_die ();
|
5688 |
}
|
5689 |
|
constants.php
CHANGED
@@ -29,7 +29,7 @@ if (!defined( 'AD_INSERTER_NAME'))
|
|
29 |
define ('AD_INSERTER_NAME', 'Ad Inserter');
|
30 |
|
31 |
if (!defined( 'AD_INSERTER_VERSION'))
|
32 |
-
define ('AD_INSERTER_VERSION', '2.4.
|
33 |
|
34 |
if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
|
35 |
define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
|
@@ -43,12 +43,11 @@ if (!defined ('AD_INSERTER_PLUGIN_URL'))
|
|
43 |
if (!defined ('AD_INSERTER_PLUGIN_IMAGES_URL'))
|
44 |
define ('AD_INSERTER_PLUGIN_IMAGES_URL', AD_INSERTER_PLUGIN_URL. 'images/');
|
45 |
|
46 |
-
define ('AD_EMPTY_DATA',
|
47 |
-
define ('AD_ZERO',
|
48 |
-
define ('AD_ONE',
|
49 |
-
define ('AD_TWO',
|
50 |
-
define ('
|
51 |
-
define ('AD_NAME', 'Block');
|
52 |
|
53 |
// Old options
|
54 |
define ('AD_OPTIONS', 'AdInserterOptions'); // general plugin options
|
@@ -231,44 +230,76 @@ define('AI_AUTOMATIC_INSERTION_INSIDE_HTML_ELEMENT', 17);
|
|
231 |
define('AI_AUTOMATIC_INSERTION_OUTPUT_BUFFERING', 99);
|
232 |
define('AI_AUTOMATIC_INSERTION_CUSTOM_HOOK', 100);
|
233 |
|
234 |
-
define('
|
235 |
-
define('
|
236 |
-
define('
|
237 |
-
define('
|
238 |
-
define('
|
239 |
-
define('
|
240 |
-
define('
|
241 |
-
define('
|
242 |
-
define('
|
243 |
-
define('
|
244 |
-
define('
|
245 |
-
define('
|
246 |
-
define('
|
247 |
-
define('
|
248 |
-
define('
|
249 |
-
define('
|
250 |
-
define('
|
251 |
-
define('
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
define('
|
256 |
-
define('
|
257 |
-
define('
|
258 |
-
|
259 |
-
|
260 |
-
define('
|
261 |
-
define('
|
262 |
-
define('
|
263 |
-
define('
|
264 |
-
|
265 |
-
define('
|
266 |
-
|
267 |
-
|
268 |
-
define('
|
269 |
-
|
270 |
-
|
271 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
// Deprecated
|
273 |
define('AD_ENABLED_ON_ALL', 'On all');
|
274 |
define('AD_ENABLED_ON_ALL_EXCEPT_ON_SELECTED', 'On all except selected');
|
@@ -279,8 +310,8 @@ define('AI_INDIVIDUALLY_DISABLED', 1);
|
|
279 |
define('AI_INDIVIDUALLY_ENABLED', 2);
|
280 |
|
281 |
define('AI_TEXT_NO_INDIVIDUAL_EXCEPTIONS', '');
|
282 |
-
define('
|
283 |
-
define('
|
284 |
|
285 |
//Alignment options - Deprecated
|
286 |
define('AD_ALIGNMENT_NO_WRAPPING','No Wrapping');
|
@@ -307,19 +338,19 @@ define('AI_ALIGNMENT_STICKY_BOTTOM', 11);
|
|
307 |
define('AI_ALIGNMENT_STICKY', 12);
|
308 |
|
309 |
// Used also for alignment class names
|
310 |
-
define('
|
311 |
-
define('
|
312 |
-
define('
|
313 |
-
define('
|
314 |
-
define('
|
315 |
-
define('
|
316 |
-
define('
|
317 |
-
define('
|
318 |
-
define('
|
319 |
-
define('
|
320 |
-
define('
|
321 |
-
define('
|
322 |
-
define('
|
323 |
|
324 |
define('AI_STICK_TO_THE_LEFT', 0);
|
325 |
define('AI_STICK_TO_THE_CONTENT_LEFT', 1);
|
@@ -327,19 +358,19 @@ define('AI_STICK_HORIZONTAL_CENTER', 2);
|
|
327 |
define('AI_STICK_TO_THE_CONTENT_RIGHT', 3);
|
328 |
define('AI_STICK_TO_THE_RIGHT', 4);
|
329 |
|
330 |
-
define('
|
331 |
-
define('
|
332 |
-
define('
|
333 |
-
define('
|
334 |
|
335 |
define('AI_STICK_TO_THE_TOP', 0);
|
336 |
define('AI_STICK_VERTICAL_CENTER', 1);
|
337 |
define('AI_SCROLL_WITH_THE_CONTENT', 2);
|
338 |
define('AI_STICK_TO_THE_BOTTOM', 3);
|
339 |
|
340 |
-
define('
|
341 |
-
define('
|
342 |
-
define('
|
343 |
|
344 |
define('AI_ANIMATION_NONE', 0);
|
345 |
define('AI_ANIMATION_FADE', 1);
|
@@ -350,23 +381,23 @@ define('AI_ANIMATION_ZOOM_IN', 5);
|
|
350 |
define('AI_ANIMATION_ZOOM_OUT', 6);
|
351 |
define('AI_ANIMATION_TURN', 7);
|
352 |
|
353 |
-
define('
|
354 |
-
define('
|
355 |
-
define('
|
356 |
-
define('
|
357 |
-
define('
|
358 |
-
define('
|
359 |
-
define('
|
360 |
|
361 |
define('AI_TRIGGER_PAGE_LOADED', 0);
|
362 |
define('AI_TRIGGER_PAGE_SCROLLED_PC', 1);
|
363 |
define('AI_TRIGGER_PAGE_SCROLLED_PX', 2);
|
364 |
define('AI_TRIGGER_ELEMENT_VISIBLE', 3);
|
365 |
|
366 |
-
define('
|
367 |
-
define('
|
368 |
-
define('
|
369 |
-
define('
|
370 |
|
371 |
define('AI_STICKY_Z_INDEX', 9995); // update ad-inserter.js
|
372 |
|
@@ -407,9 +438,17 @@ define('AI_ALIGNMENT_CSS_AMP_LEFT', 'display: flex; justify-content: flex-
|
|
407 |
define('AI_ALIGNMENT_CSS_AMP_RIGHT', 'display: flex; justify-content: flex-end;');
|
408 |
define('AI_ALIGNMENT_CSS_AMP_CENTER', 'display: flex; justify-content: center;');
|
409 |
|
410 |
-
|
411 |
-
|
412 |
-
define('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
|
414 |
//Filter Type - Deprecated
|
415 |
define ('AI_OPTION_FILTER_AUTO', 'Auto');
|
@@ -438,44 +477,58 @@ define ('AI_FILTER_PARAGRAPHS', 9);
|
|
438 |
define ('AI_FILTER_COMMENTS', 10);
|
439 |
|
440 |
|
441 |
-
define ('
|
442 |
-
define ('
|
443 |
-
define ('
|
444 |
-
define ('
|
445 |
-
define ('
|
446 |
-
define ('
|
447 |
-
define ('
|
448 |
-
define ('
|
449 |
-
define ('
|
450 |
-
define ('
|
451 |
-
define ('
|
452 |
|
453 |
|
|
|
|
|
|
|
454 |
|
455 |
-
|
456 |
-
define
|
457 |
-
|
458 |
-
define
|
459 |
-
define
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
define
|
464 |
-
define
|
465 |
-
define ('AI_ADB_FALLBACK_DEPTH_NAME', 'AI_ADB_FALLBACK_DEPTH');
|
466 |
|
467 |
-
//
|
468 |
-
define('
|
469 |
-
define('
|
470 |
|
471 |
-
|
472 |
-
define('
|
473 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
474 |
|
475 |
-
define('AD_ABOVE','above');
|
476 |
-
define('AD_BELOW','below');
|
477 |
-
define('AD_ABOVE_AND_THEN_BELOW','above and then below');
|
478 |
-
define('AD_BELOW_AND_THEN_ABOVE','below and then above');
|
479 |
|
480 |
// Scheduling
|
481 |
define('AI_SCHEDULING_OFF', 0);
|
@@ -486,13 +539,13 @@ define('AI_SCHEDULING_OUTSIDE_DATES', 4);
|
|
486 |
define('AI_SCHEDULING_PUBLISHED_BETWEEN_DATES', 5);
|
487 |
define('AI_SCHEDULING_PUBLISHED_OUTSIDE_DATES', 6);
|
488 |
|
489 |
-
define('
|
490 |
-
define('
|
491 |
-
define('
|
492 |
-
define('
|
493 |
-
define('
|
494 |
-
define('
|
495 |
-
define('
|
496 |
|
497 |
// Dynamic blocks
|
498 |
define('AI_DYNAMIC_BLOCKS_SERVER_SIDE', 0);
|
@@ -500,18 +553,18 @@ define('AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW', 1);
|
|
500 |
define('AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC', 2);
|
501 |
define('AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT', 3);
|
502 |
|
503 |
-
define('
|
504 |
-
define('
|
505 |
-
define('
|
506 |
-
define('
|
507 |
-
define('
|
508 |
|
509 |
// Paragraph counting functions
|
510 |
define('AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS', 0);
|
511 |
define('AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS', 1);
|
512 |
|
513 |
-
define('
|
514 |
-
define('
|
515 |
|
516 |
// Tracking
|
517 |
define('AI_TRACKING_DISABLED', 0);
|
@@ -522,19 +575,19 @@ define ('AI_ADB_ACTION_NONE', 0);
|
|
522 |
define ('AI_ADB_ACTION_MESSAGE', 1);
|
523 |
define ('AI_ADB_ACTION_REDIRECTION', 2);
|
524 |
|
525 |
-
define ('
|
526 |
-
define ('
|
527 |
-
define ('
|
528 |
|
529 |
define ('AI_ADB_BLOCK_ACTION_DO_NOTHING', 0);
|
530 |
define ('AI_ADB_BLOCK_ACTION_REPLACE', 1);
|
531 |
define ('AI_ADB_BLOCK_ACTION_SHOW', 2);
|
532 |
define ('AI_ADB_BLOCK_ACTION_HIDE', 3);
|
533 |
|
534 |
-
define ('
|
535 |
-
define ('
|
536 |
-
define ('
|
537 |
-
define ('
|
538 |
|
539 |
// Plugin tracking
|
540 |
define ('AI_PLUGIN_TRACKING_DISABLED', 0);
|
@@ -552,9 +605,9 @@ define ('AI_OUTPUT_BUFFERING_ENABLED', 1);
|
|
552 |
define ('AI_CLICK_DETECTION_STANDARD', 0);
|
553 |
define ('AI_CLICK_DETECTION_ADVANCED', 1);
|
554 |
|
555 |
-
define ('
|
556 |
-
define ('
|
557 |
-
define ('
|
558 |
|
559 |
// Sticky widget mode
|
560 |
define ('AI_STICKY_WIDGET_MODE_CSS', 0);
|
@@ -575,31 +628,43 @@ define ('AI_CLOSE_TOP_LEFT', 2);
|
|
575 |
define ('AI_CLOSE_BOTTOM_RIGHT', 3);
|
576 |
define ('AI_CLOSE_BOTTOM_LEFT', 4);
|
577 |
|
578 |
-
define ('
|
579 |
-
define ('
|
580 |
-
define ('
|
581 |
-
define ('
|
582 |
|
583 |
define ('AI_CLIENT_SIDE_ACTION_SHOW', 0);
|
584 |
define ('AI_CLIENT_SIDE_ACTION_INSERT', 1);
|
585 |
|
586 |
-
define ('
|
587 |
|
588 |
define ('AI_HTML_INSERTION_CLIENT_SIDE', 0);
|
589 |
define ('AI_HTML_INSERTION_CLIENT_SIDE_DOM_READY', 1);
|
590 |
define ('AI_HTML_INSERTION_SEREVR_SIDE', 2);
|
591 |
|
592 |
-
define('
|
593 |
|
594 |
define ('AI_HTML_PREPEND_CONTENT', 1);
|
595 |
define ('AI_HTML_APPEND_CONTENT', 2);
|
596 |
define ('AI_HTML_REPLACE_CONTENT', 3);
|
597 |
define ('AI_HTML_REPLACE_ELEMENT', 4);
|
598 |
|
599 |
-
define('
|
600 |
-
define('
|
601 |
-
define('
|
602 |
-
define('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
603 |
|
604 |
//Settings
|
605 |
define ('AI_ENABLED', '1');
|
@@ -640,12 +705,13 @@ define ('DEFAULT_PLUGIN_PRIORITY', 99999);
|
|
640 |
define ('DEFAULT_DYNAMIC_BLOCKS', AI_DYNAMIC_BLOCKS_SERVER_SIDE);
|
641 |
define ('DEFAULT_PARAGRAPH_COUNTING_FUNCTIONS', AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS);
|
642 |
define ('DEFAULT_NO_PARAGRAPH_COUNTING_INSIDE', 'blockquote, figure, li');
|
643 |
-
define ('DEFAULT_AD_TITLE', 'Advertisements');
|
644 |
define ('DEFAULT_PARAGRAPH_TAGS', 'p');
|
645 |
define ('DEFAULT_FORCE_ADMIN_TOOLBAR', AI_DISABLED);
|
646 |
define ('DEFAULT_ADMIN_TOOLBAR_DEBUGGING', AI_ENABLED);
|
647 |
define ('DEFAULT_ADMIN_TOOLBAR_MOBILE', AI_DISABLED);
|
648 |
define ('DEFAULT_REMOTE_DEBUGGING', AI_DISABLED);
|
|
|
649 |
define ('DEFAULT_BACKEND_JS_DEBUGGING', AI_DISABLED);
|
650 |
define ('DEFAULT_FRONTEND_JS_DEBUGGING', AI_DISABLED);
|
651 |
define ('DEFAULT_MULTISITE_SETTINGS_PAGE', AI_ENABLED);
|
@@ -681,7 +747,13 @@ define ('DEFAULT_ANIMATION_TRIGGER_VALUE', '');
|
|
681 |
define ('DEFAULT_ANIMATION_TRIGGER_OFFSET', '');
|
682 |
define ('DEFAULT_ANIMATION_TRIGGER_DELAY', '');
|
683 |
define ('DEFAULT_ANIMATION_TRIGGER_ONCE', AI_DISABLED);
|
684 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
685 |
|
686 |
define ('AI_ADBLOCKING_DETECTION', true);
|
687 |
define ('AI_NORMAL_HEADER_STYLES', true);
|
@@ -704,7 +776,7 @@ define ('AI_BASIC_ADB_OVERLAY_CSS', "position: fixed; top: 0; left:
|
|
704 |
define ('AI_DEFAULT_ADB_OVERLAY_CSS', "background: #000; opacity: 0.85;");
|
705 |
define ('AI_BASIC_ADB_MESSAGE_CSS', "position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 99999; background: #000; color: #fff; user-select: none;");
|
706 |
define ('AI_DEFAULT_ADB_MESSAGE_CSS', "width: 300px; padding: 10px; border: 5px solid #f00; border-radius: 5px;");
|
707 |
-
define ('AI_DEFAULT_ADB_MESSAGE', "<p><strong>Blocked because of Ad Blocker</strong></p>\n<p>It seems that you are using some ad blocking software which is preventing the page from fully loading. Please whitelist this website or disable ad blocking software.</p>");
|
708 |
define ('AI_DEFAULT_ADB_ACTION', AI_ADB_ACTION_NONE);
|
709 |
define ('AI_DEFAULT_ADB_NO_ACTION_PERIOD', 30);
|
710 |
define ('AI_DEFAULT_ADB_REDIRECTION_PAGE', 0);
|
@@ -712,15 +784,15 @@ define ('AI_DEFAULT_ADB_UNDISMISSIBLE_MESSAGE', AI_DISABLED);
|
|
712 |
define ('AI_ADB_VERSION_MASK', 0x7F);
|
713 |
define ('AI_ADB_FLAG_BLOCKED', 0x80);
|
714 |
|
715 |
-
define ('DEFAULT_VIEWPORT_NAME_1', "Desktop");
|
716 |
-
define ('DEFAULT_VIEWPORT_NAME_2', "Tablet");
|
717 |
-
define ('DEFAULT_VIEWPORT_NAME_3', "Phone");
|
718 |
|
719 |
define ('DEFAULT_VIEWPORT_WIDTH_1', 980);
|
720 |
define ('DEFAULT_VIEWPORT_WIDTH_2', 768);
|
721 |
define ('DEFAULT_VIEWPORT_WIDTH_3', 0);
|
722 |
|
723 |
-
define ('DEFAULT_COUNTRY_GROUP_NAME', "Group");
|
724 |
|
725 |
define ('AI_MARKER_START', '%##');
|
726 |
define ('AI_MARKER_END', '##%');
|
@@ -802,6 +874,8 @@ define ('AI_CHECK_TAXONOMY', 51);
|
|
802 |
define ('AI_CHECK_ENABLED_WIDGET', 52);
|
803 |
define ('AI_CHECK_INSERTION_NOT_DISABLED', 53);
|
804 |
|
|
|
|
|
805 |
define ('AI_PT_NONE', - 1);
|
806 |
define ('AI_PT_ANY', 0);
|
807 |
define ('AI_PT_STATIC', 1);
|
@@ -860,6 +934,7 @@ define ('AI_LAZY_LOADING', 37);
|
|
860 |
define ('AI_PAGE_BLOCKS', 38);
|
861 |
define ('AI_GEOLOCATION', 39);
|
862 |
define ('AI_HTML_ELEMENT_SELECTION', 40);
|
|
|
863 |
|
864 |
define ('AI_CONTEXT_NONE', 0);
|
865 |
define ('AI_CONTEXT_CONTENT', 1);
|
@@ -934,6 +1009,7 @@ define ('AI_ADSENSE_IN_FEED', 3);
|
|
934 |
define ('AI_ADSENSE_MATCHED_CONTENT', 4);
|
935 |
define ('AI_ADSENSE_AUTO', 5);
|
936 |
|
|
|
937 |
define ('AI_ADSENSE_AMP_DISABLED', 0);
|
938 |
define ('AI_ADSENSE_AMP_ABOVE_THE_FOLD', 1);
|
939 |
define ('AI_ADSENSE_AMP_BELOW_THE_FOLD', 2);
|
@@ -942,14 +1018,15 @@ define ('AI_ADSENSE_SIZE_FIXED', 0);
|
|
942 |
define ('AI_ADSENSE_SIZE_RESPONSIVE', 1);
|
943 |
define ('AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT', 2);
|
944 |
|
945 |
-
define ('
|
946 |
-
define ('
|
947 |
-
define ('
|
948 |
-
define ('
|
|
|
949 |
|
950 |
-
define ('
|
951 |
-
define ('
|
952 |
|
953 |
-
define ('
|
954 |
-
define ('
|
955 |
-
define ('
|
29 |
define ('AD_INSERTER_NAME', 'Ad Inserter');
|
30 |
|
31 |
if (!defined( 'AD_INSERTER_VERSION'))
|
32 |
+
define ('AD_INSERTER_VERSION', '2.4.3');
|
33 |
|
34 |
if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
|
35 |
define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
|
43 |
if (!defined ('AD_INSERTER_PLUGIN_IMAGES_URL'))
|
44 |
define ('AD_INSERTER_PLUGIN_IMAGES_URL', AD_INSERTER_PLUGIN_URL. 'images/');
|
45 |
|
46 |
+
define ('AD_EMPTY_DATA', '');
|
47 |
+
define ('AD_ZERO', '0');
|
48 |
+
define ('AD_ONE', '1');
|
49 |
+
define ('AD_TWO', '2');
|
50 |
+
//define ('DEFAULT_AD_NAME', 'Block');
|
|
|
51 |
|
52 |
// Old options
|
53 |
define ('AD_OPTIONS', 'AdInserterOptions'); // general plugin options
|
230 |
define('AI_AUTOMATIC_INSERTION_OUTPUT_BUFFERING', 99);
|
231 |
define('AI_AUTOMATIC_INSERTION_CUSTOM_HOOK', 100);
|
232 |
|
233 |
+
define('AI_TEXT_ENG_DISABLED', 'Disabled');
|
234 |
+
define('AI_TEXT_ENG_BEFORE_POST', 'Before Post');
|
235 |
+
define('AI_TEXT_ENG_AFTER_POST', 'After Post');
|
236 |
+
define('AI_TEXT_ENG_BEFORE_CONTENT', 'Before Content');
|
237 |
+
define('AI_TEXT_ENG_AFTER_CONTENT', 'After Content');
|
238 |
+
define('AI_TEXT_ENG_BEFORE_PARAGRAPH', 'Before Paragraph');
|
239 |
+
define('AI_TEXT_ENG_AFTER_PARAGRAPH', 'After Paragraph');
|
240 |
+
define('AI_TEXT_ENG_BEFORE_EXCERPT', 'Before Excerpt');
|
241 |
+
define('AI_TEXT_ENG_AFTER_EXCERPT', 'After Excerpt');
|
242 |
+
define('AI_TEXT_ENG_BETWEEN_POSTS', 'Between Posts');
|
243 |
+
define('AI_TEXT_ENG_BEFORE_COMMENTS', 'Before Comments');
|
244 |
+
define('AI_TEXT_ENG_BETWEEN_COMMENTS', 'Between Comments');
|
245 |
+
define('AI_TEXT_ENG_AFTER_COMMENTS', 'After Comments');
|
246 |
+
define('AI_TEXT_ENG_ABOVE_HEADER', 'Above Header');
|
247 |
+
define('AI_TEXT_ENG_FOOTER', 'Footer');
|
248 |
+
define('AI_TEXT_ENG_BEFORE_HTML_ELEMENT', 'Before HTML element');
|
249 |
+
define('AI_TEXT_ENG_AFTER_HTML_ELEMENT', 'After HTML element');
|
250 |
+
define('AI_TEXT_ENG_INSIDE_HTML_ELEMENT', 'Inside HTML element');
|
251 |
+
|
252 |
+
|
253 |
+
// Display options - deprecated
|
254 |
+
define('AD_DISPLAY_ALL_USERS', 'all users');
|
255 |
+
define('AD_DISPLAY_LOGGED_IN_USERS', 'logged in users');
|
256 |
+
define('AD_DISPLAY_NOT_LOGGED_IN_USERS', 'not logged in users');
|
257 |
+
define('AD_DISPLAY_ADMINISTRATORS', 'administrators');
|
258 |
+
|
259 |
+
define('AI_DISPLAY_ALL_USERS', 0);
|
260 |
+
define('AI_DISPLAY_LOGGED_IN_USERS', 1);
|
261 |
+
define('AI_DISPLAY_NOT_LOGGED_IN_USERS', 2);
|
262 |
+
define('AI_DISPLAY_ADMINISTRATORS', 3);
|
263 |
+
|
264 |
+
define('AI_TEXT_ENG_DISPLAY_ALL_USERS', 'all users');
|
265 |
+
define('AI_TEXT_ENG_DISPLAY_LOGGED_IN_USERS', 'logged in users');
|
266 |
+
define('AI_TEXT_ENG_DISPLAY_NOT_LOGGED_IN_USERS', 'not logged in users');
|
267 |
+
define('AI_TEXT_ENG_DISPLAY_ADMINISTRATORS', 'administrators');
|
268 |
+
|
269 |
+
// Deprecated
|
270 |
+
define('AD_DISPLAY_ALL_DEVICES', 'all');
|
271 |
+
define('AD_DISPLAY_DESKTOP_DEVICES', 'desktop');
|
272 |
+
define('AD_DISPLAY_MOBILE_DEVICES', 'mobile');
|
273 |
+
define('AD_DISPLAY_TABLET_DEVICES', 'tablet');
|
274 |
+
define('AD_DISPLAY_PHONE_DEVICES', 'phone');
|
275 |
+
define('AD_DISPLAY_DESKTOP_TABLET_DEVICES', 'desktop and tablet');
|
276 |
+
define('AD_DISPLAY_DESKTOP_PHONE_DEVICES', 'desktop and phone');
|
277 |
+
|
278 |
+
define('AI_INSERT_FOR_DESKTOP_DEVICES', 0);
|
279 |
+
define('AI_INSERT_FOR_MOBILE_DEVICES', 1);
|
280 |
+
define('AI_INSERT_FOR_TABLET_DEVICES', 2);
|
281 |
+
define('AI_INSERT_FOR_PHONE_DEVICES', 3);
|
282 |
+
define('AI_INSERT_FOR_DESKTOP_TABLET_DEVICES', 4);
|
283 |
+
define('AI_INSERT_FOR_DESKTOP_PHONE_DEVICES', 5);
|
284 |
+
|
285 |
+
define('AI_TEXT_ENG_DESKTOP_DEVICES', 'desktop devices');
|
286 |
+
define('AI_TEXT_ENG_MOBILE_DEVICES', 'mobile devices');
|
287 |
+
define('AI_TEXT_ENG_TABLET_DEVICES', 'tablet devices');
|
288 |
+
define('AI_TEXT_ENG_PHONE_DEVICES', 'phone devices');
|
289 |
+
define('AI_TEXT_ENG_DESKTOP_TABLET_DEVICES', 'desktop and tablet devices');
|
290 |
+
define('AI_TEXT_ENG_DESKTOP_PHONE_DEVICES', 'desktop and phone devices');
|
291 |
+
|
292 |
+
//Direction options - deprecated
|
293 |
+
define('AD_DIRECTION_FROM_TOP', 'From Top');
|
294 |
+
define('AD_DIRECTION_FROM_BOTTOM', 'From Bottom');
|
295 |
+
|
296 |
+
define('AI_DIRECTION_FROM_TOP', 0);
|
297 |
+
define('AI_DIRECTION_FROM_BOTTOM', 1);
|
298 |
+
|
299 |
+
define('AI_TEXT_ENG_DIRECTION_FROM_TOP', 'from top');
|
300 |
+
define('AI_TEXT_ENG_DIRECTION_FROM_BOTTOM', 'from bottom');
|
301 |
+
|
302 |
+
// Post-Page options
|
303 |
// Deprecated
|
304 |
define('AD_ENABLED_ON_ALL', 'On all');
|
305 |
define('AD_ENABLED_ON_ALL_EXCEPT_ON_SELECTED', 'On all except selected');
|
310 |
define('AI_INDIVIDUALLY_ENABLED', 2);
|
311 |
|
312 |
define('AI_TEXT_NO_INDIVIDUAL_EXCEPTIONS', '');
|
313 |
+
define('AI_TEXT_ENG_INDIVIDUALLY_DISABLED', 'Individually disabled');
|
314 |
+
define('AI_TEXT_ENG_INDIVIDUALLY_ENABLED', 'Individually enabled');
|
315 |
|
316 |
//Alignment options - Deprecated
|
317 |
define('AD_ALIGNMENT_NO_WRAPPING','No Wrapping');
|
338 |
define('AI_ALIGNMENT_STICKY', 12);
|
339 |
|
340 |
// Used also for alignment class names
|
341 |
+
define('AI_TEXT_ENG_DEFAULT', 'Default');
|
342 |
+
define('AI_TEXT_ENG_LEFT', 'Align left');
|
343 |
+
define('AI_TEXT_ENG_RIGHT', 'Align right');
|
344 |
+
define('AI_TEXT_ENG_CENTER', 'Center');
|
345 |
+
define('AI_TEXT_ENG_FLOAT_LEFT', 'Float left');
|
346 |
+
define('AI_TEXT_ENG_FLOAT_RIGHT', 'Float right');
|
347 |
+
define('AI_TEXT_ENG_NO_WRAPPING', 'No wrapping');
|
348 |
+
define('AI_TEXT_ENG_CUSTOM_CSS', 'Custom CSS');
|
349 |
+
define('AI_TEXT_ENG_STICKY_LEFT', 'Sticky left');
|
350 |
+
define('AI_TEXT_ENG_STICKY_RIGHT', 'Sticky right');
|
351 |
+
define('AI_TEXT_ENG_STICKY_TOP', 'Sticky top');
|
352 |
+
define('AI_TEXT_ENG_STICKY_BOTTOM', 'Sticky bottom');
|
353 |
+
define('AI_TEXT_ENG_STICKY', 'Sticky');
|
354 |
|
355 |
define('AI_STICK_TO_THE_LEFT', 0);
|
356 |
define('AI_STICK_TO_THE_CONTENT_LEFT', 1);
|
358 |
define('AI_STICK_TO_THE_CONTENT_RIGHT', 3);
|
359 |
define('AI_STICK_TO_THE_RIGHT', 4);
|
360 |
|
361 |
+
define('AI_TEXT_ENG_STICK_TO_THE_LEFT', 'Stick to the left');
|
362 |
+
define('AI_TEXT_ENG_STICK_TO_THE_CONTENT_LEFT', 'Stick to the content left');
|
363 |
+
define('AI_TEXT_ENG_STICK_TO_THE_CONTENT_RIGHT', 'Stick to the content right');
|
364 |
+
define('AI_TEXT_ENG_STICK_TO_THE_RIGHT', 'Stick to the right');
|
365 |
|
366 |
define('AI_STICK_TO_THE_TOP', 0);
|
367 |
define('AI_STICK_VERTICAL_CENTER', 1);
|
368 |
define('AI_SCROLL_WITH_THE_CONTENT', 2);
|
369 |
define('AI_STICK_TO_THE_BOTTOM', 3);
|
370 |
|
371 |
+
define('AI_TEXT_ENG_STICK_TO_THE_TOP', 'Stick to the top');
|
372 |
+
define('AI_TEXT_ENG_SCROLL_WITH_THE_CONTENT', 'Scroll with the content');
|
373 |
+
define('AI_TEXT_ENG_STICK_TO_THE_BOTTOM', 'Stick to the bottom');
|
374 |
|
375 |
define('AI_ANIMATION_NONE', 0);
|
376 |
define('AI_ANIMATION_FADE', 1);
|
381 |
define('AI_ANIMATION_ZOOM_OUT', 6);
|
382 |
define('AI_ANIMATION_TURN', 7);
|
383 |
|
384 |
+
define('AI_TEXT_ENG_FADE', 'Fade');
|
385 |
+
define('AI_TEXT_ENG_SLIDE', 'Slide');
|
386 |
+
define('AI_TEXT_ENG_SLIDE_FADE', 'Slide and Fade');
|
387 |
+
define('AI_TEXT_ENG_FLIP', 'Flip');
|
388 |
+
define('AI_TEXT_ENG_ZOOM_IN', 'Zoom In');
|
389 |
+
define('AI_TEXT_ENG_ZOOM_OUT', 'Zoom Out');
|
390 |
+
define('AI_TEXT_ENG_TURN', 'Turn');
|
391 |
|
392 |
define('AI_TRIGGER_PAGE_LOADED', 0);
|
393 |
define('AI_TRIGGER_PAGE_SCROLLED_PC', 1);
|
394 |
define('AI_TRIGGER_PAGE_SCROLLED_PX', 2);
|
395 |
define('AI_TRIGGER_ELEMENT_VISIBLE', 3);
|
396 |
|
397 |
+
define('AI_TEXT_ENG_PAGE_LOADED', 'Page loaded');
|
398 |
+
define('AI_TEXT_ENG_PAGE_SCROLLED_PC', 'Page scrolled (%)');
|
399 |
+
define('AI_TEXT_ENG_PAGE_SCROLLED_PX', 'Page scrolled (px)');
|
400 |
+
define('AI_TEXT_ENG_ELEMENT_VISIBLE', 'Element visible');
|
401 |
|
402 |
define('AI_STICKY_Z_INDEX', 9995); // update ad-inserter.js
|
403 |
|
438 |
define('AI_ALIGNMENT_CSS_AMP_RIGHT', 'display: flex; justify-content: flex-end;');
|
439 |
define('AI_ALIGNMENT_CSS_AMP_CENTER', 'display: flex; justify-content: center;');
|
440 |
|
441 |
+
|
442 |
+
// List Type - deprecated
|
443 |
+
define('AD_BLACK_LIST', 'Black List');
|
444 |
+
define('AD_WHITE_LIST', 'White List');
|
445 |
+
|
446 |
+
define('AI_BLACK_LIST', 0);
|
447 |
+
define('AI_WHITE_LIST', 1);
|
448 |
+
|
449 |
+
define('AI_TEXT_ENG_BLACK_LIST', 'Black List');
|
450 |
+
define('AI_TEXT_ENG_WHITE_LIST', 'White List');
|
451 |
+
|
452 |
|
453 |
//Filter Type - Deprecated
|
454 |
define ('AI_OPTION_FILTER_AUTO', 'Auto');
|
477 |
define ('AI_FILTER_COMMENTS', 10);
|
478 |
|
479 |
|
480 |
+
define ('AI_TEXT_ENG_AUTO_COUNTER', 'auto counter');
|
481 |
+
define ('AI_TEXT_ENG_PHP_FUNCTION_CALLS_COUNTER', 'PHP function calls counter');
|
482 |
+
define ('AI_TEXT_ENG_CONTENT_PROCESSING_COUNTER', 'content processing counter');
|
483 |
+
define ('AI_TEXT_ENG_EXCERPT_PROCESSING_COUNTER', 'excerpt processing counter');
|
484 |
+
define ('AI_TEXT_ENG_BEFORE_POST_PROCESSING_COUNTER', 'before post processing counter');
|
485 |
+
define ('AI_TEXT_ENG_AFTER_POST_PROCESSING_COUNTER', 'after post processing counter');
|
486 |
+
define ('AI_TEXT_ENG_WIDGET_DRAWING_COUNTER', 'widget drawing counter');
|
487 |
+
define ('AI_TEXT_ENG_SUBPAGES_COUNTER', 'subpages counter');
|
488 |
+
define ('AI_TEXT_ENG_POSTS_COUNTER', 'posts counter');
|
489 |
+
define ('AI_TEXT_ENG_PARAGRAPHS_COUNTER', 'paragraphs counter');
|
490 |
+
define ('AI_TEXT_ENG_COMMENTS_COUNTER', 'comments counter');
|
491 |
|
492 |
|
493 |
+
// Text List Type - deprecated
|
494 |
+
define('AD_CONTAIN', 'contain');
|
495 |
+
define('AD_DO_NOT_CONTAIN', 'do not contain');
|
496 |
|
497 |
+
define('AI_CONTAIN', 0);
|
498 |
+
define('AI_DO_NOT_CONTAIN', 1);
|
499 |
+
|
500 |
+
define('AI_TEXT_ENG_CONTAIN', 'contain');
|
501 |
+
define('AI_TEXT_ENG_DO_NOT_CONTAIN', 'do not contain');
|
502 |
+
|
503 |
+
|
504 |
+
// Avoid text action - deprecated
|
505 |
+
define('AD_DO_NOT_INSERT', 'do not insert');
|
506 |
+
define('AD_TRY_TO_SHIFT_POSITION', 'try to shift position');
|
|
|
507 |
|
508 |
+
// Avoid text action
|
509 |
+
define('AI_DO_NOT_INSERT', 0);
|
510 |
+
define('AI_TRY_TO_SHIFT_POSITION', 1);
|
511 |
|
512 |
+
define('AI_TEXT_ENG_DO_NOT_INSERT', 'do not insert');
|
513 |
+
define('AI_TEXT_ENG_TRY_TO_SHIFT_POSITION', 'try to shift position');
|
514 |
+
|
515 |
+
|
516 |
+
// Deprecated
|
517 |
+
define('AD_ABOVE', 'above');
|
518 |
+
define('AD_BELOW', 'below');
|
519 |
+
define('AD_ABOVE_AND_THEN_BELOW', 'above and then below');
|
520 |
+
define('AD_BELOW_AND_THEN_ABOVE', 'below and then above');
|
521 |
+
|
522 |
+
define('AI_ABOVE', 0);
|
523 |
+
define('AI_BELOW', 1);
|
524 |
+
define('AI_ABOVE_AND_THEN_BELOW', 2);
|
525 |
+
define('AI_BELOW_AND_THEN_ABOVE', 3);
|
526 |
+
|
527 |
+
define('AI_TEXT_ENG_ABOVE', 'above');
|
528 |
+
define('AI_TEXT_ENG_BELOW', 'below');
|
529 |
+
define('AI_TEXT_ENG_ABOVE_AND_THEN_BELOW', 'above and then below');
|
530 |
+
define('AI_TEXT_ENG_BELOW_AND_THEN_ABOVE', 'below and then above');
|
531 |
|
|
|
|
|
|
|
|
|
532 |
|
533 |
// Scheduling
|
534 |
define('AI_SCHEDULING_OFF', 0);
|
539 |
define('AI_SCHEDULING_PUBLISHED_BETWEEN_DATES', 5);
|
540 |
define('AI_SCHEDULING_PUBLISHED_OUTSIDE_DATES', 6);
|
541 |
|
542 |
+
define('AI_TEXT_ENG_INSERT_IMMEDIATELY', 'Insert immediately');
|
543 |
+
define('AI_TEXT_ENG_DELAY_INSERTION', 'Delay insertion');
|
544 |
+
define('AI_TEXT_ENG_INSERT_BETWEEN_DATES', 'Insert between dates');
|
545 |
+
define('AI_TEXT_ENG_INSERT_OUTSIDE_DATES', 'Insert outside dates');
|
546 |
+
define('AI_TEXT_ENG_INSERT_ONLY', 'Insert only');
|
547 |
+
define('AI_TEXT_ENG_INSERT_PUBLISHED_BETWEEN_DATES', 'Insert for posts published between dates');
|
548 |
+
define('AI_TEXT_ENG_INSERT_PUBLISHED_OUTSIDE_DATES', 'Insert for posts published outside dates');
|
549 |
|
550 |
// Dynamic blocks
|
551 |
define('AI_DYNAMIC_BLOCKS_SERVER_SIDE', 0);
|
553 |
define('AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC', 2);
|
554 |
define('AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT', 3);
|
555 |
|
556 |
+
define('AI_TEXT_ENG_SERVER_SIDE', 'Server-side');
|
557 |
+
define('AI_TEXT_ENG_CLIENT_SIDE', 'Client-side');
|
558 |
+
define('AI_TEXT_ENG_CLIENT_SIDE_SHOW', 'Client-side show');
|
559 |
+
define('AI_TEXT_ENG_CLIENT_SIDE_INSERT', 'Client-side insert');
|
560 |
+
define('AI_TEXT_ENG_SERVER_SIDE_W3TC', 'Server-side using W3 Total Cache');
|
561 |
|
562 |
// Paragraph counting functions
|
563 |
define('AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS', 0);
|
564 |
define('AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS', 1);
|
565 |
|
566 |
+
define('AI_TEXT_ENG_STANDARD', 'Standard');
|
567 |
+
define('AI_TEXT_ENG_MULTIBYTE', 'Multibyte');
|
568 |
|
569 |
// Tracking
|
570 |
define('AI_TRACKING_DISABLED', 0);
|
575 |
define ('AI_ADB_ACTION_MESSAGE', 1);
|
576 |
define ('AI_ADB_ACTION_REDIRECTION', 2);
|
577 |
|
578 |
+
define ('AI_TEXT_ENG_NONE', 'None');
|
579 |
+
define ('AI_TEXT_ENG_POPUP_MESSAGE', 'Popup Message');
|
580 |
+
define ('AI_TEXT_ENG_REDIRECTION', 'Redirection');
|
581 |
|
582 |
define ('AI_ADB_BLOCK_ACTION_DO_NOTHING', 0);
|
583 |
define ('AI_ADB_BLOCK_ACTION_REPLACE', 1);
|
584 |
define ('AI_ADB_BLOCK_ACTION_SHOW', 2);
|
585 |
define ('AI_ADB_BLOCK_ACTION_HIDE', 3);
|
586 |
|
587 |
+
define ('AI_TEXT_ENG_DO_NOTHING', 'Do nothnig');
|
588 |
+
define ('AI_TEXT_ENG_REPLACE', 'Replace');
|
589 |
+
define ('AI_TEXT_ENG_SHOW', 'Show');
|
590 |
+
define ('AI_TEXT_ENG_HIDE', 'Hide');
|
591 |
|
592 |
// Plugin tracking
|
593 |
define ('AI_PLUGIN_TRACKING_DISABLED', 0);
|
605 |
define ('AI_CLICK_DETECTION_STANDARD', 0);
|
606 |
define ('AI_CLICK_DETECTION_ADVANCED', 1);
|
607 |
|
608 |
+
define ('AI_TEXT_ENG_INTERNAL', 'Internal');
|
609 |
+
define ('AI_TEXT_ENG_ADVANCED', 'Advanced');
|
610 |
+
define ('AI_TEXT_ENG_ENABLED', 'Enabled');
|
611 |
|
612 |
// Sticky widget mode
|
613 |
define ('AI_STICKY_WIDGET_MODE_CSS', 0);
|
628 |
define ('AI_CLOSE_BOTTOM_RIGHT', 3);
|
629 |
define ('AI_CLOSE_BOTTOM_LEFT', 4);
|
630 |
|
631 |
+
define ('AI_TEXT_ENG_TOP_RIGHT', 'Top right');
|
632 |
+
define ('AI_TEXT_ENG_TOP_LEFT', 'Top left');
|
633 |
+
define ('AI_TEXT_ENG_BOTTOM_RIGHT', 'Bottom right');
|
634 |
+
define ('AI_TEXT_ENG_BOTTOM_LEFT', 'Bottom left');
|
635 |
|
636 |
define ('AI_CLIENT_SIDE_ACTION_SHOW', 0);
|
637 |
define ('AI_CLIENT_SIDE_ACTION_INSERT', 1);
|
638 |
|
639 |
+
define ('AI_TEXT_ENG_INSERT', 'Insert');
|
640 |
|
641 |
define ('AI_HTML_INSERTION_CLIENT_SIDE', 0);
|
642 |
define ('AI_HTML_INSERTION_CLIENT_SIDE_DOM_READY', 1);
|
643 |
define ('AI_HTML_INSERTION_SEREVR_SIDE', 2);
|
644 |
|
645 |
+
define('AI_TEXT_ENG_CLIENT_SIDE_DOM_READY', 'Client-side when DOM ready');
|
646 |
|
647 |
define ('AI_HTML_PREPEND_CONTENT', 1);
|
648 |
define ('AI_HTML_APPEND_CONTENT', 2);
|
649 |
define ('AI_HTML_REPLACE_CONTENT', 3);
|
650 |
define ('AI_HTML_REPLACE_ELEMENT', 4);
|
651 |
|
652 |
+
define('AI_TEXT_ENG_PREPEND_CONTENT', 'Prepend content');
|
653 |
+
define('AI_TEXT_ENG_APPEND_CONTENT', 'Append content');
|
654 |
+
define('AI_TEXT_ENG_REPLACE_CONTENT', 'Replace content');
|
655 |
+
define('AI_TEXT_ENG_REPLACE_ELEMENT', 'Replace element');
|
656 |
+
|
657 |
+
// Counter names
|
658 |
+
define ('AI_BLOCK_COUNTER_NAME', 'AI_BLOCK_COUNTER_');
|
659 |
+
define ('AI_PHP_FUNCTION_CALL_COUNTER_NAME', 'AI_PHP_FUNCTION_CALL_COUNTER_');
|
660 |
+
define ('AI_CONTENT_COUNTER_NAME', 'AI_CONTENT_COUNTER');
|
661 |
+
define ('AI_EXCERPT_COUNTER_NAME', 'AI_EXCERPT_COUNTER');
|
662 |
+
define ('AI_LOOP_BEFORE_COUNTER_NAME', 'AI_LOOP_START_COUNTER');
|
663 |
+
define ('AI_LOOP_AFTER_COUNTER_NAME', 'AI_LOOP_END_COUNTER');
|
664 |
+
define ('AI_WIDGET_COUNTER_NAME', 'AI_WIDGET_COUNTER_');
|
665 |
+
define ('AI_POST_COUNTER_NAME', 'AI_THE_POST_COUNTER');
|
666 |
+
define ('AI_COMMENT_COUNTER_NAME', 'AI_COMMENT_COUNTER');
|
667 |
+
define ('AI_ADB_FALLBACK_DEPTH_NAME', 'AI_ADB_FALLBACK_DEPTH');
|
668 |
|
669 |
//Settings
|
670 |
define ('AI_ENABLED', '1');
|
705 |
define ('DEFAULT_DYNAMIC_BLOCKS', AI_DYNAMIC_BLOCKS_SERVER_SIDE);
|
706 |
define ('DEFAULT_PARAGRAPH_COUNTING_FUNCTIONS', AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS);
|
707 |
define ('DEFAULT_NO_PARAGRAPH_COUNTING_INSIDE', 'blockquote, figure, li');
|
708 |
+
//define ('DEFAULT_AD_TITLE', 'Advertisements');
|
709 |
define ('DEFAULT_PARAGRAPH_TAGS', 'p');
|
710 |
define ('DEFAULT_FORCE_ADMIN_TOOLBAR', AI_DISABLED);
|
711 |
define ('DEFAULT_ADMIN_TOOLBAR_DEBUGGING', AI_ENABLED);
|
712 |
define ('DEFAULT_ADMIN_TOOLBAR_MOBILE', AI_DISABLED);
|
713 |
define ('DEFAULT_REMOTE_DEBUGGING', AI_DISABLED);
|
714 |
+
define ('DEFAULT_DISABLE_TRANSLATION', AI_DISABLED);
|
715 |
define ('DEFAULT_BACKEND_JS_DEBUGGING', AI_DISABLED);
|
716 |
define ('DEFAULT_FRONTEND_JS_DEBUGGING', AI_DISABLED);
|
717 |
define ('DEFAULT_MULTISITE_SETTINGS_PAGE', AI_ENABLED);
|
747 |
define ('DEFAULT_ANIMATION_TRIGGER_OFFSET', '');
|
748 |
define ('DEFAULT_ANIMATION_TRIGGER_DELAY', '');
|
749 |
define ('DEFAULT_ANIMATION_TRIGGER_ONCE', AI_DISABLED);
|
750 |
+
define ('DEFAULT_AVOID_ACTION', AI_TRY_TO_SHIFT_POSITION);
|
751 |
+
define ('DEFAULT_AVOID_DIRECTION', AI_BELOW_AND_THEN_ABOVE);
|
752 |
+
define ('DEFAULT_DIRECTION_TYPE', AI_DIRECTION_FROM_TOP);
|
753 |
+
define ('DEFAULT_PARAGRAPH_TEXT_TYPE', AI_DO_NOT_CONTAIN);
|
754 |
+
define ('DEFAULT_DISPLAY_FOR_USERS', AI_DISPLAY_ALL_USERS);
|
755 |
+
define ('DEFAULT_DISPLAY_FOR_DEVICES', AI_INSERT_FOR_DESKTOP_DEVICES);
|
756 |
+
define ('DEFAULT_GENERAL_TAG', '');
|
757 |
|
758 |
define ('AI_ADBLOCKING_DETECTION', true);
|
759 |
define ('AI_NORMAL_HEADER_STYLES', true);
|
776 |
define ('AI_DEFAULT_ADB_OVERLAY_CSS', "background: #000; opacity: 0.85;");
|
777 |
define ('AI_BASIC_ADB_MESSAGE_CSS', "position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 99999; background: #000; color: #fff; user-select: none;");
|
778 |
define ('AI_DEFAULT_ADB_MESSAGE_CSS', "width: 300px; padding: 10px; border: 5px solid #f00; border-radius: 5px;");
|
779 |
+
//define ('AI_DEFAULT_ADB_MESSAGE', "<p><strong>Blocked because of Ad Blocker</strong></p>\n<p>It seems that you are using some ad blocking software which is preventing the page from fully loading. Please whitelist this website or disable ad blocking software.</p>");
|
780 |
define ('AI_DEFAULT_ADB_ACTION', AI_ADB_ACTION_NONE);
|
781 |
define ('AI_DEFAULT_ADB_NO_ACTION_PERIOD', 30);
|
782 |
define ('AI_DEFAULT_ADB_REDIRECTION_PAGE', 0);
|
784 |
define ('AI_ADB_VERSION_MASK', 0x7F);
|
785 |
define ('AI_ADB_FLAG_BLOCKED', 0x80);
|
786 |
|
787 |
+
//define ('DEFAULT_VIEWPORT_NAME_1', "Desktop");
|
788 |
+
//define ('DEFAULT_VIEWPORT_NAME_2', "Tablet");
|
789 |
+
//define ('DEFAULT_VIEWPORT_NAME_3', "Phone");
|
790 |
|
791 |
define ('DEFAULT_VIEWPORT_WIDTH_1', 980);
|
792 |
define ('DEFAULT_VIEWPORT_WIDTH_2', 768);
|
793 |
define ('DEFAULT_VIEWPORT_WIDTH_3', 0);
|
794 |
|
795 |
+
//define ('DEFAULT_COUNTRY_GROUP_NAME', "Group");
|
796 |
|
797 |
define ('AI_MARKER_START', '%##');
|
798 |
define ('AI_MARKER_END', '##%');
|
874 |
define ('AI_CHECK_ENABLED_WIDGET', 52);
|
875 |
define ('AI_CHECK_INSERTION_NOT_DISABLED', 53);
|
876 |
|
877 |
+
define ('AI_CHECK_NO_PARAGRAPHS', 54);
|
878 |
+
|
879 |
define ('AI_PT_NONE', - 1);
|
880 |
define ('AI_PT_ANY', 0);
|
881 |
define ('AI_PT_STATIC', 1);
|
934 |
define ('AI_PAGE_BLOCKS', 38);
|
935 |
define ('AI_GEOLOCATION', 39);
|
936 |
define ('AI_HTML_ELEMENT_SELECTION', 40);
|
937 |
+
define ('AI_DISABLE_TRANSLATION', 41);
|
938 |
|
939 |
define ('AI_CONTEXT_NONE', 0);
|
940 |
define ('AI_CONTEXT_CONTENT', 1);
|
1009 |
define ('AI_ADSENSE_MATCHED_CONTENT', 4);
|
1010 |
define ('AI_ADSENSE_AUTO', 5);
|
1011 |
|
1012 |
+
|
1013 |
define ('AI_ADSENSE_AMP_DISABLED', 0);
|
1014 |
define ('AI_ADSENSE_AMP_ABOVE_THE_FOLD', 1);
|
1015 |
define ('AI_ADSENSE_AMP_BELOW_THE_FOLD', 2);
|
1018 |
define ('AI_ADSENSE_SIZE_RESPONSIVE', 1);
|
1019 |
define ('AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT', 2);
|
1020 |
|
1021 |
+
define ('AI_TEXT_ENG_LINK', 'Link');
|
1022 |
+
define ('AI_TEXT_ENG_IN_ARTICLE', 'In-article');
|
1023 |
+
define ('AI_TEXT_ENG_IN_FEED', 'In-feed');
|
1024 |
+
define ('AI_TEXT_ENG_MATCHED_CONTENT', 'Matched content');
|
1025 |
+
define ('AI_TEXT_ENG_ADSENSE_AUTO', 'Auto');
|
1026 |
|
1027 |
+
define ('AI_TEXT_ENG_ABOVE_THE_FOLD', 'Above the fold');
|
1028 |
+
define ('AI_TEXT_ENG_BELOW_THE_FOLD', 'Below the fold');
|
1029 |
|
1030 |
+
define ('AI_TEXT_ENG_FIXED', 'Fixed');
|
1031 |
+
define ('AI_TEXT_ENG_RESPONSIVE', 'Responsive');
|
1032 |
+
define ('AI_TEXT_ENG_FIXED_BY_VIEWPORT', 'Fixed by viewport');
|
css/ad-inserter.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
#ai-data {
|
2 |
-
font-family: "2.4.
|
3 |
}
|
4 |
|
5 |
#blocked-warning {
|
@@ -103,12 +103,12 @@ a.clear-link, a.clear-link:hover, a.clear-link:focus {
|
|
103 |
|
104 |
.ai-settings-table.left {
|
105 |
float: left;
|
106 |
-
width:
|
107 |
}
|
108 |
|
109 |
.ai-settings-table.right {
|
110 |
float: right;
|
111 |
-
width:
|
112 |
}
|
113 |
|
114 |
.ai-settings-table.ai-values td:first-child {
|
@@ -694,6 +694,10 @@ img.automatic-insertion.im-close-none {
|
|
694 |
background: url('images/insertions-alignmets.png') -0px -280px;
|
695 |
}
|
696 |
|
|
|
|
|
|
|
|
|
697 |
|
698 |
img.automatic-insertion {
|
699 |
background-size: 448px!important;
|
1 |
#ai-data {
|
2 |
+
font-family: "2.4.3"; /* Used for version number of the file */
|
3 |
}
|
4 |
|
5 |
#blocked-warning {
|
103 |
|
104 |
.ai-settings-table.left {
|
105 |
float: left;
|
106 |
+
width: 59%
|
107 |
}
|
108 |
|
109 |
.ai-settings-table.right {
|
110 |
float: right;
|
111 |
+
width: 41%
|
112 |
}
|
113 |
|
114 |
.ai-settings-table.ai-values td:first-child {
|
694 |
background: url('images/insertions-alignmets.png') -0px -280px;
|
695 |
}
|
696 |
|
697 |
+
img.automatic-insertion.im-inside-html {
|
698 |
+
background: url('images/insertions-alignmets.png') -56px -280px;
|
699 |
+
}
|
700 |
+
|
701 |
|
702 |
img.automatic-insertion {
|
703 |
background-size: 448px!important;
|
css/images/insertions-alignmets.png
CHANGED
Binary file
|
includes/dst/dst.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* DST - WP theme and plugin usage tracking client
|
5 |
* Experimental
|
6 |
*
|
7 |
-
* @version 1.0.
|
8 |
* @author Igor Funa <igor.funa/gmail.com>
|
9 |
*/
|
10 |
|
@@ -12,6 +12,10 @@
|
|
12 |
|
13 |
Change Log
|
14 |
|
|
|
|
|
|
|
|
|
15 |
DST 1.0.4 - 2018-10-05
|
16 |
- Added additional update after upgrade event
|
17 |
|
@@ -141,7 +145,7 @@ class DST_Client {
|
|
141 |
self::DST_OPTION_HIDE_DEACTIVATION_FORM,
|
142 |
);
|
143 |
|
144 |
-
private $version = '1.0.
|
145 |
private $tracking_url;
|
146 |
private $main_file;
|
147 |
private $slug;
|
@@ -243,9 +247,32 @@ class DST_Client {
|
|
243 |
register_deactivation_hook ($this->main_file, array ($this, 'end_tracking'));
|
244 |
}
|
245 |
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
$this->init();
|
247 |
}
|
248 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
public function init() {
|
250 |
add_filter ('cron_schedules', array ($this, 'dst_cron_schedules'));
|
251 |
add_action (self::DST_TRACKING_ACTION_HOOK . $this->slug, array ($this, 'update'));
|
@@ -313,20 +340,20 @@ class DST_Client {
|
|
313 |
if (defined ('DST_DEBUG_SCHEDULER') && DST_DEBUG_SCHEDULER) {
|
314 |
$schedules ['everyminute'] = array (
|
315 |
'interval' => 60,
|
316 |
-
'display' => __('Every minute')
|
317 |
);
|
318 |
}
|
319 |
$schedules ['weekly'] = array (
|
320 |
'interval' => 604800,
|
321 |
-
'display' => __('Once Weekly')
|
322 |
);
|
323 |
$schedules ['monthly'] = array (
|
324 |
'interval' => 2635200,
|
325 |
-
'display' => __('Once Monthly')
|
326 |
);
|
327 |
$schedules ['twicemonthly'] = array (
|
328 |
'interval' => 1317600,
|
329 |
-
'display' => __('Twice Monthly')
|
330 |
);
|
331 |
return $schedules;
|
332 |
}
|
@@ -870,11 +897,6 @@ class DST_Client {
|
|
870 |
$plugin = $this->plugin_data ();
|
871 |
$name = $plugin ['Name'];
|
872 |
}
|
873 |
-
|
874 |
-
$notice_text = sprintf (
|
875 |
-
$notice_text,
|
876 |
-
$this->product_type == self::DST_PRODUCT_TYPE_PLUGIN ? self::DST_TEXT_PLUGIN : self::DST_TEXT_THEME
|
877 |
-
);
|
878 |
?>
|
879 |
<div class="notice notice-info <?php echo $class; ?> dst-no-phone" style="display: none;" data-slug="<?php echo $this->slug; ?>" nonce="<?php echo wp_create_nonce ("dst_data"); ?>" >
|
880 |
<?php
|
@@ -897,9 +919,9 @@ class DST_Client {
|
|
897 |
</div>
|
898 |
<div class="dst-notice-element dst-notice-buttons last">
|
899 |
<div class="dst-notice-text-button dst-notice-dismiss" data-action="<?php echo $action_yes; ?>">
|
900 |
-
<button class="button-primary"
|
901 |
</div>
|
902 |
-
<div class="dst-notice-text-button dst-notice-dismiss" data-action="<?php echo $action_no; ?>"
|
903 |
</div>
|
904 |
</div>
|
905 |
<?php
|
@@ -1121,21 +1143,42 @@ jQuery (document).ready (function ($) {
|
|
1121 |
|
1122 |
if (!$this->tracking_known) {
|
1123 |
if ($this->use_email == self::DST_USE_EMAIL_OPTIN_WITH_TRACKING) {
|
1124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1125 |
$notice_text = apply_filters (self::DST_FILTER_OPTIN_NOTICE_TEXT . esc_attr ($this->slug), $notice_text);
|
1126 |
$this->notice_html ($notice_text, 'yes-yes', 'no-no');
|
1127 |
} else {
|
1128 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1129 |
$notice_text = apply_filters (self::DST_FILTER_OPTIN_NOTICE_TEXT . esc_attr ($this->slug), $notice_text);
|
1130 |
$this->notice_html ($notice_text, 'yes-', 'no-no');
|
1131 |
}
|
1132 |
}
|
1133 |
|
1134 |
if ($this->use_email == self::DST_USE_EMAIL_OPTIN_AFTER_TRACKING && !$this->use_email_known) {
|
1135 |
-
|
|
|
|
|
|
|
|
|
1136 |
|
1137 |
$notice_text = apply_filters (self::DST_FILTER_EMAIL_NOTICE_TEXT . esc_attr ($this->slug), $notice_text);
|
1138 |
-
|
1139 |
$this->notice_html ($notice_text, '-yes', '-no', $this->tracking_known ? 'dst-notice' : 'dst-notice-hidden');
|
1140 |
}
|
1141 |
}
|
@@ -1145,7 +1188,7 @@ jQuery (document).ready (function ($) {
|
|
1145 |
|
1146 |
if (isset ($links ['deactivate']) && $this->deactivation_form && !$this->get_hide_deactivation_form ()) {
|
1147 |
$deactivation_link = $links ['deactivate'];
|
1148 |
-
$deactivation_link = str_replace ( '<a ', '<span class="dst-deactivation-form-wrapper"><span class="dst-deactivation-form" id="dst-deactivation-form-' . esc_attr ($this->slug) . '"></span></span><a onclick="javascript:event.preventDefault();" id="dst-deactivation-link-' . esc_attr ($this->slug) . '" ', $deactivation_link);
|
1149 |
$links ['deactivate'] = $deactivation_link;
|
1150 |
}
|
1151 |
return $links;
|
@@ -1157,17 +1200,17 @@ jQuery (document).ready (function ($) {
|
|
1157 |
$form ['heading'] = __( 'Sorry to see you go', 'dst');
|
1158 |
$form ['body'] = __( 'Before you deactivate the plugin, would you quickly give us your reason for doing so?', 'dst');
|
1159 |
$form ['options'] = array (
|
1160 |
-
__('Set up is too difficult',
|
1161 |
-
__('Lack of documentation',
|
1162 |
-
__('Not the features I wanted',
|
1163 |
-
__(
|
1164 |
-
__('Found a better plugin',
|
1165 |
-
__('Installed by mistake',
|
1166 |
-
__('Just testing',
|
1167 |
-
__('Only required temporarily',
|
1168 |
-
__(
|
1169 |
);
|
1170 |
-
$form ['details'] = __('Details (optional)', 'dst'
|
1171 |
$form ['info'] = __('This information will greatly help us to improve the plugin.', 'dst');
|
1172 |
$form ['leaving'] = __( 'Goodbye!', 'dst');
|
1173 |
|
@@ -1191,23 +1234,24 @@ jQuery (document).ready (function ($) {
|
|
1191 |
}
|
1192 |
|
1193 |
$html = '<div class="dst-deactivation-form-head"><strong>' . esc_html ($form ['heading']) . '</strong></div>';
|
1194 |
-
$html .= '<div class="dst-deactivation-form-body"><p>' . ($form['body']) . '</p>';
|
1195 |
if (is_array ($form ['options'])) {
|
1196 |
$html .= '<div class="dst-deactivation-options"><p>';
|
1197 |
foreach ($form ['options'] as $option) {
|
1198 |
$option_data = explode ('#', $option);
|
1199 |
$attributes = '';
|
1200 |
-
if (isset ($option_data [
|
1201 |
-
$attributes = 'data-option="' . $option_data [
|
1202 |
-
if ($option_data [
|
1203 |
$attributes .= ' style="visibility: hidden;"';
|
1204 |
}
|
1205 |
}
|
1206 |
-
$
|
|
|
1207 |
$id = strtolower (str_replace (array (" ", "'"), "", esc_attr ($option)));
|
1208 |
-
$html .= '<input type="checkbox" name="dst-deactivation-options[]" id="' . $id . '" value="' . esc_attr ($option) . '"' . $attributes . '> <label for="' . $id . '"' . $attributes . '>' . esc_attr ($
|
1209 |
}
|
1210 |
-
$html .= '</p><label for="dst-deactivation-reasons">' . esc_html ($form ['details']
|
1211 |
$html .= '</div>';
|
1212 |
}
|
1213 |
$html .= '</div>';
|
@@ -1314,6 +1358,35 @@ jQuery (document).ready (function ($) {
|
|
1314 |
var dst_debugging = <?php echo defined ('DST_DEBUG_JS') && DST_DEBUG_JS ? 'true' : 'false'; ?>;
|
1315 |
var hide_form_visible = 0;
|
1316 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1317 |
$("#dst-deactivation-link-<?php echo esc_attr ($this->slug); ?>").on ("click",function() {
|
1318 |
var url = $("#dst-deactivation-link-<?php echo esc_attr ($this->slug); ?>").attr ('href');
|
1319 |
|
@@ -1321,8 +1394,7 @@ jQuery (document).ready (function ($) {
|
|
1321 |
|
1322 |
$('body').toggleClass ('dst-form-active');
|
1323 |
$("#dst-deactivation-form-<?php echo esc_attr ($this->slug); ?>").fadeIn();
|
1324 |
-
$("#dst-deactivation-form-<?php echo esc_attr ($this->slug); ?>").html ('<?php echo $html;
|
1325 |
-
'<div class="dst-deactivation-form-footer"><p><a id="dst-cancel" class="button secondary" href="'+url+'"><?php _e('Cancel', 'dst'); ?></a> <a id="dst-just-deactivate" class="button secondary" href="'+url+'"><?php _e('Just Deactivate', 'dst'); ?></a> <a id="dst-submit-form" class="button primary" href="#"><?php _e( 'Submit and Deactivate', 'dst' ); ?></a></p></div>');
|
1326 |
$('#dst-submit-form').on ('click', function (e){
|
1327 |
$("#dst-deactivation-form-<?php echo esc_attr ($this->slug); ?> .dst-deactivation-form-head").html('<strong><?php echo esc_html ($form ['leaving']); ?></strong>');
|
1328 |
$("#dst-deactivation-form-<?php echo esc_attr ($this->slug); ?> .dst-deactivation-form-body").hide();
|
@@ -1443,7 +1515,7 @@ jQuery (document).ready (function ($) {
|
|
1443 |
$values = json_encode (wp_unslash ($_POST ['values']));
|
1444 |
$this->set_deactivation_reason ($values);
|
1445 |
|
1446 |
-
$details = sanitize_text_field ($_POST ['details']);
|
1447 |
$this->set_deactivation_details ($details);
|
1448 |
|
1449 |
if (isset ($_POST ["hide_form"])) {
|
@@ -1451,6 +1523,10 @@ jQuery (document).ready (function ($) {
|
|
1451 |
}
|
1452 |
}
|
1453 |
|
|
|
|
|
|
|
|
|
1454 |
wp_die();
|
1455 |
}
|
1456 |
|
4 |
* DST - WP theme and plugin usage tracking client
|
5 |
* Experimental
|
6 |
*
|
7 |
+
* @version 1.0.5
|
8 |
* @author Igor Funa <igor.funa/gmail.com>
|
9 |
*/
|
10 |
|
12 |
|
13 |
Change Log
|
14 |
|
15 |
+
DST 1.0.5 - 2018-10-27
|
16 |
+
- Improved support for translation
|
17 |
+
- Improved deactivation form (ajax check)
|
18 |
+
|
19 |
DST 1.0.4 - 2018-10-05
|
20 |
- Added additional update after upgrade event
|
21 |
|
145 |
self::DST_OPTION_HIDE_DEACTIVATION_FORM,
|
146 |
);
|
147 |
|
148 |
+
private $version = '1.0.5';
|
149 |
private $tracking_url;
|
150 |
private $main_file;
|
151 |
private $slug;
|
247 |
register_deactivation_hook ($this->main_file, array ($this, 'end_tracking'));
|
248 |
}
|
249 |
|
250 |
+
if (did_action ('init')) {
|
251 |
+
$this->load_text_domain ();
|
252 |
+
} else {
|
253 |
+
add_action ('init', array ($this, 'load_text_domain'));
|
254 |
+
}
|
255 |
+
|
256 |
$this->init();
|
257 |
}
|
258 |
|
259 |
+
public function load_text_domain () {
|
260 |
+
$domain = 'dst';
|
261 |
+
$locale = apply_filters (
|
262 |
+
'plugin_locale',
|
263 |
+
(is_admin() && function_exists ('get_user_locale')) ? get_user_locale() : get_locale(),
|
264 |
+
$domain
|
265 |
+
);
|
266 |
+
|
267 |
+
$moFile = $domain . '-' . $locale . '.mo';
|
268 |
+
$path = realpath (dirname (__FILE__) . '/languages');
|
269 |
+
|
270 |
+
if ($path && file_exists ($path)) {
|
271 |
+
load_textdomain ($domain, $path . '/' . $moFile);
|
272 |
+
}
|
273 |
+
}
|
274 |
+
|
275 |
+
|
276 |
public function init() {
|
277 |
add_filter ('cron_schedules', array ($this, 'dst_cron_schedules'));
|
278 |
add_action (self::DST_TRACKING_ACTION_HOOK . $this->slug, array ($this, 'update'));
|
340 |
if (defined ('DST_DEBUG_SCHEDULER') && DST_DEBUG_SCHEDULER) {
|
341 |
$schedules ['everyminute'] = array (
|
342 |
'interval' => 60,
|
343 |
+
'display' => __('Every minute', 'dst')
|
344 |
);
|
345 |
}
|
346 |
$schedules ['weekly'] = array (
|
347 |
'interval' => 604800,
|
348 |
+
'display' => __('Once Weekly', 'dst')
|
349 |
);
|
350 |
$schedules ['monthly'] = array (
|
351 |
'interval' => 2635200,
|
352 |
+
'display' => __('Once Monthly', 'dst')
|
353 |
);
|
354 |
$schedules ['twicemonthly'] = array (
|
355 |
'interval' => 1317600,
|
356 |
+
'display' => __('Twice Monthly', 'dst')
|
357 |
);
|
358 |
return $schedules;
|
359 |
}
|
897 |
$plugin = $this->plugin_data ();
|
898 |
$name = $plugin ['Name'];
|
899 |
}
|
|
|
|
|
|
|
|
|
|
|
900 |
?>
|
901 |
<div class="notice notice-info <?php echo $class; ?> dst-no-phone" style="display: none;" data-slug="<?php echo $this->slug; ?>" nonce="<?php echo wp_create_nonce ("dst_data"); ?>" >
|
902 |
<?php
|
919 |
</div>
|
920 |
<div class="dst-notice-element dst-notice-buttons last">
|
921 |
<div class="dst-notice-text-button dst-notice-dismiss" data-action="<?php echo $action_yes; ?>">
|
922 |
+
<button class="button-primary"><?php _ex("Allow", 'Button', 'dst'); ?></button>
|
923 |
</div>
|
924 |
+
<div class="dst-notice-text-button dst-notice-dismiss" data-action="<?php echo $action_no; ?>"><?php _ex("Do not allow", 'Button', 'dst'); ?></div>
|
925 |
</div>
|
926 |
</div>
|
927 |
<?php
|
1143 |
|
1144 |
if (!$this->tracking_known) {
|
1145 |
if ($this->use_email == self::DST_USE_EMAIL_OPTIN_WITH_TRACKING) {
|
1146 |
+
if ($this->product_type == self::DST_PRODUCT_TYPE_PLUGIN) {
|
1147 |
+
$notice_text = '[STRONG][NAME][/STRONG][P]' .
|
1148 |
+
__("Thank you for installing our plugin. We'd like your permission to track its usage on your site and subscribe you to our newsletter. This is completely optional.", 'dst'). '[BR]' .
|
1149 |
+
__("We won't record any sensitive data, only information regarding the WordPress environment and plugin settings, which will help us to make improvements to the plugin.", 'dst');
|
1150 |
+
} else {
|
1151 |
+
$notice_text = '[STRONG][NAME][/STRONG][P]' .
|
1152 |
+
__("Thank you for installing our theme. We'd like your permission to track its usage on your site and subscribe you to our newsletter. This is completely optional.", 'dst') . '[BR]' .
|
1153 |
+
__("We won't record any sensitive data, only information regarding the WordPress environment and theme settings, which will help us to make improvements to the theme.", 'dst');
|
1154 |
+
}
|
1155 |
+
|
1156 |
$notice_text = apply_filters (self::DST_FILTER_OPTIN_NOTICE_TEXT . esc_attr ($this->slug), $notice_text);
|
1157 |
$this->notice_html ($notice_text, 'yes-yes', 'no-no');
|
1158 |
} else {
|
1159 |
+
if ($this->product_type == self::DST_PRODUCT_TYPE_PLUGIN) {
|
1160 |
+
$notice_text = '[STRONG][NAME][/STRONG][P]' .
|
1161 |
+
__("Thank you for installing our plugin. We would like to track its usage on your site. This is completely optional.", 'dst') . '[BR]' .
|
1162 |
+
__("We don't record any sensitive data, only information regarding the WordPress environment and plugin settings, which will help us to make improvements to the plugin.", 'dst');
|
1163 |
+
} else {
|
1164 |
+
$notice_text = '[STRONG][NAME][/STRONG][P]' .
|
1165 |
+
__("Thank you for installing our theme. We would like to track its usage on your site. This is completely optional.", 'dst') . '[BR]' .
|
1166 |
+
__("We don't record any sensitive data, only information regarding the WordPress environment and theme settings, which will help us to make improvements to the theme.", 'dst');
|
1167 |
+
}
|
1168 |
+
|
1169 |
$notice_text = apply_filters (self::DST_FILTER_OPTIN_NOTICE_TEXT . esc_attr ($this->slug), $notice_text);
|
1170 |
$this->notice_html ($notice_text, 'yes-', 'no-no');
|
1171 |
}
|
1172 |
}
|
1173 |
|
1174 |
if ($this->use_email == self::DST_USE_EMAIL_OPTIN_AFTER_TRACKING && !$this->use_email_known) {
|
1175 |
+
if ($this->product_type == self::DST_PRODUCT_TYPE_PLUGIN) {
|
1176 |
+
$notice_text = __('Thank you for opting in to tracking. Would you like to receive occasional news about this plugin, including details of new features and special offers?', 'dst');
|
1177 |
+
} else {
|
1178 |
+
$notice_text = __('Thank you for opting in to tracking. Would you like to receive occasional news about this theme, including details of new features and special offers?', 'dst');
|
1179 |
+
}
|
1180 |
|
1181 |
$notice_text = apply_filters (self::DST_FILTER_EMAIL_NOTICE_TEXT . esc_attr ($this->slug), $notice_text);
|
|
|
1182 |
$this->notice_html ($notice_text, '-yes', '-no', $this->tracking_known ? 'dst-notice' : 'dst-notice-hidden');
|
1183 |
}
|
1184 |
}
|
1188 |
|
1189 |
if (isset ($links ['deactivate']) && $this->deactivation_form && !$this->get_hide_deactivation_form ()) {
|
1190 |
$deactivation_link = $links ['deactivate'];
|
1191 |
+
$deactivation_link = str_replace ( '<a ', '<span id="dst-original-link-' . esc_attr ($this->slug) . '">'.$deactivation_link.'</span> <span class="dst-deactivation-form-wrapper"><span class="dst-deactivation-form" id="dst-deactivation-form-' . esc_attr ($this->slug) . '"></span></span><a onclick="javascript:event.preventDefault();" id="dst-deactivation-link-' . esc_attr ($this->slug) . '" style="display: none;" ', $deactivation_link);
|
1192 |
$links ['deactivate'] = $deactivation_link;
|
1193 |
}
|
1194 |
return $links;
|
1200 |
$form ['heading'] = __( 'Sorry to see you go', 'dst');
|
1201 |
$form ['body'] = __( 'Before you deactivate the plugin, would you quickly give us your reason for doing so?', 'dst');
|
1202 |
$form ['options'] = array (
|
1203 |
+
__('Set up is too difficult', 'dst') . '#Set up is too difficult',
|
1204 |
+
__('Lack of documentation', 'dst') . '#Lack of documentation',
|
1205 |
+
__('Not the features I wanted', 'dst') . '#Not the features I wanted',
|
1206 |
+
__("Doesn't work", 'dst') . "#Doesn't work",
|
1207 |
+
__('Found a better plugin', 'dst') . '#Found a better plugin',
|
1208 |
+
__('Installed by mistake', 'dst') . '#Installed by mistake',
|
1209 |
+
__('Just testing', 'dst') . '#Just testing#2',
|
1210 |
+
__('Only required temporarily', 'dst') . '#Only required temporarily#2',
|
1211 |
+
__("Don't show this form again", 'dst') . "#Don't show this form again#1",
|
1212 |
);
|
1213 |
+
$form ['details'] = __('Details (optional)', 'dst');
|
1214 |
$form ['info'] = __('This information will greatly help us to improve the plugin.', 'dst');
|
1215 |
$form ['leaving'] = __( 'Goodbye!', 'dst');
|
1216 |
|
1234 |
}
|
1235 |
|
1236 |
$html = '<div class="dst-deactivation-form-head"><strong>' . esc_html ($form ['heading']) . '</strong></div>';
|
1237 |
+
$html .= '<div class="dst-deactivation-form-body"><p>' . (str_replace ("'", "\'", $form['body'])) . '</p>';
|
1238 |
if (is_array ($form ['options'])) {
|
1239 |
$html .= '<div class="dst-deactivation-options"><p>';
|
1240 |
foreach ($form ['options'] as $option) {
|
1241 |
$option_data = explode ('#', $option);
|
1242 |
$attributes = '';
|
1243 |
+
if (isset ($option_data [2])) {
|
1244 |
+
$attributes = 'data-option="' . $option_data [2] .'"';
|
1245 |
+
if ($option_data [2] == 1) {
|
1246 |
$attributes .= ' style="visibility: hidden;"';
|
1247 |
}
|
1248 |
}
|
1249 |
+
$translated_option = $option_data [0];
|
1250 |
+
$option = $option_data [1];
|
1251 |
$id = strtolower (str_replace (array (" ", "'"), "", esc_attr ($option)));
|
1252 |
+
$html .= '<input type="checkbox" name="dst-deactivation-options[]" id="' . $id . '" value="' . esc_attr ($option) . '"' . $attributes . '> <label for="' . $id . '"' . $attributes . '>' . esc_attr ($translated_option) . '</label><br>';
|
1253 |
}
|
1254 |
+
$html .= '</p><label for="dst-deactivation-reasons">' . esc_html ($form ['details']) .'</label><textarea name="dst-deactivation-reasons" id="dst-deactivation-reasons" rows="3" style="width:100%"></textarea><p>' . esc_html ($form['info']) . '</p>';
|
1255 |
$html .= '</div>';
|
1256 |
}
|
1257 |
$html .= '</div>';
|
1358 |
var dst_debugging = <?php echo defined ('DST_DEBUG_JS') && DST_DEBUG_JS ? 'true' : 'false'; ?>;
|
1359 |
var hide_form_visible = 0;
|
1360 |
|
1361 |
+
setTimeout (function() {
|
1362 |
+
var data = {
|
1363 |
+
'action': 'dst_ajax_<?php echo $this->slug; ?>',
|
1364 |
+
'dst_check': "<?php echo wp_create_nonce ('dst_data'); ?>",
|
1365 |
+
'slug': '<?php echo $this->slug; ?>',
|
1366 |
+
'test': '<?php echo $this->slug; ?>',
|
1367 |
+
'dataType': "json"
|
1368 |
+
}
|
1369 |
+
|
1370 |
+
if (dst_debugging) console.log ('DST AJAX TEST <?php echo $this->slug; ?> SUBMIT', data);
|
1371 |
+
|
1372 |
+
$.post(
|
1373 |
+
ajaxurl,
|
1374 |
+
data,
|
1375 |
+
function (response) {
|
1376 |
+
if (dst_debugging) console.log ('DST AJAX TEST <?php echo $this->slug; ?> RESPONSE:', response);
|
1377 |
+
if (response == '<?php echo $this->slug; ?>') {
|
1378 |
+
if (dst_debugging) console.log ('DST AJAX TEST <?php echo $this->slug; ?> OK');
|
1379 |
+
|
1380 |
+
$("#dst-original-link-<?php echo esc_attr ($this->slug); ?>").hide ();
|
1381 |
+
$("#dst-deactivation-link-<?php echo esc_attr ($this->slug); ?>").show ();
|
1382 |
+
|
1383 |
+
if (dst_debugging) console.log ('DST DEACTIVATION FORM LINK DISPLAYED', url);
|
1384 |
+
}
|
1385 |
+
}
|
1386 |
+
);
|
1387 |
+
}, 10);
|
1388 |
+
|
1389 |
+
|
1390 |
$("#dst-deactivation-link-<?php echo esc_attr ($this->slug); ?>").on ("click",function() {
|
1391 |
var url = $("#dst-deactivation-link-<?php echo esc_attr ($this->slug); ?>").attr ('href');
|
1392 |
|
1394 |
|
1395 |
$('body').toggleClass ('dst-form-active');
|
1396 |
$("#dst-deactivation-form-<?php echo esc_attr ($this->slug); ?>").fadeIn();
|
1397 |
+
$("#dst-deactivation-form-<?php echo esc_attr ($this->slug); ?>").html ('<?php echo $html; ?><div class="dst-deactivation-form-footer"><p><a id="dst-cancel" class="button secondary" href="'+url+'"><?php _ex('Cancel', 'Button', 'dst'); ?></a> <a id="dst-just-deactivate" class="button secondary" href="'+url+'"><?php _ex('Just Deactivate', 'Button', 'dst'); ?></a> <a id="dst-submit-form" class="button primary" href="#"><?php _ex( 'Submit and Deactivate', 'Button', 'dst' ); ?></a></p></div>');
|
|
|
1398 |
$('#dst-submit-form').on ('click', function (e){
|
1399 |
$("#dst-deactivation-form-<?php echo esc_attr ($this->slug); ?> .dst-deactivation-form-head").html('<strong><?php echo esc_html ($form ['leaving']); ?></strong>');
|
1400 |
$("#dst-deactivation-form-<?php echo esc_attr ($this->slug); ?> .dst-deactivation-form-body").hide();
|
1515 |
$values = json_encode (wp_unslash ($_POST ['values']));
|
1516 |
$this->set_deactivation_reason ($values);
|
1517 |
|
1518 |
+
$details = sanitize_text_field (wp_unslash ($_POST ['details']));
|
1519 |
$this->set_deactivation_details ($details);
|
1520 |
|
1521 |
if (isset ($_POST ["hide_form"])) {
|
1523 |
}
|
1524 |
}
|
1525 |
|
1526 |
+
elseif (isset ($_POST ["slug"]) && isset ($_POST ["test"])) {
|
1527 |
+
echo sanitize_text_field ($_POST ["test"]);
|
1528 |
+
}
|
1529 |
+
|
1530 |
wp_die();
|
1531 |
}
|
1532 |
|
includes/dst/languages/dst-sl_SI.mo
ADDED
Binary file
|
includes/dst/languages/dst-sl_SI.po
ADDED
@@ -0,0 +1,218 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# SOME DESCRIPTIVE TITLE.
|
2 |
+
# Copyright (C) YEAR Igor Funa
|
3 |
+
# This file is distributed under the same license as the PACKAGE package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: DST 1.05\n"
|
9 |
+
"Report-Msgid-Bugs-To: \n"
|
10 |
+
"POT-Creation-Date: 2018-10-27 22:26+0200\n"
|
11 |
+
"PO-Revision-Date: 2018-10-27 22:36+0200\n"
|
12 |
+
"Last-Translator: Igor Funa\n"
|
13 |
+
"Language-Team: \n"
|
14 |
+
"Language: sl_SI\n"
|
15 |
+
"MIME-Version: 1.0\n"
|
16 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
17 |
+
"Content-Transfer-Encoding: 8bit\n"
|
18 |
+
"X-Generator: Poedit 2.2\n"
|
19 |
+
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n"
|
20 |
+
"%100<=4 ? 2 : 3);\n"
|
21 |
+
|
22 |
+
#: dst.php:319
|
23 |
+
msgid "Every minute"
|
24 |
+
msgstr "Vsako minuto"
|
25 |
+
|
26 |
+
#: dst.php:324
|
27 |
+
msgid "Once Weekly"
|
28 |
+
msgstr "Enkrat tedensko"
|
29 |
+
|
30 |
+
#: dst.php:328
|
31 |
+
msgid "Once Monthly"
|
32 |
+
msgstr "Enkrat mesečno"
|
33 |
+
|
34 |
+
#: dst.php:332
|
35 |
+
msgid "Twice Monthly"
|
36 |
+
msgstr "Dvakrat mesečno"
|
37 |
+
|
38 |
+
#: dst.php:526
|
39 |
+
msgid "No plugin data."
|
40 |
+
msgstr "Ni podatkov o vtičniku."
|
41 |
+
|
42 |
+
#: dst.php:898
|
43 |
+
msgctxt "Button"
|
44 |
+
msgid "Allow"
|
45 |
+
msgstr "Dovoli"
|
46 |
+
|
47 |
+
#: dst.php:900
|
48 |
+
msgctxt "Button"
|
49 |
+
msgid "Do not allow"
|
50 |
+
msgstr "Ne dovoli"
|
51 |
+
|
52 |
+
#: dst.php:1124
|
53 |
+
msgid ""
|
54 |
+
"Thank you for installing our plugin. We'd like your permission to track its "
|
55 |
+
"usage on your site and subscribe you to our newsletter. This is completely "
|
56 |
+
"optional."
|
57 |
+
msgstr ""
|
58 |
+
"Hvala za namestitev našega vtičnika. Prosimo za soglasje za sledenje njegovi "
|
59 |
+
"uporabi na vašem spletnem mestu in za naročimo na naše novice. To je povsem "
|
60 |
+
"izbirno."
|
61 |
+
|
62 |
+
#: dst.php:1125
|
63 |
+
msgid ""
|
64 |
+
"We won't record any sensitive data, only information regarding the WordPress "
|
65 |
+
"environment and plugin settings, which will help us to make improvements to "
|
66 |
+
"the plugin."
|
67 |
+
msgstr ""
|
68 |
+
"Ne bomo beležili občutljivh podatkov, samo informacije glede okolja "
|
69 |
+
"WordPress in nastavitev vtičnika, kar nam bo omogočilo izdelavo izboljšav za "
|
70 |
+
"vtičnik."
|
71 |
+
|
72 |
+
#: dst.php:1128
|
73 |
+
msgid ""
|
74 |
+
"Thank you for installing our theme. We'd like your permission to track its "
|
75 |
+
"usage on your site and subscribe you to our newsletter. This is completely "
|
76 |
+
"optional."
|
77 |
+
msgstr ""
|
78 |
+
"Hvala za namestitev naše teme. Prosimo za soglasje za sledenje njeni uporabi "
|
79 |
+
"na vašem spletnem mestu in za naročimo na naše novice. To je povsem izbirno."
|
80 |
+
|
81 |
+
#: dst.php:1129
|
82 |
+
msgid ""
|
83 |
+
"We won't record any sensitive data, only information regarding the WordPress "
|
84 |
+
"environment and theme settings, which will help us to make improvements to "
|
85 |
+
"the theme."
|
86 |
+
msgstr ""
|
87 |
+
"Ne bomo beležili občutljivh podatkov, samo informacije glede okolja "
|
88 |
+
"WordPress in nastavitev teme, kar nam bo omogočilo izdelavo izboljšav za "
|
89 |
+
"temo."
|
90 |
+
|
91 |
+
#: dst.php:1137
|
92 |
+
msgid ""
|
93 |
+
"Thank you for installing our plugin. We would like to track its usage on "
|
94 |
+
"your site. This is completely optional."
|
95 |
+
msgstr ""
|
96 |
+
"Hvala za namestitev našega vtičnika. Radi bi sledili njegovi uporabi na "
|
97 |
+
"vašem spletnem mestu. To je povsem izbirno."
|
98 |
+
|
99 |
+
#: dst.php:1138
|
100 |
+
msgid ""
|
101 |
+
"We don't record any sensitive data, only information regarding the WordPress "
|
102 |
+
"environment and plugin settings, which will help us to make improvements to "
|
103 |
+
"the plugin."
|
104 |
+
msgstr ""
|
105 |
+
"Ne beležimo občutljivh podatkov, samo informacije glede okolja WordPress in "
|
106 |
+
"nastavitev vtičnika, kar nam bo omogočilo izdelavo izboljšav za vtičnik."
|
107 |
+
|
108 |
+
#: dst.php:1141
|
109 |
+
msgid ""
|
110 |
+
"Thank you for installing our theme. We would like to track its usage on your "
|
111 |
+
"site. This is completely optional."
|
112 |
+
msgstr ""
|
113 |
+
"Hvala za namestitev naše teme. Radi bi sledili njeni uporabi na vašem "
|
114 |
+
"spletnem mestu. To je povsem izbirno."
|
115 |
+
|
116 |
+
#: dst.php:1142
|
117 |
+
msgid ""
|
118 |
+
"We don't record any sensitive data, only information regarding the WordPress "
|
119 |
+
"environment and theme settings, which will help us to make improvements to "
|
120 |
+
"the theme."
|
121 |
+
msgstr ""
|
122 |
+
"Ne beležimo občutljivh podatkov, samo informacije glede okolja WordPress in "
|
123 |
+
"nastavitev teme, kar nam bo omogočilo izdelavo izboljšav za temo."
|
124 |
+
|
125 |
+
#: dst.php:1152
|
126 |
+
msgid ""
|
127 |
+
"Thank you for opting in to tracking. Would you like to receive occasional "
|
128 |
+
"news about this plugin, including details of new features and special offers?"
|
129 |
+
msgstr ""
|
130 |
+
"Hvala za soglasje za sledenje. Ali želite prejemati občasne novice glede "
|
131 |
+
"tega vtičnika, vključno s podrobnostmi o novih funkcijah in posebnih "
|
132 |
+
"ponudbah?"
|
133 |
+
|
134 |
+
#: dst.php:1154
|
135 |
+
msgid ""
|
136 |
+
"Thank you for opting in to tracking. Would you like to receive occasional "
|
137 |
+
"news about this theme, including details of new features and special offers?"
|
138 |
+
msgstr ""
|
139 |
+
"Hvala za soglasje za sledenje. Ali želite prejemati občasne novice glede te "
|
140 |
+
"teme, vključno s podrobnostmi o novih funkcijah in posebnih ponudbah?"
|
141 |
+
|
142 |
+
#: dst.php:1176
|
143 |
+
msgid "Sorry to see you go"
|
144 |
+
msgstr "Žal nam je, da odhajate"
|
145 |
+
|
146 |
+
#: dst.php:1177
|
147 |
+
msgid ""
|
148 |
+
"Before you deactivate the plugin, would you quickly give us your reason for "
|
149 |
+
"doing so?"
|
150 |
+
msgstr ""
|
151 |
+
"Preden onemogočite vtičnik, ali nam lahko na kratko sporočite razlog za to?"
|
152 |
+
|
153 |
+
#: dst.php:1179
|
154 |
+
msgid "Set up is too difficult"
|
155 |
+
msgstr "Nastavitve so preveč zahtevne"
|
156 |
+
|
157 |
+
#: dst.php:1180
|
158 |
+
msgid "Lack of documentation"
|
159 |
+
msgstr "Pomanjkanje dokumentacije"
|
160 |
+
|
161 |
+
#: dst.php:1181
|
162 |
+
msgid "Not the features I wanted"
|
163 |
+
msgstr "Nima funkcij, ki jih potrebujem"
|
164 |
+
|
165 |
+
#: dst.php:1182
|
166 |
+
msgid "Doesn't work"
|
167 |
+
msgstr "Ne dela"
|
168 |
+
|
169 |
+
#: dst.php:1183
|
170 |
+
msgid "Found a better plugin"
|
171 |
+
msgstr "Načel sem boljši vtičnik"
|
172 |
+
|
173 |
+
#: dst.php:1184
|
174 |
+
msgid "Installed by mistake"
|
175 |
+
msgstr "Namestil po pomoti"
|
176 |
+
|
177 |
+
#: dst.php:1185
|
178 |
+
msgid "Just testing"
|
179 |
+
msgstr "Samo testiram"
|
180 |
+
|
181 |
+
#: dst.php:1186
|
182 |
+
msgid "Only required temporarily"
|
183 |
+
msgstr "Potrebujem samo začasno"
|
184 |
+
|
185 |
+
#: dst.php:1187
|
186 |
+
msgid "Don't show this form again"
|
187 |
+
msgstr "Ne prikaži več tega obrazca"
|
188 |
+
|
189 |
+
#: dst.php:1189
|
190 |
+
msgid "Details (optional)"
|
191 |
+
msgstr "Podrobnosti (izbirno)"
|
192 |
+
|
193 |
+
#: dst.php:1190
|
194 |
+
msgid "This information will greatly help us to improve the plugin."
|
195 |
+
msgstr "Te informacije nam bodo zelo pomagale izboljšati vtičnik."
|
196 |
+
|
197 |
+
#: dst.php:1191
|
198 |
+
msgid "Goodbye!"
|
199 |
+
msgstr "Nasvidenje!"
|
200 |
+
|
201 |
+
#: dst.php:1234
|
202 |
+
msgid "Submitting form"
|
203 |
+
msgstr "Pošiljam obrazec"
|
204 |
+
|
205 |
+
#: dst.php:1345
|
206 |
+
msgctxt "Button"
|
207 |
+
msgid "Cancel"
|
208 |
+
msgstr "Prekliči"
|
209 |
+
|
210 |
+
#: dst.php:1345
|
211 |
+
msgctxt "Button"
|
212 |
+
msgid "Just Deactivate"
|
213 |
+
msgstr "Samo Onemogoči"
|
214 |
+
|
215 |
+
#: dst.php:1345
|
216 |
+
msgctxt "Button"
|
217 |
+
msgid "Submit and Deactivate"
|
218 |
+
msgstr "Pošlji in Onemogoči"
|
includes/dst/languages/dst.pot
ADDED
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# SOME DESCRIPTIVE TITLE.
|
2 |
+
# Copyright (C) YEAR Igor Funa
|
3 |
+
# This file is distributed under the same license as the PACKAGE package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5 |
+
#
|
6 |
+
#, fuzzy
|
7 |
+
msgid ""
|
8 |
+
msgstr ""
|
9 |
+
"Project-Id-Version: DST 1.05\n"
|
10 |
+
"Report-Msgid-Bugs-To: \n"
|
11 |
+
"POT-Creation-Date: 2018-10-27 22:26+0200\n"
|
12 |
+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
+
"Language: \n"
|
16 |
+
"MIME-Version: 1.0\n"
|
17 |
+
"Content-Type: text/plain; charset=CHARSET\n"
|
18 |
+
"Content-Transfer-Encoding: 8bit\n"
|
19 |
+
|
20 |
+
#: dst.php:319
|
21 |
+
msgid "Every minute"
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#: dst.php:324
|
25 |
+
msgid "Once Weekly"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: dst.php:328
|
29 |
+
msgid "Once Monthly"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: dst.php:332
|
33 |
+
msgid "Twice Monthly"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: dst.php:526
|
37 |
+
msgid "No plugin data."
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: dst.php:898
|
41 |
+
msgctxt "Button"
|
42 |
+
msgid "Allow"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: dst.php:900
|
46 |
+
msgctxt "Button"
|
47 |
+
msgid "Do not allow"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: dst.php:1124
|
51 |
+
msgid ""
|
52 |
+
"Thank you for installing our plugin. We'd like your permission to track its "
|
53 |
+
"usage on your site and subscribe you to our newsletter. This is completely "
|
54 |
+
"optional."
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: dst.php:1125
|
58 |
+
msgid ""
|
59 |
+
"We won't record any sensitive data, only information regarding the WordPress "
|
60 |
+
"environment and plugin settings, which will help us to make improvements to "
|
61 |
+
"the plugin."
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: dst.php:1128
|
65 |
+
msgid ""
|
66 |
+
"Thank you for installing our theme. We'd like your permission to track its "
|
67 |
+
"usage on your site and subscribe you to our newsletter. This is completely "
|
68 |
+
"optional."
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: dst.php:1129
|
72 |
+
msgid ""
|
73 |
+
"We won't record any sensitive data, only information regarding the WordPress "
|
74 |
+
"environment and theme settings, which will help us to make improvements to "
|
75 |
+
"the theme."
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: dst.php:1137
|
79 |
+
msgid ""
|
80 |
+
"Thank you for installing our plugin. We would like to track its usage on "
|
81 |
+
"your site. This is completely optional."
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: dst.php:1138
|
85 |
+
msgid ""
|
86 |
+
"We don't record any sensitive data, only information regarding the WordPress "
|
87 |
+
"environment and plugin settings, which will help us to make improvements to "
|
88 |
+
"the plugin."
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: dst.php:1141
|
92 |
+
msgid ""
|
93 |
+
"Thank you for installing our theme. We would like to track its usage on your "
|
94 |
+
"site. This is completely optional."
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: dst.php:1142
|
98 |
+
msgid ""
|
99 |
+
"We don't record any sensitive data, only information regarding the WordPress "
|
100 |
+
"environment and theme settings, which will help us to make improvements to "
|
101 |
+
"the theme."
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: dst.php:1152
|
105 |
+
msgid ""
|
106 |
+
"Thank you for opting in to tracking. Would you like to receive occasional "
|
107 |
+
"news about this plugin, including details of new features and special offers?"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: dst.php:1154
|
111 |
+
msgid ""
|
112 |
+
"Thank you for opting in to tracking. Would you like to receive occasional "
|
113 |
+
"news about this theme, including details of new features and special offers?"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: dst.php:1176
|
117 |
+
msgid "Sorry to see you go"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: dst.php:1177
|
121 |
+
msgid ""
|
122 |
+
"Before you deactivate the plugin, would you quickly give us your reason for "
|
123 |
+
"doing so?"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: dst.php:1179
|
127 |
+
msgid "Set up is too difficult"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: dst.php:1180
|
131 |
+
msgid "Lack of documentation"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: dst.php:1181
|
135 |
+
msgid "Not the features I wanted"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: dst.php:1182
|
139 |
+
msgid "Doesn't work"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: dst.php:1183
|
143 |
+
msgid "Found a better plugin"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: dst.php:1184
|
147 |
+
msgid "Installed by mistake"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: dst.php:1185
|
151 |
+
msgid "Just testing"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: dst.php:1186
|
155 |
+
msgid "Only required temporarily"
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: dst.php:1187
|
159 |
+
msgid "Don't show this form again"
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: dst.php:1189
|
163 |
+
msgid "Details (optional)"
|
164 |
+
msgstr ""
|
165 |
+
|
166 |
+
#: dst.php:1190
|
167 |
+
msgid "This information will greatly help us to improve the plugin."
|
168 |
+
msgstr ""
|
169 |
+
|
170 |
+
#: dst.php:1191
|
171 |
+
msgid "Goodbye!"
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#: dst.php:1234
|
175 |
+
msgid "Submitting form"
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: dst.php:1345
|
179 |
+
msgctxt "Button"
|
180 |
+
msgid "Cancel"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: dst.php:1345
|
184 |
+
msgctxt "Button"
|
185 |
+
msgid "Just Deactivate"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: dst.php:1345
|
189 |
+
msgctxt "Button"
|
190 |
+
msgid "Submit and Deactivate"
|
191 |
+
msgstr ""
|
includes/editor.php
CHANGED
@@ -4,9 +4,9 @@
|
|
4 |
//error_reporting (E_ALL);
|
5 |
|
6 |
function ai_editor_media_buttons () {
|
7 |
-
echo '<button type="button" id="use-button" class="button" style="width: 90px;" title="Use current settings"> Use </button>';
|
8 |
-
echo '<button type="button" id="reset-button" class="button" style="width: 90px;" title="Reset to the saved settings"> Reset </button>';
|
9 |
-
echo '<button type="button" id="cancel-button" class="button" style="width: 90px;" title="Use current settings"> Cancel </button>';
|
10 |
}
|
11 |
|
12 |
function ai_editor_mce_buttons ($buttons, $id) {
|
@@ -71,7 +71,7 @@ function generate_code_editor ($block, $client_code, $process_php) {
|
|
71 |
ob_start ();
|
72 |
wp_head ();
|
73 |
$head = ob_get_clean ();
|
74 |
-
$head = preg_replace ('#<title>([^<]*)</title>#', '<title>' . AD_INSERTER_NAME . ' Visual Code Editor</title>', $head);
|
75 |
?>
|
76 |
<html>
|
77 |
<head>
|
@@ -259,9 +259,9 @@ input[type="button"] {
|
|
259 |
|
260 |
<div id="blocked-warning" class="warning-enabled" style="padding: 2px 8px 2px 8px; margin: 8px 0 8px 0; border: 1px solid rgb(221, 221, 221); border-radius: 5px;">
|
261 |
<div style="float: right; text-align: right; margin: 20px 0px 0px 0;">
|
262 |
-
This page was not loaded properly. Please check browser, plugins and ad blockers.
|
263 |
</div>
|
264 |
-
<h3 style="color: red;" title="Error loading page"
|
265 |
|
266 |
<div style="clear: both;"></div>
|
267 |
</div>
|
4 |
//error_reporting (E_ALL);
|
5 |
|
6 |
function ai_editor_media_buttons () {
|
7 |
+
echo '<button type="button" id="use-button" class="button" style="width: 90px;" title="Use current settings"> ', __('Use', 'ad-inserter'), ' </button>';
|
8 |
+
echo '<button type="button" id="reset-button" class="button" style="width: 90px;" title="Reset to the saved settings"> ', __('Reset', 'ad-inserter'), ' </button>';
|
9 |
+
echo '<button type="button" id="cancel-button" class="button" style="width: 90px;" title="Use current settings"> ', __('Cancel', 'ad-inserter'), ' </button>';
|
10 |
}
|
11 |
|
12 |
function ai_editor_mce_buttons ($buttons, $id) {
|
71 |
ob_start ();
|
72 |
wp_head ();
|
73 |
$head = ob_get_clean ();
|
74 |
+
$head = preg_replace ('#<title>([^<]*)</title>#', '<title>' . AD_INSERTER_NAME . ' ' . __('Visual Code Editor', 'ad-inserter') . '</title>', $head);
|
75 |
?>
|
76 |
<html>
|
77 |
<head>
|
259 |
|
260 |
<div id="blocked-warning" class="warning-enabled" style="padding: 2px 8px 2px 8px; margin: 8px 0 8px 0; border: 1px solid rgb(221, 221, 221); border-radius: 5px;">
|
261 |
<div style="float: right; text-align: right; margin: 20px 0px 0px 0;">
|
262 |
+
<?php _e ('This page was not loaded properly. Please check browser, plugins and ad blockers.', 'ad-inserter'); ?>
|
263 |
</div>
|
264 |
+
<h3 style="color: red;" title="<?php _e ('Error loading page', 'ad-inserter'); ?>"><?php _e ('PAGE BLOCKED', 'ad-inserter'); ?></h3>
|
265 |
|
266 |
<div style="clear: both;"></div>
|
267 |
</div>
|
includes/js/ai-insert.js
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
function ai_insert (insertion, selector, insertion_code) {
|
2 |
-
|
|
|
|
|
|
|
|
|
3 |
var ai_debug = typeof ai_debugging !== 'undefined';
|
4 |
|
5 |
if (element.hasAttribute ('id')) {
|
@@ -20,7 +24,27 @@ function ai_insert (insertion, selector, insertion_code) {
|
|
20 |
|
21 |
var ai_debug_name_ai_main = template.getElementsByClassName ("ai-debug-name ai-main")[0];
|
22 |
if (ai_debug_name_ai_main != null) {
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
}
|
25 |
|
26 |
var range = document.createRange ();
|
@@ -75,7 +99,7 @@ function ai_insert_viewport (element) {
|
|
75 |
|
76 |
var ai_debug = typeof ai_debugging !== 'undefined';
|
77 |
|
78 |
-
if (ai_debug) console.log ('AI VIEWPORT INSERTION:',
|
79 |
|
80 |
var visible = !!(element.offsetWidth || element.offsetHeight || element.getClientRects().length);
|
81 |
var block = element.getAttribute ('data-block');
|
1 |
function ai_insert (insertion, selector, insertion_code) {
|
2 |
+
if (selector.indexOf (':eq') != - 1) {
|
3 |
+
var elements = jQuery (selector);
|
4 |
+
} else var elements = document.querySelectorAll (selector);
|
5 |
+
|
6 |
+
Array.prototype.forEach.call (elements, function (element, index) {
|
7 |
var ai_debug = typeof ai_debugging !== 'undefined';
|
8 |
|
9 |
if (element.hasAttribute ('id')) {
|
24 |
|
25 |
var ai_debug_name_ai_main = template.getElementsByClassName ("ai-debug-name ai-main")[0];
|
26 |
if (ai_debug_name_ai_main != null) {
|
27 |
+
var insertion_name = '';
|
28 |
+
if (insertion == 'before') {
|
29 |
+
insertion_name = ai_front.insertion_before;
|
30 |
+
} else
|
31 |
+
if (insertion == 'after') {
|
32 |
+
insertion_name = ai_front.insertion_after;
|
33 |
+
} else
|
34 |
+
if (insertion == 'prepend') {
|
35 |
+
insertion_name = ai_front.insertion_prepend;
|
36 |
+
} else
|
37 |
+
if (insertion == 'append') {
|
38 |
+
insertion_name = ai_front.insertion_append;
|
39 |
+
} else
|
40 |
+
if (insertion == 'replace-content') {
|
41 |
+
insertion_name = ai_front.insertion_replace_content;
|
42 |
+
} else
|
43 |
+
if (insertion == 'replace-element') {
|
44 |
+
insertion_name = ai_front.insertion_replace_element;
|
45 |
+
}
|
46 |
+
|
47 |
+
ai_debug_name_ai_main.innerText = insertion_name + ' ' + selector + ' (' + element.tagName.toLowerCase() + selector_string + ')';
|
48 |
}
|
49 |
|
50 |
var range = document.createRange ();
|
99 |
|
100 |
var ai_debug = typeof ai_debugging !== 'undefined';
|
101 |
|
102 |
+
if (ai_debug) console.log ('AI VIEWPORT INSERTION class:', element.getAttribute ('class'));
|
103 |
|
104 |
var visible = !!(element.offsetWidth || element.offsetHeight || element.getClientRects().length);
|
105 |
var block = element.getAttribute ('data-block');
|
includes/js/ai-insert.min.js
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
-
function ai_insert(insertion,selector,insertion_code){Array.prototype.forEach.call(
|
2 |
-
template.getElementsByClassName("ai-selector-counter")[0];if(ai_selector_counter!=null)ai_selector_counter.innerText=index+1;var ai_debug_name_ai_main=template.getElementsByClassName("ai-debug-name ai-main")[0];if(ai_debug_name_ai_main!=null)
|
3 |
-
|
4 |
-
element.
|
|
|
5 |
function ai_insert_viewport(element){function hasClass(element,cls){if(element==null)return false;if(element.classList)return element.classList.contains(cls);else return(" "+element.className+" ").indexOf(" "+cls+" ")>-1}function addClass(element,cls){if(element==null)return;if(element.classList)element.classList.add(cls);else element.className+=" "+cls}function removeClass(element,cls){if(element==null)return;if(element.classList)element.classList.remove(cls);else element.className=element.className.replace(new RegExp("(^|\\b)"+
|
6 |
-
cls.split(" ").join("|")+"(\\b|$)","gi")," ")}var ai_debug=typeof ai_debugging!=="undefined";if(ai_debug)console.log("AI VIEWPORT INSERTION:",
|
7 |
null)if(insertion_type!=null&&selector!=null){var selector_exists=document.querySelectorAll(selector).length;if(ai_debug)console.log("AI VIEWPORT VISIBLE: block",block,insertion_type,selector,selector_exists?"":"NOT FOUND");if(selector_exists){ai_insert(insertion_type,selector,b64d(insertion_code));removeClass(element,"ai-viewports")}}else{if(ai_debug)console.log("AI VIEWPORT VISIBLE: block",block);var range=document.createRange();var fragment=range.createContextualFragment(b64d(insertion_code));
|
8 |
element.parentNode.insertBefore(fragment,element.nextSibling);removeClass(element,"ai-viewports")}}else{if(ai_debug)console.log("AI VIEWPORT NOT VISIBLE: block",block);var debug_bar=element.previousElementSibling;if(hasClass(debug_bar,"ai-debug-bar")&&hasClass(debug_bar,"ai-debug-script")){removeClass(debug_bar,"ai-debug-script");addClass(debug_bar,"ai-debug-viewport-invisible")}removeClass(element,"ai-viewports")}}
|
9 |
function b64e(str){return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g,function toSolidBytes(match,p1){return String.fromCharCode("0x"+p1)}))}function b64d(str){return decodeURIComponent(atob(str).split("").map(function(c){return"%"+("00"+c.charCodeAt(0).toString(16)).slice(-2)}).join(""))};
|
1 |
+
function ai_insert(insertion,selector,insertion_code){if(selector.indexOf(":eq")!=-1)var elements=jQuery(selector);else var elements=document.querySelectorAll(selector);Array.prototype.forEach.call(elements,function(element,index){var ai_debug=typeof ai_debugging!=="undefined";if(element.hasAttribute("id"))selector_string="#"+element.getAttribute("id");else if(element.hasAttribute("class"))selector_string="."+element.getAttribute("class").replace(new RegExp(" ","g"),".");else selector_string="";var template=
|
2 |
+
document.createElement("div");template.innerHTML=insertion_code;var ai_selector_counter=template.getElementsByClassName("ai-selector-counter")[0];if(ai_selector_counter!=null)ai_selector_counter.innerText=index+1;var ai_debug_name_ai_main=template.getElementsByClassName("ai-debug-name ai-main")[0];if(ai_debug_name_ai_main!=null){var insertion_name="";if(insertion=="before")insertion_name=ai_front.insertion_before;else if(insertion=="after")insertion_name=ai_front.insertion_after;else if(insertion==
|
3 |
+
"prepend")insertion_name=ai_front.insertion_prepend;else if(insertion=="append")insertion_name=ai_front.insertion_append;else if(insertion=="replace-content")insertion_name=ai_front.insertion_replace_content;else if(insertion=="replace-element")insertion_name=ai_front.insertion_replace_element;ai_debug_name_ai_main.innerText=insertion_name+" "+selector+" ("+element.tagName.toLowerCase()+selector_string+")"}var range=document.createRange();var fragment=range.createContextualFragment(template.innerHTML);
|
4 |
+
if(insertion=="before")element.parentNode.insertBefore(fragment,element);else if(insertion=="after")element.parentNode.insertBefore(fragment,element.nextSibling);else if(insertion=="prepend")element.insertBefore(fragment,element.firstChild);else if(insertion=="append")element.insertBefore(fragment,null);else if(insertion=="replace-content")element.innerHTML=template.innerHTML;else if(insertion=="replace-element"){element.parentNode.insertBefore(fragment,element);element.parentNode.removeChild(element)}if(ai_debug)console.log("AI INSERT",
|
5 |
+
insertion,selector,"("+element.tagName.toLowerCase()+selector_string+")")})}
|
6 |
function ai_insert_viewport(element){function hasClass(element,cls){if(element==null)return false;if(element.classList)return element.classList.contains(cls);else return(" "+element.className+" ").indexOf(" "+cls+" ")>-1}function addClass(element,cls){if(element==null)return;if(element.classList)element.classList.add(cls);else element.className+=" "+cls}function removeClass(element,cls){if(element==null)return;if(element.classList)element.classList.remove(cls);else element.className=element.className.replace(new RegExp("(^|\\b)"+
|
7 |
+
cls.split(" ").join("|")+"(\\b|$)","gi")," ")}var ai_debug=typeof ai_debugging!=="undefined";if(ai_debug)console.log("AI VIEWPORT INSERTION class:",element.getAttribute("class"));var visible=!!(element.offsetWidth||element.offsetHeight||element.getClientRects().length);var block=element.getAttribute("data-block");if(visible){var insertion_code=element.getAttribute("data-code");var insertion_type=element.getAttribute("data-insertion");var selector=element.getAttribute("data-selector");if(insertion_code!=
|
8 |
null)if(insertion_type!=null&&selector!=null){var selector_exists=document.querySelectorAll(selector).length;if(ai_debug)console.log("AI VIEWPORT VISIBLE: block",block,insertion_type,selector,selector_exists?"":"NOT FOUND");if(selector_exists){ai_insert(insertion_type,selector,b64d(insertion_code));removeClass(element,"ai-viewports")}}else{if(ai_debug)console.log("AI VIEWPORT VISIBLE: block",block);var range=document.createRange();var fragment=range.createContextualFragment(b64d(insertion_code));
|
9 |
element.parentNode.insertBefore(fragment,element.nextSibling);removeClass(element,"ai-viewports")}}else{if(ai_debug)console.log("AI VIEWPORT NOT VISIBLE: block",block);var debug_bar=element.previousElementSibling;if(hasClass(debug_bar,"ai-debug-bar")&&hasClass(debug_bar,"ai-debug-script")){removeClass(debug_bar,"ai-debug-script");addClass(debug_bar,"ai-debug-viewport-invisible")}removeClass(element,"ai-viewports")}}
|
10 |
function b64e(str){return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g,function toSolidBytes(match,p1){return String.fromCharCode("0x"+p1)}))}function b64d(str){return decodeURIComponent(atob(str).split("").map(function(c){return"%"+("00"+c.charCodeAt(0).toString(16)).slice(-2)}).join(""))};
|
includes/js/ai-lists.js
CHANGED
@@ -130,7 +130,7 @@ jQuery (function ($) {
|
|
130 |
// block_wrapping_div.css ({"visibility": "", "position": "", "z-index": ""}).removeClass ('ai-list-block');
|
131 |
block_wrapping_div.removeClass ('ai-list-block');
|
132 |
block_wrapping_div.find ('.ai-debug-name.ai-list-info').text (referrer);
|
133 |
-
block_wrapping_div.find ('.ai-debug-name.ai-list-status').text (enable_block ?
|
134 |
if (!enable_block) {
|
135 |
$(this).hide ();
|
136 |
block_wrapping_div.removeAttr ('data-ai');
|
130 |
// block_wrapping_div.css ({"visibility": "", "position": "", "z-index": ""}).removeClass ('ai-list-block');
|
131 |
block_wrapping_div.removeClass ('ai-list-block');
|
132 |
block_wrapping_div.find ('.ai-debug-name.ai-list-info').text (referrer);
|
133 |
+
block_wrapping_div.find ('.ai-debug-name.ai-list-status').text (enable_block ? ai_front.visible : ai_front.hidden);
|
134 |
if (!enable_block) {
|
135 |
$(this).hide ();
|
136 |
block_wrapping_div.removeAttr ('data-ai');
|
includes/js/ai-lists.min.js
CHANGED
@@ -3,6 +3,6 @@ function(){var ai_debug=typeof ai_debugging!=="undefined";var cookies=document.c
|
|
3 |
var referers_list_type=$(this).attr("referer-list-type");if(ai_debug)console.log("");if(ai_debug)console.log("AI LISTS referer: ",referrer);if(ai_debug)console.log("AI LISTS referer list:",b64d(referer_list),referers_list_type);$.each(referer_list_array,function(index,list_referer){if(list_referer=="")return true;if(list_referer=="#"){if(referrer==""){found=true;return false}}else if(list_referer==referrer){found=true;return false}});switch(referers_list_type){case "B":if(found)enable_block=false;
|
4 |
break;case "W":if(!found)enable_block=false;break}if(ai_debug)console.log("AI LISTS list found",found);if(ai_debug)console.log("AI LISTS list pass",enable_block)}if(enable_block){var parameter_list=$(this).attr("parameter-list");if(typeof parameter_list!="undefined"){var parameter_list_array=b64d(parameter_list).split(",");var parameter_list_type=$(this).attr("parameter-list-type");if(ai_debug)console.log("");if(ai_debug)console.log("AI LISTS cookies: ",cookies);if(ai_debug)console.log("AI LISTS parameter list:",
|
5 |
b64d(parameter_list),parameter_list_type);var found=false;$.each(parameter_list_array,function(index,list_parameter){if(list_parameter.indexOf("=")!=-1){if(cookies.indexOf(list_parameter)!=-1){found=true;return false}}else cookies.forEach(function(cookie){var cookie_data=cookie.split("=");if(list_parameter==cookie_data[0]){found=true;return false}})});switch(parameter_list_type){case "B":if(found)enable_block=false;break;case "W":if(!found)enable_block=false;break}if(ai_debug)console.log("AI LISTS list found",
|
6 |
-
found);if(ai_debug)console.log("AI LISTS list pass",enable_block)}}$(this).css({"visibility":"","position":"","width":"","height":"","z-index":""}).removeClass("ai-list-data");var block_wrapping_div=$(this).closest("div.ai-list-block");block_wrapping_div.removeClass("ai-list-block");block_wrapping_div.find(".ai-debug-name.ai-list-info").text(referrer);block_wrapping_div.find(".ai-debug-name.ai-list-status").text(enable_block?
|
7 |
if(block_wrapping_div.find(".ai-debug-block")){block_wrapping_div.css({"visibility":""}).removeClass("ai-close");if(block_wrapping_div.hasClass("ai-remove-position"))block_wrapping_div.css({"position":""})}else block_wrapping_div.hide()}else{block_wrapping_div.css({"visibility":""});if(block_wrapping_div.hasClass("ai-remove-position"))block_wrapping_div.css({"position":""});if(typeof $(this).data("code")!="undefined"){var block_code=b64d($(this).data("code"));$(this).append(block_code);if(!ai_debug)$(this).attr("data-code",
|
8 |
"");if(typeof aiLazyLoading=="function")$("div.ai-lazy",this).each(function(index,element){aiLazyLoading({lazyClass:"ai-lazy",lazyElement:this.element})})}}})};$(document).ready(function($){setTimeout(function(){ai_process_lists()},5)})});
|
3 |
var referers_list_type=$(this).attr("referer-list-type");if(ai_debug)console.log("");if(ai_debug)console.log("AI LISTS referer: ",referrer);if(ai_debug)console.log("AI LISTS referer list:",b64d(referer_list),referers_list_type);$.each(referer_list_array,function(index,list_referer){if(list_referer=="")return true;if(list_referer=="#"){if(referrer==""){found=true;return false}}else if(list_referer==referrer){found=true;return false}});switch(referers_list_type){case "B":if(found)enable_block=false;
|
4 |
break;case "W":if(!found)enable_block=false;break}if(ai_debug)console.log("AI LISTS list found",found);if(ai_debug)console.log("AI LISTS list pass",enable_block)}if(enable_block){var parameter_list=$(this).attr("parameter-list");if(typeof parameter_list!="undefined"){var parameter_list_array=b64d(parameter_list).split(",");var parameter_list_type=$(this).attr("parameter-list-type");if(ai_debug)console.log("");if(ai_debug)console.log("AI LISTS cookies: ",cookies);if(ai_debug)console.log("AI LISTS parameter list:",
|
5 |
b64d(parameter_list),parameter_list_type);var found=false;$.each(parameter_list_array,function(index,list_parameter){if(list_parameter.indexOf("=")!=-1){if(cookies.indexOf(list_parameter)!=-1){found=true;return false}}else cookies.forEach(function(cookie){var cookie_data=cookie.split("=");if(list_parameter==cookie_data[0]){found=true;return false}})});switch(parameter_list_type){case "B":if(found)enable_block=false;break;case "W":if(!found)enable_block=false;break}if(ai_debug)console.log("AI LISTS list found",
|
6 |
+
found);if(ai_debug)console.log("AI LISTS list pass",enable_block)}}$(this).css({"visibility":"","position":"","width":"","height":"","z-index":""}).removeClass("ai-list-data");var block_wrapping_div=$(this).closest("div.ai-list-block");block_wrapping_div.removeClass("ai-list-block");block_wrapping_div.find(".ai-debug-name.ai-list-info").text(referrer);block_wrapping_div.find(".ai-debug-name.ai-list-status").text(enable_block?ai_front.visible:ai_front.hidden);if(!enable_block){$(this).hide();block_wrapping_div.removeAttr("data-ai");
|
7 |
if(block_wrapping_div.find(".ai-debug-block")){block_wrapping_div.css({"visibility":""}).removeClass("ai-close");if(block_wrapping_div.hasClass("ai-remove-position"))block_wrapping_div.css({"position":""})}else block_wrapping_div.hide()}else{block_wrapping_div.css({"visibility":""});if(block_wrapping_div.hasClass("ai-remove-position"))block_wrapping_div.css({"position":""});if(typeof $(this).data("code")!="undefined"){var block_code=b64d($(this).data("code"));$(this).append(block_code);if(!ai_debug)$(this).attr("data-code",
|
8 |
"");if(typeof aiLazyLoading=="function")$("div.ai-lazy",this).each(function(index,element){aiLazyLoading({lazyClass:"ai-lazy",lazyElement:this.element})})}}})};$(document).ready(function($){setTimeout(function(){ai_process_lists()},5)})});
|
includes/js/ai-select.js
CHANGED
@@ -201,20 +201,20 @@ jQuery (document).ready (function ($) {
|
|
201 |
<table> \
|
202 |
<tbody> \
|
203 |
<tr> \
|
204 |
-
<td class="data-name">
|
205 |
<td class="data-value"><section id="ai-selector-element"></section></td> \
|
206 |
-
<td><button type="button" id="ai-cancel-button" style="width:
|
207 |
</tr> \
|
208 |
<tr> \
|
209 |
-
<td>
|
210 |
-
<td><section id="ai-selector-path"></section></td>
|
211 |
-
<td><button type="button" id="ai-parent-button" style="width:
|
212 |
</tr> \
|
213 |
<tr> \
|
214 |
-
<td>
|
215 |
-
<td style="width: 100%;"><input id="ai-selector" type="text" value="" maxlength="500" title="
|
216 |
-
<td><button type="button" id="ai-use-button" style="width:
|
217 |
-
<button type="button" id="ai-add-button" style="width:
|
218 |
</tr> \
|
219 |
</tbody> \
|
220 |
</table> \
|
201 |
<table> \
|
202 |
<tbody> \
|
203 |
<tr> \
|
204 |
+
<td class="data-name">' + ai_front.element + '</td> \
|
205 |
<td class="data-value"><section id="ai-selector-element"></section></td> \
|
206 |
+
<td><button type="button" id="ai-cancel-button" style="min-width: 100px;" title="' + ai_front.cancel_element_selection + '"> ' + ai_front.cancel + ' </button></td> \
|
207 |
</tr> \
|
208 |
<tr> \
|
209 |
+
<td>' + ai_front.path + '</td> \
|
210 |
+
<td><section id="ai-selector-path"></section></td> \
|
211 |
+
<td><button type="button" id="ai-parent-button" style="min-width: 100px;" title="' + ai_front.select_parent_element + '"> ' + ai_front.parent + ' </button></td> \
|
212 |
</tr> \
|
213 |
<tr> \
|
214 |
+
<td>' + ai_front.selector + '</td> \
|
215 |
+
<td style="width: 100%;"><input id="ai-selector" type="text" value="" maxlength="500" title="' + ai_front.css_selector + '" /></td> \
|
216 |
+
<td><button type="button" id="ai-use-button" style="min-width: 100px;" title="' + ai_front.use_current_selector + '"> ' + ai_front.use + ' </button> \
|
217 |
+
<button type="button" id="ai-add-button" style="min-width: 100px; display: none;" title="' + ai_front.add_current_selector + '"> ' + ai_front.add + ' </button></td> \
|
218 |
</tr> \
|
219 |
</tbody> \
|
220 |
</table> \
|
includes/js/ai-select.min.js
CHANGED
@@ -5,9 +5,12 @@ input.type="hidden";input.name=i;input.value=encodeURI(param[i]);form.appendChil
|
|
5 |
[];elements.forEach(function(element){html_elements.push(wrapElement(element))});return html_elements}function createClickableElements(){$(".ai-html-element").click(function(){var element_selector=$(this).text();$("#ai-selector-element").html(wrapElement(element_selector));$(".ai-highlighted").removeClass("ai-highlighted");$(".ai-selected").removeClass("ai-selected");$(element_selector).addClass("ai-selected");$("#ai-selector-data "+element_selector).removeClass("ai-selected");$("#ai-selector").val(element_selector)})}
|
6 |
function loadFromSettings(){if(window.opener!=null&&!window.opener.closed){$("#ai-selector").val(cleanSelectors(settings_selector));$("#ai-selector").trigger("input")}}function applyToSettings(add){if(window.opener!=null&&!window.opener.closed){var settings=$(window.opener.document).contents();var selector=$("#ai-selector").val();if(add){var existing_selectors=settings.find(settings_input).val().trim();existing_selectors=cleanSelectors(existing_selectors);if(existing_selectors!="")existing_selectors=
|
7 |
existing_selectors+", ";selector=existing_selectors+selector}settings.find(settings_input).val(selector)}}function changeAction(){if(ctrl_pressed){$("#ai-use-button").hide();$("#ai-add-button").show()}else{$("#ai-use-button").show();$("#ai-add-button").hide()}}var block="AI_POST_HTML_ELEMENT_SELECTION";var settings_selector="AI_POST_SELECTOR";var settings_input="AI_POST_INPUT";var ctrl_pressed=false;var selected_element=null;var current_element=null;document.onclick=interceptClick;$(document).keydown(function(event){if(event.which==
|
8 |
-
"17"){ctrl_pressed=true;changeAction();if(current_element!=null&¤t_element.prop("tagName")=="A")$(current_element).trigger("mouseover")}});$(document).keyup(function(){ctrl_pressed=false;changeAction();if(current_element!=null&¤t_element.prop("tagName")=="A")$(current_element).trigger("mouseout")});$("body").css({"user-select":"none","margin-top":"140px"});$("body").prepend('<section id="ai-selector-data"> <table> <tbody> <tr> <td class="data-name">
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
5 |
[];elements.forEach(function(element){html_elements.push(wrapElement(element))});return html_elements}function createClickableElements(){$(".ai-html-element").click(function(){var element_selector=$(this).text();$("#ai-selector-element").html(wrapElement(element_selector));$(".ai-highlighted").removeClass("ai-highlighted");$(".ai-selected").removeClass("ai-selected");$(element_selector).addClass("ai-selected");$("#ai-selector-data "+element_selector).removeClass("ai-selected");$("#ai-selector").val(element_selector)})}
|
6 |
function loadFromSettings(){if(window.opener!=null&&!window.opener.closed){$("#ai-selector").val(cleanSelectors(settings_selector));$("#ai-selector").trigger("input")}}function applyToSettings(add){if(window.opener!=null&&!window.opener.closed){var settings=$(window.opener.document).contents();var selector=$("#ai-selector").val();if(add){var existing_selectors=settings.find(settings_input).val().trim();existing_selectors=cleanSelectors(existing_selectors);if(existing_selectors!="")existing_selectors=
|
7 |
existing_selectors+", ";selector=existing_selectors+selector}settings.find(settings_input).val(selector)}}function changeAction(){if(ctrl_pressed){$("#ai-use-button").hide();$("#ai-add-button").show()}else{$("#ai-use-button").show();$("#ai-add-button").hide()}}var block="AI_POST_HTML_ELEMENT_SELECTION";var settings_selector="AI_POST_SELECTOR";var settings_input="AI_POST_INPUT";var ctrl_pressed=false;var selected_element=null;var current_element=null;document.onclick=interceptClick;$(document).keydown(function(event){if(event.which==
|
8 |
+
"17"){ctrl_pressed=true;changeAction();if(current_element!=null&¤t_element.prop("tagName")=="A")$(current_element).trigger("mouseover")}});$(document).keyup(function(){ctrl_pressed=false;changeAction();if(current_element!=null&¤t_element.prop("tagName")=="A")$(current_element).trigger("mouseout")});$("body").css({"user-select":"none","margin-top":"140px"});$("body").prepend('<section id="ai-selector-data"> <table> <tbody> <tr> <td class="data-name">'+
|
9 |
+
ai_front.element+'</td> <td class="data-value"><section id="ai-selector-element"></section></td> <td><button type="button" id="ai-cancel-button" style="min-width: 100px;" title="'+ai_front.cancel_element_selection+'"> '+ai_front.cancel+" </button></td> </tr> <tr> <td>"+
|
10 |
+
ai_front.path+'</td> <td><section id="ai-selector-path"></section></td> <td><button type="button" id="ai-parent-button" style="min-width: 100px;" title="'+ai_front.select_parent_element+'"> '+ai_front.parent+" </button></td> </tr> <tr> <td>"+
|
11 |
+
ai_front.selector+'</td> <td style="width: 100%;"><input id="ai-selector" type="text" value="" maxlength="500" title="'+ai_front.css_selector+'" /></td> <td><button type="button" id="ai-use-button" style="min-width: 100px;" title="'+ai_front.use_current_selector+'"> '+ai_front.use+' </button> <button type="button" id="ai-add-button" style="min-width: 100px; display: none;" title="'+
|
12 |
+
ai_front.add_current_selector+'"> '+ai_front.add+" </button></td> </tr> </tbody> </table> </section>");$("body").bind("mouseover mouseout click",function(event){var element=$(event.target);var elements=getDomPath(element[0]);var path=elements.join(" > ");
|
13 |
+
if(path.indexOf("ai-selector-data")!=-1)return;if(element.hasClass("ai-html-element"))return;switch(event.type){case "click":if(element.prop("tagName")!="A"||ctrl_pressed){selected_element=element;$("#ai-selector-element").html(wrapElement(getElementSelector(element[0])));$("#ai-selector-path").html(wrapElements(elements).join(" > "));createClickableElements();$(".ai-highlighted").removeClass("ai-highlighted");$(".ai-selected").removeClass("ai-selected");element.addClass("ai-selected");$("#ai-selector").val(getShortestPath(elements).join(" > "))}break;
|
14 |
+
case "mouseover":current_element=element;if(element.prop("tagName")!="A"||ctrl_pressed)element.addClass("ai-highlighted");break;case "mouseout":element.removeClass("ai-highlighted");break}});$("#ai-selector").on("input",function(){$(".ai-highlighted").removeClass("ai-highlighted");$(".ai-selected").removeClass("ai-selected");var selectors=cleanSelectors($("#ai-selector").val());$(selectors).addClass("ai-selected");var elements=selectors.split(",");elements.forEach(function(element){$("#ai-selector-data "+
|
15 |
+
element).removeClass("ai-selected")});if(elements.length==1&&$(selectors).length==1){selected_element=$(elements[0]);$("#ai-selector-element").html(wrapElement(getElementSelector(selected_element[0])));$("#ai-selector-path").html(wrapElements(getDomPath(selected_element[0])).join(" > "));createClickableElements()}else{selected_element=null;$("#ai-selector-element").text("");$("#ai-selector-path").text("")}});window.onkeydown=function(event){if(event.keyCode===27)window.close()};loadFromSettings();
|
16 |
+
$("#ai-cancel-button").button({}).click(function(){window.close()});$("#ai-parent-button").button({}).click(function(){if(selected_element.prop("tagName")!="BODY"){selected_element=selected_element.parent();selected_element.click()}});$("#ai-use-button").button({}).click(function(){applyToSettings(false);window.close()});$("#ai-add-button").button({}).click(function(){applyToSettings(true);window.close()})});
|
includes/placeholders.php
CHANGED
@@ -16,7 +16,7 @@ function generate_placeholder_editor ($placeholder_url, $block) {
|
|
16 |
|
17 |
|
18 |
$standard_placeholders = array (
|
19 |
-
'Custom',
|
20 |
'300x250',
|
21 |
'336x280',
|
22 |
'728x90',
|
@@ -99,7 +99,7 @@ function generate_placeholder_editor ($placeholder_url, $block) {
|
|
99 |
|
100 |
?><html>
|
101 |
<head>
|
102 |
-
<title><?php echo AD_INSERTER_NAME; ?> Placeholder Editor
|
103 |
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
104 |
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
|
105 |
<script src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js'></script>
|
@@ -342,18 +342,18 @@ img#placeholder {
|
|
342 |
<div id="ai-data" style="display: none;" version="<?php echo AD_INSERTER_VERSION; ?>"></div>
|
343 |
|
344 |
<div style="float: right; width: 90px; margin-left: 20px;">
|
345 |
-
<button id="use-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="Select placeholder"
|
346 |
-
<button id="edit-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="Edit placeholder size, colors and text"
|
347 |
-
<button id="cancel-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="Close placeholder editor"
|
348 |
</div>
|
349 |
|
350 |
<div style="float: left; margin-right: 20px">
|
351 |
-
<h1 style="margin: 0;"
|
352 |
|
353 |
<div id="placeholder-parameters">
|
354 |
|
355 |
<div style="float: left; display: inline-block; margin: 10px 0;">
|
356 |
-
Size
|
357 |
<select id="placeholder-size" style="width: 80px; margin-right: 10px;" tabindex="1">
|
358 |
|
359 |
<?php
|
@@ -369,17 +369,17 @@ img#placeholder {
|
|
369 |
|
370 |
<div class="custom-placeholder-parameters custom-parameters-right" style="<?php echo $placeholder_selection == 0 ? '' : 'display: none;'; ?>">
|
371 |
<div class="float-right">
|
372 |
-
Background color
|
373 |
<input id="background" type="text" value="<?php echo $initial_placeholder_background_color; ?>" size="7" maxlength="7" tabindex="4" />
|
374 |
</div>
|
375 |
|
376 |
<div class="float-right">
|
377 |
-
Height
|
378 |
<input id="height" type="text" value="<?php echo $initial_placeholder_height; ?>" size="4" maxlength="4" tabindex="3" />
|
379 |
</div>
|
380 |
|
381 |
<div class="float-right">
|
382 |
-
Width
|
383 |
<input id="width" type="text" value="<?php echo $initial_placeholder_width; ?>" size="4" maxlength="4" tabindex="2" />
|
384 |
</div>
|
385 |
</div>
|
@@ -388,40 +388,37 @@ img#placeholder {
|
|
388 |
|
389 |
<div class="custom-placeholder-parameters" style="margin: 10px 0;<?php echo $placeholder_selection == 0 ? '' : ' display: none;'; ?>">
|
390 |
<div class="float-left">
|
391 |
-
Text
|
392 |
<input id="text" style="width: 215px;" type="text" value="<?php echo $initial_placeholder_text; ?>" size="30" maxlength="40" tabindex="5" />
|
393 |
</div>
|
394 |
|
395 |
<div class="float-right">
|
396 |
-
Text color
|
397 |
<input id="text-color" type="text" value="<?php echo $initial_placeholder_text_color; ?>" size="7" maxlength="7" tabindex="6" />
|
398 |
</div>
|
399 |
</div>
|
400 |
</div>
|
401 |
|
402 |
</div>
|
403 |
-
|
404 |
<div style="clear: both;"></div>
|
405 |
|
406 |
-
<p id="p1"
|
407 |
-
Placeholder images created here will behave as any other image. You can also save them to local computer or server
|
408 |
|
409 |
<img id="placeholder" src="<?php echo $initial_placeholder_url; ?>" />
|
410 |
|
411 |
-
<p id="p2"
|
412 |
-
are gray with size as placeholder text but you can use any color or text you want. Click on <strong>Edit</strong> button
|
413 |
-
|
414 |
-
|
415 |
-
<p id="p3"><strong>Please note</strong>: if you have active rotation editor the code window shows only the code for the currently selected option.
|
416 |
-
Therefore, code generator will in such case import or generate code for the currently selected option.</p>
|
417 |
|
418 |
-
<p id="
|
419 |
-
|
420 |
-
you need to (optionally) import and generate code for each rotation option.</p>
|
421 |
|
422 |
-
<p id="
|
423 |
-
|
424 |
|
|
|
|
|
425 |
</body>
|
426 |
</html>
|
427 |
<?php
|
16 |
|
17 |
|
18 |
$standard_placeholders = array (
|
19 |
+
__('Custom', 'ad-inserter'),
|
20 |
'300x250',
|
21 |
'336x280',
|
22 |
'728x90',
|
99 |
|
100 |
?><html>
|
101 |
<head>
|
102 |
+
<title><?php echo AD_INSERTER_NAME; ?> <?php _e ('Placeholder Editor', 'ad-inserter'); ?></title>
|
103 |
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
104 |
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
|
105 |
<script src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js'></script>
|
342 |
<div id="ai-data" style="display: none;" version="<?php echo AD_INSERTER_VERSION; ?>"></div>
|
343 |
|
344 |
<div style="float: right; width: 90px; margin-left: 20px;">
|
345 |
+
<button id="use-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="<?php _e ('Select placeholder', 'ad-inserter'); ?>" ><?php _e ('Use', 'ad-inserter'); ?></button>
|
346 |
+
<button id="edit-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="<?php _e ('Edit placeholder size, colors and text', 'ad-inserter'); ?>"><?php _e ('Edit', 'ad-inserter'); ?></button>
|
347 |
+
<button id="cancel-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="<?php _e ('Close placeholder editor', 'ad-inserter'); ?>" ><?php _e ('Cancel', 'ad-inserter'); ?></button>
|
348 |
</div>
|
349 |
|
350 |
<div style="float: left; margin-right: 20px">
|
351 |
+
<h1 style="margin: 0;"><?php _e ('Placeholder', 'ad-inserter'); ?> <span id="placeholder-name"><?php echo $initial_placeholder_size; ?></span></h1>
|
352 |
|
353 |
<div id="placeholder-parameters">
|
354 |
|
355 |
<div style="float: left; display: inline-block; margin: 10px 0;">
|
356 |
+
<?php _e ('Size', 'ad-inserter'); ?>
|
357 |
<select id="placeholder-size" style="width: 80px; margin-right: 10px;" tabindex="1">
|
358 |
|
359 |
<?php
|
369 |
|
370 |
<div class="custom-placeholder-parameters custom-parameters-right" style="<?php echo $placeholder_selection == 0 ? '' : 'display: none;'; ?>">
|
371 |
<div class="float-right">
|
372 |
+
<?php _e ('Background color', 'ad-inserter'); ?>
|
373 |
<input id="background" type="text" value="<?php echo $initial_placeholder_background_color; ?>" size="7" maxlength="7" tabindex="4" />
|
374 |
</div>
|
375 |
|
376 |
<div class="float-right">
|
377 |
+
<?php _e ('Height', 'ad-inserter'); ?>
|
378 |
<input id="height" type="text" value="<?php echo $initial_placeholder_height; ?>" size="4" maxlength="4" tabindex="3" />
|
379 |
</div>
|
380 |
|
381 |
<div class="float-right">
|
382 |
+
<?php _e ('Width', 'ad-inserter'); ?>
|
383 |
<input id="width" type="text" value="<?php echo $initial_placeholder_width; ?>" size="4" maxlength="4" tabindex="2" />
|
384 |
</div>
|
385 |
</div>
|
388 |
|
389 |
<div class="custom-placeholder-parameters" style="margin: 10px 0;<?php echo $placeholder_selection == 0 ? '' : ' display: none;'; ?>">
|
390 |
<div class="float-left">
|
391 |
+
<?php _e ('Text', 'ad-inserter'); ?>
|
392 |
<input id="text" style="width: 215px;" type="text" value="<?php echo $initial_placeholder_text; ?>" size="30" maxlength="40" tabindex="5" />
|
393 |
</div>
|
394 |
|
395 |
<div class="float-right">
|
396 |
+
<?php _e ('Text color', 'ad-inserter'); ?>
|
397 |
<input id="text-color" type="text" value="<?php echo $initial_placeholder_text_color; ?>" size="7" maxlength="7" tabindex="6" />
|
398 |
</div>
|
399 |
</div>
|
400 |
</div>
|
401 |
|
402 |
</div>
|
|
|
403 |
<div style="clear: both;"></div>
|
404 |
|
405 |
+
<p id="p1"><?php _e ('Here you can create a universal placeholder image that can be used in place of ads when they are not available yet.
|
406 |
+
Placeholder images created here will behave as any other image. You can also save them to local computer or server.', 'ad-inserter'); ?></p>
|
407 |
|
408 |
<img id="placeholder" src="<?php echo $initial_placeholder_url; ?>" />
|
409 |
|
410 |
+
<p id="p2"><?php _e ('Choose between common ad sizes 300x250, 336x280, 728x90, 468x60, 250x250, 300x600 or define custom size.
|
411 |
+
Default placeholders are gray with size as placeholder text but you can use any color or text you want. Click on <strong>Edit</strong> button to edit placeholder size, color or text.
|
412 |
+
You can also create blank solid color rectangles by clearing placeholder text.', 'ad-inserter'); ?></p>
|
|
|
|
|
|
|
413 |
|
414 |
+
<p id="p3"><?php _e ('<strong>Please note</strong>: if you have active rotation editor the code window shows only the code for the currently selected option.
|
415 |
+
Therefore, code generator will in such case import or generate code for the currently selected option.', 'ad-inserter'); ?></p>
|
|
|
416 |
|
417 |
+
<p id="p4"><?php _e ('Code generator for banners and AdSense generates the code only when you click on the button Generate code.
|
418 |
+
It is a tool that can help you to create code for AdSense or banners with links. So if you are using rotation editor and switch between options, you need to (optionally) import and generate code for each rotation option.', 'ad-inserter'); ?></p>
|
419 |
|
420 |
+
<p id="p5"><?php _e ('Ad Inserter has a simple code generator for banners and placeholders.
|
421 |
+
You can select banner image (or placeholder), optionally define link (web page address that will open when the banner will be clicked) and select whether to open link in a new tab.', 'ad-inserter'); ?></p>
|
422 |
</body>
|
423 |
</html>
|
424 |
<?php
|
includes/preview-adb.php
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
//error_reporting (E_ALL);
|
5 |
|
6 |
function ai_media_buttons () {
|
7 |
-
echo '<button type="button" id="add-p" class="button" style="width: 36px;" title="Add dummy paragraph">+</button>';
|
8 |
-
echo '<button type="button" id="remove-p" class="button" style="width: 36px;" title="Remove dummy paragraph">-</button>';
|
9 |
-
echo '<button type="button" id="use-button" class="button" style="width: 90px;" title="Use current settings"> Use </button>';
|
10 |
-
echo '<button type="button" id="reset-button" class="button" style="width: 90px;" title="Reset to the saved settings"> Reset </button>';
|
11 |
-
echo '<button type="button" id="default-button" class="button" style="width: 90px;" title="Reset to the default settings"> Default </button>';
|
12 |
-
echo '<button type="button" id="cancel-button" class="button" style="width: 90px;" title="
|
13 |
}
|
14 |
|
15 |
function ai_mce_buttons ($buttons, $id) {
|
@@ -57,7 +57,7 @@ function generate_code_preview_adb ($client_code, $process_php) {
|
|
57 |
ob_start ();
|
58 |
wp_head ();
|
59 |
$head = ob_get_clean ();
|
60 |
-
$head = preg_replace ('#<title>([^<]*)</title>#', '<title>' . AD_INSERTER_NAME . ' Ad Blocking Detected Message Preview</title>', $head);
|
61 |
?>
|
62 |
<html>
|
63 |
<head>
|
@@ -286,9 +286,9 @@ input[type="text"] {
|
|
286 |
|
287 |
<div id="blocked-warning" class="warning-enabled" style="padding: 2px 8px 2px 8px; margin: 8px 0 8px 0; border: 1px solid rgb(221, 221, 221); border-radius: 5px;">
|
288 |
<div style="float: right; text-align: right; margin: 20px 0px 0px 0;">
|
289 |
-
This page was not loaded properly. Please check browser, plugins and ad blockers.
|
290 |
</div>
|
291 |
-
<h3 style="color: red;" title="Error loading page"
|
292 |
|
293 |
<div style="clear: both;"></div>
|
294 |
</div>
|
@@ -345,12 +345,12 @@ input[type="text"] {
|
|
345 |
</div>
|
346 |
|
347 |
<div class="max-input" style="margin: 8px 0;">
|
348 |
-
<span style="display: table-cell; width: 90px; white-space: nowrap; font-size: 13px;"
|
349 |
<input style="display: table-cell; border-radius: 5px; width: 100%; padding-left: 5px;" type="text" id="message-css" value="" size="50" maxlength="200" />
|
350 |
</div>
|
351 |
|
352 |
<div class="max-input" style="margin: 8px 0;">
|
353 |
-
<span style="display: table-cell; width: 90px; white-space: nowrap; font-size: 13px;"
|
354 |
<input style="display: table-cell; border-radius: 5px; width: 100%; padding-left: 5px;" type="text" id="overlay-css" value="" size="50" maxlength="200" />
|
355 |
</div>
|
356 |
|
4 |
//error_reporting (E_ALL);
|
5 |
|
6 |
function ai_media_buttons () {
|
7 |
+
echo '<button type="button" id="add-p" class="button" style="width: 36px;" title="', __('Add dummy paragraph', 'ad-inserter'), '">+</button>';
|
8 |
+
echo '<button type="button" id="remove-p" class="button" style="width: 36px;" title="', __('Remove dummy paragraph', 'ad-inserter'), '">-</button>';
|
9 |
+
echo '<button type="button" id="use-button" class="button" style="width: 90px;" title="', __('Use current settings', 'ad-inserter'), '"> ', _x('Use', 'Button', 'ad-inserter'), ' </button>';
|
10 |
+
echo '<button type="button" id="reset-button" class="button" style="width: 90px;" title="', __('Reset to the saved settings', 'ad-inserter'), '"> ' . _x('Reset', 'Button', 'ad-inserter'), ' </button>';
|
11 |
+
echo '<button type="button" id="default-button" class="button" style="width: 90px;" title="', __('Reset to the default settings', 'ad-inserter'), '"> ' . _x('Default', 'Button', 'ad-inserter'), ' </button>';
|
12 |
+
echo '<button type="button" id="cancel-button" class="button" style="width: 90px;" title="', __('Close preview window', 'ad-inserter'), '"> ', _x('Cancel', 'Button ', 'ad-inserter'), ' </button>';
|
13 |
}
|
14 |
|
15 |
function ai_mce_buttons ($buttons, $id) {
|
57 |
ob_start ();
|
58 |
wp_head ();
|
59 |
$head = ob_get_clean ();
|
60 |
+
$head = preg_replace ('#<title>([^<]*)</title>#', '<title>' . AD_INSERTER_NAME . ' ' . __('Ad Blocking Detected Message Preview', 'ad-inserter') . '</title>', $head);
|
61 |
?>
|
62 |
<html>
|
63 |
<head>
|
286 |
|
287 |
<div id="blocked-warning" class="warning-enabled" style="padding: 2px 8px 2px 8px; margin: 8px 0 8px 0; border: 1px solid rgb(221, 221, 221); border-radius: 5px;">
|
288 |
<div style="float: right; text-align: right; margin: 20px 0px 0px 0;">
|
289 |
+
<?php _e ('This page was not loaded properly. Please check browser, plugins and ad blockers.', 'ad-inserter'); ?>
|
290 |
</div>
|
291 |
+
<h3 style="color: red;" title="Error loading page"><?php _e ('PAGE BLOCKED', 'ad-inserter'); ?></h3>
|
292 |
|
293 |
<div style="clear: both;"></div>
|
294 |
</div>
|
345 |
</div>
|
346 |
|
347 |
<div class="max-input" style="margin: 8px 0;">
|
348 |
+
<span style="display: table-cell; width: 90px; white-space: nowrap; font-size: 13px;"><?php _e ('Message CSS', 'ad-inserter'); ?></span>
|
349 |
<input style="display: table-cell; border-radius: 5px; width: 100%; padding-left: 5px;" type="text" id="message-css" value="" size="50" maxlength="200" />
|
350 |
</div>
|
351 |
|
352 |
<div class="max-input" style="margin: 8px 0;">
|
353 |
+
<span style="display: table-cell; width: 90px; white-space: nowrap; font-size: 13px;"><?php _e ('Overlay CSS', 'ad-inserter'); ?></span>
|
354 |
<input style="display: table-cell; border-radius: 5px; width: 100%; padding-left: 5px;" type="text" id="overlay-css" value="" size="50" maxlength="200" />
|
355 |
</div>
|
356 |
|
includes/preview.php
CHANGED
@@ -132,7 +132,7 @@ function generate_code_preview (
|
|
132 |
|
133 |
?><html>
|
134 |
<head>
|
135 |
-
<title><?php echo AD_INSERTER_NAME; ?> <?php if ($sticky)
|
136 |
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
137 |
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
|
138 |
<script src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js'></script>
|
@@ -1730,20 +1730,20 @@ select {
|
|
1730 |
|
1731 |
<div id="blocked-warning" class="warning-enabled" style="padding: 2px 8px 2px 8px; margin: 8px 0 8px 0; border: 1px solid rgb(221, 221, 221); border-radius: 5px;">
|
1732 |
<div style="float: right; text-align: right; margin: 20px 0px 0px 0;">
|
1733 |
-
This page was not loaded properly. Please check browser, plugins and ad blockers.
|
1734 |
</div>
|
1735 |
-
<h3 style="color: red;" title="Error loading page"
|
1736 |
|
1737 |
<div style="clear: both;"></div>
|
1738 |
</div>
|
1739 |
|
1740 |
<div style="float: right; width: 90px; margin-left: 20px;">
|
1741 |
-
<button id="highlight-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="Highlight inserted code"
|
1742 |
<?php if (!$read_only) : ?>
|
1743 |
-
<button id="use-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="Use current settings"
|
1744 |
-
<button id="reset-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="Reset to
|
1745 |
<?php endif; ?>
|
1746 |
-
<button id="cancel-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="Close preview window"
|
1747 |
</div>
|
1748 |
|
1749 |
<?php if (!$read_only) : ?>
|
@@ -1752,11 +1752,11 @@ select {
|
|
1752 |
<div style="float: left; max-width: 600px; margin-right: 20px">
|
1753 |
<?php endif; ?>
|
1754 |
|
1755 |
-
<h1 style="margin: 0;"
|
1756 |
<?php if ($block != 0) : ?>
|
1757 |
-
<h2
|
1758 |
<?php else : ?>
|
1759 |
-
<h2
|
1760 |
<?php endif; ?>
|
1761 |
<h3 id="block-name" style="text-align: left;"><?php echo $block_name; ?></h3>
|
1762 |
</div>
|
@@ -1798,7 +1798,7 @@ select {
|
|
1798 |
<input id="spinner-padding-left" name="value">
|
1799 |
</span>
|
1800 |
</td>
|
1801 |
-
<td class="demo-code"><p
|
1802 |
<td class="demo-code-padding-lr" style="border-right: 1px solid #ccc;">
|
1803 |
<span class="spinner normal">
|
1804 |
<input id="spinner-padding-right" name="value">
|
@@ -1824,19 +1824,19 @@ select {
|
|
1824 |
<tr>
|
1825 |
<td class="demo-wrapper-margin-tb" style="border-right: 1px solid #ccc;" colspan="5">
|
1826 |
<span class="spinner normal">
|
1827 |
-
<span style="float: left; margin-left:
|
1828 |
<span style="float: right; margin-right: 72px"> </span>
|
1829 |
<input id="spinner-margin-bottom" name="value">
|
1830 |
</span>
|
1831 |
</td>
|
1832 |
-
<td class="demo-wrapper-background"
|
1833 |
</tr>
|
1834 |
</table>
|
1835 |
|
1836 |
<table id="demo-box-no-wrapping" class="demo-box" style="display: none;" cellspacing=0 cellspacing="0">
|
1837 |
<tr>
|
1838 |
-
<td class="demo-code" style="border-right: 1px solid #ccc;"><p
|
1839 |
-
<td class="demo-wrapper-background"
|
1840 |
</tr>
|
1841 |
</table>
|
1842 |
</div>
|
@@ -1854,7 +1854,8 @@ select {
|
|
1854 |
<div style="">
|
1855 |
|
1856 |
<div style="float: left;">
|
1857 |
-
Alignment and
|
|
|
1858 |
<select id="block-alignment" style="width:120px;">
|
1859 |
<?php if (function_exists ('ai_preview_style_options')) ai_preview_style_options ($obj, $alignment_type, true); ?>
|
1860 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>" data-img-class="automatic-insertion preview im-custom-css" value="<?php echo AI_ALIGNMENT_CUSTOM_CSS; ?>" data-title="<?php echo AI_TEXT_CUSTOM_CSS; ?>" <?php echo ($alignment_type == AI_ALIGNMENT_CUSTOM_CSS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CUSTOM_CSS; ?></option>
|
@@ -1874,7 +1875,7 @@ select {
|
|
1874 |
<div style="margin: 8px 0;">
|
1875 |
<div style="float: left;">
|
1876 |
<div style="margin: 4px 0;">
|
1877 |
-
Horizontal position
|
1878 |
<select class="ai-image-selection" id="horizontal-position">
|
1879 |
<option
|
1880 |
data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>"
|
@@ -1921,7 +1922,7 @@ select {
|
|
1921 |
<div id="horizontal-positions"></div>
|
1922 |
|
1923 |
<div class="spinner sticky" style="margin: 8px 0;">
|
1924 |
-
<span
|
1925 |
<input id="spinner-horizontal-margin" name="value">
|
1926 |
<span> px</span>
|
1927 |
</div>
|
@@ -1929,7 +1930,7 @@ select {
|
|
1929 |
|
1930 |
<div style="float: right;">
|
1931 |
<div style="margin: 4px 0;">
|
1932 |
-
Vertical position
|
1933 |
<select id="vertical-position">
|
1934 |
<option
|
1935 |
data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>"
|
@@ -1970,7 +1971,7 @@ select {
|
|
1970 |
<div style="clear: both;"></div>
|
1971 |
|
1972 |
<div class="spinner sticky" style="text-align: right; margin: 8px 0;">
|
1973 |
-
<
|
1974 |
<input id="spinner-vertical-margin" name="value">
|
1975 |
<span> px</span>
|
1976 |
</div>
|
@@ -1980,7 +1981,7 @@ select {
|
|
1980 |
|
1981 |
<div style="margin: 8px 0;">
|
1982 |
<span style="vertical-align: middle;">
|
1983 |
-
Animation
|
1984 |
<select id="animation">
|
1985 |
<option value="<?php echo AI_ANIMATION_NONE; ?>" <?php echo ($animation == AI_ANIMATION_NONE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NONE; ?></option>
|
1986 |
<option value="<?php echo AI_ANIMATION_FADE; ?>" <?php echo ($animation == AI_ANIMATION_FADE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_FADE; ?></option>
|
@@ -1992,14 +1993,15 @@ select {
|
|
1992 |
<option value="<?php echo AI_ANIMATION_ZOOM_OUT; ?>" <?php echo ($animation == AI_ANIMATION_ZOOM_OUT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_ZOOM_OUT; ?></option>
|
1993 |
</select>
|
1994 |
</span>
|
1995 |
-
<button id="animate-button" type="button" style="margin: 0 0 0 10px; height: 30px; font-size: 12px;"
|
1996 |
</div>
|
1997 |
|
1998 |
|
1999 |
<?php else : ?>
|
2000 |
|
2001 |
<div style="margin: 20px 0 0 0;">
|
2002 |
-
Alignment and
|
|
|
2003 |
<select id="block-alignment" style="width:120px;">
|
2004 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>" data-img-class="automatic-insertion preview im-default" <?php alt_styles_data ($obj->alignment_style (AI_ALIGNMENT_DEFAULT, true)); ?> value="<?php echo AI_ALIGNMENT_DEFAULT; ?>" data-title="<?php echo AI_TEXT_DEFAULT; ?>" <?php echo ($alignment_type == AI_ALIGNMENT_DEFAULT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DEFAULT; ?></option>
|
2005 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>" data-img-class="automatic-insertion preview im-align-left" <?php alt_styles_data ($obj->alignment_style (AI_ALIGNMENT_LEFT, true)); ?> value="<?php echo AI_ALIGNMENT_LEFT; ?>" data-title="<?php echo AI_TEXT_LEFT; ?>" <?php echo ($alignment_type == AI_ALIGNMENT_LEFT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_LEFT; ?></option>
|
@@ -2041,7 +2043,7 @@ select {
|
|
2041 |
</span>
|
2042 |
</td>
|
2043 |
<td padding:0;>
|
2044 |
-
<button id="edit-css-button" type="button" style="margin: 0 0 0 10px; height: 30px; font-size: 12px; display: none;"
|
2045 |
</td>
|
2046 |
</tr>
|
2047 |
</table>
|
@@ -2050,77 +2052,77 @@ select {
|
|
2050 |
<?php if (!$sticky) { ?>
|
2051 |
|
2052 |
<?php if (!$read_only) : ?>
|
2053 |
-
<p id="p1"
|
2054 |
-
|
2055 |
<?php elseif (!$adsense) : ?>
|
2056 |
-
<p id="p1"
|
2057 |
<?php else : ?>
|
2058 |
-
<p id="p1"
|
2059 |
<?php endif; ?>
|
2060 |
|
2061 |
<?php if (!$sticky) padding_margin_code ($close_button, $class, $sticky_parameters, $wrapper_css, $block_code); ?>
|
2062 |
|
2063 |
<?php if (!$read_only) : ?>
|
2064 |
-
<p id="p2"
|
2065 |
-
|
2066 |
-
<p id="p3"
|
2067 |
-
|
2068 |
<?php else : ?>
|
2069 |
<?php endif; ?>
|
2070 |
|
2071 |
-
<p id="p4"
|
2072 |
-
Free Ad Inserter supports 16
|
2073 |
-
The settings page is divided into tabs - 16
|
2074 |
-
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion
|
2075 |
|
2076 |
-
<p id="p5"
|
2077 |
-
Enable and use at least one
|
2078 |
-
Enable
|
2079 |
-
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions
|
2080 |
|
2081 |
<?php } else { ?>
|
2082 |
-
<p id="p1"
|
2083 |
-
|
2084 |
-
|
2085 |
-
<p id="p2"
|
2086 |
-
Free Ad Inserter supports 16
|
2087 |
-
The settings page is divided into tabs - 16
|
2088 |
-
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion
|
2089 |
-
|
2090 |
-
<p id="p3"
|
2091 |
-
Enable and use at least one
|
2092 |
-
Enable
|
2093 |
-
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions
|
2094 |
-
|
2095 |
-
<p id="p4"
|
2096 |
-
Free Ad Inserter supports 16
|
2097 |
-
The settings page is divided into tabs - 16
|
2098 |
-
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion
|
2099 |
-
|
2100 |
-
<p id="p5"
|
2101 |
-
Enable and use at least one
|
2102 |
-
Enable
|
2103 |
-
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions
|
2104 |
-
|
2105 |
-
<p id="p6"
|
2106 |
-
Free Ad Inserter supports 16
|
2107 |
-
The settings page is divided into tabs - 16
|
2108 |
-
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion
|
2109 |
-
|
2110 |
-
<p id="p7"
|
2111 |
-
Enable and use at least one
|
2112 |
-
Enable
|
2113 |
-
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions
|
2114 |
-
|
2115 |
-
<p id="p8"
|
2116 |
-
Free Ad Inserter supports 16
|
2117 |
-
The settings page is divided into tabs - 16
|
2118 |
-
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion
|
2119 |
-
|
2120 |
-
<p id="p9"
|
2121 |
-
Enable and use at least one
|
2122 |
-
Enable
|
2123 |
-
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions
|
2124 |
<?php } ?>
|
2125 |
|
2126 |
<span class="ai-content"></span>
|
132 |
|
133 |
?><html>
|
134 |
<head>
|
135 |
+
<title><?php echo AD_INSERTER_NAME; ?> <?php if ($sticky) _e ('Sticky Code Preview', 'ad-inserter'); else _e ('Code Preview', 'ad-inserter'); ?></title>
|
136 |
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
137 |
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
|
138 |
<script src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js'></script>
|
1730 |
|
1731 |
<div id="blocked-warning" class="warning-enabled" style="padding: 2px 8px 2px 8px; margin: 8px 0 8px 0; border: 1px solid rgb(221, 221, 221); border-radius: 5px;">
|
1732 |
<div style="float: right; text-align: right; margin: 20px 0px 0px 0;">
|
1733 |
+
<?php _e ('This page was not loaded properly. Please check browser, plugins and ad blockers.', 'ad-inserter'); ?>
|
1734 |
</div>
|
1735 |
+
<h3 style="color: red;" title="Error loading page"><?php _e ('PAGE BLOCKED', 'ad-inserter'); ?></h3>
|
1736 |
|
1737 |
<div style="clear: both;"></div>
|
1738 |
</div>
|
1739 |
|
1740 |
<div style="float: right; width: 90px; margin-left: 20px;">
|
1741 |
+
<button id="highlight-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="<?php _e ('Highlight inserted code', 'ad-inserter'); ?>" ><?php _e ('Highlight', 'ad-inserter'); ?></button>
|
1742 |
<?php if (!$read_only) : ?>
|
1743 |
+
<button id="use-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="<?php _e ('Use current settings', 'ad-inserter'); ?>" ><?php _e ('Use', 'ad-inserter'); ?></button>
|
1744 |
+
<button id="reset-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="<?php _e ('Reset to block settings', 'ad-inserter'); ?>" ><?php _e ('Reset', 'ad-inserter'); ?></button>
|
1745 |
<?php endif; ?>
|
1746 |
+
<button id="cancel-button" type="button" style="margin: 0 0 10px 0; font-size: 12px; width: 90px; height: 35px; float: right;" title="<?php _e ('Close preview window', 'ad-inserter'); ?>" ><?php _e ('Cancel', 'ad-inserter'); ?></button>
|
1747 |
</div>
|
1748 |
|
1749 |
<?php if (!$read_only) : ?>
|
1752 |
<div style="float: left; max-width: 600px; margin-right: 20px">
|
1753 |
<?php endif; ?>
|
1754 |
|
1755 |
+
<h1 style="margin: 0;"><?php _e ('Preview', 'ad-inserter'); ?></h1>
|
1756 |
<?php if ($block != 0) : ?>
|
1757 |
+
<h2><?php _e ('Block', 'ad-inserter'); ?> <?php echo $block; ?></h2>
|
1758 |
<?php else : ?>
|
1759 |
+
<h2><?php _e ('AdSense ad unit', 'ad-inserter'); ?></h2>
|
1760 |
<?php endif; ?>
|
1761 |
<h3 id="block-name" style="text-align: left;"><?php echo $block_name; ?></h3>
|
1762 |
</div>
|
1798 |
<input id="spinner-padding-left" name="value">
|
1799 |
</span>
|
1800 |
</td>
|
1801 |
+
<td class="demo-code"><p><?php _e ('Block', 'ad-inserter'); ?></p><p class="wrapper-size"> </p></td>
|
1802 |
<td class="demo-code-padding-lr" style="border-right: 1px solid #ccc;">
|
1803 |
<span class="spinner normal">
|
1804 |
<input id="spinner-padding-right" name="value">
|
1824 |
<tr>
|
1825 |
<td class="demo-wrapper-margin-tb" style="border-right: 1px solid #ccc;" colspan="5">
|
1826 |
<span class="spinner normal">
|
1827 |
+
<span style="float: left; margin-left: 2px; min-width: 72px;"><?php _e ('wrapping div', 'ad-inserter'); ?></span>
|
1828 |
<span style="float: right; margin-right: 72px"> </span>
|
1829 |
<input id="spinner-margin-bottom" name="value">
|
1830 |
</span>
|
1831 |
</td>
|
1832 |
+
<td class="demo-wrapper-background"><?php _e ('background', 'ad-inserter'); ?></td>
|
1833 |
</tr>
|
1834 |
</table>
|
1835 |
|
1836 |
<table id="demo-box-no-wrapping" class="demo-box" style="display: none;" cellspacing=0 cellspacing="0">
|
1837 |
<tr>
|
1838 |
+
<td class="demo-code" style="border-right: 1px solid #ccc;"><p><?php _e ('Block', 'ad-inserter'); ?></p><p class="wrapper-size"> </p></td>
|
1839 |
+
<td class="demo-wrapper-background"><?php _e ('background', 'ad-inserter'); ?></td>
|
1840 |
</tr>
|
1841 |
</table>
|
1842 |
</div>
|
1854 |
<div style="">
|
1855 |
|
1856 |
<div style="float: left;">
|
1857 |
+
<?php _e ('Alignment and style', 'ad-inserter'); ?>
|
1858 |
+
|
1859 |
<select id="block-alignment" style="width:120px;">
|
1860 |
<?php if (function_exists ('ai_preview_style_options')) ai_preview_style_options ($obj, $alignment_type, true); ?>
|
1861 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>" data-img-class="automatic-insertion preview im-custom-css" value="<?php echo AI_ALIGNMENT_CUSTOM_CSS; ?>" data-title="<?php echo AI_TEXT_CUSTOM_CSS; ?>" <?php echo ($alignment_type == AI_ALIGNMENT_CUSTOM_CSS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CUSTOM_CSS; ?></option>
|
1875 |
<div style="margin: 8px 0;">
|
1876 |
<div style="float: left;">
|
1877 |
<div style="margin: 4px 0;">
|
1878 |
+
<?php _e ('Horizontal position', 'ad-inserter'); ?>
|
1879 |
<select class="ai-image-selection" id="horizontal-position">
|
1880 |
<option
|
1881 |
data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>"
|
1922 |
<div id="horizontal-positions"></div>
|
1923 |
|
1924 |
<div class="spinner sticky" style="margin: 8px 0;">
|
1925 |
+
<span><?php _e ('Horizontal margin', 'ad-inserter'); ?> </span>
|
1926 |
<input id="spinner-horizontal-margin" name="value">
|
1927 |
<span> px</span>
|
1928 |
</div>
|
1930 |
|
1931 |
<div style="float: right;">
|
1932 |
<div style="margin: 4px 0;">
|
1933 |
+
<?php _e ('Vertical position', 'ad-inserter'); ?>
|
1934 |
<select id="vertical-position">
|
1935 |
<option
|
1936 |
data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>"
|
1971 |
<div style="clear: both;"></div>
|
1972 |
|
1973 |
<div class="spinner sticky" style="text-align: right; margin: 8px 0;">
|
1974 |
+
<span><?php _e ('Vertical margin', 'ad-inserter'); ?> </span>
|
1975 |
<input id="spinner-vertical-margin" name="value">
|
1976 |
<span> px</span>
|
1977 |
</div>
|
1981 |
|
1982 |
<div style="margin: 8px 0;">
|
1983 |
<span style="vertical-align: middle;">
|
1984 |
+
<?php _e ('Animation', 'ad-inserter'); ?>
|
1985 |
<select id="animation">
|
1986 |
<option value="<?php echo AI_ANIMATION_NONE; ?>" <?php echo ($animation == AI_ANIMATION_NONE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NONE; ?></option>
|
1987 |
<option value="<?php echo AI_ANIMATION_FADE; ?>" <?php echo ($animation == AI_ANIMATION_FADE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_FADE; ?></option>
|
1993 |
<option value="<?php echo AI_ANIMATION_ZOOM_OUT; ?>" <?php echo ($animation == AI_ANIMATION_ZOOM_OUT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_ZOOM_OUT; ?></option>
|
1994 |
</select>
|
1995 |
</span>
|
1996 |
+
<button id="animate-button" type="button" style="margin: 0 0 0 10px; height: 30px; font-size: 12px;"><?php _e ('Animate', 'ad-inserter'); ?></button>
|
1997 |
</div>
|
1998 |
|
1999 |
|
2000 |
<?php else : ?>
|
2001 |
|
2002 |
<div style="margin: 20px 0 0 0;">
|
2003 |
+
<?php _e ('Alignment and style', 'ad-inserter'); ?>
|
2004 |
+
|
2005 |
<select id="block-alignment" style="width:120px;">
|
2006 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>" data-img-class="automatic-insertion preview im-default" <?php alt_styles_data ($obj->alignment_style (AI_ALIGNMENT_DEFAULT, true)); ?> value="<?php echo AI_ALIGNMENT_DEFAULT; ?>" data-title="<?php echo AI_TEXT_DEFAULT; ?>" <?php echo ($alignment_type == AI_ALIGNMENT_DEFAULT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DEFAULT; ?></option>
|
2007 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>" data-img-class="automatic-insertion preview im-align-left" <?php alt_styles_data ($obj->alignment_style (AI_ALIGNMENT_LEFT, true)); ?> value="<?php echo AI_ALIGNMENT_LEFT; ?>" data-title="<?php echo AI_TEXT_LEFT; ?>" <?php echo ($alignment_type == AI_ALIGNMENT_LEFT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_LEFT; ?></option>
|
2043 |
</span>
|
2044 |
</td>
|
2045 |
<td padding:0;>
|
2046 |
+
<button id="edit-css-button" type="button" style="margin: 0 0 0 10px; height: 30px; font-size: 12px; display: none;"><?php _e ('Edit', 'ad-inserter'); ?></button>
|
2047 |
</td>
|
2048 |
</tr>
|
2049 |
</table>
|
2052 |
<?php if (!$sticky) { ?>
|
2053 |
|
2054 |
<?php if (!$read_only) : ?>
|
2055 |
+
<p id="p1"><?php _e ('This is a preview of the code between dummy paragraphs. Here you can test various block alignments, visually edit margin and padding values of the wrapping div
|
2056 |
+
or write CSS code directly and watch live preview. Highlight button highlights background, wrapping div margin and code area, while Reset button restores all the values to those of the current block.', 'ad-inserter'); ?></p>
|
2057 |
<?php elseif (!$adsense) : ?>
|
2058 |
+
<p id="p1"><?php _e ('This is a preview of the saved block between dummy paragraphs. It shows the code with the alignment and style as it is set for this block. Highlight button highlights background, wrapping div margin and code area.', 'ad-inserter'); ?></p>
|
2059 |
<?php else : ?>
|
2060 |
+
<p id="p1"><?php _e ('This is a preview of AdSense ad block between dummy paragraphs. AdSense ad code was loaded from your AdSense account. The ad block is displayed on a dummy page so it may be blank (no ads). Click on the Highlight button to highlight ad block.', 'ad-inserter'); ?></p>
|
2061 |
<?php endif; ?>
|
2062 |
|
2063 |
<?php if (!$sticky) padding_margin_code ($close_button, $class, $sticky_parameters, $wrapper_css, $block_code); ?>
|
2064 |
|
2065 |
<?php if (!$read_only) : ?>
|
2066 |
+
<p id="p2"><?php _e ('You can resize the window (and refresh the page to reload ads) to check display with different screen widths.
|
2067 |
+
Once you are satisfied with alignment click on the Use button and the settings will be copied to the active block.', 'ad-inserter'); ?></p>
|
2068 |
+
<p id="p3"><?php _e ("Please note that the code, block name, alignment and style are taken from the current block settings (may not be saved).
|
2069 |
+
<strong>No wrapping</strong> style inserts the code as it is so margin and padding can't be set. However, you can use own HTML code for the block.", 'ad-inserter'); ?></p>
|
2070 |
<?php else : ?>
|
2071 |
<?php endif; ?>
|
2072 |
|
2073 |
+
<p id="p4"><?php _e ("Ad Inserter can be configured to insert any code anywhere on the page. Each code with it's settings is called a block.
|
2074 |
+
Free Ad Inserter supports 16 blocks, Ad Inserter Pro supports up to 96 blocks (depending on the license type).
|
2075 |
+
The settings page is divided into tabs - 16 blocks and general plugin settings. Black number means inactive block (code is not inserted anywhere),
|
2076 |
+
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion.", 'ad-inserter'); ?></p>
|
2077 |
|
2078 |
+
<p id="p5"><?php _e ('Few very important things you need to know in order to insert code and display some ad:
|
2079 |
+
Enable and use at least one insertion option (Automatic insertion, Widget, Shortcode, PHP function call).
|
2080 |
+
Enable insertion on at least one WordPress page type (Posts, Static pages, Homepage, Category pages, Search pages, Archive pages).
|
2081 |
+
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions.', 'ad-inserter'); ?></p>
|
2082 |
|
2083 |
<?php } else { ?>
|
2084 |
+
<p id="p1"><?php _e ('This is a preview of the code for sticky ads. Here you can test various horizontal and vertical alignments, close button locations, visually edit margin values
|
2085 |
+
or write CSS code directly and watch live preview. Highlight button highlights background, margin and code area, while Reset button restores all the values to those of the current block.', 'ad-inserter'); ?></p>
|
2086 |
+
|
2087 |
+
<p id="p2"><?php _e ("Ad Inserter can be configured to insert any code anywhere on the page. Each code with it's settings is called a block.
|
2088 |
+
Free Ad Inserter supports 16 blocks, Ad Inserter Pro supports up to 96 blocks (depending on the license type).
|
2089 |
+
The settings page is divided into tabs - 16 blocks and general plugin settings. Black number means inactive block (code is not inserted anywhere),
|
2090 |
+
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion.", 'ad-inserter'); ?></p>
|
2091 |
+
|
2092 |
+
<p id="p3"><?php _e ('Few very important things you need to know in order to insert code and display some ad:
|
2093 |
+
Enable and use at least one insertion option (Automatic insertion, Widget, Shortcode, PHP function call).
|
2094 |
+
Enable insertion on at least one WordPress page type (Posts, Static pages, Homepage, Category pages, Search pages, Archive pages).
|
2095 |
+
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions.', 'ad-inserter'); ?></p>
|
2096 |
+
|
2097 |
+
<p id="p4"><?php _e ("Ad Inserter can be configured to insert any code anywhere on the page. Each code with it's settings is called a block.
|
2098 |
+
Free Ad Inserter supports 16 blocks, Ad Inserter Pro supports up to 96 blocks (depending on the license type).
|
2099 |
+
The settings page is divided into tabs - 16 blocks and general plugin settings. Black number means inactive block (code is not inserted anywhere),
|
2100 |
+
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion.", 'ad-inserter'); ?></p>
|
2101 |
+
|
2102 |
+
<p id="p5"><?php _e ('Few very important things you need to know in order to insert code and display some ad:
|
2103 |
+
Enable and use at least one insertion option (Automatic insertion, Widget, Shortcode, PHP function call).
|
2104 |
+
Enable insertion on at least one WordPress page type (Posts, Static pages, Homepage, Category pages, Search pages, Archive pages).
|
2105 |
+
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions.', 'ad-inserter'); ?></p>
|
2106 |
+
|
2107 |
+
<p id="p6"><?php _e ("Ad Inserter can be configured to insert any code anywhere on the page. Each code with it's settings is called a block.
|
2108 |
+
Free Ad Inserter supports 16 blocks, Ad Inserter Pro supports up to 96 blocks (depending on the license type).
|
2109 |
+
The settings page is divided into tabs - 16 blocks and general plugin settings. Black number means inactive block (code is not inserted anywhere),
|
2110 |
+
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion.", 'ad-inserter'); ?></p>
|
2111 |
+
|
2112 |
+
<p id="p7"><?php _e ('Few very important things you need to know in order to insert code and display some ad:
|
2113 |
+
Enable and use at least one insertion option (Automatic insertion, Widget, Shortcode, PHP function call).
|
2114 |
+
Enable insertion on at least one WordPress page type (Posts, Static pages, Homepage, Category pages, Search pages, Archive pages).
|
2115 |
+
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions.', 'ad-inserter'); ?></p>
|
2116 |
+
|
2117 |
+
<p id="p8"><?php _e ("Ad Inserter can be configured to insert any code anywhere on the page. Each code with it's settings is called a block.
|
2118 |
+
Free Ad Inserter supports 16 blocks, Ad Inserter Pro supports up to 96 blocks (depending on the license type).
|
2119 |
+
The settings page is divided into tabs - 16 blocks and general plugin settings. Black number means inactive block (code is not inserted anywhere),
|
2120 |
+
red number means block is using automatic insertion, blue number means block is using manual insertion while violet number means block is using automatic and manual insertion.", 'ad-inserter'); ?></p>
|
2121 |
+
|
2122 |
+
<p id="p9"><?php _e ('Few very important things you need to know in order to insert code and display some ad:
|
2123 |
+
Enable and use at least one insertion option (Automatic insertion, Widget, Shortcode, PHP function call).
|
2124 |
+
Enable insertion on at least one WordPress page type (Posts, Static pages, Homepage, Category pages, Search pages, Archive pages).
|
2125 |
+
Single pages (posts and static pages) have also additional setting for individual exceptions. Use default blank value unless you are using individual post/page exceptions.', 'ad-inserter'); ?></p>
|
2126 |
<?php } ?>
|
2127 |
|
2128 |
<span class="ai-content"></span>
|
js/ad-inserter.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
var javascript_version = "2.4.
|
2 |
var ignore_key = true;
|
3 |
var start = 1;
|
4 |
var end = 16;
|
@@ -841,15 +841,37 @@ jQuery(document).ready(function($) {
|
|
841 |
var today_date = new Date (now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0);
|
842 |
if (end_date <= today_date) {
|
843 |
var expiration = Math.round ((today_date - end_date) / 1000 / 3600 / 24);
|
844 |
-
end_date_picker.attr ('title',
|
845 |
end_date_picker.css ("border-color", "#d00");
|
846 |
} else {
|
847 |
var duration = Math.round ((end_date - start_date) / 1000 / 3600 / 24);
|
848 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
849 |
}
|
850 |
}
|
851 |
} else {
|
852 |
-
end_date_picker.attr ('title',
|
853 |
end_date_picker.css ("border-color", "#d00");
|
854 |
}
|
855 |
}
|
@@ -875,15 +897,15 @@ jQuery(document).ready(function($) {
|
|
875 |
var now = new Date();
|
876 |
var today_date = new Date (now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0);
|
877 |
if (today_date - start_date > 366 * 24 * 3600 * 1000) {
|
878 |
-
start_date_picker.attr ('title',
|
879 |
start_date_picker.css ("border-color", "#d00");
|
880 |
}
|
881 |
if (end_date - start_date > 366 * 24 * 3600 * 1000) {
|
882 |
-
end_date_picker.attr ('title',
|
883 |
end_date_picker.css ("border-color", "#d00");
|
884 |
}
|
885 |
} else {
|
886 |
-
end_date_picker.attr ('title',
|
887 |
end_date_picker.css ("border-color", "#d00");
|
888 |
}
|
889 |
}
|
@@ -1002,9 +1024,9 @@ jQuery(document).ready(function($) {
|
|
1002 |
|
1003 |
|
1004 |
if ($('#icons-css-code-'+block).css ('display') != 'none') {
|
1005 |
-
$("#show-css-button-"+block+" span").text (
|
1006 |
} else {
|
1007 |
-
$("#show-css-button-"+block+" span").text (
|
1008 |
}
|
1009 |
|
1010 |
var avoid_action = $("select#avoid-action-"+block+" option:selected").text();
|
@@ -1239,11 +1261,11 @@ jQuery(document).ready(function($) {
|
|
1239 |
|
1240 |
var message = '';
|
1241 |
if (start_date == '' && end_date == '')
|
1242 |
-
var message =
|
1243 |
-
if (start_date != '' && end_date != '') var message =
|
1244 |
|
1245 |
if (message != '')
|
1246 |
-
$('<div />').html(message).attr ('title',
|
1247 |
bgiframe: true,
|
1248 |
draggable: false,
|
1249 |
resizable: false,
|
@@ -1251,18 +1273,34 @@ jQuery(document).ready(function($) {
|
|
1251 |
height: "auto",
|
1252 |
width: 400,
|
1253 |
position: {my: 'center', at: 'center', of: '#ai-settings'},
|
1254 |
-
buttons: {
|
1255 |
-
|
|
|
1256 |
$(this).dialog ("close");
|
1257 |
|
1258 |
$(delete_button).addClass ('delete');
|
1259 |
$("input#load-custom-range-"+block).click ();
|
1260 |
$(delete_button).removeClass ('delete');
|
1261 |
-
}
|
1262 |
-
|
|
|
|
|
1263 |
$(this).dialog ("close");
|
1264 |
-
}
|
1265 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1266 |
open: function() {$(this).parent ().find ('button:nth-child(2)').focus();}
|
1267 |
});
|
1268 |
});
|
@@ -1317,7 +1355,7 @@ jQuery(document).ready(function($) {
|
|
1317 |
var nonce = $(this).attr ('nonce');
|
1318 |
$("#export_settings_0").load (ajaxurl+"?action=ai_ajax_backend&export=0&ai_check=" + nonce, function (response, status, xhr) {
|
1319 |
if (status == "error" ) {
|
1320 |
-
$('#ai-error-container').text ('
|
1321 |
} else {
|
1322 |
$("#export_settings_0").attr ("name", "export_settings_0");
|
1323 |
$("#export-switch-0").addClass ("loaded");
|
@@ -1593,11 +1631,11 @@ jQuery(document).ready(function($) {
|
|
1593 |
$("#icons-css-code-" + block).toggle ();
|
1594 |
|
1595 |
if ($('#icons-css-code-'+block).is(':visible')) {
|
1596 |
-
$("#show-css-button-"+block+" span").text (
|
1597 |
configure_selection_icons (block);
|
1598 |
process_display_elements (block);
|
1599 |
} else {
|
1600 |
-
$("#show-css-button-"+block+" span").text (
|
1601 |
$("#sticky-animation-"+block).hide ();
|
1602 |
}
|
1603 |
});
|
@@ -1755,7 +1793,7 @@ jQuery(document).ready(function($) {
|
|
1755 |
var nonce = $(this).attr ('nonce');
|
1756 |
$("#export_settings_" + block).load (ajaxurl+"?action=ai_ajax_backend&export=" + block + "&ai_check=" + nonce, function (response, status, xhr) {
|
1757 |
if (status == "error" ) {
|
1758 |
-
$('#ai-error-container').text ('
|
1759 |
} else {
|
1760 |
$("#export_settings_" + block).attr ("name", "export_settings_" + block);
|
1761 |
$("#export-switch-"+block).addClass ("loaded");
|
@@ -2191,7 +2229,7 @@ jQuery(document).ready(function($) {
|
|
2191 |
}
|
2192 |
}).fail (function (xhr, status, error) {
|
2193 |
console.log ("AI IMPORT CODE ERROR:", xhr.status, xhr.statusText);
|
2194 |
-
$('#ai-error-container').text ('
|
2195 |
}).always (function() {
|
2196 |
$("#import-code-"+block).next ("label").find ('.checkbox-icon').removeClass("on");
|
2197 |
});
|
@@ -2266,7 +2304,7 @@ jQuery(document).ready(function($) {
|
|
2266 |
}
|
2267 |
}).fail (function (xhr, status, error) {
|
2268 |
console.log ("AI GENERATE CODE ERROR:", xhr.status, xhr.statusText);
|
2269 |
-
$('#ai-error-container').text ('
|
2270 |
}).always (function() {
|
2271 |
$("#generate-code-"+block).next ("label").find ('.checkbox-icon').removeClass("on");
|
2272 |
});
|
@@ -2527,7 +2565,7 @@ jQuery(document).ready(function($) {
|
|
2527 |
}
|
2528 |
}).fail (function (xhr, status, error) {
|
2529 |
console.log ("AI IMPORT ROTATION CODE ERROR:", xhr.status, xhr.statusText);
|
2530 |
-
$('#ai-error-container').text ('
|
2531 |
|
2532 |
var rotation_container = $('#ai-rotation-container-' + block);
|
2533 |
set_editor_text (block, b64d (rotation_container.data ('code')));
|
@@ -2576,7 +2614,7 @@ jQuery(document).ready(function($) {
|
|
2576 |
|
2577 |
}).fail (function (xhr, status, error) {
|
2578 |
console.log ("AI GENERATE ROTATION CODE ERROR:", xhr.status, xhr.statusText);
|
2579 |
-
$('#ai-error-container').text ('
|
2580 |
|
2581 |
var rotation_container = $('#ai-rotation-container-' + block);
|
2582 |
set_editor_text (block, b64d (rotation_container.data ('code')));
|
@@ -2771,7 +2809,7 @@ jQuery(document).ready(function($) {
|
|
2771 |
select.addClass ('multi-select');
|
2772 |
|
2773 |
select.multiSelect ({
|
2774 |
-
selectableHeader: "<input type='text' class='search-input' autocomplete='off' placeholder='
|
2775 |
selectedHeader: "Selected Countries",
|
2776 |
afterInit: function(ms){
|
2777 |
var that = this,
|
@@ -3137,7 +3175,7 @@ jQuery(document).ready(function($) {
|
|
3137 |
// }
|
3138 |
}).fail (function (xhr, status, error) {
|
3139 |
console.log ("AI LOADING ERROR:", xhr.status, xhr.statusText);
|
3140 |
-
$('#ai-error-container').text ('
|
3141 |
})
|
3142 |
.always (function () {
|
3143 |
$('#ai-loading').hide ();
|
@@ -3338,7 +3376,7 @@ jQuery(document).ready(function($) {
|
|
3338 |
var client_id = $("input#adsense-client-id").val ();
|
3339 |
var client_secret = $("input#adsense-client-secret").val ();
|
3340 |
|
3341 |
-
data_container.text (
|
3342 |
|
3343 |
var nonce = $("#ai-form").attr ('nonce');
|
3344 |
|
@@ -3357,7 +3395,7 @@ jQuery(document).ready(function($) {
|
|
3357 |
$(".authorize-adsense", data_container).click (function () {
|
3358 |
|
3359 |
$('#adsense-list-controls').show ();
|
3360 |
-
data_container.text (
|
3361 |
|
3362 |
authorization_code = '';
|
3363 |
update_adsense_authorization (authorization_code);
|
@@ -3375,7 +3413,7 @@ jQuery(document).ready(function($) {
|
|
3375 |
var authorization_code = $("input#adsense-authorization-code").val ();
|
3376 |
|
3377 |
$('#adsense-list-controls').show ();
|
3378 |
-
data_container.text (
|
3379 |
|
3380 |
if ($(this).hasClass ('clear-adsense')) authorization_code = '';
|
3381 |
if ($(this).hasClass ('own-ids')) authorization_code = 'own-ids';
|
@@ -3392,7 +3430,7 @@ jQuery(document).ready(function($) {
|
|
3392 |
var publisher_id = $('#adsense-data', data_container).data ('publisher-id');
|
3393 |
if (typeof publisher_id == 'undefined') publisher_id = '';
|
3394 |
|
3395 |
-
$('label#google-adsense-button').attr ('title',
|
3396 |
|
3397 |
$("label.adsense-copy-code").click (function () {
|
3398 |
var ad_slot_id = $(this).closest ('tr').data ('id');
|
@@ -3587,7 +3625,7 @@ jQuery(document).ready(function($) {
|
|
3587 |
settings_container.load (ajaxurl+"?action=ai_ajax_backend&settings=" + active_tab + "&ai_check=" + nonce, function (response, status, xhr) {
|
3588 |
if (status == "error") {
|
3589 |
$('#ai-loading').hide ();
|
3590 |
-
var message =
|
3591 |
$('#ai-error-container').text (message).show ();
|
3592 |
if (debug) console.log (message);
|
3593 |
} else {
|
@@ -3676,7 +3714,7 @@ jQuery(document).ready(function($) {
|
|
3676 |
|
3677 |
var plugin_version = $('#ai-data').attr ('version').split ('-') [0];
|
3678 |
if (javascript_version != plugin_version) {
|
3679 |
-
console.log ('AD INSERTER: plugin version: ' + plugin_version + ', loaded
|
3680 |
|
3681 |
// Check page HTML
|
3682 |
var javascript_version_parameter = $("script[src*='ad-inserter.js']").attr('src');
|
@@ -3686,19 +3724,19 @@ jQuery(document).ready(function($) {
|
|
3686 |
$("#javascript-version-parameter-missing").show ();
|
3687 |
}
|
3688 |
else if (javascript_version_parameter_string != plugin_version) {
|
3689 |
-
console.log ('AD INSERTER: plugin version: ' + plugin_version + '
|
3690 |
$("#javascript-version-parameter").show ();
|
3691 |
}
|
3692 |
}
|
3693 |
|
3694 |
-
$("#javascript-version").html ("
|
3695 |
$("#javascript-warning").show ();
|
3696 |
}
|
3697 |
|
3698 |
var css_version = $('#ai-data').css ('font-family').replace(/[\"\']/g, '');
|
3699 |
if (css_version.indexOf ('.') == - 1) $("#blocked-warning").show (); else
|
3700 |
if (css_version != plugin_version) {
|
3701 |
-
console.log ('AD INSERTER: plugin version:', plugin_version,
|
3702 |
|
3703 |
// Check page HTML
|
3704 |
var css_version_parameter = $("link[href*='ad-inserter.css']").attr('href');
|
@@ -3708,12 +3746,12 @@ jQuery(document).ready(function($) {
|
|
3708 |
$("#css-version-parameter-missing").show ();
|
3709 |
}
|
3710 |
else if (css_version_parameter_string != plugin_version) {
|
3711 |
-
console.log ('AD INSERTER: plugin version:', plugin_version
|
3712 |
$("#css-version-parameter").show ();
|
3713 |
}
|
3714 |
}
|
3715 |
|
3716 |
-
$("#css-version").html ("
|
3717 |
$("#css-warning").show ();
|
3718 |
}
|
3719 |
|
@@ -3779,7 +3817,7 @@ jQuery(document).ready(function($) {
|
|
3779 |
var data_container = $("#ai-list-data");
|
3780 |
var rearrange_controls = $('#list-rearrange-controls');
|
3781 |
if ($(this).parent ().find ('.checkbox-icon').hasClass ('on')) {
|
3782 |
-
$("#ai-rearrange").parent ().find ('.checkbox-button').attr ('title',
|
3783 |
rearrange_controls.show ();
|
3784 |
data_container.find ('tbody').sortable ({
|
3785 |
start: function (event, ui) {$('#list-save').show ();},
|
@@ -3787,7 +3825,7 @@ jQuery(document).ready(function($) {
|
|
3787 |
}).css ('cursor', 'move');
|
3788 |
} else {
|
3789 |
data_container.find ('tbody').sortable ("disable");
|
3790 |
-
$("#ai-rearrange").parent ().find ('.checkbox-button').attr ('title',
|
3791 |
$('#list-save').hide ();
|
3792 |
rearrange_controls.hide ();
|
3793 |
reload_list ();
|
@@ -3803,7 +3841,7 @@ jQuery(document).ready(function($) {
|
|
3803 |
var nonce = $("#ai-form").attr ('nonce');
|
3804 |
var page = ajaxurl+"?action=ai_ajax_backend&update=maxmind&ai_check=" + nonce;
|
3805 |
|
3806 |
-
$("span.maxmind-db-missing").text (
|
3807 |
$.get (page, function (update_status) {
|
3808 |
|
3809 |
if (update_status == '') {
|
@@ -3816,10 +3854,10 @@ jQuery(document).ready(function($) {
|
|
3816 |
if (typeof status !== "undefined") {
|
3817 |
$(".notice span.maxmind-db-missing").text (status [0]);
|
3818 |
$("#maxmind-db-status").text (status [1]);
|
3819 |
-
} else $("span.maxmind-db-missing").text (
|
3820 |
}
|
3821 |
}).fail (function(jqXHR, status, err) {
|
3822 |
-
$("span.maxmind-db-missing").text (
|
3823 |
});
|
3824 |
}
|
3825 |
|
@@ -3842,7 +3880,7 @@ jQuery(document).ready(function($) {
|
|
3842 |
});
|
3843 |
|
3844 |
$("#clear-adsense-authorization").click (function () {
|
3845 |
-
$("#adsense-list-data").text (
|
3846 |
update_adsense_authorization ('');
|
3847 |
});
|
3848 |
|
1 |
+
var javascript_version = "2.4.3";
|
2 |
var ignore_key = true;
|
3 |
var start = 1;
|
4 |
var end = 16;
|
841 |
var today_date = new Date (now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0);
|
842 |
if (end_date <= today_date) {
|
843 |
var expiration = Math.round ((today_date - end_date) / 1000 / 3600 / 24);
|
844 |
+
end_date_picker.attr ('title', ai_admin.insertion_expired);
|
845 |
end_date_picker.css ("border-color", "#d00");
|
846 |
} else {
|
847 |
var duration = Math.round ((end_date - start_date) / 1000 / 3600 / 24);
|
848 |
+
var title = ' ' + ai_admin.duration + ': ' + duration + ' ';
|
849 |
+
switch (duration) {
|
850 |
+
case 0:
|
851 |
+
title = title + ai_admin.days_0;
|
852 |
+
break;
|
853 |
+
case 1:
|
854 |
+
title = title + ai_admin.days_1;
|
855 |
+
break;
|
856 |
+
case 2:
|
857 |
+
title = title + ai_admin.days_2;
|
858 |
+
break;
|
859 |
+
case 3:
|
860 |
+
title = title + ai_admin.days_3;
|
861 |
+
break;
|
862 |
+
case 4:
|
863 |
+
title = title + ai_admin.days_4;
|
864 |
+
break;
|
865 |
+
default:
|
866 |
+
title = title + ai_admin.days_5;
|
867 |
+
break;
|
868 |
+
}
|
869 |
+
|
870 |
+
end_date_picker.attr ('title', title);
|
871 |
}
|
872 |
}
|
873 |
} else {
|
874 |
+
end_date_picker.attr ('title', ai_admin.invalid_end_date);
|
875 |
end_date_picker.css ("border-color", "#d00");
|
876 |
}
|
877 |
}
|
897 |
var now = new Date();
|
898 |
var today_date = new Date (now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0);
|
899 |
if (today_date - start_date > 366 * 24 * 3600 * 1000) {
|
900 |
+
start_date_picker.attr ('title', ai_admin.invalid_start_date);
|
901 |
start_date_picker.css ("border-color", "#d00");
|
902 |
}
|
903 |
if (end_date - start_date > 366 * 24 * 3600 * 1000) {
|
904 |
+
end_date_picker.attr ('title', ai_admin.invalid_date_range);
|
905 |
end_date_picker.css ("border-color", "#d00");
|
906 |
}
|
907 |
} else {
|
908 |
+
end_date_picker.attr ('title', ai_admin.invalid_end_date);
|
909 |
end_date_picker.css ("border-color", "#d00");
|
910 |
}
|
911 |
}
|
1024 |
|
1025 |
|
1026 |
if ($('#icons-css-code-'+block).css ('display') != 'none') {
|
1027 |
+
$("#show-css-button-"+block+" span").text (ai_admin.hide);
|
1028 |
} else {
|
1029 |
+
$("#show-css-button-"+block+" span").text (ai_admin.show);
|
1030 |
}
|
1031 |
|
1032 |
var avoid_action = $("select#avoid-action-"+block+" option:selected").text();
|
1261 |
|
1262 |
var message = '';
|
1263 |
if (start_date == '' && end_date == '')
|
1264 |
+
var message = ai_admin.delete_all_statistics; else
|
1265 |
+
if (start_date != '' && end_date != '') var message = ai_admin.delete_statistics_between.replace ('{start_date}', start_date).replace ('{end_date}', end_date);
|
1266 |
|
1267 |
if (message != '')
|
1268 |
+
$('<div />').html(message).attr ('title', ai_admin.warning).dialog({
|
1269 |
bgiframe: true,
|
1270 |
draggable: false,
|
1271 |
resizable: false,
|
1273 |
height: "auto",
|
1274 |
width: 400,
|
1275 |
position: {my: 'center', at: 'center', of: '#ai-settings'},
|
1276 |
+
buttons: [{
|
1277 |
+
text: ai_admin.delete,
|
1278 |
+
click: function() {
|
1279 |
$(this).dialog ("close");
|
1280 |
|
1281 |
$(delete_button).addClass ('delete');
|
1282 |
$("input#load-custom-range-"+block).click ();
|
1283 |
$(delete_button).removeClass ('delete');
|
1284 |
+
}
|
1285 |
+
},{
|
1286 |
+
text: ai_admin.cancel,
|
1287 |
+
click: function() {
|
1288 |
$(this).dialog ("close");
|
1289 |
+
}
|
1290 |
+
}
|
1291 |
+
],
|
1292 |
+
// buttons: {
|
1293 |
+
// 'Delete': function() {
|
1294 |
+
// $(this).dialog ("close");
|
1295 |
+
|
1296 |
+
// $(delete_button).addClass ('delete');
|
1297 |
+
// $("input#load-custom-range-"+block).click ();
|
1298 |
+
// $(delete_button).removeClass ('delete');
|
1299 |
+
// },
|
1300 |
+
// 'Cancel': function() {
|
1301 |
+
// $(this).dialog ("close");
|
1302 |
+
// },
|
1303 |
+
// },
|
1304 |
open: function() {$(this).parent ().find ('button:nth-child(2)').focus();}
|
1305 |
});
|
1306 |
});
|
1355 |
var nonce = $(this).attr ('nonce');
|
1356 |
$("#export_settings_0").load (ajaxurl+"?action=ai_ajax_backend&export=0&ai_check=" + nonce, function (response, status, xhr) {
|
1357 |
if (status == "error" ) {
|
1358 |
+
$('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
|
1359 |
} else {
|
1360 |
$("#export_settings_0").attr ("name", "export_settings_0");
|
1361 |
$("#export-switch-0").addClass ("loaded");
|
1631 |
$("#icons-css-code-" + block).toggle ();
|
1632 |
|
1633 |
if ($('#icons-css-code-'+block).is(':visible')) {
|
1634 |
+
$("#show-css-button-"+block+" span").text (ai_admin.hide);
|
1635 |
configure_selection_icons (block);
|
1636 |
process_display_elements (block);
|
1637 |
} else {
|
1638 |
+
$("#show-css-button-"+block+" span").text (ai_admin.show);
|
1639 |
$("#sticky-animation-"+block).hide ();
|
1640 |
}
|
1641 |
});
|
1793 |
var nonce = $(this).attr ('nonce');
|
1794 |
$("#export_settings_" + block).load (ajaxurl+"?action=ai_ajax_backend&export=" + block + "&ai_check=" + nonce, function (response, status, xhr) {
|
1795 |
if (status == "error" ) {
|
1796 |
+
$('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
|
1797 |
} else {
|
1798 |
$("#export_settings_" + block).attr ("name", "export_settings_" + block);
|
1799 |
$("#export-switch-"+block).addClass ("loaded");
|
2229 |
}
|
2230 |
}).fail (function (xhr, status, error) {
|
2231 |
console.log ("AI IMPORT CODE ERROR:", xhr.status, xhr.statusText);
|
2232 |
+
$('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
|
2233 |
}).always (function() {
|
2234 |
$("#import-code-"+block).next ("label").find ('.checkbox-icon').removeClass("on");
|
2235 |
});
|
2304 |
}
|
2305 |
}).fail (function (xhr, status, error) {
|
2306 |
console.log ("AI GENERATE CODE ERROR:", xhr.status, xhr.statusText);
|
2307 |
+
$('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
|
2308 |
}).always (function() {
|
2309 |
$("#generate-code-"+block).next ("label").find ('.checkbox-icon').removeClass("on");
|
2310 |
});
|
2565 |
}
|
2566 |
}).fail (function (xhr, status, error) {
|
2567 |
console.log ("AI IMPORT ROTATION CODE ERROR:", xhr.status, xhr.statusText);
|
2568 |
+
$('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
|
2569 |
|
2570 |
var rotation_container = $('#ai-rotation-container-' + block);
|
2571 |
set_editor_text (block, b64d (rotation_container.data ('code')));
|
2614 |
|
2615 |
}).fail (function (xhr, status, error) {
|
2616 |
console.log ("AI GENERATE ROTATION CODE ERROR:", xhr.status, xhr.statusText);
|
2617 |
+
$('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
|
2618 |
|
2619 |
var rotation_container = $('#ai-rotation-container-' + block);
|
2620 |
set_editor_text (block, b64d (rotation_container.data ('code')));
|
2809 |
select.addClass ('multi-select');
|
2810 |
|
2811 |
select.multiSelect ({
|
2812 |
+
selectableHeader: "<input type='text' class='search-input' autocomplete='off' placeholder='" + ai_admin.search + "'>",
|
2813 |
selectedHeader: "Selected Countries",
|
2814 |
afterInit: function(ms){
|
2815 |
var that = this,
|
3175 |
// }
|
3176 |
}).fail (function (xhr, status, error) {
|
3177 |
console.log ("AI LOADING ERROR:", xhr.status, xhr.statusText);
|
3178 |
+
$('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
|
3179 |
})
|
3180 |
.always (function () {
|
3181 |
$('#ai-loading').hide ();
|
3376 |
var client_id = $("input#adsense-client-id").val ();
|
3377 |
var client_secret = $("input#adsense-client-secret").val ();
|
3378 |
|
3379 |
+
data_container.text (ai_admin.loading);
|
3380 |
|
3381 |
var nonce = $("#ai-form").attr ('nonce');
|
3382 |
|
3395 |
$(".authorize-adsense", data_container).click (function () {
|
3396 |
|
3397 |
$('#adsense-list-controls').show ();
|
3398 |
+
data_container.text (ai_admin.loading);
|
3399 |
|
3400 |
authorization_code = '';
|
3401 |
update_adsense_authorization (authorization_code);
|
3413 |
var authorization_code = $("input#adsense-authorization-code").val ();
|
3414 |
|
3415 |
$('#adsense-list-controls').show ();
|
3416 |
+
data_container.text (ai_admin.loading);
|
3417 |
|
3418 |
if ($(this).hasClass ('clear-adsense')) authorization_code = '';
|
3419 |
if ($(this).hasClass ('own-ids')) authorization_code = 'own-ids';
|
3430 |
var publisher_id = $('#adsense-data', data_container).data ('publisher-id');
|
3431 |
if (typeof publisher_id == 'undefined') publisher_id = '';
|
3432 |
|
3433 |
+
$('label#google-adsense-button').attr ('title', ai_admin.google_adsense_homepage + ' ' + publisher_id);
|
3434 |
|
3435 |
$("label.adsense-copy-code").click (function () {
|
3436 |
var ad_slot_id = $(this).closest ('tr').data ('id');
|
3625 |
settings_container.load (ajaxurl+"?action=ai_ajax_backend&settings=" + active_tab + "&ai_check=" + nonce, function (response, status, xhr) {
|
3626 |
if (status == "error") {
|
3627 |
$('#ai-loading').hide ();
|
3628 |
+
var message = ai_admin.error_reloading_settings + ": " + xhr.status + " " + xhr.statusText;
|
3629 |
$('#ai-error-container').text (message).show ();
|
3630 |
if (debug) console.log (message);
|
3631 |
} else {
|
3714 |
|
3715 |
var plugin_version = $('#ai-data').attr ('version').split ('-') [0];
|
3716 |
if (javascript_version != plugin_version) {
|
3717 |
+
console.log ('AD INSERTER: plugin version: ' + plugin_version + ', loaded JavaScript version: ' + javascript_version);
|
3718 |
|
3719 |
// Check page HTML
|
3720 |
var javascript_version_parameter = $("script[src*='ad-inserter.js']").attr('src');
|
3724 |
$("#javascript-version-parameter-missing").show ();
|
3725 |
}
|
3726 |
else if (javascript_version_parameter_string != plugin_version) {
|
3727 |
+
console.log ('AD INSERTER: plugin version: ' + plugin_version + ', JavaScript file version: ' + javascript_version_parameter_string);
|
3728 |
$("#javascript-version-parameter").show ();
|
3729 |
}
|
3730 |
}
|
3731 |
|
3732 |
+
$("#javascript-version").html ("Javascript<br />" + javascript_version);
|
3733 |
$("#javascript-warning").show ();
|
3734 |
}
|
3735 |
|
3736 |
var css_version = $('#ai-data').css ('font-family').replace(/[\"\']/g, '');
|
3737 |
if (css_version.indexOf ('.') == - 1) $("#blocked-warning").show (); else
|
3738 |
if (css_version != plugin_version) {
|
3739 |
+
console.log ('AD INSERTER: plugin version:', plugin_version + ', loaded CSS version:', css_version);
|
3740 |
|
3741 |
// Check page HTML
|
3742 |
var css_version_parameter = $("link[href*='ad-inserter.css']").attr('href');
|
3746 |
$("#css-version-parameter-missing").show ();
|
3747 |
}
|
3748 |
else if (css_version_parameter_string != plugin_version) {
|
3749 |
+
console.log ('AD INSERTER: plugin version:', plugin_version + ', CSS file version:', css_version_parameter_string);
|
3750 |
$("#css-version-parameter").show ();
|
3751 |
}
|
3752 |
}
|
3753 |
|
3754 |
+
$("#css-version").html ("CSS<br />" + css_version);
|
3755 |
$("#css-warning").show ();
|
3756 |
}
|
3757 |
|
3817 |
var data_container = $("#ai-list-data");
|
3818 |
var rearrange_controls = $('#list-rearrange-controls');
|
3819 |
if ($(this).parent ().find ('.checkbox-icon').hasClass ('on')) {
|
3820 |
+
$("#ai-rearrange").parent ().find ('.checkbox-button').attr ('title', ai_admin.cancel_rearrangement);
|
3821 |
rearrange_controls.show ();
|
3822 |
data_container.find ('tbody').sortable ({
|
3823 |
start: function (event, ui) {$('#list-save').show ();},
|
3825 |
}).css ('cursor', 'move');
|
3826 |
} else {
|
3827 |
data_container.find ('tbody').sortable ("disable");
|
3828 |
+
$("#ai-rearrange").parent ().find ('.checkbox-button').attr ('title', ai_admin.rearrange_block_order);
|
3829 |
$('#list-save').hide ();
|
3830 |
rearrange_controls.hide ();
|
3831 |
reload_list ();
|
3841 |
var nonce = $("#ai-form").attr ('nonce');
|
3842 |
var page = ajaxurl+"?action=ai_ajax_backend&update=maxmind&ai_check=" + nonce;
|
3843 |
|
3844 |
+
$("span.maxmind-db-missing").text (ai_admin.downloading);
|
3845 |
$.get (page, function (update_status) {
|
3846 |
|
3847 |
if (update_status == '') {
|
3854 |
if (typeof status !== "undefined") {
|
3855 |
$(".notice span.maxmind-db-missing").text (status [0]);
|
3856 |
$("#maxmind-db-status").text (status [1]);
|
3857 |
+
} else $("span.maxmind-db-missing").text (ai_admin.update_error);
|
3858 |
}
|
3859 |
}).fail (function(jqXHR, status, err) {
|
3860 |
+
$("span.maxmind-db-missing").text (ai_admin.download_error);
|
3861 |
});
|
3862 |
}
|
3863 |
|
3880 |
});
|
3881 |
|
3882 |
$("#clear-adsense-authorization").click (function () {
|
3883 |
+
$("#adsense-list-data").text (ai_admin.updating);
|
3884 |
update_adsense_authorization ('');
|
3885 |
});
|
3886 |
|
languages/ad-inserter-sl_SI.mo
ADDED
Binary file
|
languages/ad-inserter-sl_SI.po
ADDED
@@ -0,0 +1,5199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2018 Ad Inserter
|
2 |
+
# This file is distributed under the same license as the Ad Inserter package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Ad Inserter 2.4.2\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
|
7 |
+
"POT-Creation-Date: 2018-12-09 15:55:06+00:00\n"
|
8 |
+
"PO-Revision-Date: 2018-12-09 16:55+0100\n"
|
9 |
+
"Last-Translator: Igor Funa\n"
|
10 |
+
"Language-Team: \n"
|
11 |
+
"Language: sl_SI\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 2.2\n"
|
16 |
+
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n"
|
17 |
+
"%100<=4 ? 2 : 3);\n"
|
18 |
+
|
19 |
+
#: ad-inserter.php:247
|
20 |
+
msgctxt "Menu item"
|
21 |
+
msgid "Debugging DEMO"
|
22 |
+
msgstr "DEMO Razhroščevanje"
|
23 |
+
|
24 |
+
#: ad-inserter.php:255
|
25 |
+
msgctxt "Menu item"
|
26 |
+
msgid "Label Blocks"
|
27 |
+
msgstr "Označi bloke"
|
28 |
+
|
29 |
+
#: ad-inserter.php:262
|
30 |
+
msgctxt "Menu item"
|
31 |
+
msgid "Show Positions"
|
32 |
+
msgstr "Pokaži položaje"
|
33 |
+
|
34 |
+
#: ad-inserter.php:333
|
35 |
+
msgctxt "Menu item"
|
36 |
+
msgid "Show HTML Tags"
|
37 |
+
msgstr "Pokaži HTML značke"
|
38 |
+
|
39 |
+
#: ad-inserter.php:340
|
40 |
+
msgctxt "Menu item"
|
41 |
+
msgid "Disable Insertion"
|
42 |
+
msgstr "Onemogoči vstavljanje"
|
43 |
+
|
44 |
+
#: ad-inserter.php:349
|
45 |
+
msgctxt "Menu item"
|
46 |
+
msgid "Ad Blocking Status"
|
47 |
+
msgstr "Status blokiranja oglasov"
|
48 |
+
|
49 |
+
#: ad-inserter.php:356
|
50 |
+
msgctxt "Menu item"
|
51 |
+
msgid "Simulate Ad Blocking"
|
52 |
+
msgstr "Simuliraj blokiranje oglasov"
|
53 |
+
|
54 |
+
#: ad-inserter.php:366
|
55 |
+
msgctxt "Menu item"
|
56 |
+
msgid "Log Processing"
|
57 |
+
msgstr "Beleži procesiranje"
|
58 |
+
|
59 |
+
#. translators: Debugging position name Before HTML element
|
60 |
+
#: ad-inserter.php:889
|
61 |
+
msgid "Before"
|
62 |
+
msgstr "Pred"
|
63 |
+
|
64 |
+
#. translators: Debugging position name After HTML element
|
65 |
+
#: ad-inserter.php:894
|
66 |
+
msgid "After"
|
67 |
+
msgstr "Za"
|
68 |
+
|
69 |
+
#. translators: Debugging position name Prepend content of HTML element (before
|
70 |
+
#. the content of the HTML element)
|
71 |
+
#: ad-inserter.php:899 strings.php:95
|
72 |
+
msgid "Prepend content"
|
73 |
+
msgstr "Dodaj pred vsebino"
|
74 |
+
|
75 |
+
#. translators: Debugging position name Append content of HTML element (after
|
76 |
+
#. the content of the HTML element)
|
77 |
+
#: ad-inserter.php:904 strings.php:96
|
78 |
+
msgid "Append content"
|
79 |
+
msgstr "Dodaj za vsebino"
|
80 |
+
|
81 |
+
#. translators: Debugging position name Replace content of HTML element
|
82 |
+
#: ad-inserter.php:909 strings.php:97
|
83 |
+
msgid "Replace content"
|
84 |
+
msgstr "Nadomesti vsebino"
|
85 |
+
|
86 |
+
#. translators: Debugging position name Replace HTML element
|
87 |
+
#: ad-inserter.php:914 strings.php:147
|
88 |
+
msgid "Replace"
|
89 |
+
msgstr "Nadomesti"
|
90 |
+
|
91 |
+
#. translators: Debugging message when output buffering is enabled
|
92 |
+
#: ad-inserter.php:959
|
93 |
+
msgid "OUTPUT BUFFERING"
|
94 |
+
msgstr "PREDPOMNJENJE IZHODA"
|
95 |
+
|
96 |
+
#. translators: Debugging position
|
97 |
+
#: ad-inserter.php:963
|
98 |
+
msgid "Above Header"
|
99 |
+
msgstr "Nad Glavo"
|
100 |
+
|
101 |
+
#: ad-inserter.php:1161
|
102 |
+
msgctxt "Menu item"
|
103 |
+
msgid "Log In"
|
104 |
+
msgstr "Prijava"
|
105 |
+
|
106 |
+
#. translators: %s: Ad Inserter
|
107 |
+
#: ad-inserter.php:1402 ad-inserter.php:2244
|
108 |
+
msgid "%s Settings"
|
109 |
+
msgstr "%s Nastavitve"
|
110 |
+
|
111 |
+
#. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
|
112 |
+
#: ad-inserter.php:1816
|
113 |
+
msgid "AD BLOCKING DETECTED, PAGE VIEWS"
|
114 |
+
msgstr "BLOKIRANJE OGLASOV ZAZNANO, OGLEDI STRANI"
|
115 |
+
|
116 |
+
#: ad-inserter.php:1816
|
117 |
+
msgid "NO ACTION"
|
118 |
+
msgstr "NI AKCIJE"
|
119 |
+
|
120 |
+
#: ad-inserter.php:1817
|
121 |
+
msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
|
122 |
+
msgstr "BLOKIRANJE OGLASOV ZAZNANO, PIŠKOTEK ZAZNAN, NI AKCIJE"
|
123 |
+
|
124 |
+
#: ad-inserter.php:1818
|
125 |
+
msgid "AD BLOCKING DETECTED - ACTION"
|
126 |
+
msgstr "BLOKIRANJE OGLASOV ZAZNANO - AKCIJA"
|
127 |
+
|
128 |
+
#: ad-inserter.php:1819
|
129 |
+
msgid "AD BLOCKING NOT DETECTED"
|
130 |
+
msgstr "BLOKIRANJE OGLASOV NI ZAZNANO"
|
131 |
+
|
132 |
+
#: ad-inserter.php:1820
|
133 |
+
msgid "AD BLOCKING DETECTION COOKIES DELETED"
|
134 |
+
msgstr "PIŠKOTKI ZA ZAZNAVANJE BLOKIRANJA OGLASOV POBRISANI"
|
135 |
+
|
136 |
+
#: ad-inserter.php:1821
|
137 |
+
msgid "AD BLOCKING DETECTED - NO ACTION"
|
138 |
+
msgstr "BLOKIRANJE OGLASOV ZAZNANO - NI AKCIJE"
|
139 |
+
|
140 |
+
#. Translators: 1: number of blocks, 2: Ad Inserter
|
141 |
+
#: ad-inserter.php:2015
|
142 |
+
msgid "Hey, you are now using %1$s %2$s block."
|
143 |
+
msgid_plural "Hey, you are now using %1$s %2$s blocks."
|
144 |
+
msgstr[0] "Hej, trenutno uporabljate %1$s %2$s blok."
|
145 |
+
msgstr[1] "Hej, trenutno uporabljate %1$s %2$s bloka."
|
146 |
+
msgstr[2] "Hej, trenutno uporabljate %1$s %2$s bloke."
|
147 |
+
msgstr[3] "Hej, trenutno uporabljate %1$s %2$s blokov."
|
148 |
+
|
149 |
+
#: ad-inserter.php:2016 includes/functions.php:1337
|
150 |
+
msgid "No, thank you."
|
151 |
+
msgstr "Ne, hvala."
|
152 |
+
|
153 |
+
#. Translators: %s: Ad Inserter
|
154 |
+
#: ad-inserter.php:2019
|
155 |
+
msgid ""
|
156 |
+
"Hey, you've been using %s for a while now, and I hope you're happy with it."
|
157 |
+
msgstr "Hej, %s uporabljate že kar nekaj časa. Upam, da ste zadovoljni z njim."
|
158 |
+
|
159 |
+
#: ad-inserter.php:2020 includes/functions.php:1339
|
160 |
+
msgid "Not now, maybe later."
|
161 |
+
msgstr "Ne zdaj, mogoče kasneje."
|
162 |
+
|
163 |
+
#: ad-inserter.php:2030
|
164 |
+
msgid ""
|
165 |
+
"I would really appreciate it if you could give the plugin a 5-star rating on "
|
166 |
+
"WordPres."
|
167 |
+
msgstr ""
|
168 |
+
"Res bi bili vesel, če bi lahko na WordPress-u vtičnik ocenili s 5-imi "
|
169 |
+
"zvezicami."
|
170 |
+
|
171 |
+
#: ad-inserter.php:2032
|
172 |
+
msgid ""
|
173 |
+
"Positive reviews are a great incentive to fix bugs and to add new features "
|
174 |
+
"for better monetization of your website. Thank you, Igor"
|
175 |
+
msgstr ""
|
176 |
+
"Pozitivne ocene so velika vzpodbuda za odpravo hroščev in dodajanje novih "
|
177 |
+
"funkcij za boljšo monetizacijo vašega spletnega mesta. Hvala, Igor"
|
178 |
+
|
179 |
+
#. translators: %s: Ad Inserter
|
180 |
+
#: ad-inserter.php:2038
|
181 |
+
msgid "Rate %s"
|
182 |
+
msgstr "Oceni %s"
|
183 |
+
|
184 |
+
#: ad-inserter.php:2043
|
185 |
+
msgid "I already did."
|
186 |
+
msgstr "Sem že."
|
187 |
+
|
188 |
+
#: ad-inserter.php:2057
|
189 |
+
msgctxt "Menu item"
|
190 |
+
msgid "Settings"
|
191 |
+
msgstr "Nastavitve"
|
192 |
+
|
193 |
+
#. translators: %s: Ad Inserter
|
194 |
+
#: ad-inserter.php:2131
|
195 |
+
msgctxt "Meta box name"
|
196 |
+
msgid "%s Individual Exceptions"
|
197 |
+
msgstr "Posamezne Izjeme za %s"
|
198 |
+
|
199 |
+
#: ad-inserter.php:2160 ad-inserter.php:7303 class.php:1881
|
200 |
+
#: includes/preview.php:1757 includes/preview.php:1801
|
201 |
+
#: includes/preview.php:1838 settings.php:3042 strings.php:3
|
202 |
+
msgid "Block"
|
203 |
+
msgstr "Blok"
|
204 |
+
|
205 |
+
#: ad-inserter.php:2161 settings.php:3043 settings.php:3117
|
206 |
+
msgid "Name"
|
207 |
+
msgstr "Ime"
|
208 |
+
|
209 |
+
#: ad-inserter.php:2162 settings.php:909 settings.php:3045
|
210 |
+
msgid "Automatic insertion"
|
211 |
+
msgstr "Samodejno vstavljanje"
|
212 |
+
|
213 |
+
#: ad-inserter.php:2165
|
214 |
+
msgid "Default insertion for pages"
|
215 |
+
msgstr "Privzeto vstavljanje za strani"
|
216 |
+
|
217 |
+
#: ad-inserter.php:2166
|
218 |
+
msgid "Default insertion for posts"
|
219 |
+
msgstr "Privzeto vstavljanje za prispevke"
|
220 |
+
|
221 |
+
#. translators: For this post or page
|
222 |
+
#: ad-inserter.php:2169
|
223 |
+
msgctxt "Page"
|
224 |
+
msgid "For this"
|
225 |
+
msgstr "Za to"
|
226 |
+
|
227 |
+
#: ad-inserter.php:2170
|
228 |
+
msgctxt "Post"
|
229 |
+
msgid "For this"
|
230 |
+
msgstr "Za ta"
|
231 |
+
|
232 |
+
#: ad-inserter.php:2178
|
233 |
+
msgctxt "Enabled/disabled on all"
|
234 |
+
msgid "pages"
|
235 |
+
msgstr "straneh"
|
236 |
+
|
237 |
+
#: ad-inserter.php:2179
|
238 |
+
msgctxt "Default insertion for"
|
239 |
+
msgid "pages"
|
240 |
+
msgstr "strani"
|
241 |
+
|
242 |
+
#: ad-inserter.php:2183
|
243 |
+
msgctxt "Enabled/disabled on all"
|
244 |
+
msgid "posts"
|
245 |
+
msgstr "prispevkih"
|
246 |
+
|
247 |
+
#: ad-inserter.php:2184
|
248 |
+
msgctxt "Default insertion for"
|
249 |
+
msgid "posts"
|
250 |
+
msgstr "prispevke"
|
251 |
+
|
252 |
+
#: ad-inserter.php:2203 ad-inserter.php:2216 strings.php:153
|
253 |
+
msgid "Enabled"
|
254 |
+
msgstr "Omogočeno"
|
255 |
+
|
256 |
+
#. translators: Menu items
|
257 |
+
#: ad-inserter.php:2203 ad-inserter.php:2216 includes/functions.php:1905
|
258 |
+
#: strings.php:16
|
259 |
+
msgid "Disabled"
|
260 |
+
msgstr "Onemogočeno"
|
261 |
+
|
262 |
+
#. translators: Enabled on all pages or posts
|
263 |
+
#: ad-inserter.php:2206
|
264 |
+
msgid "Enabled on all"
|
265 |
+
msgstr "Omogočeno na vseh"
|
266 |
+
|
267 |
+
#. translators: Disabled on all pages or posts
|
268 |
+
#: ad-inserter.php:2208
|
269 |
+
msgid "Disabled on all"
|
270 |
+
msgstr "Onemogočeno na vseh"
|
271 |
+
|
272 |
+
#. translators: No individual exceptions enabled for pages or posts
|
273 |
+
#: ad-inserter.php:2236
|
274 |
+
msgid "No individual exceptions enabled for"
|
275 |
+
msgstr "Ni omogočenih posameznih izjem za"
|
276 |
+
|
277 |
+
#. translators: 1: pages or posts, 2: Ad Inserter Settings (page)
|
278 |
+
#: ad-inserter.php:2241
|
279 |
+
msgid ""
|
280 |
+
"Default insertion for %1$s can be configured for each block on %2$s page - "
|
281 |
+
"selection next to <strong>Posts</strong> / <strong>Static pages</strong> "
|
282 |
+
"checkbox.<br />"
|
283 |
+
msgstr ""
|
284 |
+
"Privzeto vstavljanje za %1$s se lahko nastavi za vsak blok na strani %2$s - "
|
285 |
+
"izbira poleg kljukice za vklop <strong>Prispevki</strong> / <strong>Statične "
|
286 |
+
"strani</strong>.<br />"
|
287 |
+
|
288 |
+
#: ad-inserter.php:2246
|
289 |
+
msgid ""
|
290 |
+
"Default value is <strong>blank</strong> and means no individual exceptions "
|
291 |
+
"(even if previously defined here).<br />"
|
292 |
+
msgstr ""
|
293 |
+
"Privzeta vrednost je <strong>prazno</strong> in pomeni brez posameznih izjem "
|
294 |
+
"(tudi, če so bile predhodno nsatavljene tukaj).<br />"
|
295 |
+
|
296 |
+
#: ad-inserter.php:2249
|
297 |
+
msgctxt "Pages"
|
298 |
+
msgid ""
|
299 |
+
"Set to <strong>Individually disabled</strong> or <strong>Individually "
|
300 |
+
"enabled</strong> to enable individual exception settings on this page.<br />"
|
301 |
+
msgstr ""
|
302 |
+
"Nastavite na <strong>Posamezno onemogočene</strong> ali <strong>Posamezno "
|
303 |
+
"omogočene</strong> za vklop nastavitev posameznih izjem na tej strani.<br />"
|
304 |
+
|
305 |
+
#: ad-inserter.php:2250
|
306 |
+
msgctxt "Posts"
|
307 |
+
msgid ""
|
308 |
+
"Set to <strong>Individually disabled</strong> or <strong>Individually "
|
309 |
+
"enabled</strong> to enable individual exception settings on this page.<br />"
|
310 |
+
msgstr ""
|
311 |
+
"Nastavite na <strong>Posamezno onemogočeni</strong> ali <strong>Posamezno "
|
312 |
+
"omogočeni</strong> za vklop nastavitev posameznih izjem na tej strani.<br />"
|
313 |
+
|
314 |
+
#: ad-inserter.php:2252
|
315 |
+
msgid "For more information check page %s"
|
316 |
+
msgstr "Za več informacij poglejte stran %s"
|
317 |
+
|
318 |
+
#. translators: Ad Inserter Exceptions documentation page
|
319 |
+
#: ad-inserter.php:2254
|
320 |
+
msgid "Individual Exceptions"
|
321 |
+
msgstr "Posamezne Izjeme"
|
322 |
+
|
323 |
+
#: ad-inserter.php:2299
|
324 |
+
msgid "STATIC PAGE"
|
325 |
+
msgstr "STATIČNA STRAN"
|
326 |
+
|
327 |
+
#: ad-inserter.php:2302
|
328 |
+
msgid "POST"
|
329 |
+
msgstr "PRISPEVEK"
|
330 |
+
|
331 |
+
#: ad-inserter.php:2305
|
332 |
+
msgid "HOMEPAGE"
|
333 |
+
msgstr "DOMAČA STRAN"
|
334 |
+
|
335 |
+
#: ad-inserter.php:2308
|
336 |
+
msgid "CATEGORY PAGE"
|
337 |
+
msgstr "STRAN KATEGORIJE"
|
338 |
+
|
339 |
+
#: ad-inserter.php:2311
|
340 |
+
msgid "SEARCH PAGE"
|
341 |
+
msgstr "STRAN ISKANJE"
|
342 |
+
|
343 |
+
#: ad-inserter.php:2314
|
344 |
+
msgid "ARCHIVE PAGE"
|
345 |
+
msgstr "STRAN ARHIV"
|
346 |
+
|
347 |
+
#: ad-inserter.php:2317
|
348 |
+
msgid "ERROR 404 PAGE"
|
349 |
+
msgstr "STRAN NAPAKA 404"
|
350 |
+
|
351 |
+
#: ad-inserter.php:2320
|
352 |
+
msgid "AJAX CALL"
|
353 |
+
msgstr "AJAX KLIC"
|
354 |
+
|
355 |
+
#: ad-inserter.php:2323
|
356 |
+
msgid "UNKNOWN PAGE TYPE"
|
357 |
+
msgstr "NEZNAN TIP STRANI"
|
358 |
+
|
359 |
+
#: ad-inserter.php:2340
|
360 |
+
msgid "Click to delete ad blocking detection cokies"
|
361 |
+
msgstr "Klikni za brisanje piškotkov za zaznavanje blokiranja oglasov"
|
362 |
+
|
363 |
+
#: ad-inserter.php:2341
|
364 |
+
msgid "AD BLOCKING STATUS UNKNOWN"
|
365 |
+
msgstr "NEZNAN STATUS BLOKIRANJA OGLASOV"
|
366 |
+
|
367 |
+
#. translators: %s: AdSense Auto Ads
|
368 |
+
#: ad-inserter.php:2361
|
369 |
+
msgid ""
|
370 |
+
"Code for %s detected - Code will automatically insert AdSense ads at optimal "
|
371 |
+
"positions"
|
372 |
+
msgstr ""
|
373 |
+
"Zaznana koda za %s - Koda bo samodejno vstavila oglase AdSense na optimalne "
|
374 |
+
"položaje"
|
375 |
+
|
376 |
+
#: ad-inserter.php:2495
|
377 |
+
msgid "Code for insertion"
|
378 |
+
msgstr "Koda za vstavljanje"
|
379 |
+
|
380 |
+
#: ad-inserter.php:2495
|
381 |
+
msgid "character"
|
382 |
+
msgid_plural "characters"
|
383 |
+
msgstr[0] "znak"
|
384 |
+
msgstr[1] "znaka"
|
385 |
+
msgstr[2] "znaki"
|
386 |
+
msgstr[3] "znakov"
|
387 |
+
|
388 |
+
#: ad-inserter.php:2504
|
389 |
+
msgid "Header code"
|
390 |
+
msgstr "Koda v glavi"
|
391 |
+
|
392 |
+
#: ad-inserter.php:2504
|
393 |
+
msgctxt "Header code"
|
394 |
+
msgid "DISABLED"
|
395 |
+
msgstr "ONEMOGOČENA"
|
396 |
+
|
397 |
+
#: ad-inserter.php:2504 ad-inserter.php:2688
|
398 |
+
msgid "character inserted"
|
399 |
+
msgid_plural "characters inserted"
|
400 |
+
msgstr[0] "znak vstavljen"
|
401 |
+
msgstr[1] "znaka vstavljena"
|
402 |
+
msgstr[2] "znaki vstavljeni"
|
403 |
+
msgstr[3] "znakov vstavljenih"
|
404 |
+
|
405 |
+
#: ad-inserter.php:2521
|
406 |
+
msgid "Automatically placed by AdSense Auto ads code"
|
407 |
+
msgstr "Samodejno postavila koda za oglase AdSense Auto ads"
|
408 |
+
|
409 |
+
#: ad-inserter.php:2673
|
410 |
+
msgid "JAVASCRIPT NOT WORKING"
|
411 |
+
msgstr "JAVASCRIPT NE DELA"
|
412 |
+
|
413 |
+
#: ad-inserter.php:2673
|
414 |
+
msgid "JAVASCRIPT WORKING"
|
415 |
+
msgstr "JAVASCRIPT DELA"
|
416 |
+
|
417 |
+
#: ad-inserter.php:2688
|
418 |
+
msgid "Footer code"
|
419 |
+
msgstr "Koda v nogi"
|
420 |
+
|
421 |
+
#: ad-inserter.php:2688
|
422 |
+
msgctxt "Footer code"
|
423 |
+
msgid "DISABLED"
|
424 |
+
msgstr "ONEMOGOČENA"
|
425 |
+
|
426 |
+
#. translators: block name (block with default settings)
|
427 |
+
#: ad-inserter.php:4625
|
428 |
+
msgctxt "Block name"
|
429 |
+
msgid "Default"
|
430 |
+
msgstr "Privzeti"
|
431 |
+
|
432 |
+
#. translators: %s: Ad Inserter
|
433 |
+
#: ad-inserter.php:5165
|
434 |
+
msgid "Error importing %s settings."
|
435 |
+
msgstr "Napaka pri uvozu %s nastavitev."
|
436 |
+
|
437 |
+
#: ad-inserter.php:5166
|
438 |
+
msgid "Error importing settings for block"
|
439 |
+
msgid_plural "Error importing settings for blocks:"
|
440 |
+
msgstr[0] "Napaka pri uvozu nastavitev za blok"
|
441 |
+
msgstr[1] "Napaka pri uvozu nastavitev za bloka:"
|
442 |
+
msgstr[2] "Napaka pri uvozu nastavitev za bloke:"
|
443 |
+
msgstr[3] "Napaka pri uvozu nastavitev za bloke:"
|
444 |
+
|
445 |
+
#: ad-inserter.php:5215
|
446 |
+
msgid "Settings saved."
|
447 |
+
msgstr "Nastavitve shranjene."
|
448 |
+
|
449 |
+
#: ad-inserter.php:5300
|
450 |
+
msgid "Settings cleared."
|
451 |
+
msgstr "Nastavitve ponastavljene."
|
452 |
+
|
453 |
+
#: ad-inserter.php:5630 ad-inserter.php:5632 ad-inserter.php:5643
|
454 |
+
msgid "word"
|
455 |
+
msgid_plural "words"
|
456 |
+
msgstr[0] "beseda"
|
457 |
+
msgstr[1] "besedi"
|
458 |
+
msgstr[2] "besede"
|
459 |
+
msgstr[3] "besed"
|
460 |
+
|
461 |
+
#: ad-inserter.php:5659 ad-inserter.php:5769
|
462 |
+
msgid "HTML TAGS REMOVED"
|
463 |
+
msgstr "HTML ZNAČKE ODSTRANJENE"
|
464 |
+
|
465 |
+
#: ad-inserter.php:5843
|
466 |
+
msgid "BEFORE COMMENTS"
|
467 |
+
msgstr "PRED KOMENTARJI"
|
468 |
+
|
469 |
+
#: ad-inserter.php:5950
|
470 |
+
msgid "AFTER COMMENTS"
|
471 |
+
msgstr "PO KOMETARJIH"
|
472 |
+
|
473 |
+
#: ad-inserter.php:6014
|
474 |
+
msgid "BETWEEN COMMENTS"
|
475 |
+
msgstr "MED KOMENTARJI"
|
476 |
+
|
477 |
+
#: ad-inserter.php:6989
|
478 |
+
msgid "requires WordPress 4.0 or newer"
|
479 |
+
msgstr "potrebuje WordPress 4.0 ali novejši"
|
480 |
+
|
481 |
+
#: ad-inserter.php:6989
|
482 |
+
msgid "Please update!"
|
483 |
+
msgstr "Prosimo, posodobite!"
|
484 |
+
|
485 |
+
#. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
|
486 |
+
#. name with HTML tags will be added)
|
487 |
+
#: ad-inserter.php:7183
|
488 |
+
msgid "Thank you for installing"
|
489 |
+
msgstr "Hvala za namestitev vtičnika"
|
490 |
+
|
491 |
+
#. translators: Opt-in message: %s: HTML tags
|
492 |
+
#: ad-inserter.php:7185
|
493 |
+
msgid ""
|
494 |
+
"We would like to %s track its usage %s on your site. This is completely "
|
495 |
+
"optional and can be disabled at any time."
|
496 |
+
msgstr ""
|
497 |
+
"Radi bi %s sledili njegovi uporabi %s na vašem spletnem mestu. To je povsem "
|
498 |
+
"izbirno in se lahko izključi kadarkoli."
|
499 |
+
|
500 |
+
#: ad-inserter.php:7187
|
501 |
+
msgid ""
|
502 |
+
"We don't record any sensitive data, only information regarding the WordPress "
|
503 |
+
"environment and plugin usage, which will help us to make improvements to the "
|
504 |
+
"plugin."
|
505 |
+
msgstr ""
|
506 |
+
"Ne beležimo občutljivh podatkov, samo informacije glede okolja WordPress in "
|
507 |
+
"uporabe vtičnika, kar nam bo omogočilo izdelavo izboljšav za vtičnik."
|
508 |
+
|
509 |
+
#. translators: Deactivation message: %s: HTML tags
|
510 |
+
#: ad-inserter.php:7224
|
511 |
+
msgid ""
|
512 |
+
"Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
|
513 |
+
"help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
|
514 |
+
"us know %s and we'll try to help you."
|
515 |
+
msgstr ""
|
516 |
+
"Iščete %s Dokumentacijo, %s %s Pogoste Nastavitve, %s %s Hiter Začetek, %s "
|
517 |
+
"ali pomoč za %s oglase AdSense? %s Vtičnik ne dela z vašo temo? %s Sporočite "
|
518 |
+
"nam %s in poskušali vam bomo pomagati."
|
519 |
+
|
520 |
+
#. translators: %s: Ad Inserter
|
521 |
+
#: ad-inserter.php:7260
|
522 |
+
msgid "%s block."
|
523 |
+
msgstr "%s blok."
|
524 |
+
|
525 |
+
#. translators: widget title
|
526 |
+
#: ad-inserter.php:7276 ad-inserter.php:7312
|
527 |
+
msgid "Processing log"
|
528 |
+
msgstr "Dnevnik procesiranja"
|
529 |
+
|
530 |
+
#. translators: widget title
|
531 |
+
#: ad-inserter.php:7278 ad-inserter.php:7313
|
532 |
+
msgid "Dummy widget"
|
533 |
+
msgstr "Prazen gradnik"
|
534 |
+
|
535 |
+
#. translators: widget title
|
536 |
+
#: ad-inserter.php:7280 ad-inserter.php:7311
|
537 |
+
msgid "Debugging tools"
|
538 |
+
msgstr "Orodja za razhroščevanje"
|
539 |
+
|
540 |
+
#. translators: block status (widget title)
|
541 |
+
#: ad-inserter.php:7287
|
542 |
+
msgctxt "block"
|
543 |
+
msgid "PAUSED"
|
544 |
+
msgstr "USTAVLJEN"
|
545 |
+
|
546 |
+
#: ad-inserter.php:7288
|
547 |
+
msgid "WIDGET DISABLED"
|
548 |
+
msgstr "GRADNIK ONEMOGOČEN"
|
549 |
+
|
550 |
+
#: ad-inserter.php:7289
|
551 |
+
msgid "Unknown block"
|
552 |
+
msgstr "Neznan blok"
|
553 |
+
|
554 |
+
#: ad-inserter.php:7298 includes/functions.php:2323 settings.php:1055
|
555 |
+
msgid "Title"
|
556 |
+
msgstr "Naslov"
|
557 |
+
|
558 |
+
#: ad-inserter.php:7320
|
559 |
+
msgctxt "Widget"
|
560 |
+
msgid "Sticky"
|
561 |
+
msgstr "Lepljiv"
|
562 |
+
|
563 |
+
#: ad-inserter.php:7369
|
564 |
+
msgid ""
|
565 |
+
"Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
|
566 |
+
"Inserter you need to first deactivate Ad Inserter Pro."
|
567 |
+
msgstr ""
|
568 |
+
"Vtičnika Ad Inserter ni mogoče uporabljati dokler je Ad Inserter Pro "
|
569 |
+
"aktiven! Za aktivacijo vtičnika Ad Inserter morate najprej onemogočiti Ad "
|
570 |
+
"Inserter Pro."
|
571 |
+
|
572 |
+
#: ad-inserter.php:7370
|
573 |
+
msgid ""
|
574 |
+
"<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
|
575 |
+
"will clear all settings that are available only in the Pro version (blocks "
|
576 |
+
"17 - 96, additional block and plugin settings)!"
|
577 |
+
msgstr ""
|
578 |
+
"<strong>OPOZORILO</strong>: Prosimo vedite, da bo shranjevanje nastavitev v "
|
579 |
+
"vtičniku Ad Inserter pobrisalo vse nastavitve, ki so na razpolago samo v Pro "
|
580 |
+
"različici (bloki 17 - 96, dodatne nastavitve blokov in vtičnika)!"
|
581 |
+
|
582 |
+
#. translators: %s: Ad Inserter
|
583 |
+
#: class.php:448 class.php:457 class.php:460
|
584 |
+
msgid "PHP error in %s block"
|
585 |
+
msgstr "PHP napaka v bloku %s"
|
586 |
+
|
587 |
+
#: class.php:1847
|
588 |
+
msgid "Counters"
|
589 |
+
msgstr "Števci"
|
590 |
+
|
591 |
+
#: class.php:1851
|
592 |
+
msgid "Content"
|
593 |
+
msgstr "Vsebina"
|
594 |
+
|
595 |
+
#: class.php:1856
|
596 |
+
msgid "Excerpt"
|
597 |
+
msgstr "Izvleček"
|
598 |
+
|
599 |
+
#: class.php:1861 strings.php:17
|
600 |
+
msgid "Before post"
|
601 |
+
msgstr "Pred prispevkom"
|
602 |
+
|
603 |
+
#: class.php:1866 strings.php:18
|
604 |
+
msgid "After post"
|
605 |
+
msgstr "Za prispevkom"
|
606 |
+
|
607 |
+
#: class.php:1871 settings.php:1542 settings.php:3049
|
608 |
+
msgid "Widget"
|
609 |
+
msgstr "Gradnik"
|
610 |
+
|
611 |
+
#: class.php:1876 settings.php:3047
|
612 |
+
msgid "PHP function call"
|
613 |
+
msgstr "Klic PHP funkcije"
|
614 |
+
|
615 |
+
#. translators: %s: list parameters and type
|
616 |
+
#: class.php:2226
|
617 |
+
msgid "parameters='%s' type='%s'"
|
618 |
+
msgstr "parametri='%s' tip='%s'"
|
619 |
+
|
620 |
+
#. translators: %s: list parameters and type
|
621 |
+
#: class.php:2228
|
622 |
+
msgid "referers='%s' type='%s'"
|
623 |
+
msgstr "napotitelji='%s' tip='%s'"
|
624 |
+
|
625 |
+
#. translators: %s: list parameters and type
|
626 |
+
#: class.php:2289
|
627 |
+
msgid "countries='%s' type='%s'"
|
628 |
+
msgstr "države='%s' tip='%s'"
|
629 |
+
|
630 |
+
#. translators: %s: list parameters and type
|
631 |
+
#: class.php:2291
|
632 |
+
msgid "ip addresses='%s' type='%s'"
|
633 |
+
msgstr "ip naslovi='%s' tip='%s'"
|
634 |
+
|
635 |
+
#: class.php:2336
|
636 |
+
msgid "AJAX REQUEST"
|
637 |
+
msgstr "AJAX ZAHTEVEK"
|
638 |
+
|
639 |
+
#: class.php:2350
|
640 |
+
msgid "Ajax request url"
|
641 |
+
msgstr "Url Ajax zahteve"
|
642 |
+
|
643 |
+
#: class.php:2350
|
644 |
+
msgid "IN THE LOOP"
|
645 |
+
msgstr "V ZANKI"
|
646 |
+
|
647 |
+
#: class.php:2350
|
648 |
+
msgid "YES"
|
649 |
+
msgstr "DA"
|
650 |
+
|
651 |
+
#: class.php:2350
|
652 |
+
msgid "NO"
|
653 |
+
msgstr "NE"
|
654 |
+
|
655 |
+
#: class.php:2410
|
656 |
+
msgid "WIDGET"
|
657 |
+
msgstr "GRADNIK"
|
658 |
+
|
659 |
+
#: class.php:2410
|
660 |
+
msgid "BLOCK"
|
661 |
+
msgstr "BLOK"
|
662 |
+
|
663 |
+
#: class.php:2410
|
664 |
+
msgctxt "block or widget"
|
665 |
+
msgid "INSERTED BUT NOT VISIBLE"
|
666 |
+
msgstr "VSTAVLJEN, VENDAR NI VIDEN"
|
667 |
+
|
668 |
+
#: class.php:2592 strings.php:212
|
669 |
+
msgid "BEFORE"
|
670 |
+
msgstr "PRED"
|
671 |
+
|
672 |
+
#: class.php:2600 strings.php:214
|
673 |
+
msgid "PREPEND CONTENT"
|
674 |
+
msgstr "DODAJ PRED VSEBINO"
|
675 |
+
|
676 |
+
#: class.php:2604 strings.php:215
|
677 |
+
msgid "APPEND CONTENT"
|
678 |
+
msgstr "DODAJ ZA VSEBINO"
|
679 |
+
|
680 |
+
#: class.php:2608 strings.php:216
|
681 |
+
msgid "REPLACE CONTENT"
|
682 |
+
msgstr "NADOMESTI VSEBINO"
|
683 |
+
|
684 |
+
#: class.php:2612 strings.php:217
|
685 |
+
msgid "REPLACE ELEMENT"
|
686 |
+
msgstr "NADOMESTI ELEMENT"
|
687 |
+
|
688 |
+
#: class.php:2623 strings.php:213
|
689 |
+
msgid "AFTER"
|
690 |
+
msgstr "ZA"
|
691 |
+
|
692 |
+
#: class.php:2688
|
693 |
+
msgctxt "JavaScript"
|
694 |
+
msgid "script"
|
695 |
+
msgstr "skripta"
|
696 |
+
|
697 |
+
#: class.php:2690 settings.php:1811
|
698 |
+
msgid "for"
|
699 |
+
msgstr "za"
|
700 |
+
|
701 |
+
#: class.php:5146 class.php:5198
|
702 |
+
msgctxt "category name"
|
703 |
+
msgid "Uncategorized"
|
704 |
+
msgstr "Nekategorizirano"
|
705 |
+
|
706 |
+
#: class.php:5686
|
707 |
+
msgid ""
|
708 |
+
"ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
|
709 |
+
"extension for PHP."
|
710 |
+
msgstr ""
|
711 |
+
"NAPAKA: razred DOMDocument ni bil najden. Vaš ponudnik gostovanja mora "
|
712 |
+
"namestiti DOM razširitev za PHP."
|
713 |
+
|
714 |
+
#: includes/editor.php:7 includes/placeholders.php:345
|
715 |
+
#: includes/preview.php:1743 strings.php:219
|
716 |
+
msgid "Use"
|
717 |
+
msgstr "Uporabi"
|
718 |
+
|
719 |
+
#: includes/editor.php:8 includes/preview.php:1744
|
720 |
+
msgid "Reset"
|
721 |
+
msgstr "Ponastavi"
|
722 |
+
|
723 |
+
#: includes/editor.php:9 includes/placeholders.php:347
|
724 |
+
#: includes/preview.php:1746 strings.php:193 strings.php:218
|
725 |
+
msgid "Cancel"
|
726 |
+
msgstr "Prekliči"
|
727 |
+
|
728 |
+
#: includes/editor.php:74
|
729 |
+
msgid "Visual Code Editor"
|
730 |
+
msgstr "Vizualni Urejevalnik Kode"
|
731 |
+
|
732 |
+
#: includes/editor.php:262 includes/preview-adb.php:289
|
733 |
+
#: includes/preview.php:1733
|
734 |
+
msgid ""
|
735 |
+
"This page was not loaded properly. Please check browser, plugins and ad "
|
736 |
+
"blockers."
|
737 |
+
msgstr ""
|
738 |
+
"Ta stran se ni naložila pravilno. Prevrrite brskalnik, vtičnike in "
|
739 |
+
"blokiranje oglasov."
|
740 |
+
|
741 |
+
#: includes/editor.php:264 settings.php:185
|
742 |
+
msgid "Error loading page"
|
743 |
+
msgstr "Napaka pri nalaganju strani"
|
744 |
+
|
745 |
+
#: includes/editor.php:264 includes/preview-adb.php:291
|
746 |
+
#: includes/preview.php:1735
|
747 |
+
msgid "PAGE BLOCKED"
|
748 |
+
msgstr "STRAN BLOKIRANA"
|
749 |
+
|
750 |
+
#: includes/functions.php:255
|
751 |
+
msgid "Online documentation"
|
752 |
+
msgstr "Spletna Dokumentacija"
|
753 |
+
|
754 |
+
#: includes/functions.php:255 settings.php:150
|
755 |
+
msgid "Documentation"
|
756 |
+
msgstr "Dokumentacija"
|
757 |
+
|
758 |
+
#: includes/functions.php:268 settings.php:153
|
759 |
+
msgid "Blocks"
|
760 |
+
msgstr "Bloki"
|
761 |
+
|
762 |
+
#. translators: %s: Ad Inserter Pro
|
763 |
+
#: includes/functions.php:291
|
764 |
+
msgid ""
|
765 |
+
"Import %s settings when saving - if checked, the encoded settings below will "
|
766 |
+
"be imported for all blocks and settings"
|
767 |
+
msgstr ""
|
768 |
+
"Uvozi %s nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
|
769 |
+
"nastavitve spodaj uvozile za vse bloke in nastavitve"
|
770 |
+
|
771 |
+
#: includes/functions.php:291
|
772 |
+
msgid "Import Settings for"
|
773 |
+
msgstr "Uvozi Nastavitve za"
|
774 |
+
|
775 |
+
#: includes/functions.php:295
|
776 |
+
msgid "Saved settings for"
|
777 |
+
msgstr "Shranjene nastavitve za"
|
778 |
+
|
779 |
+
#: includes/functions.php:310
|
780 |
+
msgid "License Key"
|
781 |
+
msgstr "Licenčni Ključ"
|
782 |
+
|
783 |
+
#: includes/functions.php:313
|
784 |
+
msgid "License Key for"
|
785 |
+
msgstr "Licenčni Ključ za"
|
786 |
+
|
787 |
+
#: includes/functions.php:330
|
788 |
+
msgid "Main content element"
|
789 |
+
msgstr "Glavni element vsebine"
|
790 |
+
|
791 |
+
#: includes/functions.php:333
|
792 |
+
msgid ""
|
793 |
+
"Main content element (#id or .class) for 'Stick to the content' position. "
|
794 |
+
"Leave empty unless position is not properly calculated."
|
795 |
+
msgstr ""
|
796 |
+
"Glavni element vsebine (#id ali .razred) za položaj 'Lepljiv na vsebino'. "
|
797 |
+
"Pustite prazno razen v primeru, ko položaj ni pravilno izračunan."
|
798 |
+
|
799 |
+
#: includes/functions.php:334 settings.php:1091 settings.php:2355
|
800 |
+
msgid "Open HTML element selector"
|
801 |
+
msgstr "Odpri izbirnik HTML elementa"
|
802 |
+
|
803 |
+
#: includes/functions.php:339
|
804 |
+
msgid "Lazy loading offset"
|
805 |
+
msgstr "Zamik za leno nalaganje"
|
806 |
+
|
807 |
+
#: includes/functions.php:342
|
808 |
+
msgid "Offset of the block from the visible viewport when it should be loaded"
|
809 |
+
msgstr "Zamik bloka od vidnega pogleda, ko bi ta moral biti naložen"
|
810 |
+
|
811 |
+
#: includes/functions.php:353
|
812 |
+
msgid "Export / Import Block Settings"
|
813 |
+
msgstr "Izvozi / Uvozi Nastavitve Bloka"
|
814 |
+
|
815 |
+
#: includes/functions.php:368
|
816 |
+
msgid "Track impressions and clicks for this block"
|
817 |
+
msgstr "Sledi prikazom in klikom za ta blok"
|
818 |
+
|
819 |
+
#: includes/functions.php:368
|
820 |
+
msgid " - global tracking disabled"
|
821 |
+
msgstr " - globalno sledenje onemogočeno"
|
822 |
+
|
823 |
+
#: includes/functions.php:377
|
824 |
+
msgid "Toggle Ad Blocking Statistics"
|
825 |
+
msgstr "Preklopi Statistiko Blokiranja Oglasov"
|
826 |
+
|
827 |
+
#: includes/functions.php:386 includes/functions.php:2195
|
828 |
+
msgid "Toggle Statistics"
|
829 |
+
msgstr "Preklopi Statistiko"
|
830 |
+
|
831 |
+
#. translators: %s: Ad Inserter Pro
|
832 |
+
#: includes/functions.php:402
|
833 |
+
msgid "%s license key is not set. Continue?"
|
834 |
+
msgstr "%s licenčni ključ ni nastavljen. Nadaljujem?"
|
835 |
+
|
836 |
+
#. translators: %s: Ad Inserter Pro
|
837 |
+
#: includes/functions.php:406
|
838 |
+
msgid "Invalid %s license key. Continue?"
|
839 |
+
msgstr "Neveljaven %s licenčni ključ. Nadaljujem?"
|
840 |
+
|
841 |
+
#. translators: %s: Ad Inserter Pro
|
842 |
+
#: includes/functions.php:410
|
843 |
+
msgid "%s license overused. Continue?"
|
844 |
+
msgstr "%s licenca prekomerno uporabljena. Nadaljujem?"
|
845 |
+
|
846 |
+
#: includes/functions.php:414 settings.php:1878
|
847 |
+
msgid "Save Settings"
|
848 |
+
msgstr "Sharani Nastavitve"
|
849 |
+
|
850 |
+
#: includes/functions.php:474 includes/preview.php:1878
|
851 |
+
msgid "Horizontal position"
|
852 |
+
msgstr "Vodoravni položaj"
|
853 |
+
|
854 |
+
#: includes/functions.php:497
|
855 |
+
msgid ""
|
856 |
+
"Horizontal margin from the content or screen edge, empty means default value "
|
857 |
+
"from CSS"
|
858 |
+
msgstr ""
|
859 |
+
"Vodoravni odmik od vsebine ali roba zaslona, prazno pomeni privzeta vrednost "
|
860 |
+
"iz CSS"
|
861 |
+
|
862 |
+
#: includes/functions.php:505 includes/preview.php:1933
|
863 |
+
msgid "Vertical position"
|
864 |
+
msgstr "Navpični položaj"
|
865 |
+
|
866 |
+
#: includes/functions.php:520
|
867 |
+
msgid ""
|
868 |
+
"Vertical margin from the top or bottom screen edge, empty means default "
|
869 |
+
"value from CSS"
|
870 |
+
msgstr ""
|
871 |
+
"Navpični odmik od roba vrha ali dna zaslona, prazno pomeni privzeta vrednost "
|
872 |
+
"iz CSS"
|
873 |
+
|
874 |
+
#: includes/functions.php:545 includes/preview.php:1984
|
875 |
+
msgid "Animation"
|
876 |
+
msgstr "Animacija"
|
877 |
+
|
878 |
+
#: includes/functions.php:563
|
879 |
+
msgid "Trigger"
|
880 |
+
msgstr "Sporžilec"
|
881 |
+
|
882 |
+
#: includes/functions.php:572
|
883 |
+
msgid ""
|
884 |
+
"Trigger value: page scroll in %, page scroll in px or element with selector "
|
885 |
+
"(#id or .class) becomes visible"
|
886 |
+
msgstr ""
|
887 |
+
"Sprožilna vrednost: pomik strani v %, pomik strani v px ali element s "
|
888 |
+
"selektorjem (#id ali .razred) postane viden"
|
889 |
+
|
890 |
+
#: includes/functions.php:576
|
891 |
+
msgid "Offset"
|
892 |
+
msgstr "Zamik"
|
893 |
+
|
894 |
+
#: includes/functions.php:576
|
895 |
+
msgid "Offset of trigger element"
|
896 |
+
msgstr "Zamik sprožilnega elementa"
|
897 |
+
|
898 |
+
#: includes/functions.php:580
|
899 |
+
msgid "Delay"
|
900 |
+
msgstr "Zakasnitev"
|
901 |
+
|
902 |
+
#: includes/functions.php:580
|
903 |
+
msgid "Delay animation after trigger condition"
|
904 |
+
msgstr "Zakasni animacijo po izpolnitvi pogoja sprožilca"
|
905 |
+
|
906 |
+
#: includes/functions.php:584
|
907 |
+
msgid "Trigger once"
|
908 |
+
msgstr "Sproži enkrat"
|
909 |
+
|
910 |
+
#: includes/functions.php:586
|
911 |
+
msgid "Trigger animation only once"
|
912 |
+
msgstr "Sproži animacijo samo enkrat"
|
913 |
+
|
914 |
+
#: includes/functions.php:625
|
915 |
+
msgid "Tracking is globally disabled"
|
916 |
+
msgstr "Sledenje je globalno onemogočeno"
|
917 |
+
|
918 |
+
#: includes/functions.php:629
|
919 |
+
msgid "Tracking for this block is disabled"
|
920 |
+
msgstr "Sledenje za ta blok je onemogočeno"
|
921 |
+
|
922 |
+
#: includes/functions.php:639 settings.php:2810 settings.php:2846
|
923 |
+
#: strings.php:203
|
924 |
+
msgid "Loading..."
|
925 |
+
msgstr "Nalagam..."
|
926 |
+
|
927 |
+
#: includes/functions.php:655
|
928 |
+
msgid ""
|
929 |
+
"Clear statistics data for the selected range - clear both dates to delete "
|
930 |
+
"all data for this block"
|
931 |
+
msgstr ""
|
932 |
+
"Pobriši podatke o statistiki za izbrano obdobje - pobriši oba datuma za "
|
933 |
+
"brisanje vseh podatkov za ta blok"
|
934 |
+
|
935 |
+
#: includes/functions.php:659
|
936 |
+
msgid "Auto refresh data for the selected range every 60 seconds"
|
937 |
+
msgstr "Samodejna osvežitev podatkov za izbrano obdobje vsakih 60 sekund"
|
938 |
+
|
939 |
+
#: includes/functions.php:662
|
940 |
+
msgid "Load data for last month"
|
941 |
+
msgstr "Naloži podatke za zadnji mesec"
|
942 |
+
|
943 |
+
#: includes/functions.php:662
|
944 |
+
msgid "Last Month"
|
945 |
+
msgstr "Zadnji Mesec"
|
946 |
+
|
947 |
+
#: includes/functions.php:665
|
948 |
+
msgid "Load data for this month"
|
949 |
+
msgstr "Naloži podatke za ta mesec"
|
950 |
+
|
951 |
+
#: includes/functions.php:665
|
952 |
+
msgid "This Month"
|
953 |
+
msgstr "Ta Mesec"
|
954 |
+
|
955 |
+
#: includes/functions.php:668
|
956 |
+
msgid "Load data for this year"
|
957 |
+
msgstr "Naloži podatke za to leto"
|
958 |
+
|
959 |
+
#: includes/functions.php:668
|
960 |
+
msgid "This Year"
|
961 |
+
msgstr "To Leto"
|
962 |
+
|
963 |
+
#: includes/functions.php:671
|
964 |
+
msgid "Load data for the last 15 days"
|
965 |
+
msgstr "Naloži podatke za zadnjih 15 dni"
|
966 |
+
|
967 |
+
#: includes/functions.php:674
|
968 |
+
msgid "Load data for the last 30 days"
|
969 |
+
msgstr "Naloži podatke za zadnjih 30 dni"
|
970 |
+
|
971 |
+
#: includes/functions.php:677
|
972 |
+
msgid "Load data for the last 90 days"
|
973 |
+
msgstr "Naloži podatke za zadnjih 90 dni"
|
974 |
+
|
975 |
+
#: includes/functions.php:680
|
976 |
+
msgid "Load data for the last 180 days"
|
977 |
+
msgstr "Naloži podatke za zadnjih 180 dni"
|
978 |
+
|
979 |
+
#: includes/functions.php:683
|
980 |
+
msgid "Load data for the last 365 days"
|
981 |
+
msgstr "Naloži podatke za zadnjih 365 dni"
|
982 |
+
|
983 |
+
#: includes/functions.php:693
|
984 |
+
msgid "Load data for the selected range"
|
985 |
+
msgstr "Naloži podatke za izbrano obdobje"
|
986 |
+
|
987 |
+
#: includes/functions.php:709
|
988 |
+
msgid ""
|
989 |
+
"Import settings when saving - if checked, the encoded settings below will be "
|
990 |
+
"imported for this block"
|
991 |
+
msgstr ""
|
992 |
+
"Uvozi nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
|
993 |
+
"nastavitve spodaj uvozile za ta blok"
|
994 |
+
|
995 |
+
#: includes/functions.php:709
|
996 |
+
msgid "Import settings for block"
|
997 |
+
msgstr "Uvozi nastavitve za blok"
|
998 |
+
|
999 |
+
#: includes/functions.php:713
|
1000 |
+
msgid ""
|
1001 |
+
"Import block name when saving - if checked and 'Import settings for block' "
|
1002 |
+
"is also checked, the name from encoded settings below will be imported for "
|
1003 |
+
"this block"
|
1004 |
+
msgstr ""
|
1005 |
+
"Uvozi ime bloka pri shranjevanju - če je odkljukano in je tudi 'Uvozi "
|
1006 |
+
"nastavitve za blok' odkljukano, se bo ime iz kodiranih nastavitev spodaj "
|
1007 |
+
"uvozilo za ta blok"
|
1008 |
+
|
1009 |
+
#: includes/functions.php:713
|
1010 |
+
msgid "Import block name"
|
1011 |
+
msgstr "Uvozi ime bloka"
|
1012 |
+
|
1013 |
+
#: includes/functions.php:717
|
1014 |
+
msgid "Saved settings for block"
|
1015 |
+
msgstr "Shranjene nastavitve za blok"
|
1016 |
+
|
1017 |
+
#: includes/functions.php:730
|
1018 |
+
msgid "Export / Import Ad Inserter Pro Settings"
|
1019 |
+
msgstr "Izvozi / Uvozi Ad Inserter Pro Nastavitve"
|
1020 |
+
|
1021 |
+
#: includes/functions.php:739
|
1022 |
+
msgid "Are you sure you want to clear all statistics data for all blocks?"
|
1023 |
+
msgstr ""
|
1024 |
+
"Ali ste prepričani, da želite odstraniti vse podatke o statistiki za vse "
|
1025 |
+
"bloke?"
|
1026 |
+
|
1027 |
+
#: includes/functions.php:741
|
1028 |
+
msgid "Clear All Statistics Data"
|
1029 |
+
msgstr "Odstrani Vse Podatke o Statistiki"
|
1030 |
+
|
1031 |
+
#: includes/functions.php:768
|
1032 |
+
msgid "IP Addresses"
|
1033 |
+
msgstr "IP Naslovi"
|
1034 |
+
|
1035 |
+
#: includes/functions.php:771
|
1036 |
+
msgid "Toggle IP address editor"
|
1037 |
+
msgstr "Preklopi urejevalnik IP nslovov"
|
1038 |
+
|
1039 |
+
#: includes/functions.php:774
|
1040 |
+
msgid ""
|
1041 |
+
"Comma separated IP addresses, you can also use partial IP addresses with * "
|
1042 |
+
"(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
|
1043 |
+
msgstr ""
|
1044 |
+
"Z vejico ločeni IP naslovi, uporabite lahko tudi delne IP naslove z * (ip-"
|
1045 |
+
"naslov-začetek*. *ip-naslov-vzorec*, *ip-naslov-konec)"
|
1046 |
+
|
1047 |
+
#: includes/functions.php:778
|
1048 |
+
msgid "Blacklist IP addresses"
|
1049 |
+
msgstr "Črni seznam IP naslovov"
|
1050 |
+
|
1051 |
+
#: includes/functions.php:782
|
1052 |
+
msgid "Whitelist IP addresses"
|
1053 |
+
msgstr "Beli seznam IP naslovov"
|
1054 |
+
|
1055 |
+
#: includes/functions.php:793
|
1056 |
+
msgid "Countries"
|
1057 |
+
msgstr "Države"
|
1058 |
+
|
1059 |
+
#: includes/functions.php:796 includes/functions.php:2155
|
1060 |
+
msgid "Toggle country editor"
|
1061 |
+
msgstr "Preklopi urejevalnik držav"
|
1062 |
+
|
1063 |
+
#: includes/functions.php:799 includes/functions.php:2158
|
1064 |
+
msgid "Comma separated country ISO Alpha-2 codes"
|
1065 |
+
msgstr "Z vejico ločene ISO Alpha-2 kode držav"
|
1066 |
+
|
1067 |
+
#: includes/functions.php:803
|
1068 |
+
msgid "Blacklist countries"
|
1069 |
+
msgstr "Črni seznam držav"
|
1070 |
+
|
1071 |
+
#: includes/functions.php:807
|
1072 |
+
msgid "Whitelist countries"
|
1073 |
+
msgstr "Beli seznam držav"
|
1074 |
+
|
1075 |
+
#: includes/functions.php:1112
|
1076 |
+
msgid "Enter License Key"
|
1077 |
+
msgstr "Vnesite Licenčni Ključ"
|
1078 |
+
|
1079 |
+
#. translators: %s: Ad Inserter Pro
|
1080 |
+
#: includes/functions.php:1114
|
1081 |
+
msgid "%s license key is not set - updates disabled."
|
1082 |
+
msgstr "%s licenčni ključ ni nastavljen - posodobitve onemogočene."
|
1083 |
+
|
1084 |
+
#: includes/functions.php:1122
|
1085 |
+
msgid "Check License Key"
|
1086 |
+
msgstr "Preverite Licenčni Ključ"
|
1087 |
+
|
1088 |
+
#. translators: %s: Ad Inserter Pro
|
1089 |
+
#: includes/functions.php:1124
|
1090 |
+
msgid "Invalid %s license key. Please check."
|
1091 |
+
msgstr "Neveljaven %s licenčni ključ. Prosimo, preverite."
|
1092 |
+
|
1093 |
+
#. translators: %s: Ad Inserter Pro
|
1094 |
+
#: includes/functions.php:1129
|
1095 |
+
msgid "Renew License"
|
1096 |
+
msgstr "Obnovite Licenco"
|
1097 |
+
|
1098 |
+
#. translators: %s: Ad Inserter Pro
|
1099 |
+
#: includes/functions.php:1131
|
1100 |
+
msgid "%s license expired. Please renew the license to enable updates."
|
1101 |
+
msgstr ""
|
1102 |
+
"%s licenca je potekla. Prosimo, obnovite licenco, da bi omogočili "
|
1103 |
+
"posodobitve."
|
1104 |
+
|
1105 |
+
#: includes/functions.php:1136
|
1106 |
+
msgid "Upgrade License"
|
1107 |
+
msgstr "Nadgradite Licenco"
|
1108 |
+
|
1109 |
+
#. translators: %s: Ad Inserter Pro
|
1110 |
+
#: includes/functions.php:1138
|
1111 |
+
msgid "%s license overused. Please upgrade the license to enable updates."
|
1112 |
+
msgstr ""
|
1113 |
+
"%s licenca je prekomerno uporabljena. Prosimo, nadgradite licenco, da bi "
|
1114 |
+
"omogočili posodobitve."
|
1115 |
+
|
1116 |
+
#. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
|
1117 |
+
#: includes/functions.php:1298
|
1118 |
+
msgid ""
|
1119 |
+
"%1$s Warning: %2$s %3$s license key %4$s not set %5$s - plugin functionality "
|
1120 |
+
"limited."
|
1121 |
+
msgstr ""
|
1122 |
+
"%1$s Opozorilo: %2$s %3$s licenčni ključ %4$s ni vnešen %5$s - "
|
1123 |
+
"funkcionalnost vtičnika omejena."
|
1124 |
+
|
1125 |
+
#. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
|
1126 |
+
#: includes/functions.php:1307
|
1127 |
+
msgid ""
|
1128 |
+
"%1$s Warning: %2$s Invalid %3$s license key - updates disabled. Please %4$s "
|
1129 |
+
"check license key. %5$s"
|
1130 |
+
msgstr ""
|
1131 |
+
"%1$s Opozorilo: %2$s Neveljaven %3$s licenčni ključ - posodobitve "
|
1132 |
+
"onemogočene. Prosimo, %4$s preverite licenčni ključ. %5$s"
|
1133 |
+
|
1134 |
+
#. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
|
1135 |
+
#: includes/functions.php:1323
|
1136 |
+
msgid ""
|
1137 |
+
"Hey, %1$s license has expired - plugin updates are now disabled. Please "
|
1138 |
+
"renew the license to enable updates. Check %2$s what you are missing. %3$s"
|
1139 |
+
msgstr ""
|
1140 |
+
"Hej, %1$s licenca je potekla - posodobitve vtičnika so zdaj onemogočene. "
|
1141 |
+
"Prosimo, obnovite licenco, da bi omogočili posodobitve. Preverite %2$s kaj "
|
1142 |
+
"pogrešate. %3$s"
|
1143 |
+
|
1144 |
+
#. translators: 1, 3: HTML tags, 2: percentage
|
1145 |
+
#: includes/functions.php:1330
|
1146 |
+
msgid ""
|
1147 |
+
"During the license period and 30 days after the license has expired we offer "
|
1148 |
+
"%1$s %2$s discount on all license renewals and license upgrades. %3$s"
|
1149 |
+
msgstr ""
|
1150 |
+
"V obdobju licence in 30 dni po tem, ko licenca poteče, vam ponujamo %1$s "
|
1151 |
+
"%2$s popust na vse obnovitve in nadgradnje licenc. %3$s"
|
1152 |
+
|
1153 |
+
#: includes/functions.php:1353
|
1154 |
+
msgid "Renew the licence"
|
1155 |
+
msgstr "Obnovi licenco"
|
1156 |
+
|
1157 |
+
#: includes/functions.php:1355
|
1158 |
+
msgid "Update license status"
|
1159 |
+
msgstr "Posodobi status licence"
|
1160 |
+
|
1161 |
+
#. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
|
1162 |
+
#: includes/functions.php:1365
|
1163 |
+
msgid ""
|
1164 |
+
"%1$s Warning: %2$s %3$s license overused - updates disabled. Please %4$s "
|
1165 |
+
"upgrade the license. %s"
|
1166 |
+
msgstr ""
|
1167 |
+
"%1$s Opozorilo: %2$s %3$s licenca prekomerno uporabljena - posodobitve "
|
1168 |
+
"onemogočene. Prosimo, %4$s nadgradite licenco. %5$s"
|
1169 |
+
|
1170 |
+
#. Translators: %s: HTML tag
|
1171 |
+
#: includes/functions.php:1385
|
1172 |
+
msgid "Warning: %s MaxMind IP geolocation database not found."
|
1173 |
+
msgstr "Opozorilo: %s MaxMind IP geolocijska podatkovna baza ni najdena."
|
1174 |
+
|
1175 |
+
#: includes/functions.php:1834
|
1176 |
+
msgid "Geolocation"
|
1177 |
+
msgstr "Geolokacija"
|
1178 |
+
|
1179 |
+
#: includes/functions.php:1838
|
1180 |
+
msgid "Exceptions"
|
1181 |
+
msgstr "Izjeme"
|
1182 |
+
|
1183 |
+
#: includes/functions.php:1843
|
1184 |
+
msgid "Multisite"
|
1185 |
+
msgstr "Multisite"
|
1186 |
+
|
1187 |
+
#: includes/functions.php:1848
|
1188 |
+
msgid "Tracking"
|
1189 |
+
msgstr "Sledenje"
|
1190 |
+
|
1191 |
+
#. translators: %d: days, hours, minutes
|
1192 |
+
#: includes/functions.php:1879
|
1193 |
+
msgid "Scheduled in %d days %d hours %d minutes"
|
1194 |
+
msgstr "Planirano v %d dneh %d urah %d minutah"
|
1195 |
+
|
1196 |
+
#. translators: %s: HTML dash separator, %d: days, hours, minutes, — is
|
1197 |
+
#. HTML code for long dash separator
|
1198 |
+
#: includes/functions.php:1888
|
1199 |
+
msgid "Active %s expires in %d days %d hours %d minutes"
|
1200 |
+
msgstr "Aktivno %s poteče v %d dneh %d urah %d minutah"
|
1201 |
+
|
1202 |
+
#: includes/functions.php:1892
|
1203 |
+
msgid "Expired"
|
1204 |
+
msgstr "Poteklo"
|
1205 |
+
|
1206 |
+
#: includes/functions.php:1900 settings.php:1195 settings.php:1210
|
1207 |
+
#: settings.php:1797
|
1208 |
+
msgid "and"
|
1209 |
+
msgstr "in"
|
1210 |
+
|
1211 |
+
#: includes/functions.php:1903
|
1212 |
+
msgid "fallback"
|
1213 |
+
msgstr "rezerva"
|
1214 |
+
|
1215 |
+
#: includes/functions.php:1904
|
1216 |
+
msgid "Block to be used when scheduling expires"
|
1217 |
+
msgstr "Blok, ki se bo uporabil, ko urnik poteče"
|
1218 |
+
|
1219 |
+
#: includes/functions.php:1923 includes/functions.php:3262
|
1220 |
+
#: includes/functions.php:3325 settings.php:1911
|
1221 |
+
msgid "Ad Blocking"
|
1222 |
+
msgstr "Blokiranje Oglasov"
|
1223 |
+
|
1224 |
+
#. translators: 1, 2 and 3, 4: HTML tags
|
1225 |
+
#: includes/functions.php:1932
|
1226 |
+
msgid ""
|
1227 |
+
"%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
|
1228 |
+
"for tracking!"
|
1229 |
+
msgstr ""
|
1230 |
+
"%1$s OPOZORILO: %2$s stil %3$s Brez ovijanja %4$s nima kode za ovijanje, ki "
|
1231 |
+
"je potrebna za sledenje!"
|
1232 |
+
|
1233 |
+
#. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
|
1234 |
+
#. header
|
1235 |
+
#: includes/functions.php:1941
|
1236 |
+
msgid ""
|
1237 |
+
"%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
|
1238 |
+
"enabled and automatic insertion %6$s!"
|
1239 |
+
msgstr ""
|
1240 |
+
"%1$s OPOZORILO: %2$s vertikalni položaj %3$s potrebuje %4$s Predpomnjenje "
|
1241 |
+
"izhoda %5$s omogočeno in samodejno vstavljanje %6$s!"
|
1242 |
+
|
1243 |
+
#: includes/functions.php:1959
|
1244 |
+
msgid "When ad blocking is detected"
|
1245 |
+
msgstr "Ko je blokiranje oglasov zaznano"
|
1246 |
+
|
1247 |
+
#: includes/functions.php:1968
|
1248 |
+
msgid "replacement"
|
1249 |
+
msgstr "nadomestek"
|
1250 |
+
|
1251 |
+
#: includes/functions.php:1970
|
1252 |
+
msgid "Block to be shown when ad blocking is detected"
|
1253 |
+
msgstr "Blok, ki naj bo prikazan, ko je zaznano blokiranje oglasov"
|
1254 |
+
|
1255 |
+
#: includes/functions.php:1971
|
1256 |
+
msgctxt "replacement"
|
1257 |
+
msgid "None"
|
1258 |
+
msgstr "Noben"
|
1259 |
+
|
1260 |
+
#: includes/functions.php:1988
|
1261 |
+
msgid "Close button"
|
1262 |
+
msgstr "Gumb Zapri"
|
1263 |
+
|
1264 |
+
#: includes/functions.php:2035
|
1265 |
+
msgid "Lazy loading"
|
1266 |
+
msgstr "Leno nalaganje"
|
1267 |
+
|
1268 |
+
#. Translators: %s MaxMind
|
1269 |
+
#: includes/functions.php:2090
|
1270 |
+
msgid "This product includes GeoLite2 data created by %s"
|
1271 |
+
msgstr "Ta izdelek vsebuje %s GeoLite2 podatke"
|
1272 |
+
|
1273 |
+
#: includes/functions.php:2101
|
1274 |
+
msgid "IP geolocation database"
|
1275 |
+
msgstr "Podatkovna baza za IP geolokacijo"
|
1276 |
+
|
1277 |
+
#: includes/functions.php:2104
|
1278 |
+
msgid "Select IP geolocation database."
|
1279 |
+
msgstr "Izberite podatkovno bazo za IP geolokacijo."
|
1280 |
+
|
1281 |
+
#: includes/functions.php:2115
|
1282 |
+
msgid "Automatic database updates"
|
1283 |
+
msgstr "Samodejna posodobitev podatkovne baze"
|
1284 |
+
|
1285 |
+
#: includes/functions.php:2118
|
1286 |
+
msgid ""
|
1287 |
+
"Automatically download and update free GeoLite2 IP geolocation database by "
|
1288 |
+
"MaxMind"
|
1289 |
+
msgstr ""
|
1290 |
+
"Samodejno prenesi in posodobi prostodostopno GeoLite2 IP geolokacijsko "
|
1291 |
+
"podatkovno bazo MaxMind"
|
1292 |
+
|
1293 |
+
#: includes/functions.php:2126
|
1294 |
+
msgid "Database"
|
1295 |
+
msgstr "Podatkovna baza"
|
1296 |
+
|
1297 |
+
#: includes/functions.php:2129
|
1298 |
+
msgid ""
|
1299 |
+
"Aabsolute path starting with '/' or relative path to the MaxMind database "
|
1300 |
+
"file"
|
1301 |
+
msgstr ""
|
1302 |
+
"Absolutna pot, ki se začne z '/' ali relativna pot do MaxMind datoteke "
|
1303 |
+
"podatkovne baze"
|
1304 |
+
|
1305 |
+
#. translators: %d: group number
|
1306 |
+
#: includes/functions.php:2147
|
1307 |
+
msgid "Group %d"
|
1308 |
+
msgstr "Skupina %d"
|
1309 |
+
|
1310 |
+
#: includes/functions.php:2153
|
1311 |
+
msgid "countries"
|
1312 |
+
msgstr "države"
|
1313 |
+
|
1314 |
+
#: includes/functions.php:2188
|
1315 |
+
msgid "Enable tracking"
|
1316 |
+
msgstr "Omogoči sledenje"
|
1317 |
+
|
1318 |
+
#: includes/functions.php:2203
|
1319 |
+
msgid "Impression and Click Tracking"
|
1320 |
+
msgstr "Sledenje Prikazov in Klikov"
|
1321 |
+
|
1322 |
+
#: includes/functions.php:2215
|
1323 |
+
msgid "Internal"
|
1324 |
+
msgstr "Notranje"
|
1325 |
+
|
1326 |
+
#: includes/functions.php:2219
|
1327 |
+
msgid "Track impressions and clicks with internal tracking and statistics"
|
1328 |
+
msgstr "Sledi prikazom in klikom z notranjim sledenjem in statistiko"
|
1329 |
+
|
1330 |
+
#: includes/functions.php:2224
|
1331 |
+
msgid "External"
|
1332 |
+
msgstr "Zunanje"
|
1333 |
+
|
1334 |
+
#: includes/functions.php:2228
|
1335 |
+
msgid ""
|
1336 |
+
"Track impressions and clicks with Google Analytics or Matomo (needs tracking "
|
1337 |
+
"code installed)"
|
1338 |
+
msgstr ""
|
1339 |
+
"Sledi prikazom in klikom z Google Analytics ali Matomo (potrebuje nameščeno "
|
1340 |
+
"kodo za sledenje)"
|
1341 |
+
|
1342 |
+
#: includes/functions.php:2233
|
1343 |
+
msgid "Track Pageviews"
|
1344 |
+
msgstr "Sledi Ogledom Strani"
|
1345 |
+
|
1346 |
+
#: includes/functions.php:2239
|
1347 |
+
msgid "Track Pageviews by Device (as configured for viewports)"
|
1348 |
+
msgstr "Sledi Ogledom Strani po Napravah (kot so nastavljene za poglede)"
|
1349 |
+
|
1350 |
+
#: includes/functions.php:2249
|
1351 |
+
msgid "Track for Logged in Users"
|
1352 |
+
msgstr "Sledi za Prijavljene Upor."
|
1353 |
+
|
1354 |
+
#: includes/functions.php:2255
|
1355 |
+
msgid "Track impressions and clicks from logged in users"
|
1356 |
+
msgstr "Sledi prikazom in klikom neprijavljenih uporabnikov"
|
1357 |
+
|
1358 |
+
#: includes/functions.php:2265
|
1359 |
+
msgid "Click Detection"
|
1360 |
+
msgstr "Zaznavanje klikov"
|
1361 |
+
|
1362 |
+
#: includes/functions.php:2271
|
1363 |
+
msgid ""
|
1364 |
+
"Standard method detects clicks only on banners with links, Advanced method "
|
1365 |
+
"can detect clicks on any kind of ads, but it is slightly less accurate"
|
1366 |
+
msgstr ""
|
1367 |
+
"Standardni način zazna klike samo na pasicah s povezavami, Napredni način "
|
1368 |
+
"lahko zazna klike na kateremkoli oglasu, ampak je rahlo manj zanesljiv"
|
1369 |
+
|
1370 |
+
#: includes/functions.php:2310
|
1371 |
+
msgid "Are you sure you want to clear all exceptions for block"
|
1372 |
+
msgstr "Ali ste prepričani, da želite odstraniti vse izjeme za blok"
|
1373 |
+
|
1374 |
+
#: includes/functions.php:2311 settings.php:1058
|
1375 |
+
msgid "Clear all exceptions for block"
|
1376 |
+
msgstr "Odstrani vse izjeme za blok"
|
1377 |
+
|
1378 |
+
#: includes/functions.php:2318
|
1379 |
+
msgid "Are you sure you want to clear all exceptions?"
|
1380 |
+
msgstr "Ali ste prepričani, da želite odstraniti vse izjeme?"
|
1381 |
+
|
1382 |
+
#: includes/functions.php:2318
|
1383 |
+
msgid "Clear all exceptions for all blocks"
|
1384 |
+
msgstr "Odstrani vse izjeme za vse bloke"
|
1385 |
+
|
1386 |
+
#: includes/functions.php:2323 settings.php:3119
|
1387 |
+
msgid "Type"
|
1388 |
+
msgstr "Vrsta"
|
1389 |
+
|
1390 |
+
#: includes/functions.php:2341
|
1391 |
+
msgid "View"
|
1392 |
+
msgstr "Poglej"
|
1393 |
+
|
1394 |
+
#: includes/functions.php:2342 includes/placeholders.php:346
|
1395 |
+
#: includes/preview.php:2046 settings.php:974
|
1396 |
+
msgid "Edit"
|
1397 |
+
msgstr "Uredi"
|
1398 |
+
|
1399 |
+
#: includes/functions.php:2372
|
1400 |
+
msgid "Are you sure you want to clear all exceptions for"
|
1401 |
+
msgstr "Ali ste prepričani, da želite odstraniti vse izjeme za"
|
1402 |
+
|
1403 |
+
#: includes/functions.php:2373
|
1404 |
+
msgid "Clear all exceptions for"
|
1405 |
+
msgstr "Odstrani vse izjeme za"
|
1406 |
+
|
1407 |
+
#: includes/functions.php:2386
|
1408 |
+
msgid "No exceptions"
|
1409 |
+
msgstr "Brez izjem"
|
1410 |
+
|
1411 |
+
#. translators: %s: Ad Inserter Pro
|
1412 |
+
#: includes/functions.php:2397
|
1413 |
+
msgid "%s options for network blogs"
|
1414 |
+
msgstr "%s izbire za omrežne bloge"
|
1415 |
+
|
1416 |
+
#. translators: %s: Ad Inserter Pro
|
1417 |
+
#: includes/functions.php:2402
|
1418 |
+
msgid "Enable %s widgets for sub-sites"
|
1419 |
+
msgstr "Omogoči %s gradnik za pod-spletišča"
|
1420 |
+
|
1421 |
+
#: includes/functions.php:2402
|
1422 |
+
msgid "Widgets"
|
1423 |
+
msgstr "Gradniki"
|
1424 |
+
|
1425 |
+
#: includes/functions.php:2407
|
1426 |
+
msgid "Enable PHP code processing for sub-sites"
|
1427 |
+
msgstr "Omogoči procesiranje PHP kode za pod-spletišča"
|
1428 |
+
|
1429 |
+
#: includes/functions.php:2407
|
1430 |
+
msgid "PHP Processing"
|
1431 |
+
msgstr "PHP Procesiranje"
|
1432 |
+
|
1433 |
+
#. translators: %s: Ad Inserter Pro
|
1434 |
+
#: includes/functions.php:2412
|
1435 |
+
msgid "Enable %s block exceptions in post/page editor for sub-sites"
|
1436 |
+
msgstr ""
|
1437 |
+
"Omogoči %s izjeme blokov v urejevalniku prispevkov/strani za pod-spletišča"
|
1438 |
+
|
1439 |
+
#: includes/functions.php:2412
|
1440 |
+
msgid "Post/Page exceptions"
|
1441 |
+
msgstr "Izjeme prispevkov/strani"
|
1442 |
+
|
1443 |
+
#. translators: %s: Ad Inserter Pro
|
1444 |
+
#: includes/functions.php:2417
|
1445 |
+
msgid "Enable %s settings page for sub-sites"
|
1446 |
+
msgstr "Omogoči nastavitveno stran %s za pod-spletišča"
|
1447 |
+
|
1448 |
+
#: includes/functions.php:2417
|
1449 |
+
msgid "Settings page"
|
1450 |
+
msgstr "Stran z nastavitvami"
|
1451 |
+
|
1452 |
+
#. translators: %s: Ad Inserter Pro
|
1453 |
+
#: includes/functions.php:2422
|
1454 |
+
msgid "Enable %s settings of main site to be used for all blogs"
|
1455 |
+
msgstr "Omogoči %s nastavitve glavnega spletišča za uporabo na vseh blogih"
|
1456 |
+
|
1457 |
+
#: includes/functions.php:2422
|
1458 |
+
msgid "Main site settings used for all blogs"
|
1459 |
+
msgstr "Nastavitve glavnega spletišča uporabljene na vseh blogih"
|
1460 |
+
|
1461 |
+
#: includes/functions.php:2433 settings.php:2315
|
1462 |
+
msgid "Ad Blocking Detection"
|
1463 |
+
msgstr "Zaznavanje Blokiranja Oglasov"
|
1464 |
+
|
1465 |
+
#: includes/functions.php:2439
|
1466 |
+
msgid ""
|
1467 |
+
"Standard method is reliable but should be used only if Advanced method does "
|
1468 |
+
"not work. Advanced method recreates files used for detection with random "
|
1469 |
+
"names, however, it may not work if the scripts in the upload folder are not "
|
1470 |
+
"publicly accessible"
|
1471 |
+
msgstr ""
|
1472 |
+
"Običajen način je zanesljiv, vendar naj se uporabi samo, ko način Napredno "
|
1473 |
+
"ne deluje. Način Napredno poustvari datoteke za zaznavanje z naključnimi "
|
1474 |
+
"imeni in mogoče ne bo deloval s skriptami v upload mapi, če ta ni javno "
|
1475 |
+
"dostopna"
|
1476 |
+
|
1477 |
+
#: includes/functions.php:2825 includes/functions.php:2906
|
1478 |
+
#: includes/functions.php:2926
|
1479 |
+
msgid "AD BLOCKING"
|
1480 |
+
msgstr "BLOKIRANJE OGLASOV"
|
1481 |
+
|
1482 |
+
#: includes/functions.php:2826 includes/functions.php:2857
|
1483 |
+
#: includes/functions.php:2900 includes/functions.php:2927
|
1484 |
+
msgid "BLOCK INSERTED BUT NOT VISIBLE"
|
1485 |
+
msgstr "BLOK VSTAVLJEN, VENDAR NI VIDEN"
|
1486 |
+
|
1487 |
+
#: includes/functions.php:2829 includes/functions.php:2899
|
1488 |
+
#: includes/functions.php:2933
|
1489 |
+
msgid "NO AD BLOCKING"
|
1490 |
+
msgstr "NI BLOKIRANJA OGLASOV"
|
1491 |
+
|
1492 |
+
#: includes/functions.php:2856 includes/functions.php:2863
|
1493 |
+
msgid "AD BLOCKING REPLACEMENT"
|
1494 |
+
msgstr "NADOMESTEK V PRIMERU BLOKIRANJA OGLASOV"
|
1495 |
+
|
1496 |
+
#: includes/functions.php:3261
|
1497 |
+
msgctxt "Version"
|
1498 |
+
msgid "Unknown"
|
1499 |
+
msgstr "Neznana"
|
1500 |
+
|
1501 |
+
#: includes/functions.php:3261
|
1502 |
+
msgctxt "Times"
|
1503 |
+
msgid "DISPLAYED"
|
1504 |
+
msgstr "PRIKAZANO"
|
1505 |
+
|
1506 |
+
#: includes/functions.php:3261
|
1507 |
+
msgid "No version"
|
1508 |
+
msgstr "Brez različice"
|
1509 |
+
|
1510 |
+
#: includes/functions.php:3262
|
1511 |
+
msgctxt "Times"
|
1512 |
+
msgid "BLOCKED"
|
1513 |
+
msgstr "BLOKIRANO"
|
1514 |
+
|
1515 |
+
#: includes/functions.php:3324
|
1516 |
+
msgid "Pageviews"
|
1517 |
+
msgstr "Ogledov strani"
|
1518 |
+
|
1519 |
+
#: includes/functions.php:3324
|
1520 |
+
msgid "Impressions"
|
1521 |
+
msgstr "Prikazi"
|
1522 |
+
|
1523 |
+
#: includes/functions.php:3325 includes/functions.php:3326
|
1524 |
+
#: includes/functions.php:3334
|
1525 |
+
msgid "Clicks"
|
1526 |
+
msgstr "Kliki"
|
1527 |
+
|
1528 |
+
#: includes/functions.php:3326
|
1529 |
+
msgid "events"
|
1530 |
+
msgstr "dogodki"
|
1531 |
+
|
1532 |
+
#: includes/functions.php:3327
|
1533 |
+
msgid "Ad Blocking Share"
|
1534 |
+
msgstr "Delež blokiranja oglasov"
|
1535 |
+
|
1536 |
+
#. translators: CTR as Click Through Rate
|
1537 |
+
#: includes/functions.php:3327 includes/functions.php:3339
|
1538 |
+
msgid "CTR"
|
1539 |
+
msgstr "CTR"
|
1540 |
+
|
1541 |
+
#: includes/functions.php:3421
|
1542 |
+
msgid "pageviews"
|
1543 |
+
msgid_plural "pageviews"
|
1544 |
+
msgstr[0] "ogled strani"
|
1545 |
+
msgstr[1] "ogleda strani"
|
1546 |
+
msgstr[2] "ogledi strani"
|
1547 |
+
msgstr[3] "ogledov strani"
|
1548 |
+
|
1549 |
+
#: includes/functions.php:3421
|
1550 |
+
msgid "impressions"
|
1551 |
+
msgid_plural "impressions"
|
1552 |
+
msgstr[0] "prikaz"
|
1553 |
+
msgstr[1] "prikaza"
|
1554 |
+
msgstr[2] "prikazi"
|
1555 |
+
msgstr[3] "prikazov"
|
1556 |
+
|
1557 |
+
#: includes/functions.php:3425
|
1558 |
+
msgid "event"
|
1559 |
+
msgid_plural "events"
|
1560 |
+
msgstr[0] "dogodek"
|
1561 |
+
msgstr[1] "dogodka"
|
1562 |
+
msgstr[2] "dogodki"
|
1563 |
+
msgstr[3] "dogodkov"
|
1564 |
+
|
1565 |
+
#: includes/functions.php:3425
|
1566 |
+
msgid "click"
|
1567 |
+
msgid_plural "clicks"
|
1568 |
+
msgstr[0] "klik"
|
1569 |
+
msgstr[1] "klika"
|
1570 |
+
msgstr[2] "kliki"
|
1571 |
+
msgstr[3] "klikov"
|
1572 |
+
|
1573 |
+
#: includes/functions.php:3493
|
1574 |
+
msgctxt "Impressions"
|
1575 |
+
msgid "Average"
|
1576 |
+
msgstr "Povprečni"
|
1577 |
+
|
1578 |
+
#: includes/functions.php:3511
|
1579 |
+
msgctxt "Clicks"
|
1580 |
+
msgid "Average"
|
1581 |
+
msgstr "Povprečni"
|
1582 |
+
|
1583 |
+
#: includes/functions.php:3528
|
1584 |
+
msgctxt "Ad Blocking Share / CTR"
|
1585 |
+
msgid "Average"
|
1586 |
+
msgstr "Povprečni"
|
1587 |
+
|
1588 |
+
#: includes/placeholders.php:19
|
1589 |
+
msgid "Custom"
|
1590 |
+
msgstr "Po meri"
|
1591 |
+
|
1592 |
+
#: includes/placeholders.php:102
|
1593 |
+
msgid "Placeholder Editor"
|
1594 |
+
msgstr "Urejevalnik Polnila"
|
1595 |
+
|
1596 |
+
#: includes/placeholders.php:345
|
1597 |
+
msgid "Select placeholder"
|
1598 |
+
msgstr "Izberi polnilo"
|
1599 |
+
|
1600 |
+
#: includes/placeholders.php:346
|
1601 |
+
msgid "Edit placeholder size, colors and text"
|
1602 |
+
msgstr "Uredi velikost, barve in besedilo polnila"
|
1603 |
+
|
1604 |
+
#: includes/placeholders.php:347
|
1605 |
+
msgid "Close placeholder editor"
|
1606 |
+
msgstr "Zapri urejevalnik polnila"
|
1607 |
+
|
1608 |
+
#: includes/placeholders.php:351
|
1609 |
+
msgid "Placeholder"
|
1610 |
+
msgstr "Polnilo"
|
1611 |
+
|
1612 |
+
#: includes/placeholders.php:356 settings.php:740 settings.php:3120
|
1613 |
+
msgid "Size"
|
1614 |
+
msgstr "Velikost"
|
1615 |
+
|
1616 |
+
#: includes/placeholders.php:372
|
1617 |
+
msgid "Background color"
|
1618 |
+
msgstr "Barva ozadja"
|
1619 |
+
|
1620 |
+
#: includes/placeholders.php:377
|
1621 |
+
msgid "Height"
|
1622 |
+
msgstr "Višina"
|
1623 |
+
|
1624 |
+
#: includes/placeholders.php:382
|
1625 |
+
msgid "Width"
|
1626 |
+
msgstr "Širina"
|
1627 |
+
|
1628 |
+
#: includes/placeholders.php:391
|
1629 |
+
msgid "Text"
|
1630 |
+
msgstr "Besedilo"
|
1631 |
+
|
1632 |
+
#: includes/placeholders.php:396
|
1633 |
+
msgid "Text color"
|
1634 |
+
msgstr "Barva besedila"
|
1635 |
+
|
1636 |
+
#: includes/placeholders.php:405
|
1637 |
+
msgid ""
|
1638 |
+
"Here you can create a universal placeholder image that can be used in place "
|
1639 |
+
"of ads when they are not available yet.\n"
|
1640 |
+
"Placeholder images created here will behave as any other image. You can also "
|
1641 |
+
"save them to local computer or server."
|
1642 |
+
msgstr ""
|
1643 |
+
"Tukaj lahko ustvarite univerzalno slikovno polnilo, ki se lahko uporabi "
|
1644 |
+
"namesto oglasov, ko še niso na razpolago.\n"
|
1645 |
+
"Slikovna polnila, ki jih ustvarite tukaj, se bodo obnašala kot katerakoli "
|
1646 |
+
"slika. Lahko jih tudi shranite na lokalni računalnik ali strežnik."
|
1647 |
+
|
1648 |
+
#: includes/placeholders.php:410
|
1649 |
+
msgid ""
|
1650 |
+
"Choose between common ad sizes 300x250, 336x280, 728x90, 468x60, 250x250, "
|
1651 |
+
"300x600 or define custom size.\n"
|
1652 |
+
"Default placeholders are gray with size as placeholder text but you can use "
|
1653 |
+
"any color or text you want. Click on <strong>Edit</strong> button to edit "
|
1654 |
+
"placeholder size, color or text.\n"
|
1655 |
+
"You can also create blank solid color rectangles by clearing placeholder "
|
1656 |
+
"text."
|
1657 |
+
msgstr ""
|
1658 |
+
"Izberite med pogostimi velikostmi oglasov 300x250, 336x280, 728x90, 468x60, "
|
1659 |
+
"250x250, 300x600 ali pa ustvarite velikost po meri. \n"
|
1660 |
+
"Privzeta polnila so siva z velikostjo kot besedilom polnila, lahko pa "
|
1661 |
+
"uporabite katerokoli barvo ali besedilo. Kliknite na gumb <strong>Uredi</"
|
1662 |
+
"strong> za urejanje velikosti, barve ali besedila polnila.\n"
|
1663 |
+
"Lahko naredite tudi prazen pravokotnik z enotno barvo tako, da pobrišete "
|
1664 |
+
"besedilo polnila."
|
1665 |
+
|
1666 |
+
#: includes/placeholders.php:414
|
1667 |
+
msgid ""
|
1668 |
+
"<strong>Please note</strong>: if you have active rotation editor the code "
|
1669 |
+
"window shows only the code for the currently selected option.\n"
|
1670 |
+
"Therefore, code generator will in such case import or generate code for the "
|
1671 |
+
"currently selected option."
|
1672 |
+
msgstr ""
|
1673 |
+
"<strong>Vedite</strong>: če imate aktiven urejevalnik rotacij, okno kode "
|
1674 |
+
"prikazuje samo kodo trenutno izbrane različice.\n"
|
1675 |
+
"Zato bo generator kode v tem primeru uvozil ali generiral kodo za trenutno "
|
1676 |
+
"izbrano različico."
|
1677 |
+
|
1678 |
+
#: includes/placeholders.php:417
|
1679 |
+
msgid ""
|
1680 |
+
"Code generator for banners and AdSense generates the code only when you "
|
1681 |
+
"click on the button Generate code.\n"
|
1682 |
+
"It is a tool that can help you to create code for AdSense or banners with "
|
1683 |
+
"links. So if you are using rotation editor and switch between options, you "
|
1684 |
+
"need to (optionally) import and generate code for each rotation option."
|
1685 |
+
msgstr ""
|
1686 |
+
"Generator kode za pasice in AdSense generira kodo samo, ko kliknete na gumb "
|
1687 |
+
"Generiraj kodo.\n"
|
1688 |
+
"Je orodje, ki vam lahko pomaga ustvariti kodo za AdSense in pasice s "
|
1689 |
+
"povezavami. Če uporabljate urejevalnik rotacij in preklapljate med "
|
1690 |
+
"različicami, morate tudi (po potrebi) uvoziti in generirati kodo za vsako "
|
1691 |
+
"različico rotacije."
|
1692 |
+
|
1693 |
+
#: includes/placeholders.php:420
|
1694 |
+
msgid ""
|
1695 |
+
"Ad Inserter has a simple code generator for banners and placeholders.\n"
|
1696 |
+
"You can select banner image (or placeholder), optionally define link (web "
|
1697 |
+
"page address that will open when the banner will be clicked) and select "
|
1698 |
+
"whether to open link in a new tab."
|
1699 |
+
msgstr ""
|
1700 |
+
"Ad Inserter ima preprost generator kode za pasice in polnila.\n"
|
1701 |
+
"Izberete lahko sliko pasice (ali polnilo), po potrebi določite povezavo "
|
1702 |
+
"(naslov spletne strani, ki se bo odprla s klikom na pasico) in izberete, ali "
|
1703 |
+
"naj se povezava odpre v novem zavihku."
|
1704 |
+
|
1705 |
+
#: includes/preview-adb.php:7
|
1706 |
+
msgid "Add dummy paragraph"
|
1707 |
+
msgstr "Dodaj testni odstavek"
|
1708 |
+
|
1709 |
+
#: includes/preview-adb.php:8
|
1710 |
+
msgid "Remove dummy paragraph"
|
1711 |
+
msgstr "Odstrani testni odstavek"
|
1712 |
+
|
1713 |
+
#: includes/preview-adb.php:9 includes/preview.php:1743
|
1714 |
+
msgid "Use current settings"
|
1715 |
+
msgstr "Uporabi trenutne nastavitve"
|
1716 |
+
|
1717 |
+
#: includes/preview-adb.php:9
|
1718 |
+
msgctxt "Button"
|
1719 |
+
msgid "Use"
|
1720 |
+
msgstr "Uporabi"
|
1721 |
+
|
1722 |
+
#: includes/preview-adb.php:10
|
1723 |
+
msgid "Reset to the saved settings"
|
1724 |
+
msgstr "Ponastavi na shranjene nastavitve"
|
1725 |
+
|
1726 |
+
#: includes/preview-adb.php:10
|
1727 |
+
msgctxt "Button"
|
1728 |
+
msgid "Reset"
|
1729 |
+
msgstr "Ponastavi"
|
1730 |
+
|
1731 |
+
#: includes/preview-adb.php:11
|
1732 |
+
msgid "Reset to the default settings"
|
1733 |
+
msgstr "Ponastavi na privzete nastavitve"
|
1734 |
+
|
1735 |
+
#: includes/preview-adb.php:11
|
1736 |
+
msgctxt "Button"
|
1737 |
+
msgid "Default"
|
1738 |
+
msgstr "Privzeto"
|
1739 |
+
|
1740 |
+
#: includes/preview-adb.php:12 includes/preview.php:1746
|
1741 |
+
msgid "Close preview window"
|
1742 |
+
msgstr "Zapri okno predogleda"
|
1743 |
+
|
1744 |
+
#: includes/preview-adb.php:12
|
1745 |
+
msgctxt "Button "
|
1746 |
+
msgid "Cancel"
|
1747 |
+
msgstr "Prekliči"
|
1748 |
+
|
1749 |
+
#: includes/preview-adb.php:60
|
1750 |
+
msgid "Ad Blocking Detected Message Preview"
|
1751 |
+
msgstr "Predogled Sporočila ko je Zaznano Blokiranje Oglasov"
|
1752 |
+
|
1753 |
+
#: includes/preview-adb.php:348 settings.php:2430
|
1754 |
+
msgid "Message CSS"
|
1755 |
+
msgstr "CSS sporočila"
|
1756 |
+
|
1757 |
+
#: includes/preview-adb.php:353 settings.php:2438
|
1758 |
+
msgid "Overlay CSS"
|
1759 |
+
msgstr "CSS prevleke"
|
1760 |
+
|
1761 |
+
#: includes/preview.php:135
|
1762 |
+
msgid "Sticky Code Preview"
|
1763 |
+
msgstr "Predogled Lepljive Kode"
|
1764 |
+
|
1765 |
+
#: includes/preview.php:135
|
1766 |
+
msgid "Code Preview"
|
1767 |
+
msgstr "Predogled Kode"
|
1768 |
+
|
1769 |
+
#: includes/preview.php:1741
|
1770 |
+
msgid "Highlight inserted code"
|
1771 |
+
msgstr "Označi vstavljeno kodo"
|
1772 |
+
|
1773 |
+
#: includes/preview.php:1741
|
1774 |
+
msgid "Highlight"
|
1775 |
+
msgstr "Označi"
|
1776 |
+
|
1777 |
+
#: includes/preview.php:1744
|
1778 |
+
msgid "Reset to block settings"
|
1779 |
+
msgstr "Ponastavi na nastavitve bloka"
|
1780 |
+
|
1781 |
+
#: includes/preview.php:1755 settings.php:896 settings.php:2417
|
1782 |
+
msgid "Preview"
|
1783 |
+
msgstr "Predogled"
|
1784 |
+
|
1785 |
+
#: includes/preview.php:1759
|
1786 |
+
msgid "AdSense ad unit"
|
1787 |
+
msgstr "Oglasna enota AdSense"
|
1788 |
+
|
1789 |
+
#: includes/preview.php:1827
|
1790 |
+
msgid "wrapping div"
|
1791 |
+
msgstr "div za ovijanje"
|
1792 |
+
|
1793 |
+
#: includes/preview.php:1832 includes/preview.php:1839
|
1794 |
+
msgid "background"
|
1795 |
+
msgstr "ozadje"
|
1796 |
+
|
1797 |
+
#: includes/preview.php:1857 includes/preview.php:2003 settings.php:938
|
1798 |
+
msgid "Alignment and style"
|
1799 |
+
msgstr "Poravnava in slog"
|
1800 |
+
|
1801 |
+
#: includes/preview.php:1925
|
1802 |
+
msgid "Horizontal margin"
|
1803 |
+
msgstr "Vodoravni odmik"
|
1804 |
+
|
1805 |
+
#: includes/preview.php:1974
|
1806 |
+
msgid "Vertical margin"
|
1807 |
+
msgstr "Navpični odmik"
|
1808 |
+
|
1809 |
+
#: includes/preview.php:1996
|
1810 |
+
msgid "Animate"
|
1811 |
+
msgstr "Animiraj"
|
1812 |
+
|
1813 |
+
#: includes/preview.php:2055
|
1814 |
+
msgid ""
|
1815 |
+
"This is a preview of the code between dummy paragraphs. Here you can test "
|
1816 |
+
"various block alignments, visually edit margin and padding values of the "
|
1817 |
+
"wrapping div\n"
|
1818 |
+
"or write CSS code directly and watch live preview. Highlight button "
|
1819 |
+
"highlights background, wrapping div margin and code area, while Reset button "
|
1820 |
+
"restores all the values to those of the current block."
|
1821 |
+
msgstr ""
|
1822 |
+
"To je predogled kode med testnimi odstavki. Tukaj lahko preizkusite različne "
|
1823 |
+
"poravnave, vizualno urejujete vredosti margin in padding div-a za ovijanje\n"
|
1824 |
+
"ali neposredno napišete kodo CSS in opazujete predogled v živo. Gumb Označi "
|
1825 |
+
"označi ozadje, margin območje div-a za ovijanje in območje kode, gumb "
|
1826 |
+
"Ponastavi pa vrne vse vrednosti na tiste od trenutnega bloka."
|
1827 |
+
|
1828 |
+
#: includes/preview.php:2058
|
1829 |
+
msgid ""
|
1830 |
+
"This is a preview of the saved block between dummy paragraphs. It shows the "
|
1831 |
+
"code with the alignment and style as it is set for this block. Highlight "
|
1832 |
+
"button highlights background, wrapping div margin and code area."
|
1833 |
+
msgstr ""
|
1834 |
+
"To je predogled shranjenega bloka med testnimi odstavki. Prikazuje kodo s "
|
1835 |
+
"poravnavo in slogom kot je nastavljen za ta blok. Gump Označi označi ozadje, "
|
1836 |
+
"margin območje div-a za ovijanje in območje kode."
|
1837 |
+
|
1838 |
+
#: includes/preview.php:2060
|
1839 |
+
msgid ""
|
1840 |
+
"This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
|
1841 |
+
"code was loaded from your AdSense account. The ad block is displayed on a "
|
1842 |
+
"dummy page so it may be blank (no ads). Click on the Highlight button to "
|
1843 |
+
"highlight ad block."
|
1844 |
+
msgstr ""
|
1845 |
+
"To je predogled oglasnega bloka AdSense med testnimi odstavki. Koda AdSense "
|
1846 |
+
"je bila naložena z vašega računa AdSense. Oglasni blok je prikazan med "
|
1847 |
+
"testnimi odstavki, zato je lahko prazen (brez oglasov). Kliknite na gumb "
|
1848 |
+
"Označi za označitev bloka."
|
1849 |
+
|
1850 |
+
#: includes/preview.php:2066
|
1851 |
+
msgid ""
|
1852 |
+
"You can resize the window (and refresh the page to reload ads) to check "
|
1853 |
+
"display with different screen widths.\n"
|
1854 |
+
"Once you are satisfied with alignment click on the Use button and the "
|
1855 |
+
"settings will be copied to the active block."
|
1856 |
+
msgstr ""
|
1857 |
+
"Velikost okna lahko spremenite (in osvežite stran, da se oglasi ponovno "
|
1858 |
+
"naložijo) in tako lahko preverite prikaz pri različnih velikostih zaslona.\n"
|
1859 |
+
"Ko ste zadovoljni s poravnavo kliknite na gumb Uporabi in nastavitve se bodo "
|
1860 |
+
"prenesle v aktivni blok."
|
1861 |
+
|
1862 |
+
#: includes/preview.php:2068
|
1863 |
+
msgid ""
|
1864 |
+
"Please note that the code, block name, alignment and style are taken from "
|
1865 |
+
"the current block settings (may not be saved).\n"
|
1866 |
+
"<strong>No wrapping</strong> style inserts the code as it is so margin and "
|
1867 |
+
"padding can't be set. However, you can use own HTML code for the block."
|
1868 |
+
msgstr ""
|
1869 |
+
"Prosimo vedite, da so koda, ime bloka, poravnava in slog vzeti s trenutnih "
|
1870 |
+
"nastavitev bloka (te mogoče niso shranjene).\n"
|
1871 |
+
"Slog <strong>Brez ovijanja</strong> vstavi kodo kot je, zato vrednosti "
|
1872 |
+
"margin in padding ne morete nastaviti. Seveda pa lahko uporabite lastno HTML "
|
1873 |
+
"kodo za blok."
|
1874 |
+
|
1875 |
+
#: includes/preview.php:2073 includes/preview.php:2087
|
1876 |
+
#: includes/preview.php:2097 includes/preview.php:2107
|
1877 |
+
#: includes/preview.php:2117
|
1878 |
+
msgid ""
|
1879 |
+
"Ad Inserter can be configured to insert any code anywhere on the page. Each "
|
1880 |
+
"code with it's settings is called a block.\n"
|
1881 |
+
"Free Ad Inserter supports 16 blocks, Ad Inserter Pro supports up to 96 "
|
1882 |
+
"blocks (depending on the license type).\n"
|
1883 |
+
"The settings page is divided into tabs - 16 blocks and general plugin "
|
1884 |
+
"settings. Black number means inactive block (code is not inserted "
|
1885 |
+
"anywhere),\n"
|
1886 |
+
"red number means block is using automatic insertion, blue number means block "
|
1887 |
+
"is using manual insertion while violet number means block is using automatic "
|
1888 |
+
"and manual insertion."
|
1889 |
+
msgstr ""
|
1890 |
+
"Ad Inserter se lahko nastavi za vstavljanje katerekoli kode kjerkoli na "
|
1891 |
+
"strani. Vsaka koda s svojimi nastavitvami se imenuje blok.\n"
|
1892 |
+
"Brezplačni Ad Inserter podpira 16 blokov, Ad Inserter Pro pa do 96 blokov "
|
1893 |
+
"(odvisno od vrste licence).\n"
|
1894 |
+
"Stran z nastavitvami je razdeljena na zavihke - 16 blokov in splošne "
|
1895 |
+
"nastavitve vtičnika. Črna številka pomeni neaktiven blok (koda ni nikjer "
|
1896 |
+
"vstavljena),\n"
|
1897 |
+
"rdeča številka pomeni, da blok uporablja samodejno vstavljanje, modra "
|
1898 |
+
"številka pomeni, da blok uporablja ročno vstavljanje, medtem ko vijolična "
|
1899 |
+
"številka pomeni, da blok uporablja samodejno in ročno vstavljanje."
|
1900 |
+
|
1901 |
+
#: includes/preview.php:2078 includes/preview.php:2092
|
1902 |
+
#: includes/preview.php:2102 includes/preview.php:2112
|
1903 |
+
#: includes/preview.php:2122
|
1904 |
+
msgid ""
|
1905 |
+
"Few very important things you need to know in order to insert code and "
|
1906 |
+
"display some ad:\n"
|
1907 |
+
"Enable and use at least one insertion option (Automatic insertion, Widget, "
|
1908 |
+
"Shortcode, PHP function call).\n"
|
1909 |
+
"Enable insertion on at least one WordPress page type (Posts, Static pages, "
|
1910 |
+
"Homepage, Category pages, Search pages, Archive pages).\n"
|
1911 |
+
"Single pages (posts and static pages) have also additional setting for "
|
1912 |
+
"individual exceptions. Use default blank value unless you are using "
|
1913 |
+
"individual post/page exceptions."
|
1914 |
+
msgstr ""
|
1915 |
+
"Nekaj pomembnih stvari, ki jih morate vedeti, da bi lahko vstavili kodo in "
|
1916 |
+
"prikazali nek oglas:\n"
|
1917 |
+
"Omogočite in uporabite vsaj eno možnost vstavljanja (Samodejno vstavljanje, "
|
1918 |
+
"Gradnik, Kratka koda, Klic funkcije PHP).\n"
|
1919 |
+
"Omogočite vstavljanje vsaj za eno vrsto WordPress strani (Prispevki, "
|
1920 |
+
"Statične strani, Domača stran, Strani kategorij, Iskalne strani, Strani "
|
1921 |
+
"arhiva).\n"
|
1922 |
+
"Enojne strani (prispevki in statične strani) imajo tudi dodatne nastavitve "
|
1923 |
+
"za posamezne izjeme. Uporabite privzeto prazno vrednost, razen, če "
|
1924 |
+
"uporabljate posamezne izjeme za prispevke/strani."
|
1925 |
+
|
1926 |
+
#: includes/preview.php:2084
|
1927 |
+
msgid ""
|
1928 |
+
"This is a preview of the code for sticky ads. Here you can test various "
|
1929 |
+
"horizontal and vertical alignments, close button locations, visually edit "
|
1930 |
+
"margin values\n"
|
1931 |
+
"or write CSS code directly and watch live preview. Highlight button "
|
1932 |
+
"highlights background, margin and code area, while Reset button restores all "
|
1933 |
+
"the values to those of the current block."
|
1934 |
+
msgstr ""
|
1935 |
+
"To je predogled kode za lepljive oglase. Tukaj lahko preizkusite različne "
|
1936 |
+
"vodoravne in navpične poravnave, položaj gumba za zapiranje, vizualno "
|
1937 |
+
"urejate vredosti odmika\n"
|
1938 |
+
"ali pa neposredno napišete kodo CSS in v živo opazujete predogled. Gumb "
|
1939 |
+
"Označi označi ozadje, območje odmika in območje kode, medtem ko gumb "
|
1940 |
+
"Ponastavi vrne vse vrednosti na tiste od trenutnega bloka."
|
1941 |
+
|
1942 |
+
#: settings.php:150
|
1943 |
+
msgid "Online Documentation"
|
1944 |
+
msgstr "Spletna Dokumentacija"
|
1945 |
+
|
1946 |
+
#: settings.php:151
|
1947 |
+
msgid ""
|
1948 |
+
"support forum - if you have issues using the plugin go here, check existing "
|
1949 |
+
"threads and open a new one if you don't find answers for your issue."
|
1950 |
+
msgstr ""
|
1951 |
+
"podporni forum - če imate težave z uporabo vtičnika pojdite sem, preverite "
|
1952 |
+
"obstoječe niti in odprite novo, če ne nejdete odgovorov za vašo težavo."
|
1953 |
+
|
1954 |
+
#: settings.php:151
|
1955 |
+
msgid "Support Forum"
|
1956 |
+
msgstr "Podporni Forum"
|
1957 |
+
|
1958 |
+
#: settings.php:152
|
1959 |
+
msgid ""
|
1960 |
+
"Need more blocks, sticky ads, GEO targeting, impression and click tracking? "
|
1961 |
+
"Upgrade to Ad Inserter Pro"
|
1962 |
+
msgstr ""
|
1963 |
+
"Potrebujete več blokov, lepljive oglase, GEO targetiranje, sledenje prikazom "
|
1964 |
+
"in klikom? Nadgradite v Ad Inserter Pro"
|
1965 |
+
|
1966 |
+
#: settings.php:153
|
1967 |
+
msgid "Show list of all blocks"
|
1968 |
+
msgstr "Prikaži seznam vseh blokov"
|
1969 |
+
|
1970 |
+
#: settings.php:163
|
1971 |
+
msgid "Loaded plugin JavaScript file version"
|
1972 |
+
msgstr "Naložena različica JavaScript datoteke vtičnika"
|
1973 |
+
|
1974 |
+
#. translators: %s: HTML tags
|
1975 |
+
#: settings.php:165
|
1976 |
+
msgid ""
|
1977 |
+
"Wrong or %s missing version parameter %s of the JavaScript file, probably "
|
1978 |
+
"due to inappropriate caching."
|
1979 |
+
msgstr ""
|
1980 |
+
"Napačen ali %s manjkajoč parameter verzije %s JavaScript datoteke, najbrž "
|
1981 |
+
"zaradi nepravilnega predpomnjenja."
|
1982 |
+
|
1983 |
+
#: settings.php:166
|
1984 |
+
msgid ""
|
1985 |
+
"Missing version parameter of the JavaScript file, probably due to "
|
1986 |
+
"inappropriate caching."
|
1987 |
+
msgstr ""
|
1988 |
+
"Manjka parameter verzije JavaScript datoteke, najbrž zaradi nepravilnega "
|
1989 |
+
"predpomnjenja."
|
1990 |
+
|
1991 |
+
#: settings.php:167
|
1992 |
+
msgid ""
|
1993 |
+
"Incompatible (old) JavaScript file loaded, probably due to inappropriate "
|
1994 |
+
"caching."
|
1995 |
+
msgstr ""
|
1996 |
+
"Naložena je nezdružljiva (stara) različica JavaScript datoteke, najbrž "
|
1997 |
+
"zaradi nepravilnega predpomnjenja."
|
1998 |
+
|
1999 |
+
#: settings.php:168 settings.php:179
|
2000 |
+
msgid ""
|
2001 |
+
"Please delete browser's cache and all other caches used and then reload this "
|
2002 |
+
"page."
|
2003 |
+
msgstr ""
|
2004 |
+
"Prosimo, pobrišite predpomnilnik brskalnika in vse druge predpomnilnike ter "
|
2005 |
+
"potem na novo naložite to stran."
|
2006 |
+
|
2007 |
+
#: settings.php:174
|
2008 |
+
msgid "Loaded plugin CSS file version"
|
2009 |
+
msgstr "Naložena različica CSS datoteke vtičnika"
|
2010 |
+
|
2011 |
+
#. translators: %s: HTML tags
|
2012 |
+
#: settings.php:176
|
2013 |
+
msgid ""
|
2014 |
+
"Wrong or %s missing version parameter %s of the CSS file, probably due to "
|
2015 |
+
"inappropriate caching."
|
2016 |
+
msgstr ""
|
2017 |
+
"Napačen ali %s manjkajoč parameter verzije %s CSS datoteke, najbrž zaradi "
|
2018 |
+
"nepravilnega predpomnjenja."
|
2019 |
+
|
2020 |
+
#: settings.php:177
|
2021 |
+
msgid ""
|
2022 |
+
"Missing version parameter of the CSS file, probably due to inappropriate "
|
2023 |
+
"caching."
|
2024 |
+
msgstr ""
|
2025 |
+
"Manjka parameter verzije JavaScript datoteke, najbrž zaradi nepravilnega "
|
2026 |
+
"predpomnjenja."
|
2027 |
+
|
2028 |
+
#: settings.php:178
|
2029 |
+
msgid ""
|
2030 |
+
"Incompatible (old) CSS file loaded, probably due to inappropriate caching."
|
2031 |
+
msgstr ""
|
2032 |
+
"Naložena je nezdružljiva (stara) različica CSS datoteke, najbrž zaradi "
|
2033 |
+
"nepravilnega predpomnjenja."
|
2034 |
+
|
2035 |
+
#: settings.php:185
|
2036 |
+
msgid "WARNING"
|
2037 |
+
msgstr "OPOZORILO"
|
2038 |
+
|
2039 |
+
#. translators: %s: HTML tags
|
2040 |
+
#: settings.php:187
|
2041 |
+
msgid "Page may %s not be loaded properly. %s"
|
2042 |
+
msgstr "Stran mogoče %s ni naložena pravilno. %s"
|
2043 |
+
|
2044 |
+
#: settings.php:188
|
2045 |
+
msgid ""
|
2046 |
+
"Check ad blocking software that may block CSS, JavaScript or image files."
|
2047 |
+
msgstr ""
|
2048 |
+
"Preverite programe za blokiranje oglasov, ki lahko onemogočijo CSS, "
|
2049 |
+
"JavaScript ali slikovne datoteke."
|
2050 |
+
|
2051 |
+
#: settings.php:202
|
2052 |
+
msgid "Option Name"
|
2053 |
+
msgstr "Ime Različice"
|
2054 |
+
|
2055 |
+
#: settings.php:208
|
2056 |
+
msgid "Share"
|
2057 |
+
msgstr "Delež"
|
2058 |
+
|
2059 |
+
#: settings.php:211
|
2060 |
+
msgid ""
|
2061 |
+
"Option share in percents - 0 means option is disabled, if share for one "
|
2062 |
+
"option is not defined it will be calculated automatically. Leave all share "
|
2063 |
+
"fields empty for equal option shares."
|
2064 |
+
msgstr ""
|
2065 |
+
"Delež različice v odstotkih - 0 pomeni onemogočeno različico, če delež za "
|
2066 |
+
"eno različico ni določen bo izračunan samodejno. Pustite vsa polja za deleže "
|
2067 |
+
"prazne za enakomerno porazdelitev deležev različic."
|
2068 |
+
|
2069 |
+
#: settings.php:214
|
2070 |
+
msgid "Time"
|
2071 |
+
msgstr "Čas"
|
2072 |
+
|
2073 |
+
#: settings.php:217
|
2074 |
+
msgid ""
|
2075 |
+
"Option time in seconds - 0 means option is disabled and will be skipped. "
|
2076 |
+
"Leave all time fields empty for no timed rotation."
|
2077 |
+
msgstr ""
|
2078 |
+
"Čas različice v sekundah - 0 pomeni, da je različica onemogočena in bo "
|
2079 |
+
"preskočena. Pustite vse polja za čas prazna za rotacijo brez časov."
|
2080 |
+
|
2081 |
+
#: settings.php:367
|
2082 |
+
msgid "General Settings"
|
2083 |
+
msgstr "Splošne Nastavitve"
|
2084 |
+
|
2085 |
+
#: settings.php:528 settings.php:2195 settings.php:2251 settings.php:2410
|
2086 |
+
msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
|
2087 |
+
msgstr ""
|
2088 |
+
"Preklopi Poudarjanje Sintakse / Preprost urejevalnik za mobilne naprave"
|
2089 |
+
|
2090 |
+
#: settings.php:535
|
2091 |
+
msgid "Toggle tools"
|
2092 |
+
msgstr "Preklopi orodja"
|
2093 |
+
|
2094 |
+
#: settings.php:543
|
2095 |
+
msgid "Process PHP code in block"
|
2096 |
+
msgstr "Procesiraj PHP kodo v bloku"
|
2097 |
+
|
2098 |
+
#: settings.php:550
|
2099 |
+
msgid "Disable insertion of this block"
|
2100 |
+
msgstr "Onemogoči vstavljanje tega bloka"
|
2101 |
+
|
2102 |
+
#: settings.php:562
|
2103 |
+
msgid "Toggle code generator"
|
2104 |
+
msgstr "Preklopi generator kode"
|
2105 |
+
|
2106 |
+
#: settings.php:566
|
2107 |
+
msgid "Toggle rotation editor"
|
2108 |
+
msgstr "Preklopi urejevalnik rotacije"
|
2109 |
+
|
2110 |
+
#: settings.php:570
|
2111 |
+
msgid "Open visual HTML editor"
|
2112 |
+
msgstr "Odpri vizualni HTML urejevalnik"
|
2113 |
+
|
2114 |
+
#: settings.php:580
|
2115 |
+
msgid "Show AdSense ad units"
|
2116 |
+
msgstr "Pokaži oglasne enote AdSense"
|
2117 |
+
|
2118 |
+
#: settings.php:589
|
2119 |
+
msgid "Clear block"
|
2120 |
+
msgstr "Počisti blok"
|
2121 |
+
|
2122 |
+
#: settings.php:594 settings.php:3014
|
2123 |
+
msgid "Copy block"
|
2124 |
+
msgstr "Kopiraj blok"
|
2125 |
+
|
2126 |
+
#: settings.php:598
|
2127 |
+
msgid "Paste name"
|
2128 |
+
msgstr "Prilepi ime"
|
2129 |
+
|
2130 |
+
#: settings.php:602
|
2131 |
+
msgid "Paste code"
|
2132 |
+
msgstr "Prilepi kodo"
|
2133 |
+
|
2134 |
+
#: settings.php:606
|
2135 |
+
msgid "Paste settings"
|
2136 |
+
msgstr "Prilepi nastavitve"
|
2137 |
+
|
2138 |
+
#: settings.php:610
|
2139 |
+
msgid "Paste block (name, code and settings)"
|
2140 |
+
msgstr "Prilepi blok (ime, kodo in nastavitve)"
|
2141 |
+
|
2142 |
+
#: settings.php:629
|
2143 |
+
msgid "Remove option"
|
2144 |
+
msgstr "Odstrani različico"
|
2145 |
+
|
2146 |
+
#: settings.php:633
|
2147 |
+
msgid "Add option"
|
2148 |
+
msgstr "Dodaj različico"
|
2149 |
+
|
2150 |
+
#: settings.php:648
|
2151 |
+
msgid "Import code"
|
2152 |
+
msgstr "Uvozi kodo"
|
2153 |
+
|
2154 |
+
#: settings.php:652
|
2155 |
+
msgid "Generate code"
|
2156 |
+
msgstr "Generiraj kodo"
|
2157 |
+
|
2158 |
+
#: settings.php:657
|
2159 |
+
msgid "Banner"
|
2160 |
+
msgstr "Pasica"
|
2161 |
+
|
2162 |
+
#: settings.php:668
|
2163 |
+
msgid "Image"
|
2164 |
+
msgstr "Slika"
|
2165 |
+
|
2166 |
+
#: settings.php:676
|
2167 |
+
msgid "Link"
|
2168 |
+
msgstr "Povezava"
|
2169 |
+
|
2170 |
+
#: settings.php:687
|
2171 |
+
msgid "Open link in a new tab"
|
2172 |
+
msgstr "Odpri povezavo v novem zavihku"
|
2173 |
+
|
2174 |
+
#: settings.php:688
|
2175 |
+
msgid "Select Image"
|
2176 |
+
msgstr "Izberi Sliko"
|
2177 |
+
|
2178 |
+
#: settings.php:689
|
2179 |
+
msgid "Select Placeholder"
|
2180 |
+
msgstr "Izberi Polnilo"
|
2181 |
+
|
2182 |
+
#: settings.php:701
|
2183 |
+
msgid "Comment"
|
2184 |
+
msgstr "Komentar"
|
2185 |
+
|
2186 |
+
#: settings.php:710
|
2187 |
+
msgctxt "AdSense"
|
2188 |
+
msgid "Publisher ID"
|
2189 |
+
msgstr "ID založnika"
|
2190 |
+
|
2191 |
+
#: settings.php:719
|
2192 |
+
msgctxt "AdSense"
|
2193 |
+
msgid "Ad Slot ID"
|
2194 |
+
msgstr "ID mesta"
|
2195 |
+
|
2196 |
+
#: settings.php:728
|
2197 |
+
msgid "Ad Type"
|
2198 |
+
msgstr "Vrsta"
|
2199 |
+
|
2200 |
+
#: settings.php:752
|
2201 |
+
msgid "AMP Ad"
|
2202 |
+
msgstr "AMP Oglas"
|
2203 |
+
|
2204 |
+
#: settings.php:769
|
2205 |
+
msgid "Show ad units from your AdSense account"
|
2206 |
+
msgstr "Prikaži oglasne enote s tvojega AdSense računa"
|
2207 |
+
|
2208 |
+
#: settings.php:769
|
2209 |
+
msgid "AdSense ad units"
|
2210 |
+
msgstr "Oglasne enote AdSense"
|
2211 |
+
|
2212 |
+
#: settings.php:786
|
2213 |
+
msgctxt "AdSense"
|
2214 |
+
msgid "Layout"
|
2215 |
+
msgstr "Postavitev"
|
2216 |
+
|
2217 |
+
#: settings.php:795
|
2218 |
+
msgctxt "AdSense"
|
2219 |
+
msgid "Layout Key"
|
2220 |
+
msgstr "Ključ postavitve"
|
2221 |
+
|
2222 |
+
#: settings.php:892
|
2223 |
+
msgid ""
|
2224 |
+
"White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
|
2225 |
+
"Cookie or Referer (domain)"
|
2226 |
+
msgstr ""
|
2227 |
+
"Bel/Črn seznam Kategorij, Oznak, Taksonomij, ID Prispevkov, Url-jev, Url "
|
2228 |
+
"parametrov, Piškotkov ali napotiteljev (domen)"
|
2229 |
+
|
2230 |
+
#: settings.php:892
|
2231 |
+
msgid "Lists"
|
2232 |
+
msgstr "Seznami"
|
2233 |
+
|
2234 |
+
#: settings.php:893
|
2235 |
+
msgid "Widget, Shortcode and PHP function call"
|
2236 |
+
msgstr "Gradnik, Kratka koda in Klic PHP funkcije"
|
2237 |
+
|
2238 |
+
#: settings.php:893
|
2239 |
+
msgid "Manual"
|
2240 |
+
msgstr "Ročno"
|
2241 |
+
|
2242 |
+
#: settings.php:894
|
2243 |
+
msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
|
2244 |
+
msgstr ""
|
2245 |
+
"Zaznavanje Naprave na strani Strežnika/Klienta (Namizni, Tablica, Telefon)"
|
2246 |
+
|
2247 |
+
#: settings.php:894
|
2248 |
+
msgid "Devices"
|
2249 |
+
msgstr "Naprave"
|
2250 |
+
|
2251 |
+
#: settings.php:895
|
2252 |
+
msgid ""
|
2253 |
+
"Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
|
2254 |
+
"feeds), Filter, Scheduling, General tag"
|
2255 |
+
msgstr ""
|
2256 |
+
"Preveri status uporabnika, Omeji vstavljanja (napaka 404, zahteve Ajax, vir "
|
2257 |
+
"RSS), Filter, Urnik, Splošna oznaka"
|
2258 |
+
|
2259 |
+
#: settings.php:895
|
2260 |
+
msgid "Misc"
|
2261 |
+
msgstr "Razno"
|
2262 |
+
|
2263 |
+
#: settings.php:896
|
2264 |
+
msgid "Preview code and alignment"
|
2265 |
+
msgstr "Predogled kode in poravnave"
|
2266 |
+
|
2267 |
+
#: settings.php:899 settings.php:1876
|
2268 |
+
msgid ""
|
2269 |
+
"Rotation editor active - rotation code not generated! Make sure no rotation "
|
2270 |
+
"editor is active before saving settings."
|
2271 |
+
msgstr ""
|
2272 |
+
"Aktiven urejevalnik rotacij - koda za rotacijo ni generirana! Poskrbite, da "
|
2273 |
+
"noben urejevalnik rotacij ni aktiven pred shranjevanjem nastavitev."
|
2274 |
+
|
2275 |
+
#: settings.php:901
|
2276 |
+
msgid "Save All Settings"
|
2277 |
+
msgstr "Sharani Vse Nastavitve"
|
2278 |
+
|
2279 |
+
#: settings.php:951 strings.php:179
|
2280 |
+
msgctxt "Button"
|
2281 |
+
msgid "Show"
|
2282 |
+
msgstr "Pokaži"
|
2283 |
+
|
2284 |
+
#: settings.php:963
|
2285 |
+
msgid "Custom CSS code for the wrapping div"
|
2286 |
+
msgstr "CSS koda po meri za div za ovijanje"
|
2287 |
+
|
2288 |
+
#: settings.php:966 settings.php:967 settings.php:968 settings.php:969
|
2289 |
+
#: settings.php:970 settings.php:971
|
2290 |
+
msgid "CSS code for the wrapping div, click to edit"
|
2291 |
+
msgstr "CSS koda za div za ovijanje, kliknite za urejanje"
|
2292 |
+
|
2293 |
+
#: settings.php:986
|
2294 |
+
msgid "Enable insertion on posts"
|
2295 |
+
msgstr "Omogoči vstavljanje na prispevkih"
|
2296 |
+
|
2297 |
+
#: settings.php:988 settings.php:994
|
2298 |
+
msgid ""
|
2299 |
+
"Individual post exceptions (if enabled here) can be configured in post "
|
2300 |
+
"editor. Leave blank for no individual post exceptions."
|
2301 |
+
msgstr ""
|
2302 |
+
"Posamezne izjeme za prispevke (če so omogočene tukaj) se lahko nastavijo v "
|
2303 |
+
"urejevalniku prispevka. Pustite prazno za prispevke brez posameznih izjem."
|
2304 |
+
|
2305 |
+
#: settings.php:994
|
2306 |
+
msgid "Posts"
|
2307 |
+
msgstr "Prispevki"
|
2308 |
+
|
2309 |
+
#: settings.php:999
|
2310 |
+
msgid "Toggle list of individual exceptions"
|
2311 |
+
msgstr "Preklopi seznam posameznih izjem"
|
2312 |
+
|
2313 |
+
#: settings.php:1009 settings.php:1010
|
2314 |
+
msgid ""
|
2315 |
+
"Enable insertion on homepage: latest posts (including on sub-pages), static "
|
2316 |
+
"page or theme homepage (available positions may depend on hooks used by the "
|
2317 |
+
"theme)"
|
2318 |
+
msgstr ""
|
2319 |
+
"Omogoči vstavljanje na domači strani: zadnji prispevki (vključno na "
|
2320 |
+
"podstraneh), statična stran ali domača stran teme (razpoložljivi položaji so "
|
2321 |
+
"lahko odvisni od ročic, ki jih tema uporablja)"
|
2322 |
+
|
2323 |
+
#: settings.php:1010
|
2324 |
+
msgid "Homepage"
|
2325 |
+
msgstr "Domača stran"
|
2326 |
+
|
2327 |
+
#: settings.php:1014 settings.php:1015
|
2328 |
+
msgid "Enable insertion on category blog pages (including sub-pages)"
|
2329 |
+
msgstr "Omogoči vstavljanje na straneh kategorij (vključno s podstranmi)"
|
2330 |
+
|
2331 |
+
#: settings.php:1015
|
2332 |
+
msgid "Category pages"
|
2333 |
+
msgstr "Strani kategorij"
|
2334 |
+
|
2335 |
+
#: settings.php:1022
|
2336 |
+
msgid "Enable insertion on static pages"
|
2337 |
+
msgstr "Omogoči vstavljanje na statičnih straneh"
|
2338 |
+
|
2339 |
+
#: settings.php:1024 settings.php:1030
|
2340 |
+
msgid ""
|
2341 |
+
"Individual static page exceptions (if enabled here) can be configured in "
|
2342 |
+
"page editor. Leave blank for no individual page exceptions."
|
2343 |
+
msgstr ""
|
2344 |
+
"Posamezne izjeme za statične strani (če so omogočene tukaj) se lahko "
|
2345 |
+
"nastavijo v urejevalniku strani. Pustite prazno za strani brez posameznih "
|
2346 |
+
"izjem."
|
2347 |
+
|
2348 |
+
#: settings.php:1030
|
2349 |
+
msgid "Static pages"
|
2350 |
+
msgstr "Statične strani"
|
2351 |
+
|
2352 |
+
#: settings.php:1036 settings.php:1037
|
2353 |
+
msgid "Enable insertion on search blog pages"
|
2354 |
+
msgstr "Omogoči vstavljanje na iskalnih straneh"
|
2355 |
+
|
2356 |
+
#: settings.php:1037
|
2357 |
+
msgid "Search pages"
|
2358 |
+
msgstr "Iskalne strani"
|
2359 |
+
|
2360 |
+
#: settings.php:1041 settings.php:1042
|
2361 |
+
msgid "Enable insertion on tag or archive blog pages"
|
2362 |
+
msgstr "Omogoči vstavljanje na straneh oznak in arhivskih straneh"
|
2363 |
+
|
2364 |
+
#: settings.php:1042
|
2365 |
+
msgid "Tag / Archive pages"
|
2366 |
+
msgstr "Strani oznak / arhiva"
|
2367 |
+
|
2368 |
+
#: settings.php:1055
|
2369 |
+
msgctxt "post"
|
2370 |
+
msgid "Type"
|
2371 |
+
msgstr "Vrsta"
|
2372 |
+
|
2373 |
+
#. translators: %d: block number
|
2374 |
+
#: settings.php:1057
|
2375 |
+
msgid "Are you sure you want to clear all exceptions for block %d?"
|
2376 |
+
msgstr "Ali ste prepričani, da želite odstraniti vse izjeme za blok %d?"
|
2377 |
+
|
2378 |
+
#: settings.php:1087
|
2379 |
+
msgid "HTML element"
|
2380 |
+
msgstr "HTML element"
|
2381 |
+
|
2382 |
+
#: settings.php:1100
|
2383 |
+
msgid "HTML element selector or comma separated list of selectors"
|
2384 |
+
msgstr "Selektor HTML elementa ali z vejicami ločen seznam selektorjev"
|
2385 |
+
|
2386 |
+
#: settings.php:1106 settings.php:2323
|
2387 |
+
msgid "Action"
|
2388 |
+
msgstr "Akcija"
|
2389 |
+
|
2390 |
+
#: settings.php:1117 settings.php:1673
|
2391 |
+
msgid "Insertion"
|
2392 |
+
msgstr "Vstavljanje"
|
2393 |
+
|
2394 |
+
#: settings.php:1118
|
2395 |
+
msgid ""
|
2396 |
+
"Client-side insertion uses JavaScript to insert block when the page loads. "
|
2397 |
+
"Server-side insertion inserts block when the page is generated but needs "
|
2398 |
+
"Output buffering enabled."
|
2399 |
+
msgstr ""
|
2400 |
+
"Vstavljanje na strani klienta uporablja JavaScrit za vstavljanje bloka, ko "
|
2401 |
+
"se stran naloži. Vstavljanje na strani strežnika vstavi blok, ko se stran "
|
2402 |
+
"ustvari, vendar potrebuje omogočeno Predpomnjenje izhoda."
|
2403 |
+
|
2404 |
+
#: settings.php:1128
|
2405 |
+
msgid "JavaScript code position"
|
2406 |
+
msgstr "Položaj JavaScript kode"
|
2407 |
+
|
2408 |
+
#: settings.php:1129
|
2409 |
+
msgid ""
|
2410 |
+
"Page position where the JavaScript code for client-side insertion will be "
|
2411 |
+
"inserted. Should be after the HTML element if not waiting for DOM ready."
|
2412 |
+
msgstr ""
|
2413 |
+
"Položaj na strani kjer bo vstavljena JavaScript koda za vstavljanje na "
|
2414 |
+
"strani klienta. Biti mora za HTML elementom, če se ne čaka na pripravljen "
|
2415 |
+
"DOM."
|
2416 |
+
|
2417 |
+
#: settings.php:1143
|
2418 |
+
msgid "Paragraphs"
|
2419 |
+
msgstr "Odstavki"
|
2420 |
+
|
2421 |
+
#: settings.php:1149
|
2422 |
+
msgid ""
|
2423 |
+
"Paragraph number or comma separated paragraph numbers: 1 to N means "
|
2424 |
+
"paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
|
2425 |
+
"means random paragraph, value between 0 and 1 means relative position on the "
|
2426 |
+
"page (0.2 means paragraph at 20% of page paragraphs, 0.5 means paragraph "
|
2427 |
+
"halfway down the page, 0.9 means paragraph at 90% of page paragraphs, etc.), "
|
2428 |
+
"negative number means counting from the opposite direction"
|
2429 |
+
msgstr ""
|
2430 |
+
"Številka odstavka ali z vejico ločene številke odstavkov: 1 do N pomeni "
|
2431 |
+
"številko odstavka, %N pomeni vsakih N odstavkov, prazno pomeni vse odstavke, "
|
2432 |
+
"0 pomeni naključni odstavek, vrednost med 0 in 1 pomeni relativen položaj na "
|
2433 |
+
"strani (0.2 pomeni odstavek pri 20% odstavkov strani, 0.5 pomeni odstavek na "
|
2434 |
+
"polovici strani, 0.9 pomeni odstavek pri 90% odstavkov strani...), negativno "
|
2435 |
+
"število pomeni štetje z nasprotne smeri"
|
2436 |
+
|
2437 |
+
#: settings.php:1155
|
2438 |
+
msgid "Counting"
|
2439 |
+
msgstr "Štetje"
|
2440 |
+
|
2441 |
+
#: settings.php:1156
|
2442 |
+
msgid "Clearance"
|
2443 |
+
msgstr "Izogibanje"
|
2444 |
+
|
2445 |
+
#: settings.php:1165
|
2446 |
+
msgid "Count"
|
2447 |
+
msgstr "Štej"
|
2448 |
+
|
2449 |
+
#: settings.php:1171
|
2450 |
+
msgid "paragraphs with tags"
|
2451 |
+
msgstr "odstavke z značkami"
|
2452 |
+
|
2453 |
+
#: settings.php:1177
|
2454 |
+
msgid "Comma separated HTML tag names, usually only 'p' tags are used"
|
2455 |
+
msgstr ""
|
2456 |
+
"Z vejico ločena imena HTML značk, običajno so uporabljene samo značke 'p'"
|
2457 |
+
|
2458 |
+
#: settings.php:1186
|
2459 |
+
msgid "that have between"
|
2460 |
+
msgstr "ki imajo med"
|
2461 |
+
|
2462 |
+
#: settings.php:1192
|
2463 |
+
msgid "Minimum number of paragraph words, leave empty for no limit"
|
2464 |
+
msgstr "Najmanjše število besed v odstavkih, prazno pomeni brez omejitev"
|
2465 |
+
|
2466 |
+
#: settings.php:1201
|
2467 |
+
msgid "Maximum number of paragraph words, leave empty for no limit"
|
2468 |
+
msgstr "Največje število besed v odstavkih, prazno pomeni brez omejitev"
|
2469 |
+
|
2470 |
+
#: settings.php:1204 settings.php:1799
|
2471 |
+
msgid "words"
|
2472 |
+
msgstr "besed"
|
2473 |
+
|
2474 |
+
#: settings.php:1219 settings.php:1285 settings.php:1311
|
2475 |
+
msgid "Comma separated texts"
|
2476 |
+
msgstr "Z vejico ločena besedila"
|
2477 |
+
|
2478 |
+
#: settings.php:1228
|
2479 |
+
msgid "Minimum number of paragraphs"
|
2480 |
+
msgstr "Najmanjše število odstavkov"
|
2481 |
+
|
2482 |
+
#. translators: %s: list of HTML tags
|
2483 |
+
#: settings.php:1243
|
2484 |
+
msgid ""
|
2485 |
+
"Count also paragraphs inside %s elements - defined on general plugin "
|
2486 |
+
"settings page - tab ⚙ / tab General"
|
2487 |
+
msgstr ""
|
2488 |
+
"Štej tudi odstavke znotraj elementov %s - določeni na strani splošnih "
|
2489 |
+
"nastavitev vtičnika - zavihek ⚙ / zavihek Splošno"
|
2490 |
+
|
2491 |
+
#: settings.php:1243
|
2492 |
+
msgid "Count inside special elements"
|
2493 |
+
msgstr "Štej znotraj posebnih elementov"
|
2494 |
+
|
2495 |
+
#: settings.php:1254
|
2496 |
+
msgid "Minimum number of words in paragraphs above"
|
2497 |
+
msgstr "Najmanjše število besed v odstavkih zgoraj"
|
2498 |
+
|
2499 |
+
#: settings.php:1260
|
2500 |
+
msgid ""
|
2501 |
+
"Used only with automatic insertion After paragraph and empty paragraph "
|
2502 |
+
"numbers"
|
2503 |
+
msgstr ""
|
2504 |
+
"Uporabljeno samo s samodejnim vstavljanjem Za odstavkom in s praznimi "
|
2505 |
+
"številkami odstavkov"
|
2506 |
+
|
2507 |
+
#: settings.php:1270 settings.php:1296
|
2508 |
+
msgid "In"
|
2509 |
+
msgstr "V"
|
2510 |
+
|
2511 |
+
#: settings.php:1276
|
2512 |
+
msgid "Number of paragraphs above to check, leave empty to disable checking"
|
2513 |
+
msgstr "Število odstavkov zgoraj za preverjanje, prazno onemogoči preverjanje"
|
2514 |
+
|
2515 |
+
#: settings.php:1279
|
2516 |
+
msgid "paragraphs above avoid"
|
2517 |
+
msgstr "odstavkih zgoraj se izogni"
|
2518 |
+
|
2519 |
+
#: settings.php:1302
|
2520 |
+
msgid "Number of paragraphs below to check, leave empty to disable checking"
|
2521 |
+
msgstr "Število odstavkov spodaj za preverjanje, prazno onemogoči preverjanje"
|
2522 |
+
|
2523 |
+
#: settings.php:1305
|
2524 |
+
msgid "paragraphs below avoid"
|
2525 |
+
msgstr "odstavkih spodaj se izogni"
|
2526 |
+
|
2527 |
+
#: settings.php:1321
|
2528 |
+
msgid "If text is found"
|
2529 |
+
msgstr "Če je besedilo najdeno"
|
2530 |
+
|
2531 |
+
#: settings.php:1328
|
2532 |
+
msgid "check up to"
|
2533 |
+
msgstr "preveri do"
|
2534 |
+
|
2535 |
+
#: settings.php:1336
|
2536 |
+
msgctxt "check up to"
|
2537 |
+
msgid "paragraphs"
|
2538 |
+
msgstr "odstavkov"
|
2539 |
+
|
2540 |
+
#: settings.php:1352
|
2541 |
+
msgid "Categories"
|
2542 |
+
msgstr "Kategorije"
|
2543 |
+
|
2544 |
+
#: settings.php:1355
|
2545 |
+
msgid "Toggle category editor"
|
2546 |
+
msgstr "Preklopi urejevalnik kategorij"
|
2547 |
+
|
2548 |
+
#: settings.php:1358
|
2549 |
+
msgid "Comma separated category slugs"
|
2550 |
+
msgstr "Z vejico ločeni ključi kategorij"
|
2551 |
+
|
2552 |
+
#: settings.php:1362
|
2553 |
+
msgid "Blacklist categories"
|
2554 |
+
msgstr "Črni seznam kategorij"
|
2555 |
+
|
2556 |
+
#: settings.php:1366
|
2557 |
+
msgid "Whitelist categories"
|
2558 |
+
msgstr "Beli seznam kategorij"
|
2559 |
+
|
2560 |
+
#: settings.php:1378
|
2561 |
+
msgid "Tags"
|
2562 |
+
msgstr "Oznake"
|
2563 |
+
|
2564 |
+
#: settings.php:1381
|
2565 |
+
msgid "Toggle tag editor"
|
2566 |
+
msgstr "Preklopi urejevalnik oznak"
|
2567 |
+
|
2568 |
+
#: settings.php:1384
|
2569 |
+
msgid "Comma separated tag slugs"
|
2570 |
+
msgstr "Z vejico ločeni ključi oznak"
|
2571 |
+
|
2572 |
+
#: settings.php:1388
|
2573 |
+
msgid "Blacklist tags"
|
2574 |
+
msgstr "Črni seznam oznak"
|
2575 |
+
|
2576 |
+
#: settings.php:1392
|
2577 |
+
msgid "Whitelist tags"
|
2578 |
+
msgstr "Beli seznam oznak"
|
2579 |
+
|
2580 |
+
#: settings.php:1404
|
2581 |
+
msgid "Taxonomies"
|
2582 |
+
msgstr "Taksonomije"
|
2583 |
+
|
2584 |
+
#: settings.php:1407
|
2585 |
+
msgid "Toggle taxonomy editor"
|
2586 |
+
msgstr "Preklopi urejevalnik taksonomij"
|
2587 |
+
|
2588 |
+
#: settings.php:1410
|
2589 |
+
msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
|
2590 |
+
msgstr "Z vejico ločeni ključi: taksonomija, izraz ali taksonomija:izraz"
|
2591 |
+
|
2592 |
+
#: settings.php:1414
|
2593 |
+
msgid "Blacklist taxonomies"
|
2594 |
+
msgstr "Črni seznam taksonomij"
|
2595 |
+
|
2596 |
+
#: settings.php:1418
|
2597 |
+
msgid "Whitelist taxonomies"
|
2598 |
+
msgstr "Beli seznam taksonomij"
|
2599 |
+
|
2600 |
+
#: settings.php:1430
|
2601 |
+
msgid "Post IDs"
|
2602 |
+
msgstr "ID-ji prispevkov"
|
2603 |
+
|
2604 |
+
#: settings.php:1433
|
2605 |
+
msgid "Toggle post/page ID editor"
|
2606 |
+
msgstr "Preklopi urejevalnik ID-jev prispevkov/strani"
|
2607 |
+
|
2608 |
+
#: settings.php:1436
|
2609 |
+
msgid "Comma separated post/page IDs"
|
2610 |
+
msgstr "Z vejico ločeni ID-ji prispevkov/strani"
|
2611 |
+
|
2612 |
+
#: settings.php:1440
|
2613 |
+
msgid "Blacklist IDs"
|
2614 |
+
msgstr "Črni seznam ID-jev"
|
2615 |
+
|
2616 |
+
#: settings.php:1444
|
2617 |
+
msgid "Whitelist IDs"
|
2618 |
+
msgstr "Beli seznam ID-jev"
|
2619 |
+
|
2620 |
+
#: settings.php:1456
|
2621 |
+
msgid "Urls"
|
2622 |
+
msgstr "Url-ji"
|
2623 |
+
|
2624 |
+
#: settings.php:1459
|
2625 |
+
msgid "Toggle url editor"
|
2626 |
+
msgstr "Preklopi urejevalnik url-jev"
|
2627 |
+
|
2628 |
+
#: settings.php:1462
|
2629 |
+
msgid ""
|
2630 |
+
"Comma separated urls (page addresses) starting with / after domain name (e."
|
2631 |
+
"g. /permalink-url, use only when you need to taget a specific url not "
|
2632 |
+
"accessible by other means). You can also use partial urls with * (/url-"
|
2633 |
+
"start*. *url-pattern*, *url-end)"
|
2634 |
+
msgstr ""
|
2635 |
+
"Z vejico ločeni url-ji (naslovi strani) začenši z / po imenu domene (na "
|
2636 |
+
"primer: /permalink-url, uporabite samo, ko želite nasloviti posamezen "
|
2637 |
+
"nsalov, ki drugače ni dostopen). Uporabite lahko tudi delne url-je z * (/url-"
|
2638 |
+
"začetek*. *url-vzorec*, *url-konec)"
|
2639 |
+
|
2640 |
+
#: settings.php:1466
|
2641 |
+
msgid "Blacklist urls"
|
2642 |
+
msgstr "Črni seznam url-jev"
|
2643 |
+
|
2644 |
+
#: settings.php:1470
|
2645 |
+
msgid "Whitelist urls"
|
2646 |
+
msgstr "Beli seznam url-jev"
|
2647 |
+
|
2648 |
+
#: settings.php:1481
|
2649 |
+
msgid "Url parameters"
|
2650 |
+
msgstr "Url parametri"
|
2651 |
+
|
2652 |
+
#: settings.php:1485
|
2653 |
+
msgid "Toggle url parameter and cookie editor"
|
2654 |
+
msgstr "Preklopi urejevalnik url parametrov in piškotkov"
|
2655 |
+
|
2656 |
+
#: settings.php:1488
|
2657 |
+
msgid ""
|
2658 |
+
"Comma separated url query parameters or cookies with optional values (use "
|
2659 |
+
"'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
|
2660 |
+
msgstr ""
|
2661 |
+
"Z vejico ločeni url parametri poizvedbe ali piškotki z neobveznimi "
|
2662 |
+
"vrednostmi (uporabite 'prameter', 'prameter=vrednost', 'piškotek' or "
|
2663 |
+
"'piškotek=vrednost')"
|
2664 |
+
|
2665 |
+
#: settings.php:1492
|
2666 |
+
msgid "Blacklist url parameters"
|
2667 |
+
msgstr "Črni seznam url parametrov"
|
2668 |
+
|
2669 |
+
#: settings.php:1496
|
2670 |
+
msgid "Whitelist url parameters"
|
2671 |
+
msgstr "Beli seznam url parametrov"
|
2672 |
+
|
2673 |
+
#: settings.php:1507
|
2674 |
+
msgid "Referers"
|
2675 |
+
msgstr "Napotitelji"
|
2676 |
+
|
2677 |
+
#: settings.php:1510
|
2678 |
+
msgid "Toggle referer editor"
|
2679 |
+
msgstr "Preklopi urejevalnik napotiteljev"
|
2680 |
+
|
2681 |
+
#: settings.php:1513
|
2682 |
+
msgid "Comma separated domains, use # for no referer"
|
2683 |
+
msgstr "Z vejico ločene domene, uporabite # za primer, ko ni napotitelja"
|
2684 |
+
|
2685 |
+
#: settings.php:1517
|
2686 |
+
msgid "Blacklist referers"
|
2687 |
+
msgstr "Črni seznam napotiteljev"
|
2688 |
+
|
2689 |
+
#: settings.php:1521
|
2690 |
+
msgid "Whitelist referers"
|
2691 |
+
msgstr "Beli seznam napotiteljev"
|
2692 |
+
|
2693 |
+
#: settings.php:1541
|
2694 |
+
msgid "Enable widget for this block"
|
2695 |
+
msgstr "Omogočite gradnik za ta blok"
|
2696 |
+
|
2697 |
+
#: settings.php:1553
|
2698 |
+
msgid "Enable shortcode for manual insertion of this block in posts and pages"
|
2699 |
+
msgstr ""
|
2700 |
+
"Omogočite kratko kodo za ročno vstavljanje tega bloka v prispevke in strani"
|
2701 |
+
|
2702 |
+
#: settings.php:1554 settings.php:3048
|
2703 |
+
msgid "Shortcode"
|
2704 |
+
msgstr "Kratka koda"
|
2705 |
+
|
2706 |
+
#: settings.php:1569
|
2707 |
+
msgid ""
|
2708 |
+
"Enable PHP function call to insert this block at any position in theme file. "
|
2709 |
+
"If function is disabled for block it will return empty string."
|
2710 |
+
msgstr ""
|
2711 |
+
"Omogočite klic PHP funkcije za vstavljanje tega bloka na kateremkoli "
|
2712 |
+
"položaju v datoteki teme. Če je funkcija za blok onemogočena, bo vrnila "
|
2713 |
+
"prazen niz."
|
2714 |
+
|
2715 |
+
#: settings.php:1570
|
2716 |
+
msgid "PHP function"
|
2717 |
+
msgstr "PHP funkcija"
|
2718 |
+
|
2719 |
+
#: settings.php:1585
|
2720 |
+
msgid "Client-side device detection"
|
2721 |
+
msgstr "Zaznavanje naprave na strani klienta"
|
2722 |
+
|
2723 |
+
#: settings.php:1586
|
2724 |
+
msgid "Server-side device detection"
|
2725 |
+
msgstr "Zaznavanje naprave na strani strežnika"
|
2726 |
+
|
2727 |
+
#: settings.php:1593
|
2728 |
+
msgid "Use client-side detection to"
|
2729 |
+
msgstr "Uporabi zaznavanje na strani klienta in"
|
2730 |
+
|
2731 |
+
#. Translators: only on (the following devices): viewport names (devices)
|
2732 |
+
#. listed
|
2733 |
+
#: settings.php:1600
|
2734 |
+
msgid "only on"
|
2735 |
+
msgstr "samo na"
|
2736 |
+
|
2737 |
+
#: settings.php:1630
|
2738 |
+
msgid "Device min width %s px"
|
2739 |
+
msgstr "Najmanjša širina naprave %s px"
|
2740 |
+
|
2741 |
+
#: settings.php:1655
|
2742 |
+
msgid "Use server-side detection to insert block only for"
|
2743 |
+
msgstr "Uporabi zaznavanje na strani strežnika za vstavljanje bloka samo za"
|
2744 |
+
|
2745 |
+
#: settings.php:1674
|
2746 |
+
msgid "Filter"
|
2747 |
+
msgstr "Filter"
|
2748 |
+
|
2749 |
+
#: settings.php:1675
|
2750 |
+
msgid "Word Count"
|
2751 |
+
msgstr "Število Besed"
|
2752 |
+
|
2753 |
+
#: settings.php:1676
|
2754 |
+
msgid "Scheduling"
|
2755 |
+
msgstr "Urnik"
|
2756 |
+
|
2757 |
+
#: settings.php:1677
|
2758 |
+
msgid "Display"
|
2759 |
+
msgstr "Prikaz"
|
2760 |
+
|
2761 |
+
#: settings.php:1679 settings.php:1904
|
2762 |
+
msgid "General"
|
2763 |
+
msgstr "Splošno"
|
2764 |
+
|
2765 |
+
#: settings.php:1691
|
2766 |
+
msgid "Old settings for AMP pages detected"
|
2767 |
+
msgstr "Zaznane stare nastavitve za AMP strani"
|
2768 |
+
|
2769 |
+
#: settings.php:1691
|
2770 |
+
msgid ""
|
2771 |
+
"To insert different codes on normal and AMP pages separate them with "
|
2772 |
+
"[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
|
2773 |
+
"when you need to insert THE SAME CODE also on AMP pages (no AMP separator)."
|
2774 |
+
msgstr ""
|
2775 |
+
"Za vstavljanje različnih kod na normalnih in AMP straneh jih ločite z "
|
2776 |
+
"[ADINSERTER AMP] separatorjem. Tukaj lahko omogočite vstavljanje na AMP "
|
2777 |
+
"straneh samo, ko želite vstaviti ISTO KODO tudi na AMP straneh (brez AMP "
|
2778 |
+
"separatorja)."
|
2779 |
+
|
2780 |
+
#: settings.php:1691
|
2781 |
+
msgid "AMP pages"
|
2782 |
+
msgstr "AMP strani"
|
2783 |
+
|
2784 |
+
#: settings.php:1696
|
2785 |
+
msgid "Enable insertion for Ajax requests"
|
2786 |
+
msgstr "Omogoči vstavljanje v Ajax zahtevah"
|
2787 |
+
|
2788 |
+
#: settings.php:1696
|
2789 |
+
msgid "Ajax requests"
|
2790 |
+
msgstr "Ajax zahteve"
|
2791 |
+
|
2792 |
+
#: settings.php:1701
|
2793 |
+
msgid "Enable insertion in RSS feeds"
|
2794 |
+
msgstr "Omogoči vstavljanje v RSS virih"
|
2795 |
+
|
2796 |
+
#: settings.php:1701
|
2797 |
+
msgid "RSS Feed"
|
2798 |
+
msgstr "RSS Vir"
|
2799 |
+
|
2800 |
+
#: settings.php:1706
|
2801 |
+
msgid "Enable insertion on page for Error 404: Page not found"
|
2802 |
+
msgstr "Omogoči vstavljanje na strani za napako 404: Stran ne obstaja"
|
2803 |
+
|
2804 |
+
#: settings.php:1706
|
2805 |
+
msgid "Error 404 page"
|
2806 |
+
msgstr "Stran napake 404"
|
2807 |
+
|
2808 |
+
#: settings.php:1718
|
2809 |
+
msgid "Maximum number of insertion of this block. Empty or 0 means no limit."
|
2810 |
+
msgstr ""
|
2811 |
+
"Največje število vstavljanj tega bloka. Prazno ali 0 pomeni brez omejitev."
|
2812 |
+
|
2813 |
+
#: settings.php:1719
|
2814 |
+
msgid "Max"
|
2815 |
+
msgstr "Največ"
|
2816 |
+
|
2817 |
+
#: settings.php:1719
|
2818 |
+
msgid "insertions"
|
2819 |
+
msgstr "vstavljanj"
|
2820 |
+
|
2821 |
+
#: settings.php:1721
|
2822 |
+
msgid ""
|
2823 |
+
"Count this block for Max blocks per page limit (defined on the tab ⚙ / "
|
2824 |
+
"tab General)"
|
2825 |
+
msgstr ""
|
2826 |
+
"Štej ta blok za omejitev Največ blokov na stran (določena na zavihku "
|
2827 |
+
"⚙ / zavihek Splošno)"
|
2828 |
+
|
2829 |
+
#: settings.php:1724 settings.php:2062
|
2830 |
+
msgid "Max blocks per page"
|
2831 |
+
msgstr "Največ blokov na stran"
|
2832 |
+
|
2833 |
+
#: settings.php:1736
|
2834 |
+
msgid "Insert for"
|
2835 |
+
msgstr "Vstavi za"
|
2836 |
+
|
2837 |
+
#: settings.php:1744
|
2838 |
+
msgid ""
|
2839 |
+
"Insert block only when WP function in_the_loop () returns true (WP loop is "
|
2840 |
+
"currently active). Might speed up insertion on content pages when "
|
2841 |
+
"the_content filter is called multiple times."
|
2842 |
+
msgstr ""
|
2843 |
+
"Vstavi blok samo, ko WP funkcija in_the_loop () vrne true (WP zanka je "
|
2844 |
+
"trenutno aktivna). Lahko pospeši vstavljanje na določenih straneh, ko je "
|
2845 |
+
"filter the_content večkrat klican."
|
2846 |
+
|
2847 |
+
#: settings.php:1747
|
2848 |
+
msgid "Insert only in the loop"
|
2849 |
+
msgstr "Vstavi samo v zanki"
|
2850 |
+
|
2851 |
+
#: settings.php:1753
|
2852 |
+
msgid ""
|
2853 |
+
"Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
|
2854 |
+
msgstr ""
|
2855 |
+
"Onemogoči predpomnenje za vtičnike WP Super Cache, W3 Total Cache in WP "
|
2856 |
+
"Rocket"
|
2857 |
+
|
2858 |
+
#: settings.php:1753
|
2859 |
+
msgid "Disable caching"
|
2860 |
+
msgstr "Onemogoči predpomnjenje"
|
2861 |
+
|
2862 |
+
#: settings.php:1765
|
2863 |
+
msgid "Filter insertions"
|
2864 |
+
msgstr "Filtriraj vstavljanja"
|
2865 |
+
|
2866 |
+
#: settings.php:1771
|
2867 |
+
msgid "using"
|
2868 |
+
msgstr "z uporabo"
|
2869 |
+
|
2870 |
+
#: settings.php:1789
|
2871 |
+
msgid "Checked means specified calls are unwanted"
|
2872 |
+
msgstr "Odkljukano pomeni, da so našteti klici neželjeni"
|
2873 |
+
|
2874 |
+
#: settings.php:1789
|
2875 |
+
msgid "Invert filter"
|
2876 |
+
msgstr "Obrni filter"
|
2877 |
+
|
2878 |
+
#: settings.php:1795
|
2879 |
+
msgid "Post/Static page must have between"
|
2880 |
+
msgstr "Prispevek/Statična stran mora imeti med"
|
2881 |
+
|
2882 |
+
#: settings.php:1796
|
2883 |
+
msgid "Minimum number of post/static page words, leave empty for no limit"
|
2884 |
+
msgstr ""
|
2885 |
+
"Najmanjše število besed v prispevkih/statičnih straneh, prazno pomeni brez "
|
2886 |
+
"omejitev"
|
2887 |
+
|
2888 |
+
#: settings.php:1798
|
2889 |
+
msgid "Maximum number of post/static page words, leave empty for no limit"
|
2890 |
+
msgstr ""
|
2891 |
+
"Največje število besed v prispevkih/statičnih straneh, prazno pomeni brez "
|
2892 |
+
"omejitev"
|
2893 |
+
|
2894 |
+
#: settings.php:1811
|
2895 |
+
msgid "days after publishing"
|
2896 |
+
msgstr "dni po objavi"
|
2897 |
+
|
2898 |
+
#: settings.php:1813
|
2899 |
+
msgid "Not available"
|
2900 |
+
msgstr "Ni na razpolago"
|
2901 |
+
|
2902 |
+
#: settings.php:1826 settings.php:2054
|
2903 |
+
msgid "Ad label"
|
2904 |
+
msgstr "Oznaka oglasa"
|
2905 |
+
|
2906 |
+
#: settings.php:1842
|
2907 |
+
msgid "General tag"
|
2908 |
+
msgstr "Splošna oznaka"
|
2909 |
+
|
2910 |
+
#: settings.php:1846
|
2911 |
+
msgid "Used for [adinserter data=''] shortcodes when no data is found"
|
2912 |
+
msgstr "Uporabljeno za kratke kode [adinserter data=''] ko ni podatkov"
|
2913 |
+
|
2914 |
+
#. translators: %s: HTML tags
|
2915 |
+
#: settings.php:1855
|
2916 |
+
msgid ""
|
2917 |
+
"%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
|
2918 |
+
"side device detection!"
|
2919 |
+
msgstr ""
|
2920 |
+
"%s OPOZORILO: slog %s Brez Ovijanja %s nima kode za ovijanje , ki je "
|
2921 |
+
"potrebna za zaznavanje naprave na strani klienta!"
|
2922 |
+
|
2923 |
+
#: settings.php:1867
|
2924 |
+
msgid "Settings"
|
2925 |
+
msgstr "Nastavitve"
|
2926 |
+
|
2927 |
+
#: settings.php:1870
|
2928 |
+
msgid "Settings timestamp"
|
2929 |
+
msgstr "Časovni žig nastavitev"
|
2930 |
+
|
2931 |
+
#: settings.php:1882
|
2932 |
+
msgid "Are you sure you want to reset all settings?"
|
2933 |
+
msgstr "Ali ste prepričani, da želite ponastaviti vse nastavitve?"
|
2934 |
+
|
2935 |
+
#: settings.php:1882
|
2936 |
+
msgid "Reset All Settings"
|
2937 |
+
msgstr "Ponastavi Vse Nastavitve"
|
2938 |
+
|
2939 |
+
#: settings.php:1905
|
2940 |
+
msgid "Viewports"
|
2941 |
+
msgstr "Pogledi"
|
2942 |
+
|
2943 |
+
#: settings.php:1906
|
2944 |
+
msgid "Hooks"
|
2945 |
+
msgstr "Ročice"
|
2946 |
+
|
2947 |
+
#: settings.php:1907
|
2948 |
+
msgid "Header"
|
2949 |
+
msgstr "Glava"
|
2950 |
+
|
2951 |
+
#: settings.php:1908 strings.php:30
|
2952 |
+
msgid "Footer"
|
2953 |
+
msgstr "Noga"
|
2954 |
+
|
2955 |
+
#: settings.php:1913
|
2956 |
+
msgid "Debugging"
|
2957 |
+
msgstr "Razhroščevanje"
|
2958 |
+
|
2959 |
+
#: settings.php:1923
|
2960 |
+
msgid "Plugin priority"
|
2961 |
+
msgstr "Prednost vtičnika"
|
2962 |
+
|
2963 |
+
#: settings.php:1931
|
2964 |
+
msgid "Output buffering"
|
2965 |
+
msgstr "Predpomnjenje izhoda"
|
2966 |
+
|
2967 |
+
#: settings.php:1934
|
2968 |
+
msgid "Needed for position Above header but may not work with all themes"
|
2969 |
+
msgstr "Potrebno za položaj Nad glavo, ampak lahko, da ne dela z vsemi temami"
|
2970 |
+
|
2971 |
+
#: settings.php:1942
|
2972 |
+
msgid "Syntax highlighting theme"
|
2973 |
+
msgstr "Tema za poudarjanje sintakse"
|
2974 |
+
|
2975 |
+
#: settings.php:1949
|
2976 |
+
msgctxt "no syntax highlighting themes"
|
2977 |
+
msgid "None"
|
2978 |
+
msgstr "Brez"
|
2979 |
+
|
2980 |
+
#: settings.php:1950
|
2981 |
+
msgid "No Syntax Highlighting"
|
2982 |
+
msgstr "Brez Poudarjanja Sintakse"
|
2983 |
+
|
2984 |
+
#: settings.php:1952
|
2985 |
+
msgctxt "syntax highlighting themes"
|
2986 |
+
msgid "Light"
|
2987 |
+
msgstr "Svetle"
|
2988 |
+
|
2989 |
+
#: settings.php:1967
|
2990 |
+
msgctxt "syntax highlighting themes"
|
2991 |
+
msgid "Dark"
|
2992 |
+
msgstr "Temne"
|
2993 |
+
|
2994 |
+
#: settings.php:1993
|
2995 |
+
msgid "Min. user role for ind. exceptions editing"
|
2996 |
+
msgstr "Najm. uporabniška vloga za urejanje izjem"
|
2997 |
+
|
2998 |
+
#: settings.php:2003
|
2999 |
+
msgid "Sticky widget mode"
|
3000 |
+
msgstr "Način za lepljive gradnike"
|
3001 |
+
|
3002 |
+
#: settings.php:2006
|
3003 |
+
msgid ""
|
3004 |
+
"CSS mode is the best approach but may not work with all themes. JavaScript "
|
3005 |
+
"mode works with most themes but may reload ads on page load."
|
3006 |
+
msgstr ""
|
3007 |
+
"Način CSS je najboljši pristop, ampak lahko, da ne bo delal z vsemi temami. "
|
3008 |
+
"Način JavaScript dela z večino tem, ampak lahko ponovno naloži oglase pri "
|
3009 |
+
"nalaganju strani."
|
3010 |
+
|
3011 |
+
#: settings.php:2014
|
3012 |
+
msgid "Sticky widget top margin"
|
3013 |
+
msgstr "Zgornji rob za lepljiv gradnik"
|
3014 |
+
|
3015 |
+
#: settings.php:2022
|
3016 |
+
msgid "Dynamic blocks"
|
3017 |
+
msgstr "Dinamični bloki"
|
3018 |
+
|
3019 |
+
#: settings.php:2035
|
3020 |
+
msgid "Functions for paragraph counting"
|
3021 |
+
msgstr "Funkcije za štetje odstavkov"
|
3022 |
+
|
3023 |
+
#: settings.php:2038
|
3024 |
+
msgid ""
|
3025 |
+
"Standard PHP functions are faster and work in most cases, use Multibyte "
|
3026 |
+
"functions if paragraphs are not counted properly on non-english pages."
|
3027 |
+
msgstr ""
|
3028 |
+
"Običajne PHP funkcije so hitrejše in delajo v večini primerov, uporabite "
|
3029 |
+
"Večznakovne funkcije, če na ne-angleških straneh odstavki niso pravilno "
|
3030 |
+
"šteti."
|
3031 |
+
|
3032 |
+
#: settings.php:2046
|
3033 |
+
msgid "No paragraph counting inside"
|
3034 |
+
msgstr "Ni štetja odstavkov znotraj"
|
3035 |
+
|
3036 |
+
#: settings.php:2057
|
3037 |
+
msgid "Label text or HTML code"
|
3038 |
+
msgstr "Besedilo oznake ali HTML koda"
|
3039 |
+
|
3040 |
+
#: settings.php:2065
|
3041 |
+
msgid ""
|
3042 |
+
"Maximum number of inserted blocks per page. You need to enable Max page "
|
3043 |
+
"insertions (button Misc / tab Insertion) to count block for this limit."
|
3044 |
+
msgstr ""
|
3045 |
+
"Največje število vstavljenih blokov na strani. Omogočiti morate Največ "
|
3046 |
+
"blokov na stran (gumb Razno / zavihek Vstavljanje), da bo blok štel za to "
|
3047 |
+
"omejitev."
|
3048 |
+
|
3049 |
+
#: settings.php:2079
|
3050 |
+
msgid "Plugin usage tracking"
|
3051 |
+
msgstr "Sledenje uporabe vtičnika"
|
3052 |
+
|
3053 |
+
#. translators: %s: Ad Inserter
|
3054 |
+
#: settings.php:2082
|
3055 |
+
msgid ""
|
3056 |
+
"Enable tracking of %s usage and help us to make improvements to the plugin. "
|
3057 |
+
"Only information regarding the WordPress environment and %s usage is "
|
3058 |
+
"recorded (once per month and on events like plugin activation/deactivation)."
|
3059 |
+
msgstr ""
|
3060 |
+
"Omogočite sledenje uporabe %s-ja in nam pomagajte izboljšati vtičnik. "
|
3061 |
+
"Beležijo se samo informacije glede okolja WordPress in uporabe %s-ja (enkrat "
|
3062 |
+
"mesečno in ob dogodkih kot so aktivacija/deaktivacija)."
|
3063 |
+
|
3064 |
+
#: settings.php:2100
|
3065 |
+
msgid "CSS class name for the wrapping div"
|
3066 |
+
msgstr "Ime CSS razreda za div za ovijanje"
|
3067 |
+
|
3068 |
+
#: settings.php:2100
|
3069 |
+
msgid "Block class name"
|
3070 |
+
msgstr "Ime razreda za blok"
|
3071 |
+
|
3072 |
+
#: settings.php:2104
|
3073 |
+
msgid "Include general plugin block class"
|
3074 |
+
msgstr "Vključi splošni razred vtičnika za blok"
|
3075 |
+
|
3076 |
+
#: settings.php:2104
|
3077 |
+
msgid "Block class"
|
3078 |
+
msgstr "Razred bloka"
|
3079 |
+
|
3080 |
+
#: settings.php:2109
|
3081 |
+
msgid "Include block number class"
|
3082 |
+
msgstr "Vključi razred številke bloka"
|
3083 |
+
|
3084 |
+
#: settings.php:2109
|
3085 |
+
msgid "Block number class"
|
3086 |
+
msgstr "Razred številke bloka"
|
3087 |
+
|
3088 |
+
#: settings.php:2114
|
3089 |
+
msgid ""
|
3090 |
+
"Instead of alignment classes generate inline alignment styles for blocks"
|
3091 |
+
msgstr ""
|
3092 |
+
"Namesto razredov za poravnavo ustvari medvrstične sloge za poravnavo blokov"
|
3093 |
+
|
3094 |
+
#: settings.php:2114
|
3095 |
+
msgid "Inline styles"
|
3096 |
+
msgstr "Medvrstični slogi"
|
3097 |
+
|
3098 |
+
#: settings.php:2120
|
3099 |
+
msgid "Preview of the block wrapping code"
|
3100 |
+
msgstr "Predogled kode za ovijanje blokov"
|
3101 |
+
|
3102 |
+
#: settings.php:2121
|
3103 |
+
msgid "Wrapping div"
|
3104 |
+
msgstr "div za ovijanje"
|
3105 |
+
|
3106 |
+
#: settings.php:2122
|
3107 |
+
msgid "BLOCK CODE"
|
3108 |
+
msgstr "KODA BLOKA"
|
3109 |
+
|
3110 |
+
#: settings.php:2130
|
3111 |
+
msgid "Viewport Settings used for client-side device detection"
|
3112 |
+
msgstr ""
|
3113 |
+
"Nastavitve Pogledov, uporabljene za zaznavanje naprav na strani klienta"
|
3114 |
+
|
3115 |
+
#. Translators: %d: viewport number
|
3116 |
+
#: settings.php:2137
|
3117 |
+
msgid "Viewport %d name"
|
3118 |
+
msgstr "Ime pogleda %d"
|
3119 |
+
|
3120 |
+
#: settings.php:2140
|
3121 |
+
msgid "min width"
|
3122 |
+
msgstr "najmanjša širina"
|
3123 |
+
|
3124 |
+
#: settings.php:2151
|
3125 |
+
msgid "Custom Hooks"
|
3126 |
+
msgstr "Ročice Po Meri"
|
3127 |
+
|
3128 |
+
#. translators: %d: hook number
|
3129 |
+
#: settings.php:2165
|
3130 |
+
msgid "Hook %d name"
|
3131 |
+
msgstr "Ime ročice %d"
|
3132 |
+
|
3133 |
+
#: settings.php:2168
|
3134 |
+
msgid "Hook name for automatic insertion selection"
|
3135 |
+
msgstr "Ime ročice za izbiro samodejnega vstavljanja"
|
3136 |
+
|
3137 |
+
#: settings.php:2171
|
3138 |
+
msgid "action"
|
3139 |
+
msgstr "akcija"
|
3140 |
+
|
3141 |
+
#: settings.php:2174
|
3142 |
+
msgid "Action name as used in the do_action () function"
|
3143 |
+
msgstr "Ime akcije kot je uporabljena v do_action () funkciji"
|
3144 |
+
|
3145 |
+
#: settings.php:2177
|
3146 |
+
msgid "priority"
|
3147 |
+
msgstr "prednost"
|
3148 |
+
|
3149 |
+
#: settings.php:2180
|
3150 |
+
msgid "Priority for the hook (default is 10)"
|
3151 |
+
msgstr "Prednost za ročico (privzeta je 10)"
|
3152 |
+
|
3153 |
+
#: settings.php:2200
|
3154 |
+
msgid "Enable insertion of this code into HTML page header"
|
3155 |
+
msgstr "Omogoči vstavljanje te kode v glavi HTML strani"
|
3156 |
+
|
3157 |
+
#: settings.php:2204 settings.php:2260 settings.php:2415
|
3158 |
+
msgid "Process PHP code"
|
3159 |
+
msgstr "Procesiraj PHP kodo"
|
3160 |
+
|
3161 |
+
#: settings.php:2208
|
3162 |
+
msgid "HTML Page Header Code"
|
3163 |
+
msgstr "Koda v Glavi HTML Strani"
|
3164 |
+
|
3165 |
+
#: settings.php:2214
|
3166 |
+
msgid "Code in the %s section of the HTML page"
|
3167 |
+
msgstr "Koda v %s delu HTML strani"
|
3168 |
+
|
3169 |
+
#: settings.php:2215 settings.php:2271
|
3170 |
+
msgctxt "code in header or footer"
|
3171 |
+
msgid "DISABLED"
|
3172 |
+
msgstr "ONEMOGOČENA"
|
3173 |
+
|
3174 |
+
#: settings.php:2228 settings.php:2284
|
3175 |
+
msgid "Use server-side detection to insert code only for"
|
3176 |
+
msgstr "Zaznavanje na strani strežnika za vstavljanje samo za"
|
3177 |
+
|
3178 |
+
#: settings.php:2241
|
3179 |
+
msgid ""
|
3180 |
+
"Enable insertion of this code into HTML page header on page for Error 404: "
|
3181 |
+
"Page not found"
|
3182 |
+
msgstr ""
|
3183 |
+
"Omogoči vstavljanje te kode v HTML glavo na strani za napako 404: Stran ne "
|
3184 |
+
"obstaja"
|
3185 |
+
|
3186 |
+
#: settings.php:2241 settings.php:2297
|
3187 |
+
msgid "Insert on Error 404 page"
|
3188 |
+
msgstr "Vstavi na strani Napake 404"
|
3189 |
+
|
3190 |
+
#: settings.php:2256
|
3191 |
+
msgid "Enable insertion of this code into HTML page footer"
|
3192 |
+
msgstr "Omogoči vstavljanje te kode v HTML nogi"
|
3193 |
+
|
3194 |
+
#: settings.php:2264
|
3195 |
+
msgid "HTML Page Footer Code"
|
3196 |
+
msgstr "Koda v Nogi HTML Strani"
|
3197 |
+
|
3198 |
+
#. translators: %s: HTML tags
|
3199 |
+
#: settings.php:2270
|
3200 |
+
msgid "Code before the %s tag of the the HTML page"
|
3201 |
+
msgstr "Koda pred %s značko HTML strani"
|
3202 |
+
|
3203 |
+
#: settings.php:2297
|
3204 |
+
msgid ""
|
3205 |
+
"Enable insertion of this code into HTML page footer on page for Error 404: "
|
3206 |
+
"Page not found"
|
3207 |
+
msgstr ""
|
3208 |
+
"Omogoči vstavljanje te kode v nogo HTML strani na strani za napako 404: "
|
3209 |
+
"Stran ne obstaja"
|
3210 |
+
|
3211 |
+
#: settings.php:2311
|
3212 |
+
msgid "Enable detection of ad blocking"
|
3213 |
+
msgstr "Omogoči zaznavanje blokiranja oglasov"
|
3214 |
+
|
3215 |
+
#: settings.php:2326
|
3216 |
+
msgid "Global action when ad blocking is detected"
|
3217 |
+
msgstr "Globalna akcija, ko je zaznano blokiranje oglasov"
|
3218 |
+
|
3219 |
+
#: settings.php:2335
|
3220 |
+
msgid "Delay Action"
|
3221 |
+
msgstr "Zakasni Akcijo"
|
3222 |
+
|
3223 |
+
#: settings.php:2338
|
3224 |
+
msgid ""
|
3225 |
+
"Number of page views to delay action when ad blocking is detected. Leave "
|
3226 |
+
"empty for no delay (action fires on first page view). Sets cookie."
|
3227 |
+
msgstr ""
|
3228 |
+
"Število ogledov strani za zakasnitev akcije, ko je zaznano blokiranje "
|
3229 |
+
"oglasov. Prazno pomeni brez zakasnitve (akcija se sproži pri prvem ogledu "
|
3230 |
+
"strani). Nastavi piškotek."
|
3231 |
+
|
3232 |
+
#: settings.php:2338
|
3233 |
+
msgctxt "Delay Action for x "
|
3234 |
+
msgid "page views"
|
3235 |
+
msgstr "ogledov strani"
|
3236 |
+
|
3237 |
+
#: settings.php:2343
|
3238 |
+
msgid "No Action Period"
|
3239 |
+
msgstr "Obdobje Brez Akcije"
|
3240 |
+
|
3241 |
+
#: settings.php:2346
|
3242 |
+
msgid ""
|
3243 |
+
"Number of days to supress action when ad blocking is detected. Leave empty "
|
3244 |
+
"for no no-action period (action fires always after defined page view delay). "
|
3245 |
+
"Sets cookie."
|
3246 |
+
msgstr ""
|
3247 |
+
"Število dni za zadržanje akcije, ko je zaznano blokiranje oglasov. Prazno "
|
3248 |
+
"pomeni brez zadržanja (akcija se sproži vedno po določeni zakasnitvi ogledov "
|
3249 |
+
"strani). Nastavi piškotek."
|
3250 |
+
|
3251 |
+
#: settings.php:2346
|
3252 |
+
msgctxt "no action period"
|
3253 |
+
msgid "days"
|
3254 |
+
msgstr "dni"
|
3255 |
+
|
3256 |
+
#: settings.php:2351
|
3257 |
+
msgid "Custom Selectors"
|
3258 |
+
msgstr "Selektorji Po Meri"
|
3259 |
+
|
3260 |
+
#: settings.php:2354
|
3261 |
+
msgid ""
|
3262 |
+
"Comma seprarated list of selectors (.class, #id) used for additional ad "
|
3263 |
+
"blocking detection. Invisible element or element with zero height means ad "
|
3264 |
+
"blocking is present."
|
3265 |
+
msgstr ""
|
3266 |
+
"Z vejico ločen seznam selektorjev (.razred, #id) uoprabljenih za dodatno "
|
3267 |
+
"zaznavanje blokiranja oglasov. Neviden element ali element z ničelno višino "
|
3268 |
+
"pomeni prisotnost blokiranja oglasov."
|
3269 |
+
|
3270 |
+
#: settings.php:2366
|
3271 |
+
msgid "Redirection Page"
|
3272 |
+
msgstr "Stran za Preusmeritev"
|
3273 |
+
|
3274 |
+
#: settings.php:2378
|
3275 |
+
msgid "Custom Url"
|
3276 |
+
msgstr "Url Po Meri"
|
3277 |
+
|
3278 |
+
#: settings.php:2383
|
3279 |
+
msgid ""
|
3280 |
+
"Static page for redirection when ad blocking is detected. For other pages "
|
3281 |
+
"select Custom url and set it below."
|
3282 |
+
msgstr ""
|
3283 |
+
"Statična stran za preusmeritev, ko je zaznano blokiranje oglasov. Za druge "
|
3284 |
+
"strani izberite Url Po Meri in ga nastavite spodaj."
|
3285 |
+
|
3286 |
+
#: settings.php:2392
|
3287 |
+
msgid "Custom Redirection Url"
|
3288 |
+
msgstr "Url za Preusmeritev Po Meri"
|
3289 |
+
|
3290 |
+
#: settings.php:2404
|
3291 |
+
msgid "Message HTML code"
|
3292 |
+
msgstr "HTML koda sporočila"
|
3293 |
+
|
3294 |
+
#: settings.php:2417
|
3295 |
+
msgid "Preview message when ad blocking is detected"
|
3296 |
+
msgstr "Predogled sporočila, ko je zaznano blokiranje oglasov"
|
3297 |
+
|
3298 |
+
#: settings.php:2446
|
3299 |
+
msgid "Prevent visitors from closing the warning message"
|
3300 |
+
msgstr "Prepreči obiskovalcem, da zaprejo opozorilno sporočilo"
|
3301 |
+
|
3302 |
+
#: settings.php:2446
|
3303 |
+
msgid "Undismissible Message"
|
3304 |
+
msgstr "Neodstranljivo Sporočilo"
|
3305 |
+
|
3306 |
+
#: settings.php:2465
|
3307 |
+
msgid "Force showing admin toolbar when viewing site"
|
3308 |
+
msgstr "Vsili prikaz orodne vrstice za skrbnike pri ogledu strani"
|
3309 |
+
|
3310 |
+
#: settings.php:2472
|
3311 |
+
msgid "Enable debugging functions in admin toolbar"
|
3312 |
+
msgstr "Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike"
|
3313 |
+
|
3314 |
+
#: settings.php:2474
|
3315 |
+
msgid "Debugging functions in admin toolbar"
|
3316 |
+
msgstr "Funkcije za razhroščevanje v orodni vrstici za skrbnike"
|
3317 |
+
|
3318 |
+
#: settings.php:2481
|
3319 |
+
msgid "Enable debugging functions in admin toolbar on mobile screens"
|
3320 |
+
msgstr ""
|
3321 |
+
"Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike na mobilnih "
|
3322 |
+
"zaslonih"
|
3323 |
+
|
3324 |
+
#: settings.php:2483
|
3325 |
+
msgid "Debugging functions on mobile screens"
|
3326 |
+
msgstr "Funkcije za razhroščevanje na mobilnih zaslonih"
|
3327 |
+
|
3328 |
+
#: settings.php:2490
|
3329 |
+
msgid ""
|
3330 |
+
"Enable Debugger widget and code insertion debugging (blocks, positions, "
|
3331 |
+
"tags, processing) by url parameters for non-logged in users. Enable this "
|
3332 |
+
"option to allow other users to see Debugger widget, labeled blocks and "
|
3333 |
+
"positions in order to help you to diagnose problems. For logged in "
|
3334 |
+
"administrators debugging is always enabled."
|
3335 |
+
msgstr ""
|
3336 |
+
"Omogočite gradnik Raazhroščevalnik in razhroščevanje vstavljanja kode "
|
3337 |
+
"(bloki, položaji, značke, procesiranje) z url parametri za neprijavljene "
|
3338 |
+
"uporabnike. Omogočite to možnost, da bi lahko tudi drugi uporabniki videli "
|
3339 |
+
"gradnik Raazhroščevalnik, označene bloke in položaje, da bi vam lahko "
|
3340 |
+
"pomagali diagnosticirati težave. Za prijavljene skrbnike je razhroščevanje "
|
3341 |
+
"vedno omogočeno."
|
3342 |
+
|
3343 |
+
#: settings.php:2492
|
3344 |
+
msgid "Remote debugging"
|
3345 |
+
msgstr "Oddaljeno razhroščevanje"
|
3346 |
+
|
3347 |
+
#: settings.php:2499
|
3348 |
+
msgid ""
|
3349 |
+
"Disable translation to see original texts for the settings and messages in "
|
3350 |
+
"English"
|
3351 |
+
msgstr ""
|
3352 |
+
"Onemogoči prevod za prikaz prvotnih besedil nastavitev in sporočil v "
|
3353 |
+
"angleščini"
|
3354 |
+
|
3355 |
+
#: settings.php:2501
|
3356 |
+
msgid "Disable translation"
|
3357 |
+
msgstr "Onemogoči prevod"
|
3358 |
+
|
3359 |
+
#: settings.php:2794
|
3360 |
+
msgid "Toggle active/all blocks"
|
3361 |
+
msgstr "Preklopi aktive/vse bloke"
|
3362 |
+
|
3363 |
+
#: settings.php:2798 strings.php:198
|
3364 |
+
msgid "Rearrange block order"
|
3365 |
+
msgstr "Preuredi vrstni red blokov"
|
3366 |
+
|
3367 |
+
#: settings.php:2803
|
3368 |
+
msgid "Save new block order"
|
3369 |
+
msgstr "Shrani vrstni red blokov"
|
3370 |
+
|
3371 |
+
#: settings.php:2803
|
3372 |
+
msgid "Save Changes"
|
3373 |
+
msgstr "Sharani Nastavitve"
|
3374 |
+
|
3375 |
+
#: settings.php:2828
|
3376 |
+
msgid "Toggle active/all ad units"
|
3377 |
+
msgstr "Preklopi aktivne/vse oglasne enote"
|
3378 |
+
|
3379 |
+
#: settings.php:2832
|
3380 |
+
msgid "Reload AdSense ad units"
|
3381 |
+
msgstr "Ponovno naloži oglasne enote AdSense"
|
3382 |
+
|
3383 |
+
#: settings.php:2836
|
3384 |
+
msgid "Clear authorization to access AdSense account"
|
3385 |
+
msgstr "Odstrani avtorizacijo za dostop do računa AdSense"
|
3386 |
+
|
3387 |
+
#: settings.php:2840 settings.php:3205 settings.php:3272 strings.php:206
|
3388 |
+
msgid "Google AdSense Homepage"
|
3389 |
+
msgstr "Google AdSense Domača Stran"
|
3390 |
+
|
3391 |
+
#: settings.php:3017
|
3392 |
+
msgid "Preview block"
|
3393 |
+
msgstr "Predogled bloka"
|
3394 |
+
|
3395 |
+
#: settings.php:3026
|
3396 |
+
msgid "Insertion disabled"
|
3397 |
+
msgstr "Vstavljanje onemogočeno"
|
3398 |
+
|
3399 |
+
#: settings.php:3046
|
3400 |
+
msgid "Alignment"
|
3401 |
+
msgstr "Poravnava"
|
3402 |
+
|
3403 |
+
#: settings.php:3050
|
3404 |
+
msgid "Widget positions"
|
3405 |
+
msgstr "Položaji gradnikov"
|
3406 |
+
|
3407 |
+
#: settings.php:3116
|
3408 |
+
msgid "Ad unit"
|
3409 |
+
msgstr "Enota"
|
3410 |
+
|
3411 |
+
#: settings.php:3118
|
3412 |
+
msgid "Slot ID"
|
3413 |
+
msgstr "ID mesta"
|
3414 |
+
|
3415 |
+
#: settings.php:3144
|
3416 |
+
msgid "Copy AdSense code"
|
3417 |
+
msgstr "Kopiraj kodo AdSense"
|
3418 |
+
|
3419 |
+
#: settings.php:3147
|
3420 |
+
msgid "Preview AdSense ad"
|
3421 |
+
msgstr "Predogled oglasa AdSense"
|
3422 |
+
|
3423 |
+
#: settings.php:3150
|
3424 |
+
msgid "Get AdSense code"
|
3425 |
+
msgstr "Pridobi kodo AdSense"
|
3426 |
+
|
3427 |
+
#. translators: %s: HTML tags
|
3428 |
+
#: settings.php:3182
|
3429 |
+
msgid ""
|
3430 |
+
"Please %s clear authorization %s with the button %s above and once again "
|
3431 |
+
"authorize access to your AdSense account."
|
3432 |
+
msgstr ""
|
3433 |
+
"Prosimo, %s odstranite avtorizacijo %s z gumbom %s zgoraj in še enkrat "
|
3434 |
+
"avtorizirajte dostop do vašega računa AdSense."
|
3435 |
+
|
3436 |
+
#: settings.php:3201
|
3437 |
+
msgid "AdSense Integration"
|
3438 |
+
msgstr "Integracija AdSense"
|
3439 |
+
|
3440 |
+
#: settings.php:3203
|
3441 |
+
msgid "AdSense Integration - Step 2"
|
3442 |
+
msgstr "Integracija AdSense - Korak 2"
|
3443 |
+
|
3444 |
+
#. translators: %s: HTML tags
|
3445 |
+
#: settings.php:3209
|
3446 |
+
msgid ""
|
3447 |
+
"Authorize %s to access your AdSense account. Click on the %s Get "
|
3448 |
+
"Authorization Code %s button to open a new window where you can allow "
|
3449 |
+
"access. When you get the code copy it to the field below and click on the "
|
3450 |
+
"button %s Authorize. %s"
|
3451 |
+
msgstr ""
|
3452 |
+
"Avtorizirajte %s za dostop do vašega računa AdSense. Kliknite na gumb %s "
|
3453 |
+
"Pridobi Avtorizacijsko Kodo, %s da se odpre novo okno kjer lahko dovolite "
|
3454 |
+
"dostop. Ko dobite kodo jo skopirajte v polje spodaj in kliknite na gumb %s "
|
3455 |
+
"Avtoriziraj. %s"
|
3456 |
+
|
3457 |
+
#. translators: %s: HTML tags
|
3458 |
+
#: settings.php:3216
|
3459 |
+
msgid ""
|
3460 |
+
"If you get error, can't access ad units or would like to use own Google API "
|
3461 |
+
"IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
|
3462 |
+
"Secret."
|
3463 |
+
msgstr ""
|
3464 |
+
"Če se pojavi napaka, ne morete dostopati do oglasnih enot ali bi radi "
|
3465 |
+
"uporabili lastne Google API ID-je, kliknite na gumb %s Uporabi lastne API ID-"
|
3466 |
+
"je %s za vnos podatkov ID Klienta in Skrivnost Klienta."
|
3467 |
+
|
3468 |
+
#. translators: %s: HTML tags
|
3469 |
+
#: settings.php:3218
|
3470 |
+
msgid ""
|
3471 |
+
"Now you can authorize %s to access your AdSense account. Click on the %s Get "
|
3472 |
+
"Authorization Code %s button to open a new window where you can allow "
|
3473 |
+
"access. When you get the code copy it to the field below and click on the "
|
3474 |
+
"button %s Authorize. %s"
|
3475 |
+
msgstr ""
|
3476 |
+
"Zdaj lahko avtorizirate %s za dostop do vašega AdSense računa. Kliknite na "
|
3477 |
+
"gumb %s Pridobi Avtorizacijsko Kodo %s, da se odpre novo okno kjer lahko "
|
3478 |
+
"dovolite dostop. Ko dobite kodo, jo skopirajte v polje spodaj in kliknite na "
|
3479 |
+
"gumb %s Avtoriziraj. %s"
|
3480 |
+
|
3481 |
+
#. translators: %s: HTML tags
|
3482 |
+
#: settings.php:3225
|
3483 |
+
msgid ""
|
3484 |
+
"If you get error %s invalid client %s click on the button %s Clear and "
|
3485 |
+
"return to Step 1 %s to re-enter Client ID and Client Secret."
|
3486 |
+
msgstr ""
|
3487 |
+
"Če se pojavi napaka %s neveljaven klient %s, kliknite na gumb %s Odstrani in "
|
3488 |
+
"se vrni na Korak 1 %s za ponoven vnos ID klienta in Skrivnost Klienta."
|
3489 |
+
|
3490 |
+
#: settings.php:3236
|
3491 |
+
msgid "Get Authorization Code"
|
3492 |
+
msgstr "Pridobi Avtoriazcijsko Kodo"
|
3493 |
+
|
3494 |
+
#: settings.php:3239
|
3495 |
+
msgid "Enter Authorization Code"
|
3496 |
+
msgstr "Vnesi Avorizacijsko Kodo"
|
3497 |
+
|
3498 |
+
#: settings.php:3249
|
3499 |
+
msgid "Use own API IDs"
|
3500 |
+
msgstr "Uporabi lastne API ID-je"
|
3501 |
+
|
3502 |
+
#: settings.php:3251
|
3503 |
+
msgid "Clear and return to Step 1"
|
3504 |
+
msgstr "Odstrani in se vrni na Korak 1"
|
3505 |
+
|
3506 |
+
#: settings.php:3255
|
3507 |
+
msgid "Authorize"
|
3508 |
+
msgstr "Avtoriziraj"
|
3509 |
+
|
3510 |
+
#: settings.php:3271
|
3511 |
+
msgid "AdSense Integration - Step 1"
|
3512 |
+
msgstr "Integracija AdSense - Korak 1"
|
3513 |
+
|
3514 |
+
#. translators: %s: Ad Inserter
|
3515 |
+
#: settings.php:3275
|
3516 |
+
msgid ""
|
3517 |
+
"Here can %s list configured AdSense ad units and get code for AdSense ads. "
|
3518 |
+
"To do this you need to authorize %s to access your AdSense account. The "
|
3519 |
+
"first step is to create a Google API project in order to get Client ID and "
|
3520 |
+
"Client Secret."
|
3521 |
+
msgstr ""
|
3522 |
+
"Tukaj lahko %s izpiše nastavljene oglasne enote AdSense in pridobi kodo za "
|
3523 |
+
"oglase AdSense. Za to morate avtorizirati %s za dostop do vašega računa "
|
3524 |
+
"AdSense. Prvi korak je ustvaritev Google API projekta, da bi lahko dobili ID "
|
3525 |
+
"Klienta in Skrivnost Klienta."
|
3526 |
+
|
3527 |
+
#. translators: %s: HTML tags
|
3528 |
+
#: settings.php:3284
|
3529 |
+
msgid "Go to %s Google APIs and Services console %s"
|
3530 |
+
msgstr "Pojdite na %s konzolo Google API-ji in Storitve %s"
|
3531 |
+
|
3532 |
+
#. translators: %1: Ad Inserter, 2, 3: HTML tags
|
3533 |
+
#: settings.php:3285
|
3534 |
+
msgid ""
|
3535 |
+
"Create %1$s project - if the project and IDs are already created click on "
|
3536 |
+
"the %2$s Credentials %3$s in the sidebar and go to step 16"
|
3537 |
+
msgstr ""
|
3538 |
+
"Ustvarite projekt %1$s - če so projekt in ID-ji že ustvarjeni, kliknite na "
|
3539 |
+
"%2$s Pooblastila %3$s v stranski vrstici in pojdite na korak 16"
|
3540 |
+
|
3541 |
+
#. translators: %s: HTML tags
|
3542 |
+
#: settings.php:3286
|
3543 |
+
msgid ""
|
3544 |
+
"Click on project selection and then click on the %s NEW PROJECT %s button to "
|
3545 |
+
"create a new project"
|
3546 |
+
msgstr ""
|
3547 |
+
"Kliknite na izbor projekta in potem kliknite na gumb %s NOV PROJEKT %s za "
|
3548 |
+
"ustvaritev novega projekta"
|
3549 |
+
|
3550 |
+
#. translators: 1: Ad Inserter, 2, 3: HTML tags
|
3551 |
+
#: settings.php:3287
|
3552 |
+
msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
|
3553 |
+
msgstr "Vnesite %1$s za ime projekta in kliknite na gumb %2$s Ustvari %3$s"
|
3554 |
+
|
3555 |
+
#. translators: %s: HTML tags
|
3556 |
+
#: settings.php:3288
|
3557 |
+
msgid ""
|
3558 |
+
"Click on project selection, wait for the project to be created and then and "
|
3559 |
+
"select %s as the current project"
|
3560 |
+
msgstr ""
|
3561 |
+
"Kliknite na izbiro projekta, počakajte, da se projekt ustvari in potem "
|
3562 |
+
"izberite %s kot trenutni projekt"
|
3563 |
+
|
3564 |
+
#. translators: %s: HTML tags
|
3565 |
+
#: settings.php:3289
|
3566 |
+
msgid "Click on %s ENABLE APIS AND SERVICES %s"
|
3567 |
+
msgstr "Klinkite na %s OMOGOČI API-je IN STORITVE %s"
|
3568 |
+
|
3569 |
+
#. translators: %s: HTML tags
|
3570 |
+
#: settings.php:3290
|
3571 |
+
msgid "Search for adsense and enable %s"
|
3572 |
+
msgstr "Poiščite adsense in omogočite %s"
|
3573 |
+
|
3574 |
+
#. translators: %s: HTML tags
|
3575 |
+
#: settings.php:3291
|
3576 |
+
msgid "Click on %s CREATE CREDENTIALS %s"
|
3577 |
+
msgstr "Klinkite na %s USTVARI POOBLASTILA %s"
|
3578 |
+
|
3579 |
+
#. translators: %s: HTML tags
|
3580 |
+
#: settings.php:3292
|
3581 |
+
msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
|
3582 |
+
msgstr "Za %s Od kod boste klicali API-je? %s izberite %s Drugi UI %s"
|
3583 |
+
|
3584 |
+
#. translators: %s: HTML tags
|
3585 |
+
#: settings.php:3293
|
3586 |
+
msgid "For %s What data will you be accessing? %s select %s User data %s"
|
3587 |
+
msgstr ""
|
3588 |
+
"Za %s Do katerih podatkov boste dostopali? %s izberite %s Uporabniški "
|
3589 |
+
"podatki %s"
|
3590 |
+
|
3591 |
+
#. translators: %s: HTML tags
|
3592 |
+
#: settings.php:3294
|
3593 |
+
msgid "Click on %s What credentials do I need? %s"
|
3594 |
+
msgstr "Kliknite na %s Kakšna pooblastila potrebujem? %s"
|
3595 |
+
|
3596 |
+
#. translators: %s: HTML tags
|
3597 |
+
#: settings.php:3295
|
3598 |
+
msgid ""
|
3599 |
+
"Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
|
3600 |
+
"Ad Inserter client %s"
|
3601 |
+
msgstr ""
|
3602 |
+
"Ustvarite OAuth 2.0 ID klienta: za ime %s OAuth 2.0 ID klienta %s vnestite "
|
3603 |
+
"%s Ad Inserter klient %s"
|
3604 |
+
|
3605 |
+
#. translators: %s: HTML tags
|
3606 |
+
#: settings.php:3296
|
3607 |
+
msgid ""
|
3608 |
+
"Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
|
3609 |
+
"enter %s"
|
3610 |
+
msgstr ""
|
3611 |
+
"Nastavite OAuth 2.0 zaslon za soglasje: Za %s Ime izdelka, ki je prikazano "
|
3612 |
+
"uporabnikom %s vnesite %s"
|
3613 |
+
|
3614 |
+
#. translators: %s: HTML tags
|
3615 |
+
#: settings.php:3297
|
3616 |
+
msgid "Click on %s Continue %s"
|
3617 |
+
msgstr "Kliknite na %s Nadaljuj %s"
|
3618 |
+
|
3619 |
+
#. translators: %s: HTML tags
|
3620 |
+
#: settings.php:3298
|
3621 |
+
msgid "Click on %s Done %s"
|
3622 |
+
msgstr "Kliknite na %s Končaj %s"
|
3623 |
+
|
3624 |
+
#. translators: %s: HTML tags
|
3625 |
+
#: settings.php:3299
|
3626 |
+
msgid ""
|
3627 |
+
"Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
|
3628 |
+
"secret %s"
|
3629 |
+
msgstr ""
|
3630 |
+
"Kliknite na %s Ad Inserter klient, %s da bi dobili %s ID klienta %s in %s "
|
3631 |
+
"Skrivnost klienta %s"
|
3632 |
+
|
3633 |
+
#: settings.php:3300
|
3634 |
+
msgid "Copy them to the appropriate fields below"
|
3635 |
+
msgstr "Skopirajte ju na ustrezni polji spodaj"
|
3636 |
+
|
3637 |
+
#: settings.php:3306
|
3638 |
+
msgid "Client ID"
|
3639 |
+
msgstr "ID klienta"
|
3640 |
+
|
3641 |
+
#: settings.php:3309
|
3642 |
+
msgid "Enter Client ID"
|
3643 |
+
msgstr "Vnesite ID klienta"
|
3644 |
+
|
3645 |
+
#: settings.php:3314
|
3646 |
+
msgid "Client secret"
|
3647 |
+
msgstr "Skrivnost klienta"
|
3648 |
+
|
3649 |
+
#: settings.php:3317
|
3650 |
+
msgid "Enter Client secret"
|
3651 |
+
msgstr "Vnesite Skrivnost klienta"
|
3652 |
+
|
3653 |
+
#: settings.php:3327
|
3654 |
+
msgid "Use default API IDs"
|
3655 |
+
msgstr "Uporabi privzete API ID-je"
|
3656 |
+
|
3657 |
+
#: settings.php:3332
|
3658 |
+
msgid "Save"
|
3659 |
+
msgstr "Shrani"
|
3660 |
+
|
3661 |
+
#: settings.php:3494 settings.php:3507 settings.php:3520
|
3662 |
+
msgid "Blank ad blocks? Looking for AdSense alternative?"
|
3663 |
+
msgstr "Prazni oglasni bloki? Iščete alternativo za AdSense?"
|
3664 |
+
|
3665 |
+
#: settings.php:3499 settings.php:3512 settings.php:3525 settings.php:3697
|
3666 |
+
#: settings.php:3699 settings.php:3720 settings.php:3723
|
3667 |
+
msgid "Looking for AdSense alternative?"
|
3668 |
+
msgstr "Iščete alternativo za AdSense?"
|
3669 |
+
|
3670 |
+
#: settings.php:3535
|
3671 |
+
msgid "Try Infolinks Ads with Adsense or Media.net ads"
|
3672 |
+
msgstr "Poskusite oglase Infolinks z oglasi AdSense ali Media.net"
|
3673 |
+
|
3674 |
+
#: settings.php:3540 settings.php:3693 settings.php:3695 settings.php:3726
|
3675 |
+
#: settings.php:3729
|
3676 |
+
msgid "Use Infolinks ads with Adsense to earn more"
|
3677 |
+
msgstr "Uporabite oglase Infolinks z AdSense za večji zaslužek"
|
3678 |
+
|
3679 |
+
#: settings.php:3559 settings.php:3597
|
3680 |
+
msgid "Support plugin development"
|
3681 |
+
msgstr "Podprite razvoj vtičnika"
|
3682 |
+
|
3683 |
+
#: settings.php:3560 settings.php:3598
|
3684 |
+
msgid ""
|
3685 |
+
"If you like Ad Inserter and have a moment, please help me spread the word by "
|
3686 |
+
"reviewing the plugin on WordPres"
|
3687 |
+
msgstr ""
|
3688 |
+
"Če vam je Ad Inserter všeč in imate trenutek časa, mi prosim pomagajte "
|
3689 |
+
"razširiti novico z oceno vtičnika na WordPress-u"
|
3690 |
+
|
3691 |
+
#: settings.php:3560
|
3692 |
+
msgctxt "Review ad Inserter"
|
3693 |
+
msgid "Review"
|
3694 |
+
msgstr "Oceni"
|
3695 |
+
|
3696 |
+
#: settings.php:3561
|
3697 |
+
msgid ""
|
3698 |
+
"Support free Ad Inserter development. If you are making money with Ad "
|
3699 |
+
"Inserter consider donating some small amount. Even 1 dollar counts. Thank "
|
3700 |
+
"you!"
|
3701 |
+
msgstr ""
|
3702 |
+
"Podprite razvoj brezplačnega Ad Inserter-ja. Če služite denar z Ad Inserter-"
|
3703 |
+
"jem razmislite o donaciji manjšega zneska. Tudi 1 evro šteje. Hvala!"
|
3704 |
+
|
3705 |
+
#: settings.php:3561
|
3706 |
+
msgid "Donate"
|
3707 |
+
msgstr "Donirajte"
|
3708 |
+
|
3709 |
+
#: settings.php:3568 settings.php:3613
|
3710 |
+
msgid "Average rating of the plugin - Thank you!"
|
3711 |
+
msgstr "Povprečna ocena vtičnika - Hvala!"
|
3712 |
+
|
3713 |
+
#. translators: %s: Ad Inserter, HTML tags
|
3714 |
+
#: settings.php:3579
|
3715 |
+
msgid ""
|
3716 |
+
"You've been using %s for a while now, and I hope you're happy with it. "
|
3717 |
+
"Positive %s reviews %s are a great way to show your appreciation for my "
|
3718 |
+
"work. Besides being an incredible boost to my morale, they are also a great "
|
3719 |
+
"incentive to fix bugs and to add new features for better monetization of "
|
3720 |
+
"your website. %s Thank you!"
|
3721 |
+
msgstr ""
|
3722 |
+
"%s uporabljate že kar nekaj časa in upam, da ste z njim zadovoljni. "
|
3723 |
+
"Pozitivne %s ocene %s so odličen način, da pokažete vaše zadovoljstvo z "
|
3724 |
+
"mojim delom. Poleg tega, da prispevajo k dvigu samozavesti, so tudi velika "
|
3725 |
+
"vzpodbuda za odpravo hroščev in dodajanje novih funkcij za boljšo "
|
3726 |
+
"monetizacijo vašega spletnega mesta. %s Hvala!"
|
3727 |
+
|
3728 |
+
#: settings.php:3598
|
3729 |
+
msgid "Review"
|
3730 |
+
msgstr "Ocena"
|
3731 |
+
|
3732 |
+
#: settings.php:3602
|
3733 |
+
msgid "Ad Inserter on Twitter"
|
3734 |
+
msgstr "Ad Inserter na Twitter-ju"
|
3735 |
+
|
3736 |
+
#: settings.php:3603
|
3737 |
+
msgid "Ad Inserter on Facebook"
|
3738 |
+
msgstr "Ad Inserter na Facebook-u"
|
3739 |
+
|
3740 |
+
#: settings.php:3606
|
3741 |
+
msgid "Follow Ad Inserter"
|
3742 |
+
msgstr "Sledi Ad Inserter-ju"
|
3743 |
+
|
3744 |
+
#. translators: %s: HTML tags
|
3745 |
+
#: settings.php:3633
|
3746 |
+
msgid ""
|
3747 |
+
"Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
|
3748 |
+
"and %s Common Settings %s pages"
|
3749 |
+
msgstr ""
|
3750 |
+
"Potrebujete pomoč pri %s nastavitvah? %s Preverite %s Hiter Začetek, %s %s "
|
3751 |
+
"Urejanje Kode, %s %s Pogoste Nastavitve %s"
|
3752 |
+
|
3753 |
+
#. translators: %s: HTML tags
|
3754 |
+
#: settings.php:3645
|
3755 |
+
msgid ""
|
3756 |
+
"%s New to %s AdSense? %s %s %s Connect your site %s - Advanced %s AdSense "
|
3757 |
+
"code: %s %s In-feed ads, %s %s Auto ads, %s %s AMP ads %s"
|
3758 |
+
msgstr ""
|
3759 |
+
"%s Novinec z %s AdSense? %s %s %s Povežite vaše spletišče %s - Napredna %s "
|
3760 |
+
"koda AdSense: %s %s oglasi V viru, %s %s Samodejni oglasi, %s %s AMP oglasi "
|
3761 |
+
"%s"
|
3762 |
+
|
3763 |
+
#. translators: %s: HTML tags
|
3764 |
+
#: settings.php:3664
|
3765 |
+
msgid ""
|
3766 |
+
"Ads are not showing? Check %s troubleshooting guide %s to find out how to "
|
3767 |
+
"diagnose and fix the problem."
|
3768 |
+
msgstr ""
|
3769 |
+
"Oglasi se ne prikazujejo? Preverite %s vodič za odpravljanje težav %s za "
|
3770 |
+
"navodili za diagnozo in rešitvami za težave."
|
3771 |
+
|
3772 |
+
#. translators: %s: HTML tags
|
3773 |
+
#: settings.php:3668
|
3774 |
+
msgid ""
|
3775 |
+
"If you need any kind of help or support, please do not hesitate to open a "
|
3776 |
+
"thread on the %s support forum. %s"
|
3777 |
+
msgstr ""
|
3778 |
+
"Če potrebujete kakršno koli pomoč ali podporo ne oklevajte in odprite novo "
|
3779 |
+
"nit na %s podpornem forumu. %s"
|
3780 |
+
|
3781 |
+
#: settings.php:3708 settings.php:3743
|
3782 |
+
msgid "A/B testing - Track ad impressions and clicks"
|
3783 |
+
msgstr "A/B testiranje - Sledi prikazom in klikom"
|
3784 |
+
|
3785 |
+
#: settings.php:3713 settings.php:3738
|
3786 |
+
msgid "Code preview with visual CSS editor"
|
3787 |
+
msgstr "Predogled kode z vizualnim CSS urejevalnikom"
|
3788 |
+
|
3789 |
+
#: settings.php:3749
|
3790 |
+
msgid "Looking for Pro Ad Management plugin?"
|
3791 |
+
msgstr "Iščete Pro vtičnik za Upravljanje z Oglasi?"
|
3792 |
+
|
3793 |
+
#: settings.php:3750
|
3794 |
+
msgid "To Optimally Monetize your WordPress website?"
|
3795 |
+
msgstr "Za optimalno monetizacijo vašega WordPress spletnega mesta?"
|
3796 |
+
|
3797 |
+
#. translators: %s HTML tags
|
3798 |
+
#: settings.php:3753
|
3799 |
+
msgid "64 ad blocks (positions)"
|
3800 |
+
msgstr "64 oglasnih blokov (položajev)"
|
3801 |
+
|
3802 |
+
#. translators: %s HTML tags
|
3803 |
+
#: settings.php:3754
|
3804 |
+
msgid "%s AdSense Integration %s"
|
3805 |
+
msgstr "%s Integracija AdSense %s"
|
3806 |
+
|
3807 |
+
#. translators: %s HTML tags
|
3808 |
+
#: settings.php:3755
|
3809 |
+
msgid "Syntax highlighting %s editor %s"
|
3810 |
+
msgstr "%s Urejevalnik %s s poudarjanjem sintakse"
|
3811 |
+
|
3812 |
+
#. translators: %s HTML tags
|
3813 |
+
#: settings.php:3756
|
3814 |
+
msgid "%s Code preview %s with visual CSS editor"
|
3815 |
+
msgstr "%s Predogled kode %s z vizualnim CSS urejevalnikom"
|
3816 |
+
|
3817 |
+
#. translators: %s HTML tags
|
3818 |
+
#: settings.php:3757
|
3819 |
+
msgid "Simple user interface - all settings on a single page"
|
3820 |
+
msgstr "Preprost uporabniški vmesnik - vse nastavitve na eni strani"
|
3821 |
+
|
3822 |
+
#. translators: %s HTML tags
|
3823 |
+
#: settings.php:3758
|
3824 |
+
msgid ""
|
3825 |
+
"%s Automatic insertion %s before or after post / content / %s paragraph %s / "
|
3826 |
+
"excerpt"
|
3827 |
+
msgstr ""
|
3828 |
+
"%s Samodejno vstavljanje %s pred ali za prispevkom / vsebino / %s odstavkom "
|
3829 |
+
"%s / izvlečkom"
|
3830 |
+
|
3831 |
+
#. translators: %s HTML tags
|
3832 |
+
#: settings.php:3759
|
3833 |
+
msgid "%s Automatic insertion %s between posts on blog pages"
|
3834 |
+
msgstr "%s Samodejno vstavljanje %s med prispevki na straneh bloga"
|
3835 |
+
|
3836 |
+
#. translators: %s HTML tags
|
3837 |
+
#: settings.php:3760
|
3838 |
+
msgid "%s Automatic insertion %s before, between and after comments"
|
3839 |
+
msgstr "%s Samodejno vstavljanje %s pred, med in po kometarjih"
|
3840 |
+
|
3841 |
+
#. translators: %s HTML tags
|
3842 |
+
#: settings.php:3761
|
3843 |
+
msgid "%s Automatic insertion %s after %s or before %s tag"
|
3844 |
+
msgstr "%s Samodejno vstavljanje %s za %s ali pred %s začko"
|
3845 |
+
|
3846 |
+
#. translators: %s HTML tags
|
3847 |
+
#: settings.php:3762
|
3848 |
+
msgid "Automatic insertion at %s custom hook positions %s"
|
3849 |
+
msgstr "Samodejno vstavljanje na %s položajih ročic po meri %s"
|
3850 |
+
|
3851 |
+
#. translators: %s HTML tags
|
3852 |
+
#: settings.php:3763
|
3853 |
+
msgid ""
|
3854 |
+
"Insertion %s before or after any HTML element on the page %s (using CSS "
|
3855 |
+
"selectors)"
|
3856 |
+
msgstr ""
|
3857 |
+
"Vstavljanje %s pred ali za HTML elementom na strani %s (z uporabo CSS "
|
3858 |
+
"selektorjev)"
|
3859 |
+
|
3860 |
+
#. translators: %s HTML tags
|
3861 |
+
#: settings.php:3764
|
3862 |
+
msgid "%s Insertion exceptions %s for individual posts and pages"
|
3863 |
+
msgstr "%s Izjeme vstavljanja %s za individualne prispevke in strani"
|
3864 |
+
|
3865 |
+
#. translators: %s HTML tags
|
3866 |
+
#: settings.php:3765
|
3867 |
+
msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
|
3868 |
+
msgstr "%s Ročno vstavljanje: %s gradniki, kratke kode in klic PHP funkcije"
|
3869 |
+
|
3870 |
+
#. translators: %s HTML tags
|
3871 |
+
#: settings.php:3766
|
3872 |
+
msgid ""
|
3873 |
+
"%s Sticky ads %s with optional close button (ads stay fixed when the page "
|
3874 |
+
"scrolls)"
|
3875 |
+
msgstr ""
|
3876 |
+
"%s Lepljivi oglasi %s z izbirnim gumbom za zapiranje (oglasi so fiksni, ko "
|
3877 |
+
"se stran pomika)"
|
3878 |
+
|
3879 |
+
#. translators: %s HTML tags
|
3880 |
+
#: settings.php:3767
|
3881 |
+
msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
|
3882 |
+
msgstr ""
|
3883 |
+
"%s Lepljivi oglasi v stranski vrstici %s (lepljivi na zaslon ali vsebino)"
|
3884 |
+
|
3885 |
+
#. translators: %s HTML tags
|
3886 |
+
#: settings.php:3768
|
3887 |
+
msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
|
3888 |
+
msgstr ""
|
3889 |
+
"%s Animacije lepljivih oglasov %s (uveni, drsaj, obrni, prekucni, približaj)"
|
3890 |
+
|
3891 |
+
#. translators: %s HTML tags
|
3892 |
+
#: settings.php:3769
|
3893 |
+
msgid ""
|
3894 |
+
"%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
|
3895 |
+
"visible)"
|
3896 |
+
msgstr ""
|
3897 |
+
"%s Sprožilec lepljivih oglasov %s (pomik strani v %% ali px, HTML element "
|
3898 |
+
"postane viden)"
|
3899 |
+
|
3900 |
+
#. translators: %s HTML tags
|
3901 |
+
#: settings.php:3770
|
3902 |
+
msgid ""
|
3903 |
+
"%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
|
3904 |
+
msgstr ""
|
3905 |
+
"%s Lepljivi (fiksni) gradniki %s (stranska vrstica se ne premika pri pomiku "
|
3906 |
+
"strani)"
|
3907 |
+
|
3908 |
+
#. translators: %s HTML tags
|
3909 |
+
#: settings.php:3771
|
3910 |
+
msgid "Block %s alignment and style %s customizations"
|
3911 |
+
msgstr "%s Poravnave in slogi %s bloka po meri"
|
3912 |
+
|
3913 |
+
#. translators: %s HTML tags
|
3914 |
+
#: settings.php:3772
|
3915 |
+
msgid ""
|
3916 |
+
"%s Clearance %s options to avoid insertion near images or headers (AdSense "
|
3917 |
+
"TOS)"
|
3918 |
+
msgstr ""
|
3919 |
+
"%s Izogibanje %s vstavljanja oglasov zraven slik ali naslovov (AdSense TOS)"
|
3920 |
+
|
3921 |
+
#. translators: %s HTML tags
|
3922 |
+
#: settings.php:3773
|
3923 |
+
msgid ""
|
3924 |
+
"Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
|
3925 |
+
"feeds"
|
3926 |
+
msgstr ""
|
3927 |
+
"%s Onemogočanje vstavljanja %s za Ajax klice, strani napake 404 ali v RSS "
|
3928 |
+
"virih"
|
3929 |
+
|
3930 |
+
#. translators: %s HTML tags
|
3931 |
+
#: settings.php:3774
|
3932 |
+
msgid "%s Ad rotation %s (works also with caching)"
|
3933 |
+
msgstr "%s Rotacija oglasov %s (deluje tudi s predpomnjenjem)"
|
3934 |
+
|
3935 |
+
#. translators: %s HTML tags
|
3936 |
+
#: settings.php:3775
|
3937 |
+
msgid ""
|
3938 |
+
"Ad impression and click %s tracking %s (works also with Javascript ads like "
|
3939 |
+
"AdSense)"
|
3940 |
+
msgstr ""
|
3941 |
+
"%s Sledenje %s prikazom in klikom (deluje tudi z Javascript oglasi kot je "
|
3942 |
+
"AdSense)"
|
3943 |
+
|
3944 |
+
#. translators: %s HTML tags
|
3945 |
+
#: settings.php:3776
|
3946 |
+
msgid "Support for %s A/B testing %s"
|
3947 |
+
msgstr "Podpora za %s A/B testiranje %s"
|
3948 |
+
|
3949 |
+
#. translators: %s HTML tags
|
3950 |
+
#: settings.php:3777
|
3951 |
+
msgid "Support for %s lazy loading %s"
|
3952 |
+
msgstr "Podpora za %s leno nalaganje %s"
|
3953 |
+
|
3954 |
+
#. translators: %s HTML tags
|
3955 |
+
#: settings.php:3778
|
3956 |
+
msgid "Support for ads on %s AMP pages %s"
|
3957 |
+
msgstr "Podpora za oglase na %s AMP straneh %s"
|
3958 |
+
|
3959 |
+
#. translators: %s HTML tags
|
3960 |
+
#: settings.php:3779
|
3961 |
+
msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
|
3962 |
+
msgstr "Podpora za kontekstualne %s Amazon Native Shopping Ads %s (odzivni)"
|
3963 |
+
|
3964 |
+
#. translators: %s HTML tags
|
3965 |
+
#: settings.php:3780
|
3966 |
+
msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
|
3967 |
+
msgstr ""
|
3968 |
+
"Ime CSS razreda za div za ovijanje po meri za izogibanje blokiranju oglasov"
|
3969 |
+
|
3970 |
+
#. translators: %s HTML tags
|
3971 |
+
#: settings.php:3781
|
3972 |
+
msgid "PHP code processing"
|
3973 |
+
msgstr "Procesiranje PHP kode"
|
3974 |
+
|
3975 |
+
#. translators: %s HTML tags
|
3976 |
+
#: settings.php:3782
|
3977 |
+
msgid "%s Banner %s code generator"
|
3978 |
+
msgstr "Generator kode za %s pasice %s"
|
3979 |
+
|
3980 |
+
#. translators: %s HTML tags
|
3981 |
+
#: settings.php:3783
|
3982 |
+
msgid "Support for %s header and footer %s code"
|
3983 |
+
msgstr "Podpora za kodo v %s glavi in nogi %s"
|
3984 |
+
|
3985 |
+
#. translators: %s HTML tags
|
3986 |
+
#: settings.php:3784
|
3987 |
+
msgid "Support for Google Analytics, Matomo or any other web analytics code"
|
3988 |
+
msgstr ""
|
3989 |
+
"Podpora za Google Analytics, Matomo ali katerokoli drugo spletno analitiko"
|
3990 |
+
|
3991 |
+
#. translators: %s HTML tags
|
3992 |
+
#: settings.php:3785
|
3993 |
+
msgid "Desktop, tablet and phone server-side %s device detection %s"
|
3994 |
+
msgstr ""
|
3995 |
+
"%s Zaznava namizne, tablične in telefonske naprave %s na strani strani "
|
3996 |
+
"strežnika"
|
3997 |
+
|
3998 |
+
#. translators: %s HTML tags
|
3999 |
+
#: settings.php:3786
|
4000 |
+
msgid ""
|
4001 |
+
"Client-side %s mobile device detection %s (works with caching, 6 custom "
|
4002 |
+
"viewports)"
|
4003 |
+
msgstr ""
|
4004 |
+
"%s Zaznava mobilne naprave %s (deluje s predpomnjenjem, 6 pogledov po meri)"
|
4005 |
+
|
4006 |
+
#. translators: %s HTML tags
|
4007 |
+
#: settings.php:3787
|
4008 |
+
msgid ""
|
4009 |
+
"%s Ad blocking detection %s - popup message, ad replacement, content "
|
4010 |
+
"protection"
|
4011 |
+
msgstr ""
|
4012 |
+
"%s Zaznavanje blokiranja oglasov %s - sporočilo, zamenjava oglasa, zaščita "
|
4013 |
+
"vsebine"
|
4014 |
+
|
4015 |
+
#. translators: %s HTML tags
|
4016 |
+
#: settings.php:3788
|
4017 |
+
msgid "%s Ad blocking statistics %s"
|
4018 |
+
msgstr "%s Statistika blokiranja oglasov %s"
|
4019 |
+
|
4020 |
+
#. translators: %s HTML tags
|
4021 |
+
#: settings.php:3789
|
4022 |
+
msgid ""
|
4023 |
+
"%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
|
4024 |
+
"referers"
|
4025 |
+
msgstr ""
|
4026 |
+
"%s Črni/Beli seznam %s kategorij, oznak, taksonomij, uporabnikov, url-jev"
|
4027 |
+
|
4028 |
+
#. translators: %s HTML tags
|
4029 |
+
#: settings.php:3790
|
4030 |
+
msgid ""
|
4031 |
+
"%s Black/White-list %s IP addresses or countries (works also with caching)"
|
4032 |
+
msgstr ""
|
4033 |
+
"%s Črni/Beli seznam %s IP naslovov ali držav (deluje tudi s predpomnjenjem)"
|
4034 |
+
|
4035 |
+
#. translators: %s HTML tags
|
4036 |
+
#: settings.php:3791
|
4037 |
+
msgid "%s Multisite options %s to limit settings on the sites"
|
4038 |
+
msgstr "%s Multisite možnosti %s za omejitev nastavitev na spletiščih"
|
4039 |
+
|
4040 |
+
#. translators: %s HTML tags
|
4041 |
+
#: settings.php:3792
|
4042 |
+
msgid "%s Import/Export %s block or plugin settings"
|
4043 |
+
msgstr "%s Uvoz/Izvoz %s nastavitve bloka ali vtičnika"
|
4044 |
+
|
4045 |
+
#. translators: %s HTML tags
|
4046 |
+
#: settings.php:3793
|
4047 |
+
msgid "%s Insertion scheduling %s with fallback option"
|
4048 |
+
msgstr "%s Urnik vstavljanja %s z možnostjo rezerve"
|
4049 |
+
|
4050 |
+
#. translators: %s HTML tags
|
4051 |
+
#: settings.php:3794
|
4052 |
+
msgid "Country-level %s GEO targeting %s (works also with caching)"
|
4053 |
+
msgstr "%s GEO ciljanje na ravni države %s (deluje tudi s predpomnjenjem)"
|
4054 |
+
|
4055 |
+
#. translators: %s HTML tags
|
4056 |
+
#: settings.php:3795
|
4057 |
+
msgid "Simple troubleshooting with many %s debugging functions %s"
|
4058 |
+
msgstr ""
|
4059 |
+
"Preprosto odpravljanje napak z veliko %s funkcijami za razhroščevanje %s"
|
4060 |
+
|
4061 |
+
#. translators: %s HTML tags
|
4062 |
+
#: settings.php:3796
|
4063 |
+
msgid "%s Visualization %s of inserted blocks or ads for easier placement"
|
4064 |
+
msgstr ""
|
4065 |
+
"%s Vizualizacija %s vstavljenih blokov ali oglasov za enostavno umeščanje"
|
4066 |
+
|
4067 |
+
#. translators: %s HTML tags
|
4068 |
+
#: settings.php:3797
|
4069 |
+
msgid "%s Visualization %s of available positions for automatic ad insertion"
|
4070 |
+
msgstr ""
|
4071 |
+
"%s Vizualizacija %s razpoložljivih položajev za samodejno vstavljanje oglasov"
|
4072 |
+
|
4073 |
+
#. translators: %s HTML tags
|
4074 |
+
#: settings.php:3798
|
4075 |
+
msgid ""
|
4076 |
+
"%s Visualization %s of HTML tags for easier ad placement between paragraphs"
|
4077 |
+
msgstr ""
|
4078 |
+
"%s Vizualizacija %s HTML značk za enostavno vstavljanje oglasov med odstavki"
|
4079 |
+
|
4080 |
+
#. translators: %s HTML tags
|
4081 |
+
#: settings.php:3799
|
4082 |
+
msgid "%s Clipboard support %s to easily copy blocks or settings"
|
4083 |
+
msgstr ""
|
4084 |
+
"%s Podpora za odložišče %s za enostavno kopiranje blokov ali nastavitev"
|
4085 |
+
|
4086 |
+
#. translators: %s HTML tags
|
4087 |
+
#: settings.php:3800
|
4088 |
+
msgid "No ads on the settings page"
|
4089 |
+
msgstr "Stran z nastavitvami brez oglasov"
|
4090 |
+
|
4091 |
+
#. translators: %s HTML tags
|
4092 |
+
#: settings.php:3801 settings.php:3824
|
4093 |
+
msgid "Support via email"
|
4094 |
+
msgstr "Podpora prek elektronske pošte"
|
4095 |
+
|
4096 |
+
#. translators: %s HTML tags
|
4097 |
+
#: settings.php:3804
|
4098 |
+
msgid ""
|
4099 |
+
"Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
|
4100 |
+
"website with many advertising features to automatically insert adverts on "
|
4101 |
+
"posts and pages. With Ad Inserter Pro you also get <strong>one year of free "
|
4102 |
+
"updates and support via email</strong>. If you find Ad Inserter useful and "
|
4103 |
+
"need more blocks, ad statistics for impressions and clicks, A/B testing, "
|
4104 |
+
"sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve "
|
4105 |
+
"country-specific ads, to protect content or to serve different ads for users "
|
4106 |
+
"using ad blockers, multisite options to limit settings for ads, to block "
|
4107 |
+
"some IP addresses, to schedule ads, then you can simply upgrade to %s Ad "
|
4108 |
+
"Inserter Pro %s (existing settings will be preserved)."
|
4109 |
+
msgstr ""
|
4110 |
+
"Ad Inserter Pro je celovit vse-v-enem vtičnik za upravljanje z oglasi za "
|
4111 |
+
"WordPress spletno mesto z veliko oglaševalskimi funkcijami za samodejno "
|
4112 |
+
"vstavljanje oglasov v prispevke in strani. Z vtičnikom Ad Inserter Pro "
|
4113 |
+
"dobite tudi <strong>eno leto brezplačnih posodobitev in podpore prek "
|
4114 |
+
"elektronske pošte</strong>. Če se vam zdi Ad Inserter uporaben in "
|
4115 |
+
"potrebujete več blokov, statistiko oglasov za prikaze in klike, A/B "
|
4116 |
+
"testiranje, lepljive oglase, pojavne oglase, geotargetiranje ali geolokacijo "
|
4117 |
+
"za prikaz oglasov glede na državo, zaščito vsebine oz. prikaz drugačnih "
|
4118 |
+
"oglasov za uporabnike, ki uporabljajo blokiranje oglasov, multisite možnosti "
|
4119 |
+
"za omejitev nastavitev za oglase, blokiranje določenih IP naslovov, urnik "
|
4120 |
+
"vstavljanja oglasov, potem preprosto nadgradite v %s Ad Inserter Pro %s "
|
4121 |
+
"(obstoječe nastavitve se bodo ohranile)."
|
4122 |
+
|
4123 |
+
#. translators: %s HTML tags
|
4124 |
+
#: settings.php:3817
|
4125 |
+
msgid "Looking for %s Pro Ad Management plugin? %s"
|
4126 |
+
msgstr "Iščete Pro vtičnik za %s Upravljanje z Oglasi? %s"
|
4127 |
+
|
4128 |
+
#. translators: %s HTML tags
|
4129 |
+
#: settings.php:3822
|
4130 |
+
msgid "Ads between posts"
|
4131 |
+
msgstr "Oglasi med prispevki"
|
4132 |
+
|
4133 |
+
#. translators: %s HTML tags
|
4134 |
+
#: settings.php:3823
|
4135 |
+
msgid "Ads between comments"
|
4136 |
+
msgstr "Oglasi med komentarji"
|
4137 |
+
|
4138 |
+
#. translators: %s HTML tags
|
4139 |
+
#: settings.php:3830
|
4140 |
+
msgid "%s Sticky positions %s"
|
4141 |
+
msgstr "%s Lepljivi položaji %s"
|
4142 |
+
|
4143 |
+
#. translators: %s HTML tags
|
4144 |
+
#: settings.php:3831
|
4145 |
+
msgid "%s Limit insertions %s"
|
4146 |
+
msgstr "%s Omeji vstavljanja %s"
|
4147 |
+
|
4148 |
+
#. translators: %s HTML tags
|
4149 |
+
#: settings.php:3832
|
4150 |
+
msgid "%s Clearance %s options"
|
4151 |
+
msgstr "Možnosti %s izogibanja %s"
|
4152 |
+
|
4153 |
+
#. translators: %s HTML tags
|
4154 |
+
#: settings.php:3838
|
4155 |
+
msgid "Ad rotation"
|
4156 |
+
msgstr "Vrtenje oglasov"
|
4157 |
+
|
4158 |
+
#. translators: %s HTML tags
|
4159 |
+
#: settings.php:3839
|
4160 |
+
msgid "%s A/B testing %s"
|
4161 |
+
msgstr "%s A/B testiranje %s"
|
4162 |
+
|
4163 |
+
#. translators: %s HTML tags
|
4164 |
+
#: settings.php:3840
|
4165 |
+
msgid "%s Ad tracking %s"
|
4166 |
+
msgstr "%s Sledenje oglasom %s"
|
4167 |
+
|
4168 |
+
#. translators: %s HTML tags
|
4169 |
+
#: settings.php:3846
|
4170 |
+
msgid "Support for %s AMP pages %s"
|
4171 |
+
msgstr "Podpora za %s AMP strani %s"
|
4172 |
+
|
4173 |
+
#. translators: %s HTML tags
|
4174 |
+
#: settings.php:3847
|
4175 |
+
msgid "%s Ad blocking detection %s"
|
4176 |
+
msgstr "%s Zaznavanje blokiranja oglasov %s"
|
4177 |
+
|
4178 |
+
#. translators: %s HTML tags
|
4179 |
+
#: settings.php:3848
|
4180 |
+
msgid "%s Mobile device detection %s"
|
4181 |
+
msgstr "%s Zaznavanje mobilne naprave %s"
|
4182 |
+
|
4183 |
+
#. translators: %s HTML tags
|
4184 |
+
#: settings.php:3855
|
4185 |
+
msgid "64 code blocks"
|
4186 |
+
msgstr "64 kodnih blokov"
|
4187 |
+
|
4188 |
+
#. translators: %s HTML tags
|
4189 |
+
#: settings.php:3856
|
4190 |
+
msgid "%s GEO targeting %s"
|
4191 |
+
msgstr "%s GEO ciljanje %s"
|
4192 |
+
|
4193 |
+
#. translators: %s HTML tags
|
4194 |
+
#: settings.php:3857
|
4195 |
+
msgid "%s Scheduling %s"
|
4196 |
+
msgstr "%s Urnik %s"
|
4197 |
+
|
4198 |
+
#: strings.php:4
|
4199 |
+
msgid "Advertisements"
|
4200 |
+
msgstr "Oglasi"
|
4201 |
+
|
4202 |
+
#: strings.php:5
|
4203 |
+
msgid ""
|
4204 |
+
"<p><strong>Blocked because of Ad Blocker</strong></p>\n"
|
4205 |
+
"<p>It seems that you are using some ad blocking software which is preventing "
|
4206 |
+
"the page from fully loading. Please whitelist this website or disable ad "
|
4207 |
+
"blocking software.</p>"
|
4208 |
+
msgstr ""
|
4209 |
+
"<p><strong>Onemogočeno zaradi Ad Blocker-ja</strong></p>\n"
|
4210 |
+
"<p>Zdi se, da uporabljate program za blokiranje oglasov, ki preprečuje, da "
|
4211 |
+
"bi se stran naložila v celoti. Prosimo, uvrstite to spletno mesto na beli "
|
4212 |
+
"seznam ali pa izključite program za blokiranje oglasov.</p>"
|
4213 |
+
|
4214 |
+
#: strings.php:7
|
4215 |
+
msgctxt "Viewport name"
|
4216 |
+
msgid "Desktop"
|
4217 |
+
msgstr "Namizje"
|
4218 |
+
|
4219 |
+
#: strings.php:8
|
4220 |
+
msgctxt "Viewport name"
|
4221 |
+
msgid "Tablet"
|
4222 |
+
msgstr "Tablica"
|
4223 |
+
|
4224 |
+
#: strings.php:9
|
4225 |
+
msgctxt "Viewport name"
|
4226 |
+
msgid "Phone"
|
4227 |
+
msgstr "Telefon"
|
4228 |
+
|
4229 |
+
#: strings.php:11
|
4230 |
+
msgctxt "ad-inserter"
|
4231 |
+
msgid "Group"
|
4232 |
+
msgstr "Skupina"
|
4233 |
+
|
4234 |
+
#: strings.php:13
|
4235 |
+
msgid "Insert"
|
4236 |
+
msgstr "Vstavi"
|
4237 |
+
|
4238 |
+
#: strings.php:19
|
4239 |
+
msgid "Before content"
|
4240 |
+
msgstr "Pred vsebino"
|
4241 |
+
|
4242 |
+
#: strings.php:20
|
4243 |
+
msgid "After content"
|
4244 |
+
msgstr "Za vsebino"
|
4245 |
+
|
4246 |
+
#: strings.php:21
|
4247 |
+
msgid "Before paragraph"
|
4248 |
+
msgstr "Pred odstavkom"
|
4249 |
+
|
4250 |
+
#: strings.php:22
|
4251 |
+
msgid "After paragraph"
|
4252 |
+
msgstr "Za odstavkom"
|
4253 |
+
|
4254 |
+
#: strings.php:23
|
4255 |
+
msgid "Before excerpt"
|
4256 |
+
msgstr "Pred izvlečkom"
|
4257 |
+
|
4258 |
+
#: strings.php:24
|
4259 |
+
msgid "After excerpt"
|
4260 |
+
msgstr "Za izvlečkom"
|
4261 |
+
|
4262 |
+
#: strings.php:25
|
4263 |
+
msgid "Between posts"
|
4264 |
+
msgstr "Med prispevki"
|
4265 |
+
|
4266 |
+
#: strings.php:26
|
4267 |
+
msgid "Before comments"
|
4268 |
+
msgstr "Pred komentarji"
|
4269 |
+
|
4270 |
+
#: strings.php:27
|
4271 |
+
msgid "Between comments"
|
4272 |
+
msgstr "Med komentarji"
|
4273 |
+
|
4274 |
+
#: strings.php:28
|
4275 |
+
msgid "After comments"
|
4276 |
+
msgstr "Za komentarji"
|
4277 |
+
|
4278 |
+
#: strings.php:29
|
4279 |
+
msgid "Above header"
|
4280 |
+
msgstr "Nad glavo"
|
4281 |
+
|
4282 |
+
#: strings.php:31
|
4283 |
+
msgid "Before HTML element"
|
4284 |
+
msgstr "Pred HTML elementom"
|
4285 |
+
|
4286 |
+
#: strings.php:32
|
4287 |
+
msgid "After HTML element"
|
4288 |
+
msgstr "Za HTML elementom"
|
4289 |
+
|
4290 |
+
#: strings.php:33
|
4291 |
+
msgid "Inside HTML element"
|
4292 |
+
msgstr "V HTML element"
|
4293 |
+
|
4294 |
+
#: strings.php:35
|
4295 |
+
msgid "do not insert"
|
4296 |
+
msgstr "ne vstavi"
|
4297 |
+
|
4298 |
+
#: strings.php:36
|
4299 |
+
msgid "try to shift position"
|
4300 |
+
msgstr "poskusi premakniti položaj"
|
4301 |
+
|
4302 |
+
#: strings.php:38
|
4303 |
+
msgid "above"
|
4304 |
+
msgstr "zgoraj"
|
4305 |
+
|
4306 |
+
#: strings.php:39
|
4307 |
+
msgid "below"
|
4308 |
+
msgstr "spodaj"
|
4309 |
+
|
4310 |
+
#: strings.php:40
|
4311 |
+
msgid "above and then below"
|
4312 |
+
msgstr "zgoraj in potem spodaj"
|
4313 |
+
|
4314 |
+
#: strings.php:41
|
4315 |
+
msgid "below and then above"
|
4316 |
+
msgstr "spodaj in potem zgoraj"
|
4317 |
+
|
4318 |
+
#: strings.php:43
|
4319 |
+
msgid "from top"
|
4320 |
+
msgstr "od zgoraj"
|
4321 |
+
|
4322 |
+
#: strings.php:44
|
4323 |
+
msgid "from bottom"
|
4324 |
+
msgstr "od spodaj"
|
4325 |
+
|
4326 |
+
#: strings.php:46
|
4327 |
+
msgctxt "paragraphs"
|
4328 |
+
msgid "contain"
|
4329 |
+
msgstr "vsebujejo"
|
4330 |
+
|
4331 |
+
#: strings.php:47
|
4332 |
+
msgctxt "paragraphs"
|
4333 |
+
msgid "do not contain"
|
4334 |
+
msgstr "ne vsebujejo"
|
4335 |
+
|
4336 |
+
#: strings.php:49
|
4337 |
+
msgctxt "insert for"
|
4338 |
+
msgid "all users"
|
4339 |
+
msgstr "vse uporabnike"
|
4340 |
+
|
4341 |
+
#: strings.php:50
|
4342 |
+
msgctxt "insert for"
|
4343 |
+
msgid "logged in users"
|
4344 |
+
msgstr "prijavljene uporabnike"
|
4345 |
+
|
4346 |
+
#: strings.php:51
|
4347 |
+
msgctxt "insert for"
|
4348 |
+
msgid "not logged in users"
|
4349 |
+
msgstr "neprijavljene uporabnike"
|
4350 |
+
|
4351 |
+
#: strings.php:52
|
4352 |
+
msgctxt "insert for"
|
4353 |
+
msgid "administrators"
|
4354 |
+
msgstr "skrbnike"
|
4355 |
+
|
4356 |
+
#: strings.php:54
|
4357 |
+
msgid "Black list"
|
4358 |
+
msgstr "Črni seznam"
|
4359 |
+
|
4360 |
+
#: strings.php:55
|
4361 |
+
msgid "White list"
|
4362 |
+
msgstr "Beli seznam"
|
4363 |
+
|
4364 |
+
#: strings.php:57
|
4365 |
+
msgctxt "alignment"
|
4366 |
+
msgid "Default"
|
4367 |
+
msgstr "Privzeta"
|
4368 |
+
|
4369 |
+
#: strings.php:58
|
4370 |
+
msgid "Align left"
|
4371 |
+
msgstr "Leva poravnava"
|
4372 |
+
|
4373 |
+
#: strings.php:59
|
4374 |
+
msgid "Align right"
|
4375 |
+
msgstr "Desna poravnava"
|
4376 |
+
|
4377 |
+
#: strings.php:60
|
4378 |
+
msgid "Center"
|
4379 |
+
msgstr "Sredinska poravnava"
|
4380 |
+
|
4381 |
+
#: strings.php:61
|
4382 |
+
msgid "Float left"
|
4383 |
+
msgstr "Plavajoče levo"
|
4384 |
+
|
4385 |
+
#: strings.php:62
|
4386 |
+
msgid "Float right"
|
4387 |
+
msgstr "Plavajoče desno"
|
4388 |
+
|
4389 |
+
#: strings.php:63
|
4390 |
+
msgid "No wrapping"
|
4391 |
+
msgstr "Brez ovijanja"
|
4392 |
+
|
4393 |
+
#: strings.php:64
|
4394 |
+
msgid "Custom CSS"
|
4395 |
+
msgstr "CSS po meri"
|
4396 |
+
|
4397 |
+
#: strings.php:65
|
4398 |
+
msgid "Sticky left"
|
4399 |
+
msgstr "Lepljiv levo"
|
4400 |
+
|
4401 |
+
#: strings.php:66
|
4402 |
+
msgid "Sticky right"
|
4403 |
+
msgstr "Lepljiv desno"
|
4404 |
+
|
4405 |
+
#: strings.php:67
|
4406 |
+
msgid "Sticky top"
|
4407 |
+
msgstr "Lepljiv zgoraj"
|
4408 |
+
|
4409 |
+
#: strings.php:68
|
4410 |
+
msgid "Sticky bottom"
|
4411 |
+
msgstr "Lepljiv spodaj"
|
4412 |
+
|
4413 |
+
#: strings.php:69
|
4414 |
+
msgctxt "alignment"
|
4415 |
+
msgid "Sticky"
|
4416 |
+
msgstr "Lepljiva"
|
4417 |
+
|
4418 |
+
#: strings.php:71
|
4419 |
+
msgctxt "using"
|
4420 |
+
msgid "auto counter"
|
4421 |
+
msgstr "samodejnega števca"
|
4422 |
+
|
4423 |
+
#: strings.php:72
|
4424 |
+
msgctxt "using"
|
4425 |
+
msgid "PHP function calls counter"
|
4426 |
+
msgstr "števca klicev PHP funkcije"
|
4427 |
+
|
4428 |
+
#: strings.php:73
|
4429 |
+
msgctxt "using"
|
4430 |
+
msgid "content processing counter"
|
4431 |
+
msgstr "števca procesiranja vsebine"
|
4432 |
+
|
4433 |
+
#: strings.php:74
|
4434 |
+
msgctxt "using"
|
4435 |
+
msgid "excerpt processing counter"
|
4436 |
+
msgstr "števca procesiranja izvlečkov"
|
4437 |
+
|
4438 |
+
#: strings.php:75
|
4439 |
+
msgctxt "using"
|
4440 |
+
msgid "before post processing counter"
|
4441 |
+
msgstr "števca pred prispevkom"
|
4442 |
+
|
4443 |
+
#: strings.php:76
|
4444 |
+
msgctxt "using"
|
4445 |
+
msgid "after post processing counter"
|
4446 |
+
msgstr "števca za prispevkom"
|
4447 |
+
|
4448 |
+
#: strings.php:77
|
4449 |
+
msgctxt "using"
|
4450 |
+
msgid "widget drawing counter"
|
4451 |
+
msgstr "števca risanja gradnikov"
|
4452 |
+
|
4453 |
+
#: strings.php:78
|
4454 |
+
msgctxt "using"
|
4455 |
+
msgid "subpages counter"
|
4456 |
+
msgstr "števca podstrani"
|
4457 |
+
|
4458 |
+
#: strings.php:79
|
4459 |
+
msgctxt "using"
|
4460 |
+
msgid "posts counter"
|
4461 |
+
msgstr "števca prispevkov"
|
4462 |
+
|
4463 |
+
#: strings.php:80
|
4464 |
+
msgctxt "using"
|
4465 |
+
msgid "paragraphs counter"
|
4466 |
+
msgstr "števca odstavkov"
|
4467 |
+
|
4468 |
+
#: strings.php:81
|
4469 |
+
msgctxt "using"
|
4470 |
+
msgid "comments counter"
|
4471 |
+
msgstr "števca komentarjev"
|
4472 |
+
|
4473 |
+
#: strings.php:83
|
4474 |
+
msgctxt "posts"
|
4475 |
+
msgid "Individually disabled"
|
4476 |
+
msgstr "Posamezno onemogočeni"
|
4477 |
+
|
4478 |
+
#: strings.php:84
|
4479 |
+
msgctxt "posts"
|
4480 |
+
msgid "Individually enabled"
|
4481 |
+
msgstr "Posamezno omogočeni"
|
4482 |
+
|
4483 |
+
#: strings.php:85
|
4484 |
+
msgctxt "static pages"
|
4485 |
+
msgid "Individually disabled"
|
4486 |
+
msgstr "Posamezno onemogočene"
|
4487 |
+
|
4488 |
+
#: strings.php:86
|
4489 |
+
msgctxt "static pages"
|
4490 |
+
msgid "Individually enabled"
|
4491 |
+
msgstr "Posamezno omogočene"
|
4492 |
+
|
4493 |
+
#: strings.php:88
|
4494 |
+
msgid "Server-side"
|
4495 |
+
msgstr "Na strani strežnika"
|
4496 |
+
|
4497 |
+
#: strings.php:89
|
4498 |
+
msgctxt "Insertion"
|
4499 |
+
msgid "Client-side"
|
4500 |
+
msgstr "Na strani klienta"
|
4501 |
+
|
4502 |
+
#: strings.php:90
|
4503 |
+
msgctxt "Dynamic blocks"
|
4504 |
+
msgid "Client-side show"
|
4505 |
+
msgstr "Prikaži na strani klienta"
|
4506 |
+
|
4507 |
+
#: strings.php:91
|
4508 |
+
msgctxt "Dynamic blocks"
|
4509 |
+
msgid "Client-side insert"
|
4510 |
+
msgstr "Vstavi na strani klienta"
|
4511 |
+
|
4512 |
+
#: strings.php:92
|
4513 |
+
msgctxt "Insertion"
|
4514 |
+
msgid "Server-side using W3 Total Cache"
|
4515 |
+
msgstr "Na strani strežnika z uporabo W3 Total Cache"
|
4516 |
+
|
4517 |
+
#: strings.php:93
|
4518 |
+
msgctxt "Insertion"
|
4519 |
+
msgid "Client-side when DOM ready"
|
4520 |
+
msgstr "Na strani klienta, ko je DOM pripravljen"
|
4521 |
+
|
4522 |
+
#: strings.php:98
|
4523 |
+
msgid "Replace element"
|
4524 |
+
msgstr "Nadomesti element"
|
4525 |
+
|
4526 |
+
#: strings.php:100
|
4527 |
+
msgid "desktop devices"
|
4528 |
+
msgstr "namizne naprave"
|
4529 |
+
|
4530 |
+
#: strings.php:101
|
4531 |
+
msgid "mobile devices"
|
4532 |
+
msgstr "mobilne naprave"
|
4533 |
+
|
4534 |
+
#: strings.php:102
|
4535 |
+
msgid "tablet devices"
|
4536 |
+
msgstr "tablične naprave"
|
4537 |
+
|
4538 |
+
#: strings.php:103
|
4539 |
+
msgid "phone devices"
|
4540 |
+
msgstr "telefonske naprave"
|
4541 |
+
|
4542 |
+
#: strings.php:104
|
4543 |
+
msgid "desktop and tablet devices"
|
4544 |
+
msgstr "namizne in telefonske naprave"
|
4545 |
+
|
4546 |
+
#: strings.php:105
|
4547 |
+
msgid "desktop and phone devices"
|
4548 |
+
msgstr "tablične in telefonske naprave"
|
4549 |
+
|
4550 |
+
#: strings.php:107
|
4551 |
+
msgid "Stick to the left"
|
4552 |
+
msgstr "Lepljiv na levi"
|
4553 |
+
|
4554 |
+
#: strings.php:108
|
4555 |
+
msgid "Stick to the content left"
|
4556 |
+
msgstr "Lepljiv na vsebino levo"
|
4557 |
+
|
4558 |
+
#: strings.php:109
|
4559 |
+
msgid "Stick to the content right"
|
4560 |
+
msgstr "Lepljiv na vsebino desno"
|
4561 |
+
|
4562 |
+
#: strings.php:110
|
4563 |
+
msgid "Stick to the right"
|
4564 |
+
msgstr "Lepljiv na desni"
|
4565 |
+
|
4566 |
+
#: strings.php:112
|
4567 |
+
msgid "Stick to the top"
|
4568 |
+
msgstr "Lepljiv na vrh"
|
4569 |
+
|
4570 |
+
#: strings.php:113
|
4571 |
+
msgid "Scroll with the content"
|
4572 |
+
msgstr "Pomikaj z vsebino"
|
4573 |
+
|
4574 |
+
#: strings.php:114
|
4575 |
+
msgid "Stick to the bottom"
|
4576 |
+
msgstr "Lepljiv na dno"
|
4577 |
+
|
4578 |
+
#: strings.php:116
|
4579 |
+
msgid "Fade"
|
4580 |
+
msgstr "Uveni"
|
4581 |
+
|
4582 |
+
#: strings.php:117
|
4583 |
+
msgid "Slide"
|
4584 |
+
msgstr "Drsaj"
|
4585 |
+
|
4586 |
+
#: strings.php:118
|
4587 |
+
msgid "Slide and Fade"
|
4588 |
+
msgstr "Drsaj in Uveni"
|
4589 |
+
|
4590 |
+
#: strings.php:119
|
4591 |
+
msgid "Flip"
|
4592 |
+
msgstr "Zavrti"
|
4593 |
+
|
4594 |
+
#: strings.php:120
|
4595 |
+
msgid "Zoom In"
|
4596 |
+
msgstr "Približaj"
|
4597 |
+
|
4598 |
+
#: strings.php:121
|
4599 |
+
msgid "Zoom Out"
|
4600 |
+
msgstr "Oddalji"
|
4601 |
+
|
4602 |
+
#: strings.php:122
|
4603 |
+
msgid "Turn"
|
4604 |
+
msgstr "Obrni"
|
4605 |
+
|
4606 |
+
#: strings.php:124
|
4607 |
+
msgid "Page loaded"
|
4608 |
+
msgstr "Stran naložena"
|
4609 |
+
|
4610 |
+
#: strings.php:125
|
4611 |
+
msgid "Page scrolled (%)"
|
4612 |
+
msgstr "Stran pomaknjena (%)"
|
4613 |
+
|
4614 |
+
#: strings.php:126
|
4615 |
+
msgid "Page scrolled (px)"
|
4616 |
+
msgstr "Stran pomaknjena (px)"
|
4617 |
+
|
4618 |
+
#: strings.php:127
|
4619 |
+
msgid "Element visible"
|
4620 |
+
msgstr "Element viden"
|
4621 |
+
|
4622 |
+
#: strings.php:129
|
4623 |
+
msgid "Insert immediately"
|
4624 |
+
msgstr "Vstavi takoj"
|
4625 |
+
|
4626 |
+
#: strings.php:130
|
4627 |
+
msgid "Delay insertion"
|
4628 |
+
msgstr "Zakasni vstavljanje"
|
4629 |
+
|
4630 |
+
#: strings.php:131
|
4631 |
+
msgid "Insert between dates"
|
4632 |
+
msgstr "Vstavi med datumoma"
|
4633 |
+
|
4634 |
+
#: strings.php:132
|
4635 |
+
msgid "Insert outside dates"
|
4636 |
+
msgstr "Vstavi izven datumov"
|
4637 |
+
|
4638 |
+
#: strings.php:133
|
4639 |
+
msgid "Insert only"
|
4640 |
+
msgstr "Vstavi samo"
|
4641 |
+
|
4642 |
+
#: strings.php:134
|
4643 |
+
msgid "Insert for posts published between dates"
|
4644 |
+
msgstr "Vstavi samo za prispevke objavljene med datumoma"
|
4645 |
+
|
4646 |
+
#: strings.php:135
|
4647 |
+
msgid "Insert for posts published outside dates"
|
4648 |
+
msgstr "Vstavi samo za prispevke objavljene izven datumov"
|
4649 |
+
|
4650 |
+
#: strings.php:137
|
4651 |
+
msgctxt "functions"
|
4652 |
+
msgid "Standard"
|
4653 |
+
msgstr "Običajne"
|
4654 |
+
|
4655 |
+
#: strings.php:138
|
4656 |
+
msgctxt "detection"
|
4657 |
+
msgid "Standard"
|
4658 |
+
msgstr "Običajno"
|
4659 |
+
|
4660 |
+
#: strings.php:139
|
4661 |
+
msgctxt "functions"
|
4662 |
+
msgid "Multibyte"
|
4663 |
+
msgstr "Večznakovne"
|
4664 |
+
|
4665 |
+
#: strings.php:141
|
4666 |
+
msgctxt "action"
|
4667 |
+
msgid "None"
|
4668 |
+
msgstr "Nobena"
|
4669 |
+
|
4670 |
+
#: strings.php:142
|
4671 |
+
msgctxt "button"
|
4672 |
+
msgid "None"
|
4673 |
+
msgstr "Noben"
|
4674 |
+
|
4675 |
+
#: strings.php:143
|
4676 |
+
msgid "Popup Message"
|
4677 |
+
msgstr "Pojavno Sporočilo"
|
4678 |
+
|
4679 |
+
#: strings.php:144
|
4680 |
+
msgid "Redirection"
|
4681 |
+
msgstr "Preusmeritev"
|
4682 |
+
|
4683 |
+
#: strings.php:146
|
4684 |
+
msgid "Do nothnig"
|
4685 |
+
msgstr "Ne naredi ničesar"
|
4686 |
+
|
4687 |
+
#: strings.php:148
|
4688 |
+
msgctxt "Action when ad blocking detected"
|
4689 |
+
msgid "Show"
|
4690 |
+
msgstr "Pokaži"
|
4691 |
+
|
4692 |
+
#: strings.php:149
|
4693 |
+
msgctxt "Action when ad blocking detected"
|
4694 |
+
msgid "Hide"
|
4695 |
+
msgstr "Skrij"
|
4696 |
+
|
4697 |
+
#: strings.php:151
|
4698 |
+
msgctxt "tracking"
|
4699 |
+
msgid "Internal"
|
4700 |
+
msgstr "Interno"
|
4701 |
+
|
4702 |
+
#: strings.php:152
|
4703 |
+
msgctxt "detection"
|
4704 |
+
msgid "Advanced"
|
4705 |
+
msgstr "Napredno"
|
4706 |
+
|
4707 |
+
#: strings.php:155
|
4708 |
+
msgid "Top right"
|
4709 |
+
msgstr "Zgoraj desno"
|
4710 |
+
|
4711 |
+
#: strings.php:156
|
4712 |
+
msgid "Top left"
|
4713 |
+
msgstr "Zgoraj levo"
|
4714 |
+
|
4715 |
+
#: strings.php:157
|
4716 |
+
msgid "Bottom right"
|
4717 |
+
msgstr "Spodaj desno"
|
4718 |
+
|
4719 |
+
#: strings.php:158
|
4720 |
+
msgid "Bottom left"
|
4721 |
+
msgstr "Spodaj levo"
|
4722 |
+
|
4723 |
+
#: strings.php:160
|
4724 |
+
msgctxt "AdSense Ad Type"
|
4725 |
+
msgid "Standard"
|
4726 |
+
msgstr "Običajni"
|
4727 |
+
|
4728 |
+
#: strings.php:161
|
4729 |
+
msgctxt "AdSense Ad Type"
|
4730 |
+
msgid "Link"
|
4731 |
+
msgstr "Povezave"
|
4732 |
+
|
4733 |
+
#: strings.php:162
|
4734 |
+
msgctxt "AdSense Ad Type"
|
4735 |
+
msgid "In-article"
|
4736 |
+
msgstr "V članku"
|
4737 |
+
|
4738 |
+
#: strings.php:163
|
4739 |
+
msgctxt "AdSense Ad Type"
|
4740 |
+
msgid "In-feed"
|
4741 |
+
msgstr "V viru"
|
4742 |
+
|
4743 |
+
#: strings.php:164
|
4744 |
+
msgctxt "AdSense Ad Type"
|
4745 |
+
msgid "Matched content"
|
4746 |
+
msgstr "Prilagojena vsebina"
|
4747 |
+
|
4748 |
+
#: strings.php:165
|
4749 |
+
msgctxt "AdSense Ad Type"
|
4750 |
+
msgid "Auto Ads"
|
4751 |
+
msgstr "Samodejni"
|
4752 |
+
|
4753 |
+
#: strings.php:167
|
4754 |
+
msgctxt "AMP ad"
|
4755 |
+
msgid "Disabled"
|
4756 |
+
msgstr "Onemogočen"
|
4757 |
+
|
4758 |
+
#: strings.php:168
|
4759 |
+
msgid "Above the fold"
|
4760 |
+
msgstr "Nad pregibom"
|
4761 |
+
|
4762 |
+
#: strings.php:169
|
4763 |
+
msgid "Below the fold"
|
4764 |
+
msgstr "Pod pregibom"
|
4765 |
+
|
4766 |
+
#: strings.php:171
|
4767 |
+
msgctxt "size"
|
4768 |
+
msgid "Fixed"
|
4769 |
+
msgstr "Fiksna"
|
4770 |
+
|
4771 |
+
#: strings.php:172
|
4772 |
+
msgctxt "size"
|
4773 |
+
msgid "Responsive"
|
4774 |
+
msgstr "Odzivna"
|
4775 |
+
|
4776 |
+
#: strings.php:173
|
4777 |
+
msgctxt "size"
|
4778 |
+
msgid "Fixed by viewport"
|
4779 |
+
msgstr "Fiksna glede na pogled"
|
4780 |
+
|
4781 |
+
#: strings.php:178
|
4782 |
+
msgctxt "Button"
|
4783 |
+
msgid "Hide"
|
4784 |
+
msgstr "Skrij"
|
4785 |
+
|
4786 |
+
#: strings.php:180
|
4787 |
+
msgid "Insertion expired"
|
4788 |
+
msgstr "Vstavljanje poteklo"
|
4789 |
+
|
4790 |
+
#: strings.php:181
|
4791 |
+
msgid "Duration"
|
4792 |
+
msgstr "Trajanje"
|
4793 |
+
|
4794 |
+
#: strings.php:182
|
4795 |
+
msgid "Invalid end date - must be after start date"
|
4796 |
+
msgstr "Neveljaven končni datum - mora biti za začetnim datumom"
|
4797 |
+
|
4798 |
+
#: strings.php:183
|
4799 |
+
msgid "Invalid start date - only data for 1 year back is available"
|
4800 |
+
msgstr "Neveljaven začetni datum - na voljo so samo pdatki za 1 leto nataj"
|
4801 |
+
|
4802 |
+
#: strings.php:184
|
4803 |
+
msgid "Invalid date range - only data for 1 year can be displayed"
|
4804 |
+
msgstr ""
|
4805 |
+
"Neveljavno časovno oddobje - prikažejo se lahko samo podatki za 1 leto nazaj"
|
4806 |
+
|
4807 |
+
#: strings.php:185 strings.php:186 strings.php:187 strings.php:188
|
4808 |
+
#: strings.php:189 strings.php:190
|
4809 |
+
msgid "day"
|
4810 |
+
msgid_plural "days"
|
4811 |
+
msgstr[0] "dan"
|
4812 |
+
msgstr[1] "dni"
|
4813 |
+
msgstr[2] "dni"
|
4814 |
+
msgstr[3] "dni"
|
4815 |
+
|
4816 |
+
#: strings.php:191
|
4817 |
+
msgid "Warning"
|
4818 |
+
msgstr "Opozorilo"
|
4819 |
+
|
4820 |
+
#: strings.php:192
|
4821 |
+
msgid "Delete"
|
4822 |
+
msgstr "Pobriši"
|
4823 |
+
|
4824 |
+
#: strings.php:194
|
4825 |
+
msgid "Delete all statistics data?"
|
4826 |
+
msgstr "Pobrišem vse podatke o statistiki?"
|
4827 |
+
|
4828 |
+
#. translators: %s: dates
|
4829 |
+
#: strings.php:196
|
4830 |
+
msgid "Delete statistics data between %s and %s?"
|
4831 |
+
msgstr "Pobrišem podatke o statistiki med %s in %s?"
|
4832 |
+
|
4833 |
+
#: strings.php:197
|
4834 |
+
msgid "Cancel block order rearrangement"
|
4835 |
+
msgstr "Prekliči preureditev vrstnega reda blokov"
|
4836 |
+
|
4837 |
+
#: strings.php:199
|
4838 |
+
msgid "downloading..."
|
4839 |
+
msgstr "prenašam..."
|
4840 |
+
|
4841 |
+
#: strings.php:200
|
4842 |
+
msgid "download error"
|
4843 |
+
msgstr "napaka pri prenosu"
|
4844 |
+
|
4845 |
+
#: strings.php:201
|
4846 |
+
msgid "update error"
|
4847 |
+
msgstr "napaka pri posodobitvi"
|
4848 |
+
|
4849 |
+
#: strings.php:202
|
4850 |
+
msgid "Updating..."
|
4851 |
+
msgstr "Posodabljam..."
|
4852 |
+
|
4853 |
+
#: strings.php:204
|
4854 |
+
msgid "ERROR"
|
4855 |
+
msgstr "NAPAKA"
|
4856 |
+
|
4857 |
+
#: strings.php:205
|
4858 |
+
msgid "Error reloading settings"
|
4859 |
+
msgstr "Napaka pri nalaganju nastavitev"
|
4860 |
+
|
4861 |
+
#: strings.php:207
|
4862 |
+
msgid "Search..."
|
4863 |
+
msgstr "Išči..."
|
4864 |
+
|
4865 |
+
#: strings.php:220
|
4866 |
+
msgid "Add"
|
4867 |
+
msgstr "Dodaj"
|
4868 |
+
|
4869 |
+
#: strings.php:221
|
4870 |
+
msgid "Parent"
|
4871 |
+
msgstr "Starš"
|
4872 |
+
|
4873 |
+
#: strings.php:222
|
4874 |
+
msgid "Cancel element selection"
|
4875 |
+
msgstr "Prekliči izbor HTML elementa"
|
4876 |
+
|
4877 |
+
#: strings.php:223
|
4878 |
+
msgid "Select parent element"
|
4879 |
+
msgstr "Izberi starševski element"
|
4880 |
+
|
4881 |
+
#: strings.php:224
|
4882 |
+
msgid "CSS selector"
|
4883 |
+
msgstr "CSS selektor"
|
4884 |
+
|
4885 |
+
#: strings.php:225
|
4886 |
+
msgid "Use current selector"
|
4887 |
+
msgstr "Uporabi trenutni selektor"
|
4888 |
+
|
4889 |
+
#: strings.php:226
|
4890 |
+
msgid "ELEMENT"
|
4891 |
+
msgstr "ELEMENT"
|
4892 |
+
|
4893 |
+
#: strings.php:227
|
4894 |
+
msgid "PATH"
|
4895 |
+
msgstr "POT"
|
4896 |
+
|
4897 |
+
#: strings.php:228
|
4898 |
+
msgid "SELECTOR"
|
4899 |
+
msgstr "SELEKTOR"
|
4900 |
+
|
4901 |
+
#: strings.php:229
|
4902 |
+
msgctxt "Block"
|
4903 |
+
msgid "VISIBLE"
|
4904 |
+
msgstr "VIDEN"
|
4905 |
+
|
4906 |
+
#: strings.php:230
|
4907 |
+
msgctxt "Block"
|
4908 |
+
msgid "HIDDEN"
|
4909 |
+
msgstr "SKRIT"
|
4910 |
+
|
4911 |
+
#. Description of the plugin/theme
|
4912 |
+
msgid ""
|
4913 |
+
"Ad management with many advanced advertising features to insert ads at "
|
4914 |
+
"optimal positions"
|
4915 |
+
msgstr ""
|
4916 |
+
"Upravljanje z oglasi z veliko naprednimi funkcijami za vstavljanje oglasov "
|
4917 |
+
"na optimalna mesta"
|
4918 |
+
|
4919 |
+
#~ msgid "PREPEND"
|
4920 |
+
#~ msgstr "DODAJ ZA"
|
4921 |
+
|
4922 |
+
#~ msgid "APPEND"
|
4923 |
+
#~ msgstr "DODAJ PRED"
|
4924 |
+
|
4925 |
+
#~ msgctxt "When ad blocking detected"
|
4926 |
+
#~ msgid "Show"
|
4927 |
+
#~ msgstr "Prikaži"
|
4928 |
+
|
4929 |
+
#, fuzzy
|
4930 |
+
#~| msgid "Cancel"
|
4931 |
+
#~ msgctxt "Button"
|
4932 |
+
#~ msgid "Cance"
|
4933 |
+
#~ msgstr "Prekliči"
|
4934 |
+
|
4935 |
+
#, fuzzy
|
4936 |
+
#~| msgid "Cancel"
|
4937 |
+
#~ msgctxt "Button"
|
4938 |
+
#~ msgid "Cancels"
|
4939 |
+
#~ msgstr "Prekliči"
|
4940 |
+
|
4941 |
+
#~ msgctxt "Button"
|
4942 |
+
#~ msgid "Cancela"
|
4943 |
+
#~ msgstr "Prekliči"
|
4944 |
+
|
4945 |
+
#, fuzzy
|
4946 |
+
#~| msgctxt "Widget"
|
4947 |
+
#~| msgid "Sticky"
|
4948 |
+
#~ msgctxt "Code Preview"
|
4949 |
+
#~ msgid "Sticky"
|
4950 |
+
#~ msgstr "Lepljiv"
|
4951 |
+
|
4952 |
+
#~ msgid "Hey"
|
4953 |
+
#~ msgstr "Hej"
|
4954 |
+
|
4955 |
+
#~ msgid "64 code (ad) blocks"
|
4956 |
+
#~ msgstr "64 kodnih (oglasnih) blokov"
|
4957 |
+
|
4958 |
+
#~ msgid "Click on %s Create credentials %s"
|
4959 |
+
#~ msgstr "Kliknite na %s Ustvarite pooblastila %s"
|
4960 |
+
|
4961 |
+
#, fuzzy
|
4962 |
+
#~| msgid "Automatic insertion"
|
4963 |
+
#~ msgid "Automatic Insertion"
|
4964 |
+
#~ msgstr "Samodejno vstavljanje"
|
4965 |
+
|
4966 |
+
#~ msgid ""
|
4967 |
+
#~ "Force showing admin toolbar for administrators when viewing site. Enable "
|
4968 |
+
#~ "this option when you are logged in as admin and you don't see admin "
|
4969 |
+
#~ "toolbar."
|
4970 |
+
#~ msgstr ""
|
4971 |
+
#~ "Vsili prikaz orodne vrstice za skrbnike pri ogledu strani. Omogočite to "
|
4972 |
+
#~ "možnost, če ste prijavljeni kot skrbnik, pa ne vidite orodne vrstice za "
|
4973 |
+
#~ "skrbnike."
|
4974 |
+
|
4975 |
+
#~| msgctxt "Header code"
|
4976 |
+
#~| msgid "DISABLED"
|
4977 |
+
#~ msgctxt "header or footer"
|
4978 |
+
#~ msgid "DISABLED"
|
4979 |
+
#~ msgstr "ONEMOGOČENA"
|
4980 |
+
|
4981 |
+
#~ msgid "Comma separated text"
|
4982 |
+
#~ msgstr "Z vejico ločeno besedilo"
|
4983 |
+
|
4984 |
+
#, fuzzy
|
4985 |
+
#~| msgid "Devices"
|
4986 |
+
#~ msgctxt "ad-inserter"
|
4987 |
+
#~ msgid "all devices"
|
4988 |
+
#~ msgstr "Naprave"
|
4989 |
+
|
4990 |
+
#~ msgid ""
|
4991 |
+
#~ "Wrong version parameter of the CSS file, probably due to inappropriate "
|
4992 |
+
#~ "caching."
|
4993 |
+
#~ msgstr ""
|
4994 |
+
#~ "Manjka parameter verzije CSS datoteke, najbrž zaradi nepravilnega "
|
4995 |
+
#~ "predpomnjenja."
|
4996 |
+
|
4997 |
+
#~ msgid "Go Pro"
|
4998 |
+
#~ msgstr "Go Pro"
|
4999 |
+
|
5000 |
+
#, fuzzy
|
5001 |
+
#~| msgid "Before post"
|
5002 |
+
#~ msgid "Before post, "
|
5003 |
+
#~ msgstr "Pred prispevkom"
|
5004 |
+
|
5005 |
+
#, fuzzy
|
5006 |
+
#~| msgid "After post"
|
5007 |
+
#~ msgid "After post, "
|
5008 |
+
#~ msgstr "Za prispevkom"
|
5009 |
+
|
5010 |
+
#~ msgctxt "filter counter"
|
5011 |
+
#~ msgid "auto"
|
5012 |
+
#~ msgstr "samodejni"
|
5013 |
+
|
5014 |
+
#, fuzzy
|
5015 |
+
#~| msgctxt "Enabled/disabled on all"
|
5016 |
+
#~| msgid "posts"
|
5017 |
+
#~ msgid "posts"
|
5018 |
+
#~ msgstr "prispevkih"
|
5019 |
+
|
5020 |
+
#~ msgid "BEFORE PARAGRAPH"
|
5021 |
+
#~ msgstr "PRED ODSTAVKOM"
|
5022 |
+
|
5023 |
+
#~ msgid "AFTER PARAGRAPH"
|
5024 |
+
#~ msgstr "PO ODSTAVKU"
|
5025 |
+
|
5026 |
+
#~ msgid "Default insertion for %s for each block can be configured on %s"
|
5027 |
+
#~ msgstr "Privzeto vstavljanje za %s za vsak blok se lahko nastavi na %s"
|
5028 |
+
|
5029 |
+
#~ msgid "Prepend"
|
5030 |
+
#~ msgstr "Dodaj pred vsebino"
|
5031 |
+
|
5032 |
+
#~ msgid "Append"
|
5033 |
+
#~ msgstr "Dodaj za vsebino"
|
5034 |
+
|
5035 |
+
#~ msgid "Every minute"
|
5036 |
+
#~ msgstr "Vsako minuto"
|
5037 |
+
|
5038 |
+
#~ msgid "Once Weekly"
|
5039 |
+
#~ msgstr "Enkrat tedensko"
|
5040 |
+
|
5041 |
+
#~ msgid "Once Monthly"
|
5042 |
+
#~ msgstr "Enkrat mesečno"
|
5043 |
+
|
5044 |
+
#~ msgid "No plugin data."
|
5045 |
+
#~ msgstr "Ni podatkov o vtičniku."
|
5046 |
+
|
5047 |
+
#~ msgid ""
|
5048 |
+
#~ "Thank you for installing our plugin. We'd like your permission to track "
|
5049 |
+
#~ "its usage on your site and subscribe you to our newsletter. This is "
|
5050 |
+
#~ "completely optional."
|
5051 |
+
#~ msgstr ""
|
5052 |
+
#~ "Hvala za namestitev našega vtičnika. Prosimo za soglasje za sledenje "
|
5053 |
+
#~ "njegovi uporabi na vašem spletnem mestu in za naročimo na naše novice. To "
|
5054 |
+
#~ "je povsem izbirno."
|
5055 |
+
|
5056 |
+
#~ msgid ""
|
5057 |
+
#~ "We won't record any sensitive data, only information regarding the "
|
5058 |
+
#~ "WordPress environment and plugin settings, which will help us to make "
|
5059 |
+
#~ "improvements to the plugin."
|
5060 |
+
#~ msgstr ""
|
5061 |
+
#~ "Ne bomo beležili občutljivh podatkov, samo informacije glede okolja "
|
5062 |
+
#~ "WordPress in nastavitev vtičnika, kar nam bo omogočilo izdelavo izboljšav "
|
5063 |
+
#~ "za vtičnik."
|
5064 |
+
|
5065 |
+
#~ msgid ""
|
5066 |
+
#~ "Thank you for installing our theme. We'd like your permission to track "
|
5067 |
+
#~ "its usage on your site and subscribe you to our newsletter. This is "
|
5068 |
+
#~ "completely optional."
|
5069 |
+
#~ msgstr ""
|
5070 |
+
#~ "Hvala za namestitev naše teme. Prosimo za soglasje za sledenje njeni "
|
5071 |
+
#~ "uporabi na vašem spletnem mestu in za naročimo na naše novice. To je "
|
5072 |
+
#~ "povsem izbirno."
|
5073 |
+
|
5074 |
+
#~ msgid ""
|
5075 |
+
#~ "We won't record any sensitive data, only information regarding the "
|
5076 |
+
#~ "WordPress environment and theme settings, which will help us to make "
|
5077 |
+
#~ "improvements to the theme."
|
5078 |
+
#~ msgstr ""
|
5079 |
+
#~ "Ne bomo beležili občutljivh podatkov, samo informacije glede okolja "
|
5080 |
+
#~ "WordPress in nastavitev teme, kar nam bo omogočilo izdelavo izboljšav za "
|
5081 |
+
#~ "temo."
|
5082 |
+
|
5083 |
+
#~ msgid ""
|
5084 |
+
#~ "Thank you for installing our plugin. We would like to track its usage on "
|
5085 |
+
#~ "your site. This is completely optional."
|
5086 |
+
#~ msgstr ""
|
5087 |
+
#~ "Hvala za namestitev našega vtičnika. Radi bi sledili njegovi uporabi na "
|
5088 |
+
#~ "vašem spletnem mestu. To je povsem izbirno."
|
5089 |
+
|
5090 |
+
#~ msgid ""
|
5091 |
+
#~ "We don't record any sensitive data, only information regarding the "
|
5092 |
+
#~ "WordPress environment and plugin settings, which will help us to make "
|
5093 |
+
#~ "improvements to the plugin."
|
5094 |
+
#~ msgstr ""
|
5095 |
+
#~ "Ne beležimo občutljivh podatkov, samo informacije glede okolja WordPress "
|
5096 |
+
#~ "in nastavitev vtičnika, kar nam bo omogočilo izdelavo izboljšav za "
|
5097 |
+
#~ "vtičnik."
|
5098 |
+
|
5099 |
+
#~ msgid ""
|
5100 |
+
#~ "Thank you for installing our theme. We would like to track its usage on "
|
5101 |
+
#~ "your site. This is completely optional."
|
5102 |
+
#~ msgstr ""
|
5103 |
+
#~ "Hvala za namestitev naše teme. Radi bi sledili njeni uporabi na vašem "
|
5104 |
+
#~ "spletnem mestu. To je povsem izbirno."
|
5105 |
+
|
5106 |
+
#~ msgid ""
|
5107 |
+
#~ "We don't record any sensitive data, only information regarding the "
|
5108 |
+
#~ "WordPress environment and theme settings, which will help us to make "
|
5109 |
+
#~ "improvements to the theme."
|
5110 |
+
#~ msgstr ""
|
5111 |
+
#~ "Ne beležimo občutljivh podatkov, samo informacije glede okolja WordPress "
|
5112 |
+
#~ "in nastavitev teme, kar nam bo omogočilo izdelavo izboljšav za temo."
|
5113 |
+
|
5114 |
+
#~ msgid ""
|
5115 |
+
#~ "Thank you for opting in to tracking. Would you like to receive occasional "
|
5116 |
+
#~ "news about this plugin, including details of new features and special "
|
5117 |
+
#~ "offers?"
|
5118 |
+
#~ msgstr ""
|
5119 |
+
#~ "Hvala za soglasje za sledenje. Ali želite prejemati občasne novice glede "
|
5120 |
+
#~ "tega vtičnika, vključno s podrobnostmi o novih funkcijah in posebnih "
|
5121 |
+
#~ "ponudbah?"
|
5122 |
+
|
5123 |
+
#~ msgid ""
|
5124 |
+
#~ "Thank you for opting in to tracking. Would you like to receive occasional "
|
5125 |
+
#~ "news about this theme, including details of new features and special "
|
5126 |
+
#~ "offers?"
|
5127 |
+
#~ msgstr ""
|
5128 |
+
#~ "Hvala za soglasje za sledenje. Ali želite prejemati občasne novice glede "
|
5129 |
+
#~ "te teme, vključno s podrobnostmi o novih funkcijah in posebnih ponudbah?"
|
5130 |
+
|
5131 |
+
#~ msgid "Sorry to see you go"
|
5132 |
+
#~ msgstr "Žal nam je, da odhajate"
|
5133 |
+
|
5134 |
+
#~ msgid ""
|
5135 |
+
#~ "Before you deactivate the plugin, would you quickly give us your reason "
|
5136 |
+
#~ "for doing so?"
|
5137 |
+
#~ msgstr ""
|
5138 |
+
#~ "Preden onemogočite vtičnik, ali nam lahko na kratko sporočite razlog za "
|
5139 |
+
#~ "to?"
|
5140 |
+
|
5141 |
+
#~ msgid "Set up is too difficult"
|
5142 |
+
#~ msgstr "Nastavitve so preveč zahtevne"
|
5143 |
+
|
5144 |
+
#~ msgid "Not the features I wanted"
|
5145 |
+
#~ msgstr "Nima funkcij, ki jih potrebujem"
|
5146 |
+
|
5147 |
+
#~ msgid "Doesn't work"
|
5148 |
+
#~ msgstr "Ne dela"
|
5149 |
+
|
5150 |
+
#~ msgid "Found a better plugin"
|
5151 |
+
#~ msgstr "Načel sem boljši vtičnik"
|
5152 |
+
|
5153 |
+
#~ msgid "Installed by mistake"
|
5154 |
+
#~ msgstr "Namestil po pomoti"
|
5155 |
+
|
5156 |
+
#~ msgid "Only required temporarily"
|
5157 |
+
#~ msgstr "Potrebujem samo začasno"
|
5158 |
+
|
5159 |
+
#~ msgid "Don't show this form again"
|
5160 |
+
#~ msgstr "Ne prikaži več tega obrazca"
|
5161 |
+
|
5162 |
+
#~ msgid "Details (optional)"
|
5163 |
+
#~ msgstr "Podrobnosti (izbirno)"
|
5164 |
+
|
5165 |
+
#~ msgid "This information will greatly help us to improve the plugin."
|
5166 |
+
#~ msgstr "Te informacije nam bodo zelo pomagale izboljšati vtičnik."
|
5167 |
+
|
5168 |
+
#~ msgid "Goodbye!"
|
5169 |
+
#~ msgstr "Nasvidenje!"
|
5170 |
+
|
5171 |
+
#~ msgid "Submitting form"
|
5172 |
+
#~ msgstr "Pošiljam obrazec"
|
5173 |
+
|
5174 |
+
#~ msgid "Just Deactivate"
|
5175 |
+
#~ msgstr "Samo Onemogoči"
|
5176 |
+
|
5177 |
+
#~ msgid "Submit and Deactivate"
|
5178 |
+
#~ msgstr "Pošlji in Onemogoči"
|
5179 |
+
|
5180 |
+
#~ msgid "Check for updates"
|
5181 |
+
#~ msgstr "Preveri posodobitve"
|
5182 |
+
|
5183 |
+
#~ msgid "View details"
|
5184 |
+
#~ msgstr "Poglej podrobnosti"
|
5185 |
+
|
5186 |
+
#~ msgctxt "the plugin title"
|
5187 |
+
#~ msgid "The %s plugin is up to date."
|
5188 |
+
#~ msgstr "Vtičnik %s je posodobljen."
|
5189 |
+
|
5190 |
+
#~ msgctxt "the plugin title"
|
5191 |
+
#~ msgid "A new version of the %s plugin is available."
|
5192 |
+
#~ msgstr "Nova različica vtičnika %s je na voljo."
|
5193 |
+
|
5194 |
+
#~ msgctxt "the plugin title"
|
5195 |
+
#~ msgid "Could not determine if updates are available for %s."
|
5196 |
+
#~ msgstr "Ne morem ugotoviti ali so za %s na voljo posodobitve."
|
5197 |
+
|
5198 |
+
#~ msgid "There is no changelog available."
|
5199 |
+
#~ msgstr "Dnevnik sprememb ni na razpolago."
|
languages/ad-inserter.pot
ADDED
@@ -0,0 +1,4509 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2018 Ad Inserter
|
2 |
+
# This file is distributed under the same license as the Ad Inserter package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Ad Inserter 2.4.2\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
|
7 |
+
"POT-Creation-Date: 2018-12-09 15:55:06+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
|
15 |
+
#: ad-inserter.php:247
|
16 |
+
msgctxt "Menu item"
|
17 |
+
msgid "Debugging DEMO"
|
18 |
+
msgstr ""
|
19 |
+
|
20 |
+
#: ad-inserter.php:255
|
21 |
+
msgctxt "Menu item"
|
22 |
+
msgid "Label Blocks"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: ad-inserter.php:262
|
26 |
+
msgctxt "Menu item"
|
27 |
+
msgid "Show Positions"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: ad-inserter.php:333
|
31 |
+
msgctxt "Menu item"
|
32 |
+
msgid "Show HTML Tags"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: ad-inserter.php:340
|
36 |
+
msgctxt "Menu item"
|
37 |
+
msgid "Disable Insertion"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: ad-inserter.php:349
|
41 |
+
msgctxt "Menu item"
|
42 |
+
msgid "Ad Blocking Status"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: ad-inserter.php:356
|
46 |
+
msgctxt "Menu item"
|
47 |
+
msgid "Simulate Ad Blocking"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: ad-inserter.php:366
|
51 |
+
msgctxt "Menu item"
|
52 |
+
msgid "Log Processing"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#. translators: Debugging position name Before HTML element
|
56 |
+
#: ad-inserter.php:889
|
57 |
+
msgid "Before"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#. translators: Debugging position name After HTML element
|
61 |
+
#: ad-inserter.php:894
|
62 |
+
msgid "After"
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#. translators: Debugging position name Prepend content of HTML element (before
|
66 |
+
#. the content of the HTML element)
|
67 |
+
#: ad-inserter.php:899 strings.php:95
|
68 |
+
msgid "Prepend content"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#. translators: Debugging position name Append content of HTML element (after
|
72 |
+
#. the content of the HTML element)
|
73 |
+
#: ad-inserter.php:904 strings.php:96
|
74 |
+
msgid "Append content"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#. translators: Debugging position name Replace content of HTML element
|
78 |
+
#: ad-inserter.php:909 strings.php:97
|
79 |
+
msgid "Replace content"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#. translators: Debugging position name Replace HTML element
|
83 |
+
#: ad-inserter.php:914 strings.php:147
|
84 |
+
msgid "Replace"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#. translators: Debugging message when output buffering is enabled
|
88 |
+
#: ad-inserter.php:959
|
89 |
+
msgid "OUTPUT BUFFERING"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#. translators: Debugging position
|
93 |
+
#: ad-inserter.php:963
|
94 |
+
msgid "Above Header"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: ad-inserter.php:1161
|
98 |
+
msgctxt "Menu item"
|
99 |
+
msgid "Log In"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#. translators: %s: Ad Inserter
|
103 |
+
#: ad-inserter.php:1402 ad-inserter.php:2244
|
104 |
+
msgid "%s Settings"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
|
108 |
+
#: ad-inserter.php:1816
|
109 |
+
msgid "AD BLOCKING DETECTED, PAGE VIEWS"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: ad-inserter.php:1816
|
113 |
+
msgid "NO ACTION"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: ad-inserter.php:1817
|
117 |
+
msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: ad-inserter.php:1818
|
121 |
+
msgid "AD BLOCKING DETECTED - ACTION"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: ad-inserter.php:1819
|
125 |
+
msgid "AD BLOCKING NOT DETECTED"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: ad-inserter.php:1820
|
129 |
+
msgid "AD BLOCKING DETECTION COOKIES DELETED"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: ad-inserter.php:1821
|
133 |
+
msgid "AD BLOCKING DETECTED - NO ACTION"
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#. Translators: 1: number of blocks, 2: Ad Inserter
|
137 |
+
#: ad-inserter.php:2015
|
138 |
+
msgid "Hey, you are now using %1$s %2$s block."
|
139 |
+
msgid_plural "Hey, you are now using %1$s %2$s blocks."
|
140 |
+
msgstr[0] ""
|
141 |
+
msgstr[1] ""
|
142 |
+
|
143 |
+
#: ad-inserter.php:2016 includes/functions.php:1337
|
144 |
+
msgid "No, thank you."
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#. Translators: %s: Ad Inserter
|
148 |
+
#: ad-inserter.php:2019
|
149 |
+
msgid ""
|
150 |
+
"Hey, you've been using %s for a while now, and I hope you're happy with it."
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: ad-inserter.php:2020 includes/functions.php:1339
|
154 |
+
msgid "Not now, maybe later."
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: ad-inserter.php:2030
|
158 |
+
msgid ""
|
159 |
+
"I would really appreciate it if you could give the plugin a 5-star rating on "
|
160 |
+
"WordPres."
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: ad-inserter.php:2032
|
164 |
+
msgid ""
|
165 |
+
"Positive reviews are a great incentive to fix bugs and to add new features "
|
166 |
+
"for better monetization of your website. Thank you, Igor"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#. translators: %s: Ad Inserter
|
170 |
+
#: ad-inserter.php:2038
|
171 |
+
msgid "Rate %s"
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#: ad-inserter.php:2043
|
175 |
+
msgid "I already did."
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: ad-inserter.php:2057
|
179 |
+
msgctxt "Menu item"
|
180 |
+
msgid "Settings"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#. translators: %s: Ad Inserter
|
184 |
+
#: ad-inserter.php:2131
|
185 |
+
msgctxt "Meta box name"
|
186 |
+
msgid "%s Individual Exceptions"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: ad-inserter.php:2160 ad-inserter.php:7303 class.php:1881
|
190 |
+
#: includes/preview.php:1757 includes/preview.php:1801
|
191 |
+
#: includes/preview.php:1838 settings.php:3042 strings.php:3
|
192 |
+
msgid "Block"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: ad-inserter.php:2161 settings.php:3043 settings.php:3117
|
196 |
+
msgid "Name"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: ad-inserter.php:2162 settings.php:909 settings.php:3045
|
200 |
+
msgid "Automatic insertion"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: ad-inserter.php:2165
|
204 |
+
msgid "Default insertion for pages"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: ad-inserter.php:2166
|
208 |
+
msgid "Default insertion for posts"
|
209 |
+
msgstr ""
|
210 |
+
|
211 |
+
#. translators: For this post or page
|
212 |
+
#: ad-inserter.php:2169
|
213 |
+
msgctxt "Page"
|
214 |
+
msgid "For this"
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: ad-inserter.php:2170
|
218 |
+
msgctxt "Post"
|
219 |
+
msgid "For this"
|
220 |
+
msgstr ""
|
221 |
+
|
222 |
+
#: ad-inserter.php:2178
|
223 |
+
msgctxt "Enabled/disabled on all"
|
224 |
+
msgid "pages"
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: ad-inserter.php:2179
|
228 |
+
msgctxt "Default insertion for"
|
229 |
+
msgid "pages"
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: ad-inserter.php:2183
|
233 |
+
msgctxt "Enabled/disabled on all"
|
234 |
+
msgid "posts"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: ad-inserter.php:2184
|
238 |
+
msgctxt "Default insertion for"
|
239 |
+
msgid "posts"
|
240 |
+
msgstr ""
|
241 |
+
|
242 |
+
#: ad-inserter.php:2203 ad-inserter.php:2216 strings.php:153
|
243 |
+
msgid "Enabled"
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#. translators: Menu items
|
247 |
+
#: ad-inserter.php:2203 ad-inserter.php:2216 includes/functions.php:1905
|
248 |
+
#: strings.php:16
|
249 |
+
msgid "Disabled"
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#. translators: Enabled on all pages or posts
|
253 |
+
#: ad-inserter.php:2206
|
254 |
+
msgid "Enabled on all"
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#. translators: Disabled on all pages or posts
|
258 |
+
#: ad-inserter.php:2208
|
259 |
+
msgid "Disabled on all"
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#. translators: No individual exceptions enabled for pages or posts
|
263 |
+
#: ad-inserter.php:2236
|
264 |
+
msgid "No individual exceptions enabled for"
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#. translators: 1: pages or posts, 2: Ad Inserter Settings (page)
|
268 |
+
#: ad-inserter.php:2241
|
269 |
+
msgid ""
|
270 |
+
"Default insertion for %1$s can be configured for each block on %2$s page - "
|
271 |
+
"selection next to <strong>Posts</strong> / <strong>Static pages</strong> "
|
272 |
+
"checkbox.<br />"
|
273 |
+
msgstr ""
|
274 |
+
|
275 |
+
#: ad-inserter.php:2246
|
276 |
+
msgid ""
|
277 |
+
"Default value is <strong>blank</strong> and means no individual exceptions "
|
278 |
+
"(even if previously defined here).<br />"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: ad-inserter.php:2249
|
282 |
+
msgctxt "Pages"
|
283 |
+
msgid ""
|
284 |
+
"Set to <strong>Individually disabled</strong> or <strong>Individually "
|
285 |
+
"enabled</strong> to enable individual exception settings on this page.<br />"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: ad-inserter.php:2250
|
289 |
+
msgctxt "Posts"
|
290 |
+
msgid ""
|
291 |
+
"Set to <strong>Individually disabled</strong> or <strong>Individually "
|
292 |
+
"enabled</strong> to enable individual exception settings on this page.<br />"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: ad-inserter.php:2252
|
296 |
+
msgid "For more information check page %s"
|
297 |
+
msgstr ""
|
298 |
+
|
299 |
+
#. translators: Ad Inserter Exceptions documentation page
|
300 |
+
#: ad-inserter.php:2254
|
301 |
+
msgid "Individual Exceptions"
|
302 |
+
msgstr ""
|
303 |
+
|
304 |
+
#: ad-inserter.php:2299
|
305 |
+
msgid "STATIC PAGE"
|
306 |
+
msgstr ""
|
307 |
+
|
308 |
+
#: ad-inserter.php:2302
|
309 |
+
msgid "POST"
|
310 |
+
msgstr ""
|
311 |
+
|
312 |
+
#: ad-inserter.php:2305
|
313 |
+
msgid "HOMEPAGE"
|
314 |
+
msgstr ""
|
315 |
+
|
316 |
+
#: ad-inserter.php:2308
|
317 |
+
msgid "CATEGORY PAGE"
|
318 |
+
msgstr ""
|
319 |
+
|
320 |
+
#: ad-inserter.php:2311
|
321 |
+
msgid "SEARCH PAGE"
|
322 |
+
msgstr ""
|
323 |
+
|
324 |
+
#: ad-inserter.php:2314
|
325 |
+
msgid "ARCHIVE PAGE"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#: ad-inserter.php:2317
|
329 |
+
msgid "ERROR 404 PAGE"
|
330 |
+
msgstr ""
|
331 |
+
|
332 |
+
#: ad-inserter.php:2320
|
333 |
+
msgid "AJAX CALL"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: ad-inserter.php:2323
|
337 |
+
msgid "UNKNOWN PAGE TYPE"
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
+
#: ad-inserter.php:2340
|
341 |
+
msgid "Click to delete ad blocking detection cokies"
|
342 |
+
msgstr ""
|
343 |
+
|
344 |
+
#: ad-inserter.php:2341
|
345 |
+
msgid "AD BLOCKING STATUS UNKNOWN"
|
346 |
+
msgstr ""
|
347 |
+
|
348 |
+
#. translators: %s: AdSense Auto Ads
|
349 |
+
#: ad-inserter.php:2361
|
350 |
+
msgid ""
|
351 |
+
"Code for %s detected - Code will automatically insert AdSense ads at optimal "
|
352 |
+
"positions"
|
353 |
+
msgstr ""
|
354 |
+
|
355 |
+
#: ad-inserter.php:2495
|
356 |
+
msgid "Code for insertion"
|
357 |
+
msgstr ""
|
358 |
+
|
359 |
+
#: ad-inserter.php:2495
|
360 |
+
msgid "character"
|
361 |
+
msgid_plural "characters"
|
362 |
+
msgstr[0] ""
|
363 |
+
msgstr[1] ""
|
364 |
+
|
365 |
+
#: ad-inserter.php:2504
|
366 |
+
msgid "Header code"
|
367 |
+
msgstr ""
|
368 |
+
|
369 |
+
#: ad-inserter.php:2504
|
370 |
+
msgctxt "Header code"
|
371 |
+
msgid "DISABLED"
|
372 |
+
msgstr ""
|
373 |
+
|
374 |
+
#: ad-inserter.php:2504 ad-inserter.php:2688
|
375 |
+
msgid "character inserted"
|
376 |
+
msgid_plural "characters inserted"
|
377 |
+
msgstr[0] ""
|
378 |
+
msgstr[1] ""
|
379 |
+
|
380 |
+
#: ad-inserter.php:2521
|
381 |
+
msgid "Automatically placed by AdSense Auto ads code"
|
382 |
+
msgstr ""
|
383 |
+
|
384 |
+
#: ad-inserter.php:2673
|
385 |
+
msgid "JAVASCRIPT NOT WORKING"
|
386 |
+
msgstr ""
|
387 |
+
|
388 |
+
#: ad-inserter.php:2673
|
389 |
+
msgid "JAVASCRIPT WORKING"
|
390 |
+
msgstr ""
|
391 |
+
|
392 |
+
#: ad-inserter.php:2688
|
393 |
+
msgid "Footer code"
|
394 |
+
msgstr ""
|
395 |
+
|
396 |
+
#: ad-inserter.php:2688
|
397 |
+
msgctxt "Footer code"
|
398 |
+
msgid "DISABLED"
|
399 |
+
msgstr ""
|
400 |
+
|
401 |
+
#. translators: block name (block with default settings)
|
402 |
+
#: ad-inserter.php:4625
|
403 |
+
msgctxt "Block name"
|
404 |
+
msgid "Default"
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#. translators: %s: Ad Inserter
|
408 |
+
#: ad-inserter.php:5165
|
409 |
+
msgid "Error importing %s settings."
|
410 |
+
msgstr ""
|
411 |
+
|
412 |
+
#: ad-inserter.php:5166
|
413 |
+
msgid "Error importing settings for block"
|
414 |
+
msgid_plural "Error importing settings for blocks:"
|
415 |
+
msgstr[0] ""
|
416 |
+
msgstr[1] ""
|
417 |
+
|
418 |
+
#: ad-inserter.php:5215
|
419 |
+
msgid "Settings saved."
|
420 |
+
msgstr ""
|
421 |
+
|
422 |
+
#: ad-inserter.php:5300
|
423 |
+
msgid "Settings cleared."
|
424 |
+
msgstr ""
|
425 |
+
|
426 |
+
#: ad-inserter.php:5630 ad-inserter.php:5632 ad-inserter.php:5643
|
427 |
+
msgid "word"
|
428 |
+
msgid_plural "words"
|
429 |
+
msgstr[0] ""
|
430 |
+
msgstr[1] ""
|
431 |
+
|
432 |
+
#: ad-inserter.php:5659 ad-inserter.php:5769
|
433 |
+
msgid "HTML TAGS REMOVED"
|
434 |
+
msgstr ""
|
435 |
+
|
436 |
+
#: ad-inserter.php:5843
|
437 |
+
msgid "BEFORE COMMENTS"
|
438 |
+
msgstr ""
|
439 |
+
|
440 |
+
#: ad-inserter.php:5950
|
441 |
+
msgid "AFTER COMMENTS"
|
442 |
+
msgstr ""
|
443 |
+
|
444 |
+
#: ad-inserter.php:6014
|
445 |
+
msgid "BETWEEN COMMENTS"
|
446 |
+
msgstr ""
|
447 |
+
|
448 |
+
#: ad-inserter.php:6989
|
449 |
+
msgid "requires WordPress 4.0 or newer"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: ad-inserter.php:6989
|
453 |
+
msgid "Please update!"
|
454 |
+
msgstr ""
|
455 |
+
|
456 |
+
#. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
|
457 |
+
#. name with HTML tags will be added)
|
458 |
+
#: ad-inserter.php:7183
|
459 |
+
msgid "Thank you for installing"
|
460 |
+
msgstr ""
|
461 |
+
|
462 |
+
#. translators: Opt-in message: %s: HTML tags
|
463 |
+
#: ad-inserter.php:7185
|
464 |
+
msgid ""
|
465 |
+
"We would like to %s track its usage %s on your site. This is completely "
|
466 |
+
"optional and can be disabled at any time."
|
467 |
+
msgstr ""
|
468 |
+
|
469 |
+
#: ad-inserter.php:7187
|
470 |
+
msgid ""
|
471 |
+
"We don't record any sensitive data, only information regarding the WordPress "
|
472 |
+
"environment and plugin usage, which will help us to make improvements to the "
|
473 |
+
"plugin."
|
474 |
+
msgstr ""
|
475 |
+
|
476 |
+
#. translators: Deactivation message: %s: HTML tags
|
477 |
+
#: ad-inserter.php:7224
|
478 |
+
msgid ""
|
479 |
+
"Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
|
480 |
+
"help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
|
481 |
+
"us know %s and we'll try to help you."
|
482 |
+
msgstr ""
|
483 |
+
|
484 |
+
#. translators: %s: Ad Inserter
|
485 |
+
#: ad-inserter.php:7260
|
486 |
+
msgid "%s block."
|
487 |
+
msgstr ""
|
488 |
+
|
489 |
+
#. translators: widget title
|
490 |
+
#: ad-inserter.php:7276 ad-inserter.php:7312
|
491 |
+
msgid "Processing log"
|
492 |
+
msgstr ""
|
493 |
+
|
494 |
+
#. translators: widget title
|
495 |
+
#: ad-inserter.php:7278 ad-inserter.php:7313
|
496 |
+
msgid "Dummy widget"
|
497 |
+
msgstr ""
|
498 |
+
|
499 |
+
#. translators: widget title
|
500 |
+
#: ad-inserter.php:7280 ad-inserter.php:7311
|
501 |
+
msgid "Debugging tools"
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
+
#. translators: block status (widget title)
|
505 |
+
#: ad-inserter.php:7287
|
506 |
+
msgctxt "block"
|
507 |
+
msgid "PAUSED"
|
508 |
+
msgstr ""
|
509 |
+
|
510 |
+
#: ad-inserter.php:7288
|
511 |
+
msgid "WIDGET DISABLED"
|
512 |
+
msgstr ""
|
513 |
+
|
514 |
+
#: ad-inserter.php:7289
|
515 |
+
msgid "Unknown block"
|
516 |
+
msgstr ""
|
517 |
+
|
518 |
+
#: ad-inserter.php:7298 includes/functions.php:2323 settings.php:1055
|
519 |
+
msgid "Title"
|
520 |
+
msgstr ""
|
521 |
+
|
522 |
+
#: ad-inserter.php:7320
|
523 |
+
msgctxt "Widget"
|
524 |
+
msgid "Sticky"
|
525 |
+
msgstr ""
|
526 |
+
|
527 |
+
#: ad-inserter.php:7369
|
528 |
+
msgid ""
|
529 |
+
"Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
|
530 |
+
"Inserter you need to first deactivate Ad Inserter Pro."
|
531 |
+
msgstr ""
|
532 |
+
|
533 |
+
#: ad-inserter.php:7370
|
534 |
+
msgid ""
|
535 |
+
"<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
|
536 |
+
"will clear all settings that are available only in the Pro version (blocks "
|
537 |
+
"17 - 96, additional block and plugin settings)!"
|
538 |
+
msgstr ""
|
539 |
+
|
540 |
+
#. translators: %s: Ad Inserter
|
541 |
+
#: class.php:448 class.php:457 class.php:460
|
542 |
+
msgid "PHP error in %s block"
|
543 |
+
msgstr ""
|
544 |
+
|
545 |
+
#: class.php:1847
|
546 |
+
msgid "Counters"
|
547 |
+
msgstr ""
|
548 |
+
|
549 |
+
#: class.php:1851
|
550 |
+
msgid "Content"
|
551 |
+
msgstr ""
|
552 |
+
|
553 |
+
#: class.php:1856
|
554 |
+
msgid "Excerpt"
|
555 |
+
msgstr ""
|
556 |
+
|
557 |
+
#: class.php:1861 strings.php:17
|
558 |
+
msgid "Before post"
|
559 |
+
msgstr ""
|
560 |
+
|
561 |
+
#: class.php:1866 strings.php:18
|
562 |
+
msgid "After post"
|
563 |
+
msgstr ""
|
564 |
+
|
565 |
+
#: class.php:1871 settings.php:1542 settings.php:3049
|
566 |
+
msgid "Widget"
|
567 |
+
msgstr ""
|
568 |
+
|
569 |
+
#: class.php:1876 settings.php:3047
|
570 |
+
msgid "PHP function call"
|
571 |
+
msgstr ""
|
572 |
+
|
573 |
+
#. translators: %s: list parameters and type
|
574 |
+
#: class.php:2226
|
575 |
+
msgid "parameters='%s' type='%s'"
|
576 |
+
msgstr ""
|
577 |
+
|
578 |
+
#. translators: %s: list parameters and type
|
579 |
+
#: class.php:2228
|
580 |
+
msgid "referers='%s' type='%s'"
|
581 |
+
msgstr ""
|
582 |
+
|
583 |
+
#. translators: %s: list parameters and type
|
584 |
+
#: class.php:2289
|
585 |
+
msgid "countries='%s' type='%s'"
|
586 |
+
msgstr ""
|
587 |
+
|
588 |
+
#. translators: %s: list parameters and type
|
589 |
+
#: class.php:2291
|
590 |
+
msgid "ip addresses='%s' type='%s'"
|
591 |
+
msgstr ""
|
592 |
+
|
593 |
+
#: class.php:2336
|
594 |
+
msgid "AJAX REQUEST"
|
595 |
+
msgstr ""
|
596 |
+
|
597 |
+
#: class.php:2350
|
598 |
+
msgid "Ajax request url"
|
599 |
+
msgstr ""
|
600 |
+
|
601 |
+
#: class.php:2350
|
602 |
+
msgid "IN THE LOOP"
|
603 |
+
msgstr ""
|
604 |
+
|
605 |
+
#: class.php:2350
|
606 |
+
msgid "YES"
|
607 |
+
msgstr ""
|
608 |
+
|
609 |
+
#: class.php:2350
|
610 |
+
msgid "NO"
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: class.php:2410
|
614 |
+
msgid "WIDGET"
|
615 |
+
msgstr ""
|
616 |
+
|
617 |
+
#: class.php:2410
|
618 |
+
msgid "BLOCK"
|
619 |
+
msgstr ""
|
620 |
+
|
621 |
+
#: class.php:2410
|
622 |
+
msgctxt "block or widget"
|
623 |
+
msgid "INSERTED BUT NOT VISIBLE"
|
624 |
+
msgstr ""
|
625 |
+
|
626 |
+
#: class.php:2592 strings.php:212
|
627 |
+
msgid "BEFORE"
|
628 |
+
msgstr ""
|
629 |
+
|
630 |
+
#: class.php:2600 strings.php:214
|
631 |
+
msgid "PREPEND CONTENT"
|
632 |
+
msgstr ""
|
633 |
+
|
634 |
+
#: class.php:2604 strings.php:215
|
635 |
+
msgid "APPEND CONTENT"
|
636 |
+
msgstr ""
|
637 |
+
|
638 |
+
#: class.php:2608 strings.php:216
|
639 |
+
msgid "REPLACE CONTENT"
|
640 |
+
msgstr ""
|
641 |
+
|
642 |
+
#: class.php:2612 strings.php:217
|
643 |
+
msgid "REPLACE ELEMENT"
|
644 |
+
msgstr ""
|
645 |
+
|
646 |
+
#: class.php:2623 strings.php:213
|
647 |
+
msgid "AFTER"
|
648 |
+
msgstr ""
|
649 |
+
|
650 |
+
#: class.php:2688
|
651 |
+
msgctxt "JavaScript"
|
652 |
+
msgid "script"
|
653 |
+
msgstr ""
|
654 |
+
|
655 |
+
#: class.php:2690 settings.php:1811
|
656 |
+
msgid "for"
|
657 |
+
msgstr ""
|
658 |
+
|
659 |
+
#: class.php:5146 class.php:5198
|
660 |
+
msgctxt "category name"
|
661 |
+
msgid "Uncategorized"
|
662 |
+
msgstr ""
|
663 |
+
|
664 |
+
#: class.php:5686
|
665 |
+
msgid ""
|
666 |
+
"ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
|
667 |
+
"extension for PHP."
|
668 |
+
msgstr ""
|
669 |
+
|
670 |
+
#: includes/editor.php:7 includes/placeholders.php:345
|
671 |
+
#: includes/preview.php:1743 strings.php:219
|
672 |
+
msgid "Use"
|
673 |
+
msgstr ""
|
674 |
+
|
675 |
+
#: includes/editor.php:8 includes/preview.php:1744
|
676 |
+
msgid "Reset"
|
677 |
+
msgstr ""
|
678 |
+
|
679 |
+
#: includes/editor.php:9 includes/placeholders.php:347
|
680 |
+
#: includes/preview.php:1746 strings.php:193 strings.php:218
|
681 |
+
msgid "Cancel"
|
682 |
+
msgstr ""
|
683 |
+
|
684 |
+
#: includes/editor.php:74
|
685 |
+
msgid "Visual Code Editor"
|
686 |
+
msgstr ""
|
687 |
+
|
688 |
+
#: includes/editor.php:262 includes/preview-adb.php:289
|
689 |
+
#: includes/preview.php:1733
|
690 |
+
msgid ""
|
691 |
+
"This page was not loaded properly. Please check browser, plugins and ad "
|
692 |
+
"blockers."
|
693 |
+
msgstr ""
|
694 |
+
|
695 |
+
#: includes/editor.php:264 settings.php:185
|
696 |
+
msgid "Error loading page"
|
697 |
+
msgstr ""
|
698 |
+
|
699 |
+
#: includes/editor.php:264 includes/preview-adb.php:291
|
700 |
+
#: includes/preview.php:1735
|
701 |
+
msgid "PAGE BLOCKED"
|
702 |
+
msgstr ""
|
703 |
+
|
704 |
+
#: includes/functions.php:255
|
705 |
+
msgid "Online documentation"
|
706 |
+
msgstr ""
|
707 |
+
|
708 |
+
#: includes/functions.php:255 settings.php:150
|
709 |
+
msgid "Documentation"
|
710 |
+
msgstr ""
|
711 |
+
|
712 |
+
#: includes/functions.php:268 settings.php:153
|
713 |
+
msgid "Blocks"
|
714 |
+
msgstr ""
|
715 |
+
|
716 |
+
#. translators: %s: Ad Inserter Pro
|
717 |
+
#: includes/functions.php:291
|
718 |
+
msgid ""
|
719 |
+
"Import %s settings when saving - if checked, the encoded settings below will "
|
720 |
+
"be imported for all blocks and settings"
|
721 |
+
msgstr ""
|
722 |
+
|
723 |
+
#: includes/functions.php:291
|
724 |
+
msgid "Import Settings for"
|
725 |
+
msgstr ""
|
726 |
+
|
727 |
+
#: includes/functions.php:295
|
728 |
+
msgid "Saved settings for"
|
729 |
+
msgstr ""
|
730 |
+
|
731 |
+
#: includes/functions.php:310
|
732 |
+
msgid "License Key"
|
733 |
+
msgstr ""
|
734 |
+
|
735 |
+
#: includes/functions.php:313
|
736 |
+
msgid "License Key for"
|
737 |
+
msgstr ""
|
738 |
+
|
739 |
+
#: includes/functions.php:330
|
740 |
+
msgid "Main content element"
|
741 |
+
msgstr ""
|
742 |
+
|
743 |
+
#: includes/functions.php:333
|
744 |
+
msgid ""
|
745 |
+
"Main content element (#id or .class) for 'Stick to the content' position. "
|
746 |
+
"Leave empty unless position is not properly calculated."
|
747 |
+
msgstr ""
|
748 |
+
|
749 |
+
#: includes/functions.php:334 settings.php:1091 settings.php:2355
|
750 |
+
msgid "Open HTML element selector"
|
751 |
+
msgstr ""
|
752 |
+
|
753 |
+
#: includes/functions.php:339
|
754 |
+
msgid "Lazy loading offset"
|
755 |
+
msgstr ""
|
756 |
+
|
757 |
+
#: includes/functions.php:342
|
758 |
+
msgid "Offset of the block from the visible viewport when it should be loaded"
|
759 |
+
msgstr ""
|
760 |
+
|
761 |
+
#: includes/functions.php:353
|
762 |
+
msgid "Export / Import Block Settings"
|
763 |
+
msgstr ""
|
764 |
+
|
765 |
+
#: includes/functions.php:368
|
766 |
+
msgid "Track impressions and clicks for this block"
|
767 |
+
msgstr ""
|
768 |
+
|
769 |
+
#: includes/functions.php:368
|
770 |
+
msgid " - global tracking disabled"
|
771 |
+
msgstr ""
|
772 |
+
|
773 |
+
#: includes/functions.php:377
|
774 |
+
msgid "Toggle Ad Blocking Statistics"
|
775 |
+
msgstr ""
|
776 |
+
|
777 |
+
#: includes/functions.php:386 includes/functions.php:2195
|
778 |
+
msgid "Toggle Statistics"
|
779 |
+
msgstr ""
|
780 |
+
|
781 |
+
#. translators: %s: Ad Inserter Pro
|
782 |
+
#: includes/functions.php:402
|
783 |
+
msgid "%s license key is not set. Continue?"
|
784 |
+
msgstr ""
|
785 |
+
|
786 |
+
#. translators: %s: Ad Inserter Pro
|
787 |
+
#: includes/functions.php:406
|
788 |
+
msgid "Invalid %s license key. Continue?"
|
789 |
+
msgstr ""
|
790 |
+
|
791 |
+
#. translators: %s: Ad Inserter Pro
|
792 |
+
#: includes/functions.php:410
|
793 |
+
msgid "%s license overused. Continue?"
|
794 |
+
msgstr ""
|
795 |
+
|
796 |
+
#: includes/functions.php:414 settings.php:1878
|
797 |
+
msgid "Save Settings"
|
798 |
+
msgstr ""
|
799 |
+
|
800 |
+
#: includes/functions.php:474 includes/preview.php:1878
|
801 |
+
msgid "Horizontal position"
|
802 |
+
msgstr ""
|
803 |
+
|
804 |
+
#: includes/functions.php:497
|
805 |
+
msgid ""
|
806 |
+
"Horizontal margin from the content or screen edge, empty means default value "
|
807 |
+
"from CSS"
|
808 |
+
msgstr ""
|
809 |
+
|
810 |
+
#: includes/functions.php:505 includes/preview.php:1933
|
811 |
+
msgid "Vertical position"
|
812 |
+
msgstr ""
|
813 |
+
|
814 |
+
#: includes/functions.php:520
|
815 |
+
msgid ""
|
816 |
+
"Vertical margin from the top or bottom screen edge, empty means default "
|
817 |
+
"value from CSS"
|
818 |
+
msgstr ""
|
819 |
+
|
820 |
+
#: includes/functions.php:545 includes/preview.php:1984
|
821 |
+
msgid "Animation"
|
822 |
+
msgstr ""
|
823 |
+
|
824 |
+
#: includes/functions.php:563
|
825 |
+
msgid "Trigger"
|
826 |
+
msgstr ""
|
827 |
+
|
828 |
+
#: includes/functions.php:572
|
829 |
+
msgid ""
|
830 |
+
"Trigger value: page scroll in %, page scroll in px or element with selector "
|
831 |
+
"(#id or .class) becomes visible"
|
832 |
+
msgstr ""
|
833 |
+
|
834 |
+
#: includes/functions.php:576
|
835 |
+
msgid "Offset"
|
836 |
+
msgstr ""
|
837 |
+
|
838 |
+
#: includes/functions.php:576
|
839 |
+
msgid "Offset of trigger element"
|
840 |
+
msgstr ""
|
841 |
+
|
842 |
+
#: includes/functions.php:580
|
843 |
+
msgid "Delay"
|
844 |
+
msgstr ""
|
845 |
+
|
846 |
+
#: includes/functions.php:580
|
847 |
+
msgid "Delay animation after trigger condition"
|
848 |
+
msgstr ""
|
849 |
+
|
850 |
+
#: includes/functions.php:584
|
851 |
+
msgid "Trigger once"
|
852 |
+
msgstr ""
|
853 |
+
|
854 |
+
#: includes/functions.php:586
|
855 |
+
msgid "Trigger animation only once"
|
856 |
+
msgstr ""
|
857 |
+
|
858 |
+
#: includes/functions.php:625
|
859 |
+
msgid "Tracking is globally disabled"
|
860 |
+
msgstr ""
|
861 |
+
|
862 |
+
#: includes/functions.php:629
|
863 |
+
msgid "Tracking for this block is disabled"
|
864 |
+
msgstr ""
|
865 |
+
|
866 |
+
#: includes/functions.php:639 settings.php:2810 settings.php:2846
|
867 |
+
#: strings.php:203
|
868 |
+
msgid "Loading..."
|
869 |
+
msgstr ""
|
870 |
+
|
871 |
+
#: includes/functions.php:655
|
872 |
+
msgid ""
|
873 |
+
"Clear statistics data for the selected range - clear both dates to delete "
|
874 |
+
"all data for this block"
|
875 |
+
msgstr ""
|
876 |
+
|
877 |
+
#: includes/functions.php:659
|
878 |
+
msgid "Auto refresh data for the selected range every 60 seconds"
|
879 |
+
msgstr ""
|
880 |
+
|
881 |
+
#: includes/functions.php:662
|
882 |
+
msgid "Load data for last month"
|
883 |
+
msgstr ""
|
884 |
+
|
885 |
+
#: includes/functions.php:662
|
886 |
+
msgid "Last Month"
|
887 |
+
msgstr ""
|
888 |
+
|
889 |
+
#: includes/functions.php:665
|
890 |
+
msgid "Load data for this month"
|
891 |
+
msgstr ""
|
892 |
+
|
893 |
+
#: includes/functions.php:665
|
894 |
+
msgid "This Month"
|
895 |
+
msgstr ""
|
896 |
+
|
897 |
+
#: includes/functions.php:668
|
898 |
+
msgid "Load data for this year"
|
899 |
+
msgstr ""
|
900 |
+
|
901 |
+
#: includes/functions.php:668
|
902 |
+
msgid "This Year"
|
903 |
+
msgstr ""
|
904 |
+
|
905 |
+
#: includes/functions.php:671
|
906 |
+
msgid "Load data for the last 15 days"
|
907 |
+
msgstr ""
|
908 |
+
|
909 |
+
#: includes/functions.php:674
|
910 |
+
msgid "Load data for the last 30 days"
|
911 |
+
msgstr ""
|
912 |
+
|
913 |
+
#: includes/functions.php:677
|
914 |
+
msgid "Load data for the last 90 days"
|
915 |
+
msgstr ""
|
916 |
+
|
917 |
+
#: includes/functions.php:680
|
918 |
+
msgid "Load data for the last 180 days"
|
919 |
+
msgstr ""
|
920 |
+
|
921 |
+
#: includes/functions.php:683
|
922 |
+
msgid "Load data for the last 365 days"
|
923 |
+
msgstr ""
|
924 |
+
|
925 |
+
#: includes/functions.php:693
|
926 |
+
msgid "Load data for the selected range"
|
927 |
+
msgstr ""
|
928 |
+
|
929 |
+
#: includes/functions.php:709
|
930 |
+
msgid ""
|
931 |
+
"Import settings when saving - if checked, the encoded settings below will be "
|
932 |
+
"imported for this block"
|
933 |
+
msgstr ""
|
934 |
+
|
935 |
+
#: includes/functions.php:709
|
936 |
+
msgid "Import settings for block"
|
937 |
+
msgstr ""
|
938 |
+
|
939 |
+
#: includes/functions.php:713
|
940 |
+
msgid ""
|
941 |
+
"Import block name when saving - if checked and 'Import settings for block' "
|
942 |
+
"is also checked, the name from encoded settings below will be imported for "
|
943 |
+
"this block"
|
944 |
+
msgstr ""
|
945 |
+
|
946 |
+
#: includes/functions.php:713
|
947 |
+
msgid "Import block name"
|
948 |
+
msgstr ""
|
949 |
+
|
950 |
+
#: includes/functions.php:717
|
951 |
+
msgid "Saved settings for block"
|
952 |
+
msgstr ""
|
953 |
+
|
954 |
+
#: includes/functions.php:730
|
955 |
+
msgid "Export / Import Ad Inserter Pro Settings"
|
956 |
+
msgstr ""
|
957 |
+
|
958 |
+
#: includes/functions.php:739
|
959 |
+
msgid "Are you sure you want to clear all statistics data for all blocks?"
|
960 |
+
msgstr ""
|
961 |
+
|
962 |
+
#: includes/functions.php:741
|
963 |
+
msgid "Clear All Statistics Data"
|
964 |
+
msgstr ""
|
965 |
+
|
966 |
+
#: includes/functions.php:768
|
967 |
+
msgid "IP Addresses"
|
968 |
+
msgstr ""
|
969 |
+
|
970 |
+
#: includes/functions.php:771
|
971 |
+
msgid "Toggle IP address editor"
|
972 |
+
msgstr ""
|
973 |
+
|
974 |
+
#: includes/functions.php:774
|
975 |
+
msgid ""
|
976 |
+
"Comma separated IP addresses, you can also use partial IP addresses with * "
|
977 |
+
"(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
|
978 |
+
msgstr ""
|
979 |
+
|
980 |
+
#: includes/functions.php:778
|
981 |
+
msgid "Blacklist IP addresses"
|
982 |
+
msgstr ""
|
983 |
+
|
984 |
+
#: includes/functions.php:782
|
985 |
+
msgid "Whitelist IP addresses"
|
986 |
+
msgstr ""
|
987 |
+
|
988 |
+
#: includes/functions.php:793
|
989 |
+
msgid "Countries"
|
990 |
+
msgstr ""
|
991 |
+
|
992 |
+
#: includes/functions.php:796 includes/functions.php:2155
|
993 |
+
msgid "Toggle country editor"
|
994 |
+
msgstr ""
|
995 |
+
|
996 |
+
#: includes/functions.php:799 includes/functions.php:2158
|
997 |
+
msgid "Comma separated country ISO Alpha-2 codes"
|
998 |
+
msgstr ""
|
999 |
+
|
1000 |
+
#: includes/functions.php:803
|
1001 |
+
msgid "Blacklist countries"
|
1002 |
+
msgstr ""
|
1003 |
+
|
1004 |
+
#: includes/functions.php:807
|
1005 |
+
msgid "Whitelist countries"
|
1006 |
+
msgstr ""
|
1007 |
+
|
1008 |
+
#: includes/functions.php:1112
|
1009 |
+
msgid "Enter License Key"
|
1010 |
+
msgstr ""
|
1011 |
+
|
1012 |
+
#. translators: %s: Ad Inserter Pro
|
1013 |
+
#: includes/functions.php:1114
|
1014 |
+
msgid "%s license key is not set - updates disabled."
|
1015 |
+
msgstr ""
|
1016 |
+
|
1017 |
+
#: includes/functions.php:1122
|
1018 |
+
msgid "Check License Key"
|
1019 |
+
msgstr ""
|
1020 |
+
|
1021 |
+
#. translators: %s: Ad Inserter Pro
|
1022 |
+
#: includes/functions.php:1124
|
1023 |
+
msgid "Invalid %s license key. Please check."
|
1024 |
+
msgstr ""
|
1025 |
+
|
1026 |
+
#. translators: %s: Ad Inserter Pro
|
1027 |
+
#: includes/functions.php:1129
|
1028 |
+
msgid "Renew License"
|
1029 |
+
msgstr ""
|
1030 |
+
|
1031 |
+
#. translators: %s: Ad Inserter Pro
|
1032 |
+
#: includes/functions.php:1131
|
1033 |
+
msgid "%s license expired. Please renew the license to enable updates."
|
1034 |
+
msgstr ""
|
1035 |
+
|
1036 |
+
#: includes/functions.php:1136
|
1037 |
+
msgid "Upgrade License"
|
1038 |
+
msgstr ""
|
1039 |
+
|
1040 |
+
#. translators: %s: Ad Inserter Pro
|
1041 |
+
#: includes/functions.php:1138
|
1042 |
+
msgid "%s license overused. Please upgrade the license to enable updates."
|
1043 |
+
msgstr ""
|
1044 |
+
|
1045 |
+
#. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
|
1046 |
+
#: includes/functions.php:1298
|
1047 |
+
msgid ""
|
1048 |
+
"%1$s Warning: %2$s %3$s license key %4$s not set %5$s - plugin functionality "
|
1049 |
+
"limited."
|
1050 |
+
msgstr ""
|
1051 |
+
|
1052 |
+
#. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
|
1053 |
+
#: includes/functions.php:1307
|
1054 |
+
msgid ""
|
1055 |
+
"%1$s Warning: %2$s Invalid %3$s license key - updates disabled. Please %4$s "
|
1056 |
+
"check license key. %5$s"
|
1057 |
+
msgstr ""
|
1058 |
+
|
1059 |
+
#. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
|
1060 |
+
#: includes/functions.php:1323
|
1061 |
+
msgid ""
|
1062 |
+
"Hey, %1$s license has expired - plugin updates are now disabled. Please "
|
1063 |
+
"renew the license to enable updates. Check %2$s what you are missing. %3$s"
|
1064 |
+
msgstr ""
|
1065 |
+
|
1066 |
+
#. translators: 1, 3: HTML tags, 2: percentage
|
1067 |
+
#: includes/functions.php:1330
|
1068 |
+
msgid ""
|
1069 |
+
"During the license period and 30 days after the license has expired we offer "
|
1070 |
+
"%1$s %2$s discount on all license renewals and license upgrades. %3$s"
|
1071 |
+
msgstr ""
|
1072 |
+
|
1073 |
+
#: includes/functions.php:1353
|
1074 |
+
msgid "Renew the licence"
|
1075 |
+
msgstr ""
|
1076 |
+
|
1077 |
+
#: includes/functions.php:1355
|
1078 |
+
msgid "Update license status"
|
1079 |
+
msgstr ""
|
1080 |
+
|
1081 |
+
#. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
|
1082 |
+
#: includes/functions.php:1365
|
1083 |
+
msgid ""
|
1084 |
+
"%1$s Warning: %2$s %3$s license overused - updates disabled. Please %4$s "
|
1085 |
+
"upgrade the license. %s"
|
1086 |
+
msgstr ""
|
1087 |
+
|
1088 |
+
#. Translators: %s: HTML tag
|
1089 |
+
#: includes/functions.php:1385
|
1090 |
+
msgid "Warning: %s MaxMind IP geolocation database not found."
|
1091 |
+
msgstr ""
|
1092 |
+
|
1093 |
+
#: includes/functions.php:1834
|
1094 |
+
msgid "Geolocation"
|
1095 |
+
msgstr ""
|
1096 |
+
|
1097 |
+
#: includes/functions.php:1838
|
1098 |
+
msgid "Exceptions"
|
1099 |
+
msgstr ""
|
1100 |
+
|
1101 |
+
#: includes/functions.php:1843
|
1102 |
+
msgid "Multisite"
|
1103 |
+
msgstr ""
|
1104 |
+
|
1105 |
+
#: includes/functions.php:1848
|
1106 |
+
msgid "Tracking"
|
1107 |
+
msgstr ""
|
1108 |
+
|
1109 |
+
#. translators: %d: days, hours, minutes
|
1110 |
+
#: includes/functions.php:1879
|
1111 |
+
msgid "Scheduled in %d days %d hours %d minutes"
|
1112 |
+
msgstr ""
|
1113 |
+
|
1114 |
+
#. translators: %s: HTML dash separator, %d: days, hours, minutes, — is
|
1115 |
+
#. HTML code for long dash separator
|
1116 |
+
#: includes/functions.php:1888
|
1117 |
+
msgid "Active %s expires in %d days %d hours %d minutes"
|
1118 |
+
msgstr ""
|
1119 |
+
|
1120 |
+
#: includes/functions.php:1892
|
1121 |
+
msgid "Expired"
|
1122 |
+
msgstr ""
|
1123 |
+
|
1124 |
+
#: includes/functions.php:1900 settings.php:1195 settings.php:1210
|
1125 |
+
#: settings.php:1797
|
1126 |
+
msgid "and"
|
1127 |
+
msgstr ""
|
1128 |
+
|
1129 |
+
#: includes/functions.php:1903
|
1130 |
+
msgid "fallback"
|
1131 |
+
msgstr ""
|
1132 |
+
|
1133 |
+
#: includes/functions.php:1904
|
1134 |
+
msgid "Block to be used when scheduling expires"
|
1135 |
+
msgstr ""
|
1136 |
+
|
1137 |
+
#: includes/functions.php:1923 includes/functions.php:3262
|
1138 |
+
#: includes/functions.php:3325 settings.php:1911
|
1139 |
+
msgid "Ad Blocking"
|
1140 |
+
msgstr ""
|
1141 |
+
|
1142 |
+
#. translators: 1, 2 and 3, 4: HTML tags
|
1143 |
+
#: includes/functions.php:1932
|
1144 |
+
msgid ""
|
1145 |
+
"%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
|
1146 |
+
"for tracking!"
|
1147 |
+
msgstr ""
|
1148 |
+
|
1149 |
+
#. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
|
1150 |
+
#. header
|
1151 |
+
#: includes/functions.php:1941
|
1152 |
+
msgid ""
|
1153 |
+
"%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
|
1154 |
+
"enabled and automatic insertion %6$s!"
|
1155 |
+
msgstr ""
|
1156 |
+
|
1157 |
+
#: includes/functions.php:1959
|
1158 |
+
msgid "When ad blocking is detected"
|
1159 |
+
msgstr ""
|
1160 |
+
|
1161 |
+
#: includes/functions.php:1968
|
1162 |
+
msgid "replacement"
|
1163 |
+
msgstr ""
|
1164 |
+
|
1165 |
+
#: includes/functions.php:1970
|
1166 |
+
msgid "Block to be shown when ad blocking is detected"
|
1167 |
+
msgstr ""
|
1168 |
+
|
1169 |
+
#: includes/functions.php:1971
|
1170 |
+
msgctxt "replacement"
|
1171 |
+
msgid "None"
|
1172 |
+
msgstr ""
|
1173 |
+
|
1174 |
+
#: includes/functions.php:1988
|
1175 |
+
msgid "Close button"
|
1176 |
+
msgstr ""
|
1177 |
+
|
1178 |
+
#: includes/functions.php:2035
|
1179 |
+
msgid "Lazy loading"
|
1180 |
+
msgstr ""
|
1181 |
+
|
1182 |
+
#. Translators: %s MaxMind
|
1183 |
+
#: includes/functions.php:2090
|
1184 |
+
msgid "This product includes GeoLite2 data created by %s"
|
1185 |
+
msgstr ""
|
1186 |
+
|
1187 |
+
#: includes/functions.php:2101
|
1188 |
+
msgid "IP geolocation database"
|
1189 |
+
msgstr ""
|
1190 |
+
|
1191 |
+
#: includes/functions.php:2104
|
1192 |
+
msgid "Select IP geolocation database."
|
1193 |
+
msgstr ""
|
1194 |
+
|
1195 |
+
#: includes/functions.php:2115
|
1196 |
+
msgid "Automatic database updates"
|
1197 |
+
msgstr ""
|
1198 |
+
|
1199 |
+
#: includes/functions.php:2118
|
1200 |
+
msgid ""
|
1201 |
+
"Automatically download and update free GeoLite2 IP geolocation database by "
|
1202 |
+
"MaxMind"
|
1203 |
+
msgstr ""
|
1204 |
+
|
1205 |
+
#: includes/functions.php:2126
|
1206 |
+
msgid "Database"
|
1207 |
+
msgstr ""
|
1208 |
+
|
1209 |
+
#: includes/functions.php:2129
|
1210 |
+
msgid ""
|
1211 |
+
"Aabsolute path starting with '/' or relative path to the MaxMind database "
|
1212 |
+
"file"
|
1213 |
+
msgstr ""
|
1214 |
+
|
1215 |
+
#. translators: %d: group number
|
1216 |
+
#: includes/functions.php:2147
|
1217 |
+
msgid "Group %d"
|
1218 |
+
msgstr ""
|
1219 |
+
|
1220 |
+
#: includes/functions.php:2153
|
1221 |
+
msgid "countries"
|
1222 |
+
msgstr ""
|
1223 |
+
|
1224 |
+
#: includes/functions.php:2188
|
1225 |
+
msgid "Enable tracking"
|
1226 |
+
msgstr ""
|
1227 |
+
|
1228 |
+
#: includes/functions.php:2203
|
1229 |
+
msgid "Impression and Click Tracking"
|
1230 |
+
msgstr ""
|
1231 |
+
|
1232 |
+
#: includes/functions.php:2215
|
1233 |
+
msgid "Internal"
|
1234 |
+
msgstr ""
|
1235 |
+
|
1236 |
+
#: includes/functions.php:2219
|
1237 |
+
msgid "Track impressions and clicks with internal tracking and statistics"
|
1238 |
+
msgstr ""
|
1239 |
+
|
1240 |
+
#: includes/functions.php:2224
|
1241 |
+
msgid "External"
|
1242 |
+
msgstr ""
|
1243 |
+
|
1244 |
+
#: includes/functions.php:2228
|
1245 |
+
msgid ""
|
1246 |
+
"Track impressions and clicks with Google Analytics or Matomo (needs tracking "
|
1247 |
+
"code installed)"
|
1248 |
+
msgstr ""
|
1249 |
+
|
1250 |
+
#: includes/functions.php:2233
|
1251 |
+
msgid "Track Pageviews"
|
1252 |
+
msgstr ""
|
1253 |
+
|
1254 |
+
#: includes/functions.php:2239
|
1255 |
+
msgid "Track Pageviews by Device (as configured for viewports)"
|
1256 |
+
msgstr ""
|
1257 |
+
|
1258 |
+
#: includes/functions.php:2249
|
1259 |
+
msgid "Track for Logged in Users"
|
1260 |
+
msgstr ""
|
1261 |
+
|
1262 |
+
#: includes/functions.php:2255
|
1263 |
+
msgid "Track impressions and clicks from logged in users"
|
1264 |
+
msgstr ""
|
1265 |
+
|
1266 |
+
#: includes/functions.php:2265
|
1267 |
+
msgid "Click Detection"
|
1268 |
+
msgstr ""
|
1269 |
+
|
1270 |
+
#: includes/functions.php:2271
|
1271 |
+
msgid ""
|
1272 |
+
"Standard method detects clicks only on banners with links, Advanced method "
|
1273 |
+
"can detect clicks on any kind of ads, but it is slightly less accurate"
|
1274 |
+
msgstr ""
|
1275 |
+
|
1276 |
+
#: includes/functions.php:2310
|
1277 |
+
msgid "Are you sure you want to clear all exceptions for block"
|
1278 |
+
msgstr ""
|
1279 |
+
|
1280 |
+
#: includes/functions.php:2311 settings.php:1058
|
1281 |
+
msgid "Clear all exceptions for block"
|
1282 |
+
msgstr ""
|
1283 |
+
|
1284 |
+
#: includes/functions.php:2318
|
1285 |
+
msgid "Are you sure you want to clear all exceptions?"
|
1286 |
+
msgstr ""
|
1287 |
+
|
1288 |
+
#: includes/functions.php:2318
|
1289 |
+
msgid "Clear all exceptions for all blocks"
|
1290 |
+
msgstr ""
|
1291 |
+
|
1292 |
+
#: includes/functions.php:2323 settings.php:3119
|
1293 |
+
msgid "Type"
|
1294 |
+
msgstr ""
|
1295 |
+
|
1296 |
+
#: includes/functions.php:2341
|
1297 |
+
msgid "View"
|
1298 |
+
msgstr ""
|
1299 |
+
|
1300 |
+
#: includes/functions.php:2342 includes/placeholders.php:346
|
1301 |
+
#: includes/preview.php:2046 settings.php:974
|
1302 |
+
msgid "Edit"
|
1303 |
+
msgstr ""
|
1304 |
+
|
1305 |
+
#: includes/functions.php:2372
|
1306 |
+
msgid "Are you sure you want to clear all exceptions for"
|
1307 |
+
msgstr ""
|
1308 |
+
|
1309 |
+
#: includes/functions.php:2373
|
1310 |
+
msgid "Clear all exceptions for"
|
1311 |
+
msgstr ""
|
1312 |
+
|
1313 |
+
#: includes/functions.php:2386
|
1314 |
+
msgid "No exceptions"
|
1315 |
+
msgstr ""
|
1316 |
+
|
1317 |
+
#. translators: %s: Ad Inserter Pro
|
1318 |
+
#: includes/functions.php:2397
|
1319 |
+
msgid "%s options for network blogs"
|
1320 |
+
msgstr ""
|
1321 |
+
|
1322 |
+
#. translators: %s: Ad Inserter Pro
|
1323 |
+
#: includes/functions.php:2402
|
1324 |
+
msgid "Enable %s widgets for sub-sites"
|
1325 |
+
msgstr ""
|
1326 |
+
|
1327 |
+
#: includes/functions.php:2402
|
1328 |
+
msgid "Widgets"
|
1329 |
+
msgstr ""
|
1330 |
+
|
1331 |
+
#: includes/functions.php:2407
|
1332 |
+
msgid "Enable PHP code processing for sub-sites"
|
1333 |
+
msgstr ""
|
1334 |
+
|
1335 |
+
#: includes/functions.php:2407
|
1336 |
+
msgid "PHP Processing"
|
1337 |
+
msgstr ""
|
1338 |
+
|
1339 |
+
#. translators: %s: Ad Inserter Pro
|
1340 |
+
#: includes/functions.php:2412
|
1341 |
+
msgid "Enable %s block exceptions in post/page editor for sub-sites"
|
1342 |
+
msgstr ""
|
1343 |
+
|
1344 |
+
#: includes/functions.php:2412
|
1345 |
+
msgid "Post/Page exceptions"
|
1346 |
+
msgstr ""
|
1347 |
+
|
1348 |
+
#. translators: %s: Ad Inserter Pro
|
1349 |
+
#: includes/functions.php:2417
|
1350 |
+
msgid "Enable %s settings page for sub-sites"
|
1351 |
+
msgstr ""
|
1352 |
+
|
1353 |
+
#: includes/functions.php:2417
|
1354 |
+
msgid "Settings page"
|
1355 |
+
msgstr ""
|
1356 |
+
|
1357 |
+
#. translators: %s: Ad Inserter Pro
|
1358 |
+
#: includes/functions.php:2422
|
1359 |
+
msgid "Enable %s settings of main site to be used for all blogs"
|
1360 |
+
msgstr ""
|
1361 |
+
|
1362 |
+
#: includes/functions.php:2422
|
1363 |
+
msgid "Main site settings used for all blogs"
|
1364 |
+
msgstr ""
|
1365 |
+
|
1366 |
+
#: includes/functions.php:2433 settings.php:2315
|
1367 |
+
msgid "Ad Blocking Detection"
|
1368 |
+
msgstr ""
|
1369 |
+
|
1370 |
+
#: includes/functions.php:2439
|
1371 |
+
msgid ""
|
1372 |
+
"Standard method is reliable but should be used only if Advanced method does "
|
1373 |
+
"not work. Advanced method recreates files used for detection with random "
|
1374 |
+
"names, however, it may not work if the scripts in the upload folder are not "
|
1375 |
+
"publicly accessible"
|
1376 |
+
msgstr ""
|
1377 |
+
|
1378 |
+
#: includes/functions.php:2825 includes/functions.php:2906
|
1379 |
+
#: includes/functions.php:2926
|
1380 |
+
msgid "AD BLOCKING"
|
1381 |
+
msgstr ""
|
1382 |
+
|
1383 |
+
#: includes/functions.php:2826 includes/functions.php:2857
|
1384 |
+
#: includes/functions.php:2900 includes/functions.php:2927
|
1385 |
+
msgid "BLOCK INSERTED BUT NOT VISIBLE"
|
1386 |
+
msgstr ""
|
1387 |
+
|
1388 |
+
#: includes/functions.php:2829 includes/functions.php:2899
|
1389 |
+
#: includes/functions.php:2933
|
1390 |
+
msgid "NO AD BLOCKING"
|
1391 |
+
msgstr ""
|
1392 |
+
|
1393 |
+
#: includes/functions.php:2856 includes/functions.php:2863
|
1394 |
+
msgid "AD BLOCKING REPLACEMENT"
|
1395 |
+
msgstr ""
|
1396 |
+
|
1397 |
+
#: includes/functions.php:3261
|
1398 |
+
msgctxt "Version"
|
1399 |
+
msgid "Unknown"
|
1400 |
+
msgstr ""
|
1401 |
+
|
1402 |
+
#: includes/functions.php:3261
|
1403 |
+
msgctxt "Times"
|
1404 |
+
msgid "DISPLAYED"
|
1405 |
+
msgstr ""
|
1406 |
+
|
1407 |
+
#: includes/functions.php:3261
|
1408 |
+
msgid "No version"
|
1409 |
+
msgstr ""
|
1410 |
+
|
1411 |
+
#: includes/functions.php:3262
|
1412 |
+
msgctxt "Times"
|
1413 |
+
msgid "BLOCKED"
|
1414 |
+
msgstr ""
|
1415 |
+
|
1416 |
+
#: includes/functions.php:3324
|
1417 |
+
msgid "Pageviews"
|
1418 |
+
msgstr ""
|
1419 |
+
|
1420 |
+
#: includes/functions.php:3324
|
1421 |
+
msgid "Impressions"
|
1422 |
+
msgstr ""
|
1423 |
+
|
1424 |
+
#: includes/functions.php:3325 includes/functions.php:3326
|
1425 |
+
#: includes/functions.php:3334
|
1426 |
+
msgid "Clicks"
|
1427 |
+
msgstr ""
|
1428 |
+
|
1429 |
+
#: includes/functions.php:3326
|
1430 |
+
msgid "events"
|
1431 |
+
msgstr ""
|
1432 |
+
|
1433 |
+
#: includes/functions.php:3327
|
1434 |
+
msgid "Ad Blocking Share"
|
1435 |
+
msgstr ""
|
1436 |
+
|
1437 |
+
#. translators: CTR as Click Through Rate
|
1438 |
+
#: includes/functions.php:3327 includes/functions.php:3339
|
1439 |
+
msgid "CTR"
|
1440 |
+
msgstr ""
|
1441 |
+
|
1442 |
+
#: includes/functions.php:3421
|
1443 |
+
msgid "pageviews"
|
1444 |
+
msgid_plural "pageviews"
|
1445 |
+
msgstr[0] ""
|
1446 |
+
msgstr[1] ""
|
1447 |
+
|
1448 |
+
#: includes/functions.php:3421
|
1449 |
+
msgid "impressions"
|
1450 |
+
msgid_plural "impressions"
|
1451 |
+
msgstr[0] ""
|
1452 |
+
msgstr[1] ""
|
1453 |
+
|
1454 |
+
#: includes/functions.php:3425
|
1455 |
+
msgid "event"
|
1456 |
+
msgid_plural "events"
|
1457 |
+
msgstr[0] ""
|
1458 |
+
msgstr[1] ""
|
1459 |
+
|
1460 |
+
#: includes/functions.php:3425
|
1461 |
+
msgid "click"
|
1462 |
+
msgid_plural "clicks"
|
1463 |
+
msgstr[0] ""
|
1464 |
+
msgstr[1] ""
|
1465 |
+
|
1466 |
+
#: includes/functions.php:3493
|
1467 |
+
msgctxt "Impressions"
|
1468 |
+
msgid "Average"
|
1469 |
+
msgstr ""
|
1470 |
+
|
1471 |
+
#: includes/functions.php:3511
|
1472 |
+
msgctxt "Clicks"
|
1473 |
+
msgid "Average"
|
1474 |
+
msgstr ""
|
1475 |
+
|
1476 |
+
#: includes/functions.php:3528
|
1477 |
+
msgctxt "Ad Blocking Share / CTR"
|
1478 |
+
msgid "Average"
|
1479 |
+
msgstr ""
|
1480 |
+
|
1481 |
+
#: includes/placeholders.php:19
|
1482 |
+
msgid "Custom"
|
1483 |
+
msgstr ""
|
1484 |
+
|
1485 |
+
#: includes/placeholders.php:102
|
1486 |
+
msgid "Placeholder Editor"
|
1487 |
+
msgstr ""
|
1488 |
+
|
1489 |
+
#: includes/placeholders.php:345
|
1490 |
+
msgid "Select placeholder"
|
1491 |
+
msgstr ""
|
1492 |
+
|
1493 |
+
#: includes/placeholders.php:346
|
1494 |
+
msgid "Edit placeholder size, colors and text"
|
1495 |
+
msgstr ""
|
1496 |
+
|
1497 |
+
#: includes/placeholders.php:347
|
1498 |
+
msgid "Close placeholder editor"
|
1499 |
+
msgstr ""
|
1500 |
+
|
1501 |
+
#: includes/placeholders.php:351
|
1502 |
+
msgid "Placeholder"
|
1503 |
+
msgstr ""
|
1504 |
+
|
1505 |
+
#: includes/placeholders.php:356 settings.php:740 settings.php:3120
|
1506 |
+
msgid "Size"
|
1507 |
+
msgstr ""
|
1508 |
+
|
1509 |
+
#: includes/placeholders.php:372
|
1510 |
+
msgid "Background color"
|
1511 |
+
msgstr ""
|
1512 |
+
|
1513 |
+
#: includes/placeholders.php:377
|
1514 |
+
msgid "Height"
|
1515 |
+
msgstr ""
|
1516 |
+
|
1517 |
+
#: includes/placeholders.php:382
|
1518 |
+
msgid "Width"
|
1519 |
+
msgstr ""
|
1520 |
+
|
1521 |
+
#: includes/placeholders.php:391
|
1522 |
+
msgid "Text"
|
1523 |
+
msgstr ""
|
1524 |
+
|
1525 |
+
#: includes/placeholders.php:396
|
1526 |
+
msgid "Text color"
|
1527 |
+
msgstr ""
|
1528 |
+
|
1529 |
+
#: includes/placeholders.php:405
|
1530 |
+
msgid ""
|
1531 |
+
"Here you can create a universal placeholder image that can be used in place "
|
1532 |
+
"of ads when they are not available yet.\n"
|
1533 |
+
"Placeholder images created here will behave as any other image. You can also "
|
1534 |
+
"save them to local computer or server."
|
1535 |
+
msgstr ""
|
1536 |
+
|
1537 |
+
#: includes/placeholders.php:410
|
1538 |
+
msgid ""
|
1539 |
+
"Choose between common ad sizes 300x250, 336x280, 728x90, 468x60, 250x250, "
|
1540 |
+
"300x600 or define custom size.\n"
|
1541 |
+
"Default placeholders are gray with size as placeholder text but you can use "
|
1542 |
+
"any color or text you want. Click on <strong>Edit</strong> button to edit "
|
1543 |
+
"placeholder size, color or text.\n"
|
1544 |
+
"You can also create blank solid color rectangles by clearing placeholder "
|
1545 |
+
"text."
|
1546 |
+
msgstr ""
|
1547 |
+
|
1548 |
+
#: includes/placeholders.php:414
|
1549 |
+
msgid ""
|
1550 |
+
"<strong>Please note</strong>: if you have active rotation editor the code "
|
1551 |
+
"window shows only the code for the currently selected option.\n"
|
1552 |
+
"Therefore, code generator will in such case import or generate code for the "
|
1553 |
+
"currently selected option."
|
1554 |
+
msgstr ""
|
1555 |
+
|
1556 |
+
#: includes/placeholders.php:417
|
1557 |
+
msgid ""
|
1558 |
+
"Code generator for banners and AdSense generates the code only when you "
|
1559 |
+
"click on the button Generate code.\n"
|
1560 |
+
"It is a tool that can help you to create code for AdSense or banners with "
|
1561 |
+
"links. So if you are using rotation editor and switch between options, you "
|
1562 |
+
"need to (optionally) import and generate code for each rotation option."
|
1563 |
+
msgstr ""
|
1564 |
+
|
1565 |
+
#: includes/placeholders.php:420
|
1566 |
+
msgid ""
|
1567 |
+
"Ad Inserter has a simple code generator for banners and placeholders.\n"
|
1568 |
+
"You can select banner image (or placeholder), optionally define link (web "
|
1569 |
+
"page address that will open when the banner will be clicked) and select "
|
1570 |
+
"whether to open link in a new tab."
|
1571 |
+
msgstr ""
|
1572 |
+
|
1573 |
+
#: includes/preview-adb.php:7
|
1574 |
+
msgid "Add dummy paragraph"
|
1575 |
+
msgstr ""
|
1576 |
+
|
1577 |
+
#: includes/preview-adb.php:8
|
1578 |
+
msgid "Remove dummy paragraph"
|
1579 |
+
msgstr ""
|
1580 |
+
|
1581 |
+
#: includes/preview-adb.php:9 includes/preview.php:1743
|
1582 |
+
msgid "Use current settings"
|
1583 |
+
msgstr ""
|
1584 |
+
|
1585 |
+
#: includes/preview-adb.php:9
|
1586 |
+
msgctxt "Button"
|
1587 |
+
msgid "Use"
|
1588 |
+
msgstr ""
|
1589 |
+
|
1590 |
+
#: includes/preview-adb.php:10
|
1591 |
+
msgid "Reset to the saved settings"
|
1592 |
+
msgstr ""
|
1593 |
+
|
1594 |
+
#: includes/preview-adb.php:10
|
1595 |
+
msgctxt "Button"
|
1596 |
+
msgid "Reset"
|
1597 |
+
msgstr ""
|
1598 |
+
|
1599 |
+
#: includes/preview-adb.php:11
|
1600 |
+
msgid "Reset to the default settings"
|
1601 |
+
msgstr ""
|
1602 |
+
|
1603 |
+
#: includes/preview-adb.php:11
|
1604 |
+
msgctxt "Button"
|
1605 |
+
msgid "Default"
|
1606 |
+
msgstr ""
|
1607 |
+
|
1608 |
+
#: includes/preview-adb.php:12 includes/preview.php:1746
|
1609 |
+
msgid "Close preview window"
|
1610 |
+
msgstr ""
|
1611 |
+
|
1612 |
+
#: includes/preview-adb.php:12
|
1613 |
+
msgctxt "Button "
|
1614 |
+
msgid "Cancel"
|
1615 |
+
msgstr ""
|
1616 |
+
|
1617 |
+
#: includes/preview-adb.php:60
|
1618 |
+
msgid "Ad Blocking Detected Message Preview"
|
1619 |
+
msgstr ""
|
1620 |
+
|
1621 |
+
#: includes/preview-adb.php:348 settings.php:2430
|
1622 |
+
msgid "Message CSS"
|
1623 |
+
msgstr ""
|
1624 |
+
|
1625 |
+
#: includes/preview-adb.php:353 settings.php:2438
|
1626 |
+
msgid "Overlay CSS"
|
1627 |
+
msgstr ""
|
1628 |
+
|
1629 |
+
#: includes/preview.php:135
|
1630 |
+
msgid "Sticky Code Preview"
|
1631 |
+
msgstr ""
|
1632 |
+
|
1633 |
+
#: includes/preview.php:135
|
1634 |
+
msgid "Code Preview"
|
1635 |
+
msgstr ""
|
1636 |
+
|
1637 |
+
#: includes/preview.php:1741
|
1638 |
+
msgid "Highlight inserted code"
|
1639 |
+
msgstr ""
|
1640 |
+
|
1641 |
+
#: includes/preview.php:1741
|
1642 |
+
msgid "Highlight"
|
1643 |
+
msgstr ""
|
1644 |
+
|
1645 |
+
#: includes/preview.php:1744
|
1646 |
+
msgid "Reset to block settings"
|
1647 |
+
msgstr ""
|
1648 |
+
|
1649 |
+
#: includes/preview.php:1755 settings.php:896 settings.php:2417
|
1650 |
+
msgid "Preview"
|
1651 |
+
msgstr ""
|
1652 |
+
|
1653 |
+
#: includes/preview.php:1759
|
1654 |
+
msgid "AdSense ad unit"
|
1655 |
+
msgstr ""
|
1656 |
+
|
1657 |
+
#: includes/preview.php:1827
|
1658 |
+
msgid "wrapping div"
|
1659 |
+
msgstr ""
|
1660 |
+
|
1661 |
+
#: includes/preview.php:1832 includes/preview.php:1839
|
1662 |
+
msgid "background"
|
1663 |
+
msgstr ""
|
1664 |
+
|
1665 |
+
#: includes/preview.php:1857 includes/preview.php:2003 settings.php:938
|
1666 |
+
msgid "Alignment and style"
|
1667 |
+
msgstr ""
|
1668 |
+
|
1669 |
+
#: includes/preview.php:1925
|
1670 |
+
msgid "Horizontal margin"
|
1671 |
+
msgstr ""
|
1672 |
+
|
1673 |
+
#: includes/preview.php:1974
|
1674 |
+
msgid "Vertical margin"
|
1675 |
+
msgstr ""
|
1676 |
+
|
1677 |
+
#: includes/preview.php:1996
|
1678 |
+
msgid "Animate"
|
1679 |
+
msgstr ""
|
1680 |
+
|
1681 |
+
#: includes/preview.php:2055
|
1682 |
+
msgid ""
|
1683 |
+
"This is a preview of the code between dummy paragraphs. Here you can test "
|
1684 |
+
"various block alignments, visually edit margin and padding values of the "
|
1685 |
+
"wrapping div\n"
|
1686 |
+
"or write CSS code directly and watch live preview. Highlight button "
|
1687 |
+
"highlights background, wrapping div margin and code area, while Reset button "
|
1688 |
+
"restores all the values to those of the current block."
|
1689 |
+
msgstr ""
|
1690 |
+
|
1691 |
+
#: includes/preview.php:2058
|
1692 |
+
msgid ""
|
1693 |
+
"This is a preview of the saved block between dummy paragraphs. It shows the "
|
1694 |
+
"code with the alignment and style as it is set for this block. Highlight "
|
1695 |
+
"button highlights background, wrapping div margin and code area."
|
1696 |
+
msgstr ""
|
1697 |
+
|
1698 |
+
#: includes/preview.php:2060
|
1699 |
+
msgid ""
|
1700 |
+
"This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
|
1701 |
+
"code was loaded from your AdSense account. The ad block is displayed on a "
|
1702 |
+
"dummy page so it may be blank (no ads). Click on the Highlight button to "
|
1703 |
+
"highlight ad block."
|
1704 |
+
msgstr ""
|
1705 |
+
|
1706 |
+
#: includes/preview.php:2066
|
1707 |
+
msgid ""
|
1708 |
+
"You can resize the window (and refresh the page to reload ads) to check "
|
1709 |
+
"display with different screen widths.\n"
|
1710 |
+
"Once you are satisfied with alignment click on the Use button and the "
|
1711 |
+
"settings will be copied to the active block."
|
1712 |
+
msgstr ""
|
1713 |
+
|
1714 |
+
#: includes/preview.php:2068
|
1715 |
+
msgid ""
|
1716 |
+
"Please note that the code, block name, alignment and style are taken from "
|
1717 |
+
"the current block settings (may not be saved).\n"
|
1718 |
+
"<strong>No wrapping</strong> style inserts the code as it is so margin and "
|
1719 |
+
"padding can't be set. However, you can use own HTML code for the block."
|
1720 |
+
msgstr ""
|
1721 |
+
|
1722 |
+
#: includes/preview.php:2073 includes/preview.php:2087
|
1723 |
+
#: includes/preview.php:2097 includes/preview.php:2107
|
1724 |
+
#: includes/preview.php:2117
|
1725 |
+
msgid ""
|
1726 |
+
"Ad Inserter can be configured to insert any code anywhere on the page. Each "
|
1727 |
+
"code with it's settings is called a block.\n"
|
1728 |
+
"Free Ad Inserter supports 16 blocks, Ad Inserter Pro supports up to 96 "
|
1729 |
+
"blocks (depending on the license type).\n"
|
1730 |
+
"The settings page is divided into tabs - 16 blocks and general plugin "
|
1731 |
+
"settings. Black number means inactive block (code is not inserted "
|
1732 |
+
"anywhere),\n"
|
1733 |
+
"red number means block is using automatic insertion, blue number means block "
|
1734 |
+
"is using manual insertion while violet number means block is using automatic "
|
1735 |
+
"and manual insertion."
|
1736 |
+
msgstr ""
|
1737 |
+
|
1738 |
+
#: includes/preview.php:2078 includes/preview.php:2092
|
1739 |
+
#: includes/preview.php:2102 includes/preview.php:2112
|
1740 |
+
#: includes/preview.php:2122
|
1741 |
+
msgid ""
|
1742 |
+
"Few very important things you need to know in order to insert code and "
|
1743 |
+
"display some ad:\n"
|
1744 |
+
"Enable and use at least one insertion option (Automatic insertion, Widget, "
|
1745 |
+
"Shortcode, PHP function call).\n"
|
1746 |
+
"Enable insertion on at least one WordPress page type (Posts, Static pages, "
|
1747 |
+
"Homepage, Category pages, Search pages, Archive pages).\n"
|
1748 |
+
"Single pages (posts and static pages) have also additional setting for "
|
1749 |
+
"individual exceptions. Use default blank value unless you are using "
|
1750 |
+
"individual post/page exceptions."
|
1751 |
+
msgstr ""
|
1752 |
+
|
1753 |
+
#: includes/preview.php:2084
|
1754 |
+
msgid ""
|
1755 |
+
"This is a preview of the code for sticky ads. Here you can test various "
|
1756 |
+
"horizontal and vertical alignments, close button locations, visually edit "
|
1757 |
+
"margin values\n"
|
1758 |
+
"or write CSS code directly and watch live preview. Highlight button "
|
1759 |
+
"highlights background, margin and code area, while Reset button restores all "
|
1760 |
+
"the values to those of the current block."
|
1761 |
+
msgstr ""
|
1762 |
+
|
1763 |
+
#: settings.php:150
|
1764 |
+
msgid "Online Documentation"
|
1765 |
+
msgstr ""
|
1766 |
+
|
1767 |
+
#: settings.php:151
|
1768 |
+
msgid ""
|
1769 |
+
"support forum - if you have issues using the plugin go here, check existing "
|
1770 |
+
"threads and open a new one if you don't find answers for your issue."
|
1771 |
+
msgstr ""
|
1772 |
+
|
1773 |
+
#: settings.php:151
|
1774 |
+
msgid "Support Forum"
|
1775 |
+
msgstr ""
|
1776 |
+
|
1777 |
+
#: settings.php:152
|
1778 |
+
msgid ""
|
1779 |
+
"Need more blocks, sticky ads, GEO targeting, impression and click tracking? "
|
1780 |
+
"Upgrade to Ad Inserter Pro"
|
1781 |
+
msgstr ""
|
1782 |
+
|
1783 |
+
#: settings.php:153
|
1784 |
+
msgid "Show list of all blocks"
|
1785 |
+
msgstr ""
|
1786 |
+
|
1787 |
+
#: settings.php:163
|
1788 |
+
msgid "Loaded plugin JavaScript file version"
|
1789 |
+
msgstr ""
|
1790 |
+
|
1791 |
+
#. translators: %s: HTML tags
|
1792 |
+
#: settings.php:165
|
1793 |
+
msgid ""
|
1794 |
+
"Wrong or %s missing version parameter %s of the JavaScript file, probably "
|
1795 |
+
"due to inappropriate caching."
|
1796 |
+
msgstr ""
|
1797 |
+
|
1798 |
+
#: settings.php:166
|
1799 |
+
msgid ""
|
1800 |
+
"Missing version parameter of the JavaScript file, probably due to "
|
1801 |
+
"inappropriate caching."
|
1802 |
+
msgstr ""
|
1803 |
+
|
1804 |
+
#: settings.php:167
|
1805 |
+
msgid ""
|
1806 |
+
"Incompatible (old) JavaScript file loaded, probably due to inappropriate "
|
1807 |
+
"caching."
|
1808 |
+
msgstr ""
|
1809 |
+
|
1810 |
+
#: settings.php:168 settings.php:179
|
1811 |
+
msgid ""
|
1812 |
+
"Please delete browser's cache and all other caches used and then reload this "
|
1813 |
+
"page."
|
1814 |
+
msgstr ""
|
1815 |
+
|
1816 |
+
#: settings.php:174
|
1817 |
+
msgid "Loaded plugin CSS file version"
|
1818 |
+
msgstr ""
|
1819 |
+
|
1820 |
+
#. translators: %s: HTML tags
|
1821 |
+
#: settings.php:176
|
1822 |
+
msgid ""
|
1823 |
+
"Wrong or %s missing version parameter %s of the CSS file, probably due to "
|
1824 |
+
"inappropriate caching."
|
1825 |
+
msgstr ""
|
1826 |
+
|
1827 |
+
#: settings.php:177
|
1828 |
+
msgid ""
|
1829 |
+
"Missing version parameter of the CSS file, probably due to inappropriate "
|
1830 |
+
"caching."
|
1831 |
+
msgstr ""
|
1832 |
+
|
1833 |
+
#: settings.php:178
|
1834 |
+
msgid ""
|
1835 |
+
"Incompatible (old) CSS file loaded, probably due to inappropriate caching."
|
1836 |
+
msgstr ""
|
1837 |
+
|
1838 |
+
#: settings.php:185
|
1839 |
+
msgid "WARNING"
|
1840 |
+
msgstr ""
|
1841 |
+
|
1842 |
+
#. translators: %s: HTML tags
|
1843 |
+
#: settings.php:187
|
1844 |
+
msgid "Page may %s not be loaded properly. %s"
|
1845 |
+
msgstr ""
|
1846 |
+
|
1847 |
+
#: settings.php:188
|
1848 |
+
msgid ""
|
1849 |
+
"Check ad blocking software that may block CSS, JavaScript or image files."
|
1850 |
+
msgstr ""
|
1851 |
+
|
1852 |
+
#: settings.php:202
|
1853 |
+
msgid "Option Name"
|
1854 |
+
msgstr ""
|
1855 |
+
|
1856 |
+
#: settings.php:208
|
1857 |
+
msgid "Share"
|
1858 |
+
msgstr ""
|
1859 |
+
|
1860 |
+
#: settings.php:211
|
1861 |
+
msgid ""
|
1862 |
+
"Option share in percents - 0 means option is disabled, if share for one "
|
1863 |
+
"option is not defined it will be calculated automatically. Leave all share "
|
1864 |
+
"fields empty for equal option shares."
|
1865 |
+
msgstr ""
|
1866 |
+
|
1867 |
+
#: settings.php:214
|
1868 |
+
msgid "Time"
|
1869 |
+
msgstr ""
|
1870 |
+
|
1871 |
+
#: settings.php:217
|
1872 |
+
msgid ""
|
1873 |
+
"Option time in seconds - 0 means option is disabled and will be skipped. "
|
1874 |
+
"Leave all time fields empty for no timed rotation."
|
1875 |
+
msgstr ""
|
1876 |
+
|
1877 |
+
#: settings.php:367
|
1878 |
+
msgid "General Settings"
|
1879 |
+
msgstr ""
|
1880 |
+
|
1881 |
+
#: settings.php:528 settings.php:2195 settings.php:2251 settings.php:2410
|
1882 |
+
msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
|
1883 |
+
msgstr ""
|
1884 |
+
|
1885 |
+
#: settings.php:535
|
1886 |
+
msgid "Toggle tools"
|
1887 |
+
msgstr ""
|
1888 |
+
|
1889 |
+
#: settings.php:543
|
1890 |
+
msgid "Process PHP code in block"
|
1891 |
+
msgstr ""
|
1892 |
+
|
1893 |
+
#: settings.php:550
|
1894 |
+
msgid "Disable insertion of this block"
|
1895 |
+
msgstr ""
|
1896 |
+
|
1897 |
+
#: settings.php:562
|
1898 |
+
msgid "Toggle code generator"
|
1899 |
+
msgstr ""
|
1900 |
+
|
1901 |
+
#: settings.php:566
|
1902 |
+
msgid "Toggle rotation editor"
|
1903 |
+
msgstr ""
|
1904 |
+
|
1905 |
+
#: settings.php:570
|
1906 |
+
msgid "Open visual HTML editor"
|
1907 |
+
msgstr ""
|
1908 |
+
|
1909 |
+
#: settings.php:580
|
1910 |
+
msgid "Show AdSense ad units"
|
1911 |
+
msgstr ""
|
1912 |
+
|
1913 |
+
#: settings.php:589
|
1914 |
+
msgid "Clear block"
|
1915 |
+
msgstr ""
|
1916 |
+
|
1917 |
+
#: settings.php:594 settings.php:3014
|
1918 |
+
msgid "Copy block"
|
1919 |
+
msgstr ""
|
1920 |
+
|
1921 |
+
#: settings.php:598
|
1922 |
+
msgid "Paste name"
|
1923 |
+
msgstr ""
|
1924 |
+
|
1925 |
+
#: settings.php:602
|
1926 |
+
msgid "Paste code"
|
1927 |
+
msgstr ""
|
1928 |
+
|
1929 |
+
#: settings.php:606
|
1930 |
+
msgid "Paste settings"
|
1931 |
+
msgstr ""
|
1932 |
+
|
1933 |
+
#: settings.php:610
|
1934 |
+
msgid "Paste block (name, code and settings)"
|
1935 |
+
msgstr ""
|
1936 |
+
|
1937 |
+
#: settings.php:629
|
1938 |
+
msgid "Remove option"
|
1939 |
+
msgstr ""
|
1940 |
+
|
1941 |
+
#: settings.php:633
|
1942 |
+
msgid "Add option"
|
1943 |
+
msgstr ""
|
1944 |
+
|
1945 |
+
#: settings.php:648
|
1946 |
+
msgid "Import code"
|
1947 |
+
msgstr ""
|
1948 |
+
|
1949 |
+
#: settings.php:652
|
1950 |
+
msgid "Generate code"
|
1951 |
+
msgstr ""
|
1952 |
+
|
1953 |
+
#: settings.php:657
|
1954 |
+
msgid "Banner"
|
1955 |
+
msgstr ""
|
1956 |
+
|
1957 |
+
#: settings.php:668
|
1958 |
+
msgid "Image"
|
1959 |
+
msgstr ""
|
1960 |
+
|
1961 |
+
#: settings.php:676
|
1962 |
+
msgid "Link"
|
1963 |
+
msgstr ""
|
1964 |
+
|
1965 |
+
#: settings.php:687
|
1966 |
+
msgid "Open link in a new tab"
|
1967 |
+
msgstr ""
|
1968 |
+
|
1969 |
+
#: settings.php:688
|
1970 |
+
msgid "Select Image"
|
1971 |
+
msgstr ""
|
1972 |
+
|
1973 |
+
#: settings.php:689
|
1974 |
+
msgid "Select Placeholder"
|
1975 |
+
msgstr ""
|
1976 |
+
|
1977 |
+
#: settings.php:701
|
1978 |
+
msgid "Comment"
|
1979 |
+
msgstr ""
|
1980 |
+
|
1981 |
+
#: settings.php:710
|
1982 |
+
msgctxt "AdSense"
|
1983 |
+
msgid "Publisher ID"
|
1984 |
+
msgstr ""
|
1985 |
+
|
1986 |
+
#: settings.php:719
|
1987 |
+
msgctxt "AdSense"
|
1988 |
+
msgid "Ad Slot ID"
|
1989 |
+
msgstr ""
|
1990 |
+
|
1991 |
+
#: settings.php:728
|
1992 |
+
msgid "Ad Type"
|
1993 |
+
msgstr ""
|
1994 |
+
|
1995 |
+
#: settings.php:752
|
1996 |
+
msgid "AMP Ad"
|
1997 |
+
msgstr ""
|
1998 |
+
|
1999 |
+
#: settings.php:769
|
2000 |
+
msgid "Show ad units from your AdSense account"
|
2001 |
+
msgstr ""
|
2002 |
+
|
2003 |
+
#: settings.php:769
|
2004 |
+
msgid "AdSense ad units"
|
2005 |
+
msgstr ""
|
2006 |
+
|
2007 |
+
#: settings.php:786
|
2008 |
+
msgctxt "AdSense"
|
2009 |
+
msgid "Layout"
|
2010 |
+
msgstr ""
|
2011 |
+
|
2012 |
+
#: settings.php:795
|
2013 |
+
msgctxt "AdSense"
|
2014 |
+
msgid "Layout Key"
|
2015 |
+
msgstr ""
|
2016 |
+
|
2017 |
+
#: settings.php:892
|
2018 |
+
msgid ""
|
2019 |
+
"White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
|
2020 |
+
"Cookie or Referer (domain)"
|
2021 |
+
msgstr ""
|
2022 |
+
|
2023 |
+
#: settings.php:892
|
2024 |
+
msgid "Lists"
|
2025 |
+
msgstr ""
|
2026 |
+
|
2027 |
+
#: settings.php:893
|
2028 |
+
msgid "Widget, Shortcode and PHP function call"
|
2029 |
+
msgstr ""
|
2030 |
+
|
2031 |
+
#: settings.php:893
|
2032 |
+
msgid "Manual"
|
2033 |
+
msgstr ""
|
2034 |
+
|
2035 |
+
#: settings.php:894
|
2036 |
+
msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
|
2037 |
+
msgstr ""
|
2038 |
+
|
2039 |
+
#: settings.php:894
|
2040 |
+
msgid "Devices"
|
2041 |
+
msgstr ""
|
2042 |
+
|
2043 |
+
#: settings.php:895
|
2044 |
+
msgid ""
|
2045 |
+
"Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
|
2046 |
+
"feeds), Filter, Scheduling, General tag"
|
2047 |
+
msgstr ""
|
2048 |
+
|
2049 |
+
#: settings.php:895
|
2050 |
+
msgid "Misc"
|
2051 |
+
msgstr ""
|
2052 |
+
|
2053 |
+
#: settings.php:896
|
2054 |
+
msgid "Preview code and alignment"
|
2055 |
+
msgstr ""
|
2056 |
+
|
2057 |
+
#: settings.php:899 settings.php:1876
|
2058 |
+
msgid ""
|
2059 |
+
"Rotation editor active - rotation code not generated! Make sure no rotation "
|
2060 |
+
"editor is active before saving settings."
|
2061 |
+
msgstr ""
|
2062 |
+
|
2063 |
+
#: settings.php:901
|
2064 |
+
msgid "Save All Settings"
|
2065 |
+
msgstr ""
|
2066 |
+
|
2067 |
+
#: settings.php:951 strings.php:179
|
2068 |
+
msgctxt "Button"
|
2069 |
+
msgid "Show"
|
2070 |
+
msgstr ""
|
2071 |
+
|
2072 |
+
#: settings.php:963
|
2073 |
+
msgid "Custom CSS code for the wrapping div"
|
2074 |
+
msgstr ""
|
2075 |
+
|
2076 |
+
#: settings.php:966 settings.php:967 settings.php:968 settings.php:969
|
2077 |
+
#: settings.php:970 settings.php:971
|
2078 |
+
msgid "CSS code for the wrapping div, click to edit"
|
2079 |
+
msgstr ""
|
2080 |
+
|
2081 |
+
#: settings.php:986
|
2082 |
+
msgid "Enable insertion on posts"
|
2083 |
+
msgstr ""
|
2084 |
+
|
2085 |
+
#: settings.php:988 settings.php:994
|
2086 |
+
msgid ""
|
2087 |
+
"Individual post exceptions (if enabled here) can be configured in post "
|
2088 |
+
"editor. Leave blank for no individual post exceptions."
|
2089 |
+
msgstr ""
|
2090 |
+
|
2091 |
+
#: settings.php:994
|
2092 |
+
msgid "Posts"
|
2093 |
+
msgstr ""
|
2094 |
+
|
2095 |
+
#: settings.php:999
|
2096 |
+
msgid "Toggle list of individual exceptions"
|
2097 |
+
msgstr ""
|
2098 |
+
|
2099 |
+
#: settings.php:1009 settings.php:1010
|
2100 |
+
msgid ""
|
2101 |
+
"Enable insertion on homepage: latest posts (including on sub-pages), static "
|
2102 |
+
"page or theme homepage (available positions may depend on hooks used by the "
|
2103 |
+
"theme)"
|
2104 |
+
msgstr ""
|
2105 |
+
|
2106 |
+
#: settings.php:1010
|
2107 |
+
msgid "Homepage"
|
2108 |
+
msgstr ""
|
2109 |
+
|
2110 |
+
#: settings.php:1014 settings.php:1015
|
2111 |
+
msgid "Enable insertion on category blog pages (including sub-pages)"
|
2112 |
+
msgstr ""
|
2113 |
+
|
2114 |
+
#: settings.php:1015
|
2115 |
+
msgid "Category pages"
|
2116 |
+
msgstr ""
|
2117 |
+
|
2118 |
+
#: settings.php:1022
|
2119 |
+
msgid "Enable insertion on static pages"
|
2120 |
+
msgstr ""
|
2121 |
+
|
2122 |
+
#: settings.php:1024 settings.php:1030
|
2123 |
+
msgid ""
|
2124 |
+
"Individual static page exceptions (if enabled here) can be configured in "
|
2125 |
+
"page editor. Leave blank for no individual page exceptions."
|
2126 |
+
msgstr ""
|
2127 |
+
|
2128 |
+
#: settings.php:1030
|
2129 |
+
msgid "Static pages"
|
2130 |
+
msgstr ""
|
2131 |
+
|
2132 |
+
#: settings.php:1036 settings.php:1037
|
2133 |
+
msgid "Enable insertion on search blog pages"
|
2134 |
+
msgstr ""
|
2135 |
+
|
2136 |
+
#: settings.php:1037
|
2137 |
+
msgid "Search pages"
|
2138 |
+
msgstr ""
|
2139 |
+
|
2140 |
+
#: settings.php:1041 settings.php:1042
|
2141 |
+
msgid "Enable insertion on tag or archive blog pages"
|
2142 |
+
msgstr ""
|
2143 |
+
|
2144 |
+
#: settings.php:1042
|
2145 |
+
msgid "Tag / Archive pages"
|
2146 |
+
msgstr ""
|
2147 |
+
|
2148 |
+
#: settings.php:1055
|
2149 |
+
msgctxt "post"
|
2150 |
+
msgid "Type"
|
2151 |
+
msgstr ""
|
2152 |
+
|
2153 |
+
#. translators: %d: block number
|
2154 |
+
#: settings.php:1057
|
2155 |
+
msgid "Are you sure you want to clear all exceptions for block %d?"
|
2156 |
+
msgstr ""
|
2157 |
+
|
2158 |
+
#: settings.php:1087
|
2159 |
+
msgid "HTML element"
|
2160 |
+
msgstr ""
|
2161 |
+
|
2162 |
+
#: settings.php:1100
|
2163 |
+
msgid "HTML element selector or comma separated list of selectors"
|
2164 |
+
msgstr ""
|
2165 |
+
|
2166 |
+
#: settings.php:1106 settings.php:2323
|
2167 |
+
msgid "Action"
|
2168 |
+
msgstr ""
|
2169 |
+
|
2170 |
+
#: settings.php:1117 settings.php:1673
|
2171 |
+
msgid "Insertion"
|
2172 |
+
msgstr ""
|
2173 |
+
|
2174 |
+
#: settings.php:1118
|
2175 |
+
msgid ""
|
2176 |
+
"Client-side insertion uses JavaScript to insert block when the page loads. "
|
2177 |
+
"Server-side insertion inserts block when the page is generated but needs "
|
2178 |
+
"Output buffering enabled."
|
2179 |
+
msgstr ""
|
2180 |
+
|
2181 |
+
#: settings.php:1128
|
2182 |
+
msgid "JavaScript code position"
|
2183 |
+
msgstr ""
|
2184 |
+
|
2185 |
+
#: settings.php:1129
|
2186 |
+
msgid ""
|
2187 |
+
"Page position where the JavaScript code for client-side insertion will be "
|
2188 |
+
"inserted. Should be after the HTML element if not waiting for DOM ready."
|
2189 |
+
msgstr ""
|
2190 |
+
|
2191 |
+
#: settings.php:1143
|
2192 |
+
msgid "Paragraphs"
|
2193 |
+
msgstr ""
|
2194 |
+
|
2195 |
+
#: settings.php:1149
|
2196 |
+
msgid ""
|
2197 |
+
"Paragraph number or comma separated paragraph numbers: 1 to N means "
|
2198 |
+
"paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
|
2199 |
+
"means random paragraph, value between 0 and 1 means relative position on the "
|
2200 |
+
"page (0.2 means paragraph at 20% of page paragraphs, 0.5 means paragraph "
|
2201 |
+
"halfway down the page, 0.9 means paragraph at 90% of page paragraphs, etc.), "
|
2202 |
+
"negative number means counting from the opposite direction"
|
2203 |
+
msgstr ""
|
2204 |
+
|
2205 |
+
#: settings.php:1155
|
2206 |
+
msgid "Counting"
|
2207 |
+
msgstr ""
|
2208 |
+
|
2209 |
+
#: settings.php:1156
|
2210 |
+
msgid "Clearance"
|
2211 |
+
msgstr ""
|
2212 |
+
|
2213 |
+
#: settings.php:1165
|
2214 |
+
msgid "Count"
|
2215 |
+
msgstr ""
|
2216 |
+
|
2217 |
+
#: settings.php:1171
|
2218 |
+
msgid "paragraphs with tags"
|
2219 |
+
msgstr ""
|
2220 |
+
|
2221 |
+
#: settings.php:1177
|
2222 |
+
msgid "Comma separated HTML tag names, usually only 'p' tags are used"
|
2223 |
+
msgstr ""
|
2224 |
+
|
2225 |
+
#: settings.php:1186
|
2226 |
+
msgid "that have between"
|
2227 |
+
msgstr ""
|
2228 |
+
|
2229 |
+
#: settings.php:1192
|
2230 |
+
msgid "Minimum number of paragraph words, leave empty for no limit"
|
2231 |
+
msgstr ""
|
2232 |
+
|
2233 |
+
#: settings.php:1201
|
2234 |
+
msgid "Maximum number of paragraph words, leave empty for no limit"
|
2235 |
+
msgstr ""
|
2236 |
+
|
2237 |
+
#: settings.php:1204 settings.php:1799
|
2238 |
+
msgid "words"
|
2239 |
+
msgstr ""
|
2240 |
+
|
2241 |
+
#: settings.php:1219 settings.php:1285 settings.php:1311
|
2242 |
+
msgid "Comma separated texts"
|
2243 |
+
msgstr ""
|
2244 |
+
|
2245 |
+
#: settings.php:1228
|
2246 |
+
msgid "Minimum number of paragraphs"
|
2247 |
+
msgstr ""
|
2248 |
+
|
2249 |
+
#. translators: %s: list of HTML tags
|
2250 |
+
#: settings.php:1243
|
2251 |
+
msgid ""
|
2252 |
+
"Count also paragraphs inside %s elements - defined on general plugin "
|
2253 |
+
"settings page - tab ⚙ / tab General"
|
2254 |
+
msgstr ""
|
2255 |
+
|
2256 |
+
#: settings.php:1243
|
2257 |
+
msgid "Count inside special elements"
|
2258 |
+
msgstr ""
|
2259 |
+
|
2260 |
+
#: settings.php:1254
|
2261 |
+
msgid "Minimum number of words in paragraphs above"
|
2262 |
+
msgstr ""
|
2263 |
+
|
2264 |
+
#: settings.php:1260
|
2265 |
+
msgid ""
|
2266 |
+
"Used only with automatic insertion After paragraph and empty paragraph "
|
2267 |
+
"numbers"
|
2268 |
+
msgstr ""
|
2269 |
+
|
2270 |
+
#: settings.php:1270 settings.php:1296
|
2271 |
+
msgid "In"
|
2272 |
+
msgstr ""
|
2273 |
+
|
2274 |
+
#: settings.php:1276
|
2275 |
+
msgid "Number of paragraphs above to check, leave empty to disable checking"
|
2276 |
+
msgstr ""
|
2277 |
+
|
2278 |
+
#: settings.php:1279
|
2279 |
+
msgid "paragraphs above avoid"
|
2280 |
+
msgstr ""
|
2281 |
+
|
2282 |
+
#: settings.php:1302
|
2283 |
+
msgid "Number of paragraphs below to check, leave empty to disable checking"
|
2284 |
+
msgstr ""
|
2285 |
+
|
2286 |
+
#: settings.php:1305
|
2287 |
+
msgid "paragraphs below avoid"
|
2288 |
+
msgstr ""
|
2289 |
+
|
2290 |
+
#: settings.php:1321
|
2291 |
+
msgid "If text is found"
|
2292 |
+
msgstr ""
|
2293 |
+
|
2294 |
+
#: settings.php:1328
|
2295 |
+
msgid "check up to"
|
2296 |
+
msgstr ""
|
2297 |
+
|
2298 |
+
#: settings.php:1336
|
2299 |
+
msgctxt "check up to"
|
2300 |
+
msgid "paragraphs"
|
2301 |
+
msgstr ""
|
2302 |
+
|
2303 |
+
#: settings.php:1352
|
2304 |
+
msgid "Categories"
|
2305 |
+
msgstr ""
|
2306 |
+
|
2307 |
+
#: settings.php:1355
|
2308 |
+
msgid "Toggle category editor"
|
2309 |
+
msgstr ""
|
2310 |
+
|
2311 |
+
#: settings.php:1358
|
2312 |
+
msgid "Comma separated category slugs"
|
2313 |
+
msgstr ""
|
2314 |
+
|
2315 |
+
#: settings.php:1362
|
2316 |
+
msgid "Blacklist categories"
|
2317 |
+
msgstr ""
|
2318 |
+
|
2319 |
+
#: settings.php:1366
|
2320 |
+
msgid "Whitelist categories"
|
2321 |
+
msgstr ""
|
2322 |
+
|
2323 |
+
#: settings.php:1378
|
2324 |
+
msgid "Tags"
|
2325 |
+
msgstr ""
|
2326 |
+
|
2327 |
+
#: settings.php:1381
|
2328 |
+
msgid "Toggle tag editor"
|
2329 |
+
msgstr ""
|
2330 |
+
|
2331 |
+
#: settings.php:1384
|
2332 |
+
msgid "Comma separated tag slugs"
|
2333 |
+
msgstr ""
|
2334 |
+
|
2335 |
+
#: settings.php:1388
|
2336 |
+
msgid "Blacklist tags"
|
2337 |
+
msgstr ""
|
2338 |
+
|
2339 |
+
#: settings.php:1392
|
2340 |
+
msgid "Whitelist tags"
|
2341 |
+
msgstr ""
|
2342 |
+
|
2343 |
+
#: settings.php:1404
|
2344 |
+
msgid "Taxonomies"
|
2345 |
+
msgstr ""
|
2346 |
+
|
2347 |
+
#: settings.php:1407
|
2348 |
+
msgid "Toggle taxonomy editor"
|
2349 |
+
msgstr ""
|
2350 |
+
|
2351 |
+
#: settings.php:1410
|
2352 |
+
msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
|
2353 |
+
msgstr ""
|
2354 |
+
|
2355 |
+
#: settings.php:1414
|
2356 |
+
msgid "Blacklist taxonomies"
|
2357 |
+
msgstr ""
|
2358 |
+
|
2359 |
+
#: settings.php:1418
|
2360 |
+
msgid "Whitelist taxonomies"
|
2361 |
+
msgstr ""
|
2362 |
+
|
2363 |
+
#: settings.php:1430
|
2364 |
+
msgid "Post IDs"
|
2365 |
+
msgstr ""
|
2366 |
+
|
2367 |
+
#: settings.php:1433
|
2368 |
+
msgid "Toggle post/page ID editor"
|
2369 |
+
msgstr ""
|
2370 |
+
|
2371 |
+
#: settings.php:1436
|
2372 |
+
msgid "Comma separated post/page IDs"
|
2373 |
+
msgstr ""
|
2374 |
+
|
2375 |
+
#: settings.php:1440
|
2376 |
+
msgid "Blacklist IDs"
|
2377 |
+
msgstr ""
|
2378 |
+
|
2379 |
+
#: settings.php:1444
|
2380 |
+
msgid "Whitelist IDs"
|
2381 |
+
msgstr ""
|
2382 |
+
|
2383 |
+
#: settings.php:1456
|
2384 |
+
msgid "Urls"
|
2385 |
+
msgstr ""
|
2386 |
+
|
2387 |
+
#: settings.php:1459
|
2388 |
+
msgid "Toggle url editor"
|
2389 |
+
msgstr ""
|
2390 |
+
|
2391 |
+
#: settings.php:1462
|
2392 |
+
msgid ""
|
2393 |
+
"Comma separated urls (page addresses) starting with / after domain name (e."
|
2394 |
+
"g. /permalink-url, use only when you need to taget a specific url not "
|
2395 |
+
"accessible by other means). You can also use partial urls with * (/url-"
|
2396 |
+
"start*. *url-pattern*, *url-end)"
|
2397 |
+
msgstr ""
|
2398 |
+
|
2399 |
+
#: settings.php:1466
|
2400 |
+
msgid "Blacklist urls"
|
2401 |
+
msgstr ""
|
2402 |
+
|
2403 |
+
#: settings.php:1470
|
2404 |
+
msgid "Whitelist urls"
|
2405 |
+
msgstr ""
|
2406 |
+
|
2407 |
+
#: settings.php:1481
|
2408 |
+
msgid "Url parameters"
|
2409 |
+
msgstr ""
|
2410 |
+
|
2411 |
+
#: settings.php:1485
|
2412 |
+
msgid "Toggle url parameter and cookie editor"
|
2413 |
+
msgstr ""
|
2414 |
+
|
2415 |
+
#: settings.php:1488
|
2416 |
+
msgid ""
|
2417 |
+
"Comma separated url query parameters or cookies with optional values (use "
|
2418 |
+
"'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
|
2419 |
+
msgstr ""
|
2420 |
+
|
2421 |
+
#: settings.php:1492
|
2422 |
+
msgid "Blacklist url parameters"
|
2423 |
+
msgstr ""
|
2424 |
+
|
2425 |
+
#: settings.php:1496
|
2426 |
+
msgid "Whitelist url parameters"
|
2427 |
+
msgstr ""
|
2428 |
+
|
2429 |
+
#: settings.php:1507
|
2430 |
+
msgid "Referers"
|
2431 |
+
msgstr ""
|
2432 |
+
|
2433 |
+
#: settings.php:1510
|
2434 |
+
msgid "Toggle referer editor"
|
2435 |
+
msgstr ""
|
2436 |
+
|
2437 |
+
#: settings.php:1513
|
2438 |
+
msgid "Comma separated domains, use # for no referer"
|
2439 |
+
msgstr ""
|
2440 |
+
|
2441 |
+
#: settings.php:1517
|
2442 |
+
msgid "Blacklist referers"
|
2443 |
+
msgstr ""
|
2444 |
+
|
2445 |
+
#: settings.php:1521
|
2446 |
+
msgid "Whitelist referers"
|
2447 |
+
msgstr ""
|
2448 |
+
|
2449 |
+
#: settings.php:1541
|
2450 |
+
msgid "Enable widget for this block"
|
2451 |
+
msgstr ""
|
2452 |
+
|
2453 |
+
#: settings.php:1553
|
2454 |
+
msgid "Enable shortcode for manual insertion of this block in posts and pages"
|
2455 |
+
msgstr ""
|
2456 |
+
|
2457 |
+
#: settings.php:1554 settings.php:3048
|
2458 |
+
msgid "Shortcode"
|
2459 |
+
msgstr ""
|
2460 |
+
|
2461 |
+
#: settings.php:1569
|
2462 |
+
msgid ""
|
2463 |
+
"Enable PHP function call to insert this block at any position in theme file. "
|
2464 |
+
"If function is disabled for block it will return empty string."
|
2465 |
+
msgstr ""
|
2466 |
+
|
2467 |
+
#: settings.php:1570
|
2468 |
+
msgid "PHP function"
|
2469 |
+
msgstr ""
|
2470 |
+
|
2471 |
+
#: settings.php:1585
|
2472 |
+
msgid "Client-side device detection"
|
2473 |
+
msgstr ""
|
2474 |
+
|
2475 |
+
#: settings.php:1586
|
2476 |
+
msgid "Server-side device detection"
|
2477 |
+
msgstr ""
|
2478 |
+
|
2479 |
+
#: settings.php:1593
|
2480 |
+
msgid "Use client-side detection to"
|
2481 |
+
msgstr ""
|
2482 |
+
|
2483 |
+
#. Translators: only on (the following devices): viewport names (devices)
|
2484 |
+
#. listed
|
2485 |
+
#: settings.php:1600
|
2486 |
+
msgid "only on"
|
2487 |
+
msgstr ""
|
2488 |
+
|
2489 |
+
#: settings.php:1630
|
2490 |
+
msgid "Device min width %s px"
|
2491 |
+
msgstr ""
|
2492 |
+
|
2493 |
+
#: settings.php:1655
|
2494 |
+
msgid "Use server-side detection to insert block only for"
|
2495 |
+
msgstr ""
|
2496 |
+
|
2497 |
+
#: settings.php:1674
|
2498 |
+
msgid "Filter"
|
2499 |
+
msgstr ""
|
2500 |
+
|
2501 |
+
#: settings.php:1675
|
2502 |
+
msgid "Word Count"
|
2503 |
+
msgstr ""
|
2504 |
+
|
2505 |
+
#: settings.php:1676
|
2506 |
+
msgid "Scheduling"
|
2507 |
+
msgstr ""
|
2508 |
+
|
2509 |
+
#: settings.php:1677
|
2510 |
+
msgid "Display"
|
2511 |
+
msgstr ""
|
2512 |
+
|
2513 |
+
#: settings.php:1679 settings.php:1904
|
2514 |
+
msgid "General"
|
2515 |
+
msgstr ""
|
2516 |
+
|
2517 |
+
#: settings.php:1691
|
2518 |
+
msgid "Old settings for AMP pages detected"
|
2519 |
+
msgstr ""
|
2520 |
+
|
2521 |
+
#: settings.php:1691
|
2522 |
+
msgid ""
|
2523 |
+
"To insert different codes on normal and AMP pages separate them with "
|
2524 |
+
"[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
|
2525 |
+
"when you need to insert THE SAME CODE also on AMP pages (no AMP separator)."
|
2526 |
+
msgstr ""
|
2527 |
+
|
2528 |
+
#: settings.php:1691
|
2529 |
+
msgid "AMP pages"
|
2530 |
+
msgstr ""
|
2531 |
+
|
2532 |
+
#: settings.php:1696
|
2533 |
+
msgid "Enable insertion for Ajax requests"
|
2534 |
+
msgstr ""
|
2535 |
+
|
2536 |
+
#: settings.php:1696
|
2537 |
+
msgid "Ajax requests"
|
2538 |
+
msgstr ""
|
2539 |
+
|
2540 |
+
#: settings.php:1701
|
2541 |
+
msgid "Enable insertion in RSS feeds"
|
2542 |
+
msgstr ""
|
2543 |
+
|
2544 |
+
#: settings.php:1701
|
2545 |
+
msgid "RSS Feed"
|
2546 |
+
msgstr ""
|
2547 |
+
|
2548 |
+
#: settings.php:1706
|
2549 |
+
msgid "Enable insertion on page for Error 404: Page not found"
|
2550 |
+
msgstr ""
|
2551 |
+
|
2552 |
+
#: settings.php:1706
|
2553 |
+
msgid "Error 404 page"
|
2554 |
+
msgstr ""
|
2555 |
+
|
2556 |
+
#: settings.php:1718
|
2557 |
+
msgid "Maximum number of insertion of this block. Empty or 0 means no limit."
|
2558 |
+
msgstr ""
|
2559 |
+
|
2560 |
+
#: settings.php:1719
|
2561 |
+
msgid "Max"
|
2562 |
+
msgstr ""
|
2563 |
+
|
2564 |
+
#: settings.php:1719
|
2565 |
+
msgid "insertions"
|
2566 |
+
msgstr ""
|
2567 |
+
|
2568 |
+
#: settings.php:1721
|
2569 |
+
msgid ""
|
2570 |
+
"Count this block for Max blocks per page limit (defined on the tab ⚙ / "
|
2571 |
+
"tab General)"
|
2572 |
+
msgstr ""
|
2573 |
+
|
2574 |
+
#: settings.php:1724 settings.php:2062
|
2575 |
+
msgid "Max blocks per page"
|
2576 |
+
msgstr ""
|
2577 |
+
|
2578 |
+
#: settings.php:1736
|
2579 |
+
msgid "Insert for"
|
2580 |
+
msgstr ""
|
2581 |
+
|
2582 |
+
#: settings.php:1744
|
2583 |
+
msgid ""
|
2584 |
+
"Insert block only when WP function in_the_loop () returns true (WP loop is "
|
2585 |
+
"currently active). Might speed up insertion on content pages when "
|
2586 |
+
"the_content filter is called multiple times."
|
2587 |
+
msgstr ""
|
2588 |
+
|
2589 |
+
#: settings.php:1747
|
2590 |
+
msgid "Insert only in the loop"
|
2591 |
+
msgstr ""
|
2592 |
+
|
2593 |
+
#: settings.php:1753
|
2594 |
+
msgid ""
|
2595 |
+
"Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
|
2596 |
+
msgstr ""
|
2597 |
+
|
2598 |
+
#: settings.php:1753
|
2599 |
+
msgid "Disable caching"
|
2600 |
+
msgstr ""
|
2601 |
+
|
2602 |
+
#: settings.php:1765
|
2603 |
+
msgid "Filter insertions"
|
2604 |
+
msgstr ""
|
2605 |
+
|
2606 |
+
#: settings.php:1771
|
2607 |
+
msgid "using"
|
2608 |
+
msgstr ""
|
2609 |
+
|
2610 |
+
#: settings.php:1789
|
2611 |
+
msgid "Checked means specified calls are unwanted"
|
2612 |
+
msgstr ""
|
2613 |
+
|
2614 |
+
#: settings.php:1789
|
2615 |
+
msgid "Invert filter"
|
2616 |
+
msgstr ""
|
2617 |
+
|
2618 |
+
#: settings.php:1795
|
2619 |
+
msgid "Post/Static page must have between"
|
2620 |
+
msgstr ""
|
2621 |
+
|
2622 |
+
#: settings.php:1796
|
2623 |
+
msgid "Minimum number of post/static page words, leave empty for no limit"
|
2624 |
+
msgstr ""
|
2625 |
+
|
2626 |
+
#: settings.php:1798
|
2627 |
+
msgid "Maximum number of post/static page words, leave empty for no limit"
|
2628 |
+
msgstr ""
|
2629 |
+
|
2630 |
+
#: settings.php:1811
|
2631 |
+
msgid "days after publishing"
|
2632 |
+
msgstr ""
|
2633 |
+
|
2634 |
+
#: settings.php:1813
|
2635 |
+
msgid "Not available"
|
2636 |
+
msgstr ""
|
2637 |
+
|
2638 |
+
#: settings.php:1826 settings.php:2054
|
2639 |
+
msgid "Ad label"
|
2640 |
+
msgstr ""
|
2641 |
+
|
2642 |
+
#: settings.php:1842
|
2643 |
+
msgid "General tag"
|
2644 |
+
msgstr ""
|
2645 |
+
|
2646 |
+
#: settings.php:1846
|
2647 |
+
msgid "Used for [adinserter data=''] shortcodes when no data is found"
|
2648 |
+
msgstr ""
|
2649 |
+
|
2650 |
+
#. translators: %s: HTML tags
|
2651 |
+
#: settings.php:1855
|
2652 |
+
msgid ""
|
2653 |
+
"%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
|
2654 |
+
"side device detection!"
|
2655 |
+
msgstr ""
|
2656 |
+
|
2657 |
+
#: settings.php:1867
|
2658 |
+
msgid "Settings"
|
2659 |
+
msgstr ""
|
2660 |
+
|
2661 |
+
#: settings.php:1870
|
2662 |
+
msgid "Settings timestamp"
|
2663 |
+
msgstr ""
|
2664 |
+
|
2665 |
+
#: settings.php:1882
|
2666 |
+
msgid "Are you sure you want to reset all settings?"
|
2667 |
+
msgstr ""
|
2668 |
+
|
2669 |
+
#: settings.php:1882
|
2670 |
+
msgid "Reset All Settings"
|
2671 |
+
msgstr ""
|
2672 |
+
|
2673 |
+
#: settings.php:1905
|
2674 |
+
msgid "Viewports"
|
2675 |
+
msgstr ""
|
2676 |
+
|
2677 |
+
#: settings.php:1906
|
2678 |
+
msgid "Hooks"
|
2679 |
+
msgstr ""
|
2680 |
+
|
2681 |
+
#: settings.php:1907
|
2682 |
+
msgid "Header"
|
2683 |
+
msgstr ""
|
2684 |
+
|
2685 |
+
#: settings.php:1908 strings.php:30
|
2686 |
+
msgid "Footer"
|
2687 |
+
msgstr ""
|
2688 |
+
|
2689 |
+
#: settings.php:1913
|
2690 |
+
msgid "Debugging"
|
2691 |
+
msgstr ""
|
2692 |
+
|
2693 |
+
#: settings.php:1923
|
2694 |
+
msgid "Plugin priority"
|
2695 |
+
msgstr ""
|
2696 |
+
|
2697 |
+
#: settings.php:1931
|
2698 |
+
msgid "Output buffering"
|
2699 |
+
msgstr ""
|
2700 |
+
|
2701 |
+
#: settings.php:1934
|
2702 |
+
msgid "Needed for position Above header but may not work with all themes"
|
2703 |
+
msgstr ""
|
2704 |
+
|
2705 |
+
#: settings.php:1942
|
2706 |
+
msgid "Syntax highlighting theme"
|
2707 |
+
msgstr ""
|
2708 |
+
|
2709 |
+
#: settings.php:1949
|
2710 |
+
msgctxt "no syntax highlighting themes"
|
2711 |
+
msgid "None"
|
2712 |
+
msgstr ""
|
2713 |
+
|
2714 |
+
#: settings.php:1950
|
2715 |
+
msgid "No Syntax Highlighting"
|
2716 |
+
msgstr ""
|
2717 |
+
|
2718 |
+
#: settings.php:1952
|
2719 |
+
msgctxt "syntax highlighting themes"
|
2720 |
+
msgid "Light"
|
2721 |
+
msgstr ""
|
2722 |
+
|
2723 |
+
#: settings.php:1967
|
2724 |
+
msgctxt "syntax highlighting themes"
|
2725 |
+
msgid "Dark"
|
2726 |
+
msgstr ""
|
2727 |
+
|
2728 |
+
#: settings.php:1993
|
2729 |
+
msgid "Min. user role for ind. exceptions editing"
|
2730 |
+
msgstr ""
|
2731 |
+
|
2732 |
+
#: settings.php:2003
|
2733 |
+
msgid "Sticky widget mode"
|
2734 |
+
msgstr ""
|
2735 |
+
|
2736 |
+
#: settings.php:2006
|
2737 |
+
msgid ""
|
2738 |
+
"CSS mode is the best approach but may not work with all themes. JavaScript "
|
2739 |
+
"mode works with most themes but may reload ads on page load."
|
2740 |
+
msgstr ""
|
2741 |
+
|
2742 |
+
#: settings.php:2014
|
2743 |
+
msgid "Sticky widget top margin"
|
2744 |
+
msgstr ""
|
2745 |
+
|
2746 |
+
#: settings.php:2022
|
2747 |
+
msgid "Dynamic blocks"
|
2748 |
+
msgstr ""
|
2749 |
+
|
2750 |
+
#: settings.php:2035
|
2751 |
+
msgid "Functions for paragraph counting"
|
2752 |
+
msgstr ""
|
2753 |
+
|
2754 |
+
#: settings.php:2038
|
2755 |
+
msgid ""
|
2756 |
+
"Standard PHP functions are faster and work in most cases, use Multibyte "
|
2757 |
+
"functions if paragraphs are not counted properly on non-english pages."
|
2758 |
+
msgstr ""
|
2759 |
+
|
2760 |
+
#: settings.php:2046
|
2761 |
+
msgid "No paragraph counting inside"
|
2762 |
+
msgstr ""
|
2763 |
+
|
2764 |
+
#: settings.php:2057
|
2765 |
+
msgid "Label text or HTML code"
|
2766 |
+
msgstr ""
|
2767 |
+
|
2768 |
+
#: settings.php:2065
|
2769 |
+
msgid ""
|
2770 |
+
"Maximum number of inserted blocks per page. You need to enable Max page "
|
2771 |
+
"insertions (button Misc / tab Insertion) to count block for this limit."
|
2772 |
+
msgstr ""
|
2773 |
+
|
2774 |
+
#: settings.php:2079
|
2775 |
+
msgid "Plugin usage tracking"
|
2776 |
+
msgstr ""
|
2777 |
+
|
2778 |
+
#. translators: %s: Ad Inserter
|
2779 |
+
#: settings.php:2082
|
2780 |
+
msgid ""
|
2781 |
+
"Enable tracking of %s usage and help us to make improvements to the plugin. "
|
2782 |
+
"Only information regarding the WordPress environment and %s usage is "
|
2783 |
+
"recorded (once per month and on events like plugin activation/deactivation)."
|
2784 |
+
msgstr ""
|
2785 |
+
|
2786 |
+
#: settings.php:2100
|
2787 |
+
msgid "CSS class name for the wrapping div"
|
2788 |
+
msgstr ""
|
2789 |
+
|
2790 |
+
#: settings.php:2100
|
2791 |
+
msgid "Block class name"
|
2792 |
+
msgstr ""
|
2793 |
+
|
2794 |
+
#: settings.php:2104
|
2795 |
+
msgid "Include general plugin block class"
|
2796 |
+
msgstr ""
|
2797 |
+
|
2798 |
+
#: settings.php:2104
|
2799 |
+
msgid "Block class"
|
2800 |
+
msgstr ""
|
2801 |
+
|
2802 |
+
#: settings.php:2109
|
2803 |
+
msgid "Include block number class"
|
2804 |
+
msgstr ""
|
2805 |
+
|
2806 |
+
#: settings.php:2109
|
2807 |
+
msgid "Block number class"
|
2808 |
+
msgstr ""
|
2809 |
+
|
2810 |
+
#: settings.php:2114
|
2811 |
+
msgid ""
|
2812 |
+
"Instead of alignment classes generate inline alignment styles for blocks"
|
2813 |
+
msgstr ""
|
2814 |
+
|
2815 |
+
#: settings.php:2114
|
2816 |
+
msgid "Inline styles"
|
2817 |
+
msgstr ""
|
2818 |
+
|
2819 |
+
#: settings.php:2120
|
2820 |
+
msgid "Preview of the block wrapping code"
|
2821 |
+
msgstr ""
|
2822 |
+
|
2823 |
+
#: settings.php:2121
|
2824 |
+
msgid "Wrapping div"
|
2825 |
+
msgstr ""
|
2826 |
+
|
2827 |
+
#: settings.php:2122
|
2828 |
+
msgid "BLOCK CODE"
|
2829 |
+
msgstr ""
|
2830 |
+
|
2831 |
+
#: settings.php:2130
|
2832 |
+
msgid "Viewport Settings used for client-side device detection"
|
2833 |
+
msgstr ""
|
2834 |
+
|
2835 |
+
#. Translators: %d: viewport number
|
2836 |
+
#: settings.php:2137
|
2837 |
+
msgid "Viewport %d name"
|
2838 |
+
msgstr ""
|
2839 |
+
|
2840 |
+
#: settings.php:2140
|
2841 |
+
msgid "min width"
|
2842 |
+
msgstr ""
|
2843 |
+
|
2844 |
+
#: settings.php:2151
|
2845 |
+
msgid "Custom Hooks"
|
2846 |
+
msgstr ""
|
2847 |
+
|
2848 |
+
#. translators: %d: hook number
|
2849 |
+
#: settings.php:2165
|
2850 |
+
msgid "Hook %d name"
|
2851 |
+
msgstr ""
|
2852 |
+
|
2853 |
+
#: settings.php:2168
|
2854 |
+
msgid "Hook name for automatic insertion selection"
|
2855 |
+
msgstr ""
|
2856 |
+
|
2857 |
+
#: settings.php:2171
|
2858 |
+
msgid "action"
|
2859 |
+
msgstr ""
|
2860 |
+
|
2861 |
+
#: settings.php:2174
|
2862 |
+
msgid "Action name as used in the do_action () function"
|
2863 |
+
msgstr ""
|
2864 |
+
|
2865 |
+
#: settings.php:2177
|
2866 |
+
msgid "priority"
|
2867 |
+
msgstr ""
|
2868 |
+
|
2869 |
+
#: settings.php:2180
|
2870 |
+
msgid "Priority for the hook (default is 10)"
|
2871 |
+
msgstr ""
|
2872 |
+
|
2873 |
+
#: settings.php:2200
|
2874 |
+
msgid "Enable insertion of this code into HTML page header"
|
2875 |
+
msgstr ""
|
2876 |
+
|
2877 |
+
#: settings.php:2204 settings.php:2260 settings.php:2415
|
2878 |
+
msgid "Process PHP code"
|
2879 |
+
msgstr ""
|
2880 |
+
|
2881 |
+
#: settings.php:2208
|
2882 |
+
msgid "HTML Page Header Code"
|
2883 |
+
msgstr ""
|
2884 |
+
|
2885 |
+
#: settings.php:2214
|
2886 |
+
msgid "Code in the %s section of the HTML page"
|
2887 |
+
msgstr ""
|
2888 |
+
|
2889 |
+
#: settings.php:2215 settings.php:2271
|
2890 |
+
msgctxt "code in header or footer"
|
2891 |
+
msgid "DISABLED"
|
2892 |
+
msgstr ""
|
2893 |
+
|
2894 |
+
#: settings.php:2228 settings.php:2284
|
2895 |
+
msgid "Use server-side detection to insert code only for"
|
2896 |
+
msgstr ""
|
2897 |
+
|
2898 |
+
#: settings.php:2241
|
2899 |
+
msgid ""
|
2900 |
+
"Enable insertion of this code into HTML page header on page for Error 404: "
|
2901 |
+
"Page not found"
|
2902 |
+
msgstr ""
|
2903 |
+
|
2904 |
+
#: settings.php:2241 settings.php:2297
|
2905 |
+
msgid "Insert on Error 404 page"
|
2906 |
+
msgstr ""
|
2907 |
+
|
2908 |
+
#: settings.php:2256
|
2909 |
+
msgid "Enable insertion of this code into HTML page footer"
|
2910 |
+
msgstr ""
|
2911 |
+
|
2912 |
+
#: settings.php:2264
|
2913 |
+
msgid "HTML Page Footer Code"
|
2914 |
+
msgstr ""
|
2915 |
+
|
2916 |
+
#. translators: %s: HTML tags
|
2917 |
+
#: settings.php:2270
|
2918 |
+
msgid "Code before the %s tag of the the HTML page"
|
2919 |
+
msgstr ""
|
2920 |
+
|
2921 |
+
#: settings.php:2297
|
2922 |
+
msgid ""
|
2923 |
+
"Enable insertion of this code into HTML page footer on page for Error 404: "
|
2924 |
+
"Page not found"
|
2925 |
+
msgstr ""
|
2926 |
+
|
2927 |
+
#: settings.php:2311
|
2928 |
+
msgid "Enable detection of ad blocking"
|
2929 |
+
msgstr ""
|
2930 |
+
|
2931 |
+
#: settings.php:2326
|
2932 |
+
msgid "Global action when ad blocking is detected"
|
2933 |
+
msgstr ""
|
2934 |
+
|
2935 |
+
#: settings.php:2335
|
2936 |
+
msgid "Delay Action"
|
2937 |
+
msgstr ""
|
2938 |
+
|
2939 |
+
#: settings.php:2338
|
2940 |
+
msgid ""
|
2941 |
+
"Number of page views to delay action when ad blocking is detected. Leave "
|
2942 |
+
"empty for no delay (action fires on first page view). Sets cookie."
|
2943 |
+
msgstr ""
|
2944 |
+
|
2945 |
+
#: settings.php:2338
|
2946 |
+
msgctxt "Delay Action for x "
|
2947 |
+
msgid "page views"
|
2948 |
+
msgstr ""
|
2949 |
+
|
2950 |
+
#: settings.php:2343
|
2951 |
+
msgid "No Action Period"
|
2952 |
+
msgstr ""
|
2953 |
+
|
2954 |
+
#: settings.php:2346
|
2955 |
+
msgid ""
|
2956 |
+
"Number of days to supress action when ad blocking is detected. Leave empty "
|
2957 |
+
"for no no-action period (action fires always after defined page view delay). "
|
2958 |
+
"Sets cookie."
|
2959 |
+
msgstr ""
|
2960 |
+
|
2961 |
+
#: settings.php:2346
|
2962 |
+
msgctxt "no action period"
|
2963 |
+
msgid "days"
|
2964 |
+
msgstr ""
|
2965 |
+
|
2966 |
+
#: settings.php:2351
|
2967 |
+
msgid "Custom Selectors"
|
2968 |
+
msgstr ""
|
2969 |
+
|
2970 |
+
#: settings.php:2354
|
2971 |
+
msgid ""
|
2972 |
+
"Comma seprarated list of selectors (.class, #id) used for additional ad "
|
2973 |
+
"blocking detection. Invisible element or element with zero height means ad "
|
2974 |
+
"blocking is present."
|
2975 |
+
msgstr ""
|
2976 |
+
|
2977 |
+
#: settings.php:2366
|
2978 |
+
msgid "Redirection Page"
|
2979 |
+
msgstr ""
|
2980 |
+
|
2981 |
+
#: settings.php:2378
|
2982 |
+
msgid "Custom Url"
|
2983 |
+
msgstr ""
|
2984 |
+
|
2985 |
+
#: settings.php:2383
|
2986 |
+
msgid ""
|
2987 |
+
"Static page for redirection when ad blocking is detected. For other pages "
|
2988 |
+
"select Custom url and set it below."
|
2989 |
+
msgstr ""
|
2990 |
+
|
2991 |
+
#: settings.php:2392
|
2992 |
+
msgid "Custom Redirection Url"
|
2993 |
+
msgstr ""
|
2994 |
+
|
2995 |
+
#: settings.php:2404
|
2996 |
+
msgid "Message HTML code"
|
2997 |
+
msgstr ""
|
2998 |
+
|
2999 |
+
#: settings.php:2417
|
3000 |
+
msgid "Preview message when ad blocking is detected"
|
3001 |
+
msgstr ""
|
3002 |
+
|
3003 |
+
#: settings.php:2446
|
3004 |
+
msgid "Prevent visitors from closing the warning message"
|
3005 |
+
msgstr ""
|
3006 |
+
|
3007 |
+
#: settings.php:2446
|
3008 |
+
msgid "Undismissible Message"
|
3009 |
+
msgstr ""
|
3010 |
+
|
3011 |
+
#: settings.php:2465
|
3012 |
+
msgid "Force showing admin toolbar when viewing site"
|
3013 |
+
msgstr ""
|
3014 |
+
|
3015 |
+
#: settings.php:2472
|
3016 |
+
msgid "Enable debugging functions in admin toolbar"
|
3017 |
+
msgstr ""
|
3018 |
+
|
3019 |
+
#: settings.php:2474
|
3020 |
+
msgid "Debugging functions in admin toolbar"
|
3021 |
+
msgstr ""
|
3022 |
+
|
3023 |
+
#: settings.php:2481
|
3024 |
+
msgid "Enable debugging functions in admin toolbar on mobile screens"
|
3025 |
+
msgstr ""
|
3026 |
+
|
3027 |
+
#: settings.php:2483
|
3028 |
+
msgid "Debugging functions on mobile screens"
|
3029 |
+
msgstr ""
|
3030 |
+
|
3031 |
+
#: settings.php:2490
|
3032 |
+
msgid ""
|
3033 |
+
"Enable Debugger widget and code insertion debugging (blocks, positions, "
|
3034 |
+
"tags, processing) by url parameters for non-logged in users. Enable this "
|
3035 |
+
"option to allow other users to see Debugger widget, labeled blocks and "
|
3036 |
+
"positions in order to help you to diagnose problems. For logged in "
|
3037 |
+
"administrators debugging is always enabled."
|
3038 |
+
msgstr ""
|
3039 |
+
|
3040 |
+
#: settings.php:2492
|
3041 |
+
msgid "Remote debugging"
|
3042 |
+
msgstr ""
|
3043 |
+
|
3044 |
+
#: settings.php:2499
|
3045 |
+
msgid ""
|
3046 |
+
"Disable translation to see original texts for the settings and messages in "
|
3047 |
+
"English"
|
3048 |
+
msgstr ""
|
3049 |
+
|
3050 |
+
#: settings.php:2501
|
3051 |
+
msgid "Disable translation"
|
3052 |
+
msgstr ""
|
3053 |
+
|
3054 |
+
#: settings.php:2794
|
3055 |
+
msgid "Toggle active/all blocks"
|
3056 |
+
msgstr ""
|
3057 |
+
|
3058 |
+
#: settings.php:2798 strings.php:198
|
3059 |
+
msgid "Rearrange block order"
|
3060 |
+
msgstr ""
|
3061 |
+
|
3062 |
+
#: settings.php:2803
|
3063 |
+
msgid "Save new block order"
|
3064 |
+
msgstr ""
|
3065 |
+
|
3066 |
+
#: settings.php:2803
|
3067 |
+
msgid "Save Changes"
|
3068 |
+
msgstr ""
|
3069 |
+
|
3070 |
+
#: settings.php:2828
|
3071 |
+
msgid "Toggle active/all ad units"
|
3072 |
+
msgstr ""
|
3073 |
+
|
3074 |
+
#: settings.php:2832
|
3075 |
+
msgid "Reload AdSense ad units"
|
3076 |
+
msgstr ""
|
3077 |
+
|
3078 |
+
#: settings.php:2836
|
3079 |
+
msgid "Clear authorization to access AdSense account"
|
3080 |
+
msgstr ""
|
3081 |
+
|
3082 |
+
#: settings.php:2840 settings.php:3205 settings.php:3272 strings.php:206
|
3083 |
+
msgid "Google AdSense Homepage"
|
3084 |
+
msgstr ""
|
3085 |
+
|
3086 |
+
#: settings.php:3017
|
3087 |
+
msgid "Preview block"
|
3088 |
+
msgstr ""
|
3089 |
+
|
3090 |
+
#: settings.php:3026
|
3091 |
+
msgid "Insertion disabled"
|
3092 |
+
msgstr ""
|
3093 |
+
|
3094 |
+
#: settings.php:3046
|
3095 |
+
msgid "Alignment"
|
3096 |
+
msgstr ""
|
3097 |
+
|
3098 |
+
#: settings.php:3050
|
3099 |
+
msgid "Widget positions"
|
3100 |
+
msgstr ""
|
3101 |
+
|
3102 |
+
#: settings.php:3116
|
3103 |
+
msgid "Ad unit"
|
3104 |
+
msgstr ""
|
3105 |
+
|
3106 |
+
#: settings.php:3118
|
3107 |
+
msgid "Slot ID"
|
3108 |
+
msgstr ""
|
3109 |
+
|
3110 |
+
#: settings.php:3144
|
3111 |
+
msgid "Copy AdSense code"
|
3112 |
+
msgstr ""
|
3113 |
+
|
3114 |
+
#: settings.php:3147
|
3115 |
+
msgid "Preview AdSense ad"
|
3116 |
+
msgstr ""
|
3117 |
+
|
3118 |
+
#: settings.php:3150
|
3119 |
+
msgid "Get AdSense code"
|
3120 |
+
msgstr ""
|
3121 |
+
|
3122 |
+
#. translators: %s: HTML tags
|
3123 |
+
#: settings.php:3182
|
3124 |
+
msgid ""
|
3125 |
+
"Please %s clear authorization %s with the button %s above and once again "
|
3126 |
+
"authorize access to your AdSense account."
|
3127 |
+
msgstr ""
|
3128 |
+
|
3129 |
+
#: settings.php:3201
|
3130 |
+
msgid "AdSense Integration"
|
3131 |
+
msgstr ""
|
3132 |
+
|
3133 |
+
#: settings.php:3203
|
3134 |
+
msgid "AdSense Integration - Step 2"
|
3135 |
+
msgstr ""
|
3136 |
+
|
3137 |
+
#. translators: %s: HTML tags
|
3138 |
+
#: settings.php:3209
|
3139 |
+
msgid ""
|
3140 |
+
"Authorize %s to access your AdSense account. Click on the %s Get "
|
3141 |
+
"Authorization Code %s button to open a new window where you can allow "
|
3142 |
+
"access. When you get the code copy it to the field below and click on the "
|
3143 |
+
"button %s Authorize. %s"
|
3144 |
+
msgstr ""
|
3145 |
+
|
3146 |
+
#. translators: %s: HTML tags
|
3147 |
+
#: settings.php:3216
|
3148 |
+
msgid ""
|
3149 |
+
"If you get error, can't access ad units or would like to use own Google API "
|
3150 |
+
"IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
|
3151 |
+
"Secret."
|
3152 |
+
msgstr ""
|
3153 |
+
|
3154 |
+
#. translators: %s: HTML tags
|
3155 |
+
#: settings.php:3218
|
3156 |
+
msgid ""
|
3157 |
+
"Now you can authorize %s to access your AdSense account. Click on the %s Get "
|
3158 |
+
"Authorization Code %s button to open a new window where you can allow "
|
3159 |
+
"access. When you get the code copy it to the field below and click on the "
|
3160 |
+
"button %s Authorize. %s"
|
3161 |
+
msgstr ""
|
3162 |
+
|
3163 |
+
#. translators: %s: HTML tags
|
3164 |
+
#: settings.php:3225
|
3165 |
+
msgid ""
|
3166 |
+
"If you get error %s invalid client %s click on the button %s Clear and "
|
3167 |
+
"return to Step 1 %s to re-enter Client ID and Client Secret."
|
3168 |
+
msgstr ""
|
3169 |
+
|
3170 |
+
#: settings.php:3236
|
3171 |
+
msgid "Get Authorization Code"
|
3172 |
+
msgstr ""
|
3173 |
+
|
3174 |
+
#: settings.php:3239
|
3175 |
+
msgid "Enter Authorization Code"
|
3176 |
+
msgstr ""
|
3177 |
+
|
3178 |
+
#: settings.php:3249
|
3179 |
+
msgid "Use own API IDs"
|
3180 |
+
msgstr ""
|
3181 |
+
|
3182 |
+
#: settings.php:3251
|
3183 |
+
msgid "Clear and return to Step 1"
|
3184 |
+
msgstr ""
|
3185 |
+
|
3186 |
+
#: settings.php:3255
|
3187 |
+
msgid "Authorize"
|
3188 |
+
msgstr ""
|
3189 |
+
|
3190 |
+
#: settings.php:3271
|
3191 |
+
msgid "AdSense Integration - Step 1"
|
3192 |
+
msgstr ""
|
3193 |
+
|
3194 |
+
#. translators: %s: Ad Inserter
|
3195 |
+
#: settings.php:3275
|
3196 |
+
msgid ""
|
3197 |
+
"Here can %s list configured AdSense ad units and get code for AdSense ads. "
|
3198 |
+
"To do this you need to authorize %s to access your AdSense account. The "
|
3199 |
+
"first step is to create a Google API project in order to get Client ID and "
|
3200 |
+
"Client Secret."
|
3201 |
+
msgstr ""
|
3202 |
+
|
3203 |
+
#. translators: %s: HTML tags
|
3204 |
+
#: settings.php:3284
|
3205 |
+
msgid "Go to %s Google APIs and Services console %s"
|
3206 |
+
msgstr ""
|
3207 |
+
|
3208 |
+
#. translators: %1: Ad Inserter, 2, 3: HTML tags
|
3209 |
+
#: settings.php:3285
|
3210 |
+
msgid ""
|
3211 |
+
"Create %1$s project - if the project and IDs are already created click on "
|
3212 |
+
"the %2$s Credentials %3$s in the sidebar and go to step 16"
|
3213 |
+
msgstr ""
|
3214 |
+
|
3215 |
+
#. translators: %s: HTML tags
|
3216 |
+
#: settings.php:3286
|
3217 |
+
msgid ""
|
3218 |
+
"Click on project selection and then click on the %s NEW PROJECT %s button to "
|
3219 |
+
"create a new project"
|
3220 |
+
msgstr ""
|
3221 |
+
|
3222 |
+
#. translators: 1: Ad Inserter, 2, 3: HTML tags
|
3223 |
+
#: settings.php:3287
|
3224 |
+
msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
|
3225 |
+
msgstr ""
|
3226 |
+
|
3227 |
+
#. translators: %s: HTML tags
|
3228 |
+
#: settings.php:3288
|
3229 |
+
msgid ""
|
3230 |
+
"Click on project selection, wait for the project to be created and then and "
|
3231 |
+
"select %s as the current project"
|
3232 |
+
msgstr ""
|
3233 |
+
|
3234 |
+
#. translators: %s: HTML tags
|
3235 |
+
#: settings.php:3289
|
3236 |
+
msgid "Click on %s ENABLE APIS AND SERVICES %s"
|
3237 |
+
msgstr ""
|
3238 |
+
|
3239 |
+
#. translators: %s: HTML tags
|
3240 |
+
#: settings.php:3290
|
3241 |
+
msgid "Search for adsense and enable %s"
|
3242 |
+
msgstr ""
|
3243 |
+
|
3244 |
+
#. translators: %s: HTML tags
|
3245 |
+
#: settings.php:3291
|
3246 |
+
msgid "Click on %s CREATE CREDENTIALS %s"
|
3247 |
+
msgstr ""
|
3248 |
+
|
3249 |
+
#. translators: %s: HTML tags
|
3250 |
+
#: settings.php:3292
|
3251 |
+
msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
|
3252 |
+
msgstr ""
|
3253 |
+
|
3254 |
+
#. translators: %s: HTML tags
|
3255 |
+
#: settings.php:3293
|
3256 |
+
msgid "For %s What data will you be accessing? %s select %s User data %s"
|
3257 |
+
msgstr ""
|
3258 |
+
|
3259 |
+
#. translators: %s: HTML tags
|
3260 |
+
#: settings.php:3294
|
3261 |
+
msgid "Click on %s What credentials do I need? %s"
|
3262 |
+
msgstr ""
|
3263 |
+
|
3264 |
+
#. translators: %s: HTML tags
|
3265 |
+
#: settings.php:3295
|
3266 |
+
msgid ""
|
3267 |
+
"Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
|
3268 |
+
"Ad Inserter client %s"
|
3269 |
+
msgstr ""
|
3270 |
+
|
3271 |
+
#. translators: %s: HTML tags
|
3272 |
+
#: settings.php:3296
|
3273 |
+
msgid ""
|
3274 |
+
"Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
|
3275 |
+
"enter %s"
|
3276 |
+
msgstr ""
|
3277 |
+
|
3278 |
+
#. translators: %s: HTML tags
|
3279 |
+
#: settings.php:3297
|
3280 |
+
msgid "Click on %s Continue %s"
|
3281 |
+
msgstr ""
|
3282 |
+
|
3283 |
+
#. translators: %s: HTML tags
|
3284 |
+
#: settings.php:3298
|
3285 |
+
msgid "Click on %s Done %s"
|
3286 |
+
msgstr ""
|
3287 |
+
|
3288 |
+
#. translators: %s: HTML tags
|
3289 |
+
#: settings.php:3299
|
3290 |
+
msgid ""
|
3291 |
+
"Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
|
3292 |
+
"secret %s"
|
3293 |
+
msgstr ""
|
3294 |
+
|
3295 |
+
#: settings.php:3300
|
3296 |
+
msgid "Copy them to the appropriate fields below"
|
3297 |
+
msgstr ""
|
3298 |
+
|
3299 |
+
#: settings.php:3306
|
3300 |
+
msgid "Client ID"
|
3301 |
+
msgstr ""
|
3302 |
+
|
3303 |
+
#: settings.php:3309
|
3304 |
+
msgid "Enter Client ID"
|
3305 |
+
msgstr ""
|
3306 |
+
|
3307 |
+
#: settings.php:3314
|
3308 |
+
msgid "Client secret"
|
3309 |
+
msgstr ""
|
3310 |
+
|
3311 |
+
#: settings.php:3317
|
3312 |
+
msgid "Enter Client secret"
|
3313 |
+
msgstr ""
|
3314 |
+
|
3315 |
+
#: settings.php:3327
|
3316 |
+
msgid "Use default API IDs"
|
3317 |
+
msgstr ""
|
3318 |
+
|
3319 |
+
#: settings.php:3332
|
3320 |
+
msgid "Save"
|
3321 |
+
msgstr ""
|
3322 |
+
|
3323 |
+
#: settings.php:3494 settings.php:3507 settings.php:3520
|
3324 |
+
msgid "Blank ad blocks? Looking for AdSense alternative?"
|
3325 |
+
msgstr ""
|
3326 |
+
|
3327 |
+
#: settings.php:3499 settings.php:3512 settings.php:3525 settings.php:3697
|
3328 |
+
#: settings.php:3699 settings.php:3720 settings.php:3723
|
3329 |
+
msgid "Looking for AdSense alternative?"
|
3330 |
+
msgstr ""
|
3331 |
+
|
3332 |
+
#: settings.php:3535
|
3333 |
+
msgid "Try Infolinks Ads with Adsense or Media.net ads"
|
3334 |
+
msgstr ""
|
3335 |
+
|
3336 |
+
#: settings.php:3540 settings.php:3693 settings.php:3695 settings.php:3726
|
3337 |
+
#: settings.php:3729
|
3338 |
+
msgid "Use Infolinks ads with Adsense to earn more"
|
3339 |
+
msgstr ""
|
3340 |
+
|
3341 |
+
#: settings.php:3559 settings.php:3597
|
3342 |
+
msgid "Support plugin development"
|
3343 |
+
msgstr ""
|
3344 |
+
|
3345 |
+
#: settings.php:3560 settings.php:3598
|
3346 |
+
msgid ""
|
3347 |
+
"If you like Ad Inserter and have a moment, please help me spread the word by "
|
3348 |
+
"reviewing the plugin on WordPres"
|
3349 |
+
msgstr ""
|
3350 |
+
|
3351 |
+
#: settings.php:3560
|
3352 |
+
msgctxt "Review ad Inserter"
|
3353 |
+
msgid "Review"
|
3354 |
+
msgstr ""
|
3355 |
+
|
3356 |
+
#: settings.php:3561
|
3357 |
+
msgid ""
|
3358 |
+
"Support free Ad Inserter development. If you are making money with Ad "
|
3359 |
+
"Inserter consider donating some small amount. Even 1 dollar counts. Thank "
|
3360 |
+
"you!"
|
3361 |
+
msgstr ""
|
3362 |
+
|
3363 |
+
#: settings.php:3561
|
3364 |
+
msgid "Donate"
|
3365 |
+
msgstr ""
|
3366 |
+
|
3367 |
+
#: settings.php:3568 settings.php:3613
|
3368 |
+
msgid "Average rating of the plugin - Thank you!"
|
3369 |
+
msgstr ""
|
3370 |
+
|
3371 |
+
#. translators: %s: Ad Inserter, HTML tags
|
3372 |
+
#: settings.php:3579
|
3373 |
+
msgid ""
|
3374 |
+
"You've been using %s for a while now, and I hope you're happy with it. "
|
3375 |
+
"Positive %s reviews %s are a great way to show your appreciation for my "
|
3376 |
+
"work. Besides being an incredible boost to my morale, they are also a great "
|
3377 |
+
"incentive to fix bugs and to add new features for better monetization of "
|
3378 |
+
"your website. %s Thank you!"
|
3379 |
+
msgstr ""
|
3380 |
+
|
3381 |
+
#: settings.php:3598
|
3382 |
+
msgid "Review"
|
3383 |
+
msgstr ""
|
3384 |
+
|
3385 |
+
#: settings.php:3602
|
3386 |
+
msgid "Ad Inserter on Twitter"
|
3387 |
+
msgstr ""
|
3388 |
+
|
3389 |
+
#: settings.php:3603
|
3390 |
+
msgid "Ad Inserter on Facebook"
|
3391 |
+
msgstr ""
|
3392 |
+
|
3393 |
+
#: settings.php:3606
|
3394 |
+
msgid "Follow Ad Inserter"
|
3395 |
+
msgstr ""
|
3396 |
+
|
3397 |
+
#. translators: %s: HTML tags
|
3398 |
+
#: settings.php:3633
|
3399 |
+
msgid ""
|
3400 |
+
"Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
|
3401 |
+
"and %s Common Settings %s pages"
|
3402 |
+
msgstr ""
|
3403 |
+
|
3404 |
+
#. translators: %s: HTML tags
|
3405 |
+
#: settings.php:3645
|
3406 |
+
msgid ""
|
3407 |
+
"%s New to %s AdSense? %s %s %s Connect your site %s - Advanced %s AdSense "
|
3408 |
+
"code: %s %s In-feed ads, %s %s Auto ads, %s %s AMP ads %s"
|
3409 |
+
msgstr ""
|
3410 |
+
|
3411 |
+
#. translators: %s: HTML tags
|
3412 |
+
#: settings.php:3664
|
3413 |
+
msgid ""
|
3414 |
+
"Ads are not showing? Check %s troubleshooting guide %s to find out how to "
|
3415 |
+
"diagnose and fix the problem."
|
3416 |
+
msgstr ""
|
3417 |
+
|
3418 |
+
#. translators: %s: HTML tags
|
3419 |
+
#: settings.php:3668
|
3420 |
+
msgid ""
|
3421 |
+
"If you need any kind of help or support, please do not hesitate to open a "
|
3422 |
+
"thread on the %s support forum. %s"
|
3423 |
+
msgstr ""
|
3424 |
+
|
3425 |
+
#: settings.php:3708 settings.php:3743
|
3426 |
+
msgid "A/B testing - Track ad impressions and clicks"
|
3427 |
+
msgstr ""
|
3428 |
+
|
3429 |
+
#: settings.php:3713 settings.php:3738
|
3430 |
+
msgid "Code preview with visual CSS editor"
|
3431 |
+
msgstr ""
|
3432 |
+
|
3433 |
+
#: settings.php:3749
|
3434 |
+
msgid "Looking for Pro Ad Management plugin?"
|
3435 |
+
msgstr ""
|
3436 |
+
|
3437 |
+
#: settings.php:3750
|
3438 |
+
msgid "To Optimally Monetize your WordPress website?"
|
3439 |
+
msgstr ""
|
3440 |
+
|
3441 |
+
#. translators: %s HTML tags
|
3442 |
+
#: settings.php:3753
|
3443 |
+
msgid "64 ad blocks (positions)"
|
3444 |
+
msgstr ""
|
3445 |
+
|
3446 |
+
#. translators: %s HTML tags
|
3447 |
+
#: settings.php:3754
|
3448 |
+
msgid "%s AdSense Integration %s"
|
3449 |
+
msgstr ""
|
3450 |
+
|
3451 |
+
#. translators: %s HTML tags
|
3452 |
+
#: settings.php:3755
|
3453 |
+
msgid "Syntax highlighting %s editor %s"
|
3454 |
+
msgstr ""
|
3455 |
+
|
3456 |
+
#. translators: %s HTML tags
|
3457 |
+
#: settings.php:3756
|
3458 |
+
msgid "%s Code preview %s with visual CSS editor"
|
3459 |
+
msgstr ""
|
3460 |
+
|
3461 |
+
#. translators: %s HTML tags
|
3462 |
+
#: settings.php:3757
|
3463 |
+
msgid "Simple user interface - all settings on a single page"
|
3464 |
+
msgstr ""
|
3465 |
+
|
3466 |
+
#. translators: %s HTML tags
|
3467 |
+
#: settings.php:3758
|
3468 |
+
msgid ""
|
3469 |
+
"%s Automatic insertion %s before or after post / content / %s paragraph %s / "
|
3470 |
+
"excerpt"
|
3471 |
+
msgstr ""
|
3472 |
+
|
3473 |
+
#. translators: %s HTML tags
|
3474 |
+
#: settings.php:3759
|
3475 |
+
msgid "%s Automatic insertion %s between posts on blog pages"
|
3476 |
+
msgstr ""
|
3477 |
+
|
3478 |
+
#. translators: %s HTML tags
|
3479 |
+
#: settings.php:3760
|
3480 |
+
msgid "%s Automatic insertion %s before, between and after comments"
|
3481 |
+
msgstr ""
|
3482 |
+
|
3483 |
+
#. translators: %s HTML tags
|
3484 |
+
#: settings.php:3761
|
3485 |
+
msgid "%s Automatic insertion %s after %s or before %s tag"
|
3486 |
+
msgstr ""
|
3487 |
+
|
3488 |
+
#. translators: %s HTML tags
|
3489 |
+
#: settings.php:3762
|
3490 |
+
msgid "Automatic insertion at %s custom hook positions %s"
|
3491 |
+
msgstr ""
|
3492 |
+
|
3493 |
+
#. translators: %s HTML tags
|
3494 |
+
#: settings.php:3763
|
3495 |
+
msgid ""
|
3496 |
+
"Insertion %s before or after any HTML element on the page %s (using CSS "
|
3497 |
+
"selectors)"
|
3498 |
+
msgstr ""
|
3499 |
+
|
3500 |
+
#. translators: %s HTML tags
|
3501 |
+
#: settings.php:3764
|
3502 |
+
msgid "%s Insertion exceptions %s for individual posts and pages"
|
3503 |
+
msgstr ""
|
3504 |
+
|
3505 |
+
#. translators: %s HTML tags
|
3506 |
+
#: settings.php:3765
|
3507 |
+
msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
|
3508 |
+
msgstr ""
|
3509 |
+
|
3510 |
+
#. translators: %s HTML tags
|
3511 |
+
#: settings.php:3766
|
3512 |
+
msgid ""
|
3513 |
+
"%s Sticky ads %s with optional close button (ads stay fixed when the page "
|
3514 |
+
"scrolls)"
|
3515 |
+
msgstr ""
|
3516 |
+
|
3517 |
+
#. translators: %s HTML tags
|
3518 |
+
#: settings.php:3767
|
3519 |
+
msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
|
3520 |
+
msgstr ""
|
3521 |
+
|
3522 |
+
#. translators: %s HTML tags
|
3523 |
+
#: settings.php:3768
|
3524 |
+
msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
|
3525 |
+
msgstr ""
|
3526 |
+
|
3527 |
+
#. translators: %s HTML tags
|
3528 |
+
#: settings.php:3769
|
3529 |
+
msgid ""
|
3530 |
+
"%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
|
3531 |
+
"visible)"
|
3532 |
+
msgstr ""
|
3533 |
+
|
3534 |
+
#. translators: %s HTML tags
|
3535 |
+
#: settings.php:3770
|
3536 |
+
msgid ""
|
3537 |
+
"%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
|
3538 |
+
msgstr ""
|
3539 |
+
|
3540 |
+
#. translators: %s HTML tags
|
3541 |
+
#: settings.php:3771
|
3542 |
+
msgid "Block %s alignment and style %s customizations"
|
3543 |
+
msgstr ""
|
3544 |
+
|
3545 |
+
#. translators: %s HTML tags
|
3546 |
+
#: settings.php:3772
|
3547 |
+
msgid ""
|
3548 |
+
"%s Clearance %s options to avoid insertion near images or headers (AdSense "
|
3549 |
+
"TOS)"
|
3550 |
+
msgstr ""
|
3551 |
+
|
3552 |
+
#. translators: %s HTML tags
|
3553 |
+
#: settings.php:3773
|
3554 |
+
msgid ""
|
3555 |
+
"Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
|
3556 |
+
"feeds"
|
3557 |
+
msgstr ""
|
3558 |
+
|
3559 |
+
#. translators: %s HTML tags
|
3560 |
+
#: settings.php:3774
|
3561 |
+
msgid "%s Ad rotation %s (works also with caching)"
|
3562 |
+
msgstr ""
|
3563 |
+
|
3564 |
+
#. translators: %s HTML tags
|
3565 |
+
#: settings.php:3775
|
3566 |
+
msgid ""
|
3567 |
+
"Ad impression and click %s tracking %s (works also with Javascript ads like "
|
3568 |
+
"AdSense)"
|
3569 |
+
msgstr ""
|
3570 |
+
|
3571 |
+
#. translators: %s HTML tags
|
3572 |
+
#: settings.php:3776
|
3573 |
+
msgid "Support for %s A/B testing %s"
|
3574 |
+
msgstr ""
|
3575 |
+
|
3576 |
+
#. translators: %s HTML tags
|
3577 |
+
#: settings.php:3777
|
3578 |
+
msgid "Support for %s lazy loading %s"
|
3579 |
+
msgstr ""
|
3580 |
+
|
3581 |
+
#. translators: %s HTML tags
|
3582 |
+
#: settings.php:3778
|
3583 |
+
msgid "Support for ads on %s AMP pages %s"
|
3584 |
+
msgstr ""
|
3585 |
+
|
3586 |
+
#. translators: %s HTML tags
|
3587 |
+
#: settings.php:3779
|
3588 |
+
msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
|
3589 |
+
msgstr ""
|
3590 |
+
|
3591 |
+
#. translators: %s HTML tags
|
3592 |
+
#: settings.php:3780
|
3593 |
+
msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
|
3594 |
+
msgstr ""
|
3595 |
+
|
3596 |
+
#. translators: %s HTML tags
|
3597 |
+
#: settings.php:3781
|
3598 |
+
msgid "PHP code processing"
|
3599 |
+
msgstr ""
|
3600 |
+
|
3601 |
+
#. translators: %s HTML tags
|
3602 |
+
#: settings.php:3782
|
3603 |
+
msgid "%s Banner %s code generator"
|
3604 |
+
msgstr ""
|
3605 |
+
|
3606 |
+
#. translators: %s HTML tags
|
3607 |
+
#: settings.php:3783
|
3608 |
+
msgid "Support for %s header and footer %s code"
|
3609 |
+
msgstr ""
|
3610 |
+
|
3611 |
+
#. translators: %s HTML tags
|
3612 |
+
#: settings.php:3784
|
3613 |
+
msgid "Support for Google Analytics, Matomo or any other web analytics code"
|
3614 |
+
msgstr ""
|
3615 |
+
|
3616 |
+
#. translators: %s HTML tags
|
3617 |
+
#: settings.php:3785
|
3618 |
+
msgid "Desktop, tablet and phone server-side %s device detection %s"
|
3619 |
+
msgstr ""
|
3620 |
+
|
3621 |
+
#. translators: %s HTML tags
|
3622 |
+
#: settings.php:3786
|
3623 |
+
msgid ""
|
3624 |
+
"Client-side %s mobile device detection %s (works with caching, 6 custom "
|
3625 |
+
"viewports)"
|
3626 |
+
msgstr ""
|
3627 |
+
|
3628 |
+
#. translators: %s HTML tags
|
3629 |
+
#: settings.php:3787
|
3630 |
+
msgid ""
|
3631 |
+
"%s Ad blocking detection %s - popup message, ad replacement, content "
|
3632 |
+
"protection"
|
3633 |
+
msgstr ""
|
3634 |
+
|
3635 |
+
#. translators: %s HTML tags
|
3636 |
+
#: settings.php:3788
|
3637 |
+
msgid "%s Ad blocking statistics %s"
|
3638 |
+
msgstr ""
|
3639 |
+
|
3640 |
+
#. translators: %s HTML tags
|
3641 |
+
#: settings.php:3789
|
3642 |
+
msgid ""
|
3643 |
+
"%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
|
3644 |
+
"referers"
|
3645 |
+
msgstr ""
|
3646 |
+
|
3647 |
+
#. translators: %s HTML tags
|
3648 |
+
#: settings.php:3790
|
3649 |
+
msgid ""
|
3650 |
+
"%s Black/White-list %s IP addresses or countries (works also with caching)"
|
3651 |
+
msgstr ""
|
3652 |
+
|
3653 |
+
#. translators: %s HTML tags
|
3654 |
+
#: settings.php:3791
|
3655 |
+
msgid "%s Multisite options %s to limit settings on the sites"
|
3656 |
+
msgstr ""
|
3657 |
+
|
3658 |
+
#. translators: %s HTML tags
|
3659 |
+
#: settings.php:3792
|
3660 |
+
msgid "%s Import/Export %s block or plugin settings"
|
3661 |
+
msgstr ""
|
3662 |
+
|
3663 |
+
#. translators: %s HTML tags
|
3664 |
+
#: settings.php:3793
|
3665 |
+
msgid "%s Insertion scheduling %s with fallback option"
|
3666 |
+
msgstr ""
|
3667 |
+
|
3668 |
+
#. translators: %s HTML tags
|
3669 |
+
#: settings.php:3794
|
3670 |
+
msgid "Country-level %s GEO targeting %s (works also with caching)"
|
3671 |
+
msgstr ""
|
3672 |
+
|
3673 |
+
#. translators: %s HTML tags
|
3674 |
+
#: settings.php:3795
|
3675 |
+
msgid "Simple troubleshooting with many %s debugging functions %s"
|
3676 |
+
msgstr ""
|
3677 |
+
|
3678 |
+
#. translators: %s HTML tags
|
3679 |
+
#: settings.php:3796
|
3680 |
+
msgid "%s Visualization %s of inserted blocks or ads for easier placement"
|
3681 |
+
msgstr ""
|
3682 |
+
|
3683 |
+
#. translators: %s HTML tags
|
3684 |
+
#: settings.php:3797
|
3685 |
+
msgid "%s Visualization %s of available positions for automatic ad insertion"
|
3686 |
+
msgstr ""
|
3687 |
+
|
3688 |
+
#. translators: %s HTML tags
|
3689 |
+
#: settings.php:3798
|
3690 |
+
msgid ""
|
3691 |
+
"%s Visualization %s of HTML tags for easier ad placement between paragraphs"
|
3692 |
+
msgstr ""
|
3693 |
+
|
3694 |
+
#. translators: %s HTML tags
|
3695 |
+
#: settings.php:3799
|
3696 |
+
msgid "%s Clipboard support %s to easily copy blocks or settings"
|
3697 |
+
msgstr ""
|
3698 |
+
|
3699 |
+
#. translators: %s HTML tags
|
3700 |
+
#: settings.php:3800
|
3701 |
+
msgid "No ads on the settings page"
|
3702 |
+
msgstr ""
|
3703 |
+
|
3704 |
+
#. translators: %s HTML tags
|
3705 |
+
#: settings.php:3801 settings.php:3824
|
3706 |
+
msgid "Support via email"
|
3707 |
+
msgstr ""
|
3708 |
+
|
3709 |
+
#. translators: %s HTML tags
|
3710 |
+
#: settings.php:3804
|
3711 |
+
msgid ""
|
3712 |
+
"Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
|
3713 |
+
"website with many advertising features to automatically insert adverts on "
|
3714 |
+
"posts and pages. With Ad Inserter Pro you also get <strong>one year of free "
|
3715 |
+
"updates and support via email</strong>. If you find Ad Inserter useful and "
|
3716 |
+
"need more blocks, ad statistics for impressions and clicks, A/B testing, "
|
3717 |
+
"sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve "
|
3718 |
+
"country-specific ads, to protect content or to serve different ads for users "
|
3719 |
+
"using ad blockers, multisite options to limit settings for ads, to block "
|
3720 |
+
"some IP addresses, to schedule ads, then you can simply upgrade to %s Ad "
|
3721 |
+
"Inserter Pro %s (existing settings will be preserved)."
|
3722 |
+
msgstr ""
|
3723 |
+
|
3724 |
+
#. translators: %s HTML tags
|
3725 |
+
#: settings.php:3817
|
3726 |
+
msgid "Looking for %s Pro Ad Management plugin? %s"
|
3727 |
+
msgstr ""
|
3728 |
+
|
3729 |
+
#. translators: %s HTML tags
|
3730 |
+
#: settings.php:3822
|
3731 |
+
msgid "Ads between posts"
|
3732 |
+
msgstr ""
|
3733 |
+
|
3734 |
+
#. translators: %s HTML tags
|
3735 |
+
#: settings.php:3823
|
3736 |
+
msgid "Ads between comments"
|
3737 |
+
msgstr ""
|
3738 |
+
|
3739 |
+
#. translators: %s HTML tags
|
3740 |
+
#: settings.php:3830
|
3741 |
+
msgid "%s Sticky positions %s"
|
3742 |
+
msgstr ""
|
3743 |
+
|
3744 |
+
#. translators: %s HTML tags
|
3745 |
+
#: settings.php:3831
|
3746 |
+
msgid "%s Limit insertions %s"
|
3747 |
+
msgstr ""
|
3748 |
+
|
3749 |
+
#. translators: %s HTML tags
|
3750 |
+
#: settings.php:3832
|
3751 |
+
msgid "%s Clearance %s options"
|
3752 |
+
msgstr ""
|
3753 |
+
|
3754 |
+
#. translators: %s HTML tags
|
3755 |
+
#: settings.php:3838
|
3756 |
+
msgid "Ad rotation"
|
3757 |
+
msgstr ""
|
3758 |
+
|
3759 |
+
#. translators: %s HTML tags
|
3760 |
+
#: settings.php:3839
|
3761 |
+
msgid "%s A/B testing %s"
|
3762 |
+
msgstr ""
|
3763 |
+
|
3764 |
+
#. translators: %s HTML tags
|
3765 |
+
#: settings.php:3840
|
3766 |
+
msgid "%s Ad tracking %s"
|
3767 |
+
msgstr ""
|
3768 |
+
|
3769 |
+
#. translators: %s HTML tags
|
3770 |
+
#: settings.php:3846
|
3771 |
+
msgid "Support for %s AMP pages %s"
|
3772 |
+
msgstr ""
|
3773 |
+
|
3774 |
+
#. translators: %s HTML tags
|
3775 |
+
#: settings.php:3847
|
3776 |
+
msgid "%s Ad blocking detection %s"
|
3777 |
+
msgstr ""
|
3778 |
+
|
3779 |
+
#. translators: %s HTML tags
|
3780 |
+
#: settings.php:3848
|
3781 |
+
msgid "%s Mobile device detection %s"
|
3782 |
+
msgstr ""
|
3783 |
+
|
3784 |
+
#. translators: %s HTML tags
|
3785 |
+
#: settings.php:3855
|
3786 |
+
msgid "64 code blocks"
|
3787 |
+
msgstr ""
|
3788 |
+
|
3789 |
+
#. translators: %s HTML tags
|
3790 |
+
#: settings.php:3856
|
3791 |
+
msgid "%s GEO targeting %s"
|
3792 |
+
msgstr ""
|
3793 |
+
|
3794 |
+
#. translators: %s HTML tags
|
3795 |
+
#: settings.php:3857
|
3796 |
+
msgid "%s Scheduling %s"
|
3797 |
+
msgstr ""
|
3798 |
+
|
3799 |
+
#: strings.php:4
|
3800 |
+
msgid "Advertisements"
|
3801 |
+
msgstr ""
|
3802 |
+
|
3803 |
+
#: strings.php:5
|
3804 |
+
msgid ""
|
3805 |
+
"<p><strong>Blocked because of Ad Blocker</strong></p>\n"
|
3806 |
+
"<p>It seems that you are using some ad blocking software which is preventing "
|
3807 |
+
"the page from fully loading. Please whitelist this website or disable ad "
|
3808 |
+
"blocking software.</p>"
|
3809 |
+
msgstr ""
|
3810 |
+
|
3811 |
+
#: strings.php:7
|
3812 |
+
msgctxt "Viewport name"
|
3813 |
+
msgid "Desktop"
|
3814 |
+
msgstr ""
|
3815 |
+
|
3816 |
+
#: strings.php:8
|
3817 |
+
msgctxt "Viewport name"
|
3818 |
+
msgid "Tablet"
|
3819 |
+
msgstr ""
|
3820 |
+
|
3821 |
+
#: strings.php:9
|
3822 |
+
msgctxt "Viewport name"
|
3823 |
+
msgid "Phone"
|
3824 |
+
msgstr ""
|
3825 |
+
|
3826 |
+
#: strings.php:11
|
3827 |
+
msgctxt "ad-inserter"
|
3828 |
+
msgid "Group"
|
3829 |
+
msgstr ""
|
3830 |
+
|
3831 |
+
#: strings.php:13
|
3832 |
+
msgid "Insert"
|
3833 |
+
msgstr ""
|
3834 |
+
|
3835 |
+
#: strings.php:19
|
3836 |
+
msgid "Before content"
|
3837 |
+
msgstr ""
|
3838 |
+
|
3839 |
+
#: strings.php:20
|
3840 |
+
msgid "After content"
|
3841 |
+
msgstr ""
|
3842 |
+
|
3843 |
+
#: strings.php:21
|
3844 |
+
msgid "Before paragraph"
|
3845 |
+
msgstr ""
|
3846 |
+
|
3847 |
+
#: strings.php:22
|
3848 |
+
msgid "After paragraph"
|
3849 |
+
msgstr ""
|
3850 |
+
|
3851 |
+
#: strings.php:23
|
3852 |
+
msgid "Before excerpt"
|
3853 |
+
msgstr ""
|
3854 |
+
|
3855 |
+
#: strings.php:24
|
3856 |
+
msgid "After excerpt"
|
3857 |
+
msgstr ""
|
3858 |
+
|
3859 |
+
#: strings.php:25
|
3860 |
+
msgid "Between posts"
|
3861 |
+
msgstr ""
|
3862 |
+
|
3863 |
+
#: strings.php:26
|
3864 |
+
msgid "Before comments"
|
3865 |
+
msgstr ""
|
3866 |
+
|
3867 |
+
#: strings.php:27
|
3868 |
+
msgid "Between comments"
|
3869 |
+
msgstr ""
|
3870 |
+
|
3871 |
+
#: strings.php:28
|
3872 |
+
msgid "After comments"
|
3873 |
+
msgstr ""
|
3874 |
+
|
3875 |
+
#: strings.php:29
|
3876 |
+
msgid "Above header"
|
3877 |
+
msgstr ""
|
3878 |
+
|
3879 |
+
#: strings.php:31
|
3880 |
+
msgid "Before HTML element"
|
3881 |
+
msgstr ""
|
3882 |
+
|
3883 |
+
#: strings.php:32
|
3884 |
+
msgid "After HTML element"
|
3885 |
+
msgstr ""
|
3886 |
+
|
3887 |
+
#: strings.php:33
|
3888 |
+
msgid "Inside HTML element"
|
3889 |
+
msgstr ""
|
3890 |
+
|
3891 |
+
#: strings.php:35
|
3892 |
+
msgid "do not insert"
|
3893 |
+
msgstr ""
|
3894 |
+
|
3895 |
+
#: strings.php:36
|
3896 |
+
msgid "try to shift position"
|
3897 |
+
msgstr ""
|
3898 |
+
|
3899 |
+
#: strings.php:38
|
3900 |
+
msgid "above"
|
3901 |
+
msgstr ""
|
3902 |
+
|
3903 |
+
#: strings.php:39
|
3904 |
+
msgid "below"
|
3905 |
+
msgstr ""
|
3906 |
+
|
3907 |
+
#: strings.php:40
|
3908 |
+
msgid "above and then below"
|
3909 |
+
msgstr ""
|
3910 |
+
|
3911 |
+
#: strings.php:41
|
3912 |
+
msgid "below and then above"
|
3913 |
+
msgstr ""
|
3914 |
+
|
3915 |
+
#: strings.php:43
|
3916 |
+
msgid "from top"
|
3917 |
+
msgstr ""
|
3918 |
+
|
3919 |
+
#: strings.php:44
|
3920 |
+
msgid "from bottom"
|
3921 |
+
msgstr ""
|
3922 |
+
|
3923 |
+
#: strings.php:46
|
3924 |
+
msgctxt "paragraphs"
|
3925 |
+
msgid "contain"
|
3926 |
+
msgstr ""
|
3927 |
+
|
3928 |
+
#: strings.php:47
|
3929 |
+
msgctxt "paragraphs"
|
3930 |
+
msgid "do not contain"
|
3931 |
+
msgstr ""
|
3932 |
+
|
3933 |
+
#: strings.php:49
|
3934 |
+
msgctxt "insert for"
|
3935 |
+
msgid "all users"
|
3936 |
+
msgstr ""
|
3937 |
+
|
3938 |
+
#: strings.php:50
|
3939 |
+
msgctxt "insert for"
|
3940 |
+
msgid "logged in users"
|
3941 |
+
msgstr ""
|
3942 |
+
|
3943 |
+
#: strings.php:51
|
3944 |
+
msgctxt "insert for"
|
3945 |
+
msgid "not logged in users"
|
3946 |
+
msgstr ""
|
3947 |
+
|
3948 |
+
#: strings.php:52
|
3949 |
+
msgctxt "insert for"
|
3950 |
+
msgid "administrators"
|
3951 |
+
msgstr ""
|
3952 |
+
|
3953 |
+
#: strings.php:54
|
3954 |
+
msgid "Black list"
|
3955 |
+
msgstr ""
|
3956 |
+
|
3957 |
+
#: strings.php:55
|
3958 |
+
msgid "White list"
|
3959 |
+
msgstr ""
|
3960 |
+
|
3961 |
+
#: strings.php:57
|
3962 |
+
msgctxt "alignment"
|
3963 |
+
msgid "Default"
|
3964 |
+
msgstr ""
|
3965 |
+
|
3966 |
+
#: strings.php:58
|
3967 |
+
msgid "Align left"
|
3968 |
+
msgstr ""
|
3969 |
+
|
3970 |
+
#: strings.php:59
|
3971 |
+
msgid "Align right"
|
3972 |
+
msgstr ""
|
3973 |
+
|
3974 |
+
#: strings.php:60
|
3975 |
+
msgid "Center"
|
3976 |
+
msgstr ""
|
3977 |
+
|
3978 |
+
#: strings.php:61
|
3979 |
+
msgid "Float left"
|
3980 |
+
msgstr ""
|
3981 |
+
|
3982 |
+
#: strings.php:62
|
3983 |
+
msgid "Float right"
|
3984 |
+
msgstr ""
|
3985 |
+
|
3986 |
+
#: strings.php:63
|
3987 |
+
msgid "No wrapping"
|
3988 |
+
msgstr ""
|
3989 |
+
|
3990 |
+
#: strings.php:64
|
3991 |
+
msgid "Custom CSS"
|
3992 |
+
msgstr ""
|
3993 |
+
|
3994 |
+
#: strings.php:65
|
3995 |
+
msgid "Sticky left"
|
3996 |
+
msgstr ""
|
3997 |
+
|
3998 |
+
#: strings.php:66
|
3999 |
+
msgid "Sticky right"
|
4000 |
+
msgstr ""
|
4001 |
+
|
4002 |
+
#: strings.php:67
|
4003 |
+
msgid "Sticky top"
|
4004 |
+
msgstr ""
|
4005 |
+
|
4006 |
+
#: strings.php:68
|
4007 |
+
msgid "Sticky bottom"
|
4008 |
+
msgstr ""
|
4009 |
+
|
4010 |
+
#: strings.php:69
|
4011 |
+
msgctxt "alignment"
|
4012 |
+
msgid "Sticky"
|
4013 |
+
msgstr ""
|
4014 |
+
|
4015 |
+
#: strings.php:71
|
4016 |
+
msgctxt "using"
|
4017 |
+
msgid "auto counter"
|
4018 |
+
msgstr ""
|
4019 |
+
|
4020 |
+
#: strings.php:72
|
4021 |
+
msgctxt "using"
|
4022 |
+
msgid "PHP function calls counter"
|
4023 |
+
msgstr ""
|
4024 |
+
|
4025 |
+
#: strings.php:73
|
4026 |
+
msgctxt "using"
|
4027 |
+
msgid "content processing counter"
|
4028 |
+
msgstr ""
|
4029 |
+
|
4030 |
+
#: strings.php:74
|
4031 |
+
msgctxt "using"
|
4032 |
+
msgid "excerpt processing counter"
|
4033 |
+
msgstr ""
|
4034 |
+
|
4035 |
+
#: strings.php:75
|
4036 |
+
msgctxt "using"
|
4037 |
+
msgid "before post processing counter"
|
4038 |
+
msgstr ""
|
4039 |
+
|
4040 |
+
#: strings.php:76
|
4041 |
+
msgctxt "using"
|
4042 |
+
msgid "after post processing counter"
|
4043 |
+
msgstr ""
|
4044 |
+
|
4045 |
+
#: strings.php:77
|
4046 |
+
msgctxt "using"
|
4047 |
+
msgid "widget drawing counter"
|
4048 |
+
msgstr ""
|
4049 |
+
|
4050 |
+
#: strings.php:78
|
4051 |
+
msgctxt "using"
|
4052 |
+
msgid "subpages counter"
|
4053 |
+
msgstr ""
|
4054 |
+
|
4055 |
+
#: strings.php:79
|
4056 |
+
msgctxt "using"
|
4057 |
+
msgid "posts counter"
|
4058 |
+
msgstr ""
|
4059 |
+
|
4060 |
+
#: strings.php:80
|
4061 |
+
msgctxt "using"
|
4062 |
+
msgid "paragraphs counter"
|
4063 |
+
msgstr ""
|
4064 |
+
|
4065 |
+
#: strings.php:81
|
4066 |
+
msgctxt "using"
|
4067 |
+
msgid "comments counter"
|
4068 |
+
msgstr ""
|
4069 |
+
|
4070 |
+
#: strings.php:83
|
4071 |
+
msgctxt "posts"
|
4072 |
+
msgid "Individually disabled"
|
4073 |
+
msgstr ""
|
4074 |
+
|
4075 |
+
#: strings.php:84
|
4076 |
+
msgctxt "posts"
|
4077 |
+
msgid "Individually enabled"
|
4078 |
+
msgstr ""
|
4079 |
+
|
4080 |
+
#: strings.php:85
|
4081 |
+
msgctxt "static pages"
|
4082 |
+
msgid "Individually disabled"
|
4083 |
+
msgstr ""
|
4084 |
+
|
4085 |
+
#: strings.php:86
|
4086 |
+
msgctxt "static pages"
|
4087 |
+
msgid "Individually enabled"
|
4088 |
+
msgstr ""
|
4089 |
+
|
4090 |
+
#: strings.php:88
|
4091 |
+
msgid "Server-side"
|
4092 |
+
msgstr ""
|
4093 |
+
|
4094 |
+
#: strings.php:89
|
4095 |
+
msgctxt "Insertion"
|
4096 |
+
msgid "Client-side"
|
4097 |
+
msgstr ""
|
4098 |
+
|
4099 |
+
#: strings.php:90
|
4100 |
+
msgctxt "Dynamic blocks"
|
4101 |
+
msgid "Client-side show"
|
4102 |
+
msgstr ""
|
4103 |
+
|
4104 |
+
#: strings.php:91
|
4105 |
+
msgctxt "Dynamic blocks"
|
4106 |
+
msgid "Client-side insert"
|
4107 |
+
msgstr ""
|
4108 |
+
|
4109 |
+
#: strings.php:92
|
4110 |
+
msgctxt "Insertion"
|
4111 |
+
msgid "Server-side using W3 Total Cache"
|
4112 |
+
msgstr ""
|
4113 |
+
|
4114 |
+
#: strings.php:93
|
4115 |
+
msgctxt "Insertion"
|
4116 |
+
msgid "Client-side when DOM ready"
|
4117 |
+
msgstr ""
|
4118 |
+
|
4119 |
+
#: strings.php:98
|
4120 |
+
msgid "Replace element"
|
4121 |
+
msgstr ""
|
4122 |
+
|
4123 |
+
#: strings.php:100
|
4124 |
+
msgid "desktop devices"
|
4125 |
+
msgstr ""
|
4126 |
+
|
4127 |
+
#: strings.php:101
|
4128 |
+
msgid "mobile devices"
|
4129 |
+
msgstr ""
|
4130 |
+
|
4131 |
+
#: strings.php:102
|
4132 |
+
msgid "tablet devices"
|
4133 |
+
msgstr ""
|
4134 |
+
|
4135 |
+
#: strings.php:103
|
4136 |
+
msgid "phone devices"
|
4137 |
+
msgstr ""
|
4138 |
+
|
4139 |
+
#: strings.php:104
|
4140 |
+
msgid "desktop and tablet devices"
|
4141 |
+
msgstr ""
|
4142 |
+
|
4143 |
+
#: strings.php:105
|
4144 |
+
msgid "desktop and phone devices"
|
4145 |
+
msgstr ""
|
4146 |
+
|
4147 |
+
#: strings.php:107
|
4148 |
+
msgid "Stick to the left"
|
4149 |
+
msgstr ""
|
4150 |
+
|
4151 |
+
#: strings.php:108
|
4152 |
+
msgid "Stick to the content left"
|
4153 |
+
msgstr ""
|
4154 |
+
|
4155 |
+
#: strings.php:109
|
4156 |
+
msgid "Stick to the content right"
|
4157 |
+
msgstr ""
|
4158 |
+
|
4159 |
+
#: strings.php:110
|
4160 |
+
msgid "Stick to the right"
|
4161 |
+
msgstr ""
|
4162 |
+
|
4163 |
+
#: strings.php:112
|
4164 |
+
msgid "Stick to the top"
|
4165 |
+
msgstr ""
|
4166 |
+
|
4167 |
+
#: strings.php:113
|
4168 |
+
msgid "Scroll with the content"
|
4169 |
+
msgstr ""
|
4170 |
+
|
4171 |
+
#: strings.php:114
|
4172 |
+
msgid "Stick to the bottom"
|
4173 |
+
msgstr ""
|
4174 |
+
|
4175 |
+
#: strings.php:116
|
4176 |
+
msgid "Fade"
|
4177 |
+
msgstr ""
|
4178 |
+
|
4179 |
+
#: strings.php:117
|
4180 |
+
msgid "Slide"
|
4181 |
+
msgstr ""
|
4182 |
+
|
4183 |
+
#: strings.php:118
|
4184 |
+
msgid "Slide and Fade"
|
4185 |
+
msgstr ""
|
4186 |
+
|
4187 |
+
#: strings.php:119
|
4188 |
+
msgid "Flip"
|
4189 |
+
msgstr ""
|
4190 |
+
|
4191 |
+
#: strings.php:120
|
4192 |
+
msgid "Zoom In"
|
4193 |
+
msgstr ""
|
4194 |
+
|
4195 |
+
#: strings.php:121
|
4196 |
+
msgid "Zoom Out"
|
4197 |
+
msgstr ""
|
4198 |
+
|
4199 |
+
#: strings.php:122
|
4200 |
+
msgid "Turn"
|
4201 |
+
msgstr ""
|
4202 |
+
|
4203 |
+
#: strings.php:124
|
4204 |
+
msgid "Page loaded"
|
4205 |
+
msgstr ""
|
4206 |
+
|
4207 |
+
#: strings.php:125
|
4208 |
+
msgid "Page scrolled (%)"
|
4209 |
+
msgstr ""
|
4210 |
+
|
4211 |
+
#: strings.php:126
|
4212 |
+
msgid "Page scrolled (px)"
|
4213 |
+
msgstr ""
|
4214 |
+
|
4215 |
+
#: strings.php:127
|
4216 |
+
msgid "Element visible"
|
4217 |
+
msgstr ""
|
4218 |
+
|
4219 |
+
#: strings.php:129
|
4220 |
+
msgid "Insert immediately"
|
4221 |
+
msgstr ""
|
4222 |
+
|
4223 |
+
#: strings.php:130
|
4224 |
+
msgid "Delay insertion"
|
4225 |
+
msgstr ""
|
4226 |
+
|
4227 |
+
#: strings.php:131
|
4228 |
+
msgid "Insert between dates"
|
4229 |
+
msgstr ""
|
4230 |
+
|
4231 |
+
#: strings.php:132
|
4232 |
+
msgid "Insert outside dates"
|
4233 |
+
msgstr ""
|
4234 |
+
|
4235 |
+
#: strings.php:133
|
4236 |
+
msgid "Insert only"
|
4237 |
+
msgstr ""
|
4238 |
+
|
4239 |
+
#: strings.php:134
|
4240 |
+
msgid "Insert for posts published between dates"
|
4241 |
+
msgstr ""
|
4242 |
+
|
4243 |
+
#: strings.php:135
|
4244 |
+
msgid "Insert for posts published outside dates"
|
4245 |
+
msgstr ""
|
4246 |
+
|
4247 |
+
#: strings.php:137
|
4248 |
+
msgctxt "functions"
|
4249 |
+
msgid "Standard"
|
4250 |
+
msgstr ""
|
4251 |
+
|
4252 |
+
#: strings.php:138
|
4253 |
+
msgctxt "detection"
|
4254 |
+
msgid "Standard"
|
4255 |
+
msgstr ""
|
4256 |
+
|
4257 |
+
#: strings.php:139
|
4258 |
+
msgctxt "functions"
|
4259 |
+
msgid "Multibyte"
|
4260 |
+
msgstr ""
|
4261 |
+
|
4262 |
+
#: strings.php:141
|
4263 |
+
msgctxt "action"
|
4264 |
+
msgid "None"
|
4265 |
+
msgstr ""
|
4266 |
+
|
4267 |
+
#: strings.php:142
|
4268 |
+
msgctxt "button"
|
4269 |
+
msgid "None"
|
4270 |
+
msgstr ""
|
4271 |
+
|
4272 |
+
#: strings.php:143
|
4273 |
+
msgid "Popup Message"
|
4274 |
+
msgstr ""
|
4275 |
+
|
4276 |
+
#: strings.php:144
|
4277 |
+
msgid "Redirection"
|
4278 |
+
msgstr ""
|
4279 |
+
|
4280 |
+
#: strings.php:146
|
4281 |
+
msgid "Do nothnig"
|
4282 |
+
msgstr ""
|
4283 |
+
|
4284 |
+
#: strings.php:148
|
4285 |
+
msgctxt "Action when ad blocking detected"
|
4286 |
+
msgid "Show"
|
4287 |
+
msgstr ""
|
4288 |
+
|
4289 |
+
#: strings.php:149
|
4290 |
+
msgctxt "Action when ad blocking detected"
|
4291 |
+
msgid "Hide"
|
4292 |
+
msgstr ""
|
4293 |
+
|
4294 |
+
#: strings.php:151
|
4295 |
+
msgctxt "tracking"
|
4296 |
+
msgid "Internal"
|
4297 |
+
msgstr ""
|
4298 |
+
|
4299 |
+
#: strings.php:152
|
4300 |
+
msgctxt "detection"
|
4301 |
+
msgid "Advanced"
|
4302 |
+
msgstr ""
|
4303 |
+
|
4304 |
+
#: strings.php:155
|
4305 |
+
msgid "Top right"
|
4306 |
+
msgstr ""
|
4307 |
+
|
4308 |
+
#: strings.php:156
|
4309 |
+
msgid "Top left"
|
4310 |
+
msgstr ""
|
4311 |
+
|
4312 |
+
#: strings.php:157
|
4313 |
+
msgid "Bottom right"
|
4314 |
+
msgstr ""
|
4315 |
+
|
4316 |
+
#: strings.php:158
|
4317 |
+
msgid "Bottom left"
|
4318 |
+
msgstr ""
|
4319 |
+
|
4320 |
+
#: strings.php:160
|
4321 |
+
msgctxt "AdSense Ad Type"
|
4322 |
+
msgid "Standard"
|
4323 |
+
msgstr ""
|
4324 |
+
|
4325 |
+
#: strings.php:161
|
4326 |
+
msgctxt "AdSense Ad Type"
|
4327 |
+
msgid "Link"
|
4328 |
+
msgstr ""
|
4329 |
+
|
4330 |
+
#: strings.php:162
|
4331 |
+
msgctxt "AdSense Ad Type"
|
4332 |
+
msgid "In-article"
|
4333 |
+
msgstr ""
|
4334 |
+
|
4335 |
+
#: strings.php:163
|
4336 |
+
msgctxt "AdSense Ad Type"
|
4337 |
+
msgid "In-feed"
|
4338 |
+
msgstr ""
|
4339 |
+
|
4340 |
+
#: strings.php:164
|
4341 |
+
msgctxt "AdSense Ad Type"
|
4342 |
+
msgid "Matched content"
|
4343 |
+
msgstr ""
|
4344 |
+
|
4345 |
+
#: strings.php:165
|
4346 |
+
msgctxt "AdSense Ad Type"
|
4347 |
+
msgid "Auto Ads"
|
4348 |
+
msgstr ""
|
4349 |
+
|
4350 |
+
#: strings.php:167
|
4351 |
+
msgctxt "AMP ad"
|
4352 |
+
msgid "Disabled"
|
4353 |
+
msgstr ""
|
4354 |
+
|
4355 |
+
#: strings.php:168
|
4356 |
+
msgid "Above the fold"
|
4357 |
+
msgstr ""
|
4358 |
+
|
4359 |
+
#: strings.php:169
|
4360 |
+
msgid "Below the fold"
|
4361 |
+
msgstr ""
|
4362 |
+
|
4363 |
+
#: strings.php:171
|
4364 |
+
msgctxt "size"
|
4365 |
+
msgid "Fixed"
|
4366 |
+
msgstr ""
|
4367 |
+
|
4368 |
+
#: strings.php:172
|
4369 |
+
msgctxt "size"
|
4370 |
+
msgid "Responsive"
|
4371 |
+
msgstr ""
|
4372 |
+
|
4373 |
+
#: strings.php:173
|
4374 |
+
msgctxt "size"
|
4375 |
+
msgid "Fixed by viewport"
|
4376 |
+
msgstr ""
|
4377 |
+
|
4378 |
+
#: strings.php:178
|
4379 |
+
msgctxt "Button"
|
4380 |
+
msgid "Hide"
|
4381 |
+
msgstr ""
|
4382 |
+
|
4383 |
+
#: strings.php:180
|
4384 |
+
msgid "Insertion expired"
|
4385 |
+
msgstr ""
|
4386 |
+
|
4387 |
+
#: strings.php:181
|
4388 |
+
msgid "Duration"
|
4389 |
+
msgstr ""
|
4390 |
+
|
4391 |
+
#: strings.php:182
|
4392 |
+
msgid "Invalid end date - must be after start date"
|
4393 |
+
msgstr ""
|
4394 |
+
|
4395 |
+
#: strings.php:183
|
4396 |
+
msgid "Invalid start date - only data for 1 year back is available"
|
4397 |
+
msgstr ""
|
4398 |
+
|
4399 |
+
#: strings.php:184
|
4400 |
+
msgid "Invalid date range - only data for 1 year can be displayed"
|
4401 |
+
msgstr ""
|
4402 |
+
|
4403 |
+
#: strings.php:185 strings.php:186 strings.php:187 strings.php:188
|
4404 |
+
#: strings.php:189 strings.php:190
|
4405 |
+
msgid "day"
|
4406 |
+
msgid_plural "days"
|
4407 |
+
msgstr[0] ""
|
4408 |
+
msgstr[1] ""
|
4409 |
+
|
4410 |
+
#: strings.php:191
|
4411 |
+
msgid "Warning"
|
4412 |
+
msgstr ""
|
4413 |
+
|
4414 |
+
#: strings.php:192
|
4415 |
+
msgid "Delete"
|
4416 |
+
msgstr ""
|
4417 |
+
|
4418 |
+
#: strings.php:194
|
4419 |
+
msgid "Delete all statistics data?"
|
4420 |
+
msgstr ""
|
4421 |
+
|
4422 |
+
#. translators: %s: dates
|
4423 |
+
#: strings.php:196
|
4424 |
+
msgid "Delete statistics data between %s and %s?"
|
4425 |
+
msgstr ""
|
4426 |
+
|
4427 |
+
#: strings.php:197
|
4428 |
+
msgid "Cancel block order rearrangement"
|
4429 |
+
msgstr ""
|
4430 |
+
|
4431 |
+
#: strings.php:199
|
4432 |
+
msgid "downloading..."
|
4433 |
+
msgstr ""
|
4434 |
+
|
4435 |
+
#: strings.php:200
|
4436 |
+
msgid "download error"
|
4437 |
+
msgstr ""
|
4438 |
+
|
4439 |
+
#: strings.php:201
|
4440 |
+
msgid "update error"
|
4441 |
+
msgstr ""
|
4442 |
+
|
4443 |
+
#: strings.php:202
|
4444 |
+
msgid "Updating..."
|
4445 |
+
msgstr ""
|
4446 |
+
|
4447 |
+
#: strings.php:204
|
4448 |
+
msgid "ERROR"
|
4449 |
+
msgstr ""
|
4450 |
+
|
4451 |
+
#: strings.php:205
|
4452 |
+
msgid "Error reloading settings"
|
4453 |
+
msgstr ""
|
4454 |
+
|
4455 |
+
#: strings.php:207
|
4456 |
+
msgid "Search..."
|
4457 |
+
msgstr ""
|
4458 |
+
|
4459 |
+
#: strings.php:220
|
4460 |
+
msgid "Add"
|
4461 |
+
msgstr ""
|
4462 |
+
|
4463 |
+
#: strings.php:221
|
4464 |
+
msgid "Parent"
|
4465 |
+
msgstr ""
|
4466 |
+
|
4467 |
+
#: strings.php:222
|
4468 |
+
msgid "Cancel element selection"
|
4469 |
+
msgstr ""
|
4470 |
+
|
4471 |
+
#: strings.php:223
|
4472 |
+
msgid "Select parent element"
|
4473 |
+
msgstr ""
|
4474 |
+
|
4475 |
+
#: strings.php:224
|
4476 |
+
msgid "CSS selector"
|
4477 |
+
msgstr ""
|
4478 |
+
|
4479 |
+
#: strings.php:225
|
4480 |
+
msgid "Use current selector"
|
4481 |
+
msgstr ""
|
4482 |
+
|
4483 |
+
#: strings.php:226
|
4484 |
+
msgid "ELEMENT"
|
4485 |
+
msgstr ""
|
4486 |
+
|
4487 |
+
#: strings.php:227
|
4488 |
+
msgid "PATH"
|
4489 |
+
msgstr ""
|
4490 |
+
|
4491 |
+
#: strings.php:228
|
4492 |
+
msgid "SELECTOR"
|
4493 |
+
msgstr ""
|
4494 |
+
|
4495 |
+
#: strings.php:229
|
4496 |
+
msgctxt "Block"
|
4497 |
+
msgid "VISIBLE"
|
4498 |
+
msgstr ""
|
4499 |
+
|
4500 |
+
#: strings.php:230
|
4501 |
+
msgctxt "Block"
|
4502 |
+
msgid "HIDDEN"
|
4503 |
+
msgstr ""
|
4504 |
+
|
4505 |
+
#. Description of the plugin/theme
|
4506 |
+
msgid ""
|
4507 |
+
"Ad management with many advanced advertising features to insert ads at "
|
4508 |
+
"optimal positions"
|
4509 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
===
|
2 |
|
3 |
Contributors: spacetime
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4
|
@@ -6,7 +6,7 @@ Tags: ads, adsense, ad rotation, ad manager, amp ads, amazon, ad blocking detect
|
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.0
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 2.4.
|
10 |
License: GPLv3
|
11 |
|
12 |
Insert and manage ads: Google AdSense ads, Amazon banners, ad rotation, sticky widget ads, PHP, tracking, footer, AdSense header code, AMP ads
|
@@ -20,7 +20,7 @@ Supports all kinds of ads including **Google AdSense ads**, contextual **Amazon
|
|
20 |
This plugin is more than AdSense plugin or plugin for ads. It provides many advanced options to insert opt-in forms, header scripts, AMP ads, Javascript, CSS, HTML, PHP, analytics, tracking or advert code anywhere on the page.
|
21 |
|
22 |
**Ad Inserter can insert ads where other plugins fail**.
|
23 |
-
It's all about the settings.
|
24 |
|
25 |
Average Rating: 5 out of 5 stars - check <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/">Ad Inserter reviews</a>
|
26 |
|
@@ -47,7 +47,7 @@ Average Rating: 5 out of 5 stars - check <a href="https://wordpress.org/support/
|
|
47 |
|
48 |
Looking for AdSense plugin with simple setup for ads at best positions? A plugin for Amazon ads and Google Analytics code in the header?
|
49 |
|
50 |
-
**Features**
|
51 |
|
52 |
* Enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads) and get powerful AdSense plugin
|
53 |
* Syntax highlighting [editor](https://adinserter.pro/documentation/code-editing)
|
@@ -514,6 +514,16 @@ Please note that responsive AdSense ads can not work with floating alignments (a
|
|
514 |
|
515 |
== Changelog ==
|
516 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
517 |
= 2.4.2 =
|
518 |
- Added support for visual HTML element selection
|
519 |
- Fix for client-side insertion inside HTML elements
|
@@ -568,6 +578,16 @@ For the changelog of earlier versions, please refer to the separate changelog.tx
|
|
568 |
|
569 |
== Upgrade Notice ==
|
570 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
571 |
= 2.4.2 =
|
572 |
Added support for visual HTML element selection;
|
573 |
Fix for client-side insertion inside HTML elements;
|
1 |
+
=== WordPress Ads & AdSense plugin - Ad Inserter ===
|
2 |
|
3 |
Contributors: spacetime
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.0
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 2.4.3
|
10 |
License: GPLv3
|
11 |
|
12 |
Insert and manage ads: Google AdSense ads, Amazon banners, ad rotation, sticky widget ads, PHP, tracking, footer, AdSense header code, AMP ads
|
20 |
This plugin is more than AdSense plugin or plugin for ads. It provides many advanced options to insert opt-in forms, header scripts, AMP ads, Javascript, CSS, HTML, PHP, analytics, tracking or advert code anywhere on the page.
|
21 |
|
22 |
**Ad Inserter can insert ads where other plugins fail**.
|
23 |
+
It's all about the [settings](https://adinserter.pro/documentation).
|
24 |
|
25 |
Average Rating: 5 out of 5 stars - check <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/">Ad Inserter reviews</a>
|
26 |
|
47 |
|
48 |
Looking for AdSense plugin with simple setup for ads at best positions? A plugin for Amazon ads and Google Analytics code in the header?
|
49 |
|
50 |
+
**Features** - check [documentation](https://adinserter.pro/documentation/features) for the complete list
|
51 |
|
52 |
* Enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads) and get powerful AdSense plugin
|
53 |
* Syntax highlighting [editor](https://adinserter.pro/documentation/code-editing)
|
514 |
|
515 |
== Changelog ==
|
516 |
|
517 |
+
= 2.4.3 =
|
518 |
+
- Added support for insertion before/after every N paragraphs (%N)
|
519 |
+
- Added support for i18n
|
520 |
+
- Fix for insertion on admin pages
|
521 |
+
- Fix for client-side cookie check
|
522 |
+
- Fix for loaded styles from other plugins/themes on the settings page
|
523 |
+
- Fix for client-side insertion near HTML elements using :eq selector
|
524 |
+
- Fix for deactivation feedback form not closing
|
525 |
+
- Few minor bug fixes, cosmetic changes and code improvements
|
526 |
+
|
527 |
= 2.4.2 =
|
528 |
- Added support for visual HTML element selection
|
529 |
- Fix for client-side insertion inside HTML elements
|
578 |
|
579 |
== Upgrade Notice ==
|
580 |
|
581 |
+
= 2.4.3 =
|
582 |
+
Added support for insertion before/after every N paragraphs (%N);
|
583 |
+
Added support for i18n;
|
584 |
+
Fix for insertion on admin pages;
|
585 |
+
Fix for client-side cookie check;
|
586 |
+
Fix for loaded styles from other plugins/themes on the settings page;
|
587 |
+
Fix for client-side insertion near HTML elements using :eq selector;
|
588 |
+
Fix for deactivation feedback form not closing;
|
589 |
+
Few minor bug fixes, cosmetic changes and code improvements
|
590 |
+
|
591 |
= 2.4.2 =
|
592 |
Added support for visual HTML element selection;
|
593 |
Fix for client-side insertion inside HTML elements;
|
settings.php
CHANGED
@@ -143,16 +143,14 @@ function generate_settings_form (){
|
|
143 |
if (function_exists ('ai_settings_header')) ai_settings_header ($start, $active_tab); else { ?>
|
144 |
|
145 |
<div style="float: left;">
|
146 |
-
<h2 id="plugin_name" style="display: inline-block; margin: 5px 0;"><?php echo AD_INSERTER_NAME . ' ' . AD_INSERTER_VERSION ?></h2>
|
147 |
</div>
|
148 |
<div id="header-buttons">
|
149 |
<img id="ai-loading" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>loading.gif" style="width: 24px; height: 24px; vertical-align: middle; margin-right: 20px; display: none;" />
|
150 |
-
<button type="button" class="ai-top-button" style="display: none; margin: 0 10px 0 0; width:
|
151 |
-
<button type="button" class="ai-top-button" style="display: none; margin: 0 10px 0 0; width:
|
152 |
-
|
153 |
-
|
154 |
-
<button type="button" class="ai-top-button" style="display: none; margin: 0 10px 0 0; width: 62px; outline-color: transparent;" onclick="window.open('https://adinserter.pro/')" title="Need more code blocks, sticky ads, GEO targeting, impression and click tracking? Upgrade to Ad Inserter Pro">Go Pro</button>
|
155 |
-
<button id="ai-list" type="button" class="ai-top-button" style="width: 62px; display: none; margin-right: 0px; outline-color: transparent;" title="Show list of all code blocks"><span>Blocks</span></button>
|
156 |
</div>
|
157 |
|
158 |
<div style="clear: both;"></div>
|
@@ -162,32 +160,32 @@ function generate_settings_form (){
|
|
162 |
</div>
|
163 |
|
164 |
<div id="javascript-warning" class="ai-form rounded" style="display: none;">
|
165 |
-
<h2 id="javascript-version" style="float: left; color: red;" title="Loaded plugin
|
166 |
-
<div style="float: right;
|
167 |
-
<span id="javascript-version-parameter" style="display: none;"
|
168 |
-
<span id="javascript-version-parameter-missing" style="display: none;"
|
169 |
-
Incompatible (old)
|
170 |
-
Please delete browser's cache and all other caches used and then reload this page.
|
171 |
</div>
|
172 |
<div style="clear: both;"></div>
|
173 |
</div>
|
174 |
|
175 |
<div id="css-warning" class="ai-form rounded" style="display: none;">
|
176 |
-
<h2 id="css-version" style="float: left; color: red;" title="Loaded plugin CSS version"> </h2>
|
177 |
-
<div style="float: right;
|
178 |
-
<span id="css-version-parameter" style="display: none;"
|
179 |
-
<span id="css-version-parameter-missing" style="display: none;"
|
180 |
-
Incompatible (old) CSS file loaded, probably due to inappropriate caching
|
181 |
-
Please delete browser's cache and all other caches used and then reload this page.
|
182 |
</div>
|
183 |
<div style="clear: both;"></div>
|
184 |
</div>
|
185 |
|
186 |
<div id="blocked-warning" class="ai-form warning-enabled rounded">
|
187 |
-
<h2 class="blocked-warning-text" style="float: left; color: red; margin: 7px 0;" title="Error loading page"
|
188 |
<div style="float: right; text-align: right; width: 630px; margin: 8px 5px 0px 0;">
|
189 |
-
Page may <a href="https://adinserter.pro/documentation/troubleshooting#page-blocked" class="simple-link" target="_blank">
|
190 |
-
Check ad blocking software that may block CSS,
|
191 |
</div>
|
192 |
<div style="clear: both;"></div>
|
193 |
</div>
|
@@ -201,22 +199,22 @@ function generate_settings_form (){
|
|
201 |
<table class="ai-settings-table" style="">
|
202 |
<tr>
|
203 |
<td style="padding-right: 7px;">
|
204 |
-
Option Name
|
205 |
</td>
|
206 |
<td style="width: 100%;">
|
207 |
<input class="option-name" style="width: 100%;" type="text" size="50" maxlength="200" />
|
208 |
</td>
|
209 |
<td style="padding-left: 7px;">
|
210 |
-
Share
|
211 |
</td>
|
212 |
<td>
|
213 |
-
<input class="option-share" style="width: 42px;" type="text" maxlength="2" title="Option share in percents - 0 means option is disabled, if share for one option is not defined it will be calculated automatically. Leave all share fields empty for equal option shares." /> %
|
214 |
</td>
|
215 |
<td style="padding-left: 7px;">
|
216 |
-
Time
|
217 |
</td>
|
218 |
<td>
|
219 |
-
<input class="option-time" style="width: 42px;" type="text" maxlength="3" title="Option time in seconds - 0 means option is disabled and will be skipped. Leave all time fields empty for no timed rotation." /> s
|
220 |
</td>
|
221 |
</tr>
|
222 |
</table>
|
@@ -354,19 +352,19 @@ function generate_settings_form (){
|
|
354 |
if ($enabled_h || $enabled_f) $class_hfa = " on"; else $class_hfa = "";
|
355 |
|
356 |
$title_hfa = "";
|
357 |
-
if ($enabled_h) $title_hfa .= ", Header code";
|
358 |
-
if ($enabled_f) $title_hfa .= ", Footer code";
|
359 |
$header_code_disabled = !$adH->get_enable_manual () && $adH->get_ad_data() != "";
|
360 |
$footer_code_disabled = !$adF->get_enable_manual () && $adF->get_ad_data() != "";
|
361 |
|
362 |
if (defined ('AI_ADBLOCKING_DETECTION') && AI_ADBLOCKING_DETECTION) {
|
363 |
$enabled_a = $ai_wp_data [AI_ADB_DETECTION];
|
364 |
-
if ($enabled_a) $title_hfa .= ", Ad blocking detection code";
|
365 |
if ($enabled_a) $class_hfa = " on";
|
366 |
}
|
367 |
|
368 |
?>
|
369 |
-
<li id="ai-tab0" class="ai-tab" title="<?php echo AD_INSERTER_NAME
|
370 |
</ul>
|
371 |
|
372 |
<?php
|
@@ -375,7 +373,7 @@ function generate_settings_form (){
|
|
375 |
|
376 |
if ($block <= $end) {
|
377 |
$default->number = $block;
|
378 |
-
$default->wp_options [AI_OPTION_BLOCK_NAME] =
|
379 |
|
380 |
$tab_visible = $block == $active_tab || $generate_all;
|
381 |
|
@@ -391,7 +389,7 @@ function generate_settings_form (){
|
|
391 |
$manual [$block] = ($manual_widget [$block] && !empty ($sidebars_with_widget [$block])) || $manual_shortcode [$block] || $manual_php_function [$block];
|
392 |
|
393 |
$default->number = 0;
|
394 |
-
$default->wp_options [AI_OPTION_BLOCK_NAME] =
|
395 |
|
396 |
$tab_visible = false;
|
397 |
|
@@ -416,25 +414,25 @@ function generate_settings_form (){
|
|
416 |
if (function_exists ('ai_lists')) $lists = ai_lists ($obj); else $lists = false;
|
417 |
$show_lists =
|
418 |
$cat_list != '' ||
|
419 |
-
$obj->get_ad_block_cat_type() ==
|
420 |
|
421 |
$tag_list != '' ||
|
422 |
-
$obj->get_ad_block_tag_type() ==
|
423 |
|
424 |
$taxonomy_list != '' ||
|
425 |
-
$obj->get_ad_block_taxonomy_type() ==
|
426 |
|
427 |
$id_list != '' ||
|
428 |
-
$obj->get_id_list_type() ==
|
429 |
|
430 |
$url_list != '' ||
|
431 |
-
$obj->get_ad_url_list_type() ==
|
432 |
|
433 |
$url_parameter_list != '' ||
|
434 |
-
$obj->get_url_parameter_list_type() ==
|
435 |
|
436 |
$domain_list != '' ||
|
437 |
-
$obj->get_ad_domain_list_type() ==
|
438 |
|
439 |
$lists;
|
440 |
if ($show_lists) $lists_style = "font-weight: bold; color: #66f;"; else $lists_style = "";
|
@@ -444,7 +442,7 @@ function generate_settings_form (){
|
|
444 |
|
445 |
$insertion_options =
|
446 |
$obj->get_maximum_insertions () ||
|
447 |
-
$obj->get_display_for_users() !=
|
448 |
$obj->get_enable_amp () == AI_ENABLED ||
|
449 |
$obj->get_enable_ajax () != AI_ENABLED ||
|
450 |
$obj->get_enable_404 () == AI_ENABLED ||
|
@@ -527,14 +525,14 @@ function generate_settings_form (){
|
|
527 |
<?php if (AI_SYNTAX_HIGHLIGHTING) : ?>
|
528 |
<span class="ai-toolbar-button ai-settings">
|
529 |
<input type="checkbox" value="0" id="simple-editor-<?php echo $block; ?>" class="simple-editor-button" style="display: none;" />
|
530 |
-
<label class="checkbox-button" for="simple-editor-<?php echo $block; ?>" title="Toggle Syntax Highlighting / Simple editor for mobile devices"><span class="checkbox-icon icon-tablet"></span></label>
|
531 |
</span>
|
532 |
<?php endif; ?>
|
533 |
|
534 |
<?php if (defined ('AI_CODE_GENERATOR')) : ?>
|
535 |
<span class="ai-toolbar-button ai-settings">
|
536 |
<input type="checkbox" id="tools-button-<?php echo $block; ?>" style="display: none;" />
|
537 |
-
<label class="checkbox-button tools-button" for="tools-button-<?php echo $block; ?>" title="Toggle tools"><span class="checkbox-icon icon-tools"></span></label>
|
538 |
</span>
|
539 |
<?php endif; ?>
|
540 |
|
@@ -542,14 +540,14 @@ function generate_settings_form (){
|
|
542 |
<span class="ai-toolbar-button ai-settings">
|
543 |
<input type="hidden" name="<?php echo AI_OPTION_PROCESS_PHP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
544 |
<input type="checkbox" name="<?php echo AI_OPTION_PROCESS_PHP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_process_php (); ?>" id="process-php-<?php echo $block; ?>" <?php if ($obj->get_process_php () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
545 |
-
<label class="checkbox-button" for="process-php-<?php echo $block; ?>" title="Process PHP code in block"><span class="checkbox-icon icon-php<?php if ($obj->get_process_php () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
546 |
</span>
|
547 |
<?php endif; ?>
|
548 |
|
549 |
<span class="ai-toolbar-button ai-settings">
|
550 |
<input type="hidden" name="<?php echo AI_OPTION_DISABLE_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
551 |
<input type="checkbox" name="<?php echo AI_OPTION_DISABLE_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" id="disable-insertion-<?php echo $block; ?>" default="<?php echo $default->get_disable_insertion (); ?>" <?php if ($obj->get_disable_insertion () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
552 |
-
<label class="checkbox-button" for="disable-insertion-<?php echo $block; ?>" title="Disable insertion of this block"><span class="checkbox-icon icon-pause<?php if ($obj->get_disable_insertion () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
553 |
</span>
|
554 |
|
555 |
<?php if (function_exists ('ai_settings_top_buttons_2')) ai_settings_top_buttons_2 ($block, $obj, $default); ?>
|
@@ -561,15 +559,15 @@ function generate_settings_form (){
|
|
561 |
<?php if (defined ('AI_CODE_GENERATOR')) : ?>
|
562 |
<span class="ai-toolbar-button ai-button-left">
|
563 |
<input type="checkbox" id="code-generator-<?php echo $block; ?>" style="display: none;" />
|
564 |
-
<label class="checkbox-button code-generator-button" for="code-generator-<?php echo $block; ?>" title="Toggle code generator"><span class="checkbox-icon icon-code"></span></label>
|
565 |
</span>
|
566 |
<span class="ai-toolbar-button ai-button-left">
|
567 |
<input type="checkbox" id="rotation-<?php echo $block; ?>" style="display: none;" />
|
568 |
-
<label class="checkbox-button rotation-button" for="rotation-<?php echo $block; ?>" title="Toggle rotation editor"><span class="checkbox-icon icon-rotation"></span></label>
|
569 |
</span>
|
570 |
<span class="ai-toolbar-button ai-button-left">
|
571 |
<input type="checkbox" id="visual-editor-<?php echo $block; ?>" style="display: none;" />
|
572 |
-
<label class="checkbox-button" for="visual-editor-<?php echo $block; ?>" title="Open visual HTML editor"><span class="checkbox-icon icon-edit"></span></label>
|
573 |
</span>
|
574 |
|
575 |
|
@@ -579,7 +577,7 @@ function generate_settings_form (){
|
|
579 |
|
580 |
<span class="ai-toolbar-button ai-button-left">
|
581 |
<input type="checkbox" id="ga-<?php echo $block; ?>" style="display: none;" />
|
582 |
-
<label class="checkbox-button adsense-list" for="ga-<?php echo $block; ?>" title="Show AdSense ad units" ><span class="checkbox-icon icon-adsense ai-bw"></span></label>
|
583 |
</span>
|
584 |
<?php endif; ?>
|
585 |
<?php endif; ?>
|
@@ -588,28 +586,28 @@ function generate_settings_form (){
|
|
588 |
|
589 |
<span class="ai-toolbar-button" style="padding-right: 15px;">
|
590 |
<input type="checkbox" id="clear-block-<?php echo $block; ?>" style="display: none;" />
|
591 |
-
<label class="checkbox-button" for="clear-block-<?php echo $block; ?>" title="Clear block"><span class="checkbox-icon icon-clear"></span></label>
|
592 |
</span>
|
593 |
|
594 |
<span class="ai-toolbar-button">
|
595 |
<input type="checkbox" id="copy-block-<?php echo $block; ?>" class="ai-copy" style="display: none;" />
|
596 |
-
<label class="checkbox-button" for="copy-block-<?php echo $block; ?>" title="Copy block"><span class="checkbox-icon icon-copy"></span></label>
|
597 |
</span>
|
598 |
<span class="ai-toolbar-button">
|
599 |
<input type="checkbox" id="paste-name-<?php echo $block; ?>" style="display: none;" />
|
600 |
-
<label class="checkbox-button" for="paste-name-<?php echo $block; ?>" title="Paste name"><span class="checkbox-icon icon-paste-name"></span></label>
|
601 |
</span>
|
602 |
<span class="ai-toolbar-button">
|
603 |
<input type="checkbox" id="paste-code-<?php echo $block; ?>" style="display: none;" />
|
604 |
-
<label class="checkbox-button" for="paste-code-<?php echo $block; ?>" title="Paste code"><span class="checkbox-icon icon-paste-code"></span></label>
|
605 |
</span>
|
606 |
<span class="ai-toolbar-button">
|
607 |
<input type="checkbox" id="paste-settings-<?php echo $block; ?>" style="display: none;" />
|
608 |
-
<label class="checkbox-button" for="paste-settings-<?php echo $block; ?>" title="Paste settings"><span class="checkbox-icon icon-paste-settings"></span></label>
|
609 |
</span>
|
610 |
<span class="ai-toolbar-button">
|
611 |
<input type="checkbox" id="paste-block-<?php echo $block; ?>" style="display: none;" />
|
612 |
-
<label class="checkbox-button" for="paste-block-<?php echo $block; ?>" title="Paste block (name, code and settings)"><span class="checkbox-icon icon-paste"></span></label>
|
613 |
</span>
|
614 |
<?php endif; ?>
|
615 |
</div>
|
@@ -628,11 +626,11 @@ function generate_settings_form (){
|
|
628 |
<span style="display: table-cell; width: 100%;"></span>
|
629 |
<span class="ai-toolbar-button">
|
630 |
<input type="checkbox" id="remove-option-<?php echo $block; ?>" style="display: none;" />
|
631 |
-
<label class="checkbox-button" for="remove-option-<?php echo $block; ?>" title="Remove option"><span class="checkbox-icon icon-minus"></span></label>
|
632 |
</span>
|
633 |
<span class="ai-toolbar-button">
|
634 |
<input type="checkbox" id="add-option-<?php echo $block; ?>" style="display: none;" />
|
635 |
-
<label class="checkbox-button" for="add-option-<?php echo $block; ?>" title="Add option"><span class="checkbox-icon icon-plus"></span></label>
|
636 |
</span>
|
637 |
</div>
|
638 |
|
@@ -647,16 +645,16 @@ function generate_settings_form (){
|
|
647 |
<span style="display: table-cell; width: 100%;"></span>
|
648 |
<span class="ai-toolbar-button">
|
649 |
<input type="checkbox" id="import-code-<?php echo $block; ?>" style="display: none;" />
|
650 |
-
<label class="checkbox-button" for="import-code-<?php echo $block; ?>" title="Import code"><span class="checkbox-icon icon-import"></span></label>
|
651 |
</span>
|
652 |
<span class="ai-toolbar-button">
|
653 |
<input type="checkbox" id="generate-code-<?php echo $block; ?>" style="display: none;" />
|
654 |
-
<label class="checkbox-button" for="generate-code-<?php echo $block; ?>" title="Generate code"><span class="checkbox-icon icon-generate"></span></label>
|
655 |
</span>
|
656 |
</div>
|
657 |
|
658 |
<ul>
|
659 |
-
<li id="ai-banner-<?php echo $block; ?>"><a href="#tab-banner-<?php echo $block; ?>"
|
660 |
<li id="ai-adsense-pub-id-<?php echo $block; ?>"><a href="#tab-adsense-<?php echo $block; ?>">AdSense</a></li>
|
661 |
</ul>
|
662 |
|
@@ -667,7 +665,7 @@ function generate_settings_form (){
|
|
667 |
<table class="ai-settings-table">
|
668 |
<tr>
|
669 |
<td style="padding-right: 7px;">
|
670 |
-
Image
|
671 |
</td>
|
672 |
<td style="width: 98%;">
|
673 |
<input id="banner-image-url-<?php echo $block; ?>" style="width: 100%;" type="text" size="50" maxlength="200" />
|
@@ -675,7 +673,7 @@ function generate_settings_form (){
|
|
675 |
</tr>
|
676 |
<tr>
|
677 |
<td>
|
678 |
-
Link
|
679 |
</td>
|
680 |
<td>
|
681 |
<input id="banner-url-<?php echo $block; ?>" style="width: 100%;" type="text" size="50" maxlength="200" />
|
@@ -686,9 +684,9 @@ function generate_settings_form (){
|
|
686 |
<input type="checkbox" id="open-new-tab-<?php echo $block; ?>" />
|
687 |
</td>
|
688 |
<td>
|
689 |
-
<label for="open-new-tab-<?php echo $block; ?>" style="display: inline-block; margin-top:
|
690 |
-
<button id="select-image-button-<?php echo $block; ?>" type="button" class='ai-button select-image' style="display: none; width: 120px; float: right; margin: 7px 0 0 0;"
|
691 |
-
<button id="select-placeholder-button-<?php echo $block; ?>" type="button" class='ai-button select-image' style="display: none; width: 120px; float: right; margin: 7px 10px 0 0;"
|
692 |
</td>
|
693 |
</tr>
|
694 |
</table>
|
@@ -700,7 +698,7 @@ function generate_settings_form (){
|
|
700 |
<table class="ai-settings-table left">
|
701 |
<tr>
|
702 |
<td>
|
703 |
-
Comment
|
704 |
</td>
|
705 |
<td style="width: 100%; padding-left: 7px;">
|
706 |
<input id="adsense-comment-<?php echo $block; ?>" style="width: 100%;" type="text" size="30" maxlength="50" />
|
@@ -708,38 +706,38 @@ function generate_settings_form (){
|
|
708 |
</tr>
|
709 |
|
710 |
<tr>
|
711 |
-
<td>
|
712 |
-
Publisher ID
|
713 |
</td>
|
714 |
<td style="width: 100%; padding-left: 7px;">
|
715 |
-
<input id="adsense-publisher-id-<?php echo $block; ?>" style="width: 100%;" type="text" size="30" maxlength="30" />
|
716 |
</td>
|
717 |
</tr>
|
718 |
|
719 |
<tr>
|
720 |
-
<td>
|
721 |
-
Ad Slot ID
|
722 |
</td>
|
723 |
<td style="padding-left: 7px;">
|
724 |
-
<input id="adsense-ad-slot-id-<?php echo $block; ?>" style="width: 100%;" type="text" size="30" maxlength="30" />
|
725 |
</td>
|
726 |
</tr>
|
727 |
|
728 |
<tr>
|
729 |
<td>
|
730 |
-
Ad Type
|
731 |
</td>
|
732 |
<td style="padding-left: 7px;">
|
733 |
<select id="adsense-type-<?php echo $block; ?>">
|
734 |
-
<option value="<?php echo AI_ADSENSE_STANDARD; ?>" selected><?php echo
|
735 |
<option value="<?php echo AI_ADSENSE_LINK; ?>"><?php echo AI_TEXT_LINK; ?></option>
|
736 |
<option value="<?php echo AI_ADSENSE_IN_ARTICLE; ?>"><?php echo AI_TEXT_IN_ARTICLE; ?></option>
|
737 |
<option value="<?php echo AI_ADSENSE_IN_FEED; ?>"><?php echo AI_TEXT_IN_FEED; ?></option>
|
738 |
<option value="<?php echo AI_ADSENSE_MATCHED_CONTENT; ?>"><?php echo AI_TEXT_MATCHED_CONTENT; ?></option>
|
739 |
-
<option value="<?php echo AI_ADSENSE_AUTO; ?>"><?php echo
|
740 |
</select>
|
741 |
<div class="adsense-size" style="float: right;">
|
742 |
-
Size
|
743 |
<select id="adsense-size-<?php echo $block; ?>">
|
744 |
<option value="<?php echo AI_ADSENSE_SIZE_FIXED; ?>" selected><?php echo AI_TEXT_FIXED; ?></option>
|
745 |
<option value="<?php echo AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT; ?>"><?php echo AI_TEXT_FIXED_BY_VIEWPORT; ?></option>
|
@@ -751,11 +749,11 @@ function generate_settings_form (){
|
|
751 |
|
752 |
<tr>
|
753 |
<td>
|
754 |
-
AMP Ad
|
755 |
</td>
|
756 |
<td style="padding-left: 7px;">
|
757 |
<select id="adsense-amp-<?php echo $block; ?>">
|
758 |
-
<option value="<?php echo AI_ADSENSE_AMP_DISABLED; ?>" selected><?php echo
|
759 |
<option value="<?php echo AI_ADSENSE_AMP_ABOVE_THE_FOLD; ?>"><?php echo AI_TEXT_ABOVE_THE_FOLD; ?></option>
|
760 |
<option value="<?php echo AI_ADSENSE_AMP_BELOW_THE_FOLD; ?>"><?php echo AI_TEXT_BELOW_THE_FOLD; ?></option>
|
761 |
</select>
|
@@ -768,7 +766,7 @@ function generate_settings_form (){
|
|
768 |
<td>
|
769 |
<?php if (defined ('AI_ADSENSE_API')) : ?>
|
770 |
<?php if (!defined ('AI_ADSENSE_AUTHORIZATION_CODE')) : ?>
|
771 |
-
<button type="button" class='ai-button adsense-list' style="display: none; margin: 2px 0px 0px 7px;" title="Show
|
772 |
<?php endif; ?>
|
773 |
<?php endif; ?>
|
774 |
</td>
|
@@ -784,20 +782,20 @@ function generate_settings_form (){
|
|
784 |
</tr>
|
785 |
|
786 |
<tr>
|
787 |
-
<td class="adsense-layout" style="padding-left: 7px;">
|
788 |
-
Layout
|
789 |
</td>
|
790 |
<td class="adsense-layout" style="width: 100%; padding-left: 7px;">
|
791 |
-
<input id="adsense-layout-<?php echo $block; ?>" style="width: 100%;" type="text" size="80" maxlength="100" />
|
792 |
</td>
|
793 |
</tr>
|
794 |
|
795 |
<tr>
|
796 |
-
<td class="adsense-layout" style="padding-left: 7px;">
|
797 |
-
Layout Key
|
798 |
</td>
|
799 |
<td class="adsense-layout" style="padding-left: 7px;">
|
800 |
-
<input id="adsense-layout-key-<?php echo $block; ?>" style="width: 100%;" type="text" size="80" maxlength="100" />
|
801 |
</td>
|
802 |
</tr>
|
803 |
|
@@ -891,16 +889,16 @@ function generate_settings_form (){
|
|
891 |
|
892 |
<div style="padding: 0; min-height: 28px;">
|
893 |
<div style="float: left;">
|
894 |
-
<button id="lists-button-<?php echo $block; ?>" type="button" class='ai-button2' style="display: none; margin-right: 4px;" title="White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, Cookie or Referer (domain)"><span style="<?php echo $lists_style; ?>"
|
895 |
-
<button id="manual-button-<?php echo $block; ?>" type="button" class='ai-button2' style="display: none; margin-right: 4px;" title="Widget, Shortcode and PHP function call"><span style="<?php echo $manual_style; ?>"
|
896 |
-
<button id="device-detection-button-<?php echo $block; ?>" class='ai-button2' type="button" style="display: none; margin-right: 4px;" title="Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"><span style="<?php echo $devices_style; ?>"
|
897 |
-
<button id="misc-button-<?php echo $block; ?>" type="button" class='ai-button2' style="display: none; margin-right: 4px;" title="Check for user status, Limit insertions
|
898 |
-
<button id="preview-button-<?php echo $block; ?>" type="button" class='ai-button2' style="display: none; margin-right: 4px;" title="Preview code and alignment" site-url="<?php echo wp_make_link_relative (get_site_url()); ?>"
|
899 |
</div>
|
900 |
<div style="float: right;">
|
901 |
-
<div title='Rotation editor active - rotation code not generated! Make sure no rotation editor is active before saving settings.' class="ai-rotation-warning" style='float: left; font-size: 18px; font-weight: bold; margin: 5px 5px 0 0; display: none;'>⚠</div>
|
902 |
<?php if (function_exists ('ai_settings_bottom_buttons')) ai_settings_bottom_buttons ($start, $end); else { ?>
|
903 |
-
<input style="display: none; font-weight: bold;" name="<?php echo AI_FORM_SAVE; ?>" value="Save All Settings" type="submit" />
|
904 |
<?php } ?>
|
905 |
</div>
|
906 |
<div style="clear: both;"></div>
|
@@ -908,7 +906,7 @@ function generate_settings_form (){
|
|
908 |
|
909 |
<div class="rounded">
|
910 |
<div style="float: left;">
|
911 |
-
Automatic
|
912 |
<select class="ai-image-selection" style="width:200px; margin-bottom: 3px;" id="display-type-<?php echo $block; ?>" name="<?php echo AI_OPTION_AUTOMATIC_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_automatic_insertion(); ?>">
|
913 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-disabled" value="<?php echo AI_AUTOMATIC_INSERTION_DISABLED; ?>" data-title="<?php echo AI_TEXT_DISABLED; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_DISABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISABLED; ?></option>
|
914 |
<?php if (defined ('AI_BUFFERING') && get_output_buffering ()) : ?>
|
@@ -928,7 +926,7 @@ function generate_settings_form (){
|
|
928 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-comments" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_COMMENTS; ?>" data-title="<?php echo AI_TEXT_AFTER_COMMENTS; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_COMMENTS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_COMMENTS; ?></option>
|
929 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-footer" value="<?php echo AI_AUTOMATIC_INSERTION_FOOTER; ?>" data-title="<?php echo AI_TEXT_FOOTER; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_FOOTER) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_FOOTER; ?></option>
|
930 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-before-html" value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT; ?>" data-title="<?php echo AI_TEXT_BEFORE_HTML_ELEMENT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_HTML_ELEMENT; ?></option>
|
931 |
-
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-
|
932 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-html" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT; ?>" data-title="<?php echo AI_TEXT_AFTER_HTML_ELEMENT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_HTML_ELEMENT; ?></option>
|
933 |
<?php foreach ($ai_custom_hooks as $hook_index => $custom_hook) { ?>
|
934 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-custom-hook" value="<?php echo AI_AUTOMATIC_INSERTION_CUSTOM_HOOK + $custom_hook ['index'] - 1; ?>" data-title="<?php echo $custom_hook ['name']; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_CUSTOM_HOOK + $custom_hook ['index'] - 1) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo $custom_hook ['name']; ?></option>
|
@@ -937,8 +935,8 @@ function generate_settings_form (){
|
|
937 |
</div>
|
938 |
|
939 |
<div style="float: right;">
|
940 |
-
Alignment and
|
941 |
-
<select style="width:130px;" id="block-alignment-<?php echo $block; ?>" name="<?php echo AI_OPTION_ALIGNMENT_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_alignment_type(); ?>">
|
942 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-default" value="<?php echo AI_ALIGNMENT_DEFAULT; ?>" data-title="<?php echo AI_TEXT_DEFAULT; ?>" <?php echo ($obj->get_alignment_type() == AI_ALIGNMENT_DEFAULT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DEFAULT; ?></option>
|
943 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-align-left" value="<?php echo AI_ALIGNMENT_LEFT; ?>" data-title="<?php echo AI_TEXT_LEFT; ?>" <?php echo ($obj->get_alignment_type() == AI_ALIGNMENT_LEFT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_LEFT; ?></option>
|
944 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-center" value="<?php echo AI_ALIGNMENT_CENTER; ?>" data-title="<?php echo AI_TEXT_CENTER; ?>" <?php echo ($obj->get_alignment_type() == AI_ALIGNMENT_CENTER) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CENTER; ?></option>
|
@@ -950,7 +948,7 @@ function generate_settings_form (){
|
|
950 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-no-wrapping" value="<?php echo AI_ALIGNMENT_NO_WRAPPING; ?>" data-title="<?php echo AI_TEXT_NO_WRAPPING; ?>" <?php echo ($obj->get_alignment_type() == AI_ALIGNMENT_NO_WRAPPING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NO_WRAPPING; ?></option>
|
951 |
</select>
|
952 |
|
953 |
-
<button id="show-css-button-<?php echo $block; ?>" type="button" class='ai-button' style="min-width: 60px; margin-right: 0px;"
|
954 |
</div>
|
955 |
<div style="clear: both;"></div>
|
956 |
|
@@ -962,18 +960,18 @@ function generate_settings_form (){
|
|
962 |
|
963 |
<div class="max-input">
|
964 |
<span id="css-label-<?php echo $block; ?>" style="display: table-cell; width: 36px; padding: 0; height: 26px; vertical-align: middle; margin: 4px 0 0 0; font-size: 14px; font-weight: bold;">CSS</span>
|
965 |
-
<input id="custom-css-<?php echo $block; ?>" style="width: 100%; display: none; font-family: Courier, 'Courier New', monospace; font-weight: bold;" type="text" name="<?php echo AI_OPTION_CUSTOM_CSS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_custom_css(); ?>" value="<?php echo $obj->get_custom_css(); ?>" maxlength="500" title="Custom CSS code for wrapping div" />
|
966 |
<span style="display: table-cell; vertical-align: middle; font-family: Courier, 'Courier New', monospace; font-size: 12px; font-weight: bold; cursor: pointer;">
|
967 |
<span id="css-no-wrapping-<?php echo $block; ?>" class='css-code' style="height: 26px; padding-left: 7px; display: none;"></span>
|
968 |
-
<span id="css-none-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="CSS code for wrapping div, click to edit"><?php echo $obj->alignment_style (AI_ALIGNMENT_DEFAULT); ?></span>
|
969 |
-
<span id="css-left-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="CSS code for wrapping div, click to edit"><?php echo $obj->alignment_style (AI_ALIGNMENT_LEFT); ?></span>
|
970 |
-
<span id="css-right-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="CSS code for wrapping div, click to edit"><?php echo $obj->alignment_style (AI_ALIGNMENT_RIGHT); ?></span>
|
971 |
-
<span id="css-center-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="CSS code for wrapping div, click to edit"><?php echo $obj->alignment_style (AI_ALIGNMENT_CENTER); ?></span>
|
972 |
-
<span id="css-float-left-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="CSS code for wrapping div, click to edit"><?php echo $obj->alignment_style (AI_ALIGNMENT_FLOAT_LEFT); ?></span>
|
973 |
-
<span id="css-float-right-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-right: 7px; display: none;" title="CSS code for wrapping div, click to edit"><?php echo $obj->alignment_style (AI_ALIGNMENT_FLOAT_RIGHT); ?></span>
|
974 |
<?php if (function_exists ('ai_style_css')) ai_style_css ($block, $obj); ?>
|
975 |
</span>
|
976 |
-
<span style="display:table-cell; width: 46px;" ><button id="edit-css-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: table-cell; padding: 0; margin: 0 0 0 8px;"
|
977 |
</div>
|
978 |
</div>
|
979 |
</div>
|
@@ -985,20 +983,20 @@ function generate_settings_form (){
|
|
985 |
<tr>
|
986 |
<td style="width: 70%; padding-bottom: 5px;">
|
987 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_POSTS, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
988 |
-
<input type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_POSTS, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_display_settings_post(); ?>" id="display-posts-<?php echo $block; ?>" title="Enable insertion on posts" <?php if ($obj->get_display_settings_post()==AI_ENABLED) echo 'checked '; ?> />
|
989 |
|
990 |
-
<select style="margin: 0 0 0 10px;" id="enabled-on-which-posts-<?php echo $block; ?>" name="<?php echo AI_OPTION_ENABLED_ON_WHICH_POSTS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_enabled_on_which_posts(); ?>" style="width:160px" title="Individual post exceptions (if enabled here) can be configured in post editor. Leave blank for no individual post exceptions.">
|
991 |
<option value="<?php echo AI_NO_INDIVIDUAL_EXCEPTIONS; ?>" <?php echo ($obj->get_ad_enabled_on_which_posts()==AI_NO_INDIVIDUAL_EXCEPTIONS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NO_INDIVIDUAL_EXCEPTIONS; ?></option>
|
992 |
-
<option value="<?php echo AI_INDIVIDUALLY_DISABLED; ?>" <?php echo ($obj->get_ad_enabled_on_which_posts()==AI_INDIVIDUALLY_DISABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
993 |
-
<option value="<?php echo AI_INDIVIDUALLY_ENABLED; ?>" <?php echo ($obj->get_ad_enabled_on_which_posts()==AI_INDIVIDUALLY_ENABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
994 |
</select>
|
995 |
|
996 |
-
<label for="display-posts-<?php echo $block; ?>" title="Individual post exceptions (if enabled here) can be configured in post editor. Leave blank for no individual post exceptions."
|
997 |
|
998 |
<?php
|
999 |
if (!empty ($block_exceptions [$block])) {
|
1000 |
?>
|
1001 |
-
<button id="exceptions-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; width: 15px; height: 15px; margin-left: 20px;" title="Toggle list of individual exceptions"></button>
|
1002 |
<?php
|
1003 |
}
|
1004 |
?>
|
@@ -1008,40 +1006,40 @@ function generate_settings_form (){
|
|
1008 |
</td>
|
1009 |
<td style="padding-left: 8px;">
|
1010 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_HOMEPAGE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1011 |
-
<input id= "display-homepage-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_HOMEPAGE, WP_FORM_FIELD_POSTFIX, $block; ?>" title="Enable insertion on homepage: latest posts (including sub-pages), static page or theme homepage" value="1" default="<?php echo $default->get_display_settings_home(); ?>" <?php if ($obj->get_display_settings_home()==AI_ENABLED) echo 'checked '; ?> />
|
1012 |
-
<label for="display-homepage-<?php echo $block; ?>" title="Enable insertion on homepage: latest posts (including sub-pages), static page or theme homepage"
|
1013 |
</td>
|
1014 |
<td style="padding-left: 8px;">
|
1015 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_CATEGORY_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1016 |
-
<input id= "display-category-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_CATEGORY_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" title="Enable insertion on category blog pages (including sub-pages)" value="1" default="<?php echo $default->get_display_settings_category(); ?>" <?php if ($obj->get_display_settings_category()==AI_ENABLED) echo 'checked '; ?> />
|
1017 |
-
<label for="display-category-<?php echo $block; ?>" title="Enable insertion on category blog pages (including sub-pages)"
|
1018 |
</td>
|
1019 |
</tr>
|
1020 |
|
1021 |
<tr>
|
1022 |
<td style="width: 70%">
|
1023 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1024 |
-
<input type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_display_settings_page(); ?>" id="display-pages-<?php echo $block; ?>" title="Enable insertion on static pages" <?php if ($obj->get_display_settings_page()==AI_ENABLED) echo 'checked '; ?> />
|
1025 |
|
1026 |
-
<select style="margin: 0 0 0 10px;" id="enabled-on-which-pages-<?php echo $block; ?>" name="<?php echo AI_OPTION_ENABLED_ON_WHICH_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_enabled_on_which_pages(); ?>" style="width:160px" title="Individual static page exceptions (if enabled here) can be configured in page editor. Leave blank for no individual page exceptions.">
|
1027 |
<option value="<?php echo AI_NO_INDIVIDUAL_EXCEPTIONS; ?>" <?php echo ($obj->get_ad_enabled_on_which_pages()==AI_NO_INDIVIDUAL_EXCEPTIONS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NO_INDIVIDUAL_EXCEPTIONS; ?></option>
|
1028 |
-
<option value="<?php echo AI_INDIVIDUALLY_DISABLED; ?>" <?php echo ($obj->get_ad_enabled_on_which_pages()==AI_INDIVIDUALLY_DISABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1029 |
-
<option value="<?php echo AI_INDIVIDUALLY_ENABLED; ?>" <?php echo ($obj->get_ad_enabled_on_which_pages()==AI_INDIVIDUALLY_ENABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1030 |
</select>
|
1031 |
|
1032 |
-
<label for="display-pages-<?php echo $block; ?>" title="Individual static page exceptions (if enabled here) can be configured in page editor. Leave blank for no individual page exceptions."
|
1033 |
</td>
|
1034 |
<td style="padding-left: 8px;">
|
1035 |
</td>
|
1036 |
<td style="padding-left: 8px;">
|
1037 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_SEARCH_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1038 |
-
<input id= "display-search-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_SEARCH_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" title="Enable insertion on search blog pages" value="1" default="<?php echo $default->get_display_settings_search(); ?>" <?php if ($obj->get_display_settings_search()==AI_ENABLED) echo 'checked '; ?> />
|
1039 |
-
<label for="display-search-<?php echo $block; ?>" title="Enable insertion on search blog pages"
|
1040 |
</td>
|
1041 |
<td style="padding-left: 8px;">
|
1042 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_ARCHIVE_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1043 |
-
<input id= "display-archive-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_ARCHIVE_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" title="Enable insertion on tag or archive blog pages" value="1" default="<?php echo $default->get_display_settings_archive(); ?>" <?php if ($obj->get_display_settings_archive()==AI_ENABLED) echo 'checked '; ?> />
|
1044 |
-
<label for="display-archive-<?php echo $block; ?>" title="Enable insertion on tag or archive blog pages"
|
1045 |
</td>
|
1046 |
</tr>
|
1047 |
</table>
|
@@ -1054,10 +1052,10 @@ function generate_settings_form (){
|
|
1054 |
?>
|
1055 |
<table class="exceptions" cellspacing=0 cellpadding=0><tbody>
|
1056 |
<tr>
|
1057 |
-
<th class="id">ID</th><th class="type"
|
1058 |
<input id="clear-block-exceptions-<?php echo $block; ?>"
|
1059 |
-
onclick="if (confirm('Are you sure you want to clear all exceptions for block
|
1060 |
-
title="Clear all exceptions for block
|
1061 |
name="<?php echo AI_FORM_CLEAR_EXCEPTIONS; ?>"
|
1062 |
value="❌"
|
1063 |
type="submit"
|
@@ -1077,7 +1075,6 @@ function generate_settings_form (){
|
|
1077 |
<?php
|
1078 |
}
|
1079 |
?>
|
1080 |
-
|
1081 |
</tbody></table>
|
1082 |
<?php
|
1083 |
};
|
@@ -1087,11 +1084,11 @@ function generate_settings_form (){
|
|
1087 |
<div id="html-element-settings-<?php echo $block; ?>" class="rounded" style="<?php echo $html_settings ? "" : " display: none;" ?>">
|
1088 |
<div class="max-input" style="margin: 0 0 8px 0;">
|
1089 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1090 |
-
HTML element
|
1091 |
|
1092 |
</span>
|
1093 |
<span style="display: table-cell; width: 20px; vertical-align: middle; padding: 0 2px 2px 0;">
|
1094 |
-
<button id="html-elements-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="Open HTML element selector"></button>
|
1095 |
</span>
|
1096 |
<span style="display: table-cell;">
|
1097 |
<input
|
@@ -1100,13 +1097,13 @@ function generate_settings_form (){
|
|
1100 |
name="<?php echo AI_OPTION_HTML_SELECTOR, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1101 |
default="<?php echo $default->get_html_selector (); ?>"
|
1102 |
value="<?php echo $obj->get_html_selector (); ?>"
|
1103 |
-
title="HTML element selector or comma separated list of selectors (.class, #id)"
|
1104 |
style="width: 100%;"
|
1105 |
maxlength="80" />
|
1106 |
</span>
|
1107 |
<span id="inside-element-<?php echo $block; ?>" style="display: table-cell; white-space: nowrap; width: 20%;<?php if ($automatic_insertion != AI_AUTOMATIC_INSERTION_INSIDE_HTML_ELEMENT) echo ' display: none;'; ?>">
|
1108 |
|
1109 |
-
Action
|
1110 |
<select style="margin: 0 0 2px 0;" name="<?php echo AI_OPTION_INSIDE_ELEMENT, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_inside_element (); ?>">
|
1111 |
<option value="<?php echo AI_HTML_PREPEND_CONTENT; ?>" <?php echo ($inside_element == AI_HTML_PREPEND_CONTENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_PREPEND_CONTENT; ?></option>
|
1112 |
<option value="<?php echo AI_HTML_APPEND_CONTENT; ?>" <?php echo ($inside_element == AI_HTML_APPEND_CONTENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_APPEND_CONTENT; ?></option>
|
@@ -1117,8 +1114,8 @@ function generate_settings_form (){
|
|
1117 |
</div>
|
1118 |
<div class="max-input" style="margin: 8px 0 0 0;">
|
1119 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1120 |
-
Insertion
|
1121 |
-
<select id="html-element-insertion-<?php echo $block; ?>" style="margin-bottom: 3px;" name="<?php echo AI_OPTION_HTML_ELEMENT_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_html_element_insertion (); ?>" title="Client-side insertion uses
|
1122 |
<option value="<?php echo AI_HTML_INSERTION_CLIENT_SIDE; ?>" <?php echo ($html_element_insertion == AI_HTML_INSERTION_CLIENT_SIDE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CLIENT_SIDE; ?></option>
|
1123 |
<option value="<?php echo AI_HTML_INSERTION_CLIENT_SIDE_DOM_READY; ?>" <?php echo ($html_element_insertion == AI_HTML_INSERTION_CLIENT_SIDE_DOM_READY) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CLIENT_SIDE_DOM_READY; ?></option>
|
1124 |
<?php if (defined ('AI_BUFFERING') && get_output_buffering ()) : ?>
|
@@ -1128,8 +1125,8 @@ function generate_settings_form (){
|
|
1128 |
</span>
|
1129 |
<span id="server-side-insertion-<?php echo $block; ?>" style="display: table-cell; white-space: nowrap;<?php if ($html_element_insertion == AI_HTML_INSERTION_SEREVR_SIDE) echo 'display: none;'; ?>">
|
1130 |
|
1131 |
-
|
1132 |
-
<select style="max-width: 140px; margin-bottom: 3px;" name="<?php echo AI_OPTION_SERVER_SIDE_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_server_side_insertion (); ?>" title="Page position where the
|
1133 |
<option value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_POST; ?>" <?php echo ($server_side_insertion == AI_AUTOMATIC_INSERTION_BEFORE_POST) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_POST; ?></option>
|
1134 |
<option value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_POST; ?>" <?php echo ($server_side_insertion == AI_AUTOMATIC_INSERTION_AFTER_POST) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_POST; ?></option>
|
1135 |
<option value="<?php echo AI_AUTOMATIC_INSERTION_FOOTER; ?>" <?php echo ($server_side_insertion == AI_AUTOMATIC_INSERTION_FOOTER) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_FOOTER; ?></option>
|
@@ -1143,20 +1140,20 @@ function generate_settings_form (){
|
|
1143 |
|
1144 |
<div id="paragraph-settings-<?php echo $block; ?>" class="rounded" style="<?php echo $paragraph_settings ? "" : " display: none;" ?>">
|
1145 |
<div style="float: left; margin-top: 1px;">
|
1146 |
-
|
1147 |
<input
|
1148 |
type="text"
|
1149 |
name="<?php echo AI_OPTION_PARAGRAPH_NUMBER, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1150 |
default="<?php echo $default->get_paragraph_number(); ?>"
|
1151 |
value="<?php echo $obj->get_paragraph_number(); ?>"
|
1152 |
-
title="Paragraph number or comma separated paragraph numbers
|
1153 |
size="20"
|
1154 |
maxlength="50" />
|
1155 |
</div>
|
1156 |
|
1157 |
<div style="float: right;">
|
1158 |
-
<button id="counting-button-<?php echo $block; ?>" type="button" class='ai-button' style="min-width: 85px; margin-right: 8px; display: none;"
|
1159 |
-
<button id="clearance-button-<?php echo $block; ?>" type="button" class='ai-button' style="min-width: 85px; margin-right: 0px; display: none;"
|
1160 |
</div>
|
1161 |
|
1162 |
<div style="clear: both;"></div>
|
@@ -1165,17 +1162,19 @@ function generate_settings_form (){
|
|
1165 |
<div id="paragraph-counting-<?php echo $block; ?>" class="rounded" style="<?php echo $paragraph_counting ? "" : "display: none;" ?>">
|
1166 |
<div class="max-input" style="margin: 0 0 8px 0;">
|
1167 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1168 |
-
Count
|
|
|
1169 |
<select name="<?php echo AI_OPTION_DIRECTION_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_direction_type(); ?>">
|
1170 |
-
<option value="<?php echo
|
1171 |
-
<option value="<?php echo
|
1172 |
</select>
|
1173 |
-
paragraphs with tags
|
|
|
1174 |
</span>
|
1175 |
<span style="display: table-cell;">
|
1176 |
<input
|
1177 |
style="width: 100%;"
|
1178 |
-
title="Comma separated HTML tag names, usually only 'p' tags are used"
|
1179 |
type="text" name="<?php echo AI_OPTION_PARAGRAPH_TAGS, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1180 |
default="<?php echo $default->get_paragraph_tags(); ?>"
|
1181 |
value="<?php echo $obj->get_paragraph_tags(); ?>"
|
@@ -1184,39 +1183,40 @@ function generate_settings_form (){
|
|
1184 |
</span>
|
1185 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1186 |
|
1187 |
-
that have between
|
1188 |
<input
|
1189 |
type="text"
|
1190 |
name="<?php echo AI_OPTION_MIN_PARAGRAPH_WORDS, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1191 |
default="<?php echo $default->get_minimum_paragraph_words(); ?>"
|
1192 |
value="<?php echo $obj->get_minimum_paragraph_words(); ?>"
|
|
|
1193 |
size="4"
|
1194 |
maxlength="5" />
|
1195 |
-
and
|
1196 |
<input
|
1197 |
type="text"
|
1198 |
name="<?php echo AI_OPTION_MAX_PARAGRAPH_WORDS, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1199 |
default="<?php echo $default->get_maximum_paragraph_words(); ?>"
|
1200 |
value="<?php echo $obj->get_maximum_paragraph_words(); ?>"
|
1201 |
-
title="Maximum number of paragraph words, leave empty for no limit"
|
1202 |
size="4"
|
1203 |
maxlength="5" />
|
1204 |
-
words
|
1205 |
</span>
|
1206 |
</div>
|
1207 |
|
1208 |
<div class="max-input" style="margin: 8px 0 8px 0;">
|
1209 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1210 |
-
and
|
1211 |
<select style="margin-bottom: 3px;" name="<?php echo AI_OPTION_PARAGRAPH_TEXT_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_paragraph_text_type(); ?>">
|
1212 |
-
<option value="<?php echo
|
1213 |
-
<option value="<?php echo
|
1214 |
</select>
|
1215 |
</span>
|
1216 |
<span class="small-input-tags" style="display: table-cell;">
|
1217 |
<input
|
1218 |
style="width: 100%;"
|
1219 |
-
title="Comma separated
|
1220 |
type="text"
|
1221 |
name="<?php echo AI_OPTION_PARAGRAPH_TEXT, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1222 |
default="<?php echo $default->get_paragraph_text(); ?>"
|
@@ -1225,7 +1225,7 @@ function generate_settings_form (){
|
|
1225 |
</span>
|
1226 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1227 |
|
1228 |
-
Minimum number of paragraphs
|
1229 |
<input
|
1230 |
type="text"
|
1231 |
name="<?php echo AI_OPTION_MIN_PARAGRAPHS, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
@@ -1240,7 +1240,7 @@ function generate_settings_form (){
|
|
1240 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1241 |
<input type="hidden" name="<?php echo AI_OPTION_COUNT_INSIDE_BLOCKQUOTE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1242 |
<input id= "ignore_blockquote-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_COUNT_INSIDE_BLOCKQUOTE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_count_inside_blockquote(); ?>" <?php if ($obj->get_count_inside_blockquote()==AI_ENABLED) echo 'checked '; ?> />
|
1243 |
-
<label for="ignore_blockquote-<?php echo $block; ?>" style="vertical-align: top;" title="
|
1244 |
</span>
|
1245 |
|
1246 |
<span class="small-input-tags" style="display: table-cell;">
|
@@ -1251,13 +1251,13 @@ function generate_settings_form (){
|
|
1251 |
|
1252 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1253 |
|
1254 |
-
Minimum number of words in paragraphs above
|
1255 |
<input
|
1256 |
type="text"
|
1257 |
name="<?php echo AI_OPTION_MIN_WORDS_ABOVE, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1258 |
default="<?php echo $default->get_minimum_words_above(); ?>"
|
1259 |
value="<?php echo $obj->get_minimum_words_above() ?>"
|
1260 |
-
title="Used only with automatic insertion After paragraph and empty paragraph numbers"
|
1261 |
size="2"
|
1262 |
maxlength="4" />
|
1263 |
</span>
|
@@ -1267,21 +1267,22 @@ function generate_settings_form (){
|
|
1267 |
<div id="paragraph-clearance-<?php echo $block; ?>" class="rounded" style="<?php echo $paragraph_clearance ? "" : "display: none;" ?>">
|
1268 |
<div class="max-input" style="margin: 0 0 8px 0">
|
1269 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1270 |
-
In
|
1271 |
<input
|
1272 |
type="text"
|
1273 |
name="<?php echo AI_OPTION_AVOID_PARAGRAPHS_ABOVE, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1274 |
default="<?php echo $default->get_avoid_paragraphs_above(); ?>"
|
1275 |
value="<?php echo $obj->get_avoid_paragraphs_above(); ?>"
|
1276 |
-
title="Number of paragraphs above to check, leave empty to disable checking"
|
1277 |
size="2"
|
1278 |
maxlength="3" />
|
1279 |
-
paragraphs above avoid
|
|
|
1280 |
</span>
|
1281 |
<span style="display: table-cell;">
|
1282 |
<input
|
1283 |
style="width: 100%;"
|
1284 |
-
title="Comma separated
|
1285 |
type="text"
|
1286 |
name="<?php echo AI_OPTION_AVOID_TEXT_ABOVE, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1287 |
default="<?php echo $default->get_avoid_text_above(); ?>"
|
@@ -1292,21 +1293,22 @@ function generate_settings_form (){
|
|
1292 |
|
1293 |
<div class="max-input" style="margin: 8px 0">
|
1294 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1295 |
-
In
|
1296 |
<input
|
1297 |
type="text"
|
1298 |
name="<?php echo AI_OPTION_AVOID_PARAGRAPHS_BELOW, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1299 |
default="<?php echo $default->get_avoid_paragraphs_below(); ?>"
|
1300 |
value="<?php echo $obj->get_avoid_paragraphs_below(); ?>"
|
1301 |
-
title="Number of paragraphs below to check, leave empty to disable checking"
|
1302 |
size="2"
|
1303 |
maxlength="3" />
|
1304 |
-
paragraphs below avoid
|
|
|
1305 |
</span>
|
1306 |
<span style="display: table-cell;">
|
1307 |
<input
|
1308 |
style="width: 100%;"
|
1309 |
-
title="Comma separated
|
1310 |
type="text"
|
1311 |
name="<?php echo AI_OPTION_AVOID_TEXT_BELOW, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1312 |
default="<?php echo $default->get_avoid_text_below(); ?>"
|
@@ -1316,13 +1318,14 @@ function generate_settings_form (){
|
|
1316 |
</div>
|
1317 |
|
1318 |
<div style="margin: 8px 0 0 0;">
|
1319 |
-
If text is found
|
1320 |
<select id="avoid-action-<?php echo $block; ?>" style="margin-bottom: 3px;" name="<?php echo AI_OPTION_AVOID_ACTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_avoid_action(); ?>">
|
1321 |
-
<option value="<?php echo
|
1322 |
-
<option value="<?php echo
|
1323 |
</select>
|
1324 |
<span id="check-up-to-<?php echo $block; ?>">
|
1325 |
-
—
|
|
|
1326 |
<input
|
1327 |
type="text"
|
1328 |
name="<?php echo AI_OPTION_AVOID_TRY_LIMIT, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
@@ -1330,12 +1333,12 @@ function generate_settings_form (){
|
|
1330 |
value="<?php echo $obj->get_avoid_try_limit(); ?>"
|
1331 |
size="2"
|
1332 |
maxlength="3" />
|
1333 |
-
paragraphs
|
1334 |
<select style="margin-bottom: 3px;" name="<?php echo AI_OPTION_AVOID_DIRECTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_avoid_direction(); ?>">
|
1335 |
-
<option value="<?php echo
|
1336 |
-
<option value="<?php echo
|
1337 |
-
<option value="<?php echo
|
1338 |
-
<option value="<?php echo
|
1339 |
</select>
|
1340 |
</span>
|
1341 |
</div>
|
@@ -1346,21 +1349,21 @@ function generate_settings_form (){
|
|
1346 |
<tbody>
|
1347 |
<tr>
|
1348 |
<td>
|
1349 |
-
Categories
|
1350 |
</td>
|
1351 |
<td>
|
1352 |
-
<button id="category-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="Toggle category editor"></button>
|
1353 |
</td>
|
1354 |
<td style="padding-right: 7px; width: 65%;">
|
1355 |
-
<input id="category-list-<?php echo $block; ?>" class="ai-list-filter ai-list-custom" style="width: 100%;" title="Comma separated category slugs" type="text" name="<?php echo AI_OPTION_CATEGORY_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_block_cat(); ?>" value="<?php echo $cat_list; ?>" size="54" maxlength="500" />
|
1356 |
</td>
|
1357 |
<td style="padding-right: 7px;">
|
1358 |
-
<input type="radio" name="<?php echo AI_OPTION_CATEGORY_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="category-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_cat_type() ==
|
1359 |
-
<label for="category-blacklist-<?php echo $block; ?>" title="Blacklist categories"><?php echo
|
1360 |
</td>
|
1361 |
<td>
|
1362 |
-
<input type="radio" name="<?php echo AI_OPTION_CATEGORY_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="category-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_cat_type() ==
|
1363 |
-
<label for="category-whitelist-<?php echo $block; ?>" title="Whitelist categories"><?php echo
|
1364 |
</td>
|
1365 |
</tr>
|
1366 |
<tr>
|
@@ -1372,21 +1375,21 @@ function generate_settings_form (){
|
|
1372 |
|
1373 |
<tr>
|
1374 |
<td>
|
1375 |
-
Tags
|
1376 |
</td>
|
1377 |
<td>
|
1378 |
-
<button id="tag-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="Toggle tag editor"></button>
|
1379 |
</td>
|
1380 |
<td style="padding-right: 7px;">
|
1381 |
-
<input id="tag-list-<?php echo $block; ?>" class="ai-list-filter ai-list-custom" style="width: 100%;" title="Comma separated tag slugs" type="text" name="<?php echo AI_OPTION_TAG_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_block_tag(); ?>" value="<?php echo $tag_list; ?>" size="54" maxlength="500"/>
|
1382 |
</td>
|
1383 |
<td style="padding-right: 7px;">
|
1384 |
-
<input type="radio" name="<?php echo AI_OPTION_TAG_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="tag-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_tag_type() ==
|
1385 |
-
<label for="tag-blacklist-<?php echo $block; ?>" title="Blacklist tags"><?php echo
|
1386 |
</td>
|
1387 |
<td>
|
1388 |
-
<input type="radio" name="<?php echo AI_OPTION_TAG_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="tag-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_tag_type() ==
|
1389 |
-
<label for="tag-whitelist-<?php echo $block; ?>" title="Whitelist tags"><?php echo
|
1390 |
</td>
|
1391 |
</tr>
|
1392 |
<tr>
|
@@ -1398,21 +1401,21 @@ function generate_settings_form (){
|
|
1398 |
|
1399 |
<tr>
|
1400 |
<td>
|
1401 |
-
Taxonomies
|
1402 |
</td>
|
1403 |
<td>
|
1404 |
-
<button id="taxonomy-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="Toggle taxonomy editor"></button>
|
1405 |
</td>
|
1406 |
<td style="padding-right: 7px;">
|
1407 |
-
<input id="taxonomy-list-<?php echo $block; ?>" class="ai-list-custom" style="width: 100%;" title="Comma separated slugs: taxonomy, term or taxonomy:term" type="text" name="<?php echo AI_OPTION_TAXONOMY_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_block_taxonomy(); ?>" value="<?php echo $taxonomy_list; ?>" size="54" maxlength="500" />
|
1408 |
</td>
|
1409 |
<td style="padding-right: 7px;">
|
1410 |
-
<input type="radio" name="<?php echo AI_OPTION_TAXONOMY_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="taxonomy-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_taxonomy_type() ==
|
1411 |
-
<label for="category-blacklist-<?php echo $block; ?>" title="Blacklist taxonomies"><?php echo
|
1412 |
</td>
|
1413 |
<td>
|
1414 |
-
<input type="radio" name="<?php echo AI_OPTION_TAXONOMY_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="taxonomy-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_taxonomy_type() ==
|
1415 |
-
<label for="category-whitelist-<?php echo $block; ?>" title="Whitelist taxonomies"><?php echo
|
1416 |
</td>
|
1417 |
</tr>
|
1418 |
<tr>
|
@@ -1424,21 +1427,21 @@ function generate_settings_form (){
|
|
1424 |
|
1425 |
<tr>
|
1426 |
<td>
|
1427 |
-
Post IDs
|
1428 |
</td>
|
1429 |
<td>
|
1430 |
-
<button id="id-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="Toggle post/page ID editor"></button>
|
1431 |
</td>
|
1432 |
<td style="padding-right: 7px;">
|
1433 |
-
<input id="id-list-<?php echo $block; ?>" class="ai-list-custom" style="width: 100%;" title="Comma separated post/page IDs" type="text" name="<?php echo AI_OPTION_ID_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_id_list(); ?>" value="<?php echo $id_list; ?>" size="54" maxlength="500"/>
|
1434 |
</td>
|
1435 |
<td style="padding-right: 7px;">
|
1436 |
-
<input type="radio" name="<?php echo AI_OPTION_ID_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="id-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_id_list_type() ==
|
1437 |
-
<label for="id-blacklist-<?php echo $block; ?>" title="Blacklist IDs"><?php echo
|
1438 |
</td>
|
1439 |
<td>
|
1440 |
-
<input type="radio" name="<?php echo AI_OPTION_ID_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="id-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_id_list_type() ==
|
1441 |
-
<label for="id-whitelist-<?php echo $block; ?>" title="Whitelist IDs"><?php echo
|
1442 |
</td>
|
1443 |
</tr>
|
1444 |
<tr>
|
@@ -1450,21 +1453,21 @@ function generate_settings_form (){
|
|
1450 |
|
1451 |
<tr>
|
1452 |
<td>
|
1453 |
-
Urls
|
1454 |
</td>
|
1455 |
<td>
|
1456 |
-
<button id="url-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="Toggle url editor"></button>
|
1457 |
</td>
|
1458 |
<td style="padding-right: 7px;">
|
1459 |
-
<input id="url-list-<?php echo $block; ?>" class="ai-list-space ai-clean-protocol ai-clean-domain" style="width: 100%;" type="text" name="<?php echo AI_OPTION_URL_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_url_list(); ?>" value="<?php echo $url_list; ?>" size="54" maxlength="500" title="Comma separated urls (page addresses) starting with / after domain name (e.g. /permalink-url, use only when you need to taget a specific url not accessible by other means). You can also use partial urls with * (/url-start*. *url-pattern*, *url-end)" />
|
1460 |
</td>
|
1461 |
<td style="padding-right: 7px;">
|
1462 |
-
<input type="radio" name="<?php echo AI_OPTION_URL_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="url-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_url_list_type() ==
|
1463 |
-
<label for="url-blacklist-<?php echo $block; ?>" title="Blacklist urls"><?php echo
|
1464 |
</td>
|
1465 |
<td>
|
1466 |
-
<input type="radio" name="<?php echo AI_OPTION_URL_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="url-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_url_list_type() ==
|
1467 |
-
<label for="url-whitelist-<?php echo $block; ?>" title="Whitelist urls"><?php echo
|
1468 |
</td>
|
1469 |
</tr>
|
1470 |
<tr>
|
@@ -1475,22 +1478,22 @@ function generate_settings_form (){
|
|
1475 |
|
1476 |
<tr>
|
1477 |
<td>
|
1478 |
-
Url parameters
|
1479 |
|
1480 |
</td>
|
1481 |
<td>
|
1482 |
-
<button id="url-parameter-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="Toggle url parameter editor"></button>
|
1483 |
</td>
|
1484 |
<td style="padding-right: 7px;">
|
1485 |
-
<input id="url-parameter-list-<?php echo $block; ?>" style="width: 100%;" title="Comma separated url query parameters or cookies with optional values (use 'prameter', 'prameter=value', 'cookie' or 'cookie=value')" type="text" name="<?php echo AI_OPTION_URL_PARAMETER_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_url_parameter_list(); ?>" value="<?php echo $url_parameter_list; ?>" size="54" maxlength="500"/>
|
1486 |
</td>
|
1487 |
<td style="padding-right: 7px;">
|
1488 |
-
<input type="radio" name="<?php echo AI_OPTION_URL_PARAMETER_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="url-parameter-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_url_parameter_list_type() ==
|
1489 |
-
<label for="url-parameter-blacklist-<?php echo $block; ?>" title="Blacklist url parameters"><?php echo
|
1490 |
</td>
|
1491 |
<td>
|
1492 |
-
<input type="radio" name="<?php echo AI_OPTION_URL_PARAMETER_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="url-parameter-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_url_parameter_list_type() ==
|
1493 |
-
<label for="url-parameter-whitelist-<?php echo $block; ?>" title="Whitelist url parameters"><?php echo
|
1494 |
</td>
|
1495 |
</tr>
|
1496 |
<tr>
|
@@ -1501,21 +1504,21 @@ function generate_settings_form (){
|
|
1501 |
|
1502 |
<tr>
|
1503 |
<td>
|
1504 |
-
Referers
|
1505 |
</td>
|
1506 |
<td>
|
1507 |
-
<button id="referer-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="Toggle referer editor"></button>
|
1508 |
</td>
|
1509 |
<td style="padding-right: 7px;">
|
1510 |
-
<input id="referer-list-<?php echo $block; ?>" class="ai-clean-protocol ai-only-domain ai-list-sort" style="width: 100%;" title="Comma separated domains, use # for no referer" type="text" name="<?php echo AI_OPTION_DOMAIN_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_domain_list(); ?>" value="<?php echo $domain_list; ?>" size="54" maxlength="500"/>
|
1511 |
</td>
|
1512 |
<td style="padding-right: 7px;">
|
1513 |
-
<input type="radio" name="<?php echo AI_OPTION_DOMAIN_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="referer-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_domain_list_type() ==
|
1514 |
-
<label for="referer-blacklist-<?php echo $block; ?>" title="Blacklist referers"><?php echo
|
1515 |
</td>
|
1516 |
<td>
|
1517 |
-
<input type="radio" name="<?php echo AI_OPTION_DOMAIN_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="referer-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_domain_list_type() ==
|
1518 |
-
<label for="referer-whitelist-<?php echo $block; ?>" title="Whitelist referers"><?php echo
|
1519 |
</td>
|
1520 |
</tr>
|
1521 |
<tr>
|
@@ -1535,8 +1538,8 @@ function generate_settings_form (){
|
|
1535 |
<td style="padding: 4px 10px 4px 0;">
|
1536 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_WIDGET, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1537 |
<input id="enable-widget-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_WIDGET, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_widget(); ?>" <?php if ($obj->get_enable_widget () == AI_ENABLED) echo 'checked '; ?> />
|
1538 |
-
<label for="enable-widget-<?php echo $block; ?>" title="Enable widget for this block">
|
1539 |
-
Widget
|
1540 |
</label>
|
1541 |
</td>
|
1542 |
<td>
|
@@ -1547,8 +1550,8 @@ function generate_settings_form (){
|
|
1547 |
<td style="padding: 4px 10px 4px 0;">
|
1548 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_MANUAL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1549 |
<input type="checkbox" id="enable-shortcode-<?php echo $block; ?>" name="<?php echo AI_OPTION_ENABLE_MANUAL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_manual(); ?>" <?php if ($obj->get_enable_manual () == AI_ENABLED) echo 'checked '; ?> />
|
1550 |
-
<label for="enable-shortcode-<?php echo $block; ?>" title="Enable shortcode for manual insertion of this block in posts and pages">
|
1551 |
-
Shortcode
|
1552 |
</label>
|
1553 |
</td>
|
1554 |
<td>
|
@@ -1563,8 +1566,8 @@ function generate_settings_form (){
|
|
1563 |
<td style="padding: 4px 10px 4px 0;">
|
1564 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_PHP_CALL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1565 |
<input id="enable-php-call-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_PHP_CALL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_php_call(); ?>" <?php if ($manual_php_function [$block] == AI_ENABLED) echo 'checked '; ?> />
|
1566 |
-
<label for="enable-php-call-<?php echo $block; ?>" title="Enable PHP function call to insert this block at any position in
|
1567 |
-
PHP function
|
1568 |
</label>
|
1569 |
</td>
|
1570 |
<td class="select">
|
@@ -1579,22 +1582,22 @@ function generate_settings_form (){
|
|
1579 |
|
1580 |
<div id="ai-devices-container-<?php echo $block; ?>" style="padding: 0; margin 8px 0 0 0; border: 0;">
|
1581 |
<ul id="ai-devices-tabs-<?php echo $block; ?>" style="display: none;">
|
1582 |
-
<li id="ai-client-side-detection-<?php echo $block; ?>"><a href="#tab-client-side-<?php echo $block; ?>"><span style="<?php echo $client_side_style; ?>"
|
1583 |
-
<li id="ai-server-side-detection<?php echo $block; ?>"><a href="#tab-server-side-<?php echo $block; ?>"><span style="<?php echo $server_side_style; ?>"
|
1584 |
</ul>
|
1585 |
|
1586 |
<div id="tab-client-side-<?php echo $block; ?>" class="rounded" style="padding-top: 0;">
|
1587 |
<div style="float: left; margin-top: 10px;">
|
1588 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_CLIENT_SIDE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1589 |
<input id="client-side-detection-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_DETECT_CLIENT_SIDE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_detection_client_side(); ?>" <?php if ($obj->get_detection_client_side ()==AI_ENABLED) echo 'checked '; ?> />
|
1590 |
-
<label for="client-side-detection-<?php echo $block; ?>" style="vertical-align: baseline;"
|
1591 |
|
1592 |
<select id="client-side-action-<?php echo $block; ?>" name="<?php echo AI_OPTION_CLIENT_SIDE_ACTION, WP_FORM_FIELD_POSTFIX, $block; ?>" style="margin: -4px 1px -2px 1px;" default="<?php echo $default->get_client_side_action (); ?>" title="Either show/hide or inseret when the page is loaded on wanted viewports">
|
1593 |
<option value="<?php echo AI_CLIENT_SIDE_ACTION_SHOW; ?>" <?php echo ($obj->get_client_side_action () == AI_CLIENT_SIDE_ACTION_SHOW) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo strtolower (AI_TEXT_SHOW); ?></option>
|
1594 |
<option value="<?php echo AI_CLIENT_SIDE_ACTION_INSERT; ?>" <?php echo ($obj->get_client_side_action () == AI_CLIENT_SIDE_ACTION_INSERT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo strtolower (AI_TEXT_INSERT); ?></option>
|
1595 |
</select>
|
1596 |
|
1597 |
-
<label style="vertical-align: baseline;"> only on
|
1598 |
</div>
|
1599 |
|
1600 |
<div style="float: left; margin: 7px 0 -2px 0;">
|
@@ -1624,7 +1627,7 @@ function generate_settings_form (){
|
|
1624 |
<td style='padding: 0 0 0 20px;'>
|
1625 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_VIEWPORT, '_', $viewport, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1626 |
<input type="checkbox" name="<?php echo AI_OPTION_DETECT_VIEWPORT, '_', $viewport, WP_FORM_FIELD_POSTFIX, $block; ?>" id="viewport-<?php echo $viewport, "-", $block; ?>" value="1" default="<?php echo $default->get_detection_viewport ($viewport); ?>" <?php if ($obj->get_detection_viewport ($viewport)==AI_ENABLED) echo 'checked '; ?> />
|
1627 |
-
<label for="viewport-<?php echo $viewport, "-", $block; ?>" title="Device min width
|
1628 |
</td>
|
1629 |
<?php
|
1630 |
$column ++;
|
@@ -1649,17 +1652,16 @@ function generate_settings_form (){
|
|
1649 |
<div id="tab-server-side-<?php echo $block; ?>" class="rounded">
|
1650 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1651 |
<input type="checkbox" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="server-side-detection-<?php echo $block; ?>" value="1" default="<?php echo $default->get_detection_server_side(); ?>" <?php if ($obj->get_detection_server_side ()==AI_ENABLED) echo 'checked '; ?> />
|
1652 |
-
<label for="server-side-detection-<?php echo $block; ?>" style="vertical-align: baseline;"
|
1653 |
|
1654 |
<select id="display-for-devices-<?php echo $block; ?>" name="<?php echo AI_OPTION_DISPLAY_FOR_DEVICES, WP_FORM_FIELD_POSTFIX, $block; ?>" style="margin: -4px 1px -2px 1px;" default="<?php echo $default->get_display_for_devices(); ?>">
|
1655 |
-
<option value="<?php echo
|
1656 |
-
<option value="<?php echo
|
1657 |
-
<option value="<?php echo
|
1658 |
-
<option value="<?php echo
|
1659 |
-
<option value="<?php echo
|
1660 |
-
<option value="<?php echo
|
1661 |
</select>
|
1662 |
-
devices
|
1663 |
</div>
|
1664 |
</div>
|
1665 |
|
@@ -1668,13 +1670,13 @@ function generate_settings_form (){
|
|
1668 |
<div id="misc-settings-<?php echo $block; ?>" style="<?php if (!$show_misc) echo 'display: none;'; ?>">
|
1669 |
<div id="ai-misc-container-<?php echo $block; ?>" style="padding: 0; margin 8px 0 0 0; border: 0;">
|
1670 |
<ul id="ai-misc-tabs-<?php echo $block; ?>" style="display: none;">
|
1671 |
-
<li id="ai-misc-insertion-<?php echo $block; ?>"><a href="#tab-insertion-<?php echo $block; ?>"><span style="<?php echo $insertion_style; ?>"
|
1672 |
-
<li id="ai-misc-filter-<?php echo $block; ?>"><a href="#tab-filter-<?php echo $block; ?>"><span style="<?php echo $filter_style; ?>"
|
1673 |
-
<li id="ai-misc-word-count-<?php echo $block; ?>"><a href="#tab-word-count-<?php echo $block; ?>"><span style="<?php echo $word_count_style; ?>"
|
1674 |
-
<li id="ai-misc-scheduling-<?php echo $block; ?>"><a href="#tab-scheduling-<?php echo $block; ?>"><span style="<?php echo $scheduling_style; ?>"
|
1675 |
-
<li id="ai-misc-display-<?php echo $block; ?>"><a href="#tab-display-<?php echo $block; ?>"><span style="<?php echo $display_style; ?>"
|
1676 |
<?php if (function_exists ('ai_adb_action_0')) ai_adb_action_0 ($block, $adb_style); ?>
|
1677 |
-
<li id="ai-misc-general-<?php echo $block; ?>"><a href="#tab-general-<?php echo $block; ?>"><span style="<?php echo $general_style; ?>"
|
1678 |
</ul>
|
1679 |
|
1680 |
<div id="tab-insertion-<?php echo $block; ?>" class="max-input" style="padding: 0;">
|
@@ -1685,22 +1687,23 @@ function generate_settings_form (){
|
|
1685 |
<td>
|
1686 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_AMP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1687 |
<input style="" id="enable-amp-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_AMP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_amp(true); ?>" <?php if ($obj->get_enable_amp (true) == AI_ENABLED) echo 'checked '; ?> />
|
1688 |
-
<label for="enable-amp-<?php echo $block; ?>" style="<?php if (!$obj->get_enable_amp (true) && $obj->get_enable_amp ()) echo ' color: red;' ?>"
|
|
|
1689 |
</td>
|
1690 |
<td>
|
1691 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_AJAX, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1692 |
<input style="margin-left: 10px;" id="enable-ajax-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_AJAX, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_ajax(); ?>" <?php if ($obj->get_enable_ajax () == AI_ENABLED) echo 'checked '; ?> />
|
1693 |
-
<label for="enable-ajax-<?php echo $block; ?>" title="Enable insertion for Ajax requests"
|
1694 |
</td>
|
1695 |
<td>
|
1696 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_FEED, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1697 |
<input style="margin-left: 10px;" id="enable-feed-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_FEED, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_feed(); ?>" <?php if ($obj->get_enable_feed () == AI_ENABLED) echo 'checked '; ?> />
|
1698 |
-
<label for="enable-feed-<?php echo $block; ?>" title="Enable insertion in RSS feeds"
|
1699 |
</td>
|
1700 |
<td>
|
1701 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_404, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1702 |
<input style="margin-left: 10px;" id="enable-404-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_404, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_404(); ?>" <?php if ($obj->get_enable_404 () == AI_ENABLED) echo 'checked '; ?> />
|
1703 |
-
<label for="enable-404-<?php echo $block; ?>" title="Enable insertion on page for Error 404: Page not found"
|
1704 |
</td>
|
1705 |
<td>
|
1706 |
</tr>
|
@@ -1712,13 +1715,13 @@ function generate_settings_form (){
|
|
1712 |
<table class="responsive-table" style="width: 100%">
|
1713 |
<tbody>
|
1714 |
<tr>
|
1715 |
-
<td style="width: 20%" title="Maximum number of insertion of this block. Empty or 0 means no limit">
|
1716 |
-
Max <input type="text" style="width: 32px;" name="<?php echo AI_OPTION_MAXIMUM_INSERTIONS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_maximum_insertions (); ?>" value="<?php echo $obj->get_maximum_insertions (); ?>" size="1" maxlength="3" /> insertions
|
1717 |
</td>
|
1718 |
-
<td title="Count this block for Max blocks per page limit (defined on the tab ⚙ / tab General)">
|
1719 |
<input type="hidden" name="<?php echo AI_OPTION_MAX_PAGE_BLOCKS_ENABLED, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1720 |
<input id="max-page-blocks-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_MAX_PAGE_BLOCKS_ENABLED, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_max_page_blocks_enabled (); ?>" <?php if ($obj->get_max_page_blocks_enabled () == AI_ENABLED) echo 'checked '; ?> />
|
1721 |
-
<label for="max-page-blocks-<?php echo $block; ?>"
|
1722 |
</td>
|
1723 |
</tr>
|
1724 |
</tbody>
|
@@ -1730,24 +1733,24 @@ function generate_settings_form (){
|
|
1730 |
<tbody>
|
1731 |
<tr>
|
1732 |
<td>
|
1733 |
-
Insert for
|
1734 |
<select id="display-for-users-<?php echo $block; ?>" style="margin: 0 1px; width:160px" name="<?php echo AI_OPTION_DISPLAY_FOR_USERS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_display_for_users(); ?>">
|
1735 |
-
<option value="<?php echo
|
1736 |
-
<option value="<?php echo
|
1737 |
-
<option value="<?php echo
|
1738 |
-
<option value="<?php echo
|
1739 |
</select>
|
1740 |
</td>
|
1741 |
-
<td title="Insert block only when WP function in_the_loop () returns true (WP loop is currently active). Might speed up insertion on content pages when the_content filter is called multiple times." >
|
1742 |
<input type="hidden" name="<?php echo AI_OPTION_ONLY_IN_THE_LOOP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1743 |
<input id="only-in-the-loop-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ONLY_IN_THE_LOOP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_only_in_the_loop (); ?>" <?php if ($obj->get_only_in_the_loop () == AI_ENABLED) echo 'checked '; ?> />
|
1744 |
-
<label for="only-in-the-loop-<?php echo $block; ?>"
|
1745 |
</td>
|
1746 |
<td style="width: 45%">
|
1747 |
<span style="float: right;">
|
1748 |
<input type="hidden" name="<?php echo AI_OPTION_DISABLE_CACHING, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1749 |
<input id="disable-caching-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_DISABLE_CACHING, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_disable_caching (); ?>" <?php if ($obj->get_disable_caching () == AI_ENABLED) echo 'checked '; ?> />
|
1750 |
-
<label for="disable-caching-<?php echo $block; ?>" title="Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
|
1751 |
</span>
|
1752 |
</td>
|
1753 |
</tr>
|
@@ -1758,57 +1761,56 @@ function generate_settings_form (){
|
|
1758 |
|
1759 |
<div id="tab-filter-<?php echo $block; ?>" class="rounded">
|
1760 |
<div class="max-input">
|
1761 |
-
<span style="display: table-cell;">
|
1762 |
-
Filter insertions
|
1763 |
</span>
|
1764 |
<span style="display: table-cell;">
|
1765 |
-
<input style="width: 100%;
|
1766 |
</span>
|
1767 |
-
<span style="display: table-cell;">
|
1768 |
-
|
1769 |
-
<select id="filter-type-<?php echo $block; ?>" style="
|
1770 |
-
<option value="<?php echo AI_FILTER_AUTO; ?>" <?php echo ($filter_type == AI_FILTER_AUTO) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1771 |
-
<option value="<?php echo AI_FILTER_PHP_FUNCTION_CALLS; ?>" <?php echo ($filter_type == AI_FILTER_PHP_FUNCTION_CALLS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1772 |
-
<option value="<?php echo AI_FILTER_CONTENT_PROCESSING; ?>" <?php echo ($filter_type == AI_FILTER_CONTENT_PROCESSING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1773 |
-
<option value="<?php echo AI_FILTER_EXCERPT_PROCESSING; ?>" <?php echo ($filter_type == AI_FILTER_EXCERPT_PROCESSING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1774 |
-
<option value="<?php echo AI_FILTER_BEFORE_POST_PROCESSING; ?>" <?php echo ($filter_type == AI_FILTER_BEFORE_POST_PROCESSING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1775 |
-
<option value="<?php echo AI_FILTER_AFTER_POST_PROCESSING; ?>" <?php echo ($filter_type == AI_FILTER_AFTER_POST_PROCESSING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1776 |
-
<option value="<?php echo AI_FILTER_WIDGET_DRAWING; ?>" <?php echo ($filter_type == AI_FILTER_WIDGET_DRAWING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1777 |
-
<option value="<?php echo AI_FILTER_SUBPAGES; ?>" <?php echo ($filter_type == AI_FILTER_SUBPAGES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1778 |
-
<option value="<?php echo AI_FILTER_POSTS; ?>" <?php echo ($filter_type == AI_FILTER_POSTS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1779 |
-
<option value="<?php echo AI_FILTER_PARAGRAPHS; ?>" <?php echo ($filter_type == AI_FILTER_PARAGRAPHS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1780 |
-
<option value="<?php echo AI_FILTER_COMMENTS; ?>" <?php echo ($filter_type == AI_FILTER_COMMENTS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1781 |
</select>
|
1782 |
-
counter
|
1783 |
</span>
|
1784 |
-
<span style="display: table-cell;">
|
1785 |
<input type="hidden" name="<?php echo AI_OPTION_INVERTED_FILTER, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1786 |
<input style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_INVERTED_FILTER, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_inverted_filter(); ?>" <?php if ($obj->get_inverted_filter () == AI_ENABLED) echo 'checked '; ?> />
|
1787 |
-
<label for="enable-ajax-<?php echo $block; ?>" style="vertical-align: top;" title="
|
1788 |
</span>
|
1789 |
</div>
|
1790 |
</div>
|
1791 |
|
1792 |
<div id="tab-word-count-<?php echo $block; ?>" class="rounded">
|
1793 |
-
Post/Static page must have between
|
1794 |
-
<input type="text" name="<?php echo AI_OPTION_MIN_WORDS, WP_FORM_FIELD_POSTFIX, $block; ?>" style="margin: 0 1px;" default="<?php echo $default->get_minimum_words(); ?>" value="<?php echo $obj->get_minimum_words() ?>" title="Minimum number of post/static page words, leave empty for no limit" size="4" maxlength="6" />
|
1795 |
-
and
|
1796 |
-
<input type="text" name="<?php echo AI_OPTION_MAX_WORDS, WP_FORM_FIELD_POSTFIX, $block; ?>" style="margin: 0 1px;" default="<?php echo $default->get_maximum_words(); ?>" value="<?php echo $obj->get_maximum_words() ?>" title="Maximum number of post/static page words, leave empty for no limit" size="4" maxlength="6" />
|
1797 |
-
words
|
1798 |
</div>
|
1799 |
|
1800 |
<div id="tab-scheduling-<?php echo $block; ?>" class="rounded" style="min-height: 24px;">
|
1801 |
-
<select id="scheduling-<?php echo $block; ?>" style="margin:
|
1802 |
-
<option value="<?php echo AI_SCHEDULING_OFF; ?>" <?php echo ($obj->get_scheduling() == AI_SCHEDULING_OFF) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
1803 |
<option value="<?php echo AI_SCHEDULING_DELAY_FOR; ?>" <?php echo ($obj->get_scheduling() == AI_SCHEDULING_DELAY_FOR) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DELAY_INSERTION; ?></option>
|
1804 |
<option value="<?php echo AI_SCHEDULING_INSERT_ONLY_FOR; ?>" <?php echo ($obj->get_scheduling() == AI_SCHEDULING_INSERT_ONLY_FOR) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_INSERT_ONLY; ?></option>
|
1805 |
<?php if (function_exists ('ai_scheduling_options')) ai_scheduling_options ($obj); ?>
|
1806 |
</select>
|
1807 |
|
1808 |
<span id="scheduling-delay-<?php echo $block; ?>">
|
1809 |
-
for <input type="text" name="<?php echo AI_OPTION_AFTER_DAYS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_after_day(); ?>" value="<?php echo $obj->get_ad_after_day(); ?>" size="2" maxlength="3" /> days after publishing
|
1810 |
</span>
|
1811 |
-
<span id="scheduling-delay-warning-<?php echo $block; ?>" style="color: #d00; display: none;"> Not available
|
1812 |
|
1813 |
<?php if (function_exists ('ai_scheduling_data')) ai_scheduling_data ($block, $obj, $default); ?>
|
1814 |
</div>
|
@@ -1821,7 +1823,7 @@ function generate_settings_form (){
|
|
1821 |
<td style="width: 10%;">
|
1822 |
<input type="hidden" name="<?php echo AI_OPTION_SHOW_LABEL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1823 |
<input style="" id="show-label-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_SHOW_LABEL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_show_label (); ?>" <?php if ($obj->get_show_label () == AI_ENABLED) echo 'checked '; ?> />
|
1824 |
-
<label for="show-label-<?php echo $block; ?>"
|
1825 |
</td>
|
1826 |
<?php if (function_exists ('ai_display_lazy')) ai_display_lazy ($block, $obj, $default, 'lazy-loading-'.$block, AI_OPTION_CLOSE_BUTTON . WP_FORM_FIELD_POSTFIX . $block); ?>
|
1827 |
<td>
|
@@ -1837,11 +1839,11 @@ function generate_settings_form (){
|
|
1837 |
<div id="tab-general-<?php echo $block; ?>" class="rounded">
|
1838 |
<div class="max-input">
|
1839 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1840 |
-
General tag
|
1841 |
|
1842 |
</span>
|
1843 |
<span style="display: table-cell;">
|
1844 |
-
<input style="width: 100%; max-width: 140px;" type="text" name="<?php echo AI_OPTION_GENERAL_TAG, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_general_tag(); ?>" value="<?php echo $obj->get_ad_general_tag(); ?>" size="12" maxlength="40" title="Used for [adinserter data=''] shortcodes when no data is found" />
|
1845 |
</span>
|
1846 |
</div>
|
1847 |
</div>
|
@@ -1850,7 +1852,7 @@ function generate_settings_form (){
|
|
1850 |
</div>
|
1851 |
|
1852 |
<div id="no-wrapping-warning-<?php echo $block; ?>" class="rounded" style="display: none;">
|
1853 |
-
<span style="margin-top: 5px;"
|
1854 |
</div>
|
1855 |
|
1856 |
<?php if (function_exists ('ai_warnings')) ai_warnings ($block); ?>
|
@@ -1862,22 +1864,22 @@ function generate_settings_form (){
|
|
1862 |
?>
|
1863 |
<div id="tab-0" style="padding: 0;<?php echo $tab_visible ? "" : " display: none;" ?>">
|
1864 |
<div style="margin: 16px 0 16px 4px;">
|
1865 |
-
<h3 style="margin: 0; float: left;"><?php echo AD_INSERTER_NAME
|
1866 |
(int) ($ai_db_options [AI_OPTION_GLOBAL]['VERSION'][2].$ai_db_options [AI_OPTION_GLOBAL]['VERSION'][3]), '.',
|
1867 |
(int) ($ai_db_options [AI_OPTION_GLOBAL]['VERSION'][4].$ai_db_options [AI_OPTION_GLOBAL]['VERSION'][5]); ?></h3>
|
1868 |
-
<h4 style="margin: 0px; float: right;<?php if (defined ('AI_EXTRACT_GENERATED')) echo ' color: #00f;'; ?>" title="Settings timestamp"><?php echo isset ($ai_db_options [AI_OPTION_GLOBAL]['TIMESTAMP']) ? date ("Y-m-d H:i:s", $ai_db_options [AI_OPTION_GLOBAL]['TIMESTAMP'] + get_option ('gmt_offset') * 3600) : "";?></h4>
|
1869 |
<div style="clear: both;"></div>
|
1870 |
</div>
|
1871 |
|
1872 |
<div style="margin: 16px 0;">
|
1873 |
<div style="float: right;">
|
1874 |
-
<div title='Rotation editor active - rotation code not generated! Make sure no rotation editor is active before saving settings.' class="ai-rotation-warning" style='float: left; font-size: 18px; font-weight: bold; margin: 5px 5px 0 0; display: none;'>⚠</div>
|
1875 |
<?php if (function_exists ('ai_settings_global_buttons')) ai_settings_global_buttons (); ?>
|
1876 |
-
<input style="display: none; font-weight: bold;" name="<?php echo AI_FORM_SAVE; ?>" value="Save Settings" type="submit" style="width:120px; font-weight: bold;" />
|
1877 |
</div>
|
1878 |
|
1879 |
<div style="float: left;">
|
1880 |
-
<input onclick="if (confirm('Are you sure you want to reset all settings?')) return true; return false;" name="<?php echo AI_FORM_CLEAR; ?>" value="Reset All Settings" type="submit" style="display: none; width:125px; font-weight: bold; color: #e44;" />
|
1881 |
<?php if (function_exists ('ai_settings_global_actions')) ai_settings_global_actions (); ?>
|
1882 |
</div>
|
1883 |
|
@@ -1899,16 +1901,16 @@ function generate_settings_form (){
|
|
1899 |
|
1900 |
<div id="ai-plugin-settings-tab-container" style="padding: 0; margin 8px 0 0 0; border: 0;">
|
1901 |
<ul id="ai-plugin-settings-tabs" style="display: none;">
|
1902 |
-
<li id="ai-g" class="ai-plugin-tab"><a href="#tab-general"
|
1903 |
-
<li id="ai-v" class="ai-plugin-tab"><a href="#tab-viewports"
|
1904 |
-
<li id="ai-k" class="ai-plugin-tab"><a href="#tab-hooks"><span style="<?php echo $style_k ?>"
|
1905 |
-
<li id="ai-h" class="ai-plugin-tab"><a href="#tab-header"><span style="<?php echo $style_h ?>"
|
1906 |
-
<li id="ai-f" class="ai-plugin-tab"><a href="#tab-footer"><span style="<?php echo $style_f ?>"
|
1907 |
<?php if (function_exists ('ai_plugin_settings_tab')) ai_plugin_settings_tab ($exceptions); ?>
|
1908 |
<?php if (defined ('AI_ADBLOCKING_DETECTION') && AI_ADBLOCKING_DETECTION) { ?>
|
1909 |
-
<li id="ai-a" class="ai-plugin-tab"><a href="#tab-adblocking"><span style="<?php echo $style_a ?>"
|
1910 |
<?php } ?>
|
1911 |
-
<li id="ai-d" class="ai-plugin-tab"><a href="#tab-debugging"><span style="<?php echo $style_d ?>"
|
1912 |
</ul>
|
1913 |
|
1914 |
<div id="tab-general" style="padding: 0;">
|
@@ -1918,7 +1920,7 @@ function generate_settings_form (){
|
|
1918 |
<?php if (function_exists ('ai_general_settings')) ai_general_settings (); ?>
|
1919 |
<tr>
|
1920 |
<td>
|
1921 |
-
Plugin priority
|
1922 |
</td>
|
1923 |
<td>
|
1924 |
<input type="text" name="plugin_priority" value="<?php echo get_plugin_priority (); ?>" default="<?php echo DEFAULT_PLUGIN_PRIORITY; ?>" size="6" maxlength="6" />
|
@@ -1926,10 +1928,10 @@ function generate_settings_form (){
|
|
1926 |
</tr>
|
1927 |
<tr>
|
1928 |
<td>
|
1929 |
-
Output buffering
|
1930 |
</td>
|
1931 |
<td>
|
1932 |
-
<select id="output-buffering" name="output-buffering" default="<?php echo DEFAULT_OUTPUT_BUFFERING; ?>" title="Needed for position Above header but may not work with all themes">
|
1933 |
<option value="<?php echo AI_OUTPUT_BUFFERING_DISABLED; ?>" <?php echo get_output_buffering() == AI_OUTPUT_BUFFERING_DISABLED ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISABLED; ?></option>
|
1934 |
<option value="<?php echo AI_OUTPUT_BUFFERING_ENABLED; ?>" <?php echo get_output_buffering() == AI_OUTPUT_BUFFERING_ENABLED ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_ENABLED; ?></option>
|
1935 |
</select>
|
@@ -1937,17 +1939,17 @@ function generate_settings_form (){
|
|
1937 |
</tr>
|
1938 |
<tr>
|
1939 |
<td>
|
1940 |
-
Syntax highlighting theme
|
1941 |
</td>
|
1942 |
<td>
|
1943 |
<select
|
1944 |
id="syntax-highlighter-theme"
|
1945 |
name="syntax-highlighter-theme"
|
1946 |
value="Value">
|
1947 |
-
<optgroup label="None">
|
1948 |
-
<option value="<?php echo AI_OPTION_DISABLED; ?>" <?php echo ($syntax_highlighter_theme == AI_OPTION_DISABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE;
|
1949 |
</optgroup>
|
1950 |
-
<optgroup label="Light">
|
1951 |
<option value="chrome" <?php echo ($syntax_highlighter_theme == 'chrome') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Chrome</option>
|
1952 |
<option value="clouds" <?php echo ($syntax_highlighter_theme == 'clouds') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Clouds</option>
|
1953 |
<option value="crimson_editor" <?php echo ($syntax_highlighter_theme == 'crimson_editor') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Crimson Editor</option>
|
@@ -1962,7 +1964,7 @@ function generate_settings_form (){
|
|
1962 |
<option value="tomorrow" <?php echo ($syntax_highlighter_theme == 'tomorrow') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Tomorrow</option>
|
1963 |
<option value="xcode" <?php echo ($syntax_highlighter_theme == 'xcode') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>XCode</option>
|
1964 |
</optgroup>
|
1965 |
-
<optgroup label="Dark">
|
1966 |
<option value="ad_inserter" <?php echo ($syntax_highlighter_theme == 'ad_inserter') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Ad Inserter</option>
|
1967 |
<option value="chaos" <?php echo ($syntax_highlighter_theme == 'chaos') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Chaos</option>
|
1968 |
<option value="clouds_midnight" <?php echo ($syntax_highlighter_theme == 'clouds_midnight') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Clouds Midnight</option>
|
@@ -1988,7 +1990,7 @@ function generate_settings_form (){
|
|
1988 |
</tr>
|
1989 |
<tr>
|
1990 |
<td>
|
1991 |
-
Min. user role for ind. exceptions editing
|
1992 |
</td>
|
1993 |
<td>
|
1994 |
<select style="margin-bottom: 3px;" id="minimum-user-role" name="minimum-user-role" selected-value="1" data="<?php echo get_minimum_user_role (); ?>" default="<?php echo DEFAULT_MINIMUM_USER_ROLE; ?>" style="width:300px">
|
@@ -1998,10 +2000,10 @@ function generate_settings_form (){
|
|
1998 |
</tr>
|
1999 |
<tr>
|
2000 |
<td>
|
2001 |
-
Sticky widget mode
|
2002 |
</td>
|
2003 |
<td>
|
2004 |
-
<select name="sticky-widget-mode" default="<?php echo DEFAULT_STICKY_WIDGET_MODE; ?>" title="CSS mode is the best approach but may not work with all themes. JavaScript mode works with most themes but may reload ads on page load.">
|
2005 |
<option value="<?php echo AI_STICKY_WIDGET_MODE_CSS; ?>" <?php echo get_sticky_widget_mode() == AI_STICKY_WIDGET_MODE_CSS ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CSS; ?></option>
|
2006 |
<option value="<?php echo AI_STICKY_WIDGET_MODE_JS; ?>" <?php echo get_sticky_widget_mode() == AI_STICKY_WIDGET_MODE_JS ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_JS; ?></option>
|
2007 |
</select>
|
@@ -2009,7 +2011,7 @@ function generate_settings_form (){
|
|
2009 |
</tr>
|
2010 |
<tr>
|
2011 |
<td>
|
2012 |
-
Sticky widget top margin
|
2013 |
</td>
|
2014 |
<td>
|
2015 |
<input type="text" name="sticky-widget-margin" value="<?php echo get_sticky_widget_margin (); ?>" default="<?php echo DEFAULT_STICKY_WIDGET_MARGIN; ?>" size="6" maxlength="4" /> px
|
@@ -2017,7 +2019,7 @@ function generate_settings_form (){
|
|
2017 |
</tr>
|
2018 |
<tr>
|
2019 |
<td>
|
2020 |
-
Dynamic blocks
|
2021 |
</td>
|
2022 |
<td>
|
2023 |
<select id="dynamic_blocks" name="dynamic_blocks" default="<?php echo DEFAULT_DYNAMIC_BLOCKS; ?>">
|
@@ -2030,18 +2032,18 @@ function generate_settings_form (){
|
|
2030 |
</tr>
|
2031 |
<tr>
|
2032 |
<td>
|
2033 |
-
Functions for paragraph counting
|
2034 |
</td>
|
2035 |
<td>
|
2036 |
-
<select id="paragraph_counting_functions" name="paragraph_counting_functions" default="<?php echo DEFAULT_PARAGRAPH_COUNTING_FUNCTIONS; ?>" title="Standard PHP functions are faster and work in most cases, use Multibyte functions if paragraphs are not counted properly on non-english pages.">
|
2037 |
-
<option value="<?php echo AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS; ?>" <?php echo get_paragraph_counting_functions() == AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo
|
2038 |
<option value="<?php echo AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS; ?>" <?php echo get_paragraph_counting_functions() == AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_MULTIBYTE; ?></option>
|
2039 |
</select>
|
2040 |
</td>
|
2041 |
</tr>
|
2042 |
<tr>
|
2043 |
<td>
|
2044 |
-
No paragraph counting inside
|
2045 |
</td>
|
2046 |
<td>
|
2047 |
<input type="text" name="no-paragraph-counting-inside" style="width: 100%;" value="<?php echo get_no_paragraph_counting_inside (); ?>" default="<?php echo DEFAULT_NO_PARAGRAPH_COUNTING_INSIDE; ?>" size="60" maxlength="80" />
|
@@ -2049,35 +2051,35 @@ function generate_settings_form (){
|
|
2049 |
</tr>
|
2050 |
<tr>
|
2051 |
<td>
|
2052 |
-
Ad label
|
2053 |
</td>
|
2054 |
<td>
|
2055 |
-
<input type="text" name="ad-label" style="width: 100%;" value="<?php echo get_ad_label (); ?>" default="<?php echo DEFAULT_AD_TITLE; ?>" title="Label text or HTML code" size="60" maxlength="500" />
|
2056 |
</td>
|
2057 |
</tr>
|
2058 |
<tr>
|
2059 |
<td>
|
2060 |
-
Max blocks per page
|
2061 |
</td>
|
2062 |
<td>
|
2063 |
-
<input type="text" name="max-page-blocks" value="<?php echo get_max_page_blocks (); ?>" default="<?php echo DEFAULT_MAX_PAGE_BLOCKS; ?>" title="Maximum number of inserted blocks per page. You need to enable Max page insertions (button Misc / tab Insertion) to count block for this limit." size="6" maxlength="4" />
|
2064 |
</td>
|
2065 |
</tr>
|
2066 |
|
2067 |
<?php if (function_exists ('ai_general_settings_2')) ai_general_settings_2 ();
|
2068 |
|
2069 |
if (defined ('AI_PLUGIN_TRACKING') && AI_PLUGIN_TRACKING) {
|
2070 |
-
|
2071 |
global $ai_dst;
|
2072 |
if (isset ($ai_dst) && is_object ($ai_dst) && $ai_dst->get_plugin_tracking () !== null) {
|
2073 |
$plugin_tracking = $ai_dst->get_tracking ();
|
2074 |
?>
|
2075 |
<tr>
|
2076 |
<td>
|
2077 |
-
Plugin usage tracking
|
2078 |
</td>
|
2079 |
<td>
|
2080 |
-
<select id="plugin-usage-tracking" name="plugin-usage-tracking" default="#" title="Enable tracking of
|
2081 |
<option value="<?php echo AI_PLUGIN_TRACKING_DISABLED; ?>" <?php echo $plugin_tracking == AI_PLUGIN_TRACKING_DISABLED ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISABLED; ?></option>
|
2082 |
<option value="<?php echo AI_PLUGIN_TRACKING_ENABLED; ?>" <?php echo $plugin_tracking == AI_PLUGIN_TRACKING_ENABLED ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_ENABLED; ?></option>
|
2083 |
</select>
|
@@ -2085,7 +2087,7 @@ function generate_settings_form (){
|
|
2085 |
</tr>
|
2086 |
<?php
|
2087 |
}
|
2088 |
-
|
2089 |
}
|
2090 |
?>
|
2091 |
</table>
|
@@ -2095,29 +2097,29 @@ function generate_settings_form (){
|
|
2095 |
<table class="ai-settings-table" style="width: 100%;">
|
2096 |
<tr>
|
2097 |
<td>
|
2098 |
-
<span title="CSS
|
2099 |
<input id="block-class-name" class="ai-block-code-demo" style="margin-left: 5px;" type="text" name="block-class-name" value="<?php echo $block_class_name; ?>" default="<?php echo DEFAULT_BLOCK_CLASS_NAME; ?>" size="15" maxlength="40" />
|
2100 |
</td>
|
2101 |
<td>
|
2102 |
-
<span title="Include general plugin block class"
|
2103 |
<input type="hidden" name="block-class" value="0" />
|
2104 |
<input id="block-class" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="block-class" value="1" default="<?php echo DEFAULT_BLOCK_CLASS; ?>" <?php if ($block_class == AI_ENABLED) echo 'checked '; ?> />
|
2105 |
</td>
|
2106 |
<td>
|
2107 |
-
<span title="Include block number class"
|
2108 |
<input type="hidden" name="block-number-class" value="0" />
|
2109 |
<input id="block-number-class" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="block-number-class" value="1" default="<?php echo DEFAULT_BLOCK_NUMBER_CLASS; ?>" <?php if ($block_number_class == AI_ENABLED) echo 'checked '; ?> />
|
2110 |
</td>
|
2111 |
<td>
|
2112 |
-
<span title="Instead of alignment classes generate inline alignment styles for
|
2113 |
<input type="hidden" name="inline-styles" value="0" />
|
2114 |
<input id="inline-styles" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="inline-styles" value="1" default="<?php echo DEFAULT_INLINE_STYLES; ?>" <?php if ($inline_styles == AI_ENABLED) echo 'checked '; ?> />
|
2115 |
</td>
|
2116 |
</tr>
|
2117 |
</table>
|
2118 |
-
<div style="margin-top: 8px;"
|
2119 |
-
<pre style="margin: 0; padding: 5px; background: #eee; color: #00f;" title="Wrapping div"><span id="ai-block-code-demo" ><?php echo ai_block_code_demo ($block_class_name, $block_class, $block_number_class, $inline_styles); ?></span>
|
2120 |
-
<span style="color: #222;"
|
2121 |
</div></pre>
|
2122 |
</div>
|
2123 |
|
@@ -2125,17 +2127,17 @@ function generate_settings_form (){
|
|
2125 |
|
2126 |
<div id="tab-viewports" class="rounded">
|
2127 |
<div style="margin: 0 0 8px 0;">
|
2128 |
-
<strong
|
2129 |
</div>
|
2130 |
<?php
|
2131 |
for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
|
2132 |
$bottom_margin = $viewport == AD_INSERTER_VIEWPORTS ? 0 : 4;
|
2133 |
?>
|
2134 |
<div style="margin: 4px 0 <?php echo $bottom_margin; ?>px 0;">
|
2135 |
-
|
2136 |
<input style="margin-left: 0px;" type="text" name="viewport-name-<?php echo $viewport; ?>" value="<?php echo get_viewport_name ($viewport); ?>" default="<?php echo defined ("DEFAULT_VIEWPORT_NAME_" . $viewport) ? constant ("DEFAULT_VIEWPORT_NAME_" . $viewport) : ""; ?>" size="15" maxlength="40" />
|
2137 |
<?php if ($viewport == AD_INSERTER_VIEWPORTS) echo '<span style="display: none;">' ?>
|
2138 |
-
min width
|
2139 |
<input type="text" id="option-length-<?php echo $viewport; ?>" name="viewport-width-<?php echo $viewport; ?>" value="<?php echo get_viewport_width ($viewport); ?>" default="<?php echo defined ("DEFAULT_VIEWPORT_WIDTH_" . $viewport) ? constant ("DEFAULT_VIEWPORT_WIDTH_" . $viewport) : ""; ?>" size="4" maxlength="4" /> px
|
2140 |
<?php if ($viewport == AD_INSERTER_VIEWPORTS) echo '</span>' ?>
|
2141 |
</div>
|
@@ -2146,7 +2148,7 @@ function generate_settings_form (){
|
|
2146 |
|
2147 |
<div id="tab-hooks" class="rounded">
|
2148 |
<div style="margin: 0 0 8px 0;">
|
2149 |
-
<strong
|
2150 |
</div>
|
2151 |
|
2152 |
<table>
|
@@ -2160,22 +2162,22 @@ function generate_settings_form (){
|
|
2160 |
<input type="checkbox" name="hook-enabled-<?php echo $hook; ?>" value="1" default="<?php echo AI_DISABLED; ?>" id="hook-enabled-<?php echo $hook; ?>" title="Enable hook" <?php if (get_hook_enabled ($hook) == AI_ENABLED) echo 'checked '; ?> />
|
2161 |
</td>
|
2162 |
<td style="white-space: nowrap;">
|
2163 |
-
<label for="hook-enabled-<?php echo $hook; ?>" title="Enable hook"
|
2164 |
</td>
|
2165 |
<td style="width: 25%;">
|
2166 |
-
<input style="width: 100%;" title="Hook name for automatic insertion selection" type="text" name="hook-name-<?php echo $hook; ?>" default="" value="<?php echo get_hook_name ($hook); ?>" size="30" maxlength="80" />
|
2167 |
</td>
|
2168 |
<td style="padding-left: 7px;">
|
2169 |
-
action
|
2170 |
</td>
|
2171 |
<td style="">
|
2172 |
-
<input style="width: 100%;" title="Action
|
2173 |
</td>
|
2174 |
<td style="padding-left: 7px;">
|
2175 |
-
priority
|
2176 |
</td>
|
2177 |
<td>
|
2178 |
-
<input title="Priority for the hook (default is 10)" type="text" name="hook-priority-<?php echo $hook; ?>" default="<?php echo DEFAULT_CUSTOM_HOOK_PRIORITY; ?>" value="<?php echo get_hook_priority ($hook); ?>" size="5" maxlength="7" />
|
2179 |
</td>
|
2180 |
</tr>
|
2181 |
<?php
|
@@ -2190,27 +2192,27 @@ function generate_settings_form (){
|
|
2190 |
<div style="float: right;">
|
2191 |
<?php if (AI_SYNTAX_HIGHLIGHTING) : ?>
|
2192 |
<input type="checkbox" value="0" id="simple-editor-h" class="simple-editor-button" style="display: none;" />
|
2193 |
-
<label class="checkbox-button" style="margin-left: 10px;" for="simple-editor-h" title="Toggle Syntax Highlighting / Simple editor for mobile devices"><span class="checkbox-icon icon-tablet"></span></label>
|
2194 |
<?php endif; ?>
|
2195 |
|
2196 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_h'; ?>" value="0" />
|
2197 |
<input type="checkbox" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_h'; ?>" id="enable-header" value="1" default="<?php echo $default->get_enable_manual(); ?>" <?php if ($adH->get_enable_manual () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2198 |
-
<label class="checkbox-button" style="margin-left: 10px;" for="enable-header" title="Enable insertion of this code into HTML page header"><span class="checkbox-icon icon-enabled<?php if ($adH->get_enable_manual () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2199 |
|
2200 |
<input type="hidden" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_h'; ?>" value="0" />
|
2201 |
<input type="checkbox" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_h'; ?>" value="1" id="process-php-h" default="<?php echo $default->get_process_php (); ?>" <?php if ($adH->get_process_php () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2202 |
-
<label class="checkbox-button" style="margin-left: 10px;" for="process-php-h" title="Process PHP code"><span class="checkbox-icon icon-php<?php if ($adH->get_process_php () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2203 |
</div>
|
2204 |
|
2205 |
<div>
|
2206 |
-
<h3 style="margin: 8px 0 8px 2px;"
|
2207 |
</div>
|
2208 |
</div>
|
2209 |
|
2210 |
<div style="margin: 8px 0; width: 100%;">
|
2211 |
<div style="float: left;">
|
2212 |
-
Code in the <pre style="display: inline; color: blue;"><head></head></pre>
|
2213 |
-
<?php if ($header_code_disabled) echo '<span style="color: #f00;">DISABLED</span>'; ?>
|
2214 |
</div>
|
2215 |
|
2216 |
<div style="clear: both;"></div>
|
@@ -2223,21 +2225,20 @@ function generate_settings_form (){
|
|
2223 |
<div id="device-detection-settings-h" class="rounded">
|
2224 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, AI_HEADER_OPTION_NAME; ?>" value="0" />
|
2225 |
<input type="checkbox" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, AI_HEADER_OPTION_NAME; ?>" id="server-side-detection-h" style="margin-top: 1px;" value="1" default="<?php echo $default->get_detection_server_side(); ?>" <?php if ($adH->get_detection_server_side ()==AI_ENABLED) echo 'checked '; ?> />
|
2226 |
-
<label for="server-side-detection-h"
|
2227 |
<select id="display-for-devices-h" name="<?php echo AI_OPTION_DISPLAY_FOR_DEVICES, WP_FORM_FIELD_POSTFIX, AI_HEADER_OPTION_NAME; ?>" default="<?php echo $default->get_display_for_devices(); ?>" >
|
2228 |
-
<option value="<?php echo
|
2229 |
-
<option value="<?php echo
|
2230 |
-
<option value="<?php echo
|
2231 |
-
<option value="<?php echo
|
2232 |
-
<option value="<?php echo
|
2233 |
-
<option value="<?php echo
|
2234 |
</select>
|
2235 |
-
devices
|
2236 |
|
2237 |
<span style="float: right; margin-top: 2px;">
|
2238 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_404, '_block_h'; ?>" value="0" />
|
2239 |
<input style="margin-left: 10px; margin-top: 1px;" type="checkbox" name="<?php echo AI_OPTION_ENABLE_404, '_block_h'; ?>" id="enable-header-404" value="1" default="<?php echo $default->get_enable_404(); ?>" <?php if ($adH->get_enable_404 () == AI_ENABLED) echo 'checked '; ?> />
|
2240 |
-
<label for="enable-header-404" title="Enable insertion of this code into HTML page header on page for Error 404: Page not found"
|
2241 |
</span>
|
2242 |
</div>
|
2243 |
</div>
|
@@ -2247,27 +2248,27 @@ function generate_settings_form (){
|
|
2247 |
<div style="float: right;">
|
2248 |
<?php if (AI_SYNTAX_HIGHLIGHTING) : ?>
|
2249 |
<input type="checkbox" value="0" id="simple-editor-f" class="simple-editor-button" style="display: none;" />
|
2250 |
-
<label class="checkbox-button" style="margin-left: 10px;" for="simple-editor-f" title="Toggle Syntax Highlighting / Simple editor for mobile devices"><span class="checkbox-icon icon-tablet"></span></label>
|
2251 |
<?php endif; ?>
|
2252 |
|
2253 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_f'; ?>" value="0" />
|
2254 |
<input type="checkbox" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_f'; ?>" id="enable-footer" value="1" default="<?php echo $default->get_enable_manual(); ?>" <?php if ($adF->get_enable_manual () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2255 |
-
<label class="checkbox-button" style="margin-left: 10px;" for="enable-footer" title="Enable insertion of this code into HTML page footer"><span class="checkbox-icon icon-enabled<?php if ($adF->get_enable_manual () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2256 |
|
2257 |
<input type="hidden" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_f'; ?>" value="0" />
|
2258 |
<input type="checkbox" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_f'; ?>" value="1" id="process-php-f" default="<?php echo $default->get_process_php (); ?>" <?php if ($adF->get_process_php () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2259 |
-
<label class="checkbox-button" style="margin-left: 10px;" for="process-php-f" title="Process PHP code"><span class="checkbox-icon icon-php<?php if ($adF->get_process_php () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2260 |
</div>
|
2261 |
|
2262 |
<div>
|
2263 |
-
<h3 style="margin: 8px 0 8px 2px;"
|
2264 |
</div>
|
2265 |
</div>
|
2266 |
|
2267 |
<div style="margin: 8px 0; width: 100%;">
|
2268 |
<div style="float: left;">
|
2269 |
-
Code before the <pre style="display: inline; color: blue;"></body></pre>
|
2270 |
-
<?php if ($footer_code_disabled) echo '<span style="color: #f00;">DISABLED</span>'; ?>
|
2271 |
</div>
|
2272 |
|
2273 |
<div style="clear: both;"></div>
|
@@ -2280,21 +2281,20 @@ function generate_settings_form (){
|
|
2280 |
<div id="device-detection-settings-f" class="rounded">
|
2281 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, AI_FOOTER_OPTION_NAME; ?>" value="0" />
|
2282 |
<input style="margin-top: 1px;" type="checkbox" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, AI_FOOTER_OPTION_NAME; ?>" id="server-side-detection-f" value="1" default="<?php echo $default->get_detection_server_side(); ?>" <?php if ($adF->get_detection_server_side ()==AI_ENABLED) echo 'checked '; ?> />
|
2283 |
-
<label for="server-side-detection-f"
|
2284 |
<select id="display-for-devices-f" name="<?php echo AI_OPTION_DISPLAY_FOR_DEVICES, WP_FORM_FIELD_POSTFIX, AI_FOOTER_OPTION_NAME; ?>" default="<?php echo $default->get_display_for_devices(); ?>" >
|
2285 |
-
<option value="<?php echo
|
2286 |
-
<option value="<?php echo
|
2287 |
-
<option value="<?php echo
|
2288 |
-
<option value="<?php echo
|
2289 |
-
<option value="<?php echo
|
2290 |
-
<option value="<?php echo
|
2291 |
</select>
|
2292 |
-
devices
|
2293 |
|
2294 |
<span style="float: right; margin-top: 2px;">
|
2295 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_404, '_block_f'; ?>" value="0" />
|
2296 |
<input style="margin-left: 10px; margin-top: 1px;" type="checkbox" name="<?php echo AI_OPTION_ENABLE_404, '_block_f'; ?>" id="enable-footer-404" value="1" default="<?php echo $default->get_enable_404(); ?>" <?php if ($adF->get_enable_404 () == AI_ENABLED) echo 'checked '; ?> />
|
2297 |
-
<label for="enable-footer-404" title="Enable insertion of this code into HTML page footer on page for Error 404: Page not found"
|
2298 |
</span>
|
2299 |
</div>
|
2300 |
</div>
|
@@ -2308,22 +2308,22 @@ function generate_settings_form (){
|
|
2308 |
<div style="float: right;">
|
2309 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_a'; ?>" value="0" />
|
2310 |
<input type="checkbox" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_a'; ?>" id="enable-adb-detection" value="1" default="<?php echo $default->get_enable_manual(); ?>" <?php if ($adA->get_enable_manual () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2311 |
-
<label class="checkbox-button" style="margin-left: 10px;" for="enable-adb-detection" title="Enable detection of ad blocking"><span class="checkbox-icon icon-enabled<?php if ($adA->get_enable_manual () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2312 |
</div>
|
2313 |
|
2314 |
<div>
|
2315 |
-
<h3 style="margin: 8px 0 8px 2px;"
|
2316 |
</div>
|
2317 |
</div>
|
2318 |
|
2319 |
<div class="rounded" style="margin: 16px 0 8px;">
|
2320 |
<table class="ai-settings-table" style="width: 100%;" cellpadding="0">
|
2321 |
<tr>
|
2322 |
-
<td style="width:
|
2323 |
-
<label for="adb-action"
|
2324 |
</td>
|
2325 |
<td>
|
2326 |
-
<select id="adb-action" name="<?php echo AI_OPTION_ADB_ACTION; ?>" title="Global action when ad blocking is detected" default="<?php echo AI_DEFAULT_ADB_ACTION; ?>" >
|
2327 |
<option value="<?php echo AI_ADB_ACTION_NONE; ?>" <?php echo ($adb_action == AI_ADB_ACTION_NONE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NONE; ?></option>
|
2328 |
<option value="<?php echo AI_ADB_ACTION_MESSAGE; ?>" <?php echo ($adb_action == AI_ADB_ACTION_MESSAGE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_POPUP_MESSAGE; ?></option>
|
2329 |
<option value="<?php echo AI_ADB_ACTION_REDIRECTION; ?>" <?php echo ($adb_action == AI_ADB_ACTION_REDIRECTION) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_REDIRECTION; ?></option>
|
@@ -2332,27 +2332,27 @@ function generate_settings_form (){
|
|
2332 |
</tr>
|
2333 |
<tr>
|
2334 |
<td>
|
2335 |
-
Delay Action
|
2336 |
</td>
|
2337 |
<td>
|
2338 |
-
<input style="width: 40px;" type="text" name="<?php echo AI_OPTION_ADB_DELAY_ACTION; ?>" title="Number of page views to delay action when ad blocking is detected. Leave empty for no delay (action fires on first page view). Sets cookie." value="<?php echo get_delay_action (); ?>" default="" size="3" maxlength="5" /> page views
|
2339 |
</td>
|
2340 |
</tr>
|
2341 |
<tr>
|
2342 |
<td>
|
2343 |
-
No Action Period
|
2344 |
</td>
|
2345 |
<td>
|
2346 |
-
<input style="width: 40px;" type="text" name="<?php echo AI_OPTION_ADB_NO_ACTION_PERIOD; ?>" title="Number of days to supress action when ad blocking is detected. Leave empty for no no-action period (action fires always after defined page view delay). Sets cookie." value="<?php echo get_no_action_period (); ?>" default="<?php echo AI_DEFAULT_ADB_NO_ACTION_PERIOD; ?>" size="3" maxlength="5" /> days
|
2347 |
</td>
|
2348 |
</tr>
|
2349 |
<tr>
|
2350 |
<td>
|
2351 |
-
Custom Selectors
|
2352 |
</td>
|
2353 |
<td>
|
2354 |
-
<input id="custom-selectors" style="width: 95%;" type="text" name="<?php echo AI_OPTION_ADB_SELECTORS; ?>" title="Comma seprarated list of selectors (.class, #id) used for additional ad blocking detection. Invisible or zero height
|
2355 |
-
<button id="custom-selectors-button" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 4px; width: 15px; height: 15px;" title="Open HTML element selector"></button>
|
2356 |
</td>
|
2357 |
</tr>
|
2358 |
<?php if (function_exists ('ai_adb_settings')) ai_adb_settings (); ?>
|
@@ -2362,8 +2362,8 @@ function generate_settings_form (){
|
|
2362 |
<div id="adb-page-redirection" class="rounded">
|
2363 |
<table class="ai-settings-table" style="width: 100%;">
|
2364 |
<tr>
|
2365 |
-
<td style="width:
|
2366 |
-
<label for="redirection-page"
|
2367 |
</td>
|
2368 |
<td>
|
2369 |
<?php
|
@@ -2375,12 +2375,13 @@ function generate_settings_form (){
|
|
2375 |
'name' => AI_OPTION_ADB_REDIRECTION_PAGE,
|
2376 |
'id' => 'redirection-page',
|
2377 |
'class' => null,
|
2378 |
-
'show_option_none' => 'Custom Url',
|
2379 |
'show_option_no_change' => null,
|
2380 |
'option_none_value' => '0',
|
2381 |
);
|
2382 |
$dropdown_pages = wp_dropdown_pages ($args);
|
2383 |
-
$
|
|
|
2384 |
|
2385 |
echo $dropdown_pages;
|
2386 |
?>
|
@@ -2388,7 +2389,7 @@ function generate_settings_form (){
|
|
2388 |
</tr>
|
2389 |
<tr>
|
2390 |
<td>
|
2391 |
-
Custom Redirection Url
|
2392 |
</td>
|
2393 |
<td>
|
2394 |
<input id="custom-redirection-url" style="width: 100%;" type="text" name="<?php echo AI_OPTION_ADB_CUSTOM_REDIRECTION_URL; ?>" value="<?php echo get_custom_redirection_url (); ?>" default="" size="50" maxlength="200" />
|
@@ -2400,20 +2401,20 @@ function generate_settings_form (){
|
|
2400 |
<div id="adb-message">
|
2401 |
<div style="padding: 0; min-height: 28px;">
|
2402 |
<div style="float: left; margin: 10px 0 0 3px;">
|
2403 |
-
Message HTML code
|
2404 |
</div>
|
2405 |
<div style="float: right;">
|
2406 |
|
2407 |
<?php if (AI_SYNTAX_HIGHLIGHTING) : ?>
|
2408 |
<input type="checkbox" value="0" id="simple-editor-a" class="simple-editor-button" style="display: none;" />
|
2409 |
-
<label class="checkbox-button" style="margin-left: 10px;" for="simple-editor-a" title="Toggle Syntax Highlighting / Simple editor for mobile devices"><span class="checkbox-icon icon-tablet"></span></label>
|
2410 |
<?php endif; ?>
|
2411 |
|
2412 |
<input type="hidden" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_a'; ?>" value="0" />
|
2413 |
<input type="checkbox" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_a'; ?>" value="1" id="process-php-a" default="<?php echo $default->get_process_php (); ?>" <?php if ($adA->get_process_php () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2414 |
-
<label class="checkbox-button" style="margin-left: 10px;" for="process-php-a" title="Process PHP code"><span class="checkbox-icon icon-php<?php if ($adA->get_process_php () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2415 |
|
2416 |
-
<button id="preview-button-adb" type="button" class='ai-button' style="display: none; margin: 0 4px 0 10px;" title="Preview message when ad blocking is detected" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" site-url="<?php echo wp_make_link_relative (get_site_url()); ?>"
|
2417 |
</div>
|
2418 |
<div style="clear: both;"></div>
|
2419 |
</div>
|
@@ -2426,7 +2427,7 @@ function generate_settings_form (){
|
|
2426 |
<table class="ai-settings-table" style="width: 100%;">
|
2427 |
<tr>
|
2428 |
<td style="width: 20%;">
|
2429 |
-
Message CSS
|
2430 |
</td>
|
2431 |
<td>
|
2432 |
<input id="message-css" style="width: 100%;" type="text" name="<?php echo AI_OPTION_ADB_MESSAGE_CSS; ?>" value="<?php echo get_message_css (); ?>" default="<?php echo AI_DEFAULT_ADB_MESSAGE_CSS; ?>" size="50" maxlength="200" />
|
@@ -2434,7 +2435,7 @@ function generate_settings_form (){
|
|
2434 |
</tr>
|
2435 |
<tr>
|
2436 |
<td>
|
2437 |
-
Overlay CSS
|
2438 |
</td>
|
2439 |
<td>
|
2440 |
<input id="overlay-css" style="width: 100%;" type="text" name="<?php echo AI_OPTION_ADB_OVERLAY_CSS; ?>" value="<?php echo get_overlay_css (); ?>" default="<?php echo AI_DEFAULT_ADB_OVERLAY_CSS; ?>" size="50" maxlength="200" />
|
@@ -2442,7 +2443,7 @@ function generate_settings_form (){
|
|
2442 |
</tr>
|
2443 |
<tr>
|
2444 |
<td>
|
2445 |
-
<label for="undismissible-message" title="Prevent visitors from closing the warning message"
|
2446 |
</td>
|
2447 |
<td>
|
2448 |
<input type="hidden" name="<?php echo AI_OPTION_ADB_UNDISMISSIBLE_MESSAGE; ?>" value="0" />
|
@@ -2454,46 +2455,56 @@ function generate_settings_form (){
|
|
2454 |
</div>
|
2455 |
</div>
|
2456 |
|
2457 |
-
<?php }
|
2458 |
-
|
|
|
2459 |
<div id="tab-debugging" class="rounded">
|
2460 |
<table class="ai-settings-table" style="width: 100%;">
|
2461 |
-
<tr title="
|
2462 |
-
<td style="width:
|
2463 |
-
<label for="force-admin-toolbar"
|
2464 |
</td>
|
2465 |
<td>
|
2466 |
<input type="hidden" name="force_admin_toolbar" value="0" />
|
2467 |
<input type="checkbox" name="force_admin_toolbar" id="force-admin-toolbar" value="1" default="<?php echo DEFAULT_FORCE_ADMIN_TOOLBAR; ?>" <?php if (get_force_admin_toolbar () == AI_ENABLED) echo 'checked '; ?> />
|
2468 |
</td>
|
2469 |
</tr>
|
2470 |
-
<tr title="Enable debugging functions in admin toolbar">
|
2471 |
<td>
|
2472 |
-
<label for="admin-toolbar-debugging"
|
2473 |
</td>
|
2474 |
<td>
|
2475 |
<input type="hidden" name="admin_toolbar_debugging" value="0" />
|
2476 |
<input type="checkbox" name="admin_toolbar_debugging" id="admin-toolbar-debugging" value="1" default="<?php echo DEFAULT_ADMIN_TOOLBAR_DEBUGGING; ?>" <?php if (get_admin_toolbar_debugging ()==AI_ENABLED) echo 'checked '; ?> />
|
2477 |
</td>
|
2478 |
</tr>
|
2479 |
-
<tr title="Enable debugging functions in admin toolbar on mobile screens">
|
2480 |
<td>
|
2481 |
-
<label for="admin-toolbar-mobile"
|
2482 |
</td>
|
2483 |
<td>
|
2484 |
<input type="hidden" name="admin_toolbar_mobile" value="0" />
|
2485 |
<input type="checkbox" name="admin_toolbar_mobile" id="admin-toolbar-mobile" value="1" default="<?php echo DEFAULT_ADMIN_TOOLBAR_MOBILE; ?>" <?php if (get_admin_toolbar_mobile ()==AI_ENABLED) echo 'checked '; ?> />
|
2486 |
</td>
|
2487 |
</tr>
|
2488 |
-
<tr title="Enable Debugger widget and code insertion debugging (blocks, positions, tags, processing) by url parameters for non-logged in users. Enable this option to allow other
|
2489 |
<td>
|
2490 |
-
<label for="remote-debugging"
|
2491 |
</td>
|
2492 |
<td>
|
2493 |
<input type="hidden" name="remote_debugging" value="0" />
|
2494 |
<input type="checkbox" name="remote_debugging" id="remote-debugging" value="1" default="<?php echo DEFAULT_REMOTE_DEBUGGING; ?>" <?php if (get_remote_debugging ()==AI_ENABLED) echo 'checked '; ?> />
|
2495 |
</td>
|
2496 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2497 |
<tr class="system-debugging" style="display: none;">
|
2498 |
<td>
|
2499 |
<label for="backend-js-debugging" title="Enable backend javascript console output">Backend javascript debugging</label>
|
@@ -2535,12 +2546,32 @@ function generate_settings_form (){
|
|
2535 |
isset ($ai_wp_data [AI_DAYS_SINCE_INSTAL]) ? $ai_wp_data [AI_DAYS_SINCE_INSTAL] : null); ?>
|
2536 |
</td>
|
2537 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2538 |
<tr class="system-debugging" style="display: none;">
|
2539 |
<td>
|
2540 |
-
|
2541 |
</td>
|
2542 |
<td>
|
2543 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2544 |
</td>
|
2545 |
</tr>
|
2546 |
<?php if (function_exists ('ai_system_debugging')) ai_system_debugging (); ?>
|
@@ -2760,23 +2791,23 @@ function code_block_list_container () {
|
|
2760 |
</span>
|
2761 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2762 |
<input type="checkbox" value="0" id="ai-load-all" style="display: none;" />
|
2763 |
-
<label class="checkbox-button" for="ai-load-all" title="Toggle active/all blocks"><span class="checkbox-icon size-16 icon-enabled-all on"></span></label>
|
2764 |
</span>
|
2765 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2766 |
<input type="checkbox" value="0" id="ai-rearrange" style="display: none;" />
|
2767 |
-
<label class="checkbox-button" for="ai-rearrange" title="Rearrange block order"><span class="checkbox-icon size-16 icon-rearrange"></span></label>
|
2768 |
</span>
|
2769 |
<span id='list-rearrange-controls' class="ai-toolbar-button text" style='float: right; display: none;'>
|
2770 |
<span id='list-save' class="ai-toolbar-button text" style="vertical-align: middle; display: none;">
|
2771 |
<input type="checkbox" value="0" id="ai-save-changes" style="display: none;" />
|
2772 |
-
<label class="checkbox-button" for="ai-save-changes" style="padding: 1px 5px 1px 4px; margin-top: 0px;" title="Save new block order"
|
2773 |
</span>
|
2774 |
</span>
|
2775 |
<div style="clear: both;"></div>
|
2776 |
</div>
|
2777 |
|
2778 |
<div id="ai-list-data">
|
2779 |
-
Loading...
|
2780 |
</div>
|
2781 |
</div>
|
2782 |
<?php
|
@@ -2794,25 +2825,25 @@ function adsense_list_container () {
|
|
2794 |
|
2795 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2796 |
<input type="checkbox" value="0" id="adsense-load-all" style="display: none;" />
|
2797 |
-
<label class="checkbox-button" for="adsense-load-all" title="Toggle active/all ad units"><span class="checkbox-icon size-16 icon-enabled-all on"></span></label>
|
2798 |
</span>
|
2799 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2800 |
<input type="checkbox" value="0" id="adsense-reload" style="display: none;" />
|
2801 |
-
<label class="checkbox-button" for="adsense-reload" title="Reload AdSense ad units"><span class="checkbox-icon size-16w icon-reload"></span></label>
|
2802 |
</span>
|
2803 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2804 |
<input type="checkbox" value="" id="clear-adsense-authorization" style="display: none;" />
|
2805 |
-
<label class="checkbox-button" for="clear-adsense-authorization" title="Clear authorization to access AdSense account"><span class="list-button lb-size-16 ui-icon ui-icon-power"></span></label>
|
2806 |
</span>
|
2807 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2808 |
<input type="checkbox" value="0" id="google-adsense" style="display: none;" />
|
2809 |
-
<label class="checkbox-button" id="google-adsense-button" for="google-adsense" title="Google AdSense
|
2810 |
</span>
|
2811 |
<div style="clear: both;"></div>
|
2812 |
</div>
|
2813 |
|
2814 |
<div id="adsense-list-data">
|
2815 |
-
Loading...
|
2816 |
</div>
|
2817 |
</div>
|
2818 |
<?php
|
@@ -2958,7 +2989,7 @@ function code_block_list () {
|
|
2958 |
|
2959 |
if (!$show_all_blocks && !$block_used) continue;
|
2960 |
|
2961 |
-
$block_text = $block . ' '. $obj->
|
2962 |
if (!empty ($sidebars_with_widget [$block])) $block_text .= ' widget';
|
2963 |
if ($manual_shortcode) $block_text .= ' shortcode';
|
2964 |
if ($manual_php_function) $block_text .= ' php';
|
@@ -2980,19 +3011,19 @@ function code_block_list () {
|
|
2980 |
<tr style="background: <?php echo $row_color; ?>" data-block="<?php echo $block; ?>">
|
2981 |
<td style="min-width: 55px; color: <?php echo $block_used ? '#444' : '#ccc'; ?>;">
|
2982 |
<span class="ai-list-button">
|
2983 |
-
<label class="checkbox-button ai-copy-block" style="margin-top: -1px;" title="Copy block"><span class="checkbox-icon size-8"></span></label>
|
2984 |
</span>
|
2985 |
<span class="ai-list-button">
|
2986 |
-
<label class="checkbox-button ai-preview-block" style="margin-top: -1px;" title="Preview block"><span class="checkbox-icon size-8 icon-preview"></span></label>
|
2987 |
</span>
|
2988 |
<span class="ai-list-button" style="text-align: right; width: 16px;"><?php echo $block; ?></span>
|
2989 |
</td>
|
2990 |
<?php if ($visible_tab): ?>
|
2991 |
-
<td class="ai-tab-link" data-tab="<?php echo $block; ?>" style=" min-width: 120px; color: #0073aa; cursor: pointer; text-align: left; padding-left: 5px; max-width: 220px; white-space: nowrap; overflow: hidden;"><?php echo $obj->
|
2992 |
<?php else: ?>
|
2993 |
-
<td style="min-width: 120px; text-align: left; padding-left: 5px; max-width: 280px; white-space: nowrap; overflow: hidden;"><a href="<?php echo $edit_url; ?>" style="text-decoration: none; box-shadow: 0 0 0;"><?php echo $obj->
|
2994 |
<?php endif ?>
|
2995 |
-
<td style="min-width: 15px; text-align: center; padding-left: 10px; vertical-align: top; color: #f00;" title="Insertion disabled"><?php echo $disabled ? '❚❚' : ''; ?></td>
|
2996 |
<td style="min-width: 80px; text-align: left; padding-left: 5px; max-width: 130px; white-space: nowrap; overflow: hidden; color: <?php echo $automatic_insertion ? '#666' : '#ccc'; ?>"><?php echo $obj->get_automatic_insertion_text(); ?></td>
|
2997 |
<td style="min-width: 110px; text-align: left; padding-left: 10px; max-width: 80px; white-space: nowrap; overflow: hidden; color: <?php echo $block_used ? '#444' : '#ccc'; ?>"><?php echo $obj->get_alignment_type_text (); ?></td>
|
2998 |
<td class="ai-dot" style="min-width: 15px; text-align: center; padding-left: 10px; vertical-align: top; color: <?php echo $manual_php_function ? '#8080ff' : '#ddd'; ?>;">●</td>
|
@@ -3008,15 +3039,15 @@ function code_block_list () {
|
|
3008 |
<table id="ai-list-table" class="exceptions ai-sortable" cellspacing=0 cellpadding=0 style="width: 100%;" data-blocks="<?php echo json_encode ($blocks); ?>">
|
3009 |
<thead>
|
3010 |
<tr>
|
3011 |
-
<th style="text-align: left;"
|
3012 |
-
<th style="text-align: left; padding-left: 5px;"
|
3013 |
<th style="text-align: left; padding-left: 10px;"></th>
|
3014 |
-
<th style="text-align: left; padding-left: 5px;"
|
3015 |
-
<th style="text-align: left; padding-left: 10px;"
|
3016 |
-
<th style="text-align: center; padding-left: 10px;" title="PHP function call">P</th>
|
3017 |
-
<th style="text-align: center; padding-left: 10px;" title="Shortcode">S</th>
|
3018 |
-
<th style="text-align: center; padding-left: 10px;" title="Widget">W</th>
|
3019 |
-
<th style="text-align: left; padding-left: 10px;"
|
3020 |
</tr>
|
3021 |
</thead>
|
3022 |
<tbody>
|
@@ -3026,8 +3057,8 @@ function code_block_list () {
|
|
3026 |
<?php
|
3027 |
if ($row_counter == 0) {
|
3028 |
if ($search_text == '')
|
3029 |
-
echo "<div style='margin: 10px 0 0 20px;'
|
3030 |
-
echo "<div style='margin: 10px 0 0 20px;'
|
3031 |
}
|
3032 |
}
|
3033 |
|
@@ -3082,11 +3113,11 @@ function adsense_list () {
|
|
3082 |
<table id="ai-adsense-ad-units-table" class="exceptions" cellspacing=0 cellpadding=0 style="width: 100%;">
|
3083 |
<thead>
|
3084 |
<tr>
|
3085 |
-
<th style="text-align: left; width: 66px;"
|
3086 |
-
<th style="text-align: left;"
|
3087 |
-
<th style="text-align: left;"
|
3088 |
-
<th style="text-align: left;"
|
3089 |
-
<th style="text-align: left;"
|
3090 |
</tr>
|
3091 |
</thead>
|
3092 |
<tbody>
|
@@ -3110,13 +3141,13 @@ function adsense_list () {
|
|
3110 |
<tr style="background: <?php echo $row_color; ?>" data-id="ca-<?php echo $publisher_id, ':', $ad_unit ['code']; ?>" data-name="<?php echo base64_encode ($ad_unit ['name']); ?>">
|
3111 |
<td>
|
3112 |
<span class="ai-list-button">
|
3113 |
-
<label class="checkbox-button adsense-copy-code" style="margin-top: -1px;" title="Copy AdSense code"><span class="checkbox-icon size-8"></span></label>
|
3114 |
</span>
|
3115 |
<span class="ai-list-button">
|
3116 |
-
<label class="checkbox-button adsense-preview-code" style="margin-top: -1px;" title="Preview AdSense ad"><span class="checkbox-icon size-8 icon-preview"></span></label>
|
3117 |
</span>
|
3118 |
<span class="ai-list-button">
|
3119 |
-
<label class="checkbox-button adsense-get-code" style="margin-top: -1px;" title="Get AdSense code"><span class="checkbox-icon size-8 icon-get"></span></label>
|
3120 |
</span>
|
3121 |
</td>
|
3122 |
<td style="color: <?php echo $ad_unit ['active'] ? '#444' : '#ccc'; ?>;">
|
@@ -3146,9 +3177,13 @@ function adsense_list () {
|
|
3146 |
"<div style='margin: 10px 0 0 20px;'>$error</div>";
|
3147 |
|
3148 |
if (strpos ($error, 'unauthorized_client') !== false) {
|
3149 |
-
echo
|
3150 |
-
|
3151 |
-
|
|
|
|
|
|
|
|
|
3152 |
}
|
3153 |
}
|
3154 |
}
|
@@ -3163,30 +3198,45 @@ function adsense_list () {
|
|
3163 |
<td colspan="2" style="white-space: inherit;">
|
3164 |
<div class="rounded" style="margin: 0;">
|
3165 |
<?php if ($adsense_ids): ?>
|
3166 |
-
<h2 style="margin: 5px 0; float: left;"><strong><?php echo AD_INSERTER_NAME; ?></strong> AdSense Integration
|
3167 |
<?php else: ?>
|
3168 |
-
<h2 style="margin: 5px 0; float: left;"><strong><?php echo AD_INSERTER_NAME; ?></strong> AdSense Integration - Step 2
|
3169 |
<?php endif; ?>
|
3170 |
-
<a href="https://www.google.com/adsense/login" class="simple-link" style="float: right;" target="_blank" title="Google AdSense
|
3171 |
<div style="clear: both;"></div>
|
3172 |
</div>
|
3173 |
<?php if ($adsense_ids): ?>
|
3174 |
-
<p style="text-align: justify;"
|
3175 |
-
|
3176 |
-
|
|
|
|
|
|
|
|
|
|
|
3177 |
<?php else: ?>
|
3178 |
-
<p style="text-align: justify;"
|
3179 |
-
|
3180 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3181 |
<?php endif; ?>
|
3182 |
</td>
|
3183 |
</tr>
|
3184 |
<tr>
|
3185 |
<td style="padding-right: 10px;">
|
3186 |
-
<button type="button" class="ai-top-button" style="display: none; width: 162px; outline-color: transparent;" onclick="window.open('<?php echo $adsense->getAuthUrl (); ?>')"
|
3187 |
</td>
|
3188 |
<td>
|
3189 |
-
<input id="adsense-authorization-code" style="width: 100%;" type="text" value="" size="100" maxlength="200" title="Enter Authorization Code"/>
|
3190 |
</td>
|
3191 |
</tr>
|
3192 |
<tr>
|
@@ -3196,13 +3246,13 @@ function adsense_list () {
|
|
3196 |
<tr>
|
3197 |
<td>
|
3198 |
<?php if ($adsense_ids): ?>
|
3199 |
-
<button type="button" class="ai-top-button authorize-adsense own-ids" style="display: none; float: left; width: 162px; outline-color: transparent;"
|
3200 |
<?php else: ?>
|
3201 |
-
<button type="button" class="ai-top-button authorize-adsense clear-adsense" style="display: none; float: left; width: 162px; outline-color: transparent;"
|
3202 |
<?php endif; ?>
|
3203 |
</td>
|
3204 |
<td>
|
3205 |
-
<button type="button" class="ai-top-button authorize-adsense" style="display: none; float: right; width: 162px; outline-color: transparent;"
|
3206 |
</td>
|
3207 |
</tr>
|
3208 |
</tbody>
|
@@ -3218,51 +3268,53 @@ function adsense_list () {
|
|
3218 |
<tr>
|
3219 |
<td colspan="2" style="white-space: inherit;">
|
3220 |
<div class="rounded" style="margin: 0;">
|
3221 |
-
<h2 style="margin: 5px 0; float: left;"><strong><?php echo AD_INSERTER_NAME; ?></strong> AdSense Integration - Step 1
|
3222 |
-
<a href="https://www.google.com/adsense/login" class="simple-link" style="float: right;" target="_blank" title="Google AdSense
|
3223 |
<div style="clear: both;"></div>
|
3224 |
</div>
|
3225 |
-
<p style="text-align: justify;"
|
3226 |
-
|
|
|
|
|
3227 |
</td>
|
3228 |
</tr>
|
3229 |
<tr>
|
3230 |
<td colspan="2" style="white-space: inherit;">
|
3231 |
<ol>
|
3232 |
-
<li
|
3233 |
-
<li
|
3234 |
-
<li
|
3235 |
-
<li
|
3236 |
-
<li
|
3237 |
-
<li
|
3238 |
-
<li
|
3239 |
-
<li
|
3240 |
-
<li
|
3241 |
-
<li
|
3242 |
-
<li
|
3243 |
-
<li
|
3244 |
-
<li
|
3245 |
-
<li
|
3246 |
-
<li
|
3247 |
-
<li
|
3248 |
-
<li
|
3249 |
</ol>
|
3250 |
</td>
|
3251 |
</tr>
|
3252 |
<tr>
|
3253 |
<td style="padding-right: 10px;">
|
3254 |
-
Client ID
|
3255 |
</td>
|
3256 |
<td>
|
3257 |
-
<input id="adsense-client-id" style="width: 100%;" type="text" value="" size="100" maxlength="200" title="Client ID"/>
|
3258 |
</td>
|
3259 |
</tr>
|
3260 |
<tr>
|
3261 |
<td style="padding-right: 10px;">
|
3262 |
-
Client secret
|
3263 |
</td>
|
3264 |
<td>
|
3265 |
-
<input id="adsense-client-secret" style="width: 100%;" type="text" value="" size="100" maxlength="200" title="Enter Client secret"/>
|
3266 |
</td>
|
3267 |
</tr>
|
3268 |
<tr>
|
@@ -3272,12 +3324,12 @@ function adsense_list () {
|
|
3272 |
<tr>
|
3273 |
<td>
|
3274 |
<?php if (defined ('AI_ADSENSE_API_IDS') && defined ('AI_CI_STRING')): ?>
|
3275 |
-
<button type="button" class="ai-top-button authorize-adsense clear-adsense" style="display: none; float: left; width: 162px; outline-color: transparent;"
|
3276 |
<?php else: ?>
|
3277 |
<?php endif; ?>
|
3278 |
</td>
|
3279 |
<td>
|
3280 |
-
<button type="button" id="save-client-ids" class="ai-top-button" style="display: none; float: right; width: 162px; outline-color: transparent;"
|
3281 |
</td>
|
3282 |
</tr>
|
3283 |
</tbody>
|
@@ -3439,12 +3491,12 @@ function sidebar_addense_alternative () { ?>
|
|
3439 |
?>
|
3440 |
<div class="ai-form header rounded">
|
3441 |
<div style="float: left;">
|
3442 |
-
<h2 style="display: inline-block; margin: 5px 0;"
|
3443 |
</div>
|
3444 |
<div style="clear: both;"></div>
|
3445 |
</div>
|
3446 |
<div class="ai-form rounded" style="height: 90px; padding: 8px 4px 8px 12px;">
|
3447 |
-
<a href='http://bit.ly/Media-NET' class="clear-link" title="Looking for AdSense alternative?" target="_blank"><img id="ai-media-1" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-1.gif" /></a>
|
3448 |
</div>
|
3449 |
<?php
|
3450 |
break;
|
@@ -3452,12 +3504,12 @@ function sidebar_addense_alternative () { ?>
|
|
3452 |
?>
|
3453 |
<div class="ai-form header rounded">
|
3454 |
<div style="float: left;">
|
3455 |
-
<h2 style="display: inline-block; margin: 5px 0;"
|
3456 |
</div>
|
3457 |
<div style="clear: both;"></div>
|
3458 |
</div>
|
3459 |
<div class="ai-form rounded" style="height: 90px; padding: 8px 4px 8px 12px;">
|
3460 |
-
<a href='http://bit.ly/Media-NET' class="clear-link" title="Looking for AdSense alternative?" target="_blank"><img id="ai-media-4" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-4.gif" /></a>
|
3461 |
</div>
|
3462 |
<?php
|
3463 |
break;
|
@@ -3465,12 +3517,12 @@ function sidebar_addense_alternative () { ?>
|
|
3465 |
?>
|
3466 |
<div class="ai-form header rounded">
|
3467 |
<div style="float: left;">
|
3468 |
-
<h2 style="display: inline-block; margin: 5px 0;"
|
3469 |
</div>
|
3470 |
<div style="clear: both;"></div>
|
3471 |
</div>
|
3472 |
<div class="ai-form rounded" style="height: 90px; padding: 8px 4px 8px 12px;">
|
3473 |
-
<a href='http://bit.ly/Media-NET' class="clear-link" title="Looking for AdSense alternative?" target="_blank"><img id="ai-media-5" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-5.png" /></a>
|
3474 |
</div>
|
3475 |
<?php
|
3476 |
break;
|
@@ -3480,12 +3532,12 @@ function sidebar_addense_alternative () { ?>
|
|
3480 |
?>
|
3481 |
<div class="ai-form header rounded">
|
3482 |
<div style="float: left;">
|
3483 |
-
<h2 style="display: inline-block; margin: 5px 0;"
|
3484 |
</div>
|
3485 |
<div style="clear: both;"></div>
|
3486 |
</div>
|
3487 |
<div class="ai-form rounded" style="height: 90px; padding: 8px 4px 8px 12px;">
|
3488 |
-
<a href='http://bit.ly/Info-links' class="clear-link" title="
|
3489 |
</div>
|
3490 |
<?php
|
3491 |
break;
|
@@ -3504,16 +3556,16 @@ function sidebar_support_review () {
|
|
3504 |
<div class="ai-form header no-select rounded" style="position: relative; text-align: justify;">
|
3505 |
|
3506 |
<div style="float: left;">
|
3507 |
-
<h2 style="display: inline-block; margin: 7px 0;"
|
3508 |
-
<button type="button" class="ai-top-button" style="display: none; margin: -5px 0px 0px 15px; min-width; 124px; width: 124px; outline-color: transparent;" onclick="window.open('https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post')" title="If you like Ad Inserter and have a moment, please help me spread the word by reviewing the plugin on WordPres"
|
3509 |
-
<button type="button" class="ai-top-button" style="display: none; margin: -5px 0px 0px 15px; width: 62px; outline-color: transparent;" onclick="window.open('https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4')" title="Support
|
3510 |
</div>
|
3511 |
|
3512 |
<div style="float: right; margin: 7px 10px 0 0;">
|
3513 |
<div id="ai-stars" style="float: right; margin: 0 0 -3px 0; cursor: pointer; font-size: 11px;"><span><?php //echo $rating_value; ?></span><img id="ai-stars-img" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>stars.png" style="margin: 0 0 -3px 10px;"/></div>
|
3514 |
|
3515 |
<div id="ai-rating-bar" class="header" style="float: right; cursor: pointer; margin: 3px 0 0 0; width: 148px; display: none;" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" site-url="<?php echo wp_make_link_relative (get_site_url()); ?>">
|
3516 |
-
<div class="header" style="background: #ccc;" title="Average rating of the plugin
|
3517 |
<a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">
|
3518 |
<div id="rating-value" style="text-align: center; font-size: 11px; line-height: 12px; border-radius: 2px; background: #fddf87; height: 100%; <?php echo $rating_css; ?>"><span style=""><?php echo $rating_string; ?></span></div>
|
3519 |
</a>
|
@@ -3524,10 +3576,13 @@ function sidebar_support_review () {
|
|
3524 |
<div style="clear: both;"></div>
|
3525 |
<hr />
|
3526 |
|
3527 |
-
You've been using
|
3528 |
-
|
3529 |
-
|
3530 |
-
|
|
|
|
|
|
|
3531 |
</div>
|
3532 |
|
3533 |
<?php
|
@@ -3539,23 +3594,23 @@ function sidebar_support_plugin () {
|
|
3539 |
?>
|
3540 |
<div class="ai-form header rounded no-select">
|
3541 |
<div style="float: left;">
|
3542 |
-
<h2 style="display: inline-block; margin: 7px 0;"
|
3543 |
-
<button type="button" class="ai-top-button" style="display: none; margin: -5px 0px 0px 15px; min-width; 62px; width: 62px; outline-color: transparent;" onclick="window.open('https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post')" title="If you like Ad Inserter and have a moment, please help me spread the word by reviewing the plugin on WordPres"
|
3544 |
</div>
|
3545 |
|
3546 |
<div style="float: right;">
|
3547 |
-
<a href="https://twitter.com/AdInserter" class="clear-link" target="_blank"><img id="ai-tw" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>twitter.png" style="vertical-align: middle; margin: 0 0 0 20px;" title="Ad Inserter on Twitter" alt="Ad Inserter on Twitter" /></a>
|
3548 |
-
<a href="https://www.facebook.com/AdInserter/" class="clear-link" target="_blank"><img id="ai-fb" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>facebook.png" style="vertical-align: middle; margin: 0 0 0 10px;" title="Ad Inserter on Facebook" alt="Ad Inserter on Facebook" /></a>
|
3549 |
</div>
|
3550 |
<div style="float: right; margin-top: 2px;">
|
3551 |
-
<h2 style="display: inline-block; margin: 5px 0;"
|
3552 |
</div>
|
3553 |
|
3554 |
<div style="float: right; margin: 8px 20px 0 0;">
|
3555 |
<div id="ai-stars" style="float: right; margin: 0 0 -3px 0; cursor: pointer; font-size: 11px;"><span><?php //echo $rating_value; ?></span><img id="ai-stars-img" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>stars.png" style="margin: 0 0 -3px 10px;"/></div>
|
3556 |
|
3557 |
<div id="ai-rating-bar" class="header" style="float: right; cursor: pointer; margin: 3px 0 0 0; width: 148px; display: none;" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" site-url="<?php echo wp_make_link_relative (get_site_url()); ?>">
|
3558 |
-
<div class="header" style="background: #ccc;" title="Average rating of the plugin - Thank you!">
|
3559 |
<a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">
|
3560 |
<div id="rating-value" style="text-align: center; font-size: 11px; line-height: 12px; border-radius: 2px; background: #fddf87; height: 100%; <?php echo $rating_css; ?>"><span style=""><?php echo $rating_string; ?></span></div>
|
3561 |
</a>
|
@@ -3575,22 +3630,45 @@ function sidebar_help () { ?>
|
|
3575 |
<div class="ai-form header rounded ai-help">
|
3576 |
<div style="float: left;">
|
3577 |
<h2 style="display: inline-block; margin: 5px 0;">
|
3578 |
-
|
3579 |
-
|
3580 |
-
|
3581 |
-
<a href="https://adinserter.pro/documentation/
|
|
|
|
|
|
|
|
|
|
|
|
|
3582 |
</h2>
|
3583 |
<div>
|
3584 |
-
|
3585 |
-
<
|
3586 |
-
<a href="https://adinserter.pro/documentation/adsense-ads
|
3587 |
-
|
3588 |
-
|
3589 |
-
<a href="https://adinserter.pro/documentation/adsense-ads#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3590 |
</div>
|
3591 |
<hr />
|
3592 |
-
<div
|
3593 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
3594 |
</div>
|
3595 |
<!-- <div style="float: right; margin: -5px -5px 0 0;">-->
|
3596 |
<!-- <a href="https://adinserter.pro/Ad_Inserter_User_Manual.pdf" class="clear-link" target="_blank"><img id="ai-pdf" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>manual.png" title="Download user manual"/></a>-->
|
@@ -3612,13 +3690,13 @@ function sidebar_pro () {
|
|
3612 |
<?php switch ($version) {
|
3613 |
case 0: ?>
|
3614 |
<!-- <a href="https://adinserter.pro/" class="clear-link" title="Automate ad placement on posts and pages" target="_blank"><img id="ai-pro-1" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-256x256.jpg" style="margin-top: 10px;" /></a>-->
|
3615 |
-
<a href='http://bit.ly/info_links' class="clear-link" title="
|
3616 |
<?php break; case 1: ?>
|
3617 |
-
<a href='http://bit.ly/info_links' class="clear-link" title="
|
3618 |
<?php break; case 2: ?>
|
3619 |
-
<a href='http://bit.ly/media_NET' class="clear-link" title="Looking for AdSense alternative?" target="_blank"><img id="ai-media-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-2.jpg" style="margin-top: 10px;" /></a>
|
3620 |
<?php break; case 3: ?>
|
3621 |
-
<a href='http://bit.ly/media_NET' class="clear-link" title="Looking for AdSense alternative?" target="_blank"><img id="ai-media-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-3.png" style="margin-top: 10px;" /></a>
|
3622 |
<?php break;
|
3623 |
} ?>
|
3624 |
</div>
|
@@ -3627,28 +3705,28 @@ function sidebar_pro () {
|
|
3627 |
case 0:
|
3628 |
case 1:
|
3629 |
?>
|
3630 |
-
<a href="https://adinserter.pro/documentation/ad-impression-and-click-tracking" class="clear-link" title="A/B testing - Track ad impressions and clicks" target="_blank"><img id="ai-pro-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-charts-250.png" style="margin-top: 10px;" /></a>
|
3631 |
<?php break;
|
3632 |
case 2:
|
3633 |
case 3:
|
3634 |
?>
|
3635 |
-
<a href='https://adinserter.pro/documentation/code-preview' class="clear-link" title="Code preview with visual CSS editor" target="_blank"><img id="ai-preview" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-preview-250.png" style="margin-top: 10px;" /></a>
|
3636 |
<?php break;
|
3637 |
} ?>
|
3638 |
</div>
|
3639 |
<div>
|
3640 |
<?php switch ($version) {
|
3641 |
case 0: ?>
|
3642 |
-
<a href='http://bit.ly/media_NET' class="clear-link" title="Looking for AdSense alternative?" target="_blank"><img id="ai-media-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-3.png" style="margin-top: 10px;" /></a>
|
3643 |
<?php break; case 1: ?>
|
3644 |
<!-- <a href="https://adinserter.pro/documentation/black-and-white-lists#geo-targeting" class="clear-link" title="Geotargeting - black/white-list countries" target="_blank"><img id="ai-pro-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-countries-250.png" style="margin-top: 10px;" /></a>-->
|
3645 |
-
<a href='http://bit.ly/media_NET' class="clear-link" title="Looking for AdSense alternative?" target="_blank"><img id="ai-media-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-2.jpg" style="margin-top: 10px;" /></a>
|
3646 |
<?php break; case 2: ?>
|
3647 |
<!-- <a href="https://adinserter.pro/documentation/black-and-white-lists#geo-targeting" class="clear-link" title="Geotargeting - black/white-list countries" target="_blank"><img id="ai-pro-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-countries-250.png" style="margin-top: 10px;" /></a>-->
|
3648 |
-
<a href='http://bit.ly/info_links' class="clear-link" title="
|
3649 |
<?php break; case 3: ?>
|
3650 |
<!-- <a href="https://adinserter.pro/documentation/black-and-white-lists#geo-targeting" class="clear-link" title="Geotargeting - black/white-list countries" target="_blank"><img id="ai-pro-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-countries-250.png" style="margin-top: 10px;" /></a>-->
|
3651 |
-
<a href='http://bit.ly/info_links' class="clear-link" title="
|
3652 |
<?php break;
|
3653 |
} ?>
|
3654 |
</div>
|
@@ -3657,77 +3735,73 @@ function sidebar_pro () {
|
|
3657 |
case 0:
|
3658 |
case 1:
|
3659 |
?>
|
3660 |
-
<a href='https://adinserter.pro/documentation/code-preview' class="clear-link" title="Code preview with visual CSS editor" target="_blank"><img id="ai-preview" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-preview-250.png" style="margin-top: 10px;" /></a>
|
3661 |
<?php break;
|
3662 |
case 2:
|
3663 |
case 3:
|
3664 |
?>
|
3665 |
-
<a href="https://adinserter.pro/documentation/ad-impression-and-click-tracking" class="clear-link" title="A/B testing - Track ad impressions and clicks" target="_blank"><img id="ai-pro-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-charts-250.png" style="margin-top: 10px;" /></a>
|
3666 |
<?php break;
|
3667 |
} ?>
|
3668 |
</div>
|
3669 |
</div>
|
3670 |
|
3671 |
-
<h3 style="text-align: justify;"
|
3672 |
-
<h4 style="text-align: justify;"
|
3673 |
|
3674 |
<ul>
|
3675 |
-
<li
|
3676 |
-
<li
|
3677 |
-
<li
|
3678 |
-
<li
|
3679 |
-
<li
|
3680 |
-
<li
|
3681 |
-
<li
|
3682 |
-
<li
|
3683 |
-
<li
|
3684 |
-
<li
|
3685 |
-
<li
|
3686 |
-
<li
|
3687 |
-
<li
|
3688 |
-
<li
|
3689 |
-
<li
|
3690 |
-
<li
|
3691 |
-
<li
|
3692 |
-
<li
|
3693 |
-
<li
|
3694 |
-
<li
|
3695 |
-
<li
|
3696 |
-
<li
|
3697 |
-
<li
|
3698 |
-
<li
|
3699 |
-
<li
|
3700 |
-
<li
|
3701 |
-
<li
|
3702 |
-
<li
|
3703 |
-
<li
|
3704 |
-
<li
|
3705 |
-
<li
|
3706 |
-
<li
|
3707 |
-
<li
|
3708 |
-
<li
|
3709 |
-
<li
|
3710 |
-
<li
|
3711 |
-
<li
|
3712 |
-
<li
|
3713 |
-
<li
|
3714 |
-
<li
|
3715 |
-
<li
|
3716 |
-
<li
|
3717 |
-
<li
|
3718 |
-
<li
|
3719 |
-
<li
|
3720 |
-
<li
|
3721 |
-
<li
|
3722 |
-
<li
|
3723 |
-
<li
|
3724 |
</ul>
|
3725 |
|
3726 |
-
<p style="text-align: justify;"
|
3727 |
-
With Ad Inserter Pro you also get <strong>one year of free updates and support via email</strong>. If you find Ad Inserter useful and need more code blocks, ad statistics for impressions and clicks,
|
3728 |
-
A/B testing, sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve country-specific ads, to protect content from users using ad blockers, to serve different ads for users using ad blockers,
|
3729 |
-
multisite options to limit settings for ads, to block some IP addresses, to schedule ads, then you can simply upgrade to
|
3730 |
-
<a href="https://adinserter.pro/" style="text-decoration: none;" target="_blank">Ad Inserter Pro</a> (existing settings will be preserved).</p>
|
3731 |
</div>
|
3732 |
|
3733 |
<?php
|
@@ -3740,47 +3814,47 @@ function sidebar_pro_small () { ?>
|
|
3740 |
<a href="https://adinserter.pro/" class="simple-link" target="_blank"><img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-256x256.jpg" style="width: 100px;" /></a>
|
3741 |
</div>
|
3742 |
<div class="feature-list" style="float: right;">
|
3743 |
-
<h3 style="text-align: center; margin: 0;"
|
3744 |
<hr style="margin-bottom: 0;" />
|
3745 |
|
3746 |
<div style="float: right; margin-left: 15px;">
|
3747 |
<ul>
|
3748 |
-
<li
|
3749 |
-
<li
|
3750 |
-
<li
|
3751 |
</ul>
|
3752 |
</div>
|
3753 |
|
3754 |
<div style="float: right; margin-left: 15px;">
|
3755 |
<ul>
|
3756 |
-
<li
|
3757 |
-
<li
|
3758 |
-
<li
|
3759 |
</ul>
|
3760 |
</div>
|
3761 |
|
3762 |
<div style="float: right; margin-left: 15px;">
|
3763 |
<ul>
|
3764 |
-
<li
|
3765 |
-
<li
|
3766 |
-
<li
|
3767 |
</ul>
|
3768 |
</div>
|
3769 |
|
3770 |
<div style="float: right; margin-left: 15px;">
|
3771 |
<ul>
|
3772 |
-
<li
|
3773 |
-
<li
|
3774 |
-
<li
|
3775 |
|
3776 |
</ul>
|
3777 |
</div>
|
3778 |
|
3779 |
<div style="float: right; margin-left: 15px;">
|
3780 |
<ul>
|
3781 |
-
<li
|
3782 |
-
<li
|
3783 |
-
<li
|
3784 |
</ul>
|
3785 |
</div>
|
3786 |
|
143 |
if (function_exists ('ai_settings_header')) ai_settings_header ($start, $active_tab); else { ?>
|
144 |
|
145 |
<div style="float: left;">
|
146 |
+
<h2 id="plugin_name" style="display: inline-block; margin: 5px 0;"><?php echo AD_INSERTER_NAME . ' ' . AD_INSERTER_VERSION; ?></h2>
|
147 |
</div>
|
148 |
<div id="header-buttons">
|
149 |
<img id="ai-loading" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>loading.gif" style="width: 24px; height: 24px; vertical-align: middle; margin-right: 20px; display: none;" />
|
150 |
+
<button type="button" class="ai-top-button" style="display: none; margin: 0 10px 0 0; min-width: 106px; outline-color: transparent;" onclick="window.open('https://adinserter.pro/documentation')" title="<?php echo AD_INSERTER_NAME; ?> <?php _e ('Online Documentation', 'ad-inserter'); ?>"><?php _e ('Documentation', 'ad-inserter'); ?></button>
|
151 |
+
<button type="button" class="ai-top-button" style="display: none; margin: 0 10px 0 0; min-width: 106px; outline-color: transparent;" onclick="window.open('https://wordpress.org/support/plugin/ad-inserter')" title="<?php echo AD_INSERTER_NAME; ?> <?php _e ("support forum - if you have issues using the plugin go here, check existing threads and open a new one if you don't find answers for your issue.", 'ad-inserter'); ?>"><?php _e ('Support Forum', 'ad-inserter'); ?></button>
|
152 |
+
<button type="button" class="ai-top-button" style="display: none; margin: 0 10px 0 0; min-width: 62px; outline-color: transparent;" onclick="window.open('https://adinserter.pro/')" title="<?php _e ('Need more blocks, sticky ads, GEO targeting, impression and click tracking? Upgrade to Ad Inserter Pro', 'ad-inserter'); ?>">Go Pro</button>
|
153 |
+
<button id="ai-list" type="button" class="ai-top-button" style="min-width: 62px; display: none; margin-right: 0px; outline-color: transparent;" title="<?php _e ('Show list of all blocks', 'ad-inserter'); ?>"><span><?php _e ('Blocks', 'ad-inserter'); ?></span></button>
|
|
|
|
|
154 |
</div>
|
155 |
|
156 |
<div style="clear: both;"></div>
|
160 |
</div>
|
161 |
|
162 |
<div id="javascript-warning" class="ai-form rounded" style="display: none;">
|
163 |
+
<h2 id="javascript-version" style="float: left; margin: 0; max-width: 85px; color: red;" title="<?php _e ('Loaded plugin JavaScript file version', 'ad-inserter'); ?>"> </h2>
|
164 |
+
<div style="float: right; max-width: 640px; text-align: right;">
|
165 |
+
<span id="javascript-version-parameter" style="display: none;"><?php /* translators: %s: HTML tags */ printf (__ ('Wrong or %s missing version parameter %s of the JavaScript file, probably due to inappropriate caching.', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/troubleshooting#missing-version-parameter" class="simple-link" target="_blank">', '</a>'); ?><br /></span>
|
166 |
+
<span id="javascript-version-parameter-missing" style="display: none;"><?php _e ('Missing version parameter of the JavaScript file, probably due to inappropriate caching.', 'ad-inserter'); ?><br /></span>
|
167 |
+
<?php _e ('Incompatible (old) JavaScript file loaded, probably due to inappropriate caching.', 'ad-inserter'); ?><br />
|
168 |
+
<?php _e ("Please delete browser's cache and all other caches used and then reload this page.", 'ad-inserter'); ?>
|
169 |
</div>
|
170 |
<div style="clear: both;"></div>
|
171 |
</div>
|
172 |
|
173 |
<div id="css-warning" class="ai-form rounded" style="display: none;">
|
174 |
+
<h2 id="css-version" style="float: left; margin: 0; max-width: 85px; color: red;" title="<?php _e ('Loaded plugin CSS file version', 'ad-inserter'); ?>"> </h2>
|
175 |
+
<div style="float: right; max-width: 640px; text-align: right;">
|
176 |
+
<span id="css-version-parameter" style="display: none;"><?php /* translators: %s: HTML tags */ printf (__ ('Wrong or %s missing version parameter %s of the CSS file, probably due to inappropriate caching.', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/troubleshooting#missing-version-parameter" class="simple-link" target="_blank">', '</a>'); ?><br /></span>
|
177 |
+
<span id="css-version-parameter-missing" style="display: none;"><?php _e ('Missing version parameter of the CSS file, probably due to inappropriate caching.', 'ad-inserter'); ?><br /></span>
|
178 |
+
<?php _e ('Incompatible (old) CSS file loaded, probably due to inappropriate caching.', 'ad-inserter'); ?><br />
|
179 |
+
<?php _e ("Please delete browser's cache and all other caches used and then reload this page.", 'ad-inserter'); ?>
|
180 |
</div>
|
181 |
<div style="clear: both;"></div>
|
182 |
</div>
|
183 |
|
184 |
<div id="blocked-warning" class="ai-form warning-enabled rounded">
|
185 |
+
<h2 class="blocked-warning-text" style="float: left; color: red; margin: 7px 0;" title="<?php _e ('Error loading page', 'ad-inserter'); ?>"><?php _e ('WARNING', 'ad-inserter'); ?></h2>
|
186 |
<div style="float: right; text-align: right; width: 630px; margin: 8px 5px 0px 0;">
|
187 |
+
<?php /* translators: %s: HTML tags */ printf (__ ('Page may %s not be loaded properly. %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/troubleshooting#page-blocked" class="simple-link" target="_blank">', '</a>'); ?>
|
188 |
+
<?php _e ('Check ad blocking software that may block CSS, JavaScript or image files.', 'ad-inserter'); ?>
|
189 |
</div>
|
190 |
<div style="clear: both;"></div>
|
191 |
</div>
|
199 |
<table class="ai-settings-table" style="">
|
200 |
<tr>
|
201 |
<td style="padding-right: 7px;">
|
202 |
+
<?php _e ('Option Name', 'ad-inserter'); ?>
|
203 |
</td>
|
204 |
<td style="width: 100%;">
|
205 |
<input class="option-name" style="width: 100%;" type="text" size="50" maxlength="200" />
|
206 |
</td>
|
207 |
<td style="padding-left: 7px;">
|
208 |
+
<?php _e ('Share', 'ad-inserter'); ?>
|
209 |
</td>
|
210 |
<td>
|
211 |
+
<input class="option-share" style="width: 42px;" type="text" maxlength="2" title="<?php _e ('Option share in percents - 0 means option is disabled, if share for one option is not defined it will be calculated automatically. Leave all share fields empty for equal option shares.', 'ad-inserter'); ?>" /> %
|
212 |
</td>
|
213 |
<td style="padding-left: 7px;">
|
214 |
+
<?php _e ('Time', 'ad-inserter'); ?>
|
215 |
</td>
|
216 |
<td>
|
217 |
+
<input class="option-time" style="width: 42px;" type="text" maxlength="3" title="<?php _e ('Option time in seconds - 0 means option is disabled and will be skipped. Leave all time fields empty for no timed rotation.', 'ad-inserter'); ?>" /> s
|
218 |
</td>
|
219 |
</tr>
|
220 |
</table>
|
352 |
if ($enabled_h || $enabled_f) $class_hfa = " on"; else $class_hfa = "";
|
353 |
|
354 |
$title_hfa = "";
|
355 |
+
// if ($enabled_h) $title_hfa .= ", Header code";
|
356 |
+
// if ($enabled_f) $title_hfa .= ", Footer code";
|
357 |
$header_code_disabled = !$adH->get_enable_manual () && $adH->get_ad_data() != "";
|
358 |
$footer_code_disabled = !$adF->get_enable_manual () && $adF->get_ad_data() != "";
|
359 |
|
360 |
if (defined ('AI_ADBLOCKING_DETECTION') && AI_ADBLOCKING_DETECTION) {
|
361 |
$enabled_a = $ai_wp_data [AI_ADB_DETECTION];
|
362 |
+
// if ($enabled_a) $title_hfa .= ", Ad blocking detection code";
|
363 |
if ($enabled_a) $class_hfa = " on";
|
364 |
}
|
365 |
|
366 |
?>
|
367 |
+
<li id="ai-tab0" class="ai-tab" title="<?php echo AD_INSERTER_NAME, ' ', _e ('General Settings', 'ad-inserter'); ?><?php echo $title_hfa ?>" style=" margin: 1px 0 0 0;"><a href="#tab-0" style="padding: 5px 14px 6px 12px;"><div class="ai-icon-gear<?php echo $class_hfa ?>"></div></a></li>
|
368 |
</ul>
|
369 |
|
370 |
<?php
|
373 |
|
374 |
if ($block <= $end) {
|
375 |
$default->number = $block;
|
376 |
+
$default->wp_options [AI_OPTION_BLOCK_NAME] = DEFAULT_AD_NAME." ".$block;
|
377 |
|
378 |
$tab_visible = $block == $active_tab || $generate_all;
|
379 |
|
389 |
$manual [$block] = ($manual_widget [$block] && !empty ($sidebars_with_widget [$block])) || $manual_shortcode [$block] || $manual_php_function [$block];
|
390 |
|
391 |
$default->number = 0;
|
392 |
+
$default->wp_options [AI_OPTION_BLOCK_NAME] = DEFAULT_AD_NAME." 0";
|
393 |
|
394 |
$tab_visible = false;
|
395 |
|
414 |
if (function_exists ('ai_lists')) $lists = ai_lists ($obj); else $lists = false;
|
415 |
$show_lists =
|
416 |
$cat_list != '' ||
|
417 |
+
$obj->get_ad_block_cat_type() == AI_WHITE_LIST ||
|
418 |
|
419 |
$tag_list != '' ||
|
420 |
+
$obj->get_ad_block_tag_type() == AI_WHITE_LIST ||
|
421 |
|
422 |
$taxonomy_list != '' ||
|
423 |
+
$obj->get_ad_block_taxonomy_type() == AI_WHITE_LIST ||
|
424 |
|
425 |
$id_list != '' ||
|
426 |
+
$obj->get_id_list_type() == AI_WHITE_LIST ||
|
427 |
|
428 |
$url_list != '' ||
|
429 |
+
$obj->get_ad_url_list_type() == AI_WHITE_LIST ||
|
430 |
|
431 |
$url_parameter_list != '' ||
|
432 |
+
$obj->get_url_parameter_list_type() == AI_WHITE_LIST ||
|
433 |
|
434 |
$domain_list != '' ||
|
435 |
+
$obj->get_ad_domain_list_type() == AI_WHITE_LIST ||
|
436 |
|
437 |
$lists;
|
438 |
if ($show_lists) $lists_style = "font-weight: bold; color: #66f;"; else $lists_style = "";
|
442 |
|
443 |
$insertion_options =
|
444 |
$obj->get_maximum_insertions () ||
|
445 |
+
$obj->get_display_for_users() != AI_DISPLAY_ALL_USERS ||
|
446 |
$obj->get_enable_amp () == AI_ENABLED ||
|
447 |
$obj->get_enable_ajax () != AI_ENABLED ||
|
448 |
$obj->get_enable_404 () == AI_ENABLED ||
|
525 |
<?php if (AI_SYNTAX_HIGHLIGHTING) : ?>
|
526 |
<span class="ai-toolbar-button ai-settings">
|
527 |
<input type="checkbox" value="0" id="simple-editor-<?php echo $block; ?>" class="simple-editor-button" style="display: none;" />
|
528 |
+
<label class="checkbox-button" for="simple-editor-<?php echo $block; ?>" title="<?php _e ('Toggle Syntax Highlighting / Simple editor for mobile devices', 'ad-inserter'); ?>"><span class="checkbox-icon icon-tablet"></span></label>
|
529 |
</span>
|
530 |
<?php endif; ?>
|
531 |
|
532 |
<?php if (defined ('AI_CODE_GENERATOR')) : ?>
|
533 |
<span class="ai-toolbar-button ai-settings">
|
534 |
<input type="checkbox" id="tools-button-<?php echo $block; ?>" style="display: none;" />
|
535 |
+
<label class="checkbox-button tools-button" for="tools-button-<?php echo $block; ?>" title="<?php _e ('Toggle tools', 'ad-inserter'); ?>"><span class="checkbox-icon icon-tools"></span></label>
|
536 |
</span>
|
537 |
<?php endif; ?>
|
538 |
|
540 |
<span class="ai-toolbar-button ai-settings">
|
541 |
<input type="hidden" name="<?php echo AI_OPTION_PROCESS_PHP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
542 |
<input type="checkbox" name="<?php echo AI_OPTION_PROCESS_PHP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_process_php (); ?>" id="process-php-<?php echo $block; ?>" <?php if ($obj->get_process_php () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
543 |
+
<label class="checkbox-button" for="process-php-<?php echo $block; ?>" title="<?php _e ('Process PHP code in block', 'ad-inserter'); ?>"><span class="checkbox-icon icon-php<?php if ($obj->get_process_php () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
544 |
</span>
|
545 |
<?php endif; ?>
|
546 |
|
547 |
<span class="ai-toolbar-button ai-settings">
|
548 |
<input type="hidden" name="<?php echo AI_OPTION_DISABLE_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
549 |
<input type="checkbox" name="<?php echo AI_OPTION_DISABLE_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" id="disable-insertion-<?php echo $block; ?>" default="<?php echo $default->get_disable_insertion (); ?>" <?php if ($obj->get_disable_insertion () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
550 |
+
<label class="checkbox-button" for="disable-insertion-<?php echo $block; ?>" title="<?php _e ('Disable insertion of this block', 'ad-inserter'); ?>"><span class="checkbox-icon icon-pause<?php if ($obj->get_disable_insertion () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
551 |
</span>
|
552 |
|
553 |
<?php if (function_exists ('ai_settings_top_buttons_2')) ai_settings_top_buttons_2 ($block, $obj, $default); ?>
|
559 |
<?php if (defined ('AI_CODE_GENERATOR')) : ?>
|
560 |
<span class="ai-toolbar-button ai-button-left">
|
561 |
<input type="checkbox" id="code-generator-<?php echo $block; ?>" style="display: none;" />
|
562 |
+
<label class="checkbox-button code-generator-button" for="code-generator-<?php echo $block; ?>" title="<?php _e ('Toggle code generator', 'ad-inserter'); ?>"><span class="checkbox-icon icon-code"></span></label>
|
563 |
</span>
|
564 |
<span class="ai-toolbar-button ai-button-left">
|
565 |
<input type="checkbox" id="rotation-<?php echo $block; ?>" style="display: none;" />
|
566 |
+
<label class="checkbox-button rotation-button" for="rotation-<?php echo $block; ?>" title="<?php _e ('Toggle rotation editor', 'ad-inserter'); ?>"><span class="checkbox-icon icon-rotation"></span></label>
|
567 |
</span>
|
568 |
<span class="ai-toolbar-button ai-button-left">
|
569 |
<input type="checkbox" id="visual-editor-<?php echo $block; ?>" style="display: none;" />
|
570 |
+
<label class="checkbox-button" for="visual-editor-<?php echo $block; ?>" title="<?php _e ('Open visual HTML editor', 'ad-inserter'); ?>"><span class="checkbox-icon icon-edit"></span></label>
|
571 |
</span>
|
572 |
|
573 |
|
577 |
|
578 |
<span class="ai-toolbar-button ai-button-left">
|
579 |
<input type="checkbox" id="ga-<?php echo $block; ?>" style="display: none;" />
|
580 |
+
<label class="checkbox-button adsense-list" for="ga-<?php echo $block; ?>" title="<?php _e ('Show AdSense ad units', 'ad-inserter'); ?>" ><span class="checkbox-icon icon-adsense ai-bw"></span></label>
|
581 |
</span>
|
582 |
<?php endif; ?>
|
583 |
<?php endif; ?>
|
586 |
|
587 |
<span class="ai-toolbar-button" style="padding-right: 15px;">
|
588 |
<input type="checkbox" id="clear-block-<?php echo $block; ?>" style="display: none;" />
|
589 |
+
<label class="checkbox-button" for="clear-block-<?php echo $block; ?>" title="<?php _e ('Clear block', 'ad-inserter'); ?>"><span class="checkbox-icon icon-clear"></span></label>
|
590 |
</span>
|
591 |
|
592 |
<span class="ai-toolbar-button">
|
593 |
<input type="checkbox" id="copy-block-<?php echo $block; ?>" class="ai-copy" style="display: none;" />
|
594 |
+
<label class="checkbox-button" for="copy-block-<?php echo $block; ?>" title="<?php _e ('Copy block', 'ad-inserter'); ?>"><span class="checkbox-icon icon-copy"></span></label>
|
595 |
</span>
|
596 |
<span class="ai-toolbar-button">
|
597 |
<input type="checkbox" id="paste-name-<?php echo $block; ?>" style="display: none;" />
|
598 |
+
<label class="checkbox-button" for="paste-name-<?php echo $block; ?>" title="<?php _e ('Paste name', 'ad-inserter'); ?>"><span class="checkbox-icon icon-paste-name"></span></label>
|
599 |
</span>
|
600 |
<span class="ai-toolbar-button">
|
601 |
<input type="checkbox" id="paste-code-<?php echo $block; ?>" style="display: none;" />
|
602 |
+
<label class="checkbox-button" for="paste-code-<?php echo $block; ?>" title="<?php _e ('Paste code', 'ad-inserter'); ?>"><span class="checkbox-icon icon-paste-code"></span></label>
|
603 |
</span>
|
604 |
<span class="ai-toolbar-button">
|
605 |
<input type="checkbox" id="paste-settings-<?php echo $block; ?>" style="display: none;" />
|
606 |
+
<label class="checkbox-button" for="paste-settings-<?php echo $block; ?>" title="<?php _e ('Paste settings', 'ad-inserter'); ?>"><span class="checkbox-icon icon-paste-settings"></span></label>
|
607 |
</span>
|
608 |
<span class="ai-toolbar-button">
|
609 |
<input type="checkbox" id="paste-block-<?php echo $block; ?>" style="display: none;" />
|
610 |
+
<label class="checkbox-button" for="paste-block-<?php echo $block; ?>" title="<?php _e ('Paste block (name, code and settings)', 'ad-inserter'); ?>"><span class="checkbox-icon icon-paste"></span></label>
|
611 |
</span>
|
612 |
<?php endif; ?>
|
613 |
</div>
|
626 |
<span style="display: table-cell; width: 100%;"></span>
|
627 |
<span class="ai-toolbar-button">
|
628 |
<input type="checkbox" id="remove-option-<?php echo $block; ?>" style="display: none;" />
|
629 |
+
<label class="checkbox-button" for="remove-option-<?php echo $block; ?>" title="<?php _e ('Remove option', 'ad-inserter'); ?>"><span class="checkbox-icon icon-minus"></span></label>
|
630 |
</span>
|
631 |
<span class="ai-toolbar-button">
|
632 |
<input type="checkbox" id="add-option-<?php echo $block; ?>" style="display: none;" />
|
633 |
+
<label class="checkbox-button" for="add-option-<?php echo $block; ?>" title="<?php _e ('Add option', 'ad-inserter'); ?>"><span class="checkbox-icon icon-plus"></span></label>
|
634 |
</span>
|
635 |
</div>
|
636 |
|
645 |
<span style="display: table-cell; width: 100%;"></span>
|
646 |
<span class="ai-toolbar-button">
|
647 |
<input type="checkbox" id="import-code-<?php echo $block; ?>" style="display: none;" />
|
648 |
+
<label class="checkbox-button" for="import-code-<?php echo $block; ?>" title="<?php _e ('Import code', 'ad-inserter'); ?>"><span class="checkbox-icon icon-import"></span></label>
|
649 |
</span>
|
650 |
<span class="ai-toolbar-button">
|
651 |
<input type="checkbox" id="generate-code-<?php echo $block; ?>" style="display: none;" />
|
652 |
+
<label class="checkbox-button" for="generate-code-<?php echo $block; ?>" title="<?php _e ('Generate code', 'ad-inserter'); ?>"><span class="checkbox-icon icon-generate"></span></label>
|
653 |
</span>
|
654 |
</div>
|
655 |
|
656 |
<ul>
|
657 |
+
<li id="ai-banner-<?php echo $block; ?>"><a href="#tab-banner-<?php echo $block; ?>"><?php _e ('Banner', 'ad-inserter'); ?></a></li>
|
658 |
<li id="ai-adsense-pub-id-<?php echo $block; ?>"><a href="#tab-adsense-<?php echo $block; ?>">AdSense</a></li>
|
659 |
</ul>
|
660 |
|
665 |
<table class="ai-settings-table">
|
666 |
<tr>
|
667 |
<td style="padding-right: 7px;">
|
668 |
+
<?php _e ('Image', 'ad-inserter'); ?>
|
669 |
</td>
|
670 |
<td style="width: 98%;">
|
671 |
<input id="banner-image-url-<?php echo $block; ?>" style="width: 100%;" type="text" size="50" maxlength="200" />
|
673 |
</tr>
|
674 |
<tr>
|
675 |
<td>
|
676 |
+
<?php _e ('Link', 'ad-inserter'); ?>
|
677 |
</td>
|
678 |
<td>
|
679 |
<input id="banner-url-<?php echo $block; ?>" style="width: 100%;" type="text" size="50" maxlength="200" />
|
684 |
<input type="checkbox" id="open-new-tab-<?php echo $block; ?>" />
|
685 |
</td>
|
686 |
<td>
|
687 |
+
<label for="open-new-tab-<?php echo $block; ?>" style="display: inline-block; margin-top: 8px;"><?php _e ('Open link in a new tab', 'ad-inserter'); ?></label>
|
688 |
+
<button id="select-image-button-<?php echo $block; ?>" type="button" class='ai-button select-image' style="display: none; min-width: 120px; float: right; margin: 7px 0 0 0;"><?php _e ('Select Image', 'ad-inserter'); ?></button>
|
689 |
+
<button id="select-placeholder-button-<?php echo $block; ?>" type="button" class='ai-button select-image' style="display: none; min-width: 120px; float: right; margin: 7px 10px 0 0;"><?php _e ('Select Placeholder', 'ad-inserter'); ?></button>
|
690 |
</td>
|
691 |
</tr>
|
692 |
</table>
|
698 |
<table class="ai-settings-table left">
|
699 |
<tr>
|
700 |
<td>
|
701 |
+
<?php _e ('Comment', 'ad-inserter'); ?>
|
702 |
</td>
|
703 |
<td style="width: 100%; padding-left: 7px;">
|
704 |
<input id="adsense-comment-<?php echo $block; ?>" style="width: 100%;" type="text" size="30" maxlength="50" />
|
706 |
</tr>
|
707 |
|
708 |
<tr>
|
709 |
+
<td title="Publisher ID">
|
710 |
+
<?php _ex ('Publisher ID', 'AdSense', 'ad-inserter'); ?>
|
711 |
</td>
|
712 |
<td style="width: 100%; padding-left: 7px;">
|
713 |
+
<input id="adsense-publisher-id-<?php echo $block; ?>" style="width: 100%;" type="text" size="30" maxlength="30" title="Publisher ID" />
|
714 |
</td>
|
715 |
</tr>
|
716 |
|
717 |
<tr>
|
718 |
+
<td title="Ad Slot ID">
|
719 |
+
<?php _ex ('Ad Slot ID', 'AdSense', 'ad-inserter'); ?>
|
720 |
</td>
|
721 |
<td style="padding-left: 7px;">
|
722 |
+
<input id="adsense-ad-slot-id-<?php echo $block; ?>" style="width: 100%;" type="text" size="30" maxlength="30" title="Ad Slot ID" />
|
723 |
</td>
|
724 |
</tr>
|
725 |
|
726 |
<tr>
|
727 |
<td>
|
728 |
+
<?php _e ('Ad Type', 'ad-inserter'); ?>
|
729 |
</td>
|
730 |
<td style="padding-left: 7px;">
|
731 |
<select id="adsense-type-<?php echo $block; ?>">
|
732 |
+
<option value="<?php echo AI_ADSENSE_STANDARD; ?>" selected><?php echo AI_TEXT_ADSENSE_STANDARD; ?></option>
|
733 |
<option value="<?php echo AI_ADSENSE_LINK; ?>"><?php echo AI_TEXT_LINK; ?></option>
|
734 |
<option value="<?php echo AI_ADSENSE_IN_ARTICLE; ?>"><?php echo AI_TEXT_IN_ARTICLE; ?></option>
|
735 |
<option value="<?php echo AI_ADSENSE_IN_FEED; ?>"><?php echo AI_TEXT_IN_FEED; ?></option>
|
736 |
<option value="<?php echo AI_ADSENSE_MATCHED_CONTENT; ?>"><?php echo AI_TEXT_MATCHED_CONTENT; ?></option>
|
737 |
+
<option value="<?php echo AI_ADSENSE_AUTO; ?>"><?php echo AI_TEXT_ADSENSE_AUTO; ?></option>
|
738 |
</select>
|
739 |
<div class="adsense-size" style="float: right;">
|
740 |
+
<?php _e ('Size', 'ad-inserter'); ?>
|
741 |
<select id="adsense-size-<?php echo $block; ?>">
|
742 |
<option value="<?php echo AI_ADSENSE_SIZE_FIXED; ?>" selected><?php echo AI_TEXT_FIXED; ?></option>
|
743 |
<option value="<?php echo AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT; ?>"><?php echo AI_TEXT_FIXED_BY_VIEWPORT; ?></option>
|
749 |
|
750 |
<tr>
|
751 |
<td>
|
752 |
+
<?php _e ('AMP Ad', 'ad-inserter'); ?>
|
753 |
</td>
|
754 |
<td style="padding-left: 7px;">
|
755 |
<select id="adsense-amp-<?php echo $block; ?>">
|
756 |
+
<option value="<?php echo AI_ADSENSE_AMP_DISABLED; ?>" selected><?php echo AI_TEXT_ADSENSE_DISABLED; ?></option>
|
757 |
<option value="<?php echo AI_ADSENSE_AMP_ABOVE_THE_FOLD; ?>"><?php echo AI_TEXT_ABOVE_THE_FOLD; ?></option>
|
758 |
<option value="<?php echo AI_ADSENSE_AMP_BELOW_THE_FOLD; ?>"><?php echo AI_TEXT_BELOW_THE_FOLD; ?></option>
|
759 |
</select>
|
766 |
<td>
|
767 |
<?php if (defined ('AI_ADSENSE_API')) : ?>
|
768 |
<?php if (!defined ('AI_ADSENSE_AUTHORIZATION_CODE')) : ?>
|
769 |
+
<button type="button" class='ai-button adsense-list' style="display: none; margin: 2px 0px 0px 7px;" title="<?php _e ('Show ad units from your AdSense account', 'ad-inserter'); ?>"><?php _e ('AdSense ad units', 'ad-inserter'); ?></button>
|
770 |
<?php endif; ?>
|
771 |
<?php endif; ?>
|
772 |
</td>
|
782 |
</tr>
|
783 |
|
784 |
<tr>
|
785 |
+
<td class="adsense-layout" style="padding-left: 7px;" title="Layout">
|
786 |
+
<?php _ex ('Layout', 'AdSense', 'ad-inserter'); ?>
|
787 |
</td>
|
788 |
<td class="adsense-layout" style="width: 100%; padding-left: 7px;">
|
789 |
+
<input id="adsense-layout-<?php echo $block; ?>" style="width: 100%;" type="text" size="80" maxlength="100" title="Layout" />
|
790 |
</td>
|
791 |
</tr>
|
792 |
|
793 |
<tr>
|
794 |
+
<td class="adsense-layout" style="padding-left: 7px;" title="Layout Key">
|
795 |
+
<?php _ex ('Layout Key', 'AdSense', 'ad-inserter'); ?>
|
796 |
</td>
|
797 |
<td class="adsense-layout" style="padding-left: 7px;">
|
798 |
+
<input id="adsense-layout-key-<?php echo $block; ?>" style="width: 100%;" type="text" size="80" maxlength="100" title="Layout Key" />
|
799 |
</td>
|
800 |
</tr>
|
801 |
|
889 |
|
890 |
<div style="padding: 0; min-height: 28px;">
|
891 |
<div style="float: left;">
|
892 |
+
<button id="lists-button-<?php echo $block; ?>" type="button" class='ai-button2' style="display: none; margin-right: 4px;" title="<?php _e ('White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, Cookie or Referer (domain)', 'ad-inserter'); ?>"><span style="<?php echo $lists_style; ?>"><?php _e ('Lists', 'ad-inserter'); ?></span></button>
|
893 |
+
<button id="manual-button-<?php echo $block; ?>" type="button" class='ai-button2' style="display: none; margin-right: 4px;" title="<?php _e ('Widget, Shortcode and PHP function call', 'ad-inserter'); ?>"><span style="<?php echo $manual_style; ?>"><?php _e ('Manual', 'ad-inserter'); ?></span></button>
|
894 |
+
<button id="device-detection-button-<?php echo $block; ?>" class='ai-button2' type="button" style="display: none; margin-right: 4px;" title="<?php _e ('Client/Server-side Device Detection (Desktop, Tablet, Phone,...)', 'ad-inserter'); ?>"><span style="<?php echo $devices_style; ?>"><?php _e ('Devices', 'ad-inserter'); ?></span></button>
|
895 |
+
<button id="misc-button-<?php echo $block; ?>" type="button" class='ai-button2' style="display: none; margin-right: 4px;" title="<?php _e ('Check for user status, Limit insertions (error 404 page, Ajax requests, RSS feeds), Filter, Scheduling, General tag', 'ad-inserter'); ?>"><span style="<?php echo $misc_style; ?>"><?php _e ('Misc', 'ad-inserter'); ?></span></button>
|
896 |
+
<button id="preview-button-<?php echo $block; ?>" type="button" class='ai-button2' style="display: none; margin-right: 4px;" title="<?php _e ('Preview code and alignment', 'ad-inserter'); ?>" site-url="<?php echo wp_make_link_relative (get_site_url()); ?>"><?php _e ('Preview', 'ad-inserter'); ?></button>
|
897 |
</div>
|
898 |
<div style="float: right;">
|
899 |
+
<div title='<?php _e ('Rotation editor active - rotation code not generated! Make sure no rotation editor is active before saving settings.', 'ad-inserter'); ?>' class="ai-rotation-warning" style='float: left; font-size: 18px; font-weight: bold; margin: 5px 5px 0 0; display: none;'>⚠</div>
|
900 |
<?php if (function_exists ('ai_settings_bottom_buttons')) ai_settings_bottom_buttons ($start, $end); else { ?>
|
901 |
+
<input style="display: none; font-weight: bold;" name="<?php echo AI_FORM_SAVE; ?>" value="<?php _e ('Save All Settings', 'ad-inserter'); ?>" type="submit" />
|
902 |
<?php } ?>
|
903 |
</div>
|
904 |
<div style="clear: both;"></div>
|
906 |
|
907 |
<div class="rounded">
|
908 |
<div style="float: left;">
|
909 |
+
<?php _e('Automatic insertion', 'ad-inserter'); ?>
|
910 |
<select class="ai-image-selection" style="width:200px; margin-bottom: 3px;" id="display-type-<?php echo $block; ?>" name="<?php echo AI_OPTION_AUTOMATIC_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_automatic_insertion(); ?>">
|
911 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-disabled" value="<?php echo AI_AUTOMATIC_INSERTION_DISABLED; ?>" data-title="<?php echo AI_TEXT_DISABLED; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_DISABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISABLED; ?></option>
|
912 |
<?php if (defined ('AI_BUFFERING') && get_output_buffering ()) : ?>
|
926 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-comments" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_COMMENTS; ?>" data-title="<?php echo AI_TEXT_AFTER_COMMENTS; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_COMMENTS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_COMMENTS; ?></option>
|
927 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-footer" value="<?php echo AI_AUTOMATIC_INSERTION_FOOTER; ?>" data-title="<?php echo AI_TEXT_FOOTER; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_FOOTER) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_FOOTER; ?></option>
|
928 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-before-html" value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT; ?>" data-title="<?php echo AI_TEXT_BEFORE_HTML_ELEMENT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_HTML_ELEMENT; ?></option>
|
929 |
+
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-inside-html" value="<?php echo AI_AUTOMATIC_INSERTION_INSIDE_HTML_ELEMENT; ?>" data-title="<?php echo AI_TEXT_INSIDE_HTML_ELEMENT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_INSIDE_HTML_ELEMENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_INSIDE_HTML_ELEMENT; ?></option>
|
930 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-html" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT; ?>" data-title="<?php echo AI_TEXT_AFTER_HTML_ELEMENT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_HTML_ELEMENT; ?></option>
|
931 |
<?php foreach ($ai_custom_hooks as $hook_index => $custom_hook) { ?>
|
932 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-custom-hook" value="<?php echo AI_AUTOMATIC_INSERTION_CUSTOM_HOOK + $custom_hook ['index'] - 1; ?>" data-title="<?php echo $custom_hook ['name']; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_CUSTOM_HOOK + $custom_hook ['index'] - 1) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo $custom_hook ['name']; ?></option>
|
935 |
</div>
|
936 |
|
937 |
<div style="float: right;">
|
938 |
+
<?php _e('Alignment and style', 'ad-inserter'); ?>
|
939 |
+
<select style="min-width:130px;" id="block-alignment-<?php echo $block; ?>" name="<?php echo AI_OPTION_ALIGNMENT_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_alignment_type(); ?>">
|
940 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-default" value="<?php echo AI_ALIGNMENT_DEFAULT; ?>" data-title="<?php echo AI_TEXT_DEFAULT; ?>" <?php echo ($obj->get_alignment_type() == AI_ALIGNMENT_DEFAULT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DEFAULT; ?></option>
|
941 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-align-left" value="<?php echo AI_ALIGNMENT_LEFT; ?>" data-title="<?php echo AI_TEXT_LEFT; ?>" <?php echo ($obj->get_alignment_type() == AI_ALIGNMENT_LEFT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_LEFT; ?></option>
|
942 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-center" value="<?php echo AI_ALIGNMENT_CENTER; ?>" data-title="<?php echo AI_TEXT_CENTER; ?>" <?php echo ($obj->get_alignment_type() == AI_ALIGNMENT_CENTER) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CENTER; ?></option>
|
948 |
<option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-no-wrapping" value="<?php echo AI_ALIGNMENT_NO_WRAPPING; ?>" data-title="<?php echo AI_TEXT_NO_WRAPPING; ?>" <?php echo ($obj->get_alignment_type() == AI_ALIGNMENT_NO_WRAPPING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NO_WRAPPING; ?></option>
|
949 |
</select>
|
950 |
|
951 |
+
<button id="show-css-button-<?php echo $block; ?>" type="button" class='ai-button' style="min-width: 60px; margin-right: 0px;"><?php _ex ('Show', 'Button', 'ad-inserter'); ?></button>
|
952 |
</div>
|
953 |
<div style="clear: both;"></div>
|
954 |
|
960 |
|
961 |
<div class="max-input">
|
962 |
<span id="css-label-<?php echo $block; ?>" style="display: table-cell; width: 36px; padding: 0; height: 26px; vertical-align: middle; margin: 4px 0 0 0; font-size: 14px; font-weight: bold;">CSS</span>
|
963 |
+
<input id="custom-css-<?php echo $block; ?>" style="width: 100%; display: none; font-family: Courier, 'Courier New', monospace; font-weight: bold;" type="text" name="<?php echo AI_OPTION_CUSTOM_CSS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_custom_css(); ?>" value="<?php echo $obj->get_custom_css(); ?>" maxlength="500" title="<?php _e ('Custom CSS code for the wrapping div', 'ad-inserter'); ?>" />
|
964 |
<span style="display: table-cell; vertical-align: middle; font-family: Courier, 'Courier New', monospace; font-size: 12px; font-weight: bold; cursor: pointer;">
|
965 |
<span id="css-no-wrapping-<?php echo $block; ?>" class='css-code' style="height: 26px; padding-left: 7px; display: none;"></span>
|
966 |
+
<span id="css-none-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="<?php _e ('CSS code for the wrapping div, click to edit', 'ad-inserter'); ?>"><?php echo $obj->alignment_style (AI_ALIGNMENT_DEFAULT); ?></span>
|
967 |
+
<span id="css-left-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="<?php _e ('CSS code for the wrapping div, click to edit', 'ad-inserter'); ?>"><?php echo $obj->alignment_style (AI_ALIGNMENT_LEFT); ?></span>
|
968 |
+
<span id="css-right-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="<?php _e ('CSS code for the wrapping div, click to edit', 'ad-inserter'); ?>"><?php echo $obj->alignment_style (AI_ALIGNMENT_RIGHT); ?></span>
|
969 |
+
<span id="css-center-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="<?php _e ('CSS code for the wrapping div, click to edit', 'ad-inserter'); ?>"><?php echo $obj->alignment_style (AI_ALIGNMENT_CENTER); ?></span>
|
970 |
+
<span id="css-float-left-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-left: 7px; display: none;" title="<?php _e ('CSS code for the wrapping div, click to edit', 'ad-inserter'); ?>"><?php echo $obj->alignment_style (AI_ALIGNMENT_FLOAT_LEFT); ?></span>
|
971 |
+
<span id="css-float-right-<?php echo $block; ?>" class='css-code-<?php echo $block; ?>' style="height: 18px; padding-right: 7px; display: none;" title="<?php _e ('CSS code for the wrapping div, click to edit', 'ad-inserter'); ?>"><?php echo $obj->alignment_style (AI_ALIGNMENT_FLOAT_RIGHT); ?></span>
|
972 |
<?php if (function_exists ('ai_style_css')) ai_style_css ($block, $obj); ?>
|
973 |
</span>
|
974 |
+
<span style="display:table-cell; width: 46px;" ><button id="edit-css-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: table-cell; padding: 0; margin: 0 0 0 8px;"><?php _e ('Edit', 'ad-inserter'); ?></button></span>
|
975 |
</div>
|
976 |
</div>
|
977 |
</div>
|
983 |
<tr>
|
984 |
<td style="width: 70%; padding-bottom: 5px;">
|
985 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_POSTS, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
986 |
+
<input type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_POSTS, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_display_settings_post(); ?>" id="display-posts-<?php echo $block; ?>" title="<?php _e ('Enable insertion on posts', 'ad-inserter'); ?>" <?php if ($obj->get_display_settings_post()==AI_ENABLED) echo 'checked '; ?> />
|
987 |
|
988 |
+
<select style="margin: 0 0 0 10px;" id="enabled-on-which-posts-<?php echo $block; ?>" name="<?php echo AI_OPTION_ENABLED_ON_WHICH_POSTS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_enabled_on_which_posts(); ?>" style="width:160px" title="<?php _e ('Individual post exceptions (if enabled here) can be configured in post editor. Leave blank for no individual post exceptions.', 'ad-inserter'); ?>">
|
989 |
<option value="<?php echo AI_NO_INDIVIDUAL_EXCEPTIONS; ?>" <?php echo ($obj->get_ad_enabled_on_which_posts()==AI_NO_INDIVIDUAL_EXCEPTIONS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NO_INDIVIDUAL_EXCEPTIONS; ?></option>
|
990 |
+
<option value="<?php echo AI_INDIVIDUALLY_DISABLED; ?>" <?php echo ($obj->get_ad_enabled_on_which_posts()==AI_INDIVIDUALLY_DISABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_POSTS_INDIVIDUALLY_DISABLED; ?></option>
|
991 |
+
<option value="<?php echo AI_INDIVIDUALLY_ENABLED; ?>" <?php echo ($obj->get_ad_enabled_on_which_posts()==AI_INDIVIDUALLY_ENABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_POSTS_INDIVIDUALLY_ENABLED; ?></option>
|
992 |
</select>
|
993 |
|
994 |
+
<label for="display-posts-<?php echo $block; ?>" title="<?php _e ('Individual post exceptions (if enabled here) can be configured in post editor. Leave blank for no individual post exceptions.', 'ad-inserter'); ?>"><?php _e ('Posts', 'ad-inserter'); ?></label>
|
995 |
|
996 |
<?php
|
997 |
if (!empty ($block_exceptions [$block])) {
|
998 |
?>
|
999 |
+
<button id="exceptions-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; width: 15px; height: 15px; margin-left: 20px;" title="<?php _e ('Toggle list of individual exceptions', 'ad-inserter'); ?>"></button>
|
1000 |
<?php
|
1001 |
}
|
1002 |
?>
|
1006 |
</td>
|
1007 |
<td style="padding-left: 8px;">
|
1008 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_HOMEPAGE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1009 |
+
<input id= "display-homepage-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_HOMEPAGE, WP_FORM_FIELD_POSTFIX, $block; ?>" title="<?php _e ('Enable insertion on homepage: latest posts (including on sub-pages), static page or theme homepage (available positions may depend on hooks used by the theme)', 'ad-inserter'); ?>" value="1" default="<?php echo $default->get_display_settings_home(); ?>" <?php if ($obj->get_display_settings_home()==AI_ENABLED) echo 'checked '; ?> />
|
1010 |
+
<label for="display-homepage-<?php echo $block; ?>" title="<?php _e ('Enable insertion on homepage: latest posts (including on sub-pages), static page or theme homepage (available positions may depend on hooks used by the theme)', 'ad-inserter'); ?>"><?php _e ('Homepage', 'ad-inserter'); ?></label>
|
1011 |
</td>
|
1012 |
<td style="padding-left: 8px;">
|
1013 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_CATEGORY_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1014 |
+
<input id= "display-category-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_CATEGORY_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" title="<?php _e ('Enable insertion on category blog pages (including sub-pages)', 'ad-inserter'); ?>" value="1" default="<?php echo $default->get_display_settings_category(); ?>" <?php if ($obj->get_display_settings_category()==AI_ENABLED) echo 'checked '; ?> />
|
1015 |
+
<label for="display-category-<?php echo $block; ?>" title="<?php _e ('Enable insertion on category blog pages (including sub-pages)', 'ad-inserter'); ?>"><?php _e ('Category pages', 'ad-inserter'); ?></label>
|
1016 |
</td>
|
1017 |
</tr>
|
1018 |
|
1019 |
<tr>
|
1020 |
<td style="width: 70%">
|
1021 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1022 |
+
<input type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_display_settings_page(); ?>" id="display-pages-<?php echo $block; ?>" title="<?php _e ('Enable insertion on static pages', 'ad-inserter'); ?>" <?php if ($obj->get_display_settings_page()==AI_ENABLED) echo 'checked '; ?> />
|
1023 |
|
1024 |
+
<select style="margin: 0 0 0 10px;" id="enabled-on-which-pages-<?php echo $block; ?>" name="<?php echo AI_OPTION_ENABLED_ON_WHICH_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_enabled_on_which_pages(); ?>" style="width:160px" title="<?php _e ('Individual static page exceptions (if enabled here) can be configured in page editor. Leave blank for no individual page exceptions.', 'ad-inserter'); ?>">
|
1025 |
<option value="<?php echo AI_NO_INDIVIDUAL_EXCEPTIONS; ?>" <?php echo ($obj->get_ad_enabled_on_which_pages()==AI_NO_INDIVIDUAL_EXCEPTIONS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NO_INDIVIDUAL_EXCEPTIONS; ?></option>
|
1026 |
+
<option value="<?php echo AI_INDIVIDUALLY_DISABLED; ?>" <?php echo ($obj->get_ad_enabled_on_which_pages()==AI_INDIVIDUALLY_DISABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_PAGES_INDIVIDUALLY_DISABLED; ?></option>
|
1027 |
+
<option value="<?php echo AI_INDIVIDUALLY_ENABLED; ?>" <?php echo ($obj->get_ad_enabled_on_which_pages()==AI_INDIVIDUALLY_ENABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_PAGES_INDIVIDUALLY_ENABLED; ?></option>
|
1028 |
</select>
|
1029 |
|
1030 |
+
<label for="display-pages-<?php echo $block; ?>" title="<?php _e ('Individual static page exceptions (if enabled here) can be configured in page editor. Leave blank for no individual page exceptions.', 'ad-inserter'); ?>"><?php _e ('Static pages', 'ad-inserter'); ?></label>
|
1031 |
</td>
|
1032 |
<td style="padding-left: 8px;">
|
1033 |
</td>
|
1034 |
<td style="padding-left: 8px;">
|
1035 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_SEARCH_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1036 |
+
<input id= "display-search-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_SEARCH_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" title="<?php _e ('Enable insertion on search blog pages', 'ad-inserter'); ?>" value="1" default="<?php echo $default->get_display_settings_search(); ?>" <?php if ($obj->get_display_settings_search()==AI_ENABLED) echo 'checked '; ?> />
|
1037 |
+
<label for="display-search-<?php echo $block; ?>" title="<?php _e ('Enable insertion on search blog pages', 'ad-inserter'); ?>"><?php _e ('Search pages', 'ad-inserter'); ?></label>
|
1038 |
</td>
|
1039 |
<td style="padding-left: 8px;">
|
1040 |
<input type="hidden" name="<?php echo AI_OPTION_DISPLAY_ON_ARCHIVE_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1041 |
+
<input id= "display-archive-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_ARCHIVE_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" title="<?php _e ('Enable insertion on tag or archive blog pages', 'ad-inserter'); ?>" value="1" default="<?php echo $default->get_display_settings_archive(); ?>" <?php if ($obj->get_display_settings_archive()==AI_ENABLED) echo 'checked '; ?> />
|
1042 |
+
<label for="display-archive-<?php echo $block; ?>" title="<?php _e ('Enable insertion on tag or archive blog pages', 'ad-inserter'); ?>"><?php _e ('Tag / Archive pages', 'ad-inserter'); ?></label>
|
1043 |
</td>
|
1044 |
</tr>
|
1045 |
</table>
|
1052 |
?>
|
1053 |
<table class="exceptions" cellspacing=0 cellpadding=0><tbody>
|
1054 |
<tr>
|
1055 |
+
<th class="id">ID</th><th class="type"><?php _ex ('Type', 'post', 'ad-inserter'); ?></th><th class="page page-only"> <?php _e ('Title', 'ad-inserter'); ?></th><th>
|
1056 |
<input id="clear-block-exceptions-<?php echo $block; ?>"
|
1057 |
+
onclick="if (confirm('<?php /* translators: %d: block number */ printf (__('Are you sure you want to clear all exceptions for block %d?', 'ad-inserter'), $block); ?>')) {document.getElementById ('clear-block-exceptions-<?php echo $block; ?>').style.visibility = 'hidden'; document.getElementById ('clear-block-exceptions-<?php echo $block; ?>').style.fontSize = '1px'; document.getElementById ('clear-block-exceptions-<?php echo $block; ?>').value = '<?php echo $block; ?>'; return true;} return false"
|
1058 |
+
title="<?php _e ('Clear all exceptions for block', 'ad-inserter'); echo ' ', $block; ?>"
|
1059 |
name="<?php echo AI_FORM_CLEAR_EXCEPTIONS; ?>"
|
1060 |
value="❌"
|
1061 |
type="submit"
|
1075 |
<?php
|
1076 |
}
|
1077 |
?>
|
|
|
1078 |
</tbody></table>
|
1079 |
<?php
|
1080 |
};
|
1084 |
<div id="html-element-settings-<?php echo $block; ?>" class="rounded" style="<?php echo $html_settings ? "" : " display: none;" ?>">
|
1085 |
<div class="max-input" style="margin: 0 0 8px 0;">
|
1086 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1087 |
+
<?php _e ('HTML element', 'ad-inserter'); ?>
|
1088 |
|
1089 |
</span>
|
1090 |
<span style="display: table-cell; width: 20px; vertical-align: middle; padding: 0 2px 2px 0;">
|
1091 |
+
<button id="html-elements-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="<?php _e ('Open HTML element selector', 'ad-inserter'); ?>"></button>
|
1092 |
</span>
|
1093 |
<span style="display: table-cell;">
|
1094 |
<input
|
1097 |
name="<?php echo AI_OPTION_HTML_SELECTOR, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1098 |
default="<?php echo $default->get_html_selector (); ?>"
|
1099 |
value="<?php echo $obj->get_html_selector (); ?>"
|
1100 |
+
title="<?php _e ('HTML element selector or comma separated list of selectors', 'ad-inserter'); ?> (.class, #id)"
|
1101 |
style="width: 100%;"
|
1102 |
maxlength="80" />
|
1103 |
</span>
|
1104 |
<span id="inside-element-<?php echo $block; ?>" style="display: table-cell; white-space: nowrap; width: 20%;<?php if ($automatic_insertion != AI_AUTOMATIC_INSERTION_INSIDE_HTML_ELEMENT) echo ' display: none;'; ?>">
|
1105 |
|
1106 |
+
<?php _e ('Action', 'ad-inserter'); ?>
|
1107 |
<select style="margin: 0 0 2px 0;" name="<?php echo AI_OPTION_INSIDE_ELEMENT, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_inside_element (); ?>">
|
1108 |
<option value="<?php echo AI_HTML_PREPEND_CONTENT; ?>" <?php echo ($inside_element == AI_HTML_PREPEND_CONTENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_PREPEND_CONTENT; ?></option>
|
1109 |
<option value="<?php echo AI_HTML_APPEND_CONTENT; ?>" <?php echo ($inside_element == AI_HTML_APPEND_CONTENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_APPEND_CONTENT; ?></option>
|
1114 |
</div>
|
1115 |
<div class="max-input" style="margin: 8px 0 0 0;">
|
1116 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1117 |
+
<?php _e ('Insertion', 'ad-inserter'); ?>
|
1118 |
+
<select id="html-element-insertion-<?php echo $block; ?>" style="margin-bottom: 3px;" name="<?php echo AI_OPTION_HTML_ELEMENT_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_html_element_insertion (); ?>" title="<?php _e ('Client-side insertion uses JavaScript to insert block when the page loads. Server-side insertion inserts block when the page is generated but needs Output buffering enabled.', 'ad-inserter'); ?>">
|
1119 |
<option value="<?php echo AI_HTML_INSERTION_CLIENT_SIDE; ?>" <?php echo ($html_element_insertion == AI_HTML_INSERTION_CLIENT_SIDE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CLIENT_SIDE; ?></option>
|
1120 |
<option value="<?php echo AI_HTML_INSERTION_CLIENT_SIDE_DOM_READY; ?>" <?php echo ($html_element_insertion == AI_HTML_INSERTION_CLIENT_SIDE_DOM_READY) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CLIENT_SIDE_DOM_READY; ?></option>
|
1121 |
<?php if (defined ('AI_BUFFERING') && get_output_buffering ()) : ?>
|
1125 |
</span>
|
1126 |
<span id="server-side-insertion-<?php echo $block; ?>" style="display: table-cell; white-space: nowrap;<?php if ($html_element_insertion == AI_HTML_INSERTION_SEREVR_SIDE) echo 'display: none;'; ?>">
|
1127 |
|
1128 |
+
<?php _e ('JavaScript code position', 'ad-inserter'); ?>
|
1129 |
+
<select style="max-width: 140px; margin-bottom: 3px;" name="<?php echo AI_OPTION_SERVER_SIDE_INSERTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_server_side_insertion (); ?>" title="<?php _e ('Page position where the JavaScript code for client-side insertion will be inserted. Should be after the HTML element if not waiting for DOM ready.', 'ad-inserter'); ?>">
|
1130 |
<option value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_POST; ?>" <?php echo ($server_side_insertion == AI_AUTOMATIC_INSERTION_BEFORE_POST) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_POST; ?></option>
|
1131 |
<option value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_POST; ?>" <?php echo ($server_side_insertion == AI_AUTOMATIC_INSERTION_AFTER_POST) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_POST; ?></option>
|
1132 |
<option value="<?php echo AI_AUTOMATIC_INSERTION_FOOTER; ?>" <?php echo ($server_side_insertion == AI_AUTOMATIC_INSERTION_FOOTER) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_FOOTER; ?></option>
|
1140 |
|
1141 |
<div id="paragraph-settings-<?php echo $block; ?>" class="rounded" style="<?php echo $paragraph_settings ? "" : " display: none;" ?>">
|
1142 |
<div style="float: left; margin-top: 1px;">
|
1143 |
+
<?php _e ('Paragraphs', 'ad-inserter'); ?>
|
1144 |
<input
|
1145 |
type="text"
|
1146 |
name="<?php echo AI_OPTION_PARAGRAPH_NUMBER, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1147 |
default="<?php echo $default->get_paragraph_number(); ?>"
|
1148 |
value="<?php echo $obj->get_paragraph_number(); ?>"
|
1149 |
+
title="<?php _e('Paragraph number or comma separated paragraph numbers: 1 to N means paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 means random paragraph, value between 0 and 1 means relative position on the page (0.2 means paragraph at 20% of page paragraphs, 0.5 means paragraph halfway down the page, 0.9 means paragraph at 90% of page paragraphs, etc.), negative number means counting from the opposite direction', 'ad-inserter'); ?>"
|
1150 |
size="20"
|
1151 |
maxlength="50" />
|
1152 |
</div>
|
1153 |
|
1154 |
<div style="float: right;">
|
1155 |
+
<button id="counting-button-<?php echo $block; ?>" type="button" class='ai-button' style="min-width: 85px; margin-right: 8px; display: none;"><?php _e ('Counting', 'ad-inserter'); ?></button>
|
1156 |
+
<button id="clearance-button-<?php echo $block; ?>" type="button" class='ai-button' style="min-width: 85px; margin-right: 0px; display: none;"><?php _e ('Clearance', 'ad-inserter'); ?></button>
|
1157 |
</div>
|
1158 |
|
1159 |
<div style="clear: both;"></div>
|
1162 |
<div id="paragraph-counting-<?php echo $block; ?>" class="rounded" style="<?php echo $paragraph_counting ? "" : "display: none;" ?>">
|
1163 |
<div class="max-input" style="margin: 0 0 8px 0;">
|
1164 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1165 |
+
<?php _e ('Count', 'ad-inserter'); ?>
|
1166 |
+
|
1167 |
<select name="<?php echo AI_OPTION_DIRECTION_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_direction_type(); ?>">
|
1168 |
+
<option value="<?php echo AI_DIRECTION_FROM_TOP; ?>" <?php echo ($obj->get_direction_type()==AI_DIRECTION_FROM_TOP) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DIRECTION_FROM_TOP; ?></option>
|
1169 |
+
<option value="<?php echo AI_DIRECTION_FROM_BOTTOM; ?>" <?php echo ($obj->get_direction_type()==AI_DIRECTION_FROM_BOTTOM) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DIRECTION_FROM_BOTTOM; ?></option>
|
1170 |
</select>
|
1171 |
+
<?php _e ('paragraphs with tags', 'ad-inserter'); ?>
|
1172 |
+
|
1173 |
</span>
|
1174 |
<span style="display: table-cell;">
|
1175 |
<input
|
1176 |
style="width: 100%;"
|
1177 |
+
title="<?php _e ("Comma separated HTML tag names, usually only 'p' tags are used", 'ad-inserter'); ?>"
|
1178 |
type="text" name="<?php echo AI_OPTION_PARAGRAPH_TAGS, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1179 |
default="<?php echo $default->get_paragraph_tags(); ?>"
|
1180 |
value="<?php echo $obj->get_paragraph_tags(); ?>"
|
1183 |
</span>
|
1184 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1185 |
|
1186 |
+
<?php _e ('that have between', 'ad-inserter'); ?>
|
1187 |
<input
|
1188 |
type="text"
|
1189 |
name="<?php echo AI_OPTION_MIN_PARAGRAPH_WORDS, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1190 |
default="<?php echo $default->get_minimum_paragraph_words(); ?>"
|
1191 |
value="<?php echo $obj->get_minimum_paragraph_words(); ?>"
|
1192 |
+
title="<?php _e ('Minimum number of paragraph words, leave empty for no limit', 'ad-inserter'); ?>"
|
1193 |
size="4"
|
1194 |
maxlength="5" />
|
1195 |
+
<?php _e ('and', 'ad-inserter'); ?>
|
1196 |
<input
|
1197 |
type="text"
|
1198 |
name="<?php echo AI_OPTION_MAX_PARAGRAPH_WORDS, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1199 |
default="<?php echo $default->get_maximum_paragraph_words(); ?>"
|
1200 |
value="<?php echo $obj->get_maximum_paragraph_words(); ?>"
|
1201 |
+
title="<?php _e ('Maximum number of paragraph words, leave empty for no limit', 'ad-inserter'); ?>"
|
1202 |
size="4"
|
1203 |
maxlength="5" />
|
1204 |
+
<?php _e ('words', 'ad-inserter'); ?>
|
1205 |
</span>
|
1206 |
</div>
|
1207 |
|
1208 |
<div class="max-input" style="margin: 8px 0 8px 0;">
|
1209 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1210 |
+
<?php _e ('and', 'ad-inserter'); ?>
|
1211 |
<select style="margin-bottom: 3px;" name="<?php echo AI_OPTION_PARAGRAPH_TEXT_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_paragraph_text_type(); ?>">
|
1212 |
+
<option value="<?php echo AI_CONTAIN; ?>" <?php echo ($obj->get_paragraph_text_type() == AI_CONTAIN) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CONTAIN; ?></option>
|
1213 |
+
<option value="<?php echo AI_DO_NOT_CONTAIN; ?>" <?php echo ($obj->get_paragraph_text_type() == AI_DO_NOT_CONTAIN) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DO_NOT_CONTAIN; ?></option>
|
1214 |
</select>
|
1215 |
</span>
|
1216 |
<span class="small-input-tags" style="display: table-cell;">
|
1217 |
<input
|
1218 |
style="width: 100%;"
|
1219 |
+
title="<?php _e ('Comma separated texts', 'ad-inserter'); ?>"
|
1220 |
type="text"
|
1221 |
name="<?php echo AI_OPTION_PARAGRAPH_TEXT, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1222 |
default="<?php echo $default->get_paragraph_text(); ?>"
|
1225 |
</span>
|
1226 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1227 |
|
1228 |
+
<?php _e ('Minimum number of paragraphs', 'ad-inserter'); ?>
|
1229 |
<input
|
1230 |
type="text"
|
1231 |
name="<?php echo AI_OPTION_MIN_PARAGRAPHS, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1240 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1241 |
<input type="hidden" name="<?php echo AI_OPTION_COUNT_INSIDE_BLOCKQUOTE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1242 |
<input id= "ignore_blockquote-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_COUNT_INSIDE_BLOCKQUOTE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_count_inside_blockquote(); ?>" <?php if ($obj->get_count_inside_blockquote()==AI_ENABLED) echo 'checked '; ?> />
|
1243 |
+
<label for="ignore_blockquote-<?php echo $block; ?>" style="vertical-align: top;" title="<?php /* translators: %s: list of HTML tags */ printf (__('Count also paragraphs inside %s elements - defined on general plugin settings page - tab ⚙ / tab General', 'ad-inserter'), get_no_paragraph_counting_inside ()); ?>"><?php _e ('Count inside special elements', 'ad-inserter'); ?></label>
|
1244 |
</span>
|
1245 |
|
1246 |
<span class="small-input-tags" style="display: table-cell;">
|
1251 |
|
1252 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1253 |
|
1254 |
+
<?php _e ('Minimum number of words in paragraphs above', 'ad-inserter'); ?>
|
1255 |
<input
|
1256 |
type="text"
|
1257 |
name="<?php echo AI_OPTION_MIN_WORDS_ABOVE, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1258 |
default="<?php echo $default->get_minimum_words_above(); ?>"
|
1259 |
value="<?php echo $obj->get_minimum_words_above() ?>"
|
1260 |
+
title="<?php _e ('Used only with automatic insertion After paragraph and empty paragraph numbers', 'ad-inserter'); ?>"
|
1261 |
size="2"
|
1262 |
maxlength="4" />
|
1263 |
</span>
|
1267 |
<div id="paragraph-clearance-<?php echo $block; ?>" class="rounded" style="<?php echo $paragraph_clearance ? "" : "display: none;" ?>">
|
1268 |
<div class="max-input" style="margin: 0 0 8px 0">
|
1269 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1270 |
+
<?php _e ('In', 'ad-inserter'); ?>
|
1271 |
<input
|
1272 |
type="text"
|
1273 |
name="<?php echo AI_OPTION_AVOID_PARAGRAPHS_ABOVE, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1274 |
default="<?php echo $default->get_avoid_paragraphs_above(); ?>"
|
1275 |
value="<?php echo $obj->get_avoid_paragraphs_above(); ?>"
|
1276 |
+
title="<?php _e ('Number of paragraphs above to check, leave empty to disable checking', 'ad-inserter'); ?>"
|
1277 |
size="2"
|
1278 |
maxlength="3" />
|
1279 |
+
<?php _e ('paragraphs above avoid', 'ad-inserter'); ?>
|
1280 |
+
|
1281 |
</span>
|
1282 |
<span style="display: table-cell;">
|
1283 |
<input
|
1284 |
style="width: 100%;"
|
1285 |
+
title="<?php _e ('Comma separated texts', 'ad-inserter'); ?>"
|
1286 |
type="text"
|
1287 |
name="<?php echo AI_OPTION_AVOID_TEXT_ABOVE, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1288 |
default="<?php echo $default->get_avoid_text_above(); ?>"
|
1293 |
|
1294 |
<div class="max-input" style="margin: 8px 0">
|
1295 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1296 |
+
<?php _e ('In', 'ad-inserter'); ?>
|
1297 |
<input
|
1298 |
type="text"
|
1299 |
name="<?php echo AI_OPTION_AVOID_PARAGRAPHS_BELOW, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1300 |
default="<?php echo $default->get_avoid_paragraphs_below(); ?>"
|
1301 |
value="<?php echo $obj->get_avoid_paragraphs_below(); ?>"
|
1302 |
+
title="<?php _e ('Number of paragraphs below to check, leave empty to disable checking', 'ad-inserter'); ?>"
|
1303 |
size="2"
|
1304 |
maxlength="3" />
|
1305 |
+
<?php _e ('paragraphs below avoid', 'ad-inserter'); ?>
|
1306 |
+
|
1307 |
</span>
|
1308 |
<span style="display: table-cell;">
|
1309 |
<input
|
1310 |
style="width: 100%;"
|
1311 |
+
title="<?php _e ('Comma separated texts', 'ad-inserter'); ?>"
|
1312 |
type="text"
|
1313 |
name="<?php echo AI_OPTION_AVOID_TEXT_BELOW, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1314 |
default="<?php echo $default->get_avoid_text_below(); ?>"
|
1318 |
</div>
|
1319 |
|
1320 |
<div style="margin: 8px 0 0 0;">
|
1321 |
+
<?php _e ('If text is found', 'ad-inserter'); ?>
|
1322 |
<select id="avoid-action-<?php echo $block; ?>" style="margin-bottom: 3px;" name="<?php echo AI_OPTION_AVOID_ACTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_avoid_action(); ?>">
|
1323 |
+
<option value="<?php echo AI_DO_NOT_INSERT; ?>" <?php echo ($obj->get_avoid_action() == AI_DO_NOT_INSERT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DO_NOT_INSERT; ?></option>
|
1324 |
+
<option value="<?php echo AI_TRY_TO_SHIFT_POSITION; ?>" <?php echo ($obj->get_avoid_action() == AI_TRY_TO_SHIFT_POSITION) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_TRY_TO_SHIFT_POSITION; ?></option>
|
1325 |
</select>
|
1326 |
<span id="check-up-to-<?php echo $block; ?>">
|
1327 |
+
—
|
1328 |
+
<?php _e ('check up to', 'ad-inserter'); ?>
|
1329 |
<input
|
1330 |
type="text"
|
1331 |
name="<?php echo AI_OPTION_AVOID_TRY_LIMIT, WP_FORM_FIELD_POSTFIX, $block; ?>"
|
1333 |
value="<?php echo $obj->get_avoid_try_limit(); ?>"
|
1334 |
size="2"
|
1335 |
maxlength="3" />
|
1336 |
+
<?php _ex ('paragraphs', 'check up to', 'ad-inserter'); ?>
|
1337 |
<select style="margin-bottom: 3px;" name="<?php echo AI_OPTION_AVOID_DIRECTION, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_avoid_direction(); ?>">
|
1338 |
+
<option value="<?php echo AI_ABOVE; ?>" <?php echo ($obj->get_avoid_direction() == AI_ABOVE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_ABOVE; ?></option>
|
1339 |
+
<option value="<?php echo AI_BELOW; ?>" <?php echo ($obj->get_avoid_direction() == AI_BELOW) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BELOW; ?></option>
|
1340 |
+
<option value="<?php echo AI_ABOVE_AND_THEN_BELOW; ?>" <?php echo ($obj->get_avoid_direction() == AI_ABOVE_AND_THEN_BELOW) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_ABOVE_AND_THEN_BELOW; ?></option>
|
1341 |
+
<option value="<?php echo AI_BELOW_AND_THEN_ABOVE; ?>" <?php echo ($obj->get_avoid_direction() == AI_BELOW_AND_THEN_ABOVE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BELOW_AND_THEN_ABOVE; ?></option>
|
1342 |
</select>
|
1343 |
</span>
|
1344 |
</div>
|
1349 |
<tbody>
|
1350 |
<tr>
|
1351 |
<td>
|
1352 |
+
<?php _e ('Categories', 'ad-inserter'); ?>
|
1353 |
</td>
|
1354 |
<td>
|
1355 |
+
<button id="category-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="<?php _e ('Toggle category editor', 'ad-inserter'); ?>"></button>
|
1356 |
</td>
|
1357 |
<td style="padding-right: 7px; width: 65%;">
|
1358 |
+
<input id="category-list-<?php echo $block; ?>" class="ai-list-filter ai-list-custom" style="width: 100%;" title="<?php _e ('Comma separated category slugs', 'ad-inserter'); ?>" type="text" name="<?php echo AI_OPTION_CATEGORY_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_block_cat(); ?>" value="<?php echo $cat_list; ?>" size="54" maxlength="500" />
|
1359 |
</td>
|
1360 |
<td style="padding-right: 7px;">
|
1361 |
+
<input type="radio" name="<?php echo AI_OPTION_CATEGORY_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="category-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_cat_type() == AI_BLACK_LIST; ?>" value="<?php echo AI_BLACK_LIST; ?>" <?php if ($obj->get_ad_block_cat_type() == AI_BLACK_LIST) echo 'checked '; ?> />
|
1362 |
+
<label for="category-blacklist-<?php echo $block; ?>" title="<?php _e ('Blacklist categories', 'ad-inserter'); ?>"><?php echo AI_TEXT_BLACK_LIST; ?></label>
|
1363 |
</td>
|
1364 |
<td>
|
1365 |
+
<input type="radio" name="<?php echo AI_OPTION_CATEGORY_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="category-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_cat_type() == AI_WHITE_LIST; ?>" value="<?php echo AI_WHITE_LIST; ?>" <?php if ($obj->get_ad_block_cat_type() == AI_WHITE_LIST) echo 'checked '; ?> />
|
1366 |
+
<label for="category-whitelist-<?php echo $block; ?>" title="<?php _e ('Whitelist categories', 'ad-inserter'); ?>"><?php echo AI_TEXT_WHITE_LIST; ?></label>
|
1367 |
</td>
|
1368 |
</tr>
|
1369 |
<tr>
|
1375 |
|
1376 |
<tr>
|
1377 |
<td>
|
1378 |
+
<?php _e ('Tags', 'ad-inserter'); ?>
|
1379 |
</td>
|
1380 |
<td>
|
1381 |
+
<button id="tag-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="<?php _e ('Toggle tag editor', 'ad-inserter'); ?>"></button>
|
1382 |
</td>
|
1383 |
<td style="padding-right: 7px;">
|
1384 |
+
<input id="tag-list-<?php echo $block; ?>" class="ai-list-filter ai-list-custom" style="width: 100%;" title="<?php _e ('Comma separated tag slugs', 'ad-inserter'); ?>" type="text" name="<?php echo AI_OPTION_TAG_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_block_tag(); ?>" value="<?php echo $tag_list; ?>" size="54" maxlength="500"/>
|
1385 |
</td>
|
1386 |
<td style="padding-right: 7px;">
|
1387 |
+
<input type="radio" name="<?php echo AI_OPTION_TAG_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="tag-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_tag_type() == AI_BLACK_LIST; ?>" value="<?php echo AI_BLACK_LIST; ?>" <?php if ($obj->get_ad_block_tag_type() == AI_BLACK_LIST) echo 'checked '; ?> />
|
1388 |
+
<label for="tag-blacklist-<?php echo $block; ?>" title="<?php _e ('Blacklist tags', 'ad-inserter'); ?>"><?php echo AI_TEXT_BLACK_LIST; ?></label>
|
1389 |
</td>
|
1390 |
<td>
|
1391 |
+
<input type="radio" name="<?php echo AI_OPTION_TAG_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="tag-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_tag_type() == AI_WHITE_LIST; ?>" value="<?php echo AI_WHITE_LIST; ?>" <?php if ($obj->get_ad_block_tag_type() == AI_WHITE_LIST) echo 'checked '; ?> />
|
1392 |
+
<label for="tag-whitelist-<?php echo $block; ?>" title="<?php _e ('Whitelist tags', 'ad-inserter'); ?>"><?php echo AI_TEXT_WHITE_LIST; ?></label>
|
1393 |
</td>
|
1394 |
</tr>
|
1395 |
<tr>
|
1401 |
|
1402 |
<tr>
|
1403 |
<td>
|
1404 |
+
<?php _e ('Taxonomies', 'ad-inserter'); ?>
|
1405 |
</td>
|
1406 |
<td>
|
1407 |
+
<button id="taxonomy-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="<?php _e ('Toggle taxonomy editor', 'ad-inserter'); ?>"></button>
|
1408 |
</td>
|
1409 |
<td style="padding-right: 7px;">
|
1410 |
+
<input id="taxonomy-list-<?php echo $block; ?>" class="ai-list-custom" style="width: 100%;" title="<?php _e ('Comma separated slugs: taxonomy, term or taxonomy:term', 'ad-inserter'); ?>" type="text" name="<?php echo AI_OPTION_TAXONOMY_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_block_taxonomy(); ?>" value="<?php echo $taxonomy_list; ?>" size="54" maxlength="500" />
|
1411 |
</td>
|
1412 |
<td style="padding-right: 7px;">
|
1413 |
+
<input type="radio" name="<?php echo AI_OPTION_TAXONOMY_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="taxonomy-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_taxonomy_type() == AI_BLACK_LIST; ?>" value="<?php echo AI_BLACK_LIST; ?>" <?php if ($obj->get_ad_block_taxonomy_type() == AI_BLACK_LIST) echo 'checked '; ?> />
|
1414 |
+
<label for="category-blacklist-<?php echo $block; ?>" title="<?php _e ('Blacklist taxonomies', 'ad-inserter'); ?>"><?php echo AI_TEXT_BLACK_LIST; ?></label>
|
1415 |
</td>
|
1416 |
<td>
|
1417 |
+
<input type="radio" name="<?php echo AI_OPTION_TAXONOMY_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="taxonomy-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_block_taxonomy_type() == AI_WHITE_LIST; ?>" value="<?php echo AI_WHITE_LIST; ?>" <?php if ($obj->get_ad_block_taxonomy_type() == AI_WHITE_LIST) echo 'checked '; ?> />
|
1418 |
+
<label for="category-whitelist-<?php echo $block; ?>" title="<?php _e ('Whitelist taxonomies', 'ad-inserter'); ?>"><?php echo AI_TEXT_WHITE_LIST; ?></label>
|
1419 |
</td>
|
1420 |
</tr>
|
1421 |
<tr>
|
1427 |
|
1428 |
<tr>
|
1429 |
<td>
|
1430 |
+
<?php _e ('Post IDs', 'ad-inserter'); ?>
|
1431 |
</td>
|
1432 |
<td>
|
1433 |
+
<button id="id-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="<?php _e ('Toggle post/page ID editor', 'ad-inserter'); ?>"></button>
|
1434 |
</td>
|
1435 |
<td style="padding-right: 7px;">
|
1436 |
+
<input id="id-list-<?php echo $block; ?>" class="ai-list-custom" style="width: 100%;" title="<?php _e ('Comma separated post/page IDs', 'ad-inserter'); ?>" type="text" name="<?php echo AI_OPTION_ID_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_id_list(); ?>" value="<?php echo $id_list; ?>" size="54" maxlength="500"/>
|
1437 |
</td>
|
1438 |
<td style="padding-right: 7px;">
|
1439 |
+
<input type="radio" name="<?php echo AI_OPTION_ID_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="id-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_id_list_type() == AI_BLACK_LIST; ?>" value="<?php echo AI_BLACK_LIST; ?>" <?php if ($obj->get_id_list_type() == AI_BLACK_LIST) echo 'checked '; ?> />
|
1440 |
+
<label for="id-blacklist-<?php echo $block; ?>" title="<?php _e ('Blacklist IDs', 'ad-inserter'); ?>"><?php echo AI_TEXT_BLACK_LIST; ?></label>
|
1441 |
</td>
|
1442 |
<td>
|
1443 |
+
<input type="radio" name="<?php echo AI_OPTION_ID_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="id-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_id_list_type() == AI_WHITE_LIST; ?>" value="<?php echo AI_WHITE_LIST; ?>" <?php if ($obj->get_id_list_type() == AI_WHITE_LIST) echo 'checked '; ?> />
|
1444 |
+
<label for="id-whitelist-<?php echo $block; ?>" title="<?php _e ('Whitelist IDs', 'ad-inserter'); ?>"><?php echo AI_TEXT_WHITE_LIST; ?></label>
|
1445 |
</td>
|
1446 |
</tr>
|
1447 |
<tr>
|
1453 |
|
1454 |
<tr>
|
1455 |
<td>
|
1456 |
+
<?php _e ('Urls', 'ad-inserter'); ?>
|
1457 |
</td>
|
1458 |
<td>
|
1459 |
+
<button id="url-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="<?php _e ('Toggle url editor', 'ad-inserter'); ?>"></button>
|
1460 |
</td>
|
1461 |
<td style="padding-right: 7px;">
|
1462 |
+
<input id="url-list-<?php echo $block; ?>" class="ai-list-space ai-clean-protocol ai-clean-domain" style="width: 100%;" type="text" name="<?php echo AI_OPTION_URL_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_url_list(); ?>" value="<?php echo $url_list; ?>" size="54" maxlength="500" title="<?php _e ('Comma separated urls (page addresses) starting with / after domain name (e.g. /permalink-url, use only when you need to taget a specific url not accessible by other means). You can also use partial urls with * (/url-start*. *url-pattern*, *url-end)', 'ad-inserter'); ?>" />
|
1463 |
</td>
|
1464 |
<td style="padding-right: 7px;">
|
1465 |
+
<input type="radio" name="<?php echo AI_OPTION_URL_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="url-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_url_list_type() == AI_BLACK_LIST; ?>" value="<?php echo AI_BLACK_LIST; ?>" <?php if ($obj->get_ad_url_list_type() == AI_BLACK_LIST) echo 'checked '; ?> />
|
1466 |
+
<label for="url-blacklist-<?php echo $block; ?>" title="<?php _e ('Blacklist urls', 'ad-inserter'); ?>"><?php echo AI_TEXT_BLACK_LIST; ?></label>
|
1467 |
</td>
|
1468 |
<td>
|
1469 |
+
<input type="radio" name="<?php echo AI_OPTION_URL_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="url-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_url_list_type() == AI_WHITE_LIST; ?>" value="<?php echo AI_WHITE_LIST; ?>" <?php if ($obj->get_ad_url_list_type() == AI_WHITE_LIST) echo 'checked '; ?> />
|
1470 |
+
<label for="url-whitelist-<?php echo $block; ?>" title="<?php _e ('Whitelist urls', 'ad-inserter'); ?>"><?php echo AI_TEXT_WHITE_LIST; ?></label>
|
1471 |
</td>
|
1472 |
</tr>
|
1473 |
<tr>
|
1478 |
|
1479 |
<tr>
|
1480 |
<td>
|
1481 |
+
<?php _e ('Url parameters', 'ad-inserter'); ?>
|
1482 |
|
1483 |
</td>
|
1484 |
<td>
|
1485 |
+
<button id="url-parameter-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="<?php _e ('Toggle url parameter and cookie editor', 'ad-inserter'); ?>"></button>
|
1486 |
</td>
|
1487 |
<td style="padding-right: 7px;">
|
1488 |
+
<input id="url-parameter-list-<?php echo $block; ?>" style="width: 100%;" title="<?php _e ("Comma separated url query parameters or cookies with optional values (use 'prameter', 'prameter=value', 'cookie' or 'cookie=value')", 'ad-inserter'); ?>" type="text" name="<?php echo AI_OPTION_URL_PARAMETER_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_url_parameter_list(); ?>" value="<?php echo $url_parameter_list; ?>" size="54" maxlength="500"/>
|
1489 |
</td>
|
1490 |
<td style="padding-right: 7px;">
|
1491 |
+
<input type="radio" name="<?php echo AI_OPTION_URL_PARAMETER_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="url-parameter-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_url_parameter_list_type() == AI_BLACK_LIST; ?>" value="<?php echo AI_BLACK_LIST; ?>" <?php if ($obj->get_url_parameter_list_type() == AI_BLACK_LIST) echo 'checked '; ?> />
|
1492 |
+
<label for="url-parameter-blacklist-<?php echo $block; ?>" title="<?php _e ('Blacklist url parameters', 'ad-inserter'); ?>"><?php echo AI_TEXT_BLACK_LIST; ?></label>
|
1493 |
</td>
|
1494 |
<td>
|
1495 |
+
<input type="radio" name="<?php echo AI_OPTION_URL_PARAMETER_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="url-parameter-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_url_parameter_list_type() == AI_WHITE_LIST; ?>" value="<?php echo AI_WHITE_LIST; ?>" <?php if ($obj->get_url_parameter_list_type() == AI_WHITE_LIST) echo 'checked '; ?> />
|
1496 |
+
<label for="url-parameter-whitelist-<?php echo $block; ?>" title="<?php _e ('Whitelist url parameters', 'ad-inserter'); ?>"><?php echo AI_TEXT_WHITE_LIST; ?></label>
|
1497 |
</td>
|
1498 |
</tr>
|
1499 |
<tr>
|
1504 |
|
1505 |
<tr>
|
1506 |
<td>
|
1507 |
+
<?php _e ('Referers', 'ad-inserter'); ?>
|
1508 |
</td>
|
1509 |
<td>
|
1510 |
+
<button id="referer-button-<?php echo $block; ?>" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 1px; width: 15px; height: 15px;" title="<?php _e ('Toggle referer editor', 'ad-inserter'); ?>"></button>
|
1511 |
</td>
|
1512 |
<td style="padding-right: 7px;">
|
1513 |
+
<input id="referer-list-<?php echo $block; ?>" class="ai-clean-protocol ai-only-domain ai-list-sort" style="width: 100%;" title="<?php _e ('Comma separated domains, use # for no referer', 'ad-inserter'); ?>" type="text" name="<?php echo AI_OPTION_DOMAIN_LIST, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_domain_list(); ?>" value="<?php echo $domain_list; ?>" size="54" maxlength="500"/>
|
1514 |
</td>
|
1515 |
<td style="padding-right: 7px;">
|
1516 |
+
<input type="radio" name="<?php echo AI_OPTION_DOMAIN_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="referer-blacklist-<?php echo $block; ?>" default="<?php echo $default->get_ad_domain_list_type() == AI_BLACK_LIST; ?>" value="<?php echo AI_BLACK_LIST; ?>" <?php if ($obj->get_ad_domain_list_type() == AI_BLACK_LIST) echo 'checked '; ?> />
|
1517 |
+
<label for="referer-blacklist-<?php echo $block; ?>" title="<?php _e ('Blacklist referers', 'ad-inserter'); ?>"><?php echo AI_TEXT_BLACK_LIST; ?></label>
|
1518 |
</td>
|
1519 |
<td>
|
1520 |
+
<input type="radio" name="<?php echo AI_OPTION_DOMAIN_LIST_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="referer-whitelist-<?php echo $block; ?>" default="<?php echo $default->get_ad_domain_list_type() == AI_WHITE_LIST; ?>" value="<?php echo AI_WHITE_LIST; ?>" <?php if ($obj->get_ad_domain_list_type() == AI_WHITE_LIST) echo 'checked '; ?> />
|
1521 |
+
<label for="referer-whitelist-<?php echo $block; ?>" title="<?php _e ('Whitelist referers', 'ad-inserter'); ?>"><?php echo AI_TEXT_WHITE_LIST; ?></label>
|
1522 |
</td>
|
1523 |
</tr>
|
1524 |
<tr>
|
1538 |
<td style="padding: 4px 10px 4px 0;">
|
1539 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_WIDGET, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1540 |
<input id="enable-widget-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_WIDGET, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_widget(); ?>" <?php if ($obj->get_enable_widget () == AI_ENABLED) echo 'checked '; ?> />
|
1541 |
+
<label for="enable-widget-<?php echo $block; ?>" title="<?php _e ('Enable widget for this block', 'ad-inserter'); ?>">
|
1542 |
+
<?php _e ('Widget', 'ad-inserter'); ?>
|
1543 |
</label>
|
1544 |
</td>
|
1545 |
<td>
|
1550 |
<td style="padding: 4px 10px 4px 0;">
|
1551 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_MANUAL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1552 |
<input type="checkbox" id="enable-shortcode-<?php echo $block; ?>" name="<?php echo AI_OPTION_ENABLE_MANUAL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_manual(); ?>" <?php if ($obj->get_enable_manual () == AI_ENABLED) echo 'checked '; ?> />
|
1553 |
+
<label for="enable-shortcode-<?php echo $block; ?>" title="<?php _e ('Enable shortcode for manual insertion of this block in posts and pages', 'ad-inserter'); ?>">
|
1554 |
+
<?php _e ('Shortcode', 'ad-inserter'); ?>
|
1555 |
</label>
|
1556 |
</td>
|
1557 |
<td>
|
1566 |
<td style="padding: 4px 10px 4px 0;">
|
1567 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_PHP_CALL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1568 |
<input id="enable-php-call-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_PHP_CALL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_php_call(); ?>" <?php if ($manual_php_function [$block] == AI_ENABLED) echo 'checked '; ?> />
|
1569 |
+
<label for="enable-php-call-<?php echo $block; ?>" title="<?php _e ('Enable PHP function call to insert this block at any position in theme file. If function is disabled for block it will return empty string.', 'ad-inserter'); ?>">
|
1570 |
+
<?php _e ('PHP function', 'ad-inserter'); ?>
|
1571 |
</label>
|
1572 |
</td>
|
1573 |
<td class="select">
|
1582 |
|
1583 |
<div id="ai-devices-container-<?php echo $block; ?>" style="padding: 0; margin 8px 0 0 0; border: 0;">
|
1584 |
<ul id="ai-devices-tabs-<?php echo $block; ?>" style="display: none;">
|
1585 |
+
<li id="ai-client-side-detection-<?php echo $block; ?>"><a href="#tab-client-side-<?php echo $block; ?>"><span style="<?php echo $client_side_style; ?>"><?php _e ('Client-side device detection', 'ad-inserter'); ?></span></a></li>
|
1586 |
+
<li id="ai-server-side-detection<?php echo $block; ?>"><a href="#tab-server-side-<?php echo $block; ?>"><span style="<?php echo $server_side_style; ?>"><?php _e ('Server-side device detection', 'ad-inserter'); ?></span></a></li>
|
1587 |
</ul>
|
1588 |
|
1589 |
<div id="tab-client-side-<?php echo $block; ?>" class="rounded" style="padding-top: 0;">
|
1590 |
<div style="float: left; margin-top: 10px;">
|
1591 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_CLIENT_SIDE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1592 |
<input id="client-side-detection-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_DETECT_CLIENT_SIDE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_detection_client_side(); ?>" <?php if ($obj->get_detection_client_side ()==AI_ENABLED) echo 'checked '; ?> />
|
1593 |
+
<label for="client-side-detection-<?php echo $block; ?>" style="vertical-align: baseline;"><?php _e ('Use client-side detection to', 'ad-inserter'); ?> </label>
|
1594 |
|
1595 |
<select id="client-side-action-<?php echo $block; ?>" name="<?php echo AI_OPTION_CLIENT_SIDE_ACTION, WP_FORM_FIELD_POSTFIX, $block; ?>" style="margin: -4px 1px -2px 1px;" default="<?php echo $default->get_client_side_action (); ?>" title="Either show/hide or inseret when the page is loaded on wanted viewports">
|
1596 |
<option value="<?php echo AI_CLIENT_SIDE_ACTION_SHOW; ?>" <?php echo ($obj->get_client_side_action () == AI_CLIENT_SIDE_ACTION_SHOW) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo strtolower (AI_TEXT_SHOW); ?></option>
|
1597 |
<option value="<?php echo AI_CLIENT_SIDE_ACTION_INSERT; ?>" <?php echo ($obj->get_client_side_action () == AI_CLIENT_SIDE_ACTION_INSERT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo strtolower (AI_TEXT_INSERT); ?></option>
|
1598 |
</select>
|
1599 |
|
1600 |
+
<label style="vertical-align: baseline;"> <?php /* Translators: only on (the following devices): viewport names (devices) listed */ _e ('only on', 'ad-inserter'); ?></label>
|
1601 |
</div>
|
1602 |
|
1603 |
<div style="float: left; margin: 7px 0 -2px 0;">
|
1627 |
<td style='padding: 0 0 0 20px;'>
|
1628 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_VIEWPORT, '_', $viewport, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1629 |
<input type="checkbox" name="<?php echo AI_OPTION_DETECT_VIEWPORT, '_', $viewport, WP_FORM_FIELD_POSTFIX, $block; ?>" id="viewport-<?php echo $viewport, "-", $block; ?>" value="1" default="<?php echo $default->get_detection_viewport ($viewport); ?>" <?php if ($obj->get_detection_viewport ($viewport)==AI_ENABLED) echo 'checked '; ?> />
|
1630 |
+
<label for="viewport-<?php echo $viewport, "-", $block; ?>" title="<?php printf (__('Device min width %s px', 'ad-inserter'), get_viewport_width ($viewport)); ?>"><?php echo $viewport_name; ?></label>
|
1631 |
</td>
|
1632 |
<?php
|
1633 |
$column ++;
|
1652 |
<div id="tab-server-side-<?php echo $block; ?>" class="rounded">
|
1653 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1654 |
<input type="checkbox" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, $block; ?>" id="server-side-detection-<?php echo $block; ?>" value="1" default="<?php echo $default->get_detection_server_side(); ?>" <?php if ($obj->get_detection_server_side ()==AI_ENABLED) echo 'checked '; ?> />
|
1655 |
+
<label for="server-side-detection-<?php echo $block; ?>" style="vertical-align: baseline;"><?php _e ('Use server-side detection to insert block only for', 'ad-inserter'); ?> </label>
|
1656 |
|
1657 |
<select id="display-for-devices-<?php echo $block; ?>" name="<?php echo AI_OPTION_DISPLAY_FOR_DEVICES, WP_FORM_FIELD_POSTFIX, $block; ?>" style="margin: -4px 1px -2px 1px;" default="<?php echo $default->get_display_for_devices(); ?>">
|
1658 |
+
<option value="<?php echo AI_INSERT_FOR_DESKTOP_DEVICES; ?>" <?php echo ($obj->get_display_for_devices() == AI_INSERT_FOR_DESKTOP_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DESKTOP_DEVICES; ?></option>
|
1659 |
+
<option value="<?php echo AI_INSERT_FOR_MOBILE_DEVICES; ?>" <?php echo ($obj->get_display_for_devices() == AI_INSERT_FOR_MOBILE_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_MOBILE_DEVICES; ?></option>
|
1660 |
+
<option value="<?php echo AI_INSERT_FOR_TABLET_DEVICES; ?>" <?php echo ($obj->get_display_for_devices() == AI_INSERT_FOR_TABLET_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_TABLET_DEVICES; ?></option>
|
1661 |
+
<option value="<?php echo AI_INSERT_FOR_PHONE_DEVICES; ?>" <?php echo ($obj->get_display_for_devices() == AI_INSERT_FOR_PHONE_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_PHONE_DEVICES; ?></option>
|
1662 |
+
<option value="<?php echo AI_INSERT_FOR_DESKTOP_TABLET_DEVICES; ?>" <?php echo ($obj->get_display_for_devices() == AI_INSERT_FOR_DESKTOP_TABLET_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DESKTOP_TABLET_DEVICES; ?></option>
|
1663 |
+
<option value="<?php echo AI_INSERT_FOR_DESKTOP_PHONE_DEVICES; ?>" <?php echo ($obj->get_display_for_devices() == AI_INSERT_FOR_DESKTOP_PHONE_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DESKTOP_PHONE_DEVICES; ?></option>
|
1664 |
</select>
|
|
|
1665 |
</div>
|
1666 |
</div>
|
1667 |
|
1670 |
<div id="misc-settings-<?php echo $block; ?>" style="<?php if (!$show_misc) echo 'display: none;'; ?>">
|
1671 |
<div id="ai-misc-container-<?php echo $block; ?>" style="padding: 0; margin 8px 0 0 0; border: 0;">
|
1672 |
<ul id="ai-misc-tabs-<?php echo $block; ?>" style="display: none;">
|
1673 |
+
<li id="ai-misc-insertion-<?php echo $block; ?>"><a href="#tab-insertion-<?php echo $block; ?>"><span style="<?php echo $insertion_style; ?>"><?php _e ('Insertion', 'ad-inserter'); ?></span></a></li>
|
1674 |
+
<li id="ai-misc-filter-<?php echo $block; ?>"><a href="#tab-filter-<?php echo $block; ?>"><span style="<?php echo $filter_style; ?>"><?php _e ('Filter', 'ad-inserter'); ?></span></a></li>
|
1675 |
+
<li id="ai-misc-word-count-<?php echo $block; ?>"><a href="#tab-word-count-<?php echo $block; ?>"><span style="<?php echo $word_count_style; ?>"><?php _e ('Word Count', 'ad-inserter'); ?></span></a></li>
|
1676 |
+
<li id="ai-misc-scheduling-<?php echo $block; ?>"><a href="#tab-scheduling-<?php echo $block; ?>"><span style="<?php echo $scheduling_style; ?>"><?php _e ('Scheduling', 'ad-inserter'); ?></span></a></li>
|
1677 |
+
<li id="ai-misc-display-<?php echo $block; ?>"><a href="#tab-display-<?php echo $block; ?>"><span style="<?php echo $display_style; ?>"><?php _e ('Display', 'ad-inserter'); ?></span></a></li>
|
1678 |
<?php if (function_exists ('ai_adb_action_0')) ai_adb_action_0 ($block, $adb_style); ?>
|
1679 |
+
<li id="ai-misc-general-<?php echo $block; ?>"><a href="#tab-general-<?php echo $block; ?>"><span style="<?php echo $general_style; ?>"><?php _e ('General', 'ad-inserter'); ?></span></a></li>
|
1680 |
</ul>
|
1681 |
|
1682 |
<div id="tab-insertion-<?php echo $block; ?>" class="max-input" style="padding: 0;">
|
1687 |
<td>
|
1688 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_AMP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1689 |
<input style="" id="enable-amp-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_AMP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_amp(true); ?>" <?php if ($obj->get_enable_amp (true) == AI_ENABLED) echo 'checked '; ?> />
|
1690 |
+
<label for="enable-amp-<?php echo $block; ?>" style="<?php if (!$obj->get_enable_amp (true) && $obj->get_enable_amp ()) echo ' color: red;' ?>"
|
1691 |
+
title="<?php if (!$obj->get_enable_amp (true) && $obj->get_enable_amp ()) {_e ('Old settings for AMP pages detected', 'ad-inserter'); echo ". ";} _e ('To insert different codes on normal and AMP pages separate them with [ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only when you need to insert THE SAME CODE also on AMP pages (no AMP separator).', 'ad-inserter'); ?>"><?php _e ('AMP pages', 'ad-inserter'); ?></label>
|
1692 |
</td>
|
1693 |
<td>
|
1694 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_AJAX, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1695 |
<input style="margin-left: 10px;" id="enable-ajax-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_AJAX, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_ajax(); ?>" <?php if ($obj->get_enable_ajax () == AI_ENABLED) echo 'checked '; ?> />
|
1696 |
+
<label for="enable-ajax-<?php echo $block; ?>" title="<?php _e ('Enable insertion for Ajax requests', 'ad-inserter'); ?>"><?php _e ('Ajax requests', 'ad-inserter'); ?></label>
|
1697 |
</td>
|
1698 |
<td>
|
1699 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_FEED, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1700 |
<input style="margin-left: 10px;" id="enable-feed-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_FEED, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_feed(); ?>" <?php if ($obj->get_enable_feed () == AI_ENABLED) echo 'checked '; ?> />
|
1701 |
+
<label for="enable-feed-<?php echo $block; ?>" title="<?php _e ('Enable insertion in RSS feeds', 'ad-inserter'); ?>"><?php _e ('RSS Feed', 'ad-inserter'); ?></label>
|
1702 |
</td>
|
1703 |
<td>
|
1704 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_404, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1705 |
<input style="margin-left: 10px;" id="enable-404-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ENABLE_404, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_enable_404(); ?>" <?php if ($obj->get_enable_404 () == AI_ENABLED) echo 'checked '; ?> />
|
1706 |
+
<label for="enable-404-<?php echo $block; ?>" title="<?php _e ('Enable insertion on page for Error 404: Page not found', 'ad-inserter'); ?>"><?php _e ('Error 404 page', 'ad-inserter'); ?></label>
|
1707 |
</td>
|
1708 |
<td>
|
1709 |
</tr>
|
1715 |
<table class="responsive-table" style="width: 100%">
|
1716 |
<tbody>
|
1717 |
<tr>
|
1718 |
+
<td style="width: 20%" title="<?php _e ('Maximum number of insertion of this block. Empty or 0 means no limit.', 'ad-inserter'); ?>">
|
1719 |
+
<?php _e ('Max', 'ad-inserter'); ?> <input type="text" style="width: 32px;" name="<?php echo AI_OPTION_MAXIMUM_INSERTIONS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_maximum_insertions (); ?>" value="<?php echo $obj->get_maximum_insertions (); ?>" size="1" maxlength="3" /> <?php _e ('insertions', 'ad-inserter'); ?>
|
1720 |
</td>
|
1721 |
+
<td title="<?php _e ('Count this block for Max blocks per page limit (defined on the tab ⚙ / tab General)', 'ad-inserter'); ?>">
|
1722 |
<input type="hidden" name="<?php echo AI_OPTION_MAX_PAGE_BLOCKS_ENABLED, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1723 |
<input id="max-page-blocks-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_MAX_PAGE_BLOCKS_ENABLED, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_max_page_blocks_enabled (); ?>" <?php if ($obj->get_max_page_blocks_enabled () == AI_ENABLED) echo 'checked '; ?> />
|
1724 |
+
<label for="max-page-blocks-<?php echo $block; ?>"><?php _e ('Max blocks per page', 'ad-inserter'); ?></label>
|
1725 |
</td>
|
1726 |
</tr>
|
1727 |
</tbody>
|
1733 |
<tbody>
|
1734 |
<tr>
|
1735 |
<td>
|
1736 |
+
<?php _e ('Insert for', 'ad-inserter'); ?>
|
1737 |
<select id="display-for-users-<?php echo $block; ?>" style="margin: 0 1px; width:160px" name="<?php echo AI_OPTION_DISPLAY_FOR_USERS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_display_for_users(); ?>">
|
1738 |
+
<option value="<?php echo AI_DISPLAY_ALL_USERS; ?>" <?php echo ($obj->get_display_for_users()==AI_DISPLAY_ALL_USERS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISPLAY_ALL_USERS; ?></option>
|
1739 |
+
<option value="<?php echo AI_DISPLAY_LOGGED_IN_USERS; ?>" <?php echo ($obj->get_display_for_users()==AI_DISPLAY_LOGGED_IN_USERS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISPLAY_LOGGED_IN_USERS; ?></option>
|
1740 |
+
<option value="<?php echo AI_DISPLAY_NOT_LOGGED_IN_USERS; ?>" <?php echo ($obj->get_display_for_users()==AI_DISPLAY_NOT_LOGGED_IN_USERS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISPLAY_NOT_LOGGED_IN_USERS; ?></option>
|
1741 |
+
<option value="<?php echo AI_DISPLAY_ADMINISTRATORS; ?>" <?php echo ($obj->get_display_for_users()==AI_DISPLAY_ADMINISTRATORS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISPLAY_ADMINISTRATORS; ?></option>
|
1742 |
</select>
|
1743 |
</td>
|
1744 |
+
<td title="<?php _e ('Insert block only when WP function in_the_loop () returns true (WP loop is currently active). Might speed up insertion on content pages when the_content filter is called multiple times.', 'ad-inserter'); ?>" >
|
1745 |
<input type="hidden" name="<?php echo AI_OPTION_ONLY_IN_THE_LOOP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1746 |
<input id="only-in-the-loop-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_ONLY_IN_THE_LOOP, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_only_in_the_loop (); ?>" <?php if ($obj->get_only_in_the_loop () == AI_ENABLED) echo 'checked '; ?> />
|
1747 |
+
<label for="only-in-the-loop-<?php echo $block; ?>"><?php _e ('Insert only in the loop', 'ad-inserter'); ?></label>
|
1748 |
</td>
|
1749 |
<td style="width: 45%">
|
1750 |
<span style="float: right;">
|
1751 |
<input type="hidden" name="<?php echo AI_OPTION_DISABLE_CACHING, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1752 |
<input id="disable-caching-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_DISABLE_CACHING, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_disable_caching (); ?>" <?php if ($obj->get_disable_caching () == AI_ENABLED) echo 'checked '; ?> />
|
1753 |
+
<label for="disable-caching-<?php echo $block; ?>" title="<?php _e ('Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins', 'ad-inserter'); ?>"><?php _e ('Disable caching', 'ad-inserter'); ?></label>
|
1754 |
</span>
|
1755 |
</td>
|
1756 |
</tr>
|
1761 |
|
1762 |
<div id="tab-filter-<?php echo $block; ?>" class="rounded">
|
1763 |
<div class="max-input">
|
1764 |
+
<span style="display: table-cell; width: 1px; white-space: nowrap; padding-right: 10px;">
|
1765 |
+
<?php _e('Filter insertions', 'ad-inserter'); ?>
|
1766 |
</span>
|
1767 |
<span style="display: table-cell;">
|
1768 |
+
<input style="width: 100%;" type="text" name="<?php echo AI_OPTION_EXCERPT_NUMBER, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_call_filter(); ?>" value="<?php echo $obj->get_call_filter(); ?>" title= "Filter insertions by specifying wanted calls for this block - single number, comma separated numbers or %N for every N insertions - empty means all insertions / no filter. Set Counter for filter to Auto if you are using only one insertion type." size="12" maxlength="36" />
|
1769 |
</span>
|
1770 |
+
<span style="display: table-cell; padding-left: 10px;">
|
1771 |
+
<?php _e('using', 'ad-inserter'); ?>
|
1772 |
+
<select id="filter-type-<?php echo $block; ?>" style="padding-left: 10px; margin: 0 1px;" name="<?php echo AI_OPTION_FILTER_TYPE, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_filter_type(); ?>">
|
1773 |
+
<option value="<?php echo AI_FILTER_AUTO; ?>" <?php echo ($filter_type == AI_FILTER_AUTO) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AUTO_COUNTER; ?></option>
|
1774 |
+
<option value="<?php echo AI_FILTER_PHP_FUNCTION_CALLS; ?>" <?php echo ($filter_type == AI_FILTER_PHP_FUNCTION_CALLS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_PHP_FUNCTION_CALLS_COUNTER; ?></option>
|
1775 |
+
<option value="<?php echo AI_FILTER_CONTENT_PROCESSING; ?>" <?php echo ($filter_type == AI_FILTER_CONTENT_PROCESSING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CONTENT_PROCESSING_COUNTER; ?></option>
|
1776 |
+
<option value="<?php echo AI_FILTER_EXCERPT_PROCESSING; ?>" <?php echo ($filter_type == AI_FILTER_EXCERPT_PROCESSING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_EXCERPT_PROCESSING_COUNTER; ?></option>
|
1777 |
+
<option value="<?php echo AI_FILTER_BEFORE_POST_PROCESSING; ?>" <?php echo ($filter_type == AI_FILTER_BEFORE_POST_PROCESSING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_POST_PROCESSING_COUNTER; ?></option>
|
1778 |
+
<option value="<?php echo AI_FILTER_AFTER_POST_PROCESSING; ?>" <?php echo ($filter_type == AI_FILTER_AFTER_POST_PROCESSING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_POST_PROCESSING_COUNTER; ?></option>
|
1779 |
+
<option value="<?php echo AI_FILTER_WIDGET_DRAWING; ?>" <?php echo ($filter_type == AI_FILTER_WIDGET_DRAWING) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_WIDGET_DRAWING_COUNTER; ?></option>
|
1780 |
+
<option value="<?php echo AI_FILTER_SUBPAGES; ?>" <?php echo ($filter_type == AI_FILTER_SUBPAGES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_SUBPAGES_COUNTER; ?></option>
|
1781 |
+
<option value="<?php echo AI_FILTER_POSTS; ?>" <?php echo ($filter_type == AI_FILTER_POSTS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_POSTS_COUNTER; ?></option>
|
1782 |
+
<option value="<?php echo AI_FILTER_PARAGRAPHS; ?>" <?php echo ($filter_type == AI_FILTER_PARAGRAPHS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_PARAGRAPHS_COUNTER; ?></option>
|
1783 |
+
<option value="<?php echo AI_FILTER_COMMENTS; ?>" <?php echo ($filter_type == AI_FILTER_COMMENTS) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_COMMENTS_COUNTER; ?></option>
|
1784 |
</select>
|
|
|
1785 |
</span>
|
1786 |
+
<span style="display: table-cell; text-align: right;">
|
1787 |
<input type="hidden" name="<?php echo AI_OPTION_INVERTED_FILTER, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1788 |
<input style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_INVERTED_FILTER, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_inverted_filter(); ?>" <?php if ($obj->get_inverted_filter () == AI_ENABLED) echo 'checked '; ?> />
|
1789 |
+
<label for="enable-ajax-<?php echo $block; ?>" style="vertical-align: top;" title="<?php _e ('Checked means specified calls are unwanted', 'ad-inserter'); ?>"><?php _e ('Invert filter', 'ad-inserter'); ?></label>
|
1790 |
</span>
|
1791 |
</div>
|
1792 |
</div>
|
1793 |
|
1794 |
<div id="tab-word-count-<?php echo $block; ?>" class="rounded">
|
1795 |
+
<?php _e ('Post/Static page must have between', 'ad-inserter'); ?>
|
1796 |
+
<input type="text" name="<?php echo AI_OPTION_MIN_WORDS, WP_FORM_FIELD_POSTFIX, $block; ?>" style="margin: 0 1px;" default="<?php echo $default->get_minimum_words(); ?>" value="<?php echo $obj->get_minimum_words() ?>" title="<?php _e ('Minimum number of post/static page words, leave empty for no limit', 'ad-inserter'); ?>" size="4" maxlength="6" />
|
1797 |
+
<?php _e ('and', 'ad-inserter'); ?>
|
1798 |
+
<input type="text" name="<?php echo AI_OPTION_MAX_WORDS, WP_FORM_FIELD_POSTFIX, $block; ?>" style="margin: 0 1px;" default="<?php echo $default->get_maximum_words(); ?>" value="<?php echo $obj->get_maximum_words() ?>" title="<?php _e ('Maximum number of post/static page words, leave empty for no limit', 'ad-inserter'); ?>" size="4" maxlength="6" />
|
1799 |
+
<?php _e ('words', 'ad-inserter'); ?>
|
1800 |
</div>
|
1801 |
|
1802 |
<div id="tab-scheduling-<?php echo $block; ?>" class="rounded" style="min-height: 24px;">
|
1803 |
+
<select id="scheduling-<?php echo $block; ?>" style="margin: 2px 1px;" name="<?php echo AI_OPTION_SCHEDULING, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_scheduling(); ?>">
|
1804 |
+
<option value="<?php echo AI_SCHEDULING_OFF; ?>" <?php echo ($obj->get_scheduling() == AI_SCHEDULING_OFF) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_INSERT_IMMEDIATELY; ?></option>
|
1805 |
<option value="<?php echo AI_SCHEDULING_DELAY_FOR; ?>" <?php echo ($obj->get_scheduling() == AI_SCHEDULING_DELAY_FOR) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DELAY_INSERTION; ?></option>
|
1806 |
<option value="<?php echo AI_SCHEDULING_INSERT_ONLY_FOR; ?>" <?php echo ($obj->get_scheduling() == AI_SCHEDULING_INSERT_ONLY_FOR) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_INSERT_ONLY; ?></option>
|
1807 |
<?php if (function_exists ('ai_scheduling_options')) ai_scheduling_options ($obj); ?>
|
1808 |
</select>
|
1809 |
|
1810 |
<span id="scheduling-delay-<?php echo $block; ?>">
|
1811 |
+
<?php _e ('for', 'ad-inserter'); ?> <input type="text" name="<?php echo AI_OPTION_AFTER_DAYS, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_after_day(); ?>" value="<?php echo $obj->get_ad_after_day(); ?>" size="2" maxlength="3" /> <?php _e ('days after publishing', 'ad-inserter'); ?>
|
1812 |
</span>
|
1813 |
+
<span id="scheduling-delay-warning-<?php echo $block; ?>" style="color: #d00; display: none;"> <?php _e ('Not available', 'ad-inserter'); ?></span>
|
1814 |
|
1815 |
<?php if (function_exists ('ai_scheduling_data')) ai_scheduling_data ($block, $obj, $default); ?>
|
1816 |
</div>
|
1823 |
<td style="width: 10%;">
|
1824 |
<input type="hidden" name="<?php echo AI_OPTION_SHOW_LABEL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="0" />
|
1825 |
<input style="" id="show-label-<?php echo $block; ?>" type="checkbox" name="<?php echo AI_OPTION_SHOW_LABEL, WP_FORM_FIELD_POSTFIX, $block; ?>" value="1" default="<?php echo $default->get_show_label (); ?>" <?php if ($obj->get_show_label () == AI_ENABLED) echo 'checked '; ?> />
|
1826 |
+
<label for="show-label-<?php echo $block; ?>"><?php _e ('Ad label', 'ad-inserter'); ?></label>
|
1827 |
</td>
|
1828 |
<?php if (function_exists ('ai_display_lazy')) ai_display_lazy ($block, $obj, $default, 'lazy-loading-'.$block, AI_OPTION_CLOSE_BUTTON . WP_FORM_FIELD_POSTFIX . $block); ?>
|
1829 |
<td>
|
1839 |
<div id="tab-general-<?php echo $block; ?>" class="rounded">
|
1840 |
<div class="max-input">
|
1841 |
<span style="display: table-cell; width: 1px; white-space: nowrap;">
|
1842 |
+
<?php _e ('General tag', 'ad-inserter'); ?>
|
1843 |
|
1844 |
</span>
|
1845 |
<span style="display: table-cell;">
|
1846 |
+
<input style="width: 100%; max-width: 140px;" type="text" name="<?php echo AI_OPTION_GENERAL_TAG, WP_FORM_FIELD_POSTFIX, $block; ?>" default="<?php echo $default->get_ad_general_tag(); ?>" value="<?php echo $obj->get_ad_general_tag(); ?>" size="12" maxlength="40" title="<?php _e ("Used for [adinserter data=''] shortcodes when no data is found", 'ad-inserter'); ?>" />
|
1847 |
</span>
|
1848 |
</div>
|
1849 |
</div>
|
1852 |
</div>
|
1853 |
|
1854 |
<div id="no-wrapping-warning-<?php echo $block; ?>" class="rounded" style="display: none;">
|
1855 |
+
<span style="margin-top: 5px;"><?php /* translators: %s: HTML tags */ printf (__('%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-side device detection!', 'ad-inserter'), '<strong><span style="color: red;">', '</span>', '</strong>'); ?></span>
|
1856 |
</div>
|
1857 |
|
1858 |
<?php if (function_exists ('ai_warnings')) ai_warnings ($block); ?>
|
1864 |
?>
|
1865 |
<div id="tab-0" style="padding: 0;<?php echo $tab_visible ? "" : " display: none;" ?>">
|
1866 |
<div style="margin: 16px 0 16px 4px;">
|
1867 |
+
<h3 style="margin: 0; float: left;"><?php echo AD_INSERTER_NAME, ' ', __('Settings', 'ad-inserter'); ?> <?php if (isset ($ai_db_options [AI_OPTION_GLOBAL]['VERSION'])) echo (int) ($ai_db_options [AI_OPTION_GLOBAL]['VERSION'][0].$ai_db_options [AI_OPTION_GLOBAL]['VERSION'][1]), '.',
|
1868 |
(int) ($ai_db_options [AI_OPTION_GLOBAL]['VERSION'][2].$ai_db_options [AI_OPTION_GLOBAL]['VERSION'][3]), '.',
|
1869 |
(int) ($ai_db_options [AI_OPTION_GLOBAL]['VERSION'][4].$ai_db_options [AI_OPTION_GLOBAL]['VERSION'][5]); ?></h3>
|
1870 |
+
<h4 style="margin: 0px; float: right;<?php if (defined ('AI_EXTRACT_GENERATED')) echo ' color: #00f;'; ?>" title="<?php _e ('Settings timestamp', 'ad-inserter'); ?>"><?php echo isset ($ai_db_options [AI_OPTION_GLOBAL]['TIMESTAMP']) ? date ("Y-m-d H:i:s", $ai_db_options [AI_OPTION_GLOBAL]['TIMESTAMP'] + get_option ('gmt_offset') * 3600) : "";?></h4>
|
1871 |
<div style="clear: both;"></div>
|
1872 |
</div>
|
1873 |
|
1874 |
<div style="margin: 16px 0;">
|
1875 |
<div style="float: right;">
|
1876 |
+
<div title='<?php _e ('Rotation editor active - rotation code not generated! Make sure no rotation editor is active before saving settings.', 'ad-inserter'); ?>' class="ai-rotation-warning" style='float: left; font-size: 18px; font-weight: bold; margin: 5px 5px 0 0; display: none;'>⚠</div>
|
1877 |
<?php if (function_exists ('ai_settings_global_buttons')) ai_settings_global_buttons (); ?>
|
1878 |
+
<input style="display: none; font-weight: bold;" name="<?php echo AI_FORM_SAVE; ?>" value="<?php _e ('Save Settings', 'ad-inserter'); ?>" type="submit" style="width:120px; font-weight: bold;" />
|
1879 |
</div>
|
1880 |
|
1881 |
<div style="float: left;">
|
1882 |
+
<input onclick="if (confirm('<?php _e ('Are you sure you want to reset all settings?', 'ad-inserter'); ?>')) return true; return false;" name="<?php echo AI_FORM_CLEAR; ?>" value="<?php _e ('Reset All Settings', 'ad-inserter'); ?>" type="submit" style="display: none; min-width:125px; font-weight: bold; color: #e44;" />
|
1883 |
<?php if (function_exists ('ai_settings_global_actions')) ai_settings_global_actions (); ?>
|
1884 |
</div>
|
1885 |
|
1901 |
|
1902 |
<div id="ai-plugin-settings-tab-container" style="padding: 0; margin 8px 0 0 0; border: 0;">
|
1903 |
<ul id="ai-plugin-settings-tabs" style="display: none;">
|
1904 |
+
<li id="ai-g" class="ai-plugin-tab"><a href="#tab-general"><?php _e ('General', 'ad-inserter'); ?></a></li>
|
1905 |
+
<li id="ai-v" class="ai-plugin-tab"><a href="#tab-viewports"><?php _e ('Viewports', 'ad-inserter'); ?></a></li>
|
1906 |
+
<li id="ai-k" class="ai-plugin-tab"><a href="#tab-hooks"><span style="<?php echo $style_k ?>"><?php _e ('Hooks', 'ad-inserter'); ?></span></a></li>
|
1907 |
+
<li id="ai-h" class="ai-plugin-tab"><a href="#tab-header"><span style="<?php echo $style_h ?>"><?php _e ('Header', 'ad-inserter'); ?></span></a></li>
|
1908 |
+
<li id="ai-f" class="ai-plugin-tab"><a href="#tab-footer"><span style="<?php echo $style_f ?>"><?php _e ('Footer', 'ad-inserter'); ?></span></a></li>
|
1909 |
<?php if (function_exists ('ai_plugin_settings_tab')) ai_plugin_settings_tab ($exceptions); ?>
|
1910 |
<?php if (defined ('AI_ADBLOCKING_DETECTION') && AI_ADBLOCKING_DETECTION) { ?>
|
1911 |
+
<li id="ai-a" class="ai-plugin-tab"><a href="#tab-adblocking"><span style="<?php echo $style_a ?>"><?php _e ('Ad Blocking', 'ad-inserter'); ?></span></a></li>
|
1912 |
<?php } ?>
|
1913 |
+
<li id="ai-d" class="ai-plugin-tab"><a href="#tab-debugging"><span style="<?php echo $style_d ?>"><?php _e ('Debugging', 'ad-inserter'); ?></span></a></li>
|
1914 |
</ul>
|
1915 |
|
1916 |
<div id="tab-general" style="padding: 0;">
|
1920 |
<?php if (function_exists ('ai_general_settings')) ai_general_settings (); ?>
|
1921 |
<tr>
|
1922 |
<td>
|
1923 |
+
<?php _e ('Plugin priority', 'ad-inserter'); ?>
|
1924 |
</td>
|
1925 |
<td>
|
1926 |
<input type="text" name="plugin_priority" value="<?php echo get_plugin_priority (); ?>" default="<?php echo DEFAULT_PLUGIN_PRIORITY; ?>" size="6" maxlength="6" />
|
1928 |
</tr>
|
1929 |
<tr>
|
1930 |
<td>
|
1931 |
+
<?php _e ('Output buffering', 'ad-inserter'); ?>
|
1932 |
</td>
|
1933 |
<td>
|
1934 |
+
<select id="output-buffering" name="output-buffering" default="<?php echo DEFAULT_OUTPUT_BUFFERING; ?>" title="<?php _e ('Needed for position Above header but may not work with all themes', 'ad-inserter'); ?>">
|
1935 |
<option value="<?php echo AI_OUTPUT_BUFFERING_DISABLED; ?>" <?php echo get_output_buffering() == AI_OUTPUT_BUFFERING_DISABLED ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISABLED; ?></option>
|
1936 |
<option value="<?php echo AI_OUTPUT_BUFFERING_ENABLED; ?>" <?php echo get_output_buffering() == AI_OUTPUT_BUFFERING_ENABLED ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_ENABLED; ?></option>
|
1937 |
</select>
|
1939 |
</tr>
|
1940 |
<tr>
|
1941 |
<td>
|
1942 |
+
<?php _e ('Syntax highlighting theme', 'ad-inserter'); ?>
|
1943 |
</td>
|
1944 |
<td>
|
1945 |
<select
|
1946 |
id="syntax-highlighter-theme"
|
1947 |
name="syntax-highlighter-theme"
|
1948 |
value="Value">
|
1949 |
+
<optgroup label="<?php _ex ('None', 'no syntax highlighting themes', 'ad-inserter'); ?>">
|
1950 |
+
<option value="<?php echo AI_OPTION_DISABLED; ?>" <?php echo ($syntax_highlighter_theme == AI_OPTION_DISABLED) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php _e ('No Syntax Highlighting', 'ad-inserter'); ?></option>
|
1951 |
</optgroup>
|
1952 |
+
<optgroup label="<?php _ex ('Light', 'syntax highlighting themes', 'ad-inserter'); ?>">
|
1953 |
<option value="chrome" <?php echo ($syntax_highlighter_theme == 'chrome') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Chrome</option>
|
1954 |
<option value="clouds" <?php echo ($syntax_highlighter_theme == 'clouds') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Clouds</option>
|
1955 |
<option value="crimson_editor" <?php echo ($syntax_highlighter_theme == 'crimson_editor') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Crimson Editor</option>
|
1964 |
<option value="tomorrow" <?php echo ($syntax_highlighter_theme == 'tomorrow') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Tomorrow</option>
|
1965 |
<option value="xcode" <?php echo ($syntax_highlighter_theme == 'xcode') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>XCode</option>
|
1966 |
</optgroup>
|
1967 |
+
<optgroup label="<?php _ex ('Dark', 'syntax highlighting themes', 'ad-inserter'); ?>">
|
1968 |
<option value="ad_inserter" <?php echo ($syntax_highlighter_theme == 'ad_inserter') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Ad Inserter</option>
|
1969 |
<option value="chaos" <?php echo ($syntax_highlighter_theme == 'chaos') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Chaos</option>
|
1970 |
<option value="clouds_midnight" <?php echo ($syntax_highlighter_theme == 'clouds_midnight') ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>>Clouds Midnight</option>
|
1990 |
</tr>
|
1991 |
<tr>
|
1992 |
<td>
|
1993 |
+
<?php _e ('Min. user role for ind. exceptions editing', 'ad-inserter'); ?>
|
1994 |
</td>
|
1995 |
<td>
|
1996 |
<select style="margin-bottom: 3px;" id="minimum-user-role" name="minimum-user-role" selected-value="1" data="<?php echo get_minimum_user_role (); ?>" default="<?php echo DEFAULT_MINIMUM_USER_ROLE; ?>" style="width:300px">
|
2000 |
</tr>
|
2001 |
<tr>
|
2002 |
<td>
|
2003 |
+
<?php _e ('Sticky widget mode', 'ad-inserter'); ?>
|
2004 |
</td>
|
2005 |
<td>
|
2006 |
+
<select name="sticky-widget-mode" default="<?php echo DEFAULT_STICKY_WIDGET_MODE; ?>" title="<?php _e ('CSS mode is the best approach but may not work with all themes. JavaScript mode works with most themes but may reload ads on page load.', 'ad-inserter'); ?>">
|
2007 |
<option value="<?php echo AI_STICKY_WIDGET_MODE_CSS; ?>" <?php echo get_sticky_widget_mode() == AI_STICKY_WIDGET_MODE_CSS ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CSS; ?></option>
|
2008 |
<option value="<?php echo AI_STICKY_WIDGET_MODE_JS; ?>" <?php echo get_sticky_widget_mode() == AI_STICKY_WIDGET_MODE_JS ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_JS; ?></option>
|
2009 |
</select>
|
2011 |
</tr>
|
2012 |
<tr>
|
2013 |
<td>
|
2014 |
+
<?php _e ('Sticky widget top margin', 'ad-inserter'); ?>
|
2015 |
</td>
|
2016 |
<td>
|
2017 |
<input type="text" name="sticky-widget-margin" value="<?php echo get_sticky_widget_margin (); ?>" default="<?php echo DEFAULT_STICKY_WIDGET_MARGIN; ?>" size="6" maxlength="4" /> px
|
2019 |
</tr>
|
2020 |
<tr>
|
2021 |
<td>
|
2022 |
+
<?php _e ('Dynamic blocks', 'ad-inserter'); ?>
|
2023 |
</td>
|
2024 |
<td>
|
2025 |
<select id="dynamic_blocks" name="dynamic_blocks" default="<?php echo DEFAULT_DYNAMIC_BLOCKS; ?>">
|
2032 |
</tr>
|
2033 |
<tr>
|
2034 |
<td>
|
2035 |
+
<?php _e ('Functions for paragraph counting', 'ad-inserter'); ?>
|
2036 |
</td>
|
2037 |
<td>
|
2038 |
+
<select id="paragraph_counting_functions" name="paragraph_counting_functions" default="<?php echo DEFAULT_PARAGRAPH_COUNTING_FUNCTIONS; ?>" title="<?php _e ('Standard PHP functions are faster and work in most cases, use Multibyte functions if paragraphs are not counted properly on non-english pages.', 'ad-inserter'); ?>">
|
2039 |
+
<option value="<?php echo AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS; ?>" <?php echo get_paragraph_counting_functions() == AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_FUNCTIONS_STANDARD; ?></option>
|
2040 |
<option value="<?php echo AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS; ?>" <?php echo get_paragraph_counting_functions() == AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_MULTIBYTE; ?></option>
|
2041 |
</select>
|
2042 |
</td>
|
2043 |
</tr>
|
2044 |
<tr>
|
2045 |
<td>
|
2046 |
+
<?php _e ('No paragraph counting inside', 'ad-inserter'); ?>
|
2047 |
</td>
|
2048 |
<td>
|
2049 |
<input type="text" name="no-paragraph-counting-inside" style="width: 100%;" value="<?php echo get_no_paragraph_counting_inside (); ?>" default="<?php echo DEFAULT_NO_PARAGRAPH_COUNTING_INSIDE; ?>" size="60" maxlength="80" />
|
2051 |
</tr>
|
2052 |
<tr>
|
2053 |
<td>
|
2054 |
+
<?php _e ('Ad label', 'ad-inserter'); ?>
|
2055 |
</td>
|
2056 |
<td>
|
2057 |
+
<input type="text" name="ad-label" style="width: 100%;" value="<?php echo get_ad_label (); ?>" default="<?php echo DEFAULT_AD_TITLE; ?>" title="<?php _e ('Label text or HTML code', 'ad-inserter'); ?>" size="60" maxlength="500" />
|
2058 |
</td>
|
2059 |
</tr>
|
2060 |
<tr>
|
2061 |
<td>
|
2062 |
+
<?php _e ('Max blocks per page', 'ad-inserter'); ?>
|
2063 |
</td>
|
2064 |
<td>
|
2065 |
+
<input type="text" name="max-page-blocks" value="<?php echo get_max_page_blocks (); ?>" default="<?php echo DEFAULT_MAX_PAGE_BLOCKS; ?>" title="<?php _e ('Maximum number of inserted blocks per page. You need to enable Max page insertions (button Misc / tab Insertion) to count block for this limit.', 'ad-inserter'); ?>" size="6" maxlength="4" />
|
2066 |
</td>
|
2067 |
</tr>
|
2068 |
|
2069 |
<?php if (function_exists ('ai_general_settings_2')) ai_general_settings_2 ();
|
2070 |
|
2071 |
if (defined ('AI_PLUGIN_TRACKING') && AI_PLUGIN_TRACKING) {
|
2072 |
+
if (!function_exists ('ai_general_settings_2')) {
|
2073 |
global $ai_dst;
|
2074 |
if (isset ($ai_dst) && is_object ($ai_dst) && $ai_dst->get_plugin_tracking () !== null) {
|
2075 |
$plugin_tracking = $ai_dst->get_tracking ();
|
2076 |
?>
|
2077 |
<tr>
|
2078 |
<td>
|
2079 |
+
<?php _e ('Plugin usage tracking', 'ad-inserter'); ?>
|
2080 |
</td>
|
2081 |
<td>
|
2082 |
+
<select id="plugin-usage-tracking" name="plugin-usage-tracking" default="#" title="<?php /* translators: %s: Ad Inserter */ printf (__ ('Enable tracking of %s usage and help us to make improvements to the plugin. Only information regarding the WordPress environment and %s usage is recorded (once per month and on events like plugin activation/deactivation).', 'ad-inserter'), AD_INSERTER_NAME, AD_INSERTER_NAME); ?>">
|
2083 |
<option value="<?php echo AI_PLUGIN_TRACKING_DISABLED; ?>" <?php echo $plugin_tracking == AI_PLUGIN_TRACKING_DISABLED ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DISABLED; ?></option>
|
2084 |
<option value="<?php echo AI_PLUGIN_TRACKING_ENABLED; ?>" <?php echo $plugin_tracking == AI_PLUGIN_TRACKING_ENABLED ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_ENABLED; ?></option>
|
2085 |
</select>
|
2087 |
</tr>
|
2088 |
<?php
|
2089 |
}
|
2090 |
+
}
|
2091 |
}
|
2092 |
?>
|
2093 |
</table>
|
2097 |
<table class="ai-settings-table" style="width: 100%;">
|
2098 |
<tr>
|
2099 |
<td>
|
2100 |
+
<span title="<?php _e ('CSS class name for the wrapping div', 'ad-inserter'); ?>"><?php _e ('Block class name', 'ad-inserter'); ?></span>
|
2101 |
<input id="block-class-name" class="ai-block-code-demo" style="margin-left: 5px;" type="text" name="block-class-name" value="<?php echo $block_class_name; ?>" default="<?php echo DEFAULT_BLOCK_CLASS_NAME; ?>" size="15" maxlength="40" />
|
2102 |
</td>
|
2103 |
<td>
|
2104 |
+
<span title="<?php _e ('Include general plugin block class', 'ad-inserter'); ?>"><?php _e ('Block class', 'ad-inserter'); ?></span>
|
2105 |
<input type="hidden" name="block-class" value="0" />
|
2106 |
<input id="block-class" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="block-class" value="1" default="<?php echo DEFAULT_BLOCK_CLASS; ?>" <?php if ($block_class == AI_ENABLED) echo 'checked '; ?> />
|
2107 |
</td>
|
2108 |
<td>
|
2109 |
+
<span title="<?php _e ('Include block number class', 'ad-inserter'); ?>"><?php _e ('Block number class', 'ad-inserter'); ?></span>
|
2110 |
<input type="hidden" name="block-number-class" value="0" />
|
2111 |
<input id="block-number-class" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="block-number-class" value="1" default="<?php echo DEFAULT_BLOCK_NUMBER_CLASS; ?>" <?php if ($block_number_class == AI_ENABLED) echo 'checked '; ?> />
|
2112 |
</td>
|
2113 |
<td>
|
2114 |
+
<span title="<?php _e ('Instead of alignment classes generate inline alignment styles for blocks', 'ad-inserter'); ?>"><?php _e ('Inline styles', 'ad-inserter'); ?></span>
|
2115 |
<input type="hidden" name="inline-styles" value="0" />
|
2116 |
<input id="inline-styles" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="inline-styles" value="1" default="<?php echo DEFAULT_INLINE_STYLES; ?>" <?php if ($inline_styles == AI_ENABLED) echo 'checked '; ?> />
|
2117 |
</td>
|
2118 |
</tr>
|
2119 |
</table>
|
2120 |
+
<div style="margin-top: 8px;"><?php _e ('Preview of the block wrapping code', 'ad-inserter'); ?></div>
|
2121 |
+
<pre style="margin: 0; padding: 5px; background: #eee; color: #00f;" title="<?php _e ('Wrapping div', 'ad-inserter'); ?>"><span id="ai-block-code-demo" ><?php echo ai_block_code_demo ($block_class_name, $block_class, $block_number_class, $inline_styles); ?></span>
|
2122 |
+
<span style="color: #222;"><?php _e ('BLOCK CODE', 'ad-inserter'); ?></span>
|
2123 |
</div></pre>
|
2124 |
</div>
|
2125 |
|
2127 |
|
2128 |
<div id="tab-viewports" class="rounded">
|
2129 |
<div style="margin: 0 0 8px 0;">
|
2130 |
+
<strong><?php _e ('Viewport Settings used for client-side device detection', 'ad-inserter'); ?></strong>
|
2131 |
</div>
|
2132 |
<?php
|
2133 |
for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
|
2134 |
$bottom_margin = $viewport == AD_INSERTER_VIEWPORTS ? 0 : 4;
|
2135 |
?>
|
2136 |
<div style="margin: 4px 0 <?php echo $bottom_margin; ?>px 0;">
|
2137 |
+
<?php /* Translators: %d: viewport number */ printf (__('Viewport %d name', 'ad-inserter'), $viewport); ?>
|
2138 |
<input style="margin-left: 0px;" type="text" name="viewport-name-<?php echo $viewport; ?>" value="<?php echo get_viewport_name ($viewport); ?>" default="<?php echo defined ("DEFAULT_VIEWPORT_NAME_" . $viewport) ? constant ("DEFAULT_VIEWPORT_NAME_" . $viewport) : ""; ?>" size="15" maxlength="40" />
|
2139 |
<?php if ($viewport == AD_INSERTER_VIEWPORTS) echo '<span style="display: none;">' ?>
|
2140 |
+
<?php _e ('min width', 'ad-inserter'); ?>
|
2141 |
<input type="text" id="option-length-<?php echo $viewport; ?>" name="viewport-width-<?php echo $viewport; ?>" value="<?php echo get_viewport_width ($viewport); ?>" default="<?php echo defined ("DEFAULT_VIEWPORT_WIDTH_" . $viewport) ? constant ("DEFAULT_VIEWPORT_WIDTH_" . $viewport) : ""; ?>" size="4" maxlength="4" /> px
|
2142 |
<?php if ($viewport == AD_INSERTER_VIEWPORTS) echo '</span>' ?>
|
2143 |
</div>
|
2148 |
|
2149 |
<div id="tab-hooks" class="rounded">
|
2150 |
<div style="margin: 0 0 8px 0;">
|
2151 |
+
<strong><?php _e ('Custom Hooks', 'ad-inserter'); ?></strong>
|
2152 |
</div>
|
2153 |
|
2154 |
<table>
|
2162 |
<input type="checkbox" name="hook-enabled-<?php echo $hook; ?>" value="1" default="<?php echo AI_DISABLED; ?>" id="hook-enabled-<?php echo $hook; ?>" title="Enable hook" <?php if (get_hook_enabled ($hook) == AI_ENABLED) echo 'checked '; ?> />
|
2163 |
</td>
|
2164 |
<td style="white-space: nowrap;">
|
2165 |
+
<label for="hook-enabled-<?php echo $hook; ?>" title="Enable hook"><?php /* translators: %d: hook number */ printf (__('Hook %d name', 'ad-inserter'), $hook); ?></label>
|
2166 |
</td>
|
2167 |
<td style="width: 25%;">
|
2168 |
+
<input style="width: 100%;" title="<?php _e ('Hook name for automatic insertion selection', 'ad-inserter'); ?>" type="text" name="hook-name-<?php echo $hook; ?>" default="" value="<?php echo get_hook_name ($hook); ?>" size="30" maxlength="80" />
|
2169 |
</td>
|
2170 |
<td style="padding-left: 7px;">
|
2171 |
+
<?php _e ('action', 'ad-inserter'); ?>
|
2172 |
</td>
|
2173 |
<td style="">
|
2174 |
+
<input style="width: 100%;" title="<?php _e ('Action name as used in the do_action () function', 'ad-inserter'); ?>" type="text" name="hook-action-<?php echo $hook; ?>" default="" value="<?php echo get_hook_action ($hook); ?>" size="30" maxlength="80" />
|
2175 |
</td>
|
2176 |
<td style="padding-left: 7px;">
|
2177 |
+
<?php _e ('priority', 'ad-inserter'); ?>
|
2178 |
</td>
|
2179 |
<td>
|
2180 |
+
<input title="<?php _e ('Priority for the hook (default is 10)', 'ad-inserter'); ?>" type="text" name="hook-priority-<?php echo $hook; ?>" default="<?php echo DEFAULT_CUSTOM_HOOK_PRIORITY; ?>" value="<?php echo get_hook_priority ($hook); ?>" size="5" maxlength="7" />
|
2181 |
</td>
|
2182 |
</tr>
|
2183 |
<?php
|
2192 |
<div style="float: right;">
|
2193 |
<?php if (AI_SYNTAX_HIGHLIGHTING) : ?>
|
2194 |
<input type="checkbox" value="0" id="simple-editor-h" class="simple-editor-button" style="display: none;" />
|
2195 |
+
<label class="checkbox-button" style="margin-left: 10px;" for="simple-editor-h" title="<?php _e ('Toggle Syntax Highlighting / Simple editor for mobile devices', 'ad-inserter'); ?>"><span class="checkbox-icon icon-tablet"></span></label>
|
2196 |
<?php endif; ?>
|
2197 |
|
2198 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_h'; ?>" value="0" />
|
2199 |
<input type="checkbox" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_h'; ?>" id="enable-header" value="1" default="<?php echo $default->get_enable_manual(); ?>" <?php if ($adH->get_enable_manual () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2200 |
+
<label class="checkbox-button" style="margin-left: 10px;" for="enable-header" title="<?php _e ('Enable insertion of this code into HTML page header', 'ad-inserter'); ?>"><span class="checkbox-icon icon-enabled<?php if ($adH->get_enable_manual () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2201 |
|
2202 |
<input type="hidden" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_h'; ?>" value="0" />
|
2203 |
<input type="checkbox" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_h'; ?>" value="1" id="process-php-h" default="<?php echo $default->get_process_php (); ?>" <?php if ($adH->get_process_php () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2204 |
+
<label class="checkbox-button" style="margin-left: 10px;" for="process-php-h" title="<?php _e ('Process PHP code', 'ad-inserter'); ?>"><span class="checkbox-icon icon-php<?php if ($adH->get_process_php () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2205 |
</div>
|
2206 |
|
2207 |
<div>
|
2208 |
+
<h3 style="margin: 8px 0 8px 2px;"><?php _e ('HTML Page Header Code', 'ad-inserter'); ?></h3>
|
2209 |
</div>
|
2210 |
</div>
|
2211 |
|
2212 |
<div style="margin: 8px 0; width: 100%;">
|
2213 |
<div style="float: left;">
|
2214 |
+
<?php printf (__('Code in the %s section of the HTML page', 'ad-inserter'), '<pre style="display: inline; color: blue;"><head></head></pre>'); ?>
|
2215 |
+
<?php if ($header_code_disabled) echo '<span style="color: #f00;">', _x ('DISABLED', 'code in header or footer', 'ad-inserter'), '</span>'; ?>
|
2216 |
</div>
|
2217 |
|
2218 |
<div style="clear: both;"></div>
|
2225 |
<div id="device-detection-settings-h" class="rounded">
|
2226 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, AI_HEADER_OPTION_NAME; ?>" value="0" />
|
2227 |
<input type="checkbox" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, AI_HEADER_OPTION_NAME; ?>" id="server-side-detection-h" style="margin-top: 1px;" value="1" default="<?php echo $default->get_detection_server_side(); ?>" <?php if ($adH->get_detection_server_side ()==AI_ENABLED) echo 'checked '; ?> />
|
2228 |
+
<label for="server-side-detection-h"><?php _e ('Use server-side detection to insert code only for', 'ad-inserter'); ?> </label>
|
2229 |
<select id="display-for-devices-h" name="<?php echo AI_OPTION_DISPLAY_FOR_DEVICES, WP_FORM_FIELD_POSTFIX, AI_HEADER_OPTION_NAME; ?>" default="<?php echo $default->get_display_for_devices(); ?>" >
|
2230 |
+
<option value="<?php echo AI_INSERT_FOR_DESKTOP_DEVICES; ?>" <?php echo ($adH->get_display_for_devices() == AI_INSERT_FOR_DESKTOP_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DESKTOP_DEVICES; ?></option>
|
2231 |
+
<option value="<?php echo AI_INSERT_FOR_MOBILE_DEVICES; ?>" <?php echo ($adH->get_display_for_devices() == AI_INSERT_FOR_MOBILE_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_MOBILE_DEVICES; ?></option>
|
2232 |
+
<option value="<?php echo AI_INSERT_FOR_TABLET_DEVICES; ?>" <?php echo ($adH->get_display_for_devices() == AI_INSERT_FOR_TABLET_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_TABLET_DEVICES; ?></option>
|
2233 |
+
<option value="<?php echo AI_INSERT_FOR_PHONE_DEVICES; ?>" <?php echo ($adH->get_display_for_devices() == AI_INSERT_FOR_PHONE_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_PHONE_DEVICES; ?></option>
|
2234 |
+
<option value="<?php echo AI_INSERT_FOR_DESKTOP_TABLET_DEVICES; ?>" <?php echo ($adH->get_display_for_devices() == AI_INSERT_FOR_DESKTOP_TABLET_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DESKTOP_TABLET_DEVICES; ?></option>
|
2235 |
+
<option value="<?php echo AI_INSERT_FOR_DESKTOP_PHONE_DEVICES; ?>" <?php echo ($adH->get_display_for_devices() == AI_INSERT_FOR_DESKTOP_PHONE_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DESKTOP_PHONE_DEVICES; ?></option>
|
2236 |
</select>
|
|
|
2237 |
|
2238 |
<span style="float: right; margin-top: 2px;">
|
2239 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_404, '_block_h'; ?>" value="0" />
|
2240 |
<input style="margin-left: 10px; margin-top: 1px;" type="checkbox" name="<?php echo AI_OPTION_ENABLE_404, '_block_h'; ?>" id="enable-header-404" value="1" default="<?php echo $default->get_enable_404(); ?>" <?php if ($adH->get_enable_404 () == AI_ENABLED) echo 'checked '; ?> />
|
2241 |
+
<label for="enable-header-404" title="<?php _e ('Enable insertion of this code into HTML page header on page for Error 404: Page not found', 'ad-inserter'); ?>"><?php _e ('Insert on Error 404 page', 'ad-inserter'); ?></label>
|
2242 |
</span>
|
2243 |
</div>
|
2244 |
</div>
|
2248 |
<div style="float: right;">
|
2249 |
<?php if (AI_SYNTAX_HIGHLIGHTING) : ?>
|
2250 |
<input type="checkbox" value="0" id="simple-editor-f" class="simple-editor-button" style="display: none;" />
|
2251 |
+
<label class="checkbox-button" style="margin-left: 10px;" for="simple-editor-f" title="<?php _e ('Toggle Syntax Highlighting / Simple editor for mobile devices', 'ad-inserter'); ?>"><span class="checkbox-icon icon-tablet"></span></label>
|
2252 |
<?php endif; ?>
|
2253 |
|
2254 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_f'; ?>" value="0" />
|
2255 |
<input type="checkbox" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_f'; ?>" id="enable-footer" value="1" default="<?php echo $default->get_enable_manual(); ?>" <?php if ($adF->get_enable_manual () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2256 |
+
<label class="checkbox-button" style="margin-left: 10px;" for="enable-footer" title="<?php _e ('Enable insertion of this code into HTML page footer', 'ad-inserter'); ?>"><span class="checkbox-icon icon-enabled<?php if ($adF->get_enable_manual () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2257 |
|
2258 |
<input type="hidden" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_f'; ?>" value="0" />
|
2259 |
<input type="checkbox" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_f'; ?>" value="1" id="process-php-f" default="<?php echo $default->get_process_php (); ?>" <?php if ($adF->get_process_php () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2260 |
+
<label class="checkbox-button" style="margin-left: 10px;" for="process-php-f" title="<?php _e ('Process PHP code', 'ad-inserter'); ?>"><span class="checkbox-icon icon-php<?php if ($adF->get_process_php () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2261 |
</div>
|
2262 |
|
2263 |
<div>
|
2264 |
+
<h3 style="margin: 8px 0 8px 2px;"><?php _e ('HTML Page Footer Code', 'ad-inserter'); ?></h3>
|
2265 |
</div>
|
2266 |
</div>
|
2267 |
|
2268 |
<div style="margin: 8px 0; width: 100%;">
|
2269 |
<div style="float: left;">
|
2270 |
+
<?php /* translators: %s: HTML tags */ printf (__('Code before the %s tag of the the HTML page', 'ad-inserter'), '<pre style="display: inline; color: blue;"></body></pre>'); ?>
|
2271 |
+
<?php if ($footer_code_disabled) echo '<span style="color: #f00;">', _x ('DISABLED', 'code in header or footer', 'ad-inserter'), '</span>'; ?>
|
2272 |
</div>
|
2273 |
|
2274 |
<div style="clear: both;"></div>
|
2281 |
<div id="device-detection-settings-f" class="rounded">
|
2282 |
<input type="hidden" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, AI_FOOTER_OPTION_NAME; ?>" value="0" />
|
2283 |
<input style="margin-top: 1px;" type="checkbox" name="<?php echo AI_OPTION_DETECT_SERVER_SIDE, WP_FORM_FIELD_POSTFIX, AI_FOOTER_OPTION_NAME; ?>" id="server-side-detection-f" value="1" default="<?php echo $default->get_detection_server_side(); ?>" <?php if ($adF->get_detection_server_side ()==AI_ENABLED) echo 'checked '; ?> />
|
2284 |
+
<label for="server-side-detection-f"><?php _e ('Use server-side detection to insert code only for', 'ad-inserter'); ?> </label>
|
2285 |
<select id="display-for-devices-f" name="<?php echo AI_OPTION_DISPLAY_FOR_DEVICES, WP_FORM_FIELD_POSTFIX, AI_FOOTER_OPTION_NAME; ?>" default="<?php echo $default->get_display_for_devices(); ?>" >
|
2286 |
+
<option value="<?php echo AI_INSERT_FOR_DESKTOP_DEVICES; ?>" <?php echo ($adF->get_display_for_devices() == AI_INSERT_FOR_DESKTOP_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DESKTOP_DEVICES; ?></option>
|
2287 |
+
<option value="<?php echo AI_INSERT_FOR_MOBILE_DEVICES; ?>" <?php echo ($adF->get_display_for_devices() == AI_INSERT_FOR_MOBILE_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_MOBILE_DEVICES; ?></option>
|
2288 |
+
<option value="<?php echo AI_INSERT_FOR_TABLET_DEVICES; ?>" <?php echo ($adF->get_display_for_devices() == AI_INSERT_FOR_TABLET_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_TABLET_DEVICES; ?></option>
|
2289 |
+
<option value="<?php echo AI_INSERT_FOR_PHONE_DEVICES; ?>" <?php echo ($adF->get_display_for_devices() == AI_INSERT_FOR_PHONE_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_PHONE_DEVICES; ?></option>
|
2290 |
+
<option value="<?php echo AI_INSERT_FOR_DESKTOP_TABLET_DEVICES; ?>" <?php echo ($adF->get_display_for_devices() == AI_INSERT_FOR_DESKTOP_TABLET_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DESKTOP_TABLET_DEVICES; ?></option>
|
2291 |
+
<option value="<?php echo AI_INSERT_FOR_DESKTOP_PHONE_DEVICES; ?>" <?php echo ($adF->get_display_for_devices() == AI_INSERT_FOR_DESKTOP_PHONE_DEVICES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_DESKTOP_PHONE_DEVICES; ?></option>
|
2292 |
</select>
|
|
|
2293 |
|
2294 |
<span style="float: right; margin-top: 2px;">
|
2295 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_404, '_block_f'; ?>" value="0" />
|
2296 |
<input style="margin-left: 10px; margin-top: 1px;" type="checkbox" name="<?php echo AI_OPTION_ENABLE_404, '_block_f'; ?>" id="enable-footer-404" value="1" default="<?php echo $default->get_enable_404(); ?>" <?php if ($adF->get_enable_404 () == AI_ENABLED) echo 'checked '; ?> />
|
2297 |
+
<label for="enable-footer-404" title="<?php _e ('Enable insertion of this code into HTML page footer on page for Error 404: Page not found', 'ad-inserter'); ?>"><?php _e ('Insert on Error 404 page', 'ad-inserter'); ?></label>
|
2298 |
</span>
|
2299 |
</div>
|
2300 |
</div>
|
2308 |
<div style="float: right;">
|
2309 |
<input type="hidden" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_a'; ?>" value="0" />
|
2310 |
<input type="checkbox" name="<?php echo AI_OPTION_ENABLE_MANUAL, '_block_a'; ?>" id="enable-adb-detection" value="1" default="<?php echo $default->get_enable_manual(); ?>" <?php if ($adA->get_enable_manual () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2311 |
+
<label class="checkbox-button" style="margin-left: 10px;" for="enable-adb-detection" title="<?php _e ('Enable detection of ad blocking', 'ad-inserter'); ?>"><span class="checkbox-icon icon-enabled<?php if ($adA->get_enable_manual () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2312 |
</div>
|
2313 |
|
2314 |
<div>
|
2315 |
+
<h3 style="margin: 8px 0 8px 2px;"><?php _e ('Ad Blocking Detection', 'ad-inserter'); ?></h3>
|
2316 |
</div>
|
2317 |
</div>
|
2318 |
|
2319 |
<div class="rounded" style="margin: 16px 0 8px;">
|
2320 |
<table class="ai-settings-table" style="width: 100%;" cellpadding="0">
|
2321 |
<tr>
|
2322 |
+
<td style="width: 25%;">
|
2323 |
+
<label for="adb-action"><?php _e ('Action', 'ad-inserter'); ?></label>
|
2324 |
</td>
|
2325 |
<td>
|
2326 |
+
<select id="adb-action" name="<?php echo AI_OPTION_ADB_ACTION; ?>" title="<?php _e ('Global action when ad blocking is detected', 'ad-inserter'); ?>" default="<?php echo AI_DEFAULT_ADB_ACTION; ?>" >
|
2327 |
<option value="<?php echo AI_ADB_ACTION_NONE; ?>" <?php echo ($adb_action == AI_ADB_ACTION_NONE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_NONE; ?></option>
|
2328 |
<option value="<?php echo AI_ADB_ACTION_MESSAGE; ?>" <?php echo ($adb_action == AI_ADB_ACTION_MESSAGE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_POPUP_MESSAGE; ?></option>
|
2329 |
<option value="<?php echo AI_ADB_ACTION_REDIRECTION; ?>" <?php echo ($adb_action == AI_ADB_ACTION_REDIRECTION) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_REDIRECTION; ?></option>
|
2332 |
</tr>
|
2333 |
<tr>
|
2334 |
<td>
|
2335 |
+
<?php _e ('Delay Action', 'ad-inserter'); ?>
|
2336 |
</td>
|
2337 |
<td>
|
2338 |
+
<input style="width: 40px;" type="text" name="<?php echo AI_OPTION_ADB_DELAY_ACTION; ?>" title="<?php _e ('Number of page views to delay action when ad blocking is detected. Leave empty for no delay (action fires on first page view). Sets cookie.', 'ad-inserter'); ?>" value="<?php echo get_delay_action (); ?>" default="" size="3" maxlength="5" /> <?php _ex ('page views', 'Delay Action for x ', 'ad-inserter'); ?>
|
2339 |
</td>
|
2340 |
</tr>
|
2341 |
<tr>
|
2342 |
<td>
|
2343 |
+
<?php _e ('No Action Period', 'ad-inserter'); ?>
|
2344 |
</td>
|
2345 |
<td>
|
2346 |
+
<input style="width: 40px;" type="text" name="<?php echo AI_OPTION_ADB_NO_ACTION_PERIOD; ?>" title="<?php _e ('Number of days to supress action when ad blocking is detected. Leave empty for no no-action period (action fires always after defined page view delay). Sets cookie.', 'ad-inserter'); ?>" value="<?php echo get_no_action_period (); ?>" default="<?php echo AI_DEFAULT_ADB_NO_ACTION_PERIOD; ?>" size="3" maxlength="5" /> <?php _ex ('days', 'no action period', 'ad-inserter'); ?>
|
2347 |
</td>
|
2348 |
</tr>
|
2349 |
<tr>
|
2350 |
<td>
|
2351 |
+
<?php _e ('Custom Selectors', 'ad-inserter'); ?>
|
2352 |
</td>
|
2353 |
<td>
|
2354 |
+
<input id="custom-selectors" style="width: 95%;" type="text" name="<?php echo AI_OPTION_ADB_SELECTORS; ?>" title="<?php _e ('Comma seprarated list of selectors (.class, #id) used for additional ad blocking detection. Invisible element or element with zero height means ad blocking is present.', 'ad-inserter'); ?>" value="<?php echo get_adb_selectors (); ?>" default="" size="50" maxlength="200" />
|
2355 |
+
<button id="custom-selectors-button" type="button" class='ai-button' style="display: none; outline: transparent; float: right; margin-top: 4px; width: 15px; height: 15px;" title="<?php _e ('Open HTML element selector', 'ad-inserter'); ?>"></button>
|
2356 |
</td>
|
2357 |
</tr>
|
2358 |
<?php if (function_exists ('ai_adb_settings')) ai_adb_settings (); ?>
|
2362 |
<div id="adb-page-redirection" class="rounded">
|
2363 |
<table class="ai-settings-table" style="width: 100%;">
|
2364 |
<tr>
|
2365 |
+
<td style="width: 25%;">
|
2366 |
+
<label for="redirection-page"><?php _e ('Redirection Page', 'ad-inserter'); ?></label>
|
2367 |
</td>
|
2368 |
<td>
|
2369 |
<?php
|
2375 |
'name' => AI_OPTION_ADB_REDIRECTION_PAGE,
|
2376 |
'id' => 'redirection-page',
|
2377 |
'class' => null,
|
2378 |
+
'show_option_none' => __('Custom Url', 'ad-inserter'),
|
2379 |
'show_option_no_change' => null,
|
2380 |
'option_none_value' => '0',
|
2381 |
);
|
2382 |
$dropdown_pages = wp_dropdown_pages ($args);
|
2383 |
+
$dropdown_title = __ ('Static page for redirection when ad blocking is detected. For other pages select Custom url and set it below.', 'ad-inserter');
|
2384 |
+
$dropdown_pages = str_replace ('<select ', '<select default="'.AI_DEFAULT_ADB_REDIRECTION_PAGE.'" title="'.$dropdown_title.'" ', $dropdown_pages);
|
2385 |
|
2386 |
echo $dropdown_pages;
|
2387 |
?>
|
2389 |
</tr>
|
2390 |
<tr>
|
2391 |
<td>
|
2392 |
+
<?php _e ('Custom Redirection Url', 'ad-inserter'); ?>
|
2393 |
</td>
|
2394 |
<td>
|
2395 |
<input id="custom-redirection-url" style="width: 100%;" type="text" name="<?php echo AI_OPTION_ADB_CUSTOM_REDIRECTION_URL; ?>" value="<?php echo get_custom_redirection_url (); ?>" default="" size="50" maxlength="200" />
|
2401 |
<div id="adb-message">
|
2402 |
<div style="padding: 0; min-height: 28px;">
|
2403 |
<div style="float: left; margin: 10px 0 0 3px;">
|
2404 |
+
<?php _e ('Message HTML code', 'ad-inserter'); ?>
|
2405 |
</div>
|
2406 |
<div style="float: right;">
|
2407 |
|
2408 |
<?php if (AI_SYNTAX_HIGHLIGHTING) : ?>
|
2409 |
<input type="checkbox" value="0" id="simple-editor-a" class="simple-editor-button" style="display: none;" />
|
2410 |
+
<label class="checkbox-button" style="margin-left: 10px;" for="simple-editor-a" title="<?php _e ('Toggle Syntax Highlighting / Simple editor for mobile devices', 'ad-inserter'); ?>"><span class="checkbox-icon icon-tablet"></span></label>
|
2411 |
<?php endif; ?>
|
2412 |
|
2413 |
<input type="hidden" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_a'; ?>" value="0" />
|
2414 |
<input type="checkbox" name="<?php echo AI_OPTION_PROCESS_PHP, '_block_a'; ?>" value="1" id="process-php-a" default="<?php echo $default->get_process_php (); ?>" <?php if ($adA->get_process_php () == AI_ENABLED) echo 'checked '; ?> style="display: none;" />
|
2415 |
+
<label class="checkbox-button" style="margin-left: 10px;" for="process-php-a" title="<?php _e ('Process PHP code', 'ad-inserter'); ?>"><span class="checkbox-icon icon-php<?php if ($adA->get_process_php () == AI_ENABLED) echo ' on'; ?>"></span></label>
|
2416 |
|
2417 |
+
<button id="preview-button-adb" type="button" class='ai-button' style="display: none; margin: 0 4px 0 10px;" title="<?php _e ('Preview message when ad blocking is detected', 'ad-inserter'); ?>" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" site-url="<?php echo wp_make_link_relative (get_site_url()); ?>"><?php _e ('Preview', 'ad-inserter'); ?></button>
|
2418 |
</div>
|
2419 |
<div style="clear: both;"></div>
|
2420 |
</div>
|
2427 |
<table class="ai-settings-table" style="width: 100%;">
|
2428 |
<tr>
|
2429 |
<td style="width: 20%;">
|
2430 |
+
<?php _e ('Message CSS', 'ad-inserter'); ?>
|
2431 |
</td>
|
2432 |
<td>
|
2433 |
<input id="message-css" style="width: 100%;" type="text" name="<?php echo AI_OPTION_ADB_MESSAGE_CSS; ?>" value="<?php echo get_message_css (); ?>" default="<?php echo AI_DEFAULT_ADB_MESSAGE_CSS; ?>" size="50" maxlength="200" />
|
2435 |
</tr>
|
2436 |
<tr>
|
2437 |
<td>
|
2438 |
+
<?php _e ('Overlay CSS', 'ad-inserter'); ?>
|
2439 |
</td>
|
2440 |
<td>
|
2441 |
<input id="overlay-css" style="width: 100%;" type="text" name="<?php echo AI_OPTION_ADB_OVERLAY_CSS; ?>" value="<?php echo get_overlay_css (); ?>" default="<?php echo AI_DEFAULT_ADB_OVERLAY_CSS; ?>" size="50" maxlength="200" />
|
2443 |
</tr>
|
2444 |
<tr>
|
2445 |
<td>
|
2446 |
+
<label for="undismissible-message" title="<?php _e ('Prevent visitors from closing the warning message', 'ad-inserter'); ?>"><?php _e ('Undismissible Message', 'ad-inserter'); ?></label>
|
2447 |
</td>
|
2448 |
<td>
|
2449 |
<input type="hidden" name="<?php echo AI_OPTION_ADB_UNDISMISSIBLE_MESSAGE; ?>" value="0" />
|
2455 |
</div>
|
2456 |
</div>
|
2457 |
|
2458 |
+
<?php }
|
2459 |
+
$d1 = "Force showing admin toolbar for administrators when viewing site. Enable this option when you are logged in as admin and you don't see admin toolbar.";
|
2460 |
+
?>
|
2461 |
<div id="tab-debugging" class="rounded">
|
2462 |
<table class="ai-settings-table" style="width: 100%;">
|
2463 |
+
<tr title="<?php _e ($d1, 'ad-inserter'); ?>">
|
2464 |
+
<td style="width: 45%;">
|
2465 |
+
<label for="force-admin-toolbar"><?php _e ('Force showing admin toolbar when viewing site', 'ad-inserter'); ?></label>
|
2466 |
</td>
|
2467 |
<td>
|
2468 |
<input type="hidden" name="force_admin_toolbar" value="0" />
|
2469 |
<input type="checkbox" name="force_admin_toolbar" id="force-admin-toolbar" value="1" default="<?php echo DEFAULT_FORCE_ADMIN_TOOLBAR; ?>" <?php if (get_force_admin_toolbar () == AI_ENABLED) echo 'checked '; ?> />
|
2470 |
</td>
|
2471 |
</tr>
|
2472 |
+
<tr title="<?php _e ('Enable debugging functions in admin toolbar', 'ad-inserter'); ?>">
|
2473 |
<td>
|
2474 |
+
<label for="admin-toolbar-debugging"><?php _e ('Debugging functions in admin toolbar', 'ad-inserter'); ?></label>
|
2475 |
</td>
|
2476 |
<td>
|
2477 |
<input type="hidden" name="admin_toolbar_debugging" value="0" />
|
2478 |
<input type="checkbox" name="admin_toolbar_debugging" id="admin-toolbar-debugging" value="1" default="<?php echo DEFAULT_ADMIN_TOOLBAR_DEBUGGING; ?>" <?php if (get_admin_toolbar_debugging ()==AI_ENABLED) echo 'checked '; ?> />
|
2479 |
</td>
|
2480 |
</tr>
|
2481 |
+
<tr title="<?php _e ('Enable debugging functions in admin toolbar on mobile screens', 'ad-inserter'); ?>">
|
2482 |
<td>
|
2483 |
+
<label for="admin-toolbar-mobile"><?php _e ('Debugging functions on mobile screens', 'ad-inserter'); ?></label>
|
2484 |
</td>
|
2485 |
<td>
|
2486 |
<input type="hidden" name="admin_toolbar_mobile" value="0" />
|
2487 |
<input type="checkbox" name="admin_toolbar_mobile" id="admin-toolbar-mobile" value="1" default="<?php echo DEFAULT_ADMIN_TOOLBAR_MOBILE; ?>" <?php if (get_admin_toolbar_mobile ()==AI_ENABLED) echo 'checked '; ?> />
|
2488 |
</td>
|
2489 |
</tr>
|
2490 |
+
<tr title="<?php _e ('Enable Debugger widget and code insertion debugging (blocks, positions, tags, processing) by url parameters for non-logged in users. Enable this option to allow other users to see Debugger widget, labeled blocks and positions in order to help you to diagnose problems. For logged in administrators debugging is always enabled.', 'ad-inserter'); ?>">
|
2491 |
<td>
|
2492 |
+
<label for="remote-debugging"><?php _e ('Remote debugging', 'ad-inserter'); ?></label>
|
2493 |
</td>
|
2494 |
<td>
|
2495 |
<input type="hidden" name="remote_debugging" value="0" />
|
2496 |
<input type="checkbox" name="remote_debugging" id="remote-debugging" value="1" default="<?php echo DEFAULT_REMOTE_DEBUGGING; ?>" <?php if (get_remote_debugging ()==AI_ENABLED) echo 'checked '; ?> />
|
2497 |
</td>
|
2498 |
</tr>
|
2499 |
+
<tr title="Disable translation - <?php _e ('Disable translation to see original texts for the settings and messages in English', 'ad-inserter'); ?>">
|
2500 |
+
<td>
|
2501 |
+
<label for="disable-translation"><?php _e ('Disable translation', 'ad-inserter'); ?></label>
|
2502 |
+
</td>
|
2503 |
+
<td>
|
2504 |
+
<input type="hidden" name="disable_translation" value="0" />
|
2505 |
+
<input type="checkbox" name="disable_translation" id="disable-translation" value="1" default="<?php echo DEFAULT_DISABLE_TRANSLATION; ?>" <?php if (get_disable_translation ()==AI_ENABLED) echo 'checked '; ?> />
|
2506 |
+
</td>
|
2507 |
+
</tr>
|
2508 |
<tr class="system-debugging" style="display: none;">
|
2509 |
<td>
|
2510 |
<label for="backend-js-debugging" title="Enable backend javascript console output">Backend javascript debugging</label>
|
2546 |
isset ($ai_wp_data [AI_DAYS_SINCE_INSTAL]) ? $ai_wp_data [AI_DAYS_SINCE_INSTAL] : null); ?>
|
2547 |
</td>
|
2548 |
</tr>
|
2549 |
+
<!-- <tr class="system-debugging" style="display: none;">-->
|
2550 |
+
<!-- <td>-->
|
2551 |
+
<!-- Used blocks-->
|
2552 |
+
<!-- </td>-->
|
2553 |
+
<!-- <td>-->
|
2554 |
+
<!-- <?php if (isset ($ai_db_options_extract [AI_EXTRACT_USED_BLOCKS])) echo count ($used_blocks), ' (', implode (', ', array_slice ($used_blocks, 0, 22)), count ($used_blocks) > 22 ? ',...' : '', ')'; ?>-->
|
2555 |
+
<!-- </td>-->
|
2556 |
+
<!-- </tr>-->
|
2557 |
+
|
2558 |
+
<?php if (defined ('AI_PLUGIN_TRACKING') && AI_PLUGIN_TRACKING) { ?>
|
2559 |
<tr class="system-debugging" style="display: none;">
|
2560 |
<td>
|
2561 |
+
Tracking
|
2562 |
</td>
|
2563 |
<td>
|
2564 |
+
<?php global $ai_dst; echo $ai_dst->get_tracking () ? 'on' : 'off'; ?>
|
2565 |
+
</td>
|
2566 |
+
</tr>
|
2567 |
+
<?php } ?>
|
2568 |
+
|
2569 |
+
<tr class="system-debugging" style="display: none;">
|
2570 |
+
<td>
|
2571 |
+
Review
|
2572 |
+
</td>
|
2573 |
+
<td>
|
2574 |
+
<?php echo get_option ('ai-notice-review'); ?>
|
2575 |
</td>
|
2576 |
</tr>
|
2577 |
<?php if (function_exists ('ai_system_debugging')) ai_system_debugging (); ?>
|
2791 |
</span>
|
2792 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2793 |
<input type="checkbox" value="0" id="ai-load-all" style="display: none;" />
|
2794 |
+
<label class="checkbox-button" for="ai-load-all" title="<?php _e ('Toggle active/all blocks', 'ad-inserter'); ?>"><span class="checkbox-icon size-16 icon-enabled-all on"></span></label>
|
2795 |
</span>
|
2796 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2797 |
<input type="checkbox" value="0" id="ai-rearrange" style="display: none;" />
|
2798 |
+
<label class="checkbox-button" for="ai-rearrange" title="<?php _e ('Rearrange block order', 'ad-inserter'); ?>"><span class="checkbox-icon size-16 icon-rearrange"></span></label>
|
2799 |
</span>
|
2800 |
<span id='list-rearrange-controls' class="ai-toolbar-button text" style='float: right; display: none;'>
|
2801 |
<span id='list-save' class="ai-toolbar-button text" style="vertical-align: middle; display: none;">
|
2802 |
<input type="checkbox" value="0" id="ai-save-changes" style="display: none;" />
|
2803 |
+
<label class="checkbox-button" for="ai-save-changes" style="padding: 1px 5px 1px 4px; margin-top: 0px;" title="<?php _e ('Save new block order', 'ad-inserter'); ?>"><?php _e ('Save Changes', 'ad-inserter'); ?></label>
|
2804 |
</span>
|
2805 |
</span>
|
2806 |
<div style="clear: both;"></div>
|
2807 |
</div>
|
2808 |
|
2809 |
<div id="ai-list-data">
|
2810 |
+
<?php _e ('Loading...', 'ad-inserter'); ?>
|
2811 |
</div>
|
2812 |
</div>
|
2813 |
<?php
|
2825 |
|
2826 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2827 |
<input type="checkbox" value="0" id="adsense-load-all" style="display: none;" />
|
2828 |
+
<label class="checkbox-button" for="adsense-load-all" title="<?php _e ('Toggle active/all ad units', 'ad-inserter'); ?>"><span class="checkbox-icon size-16 icon-enabled-all on"></span></label>
|
2829 |
</span>
|
2830 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2831 |
<input type="checkbox" value="0" id="adsense-reload" style="display: none;" />
|
2832 |
+
<label class="checkbox-button" for="adsense-reload" title="<?php _e ('Reload AdSense ad units', 'ad-inserter'); ?>"><span class="checkbox-icon size-16w icon-reload"></span></label>
|
2833 |
</span>
|
2834 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2835 |
<input type="checkbox" value="" id="clear-adsense-authorization" style="display: none;" />
|
2836 |
+
<label class="checkbox-button" for="clear-adsense-authorization" title="<?php _e ('Clear authorization to access AdSense account', 'ad-inserter'); ?>"><span class="list-button lb-size-16 ui-icon ui-icon-power"></span></label>
|
2837 |
</span>
|
2838 |
<span class="ai-toolbar-button small" style="vertical-align: middle; float: right;">
|
2839 |
<input type="checkbox" value="0" id="google-adsense" style="display: none;" />
|
2840 |
+
<label class="checkbox-button" id="google-adsense-button" for="google-adsense" title="<?php _e ('Google AdSense Homepage', 'ad-inserter'); ?>" onclick="window.open('https://www.google.com/adsense/login')" ><span class="checkbox-icon size-img16 icon-adsense"></span></label>
|
2841 |
</span>
|
2842 |
<div style="clear: both;"></div>
|
2843 |
</div>
|
2844 |
|
2845 |
<div id="adsense-list-data">
|
2846 |
+
<?php _e ('Loading...', 'ad-inserter'); ?>
|
2847 |
</div>
|
2848 |
</div>
|
2849 |
<?php
|
2989 |
|
2990 |
if (!$show_all_blocks && !$block_used) continue;
|
2991 |
|
2992 |
+
$block_text = $block . ' '. $obj->get_ad_name () . ' ' . $obj->get_automatic_insertion_text() . ' ' . $obj->get_alignment_type_text () . ' ' . implode (', ', $sidebars_with_widget [$block]);
|
2993 |
if (!empty ($sidebars_with_widget [$block])) $block_text .= ' widget';
|
2994 |
if ($manual_shortcode) $block_text .= ' shortcode';
|
2995 |
if ($manual_php_function) $block_text .= ' php';
|
3011 |
<tr style="background: <?php echo $row_color; ?>" data-block="<?php echo $block; ?>">
|
3012 |
<td style="min-width: 55px; color: <?php echo $block_used ? '#444' : '#ccc'; ?>;">
|
3013 |
<span class="ai-list-button">
|
3014 |
+
<label class="checkbox-button ai-copy-block" style="margin-top: -1px;" title="<?php _e ('Copy block', 'ad-inserter'); ?>"><span class="checkbox-icon size-8"></span></label>
|
3015 |
</span>
|
3016 |
<span class="ai-list-button">
|
3017 |
+
<label class="checkbox-button ai-preview-block" style="margin-top: -1px;" title="<?php _e ('Preview block', 'ad-inserter'); ?>"><span class="checkbox-icon size-8 icon-preview"></span></label>
|
3018 |
</span>
|
3019 |
<span class="ai-list-button" style="text-align: right; width: 16px;"><?php echo $block; ?></span>
|
3020 |
</td>
|
3021 |
<?php if ($visible_tab): ?>
|
3022 |
+
<td class="ai-tab-link" data-tab="<?php echo $block; ?>" style=" min-width: 120px; color: #0073aa; cursor: pointer; text-align: left; padding-left: 5px; max-width: 220px; white-space: nowrap; overflow: hidden;"><?php echo $obj->get_ad_name(); ?></td>
|
3023 |
<?php else: ?>
|
3024 |
+
<td style="min-width: 120px; text-align: left; padding-left: 5px; max-width: 280px; white-space: nowrap; overflow: hidden;"><a href="<?php echo $edit_url; ?>" style="text-decoration: none; box-shadow: 0 0 0;"><?php echo $obj->get_ad_name(); ?></a></td>
|
3025 |
<?php endif ?>
|
3026 |
+
<td style="min-width: 15px; text-align: center; padding-left: 10px; vertical-align: top; color: #f00;" title="<?php _e ('Insertion disabled', 'ad-inserter'); ?>"><?php echo $disabled ? '❚❚' : ''; ?></td>
|
3027 |
<td style="min-width: 80px; text-align: left; padding-left: 5px; max-width: 130px; white-space: nowrap; overflow: hidden; color: <?php echo $automatic_insertion ? '#666' : '#ccc'; ?>"><?php echo $obj->get_automatic_insertion_text(); ?></td>
|
3028 |
<td style="min-width: 110px; text-align: left; padding-left: 10px; max-width: 80px; white-space: nowrap; overflow: hidden; color: <?php echo $block_used ? '#444' : '#ccc'; ?>"><?php echo $obj->get_alignment_type_text (); ?></td>
|
3029 |
<td class="ai-dot" style="min-width: 15px; text-align: center; padding-left: 10px; vertical-align: top; color: <?php echo $manual_php_function ? '#8080ff' : '#ddd'; ?>;">●</td>
|
3039 |
<table id="ai-list-table" class="exceptions ai-sortable" cellspacing=0 cellpadding=0 style="width: 100%;" data-blocks="<?php echo json_encode ($blocks); ?>">
|
3040 |
<thead>
|
3041 |
<tr>
|
3042 |
+
<th style="text-align: left;"><?php _e ('Block', 'ad-inserter'); ?></th>
|
3043 |
+
<th style="text-align: left; padding-left: 5px;"><?php _e ('Name', 'ad-inserter'); ?></th>
|
3044 |
<th style="text-align: left; padding-left: 10px;"></th>
|
3045 |
+
<th style="text-align: left; padding-left: 5px;"><?php _e ('Automatic insertion', 'ad-inserter'); ?></th>
|
3046 |
+
<th style="text-align: left; padding-left: 10px;"><?php _e ('Alignment', 'ad-inserter'); ?></th>
|
3047 |
+
<th style="text-align: center; padding-left: 10px;" title="<?php _e ('PHP function call', 'ad-inserter'); ?>">P</th>
|
3048 |
+
<th style="text-align: center; padding-left: 10px;" title="<?php _e ('Shortcode', 'ad-inserter'); ?>">S</th>
|
3049 |
+
<th style="text-align: center; padding-left: 10px;" title="<?php _e ('Widget', 'ad-inserter'); ?>">W</th>
|
3050 |
+
<th style="text-align: left; padding-left: 10px;"><?php _e ('Widget positions', 'ad-inserter'); ?></th>
|
3051 |
</tr>
|
3052 |
</thead>
|
3053 |
<tbody>
|
3057 |
<?php
|
3058 |
if ($row_counter == 0) {
|
3059 |
if ($search_text == '')
|
3060 |
+
echo "<div style='margin: 10px 0 0 20px;'><?php _e ('No active code block', 'ad-inserter'); ?></div>"; else
|
3061 |
+
echo "<div style='margin: 10px 0 0 20px;'><?php _e ('No code block matches search keywords', 'ad-inserter'); ?></div>";
|
3062 |
}
|
3063 |
}
|
3064 |
|
3113 |
<table id="ai-adsense-ad-units-table" class="exceptions" cellspacing=0 cellpadding=0 style="width: 100%;">
|
3114 |
<thead>
|
3115 |
<tr>
|
3116 |
+
<th style="text-align: left; width: 66px;"><?php _e ('Ad unit', 'ad-inserter'); ?></th>
|
3117 |
+
<th style="text-align: left;"><?php _e ('Name', 'ad-inserter'); ?></th>
|
3118 |
+
<th style="text-align: left;"><?php _e ('Slot ID', 'ad-inserter'); ?></th>
|
3119 |
+
<th style="text-align: left;"><?php _e ('Type', 'ad-inserter'); ?></th>
|
3120 |
+
<th style="text-align: left;"><?php _e ('Size', 'ad-inserter'); ?></th>
|
3121 |
</tr>
|
3122 |
</thead>
|
3123 |
<tbody>
|
3141 |
<tr style="background: <?php echo $row_color; ?>" data-id="ca-<?php echo $publisher_id, ':', $ad_unit ['code']; ?>" data-name="<?php echo base64_encode ($ad_unit ['name']); ?>">
|
3142 |
<td>
|
3143 |
<span class="ai-list-button">
|
3144 |
+
<label class="checkbox-button adsense-copy-code" style="margin-top: -1px;" title="<?php _e ('Copy AdSense code', 'ad-inserter'); ?>"><span class="checkbox-icon size-8"></span></label>
|
3145 |
</span>
|
3146 |
<span class="ai-list-button">
|
3147 |
+
<label class="checkbox-button adsense-preview-code" style="margin-top: -1px;" title="<?php _e ('Preview AdSense ad', 'ad-inserter'); ?>"><span class="checkbox-icon size-8 icon-preview"></span></label>
|
3148 |
</span>
|
3149 |
<span class="ai-list-button">
|
3150 |
+
<label class="checkbox-button adsense-get-code" style="margin-top: -1px;" title="<?php _e ('Get AdSense code', 'ad-inserter'); ?>"><span class="checkbox-icon size-8 icon-get"></span></label>
|
3151 |
</span>
|
3152 |
</td>
|
3153 |
<td style="color: <?php echo $ad_unit ['active'] ? '#444' : '#ccc'; ?>;">
|
3177 |
"<div style='margin: 10px 0 0 20px;'>$error</div>";
|
3178 |
|
3179 |
if (strpos ($error, 'unauthorized_client') !== false) {
|
3180 |
+
echo '<div style="margin-top: 10px; border: 1px solid #ddd; border-radius: 5px; padding: 10px;">',
|
3181 |
+
// translators: %s: HTML tags
|
3182 |
+
sprintf (__('Please %s clear authorization %s with the button %s above and once again authorize access to your AdSense account.', 'ad-inserter'),
|
3183 |
+
'<strong>',
|
3184 |
+
'</strong>',
|
3185 |
+
'<span class="list-button lb-size-16 ui-icon ui-icon-power" style="display: inline-block; margin-bottom: -3px;"></span>'
|
3186 |
+
), '</div>';
|
3187 |
}
|
3188 |
}
|
3189 |
}
|
3198 |
<td colspan="2" style="white-space: inherit;">
|
3199 |
<div class="rounded" style="margin: 0;">
|
3200 |
<?php if ($adsense_ids): ?>
|
3201 |
+
<h2 style="margin: 5px 0; float: left;"><strong><?php echo AD_INSERTER_NAME; ?></strong> <?php _e ('AdSense Integration', 'ad-inserter'); ?></h2>
|
3202 |
<?php else: ?>
|
3203 |
+
<h2 style="margin: 5px 0; float: left;"><strong><?php echo AD_INSERTER_NAME; ?></strong> <?php _e ('AdSense Integration - Step 2', 'ad-inserter'); ?></h2>
|
3204 |
<?php endif; ?>
|
3205 |
+
<a href="https://www.google.com/adsense/login" class="simple-link" style="float: right;" target="_blank" title="<?php _e ('Google AdSense Homepage', 'ad-inserter'); ?>"><img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ga-logo.png" style="margin: 3px 0 -4px 0;"/></a>
|
3206 |
<div style="clear: both;"></div>
|
3207 |
</div>
|
3208 |
<?php if ($adsense_ids): ?>
|
3209 |
+
<p style="text-align: justify;"><?php /* translators: %s: HTML tags */ printf (__('Authorize %s to access your AdSense account. Click on the %s Get Authorization Code %s button to open a new window where you can allow access. When you get the code copy it to the field below and click on the button %s Authorize. %s', 'ad-inserter'),
|
3210 |
+
AD_INSERTER_NAME,
|
3211 |
+
'<strong>',
|
3212 |
+
'</strong>',
|
3213 |
+
'<strong>',
|
3214 |
+
'</strong>'
|
3215 |
+
); ?></p>
|
3216 |
+
<p style="text-align: justify;"><?php /* translators: %s: HTML tags */ printf (__("If you get error, can't access ad units or would like to use own Google API IDs click on the button %s Use own API IDs %s to enter Client ID and Client Secret.", 'ad-inserter'), '<strong>', '</strong>'); ?></p>
|
3217 |
<?php else: ?>
|
3218 |
+
<p style="text-align: justify;"><?php /* translators: %s: HTML tags */ printf (__('Now you can authorize %s to access your AdSense account. Click on the %s Get Authorization Code %s button to open a new window where you can allow access. When you get the code copy it to the field below and click on the button %s Authorize. %s', 'ad-inserter'),
|
3219 |
+
AD_INSERTER_NAME,
|
3220 |
+
'<strong>',
|
3221 |
+
'</strong>',
|
3222 |
+
'<strong>',
|
3223 |
+
'</strong>'
|
3224 |
+
); ?></p>
|
3225 |
+
<p style="text-align: justify;"><?php /* translators: %s: HTML tags */ printf (__('If you get error %s invalid client %s click on the button %s Clear and return to Step 1 %s to re-enter Client ID and Client Secret.', 'ad-inserter'),
|
3226 |
+
'<strong>',
|
3227 |
+
'</strong>',
|
3228 |
+
'<strong>',
|
3229 |
+
'</strong>'
|
3230 |
+
); ?></p>
|
3231 |
<?php endif; ?>
|
3232 |
</td>
|
3233 |
</tr>
|
3234 |
<tr>
|
3235 |
<td style="padding-right: 10px;">
|
3236 |
+
<button type="button" class="ai-top-button" style="display: none; width: 162px; outline-color: transparent;" onclick="window.open('<?php echo $adsense->getAuthUrl (); ?>')"><?php _e ('Get Authorization Code', 'ad-inserter'); ?></button>
|
3237 |
</td>
|
3238 |
<td>
|
3239 |
+
<input id="adsense-authorization-code" style="width: 100%;" type="text" value="" size="100" maxlength="200" title="<?php _e ('Enter Authorization Code', 'ad-inserter'); ?>"/>
|
3240 |
</td>
|
3241 |
</tr>
|
3242 |
<tr>
|
3246 |
<tr>
|
3247 |
<td>
|
3248 |
<?php if ($adsense_ids): ?>
|
3249 |
+
<button type="button" class="ai-top-button authorize-adsense own-ids" style="display: none; float: left; width: 162px; outline-color: transparent;"><?php _e ('Use own API IDs', 'ad-inserter'); ?></button>
|
3250 |
<?php else: ?>
|
3251 |
+
<button type="button" class="ai-top-button authorize-adsense clear-adsense" style="display: none; float: left; width: 162px; outline-color: transparent;"><?php _e ('Clear and return to Step 1', 'ad-inserter'); ?></button>
|
3252 |
<?php endif; ?>
|
3253 |
</td>
|
3254 |
<td>
|
3255 |
+
<button type="button" class="ai-top-button authorize-adsense" style="display: none; float: right; width: 162px; outline-color: transparent;"><?php _e ('Authorize', 'ad-inserter'); ?></button>
|
3256 |
</td>
|
3257 |
</tr>
|
3258 |
</tbody>
|
3268 |
<tr>
|
3269 |
<td colspan="2" style="white-space: inherit;">
|
3270 |
<div class="rounded" style="margin: 0;">
|
3271 |
+
<h2 style="margin: 5px 0; float: left;"><strong><?php echo AD_INSERTER_NAME; ?></strong> <?php _e ('AdSense Integration - Step 1', 'ad-inserter'); ?></h2>
|
3272 |
+
<a href="https://www.google.com/adsense/login" class="simple-link" style="float: right;" target="_blank" title="<?php _e ('Google AdSense Homepage', 'ad-inserter'); ?>"><img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ga-logo.png" style="margin: 3px 0 -4px 0;"/></a>
|
3273 |
<div style="clear: both;"></div>
|
3274 |
</div>
|
3275 |
+
<p style="text-align: justify;"><?php /* translators: %s: Ad Inserter */ printf (__('Here can %s list configured AdSense ad units and get code for AdSense ads. To do this you need to authorize %s to access your AdSense account. The first step is to create a Google API project in order to get Client ID and Client Secret.', 'ad-inserter'),
|
3276 |
+
'<strong>'.AD_INSERTER_NAME.'</strong>',
|
3277 |
+
AD_INSERTER_NAME
|
3278 |
+
); ?></p>
|
3279 |
</td>
|
3280 |
</tr>
|
3281 |
<tr>
|
3282 |
<td colspan="2" style="white-space: inherit;">
|
3283 |
<ol>
|
3284 |
+
<li title="Google APIs and Services console"><?php /* translators: %s: HTML tags */ printf (__('Go to %s Google APIs and Services console %s', 'ad-inserter'), '<a href="https://console.developers.google.com/" target="_blank">', '</a>'); ?></li>
|
3285 |
+
<li title="Credentials"><?php /* translators: %1: Ad Inserter, 2, 3: HTML tags */ printf (__('Create %1$s project - if the project and IDs are already created click on the %2$s Credentials %3$s in the sidebar and go to step 16', 'ad-inserter'), '<strong>Ad Inserter</strong>', '<strong>', '</strong>'); ?></li>
|
3286 |
+
<li title="Select a project"><?php /* translators: %s: HTML tags */ printf (__('Click on project selection and then click on the %s NEW PROJECT %s button to create a new project', 'ad-inserter'), '<strong>', '</strong>'); ?></li>
|
3287 |
+
<li title="Create"><?php /* translators: 1: Ad Inserter, 2, 3: HTML tags */ printf (__('Enter %1$s for project name and click on the %2$s Create %3$s button', 'ad-inserter'), '<strong>Ad Inserter</strong>', '<strong>', '</strong>'); ?></li>
|
3288 |
+
<li><?php /* translators: %s: HTML tags */ printf (__('Click on project selection, wait for the project to be created and then and select %s as the current project', 'ad-inserter'), '<strong>Ad Inserter</strong>'); ?></li>
|
3289 |
+
<li title="ENABLE APIS AND SERVICES"><?php /* translators: %s: HTML tags */ printf (__('Click on %s ENABLE APIS AND SERVICES %s', 'ad-inserter'), '<strong>', '</strong>'); ?></li>
|
3290 |
+
<li title="AdSense Management API"><?php /* translators: %s: HTML tags */ printf (__('Search for adsense and enable %s', 'ad-inserter'), '<strong>AdSense Management API</strong>'); ?></li>
|
3291 |
+
<li title="Create credentials"><?php /* translators: %s: HTML tags */ printf (__('Click on %s CREATE CREDENTIALS %s', 'ad-inserter'), '<strong>', '</strong>'); ?></li>
|
3292 |
+
<li title="Where will you be calling the API from?"><?php /* translators: %s: HTML tags */ printf (__('For %s Where will you be calling the API from? %s select %s Other UI %s', 'ad-inserter'), '<strong>', '</strong>', '<strong>', '</strong>'); ?></li>
|
3293 |
+
<li title="What data will you be accessing?"><?php /* translators: %s: HTML tags */ printf (__('For %s What data will you be accessing? %s select %s User data %s', 'ad-inserter'), '<strong>', '</strong>', '<strong>', '</strong>'); ?></li>
|
3294 |
+
<li title="What credentials do I need?"><?php /* translators: %s: HTML tags */ printf (__('Click on %s What credentials do I need? %s', 'ad-inserter'), '<strong>', '</strong>'); ?></li>
|
3295 |
+
<li title="Create an OAuth 2.0 client ID"><?php /* translators: %s: HTML tags */ printf (__('Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s Ad Inserter client %s', 'ad-inserter'), '<strong>', '</strong>', '<strong>', '</strong>'); ?></li>
|
3296 |
+
<li title="Product name shown to users"><?php /* translators: %s: HTML tags */ printf (__('Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s enter %s', 'ad-inserter'), '<strong>', '</strong>', '<strong>Ad Inserter</strong>'); ?></li>
|
3297 |
+
<li title="Continue"><?php /* translators: %s: HTML tags */ printf (__('Click on %s Continue %s', 'ad-inserter'), '<strong>', '</strong>'); ?></li>
|
3298 |
+
<li title="Done"><?php /* translators: %s: HTML tags */ printf (__('Click on %s Done %s', 'ad-inserter'), '<strong>', '</strong>'); ?></li>
|
3299 |
+
<li title=""><?php /* translators: %s: HTML tags */ printf (__('Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client secret %s', 'ad-inserter'), '<strong>', '</strong>', '<strong>', '</strong>', '<strong>', '</strong>'); ?></li>
|
3300 |
+
<li><?php _e ('Copy them to the appropriate fields below', 'ad-inserter'); ?></li>
|
3301 |
</ol>
|
3302 |
</td>
|
3303 |
</tr>
|
3304 |
<tr>
|
3305 |
<td style="padding-right: 10px;">
|
3306 |
+
<?php _e ('Client ID', 'ad-inserter'); ?>
|
3307 |
</td>
|
3308 |
<td>
|
3309 |
+
<input id="adsense-client-id" style="width: 100%;" type="text" value="" size="100" maxlength="200" title="<?php _e ('Enter Client ID', 'ad-inserter'); ?>"/>
|
3310 |
</td>
|
3311 |
</tr>
|
3312 |
<tr>
|
3313 |
<td style="padding-right: 10px;">
|
3314 |
+
<?php _e ('Client secret', 'ad-inserter'); ?>
|
3315 |
</td>
|
3316 |
<td>
|
3317 |
+
<input id="adsense-client-secret" style="width: 100%;" type="text" value="" size="100" maxlength="200" title="<?php _e ('Enter Client secret', 'ad-inserter'); ?>"/>
|
3318 |
</td>
|
3319 |
</tr>
|
3320 |
<tr>
|
3324 |
<tr>
|
3325 |
<td>
|
3326 |
<?php if (defined ('AI_ADSENSE_API_IDS') && defined ('AI_CI_STRING')): ?>
|
3327 |
+
<button type="button" class="ai-top-button authorize-adsense clear-adsense" style="display: none; float: left; width: 162px; outline-color: transparent;"><?php _e ('Use default API IDs', 'ad-inserter'); ?></button>
|
3328 |
<?php else: ?>
|
3329 |
<?php endif; ?>
|
3330 |
</td>
|
3331 |
<td>
|
3332 |
+
<button type="button" id="save-client-ids" class="ai-top-button" style="display: none; float: right; width: 162px; outline-color: transparent;"><?php _e ('Save', 'ad-inserter'); ?></button>
|
3333 |
</td>
|
3334 |
</tr>
|
3335 |
</tbody>
|
3491 |
?>
|
3492 |
<div class="ai-form header rounded">
|
3493 |
<div style="float: left;">
|
3494 |
+
<h2 style="display: inline-block; margin: 5px 0;"><?php _e ('Blank ad blocks? Looking for AdSense alternative?', 'ad-inserter'); ?></h2>
|
3495 |
</div>
|
3496 |
<div style="clear: both;"></div>
|
3497 |
</div>
|
3498 |
<div class="ai-form rounded" style="height: 90px; padding: 8px 4px 8px 12px;">
|
3499 |
+
<a href='http://bit.ly/Media-NET' class="clear-link" title="<?php _e ('Looking for AdSense alternative?', 'ad-inserter'); ?>" target="_blank"><img id="ai-media-1" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-1.gif" /></a>
|
3500 |
</div>
|
3501 |
<?php
|
3502 |
break;
|
3504 |
?>
|
3505 |
<div class="ai-form header rounded">
|
3506 |
<div style="float: left;">
|
3507 |
+
<h2 style="display: inline-block; margin: 5px 0;"><?php _e ('Blank ad blocks? Looking for AdSense alternative?', 'ad-inserter'); ?></h2>
|
3508 |
</div>
|
3509 |
<div style="clear: both;"></div>
|
3510 |
</div>
|
3511 |
<div class="ai-form rounded" style="height: 90px; padding: 8px 4px 8px 12px;">
|
3512 |
+
<a href='http://bit.ly/Media-NET' class="clear-link" title="<?php _e ('Looking for AdSense alternative?', 'ad-inserter'); ?>" target="_blank"><img id="ai-media-4" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-4.gif" /></a>
|
3513 |
</div>
|
3514 |
<?php
|
3515 |
break;
|
3517 |
?>
|
3518 |
<div class="ai-form header rounded">
|
3519 |
<div style="float: left;">
|
3520 |
+
<h2 style="display: inline-block; margin: 5px 0;"><?php _e ('Blank ad blocks? Looking for AdSense alternative?', 'ad-inserter'); ?></h2>
|
3521 |
</div>
|
3522 |
<div style="clear: both;"></div>
|
3523 |
</div>
|
3524 |
<div class="ai-form rounded" style="height: 90px; padding: 8px 4px 8px 12px;">
|
3525 |
+
<a href='http://bit.ly/Media-NET' class="clear-link" title="<?php _e ('Looking for AdSense alternative?', 'ad-inserter'); ?>" target="_blank"><img id="ai-media-5" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-5.png" /></a>
|
3526 |
</div>
|
3527 |
<?php
|
3528 |
break;
|
3532 |
?>
|
3533 |
<div class="ai-form header rounded">
|
3534 |
<div style="float: left;">
|
3535 |
+
<h2 style="display: inline-block; margin: 5px 0;"><?php _e ('Try Infolinks Ads with Adsense or Media.net ads', 'ad-inserter'); ?></h2>
|
3536 |
</div>
|
3537 |
<div style="clear: both;"></div>
|
3538 |
</div>
|
3539 |
<div class="ai-form rounded" style="height: 90px; padding: 8px 4px 8px 12px;">
|
3540 |
+
<a href='http://bit.ly/Info-links' class="clear-link" title="<?php _e ('Use Infolinks ads with Adsense to earn more', 'ad-inserter'); ?>" target="_blank"><img id="ai-info-1" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>info-1.jpg" /></a>
|
3541 |
</div>
|
3542 |
<?php
|
3543 |
break;
|
3556 |
<div class="ai-form header no-select rounded" style="position: relative; text-align: justify;">
|
3557 |
|
3558 |
<div style="float: left;">
|
3559 |
+
<h2 style="display: inline-block; margin: 7px 0;"><?php _e ('Support plugin development', 'ad-inserter'); ?></h2>
|
3560 |
+
<button type="button" class="ai-top-button" style="display: none; margin: -5px 0px 0px 15px; min-width; 124px; width: 124px; outline-color: transparent;" onclick="window.open('https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post')" title="<?php _e ('If you like Ad Inserter and have a moment, please help me spread the word by reviewing the plugin on WordPres', 'ad-inserter'); ?>"><?php _ex ('Review', 'Review ad Inserter', 'ad-inserter'); ?> <?php echo AD_INSERTER_NAME; ?></button>
|
3561 |
+
<button type="button" class="ai-top-button" style="display: none; margin: -5px 0px 0px 15px; width: 62px; outline-color: transparent;" onclick="window.open('https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4')" title="<?php _e ('Support free Ad Inserter development. If you are making money with Ad Inserter consider donating some small amount. Even 1 dollar counts. Thank you!', 'ad-inserter'); ?>"><?php _e ('Donate', 'ad-inserter'); ?></button>
|
3562 |
</div>
|
3563 |
|
3564 |
<div style="float: right; margin: 7px 10px 0 0;">
|
3565 |
<div id="ai-stars" style="float: right; margin: 0 0 -3px 0; cursor: pointer; font-size: 11px;"><span><?php //echo $rating_value; ?></span><img id="ai-stars-img" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>stars.png" style="margin: 0 0 -3px 10px;"/></div>
|
3566 |
|
3567 |
<div id="ai-rating-bar" class="header" style="float: right; cursor: pointer; margin: 3px 0 0 0; width: 148px; display: none;" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" site-url="<?php echo wp_make_link_relative (get_site_url()); ?>">
|
3568 |
+
<div class="header" style="background: #ccc;" title="<?php _e ('Average rating of the plugin - Thank you!', 'ad-inserter'); ?>">
|
3569 |
<a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">
|
3570 |
<div id="rating-value" style="text-align: center; font-size: 11px; line-height: 12px; border-radius: 2px; background: #fddf87; height: 100%; <?php echo $rating_css; ?>"><span style=""><?php echo $rating_string; ?></span></div>
|
3571 |
</a>
|
3576 |
<div style="clear: both;"></div>
|
3577 |
<hr />
|
3578 |
|
3579 |
+
<?php /* translators: %s: Ad Inserter, HTML tags */ printf (__("You've been using %s for a while now, and I hope you're happy with it. Positive %s reviews %s are a great way to show your appreciation for my work. Besides being an incredible boost to my morale, they are also a great incentive to fix bugs and to add new features for better monetization of your website. %s Thank you!", 'ad-inserter'),
|
3580 |
+
'<strong>Ad Inserter</strong>',
|
3581 |
+
'<a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3582 |
+
'</a>',
|
3583 |
+
'<img draggable="false" class="emoji" alt="happy" src="https://s.w.org/images/core/emoji/2.3/svg/1f642.svg" style="margin-left: 5px!important;">'
|
3584 |
+
); ?>
|
3585 |
+
Igor
|
3586 |
</div>
|
3587 |
|
3588 |
<?php
|
3594 |
?>
|
3595 |
<div class="ai-form header rounded no-select">
|
3596 |
<div style="float: left;">
|
3597 |
+
<h2 style="display: inline-block; margin: 7px 0;"><?php _e ('Support plugin development', 'ad-inserter'); ?></h2>
|
3598 |
+
<button type="button" class="ai-top-button" style="display: none; margin: -5px 0px 0px 15px; min-width; 62px; width: 62px; outline-color: transparent;" onclick="window.open('https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post')" title="<?php _e ('If you like Ad Inserter and have a moment, please help me spread the word by reviewing the plugin on WordPres', 'ad-inserter'); ?>"><?php _e ('Review', 'ad-inserter'); ?></button>
|
3599 |
</div>
|
3600 |
|
3601 |
<div style="float: right;">
|
3602 |
+
<a href="https://twitter.com/AdInserter" class="clear-link" target="_blank"><img id="ai-tw" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>twitter.png" style="vertical-align: middle; margin: 0 0 0 20px;" title="<?php _e ('Ad Inserter on Twitter', 'ad-inserter'); ?>" alt="<?php _e ('Ad Inserter on Twitter', 'ad-inserter'); ?>" /></a>
|
3603 |
+
<a href="https://www.facebook.com/AdInserter/" class="clear-link" target="_blank"><img id="ai-fb" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>facebook.png" style="vertical-align: middle; margin: 0 0 0 10px;" title="<?php _e ('Ad Inserter on Facebook', 'ad-inserter'); ?>" alt="<?php _e ('Ad Inserter on Facebook', 'ad-inserter'); ?>" /></a>
|
3604 |
</div>
|
3605 |
<div style="float: right; margin-top: 2px;">
|
3606 |
+
<h2 style="display: inline-block; margin: 5px 0;"><?php _e ('Follow Ad Inserter', 'ad-inserter'); ?></h2>
|
3607 |
</div>
|
3608 |
|
3609 |
<div style="float: right; margin: 8px 20px 0 0;">
|
3610 |
<div id="ai-stars" style="float: right; margin: 0 0 -3px 0; cursor: pointer; font-size: 11px;"><span><?php //echo $rating_value; ?></span><img id="ai-stars-img" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>stars.png" style="margin: 0 0 -3px 10px;"/></div>
|
3611 |
|
3612 |
<div id="ai-rating-bar" class="header" style="float: right; cursor: pointer; margin: 3px 0 0 0; width: 148px; display: none;" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" site-url="<?php echo wp_make_link_relative (get_site_url()); ?>">
|
3613 |
+
<div class="header" style="background: #ccc;" title="<?php _e ('Average rating of the plugin - Thank you!', 'ad-inserter'); ?>">
|
3614 |
<a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">
|
3615 |
<div id="rating-value" style="text-align: center; font-size: 11px; line-height: 12px; border-radius: 2px; background: #fddf87; height: 100%; <?php echo $rating_css; ?>"><span style=""><?php echo $rating_string; ?></span></div>
|
3616 |
</a>
|
3630 |
<div class="ai-form header rounded ai-help">
|
3631 |
<div style="float: left;">
|
3632 |
<h2 style="display: inline-block; margin: 5px 0;">
|
3633 |
+
<?php /* translators: %s: HTML tags */ printf (__('Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s and %s Common Settings %s pages', 'ad-inserter'),
|
3634 |
+
'<a href="https://adinserter.pro/documentation" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3635 |
+
'</a>',
|
3636 |
+
'<a href="https://adinserter.pro/documentation/quick-start" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3637 |
+
'</a>',
|
3638 |
+
'<a href="https://adinserter.pro/documentation/code-editing" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3639 |
+
'</a>',
|
3640 |
+
'<a href="https://adinserter.pro/documentation/common-settings" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3641 |
+
'</a>'
|
3642 |
+
); ?>
|
3643 |
</h2>
|
3644 |
<div>
|
3645 |
+
<?php /* translators: %s: HTML tags */ printf (__('%s New to %s AdSense? %s %s %s Connect your site %s - Advanced %s AdSense code: %s %s In-feed ads, %s %s Auto ads, %s %s AMP ads %s', 'ad-inserter'),
|
3646 |
+
'<strong>',
|
3647 |
+
'<a href="https://adinserter.pro/documentation/adsense-ads" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3648 |
+
'</a>',
|
3649 |
+
'</strong>',
|
3650 |
+
'<a href="https://adinserter.pro/documentation/adsense-ads#connect-your-site" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3651 |
+
'</a>',
|
3652 |
+
'<a href="https://adinserter.pro/documentation/adsense-ads#ad-code" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3653 |
+
'</a>',
|
3654 |
+
'<a href="https://adinserter.pro/documentation/adsense-ads#in-feed-ads" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3655 |
+
'</a>',
|
3656 |
+
'<a href="https://adinserter.pro/documentation/adsense-ads#auto-ads" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3657 |
+
'</a>',
|
3658 |
+
'<a href="https://adinserter.pro/documentation/adsense-ads#amp" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3659 |
+
'</a>'
|
3660 |
+
); ?>
|
3661 |
+
|
3662 |
</div>
|
3663 |
<hr />
|
3664 |
+
<div><?php /* translators: %s: HTML tags */ printf (__('Ads are not showing? Check %s troubleshooting guide %s to find out how to diagnose and fix the problem.', 'ad-inserter'),
|
3665 |
+
'<a href="https://adinserter.pro/documentation/adsense-ads#ads-not-displayed" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3666 |
+
'</a>'
|
3667 |
+
); ?></div>
|
3668 |
+
<div><?php /* translators: %s: HTML tags */ printf (__('If you need any kind of help or support, please do not hesitate to open a thread on the %s support forum. %s', 'ad-inserter'),
|
3669 |
+
'<a href="https://wordpress.org/support/plugin/ad-inserter/" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">',
|
3670 |
+
'</a>'
|
3671 |
+
); ?></div>
|
3672 |
</div>
|
3673 |
<!-- <div style="float: right; margin: -5px -5px 0 0;">-->
|
3674 |
<!-- <a href="https://adinserter.pro/Ad_Inserter_User_Manual.pdf" class="clear-link" target="_blank"><img id="ai-pdf" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>manual.png" title="Download user manual"/></a>-->
|
3690 |
<?php switch ($version) {
|
3691 |
case 0: ?>
|
3692 |
<!-- <a href="https://adinserter.pro/" class="clear-link" title="Automate ad placement on posts and pages" target="_blank"><img id="ai-pro-1" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-256x256.jpg" style="margin-top: 10px;" /></a>-->
|
3693 |
+
<a href='http://bit.ly/info_links' class="clear-link" title="<?php _e ('Use Infolinks ads with Adsense to earn more', 'ad-inserter'); ?>" target="_blank"><img id="ai-info-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>info-3.jpg" style="margin-top: 10px;" /></a>
|
3694 |
<?php break; case 1: ?>
|
3695 |
+
<a href='http://bit.ly/info_links' class="clear-link" title="<?php _e ('Use Infolinks ads with Adsense to earn more', 'ad-inserter'); ?>" target="_blank"><img id="ai-info-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>info-3.jpg" style="margin-top: 10px;" /></a>
|
3696 |
<?php break; case 2: ?>
|
3697 |
+
<a href='http://bit.ly/media_NET' class="clear-link" title="<?php _e ('Looking for AdSense alternative?', 'ad-inserter'); ?>" target="_blank"><img id="ai-media-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-2.jpg" style="margin-top: 10px;" /></a>
|
3698 |
<?php break; case 3: ?>
|
3699 |
+
<a href='http://bit.ly/media_NET' class="clear-link" title="<?php _e ('Looking for AdSense alternative?', 'ad-inserter'); ?>" target="_blank"><img id="ai-media-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-3.png" style="margin-top: 10px;" /></a>
|
3700 |
<?php break;
|
3701 |
} ?>
|
3702 |
</div>
|
3705 |
case 0:
|
3706 |
case 1:
|
3707 |
?>
|
3708 |
+
<a href="https://adinserter.pro/documentation/ad-impression-and-click-tracking" class="clear-link" title="<?php _e ('A/B testing - Track ad impressions and clicks', 'ad-inserter'); ?>" target="_blank"><img id="ai-pro-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-charts-250.png" style="margin-top: 10px;" /></a>
|
3709 |
<?php break;
|
3710 |
case 2:
|
3711 |
case 3:
|
3712 |
?>
|
3713 |
+
<a href='https://adinserter.pro/documentation/code-preview' class="clear-link" title="<?php _e ('Code preview with visual CSS editor', 'ad-inserter'); ?>" target="_blank"><img id="ai-preview" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-preview-250.png" style="margin-top: 10px;" /></a>
|
3714 |
<?php break;
|
3715 |
} ?>
|
3716 |
</div>
|
3717 |
<div>
|
3718 |
<?php switch ($version) {
|
3719 |
case 0: ?>
|
3720 |
+
<a href='http://bit.ly/media_NET' class="clear-link" title="<?php _e ('Looking for AdSense alternative?', 'ad-inserter'); ?>" target="_blank"><img id="ai-media-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-3.png" style="margin-top: 10px;" /></a>
|
3721 |
<?php break; case 1: ?>
|
3722 |
<!-- <a href="https://adinserter.pro/documentation/black-and-white-lists#geo-targeting" class="clear-link" title="Geotargeting - black/white-list countries" target="_blank"><img id="ai-pro-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-countries-250.png" style="margin-top: 10px;" /></a>-->
|
3723 |
+
<a href='http://bit.ly/media_NET' class="clear-link" title="<?php _e ('Looking for AdSense alternative?', 'ad-inserter'); ?>" target="_blank"><img id="ai-media-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>contextual-2.jpg" style="margin-top: 10px;" /></a>
|
3724 |
<?php break; case 2: ?>
|
3725 |
<!-- <a href="https://adinserter.pro/documentation/black-and-white-lists#geo-targeting" class="clear-link" title="Geotargeting - black/white-list countries" target="_blank"><img id="ai-pro-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-countries-250.png" style="margin-top: 10px;" /></a>-->
|
3726 |
+
<a href='http://bit.ly/info_links' class="clear-link" title="<?php _e ('Use Infolinks ads with Adsense to earn more', 'ad-inserter'); ?>" target="_blank"><img id="ai-info-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>info-2.jpg" style="margin-top: 10px;" /></a>
|
3727 |
<?php break; case 3: ?>
|
3728 |
<!-- <a href="https://adinserter.pro/documentation/black-and-white-lists#geo-targeting" class="clear-link" title="Geotargeting - black/white-list countries" target="_blank"><img id="ai-pro-3" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-countries-250.png" style="margin-top: 10px;" /></a>-->
|
3729 |
+
<a href='http://bit.ly/info_links' class="clear-link" title="<?php _e ('Use Infolinks ads with Adsense to earn more', 'ad-inserter'); ?>" target="_blank"><img id="ai-info-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>info-2.jpg" style="margin-top: 10px;" /></a>
|
3730 |
<?php break;
|
3731 |
} ?>
|
3732 |
</div>
|
3735 |
case 0:
|
3736 |
case 1:
|
3737 |
?>
|
3738 |
+
<a href='https://adinserter.pro/documentation/code-preview' class="clear-link" title="<?php _e ('Code preview with visual CSS editor', 'ad-inserter'); ?>" target="_blank"><img id="ai-preview" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-preview-250.png" style="margin-top: 10px;" /></a>
|
3739 |
<?php break;
|
3740 |
case 2:
|
3741 |
case 3:
|
3742 |
?>
|
3743 |
+
<a href="https://adinserter.pro/documentation/ad-impression-and-click-tracking" class="clear-link" title="<?php _e ('A/B testing - Track ad impressions and clicks', 'ad-inserter'); ?>" target="_blank"><img id="ai-pro-2" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>ai-charts-250.png" style="margin-top: 10px;" /></a>
|
3744 |
<?php break;
|
3745 |
} ?>
|
3746 |
</div>
|
3747 |
</div>
|
3748 |
|
3749 |
+
<h3 style="text-align: justify;"><?php _e ('Looking for Pro Ad Management plugin?', 'ad-inserter'); ?></h3>
|
3750 |
+
<h4 style="text-align: justify;"><?php _e ('To Optimally Monetize your WordPress website?', 'ad-inserter'); ?></h4>
|
3751 |
|
3752 |
<ul>
|
3753 |
+
<li><?php /* translators: %s HTML tags */ printf (__('64 ad blocks (positions)', 'ad-inserter')); ?></li>
|
3754 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s AdSense Integration %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/adsense-ads#integration" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3755 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Syntax highlighting %s editor %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/code-editing" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3756 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Code preview %s with visual CSS editor', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/code-preview" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3757 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Simple user interface - all settings on a single page', 'ad-inserter')); ?></li>
|
3758 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Automatic insertion %s before or after post / content / %s paragraph %s / excerpt', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/automatic-insertion" class="simple-link" target="_blank">', '</a>', '<a href="https://adinserter.pro/documentation/paragraph-settings" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3759 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Automatic insertion %s between posts on blog pages', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/automatic-insertion" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3760 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Automatic insertion %s before, between and after comments', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/automatic-insertion" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3761 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Automatic insertion %s after %s or before %s tag', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/automatic-insertion" class="simple-link" target="_blank">', '</a>', '<code><body></code>', '<code></body></code>'); ?></li>
|
3762 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Automatic insertion at %s custom hook positions %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/automatic-insertion#custom-hooks" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3763 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Insertion %s before or after any HTML element on the page %s (using CSS selectors)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/automatic-insertion#before-after-html-element" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3764 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Insertion exceptions %s for individual posts and pages', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/individual-post-and-page-exceptions" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3765 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Manual insertion: %s widgets, shortcodes, PHP function call', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/manual-insertion" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3766 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Sticky ads %s with optional close button (ads stay fixed when the page scrolls)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/alignments-and-styles#sticky-ads" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3767 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Sticky sidebar ads %s (stick to the screen or to the content)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/alignments-and-styles#sticky-ads" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3768 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Sticky ad animations %s (fade, slide, turn, flip, zoom)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/alignments-and-styles#sticky-ads" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3769 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes visible)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/alignments-and-styles#sticky-ads" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3770 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/manual-insertion" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3771 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Block %s alignment and style %s customizations', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/alignments-and-styles" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3772 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Clearance %s options to avoid insertion near images or headers (AdSense TOS)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/paragraph-settings" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3773 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS feeds', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/additional-block-settings" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3774 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Ad rotation %s (works also with caching)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/ad-rotation" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3775 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Ad impression and click %s tracking %s (works also with Javascript ads like AdSense)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/ad-impression-and-click-tracking" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3776 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Support for %s A/B testing %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/ad-impression-and-click-tracking#ab-testing" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3777 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Support for %s lazy loading %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/additional-block-settings#lazy-loading" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3778 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Support for ads on %s AMP pages %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/amp-pages" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3779 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Support for contextual %s Amazon Native Shopping Ads %s (responsive)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/common-settings#amazon" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3780 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Custom CSS class name for wrapping divs to avoid ad blockers', 'ad-inserter')); ?></li>
|
3781 |
+
<li><?php /* translators: %s HTML tags */ printf (__('PHP code processing', 'ad-inserter')); ?></li>
|
3782 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Banner %s code generator', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/code-editing#banners" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3783 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Support for %s header and footer %s code', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/plugin-settings#header-footer" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3784 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Support for Google Analytics, Matomo or any other web analytics code', 'ad-inserter')); ?></li>
|
3785 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Desktop, tablet and phone server-side %s device detection %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/device-detection" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3786 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Client-side %s mobile device detection %s (works with caching, 6 custom viewports)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/device-detection" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3787 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Ad blocking detection %s - popup message, ad replacement, content protection', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/ad-blocking-detection" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3788 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Ad blocking statistics %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/ad-impression-and-click-tracking#ad-blocking-statistics" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3789 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, referers', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/black-and-white-lists" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3790 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Black/White-list %s IP addresses or countries (works also with caching)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/black-and-white-lists#geo-targeting" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3791 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Multisite options %s to limit settings on the sites', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/plugin-settings#multisite" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3792 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Import/Export %s block or plugin settings', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/code-editing#export-import" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3793 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Insertion scheduling %s with fallback option', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/additional-block-settings#scheduling" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3794 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Country-level %s GEO targeting %s (works also with caching)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/black-and-white-lists#geo-targeting" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3795 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Simple troubleshooting with many %s debugging functions %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/debugging" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3796 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Visualization %s of inserted blocks or ads for easier placement', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/debugging#visualization" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3797 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Visualization %s of available positions for automatic ad insertion', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/debugging#visualization" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3798 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Visualization %s of HTML tags for easier ad placement between paragraphs', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/debugging#visualization" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3799 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Clipboard support %s to easily copy blocks or settings', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/code-editing#clipboard" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3800 |
+
<li><?php /* translators: %s HTML tags */ printf (__('No ads on the settings page', 'ad-inserter')); ?></li>
|
3801 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Support via email', 'ad-inserter')); ?></li>
|
3802 |
</ul>
|
3803 |
|
3804 |
+
<p style="text-align: justify;"><?php /* translators: %s HTML tags */ printf (__('Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress website with many advertising features to automatically insert adverts on posts and pages. With Ad Inserter Pro you also get <strong>one year of free updates and support via email</strong>. If you find Ad Inserter useful and need more blocks, ad statistics for impressions and clicks, A/B testing, sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve country-specific ads, to protect content or to serve different ads for users using ad blockers, multisite options to limit settings for ads, to block some IP addresses, to schedule ads, then you can simply upgrade to %s Ad Inserter Pro %s (existing settings will be preserved).', 'ad-inserter'), '<a href="https://adinserter.pro/" style="text-decoration: none;" target="_blank">', '</a>'); ?></p>
|
|
|
|
|
|
|
|
|
3805 |
</div>
|
3806 |
|
3807 |
<?php
|
3814 |
<a href="https://adinserter.pro/" class="simple-link" target="_blank"><img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-256x256.jpg" style="width: 100px;" /></a>
|
3815 |
</div>
|
3816 |
<div class="feature-list" style="float: right;">
|
3817 |
+
<h3 style="text-align: center; margin: 0;"><?php /* translators: %s HTML tags */ printf (__('Looking for %s Pro Ad Management plugin? %s', 'ad-inserter'), '<a href="https://adinserter.pro/" class="simple-link" target="_blank">', '</a>'); ?></h3>
|
3818 |
<hr style="margin-bottom: 0;" />
|
3819 |
|
3820 |
<div style="float: right; margin-left: 15px;">
|
3821 |
<ul>
|
3822 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Ads between posts', 'ad-inserter')); ?></li>
|
3823 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Ads between comments', 'ad-inserter')); ?></li>
|
3824 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Support via email', 'ad-inserter')); ?></li>
|
3825 |
</ul>
|
3826 |
</div>
|
3827 |
|
3828 |
<div style="float: right; margin-left: 15px;">
|
3829 |
<ul>
|
3830 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Sticky positions %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/alignments-and-styles" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3831 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Limit insertions %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/black-and-white-lists" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3832 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Clearance %s options', 'ad-inserter'), '<a href="https://adinserter.pro/documentation#paragraphs" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3833 |
</ul>
|
3834 |
</div>
|
3835 |
|
3836 |
<div style="float: right; margin-left: 15px;">
|
3837 |
<ul>
|
3838 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Ad rotation', 'ad-inserter')); ?></li>
|
3839 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s A/B testing %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/ad-impression-and-click-tracking#ab-testing" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3840 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Ad tracking %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/ad-impression-and-click-tracking" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3841 |
</ul>
|
3842 |
</div>
|
3843 |
|
3844 |
<div style="float: right; margin-left: 15px;">
|
3845 |
<ul>
|
3846 |
+
<li><?php /* translators: %s HTML tags */ printf (__('Support for %s AMP pages %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/amp-pages" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3847 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Ad blocking detection %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/ad-blocking-detection" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3848 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Mobile device detection %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/device-detection" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3849 |
|
3850 |
</ul>
|
3851 |
</div>
|
3852 |
|
3853 |
<div style="float: right; margin-left: 15px;">
|
3854 |
<ul>
|
3855 |
+
<li><?php /* translators: %s HTML tags */ printf (__('64 code blocks', 'ad-inserter')); ?></li>
|
3856 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s GEO targeting %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/black-and-white-lists#geo-targeting" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3857 |
+
<li><?php /* translators: %s HTML tags */ printf (__('%s Scheduling %s', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/additional-block-settings#scheduling" class="simple-link" target="_blank">', '</a>'); ?></li>
|
3858 |
</ul>
|
3859 |
</div>
|
3860 |
|
strings.php
ADDED
@@ -0,0 +1,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
define ('DEFAULT_AD_NAME', __('Block', 'ad-inserter'));
|
4 |
+
define ('DEFAULT_AD_TITLE', __('Advertisements', 'ad-inserter'));
|
5 |
+
define ('AI_DEFAULT_ADB_MESSAGE', __("<p><strong>Blocked because of Ad Blocker</strong></p>\n<p>It seems that you are using some ad blocking software which is preventing the page from fully loading. Please whitelist this website or disable ad blocking software.</p>", 'ad-inserter'));
|
6 |
+
|
7 |
+
define ('DEFAULT_VIEWPORT_NAME_1', _x('Desktop', 'Viewport name', 'ad-inserter'));
|
8 |
+
define ('DEFAULT_VIEWPORT_NAME_2', _x('Tablet', 'Viewport name', 'ad-inserter'));
|
9 |
+
define ('DEFAULT_VIEWPORT_NAME_3', _x('Phone', 'Viewport name', 'ad-inserter'));
|
10 |
+
|
11 |
+
define ('DEFAULT_COUNTRY_GROUP_NAME', _x('Group', 'ad-inserter'));
|
12 |
+
|
13 |
+
define ('AI_TEXT_INSERT', __('Insert', 'ad-inserter'));
|
14 |
+
|
15 |
+
// translators: Menu items
|
16 |
+
define ('AI_TEXT_DISABLED', __('Disabled', 'ad-inserter'));
|
17 |
+
define ('AI_TEXT_BEFORE_POST', __('Before post', 'ad-inserter'));
|
18 |
+
define ('AI_TEXT_AFTER_POST', __('After post', 'ad-inserter'));
|
19 |
+
define ('AI_TEXT_BEFORE_CONTENT', __('Before content', 'ad-inserter'));
|
20 |
+
define ('AI_TEXT_AFTER_CONTENT', __('After content', 'ad-inserter'));
|
21 |
+
define ('AI_TEXT_BEFORE_PARAGRAPH', __('Before paragraph', 'ad-inserter'));
|
22 |
+
define ('AI_TEXT_AFTER_PARAGRAPH', __('After paragraph', 'ad-inserter'));
|
23 |
+
define ('AI_TEXT_BEFORE_EXCERPT', __('Before excerpt', 'ad-inserter'));
|
24 |
+
define ('AI_TEXT_AFTER_EXCERPT', __('After excerpt', 'ad-inserter'));
|
25 |
+
define ('AI_TEXT_BETWEEN_POSTS', __('Between posts', 'ad-inserter'));
|
26 |
+
define ('AI_TEXT_BEFORE_COMMENTS', __('Before comments', 'ad-inserter'));
|
27 |
+
define ('AI_TEXT_BETWEEN_COMMENTS', __('Between comments', 'ad-inserter'));
|
28 |
+
define ('AI_TEXT_AFTER_COMMENTS', __('After comments', 'ad-inserter'));
|
29 |
+
define ('AI_TEXT_ABOVE_HEADER', __('Above header', 'ad-inserter'));
|
30 |
+
define ('AI_TEXT_FOOTER', __('Footer', 'ad-inserter'));
|
31 |
+
define ('AI_TEXT_BEFORE_HTML_ELEMENT', __('Before HTML element', 'ad-inserter'));
|
32 |
+
define ('AI_TEXT_AFTER_HTML_ELEMENT', __('After HTML element', 'ad-inserter'));
|
33 |
+
define ('AI_TEXT_INSIDE_HTML_ELEMENT', __('Inside HTML element', 'ad-inserter'));
|
34 |
+
|
35 |
+
define('AI_TEXT_DO_NOT_INSERT', __('do not insert', 'ad-inserter'));
|
36 |
+
define('AI_TEXT_TRY_TO_SHIFT_POSITION', __('try to shift position', 'ad-inserter'));
|
37 |
+
|
38 |
+
define('AI_TEXT_ABOVE', __('above', 'ad-inserter'));
|
39 |
+
define('AI_TEXT_BELOW', __('below', 'ad-inserter'));
|
40 |
+
define('AI_TEXT_ABOVE_AND_THEN_BELOW', __('above and then below', 'ad-inserter'));
|
41 |
+
define('AI_TEXT_BELOW_AND_THEN_ABOVE', __('below and then above', 'ad-inserter'));
|
42 |
+
|
43 |
+
define('AI_TEXT_DIRECTION_FROM_TOP', __('from top', 'ad-inserter'));
|
44 |
+
define('AI_TEXT_DIRECTION_FROM_BOTTOM', __('from bottom', 'ad-inserter'));
|
45 |
+
|
46 |
+
define('AI_TEXT_CONTAIN', _x('contain', 'paragraphs', 'ad-inserter'));
|
47 |
+
define('AI_TEXT_DO_NOT_CONTAIN', _x('do not contain', 'paragraphs', 'ad-inserter'));
|
48 |
+
|
49 |
+
define('AI_TEXT_DISPLAY_ALL_USERS', _x('all users', 'insert for', 'ad-inserter'));
|
50 |
+
define('AI_TEXT_DISPLAY_LOGGED_IN_USERS', _x('logged in users', 'insert for', 'ad-inserter'));
|
51 |
+
define('AI_TEXT_DISPLAY_NOT_LOGGED_IN_USERS', _x('not logged in users', 'insert for', 'ad-inserter'));
|
52 |
+
define('AI_TEXT_DISPLAY_ADMINISTRATORS', _x('administrators', 'insert for', 'ad-inserter'));
|
53 |
+
|
54 |
+
define('AI_TEXT_BLACK_LIST', __('Black list', 'ad-inserter'));
|
55 |
+
define('AI_TEXT_WHITE_LIST', __('White list', 'ad-inserter'));
|
56 |
+
|
57 |
+
define('AI_TEXT_DEFAULT', _x('Default', 'alignment', 'ad-inserter'));
|
58 |
+
define('AI_TEXT_LEFT', __('Align left', 'ad-inserter'));
|
59 |
+
define('AI_TEXT_RIGHT', __('Align right', 'ad-inserter'));
|
60 |
+
define('AI_TEXT_CENTER', __('Center', 'ad-inserter'));
|
61 |
+
define('AI_TEXT_FLOAT_LEFT', __('Float left', 'ad-inserter'));
|
62 |
+
define('AI_TEXT_FLOAT_RIGHT', __('Float right', 'ad-inserter'));
|
63 |
+
define('AI_TEXT_NO_WRAPPING', __('No wrapping', 'ad-inserter'));
|
64 |
+
define('AI_TEXT_CUSTOM_CSS', __('Custom CSS', 'ad-inserter'));
|
65 |
+
define('AI_TEXT_STICKY_LEFT', __('Sticky left', 'ad-inserter'));
|
66 |
+
define('AI_TEXT_STICKY_RIGHT', __('Sticky right', 'ad-inserter'));
|
67 |
+
define('AI_TEXT_STICKY_TOP', __('Sticky top', 'ad-inserter'));
|
68 |
+
define('AI_TEXT_STICKY_BOTTOM', __('Sticky bottom', 'ad-inserter'));
|
69 |
+
define('AI_TEXT_STICKY', _x('Sticky', 'alignment', 'ad-inserter'));
|
70 |
+
|
71 |
+
define ('AI_TEXT_AUTO_COUNTER', _x('auto counter', 'using', 'ad-inserter'));
|
72 |
+
define ('AI_TEXT_PHP_FUNCTION_CALLS_COUNTER', _x('PHP function calls counter', 'using', 'ad-inserter'));
|
73 |
+
define ('AI_TEXT_CONTENT_PROCESSING_COUNTER', _x('content processing counter', 'using', 'ad-inserter'));
|
74 |
+
define ('AI_TEXT_EXCERPT_PROCESSING_COUNTER', _x('excerpt processing counter', 'using', 'ad-inserter'));
|
75 |
+
define ('AI_TEXT_BEFORE_POST_PROCESSING_COUNTER', _x('before post processing counter', 'using', 'ad-inserter'));
|
76 |
+
define ('AI_TEXT_AFTER_POST_PROCESSING_COUNTER', _x('after post processing counter', 'using', 'ad-inserter'));
|
77 |
+
define ('AI_TEXT_WIDGET_DRAWING_COUNTER', _x('widget drawing counter', 'using', 'ad-inserter'));
|
78 |
+
define ('AI_TEXT_SUBPAGES_COUNTER', _x('subpages counter', 'using', 'ad-inserter'));
|
79 |
+
define ('AI_TEXT_POSTS_COUNTER', _x('posts counter', 'using', 'ad-inserter'));
|
80 |
+
define ('AI_TEXT_PARAGRAPHS_COUNTER', _x('paragraphs counter', 'using', 'ad-inserter'));
|
81 |
+
define ('AI_TEXT_COMMENTS_COUNTER', _x('comments counter', 'using', 'ad-inserter'));
|
82 |
+
|
83 |
+
define ('AI_TEXT_POSTS_INDIVIDUALLY_DISABLED', _x('Individually disabled', 'posts', 'ad-inserter'));
|
84 |
+
define ('AI_TEXT_POSTS_INDIVIDUALLY_ENABLED', _x('Individually enabled', 'posts', 'ad-inserter'));
|
85 |
+
define ('AI_TEXT_PAGES_INDIVIDUALLY_DISABLED', _x('Individually disabled', 'static pages', 'ad-inserter'));
|
86 |
+
define ('AI_TEXT_PAGES_INDIVIDUALLY_ENABLED', _x('Individually enabled', 'static pages', 'ad-inserter'));
|
87 |
+
|
88 |
+
define ('AI_TEXT_SERVER_SIDE', __('Server-side', 'ad-inserter'));
|
89 |
+
define ('AI_TEXT_CLIENT_SIDE', _x('Client-side', 'Insertion', 'ad-inserter'));
|
90 |
+
define ('AI_TEXT_CLIENT_SIDE_SHOW', _x('Client-side show', 'Dynamic blocks', 'ad-inserter'));
|
91 |
+
define ('AI_TEXT_CLIENT_SIDE_INSERT', _x('Client-side insert', 'Dynamic blocks', 'ad-inserter'));
|
92 |
+
define ('AI_TEXT_SERVER_SIDE_W3TC', _x('Server-side using W3 Total Cache', 'Insertion', 'ad-inserter'));
|
93 |
+
define ('AI_TEXT_CLIENT_SIDE_DOM_READY', _x('Client-side when DOM ready', 'Insertion', 'ad-inserter'));
|
94 |
+
|
95 |
+
define ('AI_TEXT_PREPEND_CONTENT', __('Prepend content', 'ad-inserter'));
|
96 |
+
define ('AI_TEXT_APPEND_CONTENT', __('Append content', 'ad-inserter'));
|
97 |
+
define ('AI_TEXT_REPLACE_CONTENT', __('Replace content', 'ad-inserter'));
|
98 |
+
define ('AI_TEXT_REPLACE_ELEMENT', __('Replace element', 'ad-inserter'));
|
99 |
+
|
100 |
+
define ('AI_TEXT_DESKTOP_DEVICES', __('desktop devices', 'ad-inserter'));
|
101 |
+
define ('AI_TEXT_MOBILE_DEVICES', __('mobile devices', 'ad-inserter'));
|
102 |
+
define ('AI_TEXT_TABLET_DEVICES', __('tablet devices', 'ad-inserter'));
|
103 |
+
define ('AI_TEXT_PHONE_DEVICES', __('phone devices', 'ad-inserter'));
|
104 |
+
define ('AI_TEXT_DESKTOP_TABLET_DEVICES', __('desktop and tablet devices', 'ad-inserter'));
|
105 |
+
define ('AI_TEXT_DESKTOP_PHONE_DEVICES', __('desktop and phone devices', 'ad-inserter'));
|
106 |
+
|
107 |
+
define ('AI_TEXT_STICK_TO_THE_LEFT', __('Stick to the left', 'ad-inserter'));
|
108 |
+
define ('AI_TEXT_STICK_TO_THE_CONTENT_LEFT', __('Stick to the content left', 'ad-inserter'));
|
109 |
+
define ('AI_TEXT_STICK_TO_THE_CONTENT_RIGHT', __('Stick to the content right', 'ad-inserter'));
|
110 |
+
define ('AI_TEXT_STICK_TO_THE_RIGHT', __('Stick to the right', 'ad-inserter'));
|
111 |
+
|
112 |
+
define ('AI_TEXT_STICK_TO_THE_TOP', __('Stick to the top', 'ad-inserter'));
|
113 |
+
define ('AI_TEXT_SCROLL_WITH_THE_CONTENT', __('Scroll with the content', 'ad-inserter'));
|
114 |
+
define ('AI_TEXT_STICK_TO_THE_BOTTOM', __('Stick to the bottom', 'ad-inserter'));
|
115 |
+
|
116 |
+
define ('AI_TEXT_FADE', __('Fade', 'ad-inserter'));
|
117 |
+
define ('AI_TEXT_SLIDE', __('Slide', 'ad-inserter'));
|
118 |
+
define ('AI_TEXT_SLIDE_FADE', __('Slide and Fade', 'ad-inserter'));
|
119 |
+
define ('AI_TEXT_FLIP', __('Flip', 'ad-inserter'));
|
120 |
+
define ('AI_TEXT_ZOOM_IN', __('Zoom In', 'ad-inserter'));
|
121 |
+
define ('AI_TEXT_ZOOM_OUT', __('Zoom Out', 'ad-inserter'));
|
122 |
+
define ('AI_TEXT_TURN', __('Turn', 'ad-inserter'));
|
123 |
+
|
124 |
+
define ('AI_TEXT_PAGE_LOADED', __('Page loaded', 'ad-inserter'));
|
125 |
+
define ('AI_TEXT_PAGE_SCROLLED_PC', __('Page scrolled (%)', 'ad-inserter'));
|
126 |
+
define ('AI_TEXT_PAGE_SCROLLED_PX', __('Page scrolled (px)', 'ad-inserter'));
|
127 |
+
define ('AI_TEXT_ELEMENT_VISIBLE', __('Element visible', 'ad-inserter'));
|
128 |
+
|
129 |
+
define ('AI_TEXT_INSERT_IMMEDIATELY', __('Insert immediately', 'ad-inserter'));
|
130 |
+
define ('AI_TEXT_DELAY_INSERTION', __('Delay insertion', 'ad-inserter'));
|
131 |
+
define ('AI_TEXT_INSERT_BETWEEN_DATES', __('Insert between dates', 'ad-inserter'));
|
132 |
+
define ('AI_TEXT_INSERT_OUTSIDE_DATES', __('Insert outside dates', 'ad-inserter'));
|
133 |
+
define ('AI_TEXT_INSERT_ONLY', __('Insert only', 'ad-inserter'));
|
134 |
+
define ('AI_TEXT_INSERT_PUBLISHED_BETWEEN_DATES', __('Insert for posts published between dates', 'ad-inserter'));
|
135 |
+
define ('AI_TEXT_INSERT_PUBLISHED_OUTSIDE_DATES', __('Insert for posts published outside dates', 'ad-inserter'));
|
136 |
+
|
137 |
+
define ('AI_TEXT_FUNCTIONS_STANDARD', _x('Standard', 'functions', 'ad-inserter'));
|
138 |
+
define ('AI_TEXT_STANDARD', _x('Standard', 'detection', 'ad-inserter'));
|
139 |
+
define ('AI_TEXT_MULTIBYTE', _x('Multibyte', 'functions', 'ad-inserter'));
|
140 |
+
|
141 |
+
define ('AI_TEXT_NONE', _x('None', 'action', 'ad-inserter'));
|
142 |
+
define ('AI_TEXT_BUTTON_NONE', _x('None', 'button', 'ad-inserter'));
|
143 |
+
define ('AI_TEXT_POPUP_MESSAGE', __('Popup Message', 'ad-inserter'));
|
144 |
+
define ('AI_TEXT_REDIRECTION', __('Redirection', 'ad-inserter'));
|
145 |
+
|
146 |
+
define ('AI_TEXT_DO_NOTHING', __('Do nothnig', 'ad-inserter'));
|
147 |
+
define ('AI_TEXT_REPLACE', __('Replace', 'ad-inserter'));
|
148 |
+
define ('AI_TEXT_SHOW', _x('Show', 'Action when ad blocking detected', 'ad-inserter'));
|
149 |
+
define ('AI_TEXT_HIDE', _x('Hide', 'Action when ad blocking detected', 'ad-inserter'));
|
150 |
+
|
151 |
+
define ('AI_TEXT_INTERNAL', _x('Internal', 'tracking', 'ad-inserter'));
|
152 |
+
define ('AI_TEXT_ADVANCED', _x('Advanced', 'detection', 'ad-inserter'));
|
153 |
+
define ('AI_TEXT_ENABLED', __('Enabled', 'ad-inserter'));
|
154 |
+
|
155 |
+
define ('AI_TEXT_TOP_RIGHT', __('Top right', 'ad-inserter'));
|
156 |
+
define ('AI_TEXT_TOP_LEFT', __('Top left', 'ad-inserter'));
|
157 |
+
define ('AI_TEXT_BOTTOM_RIGHT', __('Bottom right', 'ad-inserter'));
|
158 |
+
define ('AI_TEXT_BOTTOM_LEFT', __('Bottom left', 'ad-inserter'));
|
159 |
+
|
160 |
+
define ('AI_TEXT_ADSENSE_STANDARD', _x('Standard', 'AdSense Ad Type', 'ad-inserter'));
|
161 |
+
define ('AI_TEXT_LINK', _x('Link', 'AdSense Ad Type', 'ad-inserter'));
|
162 |
+
define ('AI_TEXT_IN_ARTICLE', _x('In-article', 'AdSense Ad Type', 'ad-inserter'));
|
163 |
+
define ('AI_TEXT_IN_FEED', _x('In-feed', 'AdSense Ad Type', 'ad-inserter'));
|
164 |
+
define ('AI_TEXT_MATCHED_CONTENT', _x('Matched content', 'AdSense Ad Type', 'ad-inserter'));
|
165 |
+
define ('AI_TEXT_ADSENSE_AUTO', _x('Auto Ads', 'AdSense Ad Type', 'ad-inserter'));
|
166 |
+
|
167 |
+
define ('AI_TEXT_ADSENSE_DISABLED', _x('Disabled', 'AMP ad', 'ad-inserter'));
|
168 |
+
define ('AI_TEXT_ABOVE_THE_FOLD', __('Above the fold', 'ad-inserter'));
|
169 |
+
define ('AI_TEXT_BELOW_THE_FOLD', __('Below the fold', 'ad-inserter'));
|
170 |
+
|
171 |
+
define ('AI_TEXT_FIXED', _x('Fixed', 'size', 'ad-inserter'));
|
172 |
+
define ('AI_TEXT_RESPONSIVE', _x('Responsive', 'size', 'ad-inserter'));
|
173 |
+
define ('AI_TEXT_FIXED_BY_VIEWPORT', _x('Fixed by viewport', 'size', 'ad-inserter'));
|
174 |
+
|
175 |
+
global $ai_admin_translations, $ai_front_translations;
|
176 |
+
|
177 |
+
$ai_admin_translations = array (
|
178 |
+
'hide' => _x('Hide', 'Button', 'ad-inserter'),
|
179 |
+
'show' => _x('Show', 'Button', 'ad-inserter'),
|
180 |
+
'insertion_expired' => __('Insertion expired', 'ad-inserter'),
|
181 |
+
'duration' => __('Duration', 'ad-inserter'),
|
182 |
+
'invalid_end_date' => __('Invalid end date - must be after start date', 'ad-inserter'),
|
183 |
+
'invalid_start_date' => __('Invalid start date - only data for 1 year back is available', 'ad-inserter'),
|
184 |
+
'invalid_date_range' => __('Invalid date range - only data for 1 year can be displayed', 'ad-inserter'),
|
185 |
+
'days_0' => _n('day', 'days', 0, 'ad-inserter'),
|
186 |
+
'days_1' => _n('day', 'days', 1, 'ad-inserter'),
|
187 |
+
'days_2' => _n('day', 'days', 2, 'ad-inserter'),
|
188 |
+
'days_3' => _n('day', 'days', 3, 'ad-inserter'),
|
189 |
+
'days_4' => _n('day', 'days', 4, 'ad-inserter'),
|
190 |
+
'days_5' => _n('day', 'days', 5, 'ad-inserter'),
|
191 |
+
'warning' => __('Warning', 'ad-inserter'),
|
192 |
+
'delete' => __('Delete', 'ad-inserter'),
|
193 |
+
'cancel' => __('Cancel', 'ad-inserter'),
|
194 |
+
'delete_all_statistics' => __('Delete all statistics data?', 'ad-inserter'),
|
195 |
+
// translators: %s: dates
|
196 |
+
'delete_statistics_between' => sprintf (__('Delete statistics data between %s and %s?', 'ad-inserter'), '{start_date}', '{end_date}'),
|
197 |
+
'cancel_rearrangement' => __('Cancel block order rearrangement', 'ad-inserter'),
|
198 |
+
'rearrange_block_order' => __('Rearrange block order', 'ad-inserter'),
|
199 |
+
'downloading' => __('downloading...', 'ad-inserter'),
|
200 |
+
'download_error' => __('download error', 'ad-inserter'),
|
201 |
+
'update_error' => __('update error', 'ad-inserter'),
|
202 |
+
'updating' => __('Updating...', 'ad-inserter'),
|
203 |
+
'loading' => __('Loading...', 'ad-inserter'),
|
204 |
+
'error' => __('ERROR', 'ad-inserter'),
|
205 |
+
'error_reloading_settings' => __('Error reloading settings', 'ad-inserter'),
|
206 |
+
'google_adsense_homepage' => __('Google AdSense Homepage', 'ad-inserter'),
|
207 |
+
'search' => __('Search...', 'ad-inserter'),
|
208 |
+
);
|
209 |
+
|
210 |
+
|
211 |
+
$ai_front_translations = array (
|
212 |
+
'insertion_before' => __('BEFORE', 'ad-inserter'),
|
213 |
+
'insertion_after' => __('AFTER', 'ad-inserter'),
|
214 |
+
'insertion_prepend' => __('PREPEND CONTENT', 'ad-inserter'),
|
215 |
+
'insertion_append' => __('APPEND CONTENT', 'ad-inserter'),
|
216 |
+
'insertion_replace_content' => __('REPLACE CONTENT', 'ad-inserter'),
|
217 |
+
'insertion_replace_element' => __('REPLACE ELEMENT', 'ad-inserter'),
|
218 |
+
'cancel' => __('Cancel', 'ad-inserter'),
|
219 |
+
'use' => __('Use', 'ad-inserter'),
|
220 |
+
'add' => __('Add', 'ad-inserter'),
|
221 |
+
'parent' => __('Parent', 'ad-inserter'),
|
222 |
+
'cancel_element_selection' => __('Cancel element selection', 'ad-inserter'),
|
223 |
+
'select_parent_element' => __('Select parent element', 'ad-inserter'),
|
224 |
+
'css_selector' => __('CSS selector', 'ad-inserter'),
|
225 |
+
'use_current_selector' => __('Use current selector', 'ad-inserter'),
|
226 |
+
'element' => __('ELEMENT', 'ad-inserter'),
|
227 |
+
'path' => __('PATH', 'ad-inserter'),
|
228 |
+
'selector' => __('SELECTOR', 'ad-inserter'),
|
229 |
+
'visible' => _x('VISIBLE', 'Block', 'ad-inserter'),
|
230 |
+
'hidden' => _x('HIDDEN', 'Block', 'ad-inserter'),
|
231 |
+
);
|