Ad Inserter – WordPress Ads Management with AdSense Header Integration - Version 2.4.6

Version Description

  • Improved ad blocking detection (detects Firefox content blocking)
  • Added support for wildcards for referrers (domains)
  • Added debugging notice when JavaScript errors are detected
  • Added support to load blocks in iframes (Pro only)
  • Added geolocation support for country subdivisions and cities (Pro only)
  • Added option to hide license key on client websites (Pro only)
  • Few minor bug fixes, cosmetic changes and code improvements
Download this release

Release Info

Developer spacetime
Plugin Icon 128x128 Ad Inserter – WordPress Ads Management with AdSense Header Integration
Version 2.4.6
Comparing to
See all releases

Code changes from version 2.4.5 to 2.4.6

ad-inserter.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  Plugin Name: Ad Inserter
5
- Version: 2.4.5
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/
@@ -15,10 +15,19 @@ Domain Path: /languages
15
 
16
  Change Log
17
 
 
 
 
 
 
 
 
 
 
18
  Ad Inserter 2.4.5 - 2018-12-26
19
  - Added support for AMP WP - Google AMP For WordPress
20
  - Added support to individually disable insertions for debugging purposes
21
- - Improved HTML selection tool
22
  - Fix for Call to undefined function wp_get_current_user()
23
  - Few minor bug fixes, cosmetic changes and code improvements
24
 
@@ -300,7 +309,7 @@ function ai_toolbar_menu_items () {
300
  );
301
 
302
  $paragraph_blocks = array ();
303
- for ($block = 0; $block <= AD_INSERTER_BLOCKS; $block ++) {
304
  $obj = $block_object [$block];
305
  $automatic_insertion = $obj->get_automatic_insertion();
306
  if ($block == 0 || !$obj->get_disable_insertion () && ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH || $automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH)) {
@@ -491,7 +500,7 @@ function ai_dump_code ($code, $max_size = 0) {
491
  function ai_block_insertion_status ($block, $ai_last_check) {
492
  global $block_object;
493
 
494
- if ($block < 1 || $block > AD_INSERTER_BLOCKS) $block = 0;
495
 
496
  if ($ai_last_check == AI_CHECK_INSERTED) return "INSERTED";
497
  $status = "FAILED CHECK: ";
@@ -536,6 +545,7 @@ function ai_block_insertion_status ($block, $ai_last_check) {
536
  case AI_CHECK_MAX_PAGE_BLOCKS: $status .= "MAX PAGE BLOCKS " . get_max_page_blocks (); break;
537
  case AI_CHECK_FILTER: $status .= ($obj->get_inverted_filter() ? 'INVERTED ' : '') . "FILTER " . $obj->get_call_filter(); break;
538
  case AI_CHECK_PARAGRAPH_COUNTING: $status .= "PARAGRAPH COUNTING"; break;
 
539
  case AI_CHECK_MIN_NUMBER_OF_WORDS: $status .= "MIN NUMBER OF WORDS " . intval ($obj->get_minimum_words()); break;
540
  case AI_CHECK_MAX_NUMBER_OF_WORDS: $status .= "MAX NUMBER OF WORDS " . (intval ($obj->get_maximum_words()) == 0 ? 1000000 : intval ($obj->get_maximum_words())); break;
541
  case AI_CHECK_DEBUG_NO_INSERTION: $status .= "DEBUG NO INSERTION"; break;
@@ -990,7 +1000,7 @@ function ai_buffering_end () {
990
  echo $matches [0], $matches [1];
991
 
992
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
993
- $class = AI_DEBUG_STATUS_CLASS;
994
  // translators: Debugging message when output buffering is enabled
995
  echo "<section class='$class'>" . __('OUTPUT BUFFERING', 'ad-inserter') . '</section>';
996
  }
@@ -1170,7 +1180,7 @@ function ai_wp_hook () {
1170
  if (isset ($_GET [AI_URL_DEBUG_POSITIONS])) {
1171
  if ($_GET [AI_URL_DEBUG_POSITIONS] !== '' && $url_debugging) $ai_wp_data [AI_WP_DEBUGGING] |= AI_DEBUG_POSITIONS; else $ai_wp_data [AI_WP_DEBUGGING] &= ~AI_DEBUG_POSITIONS;
1172
  if (is_numeric ($_GET [AI_URL_DEBUG_POSITIONS])) $ai_wp_data [AI_WP_DEBUG_BLOCK] = intval ($_GET [AI_URL_DEBUG_POSITIONS]);
1173
- if ($ai_wp_data [AI_WP_DEBUG_BLOCK] < 0 || $ai_wp_data [AI_WP_DEBUG_BLOCK] > AD_INSERTER_BLOCKS) $ai_wp_data [AI_WP_DEBUG_BLOCK] = 0;
1174
  }
1175
 
1176
  if (!defined ('AI_DEBUGGING_DEMO')) {
@@ -1197,7 +1207,7 @@ function ai_wp_hook () {
1197
  ((get_remote_debugging () && ($ai_wp_data [AI_WP_DEBUGGING] != 0 || (isset ($_GET [AI_URL_DEBUG]) && $_GET [AI_URL_DEBUG] == 1))) ||
1198
  defined ('AI_DEBUGGING_DEMO'))) {
1199
  function ai_login_adminbar ($wp_admin_bar) {
1200
- $wp_admin_bar->add_menu (array ('title' => _x('Log In', 'Menu item', 'ad-inserter'), 'href' => wp_login_url()));
1201
  }
1202
 
1203
  add_filter ('show_admin_bar', '__return_true', 999999);
@@ -1355,6 +1365,7 @@ function ai_wp_hook () {
1355
  };
1356
 
1357
  function ai_load_plugin_textdomain_hook () {
 
1358
  load_plugin_textdomain ('ad-inserter', false, basename (dirname (__FILE__)) . '/languages/');
1359
  }
1360
 
@@ -1418,14 +1429,15 @@ function ai_init_hook () {
1418
  //}
1419
 
1420
  function ai_load_extract ($recreate = true) {
1421
- global $ai_db_options, $ai_db_options_extract, $version_string;
1422
 
1423
- if (isset ($ai_db_options_extract)) return;
1424
 
1425
- $expected_extract_version = $version_string . '-' . AD_INSERTER_BLOCKS;
1426
 
1427
  if (isset ($ai_db_options [AI_OPTION_EXTRACT]['VERSION']) && $ai_db_options [AI_OPTION_EXTRACT]['VERSION'] == $expected_extract_version) {
1428
  $ai_db_options_extract = $ai_db_options [AI_OPTION_EXTRACT];
 
1429
  } else {
1430
  if (($saved_extract = get_option (AI_EXTRACT_NAME)) === false || $saved_extract ['VERSION'] != $expected_extract_version) {
1431
  if ($recreate) {
@@ -1433,12 +1445,15 @@ function ai_load_extract ($recreate = true) {
1433
  $ai_db_options [AI_OPTION_EXTRACT] = $ai_db_options_extract;
1434
  if (get_option (AI_OPTION_NAME) !== false)
1435
  update_option (AI_EXTRACT_NAME, $ai_db_options_extract);
 
1436
  }
1437
  } else {
1438
  $ai_db_options_extract = $saved_extract;
1439
  $ai_db_options [AI_OPTION_EXTRACT] = $ai_db_options_extract;
 
1440
  }
1441
  }
 
1442
  }
1443
 
1444
  function ai_wp_loaded_hook () {
@@ -1546,7 +1561,8 @@ function ai_admin_enqueue_scripts_late ($hook_suffix) {
1546
  global $ai_settings_page;
1547
 
1548
  if ($hook_suffix == $ai_settings_page) {
1549
- wp_enqueue_style ('ai-admin-css', plugins_url ('css/ad-inserter.css', __FILE__), array (), AD_INSERTER_VERSION);
 
1550
  wp_add_inline_style ('ai-admin-css', '.notice {margin: 5px 15px 15px 0;}');
1551
  }
1552
  }
@@ -1637,7 +1653,7 @@ function ai_wp_enqueue_scripts_hook () {
1637
  wp_add_inline_script ('ai-jquery-js', 'ai_debugging = true;');
1638
  }
1639
 
1640
- if (!get_disable_js_code () && $ai_wp_data [AI_CLIENT_SIDE_INSERTION]) {
1641
  wp_add_inline_script ('ai-jquery-js', ai_get_js ('ai-insert', false));
1642
  }
1643
 
@@ -1673,7 +1689,7 @@ function ai_get_client_side_styles () {
1673
  function add_head_inline_styles () {
1674
  global $ai_wp_data;
1675
 
1676
- if (get_disable_css_code ()) return;
1677
 
1678
  if ($ai_wp_data [AI_CLIENT_SIDE_DETECTION] ||
1679
  get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW ||
@@ -1687,7 +1703,7 @@ function add_head_inline_styles () {
1687
 
1688
  echo "<style type='text/css'>\n";
1689
 
1690
- if ($ai_wp_data [AI_CLIENT_SIDE_DETECTION]) echo get_viewport_css ();
1691
 
1692
  if (get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW || get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT || isset ($ai_wp_data [AI_CLIENT_SIDE_ROTATION])) {
1693
  echo ai_get_client_side_styles ();
@@ -1695,7 +1711,7 @@ function add_head_inline_styles () {
1695
  $ai_wp_data [AI_CLIENT_SIDE_CSS] = true;
1696
  }
1697
 
1698
- if ($ai_wp_data [AI_CLOSE_BUTTONS]) {
1699
  echo ".ai-close {position: relative;}\n";
1700
  // echo ".ai-close-width {width: auto !important;}\n";
1701
  echo ".ai-close-button {position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; background: url(".plugins_url ('css/images/close-button.png', AD_INSERTER_FILE).") no-repeat center center; cursor: pointer; z-index: 9; display: none;}\n";
@@ -1704,12 +1720,15 @@ function add_head_inline_styles () {
1704
  echo ".ai-close-bottom {top: unset; bottom: -11px;}\n";
1705
  }
1706
 
1707
- if (!get_inline_styles ()) {
 
 
 
1708
  echo get_alignment_css ();
1709
  }
1710
 
1711
  // After alignment CSS to override width
1712
- if ($ai_wp_data [AI_CLOSE_BUTTONS]) {
1713
  echo ".ai-close-fit {width: fit-content; width: -moz-fit-content;}\n";
1714
  }
1715
 
@@ -1717,7 +1736,7 @@ function add_head_inline_styles () {
1717
 
1718
  if ($ai_wp_data [AI_HTML_ELEMENT_SELECTION]) generate_selection_css ();
1719
 
1720
- if ((get_admin_toolbar_debugging () && (get_remote_debugging () || ($ai_wp_data [AI_WP_USER] & AI_USER_LOGGED_IN) != 0)) || defined ('AI_DEBUGGING_DEMO'))
1721
  echo "#wp-admin-bar-ai-toolbar-settings .ab-icon:before {
1722
  content: '\\f111';
1723
  top: 2px;
@@ -1777,9 +1796,10 @@ ul li#wp-admin-bar-ai-toolbar-status {
1777
  }
1778
  #wp-admin-bar-ai-toolbar-settings .ab-sub-wrapper {
1779
  width: max-content;
 
1780
  }
1781
  ";
1782
- if (get_admin_toolbar_mobile ()) {
1783
  echo "@media screen and (max-width: 782px) {
1784
  #wpadminbar #wp-admin-bar-ai-toolbar-settings {
1785
  display: block;
@@ -1897,14 +1917,14 @@ function ai_replace_js_data ($js) {
1897
  if ($redirection_page != 0) $url = get_permalink ($redirection_page); else $url = trim (get_custom_redirection_url ());
1898
  $js = str_replace ('AI_ADB_REDIRECTION_PAGE', $url, $js);
1899
 
1900
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_AD_BLOCKING_STATUS) != 0) {
1901
  // translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
1902
- $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);
1903
- $js = str_replace ('var AI_ADB_STATUS_MESSAGE=2', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION', 'ad-inserter') . '")', $js);
1904
- $js = str_replace ('var AI_ADB_STATUS_MESSAGE=3', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED - ACTION', 'ad-inserter') . '")', $js);
1905
- $js = str_replace ('var AI_ADB_STATUS_MESSAGE=4', 'jQuery("#ai-adb-status").text ("' . __('AD BLOCKING NOT DETECTED', 'ad-inserter') . '")', $js);
1906
- $js = str_replace ('var AI_ADB_STATUS_MESSAGE=5', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTION COOKIES DELETED', 'ad-inserter') . '")', $js);
1907
- $js = str_replace ('var AI_ADB_STATUS_MESSAGE=6', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED - NO ACTION', 'ad-inserter') . '")', $js);
1908
  } else {
1909
  $js = str_replace ('var AI_ADB_STATUS_MESSAGE=1', '', $js);
1910
  $js = str_replace ('var AI_ADB_STATUS_MESSAGE=2', '', $js);
@@ -1924,13 +1944,13 @@ function ai_replace_js_data ($js) {
1924
  if (defined ('AI_STATISTICS') && AI_STATISTICS) {
1925
  $js = str_replace ('AI_INTERNAL_TRACKING', get_internal_tracking () == AI_ENABLED ? 1 : 0, $js);
1926
  $js = str_replace ('AI_EXTERNAL_TRACKING', get_external_tracking () == AI_ENABLED ? 1 : 0, $js);
1927
- $js = str_replace ('AI_TRACK_PAGEVIEWS', get_track_pageviews () == AI_TRACKING_ENABLED ? 1 : 0, $js);
1928
  $js = str_replace ('AI_ADVANCED_CLICK_DETECTION', get_click_detection () == AI_CLICK_DETECTION_ADVANCED ? 1 : 0, $js);
1929
 
1930
  if (!isset ($ai_wp_data [AI_VIEWPORTS])) {
1931
  $viewports = array ();
1932
  $viewport_names = array ();
1933
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
1934
  $viewport_name = get_viewport_name ($viewport);
1935
  $viewport_width = get_viewport_width ($viewport);
1936
  if ($viewport_name != '') {
@@ -1966,7 +1986,10 @@ function add_footer_inline_scripts () {
1966
  if ($ai_wp_data [AI_ADB_DETECTION]) {
1967
  if (function_exists ('add_footer_inline_scripts_1')) add_footer_inline_scripts_1 (); else {
1968
  echo '<div id="banner-advert-container" class="ad-inserter chitika-ad" style="position:absolute; z-index: -10; height: 1px; width: 1px; top: -1px; left: -1px;"><img id="adsense" class="SponsorAds adsense" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"></div>', "\n";
 
1969
  echo '<!--noptimize-->', "\n";
 
 
1970
  echo "<script type='text/javascript' src='", plugins_url ('js/ads.js', __FILE__ ), "?ver=", AD_INSERTER_VERSION, "'></script>\n";
1971
  echo "<script type='text/javascript' src='", plugins_url ('js/sponsors.js', __FILE__ ), "?ver=", AD_INSERTER_VERSION, "'></script>\n";
1972
  echo '<!--/noptimize-->', "\n";
@@ -2003,9 +2026,10 @@ function add_footer_inline_scripts () {
2003
 
2004
  if ($footer_inline_scripts) echo "<script>\n";
2005
 
 
2006
  $client_side_dynamic_blocks = get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW || get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT;
2007
 
2008
- if (function_exists ('add_footer_inline_scripts_2')) {
2009
  if ($ai_wp_data [AI_LAZY_LOADING]) {
2010
  echo ai_get_js ('ai-load');
2011
  }
@@ -2023,11 +2047,11 @@ function add_footer_inline_scripts () {
2023
  echo ai_get_js ('ai-lists');
2024
  }
2025
 
2026
- if ($ai_wp_data [AI_STICKY_WIDGETS]) {
2027
  echo ai_get_js ('ai-sidebar');
2028
  }
2029
 
2030
- if ($ai_wp_data [AI_CLOSE_BUTTONS]) {
2031
  echo ai_get_js ('ai-close');
2032
  }
2033
 
@@ -2035,7 +2059,7 @@ function add_footer_inline_scripts () {
2035
  echo ai_get_js ('ai-select');
2036
  }
2037
 
2038
- if ($ai_wp_data [AI_CLIENT_SIDE_INSERTION]) {
2039
  echo 'setTimeout (function() {Array.prototype.forEach.call (document.querySelectorAll (".ai-viewports"), function (element, index) {ai_insert_viewport (element);});}, 10);', PHP_EOL;
2040
  }
2041
 
@@ -2254,7 +2278,7 @@ function ai_meta_box_callback ($post) {
2254
  echo '</thead>';
2255
  echo '<tbody>';
2256
  $rows = 0;
2257
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
2258
  $obj = $block_object [$block];
2259
 
2260
  if ($post_type == 'page') {
@@ -2360,7 +2384,7 @@ function ai_save_meta_box_data_hook ($post_id) {
2360
  /* OK, it's safe for us to save the data now. */
2361
 
2362
  $selected = array ();
2363
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
2364
  $option_name = 'adinserter_selected_block_' . $block;
2365
  if (isset ($_POST [$option_name]) && $_POST [$option_name]) $selected []= $block;
2366
  }
@@ -2433,8 +2457,12 @@ function get_adb_status_debug_info () {
2433
  function ai_header_noindex () {
2434
  global $ai_wp_data;
2435
 
2436
- if ($ai_wp_data [AI_WP_DEBUGGING] != 0) {
2437
- echo '<meta name="robots" content="noindex"> <!-- ', AD_INSERTER_NAME, ' debugging enabled (', strtoupper (decbin ($ai_wp_data [AI_WP_DEBUGGING])), ') -->', "\n";
 
 
 
 
2438
  }
2439
  }
2440
 
@@ -2490,7 +2518,7 @@ function ai_http_header () {
2490
  }
2491
 
2492
  function ai_wp_head_hook () {
2493
- global $block_object, $ai_wp_data, $ai_total_plugin_time;
2494
 
2495
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
2496
  ai_log ("HEAD HOOK START");
@@ -2498,6 +2526,15 @@ function ai_wp_head_hook () {
2498
  $start_time = microtime (true);
2499
  }
2500
 
 
 
 
 
 
 
 
 
 
2501
  $ai_wp_data [AI_CONTEXT] = AI_CONTEXT_NONE;
2502
 
2503
  ai_header_noindex ();
@@ -2542,54 +2579,84 @@ function ai_wp_head_hook () {
2542
  }
2543
  }
2544
 
2545
- if (defined ('AI_ADBLOCKING_DETECTION') && AI_ADBLOCKING_DETECTION) {
2546
- // No scripts on AMP pages
2547
- // if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_AD_BLOCKING_STATUS) != 0 && $ai_wp_data [AI_ADB_DETECTION] && !$ai_wp_data [AI_WP_AMP_PAGE]) {
2548
- if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_AD_BLOCKING_STATUS) != 0 && $ai_wp_data [AI_ADB_DETECTION] /*&& !$ai_wp_data [AI_WP_AMP_PAGE]*/) {
2549
- echo "<script>
2550
- jQuery(document).ready(function($) {
2551
- $('body').prepend (\"", get_adb_status_debug_info () , "\");
 
 
 
 
 
 
 
2552
  });
2553
- </script>\n";
 
2554
  }
 
 
 
 
 
 
 
 
 
 
2555
  }
2556
 
2557
- // No scripts on AMP pages
2558
- if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
2559
- echo "<script>
2560
- jQuery(document).ready(function($) {
2561
- $('body').prepend (\"", get_page_type_debug_info () , "\");
2562
- });
2563
- </script>\n";
2564
  }
2565
 
2566
- if (!get_disable_js_code () && $ai_wp_data [AI_WP_DEBUGGING] != 0 && isset ($_GET ['ai-debug-code']) && !defined ('AI_DEBUGGING_DEMO')) {
2567
- if (is_numeric ($_GET ['ai-debug-code']) && $_GET ['ai-debug-code'] >= 1 && $_GET ['ai-debug-code'] <= AD_INSERTER_BLOCKS) {
2568
- $obj = $block_object [$_GET ['ai-debug-code']];
2569
- $block_name = $obj->number . ' &nbsp; ' . $obj->get_ad_name ();
2570
- if (!$header->get_debug_disable_insertion ()) {
2571
- $ai_wp_debugging = $ai_wp_data [AI_WP_DEBUGGING];
2572
- $ai_wp_data [AI_WP_DEBUGGING] = 0;
2573
- $code_for_insertion = $obj->get_code_for_insertion ();
2574
- $ai_wp_data [AI_WP_DEBUGGING] = $ai_wp_debugging;
2575
- } else $code_for_insertion = '';
 
 
 
 
 
2576
  echo "<script>\n";
2577
  echo " jQuery(document).ready(function($) {
2578
- $('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) . "\");
2579
- });
2580
- </script>\n";
2581
  }
2582
  }
2583
 
2584
- if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !defined ('AI_DEBUGGING_DEMO')) {
2585
- echo "<script>\n";
2586
- echo " jQuery(document).ready(function($) {
2587
- $('body').prepend (\"" . get_code_debug_block (' ' . __('Header code', 'ad-inserter') . ' ' . ($header->get_enable_manual () ? '' : ' ' . _x('DISABLED', 'Header code', 'ad-inserter')), '&lt;head&gt;...&lt;/head&gt;', strlen ($header_code) . ' ' . _n('character inserted', 'characters inserted', strlen ($header_code), 'ad-inserter') . ' ', $header->ai_getCode (), $header_code, true) . "\");
2588
- });
2589
- </script>\n";
 
 
 
 
 
 
 
2590
  }
2591
 
2592
- if (!get_disable_js_code () && defined ('AI_ADSENSE_OVERLAY') && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
2593
  echo "<script>\n";
2594
  echo ai_get_js ('ai-ads');
2595
  echo "</script>\n";
@@ -2597,20 +2664,42 @@ function ai_wp_head_hook () {
2597
 
2598
  if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
2599
  echo "<script>
2600
- jQuery(document).ready(function($) {
2601
  setTimeout (function() {
2602
- var google_auto_placed = jQuery ('.google-auto-placed');
2603
- google_auto_placed.before ('<section class=\"ai-debug-bar ai-debug-adsense\">",
2604
  __('Automatically placed by AdSense Auto ads code', 'ad-inserter'),
2605
  "</section>');
2606
- }, 3000);
2607
  });
2608
  </script>\n";
2609
  }
2610
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2611
  if (defined ('AI_BUFFERING')) {
2612
  if (get_output_buffering ()) {
2613
- if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX) {
2614
  ai_buffering_start ();
2615
  }
2616
  }
@@ -2687,6 +2776,8 @@ function ai_amp_css_hook () {
2687
  if (defined ('AI_AMP_HEADER_STYLES') && AI_AMP_HEADER_STYLES || $ai_wp_data [AI_WP_DEBUGGING] != 0) {
2688
 
2689
  if (defined ('AI_AMP_HEADER_STYLES') && AI_AMP_HEADER_STYLES) {
 
 
2690
  echo get_alignment_css ();
2691
 
2692
  echo ".ai-align-left * {margin: 0 auto 0 0; text-align: left;}\n";
@@ -2710,7 +2801,7 @@ function ai_wp_footer_hook () {
2710
 
2711
  if (defined ('AI_BUFFERING')) {
2712
  if (get_output_buffering ()) {
2713
- if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX) {
2714
  ai_buffering_end ();
2715
  }
2716
  }
@@ -2753,7 +2844,7 @@ function ai_wp_footer_hook () {
2753
  }
2754
  }
2755
 
2756
- if (!(defined ('DOING_AJAX') && DOING_AJAX)) {
2757
  add_footer_inline_scripts ();
2758
 
2759
  if (function_exists ('ai_add_footer_html')) {
@@ -2761,25 +2852,32 @@ function ai_wp_footer_hook () {
2761
  }
2762
  }
2763
 
2764
- if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
2765
- $class_0 = AI_DEBUG_STATUS_CLASS;
2766
- $class_1 = AI_DEBUG_PAGE_TYPE_CLASS;
2767
- $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>";
2768
 
2769
- echo "<script>
2770
- jQuery(document).ready(function($) {
2771
- $('body').prepend (\"", $javascript_text, "\");
2772
- $('.ai-js-1').show ();
2773
- $('.ai-js-0').hide ();
2774
- });
2775
- </script>\n";
2776
 
2777
- echo get_page_type_debug_info () , "\n";
2778
- echo $javascript_text , "\n";
2779
- }
 
 
 
 
 
 
 
 
 
 
 
 
2780
 
2781
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !defined ('AI_DEBUGGING_DEMO')) {
2782
- echo get_code_debug_block (' ' . __('Footer code', 'ad-inserter') . ' ' . ($footer->get_enable_manual () ? '' : ' ' . _x('DISABLED', 'Footer code', 'ad-inserter')), '...&lt;/body&gt;', strlen ($footer_code).' ' . _n('character inserted', 'characters inserted', strlen ($footer_code), 'ad-inserter'), $footer->ai_getCode (), $footer_code);
2783
  }
2784
 
2785
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
@@ -2843,7 +2941,7 @@ function ai_amp_footer_hook () {
2843
  }
2844
 
2845
  function ai_write_debug_info ($write_processing_log = false) {
2846
- global $block_object, $ai_last_time, $ai_total_plugin_time, $ai_total_php_time, $ai_processing_log, $ai_db_options_extract, $ai_wp_data, $ai_db_options, $block_insertion_log, $ai_custom_hooks, $version_string;
2847
 
2848
  echo sprintf ("%-25s%s", AD_INSERTER_NAME, AD_INSERTER_VERSION);
2849
  if (function_exists ('ai_debug_header')) ai_debug_header ();
@@ -2880,7 +2978,7 @@ function ai_write_debug_info ($write_processing_log = false) {
2880
  echo "SETTINGS TIMESTAMP: ";
2881
  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";
2882
 
2883
- $expected_extract_version = $version_string . '-' . AD_INSERTER_BLOCKS;
2884
  $extract_source = '';
2885
  $saved_settings = get_option (AI_OPTION_NAME);
2886
  if (isset ($saved_settings [AI_OPTION_EXTRACT]['VERSION']) && $saved_settings [AI_OPTION_EXTRACT]['VERSION'] == $expected_extract_version) {
@@ -2892,10 +2990,11 @@ function ai_write_debug_info ($write_processing_log = false) {
2892
  }
2893
  echo "SETTINGS EXTRACT: ";
2894
  if (isset ($saved_extract ['VERSION'])) {
2895
- $extract_blocks = explode ('-', $saved_extract ['VERSION']);
 
2896
  echo (int) ($saved_extract ['VERSION'][0].$saved_extract ['VERSION'][1]), '.',
2897
  (int) ($saved_extract ['VERSION'][2].$saved_extract ['VERSION'][3]), '.',
2898
- (int) ($saved_extract ['VERSION'][4].$saved_extract ['VERSION'][5]), '-', $extract_blocks [1];
2899
  }
2900
  echo"\n";
2901
  echo "EXTRACT TIMESTAMP: ";
@@ -2998,7 +3097,7 @@ function ai_write_debug_info ($write_processing_log = false) {
2998
  if (function_exists ('ai_debug')) ai_debug ();
2999
 
3000
  if ($ai_wp_data [AI_CLIENT_SIDE_DETECTION] || 1) {
3001
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
3002
  $viewport_name = get_viewport_name ($viewport);
3003
  $viewport_width = get_viewport_width ($viewport);
3004
  if ($viewport_name != '') {
@@ -3024,7 +3123,7 @@ function ai_write_debug_info ($write_processing_log = false) {
3024
  $hook = $ai_custom_hook ['index'];
3025
  $enabled_custom_hooks [] = $ai_custom_hook ['action'];
3026
  }
3027
- for ($hook = 1; $hook <= AD_INSERTER_HOOKS; $hook ++) {
3028
  $name = str_replace (array ('&lt;', '&gt;'), array ('<', '>'), get_hook_name ($hook));
3029
  $action = get_hook_action ($hook);
3030
  if (get_hook_enabled ($hook) /*&& $name != '' && $action != ''*/) {
@@ -3125,7 +3224,7 @@ function ai_write_debug_info ($write_processing_log = false) {
3125
  $default = new ai_Block (1);
3126
 
3127
  echo "BLOCK SETTINGS Po Pa Hp Cp Ap Sp AM Aj Fe 404 Wi Sh PHP\n";
3128
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
3129
  $obj = $block_object [$block];
3130
 
3131
  $settings = "";
@@ -3544,7 +3643,7 @@ function ai_check_plugin_options ($plugin_options = array ()) {
3544
  if (!isset ($plugin_options ['DISABLE_HEADER_CODE'])) $plugin_options ['DISABLE_HEADER_CODE'] = DEFAULT_DISABLE_HEADER_CODE;
3545
  if (!isset ($plugin_options ['DISABLE_FOOTER_CODE'])) $plugin_options ['DISABLE_FOOTER_CODE'] = DEFAULT_DISABLE_FOOTER_CODE;
3546
 
3547
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
3548
  $viewport_name_option_name = 'VIEWPORT_NAME_' . $viewport;
3549
  $viewport_width_option_name = 'VIEWPORT_WIDTH_' . $viewport;
3550
 
@@ -3588,7 +3687,7 @@ function ai_check_plugin_options ($plugin_options = array ()) {
3588
  } else $plugin_options [$viewport_width_option_name] = '';
3589
  }
3590
 
3591
- for ($hook = 1; $hook <= AD_INSERTER_HOOKS; $hook ++) {
3592
  $hook_enabled_settins_name = 'HOOK_ENABLED_' . $hook;
3593
  $hook_name_settins_name = 'HOOK_NAME_' . $hook;
3594
  $hook_action_settins_name = 'HOOK_ACTION_' . $hook;
@@ -3597,7 +3696,7 @@ function ai_check_plugin_options ($plugin_options = array ()) {
3597
  if (!isset ($plugin_options [$hook_enabled_settins_name])) $plugin_options [$hook_enabled_settins_name] = AI_DISABLED;
3598
  if (!isset ($plugin_options [$hook_name_settins_name])) $plugin_options [$hook_name_settins_name] = '';
3599
  if (!isset ($plugin_options [$hook_action_settins_name])) $plugin_options [$hook_action_settins_name] = '';
3600
- if (!isset ($plugin_options [$hook_priority_settins_name]) || !is_int ($plugin_options [$hook_priority_settins_name])) $plugin_options [$hook_priority_settins_name] = DEFAULT_CUSTOM_HOOK_PRIORITY;
3601
  }
3602
 
3603
  if (function_exists ('ai_check_options')) ai_check_options ($plugin_options);
@@ -4050,6 +4149,7 @@ function get_adb_action ($saved_value = false) {
4050
  global $ai_db_options, $ai_wp_data;
4051
 
4052
  if (!$saved_value) {
 
4053
  if (isset ($ai_wp_data [AI_ADB_SHORTCODE_ACTION])) return ($ai_wp_data [AI_ADB_SHORTCODE_ACTION]);
4054
  }
4055
 
@@ -4261,6 +4361,7 @@ function filter_option_hf ($option, $value){
4261
  }
4262
 
4263
  function ai_ajax () {
 
4264
 
4265
  // check_ajax_referer ("adinserter_data", "ai_check");
4266
  // check_admin_referer ("adinserter_data", "ai_check");
@@ -4273,11 +4374,17 @@ function ai_ajax () {
4273
 
4274
  elseif (isset ($_GET ["block"])) {
4275
  $block = sanitize_text_field ($_GET ["block"]);
4276
- if (is_numeric ($block) && $block >= 1 && $block <= AD_INSERTER_BLOCKS) {
4277
  global $block_object;
4278
  $block = $block_object [$block];
4279
- if ($block->get_disable_caching ()) $ai_wp_data [AI_DISABLE_CACHING] = true;
4280
- echo $block->get_iframe_page ();
 
 
 
 
 
 
4281
  }
4282
  }
4283
 
@@ -4296,7 +4403,7 @@ function ai_ajax_backend () {
4296
 
4297
  if (isset ($_POST ["preview"])) {
4298
  $block = urldecode ($_POST ["preview"]);
4299
- if (is_numeric ($block) && $block >= 1 && $block <= AD_INSERTER_BLOCKS) {
4300
  require_once AD_INSERTER_PLUGIN_DIR.'includes/preview.php';
4301
 
4302
  $preview_parameters = array ();
@@ -4315,6 +4422,7 @@ function ai_ajax_backend () {
4315
  if (isset ($_POST ['close'])) $preview_parameters ['close'] = $_POST ['close'];
4316
  if (isset ($_POST ['label'])) $preview_parameters ['label'] = $_POST ['label'];
4317
  if (isset ($_POST ['read_only'])) $preview_parameters ['read_only'] = $_POST ['read_only'];
 
4318
 
4319
  generate_code_preview (
4320
  $block,
@@ -4363,7 +4471,7 @@ function ai_ajax_backend () {
4363
  }
4364
 
4365
  elseif (isset ($_POST ["edit"])) {
4366
- if (is_numeric ($_POST ["edit"]) && $_POST ["edit"] >= 1 && $_POST ["edit"] <= AD_INSERTER_BLOCKS) {
4367
  require_once AD_INSERTER_PLUGIN_DIR.'includes/editor.php';
4368
  generate_code_editor ($_POST ["edit"], base64_decode ($_POST ["code"]), $_POST ["php"] == 1);
4369
  }
@@ -4371,7 +4479,7 @@ function ai_ajax_backend () {
4371
 
4372
  if (isset ($_POST ["placeholder"])) {
4373
  $block = urldecode ($_POST ["block"]);
4374
- if (is_numeric ($block) && $block >= 1 && $block <= AD_INSERTER_BLOCKS) {
4375
  require_once AD_INSERTER_PLUGIN_DIR.'includes/placeholders.php';
4376
 
4377
  generate_placeholder_editor (str_replace (array ('"', "\\'"), array ('&quot', '&#039'), urldecode ($_POST ["placeholder"])), $block);
@@ -4516,7 +4624,7 @@ function ai_ajax_backend () {
4516
  }
4517
 
4518
  function ai_generate_extract (&$settings) {
4519
- global $ai_custom_hooks, $ai_wp_data, $version_string;
4520
 
4521
  if (!defined ('AI_EXTRACT_GENERATED'))
4522
  define ('AI_EXTRACT_GENERATED', true);
@@ -4540,7 +4648,7 @@ function ai_generate_extract (&$settings) {
4540
  $after_comments_hook_blocks = array (AI_PT_ANY => array (), AI_PT_HOMEPAGE => array(), AI_PT_CATEGORY => array(), AI_PT_SEARCH => array(), AI_PT_ARCHIVE => array(), AI_PT_STATIC => array(), AI_PT_POST => array(), AI_PT_404 => array(), AI_PT_FEED => array(), AI_PT_AJAX => array());
4541
  $footer_hook_blocks = array (AI_PT_ANY => array (), AI_PT_HOMEPAGE => array(), AI_PT_CATEGORY => array(), AI_PT_SEARCH => array(), AI_PT_ARCHIVE => array(), AI_PT_STATIC => array(), AI_PT_POST => array(), AI_PT_404 => array(), AI_PT_FEED => array(), AI_PT_AJAX => array());
4542
  $custom_hook_blocks = array ();
4543
- for ($custom_hook = 1; $custom_hook <= AD_INSERTER_HOOKS; $custom_hook ++) {
4544
  $custom_hook_blocks [] = array (AI_PT_ANY => array (), AI_PT_HOMEPAGE => array(), AI_PT_CATEGORY => array(), AI_PT_SEARCH => array(), AI_PT_ARCHIVE => array(), AI_PT_STATIC => array(), AI_PT_POST => array(), AI_PT_404 => array(), AI_PT_FEED => array(), AI_PT_AJAX => array());
4545
  }
4546
 
@@ -4558,7 +4666,7 @@ function ai_generate_extract (&$settings) {
4558
  if (isset ($widget_id [1]) && is_numeric ($widget_id [1])) {
4559
  $widget_option = $widget_options [$widget_id [1]];
4560
  $widget_block = $widget_option ['block'];
4561
- if ($widget_block >= 1 && $widget_block <= AD_INSERTER_BLOCKS) {
4562
  $widget_blocks [] = $widget_block;
4563
  }
4564
  }
@@ -4580,11 +4688,12 @@ function ai_generate_extract (&$settings) {
4580
  $ai_wp_data [AI_STICK_TO_THE_CONTENT] = false;
4581
  $ai_wp_data [AI_TRACKING] = false;
4582
  $ai_wp_data [AI_CLOSE_BUTTONS] = false;
 
4583
  $ai_wp_data [AI_ANIMATION] = false;
4584
  $ai_wp_data [AI_LAZY_LOADING] = false;
4585
  $ai_wp_data [AI_GEOLOCATION] = false;
4586
 
4587
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
4588
 
4589
  if (!isset ($settings [$block])) continue;
4590
 
@@ -4638,6 +4747,8 @@ function ai_generate_extract (&$settings) {
4638
  break;
4639
  case AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH:
4640
  case AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH:
 
 
4641
  case AI_AUTOMATIC_INSERTION_BEFORE_CONTENT:
4642
  case AI_AUTOMATIC_INSERTION_AFTER_CONTENT:
4643
  foreach ($page_types as $block_page_type) $content_hook_blocks [$block_page_type][]= $block;
@@ -4677,7 +4788,7 @@ function ai_generate_extract (&$settings) {
4677
  $footer_hook_blocks [AI_PT_ANY][]= $block;
4678
  break;
4679
  default:
4680
- if ($automatic_insertion >= AI_AUTOMATIC_INSERTION_CUSTOM_HOOK && $automatic_insertion < AI_AUTOMATIC_INSERTION_CUSTOM_HOOK + AD_INSERTER_HOOKS) {
4681
  $hook_index = $automatic_insertion - AI_AUTOMATIC_INSERTION_CUSTOM_HOOK;
4682
  foreach ($page_types as $block_page_type) $custom_hook_blocks [$hook_index][$block_page_type][]= $block;
4683
  $custom_hook_blocks [$hook_index][AI_PT_ANY][]= $block;
@@ -4716,6 +4827,7 @@ function ai_generate_extract (&$settings) {
4716
  AI_STICK_TO_THE_CONTENT => $ai_wp_data [AI_STICK_TO_THE_CONTENT],
4717
  AI_TRACKING => $ai_wp_data [AI_TRACKING],
4718
  AI_CLOSE_BUTTONS => $ai_wp_data [AI_CLOSE_BUTTONS],
 
4719
  AI_ANIMATION => $ai_wp_data [AI_ANIMATION],
4720
  AI_LAZY_LOADING => $ai_wp_data [AI_LAZY_LOADING],
4721
  AI_GEOLOCATION => $ai_wp_data [AI_GEOLOCATION]
@@ -4739,7 +4851,7 @@ function ai_generate_extract (&$settings) {
4739
  $extract [AFTER_COMMENTS_HOOK_BLOCKS] = $after_comments_hook_blocks;
4740
  $extract [FOOTER_HOOK_BLOCKS] = $footer_hook_blocks;
4741
 
4742
- for ($custom_hook = 1; $custom_hook <= AD_INSERTER_HOOKS; $custom_hook ++) {
4743
  $action = get_hook_action ($custom_hook);
4744
 
4745
  if (get_hook_enabled ($custom_hook) && get_hook_name ($custom_hook) != '' && $action != '') {
@@ -4756,7 +4868,7 @@ function ai_generate_extract (&$settings) {
4756
  }
4757
  }
4758
 
4759
- $extract ['VERSION'] = $version_string . '-' . AD_INSERTER_BLOCKS;
4760
  $extract ['TIMESTAMP'] = time ();
4761
 
4762
  return ($extract);
@@ -4769,10 +4881,10 @@ function ai_load_settings () {
4769
 
4770
  ai_load_options ();
4771
 
4772
- ai_load_extract (false);
4773
 
4774
  $ai_custom_hooks = array ();
4775
- for ($hook = 1; $hook <= AD_INSERTER_HOOKS; $hook ++) {
4776
  $name = get_hook_name ($hook);
4777
  $action = get_hook_action ($hook);
4778
 
@@ -4781,7 +4893,7 @@ function ai_load_settings () {
4781
  }
4782
  }
4783
 
4784
- $features_in_extract = isset ($ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES]);
4785
 
4786
  if (isset ($ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_USED_BLOCKS])) {
4787
  $used_blocks = @unserialize ($ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_USED_BLOCKS]);
@@ -4791,7 +4903,7 @@ function ai_load_settings () {
4791
  $obj->wp_options [AI_OPTION_BLOCK_NAME] = _x('Default', 'Block name', 'ad-inserter');
4792
  $block_object [0] = $obj;
4793
 
4794
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
4795
  $obj = new ai_Block ($block);
4796
 
4797
  $obj->load_options ($block);
@@ -4814,6 +4926,7 @@ function ai_load_settings () {
4814
  $ai_wp_data [AI_STICK_TO_THE_CONTENT] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_STICK_TO_THE_CONTENT];
4815
  $ai_wp_data [AI_TRACKING] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_TRACKING];
4816
  $ai_wp_data [AI_CLOSE_BUTTONS] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_CLOSE_BUTTONS];
 
4817
  $ai_wp_data [AI_ANIMATION] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_ANIMATION];
4818
  $ai_wp_data [AI_LAZY_LOADING] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_LAZY_LOADING];
4819
  $ai_wp_data [AI_GEOLOCATION] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_GEOLOCATION];
@@ -4845,7 +4958,7 @@ function ai_load_settings () {
4845
  function generate_viewport_css () {
4846
 
4847
  $viewports = array ();
4848
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
4849
  $viewport_name = get_viewport_name ($viewport);
4850
  $viewport_width = get_viewport_width ($viewport);
4851
  if ($viewport_name != '') {
@@ -4973,13 +5086,25 @@ function generate_alignment_css () {
4973
 
4974
  return $alignment_css;
4975
  }
 
 
 
 
 
 
 
 
 
4976
  function generate_debug_css () {
4977
  ?>
4978
 
4979
  .ai-debug-tags {font-weight: bold; color: white; padding: 2px;}
4980
- .ai-debug-positions {clear: both; text-align: center; padding: 10px 0; font-family: arial; font-weight: bold; border: 1px solid blue; color: blue; background: #eef;}
4981
- .ai-debug-page-type {text-align: center; padding: 10px 0; font-family: arial; font-weight: bold; border: 1px solid green; color: green; background: #efe;}
4982
- .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;}
 
 
 
4983
  .ai-debug-adb {opacity: 0.85; cursor: pointer;}
4984
  .ai-debug-widget {margin: 0; padding: 0 5px; font-size: 10px; white-space: pre; overflow-x: auto; overflow-y: hidden;}
4985
  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;}
@@ -4997,7 +5122,7 @@ a.ai-debug-center {text-align: center; cursor: default; font-size: 10px; text-de
4997
  .ai-debug-span {background: #cff; color: #000;}
4998
  .ai-debug-special {background: #fb0; color: #000;}
4999
 
5000
- .ai-debug-ad-overlay {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #8f8; opacity: 0.6; z-index': '999999990}
5001
  .ai-auto-ads {background-color: #84f;}
5002
  .ai-no-slot {background-color: #48f;}
5003
  .ai-debug-ad-info {position: absolute; top: 0; left: 0; overflow: hidden; width: auto; height: auto; font-family: arial; font-size: 11px; line-height: 11px; text-align: left; z-index: 999999991;}
@@ -5005,48 +5130,49 @@ a.ai-debug-center {text-align: center; cursor: default; font-size: 10px; text-de
5005
  .ai-info-1 {background: #000; color: #fff;}
5006
  .ai-info-2 {background: #fff; color: #000;}
5007
 
5008
- section.ai-debug-block {padding: 0; margin: 0;}
5009
 
5010
  .ai-debug-code {margin: 0; padding: 0; border: 0; font-family: monospace, sans-serif; font-size: 12px; line-height: 13px; background: #fff; color: #000;}
5011
 
5012
  .ai-debug-code.ai-code-org {float: left; max-width: 48%;}
5013
  .ai-debug-code.ai-code-inserted {float: right; max-width: 48%;}
5014
 
5015
- .ai-debug-block {border: 1px solid;}
5016
-
5017
- .ai-debug-block.ai-debug-default {border-color: #e00;}
5018
  .ai-debug-bar.ai-debug-default {background: #e00;}
5019
 
5020
- .ai-debug-block.ai-debug-viewport-invisible { border-color: #00f;}
5021
  .ai-debug-bar.ai-debug-viewport-invisible {background: #00f;}
5022
 
5023
- .ai-debug-block.ai-debug-amp {border-color: #0c0;}
5024
  .ai-debug-bar.ai-debug-amp {background: #0c0;}
5025
 
5026
- .ai-debug-block.ai-debug-fallback {border-color: #a0f;}
5027
  .ai-debug-bar.ai-debug-fallback {background: #a0f;}
5028
 
5029
- .ai-debug-block.ai-debug-script {border-color: #00bae6; background: #eee;}
5030
  .ai-debug-bar.ai-debug-script {background: #00bae6;}
5031
 
5032
- .ai-debug-block.ai-debug-adb-status {border-color: #000;}
5033
  .ai-debug-bar.ai-debug-adb-status {background: #000;}
5034
 
5035
- .ai-debug-block.ai-debug-adsense {border-color: #e0a;}
5036
  .ai-debug-bar.ai-debug-adsense {background: #e0a;}
5037
 
5038
- .ai-debug-block.ai-debug-ajax {border-color: #ffd600;}
 
 
5039
  .ai-debug-bar.ai-debug-ajax {background: #ffd600;}
5040
  .ai-debug-bar.ai-debug-ajax kbd {color: #000;}
5041
 
5042
- .ai-debug-block.ai-debug-iframe {border-color: #ffd600; }
5043
- .ai-debug-bar.ai-debug-iframe {background: #ffd600;}
5044
  .ai-debug-bar.ai-debug-iframe kbd {color: #000;}
 
5045
 
5046
  .ai-debug-adb-status.on kbd {color: #f00;}
5047
  .ai-debug-adb-status.off kbd {color: #0f0;}
5048
 
5049
- .ai-debug-block.ai-debug-lists {border-color: #00c5be;}
5050
  .ai-debug-bar.ai-debug-lists {background: #00c5be;}
5051
 
5052
  .ai-debug-adb-hidden {visibility: hidden; display: none;}
@@ -5143,7 +5269,14 @@ function ai_settings () {
5143
  $subpage = 'main';
5144
  $start = 1;
5145
  $end = 16;
5146
- if (function_exists ('ai_settings_parameters')) ai_settings_parameters ($subpage, $start, $end);
 
 
 
 
 
 
 
5147
 
5148
  $invalid_blocks = array ();
5149
 
@@ -5162,7 +5295,7 @@ function ai_settings () {
5162
  $ai_options = array ();
5163
 
5164
  $default_block = new ai_Block (1);
5165
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
5166
  // ###
5167
  // $default_block = new ai_Block ($block);
5168
 
@@ -5318,16 +5451,16 @@ function ai_settings () {
5318
  if (isset ($_POST ['disable-footer-code'])) $options ['DISABLE_FOOTER_CODE'] = filter_option ('DISABLE_FOOTER_CODE', $_POST ['disable-footer-code']);
5319
  if (isset ($_POST ['disable-header-code'])) $options ['DISABLE_HEADER_CODE'] = filter_option ('DISABLE_HEADER_CODE', $_POST ['disable-header-code']);
5320
 
5321
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
5322
  if (isset ($_POST ['viewport-name-'.$viewport])) $options ['VIEWPORT_NAME_'.$viewport] = filter_string ($_POST ['viewport-name-'.$viewport]);
5323
  if (isset ($_POST ['viewport-width-'.$viewport])) $options ['VIEWPORT_WIDTH_'.$viewport] = filter_option ('viewport_width', $_POST ['viewport-width-'.$viewport]);
5324
  }
5325
 
5326
- for ($hook = 1; $hook <= AD_INSERTER_HOOKS; $hook ++) {
5327
  if (isset ($_POST ['hook-enabled-'.$hook])) $options ['HOOK_ENABLED_'.$hook] = filter_option ('HOOK_ENABLED', $_POST ['hook-enabled-'.$hook]);
5328
  if (isset ($_POST ['hook-name-'.$hook])) $options ['HOOK_NAME_'.$hook] = filter_string_tags ($_POST ['hook-name-'.$hook]);
5329
  if (isset ($_POST ['hook-action-'.$hook])) $options ['HOOK_ACTION_'.$hook] = filter_string ($_POST ['hook-action-'.$hook]);
5330
- if (isset ($_POST ['hook-priority-'.$hook])) $options ['HOOK_PRIORITY_'.$hook] = filter_option ('HOOK_PRIORITY', $_POST ['hook-enabled-'.$hook]);
5331
  }
5332
 
5333
  // $options ['VIEWPORT_CSS'] = generate_viewport_css ();
@@ -5393,7 +5526,7 @@ function ai_settings () {
5393
 
5394
  check_admin_referer ('save_adinserter_settings');
5395
 
5396
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
5397
  delete_option (str_replace ("#", $block, AD_ADx_OPTIONS));
5398
  }
5399
 
@@ -5545,7 +5678,7 @@ function ai_adinserter ($ad_number = '', $ignore = ''){
5545
  if ($ad_number == "") return "";
5546
  if (!is_numeric ($ad_number)) return "";
5547
  $ad_number = (int) $ad_number;
5548
- if ($ad_number < 1 || $ad_number > AD_INSERTER_BLOCKS) return "";
5549
 
5550
  $globals_name = AI_PHP_FUNCTION_CALL_COUNTER_NAME . $ad_number;
5551
 
@@ -5666,6 +5799,9 @@ function ai_content_hook ($content = '') {
5666
  $content = $preview->after_paragraph ($content, true);
5667
  $positions_inserted = true;
5668
  }
 
 
 
5669
  }
5670
 
5671
  if ($ai_db_options_extract [CONTENT_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) {
@@ -5737,6 +5873,14 @@ function ai_content_hook ($content = '') {
5737
  $ai_last_check = AI_CHECK_PARAGRAPH_COUNTING;
5738
  $content = $obj->after_paragraph ($content);
5739
  }
 
 
 
 
 
 
 
 
5740
  elseif ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_CONTENT) {
5741
  $obj->increment_block_counter ();
5742
 
@@ -5813,9 +5957,21 @@ function ai_content_hook ($content = '') {
5813
  }
5814
  }
5815
 
 
 
 
 
 
 
 
 
 
 
5816
  // $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>' . ($ai_wp_data [AI_MBSTRING_LOADED] ? mb_strtoupper (AI_TEXT_BEFORE_PARAGRAPH) : 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);
5817
  $content = preg_replace ("/\[\[AI_AP([\d]+?)\]\]/", "<section class='$class'>" . ($ai_wp_data [AI_MBSTRING_LOADED] ? mb_strtoupper (AI_TEXT_AFTER_PARAGRAPH) : strtoupper (AI_TEXT_AFTER_PARAGRAPH)) . " $1</section>", $content);
5818
 
 
 
5819
  $counter = $ad_inserter_globals [$globals_name];
5820
  if ($counter == 1) $counter = '';
5821
 
@@ -6455,7 +6611,7 @@ function ai_process_shortcode (&$block, $atts) {
6455
  $block = intval ($parameters ['block']);
6456
  } elseif ($parameters ['name'] != '') {
6457
  $shortcode_name = strtolower ($parameters ['name']);
6458
- for ($counter = 1; $counter <= AD_INSERTER_BLOCKS; $counter ++) {
6459
  $obj = $block_object [$counter];
6460
  $ad_name = strtolower (trim ($obj->get_ad_name()));
6461
  if ($shortcode_name == $ad_name) {
@@ -6515,7 +6671,7 @@ function ai_process_shortcode (&$block, $atts) {
6515
  }
6516
 
6517
  $ai_last_check = AI_CHECK_SHORTCODE_ATTRIBUTES;
6518
- if ($block < 1 || $block > AD_INSERTER_BLOCKS) return "";
6519
 
6520
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) ai_log ("SHORTCODE $block (".($parameters ['block'] != '' ? 'block="'.$parameters ['block'].'"' : '').($parameters ['name'] != '' ? 'name="'.$parameters ['name'].'"' : '').")");
6521
 
@@ -6665,7 +6821,7 @@ function ai_widget_draw ($args, $instance, &$block) {
6665
  $sticky = isset ($instance ['sticky']) ? $instance ['sticky'] : 0;
6666
 
6667
  if ($block == 0 || $block == - 2) {
6668
- if (($ai_wp_data [AI_WP_USER] & AI_USER_ADMINISTRATOR) != 0 || defined ('AI_DEBUGGING_DEMO')) {
6669
  ai_special_widget ($args, $instance, $block);
6670
  }
6671
  return;
@@ -6673,7 +6829,7 @@ function ai_widget_draw ($args, $instance, &$block) {
6673
 
6674
  if ($sticky) {
6675
  $ai_wp_data [AI_STICKY_WIDGETS] = true;
6676
- if ($block == - 1) {
6677
  $before_widget = $args ['before_widget'];
6678
  ai_add_attr_data ($before_widget, 'style', 'padding: 0; border: 0; margin: 0; color: transparent; background: transparent;');
6679
  ai_add_attr_data ($before_widget, 'class', 'ai-sticky-widget');
@@ -6683,7 +6839,7 @@ function ai_widget_draw ($args, $instance, &$block) {
6683
  }
6684
  }
6685
 
6686
- if ($block < 1 || $block > AD_INSERTER_BLOCKS) return;
6687
 
6688
  $title = !empty ($instance ['widget-title']) ? $instance ['widget-title'] : '';
6689
 
@@ -6763,7 +6919,7 @@ function ai_widget_draw ($args, $instance, &$block) {
6763
 
6764
  echo $args ['after_widget'];
6765
 
6766
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && $obj->get_detection_client_side())
6767
  echo $obj->get_code_for_serverside_insertion (false, true);
6768
 
6769
  $ai_last_check = AI_CHECK_INSERTED;
@@ -6924,7 +7080,7 @@ function ai_special_widget ($args, $instance, $block) {
6924
  echo "</pre>";
6925
 
6926
  if ($ai_wp_data [AI_CLIENT_SIDE_DETECTION]) {
6927
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
6928
  $viewport_name = get_viewport_name ($viewport);
6929
  if ($viewport_name != '') {
6930
  echo "<pre class='ai-viewport-" . $viewport ."' style='", AI_DEBUG_WIDGET_STYLE, "'>\n";
@@ -6993,9 +7149,13 @@ function check_url_parameter_and_cookie_list ($url_parameters, $white_list) {
6993
 
6994
  function check_check_referer_list ($referers, $white_list) {
6995
 
6996
- if (isset ($_SERVER['HTTP_REFERER'])) {
 
 
 
6997
  $referer_host = strtolower (parse_url ($_SERVER['HTTP_REFERER'], PHP_URL_HOST));
6998
- } else $referer_host = '';
 
6999
 
7000
  $return = $white_list;
7001
 
@@ -7007,6 +7167,20 @@ function check_check_referer_list ($referers, $white_list) {
7007
  $domain = trim ($domain);
7008
  if ($domain == "") continue;
7009
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7010
  if ($domain == "#") {
7011
  if ($referer_host == "") return $return;
7012
  } elseif ($domain == $referer_host) return $return;
@@ -7194,7 +7368,7 @@ if (!is_admin()) {
7194
  }
7195
 
7196
  // Version check
7197
- global $wp_version, $version_string;
7198
 
7199
  if (version_compare ($wp_version, "4.0", "<")) {
7200
  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>');
@@ -7208,7 +7382,9 @@ require_once AD_INSERTER_PLUGIN_DIR.'settings.php';
7208
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0)
7209
  ai_log ("AFTER REQUIRE: ". number_format (1000 * (microtime (true) - $start_time), 2)." ms");
7210
 
7211
- $version_array = explode (".", AD_INSERTER_VERSION);
 
 
7212
  $version_string = "";
7213
  foreach ($version_array as $number) {
7214
  $version_string .= sprintf ("%02d", $number);
@@ -7233,6 +7409,7 @@ $ai_wp_data [AI_STICKY_WIDGETS] = false;
7233
  $ai_wp_data [AI_STICK_TO_THE_CONTENT] = false;
7234
  $ai_wp_data [AI_ANIMATION] = false;
7235
  $ai_wp_data [AI_CLOSE_BUTTONS] = false;
 
7236
  $ai_wp_data [AI_DISABLE_CACHING] = false;
7237
  $ai_wp_data [AI_CLIENT_SIDE_INSERTION] = false;
7238
  $ai_wp_data [AI_LAZY_LOADING] = false;
@@ -7242,6 +7419,7 @@ $ai_wp_data [AI_HTML_ELEMENT_SELECTION] = isset ($_POST ['html_element_selection
7242
  $ai_wp_data [AI_MBSTRING_LOADED] = extension_loaded ('mbstring');
7243
  $ai_wp_data [AI_PROCESSING_TIME] = false;
7244
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = false;
 
7245
 
7246
  ai_load_settings ();
7247
 
@@ -7512,7 +7690,7 @@ if (!class_exists ('ai_widget')) {
7512
 
7513
  $widget_title = !empty ($instance ['widget-title']) ? $instance ['widget-title'] : '';
7514
  $block = isset ($instance ['block']) ? $instance ['block'] : 1;
7515
- if ($block > AD_INSERTER_BLOCKS) $block = 1;
7516
  $sticky = isset ($instance ['sticky']) ? $instance ['sticky'] : 0;
7517
 
7518
  // translators: widget title
@@ -7546,7 +7724,7 @@ if (!class_exists ('ai_widget')) {
7546
  <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>
7547
  <select id="<?php echo $this->get_field_id ('block'); ?>" name="<?php echo $this->get_field_name('block'); ?>" style="width: 100%;">
7548
  <?php
7549
- for ($block_index = 1; $block_index <= AD_INSERTER_BLOCKS; $block_index ++) {
7550
  $obj = $block_object [$block_index];
7551
  ?>
7552
  <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>
@@ -7610,7 +7788,7 @@ if (!class_exists ('ai_widget')) {
7610
  </div>
7611
  <div class="ai-notice-element" style="width: 100%; padding: 0 10px 0;">
7612
  <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>
7613
- <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>
7614
  </div>
7615
  </div>
7616
  <?php
2
 
3
  /*
4
  Plugin Name: Ad Inserter
5
+ Version: 2.4.6
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/
15
 
16
  Change Log
17
 
18
+ Ad Inserter 2.4.6 - 2019-01-08
19
+ - Improved ad blocking detection (detects Firefox content blocking)
20
+ - Added support for wildcards for referrers (domains)
21
+ - Added debugging notice when JavaScript errors are detected
22
+ - Added support to load blocks in iframes (Pro only)
23
+ - Added geolocation support for country subdivisions and cities (Pro only)
24
+ - Added option to hide license key on client websites (Pro only)
25
+ - Few minor bug fixes, cosmetic changes and code improvements
26
+
27
  Ad Inserter 2.4.5 - 2018-12-26
28
  - Added support for AMP WP - Google AMP For WordPress
29
  - Added support to individually disable insertions for debugging purposes
30
+ - Improved HTML element selection tool
31
  - Fix for Call to undefined function wp_get_current_user()
32
  - Few minor bug fixes, cosmetic changes and code improvements
33
 
309
  );
310
 
311
  $paragraph_blocks = array ();
312
+ for ($block = 0; $block <= 96; $block ++) {
313
  $obj = $block_object [$block];
314
  $automatic_insertion = $obj->get_automatic_insertion();
315
  if ($block == 0 || !$obj->get_disable_insertion () && ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH || $automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH)) {
500
  function ai_block_insertion_status ($block, $ai_last_check) {
501
  global $block_object;
502
 
503
+ if ($block < 1 || $block > 96) $block = 0;
504
 
505
  if ($ai_last_check == AI_CHECK_INSERTED) return "INSERTED";
506
  $status = "FAILED CHECK: ";
545
  case AI_CHECK_MAX_PAGE_BLOCKS: $status .= "MAX PAGE BLOCKS " . get_max_page_blocks (); break;
546
  case AI_CHECK_FILTER: $status .= ($obj->get_inverted_filter() ? 'INVERTED ' : '') . "FILTER " . $obj->get_call_filter(); break;
547
  case AI_CHECK_PARAGRAPH_COUNTING: $status .= "PARAGRAPH COUNTING"; break;
548
+ case AI_CHECK_IMAGE_COUNTING: $status .= "IMAGE COUNTING"; break;
549
  case AI_CHECK_MIN_NUMBER_OF_WORDS: $status .= "MIN NUMBER OF WORDS " . intval ($obj->get_minimum_words()); break;
550
  case AI_CHECK_MAX_NUMBER_OF_WORDS: $status .= "MAX NUMBER OF WORDS " . (intval ($obj->get_maximum_words()) == 0 ? 1000000 : intval ($obj->get_maximum_words())); break;
551
  case AI_CHECK_DEBUG_NO_INSERTION: $status .= "DEBUG NO INSERTION"; break;
1000
  echo $matches [0], $matches [1];
1001
 
1002
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
1003
+ $class = AI_DEBUG_STATUS_CLASS.' status-ok';
1004
  // translators: Debugging message when output buffering is enabled
1005
  echo "<section class='$class'>" . __('OUTPUT BUFFERING', 'ad-inserter') . '</section>';
1006
  }
1180
  if (isset ($_GET [AI_URL_DEBUG_POSITIONS])) {
1181
  if ($_GET [AI_URL_DEBUG_POSITIONS] !== '' && $url_debugging) $ai_wp_data [AI_WP_DEBUGGING] |= AI_DEBUG_POSITIONS; else $ai_wp_data [AI_WP_DEBUGGING] &= ~AI_DEBUG_POSITIONS;
1182
  if (is_numeric ($_GET [AI_URL_DEBUG_POSITIONS])) $ai_wp_data [AI_WP_DEBUG_BLOCK] = intval ($_GET [AI_URL_DEBUG_POSITIONS]);
1183
+ if ($ai_wp_data [AI_WP_DEBUG_BLOCK] < 0 || $ai_wp_data [AI_WP_DEBUG_BLOCK] > 96) $ai_wp_data [AI_WP_DEBUG_BLOCK] = 0;
1184
  }
1185
 
1186
  if (!defined ('AI_DEBUGGING_DEMO')) {
1207
  ((get_remote_debugging () && ($ai_wp_data [AI_WP_DEBUGGING] != 0 || (isset ($_GET [AI_URL_DEBUG]) && $_GET [AI_URL_DEBUG] == 1))) ||
1208
  defined ('AI_DEBUGGING_DEMO'))) {
1209
  function ai_login_adminbar ($wp_admin_bar) {
1210
+ $wp_admin_bar->add_menu (array ('id' => 'ai-toolbar-login', 'title' => _x('Log In', 'Menu item', 'ad-inserter'), 'href' => wp_login_url()));
1211
  }
1212
 
1213
  add_filter ('show_admin_bar', '__return_true', 999999);
1365
  };
1366
 
1367
  function ai_load_plugin_textdomain_hook () {
1368
+ unload_textdomain ('ad-inserter');
1369
  load_plugin_textdomain ('ad-inserter', false, basename (dirname (__FILE__)) . '/languages/');
1370
  }
1371
 
1429
  //}
1430
 
1431
  function ai_load_extract ($recreate = true) {
1432
+ global $ai_db_options, $ai_db_options_extract, $version_string, $subversion_string;
1433
 
1434
+ if (isset ($ai_db_options_extract)) return true;
1435
 
1436
+ $expected_extract_version = $version_string . $subversion_string . '-' . '96';
1437
 
1438
  if (isset ($ai_db_options [AI_OPTION_EXTRACT]['VERSION']) && $ai_db_options [AI_OPTION_EXTRACT]['VERSION'] == $expected_extract_version) {
1439
  $ai_db_options_extract = $ai_db_options [AI_OPTION_EXTRACT];
1440
+ return true;
1441
  } else {
1442
  if (($saved_extract = get_option (AI_EXTRACT_NAME)) === false || $saved_extract ['VERSION'] != $expected_extract_version) {
1443
  if ($recreate) {
1445
  $ai_db_options [AI_OPTION_EXTRACT] = $ai_db_options_extract;
1446
  if (get_option (AI_OPTION_NAME) !== false)
1447
  update_option (AI_EXTRACT_NAME, $ai_db_options_extract);
1448
+ return true;
1449
  }
1450
  } else {
1451
  $ai_db_options_extract = $saved_extract;
1452
  $ai_db_options [AI_OPTION_EXTRACT] = $ai_db_options_extract;
1453
+ return true;
1454
  }
1455
  }
1456
+ return false;
1457
  }
1458
 
1459
  function ai_wp_loaded_hook () {
1561
  global $ai_settings_page;
1562
 
1563
  if ($hook_suffix == $ai_settings_page) {
1564
+ // wp_enqueue_style ('ai-admin-css', plugins_url ('css/ad-inserter.css', __FILE__), array (), AD_INSERTER_VERSION);
1565
+ wp_enqueue_style ('ai-admin-css', plugins_url ('css/ai-settings.css', __FILE__), array (), AD_INSERTER_VERSION);
1566
  wp_add_inline_style ('ai-admin-css', '.notice {margin: 5px 15px 15px 0;}');
1567
  }
1568
  }
1653
  wp_add_inline_script ('ai-jquery-js', 'ai_debugging = true;');
1654
  }
1655
 
1656
+ if (!get_disable_js_code () && $ai_wp_data [AI_CLIENT_SIDE_INSERTION] && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1657
  wp_add_inline_script ('ai-jquery-js', ai_get_js ('ai-insert', false));
1658
  }
1659
 
1689
  function add_head_inline_styles () {
1690
  global $ai_wp_data;
1691
 
1692
+ if (get_disable_css_code ()) return; // Needed for iframes? $ai_wp_data [AI_CODE_FOR_IFRAME]
1693
 
1694
  if ($ai_wp_data [AI_CLIENT_SIDE_DETECTION] ||
1695
  get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW ||
1703
 
1704
  echo "<style type='text/css'>\n";
1705
 
1706
+ if ($ai_wp_data [AI_CLIENT_SIDE_DETECTION] && !$ai_wp_data [AI_CODE_FOR_IFRAME]) echo get_viewport_css ();
1707
 
1708
  if (get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW || get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT || isset ($ai_wp_data [AI_CLIENT_SIDE_ROTATION])) {
1709
  echo ai_get_client_side_styles ();
1711
  $ai_wp_data [AI_CLIENT_SIDE_CSS] = true;
1712
  }
1713
 
1714
+ if ($ai_wp_data [AI_CLOSE_BUTTONS] && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1715
  echo ".ai-close {position: relative;}\n";
1716
  // echo ".ai-close-width {width: auto !important;}\n";
1717
  echo ".ai-close-button {position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; background: url(".plugins_url ('css/images/close-button.png', AD_INSERTER_FILE).") no-repeat center center; cursor: pointer; z-index: 9; display: none;}\n";
1720
  echo ".ai-close-bottom {top: unset; bottom: -11px;}\n";
1721
  }
1722
 
1723
+ // Before alignment CSS to not override alignment margin
1724
+ if ($ai_wp_data [AI_WP_DEBUGGING] != 0) generate_debug_css_base ();
1725
+
1726
+ if (!get_inline_styles () && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1727
  echo get_alignment_css ();
1728
  }
1729
 
1730
  // After alignment CSS to override width
1731
+ if ($ai_wp_data [AI_CLOSE_BUTTONS] && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1732
  echo ".ai-close-fit {width: fit-content; width: -moz-fit-content;}\n";
1733
  }
1734
 
1736
 
1737
  if ($ai_wp_data [AI_HTML_ELEMENT_SELECTION]) generate_selection_css ();
1738
 
1739
+ if (((get_admin_toolbar_debugging () && (get_remote_debugging () || ($ai_wp_data [AI_WP_USER] & AI_USER_LOGGED_IN) != 0)) || defined ('AI_DEBUGGING_DEMO')) && !$ai_wp_data [AI_CODE_FOR_IFRAME])
1740
  echo "#wp-admin-bar-ai-toolbar-settings .ab-icon:before {
1741
  content: '\\f111';
1742
  top: 2px;
1796
  }
1797
  #wp-admin-bar-ai-toolbar-settings .ab-sub-wrapper {
1798
  width: max-content;
1799
+ width: -moz-max-content;
1800
  }
1801
  ";
1802
+ if (get_admin_toolbar_mobile () && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1803
  echo "@media screen and (max-width: 782px) {
1804
  #wpadminbar #wp-admin-bar-ai-toolbar-settings {
1805
  display: block;
1917
  if ($redirection_page != 0) $url = get_permalink ($redirection_page); else $url = trim (get_custom_redirection_url ());
1918
  $js = str_replace ('AI_ADB_REDIRECTION_PAGE', $url, $js);
1919
 
1920
+ if (($ai_wp_data [AI_WP_DEBUGGING] & (AI_DEBUG_AD_BLOCKING_STATUS | AI_DEBUG_POSITIONS | AI_DEBUG_BLOCKS)) != 0) {
1921
  // translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
1922
+ $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') . '");$("#ai-adb-bar").addClass ("adb-on");', $js);
1923
+ $js = str_replace ('var AI_ADB_STATUS_MESSAGE=2;', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION', 'ad-inserter') . '");$("#ai-adb-bar").addClass ("adb-on");', $js);
1924
+ $js = str_replace ('var AI_ADB_STATUS_MESSAGE=3;', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED - ACTION', 'ad-inserter') . '");$("#ai-adb-bar").addClass ("adb-on");', $js);
1925
+ $js = str_replace ('var AI_ADB_STATUS_MESSAGE=4;', 'jQuery("#ai-adb-status").text ("' . __('AD BLOCKING NOT DETECTED', 'ad-inserter') . '");jQuery("#ai-adb-bar").addClass ("adb-off");', $js);
1926
+ $js = str_replace ('var AI_ADB_STATUS_MESSAGE=5;', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTION COOKIES DELETED', 'ad-inserter') . '");', $js);
1927
+ $js = str_replace ('var AI_ADB_STATUS_MESSAGE=6;', '$("#ai-adb-status").text ("' . __('AD BLOCKING DETECTED - NO ACTION', 'ad-inserter') . '");$("#ai-adb-bar").addClass ("adb-on");', $js);
1928
  } else {
1929
  $js = str_replace ('var AI_ADB_STATUS_MESSAGE=1', '', $js);
1930
  $js = str_replace ('var AI_ADB_STATUS_MESSAGE=2', '', $js);
1944
  if (defined ('AI_STATISTICS') && AI_STATISTICS) {
1945
  $js = str_replace ('AI_INTERNAL_TRACKING', get_internal_tracking () == AI_ENABLED ? 1 : 0, $js);
1946
  $js = str_replace ('AI_EXTERNAL_TRACKING', get_external_tracking () == AI_ENABLED ? 1 : 0, $js);
1947
+ $js = str_replace ('AI_TRACK_PAGEVIEWS', get_track_pageviews () == AI_TRACKING_ENABLED && $ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX && !$ai_wp_data [AI_CODE_FOR_IFRAME] ? 1 : 0, $js);
1948
  $js = str_replace ('AI_ADVANCED_CLICK_DETECTION', get_click_detection () == AI_CLICK_DETECTION_ADVANCED ? 1 : 0, $js);
1949
 
1950
  if (!isset ($ai_wp_data [AI_VIEWPORTS])) {
1951
  $viewports = array ();
1952
  $viewport_names = array ();
1953
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
1954
  $viewport_name = get_viewport_name ($viewport);
1955
  $viewport_width = get_viewport_width ($viewport);
1956
  if ($viewport_name != '') {
1986
  if ($ai_wp_data [AI_ADB_DETECTION]) {
1987
  if (function_exists ('add_footer_inline_scripts_1')) add_footer_inline_scripts_1 (); else {
1988
  echo '<div id="banner-advert-container" class="ad-inserter chitika-ad" style="position:absolute; z-index: -10; height: 1px; width: 1px; top: -1px; left: -1px;"><img id="adsense" class="SponsorAds adsense" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"></div>', "\n";
1989
+ echo '<!-- Scripts for ad blocking detection -->', "\n";
1990
  echo '<!--noptimize-->', "\n";
1991
+ echo '<script async src="https://www.google-analytics.com/analytics.js"></script>', "\n";
1992
+ echo '<script async src="//contextual.media.net/dmedianet.js"></script>', "\n";
1993
  echo "<script type='text/javascript' src='", plugins_url ('js/ads.js', __FILE__ ), "?ver=", AD_INSERTER_VERSION, "'></script>\n";
1994
  echo "<script type='text/javascript' src='", plugins_url ('js/sponsors.js', __FILE__ ), "?ver=", AD_INSERTER_VERSION, "'></script>\n";
1995
  echo '<!--/noptimize-->', "\n";
2026
 
2027
  if ($footer_inline_scripts) echo "<script>\n";
2028
 
2029
+
2030
  $client_side_dynamic_blocks = get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW || get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT;
2031
 
2032
+ if (function_exists ('add_footer_inline_scripts_2') && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2033
  if ($ai_wp_data [AI_LAZY_LOADING]) {
2034
  echo ai_get_js ('ai-load');
2035
  }
2047
  echo ai_get_js ('ai-lists');
2048
  }
2049
 
2050
+ if ($ai_wp_data [AI_STICKY_WIDGETS] && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2051
  echo ai_get_js ('ai-sidebar');
2052
  }
2053
 
2054
+ if ($ai_wp_data [AI_CLOSE_BUTTONS] && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2055
  echo ai_get_js ('ai-close');
2056
  }
2057
 
2059
  echo ai_get_js ('ai-select');
2060
  }
2061
 
2062
+ if ($ai_wp_data [AI_CLIENT_SIDE_INSERTION] && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2063
  echo 'setTimeout (function() {Array.prototype.forEach.call (document.querySelectorAll (".ai-viewports"), function (element, index) {ai_insert_viewport (element);});}, 10);', PHP_EOL;
2064
  }
2065
 
2278
  echo '</thead>';
2279
  echo '<tbody>';
2280
  $rows = 0;
2281
+ for ($block = 1; $block <= 96; $block ++) {
2282
  $obj = $block_object [$block];
2283
 
2284
  if ($post_type == 'page') {
2384
  /* OK, it's safe for us to save the data now. */
2385
 
2386
  $selected = array ();
2387
+ for ($block = 1; $block <= 96; $block ++) {
2388
  $option_name = 'adinserter_selected_block_' . $block;
2389
  if (isset ($_POST [$option_name]) && $_POST [$option_name]) $selected []= $block;
2390
  }
2457
  function ai_header_noindex () {
2458
  global $ai_wp_data;
2459
 
2460
+ if ($ai_wp_data [AI_WP_DEBUGGING] != 0 || $ai_wp_data [AI_CODE_FOR_IFRAME]) {
2461
+ echo '<meta name="robots" content="noindex">';
2462
+ if ($ai_wp_data [AI_WP_DEBUGGING] != 0) {
2463
+ echo ' <!-- ', AD_INSERTER_NAME, ' debugging enabled (', substr ('00000000' . strtoupper (decbin ($ai_wp_data [AI_WP_DEBUGGING])), - 8), ') -->';
2464
+ }
2465
+ echo "\n";
2466
  }
2467
  }
2468
 
2518
  }
2519
 
2520
  function ai_wp_head_hook () {
2521
+ global $block_object, $ai_wp_data, $ai_total_plugin_time, $ai_front_translations;
2522
 
2523
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
2524
  ai_log ("HEAD HOOK START");
2526
  $start_time = microtime (true);
2527
  }
2528
 
2529
+ if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & (AI_DEBUG_POSITIONS | AI_DEBUG_BLOCKS)) != 0) {
2530
+ echo "\n<script>
2531
+ ai_js_errors = [];
2532
+ window.onerror = function (errorMsg, url, lineNumber) {
2533
+ ai_js_errors.push ([errorMsg, url, lineNumber]);
2534
+ };
2535
+ </script>\n";
2536
+ }
2537
+
2538
  $ai_wp_data [AI_CONTEXT] = AI_CONTEXT_NONE;
2539
 
2540
  ai_header_noindex ();
2579
  }
2580
  }
2581
 
2582
+ if (!$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2583
+ if (!get_disable_js_code () && $ai_wp_data [AI_WP_DEBUGGING] != 0 && isset ($_GET ['ai-debug-code']) && !defined ('AI_DEBUGGING_DEMO')) {
2584
+ if (is_numeric ($_GET ['ai-debug-code']) && $_GET ['ai-debug-code'] >= 1 && $_GET ['ai-debug-code'] <= 96) {
2585
+ $obj = $block_object [$_GET ['ai-debug-code']];
2586
+ $block_name = $obj->number . ' &nbsp; ' . $obj->get_ad_name ();
2587
+ if (!$header->get_debug_disable_insertion ()) {
2588
+ $ai_wp_debugging = $ai_wp_data [AI_WP_DEBUGGING];
2589
+ $ai_wp_data [AI_WP_DEBUGGING] = 0;
2590
+ $code_for_insertion = $obj->get_code_for_insertion ();
2591
+ $ai_wp_data [AI_WP_DEBUGGING] = $ai_wp_debugging;
2592
+ } else $code_for_insertion = '';
2593
+ echo "<script>\n";
2594
+ echo " jQuery(document).ready(function($) {
2595
+ $('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) . "\");
2596
  });
2597
+ </script>\n";
2598
+ }
2599
  }
2600
+
2601
+ if (!get_disable_js_code () && $ai_wp_data [AI_IFRAMES]) {
2602
+ echo "<script>\n";
2603
+ echo 'function ai_resize_iframe (iframe) {
2604
+ function getDocHeight (doc) {
2605
+ doc = doc || document;
2606
+ // from http://stackoverflow.com/questions/1145850/get-height-of-entire-document-with-javascript
2607
+ var body = doc.body, html = doc.documentElement;
2608
+ var height = Math.max (body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);
2609
+ return height;
2610
  }
2611
 
2612
+ function resizeIframe (iframe) {
2613
+ var doc = iframe.contentDocument ? iframe.contentDocument : iframe.contentWindow.document;
2614
+ iframe.style.visibility = "hidden";
2615
+ iframe.style.height = "10px"; // reset to minimal height ...
2616
+ // IE opt. for bing/msn needs a bit added or scrollbar appears
2617
+ iframe.style.height = getDocHeight (doc) + "px";
2618
+ iframe.style.visibility = "visible";
2619
  }
2620
 
2621
+ setTimeout (function(){resizeIframe (iframe);}, 200);
2622
+ }
2623
+ ';
2624
+ echo "</script>\n";
2625
+ }
2626
+
2627
+ if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
2628
+ echo '<script>
2629
+ jQuery(document).ready(function($) {
2630
+ setTimeout (function(){$("body").prepend ("', get_page_type_debug_info (), '");}, 1);
2631
+ });
2632
+ </script>', "\n";
2633
+ }
2634
+
2635
+ if (!get_disable_js_code () && !get_disable_header_code () && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !defined ('AI_DEBUGGING_DEMO')) {
2636
  echo "<script>\n";
2637
  echo " jQuery(document).ready(function($) {
2638
+ $('body').prepend (\"" . get_code_debug_block (' ' . __('Header code', 'ad-inserter') . ' ' . ($header->get_enable_manual () ? '' : ' ' . _x('DISABLED', 'Header code', 'ad-inserter')), '&lt;head&gt;...&lt;/head&gt;', strlen ($header_code) . ' ' . _n('character inserted', 'characters inserted', strlen ($header_code), 'ad-inserter') . ' ', $header->ai_getCode (), $header_code, true) . "\");
2639
+ });
2640
+ </script>\n";
2641
  }
2642
  }
2643
 
2644
+ // After Header code info
2645
+ if (!$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2646
+ if (defined ('AI_ADBLOCKING_DETECTION') && AI_ADBLOCKING_DETECTION) {
2647
+ // No scripts on AMP pages
2648
+ // if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_AD_BLOCKING_STATUS) != 0 && $ai_wp_data [AI_ADB_DETECTION] && !$ai_wp_data [AI_WP_AMP_PAGE]) {
2649
+ if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & (AI_DEBUG_AD_BLOCKING_STATUS | AI_DEBUG_POSITIONS | AI_DEBUG_BLOCKS)) != 0 && $ai_wp_data [AI_ADB_DETECTION] /*&& !$ai_wp_data [AI_WP_AMP_PAGE]*/) {
2650
+ echo "<script>
2651
+ jQuery(document).ready(function($) {
2652
+ $('body').prepend (\"", get_adb_status_debug_info () , "\");
2653
+ });
2654
+ </script>\n";
2655
+ }
2656
+ }
2657
  }
2658
 
2659
+ if (!get_disable_js_code () && defined ('AI_ADSENSE_OVERLAY') && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !(isset ($_GET ["hide-debug-labels"]) && $_GET ["hide-debug-labels"] == 1)) {
2660
  echo "<script>\n";
2661
  echo ai_get_js ('ai-ads');
2662
  echo "</script>\n";
2664
 
2665
  if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
2666
  echo "<script>
2667
+ jQuery(window).on ('load', function () {
2668
  setTimeout (function() {
2669
+ var google_auto_placed = jQuery ('.google-auto-placed ins ins iframe');
2670
+ google_auto_placed.before ('<section class=\"ai-debug-bar ai-debug-adsense ai-adsense-auto-ads\">",
2671
  __('Automatically placed by AdSense Auto ads code', 'ad-inserter'),
2672
  "</section>');
2673
+ }, 50);
2674
  });
2675
  </script>\n";
2676
  }
2677
 
2678
+ if (!get_disable_js_code () && $ai_wp_data [AI_CODE_FOR_IFRAME]) {
2679
+ $object_name = 'ai_front';
2680
+ $l10n = $ai_front_translations;
2681
+
2682
+ echo '<script type="text/javascript">
2683
+ /* <![CDATA[ */
2684
+ ';
2685
+
2686
+ foreach ($l10n as $key => $value) {
2687
+ if (!is_scalar ($value)) continue;
2688
+ $l10n [$key] = html_entity_decode ((string) $value, ENT_QUOTES, 'UTF-8');
2689
+ }
2690
+ echo "var $object_name = " . wp_json_encode ($l10n) . ";\n";
2691
+ echo '/* ]]> */
2692
+ ';
2693
+ if ($ai_wp_data [AI_FRONTEND_JS_DEBUGGING]) {
2694
+ echo 'var ai_debugging = true;', "\n";
2695
+ }
2696
+
2697
+ echo '</script>', "\n";
2698
+ }
2699
+
2700
  if (defined ('AI_BUFFERING')) {
2701
  if (get_output_buffering ()) {
2702
+ if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2703
  ai_buffering_start ();
2704
  }
2705
  }
2776
  if (defined ('AI_AMP_HEADER_STYLES') && AI_AMP_HEADER_STYLES || $ai_wp_data [AI_WP_DEBUGGING] != 0) {
2777
 
2778
  if (defined ('AI_AMP_HEADER_STYLES') && AI_AMP_HEADER_STYLES) {
2779
+ if ($ai_wp_data [AI_WP_DEBUGGING] != 0) generate_debug_css_base ();
2780
+
2781
  echo get_alignment_css ();
2782
 
2783
  echo ".ai-align-left * {margin: 0 auto 0 0; text-align: left;}\n";
2801
 
2802
  if (defined ('AI_BUFFERING')) {
2803
  if (get_output_buffering ()) {
2804
+ if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2805
  ai_buffering_end ();
2806
  }
2807
  }
2844
  }
2845
  }
2846
 
2847
+ if (!(defined ('DOING_AJAX') && DOING_AJAX) || $ai_wp_data [AI_CODE_FOR_IFRAME]) {
2848
  add_footer_inline_scripts ();
2849
 
2850
  if (function_exists ('ai_add_footer_html')) {
2852
  }
2853
  }
2854
 
2855
+ if (!$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2856
+ if (!get_disable_footer_code () && ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !defined ('AI_DEBUGGING_DEMO')) {
2857
+ echo get_code_debug_block (' ' . __('Footer code', 'ad-inserter') . ' ' . ($footer->get_enable_manual () ? '' : ' ' . _x('DISABLED', 'Footer code', 'ad-inserter')), '...&lt;/body&gt;', strlen ($footer_code).' ' . _n('character inserted', 'characters inserted', strlen ($footer_code), 'ad-inserter'), $footer->ai_getCode (), $footer_code);
2858
+ }
2859
 
2860
+ if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & (AI_DEBUG_POSITIONS | AI_DEBUG_BLOCKS)) != 0) {
2861
+ $class_0 = AI_DEBUG_STATUS_CLASS.' status-error';
2862
+ $class_1 = AI_DEBUG_STATUS_CLASS.' status-ok';
2863
+ $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;'>" . __('NO JAVASCRIPT ERRORS', 'ad-inserter') . "</section><section class='ai-js-2 $class_0' style='display: none;'>" . __('JAVASCRIPT ERRORS', 'ad-inserter') . "</section>";
 
 
 
2864
 
2865
+ echo "<script>
2866
+ jQuery(document).ready(function($) {
2867
+ $('body').prepend (\"", $javascript_text, "\");
2868
+ $('.ai-js-0').hide ();
2869
+ if (ai_js_errors.length != 0) {
2870
+ $('.ai-js-2').show ();
2871
+ } else {
2872
+ $('.ai-js-1').show ();
2873
+ }
2874
+ });
2875
+ </script>\n";
2876
+
2877
+ echo $javascript_text , "\n";
2878
+ echo get_page_type_debug_info () , "\n";
2879
+ }
2880
 
 
 
2881
  }
2882
 
2883
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
2941
  }
2942
 
2943
  function ai_write_debug_info ($write_processing_log = false) {
2944
+ global $block_object, $ai_last_time, $ai_total_plugin_time, $ai_total_php_time, $ai_processing_log, $ai_db_options_extract, $ai_wp_data, $ai_db_options, $block_insertion_log, $ai_custom_hooks, $version_string, $subversion_string;
2945
 
2946
  echo sprintf ("%-25s%s", AD_INSERTER_NAME, AD_INSERTER_VERSION);
2947
  if (function_exists ('ai_debug_header')) ai_debug_header ();
2978
  echo "SETTINGS TIMESTAMP: ";
2979
  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";
2980
 
2981
+ $expected_extract_version = $version_string . $subversion_string . '-' . '96';
2982
  $extract_source = '';
2983
  $saved_settings = get_option (AI_OPTION_NAME);
2984
  if (isset ($saved_settings [AI_OPTION_EXTRACT]['VERSION']) && $saved_settings [AI_OPTION_EXTRACT]['VERSION'] == $expected_extract_version) {
2990
  }
2991
  echo "SETTINGS EXTRACT: ";
2992
  if (isset ($saved_extract ['VERSION'])) {
2993
+ $extract_subversion_blocks = explode ('-', $saved_extract ['VERSION']);
2994
+ array_shift ($extract_subversion_blocks);
2995
  echo (int) ($saved_extract ['VERSION'][0].$saved_extract ['VERSION'][1]), '.',
2996
  (int) ($saved_extract ['VERSION'][2].$saved_extract ['VERSION'][3]), '.',
2997
+ (int) ($saved_extract ['VERSION'][4].$saved_extract ['VERSION'][5]), '-', implode ('-', $extract_subversion_blocks);
2998
  }
2999
  echo"\n";
3000
  echo "EXTRACT TIMESTAMP: ";
3097
  if (function_exists ('ai_debug')) ai_debug ();
3098
 
3099
  if ($ai_wp_data [AI_CLIENT_SIDE_DETECTION] || 1) {
3100
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
3101
  $viewport_name = get_viewport_name ($viewport);
3102
  $viewport_width = get_viewport_width ($viewport);
3103
  if ($viewport_name != '') {
3123
  $hook = $ai_custom_hook ['index'];
3124
  $enabled_custom_hooks [] = $ai_custom_hook ['action'];
3125
  }
3126
+ for ($hook = 1; $hook <= 8; $hook ++) {
3127
  $name = str_replace (array ('&lt;', '&gt;'), array ('<', '>'), get_hook_name ($hook));
3128
  $action = get_hook_action ($hook);
3129
  if (get_hook_enabled ($hook) /*&& $name != '' && $action != ''*/) {
3224
  $default = new ai_Block (1);
3225
 
3226
  echo "BLOCK SETTINGS Po Pa Hp Cp Ap Sp AM Aj Fe 404 Wi Sh PHP\n";
3227
+ for ($block = 1; $block <= 96; $block ++) {
3228
  $obj = $block_object [$block];
3229
 
3230
  $settings = "";
3643
  if (!isset ($plugin_options ['DISABLE_HEADER_CODE'])) $plugin_options ['DISABLE_HEADER_CODE'] = DEFAULT_DISABLE_HEADER_CODE;
3644
  if (!isset ($plugin_options ['DISABLE_FOOTER_CODE'])) $plugin_options ['DISABLE_FOOTER_CODE'] = DEFAULT_DISABLE_FOOTER_CODE;
3645
 
3646
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
3647
  $viewport_name_option_name = 'VIEWPORT_NAME_' . $viewport;
3648
  $viewport_width_option_name = 'VIEWPORT_WIDTH_' . $viewport;
3649
 
3687
  } else $plugin_options [$viewport_width_option_name] = '';
3688
  }
3689
 
3690
+ for ($hook = 1; $hook <= 8; $hook ++) {
3691
  $hook_enabled_settins_name = 'HOOK_ENABLED_' . $hook;
3692
  $hook_name_settins_name = 'HOOK_NAME_' . $hook;
3693
  $hook_action_settins_name = 'HOOK_ACTION_' . $hook;
3696
  if (!isset ($plugin_options [$hook_enabled_settins_name])) $plugin_options [$hook_enabled_settins_name] = AI_DISABLED;
3697
  if (!isset ($plugin_options [$hook_name_settins_name])) $plugin_options [$hook_name_settins_name] = '';
3698
  if (!isset ($plugin_options [$hook_action_settins_name])) $plugin_options [$hook_action_settins_name] = '';
3699
+ if (!isset ($plugin_options [$hook_priority_settins_name]) || !is_numeric ($plugin_options [$hook_priority_settins_name])) $plugin_options [$hook_priority_settins_name] = DEFAULT_CUSTOM_HOOK_PRIORITY;
3700
  }
3701
 
3702
  if (function_exists ('ai_check_options')) ai_check_options ($plugin_options);
4149
  global $ai_db_options, $ai_wp_data;
4150
 
4151
  if (!$saved_value) {
4152
+ if ($ai_wp_data [AI_CODE_FOR_IFRAME]) return AI_ADB_ACTION_NONE;
4153
  if (isset ($ai_wp_data [AI_ADB_SHORTCODE_ACTION])) return ($ai_wp_data [AI_ADB_SHORTCODE_ACTION]);
4154
  }
4155
 
4361
  }
4362
 
4363
  function ai_ajax () {
4364
+ global $ai_wp_data;
4365
 
4366
  // check_ajax_referer ("adinserter_data", "ai_check");
4367
  // check_admin_referer ("adinserter_data", "ai_check");
4374
 
4375
  elseif (isset ($_GET ["block"])) {
4376
  $block = sanitize_text_field ($_GET ["block"]);
4377
+ if (is_numeric ($block) && $block >= 1 && $block <= 96) {
4378
  global $block_object;
4379
  $block = $block_object [$block];
4380
+ if (isset ($_GET ["cookie_check"]) && $_GET ["cookie_check"] == 1) {
4381
+ $block->client_side_cookie_check = true;
4382
+ }
4383
+ if (isset ($_GET ["hide-debug-labels"]) && $_GET ["hide-debug-labels"] == 1) {
4384
+ $block->hide_debug_labels = true;
4385
+ }
4386
+ if ($block->get_iframe ())
4387
+ echo $block->get_iframe_page ();
4388
  }
4389
  }
4390
 
4403
 
4404
  if (isset ($_POST ["preview"])) {
4405
  $block = urldecode ($_POST ["preview"]);
4406
+ if (is_numeric ($block) && $block >= 1 && $block <= 96) {
4407
  require_once AD_INSERTER_PLUGIN_DIR.'includes/preview.php';
4408
 
4409
  $preview_parameters = array ();
4422
  if (isset ($_POST ['close'])) $preview_parameters ['close'] = $_POST ['close'];
4423
  if (isset ($_POST ['label'])) $preview_parameters ['label'] = $_POST ['label'];
4424
  if (isset ($_POST ['read_only'])) $preview_parameters ['read_only'] = $_POST ['read_only'];
4425
+ if (isset ($_POST ['iframe'])) $preview_parameters ['iframe'] = $_POST ['iframe'];
4426
 
4427
  generate_code_preview (
4428
  $block,
4471
  }
4472
 
4473
  elseif (isset ($_POST ["edit"])) {
4474
+ if (is_numeric ($_POST ["edit"]) && $_POST ["edit"] >= 1 && $_POST ["edit"] <= 96) {
4475
  require_once AD_INSERTER_PLUGIN_DIR.'includes/editor.php';
4476
  generate_code_editor ($_POST ["edit"], base64_decode ($_POST ["code"]), $_POST ["php"] == 1);
4477
  }
4479
 
4480
  if (isset ($_POST ["placeholder"])) {
4481
  $block = urldecode ($_POST ["block"]);
4482
+ if (is_numeric ($block) && $block >= 1 && $block <= 96) {
4483
  require_once AD_INSERTER_PLUGIN_DIR.'includes/placeholders.php';
4484
 
4485
  generate_placeholder_editor (str_replace (array ('"', "\\'"), array ('&quot', '&#039'), urldecode ($_POST ["placeholder"])), $block);
4624
  }
4625
 
4626
  function ai_generate_extract (&$settings) {
4627
+ global $ai_custom_hooks, $ai_wp_data, $version_string, $subversion_string;
4628
 
4629
  if (!defined ('AI_EXTRACT_GENERATED'))
4630
  define ('AI_EXTRACT_GENERATED', true);
4648
  $after_comments_hook_blocks = array (AI_PT_ANY => array (), AI_PT_HOMEPAGE => array(), AI_PT_CATEGORY => array(), AI_PT_SEARCH => array(), AI_PT_ARCHIVE => array(), AI_PT_STATIC => array(), AI_PT_POST => array(), AI_PT_404 => array(), AI_PT_FEED => array(), AI_PT_AJAX => array());
4649
  $footer_hook_blocks = array (AI_PT_ANY => array (), AI_PT_HOMEPAGE => array(), AI_PT_CATEGORY => array(), AI_PT_SEARCH => array(), AI_PT_ARCHIVE => array(), AI_PT_STATIC => array(), AI_PT_POST => array(), AI_PT_404 => array(), AI_PT_FEED => array(), AI_PT_AJAX => array());
4650
  $custom_hook_blocks = array ();
4651
+ for ($custom_hook = 1; $custom_hook <= 8; $custom_hook ++) {
4652
  $custom_hook_blocks [] = array (AI_PT_ANY => array (), AI_PT_HOMEPAGE => array(), AI_PT_CATEGORY => array(), AI_PT_SEARCH => array(), AI_PT_ARCHIVE => array(), AI_PT_STATIC => array(), AI_PT_POST => array(), AI_PT_404 => array(), AI_PT_FEED => array(), AI_PT_AJAX => array());
4653
  }
4654
 
4666
  if (isset ($widget_id [1]) && is_numeric ($widget_id [1])) {
4667
  $widget_option = $widget_options [$widget_id [1]];
4668
  $widget_block = $widget_option ['block'];
4669
+ if ($widget_block >= 1 && $widget_block <= 96) {
4670
  $widget_blocks [] = $widget_block;
4671
  }
4672
  }
4688
  $ai_wp_data [AI_STICK_TO_THE_CONTENT] = false;
4689
  $ai_wp_data [AI_TRACKING] = false;
4690
  $ai_wp_data [AI_CLOSE_BUTTONS] = false;
4691
+ $ai_wp_data [AI_IFRAMES] = false;
4692
  $ai_wp_data [AI_ANIMATION] = false;
4693
  $ai_wp_data [AI_LAZY_LOADING] = false;
4694
  $ai_wp_data [AI_GEOLOCATION] = false;
4695
 
4696
+ for ($block = 1; $block <= 96; $block ++) {
4697
 
4698
  if (!isset ($settings [$block])) continue;
4699
 
4747
  break;
4748
  case AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH:
4749
  case AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH:
4750
+ case AI_AUTOMATIC_INSERTION_BEFORE_IMAGE:
4751
+ case AI_AUTOMATIC_INSERTION_AFTER_IMAGE:
4752
  case AI_AUTOMATIC_INSERTION_BEFORE_CONTENT:
4753
  case AI_AUTOMATIC_INSERTION_AFTER_CONTENT:
4754
  foreach ($page_types as $block_page_type) $content_hook_blocks [$block_page_type][]= $block;
4788
  $footer_hook_blocks [AI_PT_ANY][]= $block;
4789
  break;
4790
  default:
4791
+ if ($automatic_insertion >= AI_AUTOMATIC_INSERTION_CUSTOM_HOOK && $automatic_insertion < AI_AUTOMATIC_INSERTION_CUSTOM_HOOK + 8) {
4792
  $hook_index = $automatic_insertion - AI_AUTOMATIC_INSERTION_CUSTOM_HOOK;
4793
  foreach ($page_types as $block_page_type) $custom_hook_blocks [$hook_index][$block_page_type][]= $block;
4794
  $custom_hook_blocks [$hook_index][AI_PT_ANY][]= $block;
4827
  AI_STICK_TO_THE_CONTENT => $ai_wp_data [AI_STICK_TO_THE_CONTENT],
4828
  AI_TRACKING => $ai_wp_data [AI_TRACKING],
4829
  AI_CLOSE_BUTTONS => $ai_wp_data [AI_CLOSE_BUTTONS],
4830
+ AI_IFRAMES => $ai_wp_data [AI_IFRAMES],
4831
  AI_ANIMATION => $ai_wp_data [AI_ANIMATION],
4832
  AI_LAZY_LOADING => $ai_wp_data [AI_LAZY_LOADING],
4833
  AI_GEOLOCATION => $ai_wp_data [AI_GEOLOCATION]
4851
  $extract [AFTER_COMMENTS_HOOK_BLOCKS] = $after_comments_hook_blocks;
4852
  $extract [FOOTER_HOOK_BLOCKS] = $footer_hook_blocks;
4853
 
4854
+ for ($custom_hook = 1; $custom_hook <= 8; $custom_hook ++) {
4855
  $action = get_hook_action ($custom_hook);
4856
 
4857
  if (get_hook_enabled ($custom_hook) && get_hook_name ($custom_hook) != '' && $action != '') {
4868
  }
4869
  }
4870
 
4871
+ $extract ['VERSION'] = $version_string . $subversion_string . '-' . '96';
4872
  $extract ['TIMESTAMP'] = time ();
4873
 
4874
  return ($extract);
4881
 
4882
  ai_load_options ();
4883
 
4884
+ $extract_ok = ai_load_extract (false);
4885
 
4886
  $ai_custom_hooks = array ();
4887
+ for ($hook = 1; $hook <= 8; $hook ++) {
4888
  $name = get_hook_name ($hook);
4889
  $action = get_hook_action ($hook);
4890
 
4893
  }
4894
  }
4895
 
4896
+ $features_in_extract = $extract_ok && isset ($ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES]);
4897
 
4898
  if (isset ($ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_USED_BLOCKS])) {
4899
  $used_blocks = @unserialize ($ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_USED_BLOCKS]);
4903
  $obj->wp_options [AI_OPTION_BLOCK_NAME] = _x('Default', 'Block name', 'ad-inserter');
4904
  $block_object [0] = $obj;
4905
 
4906
+ for ($block = 1; $block <= 96; $block ++) {
4907
  $obj = new ai_Block ($block);
4908
 
4909
  $obj->load_options ($block);
4926
  $ai_wp_data [AI_STICK_TO_THE_CONTENT] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_STICK_TO_THE_CONTENT];
4927
  $ai_wp_data [AI_TRACKING] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_TRACKING];
4928
  $ai_wp_data [AI_CLOSE_BUTTONS] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_CLOSE_BUTTONS];
4929
+ $ai_wp_data [AI_IFRAMES] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_IFRAMES];
4930
  $ai_wp_data [AI_ANIMATION] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_ANIMATION];
4931
  $ai_wp_data [AI_LAZY_LOADING] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_LAZY_LOADING];
4932
  $ai_wp_data [AI_GEOLOCATION] = $ai_db_options [AI_OPTION_EXTRACT][AI_EXTRACT_FEATURES][AI_GEOLOCATION];
4958
  function generate_viewport_css () {
4959
 
4960
  $viewports = array ();
4961
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
4962
  $viewport_name = get_viewport_name ($viewport);
4963
  $viewport_width = get_viewport_width ($viewport);
4964
  if ($viewport_name != '') {
5086
 
5087
  return $alignment_css;
5088
  }
5089
+
5090
+ function generate_debug_css_base () {
5091
+ ?>
5092
+
5093
+ .ai-debug-block {padding: 0; margin: 0;}
5094
+
5095
+ <?php
5096
+ }
5097
+
5098
  function generate_debug_css () {
5099
  ?>
5100
 
5101
  .ai-debug-tags {font-weight: bold; color: white; padding: 2px;}
5102
+ .ai-debug-positions {clear: both; text-align: center; padding: 10px 0; font-family: arial; font-weight: bold; line-height: 20px; border: 1px solid blue; color: blue; background: #eef;}
5103
+ .ai-debug-positions.ai-images {border: 1px solid #444; color: #444; background: #fff9ab;}
5104
+ .ai-debug-page-type {text-align: center; padding: 10px 0; font-family: arial; font-weight: bold; line-height: 20px; border: 1px solid #000; color: #000; background: #fff;}
5105
+ .ai-debug-status {clear: both; text-align: center; padding: 10px 0; font-family: arial; font-weight: bold; line-height: 20px; border: 1px solid #eee; color: #666; background: #eee;}
5106
+ .ai-debug-status.status-ok, .ai-debug-status.adb-off {border: 1px solid green; color: green; background: #efe;}
5107
+ .ai-debug-status.status-error, .ai-debug-status.adb-on {border: 1px solid red; color: red; background: #fee;}
5108
  .ai-debug-adb {opacity: 0.85; cursor: pointer;}
5109
  .ai-debug-widget {margin: 0; padding: 0 5px; font-size: 10px; white-space: pre; overflow-x: auto; overflow-y: hidden;}
5110
  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;}
5122
  .ai-debug-span {background: #cff; color: #000;}
5123
  .ai-debug-special {background: #fb0; color: #000;}
5124
 
5125
+ .ai-debug-ad-overlay {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #8f8; opacity: 0.6; z-index: 999999990}
5126
  .ai-auto-ads {background-color: #84f;}
5127
  .ai-no-slot {background-color: #48f;}
5128
  .ai-debug-ad-info {position: absolute; top: 0; left: 0; overflow: hidden; width: auto; height: auto; font-family: arial; font-size: 11px; line-height: 11px; text-align: left; z-index: 999999991;}
5130
  .ai-info-1 {background: #000; color: #fff;}
5131
  .ai-info-2 {background: #fff; color: #000;}
5132
 
5133
+ .ai-debug-block {outline: 1px solid;}
5134
 
5135
  .ai-debug-code {margin: 0; padding: 0; border: 0; font-family: monospace, sans-serif; font-size: 12px; line-height: 13px; background: #fff; color: #000;}
5136
 
5137
  .ai-debug-code.ai-code-org {float: left; max-width: 48%;}
5138
  .ai-debug-code.ai-code-inserted {float: right; max-width: 48%;}
5139
 
5140
+ .ai-debug-block.ai-debug-default {border-color: #e00; outline-color: #e00;}
 
 
5141
  .ai-debug-bar.ai-debug-default {background: #e00;}
5142
 
5143
+ .ai-debug-block.ai-debug-viewport-invisible {border-color: #00f; outline-color: #00f;}
5144
  .ai-debug-bar.ai-debug-viewport-invisible {background: #00f;}
5145
 
5146
+ .ai-debug-block.ai-debug-amp {border-color: #0c0; outline-color: #0c0;}
5147
  .ai-debug-bar.ai-debug-amp {background: #0c0;}
5148
 
5149
+ .ai-debug-block.ai-debug-fallback {border-color: #a0f; outline-color: #a0f;}
5150
  .ai-debug-bar.ai-debug-fallback {background: #a0f;}
5151
 
5152
+ .ai-debug-block.ai-debug-script {border-color: #00bae6; outline-color: #00bae6; background: #eee;}
5153
  .ai-debug-bar.ai-debug-script {background: #00bae6;}
5154
 
5155
+ .ai-debug-block.ai-debug-adb-status {border-color: #000; outline-color: #000;}
5156
  .ai-debug-bar.ai-debug-adb-status {background: #000;}
5157
 
5158
+ .ai-debug-block.ai-debug-adsense {border-color: #e0a; outline-color: #e0a;}
5159
  .ai-debug-bar.ai-debug-adsense {background: #e0a;}
5160
 
5161
+ .ai-debug-block.ai-debug-adsense.ai-adsense-auto-ads {position: absolute; top: -20px; width: 100%;}
5162
+
5163
+ .ai-debug-block.ai-debug-ajax {border-color: #ffd600; outline-color: #ffd600;}
5164
  .ai-debug-bar.ai-debug-ajax {background: #ffd600;}
5165
  .ai-debug-bar.ai-debug-ajax kbd {color: #000;}
5166
 
5167
+ .ai-debug-block.ai-debug-iframe {border-color: #ff9e38; outline-color: #ff9e38; line-height: 1px;}
5168
+ .ai-debug-bar.ai-debug-iframe {background: #ff9e38;}
5169
  .ai-debug-bar.ai-debug-iframe kbd {color: #000;}
5170
+ .ai-debug-block.ai-debug-iframe .ai-attributes {line-height: initial;}
5171
 
5172
  .ai-debug-adb-status.on kbd {color: #f00;}
5173
  .ai-debug-adb-status.off kbd {color: #0f0;}
5174
 
5175
+ .ai-debug-block.ai-debug-lists {border-color: #00c5be; outline-color: #00c5be;}
5176
  .ai-debug-bar.ai-debug-lists {background: #00c5be;}
5177
 
5178
  .ai-debug-adb-hidden {visibility: hidden; display: none;}
5269
  $subpage = 'main';
5270
  $start = 1;
5271
  $end = 16;
5272
+
5273
+ if (isset ($_GET ['subpage'])) $subpage = $_GET ['subpage'];
5274
+
5275
+ if (isset ($_GET ['start'])) $start = $_GET ['start']; else $start = 1;
5276
+ if (!is_numeric ($start)) $start = 1;
5277
+ if ($start < 1 || $start > 96) $start = 1;
5278
+ $end = $start + 15;
5279
+ if ($end > 96) $end = 96;
5280
 
5281
  $invalid_blocks = array ();
5282
 
5295
  $ai_options = array ();
5296
 
5297
  $default_block = new ai_Block (1);
5298
+ for ($block = 1; $block <= 96; $block ++) {
5299
  // ###
5300
  // $default_block = new ai_Block ($block);
5301
 
5451
  if (isset ($_POST ['disable-footer-code'])) $options ['DISABLE_FOOTER_CODE'] = filter_option ('DISABLE_FOOTER_CODE', $_POST ['disable-footer-code']);
5452
  if (isset ($_POST ['disable-header-code'])) $options ['DISABLE_HEADER_CODE'] = filter_option ('DISABLE_HEADER_CODE', $_POST ['disable-header-code']);
5453
 
5454
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
5455
  if (isset ($_POST ['viewport-name-'.$viewport])) $options ['VIEWPORT_NAME_'.$viewport] = filter_string ($_POST ['viewport-name-'.$viewport]);
5456
  if (isset ($_POST ['viewport-width-'.$viewport])) $options ['VIEWPORT_WIDTH_'.$viewport] = filter_option ('viewport_width', $_POST ['viewport-width-'.$viewport]);
5457
  }
5458
 
5459
+ for ($hook = 1; $hook <= 8; $hook ++) {
5460
  if (isset ($_POST ['hook-enabled-'.$hook])) $options ['HOOK_ENABLED_'.$hook] = filter_option ('HOOK_ENABLED', $_POST ['hook-enabled-'.$hook]);
5461
  if (isset ($_POST ['hook-name-'.$hook])) $options ['HOOK_NAME_'.$hook] = filter_string_tags ($_POST ['hook-name-'.$hook]);
5462
  if (isset ($_POST ['hook-action-'.$hook])) $options ['HOOK_ACTION_'.$hook] = filter_string ($_POST ['hook-action-'.$hook]);
5463
+ if (isset ($_POST ['hook-priority-'.$hook])) $options ['HOOK_PRIORITY_'.$hook] = filter_option ('HOOK_PRIORITY', $_POST ['hook-priority-'.$hook]);
5464
  }
5465
 
5466
  // $options ['VIEWPORT_CSS'] = generate_viewport_css ();
5526
 
5527
  check_admin_referer ('save_adinserter_settings');
5528
 
5529
+ for ($block = 1; $block <= 96; $block ++) {
5530
  delete_option (str_replace ("#", $block, AD_ADx_OPTIONS));
5531
  }
5532
 
5678
  if ($ad_number == "") return "";
5679
  if (!is_numeric ($ad_number)) return "";
5680
  $ad_number = (int) $ad_number;
5681
+ if ($ad_number < 1 || $ad_number > 96) return "";
5682
 
5683
  $globals_name = AI_PHP_FUNCTION_CALL_COUNTER_NAME . $ad_number;
5684
 
5799
  $content = $preview->after_paragraph ($content, true);
5800
  $positions_inserted = true;
5801
  }
5802
+
5803
+ // $content = $preview->before_paragraph ($content, true, true);
5804
+ // $content = $preview->after_paragraph ($content, true, true);
5805
  }
5806
 
5807
  if ($ai_db_options_extract [CONTENT_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) {
5873
  $ai_last_check = AI_CHECK_PARAGRAPH_COUNTING;
5874
  $content = $obj->after_paragraph ($content);
5875
  }
5876
+ if ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_IMAGE) {
5877
+ $ai_last_check = AI_CHECK_IMAGE_COUNTING;
5878
+ $content = $obj->before_image ($content);
5879
+ }
5880
+ elseif ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_IMAGE) {
5881
+ $ai_last_check = AI_CHECK_IMAGE_COUNTING;
5882
+ $content = $obj->after_image ($content);
5883
+ }
5884
  elseif ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_CONTENT) {
5885
  $obj->increment_block_counter ();
5886
 
5957
  }
5958
  }
5959
 
5960
+ if (preg_match_all ("/\[\[AI_BI([\d]+?)=([\d]+?)\]\]/", $content, $matches)) {
5961
+ foreach ($matches [0] as $index => $match) {
5962
+ $content = str_replace ($match,
5963
+ "<section class='$class ai-images'><a href='#' class='ai-debug-left ai-debug-visibility-hidden'><span class='ai-debug-display-none'>[(]</span>".'<span class="ai-debug-display-none">[)]</span></a>' .
5964
+ ($ai_wp_data [AI_MBSTRING_LOADED] ? mb_strtoupper (AI_TEXT_BEFORE_IMAGE) : strtoupper (AI_TEXT_BEFORE_IMAGE)) . ' ' . $matches [1][$index] .
5965
+ "<a href='#' class='ai-debug-right'><span class='ai-debug-display-none'>[(]</span>" . '<span class="ai-debug-display-none">[)]</span></a></section>',
5966
+ $content);
5967
+ }
5968
+ }
5969
+
5970
  // $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>' . ($ai_wp_data [AI_MBSTRING_LOADED] ? mb_strtoupper (AI_TEXT_BEFORE_PARAGRAPH) : 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);
5971
  $content = preg_replace ("/\[\[AI_AP([\d]+?)\]\]/", "<section class='$class'>" . ($ai_wp_data [AI_MBSTRING_LOADED] ? mb_strtoupper (AI_TEXT_AFTER_PARAGRAPH) : strtoupper (AI_TEXT_AFTER_PARAGRAPH)) . " $1</section>", $content);
5972
 
5973
+ $content = preg_replace ("/\[\[AI_AI([\d]+?)\]\]/", "<section class='$class ai-images'>" . ($ai_wp_data [AI_MBSTRING_LOADED] ? mb_strtoupper (AI_TEXT_AFTER_IMAGE) : strtoupper (AI_TEXT_AFTER_IMAGE)) . " $1</section>", $content);
5974
+
5975
  $counter = $ad_inserter_globals [$globals_name];
5976
  if ($counter == 1) $counter = '';
5977
 
6611
  $block = intval ($parameters ['block']);
6612
  } elseif ($parameters ['name'] != '') {
6613
  $shortcode_name = strtolower ($parameters ['name']);
6614
+ for ($counter = 1; $counter <= 96; $counter ++) {
6615
  $obj = $block_object [$counter];
6616
  $ad_name = strtolower (trim ($obj->get_ad_name()));
6617
  if ($shortcode_name == $ad_name) {
6671
  }
6672
 
6673
  $ai_last_check = AI_CHECK_SHORTCODE_ATTRIBUTES;
6674
+ if ($block < 1 || $block > 96) return "";
6675
 
6676
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) ai_log ("SHORTCODE $block (".($parameters ['block'] != '' ? 'block="'.$parameters ['block'].'"' : '').($parameters ['name'] != '' ? 'name="'.$parameters ['name'].'"' : '').")");
6677
 
6821
  $sticky = isset ($instance ['sticky']) ? $instance ['sticky'] : 0;
6822
 
6823
  if ($block == 0 || $block == - 2) {
6824
+ if (!get_disable_block_insertions () && (($ai_wp_data [AI_WP_USER] & AI_USER_ADMINISTRATOR) != 0 || defined ('AI_DEBUGGING_DEMO'))) {
6825
  ai_special_widget ($args, $instance, $block);
6826
  }
6827
  return;
6829
 
6830
  if ($sticky) {
6831
  $ai_wp_data [AI_STICKY_WIDGETS] = true;
6832
+ if ($block == - 1 && !get_disable_block_insertions ()) {
6833
  $before_widget = $args ['before_widget'];
6834
  ai_add_attr_data ($before_widget, 'style', 'padding: 0; border: 0; margin: 0; color: transparent; background: transparent;');
6835
  ai_add_attr_data ($before_widget, 'class', 'ai-sticky-widget');
6839
  }
6840
  }
6841
 
6842
+ if ($block < 1 || $block > 96) return;
6843
 
6844
  $title = !empty ($instance ['widget-title']) ? $instance ['widget-title'] : '';
6845
 
6919
 
6920
  echo $args ['after_widget'];
6921
 
6922
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && $obj->get_detection_client_side () && $obj->get_client_side_action () == AI_CLIENT_SIDE_ACTION_SHOW)
6923
  echo $obj->get_code_for_serverside_insertion (false, true);
6924
 
6925
  $ai_last_check = AI_CHECK_INSERTED;
7080
  echo "</pre>";
7081
 
7082
  if ($ai_wp_data [AI_CLIENT_SIDE_DETECTION]) {
7083
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
7084
  $viewport_name = get_viewport_name ($viewport);
7085
  if ($viewport_name != '') {
7086
  echo "<pre class='ai-viewport-" . $viewport ."' style='", AI_DEBUG_WIDGET_STYLE, "'>\n";
7149
 
7150
  function check_check_referer_list ($referers, $white_list) {
7151
 
7152
+ if (isset ($_GET ['referrer'])) {
7153
+ $referer_host = $_GET ['referrer'];
7154
+ }
7155
+ elseif (isset ($_SERVER['HTTP_REFERER'])) {
7156
  $referer_host = strtolower (parse_url ($_SERVER['HTTP_REFERER'], PHP_URL_HOST));
7157
+ }
7158
+ else $referer_host = '';
7159
 
7160
  $return = $white_list;
7161
 
7167
  $domain = trim ($domain);
7168
  if ($domain == "") continue;
7169
 
7170
+ if ($domain [0] == '*') {
7171
+ if ($domain [strlen ($domain) - 1] == '*') {
7172
+ $domain = substr ($domain, 1, strlen ($domain) - 2);
7173
+ if (strpos ($referer_host, $domain) !== false) return $return;
7174
+ } else {
7175
+ $domain = substr ($domain, 1);
7176
+ if (substr ($referer_host, - strlen ($domain)) == $domain) return $return;
7177
+ }
7178
+ }
7179
+ elseif ($domain [strlen ($domain) - 1] == '*') {
7180
+ $domain = substr ($domain, 0, strlen ($domain) - 1);
7181
+ if (strpos ($referer_host, $domain) === 0) return $return;
7182
+ }
7183
+
7184
  if ($domain == "#") {
7185
  if ($referer_host == "") return $return;
7186
  } elseif ($domain == $referer_host) return $return;
7368
  }
7369
 
7370
  // Version check
7371
+ global $wp_version, $version_string, $subversion_string;
7372
 
7373
  if (version_compare ($wp_version, "4.0", "<")) {
7374
  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>');
7382
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0)
7383
  ai_log ("AFTER REQUIRE: ". number_format (1000 * (microtime (true) - $start_time), 2)." ms");
7384
 
7385
+ $subversion_array = explode ("-", AD_INSERTER_VERSION);
7386
+ $subversion_string = isset ($subversion_array [1]) ? '-'.$subversion_array [1] : '';
7387
+ $version_array = explode (".", $subversion_array [0]);
7388
  $version_string = "";
7389
  foreach ($version_array as $number) {
7390
  $version_string .= sprintf ("%02d", $number);
7409
  $ai_wp_data [AI_STICK_TO_THE_CONTENT] = false;
7410
  $ai_wp_data [AI_ANIMATION] = false;
7411
  $ai_wp_data [AI_CLOSE_BUTTONS] = false;
7412
+ $ai_wp_data [AI_IFRAMES] = false;
7413
  $ai_wp_data [AI_DISABLE_CACHING] = false;
7414
  $ai_wp_data [AI_CLIENT_SIDE_INSERTION] = false;
7415
  $ai_wp_data [AI_LAZY_LOADING] = false;
7419
  $ai_wp_data [AI_MBSTRING_LOADED] = extension_loaded ('mbstring');
7420
  $ai_wp_data [AI_PROCESSING_TIME] = false;
7421
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = false;
7422
+ $ai_wp_data [AI_CODE_FOR_IFRAME] = false;
7423
 
7424
  ai_load_settings ();
7425
 
7690
 
7691
  $widget_title = !empty ($instance ['widget-title']) ? $instance ['widget-title'] : '';
7692
  $block = isset ($instance ['block']) ? $instance ['block'] : 1;
7693
+ if ($block > 96) $block = 1;
7694
  $sticky = isset ($instance ['sticky']) ? $instance ['sticky'] : 0;
7695
 
7696
  // translators: widget title
7724
  <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>
7725
  <select id="<?php echo $this->get_field_id ('block'); ?>" name="<?php echo $this->get_field_name('block'); ?>" style="width: 100%;">
7726
  <?php
7727
+ for ($block_index = 1; $block_index <= 96; $block_index ++) {
7728
  $obj = $block_object [$block_index];
7729
  ?>
7730
  <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>
7788
  </div>
7789
  <div class="ai-notice-element" style="width: 100%; padding: 0 10px 0;">
7790
  <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>
7791
+ <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 (additional block and plugin settings)!", 'ad-inserter'); ?></p>
7792
  </div>
7793
  </div>
7794
  <?php
class.php CHANGED
@@ -18,7 +18,9 @@ abstract class ai_BaseCodeBlock {
18
  var $additional_code_after; // For server-side dynamic PHP code
19
  var $counters;
20
  var $client_side_cookie_check;
 
21
  var $demo_debugging;
 
22
 
23
  var $label;
24
 
@@ -39,7 +41,9 @@ abstract class ai_BaseCodeBlock {
39
  $this->additional_code_after = '';
40
  $this->counters = '';
41
  $this->client_side_cookie_check = false;
 
42
  $this->demo_debugging = false;
 
43
 
44
  $this->labels = new ai_block_labels ();
45
 
@@ -287,7 +291,7 @@ abstract class ai_BaseCodeBlock {
287
 
288
  if ($return_saved_value) return $enable_amp;
289
 
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) {
@@ -485,6 +489,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
485
  $this->wp_options [AI_OPTION_SHOW_LABEL] = AI_DISABLED;
486
  $this->wp_options [AI_OPTION_LAZY_LOADING] = AI_DISABLED;
487
  $this->wp_options [AI_OPTION_IFRAME] = AI_DISABLED;
 
488
  $this->wp_options [AI_OPTION_IFRAME_WIDTH] = DEFAULT_IFRAME_WIDTH;
489
  $this->wp_options [AI_OPTION_IFRAME_HEIGHT] = DEFAULT_IFRAME_HEIGHT;
490
  $this->wp_options [AI_OPTION_TRACKING] = AI_DISABLED;
@@ -576,7 +581,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
576
  $this->wp_options [AI_OPTION_DETECT_CLIENT_SIDE] = AI_DISABLED;
577
  $this->wp_options [AI_OPTION_CLIENT_SIDE_ACTION] = DEFAULT_CLIENT_SIDE_ACTION;
578
  $this->wp_options [AI_OPTION_CLOSE_BUTTON] = DEFAULT_CLOSE_BUTTON;
579
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
580
  $this->wp_options [AI_OPTION_DETECT_VIEWPORT . '_' . $viewport] = AI_DISABLED;
581
  }
582
  }
@@ -614,6 +619,12 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
614
  return $option;
615
  }
616
 
 
 
 
 
 
 
617
  public function get_automatic_insertion (){
618
  global $ai_db_options;
619
 
@@ -674,6 +685,14 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
674
  if (!$translate) return AI_TEXT_ENG_AFTER_PARAGRAPH;
675
  return AI_TEXT_AFTER_PARAGRAPH;
676
  break;
 
 
 
 
 
 
 
 
677
  case AI_AUTOMATIC_INSERTION_BEFORE_EXCERPT:
678
  if (!$translate) return AI_TEXT_ENG_BEFORE_EXCERPT;
679
  return AI_TEXT_BEFORE_EXCERPT;
@@ -719,7 +738,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
719
  return AI_TEXT_AFTER_HTML_ELEMENT;
720
  break;
721
  default:
722
- if ($automatic_insertion >= AI_AUTOMATIC_INSERTION_CUSTOM_HOOK && $automatic_insertion < AI_AUTOMATIC_INSERTION_CUSTOM_HOOK + AD_INSERTER_HOOKS) {
723
  $hook_index = $automatic_insertion - AI_AUTOMATIC_INSERTION_CUSTOM_HOOK;
724
  return get_hook_name ($hook_index + 1);
725
  }
@@ -1511,6 +1530,10 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
1511
  if (!$translate) return AI_TEXT_ENG_PARAGRAPHS_COUNTER;
1512
  return AI_TEXT_PARAGRAPHS_COUNTER;
1513
  break;
 
 
 
 
1514
  case AI_FILTER_COMMENTS:
1515
  if (!$translate) return AI_TEXT_ENG_COMMENTS_COUNTER;
1516
  return AI_TEXT_COMMENTS_COUNTER;
@@ -1922,6 +1945,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
1922
  global $ai_wp_data;
1923
 
1924
  $right_title = '';
 
1925
  $fallback_block_name = '';
1926
  if ($class != '') {
1927
  $this->labels->class = $class;
@@ -1930,6 +1954,13 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
1930
  if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
1931
  $this->labels->class = 'ai-debug-ajax';
1932
  $title = __('AJAX REQUEST', 'ad-inserter');
 
 
 
 
 
 
 
1933
  }
1934
 
1935
  if ($this->fallback != 0) {
@@ -1943,54 +1974,140 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
1943
  $block_name = $this->number . ' &nbsp; ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>' . $fallback_block_name;
1944
 
1945
  if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
1946
- $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 ()');
 
 
 
 
1947
  } else $ajax_bar = '';
1948
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1949
  $this->additional_code_before =
1950
  $this->labels->block_start () .
1951
- $this->labels->bar ($block_name, '', '<kbd class="ai-debug-name ai-main">' . $title . '</kbd>', $counters, $right_title) .
1952
  $ajax_bar .
1953
  $this->additional_code_before;
1954
 
1955
  $this->additional_code_after .= $this->labels->block_end ();
1956
  }
1957
 
1958
- public function ai_getProcessedCode ($hide_debug_label = false, $force_close_button = false) {
1959
  global $ai_wp_data, $ad_inserter_globals, $block_object;
1960
 
1961
- $code = $this->ai_getCode ();
1962
-
1963
  // Clear the codes for cases when the code block is called more than once
1964
  $this->additional_code_before = '';
1965
  $this->additional_code_after = '';
1966
  $this->w3tc_code = '';
1967
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1968
  // Code for ad label, close button
1969
  $additional_code = '';
1970
 
1971
- $additional_code .= $this->ai_getAdLabel ();
 
 
1972
 
1973
- $alignment_type = $this->get_alignment_type ();
1974
- if ($force_close_button || ($this->get_close_button () != AI_CLOSE_NONE && !$ai_wp_data [AI_WP_AMP_PAGE] && $alignment_type != AI_ALIGNMENT_NO_WRAPPING)) {
1975
- switch ($this->get_close_button ()) {
1976
- case AI_CLOSE_TOP_RIGHT:
1977
- $button_class = 'ai-close-button';
1978
- break;
1979
- case AI_CLOSE_TOP_LEFT:
1980
- $button_class = 'ai-close-button ai-close-left';
1981
- break;
1982
- case AI_CLOSE_BOTTOM_RIGHT:
1983
- $button_class = 'ai-close-button ai-close-bottom';
1984
- break;
1985
- case AI_CLOSE_BOTTOM_LEFT:
1986
- $button_class = 'ai-close-button ai-close-bottom ai-close-left';
1987
- break;
1988
- default:
1989
- $button_class = 'ai-close-button';
1990
- break;
 
 
 
 
1991
  }
 
1992
 
1993
- $additional_code .= "<span class='$button_class'></span>\n";
 
1994
  }
1995
 
1996
  unset ($ai_wp_data [AI_SHORTCODES]['rotate']);
@@ -1998,432 +2115,410 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
1998
 
1999
  $processed_code = $this->replace_ai_tags (do_shortcode ($code));
2000
 
2001
- if (strpos ($processed_code, AD_COUNT_SEPARATOR) !== false) {
2002
- $ads = explode (AD_COUNT_SEPARATOR, $processed_code);
 
 
2003
 
2004
- if (isset ($ad_inserter_globals [AI_BLOCK_COUNTER_NAME . $this->number])) {
2005
- $counter_for_filter = $ad_inserter_globals [AI_BLOCK_COUNTER_NAME . $this->number];
2006
 
2007
- if ($counter_for_filter != 0 && $counter_for_filter <= count ($ads)) {
2008
- if (isset ($ai_wp_data [AI_SHORTCODES]['count'][$counter_for_filter - 1]['count'])) {
2009
- if (strtolower ($ai_wp_data [AI_SHORTCODES]['count'][$counter_for_filter - 1]['count']) == 'shuffle') {
2010
- $ai_wp_data [AI_COUNT][$this->number] = $ads;
2011
- shuffle ($ai_wp_data [AI_COUNT][$this->number]);
 
2012
  }
2013
- }
2014
 
2015
- if (isset ($ai_wp_data [AI_COUNT][$this->number])) {
2016
- $ads = $ai_wp_data [AI_COUNT][$this->number];
2017
- }
2018
 
2019
- $processed_code = $ads [$counter_for_filter - 1];
2020
- } else $processed_code = '';
2021
- } else $processed_code = $ads [rand (0, count ($ads) - 1)];
2022
- }
2023
 
2024
- $dynamic_blocks = get_dynamic_blocks ();
2025
- if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE] || ($dynamic_blocks == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && defined ('AI_NO_W3TC'))) $dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2026
 
2027
- if (strpos ($processed_code, AD_ROTATE_SEPARATOR) !== false) {
2028
- $ads = explode (AD_ROTATE_SEPARATOR, $processed_code);
2029
 
2030
- if (!isset ($ai_wp_data [AI_SHORTCODES]['rotate'])) {
2031
- // using old separator |rotate|
2032
- $ai_wp_data [AI_SHORTCODES]['rotate'] = array ();
2033
- foreach ($ads as $ad) {
2034
- $ai_wp_data [AI_SHORTCODES]['rotate'] []= array ();
 
2035
  }
2036
- }
2037
 
2038
- if (trim ($ads [0]) == '') {
2039
- unset ($ads [0]);
2040
- $ads = array_values ($ads);
2041
- } else array_unshift ($ai_wp_data [AI_SHORTCODES]['rotate'], array ('name' => ''));
2042
 
2043
- $shares = false;
2044
- $times = false;
2045
- $version_names = array ();
2046
- $version_shares = array ();
2047
- $version_times = array ();
2048
- $version_insert = array ();
2049
 
2050
- foreach ($ai_wp_data [AI_SHORTCODES]['rotate'] as $index => $option) {
2051
- $version_names []= isset ($option ['name']) && trim ($option ['name']) != '' ? $option ['name'] : chr (ord ('A') + $index);
2052
 
2053
- $option_share = isset ($option ['share']) && is_numeric ($option ['share']);
2054
- if ($option_share) $shares = true;
2055
- $version_shares []= $option_share ? intval ($option ['share']) : - 1;
2056
 
2057
- $option_time = isset ($option ['time']) && is_numeric ($option ['time']);
2058
- if ($option_time) $times = true;
2059
- $version_times []= $option_time ? intval ($option ['time']) : - 1;
2060
 
2061
- $version_insert []= isset ($option ['insert']);
2062
- }
2063
 
2064
- if ($shares) {
2065
- $total_share = 0;
2066
- $no_share = 0;
2067
 
2068
- foreach ($version_shares as $index => $share) {
2069
- if ($share < 0) $no_share ++; else $total_share += $share;
2070
- }
 
 
 
 
2071
 
2072
- if ($total_share > 100 || $no_share == 0) {
2073
- $scale = $total_share / 100;
2074
- } else $scale = 1;
 
 
 
2075
 
2076
- foreach ($version_shares as $index => $share) {
2077
- // Disable options with share 0
2078
- if ($share == 0) $version_shares [$index] = - 1; else
2079
- if ($share < 0) $version_shares [$index] = (100 - $total_share / $scale) / $no_share; else
2080
- $version_shares [$index] = $share / $scale;
 
 
 
2081
  }
2082
 
2083
- $thresholds = array ();
2084
- $total_share = 0;
2085
- foreach ($version_shares as $index => $share) {
2086
- if ($share >= 0) {
2087
- $total_share += $share;
2088
- $thresholds [] = round ($total_share);
2089
- } else $thresholds [] = - 1;
2090
  }
2091
- }
2092
 
2093
- if ($times) {
2094
- if ($dynamic_blocks != AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW && $dynamic_blocks != AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT) $dynamic_blocks = AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW;
2095
- $ai_wp_data [AI_CLIENT_SIDE_ROTATION] = true;
2096
- }
2097
 
2098
- $temp_dynamic_blocks = $dynamic_blocks;
2099
- if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE] || ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW || $temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT) && $ai_wp_data [AI_WP_AMP_PAGE]) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
 
 
 
 
 
 
 
2100
 
2101
- switch ($temp_dynamic_blocks) {
2102
- case AI_DYNAMIC_BLOCKS_SERVER_SIDE:
2103
- if ($shares) {
2104
- $random_threshold = mt_rand (0, 100);
2105
- foreach ($thresholds as $index => $threshold) {
2106
- $this->code_version = $index + 1;
2107
- if ($random_threshold <= $threshold) break;
2108
- }
2109
- } else $this->code_version = mt_rand (1, count ($ads));
2110
 
2111
- $processed_code = $additional_code . trim ($ads [$this->code_version - 1]);
2112
- $this->version_name = $version_names [$this->code_version - 1];
2113
- break;
2114
 
2115
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2116
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2117
- $this->code_version = '""';
 
2118
 
2119
- $rotation_data = '';
2120
- if ($shares) {
2121
- $rotation_data = " data-shares='".base64_encode (json_encode ($thresholds))."'";
2122
- }
 
 
2123
 
2124
- // Additional class to identify rotation code block in case of timed rotation
2125
- $rotation_class = '';
2126
- if ($times) {
2127
- $rotation_class = ' ai-'.$this->number;
2128
- $rotation_data .= " data-info='".base64_encode ('['.$this->number.','.count ($ads).']')."'";
2129
- }
2130
 
2131
- $processed_code = '';
2132
- if ($times && !isset ($ai_wp_data [AI_CLIENT_SIDE_CSS])) {
2133
- $processed_code = "\n<style type='text/css'>\n" . ai_get_client_side_styles () . "</style>";
2134
- }
2135
 
2136
- if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2137
- $processed_code .= "\n<div class='ai-rotate{$rotation_class}'".$rotation_data.">\n" . $additional_code;
2138
- } else
2139
- $processed_code .= "\n<div class='ai-rotate{$rotation_class}'".$rotation_data." style='position: relative;'>\n" . $additional_code;
2140
 
2141
- foreach ($ads as $index => $ad) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2142
 
2143
- // If AMP separator is present use only code for normal pages
2144
- if (strpos ($ad, AD_AMP_SEPARATOR) !== false) {
2145
- $codes = explode (AD_AMP_SEPARATOR, $ad);
2146
- $ad = trim ($codes [0]);
2147
  }
 
 
2148
 
2149
- $version_name_data = " data-name='".base64_encode ($version_names [$index])."'";
2150
- $version_time_data = $version_times [$index] >= 0 ? " data-time='".base64_encode ($version_times [$index])."'" : '';
2151
-
2152
- switch ($temp_dynamic_blocks) {
2153
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2154
- switch ($index) {
2155
- case 0:
2156
- if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2157
- $processed_code .= "<div class='ai-rotate-option ai-rotate-hidden'".$version_name_data.$version_time_data.">\n".trim ($ad, "\n\r")."</div>\n";
2158
- } else
2159
- $processed_code .= "<div class='ai-rotate-option' style='visibility: hidden;'".$version_name_data.$version_time_data.">\n".trim ($ad, "\n\r")."</div>\n";
2160
- break;
2161
- default:
2162
- if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2163
- $processed_code .= "<div class='ai-rotate-option ai-rotate-hidden ai-rotate-hidden-2'".$version_name_data.$version_time_data.">\n".trim ($ad, "\n\r")."</div>\n";
2164
- } else
2165
- $processed_code .= "<div class='ai-rotate-option' style='visibility: hidden; position: absolute; top: 0; left: 0; width: 100%; height: 100%;'".$version_name_data.$version_time_data.">\n".trim ($ad, "\n\r")."</div>\n";
2166
- break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2167
  }
2168
- break;
2169
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2170
- $version_code_data = " data-code='".base64_encode ($ad)."'";
2171
- $processed_code .= "<div class='ai-rotate-option'".$version_name_data.$version_time_data.$version_code_data.">\n</div>\n";
2172
- break;
2173
  }
2174
-
2175
- }
2176
- $processed_code .= "</div>\n";
2177
  break;
2178
-
2179
  case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2180
- if ($shares) {
2181
- $ad_index_code = ' $ai_random_threshold = mt_rand (0, 100); $ai_thresholds = unserialize (\''.
2182
- serialize ($thresholds).'\'); foreach ($ai_thresholds as $ai_option_index => $ai_threshold) {$ai_index = $ai_option_index + 1; if ($ai_random_threshold <= $ai_threshold) break;}';
2183
- } else $ad_index_code = ' $ai_index = mt_rand (1, count ($ai_code));';
2184
 
2185
- $this->w3tc_code = '$ai_code = unserialize (base64_decode (\''.base64_encode (serialize ($ads)).'\'));'.$ad_index_code.' $ai_code = base64_decode (\''.base64_encode ($additional_code).'\') . $ai_code [$ai_index - 1]; $ai_enabled = true;';
 
 
 
 
 
 
 
2186
 
2187
  $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2188
  $processed_code .= $this->w3tc_code.' echo $ai_code;';
2189
  $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2190
  break;
2191
  }
2192
- } else $processed_code = $additional_code . $processed_code;
2193
 
2194
- $temp_dynamic_blocks = $dynamic_blocks;
2195
- if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE]) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2196
- elseif ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && $this->w3tc_code == '') $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2197
- elseif ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2198
- elseif ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2199
-
2200
- switch ($temp_dynamic_blocks) {
2201
- case AI_DYNAMIC_BLOCKS_SERVER_SIDE:
2202
- if (strpos ($processed_code, AD_AMP_SEPARATOR) !== false) {
2203
- $codes = explode (AD_AMP_SEPARATOR, $processed_code);
2204
- $code_index = $ai_wp_data [AI_WP_AMP_PAGE] ? 1 : 0;
2205
- $this->labels->class = $code_index ? 'ai-debug-amp' : 'ai-debug-default';
2206
- if ($code_index == 1) {
2207
- ai_log ('BLOCK ' . $this->number . ' AMP CODE USED');
2208
- }
2209
- $processed_code = trim ($codes [$code_index]);
2210
- } else {
2211
- // AMP page but No AMP separator - don't insert code unless enabled
2212
- if ($ai_wp_data [AI_WP_AMP_PAGE]) {
2213
- if (!$this->get_enable_amp ()) {
2214
- $processed_code = '';
2215
- $hide_debug_label = true;
2216
- ai_log ('BLOCK ' . $this->number . ' NOT ENABLED FOR AMP PAGES - EMPTY CODE');
2217
- }
2218
- }
2219
- }
2220
- break;
2221
- case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2222
- $this->w3tc_code .= '$ai_amp_separator = \'' . AD_AMP_SEPARATOR . '\'; $ai_amp_page = ' . ($ai_wp_data [AI_WP_AMP_PAGE] ? 'true' : 'false') . '; $ai_amp_enabled = ' . $this->get_enable_amp () . ';';
2223
-
2224
- // Fix to prevent converting && into &amp;&amp; on AMP pages
2225
- // $this->w3tc_code .= 'if (strpos ($ai_code, $ai_amp_separator) !== false) {$codes = explode ($ai_amp_separator, $ai_code); $ai_code = trim ($codes [$ai_amp_page ? 1 : 0]); } else {if ($ai_amp_page && !$ai_amp_enabled) $ai_code = \'\';} $ai_enabled = true;';
2226
- $this->w3tc_code .= 'if (strpos ($ai_code, $ai_amp_separator) !== false) {$codes = explode ($ai_amp_separator, $ai_code); $ai_code = trim ($codes [$ai_amp_page ? 1 : 0]); } else {if ($ai_amp_page + !$ai_amp_enabled == 2) $ai_code = \'\';} $ai_enabled = true;';
2227
-
2228
- // Lazy loading code for W3TC cases with ROTATE separator
2229
- if ($this->get_lazy_loading () && !$ai_wp_data [AI_WP_AMP_PAGE]) {
2230
- $this->w3tc_code .= $this->w3tc_code.'$ai_lazy_code = base64_encode ($ai_code); $ai_wrapper_class = \''.base64_encode (get_block_class_name ()).'\'; $ai_code = \'<div class="ai-lazy" data-code="\'.$ai_lazy_code.\'" data-class="\'.$ai_wrapper_class.\'"></div>\'."\n";';
2231
- }
2232
 
2233
- $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2234
- $processed_code .= $this->w3tc_code.' echo $ai_code;';
2235
- $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2236
- break;
 
 
 
2237
  }
2238
 
2239
- // Lazy loading code for all cases except W3TC with ROTATE separator
2240
- if ($this->get_lazy_loading () && !$ai_wp_data [AI_WP_AMP_PAGE] && $this->w3tc_code == '') {
2241
- $lazy_code = base64_encode ($processed_code);
2242
- $wrapper_class = base64_encode (get_block_class_name ());
2243
- $processed_code = '<div class="ai-lazy" data-code="'.$lazy_code.'" data-class="'.$wrapper_class.'"></div>'."\n";
2244
- }
2245
 
2246
- $temp_dynamic_blocks = $dynamic_blocks;
2247
- if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE] || ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW || $temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT) && $ai_wp_data [AI_WP_AMP_PAGE]) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2248
 
2249
- if ($temp_dynamic_blocks != AI_DYNAMIC_BLOCKS_SERVER_SIDE) {
2250
- $url_parameters_raw = trim (str_replace (' ', '', $this->get_url_parameter_list ()));
2251
- $url_parameters = base64_encode ($url_parameters_raw);
2252
- $url_parameter_list_type = $this->get_url_parameter_list_type ();
2253
 
2254
- $referers_raw = trim (str_replace (' ', '', strtolower ($this->get_ad_domain_list ())));
2255
- $referers = base64_encode ($referers_raw);
2256
- $referer_list_type = $this->get_ad_domain_list_type ();
2257
 
2258
- if ($this->client_side_cookie_check && ($url_parameters != '' || $url_parameter_list_type == AI_WHITE_LIST) || $referers != '' || $referer_list_type == AI_WHITE_LIST) {
2259
- switch ($dynamic_blocks) {
2260
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2261
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2262
- if ($url_parameter_list_type == AI_BLACK_LIST) $url_parameter_list_type = 'B'; else $url_parameter_list_type = 'W';
2263
- if ($referer_list_type == AI_BLACK_LIST) $referer_list_type = 'B'; else $referer_list_type = 'W';
2264
 
2265
- 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 = '';
2266
- if ( $referers != '' || $referer_list_type == 'W') $referer_attributes = "referer-list='$referers' referer-list-type='$referer_list_type'"; else $referer_attributes = '';
2267
 
2268
- $this->client_side_list_detection = true;
2269
 
2270
- switch ($dynamic_blocks) {
2271
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2272
- if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2273
- $processed_code = "\n<div class='ai-dynamic ai-list-data' $referer_attributes $url_parameter_attributes>$processed_code</div>\n";
2274
- } else $processed_code = "\n<div class='ai-dynamic ai-list-data' $referer_attributes $url_parameter_attributes style='visibility: hidden; position: absolute; width: 100%; height: 100%; z-index: -9999;'>$processed_code</div>\n";
2275
- break;
2276
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2277
- $code_data = "data-code='".base64_encode ($processed_code)."'";
2278
 
2279
- $processed_code = "\n<div class='ai-dynamic ai-list-data' $referer_attributes $url_parameter_attributes $code_data></div>\n";
2280
- break;
2281
- }
2282
 
2283
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
2284
- // translators: %s: list parameters and type
2285
- 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 = '';
2286
- // translators: %s: list parameters and type
2287
- 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 = '';
2288
 
2289
- $debug_list = new ai_block_labels ('ai-debug-lists');
2290
- $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;
2291
- }
2292
 
2293
- break;
2294
- case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2295
- if ($this->w3tc_code == '') $this->w3tc_code = '$ai_code = base64_decode (\''.base64_encode ($processed_code).'\'); $ai_index = 0; $ai_enabled = true;';
2296
 
2297
- if ($referers != '') {
2298
- $this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_check_referer_list (base64_decode (\''.$referers.'\'), '.($referer_list_type == AI_WHITE_LIST ? 'true':'false').');';
2299
- } elseif ($referer_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
2300
 
2301
- if ($this->client_side_cookie_check) {
2302
- if ($url_parameters != '') {
2303
- $this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_cookie_list (base64_decode (\''.$url_parameters.'\'), '.($url_parameter_list_type == AI_WHITE_LIST ? 'true':'false').');';
2304
- } elseif ($url_parameter_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
2305
- }
2306
 
2307
- $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2308
- $processed_code .= $this->w3tc_code.' if ($ai_enabled) echo $ai_code;';
2309
- $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2310
- break;
 
2311
  }
2312
- }
2313
 
2314
- $countries = trim (str_replace (' ', '', strtoupper ($this->get_ad_country_list (true))));
2315
- $country_list_type = $this->get_ad_country_list_type ();
2316
 
2317
- $ip_addresses = trim (str_replace (' ', '', strtolower ($this->get_ad_ip_address_list ())));
2318
- $ip_address_list_type = $this->get_ad_ip_address_list_type ();
2319
 
2320
- if ($countries != '' || $country_list_type == AI_WHITE_LIST || $ip_addresses != '' || $ip_address_list_type == AI_WHITE_LIST) {
2321
- switch ($dynamic_blocks) {
2322
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2323
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2324
- if ($country_list_type == AI_BLACK_LIST) $country_list_type = 'B'; else $country_list_type = 'W';
2325
- if ($ip_address_list_type == AI_BLACK_LIST) $ip_address_list_type = 'B'; else $ip_address_list_type = 'W';
2326
 
2327
- if ($countries != '' || $country_list_type == 'W') $country_attributes = "countries='$countries' country-list='$country_list_type'"; else $country_attributes = '';
2328
- 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 = '';
2329
 
2330
- $this->client_side_list_detection = true;
2331
 
2332
- switch ($dynamic_blocks) {
2333
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2334
- if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2335
- $processed_code = "\n<div class='ai-dynamic ai-ip-data' $ip_address_attributes $country_attributes>$processed_code</div>\n";
2336
- } else $processed_code = "\n<div class='ai-dynamic ai-ip-data' $ip_address_attributes $country_attributes style='visibility: hidden; position: absolute; width: 100%; height: 100%; z-index: -9999;'>$processed_code</div>\n";
2337
- break;
2338
- case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2339
- $code_data = "data-code='".base64_encode ($processed_code)."'";
2340
 
2341
- $processed_code = "\n<div class='ai-dynamic ai-ip-data' $ip_address_attributes $country_attributes $code_data></div>\n";
2342
- break;
2343
- }
2344
 
2345
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
2346
 
2347
- // translators: %s: list parameters and type
2348
- if ($countries != '' || $country_list_type == 'W') $country_attributes_dbg = sprintf (__ ("countries='%s' type='%s'", 'ad-inserter'), $countries, $country_list_type); else $country_attributes_dbg = '';
2349
- // translators: %s: list parameters and type
2350
- 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 = '';
2351
 
2352
- $debug_ip = new ai_block_labels ('ai-debug-lists');
2353
- $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;
2354
- }
2355
 
2356
- break;
2357
- case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2358
- if ($this->w3tc_code == '') $this->w3tc_code = '$ai_code = base64_decode (\''.base64_encode ($processed_code).'\'); $ai_index = 0; $ai_enabled = true;';
2359
 
2360
- $this->w3tc_code .= ' require_once \''.AD_INSERTER_PLUGIN_DIR.'includes/geo/Ip2Country.php\';';
2361
 
2362
- if ($ip_addresses != '') {
2363
- $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').');';
2364
- } elseif ($ip_address_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
2365
 
2366
- if ($countries != '') {
2367
- $this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_country_list (base64_decode (\''.base64_encode ($countries).'\'), '.($country_list_type == AI_WHITE_LIST ? 'true':'false').');';
2368
- } elseif ($country_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
2369
 
2370
- $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2371
- $processed_code .= $this->w3tc_code.' if ($ai_enabled) echo $ai_code;';
2372
- $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2373
- break;
 
2374
  }
2375
  }
2376
  }
2377
 
2378
  if (defined ('AI_DEBUGGING_DEMO') && !$this->demo_debugging) {
2379
- $hide_debug_label = true;
2380
  }
2381
 
2382
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 /*&& !$hide_debug_label*/) {
2383
  $processed_code = "<div class='ai-code'>\n" . $processed_code ."\n</div>\n";
2384
  }
2385
 
2386
- if (function_exists ('ai_adb_block_actions')) ai_adb_block_actions ($this, $hide_debug_label);
2387
 
2388
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !$hide_debug_label) {
2389
  $this->ai_generateDebugLabel ();
2390
-
2391
- // $title = '';
2392
- // $fallback_block_name = '';
2393
- // $ajax = '';
2394
-
2395
- // if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
2396
- // $this->labels->class = 'ai-debug-ajax';
2397
- // $ajax = __('AJAX REQUEST', 'ad-inserter');
2398
- // }
2399
-
2400
- // if ($this->fallback != 0) {
2401
- // $this->labels->class = 'ai-debug-fallback';
2402
- // $fallback_block = $block_object [$this->fallback];
2403
- // $fallback_block_name = ' &nbsp;&#8678;&nbsp; '. $this->fallback . ' &nbsp; ' . $fallback_block->get_ad_name ();
2404
- // }
2405
-
2406
- // $counters = $this->ai_get_counters ($title);
2407
- // $version_name = $this->version_name == '' ? '' : ' - ' . $this->version_name;
2408
- // $block_name = $this->number . ' &nbsp; ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>' . $fallback_block_name;
2409
-
2410
- // if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
2411
- // $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 ()');
2412
- // } else $ajax_bar = '';
2413
-
2414
- // $this->additional_code_before =
2415
- // $this->labels->block_start () .
2416
- // $this->labels->bar ($block_name, '', '<kbd class="ai-debug-name ai-main">' . $ajax . '</kbd>', $counters, $title) .
2417
- // $ajax_bar .
2418
- // $this->additional_code_before;
2419
-
2420
- // $this->additional_code_after .= $this->labels->block_end ();
2421
  }
2422
 
2423
  return $this->additional_code_before . $processed_code . $this->additional_code_after;
2424
  }
2425
 
2426
- public function get_code_for_insertion ($include_viewport_classes = true, $hidden_widgets = false, $code_only = false, $code_for_iframe = false) {
2427
  global $ai_wp_data, $block_object;
2428
 
2429
  if ($this->get_disable_caching ()) $ai_wp_data [AI_DISABLE_CACHING] = true;
@@ -2433,8 +2528,8 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2433
  $block_class = get_block_class ();
2434
  $block_number_class = get_block_number_class ();
2435
 
2436
- $alignment_class = $code_for_iframe ? '' : $this->get_alignment_class ();
2437
- $alignment_style = $code_for_iframe ? '' : $this->get_alignment_style ();
2438
 
2439
  if ($this->get_client_side_action () == AI_CLIENT_SIDE_ACTION_INSERT) $include_viewport_classes = false;
2440
  $viewport_classes = $include_viewport_classes ? trim ($this->get_viewport_classes ()) : "";
@@ -2449,195 +2544,81 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2449
 
2450
  $sticky_parameters = '';
2451
 
2452
- if (!$ai_wp_data [AI_WP_AMP_PAGE] && !$code_for_iframe) {
2453
  $sticky_parameters = $this->sticky_parameters ($classes);
2454
  }
2455
 
2456
- if ($this->get_iframe () && !$code_for_iframe) {
2457
- // Clear the codes for cases when the code block is called more than once
2458
- $this->additional_code_before = '';
2459
- $this->additional_code_after = '';
2460
- $this->w3tc_code = '';
2461
-
2462
- foreach ($classes as $index => $class_name) {
2463
- if (trim ($class_name) == '') unset ($classes [$index]);
2464
- }
2465
- if (count ($classes) != 0) {
2466
- $class = ' class="' . trim (implode (' ', $classes)) . '"';
2467
- } else $class = '';
2468
-
2469
- $alignment_style = $this->get_alignment_style ();
2470
-
2471
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
2472
- $this->ai_generateDebugLabel ('ai-debug-iframe', 'IFRAME');
2473
-
2474
- $this->additional_code_before = '<div' . $class . ' style="' . $alignment_style. '"' . $sticky_parameters .'>' . $this->additional_code_before;
2475
- $this->additional_code_after .= '</div>';
2476
-
2477
- $iframe = '<iframe style="width: ' . $this->get_iframe_width () . 'px; height: ' . $this->get_iframe_height () . 'px;" src="' . get_home_url (null, 'wp-admin/admin-ajax.php?action=ai_ajax&block=') . $this->number . '" frameborder="0" scrolling="no"></iframe>';
2478
- } else {
2479
- // No alignment classes to be able to use iframe code anywhere
2480
- if ($this->is_sticky ()) {
2481
- $this->additional_code_before = '<div' . $class . ' style="' . $alignment_style . '"' . $sticky_parameters .'>' . $this->additional_code_before;
2482
- $this->additional_code_after .= '</div>';
2483
-
2484
- $iframe = '<iframe style="width: ' . $this->get_iframe_width () . 'px; height: ' . $this->get_iframe_height () . 'px;" src="' . get_home_url (null, 'wp-admin/admin-ajax.php?action=ai_ajax&block=') . $this->number . '" frameborder="0" scrolling="no"></iframe>';
2485
- } else {
2486
- $iframe = '<iframe style="width: ' . $this->get_iframe_width () . 'px; height: ' . $this->get_iframe_height () . 'px; ' . $alignment_style . '"' . ' src="' . get_home_url (null, 'wp-admin/admin-ajax.php?action=ai_ajax&block=') . $this->number . '" frameborder="0" scrolling="no"></iframe>';
2487
- }
2488
- }
2489
-
2490
- return $this->additional_code_before . $iframe . $this->additional_code_after;
2491
- }
2492
-
2493
- if ($this->get_alignment_type() == AI_ALIGNMENT_NO_WRAPPING || $code_only) return $this->ai_getProcessedCode ($code_for_iframe);
2494
-
2495
- // $alignment_class = $code_for_iframe ? '' : $this->get_alignment_class ();
2496
- // $alignment_style = $code_for_iframe ? '' : $this->get_alignment_style ();
2497
-
2498
- $hidden_viewports = '';
2499
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && $this->get_detection_client_side() && $this->get_client_side_action () == AI_CLIENT_SIDE_ACTION_SHOW) {
2500
-
2501
- $processed_code = $this->ai_getProcessedCode (true);
2502
- $title = '';
2503
- $counters = $this->ai_get_counters ($title);
2504
-
2505
- $visible_viewports = '';
2506
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
2507
- $viewport_name = get_viewport_name ($viewport);
2508
- if ($viewport_name != '') {
2509
- $version_name = $this->version_name == '' ? '' : ' - ' . $this->version_name;
2510
- $viewport_class_name = 'ai-viewport-' . $viewport;
2511
-
2512
- if ($this->get_detection_viewport ($viewport)) {
2513
- $visible_viewports .=
2514
- '<section class="' . $viewport_class_name .'">' .
2515
- $this->labels->bar (
2516
- $this->number . ' ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>', '',
2517
- $viewport_name . ' <kbd class="ai-debug-name ai-main"></kbd>',
2518
- $counters, $title) .
2519
- '</section>';
2520
- } else {
2521
- if (!$ai_wp_data [AI_WP_AMP_PAGE]) {
2522
- if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2523
- $hidden_wrapper_start = '<section class="' . $viewport_class_name .' ai-debug-block ai-debug-viewport-invisible '.$alignment_class.'">';
2524
- } else {
2525
- $hidden_wrapper_start = '<section class="' . $viewport_class_name .' ai-debug-block ai-debug-viewport-invisible" style="' . $alignment_style . '">';
2526
- }
2527
-
2528
- $hidden_viewports .=
2529
- $hidden_wrapper_start .
2530
- $this->labels->bar_hidden_viewport (
2531
- $this->number . ' ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>', '',
2532
- $viewport_name . ' <kbd class="ai-debug-name ai-main"></kbd>',
2533
- $counters, $title) .
2534
- $this->labels->message (($hidden_widgets ? __('WIDGET', 'ad-inserter') : __('BLOCK', 'ad-inserter')).' '._x('INSERTED BUT NOT VISIBLE', 'block or widget', 'ad-inserter')) .
2535
- '</section>';
2536
- }
2537
- }
2538
- }
2539
- }
2540
 
2541
- $viewport_header_before = "<div class='ai-debug-block " . $this->labels->class . "'>".$visible_viewports;
2542
- $viewport_header_after = '</div>';
2543
-
2544
- $this->additional_code_before = $viewport_header_before . $this->additional_code_before;
2545
- $this->additional_code_after .= $viewport_header_after;
2546
-
2547
- $code = $viewport_header_before . $processed_code . $viewport_header_after;
2548
-
2549
- } else $code = $this->ai_getProcessedCode ($code_for_iframe);
2550
 
2551
  // Prevent empty wrapping div on AMP pages
2552
  if ($ai_wp_data [AI_WP_AMP_PAGE] && $code == '') return '';
2553
 
2554
- // $block_class_name = get_block_class_name ($this->needs_class);
2555
-
2556
- // $block_class = get_block_class ();
2557
- // $block_number_class = get_block_number_class ();
2558
 
2559
- // if ($this->get_client_side_action () == AI_CLIENT_SIDE_ACTION_INSERT) $include_viewport_classes = false;
2560
- // $viewport_classes = $include_viewport_classes ? trim ($this->get_viewport_classes ()) : "";
2561
-
2562
- // print_r ($classes);
2563
-
2564
- // if ($block_class_name != '' && ($block_class || $block_number_class) || $alignment_class != '' || $viewport_classes != '') {
2565
- // $classes = array ();
2566
- // if ($block_class_name != '' && ($block_class || $this->needs_class)) $classes []= $block_class_name;
2567
- // if ($alignment_class) $classes []= $alignment_class;
2568
- // if ($block_class_name != '' && ($block_number_class || $this->needs_class)) $classes []= $block_class_name . "-" . $this->number;
2569
- // if ($viewport_classes) $classes []= $viewport_classes;
2570
- // } else $classes = array ();
2571
 
2572
- // print_r ($classes);
 
 
 
 
2573
 
2574
- if ($hidden_widgets) return $hidden_viewports; else {
2575
- if ($this->client_side_list_detection && !$ai_wp_data [AI_WP_AMP_PAGE]) {
2576
- if ($this->is_sticky ()) {
2577
- $additional_block_style = 'visibility: hidden; ';
2578
- } else {
2579
- $additional_block_style = 'visibility: hidden; position: absolute; ';
2580
- $classes [] = 'ai-remove-position';
2581
- }
2582
 
2583
- // Needed to locate wrapping div
2584
- $classes [] = 'ai-list-block';
2585
- } else {
2586
- $additional_block_style = '';
2587
- }
 
2588
 
2589
- // $sticky_parameters = '';
 
 
 
2590
 
2591
- // if (!$ai_wp_data [AI_WP_AMP_PAGE]) {
2592
- // $sticky_parameters = $this->sticky_parameters ($classes);
2593
- // }
2594
 
2595
- if ($this->get_close_button () && !$ai_wp_data [AI_WP_AMP_PAGE]) {
2596
- $classes [] = 'ai-close';
2597
- }
 
 
2598
 
2599
- foreach ($classes as $index => $class_name) {
2600
- if (trim ($class_name) == '') unset ($classes [$index]);
2601
  }
2602
- if (count ($classes) != 0) {
2603
- $class = " class='" . trim (implode (' ', $classes)) . "'";
2604
- } else $class = "";
2605
-
2606
- $tracking_code_pre = '';
2607
- $tracking_code_data = '';
2608
- $tracking_code_post = '';
2609
- $tracking_code = '';
2610
-
2611
- if ($this->fallback != 0) {
2612
- if ($block_object [$this->fallback]->get_tracking ()) {
2613
  $tracking_code_pre = " data-ai='";
2614
- $tracking_code_data = "[{$this->fallback},{$this->code_version},\"{$block_object [$this->fallback]->get_ad_name ()}\",\"{$this->version_name}\"]";
2615
  $tracking_code_post = "'";
2616
 
2617
  $tracking_code = $tracking_code_pre . base64_encode ($tracking_code_data) . $tracking_code_post;
2618
  }
2619
- } else {
2620
- if ($this->get_tracking ()) {
2621
- $tracking_code_pre = " data-ai='";
2622
- $tracking_code_data = "[{$this->number},{$this->code_version},\"{$this->get_ad_name ()}\",\"{$this->version_name}\"]";
2623
- $tracking_code_post = "'";
2624
-
2625
- $tracking_code = $tracking_code_pre . base64_encode ($tracking_code_data) . $tracking_code_post;
2626
- }
2627
- }
2628
 
2629
- if ($this->w3tc_code != '' && get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && !defined ('AI_NO_W3TC')) {
2630
- if ($this->get_tracking ()) $tracking_code_data = '[#AI_DATA#]';
2631
 
2632
- if ($ai_wp_data [AI_WP_AMP_PAGE] || ($alignment_class != '' && defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ())) {
2633
- $wrapper_before = $hidden_viewports . "<div" . $class . $tracking_code_pre . $tracking_code_data . $tracking_code_post . $sticky_parameters . ">\n";
2634
- } else {
2635
- $wrapper_before = $hidden_viewports . "<div" . $class . $tracking_code_pre . $tracking_code_data . $tracking_code_post . $sticky_parameters . " style='" . $additional_block_style . $alignment_style . "'>\n";
2636
- }
2637
 
2638
 
2639
  // TO TEST
2640
- // $wrapper_before = $hidden_viewports . "<div" . $class . $tracking_code_pre . $tracking_code_data . $tracking_code_post .
2641
 
2642
  // if ($ai_wp_data [AI_WP_AMP_PAGE] || ($alignment_class != '' && defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ())) {
2643
  // $wrapper_before .= " style='" . $additional_block_style . $alignment_style;
@@ -2646,49 +2627,48 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2646
 
2647
 
2648
 
2649
- $wrapper_after = "</div>\n";
2650
 
2651
- $wrapper_before .= $this->additional_code_before;
2652
- $wrapper_after = $this->additional_code_after . $wrapper_after;
2653
 
2654
- $this->w3tc_code .= ' $ai_code = str_replace (\'[#AI_DATA#]\', base64_encode ("[' . $this->number . ',$ai_index]"), base64_decode (\''.base64_encode ($wrapper_before).'\')) . $ai_code . base64_decode (\''.base64_encode ($wrapper_after).'\');';
2655
 
2656
- if ($this->w3tc_code2 != '' ) {
2657
- $this->w3tc_code = $this->w3tc_code2 . ' $ai_code2 = $ai_enabled ? $ai_code : "";' . $this->w3tc_code . ' $ai_code = str_replace ("[#AI_CODE2#]", $ai_code2, $ai_code);';
2658
- }
2659
 
2660
- $code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2661
- $code .= $this->w3tc_code .' if ($ai_enabled) echo $ai_code;';
2662
- $code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2663
- } else {
2664
 
2665
- if ($ai_wp_data [AI_WP_AMP_PAGE] || ($alignment_class != '' && defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ())) {
2666
- $wrapper_before = $hidden_viewports . "<div" . $class . $tracking_code . $sticky_parameters . ">\n";
2667
- } else {
2668
- $wrapper_before = $hidden_viewports . "<div" . $class . $tracking_code . $sticky_parameters . " style='" . $additional_block_style . $alignment_style . "'>\n";
2669
- }
2670
 
2671
  // TO TEST
2672
- // $wrapper_before = $hidden_viewports . "<div" . $class . $tracking_code;
2673
  // if ($ai_wp_data [AI_WP_AMP_PAGE] || ($alignment_class != '' && defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()))
2674
- // $wrapper_before .= $hidden_viewports . "<div" . $class . $tracking_code . " style='" . $additional_block_style . $alignment_style . "'>\n";
2675
  // $wrapper_before .= "'>\n";
2676
 
2677
- $wrapper_after = "</div>\n";
2678
-
2679
- if ($this->w3tc_code2 != '' ) {
2680
- $this->before_w3tc_code2 = $wrapper_before . $code . $wrapper_after;
2681
 
2682
- $code2 = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2683
- $code2 .= $this->w3tc_code2 .' if ($ai_enabled) echo $ai_code;';
2684
- $code2 .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2685
 
2686
- $code = str_replace ("[#AI_CODE2#]", $code2, $code);
2687
- }
 
2688
 
2689
- $code = $wrapper_before . $code . $wrapper_after;
2690
  }
2691
- }
 
 
2692
 
2693
  return $code;
2694
  }
@@ -2804,7 +2784,9 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2804
 
2805
  $tag = $viewports_insertion ? 'div' : _x('script', 'JavaScript', 'ad-inserter');
2806
  $debug_script = new ai_block_labels ('ai-debug-script');
2807
- $serverside_insertion_code = $debug_script->bar (" $tag " . __('for', 'ad-inserter') . " " . $this->number . ' &nbsp; ' . $this->get_ad_name () . $version_name . ' ' . $fallback_block_name, '', $insertion_name . ' ' . $selector, $counters, $title) . $serverside_insertion_code;
 
 
2808
  }
2809
 
2810
  if ($this->w3tc_code != '' && get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && !defined ('AI_NO_W3TC')) {
@@ -2832,27 +2814,32 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2832
  }
2833
 
2834
  public function get_iframe_page () {
 
 
 
2835
  ob_start ();
2836
  echo '<!DOCTYPE>
2837
  <html>
2838
  <head>
2839
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2840
  ';
2841
- ai_header_noindex ();
2842
- add_head_inline_styles ();
2843
- echo '<style type="text/css">
2844
- body {margin: 0; padding: 0;}
 
2845
  </style>
2846
  <title>Ad Inserter Pro - Advanced WordPress Ads Management Plugin</title>
2847
  </head>
2848
  <body>
2849
- ';
2850
- echo $this->get_code_for_insertion (true, false, false, true);
2851
- add_footer_inline_scripts ();
2852
  echo '</body>
2853
  </html>';
2854
 
2855
  $page = ob_get_clean ();
 
2856
  return $page;
2857
  }
2858
 
@@ -3181,7 +3168,7 @@ echo '</body>
3181
  $viewport_classes = "";
3182
  if ($this->get_detection_client_side ()) {
3183
  $all_viewports = true;
3184
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
3185
  $viewport_name = get_viewport_name ($viewport);
3186
  if ($viewport_name != '') {
3187
  if ($this->get_detection_viewport ($viewport)) $viewport_classes .= " ai-viewport-" . $viewport; else $all_viewports = false;
@@ -3200,7 +3187,7 @@ echo '</body>
3200
 
3201
  $viewport_names = array ();
3202
  if ($this->get_detection_client_side ()) {
3203
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
3204
  $viewport_name = get_viewport_name ($viewport);
3205
  if ($viewport_name != '') {
3206
  if ($this->get_detection_viewport ($viewport)) $viewport_names []= $viewport_name;
@@ -3250,7 +3237,11 @@ echo '</body>
3250
  return '';
3251
  }
3252
 
3253
- public function before_paragraph ($content, $position_preview = false) {
 
 
 
 
3254
  global $ai_wp_data, $ai_last_check, $special_element_tags;
3255
 
3256
  $multibyte = $ai_wp_data [AI_MBSTRING_LOADED] && get_paragraph_counting_functions() == AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS;
@@ -3260,7 +3251,9 @@ echo '</body>
3260
 
3261
  $dummy = array ();
3262
 
3263
- $paragraph_tags = trim ($this->get_paragraph_tags());
 
 
3264
  if ($paragraph_tags == '') return $content;
3265
 
3266
  $paragraph_start_strings = explode (",", $paragraph_tags);
@@ -3283,11 +3276,15 @@ echo '</body>
3283
  $active_paragraph_positions = $new_active_paragraph_positions;
3284
 
3285
 
3286
- if (!$this->get_count_inside_blockquote ()) {
3287
 
3288
  $special_element_offsets = array ();
3289
 
3290
- foreach ($special_element_tags as $special_element_tag) {
 
 
 
 
3291
  preg_match_all ("/<\/?$special_element_tag/i", $content, $special_elements, PREG_OFFSET_CAPTURE);
3292
 
3293
  $nesting = array ();
@@ -3348,98 +3345,100 @@ echo '</body>
3348
  }
3349
 
3350
 
3351
- $paragraph_min_words = intval ($this->get_minimum_paragraph_words());
3352
- $paragraph_max_words = intval ($this->get_maximum_paragraph_words());
 
3353
 
3354
- if ($paragraph_min_words != 0 || $paragraph_max_words != 0) {
3355
 
3356
- if (!isset ($paragraph_end_positions)) {
3357
- $paragraph_end_positions = array ();
3358
- get_paragraph_end_positions ($content, $multibyte, $paragraph_positions, $paragraph_start_strings, $paragraph_end_positions, $dummy);
3359
- }
3360
 
3361
- foreach ($paragraph_positions as $index => $paragraph_position) {
3362
 
3363
- if ($active_paragraph_positions [$index] == 0) continue;
3364
 
3365
- if ($multibyte) {
3366
- $paragraph_code = mb_substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3367
- } else {
3368
- $paragraph_code = substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3369
- }
3370
 
3371
- if (!$this->check_number_of_words_in_paragraph ($paragraph_code, $paragraph_min_words, $paragraph_max_words)) $active_paragraph_positions [$index] = 0;
 
3372
  }
3373
- }
3374
-
3375
- // Nothing to do
3376
- $ai_last_check = AI_CHECK_PARAGRAPHS_AFTER_MIN_MAX_WORDS;
3377
- if (array_sum ($active_paragraph_positions) == 0) return $content;
3378
 
 
 
 
3379
 
3380
- $paragraph_texts = explode (",", html_entity_decode ($this->get_paragraph_text()));
3381
- if ($this->get_paragraph_text() != "" && count ($paragraph_texts) != 0) {
3382
 
3383
- if (!isset ($paragraph_end_positions)) {
3384
- $paragraph_end_positions = array ();
3385
- get_paragraph_end_positions ($content, $multibyte, $paragraph_positions, $paragraph_start_strings, $paragraph_end_positions, $dummy);
3386
- }
3387
 
3388
- $paragraph_text_type = $this->get_paragraph_text_type ();
3389
 
3390
- foreach ($paragraph_positions as $index => $paragraph_position) {
3391
 
3392
- if ($active_paragraph_positions [$index] == 0) continue;
3393
 
3394
- if ($multibyte) {
3395
- $paragraph_code = mb_substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3396
- } else {
3397
- $paragraph_code = substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3398
- }
3399
-
3400
- if ($paragraph_text_type == AI_CONTAIN) {
3401
- $found = true;
3402
- foreach ($paragraph_texts as $paragraph_text) {
3403
- if (trim ($paragraph_text) == '') continue;
3404
 
3405
- if ($multibyte) {
3406
- if (mb_stripos ($paragraph_code, trim ($paragraph_text)) === false) {
3407
- $found = false;
3408
- break;
3409
- }
3410
- } else {
3411
- if (stripos ($paragraph_code, trim ($paragraph_text)) === false) {
3412
- $found = false;
3413
- break;
3414
- }
3415
- }
3416
- }
3417
- if (!$found) $active_paragraph_positions [$index] = 0;
3418
- } elseif ($paragraph_text_type == AI_DO_NOT_CONTAIN) {
3419
- $found = false;
3420
  foreach ($paragraph_texts as $paragraph_text) {
3421
  if (trim ($paragraph_text) == '') continue;
3422
 
3423
  if ($multibyte) {
3424
- if (mb_stripos ($paragraph_code, trim ($paragraph_text)) !== false) {
3425
- $found = true;
3426
  break;
3427
  }
3428
  } else {
3429
- if (stripos ($paragraph_code, trim ($paragraph_text)) !== false) {
3430
- $found = true;
3431
  break;
3432
  }
3433
  }
3434
  }
3435
- if ($found) $active_paragraph_positions [$index] = 0;
3436
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3437
  }
3438
- }
3439
 
3440
- // Nothing to do
3441
- $ai_last_check = AI_CHECK_PARAGRAPHS_AFTER_TEXT;
3442
- if (array_sum ($active_paragraph_positions) == 0) return $content;
 
 
3443
 
3444
  $position_text = trim ($this->get_paragraph_number());
3445
 
@@ -3467,7 +3466,6 @@ echo '</body>
3467
  $filtered_paragraph_positions = array ();
3468
  foreach ($paragraph_positions as $index => $paragraph_position) {
3469
  if ($active_paragraph_positions [$index]) $filtered_paragraph_positions [] = $paragraph_position;
3470
-
3471
  }
3472
  $paragraph_positions = $filtered_paragraph_positions;
3473
 
@@ -3553,7 +3551,6 @@ echo '</body>
3553
  }
3554
  }
3555
 
3556
-
3557
  if ($multibyte) {
3558
  $paragraph_code = mb_substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3559
  } else {
@@ -3577,8 +3574,10 @@ echo '</body>
3577
 
3578
  $filter_settings = trim (str_replace (' ', '', $this->get_call_filter()));
3579
  if (!empty ($filter_settings)) {
3580
- if ($this->get_filter_type() == AI_FILTER_PARAGRAPHS) {
3581
 
 
 
 
3582
  $filter_values = array ();
3583
  if (strpos ($filter_settings, ",") !== false) {
3584
  $filter_values = explode (",", $filter_settings);
@@ -3587,7 +3586,6 @@ echo '</body>
3587
  $inverted_filter = $this->get_inverted_filter();
3588
  $filtered_positions = array ();
3589
 
3590
-
3591
  foreach ($positions as $index => $position) {
3592
  $insert = false;
3593
  if (in_array ($index + 1, $filter_values)) {
@@ -3598,8 +3596,10 @@ echo '</body>
3598
  if ($filter_value [0] == '%') {
3599
  $mod_value = substr ($filter_value, 1);
3600
  if (is_numeric ($mod_value) && $mod_value > 0) {
3601
- if (($index + 1) % $mod_value == 0) $insert = true;
3602
- break;
 
 
3603
  }
3604
  }
3605
  }
@@ -3608,15 +3608,13 @@ echo '</body>
3608
  }
3609
  $positions = $filtered_positions;
3610
  }
3611
- // else $positions = array ();
3612
  }
3613
-
3614
  }
3615
  }
3616
 
3617
  $debug_processing = ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0;
3618
 
3619
- if (!empty ($positions)) {
3620
  $avoid_paragraphs_above = intval ($this->get_avoid_paragraphs_above());
3621
  $avoid_paragraphs_below = intval ($this->get_avoid_paragraphs_below());
3622
 
@@ -3825,7 +3823,8 @@ echo '</body>
3825
  }
3826
 
3827
  $paragraph_words = number_of_words ($paragraph_code);
3828
- $inserted_code = "[[AI_BP".($counter + 1)."=".$paragraph_words."]]";
 
3829
  }
3830
  elseif (!empty ($positions) && in_array ($counter, $positions) && $this->check_block_counter ()) {
3831
 
@@ -3885,7 +3884,11 @@ echo '</body>
3885
  return $content;
3886
  }
3887
 
3888
- public function after_paragraph ($content, $position_preview = false) {
 
 
 
 
3889
  global $ai_wp_data, $ai_last_check, $special_element_tags;
3890
 
3891
  $multibyte = $ai_wp_data [AI_MBSTRING_LOADED] && get_paragraph_counting_functions() == AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS;
@@ -3901,7 +3904,9 @@ echo '</body>
3901
  $last_content_position = strlen ($content) - 1;
3902
  }
3903
 
3904
- $paragraph_tags = trim ($this->get_paragraph_tags());
 
 
3905
  if ($paragraph_tags == '') return $content;
3906
 
3907
  $paragraph_end_strings = explode (",", $paragraph_tags);
@@ -3925,11 +3930,15 @@ echo '</body>
3925
  $active_paragraph_positions = $new_active_paragraph_positions;
3926
 
3927
 
3928
- if (!$this->get_count_inside_blockquote ()) {
3929
 
3930
  $special_element_offsets = array ();
3931
 
3932
- foreach ($special_element_tags as $special_element_tag) {
 
 
 
 
3933
  preg_match_all ("/<\/?$special_element_tag/i", $content, $special_elements, PREG_OFFSET_CAPTURE);
3934
 
3935
  $nesting = array ();
@@ -3989,103 +3998,105 @@ echo '</body>
3989
  if (array_sum ($active_paragraph_positions) == 0) return $content;
3990
  }
3991
 
 
 
 
3992
 
3993
- $paragraph_min_words = intval ($this->get_minimum_paragraph_words());
3994
- $paragraph_max_words = intval ($this->get_maximum_paragraph_words());
3995
 
3996
- if ($paragraph_min_words != 0 || $paragraph_max_words != 0) {
3997
-
3998
- if (!isset ($paragraph_start_positions)) {
3999
- $paragraph_start_positions = array ();
4000
- get_paragraph_start_positions ($content, $multibyte, $paragraph_positions, $paragraph_end_strings, $paragraph_start_positions, $dummy);
4001
- }
4002
 
4003
- foreach ($paragraph_positions as $index => $paragraph_position) {
4004
 
4005
- if ($active_paragraph_positions [$index] == 0) continue;
4006
 
4007
- if ($multibyte) {
4008
- $paragraph_code = mb_substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
4009
- } else {
4010
- $paragraph_code = substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
4011
- }
4012
 
4013
- if (!$this->check_number_of_words_in_paragraph ($paragraph_code, $paragraph_min_words, $paragraph_max_words)) $active_paragraph_positions [$index] = 0;
 
4014
  }
4015
- }
4016
-
4017
-
4018
- // Nothing to do
4019
- $ai_last_check = AI_CHECK_PARAGRAPHS_AFTER_MIN_MAX_WORDS;
4020
- if (array_sum ($active_paragraph_positions) == 0) return $content;
4021
 
4022
 
4023
- $paragraph_texts = explode (",", html_entity_decode ($this->get_paragraph_text()));
4024
- if ($this->get_paragraph_text() != "" && count ($paragraph_texts) != 0) {
 
4025
 
4026
- if (!isset ($paragraph_start_positions)) {
4027
- $paragraph_start_positions = array ();
4028
- get_paragraph_start_positions ($content, $multibyte, $paragraph_positions, $paragraph_end_strings, $paragraph_start_positions, $dummy);
4029
- }
4030
 
4031
- $paragraph_text_type = $this->get_paragraph_text_type ();
 
4032
 
4033
- foreach ($paragraph_positions as $index => $paragraph_position) {
 
 
 
4034
 
4035
- if ($active_paragraph_positions [$index] == 0) continue;
4036
 
4037
- if ($multibyte) {
4038
- $paragraph_code = mb_substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
4039
- } else {
4040
- $paragraph_code = substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
4041
- }
4042
 
4043
- if ($paragraph_text_type == AI_CONTAIN) {
4044
- $found = true;
4045
- foreach ($paragraph_texts as $paragraph_text) {
4046
- if (trim ($paragraph_text) == '') continue;
4047
 
4048
- if ($multibyte) {
4049
- if (mb_stripos ($paragraph_code, trim ($paragraph_text)) === false) {
4050
- $found = false;
4051
- break;
4052
- }
4053
- } else {
4054
- if (stripos ($paragraph_code, trim ($paragraph_text)) === false) {
4055
- $found = false;
4056
- break;
4057
- }
4058
- }
4059
 
4060
- }
4061
- if (!$found) $filtered_paragraph_positions [] = $active_paragraph_positions [$index] = 0;
4062
- } elseif ($paragraph_text_type == AI_DO_NOT_CONTAIN) {
4063
- $found = false;
4064
  foreach ($paragraph_texts as $paragraph_text) {
4065
  if (trim ($paragraph_text) == '') continue;
4066
 
4067
  if ($multibyte) {
4068
- if (mb_stripos ($paragraph_code, trim ($paragraph_text)) !== false) {
4069
- $found = true;
4070
  break;
4071
  }
4072
  } else {
4073
- if (stripos ($paragraph_code, trim ($paragraph_text)) !== false) {
4074
- $found = true;
4075
  break;
4076
  }
4077
  }
4078
 
4079
  }
4080
- if ($found) $active_paragraph_positions [$index] = 0;
4081
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4082
  }
4083
- }
4084
 
4085
 
4086
- // Nothing to do
4087
- $ai_last_check = AI_CHECK_PARAGRAPHS_AFTER_TEXT;
4088
- if (array_sum ($active_paragraph_positions) == 0) return $content;
 
 
4089
 
4090
  $position_text = trim ($this->get_paragraph_number());
4091
 
@@ -4221,7 +4232,10 @@ echo '</body>
4221
 
4222
  $filter_settings = trim (str_replace (' ', '', $this->get_call_filter()));
4223
  if (!empty ($filter_settings)) {
4224
- if ($this->get_filter_type() == AI_FILTER_PARAGRAPHS) {
 
 
 
4225
  $filter_values = array ();
4226
  if (strpos ($filter_settings, ",") !== false) {
4227
  $filter_values = explode (",", $filter_settings);
@@ -4240,7 +4254,10 @@ echo '</body>
4240
  if ($filter_value [0] == '%') {
4241
  $mod_value = substr ($filter_value, 1);
4242
  if (is_numeric ($mod_value) && $mod_value > 0) {
4243
- if (($index + 1) % $mod_value == 0) $insert = true;
 
 
 
4244
  }
4245
  }
4246
  }
@@ -4249,14 +4266,13 @@ echo '</body>
4249
  }
4250
  $positions = $filtered_positions;
4251
  }
4252
- // else $positions = array ();
4253
  }
4254
  }
4255
  }
4256
 
4257
  $debug_processing = ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0;
4258
 
4259
- if (!empty ($positions)) {
4260
  $avoid_paragraphs_above = intval ($this->get_avoid_paragraphs_above());
4261
  $avoid_paragraphs_below = intval ($this->get_avoid_paragraphs_below());
4262
 
@@ -4456,7 +4472,8 @@ echo '</body>
4456
  $max_page_blocks_enabled = $this->get_max_page_blocks_enabled ();
4457
 
4458
  foreach ($paragraph_positions as $counter => $paragraph_position) {
4459
- if ($position_preview) $inserted_code = "[[AI_AP".($counter + 1)."]]";
 
4460
  elseif (!empty ($positions) && in_array ($counter, $positions) && $this->check_block_counter ()) {
4461
 
4462
  $inserted = false;
@@ -4899,7 +4916,7 @@ echo '</body>
4899
 
4900
  if (!$insertion_enabled) {
4901
  $fallback = intval ($this->get_fallback());
4902
- if ($fallback != 0 && $fallback <= AD_INSERTER_BLOCKS) {
4903
  $this->fallback = $fallback;
4904
  return true;
4905
  }
@@ -4919,7 +4936,7 @@ echo '</body>
4919
 
4920
  if (!$insertion_enabled) {
4921
  $fallback = intval ($this->get_fallback());
4922
- if ($fallback != 0 && $fallback <= AD_INSERTER_BLOCKS) {
4923
  $this->fallback = $fallback;
4924
  return true;
4925
  }
@@ -4942,7 +4959,7 @@ echo '</body>
4942
 
4943
  if (!$insertion_enabled) {
4944
  $fallback = intval ($this->get_fallback());
4945
- if ($fallback != 0 && $fallback <= AD_INSERTER_BLOCKS) {
4946
  $this->fallback = $fallback;
4947
  return true;
4948
  }
@@ -4972,7 +4989,7 @@ echo '</body>
4972
 
4973
  if (!$insertion_enabled) {
4974
  $fallback = intval ($this->get_fallback());
4975
- if ($fallback != 0 && $fallback <= AD_INSERTER_BLOCKS) {
4976
  $this->fallback = $fallback;
4977
  return true;
4978
  }
@@ -5201,6 +5218,7 @@ echo '</body>
5201
  $counter_for_filter = $ad_inserter_globals [AI_POST_COUNTER_NAME]; else return !$filter_ok;
5202
  break;
5203
  case AI_FILTER_PARAGRAPHS:
 
5204
  return true;
5205
  break;
5206
  case AI_FILTER_COMMENTS:
@@ -5465,6 +5483,7 @@ echo '</body>
5465
  // AI_STICK_TO_THE_CONTENT
5466
  // AI_TRACKING
5467
  // AI_CLOSE_BUTTONS
 
5468
  // AI_ANIMATION
5469
  // AI_LAZY_LOADING
5470
  // AI_GEOLOCATION
@@ -5779,7 +5798,7 @@ class ai_code_generator {
5779
  $code = '<style>
5780
  ';
5781
  $display_inline = false;
5782
- for ($viewport = AD_INSERTER_VIEWPORTS; $viewport >= 1; $viewport --) {
5783
  $viewport_name = get_viewport_name ($viewport);
5784
  $viewport_width = get_viewport_width ($viewport);
5785
 
@@ -5907,7 +5926,7 @@ class ai_code_generator {
5907
 
5908
  $sizes = array ();
5909
  $viewport_widths = array ();
5910
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
5911
  $viewport_name = get_viewport_name ($viewport);
5912
  $viewport_width = get_viewport_width ($viewport);
5913
  if ($viewport_name != '') {
@@ -6146,9 +6165,9 @@ class ai_block_labels {
6146
  return "</section>\n";
6147
  }
6148
 
6149
- public function bar ($left_text, $left_title = '', $center_text = '', $right_text = '', $right_title = '') {
6150
  return
6151
- "<section class='ai-debug-bar $this->class'>" .
6152
  $this->invisible_start () .
6153
  $this->bar_text_left ($left_text, $left_title) .
6154
  $this->bar_text_center ($center_text) .
@@ -6201,9 +6220,9 @@ class ai_block_labels {
6201
  return '<kbd class="ai-debug-invisible">[/AI]</kbd>';
6202
  }
6203
 
6204
- public function message ($text) {
6205
  return
6206
- "<section class='ai-debug-adb-center'>" .
6207
  $this->invisible_start () .
6208
  $text .
6209
  $this->invisible_end () .
18
  var $additional_code_after; // For server-side dynamic PHP code
19
  var $counters;
20
  var $client_side_cookie_check;
21
+ var $hide_debug_labels;
22
  var $demo_debugging;
23
+ var $hidden_viewports;
24
 
25
  var $label;
26
 
41
  $this->additional_code_after = '';
42
  $this->counters = '';
43
  $this->client_side_cookie_check = false;
44
+ $this->hide_debug_labels = false;
45
  $this->demo_debugging = false;
46
+ $this->hidden_viewports = '';
47
 
48
  $this->labels = new ai_block_labels ();
49
 
291
 
292
  if ($return_saved_value) return $enable_amp;
293
 
294
+ // Fix for AMP code blocks with whitelisted url */amp
295
  $urls = $this->get_ad_url_list();
296
  $url_type = $this->get_ad_url_list_type();
297
  if ($url_type == AI_WHITE_LIST && strpos ($urls, '/amp') !== false) {
489
  $this->wp_options [AI_OPTION_SHOW_LABEL] = AI_DISABLED;
490
  $this->wp_options [AI_OPTION_LAZY_LOADING] = AI_DISABLED;
491
  $this->wp_options [AI_OPTION_IFRAME] = AI_DISABLED;
492
+ $this->wp_options [AI_OPTION_LABEL_IN_IFRAME] = AI_DISABLED;
493
  $this->wp_options [AI_OPTION_IFRAME_WIDTH] = DEFAULT_IFRAME_WIDTH;
494
  $this->wp_options [AI_OPTION_IFRAME_HEIGHT] = DEFAULT_IFRAME_HEIGHT;
495
  $this->wp_options [AI_OPTION_TRACKING] = AI_DISABLED;
581
  $this->wp_options [AI_OPTION_DETECT_CLIENT_SIDE] = AI_DISABLED;
582
  $this->wp_options [AI_OPTION_CLIENT_SIDE_ACTION] = DEFAULT_CLIENT_SIDE_ACTION;
583
  $this->wp_options [AI_OPTION_CLOSE_BUTTON] = DEFAULT_CLOSE_BUTTON;
584
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
585
  $this->wp_options [AI_OPTION_DETECT_VIEWPORT . '_' . $viewport] = AI_DISABLED;
586
  }
587
  }
619
  return $option;
620
  }
621
 
622
+ public function get_label_in_iframe (){
623
+ $option = isset ($this->wp_options [AI_OPTION_LABEL_IN_IFRAME]) ? $this->wp_options [AI_OPTION_LABEL_IN_IFRAME] : AI_DISABLED;
624
+ if ($option == '') $option = AI_DISABLED;
625
+ return $option;
626
+ }
627
+
628
  public function get_automatic_insertion (){
629
  global $ai_db_options;
630
 
685
  if (!$translate) return AI_TEXT_ENG_AFTER_PARAGRAPH;
686
  return AI_TEXT_AFTER_PARAGRAPH;
687
  break;
688
+ case AI_AUTOMATIC_INSERTION_BEFORE_IMAGE:
689
+ if (!$translate) return AI_TEXT_ENG_BEFORE_IMAGE;
690
+ return AI_TEXT_BEFORE_IMAGE;
691
+ break;
692
+ case AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH:
693
+ if (!$translate) return AI_TEXT_ENG_AFTER_IMAGE;
694
+ return AI_TEXT_AFTER_IMAGE;
695
+ break;
696
  case AI_AUTOMATIC_INSERTION_BEFORE_EXCERPT:
697
  if (!$translate) return AI_TEXT_ENG_BEFORE_EXCERPT;
698
  return AI_TEXT_BEFORE_EXCERPT;
738
  return AI_TEXT_AFTER_HTML_ELEMENT;
739
  break;
740
  default:
741
+ if ($automatic_insertion >= AI_AUTOMATIC_INSERTION_CUSTOM_HOOK && $automatic_insertion < AI_AUTOMATIC_INSERTION_CUSTOM_HOOK + 8) {
742
  $hook_index = $automatic_insertion - AI_AUTOMATIC_INSERTION_CUSTOM_HOOK;
743
  return get_hook_name ($hook_index + 1);
744
  }
1530
  if (!$translate) return AI_TEXT_ENG_PARAGRAPHS_COUNTER;
1531
  return AI_TEXT_PARAGRAPHS_COUNTER;
1532
  break;
1533
+ case AI_FILTER_IMAGES:
1534
+ if (!$translate) return AI_TEXT_ENG_IMAGES_COUNTER;
1535
+ return AI_TEXT_IMAGES_COUNTER;
1536
+ break;
1537
  case AI_FILTER_COMMENTS:
1538
  if (!$translate) return AI_TEXT_ENG_COMMENTS_COUNTER;
1539
  return AI_TEXT_COMMENTS_COUNTER;
1945
  global $ai_wp_data;
1946
 
1947
  $right_title = '';
1948
+
1949
  $fallback_block_name = '';
1950
  if ($class != '') {
1951
  $this->labels->class = $class;
1954
  if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
1955
  $this->labels->class = 'ai-debug-ajax';
1956
  $title = __('AJAX REQUEST', 'ad-inserter');
1957
+ if (isset ($_GET ["block"])) {
1958
+ $this->counters = 'IFRAME';
1959
+ $right_title = __('Ajax request for block in iframe', 'ad-inserter');
1960
+ }
1961
+ }
1962
+ elseif ($this->get_iframe ()) {
1963
+ $this->labels->class = 'ai-debug-iframe';
1964
  }
1965
 
1966
  if ($this->fallback != 0) {
1974
  $block_name = $this->number . ' &nbsp; ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>' . $fallback_block_name;
1975
 
1976
  if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
1977
+ $left_text = '<a href="'. get_site_url (null, $_SERVER ['REQUEST_URI']).'" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">'.$_SERVER ['REQUEST_URI'].'</a>';
1978
+ $left_title = __('Ajax request url, click to open it in a new tab', 'ad-inserter');
1979
+ if (isset ($_GET ["block"]))
1980
+ $ajax_bar = $this->labels->bar ($left_text, $left_title); else
1981
+ $ajax_bar = $this->labels->bar ($left_text, $left_title, '', __('IN THE LOOP', 'ad-inserter') . ': ' . (in_the_loop() ? __('YES', 'ad-inserter') : __('NO', 'ad-inserter')), 'in_the_loop ()');
1982
  } else $ajax_bar = '';
1983
 
1984
+ $this->hidden_viewports = '';
1985
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && $this->get_detection_client_side() && $this->get_client_side_action () == AI_CLIENT_SIDE_ACTION_SHOW) {
1986
+
1987
+ $alignment_class = $this->get_alignment_class ();
1988
+ $alignment_style = $this->get_alignment_style ();
1989
+
1990
+ $label_bars = '';
1991
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
1992
+ $viewport_name = get_viewport_name ($viewport);
1993
+ if ($viewport_name != '') {
1994
+ $viewport_class_name = 'ai-viewport-' . $viewport;
1995
+
1996
+ if ($this->get_detection_viewport ($viewport)) {
1997
+ $label_bars .=
1998
+ $this->labels->bar (
1999
+ $block_name, '',
2000
+ $viewport_name . ' <kbd class="ai-debug-name ai-main"></kbd>',
2001
+ $counters, $right_title,
2002
+ $viewport_class_name);
2003
+ } else {
2004
+ if (!$ai_wp_data [AI_WP_AMP_PAGE]) {
2005
+ if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2006
+ $hidden_wrapper_start = '<section class="' . $viewport_class_name .' ai-debug-block ai-debug-viewport-invisible '. $alignment_class .'">';
2007
+ } else {
2008
+ $hidden_wrapper_start = '<section class="' . $viewport_class_name .' ai-debug-block ai-debug-viewport-invisible" style="' . $alignment_style . '">';
2009
+ }
2010
+
2011
+ $this->hidden_viewports .=
2012
+ $hidden_wrapper_start .
2013
+ $this->labels->bar_hidden_viewport (
2014
+ '!!'.$block_name, '',
2015
+ $viewport_name . ' <kbd class="ai-debug-name ai-main"></kbd>',
2016
+ $counters, $right_title) .
2017
+ $this->labels->message (__('BLOCK', 'ad-inserter').' '._x('INSERTED BUT NOT VISIBLE', 'block or widget', 'ad-inserter')) .
2018
+ '</section>';
2019
+ }
2020
+ }
2021
+ }
2022
+ }
2023
+ } else $label_bars = $this->labels->bar ($block_name, '', '<kbd class="ai-debug-name ai-main">' . $title . '</kbd>', $counters, $right_title);
2024
+
2025
  $this->additional_code_before =
2026
  $this->labels->block_start () .
2027
+ $label_bars .
2028
  $ajax_bar .
2029
  $this->additional_code_before;
2030
 
2031
  $this->additional_code_after .= $this->labels->block_end ();
2032
  }
2033
 
2034
+ public function ai_getProcessedCode ($force_close_button = false) {
2035
  global $ai_wp_data, $ad_inserter_globals, $block_object;
2036
 
 
 
2037
  // Clear the codes for cases when the code block is called more than once
2038
  $this->additional_code_before = '';
2039
  $this->additional_code_after = '';
2040
  $this->w3tc_code = '';
2041
 
2042
+ $not_iframe_or_inside = !$this->get_iframe () || $ai_wp_data [AI_CODE_FOR_IFRAME];
2043
+
2044
+ if ($this->get_iframe () && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2045
+ $width = trim ($this->get_iframe_width ());
2046
+ $height = trim ($this->get_iframe_height ());
2047
+ $iframe_style = ($width != '' ? 'width: ' . $width . 'px; ' : 'width: 100%; ') . ($height != '' ? 'height: ' . $height . 'px;' : 'height: 0px;');
2048
+
2049
+ $iframe_parameters = '';
2050
+
2051
+ if (get_dynamic_blocks () != AI_DYNAMIC_BLOCKS_SERVER_SIDE) {
2052
+ if (isset ($_SERVER['HTTP_REFERER'])) {
2053
+ $referer_host = strtolower (parse_url ($_SERVER['HTTP_REFERER'], PHP_URL_HOST));
2054
+ } else $referer_host = '';
2055
+ $iframe_parameters .= '&referrer='.urlencode_deep ($referer_host);
2056
+ }
2057
+
2058
+ if ($this->client_side_cookie_check) {
2059
+ $iframe_parameters .= '&cookie_check=1';
2060
+ }
2061
+ if ($this->hide_debug_labels) {
2062
+ $iframe_parameters .= '&hide-debug-labels=1';
2063
+ }
2064
+ foreach ($_GET as $url_parameter => $url_parameter_value) {
2065
+ $iframe_parameters .= '&'. $url_parameter . '=' . $url_parameter_value;
2066
+ }
2067
+ $iframe_parameters .= '&rnd=' . rand (1, 10000000000);
2068
+
2069
+ $attributes = '';
2070
+ if (!get_disable_js_code () && ($height == '' || ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0)) {
2071
+ $attributes = ' onload="ai_resize_iframe (this);"';
2072
+ }
2073
+
2074
+ $code = '<iframe style="' . $iframe_style. '" src="' . get_home_url (null, 'wp-admin/admin-ajax.php?action=ai_ajax&block=') . $this->number . $iframe_parameters .'" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"' . $attributes . '></iframe>' . "\n";
2075
+ } else $code = $this->ai_getCode ();
2076
+
2077
  // Code for ad label, close button
2078
  $additional_code = '';
2079
 
2080
+ if ($this->get_iframe () ? ($this->get_label_in_iframe () ? $ai_wp_data [AI_CODE_FOR_IFRAME] : !$ai_wp_data [AI_CODE_FOR_IFRAME]) : true) {
2081
+ $additional_code .= $this->ai_getAdLabel ();
2082
+ }
2083
 
2084
+ if (!$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2085
+ $alignment_type = $this->get_alignment_type ();
2086
+ if ($force_close_button || ($this->get_close_button () != AI_CLOSE_NONE && !$ai_wp_data [AI_WP_AMP_PAGE] && $alignment_type != AI_ALIGNMENT_NO_WRAPPING)) {
2087
+ switch ($this->get_close_button ()) {
2088
+ case AI_CLOSE_TOP_RIGHT:
2089
+ $button_class = 'ai-close-button';
2090
+ break;
2091
+ case AI_CLOSE_TOP_LEFT:
2092
+ $button_class = 'ai-close-button ai-close-left';
2093
+ break;
2094
+ case AI_CLOSE_BOTTOM_RIGHT:
2095
+ $button_class = 'ai-close-button ai-close-bottom';
2096
+ break;
2097
+ case AI_CLOSE_BOTTOM_LEFT:
2098
+ $button_class = 'ai-close-button ai-close-bottom ai-close-left';
2099
+ break;
2100
+ default:
2101
+ $button_class = 'ai-close-button';
2102
+ break;
2103
+ }
2104
+
2105
+ $additional_code .= "<span class='$button_class'></span>\n";
2106
  }
2107
+ }
2108
 
2109
+ if ($additional_code != '') {
2110
+ $additional_code = '<div class="ai-attributes">'."\n" . $additional_code . '</div>'."\n";
2111
  }
2112
 
2113
  unset ($ai_wp_data [AI_SHORTCODES]['rotate']);
2115
 
2116
  $processed_code = $this->replace_ai_tags (do_shortcode ($code));
2117
 
2118
+ if ($not_iframe_or_inside) {
2119
+
2120
+ if (strpos ($processed_code, AD_COUNT_SEPARATOR) !== false) {
2121
+ $ads = explode (AD_COUNT_SEPARATOR, $processed_code);
2122
 
2123
+ if (isset ($ad_inserter_globals [AI_BLOCK_COUNTER_NAME . $this->number])) {
2124
+ $counter_for_filter = $ad_inserter_globals [AI_BLOCK_COUNTER_NAME . $this->number];
2125
 
2126
+ if ($counter_for_filter != 0 && $counter_for_filter <= count ($ads)) {
2127
+ if (isset ($ai_wp_data [AI_SHORTCODES]['count'][$counter_for_filter - 1]['count'])) {
2128
+ if (strtolower ($ai_wp_data [AI_SHORTCODES]['count'][$counter_for_filter - 1]['count']) == 'shuffle') {
2129
+ $ai_wp_data [AI_COUNT][$this->number] = $ads;
2130
+ shuffle ($ai_wp_data [AI_COUNT][$this->number]);
2131
+ }
2132
  }
 
2133
 
2134
+ if (isset ($ai_wp_data [AI_COUNT][$this->number])) {
2135
+ $ads = $ai_wp_data [AI_COUNT][$this->number];
2136
+ }
2137
 
2138
+ $processed_code = $ads [$counter_for_filter - 1];
2139
+ } else $processed_code = '';
2140
+ } else $processed_code = $ads [rand (0, count ($ads) - 1)];
2141
+ }
2142
 
2143
+ $dynamic_blocks = get_dynamic_blocks ();
2144
+ if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE] || ($dynamic_blocks == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && defined ('AI_NO_W3TC'))) $dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2145
 
2146
+ if (strpos ($processed_code, AD_ROTATE_SEPARATOR) !== false) {
2147
+ $ads = explode (AD_ROTATE_SEPARATOR, $processed_code);
2148
 
2149
+ if (!isset ($ai_wp_data [AI_SHORTCODES]['rotate'])) {
2150
+ // using old separator |rotate|
2151
+ $ai_wp_data [AI_SHORTCODES]['rotate'] = array ();
2152
+ foreach ($ads as $ad) {
2153
+ $ai_wp_data [AI_SHORTCODES]['rotate'] []= array ();
2154
+ }
2155
  }
 
2156
 
2157
+ if (trim ($ads [0]) == '') {
2158
+ unset ($ads [0]);
2159
+ $ads = array_values ($ads);
2160
+ } else array_unshift ($ai_wp_data [AI_SHORTCODES]['rotate'], array ('name' => ''));
2161
 
2162
+ $shares = false;
2163
+ $times = false;
2164
+ $version_names = array ();
2165
+ $version_shares = array ();
2166
+ $version_times = array ();
2167
+ $version_insert = array ();
2168
 
2169
+ foreach ($ai_wp_data [AI_SHORTCODES]['rotate'] as $index => $option) {
2170
+ $version_names []= isset ($option ['name']) && trim ($option ['name']) != '' ? $option ['name'] : chr (ord ('A') + $index);
2171
 
2172
+ $option_share = isset ($option ['share']) && is_numeric ($option ['share']);
2173
+ if ($option_share) $shares = true;
2174
+ $version_shares []= $option_share ? intval ($option ['share']) : - 1;
2175
 
2176
+ $option_time = isset ($option ['time']) && is_numeric ($option ['time']);
2177
+ if ($option_time) $times = true;
2178
+ $version_times []= $option_time ? intval ($option ['time']) : - 1;
2179
 
2180
+ $version_insert []= isset ($option ['insert']);
2181
+ }
2182
 
2183
+ if ($shares) {
2184
+ $total_share = 0;
2185
+ $no_share = 0;
2186
 
2187
+ foreach ($version_shares as $index => $share) {
2188
+ if ($share < 0) $no_share ++; else $total_share += $share;
2189
+ }
2190
+
2191
+ if ($total_share > 100 || $no_share == 0) {
2192
+ $scale = $total_share / 100;
2193
+ } else $scale = 1;
2194
 
2195
+ foreach ($version_shares as $index => $share) {
2196
+ // Disable options with share 0
2197
+ if ($share == 0) $version_shares [$index] = - 1; else
2198
+ if ($share < 0) $version_shares [$index] = (100 - $total_share / $scale) / $no_share; else
2199
+ $version_shares [$index] = $share / $scale;
2200
+ }
2201
 
2202
+ $thresholds = array ();
2203
+ $total_share = 0;
2204
+ foreach ($version_shares as $index => $share) {
2205
+ if ($share >= 0) {
2206
+ $total_share += $share;
2207
+ $thresholds [] = round ($total_share);
2208
+ } else $thresholds [] = - 1;
2209
+ }
2210
  }
2211
 
2212
+ if ($times) {
2213
+ if ($dynamic_blocks != AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW && $dynamic_blocks != AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT) $dynamic_blocks = AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW;
2214
+ $ai_wp_data [AI_CLIENT_SIDE_ROTATION] = true;
 
 
 
 
2215
  }
 
2216
 
2217
+ $temp_dynamic_blocks = $dynamic_blocks;
2218
+ if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE] || ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW || $temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT) && $ai_wp_data [AI_WP_AMP_PAGE]) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
 
 
2219
 
2220
+ switch ($temp_dynamic_blocks) {
2221
+ case AI_DYNAMIC_BLOCKS_SERVER_SIDE:
2222
+ if ($shares) {
2223
+ $random_threshold = mt_rand (0, 100);
2224
+ foreach ($thresholds as $index => $threshold) {
2225
+ $this->code_version = $index + 1;
2226
+ if ($random_threshold <= $threshold) break;
2227
+ }
2228
+ } else $this->code_version = mt_rand (1, count ($ads));
2229
 
2230
+ $processed_code = $additional_code . trim ($ads [$this->code_version - 1]);
2231
+ $this->version_name = $version_names [$this->code_version - 1];
2232
+ break;
 
 
 
 
 
 
2233
 
2234
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2235
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2236
+ $this->code_version = '""';
2237
 
2238
+ $rotation_data = '';
2239
+ if ($shares) {
2240
+ $rotation_data = " data-shares='".base64_encode (json_encode ($thresholds))."'";
2241
+ }
2242
 
2243
+ // Additional class to identify rotation code block in case of timed rotation
2244
+ $rotation_class = '';
2245
+ if ($times) {
2246
+ $rotation_class = ' ai-'.$this->number;
2247
+ $rotation_data .= " data-info='".base64_encode ('['.$this->number.','.count ($ads).']')."'";
2248
+ }
2249
 
2250
+ $processed_code = '';
2251
+ if ($times && !isset ($ai_wp_data [AI_CLIENT_SIDE_CSS])) {
2252
+ $processed_code = "\n<style type='text/css'>\n" . ai_get_client_side_styles () . "</style>";
2253
+ }
 
 
2254
 
2255
+ if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2256
+ $processed_code .= "\n<div class='ai-rotate{$rotation_class}'".$rotation_data.">\n" . $additional_code;
2257
+ } else
2258
+ $processed_code .= "\n<div class='ai-rotate{$rotation_class}'".$rotation_data." style='position: relative;'>\n" . $additional_code;
2259
 
2260
+ foreach ($ads as $index => $ad) {
 
 
 
2261
 
2262
+ // If AMP separator is present use only code for normal pages
2263
+ if (strpos ($ad, AD_AMP_SEPARATOR) !== false) {
2264
+ $codes = explode (AD_AMP_SEPARATOR, $ad);
2265
+ $ad = trim ($codes [0]);
2266
+ }
2267
+
2268
+ $version_name_data = " data-name='".base64_encode ($version_names [$index])."'";
2269
+ $version_time_data = $version_times [$index] >= 0 ? " data-time='".base64_encode ($version_times [$index])."'" : '';
2270
+
2271
+ switch ($temp_dynamic_blocks) {
2272
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2273
+ switch ($index) {
2274
+ case 0:
2275
+ if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2276
+ $processed_code .= "<div class='ai-rotate-option ai-rotate-hidden'".$version_name_data.$version_time_data.">\n".trim ($ad, "\n\r")."</div>\n";
2277
+ } else
2278
+ $processed_code .= "<div class='ai-rotate-option' style='visibility: hidden;'".$version_name_data.$version_time_data.">\n".trim ($ad, "\n\r")."</div>\n";
2279
+ break;
2280
+ default:
2281
+ if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2282
+ $processed_code .= "<div class='ai-rotate-option ai-rotate-hidden ai-rotate-hidden-2'".$version_name_data.$version_time_data.">\n".trim ($ad, "\n\r")."</div>\n";
2283
+ } else
2284
+ $processed_code .= "<div class='ai-rotate-option' style='visibility: hidden; position: absolute; top: 0; left: 0; width: 100%; height: 100%;'".$version_name_data.$version_time_data.">\n".trim ($ad, "\n\r")."</div>\n";
2285
+ break;
2286
+ }
2287
+ break;
2288
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2289
+ $version_code_data = " data-code='".base64_encode ($ad)."'";
2290
+ $processed_code .= "<div class='ai-rotate-option'".$version_name_data.$version_time_data.$version_code_data.">\n</div>\n";
2291
+ break;
2292
+ }
2293
 
 
 
 
 
2294
  }
2295
+ $processed_code .= "</div>\n";
2296
+ break;
2297
 
2298
+ case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2299
+ if ($shares) {
2300
+ $ad_index_code = ' $ai_random_threshold = mt_rand (0, 100); $ai_thresholds = unserialize (\''.
2301
+ serialize ($thresholds).'\'); foreach ($ai_thresholds as $ai_option_index => $ai_threshold) {$ai_index = $ai_option_index + 1; if ($ai_random_threshold <= $ai_threshold) break;}';
2302
+ } else $ad_index_code = ' $ai_index = mt_rand (1, count ($ai_code));';
2303
+
2304
+ $this->w3tc_code = '$ai_code = unserialize (base64_decode (\''.base64_encode (serialize ($ads)).'\'));'.$ad_index_code.' $ai_code = base64_decode (\''.base64_encode ($additional_code).'\') . $ai_code [$ai_index - 1]; $ai_enabled = true;';
2305
+
2306
+ $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2307
+ $processed_code .= $this->w3tc_code.' echo $ai_code;';
2308
+ $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2309
+ break;
2310
+ }
2311
+ } else $processed_code = $additional_code . $processed_code;
2312
+
2313
+ $temp_dynamic_blocks = $dynamic_blocks;
2314
+ if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE]) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2315
+ elseif ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && $this->w3tc_code == '') $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2316
+ elseif ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2317
+ elseif ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2318
+
2319
+ switch ($temp_dynamic_blocks) {
2320
+ case AI_DYNAMIC_BLOCKS_SERVER_SIDE:
2321
+ if (strpos ($processed_code, AD_AMP_SEPARATOR) !== false) {
2322
+ $codes = explode (AD_AMP_SEPARATOR, $processed_code);
2323
+ $code_index = $ai_wp_data [AI_WP_AMP_PAGE] ? 1 : 0;
2324
+ $this->labels->class = $code_index ? 'ai-debug-amp' : 'ai-debug-default';
2325
+ if ($code_index == 1) {
2326
+ ai_log ('BLOCK ' . $this->number . ' AMP CODE USED');
2327
+ }
2328
+ $processed_code = trim ($codes [$code_index]);
2329
+ } else {
2330
+ // AMP page but No AMP separator - don't insert code unless enabled
2331
+ if ($ai_wp_data [AI_WP_AMP_PAGE]) {
2332
+ if (!$this->get_enable_amp ()) {
2333
+ $processed_code = '';
2334
+ $this->hide_debug_labels = true;
2335
+ ai_log ('BLOCK ' . $this->number . ' NOT ENABLED FOR AMP PAGES - EMPTY CODE');
2336
  }
2337
+ }
 
 
 
 
2338
  }
 
 
 
2339
  break;
 
2340
  case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2341
+ $this->w3tc_code .= '$ai_amp_separator = \'' . AD_AMP_SEPARATOR . '\'; $ai_amp_page = ' . ($ai_wp_data [AI_WP_AMP_PAGE] ? 'true' : 'false') . '; $ai_amp_enabled = ' . $this->get_enable_amp () . ';';
 
 
 
2342
 
2343
+ // Fix to prevent converting && into &amp;&amp; on AMP pages
2344
+ // $this->w3tc_code .= 'if (strpos ($ai_code, $ai_amp_separator) !== false) {$codes = explode ($ai_amp_separator, $ai_code); $ai_code = trim ($codes [$ai_amp_page ? 1 : 0]); } else {if ($ai_amp_page && !$ai_amp_enabled) $ai_code = \'\';} $ai_enabled = true;';
2345
+ $this->w3tc_code .= 'if (strpos ($ai_code, $ai_amp_separator) !== false) {$codes = explode ($ai_amp_separator, $ai_code); $ai_code = trim ($codes [$ai_amp_page ? 1 : 0]); } else {if ($ai_amp_page + !$ai_amp_enabled == 2) $ai_code = \'\';} $ai_enabled = true;';
2346
+
2347
+ // Lazy loading code for W3TC cases with ROTATE separator
2348
+ if ($this->get_lazy_loading () && !$ai_wp_data [AI_WP_AMP_PAGE]) {
2349
+ $this->w3tc_code .= $this->w3tc_code.'$ai_lazy_code = base64_encode ($ai_code); $ai_wrapper_class = \''.base64_encode (get_block_class_name ()).'\'; $ai_code = \'<div class="ai-lazy" data-code="\'.$ai_lazy_code.\'" data-class="\'.$ai_wrapper_class.\'"></div>\'."\n";';
2350
+ }
2351
 
2352
  $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2353
  $processed_code .= $this->w3tc_code.' echo $ai_code;';
2354
  $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2355
  break;
2356
  }
 
2357
 
2358
+ } else $processed_code = $additional_code . $processed_code;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2359
 
2360
+ if (!$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2361
+ // Lazy loading code for all cases except W3TC with ROTATE separator
2362
+ if ($this->get_lazy_loading () && !$ai_wp_data [AI_WP_AMP_PAGE] && $this->w3tc_code == '') {
2363
+ $lazy_code = base64_encode ($processed_code);
2364
+ $wrapper_class = base64_encode (get_block_class_name ());
2365
+ $processed_code = '<div class="ai-lazy" data-code="'.$lazy_code.'" data-class="'.$wrapper_class.'"></div>'."\n";
2366
+ }
2367
  }
2368
 
2369
+ if ($not_iframe_or_inside) {
 
 
 
 
 
2370
 
2371
+ $temp_dynamic_blocks = $dynamic_blocks;
2372
+ if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE] || ($temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW || $temp_dynamic_blocks == AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT) && $ai_wp_data [AI_WP_AMP_PAGE]) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2373
 
2374
+ if ($temp_dynamic_blocks != AI_DYNAMIC_BLOCKS_SERVER_SIDE) {
2375
+ $url_parameters_raw = trim (str_replace (' ', '', $this->get_url_parameter_list ()));
2376
+ $url_parameters = base64_encode ($url_parameters_raw);
2377
+ $url_parameter_list_type = $this->get_url_parameter_list_type ();
2378
 
2379
+ $referers_raw = trim (str_replace (' ', '', strtolower ($this->get_ad_domain_list ())));
2380
+ $referers = base64_encode ($referers_raw);
2381
+ $referer_list_type = $this->get_ad_domain_list_type ();
2382
 
2383
+ if ($this->client_side_cookie_check && ($url_parameters != '' || $url_parameter_list_type == AI_WHITE_LIST) || $referers != '' || $referer_list_type == AI_WHITE_LIST) {
2384
+ switch ($dynamic_blocks) {
2385
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2386
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2387
+ if ($url_parameter_list_type == AI_BLACK_LIST) $url_parameter_list_type = 'B'; else $url_parameter_list_type = 'W';
2388
+ if ($referer_list_type == AI_BLACK_LIST) $referer_list_type = 'B'; else $referer_list_type = 'W';
2389
 
2390
+ 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 = '';
2391
+ if ( $referers != '' || $referer_list_type == 'W') $referer_attributes = "referer-list='$referers' referer-list-type='$referer_list_type'"; else $referer_attributes = '';
2392
 
2393
+ $this->client_side_list_detection = true;
2394
 
2395
+ switch ($dynamic_blocks) {
2396
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2397
+ if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2398
+ $processed_code = "\n<div class='ai-dynamic ai-list-data' $referer_attributes $url_parameter_attributes>$processed_code</div>\n";
2399
+ } else $processed_code = "\n<div class='ai-dynamic ai-list-data' $referer_attributes $url_parameter_attributes style='visibility: hidden; position: absolute; width: 100%; height: 100%; z-index: -9999;'>$processed_code</div>\n";
2400
+ break;
2401
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2402
+ $code_data = "data-code='".base64_encode ($processed_code)."'";
2403
 
2404
+ $processed_code = "\n<div class='ai-dynamic ai-list-data' $referer_attributes $url_parameter_attributes $code_data></div>\n";
2405
+ break;
2406
+ }
2407
 
2408
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !$this->hide_debug_labels) {
2409
+ // translators: %s: list parameters and type
2410
+ 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 = '';
2411
+ // translators: %s: list parameters and type
2412
+ 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 = '';
2413
 
2414
+ $debug_list = new ai_block_labels ('ai-debug-lists');
2415
+ $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;
2416
+ }
2417
 
2418
+ break;
2419
+ case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2420
+ if ($this->w3tc_code == '') $this->w3tc_code = '$ai_code = base64_decode (\''.base64_encode ($processed_code).'\'); $ai_index = 0; $ai_enabled = true;';
2421
 
2422
+ if ($referers != '') {
2423
+ $this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_check_referer_list (base64_decode (\''.$referers.'\'), '.($referer_list_type == AI_WHITE_LIST ? 'true':'false').');';
2424
+ } elseif ($referer_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
2425
 
2426
+ if ($this->client_side_cookie_check) {
2427
+ if ($url_parameters != '') {
2428
+ $this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_cookie_list (base64_decode (\''.$url_parameters.'\'), '.($url_parameter_list_type == AI_WHITE_LIST ? 'true':'false').');';
2429
+ } elseif ($url_parameter_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
2430
+ }
2431
 
2432
+ $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2433
+ $processed_code .= $this->w3tc_code.' if ($ai_enabled) echo $ai_code;';
2434
+ $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2435
+ break;
2436
+ }
2437
  }
 
2438
 
2439
+ $countries = trim (strtoupper ($this->get_ad_country_list (true)));
2440
+ $country_list_type = $this->get_ad_country_list_type ();
2441
 
2442
+ $ip_addresses = trim (str_replace (' ', '', strtolower ($this->get_ad_ip_address_list ())));
2443
+ $ip_address_list_type = $this->get_ad_ip_address_list_type ();
2444
 
2445
+ if ($countries != '' || $country_list_type == AI_WHITE_LIST || $ip_addresses != '' || $ip_address_list_type == AI_WHITE_LIST) {
2446
+ switch ($dynamic_blocks) {
2447
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2448
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2449
+ if ($country_list_type == AI_BLACK_LIST) $country_list_type = 'B'; else $country_list_type = 'W';
2450
+ if ($ip_address_list_type == AI_BLACK_LIST) $ip_address_list_type = 'B'; else $ip_address_list_type = 'W';
2451
 
2452
+ if ($countries != '' || $country_list_type == 'W') $country_attributes = "countries='$countries' country-list='$country_list_type'"; else $country_attributes = '';
2453
+ 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 = '';
2454
 
2455
+ $this->client_side_list_detection = true;
2456
 
2457
+ switch ($dynamic_blocks) {
2458
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_SHOW:
2459
+ if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2460
+ $processed_code = "\n<div class='ai-dynamic ai-ip-data' $ip_address_attributes $country_attributes>$processed_code</div>\n";
2461
+ } else $processed_code = "\n<div class='ai-dynamic ai-ip-data' $ip_address_attributes $country_attributes style='visibility: hidden; position: absolute; width: 100%; height: 100%; z-index: -9999;'>$processed_code</div>\n";
2462
+ break;
2463
+ case AI_DYNAMIC_BLOCKS_CLIENT_SIDE_INSERT:
2464
+ $code_data = "data-code='".base64_encode ($processed_code)."'";
2465
 
2466
+ $processed_code = "\n<div class='ai-dynamic ai-ip-data' $ip_address_attributes $country_attributes $code_data></div>\n";
2467
+ break;
2468
+ }
2469
 
2470
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !$this->hide_debug_labels) {
2471
 
2472
+ // translators: %s: list parameters and type
2473
+ if ($countries != '' || $country_list_type == 'W') $country_attributes_dbg = sprintf (__ ("countries='%s' type='%s'", 'ad-inserter'), $countries, $country_list_type); else $country_attributes_dbg = '';
2474
+ // translators: %s: list parameters and type
2475
+ 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 = '';
2476
 
2477
+ $debug_ip = new ai_block_labels ('ai-debug-lists');
2478
+ $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;
2479
+ }
2480
 
2481
+ break;
2482
+ case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2483
+ if ($this->w3tc_code == '') $this->w3tc_code = '$ai_code = base64_decode (\''.base64_encode ($processed_code).'\'); $ai_index = 0; $ai_enabled = true;';
2484
 
2485
+ $this->w3tc_code .= ' require_once \''.AD_INSERTER_PLUGIN_DIR.'includes/geo/Ip2Country.php\';';
2486
 
2487
+ if ($ip_addresses != '') {
2488
+ $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').');';
2489
+ } elseif ($ip_address_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
2490
 
2491
+ if ($countries != '') {
2492
+ $this->w3tc_code .= ' if ($ai_enabled) $ai_enabled = check_country_list (base64_decode (\''.base64_encode ($countries).'\'), '.($country_list_type == AI_WHITE_LIST ? 'true':'false').');';
2493
+ } elseif ($country_list_type == AI_WHITE_LIST) $this->w3tc_code .= ' $ai_enabled = false;';
2494
 
2495
+ $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2496
+ $processed_code .= $this->w3tc_code.' if ($ai_enabled) echo $ai_code;';
2497
+ $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2498
+ break;
2499
+ }
2500
  }
2501
  }
2502
  }
2503
 
2504
  if (defined ('AI_DEBUGGING_DEMO') && !$this->demo_debugging) {
2505
+ $this->hide_debug_labels = true;
2506
  }
2507
 
2508
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !$this->hide_debug_labels) {
2509
  $processed_code = "<div class='ai-code'>\n" . $processed_code ."\n</div>\n";
2510
  }
2511
 
2512
+ if (function_exists ('ai_adb_block_actions') && $not_iframe_or_inside) ai_adb_block_actions ($this, $this->hide_debug_labels);
2513
 
2514
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0 && !$this->hide_debug_labels) {
2515
  $this->ai_generateDebugLabel ();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2516
  }
2517
 
2518
  return $this->additional_code_before . $processed_code . $this->additional_code_after;
2519
  }
2520
 
2521
+ public function get_code_for_insertion ($include_viewport_classes = true, $hidden_widgets = false, $code_only = false) {
2522
  global $ai_wp_data, $block_object;
2523
 
2524
  if ($this->get_disable_caching ()) $ai_wp_data [AI_DISABLE_CACHING] = true;
2528
  $block_class = get_block_class ();
2529
  $block_number_class = get_block_number_class ();
2530
 
2531
+ $alignment_class = $ai_wp_data [AI_CODE_FOR_IFRAME] ? '' : $this->get_alignment_class ();
2532
+ $alignment_style = $ai_wp_data [AI_CODE_FOR_IFRAME] ? '' : $this->get_alignment_style ();
2533
 
2534
  if ($this->get_client_side_action () == AI_CLIENT_SIDE_ACTION_INSERT) $include_viewport_classes = false;
2535
  $viewport_classes = $include_viewport_classes ? trim ($this->get_viewport_classes ()) : "";
2544
 
2545
  $sticky_parameters = '';
2546
 
2547
+ if (!$ai_wp_data [AI_WP_AMP_PAGE] && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2548
  $sticky_parameters = $this->sticky_parameters ($classes);
2549
  }
2550
 
2551
+ $code = $this->ai_getProcessedCode ();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2552
 
2553
+ if ($this->get_alignment_type() == AI_ALIGNMENT_NO_WRAPPING || $code_only) return $code;
 
 
 
 
 
 
 
 
2554
 
2555
  // Prevent empty wrapping div on AMP pages
2556
  if ($ai_wp_data [AI_WP_AMP_PAGE] && $code == '') return '';
2557
 
2558
+ if ($hidden_widgets) return $this->hidden_viewports;
 
 
 
2559
 
2560
+ if ($this->client_side_list_detection && !$ai_wp_data [AI_WP_AMP_PAGE]) {
2561
+ if ($this->is_sticky ()) {
2562
+ $additional_block_style = 'visibility: hidden; ';
2563
+ } else {
2564
+ $additional_block_style = 'visibility: hidden; position: absolute; ';
2565
+ $classes [] = 'ai-remove-position';
2566
+ }
 
 
 
 
 
2567
 
2568
+ // Needed to locate wrapping div
2569
+ $classes [] = 'ai-list-block';
2570
+ } else {
2571
+ $additional_block_style = '';
2572
+ }
2573
 
2574
+ if ($this->get_close_button () && !$ai_wp_data [AI_WP_AMP_PAGE] && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2575
+ $classes [] = 'ai-close';
2576
+ }
 
 
 
 
 
2577
 
2578
+ foreach ($classes as $index => $class_name) {
2579
+ if (trim ($class_name) == '') unset ($classes [$index]);
2580
+ }
2581
+ if (count ($classes) != 0) {
2582
+ $class = " class='" . trim (implode (' ', $classes)) . "'";
2583
+ } else $class = "";
2584
 
2585
+ $tracking_code_pre = '';
2586
+ $tracking_code_data = '';
2587
+ $tracking_code_post = '';
2588
+ $tracking_code = '';
2589
 
2590
+ $not_iframe_or_inside = !$this->get_iframe () || $ai_wp_data [AI_CODE_FOR_IFRAME];
 
 
2591
 
2592
+ if ($this->fallback != 0) {
2593
+ if ($block_object [$this->fallback]->get_tracking () && $not_iframe_or_inside) {
2594
+ $tracking_code_pre = " data-ai='";
2595
+ $tracking_code_data = "[{$this->fallback},{$this->code_version},\"{$block_object [$this->fallback]->get_ad_name ()}\",\"{$this->version_name}\"]";
2596
+ $tracking_code_post = "'";
2597
 
2598
+ $tracking_code = $tracking_code_pre . base64_encode ($tracking_code_data) . $tracking_code_post;
 
2599
  }
2600
+ } else {
2601
+ if ($this->get_tracking () && $not_iframe_or_inside) {
 
 
 
 
 
 
 
 
 
2602
  $tracking_code_pre = " data-ai='";
2603
+ $tracking_code_data = "[{$this->number},{$this->code_version},\"{$this->get_ad_name ()}\",\"{$this->version_name}\"]";
2604
  $tracking_code_post = "'";
2605
 
2606
  $tracking_code = $tracking_code_pre . base64_encode ($tracking_code_data) . $tracking_code_post;
2607
  }
2608
+ }
 
 
 
 
 
 
 
 
2609
 
2610
+ if ($this->w3tc_code != '' && get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && !defined ('AI_NO_W3TC')) {
2611
+ if ($this->get_tracking () && $not_iframe_or_inside) $tracking_code_data = '[#AI_DATA#]';
2612
 
2613
+ if ($ai_wp_data [AI_WP_AMP_PAGE] || ($alignment_class != '' && defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ())) {
2614
+ $wrapper_before = $this->hidden_viewports . "<div" . $class . $tracking_code_pre . $tracking_code_data . $tracking_code_post . $sticky_parameters . ">\n";
2615
+ } else {
2616
+ $wrapper_before = $this->hidden_viewports . "<div" . $class . $tracking_code_pre . $tracking_code_data . $tracking_code_post . $sticky_parameters . " style='" . $additional_block_style . $alignment_style . "'>\n";
2617
+ }
2618
 
2619
 
2620
  // TO TEST
2621
+ // $wrapper_before = $this->hidden_viewports . "<div" . $class . $tracking_code_pre . $tracking_code_data . $tracking_code_post .
2622
 
2623
  // if ($ai_wp_data [AI_WP_AMP_PAGE] || ($alignment_class != '' && defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ())) {
2624
  // $wrapper_before .= " style='" . $additional_block_style . $alignment_style;
2627
 
2628
 
2629
 
2630
+ $wrapper_after = "</div>\n";
2631
 
2632
+ $wrapper_before .= $this->additional_code_before;
2633
+ $wrapper_after = $this->additional_code_after . $wrapper_after;
2634
 
2635
+ $this->w3tc_code .= ' $ai_code = str_replace (\'[#AI_DATA#]\', base64_encode ("[' . $this->number . ',$ai_index]"), base64_decode (\''.base64_encode ($wrapper_before).'\')) . $ai_code . base64_decode (\''.base64_encode ($wrapper_after).'\');';
2636
 
2637
+ if ($this->w3tc_code2 != '' ) {
2638
+ $this->w3tc_code = $this->w3tc_code2 . ' $ai_code2 = $ai_enabled ? $ai_code : "";' . $this->w3tc_code . ' $ai_code = str_replace ("[#AI_CODE2#]", $ai_code2, $ai_code);';
2639
+ }
2640
 
2641
+ $code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2642
+ $code .= $this->w3tc_code .' if ($ai_enabled) echo $ai_code;';
2643
+ $code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2644
+ } else {
2645
 
2646
+ if ($ai_wp_data [AI_WP_AMP_PAGE] || ($alignment_class != '' && defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ())) {
2647
+ $wrapper_before = $this->hidden_viewports . "<div" . $class . $tracking_code . $sticky_parameters . ">\n";
2648
+ } else {
2649
+ $wrapper_before = $this->hidden_viewports . "<div" . $class . $tracking_code . $sticky_parameters . " style='" . $additional_block_style . $alignment_style . "'>\n";
2650
+ }
2651
 
2652
  // TO TEST
2653
+ // $wrapper_before = $this->hidden_viewports . "<div" . $class . $tracking_code;
2654
  // if ($ai_wp_data [AI_WP_AMP_PAGE] || ($alignment_class != '' && defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()))
2655
+ // $wrapper_before .= $this->hidden_viewports . "<div" . $class . $tracking_code . " style='" . $additional_block_style . $alignment_style . "'>\n";
2656
  // $wrapper_before .= "'>\n";
2657
 
2658
+ $wrapper_after = "</div>\n";
 
 
 
2659
 
2660
+ if ($this->w3tc_code2 != '' ) {
2661
+ $this->before_w3tc_code2 = $wrapper_before . $code . $wrapper_after;
 
2662
 
2663
+ $code2 = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2664
+ $code2 .= $this->w3tc_code2 .' if ($ai_enabled) echo $ai_code;';
2665
+ $code2 .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2666
 
2667
+ $code = str_replace ("[#AI_CODE2#]", $code2, $code);
2668
  }
2669
+
2670
+ $code = $wrapper_before . $code . $wrapper_after;
2671
+ }
2672
 
2673
  return $code;
2674
  }
2784
 
2785
  $tag = $viewports_insertion ? 'div' : _x('script', 'JavaScript', 'ad-inserter');
2786
  $debug_script = new ai_block_labels ('ai-debug-script');
2787
+ $serverside_insertion_code =
2788
+ $debug_script->bar (" $tag " . __('for', 'ad-inserter') . " " . $this->number . ' &nbsp; ' . $this->get_ad_name () . $version_name . ' ' . $fallback_block_name, '', $insertion_name . ' ' . $selector, $counters, $title) .
2789
+ $serverside_insertion_code;
2790
  }
2791
 
2792
  if ($this->w3tc_code != '' && get_dynamic_blocks () == AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC && !defined ('AI_NO_W3TC')) {
2814
  }
2815
 
2816
  public function get_iframe_page () {
2817
+ global $ai_wp_data, $wp_version;
2818
+
2819
+ $ai_wp_data [AI_CODE_FOR_IFRAME] = true;
2820
  ob_start ();
2821
  echo '<!DOCTYPE>
2822
  <html>
2823
  <head>
2824
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2825
  ';
2826
+ echo "<script type='text/javascript' src='", includes_url ('js/jquery/jquery.js'), "?ver=", $wp_version, "'></script>\n";
2827
+ echo "<script type='text/javascript' src='", includes_url ('js/jquery/jquery-migrate.min.js'), "?ver=", $wp_version, "'></script>\n";
2828
+ ai_wp_head_hook ();
2829
+ echo '<style type="text/css">
2830
+ body {margin: 0; padding: 0; font-family: arial;}
2831
  </style>
2832
  <title>Ad Inserter Pro - Advanced WordPress Ads Management Plugin</title>
2833
  </head>
2834
  <body>
2835
+ '; /* $include_viewport_classes = true, $hidden_widgets = false, $code_only = false */
2836
+ echo $this->get_code_for_insertion (false, false, false);
2837
+ ai_wp_footer_hook ();
2838
  echo '</body>
2839
  </html>';
2840
 
2841
  $page = ob_get_clean ();
2842
+ $ai_wp_data [AI_CODE_FOR_IFRAME] = false;
2843
  return $page;
2844
  }
2845
 
3168
  $viewport_classes = "";
3169
  if ($this->get_detection_client_side ()) {
3170
  $all_viewports = true;
3171
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
3172
  $viewport_name = get_viewport_name ($viewport);
3173
  if ($viewport_name != '') {
3174
  if ($this->get_detection_viewport ($viewport)) $viewport_classes .= " ai-viewport-" . $viewport; else $all_viewports = false;
3187
 
3188
  $viewport_names = array ();
3189
  if ($this->get_detection_client_side ()) {
3190
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
3191
  $viewport_name = get_viewport_name ($viewport);
3192
  if ($viewport_name != '') {
3193
  if ($this->get_detection_viewport ($viewport)) $viewport_names []= $viewport_name;
3237
  return '';
3238
  }
3239
 
3240
+ public function before_image ($content, $position_preview = false) {
3241
+ return $this->before_paragraph ($content, $position_preview, true);
3242
+ }
3243
+
3244
+ public function before_paragraph ($content, $position_preview = false, $before_image = false) {
3245
  global $ai_wp_data, $ai_last_check, $special_element_tags;
3246
 
3247
  $multibyte = $ai_wp_data [AI_MBSTRING_LOADED] && get_paragraph_counting_functions() == AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS;
3251
 
3252
  $dummy = array ();
3253
 
3254
+ if ($before_image) {
3255
+ $paragraph_tags = 'figure,img';
3256
+ } else $paragraph_tags = trim ($this->get_paragraph_tags());
3257
  if ($paragraph_tags == '') return $content;
3258
 
3259
  $paragraph_start_strings = explode (",", $paragraph_tags);
3276
  $active_paragraph_positions = $new_active_paragraph_positions;
3277
 
3278
 
3279
+ if (!$this->get_count_inside_blockquote () || $before_image) {
3280
 
3281
  $special_element_offsets = array ();
3282
 
3283
+ if ($before_image) {
3284
+ $special_element_tags_array = array_unique (array_merge ($special_element_tags, array ('figure')));
3285
+ } else $special_element_tags_array = $special_element_tags;
3286
+
3287
+ foreach ($special_element_tags_array as $special_element_tag) {
3288
  preg_match_all ("/<\/?$special_element_tag/i", $content, $special_elements, PREG_OFFSET_CAPTURE);
3289
 
3290
  $nesting = array ();
3345
  }
3346
 
3347
 
3348
+ if (!$before_image) {
3349
+ $paragraph_min_words = intval ($this->get_minimum_paragraph_words());
3350
+ $paragraph_max_words = intval ($this->get_maximum_paragraph_words());
3351
 
3352
+ if ($paragraph_min_words != 0 || $paragraph_max_words != 0) {
3353
 
3354
+ if (!isset ($paragraph_end_positions)) {
3355
+ $paragraph_end_positions = array ();
3356
+ get_paragraph_end_positions ($content, $multibyte, $paragraph_positions, $paragraph_start_strings, $paragraph_end_positions, $dummy);
3357
+ }
3358
 
3359
+ foreach ($paragraph_positions as $index => $paragraph_position) {
3360
 
3361
+ if ($active_paragraph_positions [$index] == 0) continue;
3362
 
3363
+ if ($multibyte) {
3364
+ $paragraph_code = mb_substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3365
+ } else {
3366
+ $paragraph_code = substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3367
+ }
3368
 
3369
+ if (!$this->check_number_of_words_in_paragraph ($paragraph_code, $paragraph_min_words, $paragraph_max_words)) $active_paragraph_positions [$index] = 0;
3370
+ }
3371
  }
 
 
 
 
 
3372
 
3373
+ // Nothing to do
3374
+ $ai_last_check = AI_CHECK_PARAGRAPHS_AFTER_MIN_MAX_WORDS;
3375
+ if (array_sum ($active_paragraph_positions) == 0) return $content;
3376
 
3377
+ $paragraph_texts = explode (",", html_entity_decode ($this->get_paragraph_text()));
3378
+ if ($this->get_paragraph_text() != "" && count ($paragraph_texts) != 0) {
3379
 
3380
+ if (!isset ($paragraph_end_positions)) {
3381
+ $paragraph_end_positions = array ();
3382
+ get_paragraph_end_positions ($content, $multibyte, $paragraph_positions, $paragraph_start_strings, $paragraph_end_positions, $dummy);
3383
+ }
3384
 
3385
+ $paragraph_text_type = $this->get_paragraph_text_type ();
3386
 
3387
+ foreach ($paragraph_positions as $index => $paragraph_position) {
3388
 
3389
+ if ($active_paragraph_positions [$index] == 0) continue;
3390
 
3391
+ if ($multibyte) {
3392
+ $paragraph_code = mb_substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3393
+ } else {
3394
+ $paragraph_code = substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3395
+ }
 
 
 
 
 
3396
 
3397
+ if ($paragraph_text_type == AI_CONTAIN) {
3398
+ $found = true;
 
 
 
 
 
 
 
 
 
 
 
 
 
3399
  foreach ($paragraph_texts as $paragraph_text) {
3400
  if (trim ($paragraph_text) == '') continue;
3401
 
3402
  if ($multibyte) {
3403
+ if (mb_stripos ($paragraph_code, trim ($paragraph_text)) === false) {
3404
+ $found = false;
3405
  break;
3406
  }
3407
  } else {
3408
+ if (stripos ($paragraph_code, trim ($paragraph_text)) === false) {
3409
+ $found = false;
3410
  break;
3411
  }
3412
  }
3413
  }
3414
+ if (!$found) $active_paragraph_positions [$index] = 0;
3415
+ } elseif ($paragraph_text_type == AI_DO_NOT_CONTAIN) {
3416
+ $found = false;
3417
+ foreach ($paragraph_texts as $paragraph_text) {
3418
+ if (trim ($paragraph_text) == '') continue;
3419
+
3420
+ if ($multibyte) {
3421
+ if (mb_stripos ($paragraph_code, trim ($paragraph_text)) !== false) {
3422
+ $found = true;
3423
+ break;
3424
+ }
3425
+ } else {
3426
+ if (stripos ($paragraph_code, trim ($paragraph_text)) !== false) {
3427
+ $found = true;
3428
+ break;
3429
+ }
3430
+ }
3431
+ }
3432
+ if ($found) $active_paragraph_positions [$index] = 0;
3433
+ }
3434
+ }
3435
  }
 
3436
 
3437
+ // Nothing to do
3438
+ $ai_last_check = AI_CHECK_PARAGRAPHS_AFTER_TEXT;
3439
+ if (array_sum ($active_paragraph_positions) == 0) return $content;
3440
+ } // !$before_image
3441
+
3442
 
3443
  $position_text = trim ($this->get_paragraph_number());
3444
 
3466
  $filtered_paragraph_positions = array ();
3467
  foreach ($paragraph_positions as $index => $paragraph_position) {
3468
  if ($active_paragraph_positions [$index]) $filtered_paragraph_positions [] = $paragraph_position;
 
3469
  }
3470
  $paragraph_positions = $filtered_paragraph_positions;
3471
 
3551
  }
3552
  }
3553
 
 
3554
  if ($multibyte) {
3555
  $paragraph_code = mb_substr ($content, $paragraph_position, $paragraph_end_positions [$index] - $paragraph_position + 1);
3556
  } else {
3574
 
3575
  $filter_settings = trim (str_replace (' ', '', $this->get_call_filter()));
3576
  if (!empty ($filter_settings)) {
 
3577
 
3578
+ $filter_counter = $before_image ? AI_FILTER_IMAGES : AI_FILTER_PARAGRAPHS;
3579
+
3580
+ if ($this->get_filter_type() == $filter_counter) {
3581
  $filter_values = array ();
3582
  if (strpos ($filter_settings, ",") !== false) {
3583
  $filter_values = explode (",", $filter_settings);
3586
  $inverted_filter = $this->get_inverted_filter();
3587
  $filtered_positions = array ();
3588
 
 
3589
  foreach ($positions as $index => $position) {
3590
  $insert = false;
3591
  if (in_array ($index + 1, $filter_values)) {
3596
  if ($filter_value [0] == '%') {
3597
  $mod_value = substr ($filter_value, 1);
3598
  if (is_numeric ($mod_value) && $mod_value > 0) {
3599
+ if (($index + 1) % $mod_value == 0) {
3600
+ $insert = true;
3601
+ break;
3602
+ }
3603
  }
3604
  }
3605
  }
3608
  }
3609
  $positions = $filtered_positions;
3610
  }
 
3611
  }
 
3612
  }
3613
  }
3614
 
3615
  $debug_processing = ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0;
3616
 
3617
+ if (!empty ($positions) && !$before_image) {
3618
  $avoid_paragraphs_above = intval ($this->get_avoid_paragraphs_above());
3619
  $avoid_paragraphs_below = intval ($this->get_avoid_paragraphs_below());
3620
 
3823
  }
3824
 
3825
  $paragraph_words = number_of_words ($paragraph_code);
3826
+ $debug_label = $before_image ? 'BI' : 'BP';
3827
+ $inserted_code = "[[AI_".$debug_label.($counter + 1)."=".$paragraph_words."]]";
3828
  }
3829
  elseif (!empty ($positions) && in_array ($counter, $positions) && $this->check_block_counter ()) {
3830
 
3884
  return $content;
3885
  }
3886
 
3887
+ public function after_image ($content, $position_preview = false) {
3888
+ return $this->after_paragraph ($content, $position_preview, true);
3889
+ }
3890
+
3891
+ public function after_paragraph ($content, $position_preview = false, $after_image = false) {
3892
  global $ai_wp_data, $ai_last_check, $special_element_tags;
3893
 
3894
  $multibyte = $ai_wp_data [AI_MBSTRING_LOADED] && get_paragraph_counting_functions() == AI_MULTIBYTE_PARAGRAPH_COUNTING_FUNCTIONS;
3904
  $last_content_position = strlen ($content) - 1;
3905
  }
3906
 
3907
+ if ($after_image) {
3908
+ $paragraph_tags = 'figure,img';
3909
+ } else $paragraph_tags = trim ($this->get_paragraph_tags());
3910
  if ($paragraph_tags == '') return $content;
3911
 
3912
  $paragraph_end_strings = explode (",", $paragraph_tags);
3930
  $active_paragraph_positions = $new_active_paragraph_positions;
3931
 
3932
 
3933
+ if (!$this->get_count_inside_blockquote () || $after_image) {
3934
 
3935
  $special_element_offsets = array ();
3936
 
3937
+ if ($after_image) {
3938
+ $special_element_tags_array = array_unique (array_merge ($special_element_tags, array ('figure')));
3939
+ } else $special_element_tags_array = $special_element_tags;
3940
+
3941
+ foreach ($special_element_tags_array as $special_element_tag) {
3942
  preg_match_all ("/<\/?$special_element_tag/i", $content, $special_elements, PREG_OFFSET_CAPTURE);
3943
 
3944
  $nesting = array ();
3998
  if (array_sum ($active_paragraph_positions) == 0) return $content;
3999
  }
4000
 
4001
+ if (!$after_image) {
4002
+ $paragraph_min_words = intval ($this->get_minimum_paragraph_words());
4003
+ $paragraph_max_words = intval ($this->get_maximum_paragraph_words());
4004
 
4005
+ if ($paragraph_min_words != 0 || $paragraph_max_words != 0) {
 
4006
 
4007
+ if (!isset ($paragraph_start_positions)) {
4008
+ $paragraph_start_positions = array ();
4009
+ get_paragraph_start_positions ($content, $multibyte, $paragraph_positions, $paragraph_end_strings, $paragraph_start_positions, $dummy);
4010
+ }
 
 
4011
 
4012
+ foreach ($paragraph_positions as $index => $paragraph_position) {
4013
 
4014
+ if ($active_paragraph_positions [$index] == 0) continue;
4015
 
4016
+ if ($multibyte) {
4017
+ $paragraph_code = mb_substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
4018
+ } else {
4019
+ $paragraph_code = substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
4020
+ }
4021
 
4022
+ if (!$this->check_number_of_words_in_paragraph ($paragraph_code, $paragraph_min_words, $paragraph_max_words)) $active_paragraph_positions [$index] = 0;
4023
+ }
4024
  }
 
 
 
 
 
 
4025
 
4026
 
4027
+ // Nothing to do
4028
+ $ai_last_check = AI_CHECK_PARAGRAPHS_AFTER_MIN_MAX_WORDS;
4029
+ if (array_sum ($active_paragraph_positions) == 0) return $content;
4030
 
 
 
 
 
4031
 
4032
+ $paragraph_texts = explode (",", html_entity_decode ($this->get_paragraph_text()));
4033
+ if ($this->get_paragraph_text() != "" && count ($paragraph_texts) != 0) {
4034
 
4035
+ if (!isset ($paragraph_start_positions)) {
4036
+ $paragraph_start_positions = array ();
4037
+ get_paragraph_start_positions ($content, $multibyte, $paragraph_positions, $paragraph_end_strings, $paragraph_start_positions, $dummy);
4038
+ }
4039
 
4040
+ $paragraph_text_type = $this->get_paragraph_text_type ();
4041
 
4042
+ foreach ($paragraph_positions as $index => $paragraph_position) {
 
 
 
 
4043
 
4044
+ if ($active_paragraph_positions [$index] == 0) continue;
 
 
 
4045
 
4046
+ if ($multibyte) {
4047
+ $paragraph_code = mb_substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
4048
+ } else {
4049
+ $paragraph_code = substr ($content, $paragraph_start_positions [$index], $paragraph_position - $paragraph_start_positions [$index] + 1);
4050
+ }
 
 
 
 
 
 
4051
 
4052
+ if ($paragraph_text_type == AI_CONTAIN) {
4053
+ $found = true;
 
 
4054
  foreach ($paragraph_texts as $paragraph_text) {
4055
  if (trim ($paragraph_text) == '') continue;
4056
 
4057
  if ($multibyte) {
4058
+ if (mb_stripos ($paragraph_code, trim ($paragraph_text)) === false) {
4059
+ $found = false;
4060
  break;
4061
  }
4062
  } else {
4063
+ if (stripos ($paragraph_code, trim ($paragraph_text)) === false) {
4064
+ $found = false;
4065
  break;
4066
  }
4067
  }
4068
 
4069
  }
4070
+ if (!$found) $filtered_paragraph_positions [] = $active_paragraph_positions [$index] = 0;
4071
+ } elseif ($paragraph_text_type == AI_DO_NOT_CONTAIN) {
4072
+ $found = false;
4073
+ foreach ($paragraph_texts as $paragraph_text) {
4074
+ if (trim ($paragraph_text) == '') continue;
4075
+
4076
+ if ($multibyte) {
4077
+ if (mb_stripos ($paragraph_code, trim ($paragraph_text)) !== false) {
4078
+ $found = true;
4079
+ break;
4080
+ }
4081
+ } else {
4082
+ if (stripos ($paragraph_code, trim ($paragraph_text)) !== false) {
4083
+ $found = true;
4084
+ break;
4085
+ }
4086
+ }
4087
+
4088
+ }
4089
+ if ($found) $active_paragraph_positions [$index] = 0;
4090
+ }
4091
+ }
4092
  }
 
4093
 
4094
 
4095
+ // Nothing to do
4096
+ $ai_last_check = AI_CHECK_PARAGRAPHS_AFTER_TEXT;
4097
+ if (array_sum ($active_paragraph_positions) == 0) return $content;
4098
+ } // !$after_image
4099
+
4100
 
4101
  $position_text = trim ($this->get_paragraph_number());
4102
 
4232
 
4233
  $filter_settings = trim (str_replace (' ', '', $this->get_call_filter()));
4234
  if (!empty ($filter_settings)) {
4235
+
4236
+ $filter_counter = $after_image ? AI_FILTER_IMAGES : AI_FILTER_PARAGRAPHS;
4237
+
4238
+ if ($this->get_filter_type() == $filter_counter) {
4239
  $filter_values = array ();
4240
  if (strpos ($filter_settings, ",") !== false) {
4241
  $filter_values = explode (",", $filter_settings);
4254
  if ($filter_value [0] == '%') {
4255
  $mod_value = substr ($filter_value, 1);
4256
  if (is_numeric ($mod_value) && $mod_value > 0) {
4257
+ if (($index + 1) % $mod_value == 0) {
4258
+ $insert = true;
4259
+ break;
4260
+ }
4261
  }
4262
  }
4263
  }
4266
  }
4267
  $positions = $filtered_positions;
4268
  }
 
4269
  }
4270
  }
4271
  }
4272
 
4273
  $debug_processing = ($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0;
4274
 
4275
+ if (!empty ($positions) && !$after_image) {
4276
  $avoid_paragraphs_above = intval ($this->get_avoid_paragraphs_above());
4277
  $avoid_paragraphs_below = intval ($this->get_avoid_paragraphs_below());
4278
 
4472
  $max_page_blocks_enabled = $this->get_max_page_blocks_enabled ();
4473
 
4474
  foreach ($paragraph_positions as $counter => $paragraph_position) {
4475
+ $debug_label = $after_image ? 'AI' : 'AP';
4476
+ if ($position_preview) $inserted_code = "[[AI_".$debug_label.($counter + 1)."]]";
4477
  elseif (!empty ($positions) && in_array ($counter, $positions) && $this->check_block_counter ()) {
4478
 
4479
  $inserted = false;
4916
 
4917
  if (!$insertion_enabled) {
4918
  $fallback = intval ($this->get_fallback());
4919
+ if ($fallback != 0 && $fallback <= 96) {
4920
  $this->fallback = $fallback;
4921
  return true;
4922
  }
4936
 
4937
  if (!$insertion_enabled) {
4938
  $fallback = intval ($this->get_fallback());
4939
+ if ($fallback != 0 && $fallback <= 96) {
4940
  $this->fallback = $fallback;
4941
  return true;
4942
  }
4959
 
4960
  if (!$insertion_enabled) {
4961
  $fallback = intval ($this->get_fallback());
4962
+ if ($fallback != 0 && $fallback <= 96) {
4963
  $this->fallback = $fallback;
4964
  return true;
4965
  }
4989
 
4990
  if (!$insertion_enabled) {
4991
  $fallback = intval ($this->get_fallback());
4992
+ if ($fallback != 0 && $fallback <= 96) {
4993
  $this->fallback = $fallback;
4994
  return true;
4995
  }
5218
  $counter_for_filter = $ad_inserter_globals [AI_POST_COUNTER_NAME]; else return !$filter_ok;
5219
  break;
5220
  case AI_FILTER_PARAGRAPHS:
5221
+ case AI_FILTER_IMAGES:
5222
  return true;
5223
  break;
5224
  case AI_FILTER_COMMENTS:
5483
  // AI_STICK_TO_THE_CONTENT
5484
  // AI_TRACKING
5485
  // AI_CLOSE_BUTTONS
5486
+ // AI_IFRAMES
5487
  // AI_ANIMATION
5488
  // AI_LAZY_LOADING
5489
  // AI_GEOLOCATION
5798
  $code = '<style>
5799
  ';
5800
  $display_inline = false;
5801
+ for ($viewport = 6; $viewport >= 1; $viewport --) {
5802
  $viewport_name = get_viewport_name ($viewport);
5803
  $viewport_width = get_viewport_width ($viewport);
5804
 
5926
 
5927
  $sizes = array ();
5928
  $viewport_widths = array ();
5929
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
5930
  $viewport_name = get_viewport_name ($viewport);
5931
  $viewport_width = get_viewport_width ($viewport);
5932
  if ($viewport_name != '') {
6165
  return "</section>\n";
6166
  }
6167
 
6168
+ public function bar ($left_text, $left_title = '', $center_text = '', $right_text = '', $right_title = '', $additional_class = '') {
6169
  return
6170
+ "<section class='ai-debug-bar $this->class $additional_class'>" .
6171
  $this->invisible_start () .
6172
  $this->bar_text_left ($left_text, $left_title) .
6173
  $this->bar_text_center ($center_text) .
6220
  return '<kbd class="ai-debug-invisible">[/AI]</kbd>';
6221
  }
6222
 
6223
+ public function message ($text, $attr = '') {
6224
  return
6225
+ "<section class='ai-debug-adb-center' $attr>" .
6226
  $this->invisible_start () .
6227
  $text .
6228
  $this->invisible_end () .
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.5');
33
 
34
  if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
35
  define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
@@ -70,6 +70,7 @@ define ('AI_OPTION_LAZY_LOADING', 'lazy_loading');
70
  define ('AI_OPTION_IFRAME', 'iframe');
71
  define ('AI_OPTION_IFRAME_WIDTH', 'iframe_width');
72
  define ('AI_OPTION_IFRAME_HEIGHT', 'iframe_height');
 
73
  define ('AI_OPTION_TRACKING', 'tracking');
74
  define ('AI_OPTION_ENABLE_AJAX', 'enable_ajax');
75
  define ('AI_OPTION_ENABLE_FEED', 'enable_feed');
@@ -165,7 +166,6 @@ define ('AI_OPTION_DISABLED', 'disabled');
165
 
166
  define ('AI_OPTION_IMPORT', 'import');
167
  define ('AI_OPTION_IMPORT_NAME', 'import_name');
168
- define ('AI_OPTION_PLUGIN_STATUS', 'plugin_status');
169
 
170
  define ('AI_OPTION_ADB_ACTION', 'adb-action');
171
  define ('AI_OPTION_ADB_SELECTORS', 'adb-selectors');
@@ -229,28 +229,32 @@ define('AI_AUTOMATIC_INSERTION_ABOVE_HEADER', 14);
229
  define('AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT', 15);
230
  define('AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT', 16);
231
  define('AI_AUTOMATIC_INSERTION_INSIDE_HTML_ELEMENT', 17);
 
 
232
 
233
  define('AI_AUTOMATIC_INSERTION_OUTPUT_BUFFERING', 99);
234
  define('AI_AUTOMATIC_INSERTION_CUSTOM_HOOK', 100);
235
 
236
  define('AI_TEXT_ENG_DISABLED', 'Disabled');
237
- define('AI_TEXT_ENG_BEFORE_POST', 'Before Post');
238
- define('AI_TEXT_ENG_AFTER_POST', 'After Post');
239
- define('AI_TEXT_ENG_BEFORE_CONTENT', 'Before Content');
240
- define('AI_TEXT_ENG_AFTER_CONTENT', 'After Content');
241
- define('AI_TEXT_ENG_BEFORE_PARAGRAPH', 'Before Paragraph');
242
- define('AI_TEXT_ENG_AFTER_PARAGRAPH', 'After Paragraph');
243
- define('AI_TEXT_ENG_BEFORE_EXCERPT', 'Before Excerpt');
244
- define('AI_TEXT_ENG_AFTER_EXCERPT', 'After Excerpt');
245
- define('AI_TEXT_ENG_BETWEEN_POSTS', 'Between Posts');
246
- define('AI_TEXT_ENG_BEFORE_COMMENTS', 'Before Comments');
247
- define('AI_TEXT_ENG_BETWEEN_COMMENTS', 'Between Comments');
248
- define('AI_TEXT_ENG_AFTER_COMMENTS', 'After Comments');
249
- define('AI_TEXT_ENG_ABOVE_HEADER', 'Above Header');
250
  define('AI_TEXT_ENG_FOOTER', 'Footer');
251
  define('AI_TEXT_ENG_BEFORE_HTML_ELEMENT', 'Before HTML element');
252
  define('AI_TEXT_ENG_AFTER_HTML_ELEMENT', 'After HTML element');
253
  define('AI_TEXT_ENG_INSIDE_HTML_ELEMENT', 'Inside HTML element');
 
 
254
 
255
 
256
  // Display options - deprecated
@@ -421,16 +425,16 @@ define('AI_ALIGNMENT_CSS_STICK_TO_THE_TOP_OFFSET', ' top: 100px;');
421
  define('AI_ALIGNMENT_CSS_CENTER_VERTICAL', ' top: 50%; transform: translate(0, -50%);');
422
  define('AI_ALIGNMENT_CSS_CENTER_VERTICAL_H_ANIM', ' top: 50%;');
423
  //define('AI_ALIGNMENT_CSS_SCROLL_WITH_THE_CONTENT', ' position: relative; margin-bottom: auto; width: fit-content; top: 100px; display: none;');
424
- define('AI_ALIGNMENT_CSS_SCROLL_WITH_THE_CONTENT', ' position: absolute; margin-bottom: auto; width: fit-content; top: 100px; display: none;');
425
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_BOTTOM', ' bottom: 0px;');
426
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_BOTTOM_OFFSET', ' bottom: 100px;');
427
 
428
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_LEFT', ' left: 0px;');
429
- define('AI_ALIGNMENT_CSS_STICK_TO_THE_CONTENT_LEFT', ' left: auto; margin-right: 10px; width: fit-content; display: none;');
430
  define('AI_ALIGNMENT_CSS_STICK_CENTER_HORIZONTAL', ' text-align: center; left: 50%; transform: translate(-50%);');
431
  define('AI_ALIGNMENT_CSS_STICK_CENTER_HORIZONTAL_V', ' text-align: center; left: 50%; transform: translate(-50%, -50%);');
432
  define('AI_ALIGNMENT_CSS_STICK_CENTER_HORIZONTAL_ANIM', ' text-align: center; left: 50%;');
433
- define('AI_ALIGNMENT_CSS_STICK_TO_THE_CONTENT_RIGHT', ' right: auto; margin-left: 10px; width: fit-content; display: none;');
434
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_RIGHT', ' right: 0px;');
435
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_RIGHT_SCROLL', ' right: 0px; margin-left: auto;');
436
 
@@ -478,6 +482,7 @@ define ('AI_FILTER_SUBPAGES', 7);
478
  define ('AI_FILTER_POSTS', 8);
479
  define ('AI_FILTER_PARAGRAPHS', 9);
480
  define ('AI_FILTER_COMMENTS', 10);
 
481
 
482
 
483
  define ('AI_TEXT_ENG_AUTO_COUNTER', 'auto counter');
@@ -491,6 +496,7 @@ define ('AI_TEXT_ENG_SUBPAGES_COUNTER', 'subpages counter');
491
  define ('AI_TEXT_ENG_POSTS_COUNTER', 'posts counter');
492
  define ('AI_TEXT_ENG_PARAGRAPHS_COUNTER', 'paragraphs counter');
493
  define ('AI_TEXT_ENG_COMMENTS_COUNTER', 'comments counter');
 
494
 
495
 
496
  // Text List Type - deprecated
@@ -775,7 +781,7 @@ define ('AI_ADSENSE_API', true);
775
  define ('AI_ADSENSE_OVERLAY', true);
776
  define ('AI_STICKY_SETTINGS', true);
777
  define ('AI_PLUGIN_TRACKING', true);
778
- //define ('AI_IFRAMES', true);
779
  define ('AI_ADB_1_NAME', 'dqwpediwqswqma');
780
  define ('AI_ADB_2_DEFAULT_NAME', 'lfoswyekaaslsd');
781
  define ('AI_ADB_CONTENT_CSS_BEGIN', 'ai-adb-content-begin');
@@ -796,10 +802,6 @@ define ('AI_DEFAULT_ADB_UNDISMISSIBLE_MESSAGE', AI_DISABLED);
796
  define ('AI_ADB_VERSION_MASK', 0x7F);
797
  define ('AI_ADB_FLAG_BLOCKED', 0x80);
798
 
799
- //define ('DEFAULT_VIEWPORT_NAME_1', "Desktop");
800
- //define ('DEFAULT_VIEWPORT_NAME_2', "Tablet");
801
- //define ('DEFAULT_VIEWPORT_NAME_3', "Phone");
802
-
803
  define ('DEFAULT_VIEWPORT_WIDTH_1', 980);
804
  define ('DEFAULT_VIEWPORT_WIDTH_2', 768);
805
  define ('DEFAULT_VIEWPORT_WIDTH_3', 0);
@@ -884,6 +886,7 @@ define ('AI_CHECK_MAX_NUMBER_OF_WORDS', 50);
884
  define ('AI_CHECK_TAXONOMY', 51);
885
  define ('AI_CHECK_ENABLED_WIDGET', 52);
886
  define ('AI_CHECK_INSERTION_NOT_DISABLED', 53);
 
887
 
888
  define ('AI_CHECK_NO_PARAGRAPHS', 54);
889
  define ('AI_CHECK_DEBUG_NO_INSERTION', 55);
@@ -950,6 +953,8 @@ define ('AI_DISABLE_TRANSLATION', 41);
950
  define ('AI_MBSTRING_LOADED', 42);
951
  define ('AI_PROCESSING_TIME', 43);
952
  define ('AI_FORCE_SERVERSIDE_CODE', 44);
 
 
953
 
954
  define ('AI_CONTEXT_NONE', 0);
955
  define ('AI_CONTEXT_CONTENT', 1);
@@ -995,15 +1000,6 @@ if (defined ('AI_ADSENSE_API_IDS')) {
995
  }
996
  }
997
 
998
- if (!defined ('AD_INSERTER_BLOCKS'))
999
- define ('AD_INSERTER_BLOCKS', 16);
1000
-
1001
- if (!defined ('AD_INSERTER_VIEWPORTS'))
1002
- define ('AD_INSERTER_VIEWPORTS', 3);
1003
-
1004
- if (!defined ('AD_INSERTER_HOOKS'))
1005
- define ('AD_INSERTER_HOOKS', 2);
1006
-
1007
  define ('AI_DEBUG_WIDGET_STYLE', 'margin: 0; padding: 0 5px; font-size: 10px; white-space: pre; overflow-x: auto; overflow-y: hidden;');
1008
 
1009
  define ('AI_DEBUG_TAGS_CLASS', 'ai-debug-tags');
29
  define ('AD_INSERTER_NAME', 'Ad Inserter');
30
 
31
  if (!defined( 'AD_INSERTER_VERSION'))
32
+ define ('AD_INSERTER_VERSION', '2.4.6');
33
 
34
  if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
35
  define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
70
  define ('AI_OPTION_IFRAME', 'iframe');
71
  define ('AI_OPTION_IFRAME_WIDTH', 'iframe_width');
72
  define ('AI_OPTION_IFRAME_HEIGHT', 'iframe_height');
73
+ define ('AI_OPTION_LABEL_IN_IFRAME', 'label_in_iframe');
74
  define ('AI_OPTION_TRACKING', 'tracking');
75
  define ('AI_OPTION_ENABLE_AJAX', 'enable_ajax');
76
  define ('AI_OPTION_ENABLE_FEED', 'enable_feed');
166
 
167
  define ('AI_OPTION_IMPORT', 'import');
168
  define ('AI_OPTION_IMPORT_NAME', 'import_name');
 
169
 
170
  define ('AI_OPTION_ADB_ACTION', 'adb-action');
171
  define ('AI_OPTION_ADB_SELECTORS', 'adb-selectors');
229
  define('AI_AUTOMATIC_INSERTION_BEFORE_HTML_ELEMENT', 15);
230
  define('AI_AUTOMATIC_INSERTION_AFTER_HTML_ELEMENT', 16);
231
  define('AI_AUTOMATIC_INSERTION_INSIDE_HTML_ELEMENT', 17);
232
+ define('AI_AUTOMATIC_INSERTION_BEFORE_IMAGE', 18);
233
+ define('AI_AUTOMATIC_INSERTION_AFTER_IMAGE', 19);
234
 
235
  define('AI_AUTOMATIC_INSERTION_OUTPUT_BUFFERING', 99);
236
  define('AI_AUTOMATIC_INSERTION_CUSTOM_HOOK', 100);
237
 
238
  define('AI_TEXT_ENG_DISABLED', 'Disabled');
239
+ define('AI_TEXT_ENG_BEFORE_POST', 'Before post');
240
+ define('AI_TEXT_ENG_AFTER_POST', 'After post');
241
+ define('AI_TEXT_ENG_BEFORE_CONTENT', 'Before content');
242
+ define('AI_TEXT_ENG_AFTER_CONTENT', 'After content');
243
+ define('AI_TEXT_ENG_BEFORE_PARAGRAPH', 'Before paragraph');
244
+ define('AI_TEXT_ENG_AFTER_PARAGRAPH', 'After paragraph');
245
+ define('AI_TEXT_ENG_BEFORE_EXCERPT', 'Before excerpt');
246
+ define('AI_TEXT_ENG_AFTER_EXCERPT', 'After excerpt');
247
+ define('AI_TEXT_ENG_BETWEEN_POSTS', 'Between posts');
248
+ define('AI_TEXT_ENG_BEFORE_COMMENTS', 'Before comments');
249
+ define('AI_TEXT_ENG_BETWEEN_COMMENTS', 'Between comments');
250
+ define('AI_TEXT_ENG_AFTER_COMMENTS', 'After comments');
251
+ define('AI_TEXT_ENG_ABOVE_HEADER', 'Above header');
252
  define('AI_TEXT_ENG_FOOTER', 'Footer');
253
  define('AI_TEXT_ENG_BEFORE_HTML_ELEMENT', 'Before HTML element');
254
  define('AI_TEXT_ENG_AFTER_HTML_ELEMENT', 'After HTML element');
255
  define('AI_TEXT_ENG_INSIDE_HTML_ELEMENT', 'Inside HTML element');
256
+ define('AI_TEXT_ENG_BEFORE_IMAGE', 'Before image');
257
+ define('AI_TEXT_ENG_AFTER_IMAGE', 'After image');
258
 
259
 
260
  // Display options - deprecated
425
  define('AI_ALIGNMENT_CSS_CENTER_VERTICAL', ' top: 50%; transform: translate(0, -50%);');
426
  define('AI_ALIGNMENT_CSS_CENTER_VERTICAL_H_ANIM', ' top: 50%;');
427
  //define('AI_ALIGNMENT_CSS_SCROLL_WITH_THE_CONTENT', ' position: relative; margin-bottom: auto; width: fit-content; top: 100px; display: none;');
428
+ define('AI_ALIGNMENT_CSS_SCROLL_WITH_THE_CONTENT', ' position: absolute; margin-bottom: auto; width: fit-content; width: -moz-fit-content; top: 100px; display: none;');
429
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_BOTTOM', ' bottom: 0px;');
430
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_BOTTOM_OFFSET', ' bottom: 100px;');
431
 
432
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_LEFT', ' left: 0px;');
433
+ define('AI_ALIGNMENT_CSS_STICK_TO_THE_CONTENT_LEFT', ' left: auto; margin-right: 10px; width: fit-content; width: -moz-fit-content; display: none;');
434
  define('AI_ALIGNMENT_CSS_STICK_CENTER_HORIZONTAL', ' text-align: center; left: 50%; transform: translate(-50%);');
435
  define('AI_ALIGNMENT_CSS_STICK_CENTER_HORIZONTAL_V', ' text-align: center; left: 50%; transform: translate(-50%, -50%);');
436
  define('AI_ALIGNMENT_CSS_STICK_CENTER_HORIZONTAL_ANIM', ' text-align: center; left: 50%;');
437
+ define('AI_ALIGNMENT_CSS_STICK_TO_THE_CONTENT_RIGHT', ' right: auto; margin-left: 10px; width: fit-content; width: -moz-fit-content; display: none;');
438
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_RIGHT', ' right: 0px;');
439
  define('AI_ALIGNMENT_CSS_STICK_TO_THE_RIGHT_SCROLL', ' right: 0px; margin-left: auto;');
440
 
482
  define ('AI_FILTER_POSTS', 8);
483
  define ('AI_FILTER_PARAGRAPHS', 9);
484
  define ('AI_FILTER_COMMENTS', 10);
485
+ define ('AI_FILTER_IMAGES', 11);
486
 
487
 
488
  define ('AI_TEXT_ENG_AUTO_COUNTER', 'auto counter');
496
  define ('AI_TEXT_ENG_POSTS_COUNTER', 'posts counter');
497
  define ('AI_TEXT_ENG_PARAGRAPHS_COUNTER', 'paragraphs counter');
498
  define ('AI_TEXT_ENG_COMMENTS_COUNTER', 'comments counter');
499
+ define ('AI_TEXT_ENG_IMAGES_COUNTER', 'images counter');
500
 
501
 
502
  // Text List Type - deprecated
781
  define ('AI_ADSENSE_OVERLAY', true);
782
  define ('AI_STICKY_SETTINGS', true);
783
  define ('AI_PLUGIN_TRACKING', true);
784
+ define ('AI_BLOCKS_IN_IFRAMES', true);
785
  define ('AI_ADB_1_NAME', 'dqwpediwqswqma');
786
  define ('AI_ADB_2_DEFAULT_NAME', 'lfoswyekaaslsd');
787
  define ('AI_ADB_CONTENT_CSS_BEGIN', 'ai-adb-content-begin');
802
  define ('AI_ADB_VERSION_MASK', 0x7F);
803
  define ('AI_ADB_FLAG_BLOCKED', 0x80);
804
 
 
 
 
 
805
  define ('DEFAULT_VIEWPORT_WIDTH_1', 980);
806
  define ('DEFAULT_VIEWPORT_WIDTH_2', 768);
807
  define ('DEFAULT_VIEWPORT_WIDTH_3', 0);
886
  define ('AI_CHECK_TAXONOMY', 51);
887
  define ('AI_CHECK_ENABLED_WIDGET', 52);
888
  define ('AI_CHECK_INSERTION_NOT_DISABLED', 53);
889
+ define ('AI_CHECK_IMAGE_COUNTING', 54);
890
 
891
  define ('AI_CHECK_NO_PARAGRAPHS', 54);
892
  define ('AI_CHECK_DEBUG_NO_INSERTION', 55);
953
  define ('AI_MBSTRING_LOADED', 42);
954
  define ('AI_PROCESSING_TIME', 43);
955
  define ('AI_FORCE_SERVERSIDE_CODE', 44);
956
+ define ('AI_CODE_FOR_IFRAME', 45);
957
+ define ('AI_IFRAMES', 46);
958
 
959
  define ('AI_CONTEXT_NONE', 0);
960
  define ('AI_CONTEXT_CONTENT', 1);
1000
  }
1001
  }
1002
 
 
 
 
 
 
 
 
 
 
1003
  define ('AI_DEBUG_WIDGET_STYLE', 'margin: 0; padding: 0 5px; font-size: 10px; white-space: pre; overflow-x: auto; overflow-y: hidden;');
1004
 
1005
  define ('AI_DEBUG_TAGS_CLASS', 'ai-debug-tags');
css/{ad-inserter.css → ai-settings.css} RENAMED
@@ -1,5 +1,5 @@
1
  #ai-data {
2
- font-family: "2.4.5"; /* Used for version number of the file */
3
  }
4
 
5
  #blocked-warning {
@@ -192,7 +192,7 @@ a.clear-link, a.clear-link:hover, a.clear-link:focus {
192
  .copy-blocker {
193
  position: absolute;
194
  user-select: text;
195
- height: 100%;
196
  }
197
 
198
  .ui-dialog {
@@ -362,10 +362,24 @@ input.ai-date-input {
362
  width: 85px;
363
  }
364
 
365
- .country-flags .ms-container .ms-selectable li.ms-elem-selectable, .country-flags .ms-container .ms-selection li.ms-elem-selection {
366
  padding-left: 30px;
367
  }
368
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
369
  .flag-icon {
370
  display: list-item;
371
  width: auto;
@@ -695,7 +709,15 @@ img.automatic-insertion.im-close-none {
695
  }
696
 
697
  img.automatic-insertion.im-inside-html {
698
- background: url('images/insertions-alignmets.png') -56px -280px;
 
 
 
 
 
 
 
 
699
  }
700
 
701
 
@@ -800,6 +822,14 @@ img.automatic-insertion.preview.im-close-none {
800
  background: url('images/insertions-alignmets.png') -0px -250px;
801
  }
802
 
 
 
 
 
 
 
 
 
803
 
804
  img.automatic-insertion.preview {
805
  background-size: 400px!important;
@@ -1069,7 +1099,7 @@ img.automatic-insertion.preview {
1069
  background-size: cover;
1070
  }
1071
 
1072
- .ai-button .ui-button-text.ai-button-active {
1073
  background: #f44;
1074
  border: 1px solid #f44;
1075
  border-radius: 8px;
@@ -1079,6 +1109,10 @@ img.automatic-insertion.preview {
1079
  margin: 1px 0px 1px 3px;
1080
  }
1081
 
 
 
 
 
1082
  .ai-page-code {
1083
  margin: 0;
1084
  padding: 5px;
@@ -1087,6 +1121,14 @@ img.automatic-insertion.preview {
1087
  line-height: 15px;
1088
  }
1089
 
 
 
 
 
 
 
 
 
1090
  #ai-page-php {
1091
  color: #0a0;
1092
  }
1
  #ai-data {
2
+ font-family: "2.4.6"; /* Used for version number of the file */
3
  }
4
 
5
  #blocked-warning {
192
  .copy-blocker {
193
  position: absolute;
194
  user-select: text;
195
+ height: 1%;
196
  }
197
 
198
  .ui-dialog {
362
  width: 85px;
363
  }
364
 
365
+ .country-flags .ms-container .ms-selectable li.flag-icon.ms-elem-selectable, .country-flags .ms-container .ms-selection li.flag-icon.ms-elem-selection {
366
  padding-left: 30px;
367
  }
368
 
369
+ .ai-list-filter-container {
370
+ display: none;
371
+ }
372
+
373
+ .ai-list-filter-container .filter-input {
374
+ width: 100px;
375
+ }
376
+
377
+ .ai-list-filter-container .filter-message {
378
+ vertical-align: middle;
379
+ padding-left: 5px;
380
+ }
381
+
382
+
383
  .flag-icon {
384
  display: list-item;
385
  width: auto;
709
  }
710
 
711
  img.automatic-insertion.im-inside-html {
712
+ background: url('images/insertions-alignmets.png') -56px -280px;
713
+ }
714
+
715
+ img.automatic-insertion.im-before-image {
716
+ background: url('images/insertions-alignmets.png') -112px -280px;
717
+ }
718
+
719
+ img.automatic-insertion.im-after-image {
720
+ background: url('images/insertions-alignmets.png') -168px -280px;
721
  }
722
 
723
 
822
  background: url('images/insertions-alignmets.png') -0px -250px;
823
  }
824
 
825
+ img.automatic-insertion.preview.im-before-image {
826
+ background: url('images/insertions-alignmets.png') -50px -250px;
827
+ }
828
+
829
+ img.automatic-insertion.preview.im-after-image {
830
+ background: url('images/insertions-alignmets.png') -100px -250px;
831
+ }
832
+
833
 
834
  img.automatic-insertion.preview {
835
  background-size: 400px!important;
1099
  background-size: cover;
1100
  }
1101
 
1102
+ .ai-button .ui-button-text.ai-button-active, .ai-button .ui-button-text.ai-button-updating {
1103
  background: #f44;
1104
  border: 1px solid #f44;
1105
  border-radius: 8px;
1109
  margin: 1px 0px 1px 3px;
1110
  }
1111
 
1112
+ .filter-button .ui-button-text {
1113
+ padding: 0.1em 0.4em;
1114
+ }
1115
+
1116
  .ai-page-code {
1117
  margin: 0;
1118
  padding: 5px;
1121
  line-height: 15px;
1122
  }
1123
 
1124
+ pre.ai-wrap {
1125
+ white-space: pre-wrap; /* Since CSS 2.1 */
1126
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
1127
+ white-space: -pre-wrap; /* Opera 4-6 */
1128
+ white-space: -o-pre-wrap; /* Opera 7 */
1129
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
1130
+ }
1131
+
1132
  #ai-page-php {
1133
  color: #0a0;
1134
  }
css/images/insertions-alignmets.png CHANGED
Binary file
includes/editor.php CHANGED
@@ -44,7 +44,7 @@ function generate_code_editor ($block, $client_code, $process_php) {
44
  'jquery-ui-dialog',
45
  ), AD_INSERTER_VERSION);
46
 
47
- wp_enqueue_style ('ai-editor-css', plugins_url ('css/ad-inserter.css', AD_INSERTER_FILE), array (), AD_INSERTER_VERSION);
48
 
49
  add_action ('media_buttons', 'ai_editor_media_buttons');
50
 
44
  'jquery-ui-dialog',
45
  ), AD_INSERTER_VERSION);
46
 
47
+ wp_enqueue_style ('ai-editor-css', plugins_url ('css/ai-settings.css', AD_INSERTER_FILE), array (), AD_INSERTER_VERSION);
48
 
49
  add_action ('media_buttons', 'ai_editor_media_buttons');
50
 
includes/js/ai-adb.js CHANGED
@@ -1,146 +1,3 @@
1
- /**
2
- * jQuery BASE64 functions
3
- *
4
- * <code>
5
- * Encodes the given data with base64.
6
- * String $.base64Encode ( String str )
7
- * <br />
8
- * Decodes a base64 encoded data.
9
- * String $.base64Decode ( String str )
10
- * </code>
11
- *
12
- * Encodes and Decodes the given data in base64.
13
- * This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies.
14
- * Base64-encoded data takes about 33% more space than the original data.
15
- * This javascript code is used to encode / decode data using base64 (this encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean). Script is fully compatible with UTF-8 encoding. You can use base64 encoded data as simple encryption mechanism.
16
- * If you plan using UTF-8 encoding in your project don't forget to set the page encoding to UTF-8 (Content-Type meta tag).
17
- * This function orginally get from the WebToolkit and rewrite for using as the jQuery plugin.
18
- *
19
- * Example
20
- * Code
21
- * <code>
22
- * $.base64Encode("I'm Persian.");
23
- * </code>
24
- * Result
25
- * <code>
26
- * "SSdtIFBlcnNpYW4u"
27
- * </code>
28
- * Code
29
- * <code>
30
- * $.base64Decode("SSdtIFBlcnNpYW4u");
31
- * </code>
32
- * Result
33
- * <code>
34
- * "I'm Persian."
35
- * </code>
36
- *
37
- * @alias Muhammad Hussein Fattahizadeh < muhammad [AT] semnanweb [DOT] com >
38
- * @link http://www.semnanweb.com/jquery-plugin/base64.html (no longer available?)
39
- * @link https://gist.github.com/gists/1602210
40
- * @see http://www.webtoolkit.info/
41
- * @license http://www.gnu.org/licenses/gpl.html [GNU General Public License]
42
- * @param {jQuery} {base64Encode:function(input))
43
- * @param {jQuery} {base64Decode:function(input))
44
- * @return string
45
- */
46
-
47
- //(function($){
48
-
49
- // var keyString = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
50
-
51
- // var uTF8Encode = function(string) {
52
- // string = string.replace(/\x0d\x0a/g, "\x0a");
53
- // var output = "";
54
- // for (var n = 0; n < string.length; n++) {
55
- // var c = string.charCodeAt(n);
56
- // if (c < 128) {
57
- // output += String.fromCharCode(c);
58
- // } else if ((c > 127) && (c < 2048)) {
59
- // output += String.fromCharCode((c >> 6) | 192);
60
- // output += String.fromCharCode((c & 63) | 128);
61
- // } else {
62
- // output += String.fromCharCode((c >> 12) | 224);
63
- // output += String.fromCharCode(((c >> 6) & 63) | 128);
64
- // output += String.fromCharCode((c & 63) | 128);
65
- // }
66
- // }
67
- // return output;
68
- // };
69
-
70
- // var uTF8Decode = function(input) {
71
- // var string = "";
72
- // var i = 0;
73
- // var c = c1 = c2 = 0;
74
- // while ( i < input.length ) {
75
- // c = input.charCodeAt(i);
76
- // if (c < 128) {
77
- // string += String.fromCharCode(c);
78
- // i++;
79
- // } else if ((c > 191) && (c < 224)) {
80
- // c2 = input.charCodeAt(i+1);
81
- // string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
82
- // i += 2;
83
- // } else {
84
- // c2 = input.charCodeAt(i+1);
85
- // c3 = input.charCodeAt(i+2);
86
- // string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
87
- // i += 3;
88
- // }
89
- // }
90
- // return string;
91
- // }
92
-
93
- // $.extend({
94
- // base64Encode: function(input) {
95
- // var output = "";
96
- // var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
97
- // var i = 0;
98
- // input = uTF8Encode(input);
99
- // while (i < input.length) {
100
- // chr1 = input.charCodeAt(i++);
101
- // chr2 = input.charCodeAt(i++);
102
- // chr3 = input.charCodeAt(i++);
103
- // enc1 = chr1 >> 2;
104
- // enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
105
- // enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
106
- // enc4 = chr3 & 63;
107
- // if (isNaN(chr2)) {
108
- // enc3 = enc4 = 64;
109
- // } else if (isNaN(chr3)) {
110
- // enc4 = 64;
111
- // }
112
- // output = output + keyString.charAt(enc1) + keyString.charAt(enc2) + keyString.charAt(enc3) + keyString.charAt(enc4);
113
- // }
114
- // return output;
115
- // },
116
- // base64Decode: function(input) {
117
- // var output = "";
118
- // var chr1, chr2, chr3;
119
- // var enc1, enc2, enc3, enc4;
120
- // var i = 0;
121
- // input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
122
- // while (i < input.length) {
123
- // enc1 = keyString.indexOf(input.charAt(i++));
124
- // enc2 = keyString.indexOf(input.charAt(i++));
125
- // enc3 = keyString.indexOf(input.charAt(i++));
126
- // enc4 = keyString.indexOf(input.charAt(i++));
127
- // chr1 = (enc1 << 2) | (enc2 >> 4);
128
- // chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
129
- // chr3 = ((enc3 & 3) << 6) | enc4;
130
- // output = output + String.fromCharCode(chr1);
131
- // if (enc3 != 64) {
132
- // output = output + String.fromCharCode(chr2);
133
- // }
134
- // if (enc4 != 64) {
135
- // output = output + String.fromCharCode(chr3);
136
- // }
137
- // }
138
- // output = uTF8Decode(output);
139
- // return output;
140
- // }
141
- // });
142
- //})(jQuery);
143
-
144
  function b64e (str) {
145
  // first we use encodeURIComponent to get percent-encoded UTF-8,
146
  // then we convert the percent encodings into raw bytes which
@@ -261,10 +118,51 @@ function ai_adb_process_content () {
261
  }(jQuery));
262
  }
263
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  var ai_adb_detected = function(n) {
265
 
266
  if (ai_adb_debugging && n == 0) console.log ('');
267
- if (ai_adb_debugging) console.log ("AI AD BLOCKING DETECTED", n);
268
 
269
  if (!ai_adb_active) {
270
  ai_adb_active = true;
@@ -358,8 +256,10 @@ var ai_adb_detected = function(n) {
358
 
359
  if (ai_adb_action == 0) {
360
  var AI_ADB_STATUS_MESSAGE=6;
 
361
  } else {
362
  var AI_ADB_STATUS_MESSAGE=3;
 
363
  }
364
 
365
  switch (ai_adb_action) {
@@ -431,12 +331,13 @@ var ai_adb_undetected = function(n) {
431
  ai_adb_counter ++;
432
 
433
  if (ai_adb_debugging && n == 1) console.log ('');
434
- if (ai_adb_debugging) console.log ("AI AD BLOCKING not detected", n, "- counter:", ai_adb_counter);
435
 
436
- if (!ai_adb_active && ai_adb_counter == 3) {
437
  if (ai_adb_debugging) console.log ("AI AD BLOCKING NOT DETECTED");
438
 
439
  var AI_ADB_STATUS_MESSAGE=4; // Check replacement code {}
 
440
 
441
  // var redirected_page = false;
442
  // if (ai_adb_redirection_url.toLowerCase().substring (0, 4) == "http") {
@@ -474,11 +375,11 @@ if (typeof window.AI_CONST_AI_ADB_2_NAME == "undefined") {
474
  jQuery (document).ready (function ($) {
475
  $(window).ready (function () {
476
 
477
-
478
  $("#ai-adb-bar").click (function () {
479
  $.removeCookie (ai_adb_act_cookie_name, {path: "/" });
480
  $.removeCookie (ai_adb_pgv_cookie_name, {path: "/" });
481
  var AI_ADB_STATUS_MESSAGE=5;
 
482
  });
483
 
484
  if ($("#banner-advert-container img").length > 0) {
@@ -493,16 +394,31 @@ jQuery (document).ready (function ($) {
493
  var ai_adb_el_zero = 0;
494
  var ai_adb_selector = ai_adb_selectors.split (",");
495
  $.each (ai_adb_selector, function (i) {
 
496
 
497
  if (ai_adb_debugging) console.log ("AI AD BLOCKING selector", ai_adb_selector [i]);
498
 
499
  if ($(ai_adb_selector [i]).length != 0) {
500
  $(ai_adb_selector [i]).each (function (n) {
501
 
 
 
502
  if (ai_adb_debugging) console.log ("AI AD BLOCKING element id=\"" + $(this).attr ("id") + "\" class=\"" + $(this).attr ("class") + "\" heights:", $(this).outerHeight (), $(this).innerHeight (), $(this).height ());
503
 
 
 
 
 
 
 
 
 
 
 
 
 
504
  ai_adb_el_counter ++;
505
- if ($(this).outerHeight () === 0) {
506
  $ (document).ready (function () {if (!ai_adb_active || ai_adb_debugging) ai_adb_detected (4)});
507
  ai_adb_el_zero ++;
508
  if (!ai_adb_debugging) return false;
@@ -517,6 +433,26 @@ jQuery (document).ready (function ($) {
517
  });
518
  });
519
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
  /*!
521
  * jQuery Cookie Plugin v1.4.1
522
  * https://github.com/carhartl/jquery-cookie
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  function b64e (str) {
2
  // first we use encodeURIComponent to get percent-encoded UTF-8,
3
  // then we convert the percent encodings into raw bytes which
118
  }(jQuery));
119
  }
120
 
121
+ ai_adb_detection_type = function (n) {
122
+ switch (n) {
123
+ case 0:
124
+ return "0 debugging";
125
+ break;
126
+ case 1:
127
+ return "1 ads create element";
128
+ break;
129
+ case 2:
130
+ return "2 sponsors window var";
131
+ break;
132
+ case 3:
133
+ return "3 banner element";
134
+ break;
135
+ case 4:
136
+ return "4 custom selectors";
137
+ break;
138
+ case 5:
139
+ return "5 ga";
140
+ break;
141
+ case 6:
142
+ return "6 media.net";
143
+ break;
144
+ case 7:
145
+ return "7 adsense";
146
+ break;
147
+ case 8:
148
+ return "8 chitika";
149
+ break;
150
+ case 9:
151
+ return "9 fun adblock 3";
152
+ break;
153
+ case 10:
154
+ return "10 fun adblock 4";
155
+ break;
156
+ default:
157
+ return n;
158
+ break;
159
+ }
160
+ }
161
+
162
  var ai_adb_detected = function(n) {
163
 
164
  if (ai_adb_debugging && n == 0) console.log ('');
165
+ if (ai_adb_debugging) console.log ("AI AD BLOCKING DETECTED", ai_adb_detection_type (n));
166
 
167
  if (!ai_adb_active) {
168
  ai_adb_active = true;
256
 
257
  if (ai_adb_action == 0) {
258
  var AI_ADB_STATUS_MESSAGE=6;
259
+ var ai_dummy = 0; // Do not remove - to keep semicolon above
260
  } else {
261
  var AI_ADB_STATUS_MESSAGE=3;
262
+ var ai_dummy = 0; // Do not remove - to keep semicolon above
263
  }
264
 
265
  switch (ai_adb_action) {
331
  ai_adb_counter ++;
332
 
333
  if (ai_adb_debugging && n == 1) console.log ('');
334
+ if (ai_adb_debugging) console.log ("AI AD BLOCKING not detected:", '(' + ai_adb_counter + ')', ai_adb_detection_type (n));
335
 
336
+ if (!ai_adb_active && ai_adb_counter == 4) {
337
  if (ai_adb_debugging) console.log ("AI AD BLOCKING NOT DETECTED");
338
 
339
  var AI_ADB_STATUS_MESSAGE=4; // Check replacement code {}
340
+ var ai_dummy = 0; // Do not remove - to keep semicolon above
341
 
342
  // var redirected_page = false;
343
  // if (ai_adb_redirection_url.toLowerCase().substring (0, 4) == "http") {
375
  jQuery (document).ready (function ($) {
376
  $(window).ready (function () {
377
 
 
378
  $("#ai-adb-bar").click (function () {
379
  $.removeCookie (ai_adb_act_cookie_name, {path: "/" });
380
  $.removeCookie (ai_adb_pgv_cookie_name, {path: "/" });
381
  var AI_ADB_STATUS_MESSAGE=5;
382
+ var ai_dummy = 0; // Do not remove - to keep semicolon above
383
  });
384
 
385
  if ($("#banner-advert-container img").length > 0) {
394
  var ai_adb_el_zero = 0;
395
  var ai_adb_selector = ai_adb_selectors.split (",");
396
  $.each (ai_adb_selector, function (i) {
397
+ ai_adb_selector [i] = ai_adb_selector [i].trim ();
398
 
399
  if (ai_adb_debugging) console.log ("AI AD BLOCKING selector", ai_adb_selector [i]);
400
 
401
  if ($(ai_adb_selector [i]).length != 0) {
402
  $(ai_adb_selector [i]).each (function (n) {
403
 
404
+ var outer_height = $(this).outerHeight ();
405
+
406
  if (ai_adb_debugging) console.log ("AI AD BLOCKING element id=\"" + $(this).attr ("id") + "\" class=\"" + $(this).attr ("class") + "\" heights:", $(this).outerHeight (), $(this).innerHeight (), $(this).height ());
407
 
408
+ var ai_attributes = $(this).find ('.ai-attributes');
409
+ if (ai_attributes.length) {
410
+ ai_attributes.each (function (){
411
+ if (ai_adb_debugging) console.log ("AI AD BLOCKING attributes height:", $(this).outerHeight ());
412
+ if (outer_height >= $(this).outerHeight ()) {
413
+ outer_height -= $(this).outerHeight ();
414
+ }
415
+ });
416
+ }
417
+
418
+ if (ai_adb_debugging) console.log ("AI AD BLOCKING effective height:", outer_height);
419
+
420
  ai_adb_el_counter ++;
421
+ if (outer_height === 0) {
422
  $ (document).ready (function () {if (!ai_adb_active || ai_adb_debugging) ai_adb_detected (4)});
423
  ai_adb_el_zero ++;
424
  if (!ai_adb_debugging) return false;
433
  });
434
  });
435
 
436
+ //jQuery.getScript ("https://www.google-analytics.com/analytics.js");
437
+ //jQuery.getScript ("//cdn.chitika.net/getads.js");
438
+ //jQuery.getScript ("//contextual.media.net/dmedianet.js");
439
+
440
+ jQuery (window).on ('load', function () {
441
+ if (ai_adb_debugging) console.log ("AI AD BLOCKING window load");
442
+
443
+ if (!(typeof ga == 'function' && ga.toString().length > 30)) {
444
+ jQuery (document).ready (function () {if (!ai_adb_active || ai_adb_debugging) ai_adb_detected (5)});
445
+ } else {
446
+ jQuery (document).ready (function () {ai_adb_undetected (5)});
447
+ }
448
+
449
+ if (!(typeof _mNDetails == 'object' && JSON.stringify (_mNDetails).length > 400)) {
450
+ jQuery (document).ready (function () {if (!ai_adb_active || ai_adb_debugging) ai_adb_detected (6)});
451
+ } else {
452
+ jQuery (document).ready (function () {ai_adb_undetected (6)});
453
+ }
454
+ });
455
+
456
  /*!
457
  * jQuery Cookie Plugin v1.4.1
458
  * https://github.com/carhartl/jquery-cookie
includes/js/ai-adb.min.js CHANGED
@@ -14,20 +14,23 @@ ai_adb_action=false}else if(ai_adb_action){var ai_adb_style=$(this).attr("style"
14
  $(this).parent();if(ai_adb_debugging)console.log("AI AD BLOCKING REPLACE, parent",ai_adb_parent.prop("tagName"),'id="'+ai_adb_parent.attr("id")+'"','class="'+ai_adb_parent.attr("class")+'"');var ai_adb_text=$(this).data("text");if(typeof ai_adb_text=="undefined")ai_adb_text="";var ai_adb_css=$(this).data("css");if(typeof ai_adb_css=="undefined")ai_adb_css="";var ai_adb_selectors=$(this).data("selectors");if(typeof ai_adb_selectors=="undefined"||ai_adb_selectors=="")ai_adb_selectors="p";if(ai_adb_debugging)console.log("AI AD BLOCKING REPLACE, text='"+
15
  ai_adb_text+"'","css='"+ai_adb_css+"'","selectors='"+ai_adb_selectors+"'");var ai_adb_action=false;$(ai_adb_parent).find(".AI_ADB_CONTENT_REPLACE_BEGIN_CLASS, "+ai_adb_selectors).each(function(){if($(this).hasClass("AI_ADB_CONTENT_REPLACE_BEGIN_CLASS")){$(this).remove();ai_adb_action=true}else if($(this).hasClass("AI_ADB_CONTENT_REPLACE_END_CLASS")){$(this).remove();ai_adb_action=false}else if(ai_adb_action){if(ai_adb_text.length!=0){var n=Math.round($(this).text().length/(ai_adb_text.length+1));
16
  $(this).text(Array(n+1).join(ai_adb_text+" "))}else $(this).text("");var ai_adb_style=$(this).attr("style");if(typeof ai_adb_style=="undefined")ai_adb_style="";$(this).attr("style",ai_adb_style+";"+ai_adb_css)}})})})(jQuery)}
17
- var ai_adb_detected=function(n){if(ai_adb_debugging&&n==0)console.log("");if(ai_adb_debugging)console.log("AI AD BLOCKING DETECTED",n);if(!ai_adb_active){ai_adb_active=true;(function($){$(window).ready(function(){if(ai_adb_debugging)console.log("AI AD BLOCKING block actions");$(".ai-adb-hide").each(function(){$(this).css({"display":"none","visibility":"hidden"});var wrapping_div=$(this).closest("div[data-ai]");if(typeof wrapping_div.data("ai")!="undefined"){var data=JSON.parse(b64d(wrapping_div.data("ai")));
 
18
  if(typeof data!=="undefined"&&data.constructor===Array){data[1]="";wrapping_div.data("ai",b64e(JSON.stringify(data)))}}if(ai_adb_debugging){var debug_info=$(this).data("ai-debug");console.log("AI AD BLOCKING HIDE",typeof debug_info!="undefined"?debug_info:"")}});$(".ai-adb-show").each(function(){$(this).css({"display":"block","visibility":"visible"});var tracking_data=$(this).data("ai-tracking");if(typeof tracking_data!="undefined"){var wrapping_div=$(this).closest("div[data-ai]");if(typeof wrapping_div.data("ai")!=
19
  "undefined"){if($(this).hasClass("ai-no-tracking")){var data=JSON.parse(b64d(wrapping_div.data("ai")));if(typeof data!=="undefined"&&data.constructor===Array){data[1]="";tracking_data=b64e(JSON.stringify(data))}}wrapping_div.data("ai",tracking_data)}}if(ai_adb_debugging){var debug_info=$(this).data("ai-debug");console.log("AI AD BLOCKING SHOW",typeof debug_info!="undefined"?debug_info:"")}});setTimeout(ai_adb_process_content,10)});if(ai_adb_debugging)console.log("AI AD BLOCKING action check");if(ai_adb_page_views!=
20
  0){var ai_adb_page_view_counter=1;var cookie=$.cookie(ai_adb_pgv_cookie_name);if(typeof cookie!="undefined")ai_adb_page_view_counter=parseInt(cookie)+1;if(ai_adb_debugging)console.log("AI AD BLOCKING page views cookie:",cookie,"- page view:",ai_adb_page_view_counter);if(ai_adb_page_view_counter<ai_adb_page_views){if(ai_adb_debugging)console.log("AI AD BLOCKING",ai_adb_page_views,"page views not reached, no action");var d1=ai_adb_page_view_counter;var AI_ADB_STATUS_MESSAGE=1;$.cookie(ai_adb_pgv_cookie_name,
21
  ai_adb_page_view_counter,{expires:365,path:"/"});return}}if(ai_adb_message_cookie_lifetime!=0&&(ai_adb_action!=1||!ai_adb_message_undismissible)){var cookie=$.cookie(ai_adb_act_cookie_name);if(ai_adb_debugging)console.log("AI AD BLOCKING cookie:",cookie);if(typeof cookie!="undefined"&&cookie=="AI_CONST_AI_ADB_COOKIE_VALUE"){if(ai_adb_debugging)console.log("AI AD BLOCKING valid cookie detected, no action");var AI_ADB_STATUS_MESSAGE=2;return}else if(ai_adb_debugging)console.log("AI AD BLOCKING invalid cookie");
22
- $.cookie(ai_adb_act_cookie_name,"AI_CONST_AI_ADB_COOKIE_VALUE",{expires:ai_adb_message_cookie_lifetime,path:"/"})}else $.removeCookie(ai_adb_act_cookie_name,{path:"/"});if(ai_adb_debugging)console.log("AI AD BLOCKING action",ai_adb_action);if(ai_adb_action==0)var AI_ADB_STATUS_MESSAGE=6;else var AI_ADB_STATUS_MESSAGE=3;switch(ai_adb_action){case 1:if(!ai_adb_message_undismissible){ai_adb_overlay.click(function(){$(this).remove();ai_adb_message_window.remove()}).css("cursor","pointer");ai_adb_message_window.click(function(){$(this).remove();
23
- ai_adb_overlay.remove()}).css("cursor","pointer");window.onkeydown=function(event){if(event.keyCode===27){ai_adb_overlay.click();ai_adb_message_window.click()}};if(ai_adb_debugging)console.log("AI AD BLOCKING MESSAGE click detection installed")}else;if(ai_adb_debugging)console.log("AI AD BLOCKING MESSAGE");$("body").prepend(ai_adb_overlay).prepend(ai_adb_message_window);break;case 2:if(ai_adb_redirection_url!=""){if(ai_adb_debugging)console.log("AI AD BLOCKING REDIRECTION to",ai_adb_redirection_url);
24
- var redirect=true;if(ai_adb_redirection_url.toLowerCase().substring(0,4)=="http"){if(window.location.href==ai_adb_redirection_url)var redirect=false}else if(window.location.pathname==ai_adb_redirection_url)var redirect=false;if(redirect){var cookie=$.cookie(ai_adb_page_redirection_cookie_name);if(typeof cookie=="undefined"){var date=new Date;date.setTime(date.getTime()+10*1E3);$.cookie(ai_adb_page_redirection_cookie_name,window.location.href,{expires:date,path:"/"});window.location.replace(ai_adb_redirection_url)}else if(ai_adb_debugging)console.log("AI AD BLOCKING no redirection, cookie:",
25
  cookie)}else{if(ai_adb_debugging)console.log("AI AD BLOCKING already on page",window.location.href);jQuery.removeCookie(ai_adb_page_redirection_cookie_name,{path:"/"})}}break}})(jQuery);ai_adb=true}};
26
- var ai_adb_undetected=function(n){ai_adb_counter++;if(ai_adb_debugging&&n==1)console.log("");if(ai_adb_debugging)console.log("AI AD BLOCKING not detected",n,"- counter:",ai_adb_counter);if(!ai_adb_active&&ai_adb_counter==3){if(ai_adb_debugging)console.log("AI AD BLOCKING NOT DETECTED");var AI_ADB_STATUS_MESSAGE=4}};if(AI_DBG_AI_DEBUG_AD_BLOCKING)jQuery(document).ready(function(){ai_adb_detected(0)});
27
  if(!document.getElementById("AI_CONST_AI_ADB_1_NAME"))jQuery(document).ready(function(){if(!ai_adb_active||ai_adb_debugging)ai_adb_detected(1)});else jQuery(document).ready(function(){ai_adb_undetected(1)});if(typeof window.AI_CONST_AI_ADB_2_NAME=="undefined")jQuery(document).ready(function(){if(!ai_adb_active||ai_adb_debugging)ai_adb_detected(2)});else jQuery(document).ready(function(){ai_adb_undetected(2)});
28
- jQuery(document).ready(function($){$(window).ready(function(){$("#ai-adb-bar").click(function(){$.removeCookie(ai_adb_act_cookie_name,{path:"/"});$.removeCookie(ai_adb_pgv_cookie_name,{path:"/"});var AI_ADB_STATUS_MESSAGE=5});if($("#banner-advert-container img").length>0){if($("#banner-advert-container img").outerHeight()===0)$(document).ready(function(){if(!ai_adb_active||ai_adb_debugging)ai_adb_detected(3)});else $(document).ready(function(){ai_adb_undetected(3)});$("#banner-advert-container img").remove()}if((!ai_adb_active||
29
- ai_adb_debugging)&&ai_adb_selectors!=""){var ai_adb_el_counter=0;var ai_adb_el_zero=0;var ai_adb_selector=ai_adb_selectors.split(",");$.each(ai_adb_selector,function(i){if(ai_adb_debugging)console.log("AI AD BLOCKING selector",ai_adb_selector[i]);if($(ai_adb_selector[i]).length!=0)$(ai_adb_selector[i]).each(function(n){if(ai_adb_debugging)console.log('AI AD BLOCKING element id="'+$(this).attr("id")+'" class="'+$(this).attr("class")+'" heights:',$(this).outerHeight(),$(this).innerHeight(),$(this).height());
30
- ai_adb_el_counter++;if($(this).outerHeight()===0){$(document).ready(function(){if(!ai_adb_active||ai_adb_debugging)ai_adb_detected(4)});ai_adb_el_zero++;if(!ai_adb_debugging)return false}})});if(ai_adb_el_counter!=0&&ai_adb_el_zero==0)$(document).ready(function(){ai_adb_undetected(4)})}})});
 
 
31
  (function(factory){if(typeof define==="function"&&define.amd)define(["jquery"],factory);else if(typeof exports==="object")factory(require("jquery"));else factory(jQuery)})(function($){var pluses=/\+/g;function encode(s){return config.raw?s:encodeURIComponent(s)}function decode(s){return config.raw?s:decodeURIComponent(s)}function stringifyCookieValue(value){return encode(config.json?JSON.stringify(value):String(value))}function parseCookieValue(s){if(s.indexOf('"')===0)s=s.slice(1,-1).replace(/\\"/g,
32
  '"').replace(/\\\\/g,"\\");try{s=decodeURIComponent(s.replace(pluses," "));return config.json?JSON.parse(s):s}catch(e){}}function read(s,converter){var value=config.raw?s:parseCookieValue(s);return $.isFunction(converter)?converter(value):value}var config=$.cookie=function(key,value,options){if(value!==undefined&&!$.isFunction(value)){options=$.extend({},config.defaults,options);if(typeof options.expires==="number"){var days=options.expires,t=options.expires=new Date;t.setTime(+t+days*864E5)}return document.cookie=
33
  [encode(key),"=",stringifyCookieValue(value),options.expires?"; expires="+options.expires.toUTCString():"",options.path?"; path="+options.path:"",options.domain?"; domain="+options.domain:"",options.secure?"; secure":""].join("")}var result=key?undefined:{};var cookies=document.cookie?document.cookie.split("; "):[];for(var i=0,l=cookies.length;i<l;i++){var parts=cookies[i].split("=");var name=decode(parts.shift());var cookie=parts.join("=");if(key&&key===name){result=read(cookie,value);break}if(!key&&
14
  $(this).parent();if(ai_adb_debugging)console.log("AI AD BLOCKING REPLACE, parent",ai_adb_parent.prop("tagName"),'id="'+ai_adb_parent.attr("id")+'"','class="'+ai_adb_parent.attr("class")+'"');var ai_adb_text=$(this).data("text");if(typeof ai_adb_text=="undefined")ai_adb_text="";var ai_adb_css=$(this).data("css");if(typeof ai_adb_css=="undefined")ai_adb_css="";var ai_adb_selectors=$(this).data("selectors");if(typeof ai_adb_selectors=="undefined"||ai_adb_selectors=="")ai_adb_selectors="p";if(ai_adb_debugging)console.log("AI AD BLOCKING REPLACE, text='"+
15
  ai_adb_text+"'","css='"+ai_adb_css+"'","selectors='"+ai_adb_selectors+"'");var ai_adb_action=false;$(ai_adb_parent).find(".AI_ADB_CONTENT_REPLACE_BEGIN_CLASS, "+ai_adb_selectors).each(function(){if($(this).hasClass("AI_ADB_CONTENT_REPLACE_BEGIN_CLASS")){$(this).remove();ai_adb_action=true}else if($(this).hasClass("AI_ADB_CONTENT_REPLACE_END_CLASS")){$(this).remove();ai_adb_action=false}else if(ai_adb_action){if(ai_adb_text.length!=0){var n=Math.round($(this).text().length/(ai_adb_text.length+1));
16
  $(this).text(Array(n+1).join(ai_adb_text+" "))}else $(this).text("");var ai_adb_style=$(this).attr("style");if(typeof ai_adb_style=="undefined")ai_adb_style="";$(this).attr("style",ai_adb_style+";"+ai_adb_css)}})})})(jQuery)}
17
+ ai_adb_detection_type=function(n){switch(n){case 0:return"0 debugging";break;case 1:return"1 ads create element";break;case 2:return"2 sponsors window var";break;case 3:return"3 banner element";break;case 4:return"4 custom selectors";break;case 5:return"5 ga";break;case 6:return"6 media.net";break;case 7:return"7 adsense";break;case 8:return"8 chitika";break;case 9:return"9 fun adblock 3";break;case 10:return"10 fun adblock 4";break;default:return n;break}};
18
+ var ai_adb_detected=function(n){if(ai_adb_debugging&&n==0)console.log("");if(ai_adb_debugging)console.log("AI AD BLOCKING DETECTED",ai_adb_detection_type(n));if(!ai_adb_active){ai_adb_active=true;(function($){$(window).ready(function(){if(ai_adb_debugging)console.log("AI AD BLOCKING block actions");$(".ai-adb-hide").each(function(){$(this).css({"display":"none","visibility":"hidden"});var wrapping_div=$(this).closest("div[data-ai]");if(typeof wrapping_div.data("ai")!="undefined"){var data=JSON.parse(b64d(wrapping_div.data("ai")));
19
  if(typeof data!=="undefined"&&data.constructor===Array){data[1]="";wrapping_div.data("ai",b64e(JSON.stringify(data)))}}if(ai_adb_debugging){var debug_info=$(this).data("ai-debug");console.log("AI AD BLOCKING HIDE",typeof debug_info!="undefined"?debug_info:"")}});$(".ai-adb-show").each(function(){$(this).css({"display":"block","visibility":"visible"});var tracking_data=$(this).data("ai-tracking");if(typeof tracking_data!="undefined"){var wrapping_div=$(this).closest("div[data-ai]");if(typeof wrapping_div.data("ai")!=
20
  "undefined"){if($(this).hasClass("ai-no-tracking")){var data=JSON.parse(b64d(wrapping_div.data("ai")));if(typeof data!=="undefined"&&data.constructor===Array){data[1]="";tracking_data=b64e(JSON.stringify(data))}}wrapping_div.data("ai",tracking_data)}}if(ai_adb_debugging){var debug_info=$(this).data("ai-debug");console.log("AI AD BLOCKING SHOW",typeof debug_info!="undefined"?debug_info:"")}});setTimeout(ai_adb_process_content,10)});if(ai_adb_debugging)console.log("AI AD BLOCKING action check");if(ai_adb_page_views!=
21
  0){var ai_adb_page_view_counter=1;var cookie=$.cookie(ai_adb_pgv_cookie_name);if(typeof cookie!="undefined")ai_adb_page_view_counter=parseInt(cookie)+1;if(ai_adb_debugging)console.log("AI AD BLOCKING page views cookie:",cookie,"- page view:",ai_adb_page_view_counter);if(ai_adb_page_view_counter<ai_adb_page_views){if(ai_adb_debugging)console.log("AI AD BLOCKING",ai_adb_page_views,"page views not reached, no action");var d1=ai_adb_page_view_counter;var AI_ADB_STATUS_MESSAGE=1;$.cookie(ai_adb_pgv_cookie_name,
22
  ai_adb_page_view_counter,{expires:365,path:"/"});return}}if(ai_adb_message_cookie_lifetime!=0&&(ai_adb_action!=1||!ai_adb_message_undismissible)){var cookie=$.cookie(ai_adb_act_cookie_name);if(ai_adb_debugging)console.log("AI AD BLOCKING cookie:",cookie);if(typeof cookie!="undefined"&&cookie=="AI_CONST_AI_ADB_COOKIE_VALUE"){if(ai_adb_debugging)console.log("AI AD BLOCKING valid cookie detected, no action");var AI_ADB_STATUS_MESSAGE=2;return}else if(ai_adb_debugging)console.log("AI AD BLOCKING invalid cookie");
23
+ $.cookie(ai_adb_act_cookie_name,"AI_CONST_AI_ADB_COOKIE_VALUE",{expires:ai_adb_message_cookie_lifetime,path:"/"})}else $.removeCookie(ai_adb_act_cookie_name,{path:"/"});if(ai_adb_debugging)console.log("AI AD BLOCKING action",ai_adb_action);if(ai_adb_action==0){var AI_ADB_STATUS_MESSAGE=6;var ai_dummy=0}else{var AI_ADB_STATUS_MESSAGE=3;var ai_dummy=0}switch(ai_adb_action){case 1:if(!ai_adb_message_undismissible){ai_adb_overlay.click(function(){$(this).remove();ai_adb_message_window.remove()}).css("cursor",
24
+ "pointer");ai_adb_message_window.click(function(){$(this).remove();ai_adb_overlay.remove()}).css("cursor","pointer");window.onkeydown=function(event){if(event.keyCode===27){ai_adb_overlay.click();ai_adb_message_window.click()}};if(ai_adb_debugging)console.log("AI AD BLOCKING MESSAGE click detection installed")}else;if(ai_adb_debugging)console.log("AI AD BLOCKING MESSAGE");$("body").prepend(ai_adb_overlay).prepend(ai_adb_message_window);break;case 2:if(ai_adb_redirection_url!=""){if(ai_adb_debugging)console.log("AI AD BLOCKING REDIRECTION to",
25
+ ai_adb_redirection_url);var redirect=true;if(ai_adb_redirection_url.toLowerCase().substring(0,4)=="http"){if(window.location.href==ai_adb_redirection_url)var redirect=false}else if(window.location.pathname==ai_adb_redirection_url)var redirect=false;if(redirect){var cookie=$.cookie(ai_adb_page_redirection_cookie_name);if(typeof cookie=="undefined"){var date=new Date;date.setTime(date.getTime()+10*1E3);$.cookie(ai_adb_page_redirection_cookie_name,window.location.href,{expires:date,path:"/"});window.location.replace(ai_adb_redirection_url)}else if(ai_adb_debugging)console.log("AI AD BLOCKING no redirection, cookie:",
26
  cookie)}else{if(ai_adb_debugging)console.log("AI AD BLOCKING already on page",window.location.href);jQuery.removeCookie(ai_adb_page_redirection_cookie_name,{path:"/"})}}break}})(jQuery);ai_adb=true}};
27
+ var ai_adb_undetected=function(n){ai_adb_counter++;if(ai_adb_debugging&&n==1)console.log("");if(ai_adb_debugging)console.log("AI AD BLOCKING not detected:","("+ai_adb_counter+")",ai_adb_detection_type(n));if(!ai_adb_active&&ai_adb_counter==4){if(ai_adb_debugging)console.log("AI AD BLOCKING NOT DETECTED");var AI_ADB_STATUS_MESSAGE=4;var ai_dummy=0}};if(AI_DBG_AI_DEBUG_AD_BLOCKING)jQuery(document).ready(function(){ai_adb_detected(0)});
28
  if(!document.getElementById("AI_CONST_AI_ADB_1_NAME"))jQuery(document).ready(function(){if(!ai_adb_active||ai_adb_debugging)ai_adb_detected(1)});else jQuery(document).ready(function(){ai_adb_undetected(1)});if(typeof window.AI_CONST_AI_ADB_2_NAME=="undefined")jQuery(document).ready(function(){if(!ai_adb_active||ai_adb_debugging)ai_adb_detected(2)});else jQuery(document).ready(function(){ai_adb_undetected(2)});
29
+ jQuery(document).ready(function($){$(window).ready(function(){$("#ai-adb-bar").click(function(){$.removeCookie(ai_adb_act_cookie_name,{path:"/"});$.removeCookie(ai_adb_pgv_cookie_name,{path:"/"});var AI_ADB_STATUS_MESSAGE=5;var ai_dummy=0});if($("#banner-advert-container img").length>0){if($("#banner-advert-container img").outerHeight()===0)$(document).ready(function(){if(!ai_adb_active||ai_adb_debugging)ai_adb_detected(3)});else $(document).ready(function(){ai_adb_undetected(3)});$("#banner-advert-container img").remove()}if((!ai_adb_active||
30
+ ai_adb_debugging)&&ai_adb_selectors!=""){var ai_adb_el_counter=0;var ai_adb_el_zero=0;var ai_adb_selector=ai_adb_selectors.split(",");$.each(ai_adb_selector,function(i){ai_adb_selector[i]=ai_adb_selector[i].trim();if(ai_adb_debugging)console.log("AI AD BLOCKING selector",ai_adb_selector[i]);if($(ai_adb_selector[i]).length!=0)$(ai_adb_selector[i]).each(function(n){var outer_height=$(this).outerHeight();if(ai_adb_debugging)console.log('AI AD BLOCKING element id="'+$(this).attr("id")+'" class="'+$(this).attr("class")+
31
+ '" heights:',$(this).outerHeight(),$(this).innerHeight(),$(this).height());var ai_attributes=$(this).find(".ai-attributes");if(ai_attributes.length)ai_attributes.each(function(){if(ai_adb_debugging)console.log("AI AD BLOCKING attributes height:",$(this).outerHeight());if(outer_height>=$(this).outerHeight())outer_height-=$(this).outerHeight()});if(ai_adb_debugging)console.log("AI AD BLOCKING effective height:",outer_height);ai_adb_el_counter++;if(outer_height===0){$(document).ready(function(){if(!ai_adb_active||
32
+ ai_adb_debugging)ai_adb_detected(4)});ai_adb_el_zero++;if(!ai_adb_debugging)return false}})});if(ai_adb_el_counter!=0&&ai_adb_el_zero==0)$(document).ready(function(){ai_adb_undetected(4)})}})});
33
+ jQuery(window).on("load",function(){if(ai_adb_debugging)console.log("AI AD BLOCKING window load");if(!(typeof ga=="function"&&ga.toString().length>30))jQuery(document).ready(function(){if(!ai_adb_active||ai_adb_debugging)ai_adb_detected(5)});else jQuery(document).ready(function(){ai_adb_undetected(5)});if(!(typeof _mNDetails=="object"&&JSON.stringify(_mNDetails).length>400))jQuery(document).ready(function(){if(!ai_adb_active||ai_adb_debugging)ai_adb_detected(6)});else jQuery(document).ready(function(){ai_adb_undetected(6)})});
34
  (function(factory){if(typeof define==="function"&&define.amd)define(["jquery"],factory);else if(typeof exports==="object")factory(require("jquery"));else factory(jQuery)})(function($){var pluses=/\+/g;function encode(s){return config.raw?s:encodeURIComponent(s)}function decode(s){return config.raw?s:decodeURIComponent(s)}function stringifyCookieValue(value){return encode(config.json?JSON.stringify(value):String(value))}function parseCookieValue(s){if(s.indexOf('"')===0)s=s.slice(1,-1).replace(/\\"/g,
35
  '"').replace(/\\\\/g,"\\");try{s=decodeURIComponent(s.replace(pluses," "));return config.json?JSON.parse(s):s}catch(e){}}function read(s,converter){var value=config.raw?s:parseCookieValue(s);return $.isFunction(converter)?converter(value):value}var config=$.cookie=function(key,value,options){if(value!==undefined&&!$.isFunction(value)){options=$.extend({},config.defaults,options);if(typeof options.expires==="number"){var days=options.expires,t=options.expires=new Date;t.setTime(+t+days*864E5)}return document.cookie=
36
  [encode(key),"=",stringifyCookieValue(value),options.expires?"; expires="+options.expires.toUTCString():"",options.path?"; path="+options.path:"",options.domain?"; domain="+options.domain:"",options.secure?"; secure":""].join("")}var result=key?undefined:{};var cookies=document.cookie?document.cookie.split("; "):[];for(var i=0,l=cookies.length;i<l;i++){var parts=cookies[i].split("=");var name=decode(parts.shift());var cookie=parts.join("=");if(key&&key===name){result=read(cookie,value);break}if(!key&&
includes/js/ai-ads.js CHANGED
@@ -48,7 +48,8 @@ function ai_process_adsense_ad (element) {
48
 
49
  function ai_process_adsense_ads () {
50
  jQuery('ins ins iframe').each (function () {
51
- ai_process_adsense_ad (this);
 
52
  });
53
  }
54
 
@@ -77,7 +78,10 @@ jQuery(document).ready(function($) {
77
  if (ai_debug) console.log ('AI ADSENSE DATA', 'END');
78
  });
79
 
80
- if (!ai_preview_window) setTimeout (function() {ai_process_adsense_ads (jQuery);}, 2000);
 
 
 
81
  });
82
 
83
  function getAllUrlParams (url) {
@@ -109,7 +113,8 @@ function getAllUrlParams (url) {
109
  });
110
 
111
  // set parameter value (use 'true' if empty)
112
- var paramValue = typeof(a[1])==='undefined' ? true : a[1];
 
113
 
114
  // (optional) keep case consistent
115
  paramName = paramName.toLowerCase();
48
 
49
  function ai_process_adsense_ads () {
50
  jQuery('ins ins iframe').each (function () {
51
+ var dummy_container = jQuery (this).closest ('.ai-dummy-ad');
52
+ if (!dummy_container.length) ai_process_adsense_ad (this);
53
  });
54
  }
55
 
78
  if (ai_debug) console.log ('AI ADSENSE DATA', 'END');
79
  });
80
 
81
+ $(window).on ('load', function () {
82
+ if (!ai_preview_window) setTimeout (function() {ai_process_adsense_ads (jQuery);}, 50);
83
+ });
84
+
85
  });
86
 
87
  function getAllUrlParams (url) {
113
  });
114
 
115
  // set parameter value (use 'true' if empty)
116
+ // var paramValue = typeof(a[1])==='undefined' ? true : a[1];
117
+ var paramValue = typeof(a[1])==='undefined' ? '' : a[1];
118
 
119
  // (optional) keep case consistent
120
  paramName = paramName.toLowerCase();
includes/js/ai-ads.min.js CHANGED
@@ -1,9 +1,9 @@
1
- var adsense_ad_names=[];var ai_preview_window=typeof ai_preview!=="undefined";
2
- function ai_process_adsense_ad(element){var ai_debug=typeof ai_debugging!=="undefined";var adsense_iframe=jQuery(element);var adsense_width=adsense_iframe.attr("width");var adsense_height=adsense_iframe.attr("height");var adsense_iframe2=adsense_iframe.contents().find("iframe[allowtransparency]");var url_parameters=getAllUrlParams(adsense_iframe2.attr("src"));if(typeof url_parameters["client"]!=="undefined"){var adsense_ad_client=url_parameters["client"];var adsense_publisher_id=adsense_ad_client.replace("ca-",
3
- "");var adsense_ad_slot=url_parameters["slotname"];var adsense_index=url_parameters["ifi"];if(ai_debug)console.log("AI ADSENSE",adsense_index,adsense_ad_client,adsense_ad_slot,url_parameters["format"],url_parameters["w"],url_parameters["h"]);var adsense_overlay=jQuery('<div class="ai-debug-ad-overlay"></div>');var adsense_ad_info="";if(typeof adsense_ad_slot!=="undefined"){var adsense_ad_name="";if(typeof adsense_ad_names["publisher_id"]!=="undefined"&&adsense_ad_names["publisher_id"]==adsense_publisher_id&&
4
- typeof adsense_ad_names[adsense_ad_slot]!=="undefined")adsense_ad_name='<div class="ai-info ai-info-2">'+adsense_ad_names[adsense_ad_slot]+"</div>";adsense_ad_info='<div class="ai-info ai-info-1">'+adsense_ad_slot+"</div>"+adsense_ad_name}else{var adsense_auto_ads=adsense_iframe.closest("div.google-auto-placed").length!=0;if(adsense_auto_ads){adsense_overlay.addClass("ai-auto-ads");adsense_ad_info='<div class="ai-info ai-info-1">Auto ads</div>'}else adsense_overlay.addClass("ai-no-slot")}var adsense_info=
5
- jQuery('<div class="ai-debug-ad-info"><div class="ai-info ai-info-1">AdSense #'+adsense_index+'</div><div class="ai-info ai-info-2">'+adsense_width+"x"+adsense_height+"</div>"+adsense_ad_info+"</div>");adsense_iframe.after(adsense_info);if(!ai_preview_window)adsense_iframe.after(adsense_overlay)}}function ai_process_adsense_ads(){jQuery("ins ins iframe").each(function(){ai_process_adsense_ad(this)})}
6
- jQuery(document).ready(function($){var ai_debug=typeof ai_debugging!=="undefined";var ajaxurl="AI_AJAXURL";var nonce="AI_NONCE";var adsense_data={"ai":1};$.post(ajaxurl,{"action":"ai_ajax","ai_check":nonce,"adsense-ad-units":adsense_data}).done(function(data){if(data!="")try{adsense_ad_names=JSON.parse(data);if(ai_debug)console.log("");if(ai_debug)console.log("AI ADSENSE DATA:",Object.keys(adsense_ad_names).length-1,"ad units")}catch(error){if(ai_debug)console.log("AI ADSENSE DATA ERROR:",data)}}).fail(function(xhr,
7
- status,error){if(ai_debug)console.log("AI ADSENSE DATA ERROR:",xhr.status,xhr.statusText)}).always(function(data){if(ai_debug)console.log("AI ADSENSE DATA","END")});if(!ai_preview_window)setTimeout(function(){ai_process_adsense_ads(jQuery)},2E3)});
8
- function getAllUrlParams(url){var queryString=url?url.split("?")[1]:window.location.search.slice(1);var obj={};if(queryString){queryString=queryString.split("#")[0];var arr=queryString.split("&");for(var i=0;i<arr.length;i++){var a=arr[i].split("=");var paramNum=undefined;var paramName=a[0].replace(/\[\d*\]/,function(v){paramNum=v.slice(1,-1);return""});var paramValue=typeof a[1]==="undefined"?true:a[1];paramName=paramName.toLowerCase();paramValue=paramValue.toLowerCase();if(obj[paramName]){if(typeof obj[paramName]===
9
- "string")obj[paramName]=[obj[paramName]];if(typeof paramNum==="undefined")obj[paramName].push(paramValue);else obj[paramName][paramNum]=paramValue}else obj[paramName]=paramValue}}return obj};
1
+ var adsense_ad_names=[];var ai_preview_window=typeof ai_preview!=="undefined";
2
+ function ai_process_adsense_ad(element){var ai_debug=typeof ai_debugging!=="undefined";var adsense_iframe=jQuery(element);var adsense_width=adsense_iframe.attr("width");var adsense_height=adsense_iframe.attr("height");var adsense_iframe2=adsense_iframe.contents().find("iframe[allowtransparency]");var url_parameters=getAllUrlParams(adsense_iframe2.attr("src"));if(typeof url_parameters["client"]!=="undefined"){var adsense_ad_client=url_parameters["client"];var adsense_publisher_id=adsense_ad_client.replace("ca-",
3
+ "");var adsense_ad_slot=url_parameters["slotname"];var adsense_index=url_parameters["ifi"];if(ai_debug)console.log("AI ADSENSE",adsense_index,adsense_ad_client,adsense_ad_slot,url_parameters["format"],url_parameters["w"],url_parameters["h"]);var adsense_overlay=jQuery('<div class="ai-debug-ad-overlay"></div>');var adsense_ad_info="";if(typeof adsense_ad_slot!=="undefined"){var adsense_ad_name="";if(typeof adsense_ad_names["publisher_id"]!=="undefined"&&adsense_ad_names["publisher_id"]==adsense_publisher_id&&
4
+ typeof adsense_ad_names[adsense_ad_slot]!=="undefined")adsense_ad_name='<div class="ai-info ai-info-2">'+adsense_ad_names[adsense_ad_slot]+"</div>";adsense_ad_info='<div class="ai-info ai-info-1">'+adsense_ad_slot+"</div>"+adsense_ad_name}else{var adsense_auto_ads=adsense_iframe.closest("div.google-auto-placed").length!=0;if(adsense_auto_ads){adsense_overlay.addClass("ai-auto-ads");adsense_ad_info='<div class="ai-info ai-info-1">Auto ads</div>'}else adsense_overlay.addClass("ai-no-slot")}var adsense_info=
5
+ jQuery('<div class="ai-debug-ad-info"><div class="ai-info ai-info-1">AdSense #'+adsense_index+'</div><div class="ai-info ai-info-2">'+adsense_width+"x"+adsense_height+"</div>"+adsense_ad_info+"</div>");adsense_iframe.after(adsense_info);if(!ai_preview_window)adsense_iframe.after(adsense_overlay)}}function ai_process_adsense_ads(){jQuery("ins ins iframe").each(function(){var dummy_container=jQuery(this).closest(".ai-dummy-ad");if(!dummy_container.length)ai_process_adsense_ad(this)})}
6
+ jQuery(document).ready(function($){var ai_debug=typeof ai_debugging!=="undefined";var ajaxurl="AI_AJAXURL";var nonce="AI_NONCE";var adsense_data={"ai":1};$.post(ajaxurl,{"action":"ai_ajax","ai_check":nonce,"adsense-ad-units":adsense_data}).done(function(data){if(data!="")try{adsense_ad_names=JSON.parse(data);if(ai_debug)console.log("");if(ai_debug)console.log("AI ADSENSE DATA:",Object.keys(adsense_ad_names).length-1,"ad units")}catch(error){if(ai_debug)console.log("AI ADSENSE DATA ERROR:",data)}}).fail(function(xhr,
7
+ status,error){if(ai_debug)console.log("AI ADSENSE DATA ERROR:",xhr.status,xhr.statusText)}).always(function(data){if(ai_debug)console.log("AI ADSENSE DATA","END")});$(window).on("load",function(){if(!ai_preview_window)setTimeout(function(){ai_process_adsense_ads(jQuery)},50)})});
8
+ function getAllUrlParams(url){var queryString=url?url.split("?")[1]:window.location.search.slice(1);var obj={};if(queryString){queryString=queryString.split("#")[0];var arr=queryString.split("&");for(var i=0;i<arr.length;i++){var a=arr[i].split("=");var paramNum=undefined;var paramName=a[0].replace(/\[\d*\]/,function(v){paramNum=v.slice(1,-1);return""});var paramValue=typeof a[1]==="undefined"?"":a[1];paramName=paramName.toLowerCase();paramValue=paramValue.toLowerCase();if(obj[paramName]){if(typeof obj[paramName]===
9
+ "string")obj[paramName]=[obj[paramName]];if(typeof paramNum==="undefined")obj[paramName].push(paramValue);else obj[paramName][paramNum]=paramValue}else obj[paramName]=paramValue}}return obj};
includes/js/ai-lists.js CHANGED
@@ -27,18 +27,43 @@ jQuery (function ($) {
27
  }
28
 
29
  ai_process_lists = function () {
30
- var ai_debug = typeof ai_debugging !== 'undefined';
31
- var cookies = document.cookie.split (";");
32
- var referrer = document.referrer;
33
 
34
- cookies.forEach (function (cookie, index) {
35
- cookies [index] = cookie.trim();
36
- });
37
 
38
- if (referrer != '') referrer = getHostName (referrer);
 
 
 
 
 
 
 
 
39
 
40
  var ai_list_blocks = $("div.ai-list-data");
41
  if (ai_list_blocks.length) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  ai_list_blocks.each (function () {
43
 
44
  var enable_block = true;
@@ -57,15 +82,38 @@ jQuery (function ($) {
57
  $.each (referer_list_array, function (index, list_referer) {
58
  if (list_referer == '') return true;
59
 
60
- if (list_referer == '#') {
61
- if (referrer == "") {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  found = true;
63
  return false;
64
  }
65
- } else if (list_referer == referrer) {
 
 
66
  found = true;
67
  return false;
68
  }
 
 
 
 
 
69
  });
70
 
71
  switch (referers_list_type) {
@@ -172,3 +220,67 @@ jQuery (function ($) {
172
  setTimeout (function() {ai_process_lists ();}, 5);
173
  });
174
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
28
 
29
  ai_process_lists = function () {
30
+ // var ai_debug = typeof ai_debugging !== 'undefined';
31
+ // var cookies = document.cookie.split (";");
 
32
 
33
+ // cookies.forEach (function (cookie, index) {
34
+ // cookies [index] = cookie.trim();
35
+ // });
36
 
37
+ // console.log ('window.location.search', window.location.search);
38
+
39
+ // var url_parameters = getAllUrlParams (window.location.search);
40
+ // if (url_parameters ['referrer'] != null) {
41
+ // var referrer = url_parameters ['referrer'];
42
+ // } else {
43
+ // var referrer = document.referrer;
44
+ // if (referrer != '') referrer = getHostName (referrer);
45
+ // }
46
 
47
  var ai_list_blocks = $("div.ai-list-data");
48
  if (ai_list_blocks.length) {
49
+
50
+ var ai_debug = typeof ai_debugging !== 'undefined';
51
+ var cookies = document.cookie.split (";");
52
+
53
+ cookies.forEach (function (cookie, index) {
54
+ cookies [index] = cookie.trim();
55
+ });
56
+
57
+ console.log ('window.location.search', window.location.search);
58
+
59
+ var url_parameters = getAllUrlParams (window.location.search);
60
+ if (url_parameters ['referrer'] != null) {
61
+ var referrer = url_parameters ['referrer'];
62
+ } else {
63
+ var referrer = document.referrer;
64
+ if (referrer != '') referrer = getHostName (referrer);
65
+ }
66
+
67
  ai_list_blocks.each (function () {
68
 
69
  var enable_block = true;
82
  $.each (referer_list_array, function (index, list_referer) {
83
  if (list_referer == '') return true;
84
 
85
+ if (list_referer.charAt (0) == "*") {
86
+ if (list_referer.charAt (list_referer.length - 1) == "*") {
87
+ list_referer = list_referer.substr (1, list_referer.length - 2);
88
+ if (referrer.indexOf (list_referer) != - 1) {
89
+ found = true;
90
+ return false;
91
+ }
92
+ } else {
93
+ list_referer = list_referer.substr (1);
94
+ if (referrer.substr (- list_referer.length) == list_referer) {
95
+ found = true;
96
+ return false;
97
+ }
98
+ }
99
+ }
100
+ else if (list_referer.charAt (list_referer.length - 1) == "*") {
101
+ list_referer = list_referer.substr (0, list_referer.length - 1);
102
+ if (referrer.indexOf (list_referer) == 0) {
103
  found = true;
104
  return false;
105
  }
106
+ }
107
+ else if (list_referer == '#') {
108
+ if (referrer == "") {
109
  found = true;
110
  return false;
111
  }
112
+ }
113
+ else if (list_referer == referrer) {
114
+ found = true;
115
+ return false;
116
+ }
117
  });
118
 
119
  switch (referers_list_type) {
220
  setTimeout (function() {ai_process_lists ();}, 5);
221
  });
222
  });
223
+
224
+ function getAllUrlParams (url) {
225
+
226
+ // get query string from url (optional) or window
227
+ var queryString = url ? url.split('?')[1] : window.location.search.slice(1);
228
+
229
+ // we'll store the parameters here
230
+ var obj = {};
231
+
232
+ // if query string exists
233
+ if (queryString) {
234
+
235
+ // stuff after # is not part of query string, so get rid of it
236
+ queryString = queryString.split('#')[0];
237
+
238
+ // split our query string into its component parts
239
+ var arr = queryString.split('&');
240
+
241
+ for (var i=0; i<arr.length; i++) {
242
+ // separate the keys and the values
243
+ var a = arr[i].split('=');
244
+
245
+ // in case params look like: list[]=thing1&list[]=thing2
246
+ var paramNum = undefined;
247
+ var paramName = a[0].replace(/\[\d*\]/, function(v) {
248
+ paramNum = v.slice(1,-1);
249
+ return '';
250
+ });
251
+
252
+ // set parameter value (use 'true' if empty)
253
+ // var paramValue = typeof(a[1])==='undefined' ? true : a[1];
254
+ var paramValue = typeof(a[1])==='undefined' ? '' : a[1];
255
+
256
+ // (optional) keep case consistent
257
+ paramName = paramName.toLowerCase();
258
+ paramValue = paramValue.toLowerCase();
259
+
260
+ // if parameter name already exists
261
+ if (obj[paramName]) {
262
+ // convert value to array (if still string)
263
+ if (typeof obj[paramName] === 'string') {
264
+ obj[paramName] = [obj[paramName]];
265
+ }
266
+ // if no array index number specified...
267
+ if (typeof paramNum === 'undefined') {
268
+ // put the value on the end of the array
269
+ obj[paramName].push(paramValue);
270
+ }
271
+ // if array index number specified...
272
+ else {
273
+ // put the value at that index number
274
+ obj[paramName][paramNum] = paramValue;
275
+ }
276
+ }
277
+ // if param name doesn't exist yet, set it
278
+ else {
279
+ obj[paramName] = paramValue;
280
+ }
281
+ }
282
+ }
283
+
284
+ return obj;
285
+ }
286
+
includes/js/ai-lists.min.js CHANGED
@@ -1,8 +1,11 @@
1
  jQuery(function($){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(""))}function getHostName(url){var match=url.match(/:\/\/(.[^/:]+)/i);if(match!=null&&match.length>1&&typeof match[1]==="string"&&match[1].length>0)return match[1];else return null}ai_process_lists=
2
- function(){var ai_debug=typeof ai_debugging!=="undefined";var cookies=document.cookie.split(";");var referrer=document.referrer;cookies.forEach(function(cookie,index){cookies[index]=cookie.trim()});if(referrer!="")referrer=getHostName(referrer);var ai_list_blocks=$("div.ai-list-data");if(ai_list_blocks.length)ai_list_blocks.each(function(){var enable_block=true;var found=false;var referer_list=$(this).attr("referer-list");if(typeof referer_list!="undefined"){var referer_list_array=b64d(referer_list).split(",");
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)})});
 
 
 
1
  jQuery(function($){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(""))}function getHostName(url){var match=url.match(/:\/\/(.[^/:]+)/i);if(match!=null&&match.length>1&&typeof match[1]==="string"&&match[1].length>0)return match[1];else return null}ai_process_lists=
2
+ function(){var ai_list_blocks=$("div.ai-list-data");if(ai_list_blocks.length){var ai_debug=typeof ai_debugging!=="undefined";var cookies=document.cookie.split(";");cookies.forEach(function(cookie,index){cookies[index]=cookie.trim()});console.log("window.location.search",window.location.search);var url_parameters=getAllUrlParams(window.location.search);if(url_parameters["referrer"]!=null)var referrer=url_parameters["referrer"];else{var referrer=document.referrer;if(referrer!="")referrer=getHostName(referrer)}ai_list_blocks.each(function(){var enable_block=
3
+ true;var found=false;var referer_list=$(this).attr("referer-list");if(typeof referer_list!="undefined"){var referer_list_array=b64d(referer_list).split(",");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.charAt(0)==
4
+ "*")if(list_referer.charAt(list_referer.length-1)=="*"){list_referer=list_referer.substr(1,list_referer.length-2);if(referrer.indexOf(list_referer)!=-1){found=true;return false}}else{list_referer=list_referer.substr(1);if(referrer.substr(-list_referer.length)==list_referer){found=true;return false}}else if(list_referer.charAt(list_referer.length-1)=="*"){list_referer=list_referer.substr(0,list_referer.length-1);if(referrer.indexOf(list_referer)==0){found=true;return false}}else if(list_referer=="#"){if(referrer==
5
+ ""){found=true;return false}}else if(list_referer==referrer){found=true;return false}});switch(referers_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",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=
6
+ $(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:",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=
7
+ 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",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);
8
+ 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");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":""});
9
+ if(typeof $(this).data("code")!="undefined"){var block_code=b64d($(this).data("code"));$(this).append(block_code);if(!ai_debug)$(this).attr("data-code","");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)})});
10
+ function getAllUrlParams(url){var queryString=url?url.split("?")[1]:window.location.search.slice(1);var obj={};if(queryString){queryString=queryString.split("#")[0];var arr=queryString.split("&");for(var i=0;i<arr.length;i++){var a=arr[i].split("=");var paramNum=undefined;var paramName=a[0].replace(/\[\d*\]/,function(v){paramNum=v.slice(1,-1);return""});var paramValue=typeof a[1]==="undefined"?"":a[1];paramName=paramName.toLowerCase();paramValue=paramValue.toLowerCase();if(obj[paramName]){if(typeof obj[paramName]===
11
+ "string")obj[paramName]=[obj[paramName]];if(typeof paramNum==="undefined")obj[paramName].push(paramValue);else obj[paramName][paramNum]=paramValue}else obj[paramName]=paramValue}}return obj};
includes/preview-adb.php CHANGED
@@ -30,7 +30,7 @@ function generate_code_preview_adb ($client_code, $process_php) {
30
 
31
  $ai_wp_data [AI_WP_DEBUGGING] = 0;
32
 
33
- $obj = new ai_Block ($block);
34
  $obj->wp_options = $block_object [AI_ADB_MESSAGE_OPTION_NAME]->wp_options;
35
 
36
  $obj->wp_options [AI_OPTION_CODE] = $client_code;
@@ -47,7 +47,7 @@ function generate_code_preview_adb ($client_code, $process_php) {
47
  'jquery-ui-dialog',
48
  ), AD_INSERTER_VERSION);
49
 
50
- wp_enqueue_style ('ai-adb-css', plugins_url ('css/ad-inserter.css', AD_INSERTER_FILE), array (), AD_INSERTER_VERSION);
51
 
52
  add_action ('media_buttons', 'ai_media_buttons');
53
 
30
 
31
  $ai_wp_data [AI_WP_DEBUGGING] = 0;
32
 
33
+ $obj = new ai_AdA ();
34
  $obj->wp_options = $block_object [AI_ADB_MESSAGE_OPTION_NAME]->wp_options;
35
 
36
  $obj->wp_options [AI_OPTION_CODE] = $client_code;
47
  'jquery-ui-dialog',
48
  ), AD_INSERTER_VERSION);
49
 
50
+ wp_enqueue_style ('ai-adb-css', plugins_url ('css/ai-settings.css', AD_INSERTER_FILE), array (), AD_INSERTER_VERSION);
51
 
52
  add_action ('media_buttons', 'ai_media_buttons');
53
 
includes/preview.php CHANGED
@@ -56,6 +56,7 @@ function generate_code_preview (
56
  $process_php = isset ($preview_parameters ['php']) ? $preview_parameters ['php'] : $obj->get_process_php ();
57
  $show_label = isset ($preview_parameters ['label']) ? $preview_parameters ['label'] : $obj->get_show_label ();
58
  $read_only = isset ($preview_parameters ['read_only']) ? $preview_parameters ['read_only'] : false;
 
59
 
60
  $obj->wp_options [AI_OPTION_BLOCK_NAME] = $block_name;
61
  $obj->wp_options [AI_OPTION_CODE] = $code;
@@ -69,11 +70,15 @@ function generate_code_preview (
69
  $obj->wp_options [AI_OPTION_PROCESS_PHP] = $process_php;
70
  $obj->wp_options [AI_OPTION_SHOW_LABEL] = $show_label;
71
 
 
 
 
72
  $adsense = $block == 0;
73
  $sticky = false;
74
  $class = '';
75
  $sticky_parameters = '';
76
  $functions = function_exists ('ai_extract_features_2');
 
77
 
78
  if (!$adsense) {
79
  switch ($alignment_type) {
@@ -123,7 +128,9 @@ function generate_code_preview (
123
  $head_code = str_replace ('enable_page_level_ads', 'disabled_page_level_ads', $head_code);
124
 
125
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = true;
126
- $block_code = $obj->ai_getProcessedCode (true, true);
 
 
127
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = false;
128
 
129
  // Fix for relative urls
@@ -149,7 +156,7 @@ function generate_code_preview (
149
  <script src='<?php echo plugins_url ('includes/aos/aos.js', AD_INSERTER_FILE); ?>?ver=<?php echo AD_INSERTER_VERSION; ?>'></script>
150
  <?php endif; ?>
151
  <script src='<?php echo plugins_url ('includes/js/ad-inserter-check.js', AD_INSERTER_FILE); ?>?ver=<?php echo AD_INSERTER_VERSION; ?>'></script>
152
- <link rel='stylesheet' href='<?php echo plugins_url ('css/ad-inserter.css', AD_INSERTER_FILE); ?>?ver=<?php echo AD_INSERTER_VERSION; ?>'>
153
  <script>
154
 
155
  ajaxurl = "<?php echo admin_url ('admin-ajax.php'); ?>";
@@ -170,6 +177,16 @@ function generate_code_preview (
170
  }
171
  }
172
 
 
 
 
 
 
 
 
 
 
 
173
  function initialize_preview () {
174
 
175
  var debug = typeof ai_debugging !== 'undefined';
@@ -269,14 +286,14 @@ function generate_code_preview (
269
  if (window.innerWidth != $(window).width()) $("#right-arrow").hide (); else $("#right-arrow").show ();
270
  }
271
 
272
- function update_wrapper_size () {
273
- if (typeof wrapper.width () != 'undefined' && typeof wrapper.height () != 'undefined') {
274
- var width = parseInt (wrapper.width ());
275
- var height = parseInt (wrapper.height ());
276
- $(".wrapper-size").html (width + "px &nbsp;&times;&nbsp; " + height + "px").show ();
277
- if (width * height != 0) $(".wrapper-size").css ("color", "#333"); else $(".wrapper-size").css ("color", "#c00");
278
- }
279
- }
280
 
281
  $(window).resize(function() {
282
  update_highlighting ();
@@ -360,7 +377,7 @@ function generate_code_preview (
360
  settings.find ("#custom-css-" + block).val (new_custom_css);
361
  }
362
  settings.find ("select#close-button-" + block).val (new_close_button);
363
- settings.find ("select#close-button2-" + block).val (new_close_button);
364
 
365
  if (sticky) {
366
  var new_horizontal_position = $("select#horizontal-position option:selected").attr('value');
@@ -1368,6 +1385,13 @@ function generate_code_preview (
1368
  }
1369
  });
1370
 
 
 
 
 
 
 
 
1371
  update_width ();
1372
 
1373
  update_close_button ();
@@ -1383,7 +1407,8 @@ function generate_code_preview (
1383
  update_sticky_elements (STICKY_CONTEXT_INIT);
1384
  }
1385
 
1386
- setTimeout (update_wrapper_size, 500);
 
1387
 
1388
  var current_time = new Date().getTime();
1389
  if (debug) console.log ("TIME: " + ((current_time - start_time) / 1000).toFixed (3));
@@ -1599,6 +1624,10 @@ td.demo-code-padding-lr {
1599
  }
1600
  td.demo-code {
1601
  text-align: center;
 
 
 
 
1602
  }
1603
  #demo-box td.demo-code {
1604
  height: 110px;
@@ -1618,6 +1647,10 @@ td.demo-wrapper-background {
1618
  .ui-widget-content {
1619
  background: transparent;
1620
  }
 
 
 
 
1621
  .ui-spinner {
1622
  border: 0;
1623
  }
@@ -1697,7 +1730,7 @@ select {
1697
  <?php
1698
  $previous_width = 0;
1699
  $previous_name = '';
1700
- for ($viewport = AD_INSERTER_VIEWPORTS - 1; $viewport > 0; $viewport --) {
1701
  $viewport_name = get_viewport_name ($viewport);
1702
  $viewport_width = get_viewport_width ($viewport);
1703
  if ($viewport_name != '' && $viewport_width != 0) {
@@ -1800,7 +1833,7 @@ select {
1800
  <input id="spinner-padding-left" name="value">
1801
  </span>
1802
  </td>
1803
- <td class="demo-code"><p><?php _e ('Block', 'ad-inserter'); ?></p><p class="wrapper-size">&nbsp;</p></td>
1804
  <td class="demo-code-padding-lr" style="border-right: 1px solid #ccc;">
1805
  <span class="spinner normal">
1806
  <input id="spinner-padding-right" name="value">
@@ -1837,7 +1870,7 @@ select {
1837
 
1838
  <table id="demo-box-no-wrapping" class="demo-box" style="display: none;" cellspacing=0 cellspacing="0">
1839
  <tr>
1840
- <td class="demo-code" style="border-right: 1px solid #ccc;"><p><?php _e ('Block', 'ad-inserter'); ?></p><p class="wrapper-size">&nbsp;</p></td>
1841
  <td class="demo-wrapper-background"><?php _e ('background', 'ad-inserter'); ?></td>
1842
  </tr>
1843
  </table>
@@ -1858,7 +1891,7 @@ select {
1858
  <div style="float: left;">
1859
  <?php _e ('Alignment and style', 'ad-inserter'); ?>
1860
  &nbsp;&nbsp;&nbsp;
1861
- <select id="block-alignment" style="width:120px;">
1862
  <?php if (function_exists ('ai_preview_style_options')) ai_preview_style_options ($obj, $alignment_type, true); ?>
1863
  <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>
1864
  </select>
@@ -2004,7 +2037,7 @@ select {
2004
  <div style="margin: 20px 0 0 0;">
2005
  <?php _e ('Alignment and style', 'ad-inserter'); ?>
2006
  &nbsp;&nbsp;&nbsp;
2007
- <select id="block-alignment" style="width:120px;">
2008
  <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>
2009
  <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>
2010
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>" data-img-class="automatic-insertion preview im-center" <?php alt_styles_data ($obj->alignment_style (AI_ALIGNMENT_CENTER, true)); ?> value="<?php echo AI_ALIGNMENT_CENTER; ?>" data-title="<?php echo AI_TEXT_CENTER; ?>" <?php echo ($alignment_type == AI_ALIGNMENT_CENTER) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CENTER; ?></option>
@@ -2137,11 +2170,38 @@ Single pages (posts and static pages) have also additional setting for individua
2137
  <?php
2138
  if ($sticky) echo ai_get_js ('ai-sticky');
2139
  echo ai_get_js ('ai-rotate');
2140
- echo ai_get_js ('ai-load');
 
 
2141
  if ($sticky) echo "setTimeout (function() {AOS.init();}, 200);\n";
2142
  if (defined ('AI_ADSENSE_OVERLAY')) {
2143
  echo ai_get_js ('ai-ads');
2144
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2145
  ?>
2146
  </script>
2147
  </body>
56
  $process_php = isset ($preview_parameters ['php']) ? $preview_parameters ['php'] : $obj->get_process_php ();
57
  $show_label = isset ($preview_parameters ['label']) ? $preview_parameters ['label'] : $obj->get_show_label ();
58
  $read_only = isset ($preview_parameters ['read_only']) ? $preview_parameters ['read_only'] : false;
59
+ $iframe = isset ($preview_parameters ['iframe']) ? $preview_parameters ['iframe'] : false;
60
 
61
  $obj->wp_options [AI_OPTION_BLOCK_NAME] = $block_name;
62
  $obj->wp_options [AI_OPTION_CODE] = $code;
70
  $obj->wp_options [AI_OPTION_PROCESS_PHP] = $process_php;
71
  $obj->wp_options [AI_OPTION_SHOW_LABEL] = $show_label;
72
 
73
+ // Don't show iframe in preview unless requested
74
+ if (!$iframe) $obj->wp_options [AI_OPTION_IFRAME] = false;
75
+
76
  $adsense = $block == 0;
77
  $sticky = false;
78
  $class = '';
79
  $sticky_parameters = '';
80
  $functions = function_exists ('ai_extract_features_2');
81
+ $iframe_resize = $iframe && $obj->get_iframe_height () == '';
82
 
83
  if (!$adsense) {
84
  switch ($alignment_type) {
128
  $head_code = str_replace ('enable_page_level_ads', 'disabled_page_level_ads', $head_code);
129
 
130
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = true;
131
+ $obj->hide_debug_labels = true;
132
+ $block_code = $obj->ai_getProcessedCode (true);
133
+ $obj->hide_debug_labels = false;
134
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = false;
135
 
136
  // Fix for relative urls
156
  <script src='<?php echo plugins_url ('includes/aos/aos.js', AD_INSERTER_FILE); ?>?ver=<?php echo AD_INSERTER_VERSION; ?>'></script>
157
  <?php endif; ?>
158
  <script src='<?php echo plugins_url ('includes/js/ad-inserter-check.js', AD_INSERTER_FILE); ?>?ver=<?php echo AD_INSERTER_VERSION; ?>'></script>
159
+ <link rel='stylesheet' href='<?php echo plugins_url ('css/ai-settings.css', AD_INSERTER_FILE); ?>?ver=<?php echo AD_INSERTER_VERSION; ?>'>
160
  <script>
161
 
162
  ajaxurl = "<?php echo admin_url ('admin-ajax.php'); ?>";
177
  }
178
  }
179
 
180
+ function update_wrapper_size () {
181
+ var wrapper = $('#wrapper');
182
+ if (typeof wrapper.width () != 'undefined' && typeof wrapper.height () != 'undefined') {
183
+ var width = parseInt (wrapper.width ());
184
+ var height = parseInt (wrapper.height ());
185
+ $(".wrapper-size").html (width + "px &nbsp;&times;&nbsp; " + height + "px").show ();
186
+ if (width * height != 0) $(".wrapper-size").css ("color", "#333"); else $(".wrapper-size").css ("color", "#c00");
187
+ }
188
+ }
189
+
190
  function initialize_preview () {
191
 
192
  var debug = typeof ai_debugging !== 'undefined';
286
  if (window.innerWidth != $(window).width()) $("#right-arrow").hide (); else $("#right-arrow").show ();
287
  }
288
 
289
+ // function update_wrapper_size () {
290
+ // if (typeof wrapper.width () != 'undefined' && typeof wrapper.height () != 'undefined') {
291
+ // var width = parseInt (wrapper.width ());
292
+ // var height = parseInt (wrapper.height ());
293
+ // $(".wrapper-size").html (width + "px &nbsp;&times;&nbsp; " + height + "px").show ();
294
+ // if (width * height != 0) $(".wrapper-size").css ("color", "#333"); else $(".wrapper-size").css ("color", "#c00");
295
+ // }
296
+ // }
297
 
298
  $(window).resize(function() {
299
  update_highlighting ();
377
  settings.find ("#custom-css-" + block).val (new_custom_css);
378
  }
379
  settings.find ("select#close-button-" + block).val (new_close_button);
380
+ settings.find ("select#close-button-sticky-" + block).val (new_close_button);
381
 
382
  if (sticky) {
383
  var new_horizontal_position = $("select#horizontal-position option:selected").attr('value');
1385
  }
1386
  });
1387
 
1388
+ $('.demo-code').click (function () {
1389
+ wrapper.toggleClass ('fit-content');
1390
+ $('.demo-code span.name').toggle ();
1391
+ update_highlighting ();
1392
+ update_wrapper_size ();
1393
+ });
1394
+
1395
  update_width ();
1396
 
1397
  update_close_button ();
1407
  update_sticky_elements (STICKY_CONTEXT_INIT);
1408
  }
1409
 
1410
+ setTimeout (update_wrapper_size, 250);
1411
+ setTimeout (update_wrapper_size, 750);
1412
 
1413
  var current_time = new Date().getTime();
1414
  if (debug) console.log ("TIME: " + ((current_time - start_time) / 1000).toFixed (3));
1624
  }
1625
  td.demo-code {
1626
  text-align: center;
1627
+ user-select: none;
1628
+ text-decoration: none;
1629
+ box-shadow: 0 0 0;
1630
+ cursor: pointer;
1631
  }
1632
  #demo-box td.demo-code {
1633
  height: 110px;
1647
  .ui-widget-content {
1648
  background: transparent;
1649
  }
1650
+ .fit-content {
1651
+ width: fit-content;
1652
+ width: -moz-fit-content;
1653
+ }
1654
  .ui-spinner {
1655
  border: 0;
1656
  }
1730
  <?php
1731
  $previous_width = 0;
1732
  $previous_name = '';
1733
+ for ($viewport = 6 - 1; $viewport > 0; $viewport --) {
1734
  $viewport_name = get_viewport_name ($viewport);
1735
  $viewport_width = get_viewport_width ($viewport);
1736
  if ($viewport_name != '' && $viewport_width != 0) {
1833
  <input id="spinner-padding-left" name="value">
1834
  </span>
1835
  </td>
1836
+ <td class="demo-code"><p><span class="name"><?php _e ('Block', 'ad-inserter'); ?></span><span class="name" style="display: none;"><?php _e ('Code', 'ad-inserter'); ?></span></p><p class="wrapper-size">&nbsp;</p></td>
1837
  <td class="demo-code-padding-lr" style="border-right: 1px solid #ccc;">
1838
  <span class="spinner normal">
1839
  <input id="spinner-padding-right" name="value">
1870
 
1871
  <table id="demo-box-no-wrapping" class="demo-box" style="display: none;" cellspacing=0 cellspacing="0">
1872
  <tr>
1873
+ <td class="demo-code" style="border-right: 1px solid #ccc;"><p><span class="name"><?php _e ('Block', 'ad-inserter'); ?></span><span class="name" style="display: none;"><?php _e ('Code', 'ad-inserter'); ?></span></p><p class="wrapper-size">&nbsp;</p></td>
1874
  <td class="demo-wrapper-background"><?php _e ('background', 'ad-inserter'); ?></td>
1875
  </tr>
1876
  </table>
1891
  <div style="float: left;">
1892
  <?php _e ('Alignment and style', 'ad-inserter'); ?>
1893
  &nbsp;&nbsp;&nbsp;
1894
+ <select id="block-alignment" style="min-width: 120px;">
1895
  <?php if (function_exists ('ai_preview_style_options')) ai_preview_style_options ($obj, $alignment_type, true); ?>
1896
  <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>
1897
  </select>
2037
  <div style="margin: 20px 0 0 0;">
2038
  <?php _e ('Alignment and style', 'ad-inserter'); ?>
2039
  &nbsp;&nbsp;&nbsp;
2040
+ <select id="block-alignment" style="min-width:120px;">
2041
  <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>
2042
  <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
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', AD_INSERTER_FILE); ?>" data-img-class="automatic-insertion preview im-center" <?php alt_styles_data ($obj->alignment_style (AI_ALIGNMENT_CENTER, true)); ?> value="<?php echo AI_ALIGNMENT_CENTER; ?>" data-title="<?php echo AI_TEXT_CENTER; ?>" <?php echo ($alignment_type == AI_ALIGNMENT_CENTER) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_CENTER; ?></option>
2170
  <?php
2171
  if ($sticky) echo ai_get_js ('ai-sticky');
2172
  echo ai_get_js ('ai-rotate');
2173
+ if (function_exists ('add_footer_inline_scripts_2')) {
2174
+ echo ai_get_js ('ai-load');
2175
+ }
2176
  if ($sticky) echo "setTimeout (function() {AOS.init();}, 200);\n";
2177
  if (defined ('AI_ADSENSE_OVERLAY')) {
2178
  echo ai_get_js ('ai-ads');
2179
  }
2180
+ if ($iframe_resize) {
2181
+ echo 'function ai_resize_iframe (iframe) {
2182
+ function getDocHeight (doc) {
2183
+ doc = doc || document;
2184
+ // from http://stackoverflow.com/questions/1145850/get-height-of-entire-document-with-javascript
2185
+ var body = doc.body, html = doc.documentElement;
2186
+ var height = Math.max (body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);
2187
+ return height;
2188
+ }
2189
+
2190
+ function resizeIframe (iframe) {
2191
+ var doc = iframe.contentDocument ? iframe.contentDocument : iframe.contentWindow.document;
2192
+ iframe.style.visibility = "hidden";
2193
+ iframe.style.height = "10px"; // reset to minimal height ...
2194
+ // IE opt. for bing/msn needs a bit added or scrollbar appears
2195
+ iframe.style.height = getDocHeight (doc) + "px";
2196
+ iframe.style.visibility = "visible";
2197
+
2198
+ update_wrapper_size ();
2199
+ }
2200
+
2201
+ setTimeout (function(){resizeIframe (iframe);}, 200);
2202
+ }
2203
+ ';
2204
+ }
2205
  ?>
2206
  </script>
2207
  </body>
js/ad-inserter.js CHANGED
@@ -1,4 +1,4 @@
1
- var javascript_version = "2.4.5";
2
  var ignore_key = true;
3
  var start = 1;
4
  var end = 16;
@@ -36,6 +36,8 @@ var AI_ABOVE_HEADER = 14;
36
  var AI_BEFORE_HTML_ELEMENT = 15;
37
  var AI_AFTER_HTML_ELEMENT = 16;
38
  var AI_INSIDE_HTML_ELEMENT = 17;
 
 
39
 
40
 
41
  var AI_ALIGNMENT_DEFAULT = 0;
@@ -84,6 +86,7 @@ var AI_STICK_VERTICAL_CENTER = 1;
84
  var AI_SCROLL_WITH_THE_CONTENT = 2;
85
  var AI_STICK_TO_THE_BOTTOM = 3;
86
 
 
87
 
88
  function b64e (str) {
89
  // first we use encodeURIComponent to get percent-encoded UTF-8,
@@ -102,6 +105,10 @@ function b64d (str) {
102
  }).join (''));
103
  }
104
 
 
 
 
 
105
  var shSettings = {
106
  "tab_size":"4",
107
  "use_soft_tabs":"1",
@@ -356,7 +363,7 @@ function window_open_post (url, windowoption, name, params) {
356
 
357
  jQuery(document).ready(function($) {
358
 
359
- var header = $('#ai-settings-' + 'header').length != 0;
360
 
361
  if (header) {
362
  $.elycharts.templates['ai'] = {
@@ -679,12 +686,12 @@ jQuery(document).ready(function($) {
679
  if (typeof name != 'undefined') {
680
  if (typeof default_value != 'undefined') {
681
  default_value = Boolean (parseInt (default_value));
682
- // console.log ($(this).attr ("name"), ": default_value: ", $(this).attr ("default"), " = ", default_value, ", current_value: ", current_value);
683
 
684
  if (current_value == default_value) {
685
  $(this).removeAttr ("name");
686
  $("#tab-" + block + " [name='" + name + "']").removeAttr ("name");
687
- // console.log ("REMOVED: ", name);
688
  }
689
  }
690
  // else console.log ("NO DEFAULT VALUE:", $(this).attr ("name"));
@@ -913,6 +920,7 @@ jQuery(document).ready(function($) {
913
  function process_display_elements (block) {
914
 
915
  $("#paragraph-settings-"+block).hide();
 
916
 
917
  $("#html-element-settings-"+block).hide();
918
 
@@ -922,6 +930,11 @@ jQuery(document).ready(function($) {
922
 
923
  if (automatic_insertion == AI_BEFORE_PARAGRAPH || automatic_insertion == AI_AFTER_PARAGRAPH) {
924
  $("#paragraph-settings-"+block).show();
 
 
 
 
 
925
  } else {
926
  $("#paragraph-counting-"+block).hide();
927
  $("#paragraph-clearance-"+block).hide();
@@ -1147,18 +1160,6 @@ jQuery(document).ready(function($) {
1147
  // }
1148
  });
1149
  }
1150
-
1151
- if (block != 'h' && block != 'f' && block != 'a' && !header) {
1152
- if ((block - 1) >> 4) {
1153
- $('#block' + '-' + block).removeAttr(header_id);
1154
- $('#display' + '-type-' + block).removeAttr(header_id);
1155
- }
1156
-
1157
- if (block >> 2) {
1158
- $('#option' + '-name-' + block).removeAttr(header_id);
1159
- $('#option' + '-length-' + block).removeAttr(header_id);
1160
- }
1161
- }
1162
  }
1163
 
1164
  function configure_adb () {
@@ -1657,7 +1658,7 @@ jQuery(document).ready(function($) {
1657
  });
1658
 
1659
  $("#show-css-button-"+tab).button ({
1660
- }).show ().click (function () {
1661
  var block = $(this).attr ("id").replace ("show-css-button-","");
1662
  $("#icons-css-code-" + block).toggle ();
1663
 
@@ -1906,6 +1907,8 @@ jQuery(document).ready(function($) {
1906
  $(this).blur ();
1907
 
1908
  var sticky = false;
 
 
1909
 
1910
  var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
1911
  var horizontal = $("select#horizontal-position-"+block+" option:selected").attr('value');
@@ -1993,11 +1996,19 @@ jQuery(document).ready(function($) {
1993
  'custom_css': btoa (custom_css),
1994
  'php': php,
1995
  'label': label,
1996
- 'close': close_button
 
1997
  };
1998
  window_open_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
1999
  });
2000
 
 
 
 
 
 
 
 
2001
  create_list_selector ('category', tab);
2002
  create_list_selector ('tag', tab);
2003
  create_list_selector ('taxonomy', tab);
@@ -2007,6 +2018,43 @@ jQuery(document).ready(function($) {
2007
  create_list_editor ('referer', tab);
2008
  create_list_editor ('ip-address', tab);
2009
  create_list_selector ('country', tab);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2010
 
2011
  $('#tracking-' + tab).checkboxButton ().click (function () {
2012
  var block = $(this).attr('id').replace ("tracking-", "");
@@ -2438,12 +2486,22 @@ jQuery(document).ready(function($) {
2438
 
2439
  $("select#close-button-" + tab).change (function () {
2440
  var block = $(this).attr('id').replace ("close-button-", "");
2441
- $("select#close-button2-"+block+"").val ($("select#close-button-"+block+" option:selected").attr('value'));
 
 
 
 
 
 
 
 
 
 
2442
  });
2443
 
2444
- $("select#close-button2-" + tab).change (function () {
2445
- var block = $(this).attr('id').replace ("close-button2-", "");
2446
- $("select#close-button-"+block+"").val ($("select#close-button2-"+block+" option:selected").attr('value'));
2447
  });
2448
 
2449
  $("#html-elements-button-"+tab).click (function () {
@@ -2537,7 +2595,7 @@ jQuery(document).ready(function($) {
2537
  // $("select#close-button-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
2538
  // titles.push ($(this).data ('title'));
2539
  // });
2540
- // $("select#close-button2-"+block+" + ul").appendTo("#close-buttons-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
2541
  // $(this).attr ('title', titles [index]);
2542
  // });
2543
 
@@ -2731,29 +2789,62 @@ jQuery(document).ready(function($) {
2731
  }
2732
 
2733
  function create_list_selector (element_name_prefix, index) {
2734
- var select = $('#'+element_name_prefix+'-select-'+index);
2735
  if (select.length !== 0) {
2736
  var button = $('#'+element_name_prefix+'-button-'+index);
2737
- button.click (function () {
2738
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2739
  if (!select.hasClass ('multi-select')) {
2740
  var options = select.find ('option');
2741
  if (options.length == 0) {
2742
  var nonce = $("#ai-form").attr ('nonce');
2743
 
2744
- var select_data = select.data ('select');
2745
- var data = typeof select_data == 'undefined' ? '' : select_data;
 
 
 
2746
 
2747
  $('#ai-loading').show ();
2748
- button.find ('span.ui-button-text').addClass ('ai-button-active');
2749
- $.get (ajaxurl + '?action=ai_ajax_backend&list-options=' + element_name_prefix + '&data=' + data + '&ai_check=' + nonce, function (data) {
 
2750
  if (data != '') {
2751
- select.html (data);
2752
- create_multi_select (select, element_name_prefix, index);
2753
- update_selection_from_list ($('#'+element_name_prefix+'-list-'+index), element_name_prefix, true);
 
 
 
 
 
 
 
 
 
 
 
 
 
2754
  }
2755
 
2756
  }).fail (function (xhr, status, error) {
 
2757
  var message = "Error loading " + element_name_prefix + " options: " + xhr.status + " " + xhr.statusText ;
2758
  console.log (message);
2759
  })
@@ -2762,25 +2853,36 @@ jQuery(document).ready(function($) {
2762
  button.find ('span.ui-button-text').removeClass ('ai-button-active');
2763
  });
2764
 
2765
- } else create_multi_select (select, element_name_prefix, index);
2766
 
2767
- }
2768
- update_selection_from_list ($('#'+element_name_prefix+'-list-'+index), element_name_prefix, true);
 
 
2769
  });
2770
 
2771
- $('#'+element_name_prefix+'-list-'+index).focusout (function () {
2772
- update_selection_from_list ($(this), element_name_prefix, false);
 
 
 
 
2773
  });
2774
  }
2775
  }
2776
 
2777
- function update_list_from_selection (select_element, element_name_prefix) {
2778
 
2779
  var ms = select_element.$element;
2780
  var ms_val = ms.val();
2781
- if (ms_val != null) var ms_val = ms_val.join (', ');
 
 
 
 
 
2782
  var index = ms.attr ('id').replace (element_name_prefix+'-select-','');
2783
- var list = $('#'+element_name_prefix+'-list-'+index);
2784
 
2785
  var custom_data = list.attr ('data-custom');
2786
 
@@ -2793,10 +2895,10 @@ jQuery(document).ready(function($) {
2793
 
2794
  list.attr ('value', ms_val);
2795
  select_element.qs1.cache();
2796
- select_element.qs2.cache();
2797
  }
2798
 
2799
- function update_selection_from_list (list_element, element_name_prefix, toggle) {
2800
 
2801
  Array.prototype.diff = function (a) {
2802
  return this.filter(function (i) {
@@ -2804,44 +2906,103 @@ jQuery(document).ready(function($) {
2804
  });
2805
  };
2806
 
2807
- var index = list_element.attr ('id').replace (element_name_prefix+'-list-','');
 
2808
  var selection_container = $('#ms-'+element_name_prefix+'-select-'+index);
2809
- if (toggle) selection_container.toggle();
2810
  if (selection_container.is(':visible')) {
2811
  var list_items = list_element.attr ('value').split (',').map (Function.prototype.call, String.prototype.trim);
2812
 
 
 
 
 
2813
  if (list_element.hasClass ('ai-list-filter'))
2814
  for (var i = 0; i < list_items.length; i++) {
2815
  list_items [i] = list_items [i].replace (/ /g , '-').replace (/[\!\@\#\$%\^&\*\(\)\=\+\{\}\|\[\]\\\;\'\:\"\.\/\?]/g , '');
2816
  }
2817
 
2818
- if (list_element.hasClass ('ai-list-uppercase'))
2819
- list_items = list_items.map (Function.prototype.call, String.prototype.toUpperCase); else
2820
- list_items = list_items.map (Function.prototype.call, String.prototype.toLowerCase);
 
 
 
 
 
 
 
 
2821
 
2822
- // Set multiSelect
2823
- $('#'+element_name_prefix+'-select-'+index).multiSelect ('deselect_all').multiSelect ('select', list_items).multiSelect('refresh');
2824
 
2825
  if (list_element.hasClass ('ai-list-custom')) {
2826
  var custom_values = list_items;
2827
  var selected_values = $('#'+element_name_prefix+'-select-'+index).val ();
2828
- if (selected_values != null) custom_values = list_items.diff (selected_values);
2829
 
2830
- if (custom_values != null) var custom_values = custom_values.join (', ');
 
2831
 
2832
  list_element.attr ('data-custom', custom_values);
2833
 
2834
- // Set multiSelect again to add custom items
2835
- $('#'+element_name_prefix+'-select-'+index).multiSelect ('deselect_all').multiSelect ('select', list_items).multiSelect('refresh');
2836
  }
2837
- } }
2838
 
2839
- function create_multi_select (select, element_name_prefix, index) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2840
  select.addClass ('multi-select');
2841
 
2842
  select.multiSelect ({
2843
- selectableHeader: "<input type='text' class='search-input' autocomplete='off' placeholder='" + ai_admin.search + "'>",
2844
- selectedHeader: "Selected Countries",
 
 
 
 
 
 
2845
  afterInit: function(ms){
2846
  var that = this,
2847
  $selectableSearch = that.$selectableUl.prev(),
@@ -2857,22 +3018,23 @@ jQuery(document).ready(function($) {
2857
  }
2858
  });
2859
 
2860
- that.qs2 = $selectionSearch.quicksearch (selectionSearchString)
2861
- .on('keydown', function(e){
2862
- if (e.which == 40){
2863
- that.$selectionUl.focus();
2864
- return false;
2865
- }
2866
- });
2867
  },
2868
  afterSelect: function(values){
2869
- update_list_from_selection (this, element_name_prefix);
2870
  },
2871
  afterDeselect: function(values){
2872
- update_list_from_selection (this, element_name_prefix);
2873
  }
2874
  });
2875
- $('#ms-'+element_name_prefix+'-select-' + index).hide();
 
2876
  }
2877
 
2878
  function create_list_editor (element_name_prefix, index) {
@@ -3070,7 +3232,7 @@ jQuery(document).ready(function($) {
3070
  },
3071
  features: {
3072
  grid: {
3073
- draw: values.length < 50,
3074
  }
3075
  }
3076
  });
@@ -3130,6 +3292,15 @@ jQuery(document).ready(function($) {
3130
  clipboard.find ('input[name]:checkbox').eq (index).removeAttr ('checked').next ("label").find ('.checkbox-icon').removeClass("on");
3131
  });
3132
 
 
 
 
 
 
 
 
 
 
3133
  $('div#tab-' + active_tab + ' select[name]').each (function (index){
3134
  var value = $(this).find ("option:selected").val ();
3135
  clipboard.find ('select[name]').eq (index).find ("option").removeAttr ('selected');
@@ -3770,7 +3941,7 @@ jQuery(document).ready(function($) {
3770
  console.log ('AD INSERTER: plugin version:', plugin_version + ', loaded CSS version:', css_version);
3771
 
3772
  // Check page HTML
3773
- var css_version_parameter = $("link[href*='ad-inserter.css']").attr('href');
3774
  if (typeof css_version_parameter == 'undefined') $("#css-version-parameter-missing").show (); else {
3775
  css_version_parameter_string = css_version_parameter.split('=')[1];
3776
  if (typeof css_version_parameter_string == 'undefined') {
@@ -3923,6 +4094,11 @@ jQuery(document).ready(function($) {
3923
 
3924
  setTimeout (function() {update_rating ('');}, 1000);
3925
 
 
 
 
 
 
3926
  if (debug) console.log ("");
3927
  if (debug) console.log ("READY END");
3928
  if (debug) {
1
+ var javascript_version = "2.4.6";
2
  var ignore_key = true;
3
  var start = 1;
4
  var end = 16;
36
  var AI_BEFORE_HTML_ELEMENT = 15;
37
  var AI_AFTER_HTML_ELEMENT = 16;
38
  var AI_INSIDE_HTML_ELEMENT = 17;
39
+ var AI_BEFORE_IMAGE = 18;
40
+ var AI_AFTER_IMAGE = 19;
41
 
42
 
43
  var AI_ALIGNMENT_DEFAULT = 0;
86
  var AI_SCROLL_WITH_THE_CONTENT = 2;
87
  var AI_STICK_TO_THE_BOTTOM = 3;
88
 
89
+ var before_update_selection_from_list = null;
90
 
91
  function b64e (str) {
92
  // first we use encodeURIComponent to get percent-encoded UTF-8,
105
  }).join (''));
106
  }
107
 
108
+ String.prototype.tabIndex = function () {
109
+ return this.replace (/^\D+/g, '')
110
+ };
111
+
112
  var shSettings = {
113
  "tab_size":"4",
114
  "use_soft_tabs":"1",
363
 
364
  jQuery(document).ready(function($) {
365
 
366
+ var header = $('#export-container'+'-0').length != 0;
367
 
368
  if (header) {
369
  $.elycharts.templates['ai'] = {
686
  if (typeof name != 'undefined') {
687
  if (typeof default_value != 'undefined') {
688
  default_value = Boolean (parseInt (default_value));
689
+ // console.log ($(this).attr ("name"), ": default_value: ", $(this).attr ("default"), " = ", default_value, ", current_value: ", current_value);
690
 
691
  if (current_value == default_value) {
692
  $(this).removeAttr ("name");
693
  $("#tab-" + block + " [name='" + name + "']").removeAttr ("name");
694
+ // console.log ("REMOVED: ", name);
695
  }
696
  }
697
  // else console.log ("NO DEFAULT VALUE:", $(this).attr ("name"));
920
  function process_display_elements (block) {
921
 
922
  $("#paragraph-settings-"+block).hide();
923
+ $("#image-settings-"+block).hide();
924
 
925
  $("#html-element-settings-"+block).hide();
926
 
930
 
931
  if (automatic_insertion == AI_BEFORE_PARAGRAPH || automatic_insertion == AI_AFTER_PARAGRAPH) {
932
  $("#paragraph-settings-"+block).show();
933
+ }
934
+ else if (automatic_insertion == AI_BEFORE_IMAGE || automatic_insertion == AI_AFTER_IMAGE) {
935
+ $("#image-settings-"+block).show();
936
+ $("#paragraph-counting-"+block).hide();
937
+ $("#paragraph-clearance-"+block).hide();
938
  } else {
939
  $("#paragraph-counting-"+block).hide();
940
  $("#paragraph-clearance-"+block).hide();
1160
  // }
1161
  });
1162
  }
 
 
 
 
 
 
 
 
 
 
 
 
1163
  }
1164
 
1165
  function configure_adb () {
1658
  });
1659
 
1660
  $("#show-css-button-"+tab).button ({
1661
+ }).show ().css ('visibility', 'visible').click (function () {
1662
  var block = $(this).attr ("id").replace ("show-css-button-","");
1663
  $("#icons-css-code-" + block).toggle ();
1664
 
1907
  $(this).blur ();
1908
 
1909
  var sticky = false;
1910
+ var iframe = $(this).attr ('iframe') == '1' ? 1 : 0;
1911
+ $(this).attr ('iframe', '');
1912
 
1913
  var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
1914
  var horizontal = $("select#horizontal-position-"+block+" option:selected").attr('value');
1996
  'custom_css': btoa (custom_css),
1997
  'php': php,
1998
  'label': label,
1999
+ 'close': close_button,
2000
+ 'iframe': iframe
2001
  };
2002
  window_open_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
2003
  });
2004
 
2005
+ $("#iframe-preview-button-"+tab).button ({
2006
+ }).show ().click (function () {
2007
+ var block = $(this).attr ("id");
2008
+ block = block.replace ("iframe-preview-button-","");
2009
+ $("#preview-button-"+block).attr ('iframe', '1').click ();
2010
+ });
2011
+
2012
  create_list_selector ('category', tab);
2013
  create_list_selector ('tag', tab);
2014
  create_list_selector ('taxonomy', tab);
2018
  create_list_editor ('referer', tab);
2019
  create_list_editor ('ip-address', tab);
2020
  create_list_selector ('country', tab);
2021
+ create_list_selector ('city', tab);
2022
+
2023
+ var toggle_country_list = function (index) {
2024
+ $('#ms-country-select-' + index).toggle();
2025
+ before_update_selection_from_list = null;
2026
+ }
2027
+
2028
+ var toggle_city_list = function (index) {
2029
+ $('#ms-city-select-' + index).toggle();
2030
+ before_update_selection_from_list = null;
2031
+ }
2032
+
2033
+ $('#country-city-' + tab).click (function () {
2034
+ var block = $(this).attr('id').tabIndex ();
2035
+
2036
+ $(this).find ('span').toggle ();
2037
+ $(this).next ().find ('span').toggle ();
2038
+
2039
+ var button_country = $('#country-button-'+block);
2040
+ var button_city = $('#city-button-'+block);
2041
+
2042
+ var country_selection_container = $('#ms-country-select-'+block);
2043
+ country_selection_container_visible = country_selection_container.length && country_selection_container.is (':visible');
2044
+
2045
+ var city_selection_container = $('#ms-city-select-'+block);
2046
+ city_selection_container_visible = city_selection_container.length && city_selection_container.is (':visible');
2047
+
2048
+ if (country_selection_container_visible) {
2049
+ before_update_selection_from_list = toggle_country_list;
2050
+ button_city.click ();
2051
+ }
2052
+
2053
+ if (city_selection_container_visible) {
2054
+ before_update_selection_from_list = toggle_city_list;
2055
+ button_country.click ();
2056
+ }
2057
+ });
2058
 
2059
  $('#tracking-' + tab).checkboxButton ().click (function () {
2060
  var block = $(this).attr('id').replace ("tracking-", "");
2486
 
2487
  $("select#close-button-" + tab).change (function () {
2488
  var block = $(this).attr('id').replace ("close-button-", "");
2489
+ $("select#close-button-sticky-"+block+"").val ($("select#close-button-"+block+" option:selected").attr('value'));
2490
+ });
2491
+
2492
+ $("select#close-button-sticky-" + tab).change (function () {
2493
+ var block = $(this).attr('id').replace ("close-button-sticky-", "");
2494
+ $("select#close-button-"+block+"").val ($("select#close-button-sticky-"+block+" option:selected").attr('value'));
2495
+ });
2496
+
2497
+ $("input#paragraph-numbers-" + tab).change (function () {
2498
+ var block = $(this).attr('id').tabIndex ();
2499
+ $("input#image-numbers-"+block).val ($(this).attr ('value'));
2500
  });
2501
 
2502
+ $("input#image-numbers-" + tab).change (function () {
2503
+ var block = $(this).attr('id').tabIndex ();
2504
+ $("input#paragraph-numbers-"+block).val ($(this).attr ('value'));
2505
  });
2506
 
2507
  $("#html-elements-button-"+tab).click (function () {
2595
  // $("select#close-button-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
2596
  // titles.push ($(this).data ('title'));
2597
  // });
2598
+ // $("select#close-button-sticky-"+block+" + ul").appendTo("#close-buttons-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
2599
  // $(this).attr ('title', titles [index]);
2600
  // });
2601
 
2789
  }
2790
 
2791
  function create_list_selector (element_name_prefix, index) {
2792
+ var select = $('#'+element_name_prefix+'-select-' + index);
2793
  if (select.length !== 0) {
2794
  var button = $('#'+element_name_prefix+'-button-'+index);
 
2795
 
2796
+ var list_prefix = button.data ('list');
2797
+ if (list_prefix == null) list_prefix = element_name_prefix;
2798
+
2799
+ function update_list (list, element_name_prefix) {
2800
+ if (typeof before_update_selection_from_list == 'function') {
2801
+ before_update_selection_from_list (index);
2802
+ }
2803
+
2804
+ button.find ('span.ui-button-text').addClass ('ai-button-updating');
2805
+
2806
+ setTimeout (function() {
2807
+ update_selection_from_list (list, element_name_prefix);
2808
+ }, 5);
2809
+ }
2810
+
2811
+ button.click (function () {
2812
  if (!select.hasClass ('multi-select')) {
2813
  var options = select.find ('option');
2814
  if (options.length == 0) {
2815
  var nonce = $("#ai-form").attr ('nonce');
2816
 
2817
+ var filter_element = $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-input');
2818
+ var filter = filter_element.length ? filter_element.val () : '';
2819
+
2820
+ var parameters_data = select.data ('parameters');
2821
+ var parameters = typeof parameters_data == 'undefined' ? '' : parameters_data;
2822
 
2823
  $('#ai-loading').show ();
2824
+ button.find ('span.ui-button-text').addClass ('ai-button-active').show ();
2825
+
2826
+ $.get (ajaxurl + '?action=ai_ajax_backend&list-options=' + element_name_prefix + '&parameters=' + parameters + '&filter=' + filter + '&ai_check=' + nonce, function (data) {
2827
  if (data != '') {
2828
+ var message = '';
2829
+ var options = $('option', '<div>'+data+'</div>');
2830
+ if (options.length != 0) {
2831
+ if ($(options [0]).attr ('value').length == 0) {
2832
+ message = $(options [0]).text ();
2833
+ options = options.splice (1);
2834
+ }
2835
+ }
2836
+ select.attr ('data-message', message);
2837
+
2838
+ select.html (options);
2839
+ create_multi_select (select, element_name_prefix, list_prefix, index);
2840
+
2841
+ $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-message').text (message);
2842
+
2843
+ update_list ($('#'+list_prefix+'-list-'+index), element_name_prefix);
2844
  }
2845
 
2846
  }).fail (function (xhr, status, error) {
2847
+ $('input.filter-input', selection_container).remove ();
2848
  var message = "Error loading " + element_name_prefix + " options: " + xhr.status + " " + xhr.statusText ;
2849
  console.log (message);
2850
  })
2853
  button.find ('span.ui-button-text').removeClass ('ai-button-active');
2854
  });
2855
 
2856
+ } else create_multi_select (select, element_name_prefix, list_prefix, index);
2857
 
2858
+ } else {
2859
+ update_list ($('#'+list_prefix+'-list-'+index), element_name_prefix);
2860
+ $('#ms-'+element_name_prefix+'-select-'+index).toggle();
2861
+ }
2862
  });
2863
 
2864
+
2865
+ $('#'+list_prefix+'-list-'+index).focusout (function () {
2866
+ var selection_container = $('#ms-'+element_name_prefix+'-select-'+index);
2867
+ if (selection_container.length && selection_container.is (':visible')) {
2868
+ update_list ($(this), element_name_prefix);
2869
+ }
2870
  });
2871
  }
2872
  }
2873
 
2874
+ function update_list_from_selection (select_element, element_name_prefix, list_prefix) {
2875
 
2876
  var ms = select_element.$element;
2877
  var ms_val = ms.val();
2878
+ if (ms_val != null) {
2879
+ if (ms_val [0] == '') {
2880
+ ms_val = ms_val.splice (1)
2881
+ }
2882
+ ms_val = ms_val.join (', ').trim (',');
2883
+ }
2884
  var index = ms.attr ('id').replace (element_name_prefix+'-select-','');
2885
+ var list = $('#'+list_prefix+'-list-'+index);
2886
 
2887
  var custom_data = list.attr ('data-custom');
2888
 
2895
 
2896
  list.attr ('value', ms_val);
2897
  select_element.qs1.cache();
2898
+ // select_element.qs2.cache();
2899
  }
2900
 
2901
+ function update_selection_from_list (list_element, element_name_prefix) {
2902
 
2903
  Array.prototype.diff = function (a) {
2904
  return this.filter(function (i) {
2906
  });
2907
  };
2908
 
2909
+ var index = list_element.attr ('id').replace (/^\D+/g, '');
2910
+ var select = $('#'+element_name_prefix+'-select-'+index);
2911
  var selection_container = $('#ms-'+element_name_prefix+'-select-'+index);
2912
+
2913
  if (selection_container.is(':visible')) {
2914
  var list_items = list_element.attr ('value').split (',').map (Function.prototype.call, String.prototype.trim);
2915
 
2916
+ if (list_items [0] == '') {
2917
+ list_items = list_items.splice (1)
2918
+ }
2919
+
2920
  if (list_element.hasClass ('ai-list-filter'))
2921
  for (var i = 0; i < list_items.length; i++) {
2922
  list_items [i] = list_items [i].replace (/ /g , '-').replace (/[\!\@\#\$%\^&\*\(\)\=\+\{\}\|\[\]\\\;\'\:\"\.\/\?]/g , '');
2923
  }
2924
 
2925
+ if (list_element.hasClass ('ai-list-uppercase')) list_items = list_items.map (Function.prototype.call, String.prototype.toUpperCase); else
2926
+ if (list_element.hasClass ('ai-list-lowercase')) list_items = list_items.map (Function.prototype.call, String.prototype.toLowerCase); else
2927
+ if (list_element.hasClass ('ai-list-country-case')) {
2928
+ var list_items = list_items.map (function callback (currentValue) {
2929
+ var data = currentValue.split (':');
2930
+ if (data [0] != null) data [0] = data [0].toUpperCase ();
2931
+ if (data [1] != null) data [1] = data [1].toUpperCase ();
2932
+ if (data [2] != null) data [2] = data [2].toLowerCase ();
2933
+ return data.join (':');
2934
+ });
2935
+ }
2936
 
2937
+ $('#'+element_name_prefix+'-select-'+index).multiSelect('refresh').multiSelect ('deselect_all').multiSelect ('select', list_items);
 
2938
 
2939
  if (list_element.hasClass ('ai-list-custom')) {
2940
  var custom_values = list_items;
2941
  var selected_values = $('#'+element_name_prefix+'-select-'+index).val ();
 
2942
 
2943
+ if (selected_values != null) custom_values = list_items.diff (selected_values);
2944
+ if (custom_values != null) custom_values = custom_values.join (', ');
2945
 
2946
  list_element.attr ('data-custom', custom_values);
2947
 
2948
+ select.multiSelect ('deselect_all').multiSelect ('select', list_items);
 
2949
  }
 
2950
 
2951
+ if (select.hasClass ('ai-list-filter')) {
2952
+ var filter_div = $('#ms-'+element_name_prefix+'-select-'+index).find ('.ai-list-filter-container');
2953
+ var filter_input = filter_div.find ('.filter-input');
2954
+ var filter_button = filter_div.find ('.filter-button');
2955
+
2956
+ if (!filter_div.hasClass ('configured')) {
2957
+ filter_div.addClass ('configured');
2958
+
2959
+ filter_input.on ('keyup keypress', function(e) {
2960
+ var keyCode = e.keyCode || e.which;
2961
+ if (keyCode === 13) {
2962
+ e.preventDefault();
2963
+ filter_button.click ();
2964
+ return false;
2965
+ }
2966
+ });
2967
+
2968
+ filter_button.on ('click', function(e) {
2969
+ e.preventDefault();
2970
+
2971
+ var filter = filter_input.val ();
2972
+ select.attr ('data-filter', filter);
2973
+
2974
+ select.empty ();
2975
+ select.removeClass ('multi-select');
2976
+ $('#'+element_name_prefix+'-button-'+index).click ();
2977
+
2978
+ return false;
2979
+ });
2980
+ }
2981
+
2982
+ filter_div.show ();
2983
+ $('#ms-'+element_name_prefix+'-select-'+index).find ('.search-input').hide ();
2984
+ filter_button.button().show ();
2985
+ filter_input.val (select.attr ('data-filter'));
2986
+ $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-message').text (select.attr ('data-message'));
2987
+ }
2988
+ }
2989
+
2990
+ var button = $('#'+element_name_prefix+'-button-'+index);
2991
+ button.find ('span.ui-button-text').removeClass ('ai-button-updating');
2992
+ }
2993
+
2994
+ function create_multi_select (select, element_name_prefix, list_prefix, index) {
2995
  select.addClass ('multi-select');
2996
 
2997
  select.multiSelect ({
2998
+ selectableHeader:
2999
+ '<div class="ai-list-filter-container"> \
3000
+ <input type="text" class="filter-input" autocomplete="off" placeholder="' + ai_admin.filter + '" title="' + ai_admin.filter_title + '"> \
3001
+ <button class="filter-button" style="margin-top: -2px; display: none;">' + ai_admin.button_filter + '</button> \
3002
+ <span class="filter-message"></span> \
3003
+ </div> \
3004
+ <input type="text" class="search-input" autocomplete="off" placeholder="' + ai_admin.search + '">',
3005
+ selectionHeader: '',
3006
  afterInit: function(ms){
3007
  var that = this,
3008
  $selectableSearch = that.$selectableUl.prev(),
3018
  }
3019
  });
3020
 
3021
+ // that.qs2 = $selectionSearch.quicksearch (selectionSearchString)
3022
+ // .on('keydown', function(e){
3023
+ // if (e.which == 40){
3024
+ // that.$selectionUl.focus();
3025
+ // return false;
3026
+ // }
3027
+ // });
3028
  },
3029
  afterSelect: function(values){
3030
+ update_list_from_selection (this, element_name_prefix, list_prefix);
3031
  },
3032
  afterDeselect: function(values){
3033
+ update_list_from_selection (this, element_name_prefix, list_prefix);
3034
  }
3035
  });
3036
+
3037
+ // $('#ms-'+element_name_prefix+'-select-' + index).hide();
3038
  }
3039
 
3040
  function create_list_editor (element_name_prefix, index) {
3232
  },
3233
  features: {
3234
  grid: {
3235
+ draw: values == null ? true : values.length < 50,
3236
  }
3237
  }
3238
  });
3292
  clipboard.find ('input[name]:checkbox').eq (index).removeAttr ('checked').next ("label").find ('.checkbox-icon').removeClass("on");
3293
  });
3294
 
3295
+ $('div#tab-' + active_tab + ' input[name]:radio').each (function (index){
3296
+ var attr = $(this).attr('checked');
3297
+ var checked = typeof attr !== typeof undefined && attr !== false;
3298
+
3299
+ if (checked)
3300
+ clipboard.find ('input[name]:radio').eq (index).attr ('checked', 'checked'); else
3301
+ clipboard.find ('input[name]:radio').eq (index).removeAttr ('checked');
3302
+ });
3303
+
3304
  $('div#tab-' + active_tab + ' select[name]').each (function (index){
3305
  var value = $(this).find ("option:selected").val ();
3306
  clipboard.find ('select[name]').eq (index).find ("option").removeAttr ('selected');
3941
  console.log ('AD INSERTER: plugin version:', plugin_version + ', loaded CSS version:', css_version);
3942
 
3943
  // Check page HTML
3944
+ var css_version_parameter = $("link[href*='ai-settings.css']").attr('href');
3945
  if (typeof css_version_parameter == 'undefined') $("#css-version-parameter-missing").show (); else {
3946
  css_version_parameter_string = css_version_parameter.split('=')[1];
3947
  if (typeof css_version_parameter_string == 'undefined') {
4094
 
4095
  setTimeout (function() {update_rating ('');}, 1000);
4096
 
4097
+ $("#license-key").dblclick (function () {
4098
+ $("#hide-key").toggle ();
4099
+ });
4100
+
4101
+
4102
  if (debug) console.log ("");
4103
  if (debug) console.log ("READY END");
4104
  if (debug) {
languages/ad-inserter-sl_SI.mo CHANGED
Binary file
languages/ad-inserter-sl_SI.po CHANGED
@@ -4,8 +4,8 @@ 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-25 11:49:30+00:00\n"
8
- "PO-Revision-Date: 2018-12-25 12:54+0100\n"
9
  "Last-Translator: Igor Funa\n"
10
  "Language-Team: \n"
11
  "Language: sl_SI\n"
@@ -16,129 +16,129 @@ msgstr ""
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:275
20
  msgctxt "Menu item"
21
  msgid "Debugging DEMO"
22
  msgstr "DEMO Razhroščevanje"
23
 
24
- #: ad-inserter.php:291
25
  msgctxt "Menu item"
26
  msgid "Label Blocks"
27
  msgstr "Označi bloke"
28
 
29
- #: ad-inserter.php:298
30
  msgctxt "Menu item"
31
  msgid "Show Positions"
32
  msgstr "Pokaži položaje"
33
 
34
- #: ad-inserter.php:369
35
  msgctxt "Menu item"
36
  msgid "Show HTML Tags"
37
  msgstr "Pokaži HTML značke"
38
 
39
- #: ad-inserter.php:376
40
  msgctxt "Menu item"
41
  msgid "Disable Insertion"
42
  msgstr "Onemogoči vstavljanje"
43
 
44
- #: ad-inserter.php:385
45
  msgctxt "Menu item"
46
  msgid "Ad Blocking Status"
47
  msgstr "Status blokiranja oglasov"
48
 
49
- #: ad-inserter.php:392
50
  msgctxt "Menu item"
51
  msgid "Simulate Ad Blocking"
52
  msgstr "Simuliraj blokiranje oglasov"
53
 
54
- #: ad-inserter.php:402
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:925
61
  msgid "Before"
62
  msgstr "Pred"
63
 
64
  #. translators: Debugging position name After HTML element
65
- #: ad-inserter.php:930
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:935 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:940 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:945 strings.php:97
83
  msgid "Replace content"
84
  msgstr "Nadomesti vsebino"
85
 
86
  #. translators: Debugging position name Replace HTML element
87
- #: ad-inserter.php:950 strings.php:147
88
  msgid "Replace"
89
  msgstr "Nadomesti"
90
 
91
  #. translators: Debugging message when output buffering is enabled
92
- #: ad-inserter.php:995
93
  msgid "OUTPUT BUFFERING"
94
  msgstr "PREDPOMNJENJE IZHODA"
95
 
96
  #. translators: Debugging position
97
- #: ad-inserter.php:999
98
  msgid "Above Header"
99
  msgstr "Nad Glavo"
100
 
101
- #: ad-inserter.php:1200
102
  msgctxt "Menu item"
103
  msgid "Log In"
104
  msgstr "Prijava"
105
 
106
  #. translators: %s: Ad Inserter
107
- #: ad-inserter.php:1469 ad-inserter.php:2327
108
  msgid "%s Settings"
109
  msgstr "%s Nastavitve"
110
 
111
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
112
- #: ad-inserter.php:1902
113
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
114
- msgstr "BLOKIRANJE OGLASOV ZAZNANO, OGLEDI STRANI"
115
 
116
- #: ad-inserter.php:1902
117
  msgid "NO ACTION"
118
  msgstr "NI AKCIJE"
119
 
120
- #: ad-inserter.php:1903
121
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
122
- msgstr "BLOKIRANJE OGLASOV ZAZNANO, PIŠKOTEK ZAZNAN, NI AKCIJE"
123
 
124
- #: ad-inserter.php:1904
125
  msgid "AD BLOCKING DETECTED - ACTION"
126
- msgstr "BLOKIRANJE OGLASOV ZAZNANO - AKCIJA"
127
 
128
- #: ad-inserter.php:1905
129
  msgid "AD BLOCKING NOT DETECTED"
130
  msgstr "BLOKIRANJE OGLASOV NI ZAZNANO"
131
 
132
- #: ad-inserter.php:1906
133
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
134
  msgstr "PIŠKOTKI ZA ZAZNAVANJE BLOKIRANJA OGLASOV POBRISANI"
135
 
136
- #: ad-inserter.php:1907
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:2098
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."
@@ -146,21 +146,21 @@ 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:2099 includes/functions.php:1337
150
  msgid "No, thank you."
151
  msgstr "Ne, hvala."
152
 
153
  #. Translators: %s: Ad Inserter
154
- #: ad-inserter.php:2102
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:2103 includes/functions.php:1339
160
  msgid "Not now, maybe later."
161
  msgstr "Ne zdaj, mogoče kasneje."
162
 
163
- #: ad-inserter.php:2113
164
  msgid ""
165
  "I would really appreciate it if you could give the plugin a 5-star rating on "
166
  "WordPres."
@@ -168,7 +168,7 @@ 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:2115
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"
@@ -177,105 +177,105 @@ msgstr ""
177
  "funkcij za boljšo monetizacijo vašega spletnega mesta. Hvala, Igor"
178
 
179
  #. translators: %s: Ad Inserter
180
- #: ad-inserter.php:2121
181
  msgid "Rate %s"
182
  msgstr "Oceni %s"
183
 
184
- #: ad-inserter.php:2126
185
  msgid "I already did."
186
  msgstr "Sem že."
187
 
188
- #: ad-inserter.php:2140
189
  msgctxt "Menu item"
190
  msgid "Settings"
191
  msgstr "Nastavitve"
192
 
193
  #. translators: %s: Ad Inserter
194
- #: ad-inserter.php:2214
195
  msgctxt "Meta box name"
196
  msgid "%s Individual Exceptions"
197
  msgstr "Posamezne Izjeme za %s"
198
 
199
- #: ad-inserter.php:2243 ad-inserter.php:7546 class.php:1903
200
- #: includes/preview.php:1759 includes/preview.php:1803
201
- #: includes/preview.php:1840 settings.php:3151 strings.php:3
202
  msgid "Block"
203
  msgstr "Blok"
204
 
205
- #: ad-inserter.php:2244 settings.php:3152 settings.php:3226
206
  msgid "Name"
207
  msgstr "Ime"
208
 
209
- #: ad-inserter.php:2245 settings.php:943 settings.php:3154
210
  msgid "Automatic insertion"
211
  msgstr "Samodejno vstavljanje"
212
 
213
- #: ad-inserter.php:2248
214
  msgid "Default insertion for pages"
215
  msgstr "Privzeto vstavljanje za strani"
216
 
217
- #: ad-inserter.php:2249
218
  msgid "Default insertion for posts"
219
  msgstr "Privzeto vstavljanje za prispevke"
220
 
221
  #. translators: For this post or page
222
- #: ad-inserter.php:2252
223
  msgctxt "Page"
224
  msgid "For this"
225
  msgstr "Za to"
226
 
227
- #: ad-inserter.php:2253
228
  msgctxt "Post"
229
  msgid "For this"
230
  msgstr "Za ta"
231
 
232
- #: ad-inserter.php:2261
233
  msgctxt "Enabled/disabled on all"
234
  msgid "pages"
235
  msgstr "straneh"
236
 
237
- #: ad-inserter.php:2262
238
  msgctxt "Default insertion for"
239
  msgid "pages"
240
  msgstr "strani"
241
 
242
- #: ad-inserter.php:2266
243
  msgctxt "Enabled/disabled on all"
244
  msgid "posts"
245
  msgstr "prispevkih"
246
 
247
- #: ad-inserter.php:2267
248
  msgctxt "Default insertion for"
249
  msgid "posts"
250
  msgstr "prispevke"
251
 
252
- #: ad-inserter.php:2286 ad-inserter.php:2299 strings.php:153
253
  msgid "Enabled"
254
  msgstr "Omogočeno"
255
 
256
  #. translators: Menu items
257
- #: ad-inserter.php:2286 ad-inserter.php:2299 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:2289
264
  msgid "Enabled on all"
265
  msgstr "Omogočeno na vseh"
266
 
267
  #. translators: Disabled on all pages or posts
268
- #: ad-inserter.php:2291
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:2319
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:2324
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> "
@@ -285,7 +285,7 @@ msgstr ""
285
  "izbira poleg kljukice za vklop <strong>Prispevki</strong> / <strong>Statične "
286
  "strani</strong>.<br />"
287
 
288
- #: ad-inserter.php:2329
289
  msgid ""
290
  "Default value is <strong>blank</strong> and means no individual exceptions "
291
  "(even if previously defined here).<br />"
@@ -293,7 +293,7 @@ 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:2332
297
  msgctxt "Pages"
298
  msgid ""
299
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
@@ -302,7 +302,7 @@ 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:2333
306
  msgctxt "Posts"
307
  msgid ""
308
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
@@ -311,61 +311,61 @@ 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:2335
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:2337
320
  msgid "Individual Exceptions"
321
  msgstr "Posamezne Izjeme"
322
 
323
- #: ad-inserter.php:2382
324
  msgid "STATIC PAGE"
325
  msgstr "STATIČNA STRAN"
326
 
327
- #: ad-inserter.php:2385
328
  msgid "POST"
329
  msgstr "PRISPEVEK"
330
 
331
- #: ad-inserter.php:2388
332
  msgid "HOMEPAGE"
333
  msgstr "DOMAČA STRAN"
334
 
335
- #: ad-inserter.php:2391
336
  msgid "CATEGORY PAGE"
337
  msgstr "STRAN KATEGORIJE"
338
 
339
- #: ad-inserter.php:2394
340
  msgid "SEARCH PAGE"
341
  msgstr "STRAN ISKANJE"
342
 
343
- #: ad-inserter.php:2397
344
  msgid "ARCHIVE PAGE"
345
  msgstr "STRAN ARHIV"
346
 
347
- #: ad-inserter.php:2400
348
  msgid "ERROR 404 PAGE"
349
  msgstr "STRAN NAPAKA 404"
350
 
351
- #: ad-inserter.php:2403
352
  msgid "AJAX CALL"
353
  msgstr "AJAX KLIC"
354
 
355
- #: ad-inserter.php:2406
356
  msgid "UNKNOWN PAGE TYPE"
357
  msgstr "NEZNAN TIP STRANI"
358
 
359
- #: ad-inserter.php:2423
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:2424
364
  msgid "AD BLOCKING STATUS UNKNOWN"
365
  msgstr "NEZNAN STATUS BLOKIRANJA OGLASOV"
366
 
367
  #. translators: %s: AdSense Auto Ads
368
- #: ad-inserter.php:2444
369
  msgid ""
370
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
371
  "positions"
@@ -373,11 +373,11 @@ msgstr ""
373
  "Zaznana koda za %s - Koda bo samodejno vstavila oglase AdSense na optimalne "
374
  "položaje"
375
 
376
- #: ad-inserter.php:2578
377
  msgid "Code for insertion"
378
  msgstr "Koda za vstavljanje"
379
 
380
- #: ad-inserter.php:2578
381
  msgid "character"
382
  msgid_plural "characters"
383
  msgstr[0] "znak"
@@ -385,16 +385,16 @@ msgstr[1] "znaka"
385
  msgstr[2] "znaki"
386
  msgstr[3] "znakov"
387
 
388
- #: ad-inserter.php:2587
389
  msgid "Header code"
390
  msgstr "Koda v glavi"
391
 
392
- #: ad-inserter.php:2587
393
  msgctxt "Header code"
394
  msgid "DISABLED"
395
  msgstr "ONEMOGOČENA"
396
 
397
- #: ad-inserter.php:2587 ad-inserter.php:2782
398
  msgid "character inserted"
399
  msgid_plural "characters inserted"
400
  msgstr[0] "znak vstavljen"
@@ -402,39 +402,43 @@ msgstr[1] "znaka vstavljena"
402
  msgstr[2] "znaki vstavljeni"
403
  msgstr[3] "znakov vstavljenih"
404
 
405
- #: ad-inserter.php:2604
406
  msgid "Automatically placed by AdSense Auto ads code"
407
  msgstr "Samodejno postavila koda za oglase AdSense Auto ads"
408
 
409
- #: ad-inserter.php:2767
410
- msgid "JAVASCRIPT NOT WORKING"
411
- msgstr "JAVASCRIPT NE DELA"
412
-
413
- #: ad-inserter.php:2767
414
- msgid "JAVASCRIPT WORKING"
415
- msgstr "JAVASCRIPT DELA"
416
-
417
- #: ad-inserter.php:2782
418
  msgid "Footer code"
419
  msgstr "Koda v nogi"
420
 
421
- #: ad-inserter.php:2782
422
  msgctxt "Footer code"
423
  msgid "DISABLED"
424
  msgstr "ONEMOGOČENA"
425
 
 
 
 
 
 
 
 
 
 
 
 
 
426
  #. translators: block name (block with default settings)
427
- #: ad-inserter.php:4791
428
  msgctxt "Block name"
429
  msgid "Default"
430
  msgstr "Privzeti"
431
 
432
  #. translators: %s: Ad Inserter
433
- #: ad-inserter.php:5341
434
  msgid "Error importing %s settings."
435
  msgstr "Napaka pri uvozu %s nastavitev."
436
 
437
- #: ad-inserter.php:5342
438
  msgid "Error importing settings for block"
439
  msgid_plural "Error importing settings for blocks:"
440
  msgstr[0] "Napaka pri uvozu nastavitev za blok"
@@ -442,15 +446,15 @@ 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:5391
446
  msgid "Settings saved."
447
  msgstr "Nastavitve shranjene."
448
 
449
- #: ad-inserter.php:5476
450
  msgid "Settings cleared."
451
  msgstr "Nastavitve ponastavljene."
452
 
453
- #: ad-inserter.php:5809 ad-inserter.php:5811 ad-inserter.php:5822
454
  msgid "word"
455
  msgid_plural "words"
456
  msgstr[0] "beseda"
@@ -458,38 +462,38 @@ msgstr[1] "besedi"
458
  msgstr[2] "besede"
459
  msgstr[3] "besed"
460
 
461
- #: ad-inserter.php:5838 ad-inserter.php:5949
462
  msgid "HTML TAGS REMOVED"
463
  msgstr "HTML ZNAČKE ODSTRANJENE"
464
 
465
- #: ad-inserter.php:6025
466
  msgid "BEFORE COMMENTS"
467
  msgstr "PRED KOMENTARJI"
468
 
469
- #: ad-inserter.php:6133
470
  msgid "AFTER COMMENTS"
471
  msgstr "PO KOMETARJIH"
472
 
473
- #: ad-inserter.php:6196
474
  msgid "BETWEEN COMMENTS"
475
  msgstr "MED KOMENTARJI"
476
 
477
- #: ad-inserter.php:7200
478
  msgid "requires WordPress 4.0 or newer"
479
  msgstr "potrebuje WordPress 4.0 ali novejši"
480
 
481
- #: ad-inserter.php:7200
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:7419
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:7421
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."
@@ -497,7 +501,7 @@ 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:7423
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 "
@@ -507,7 +511,7 @@ msgstr ""
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:7460
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 "
@@ -518,49 +522,49 @@ msgstr ""
518
  "nam %s in poskušali vam bomo pomagati."
519
 
520
  #. translators: %s: Ad Inserter
521
- #: ad-inserter.php:7503
522
  msgid "%s block."
523
  msgstr "%s blok."
524
 
525
  #. translators: widget title
526
- #: ad-inserter.php:7519 ad-inserter.php:7555
527
  msgid "Processing log"
528
  msgstr "Dnevnik procesiranja"
529
 
530
  #. translators: widget title
531
- #: ad-inserter.php:7521 ad-inserter.php:7556
532
  msgid "Dummy widget"
533
  msgstr "Prazen gradnik"
534
 
535
  #. translators: widget title
536
- #: ad-inserter.php:7523 ad-inserter.php:7554
537
  msgid "Debugging tools"
538
  msgstr "Orodja za razhroščevanje"
539
 
540
  #. translators: block status (widget title)
541
- #: ad-inserter.php:7530
542
  msgctxt "block"
543
  msgid "PAUSED"
544
  msgstr "USTAVLJEN"
545
 
546
- #: ad-inserter.php:7531
547
  msgid "WIDGET DISABLED"
548
  msgstr "GRADNIK ONEMOGOČEN"
549
 
550
- #: ad-inserter.php:7532
551
  msgid "Unknown block"
552
  msgstr "Neznan blok"
553
 
554
- #: ad-inserter.php:7541 includes/functions.php:2357 settings.php:1089
555
  msgid "Title"
556
  msgstr "Naslov"
557
 
558
- #: ad-inserter.php:7563
559
  msgctxt "Widget"
560
  msgid "Sticky"
561
  msgstr "Lepljiv"
562
 
563
- #: ad-inserter.php:7612
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."
@@ -569,7 +573,7 @@ msgstr ""
569
  "aktiven! Za aktivacijo vtičnika Ad Inserter morate najprej onemogočiti Ad "
570
  "Inserter Pro."
571
 
572
- #: ad-inserter.php:7613
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 "
@@ -580,130 +584,130 @@ msgstr ""
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:1869
588
  msgid "Counters"
589
  msgstr "Števci"
590
 
591
- #: class.php:1873
592
  msgid "Content"
593
  msgstr "Vsebina"
594
 
595
- #: class.php:1878
596
  msgid "Excerpt"
597
  msgstr "Izvleček"
598
 
599
- #: class.php:1883 strings.php:17
600
  msgid "Before post"
601
  msgstr "Pred prispevkom"
602
 
603
- #: class.php:1888 strings.php:18
604
  msgid "After post"
605
  msgstr "Za prispevkom"
606
 
607
- #: class.php:1893 settings.php:1576 settings.php:3158
608
  msgid "Widget"
609
  msgstr "Gradnik"
610
 
611
- #: class.php:1898 settings.php:3156
612
  msgid "PHP function call"
613
  msgstr "Klic PHP funkcije"
614
 
615
- #: class.php:1932
616
  msgid "AJAX REQUEST"
617
  msgstr "AJAX ZAHTEVEK"
618
 
619
- #: class.php:1946
620
- msgid "Ajax request url"
621
- msgstr "Url Ajax zahteve"
 
 
 
 
622
 
623
- #: class.php:1946
624
  msgid "IN THE LOOP"
625
  msgstr "V ZANKI"
626
 
627
- #: class.php:1946
628
  msgid "YES"
629
  msgstr "DA"
630
 
631
- #: class.php:1946
632
  msgid "NO"
633
  msgstr "NE"
634
 
 
 
 
 
 
 
 
 
 
635
  #. translators: %s: list parameters and type
636
- #: class.php:2285
637
  msgid "parameters='%s' type='%s'"
638
  msgstr "parametri='%s' tip='%s'"
639
 
640
  #. translators: %s: list parameters and type
641
- #: class.php:2287
642
  msgid "referers='%s' type='%s'"
643
  msgstr "napotitelji='%s' tip='%s'"
644
 
645
  #. translators: %s: list parameters and type
646
- #: class.php:2348
647
  msgid "countries='%s' type='%s'"
648
  msgstr "države='%s' tip='%s'"
649
 
650
  #. translators: %s: list parameters and type
651
- #: class.php:2350
652
  msgid "ip addresses='%s' type='%s'"
653
  msgstr "ip naslovi='%s' tip='%s'"
654
 
655
- #: class.php:2534
656
- msgid "WIDGET"
657
- msgstr "GRADNIK"
658
-
659
- #: class.php:2534
660
- msgid "BLOCK"
661
- msgstr "BLOK"
662
-
663
- #: class.php:2534
664
- msgctxt "block or widget"
665
- msgid "INSERTED BUT NOT VISIBLE"
666
- msgstr "VSTAVLJEN, VENDAR NI VIDEN"
667
-
668
- #: class.php:2707 strings.php:212
669
  msgid "BEFORE"
670
  msgstr "PRED"
671
 
672
- #: class.php:2715 strings.php:214
673
  msgid "PREPEND CONTENT"
674
  msgstr "DODAJ PRED VSEBINO"
675
 
676
- #: class.php:2719 strings.php:215
677
  msgid "APPEND CONTENT"
678
  msgstr "DODAJ ZA VSEBINO"
679
 
680
- #: class.php:2723 strings.php:216
681
  msgid "REPLACE CONTENT"
682
  msgstr "NADOMESTI VSEBINO"
683
 
684
- #: class.php:2727 strings.php:217
685
  msgid "REPLACE ELEMENT"
686
  msgstr "NADOMESTI ELEMENT"
687
 
688
- #: class.php:2738 strings.php:213
689
  msgid "AFTER"
690
  msgstr "ZA"
691
 
692
- #: class.php:2805
693
  msgctxt "JavaScript"
694
  msgid "script"
695
  msgstr "skripta"
696
 
697
- #: class.php:2807 settings.php:1845
698
  msgid "for"
699
  msgstr "za"
700
 
701
- #: class.php:5288 class.php:5340
702
  msgctxt "category name"
703
  msgid "Uncategorized"
704
  msgstr "Nekategorizirano"
705
 
706
- #: class.php:5828
707
  msgid ""
708
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
709
  "extension for PHP."
@@ -712,16 +716,16 @@ msgstr ""
712
  "namestiti DOM razširitev za PHP."
713
 
714
  #: includes/editor.php:7 includes/placeholders.php:345
715
- #: includes/preview.php:1745 strings.php:219
716
  msgid "Use"
717
  msgstr "Uporabi"
718
 
719
- #: includes/editor.php:8 includes/preview.php:1746
720
  msgid "Reset"
721
  msgstr "Ponastavi"
722
 
723
  #: includes/editor.php:9 includes/placeholders.php:347
724
- #: includes/preview.php:1748 strings.php:193 strings.php:218
725
  msgid "Cancel"
726
  msgstr "Prekliči"
727
 
@@ -730,7 +734,7 @@ msgid "Visual Code Editor"
730
  msgstr "Vizualni Urejevalnik Kode"
731
 
732
  #: includes/editor.php:262 includes/preview-adb.php:289
733
- #: includes/preview.php:1735
734
  msgid ""
735
  "This page was not loaded properly. Please check browser, plugins and ad "
736
  "blockers."
@@ -743,24 +747,33 @@ 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:1737
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:168
755
  msgid "Documentation"
756
  msgstr "Dokumentacija"
757
 
758
- #: includes/functions.php:268 settings.php:171
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"
@@ -768,27 +781,35 @@ 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."
@@ -796,62 +817,62 @@ 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:1125 settings.php:2398
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:2227
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:1915
847
  msgid "Save Settings"
848
  msgstr "Sharani Nastavitve"
849
 
850
- #: includes/functions.php:474 includes/preview.php:1880
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"
@@ -859,11 +880,11 @@ 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:1935
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"
@@ -871,15 +892,15 @@ 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:1986
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"
@@ -887,44 +908,44 @@ 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:2919 settings.php:2955
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"
@@ -932,59 +953,59 @@ 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"
@@ -992,11 +1013,11 @@ 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 "
@@ -1006,37 +1027,41 @@ msgstr ""
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 pobrisati vse podatke o statistiki za vse "
1025
  "bloke?"
1026
 
1027
- #: includes/functions.php:741
1028
  msgid "Clear All Statistics Data"
1029
  msgstr "Pobriši 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)"
@@ -1044,105 +1069,109 @@ 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:2187
 
 
 
 
1060
  msgid "Toggle country editor"
1061
  msgstr "Preklopi urejevalnik držav"
1062
 
1063
- #: includes/functions.php:799 includes/functions.php:2190
 
 
 
 
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"
@@ -1150,95 +1179,113 @@ 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, &mdash; 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:1229 settings.php:1244
1207
- #: settings.php:1831
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:1933 includes/placeholders.php:382
 
 
 
 
1220
  msgid "Width"
1221
  msgstr "Širina"
1222
 
1223
- #: includes/functions.php:1934
1224
- msgid "iframe width"
1225
- msgstr "iframe širina"
1226
 
1227
- #: includes/functions.php:1940 includes/placeholders.php:377
1228
  msgid "Height"
1229
  msgstr "Višina"
1230
 
1231
- #: includes/functions.php:1941
1232
- msgid "iframe height"
1233
- msgstr "iframe višina"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1234
 
1235
- #: includes/functions.php:1955 includes/functions.php:3298
1236
- #: includes/functions.php:3361 settings.php:1948
1237
  msgid "Ad Blocking"
1238
  msgstr "Blokiranje Oglasov"
1239
 
1240
  #. translators: 1, 2 and 3, 4: HTML tags
1241
- #: includes/functions.php:1964
1242
  msgid ""
1243
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1244
  "for tracking!"
@@ -1248,7 +1295,7 @@ msgstr ""
1248
 
1249
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1250
  #. header
1251
- #: includes/functions.php:1973
1252
  msgid ""
1253
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1254
  "enabled and automatic insertion %6$s!"
@@ -1256,49 +1303,49 @@ msgstr ""
1256
  "%1$s OPOZORILO: %2$s vertikalni položaj %3$s potrebuje %4$s Predpomnjenje "
1257
  "izhoda %5$s omogočeno in samodejno vstavljanje %6$s!"
1258
 
1259
- #: includes/functions.php:1991
1260
  msgid "When ad blocking is detected"
1261
  msgstr "Ko je blokiranje oglasov zaznano"
1262
 
1263
- #: includes/functions.php:2000
1264
  msgid "replacement"
1265
  msgstr "nadomestek"
1266
 
1267
- #: includes/functions.php:2002
1268
  msgid "Block to be shown when ad blocking is detected"
1269
  msgstr "Blok, ki naj bo prikazan, ko je zaznano blokiranje oglasov"
1270
 
1271
- #: includes/functions.php:2003
1272
  msgctxt "replacement"
1273
  msgid "None"
1274
  msgstr "Noben"
1275
 
1276
- #: includes/functions.php:2020
1277
  msgid "Close button"
1278
  msgstr "Gumb Zapri"
1279
 
1280
- #: includes/functions.php:2067
1281
  msgid "Lazy loading"
1282
  msgstr "Leno nalaganje"
1283
 
1284
  #. Translators: %s MaxMind
1285
- #: includes/functions.php:2122
1286
  msgid "This product includes GeoLite2 data created by %s"
1287
  msgstr "Ta izdelek vsebuje %s GeoLite2 podatke"
1288
 
1289
- #: includes/functions.php:2133
1290
  msgid "IP geolocation database"
1291
  msgstr "Podatkovna baza za IP geolokacijo"
1292
 
1293
- #: includes/functions.php:2136
1294
  msgid "Select IP geolocation database."
1295
  msgstr "Izberite podatkovno bazo za IP geolokacijo."
1296
 
1297
- #: includes/functions.php:2147
1298
  msgid "Automatic database updates"
1299
  msgstr "Samodejna posodobitev podatkovne baze"
1300
 
1301
- #: includes/functions.php:2150
1302
  msgid ""
1303
  "Automatically download and update free GeoLite2 IP geolocation database by "
1304
  "MaxMind"
@@ -1306,11 +1353,11 @@ msgstr ""
1306
  "Samodejno prenesi in posodobi prostodostopno GeoLite2 IP geolokacijsko "
1307
  "podatkovno bazo MaxMind"
1308
 
1309
- #: includes/functions.php:2158
1310
  msgid "Database"
1311
  msgstr "Podatkovna baza"
1312
 
1313
- #: includes/functions.php:2161
1314
  msgid ""
1315
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1316
  "file"
@@ -1319,35 +1366,35 @@ msgstr ""
1319
  "podatkovne baze"
1320
 
1321
  #. translators: %d: group number
1322
- #: includes/functions.php:2179
1323
  msgid "Group %d"
1324
  msgstr "Skupina %d"
1325
 
1326
- #: includes/functions.php:2185
1327
  msgid "countries"
1328
  msgstr "države"
1329
 
1330
- #: includes/functions.php:2220
1331
  msgid "Enable tracking"
1332
  msgstr "Omogoči sledenje"
1333
 
1334
- #: includes/functions.php:2235
1335
  msgid "Impression and Click Tracking"
1336
  msgstr "Sledenje Prikazov in Klikov"
1337
 
1338
- #: includes/functions.php:2249
1339
  msgid "Internal"
1340
  msgstr "Notranje"
1341
 
1342
- #: includes/functions.php:2253
1343
  msgid "Track impressions and clicks with internal tracking and statistics"
1344
  msgstr "Sledi prikazom in klikom z notranjim sledenjem in statistiko"
1345
 
1346
- #: includes/functions.php:2258
1347
  msgid "External"
1348
  msgstr "Zunanje"
1349
 
1350
- #: includes/functions.php:2262
1351
  msgid ""
1352
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1353
  "code installed)"
@@ -1355,27 +1402,27 @@ msgstr ""
1355
  "Sledi prikazom in klikom z Google Analytics ali Matomo (potrebuje nameščeno "
1356
  "kodo za sledenje)"
1357
 
1358
- #: includes/functions.php:2267
1359
  msgid "Track Pageviews"
1360
  msgstr "Sledi Ogledom Strani"
1361
 
1362
- #: includes/functions.php:2273
1363
  msgid "Track Pageviews by Device (as configured for viewports)"
1364
  msgstr "Sledi Ogledom Strani po Napravah (kot so nastavljene za poglede)"
1365
 
1366
- #: includes/functions.php:2283
1367
  msgid "Track for Logged in Users"
1368
  msgstr "Sledi za Prijavljene Upor."
1369
 
1370
- #: includes/functions.php:2289
1371
  msgid "Track impressions and clicks from logged in users"
1372
  msgstr "Sledi prikazom in klikom neprijavljenih uporabnikov"
1373
 
1374
- #: includes/functions.php:2299
1375
  msgid "Click Detection"
1376
  msgstr "Zaznavanje klikov"
1377
 
1378
- #: includes/functions.php:2305
1379
  msgid ""
1380
  "Standard method detects clicks only on banners with links, Advanced method "
1381
  "can detect clicks on any kind of ads, but it is slightly less accurate"
@@ -1383,102 +1430,102 @@ msgstr ""
1383
  "Standardni način zazna klike samo na pasicah s povezavami, Napredni način "
1384
  "lahko zazna klike na kateremkoli oglasu, ampak je rahlo manj zanesljiv"
1385
 
1386
- #: includes/functions.php:2344
1387
  msgid "Are you sure you want to clear all exceptions for block"
1388
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok"
1389
 
1390
- #: includes/functions.php:2345 settings.php:1092
1391
  msgid "Clear all exceptions for block"
1392
  msgstr "Pobriši vse izjeme za blok"
1393
 
1394
- #: includes/functions.php:2352
1395
  msgid "Are you sure you want to clear all exceptions?"
1396
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme?"
1397
 
1398
- #: includes/functions.php:2352
1399
  msgid "Clear all exceptions for all blocks"
1400
  msgstr "Pobriši vse izjeme za vse bloke"
1401
 
1402
- #: includes/functions.php:2357 settings.php:3228
1403
  msgid "Type"
1404
  msgstr "Vrsta"
1405
 
1406
- #: includes/functions.php:2375
1407
  msgid "View"
1408
  msgstr "Poglej"
1409
 
1410
- #: includes/functions.php:2376 includes/placeholders.php:346
1411
- #: includes/preview.php:2048 settings.php:1008
1412
  msgid "Edit"
1413
  msgstr "Uredi"
1414
 
1415
- #: includes/functions.php:2406
1416
  msgid "Are you sure you want to clear all exceptions for"
1417
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za"
1418
 
1419
- #: includes/functions.php:2407
1420
  msgid "Clear all exceptions for"
1421
  msgstr "Pobriši vse izjeme za"
1422
 
1423
- #: includes/functions.php:2420
1424
  msgid "No exceptions"
1425
  msgstr "Brez izjem"
1426
 
1427
  #. translators: %s: Ad Inserter Pro
1428
- #: includes/functions.php:2431
1429
  msgid "%s options for network blogs"
1430
  msgstr "%s izbire za omrežne bloge"
1431
 
1432
  #. translators: %s: Ad Inserter Pro
1433
- #: includes/functions.php:2436
1434
  msgid "Enable %s widgets for sub-sites"
1435
  msgstr "Omogoči %s gradnik za pod-spletišča"
1436
 
1437
- #: includes/functions.php:2436
1438
  msgid "Widgets"
1439
  msgstr "Gradniki"
1440
 
1441
- #: includes/functions.php:2441
1442
  msgid "Enable PHP code processing for sub-sites"
1443
  msgstr "Omogoči procesiranje PHP kode za pod-spletišča"
1444
 
1445
- #: includes/functions.php:2441
1446
  msgid "PHP Processing"
1447
  msgstr "PHP Procesiranje"
1448
 
1449
  #. translators: %s: Ad Inserter Pro
1450
- #: includes/functions.php:2446
1451
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1452
  msgstr ""
1453
  "Omogoči %s izjeme blokov v urejevalniku prispevkov/strani za pod-spletišča"
1454
 
1455
- #: includes/functions.php:2446
1456
  msgid "Post/Page exceptions"
1457
  msgstr "Izjeme prispevkov/strani"
1458
 
1459
  #. translators: %s: Ad Inserter Pro
1460
- #: includes/functions.php:2451
1461
  msgid "Enable %s settings page for sub-sites"
1462
  msgstr "Omogoči nastavitveno stran %s za pod-spletišča"
1463
 
1464
- #: includes/functions.php:2451
1465
  msgid "Settings page"
1466
  msgstr "Stran z nastavitvami"
1467
 
1468
  #. translators: %s: Ad Inserter Pro
1469
- #: includes/functions.php:2456
1470
  msgid "Enable %s settings of main site to be used for all blogs"
1471
  msgstr "Omogoči %s nastavitve glavnega spletišča za uporabo na vseh blogih"
1472
 
1473
- #: includes/functions.php:2456
1474
  msgid "Main site settings used for all blogs"
1475
  msgstr "Nastavitve glavnega spletišča uporabljene na vseh blogih"
1476
 
1477
- #: includes/functions.php:2467 settings.php:2356
1478
  msgid "Ad Blocking Detection"
1479
  msgstr "Zaznavanje Blokiranja Oglasov"
1480
 
1481
- #: includes/functions.php:2473
1482
  msgid ""
1483
  "Standard method is reliable but should be used only if Advanced method does "
1484
  "not work. Advanced method recreates files used for detection with random "
@@ -1490,71 +1537,71 @@ msgstr ""
1490
  "imeni in mogoče ne bo deloval s skriptami v upload mapi, če ta ni javno "
1491
  "dostopna"
1492
 
1493
- #: includes/functions.php:2861 includes/functions.php:2942
1494
- #: includes/functions.php:2962
1495
  msgid "AD BLOCKING"
1496
  msgstr "BLOKIRANJE OGLASOV"
1497
 
1498
- #: includes/functions.php:2862 includes/functions.php:2893
1499
- #: includes/functions.php:2936 includes/functions.php:2963
1500
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1501
  msgstr "BLOK VSTAVLJEN, VENDAR NI VIDEN"
1502
 
1503
- #: includes/functions.php:2865 includes/functions.php:2935
1504
- #: includes/functions.php:2969
1505
  msgid "NO AD BLOCKING"
1506
  msgstr "NI BLOKIRANJA OGLASOV"
1507
 
1508
- #: includes/functions.php:2892 includes/functions.php:2899
1509
  msgid "AD BLOCKING REPLACEMENT"
1510
  msgstr "NADOMESTEK V PRIMERU BLOKIRANJA OGLASOV"
1511
 
1512
- #: includes/functions.php:3297
1513
  msgctxt "Version"
1514
  msgid "Unknown"
1515
  msgstr "Neznana"
1516
 
1517
- #: includes/functions.php:3297
1518
  msgctxt "Times"
1519
  msgid "DISPLAYED"
1520
  msgstr "PRIKAZANO"
1521
 
1522
- #: includes/functions.php:3297
1523
  msgid "No version"
1524
  msgstr "Brez različice"
1525
 
1526
- #: includes/functions.php:3298
1527
  msgctxt "Times"
1528
  msgid "BLOCKED"
1529
  msgstr "BLOKIRANO"
1530
 
1531
- #: includes/functions.php:3360
1532
  msgid "Pageviews"
1533
- msgstr "Ogledov strani"
1534
 
1535
- #: includes/functions.php:3360
1536
  msgid "Impressions"
1537
  msgstr "Prikazi"
1538
 
1539
- #: includes/functions.php:3361 includes/functions.php:3362
1540
- #: includes/functions.php:3370
1541
  msgid "Clicks"
1542
  msgstr "Kliki"
1543
 
1544
- #: includes/functions.php:3362
1545
  msgid "events"
1546
  msgstr "dogodki"
1547
 
1548
- #: includes/functions.php:3363
1549
  msgid "Ad Blocking Share"
1550
  msgstr "Delež blokiranja oglasov"
1551
 
1552
  #. translators: CTR as Click Through Rate
1553
- #: includes/functions.php:3363 includes/functions.php:3375
1554
  msgid "CTR"
1555
  msgstr "CTR"
1556
 
1557
- #: includes/functions.php:3457
1558
  msgid "pageviews"
1559
  msgid_plural "pageviews"
1560
  msgstr[0] "ogled strani"
@@ -1562,7 +1609,7 @@ msgstr[1] "ogleda strani"
1562
  msgstr[2] "ogledi strani"
1563
  msgstr[3] "ogledov strani"
1564
 
1565
- #: includes/functions.php:3457
1566
  msgid "impressions"
1567
  msgid_plural "impressions"
1568
  msgstr[0] "prikaz"
@@ -1570,7 +1617,7 @@ msgstr[1] "prikaza"
1570
  msgstr[2] "prikazi"
1571
  msgstr[3] "prikazov"
1572
 
1573
- #: includes/functions.php:3461
1574
  msgid "event"
1575
  msgid_plural "events"
1576
  msgstr[0] "dogodek"
@@ -1578,7 +1625,7 @@ msgstr[1] "dogodka"
1578
  msgstr[2] "dogodki"
1579
  msgstr[3] "dogodkov"
1580
 
1581
- #: includes/functions.php:3461
1582
  msgid "click"
1583
  msgid_plural "clicks"
1584
  msgstr[0] "klik"
@@ -1586,21 +1633,66 @@ msgstr[1] "klika"
1586
  msgstr[2] "kliki"
1587
  msgstr[3] "klikov"
1588
 
1589
- #: includes/functions.php:3529
1590
- msgctxt "Impressions"
1591
  msgid "Average"
1592
  msgstr "Povprečni"
1593
 
1594
- #: includes/functions.php:3547
1595
- msgctxt "Clicks"
1596
  msgid "Average"
1597
- msgstr "Povprečni"
1598
 
1599
- #: includes/functions.php:3564
1600
  msgctxt "Ad Blocking Share / CTR"
1601
  msgid "Average"
1602
  msgstr "Povprečni"
1603
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1604
  #: includes/placeholders.php:19
1605
  msgid "Custom"
1606
  msgstr "Po meri"
@@ -1625,7 +1717,7 @@ msgstr "Zapri urejevalnik polnila"
1625
  msgid "Placeholder"
1626
  msgstr "Polnilo"
1627
 
1628
- #: includes/placeholders.php:356 settings.php:774 settings.php:3229
1629
  msgid "Size"
1630
  msgstr "Velikost"
1631
 
@@ -1718,7 +1810,7 @@ msgstr "Dodaj testni odstavek"
1718
  msgid "Remove dummy paragraph"
1719
  msgstr "Odstrani testni odstavek"
1720
 
1721
- #: includes/preview-adb.php:9 includes/preview.php:1745
1722
  msgid "Use current settings"
1723
  msgstr "Uporabi trenutne nastavitve"
1724
 
@@ -1745,7 +1837,7 @@ msgctxt "Button"
1745
  msgid "Default"
1746
  msgstr "Privzeto"
1747
 
1748
- #: includes/preview-adb.php:12 includes/preview.php:1748
1749
  msgid "Close preview window"
1750
  msgstr "Zapri okno predogleda"
1751
 
@@ -1758,67 +1850,67 @@ msgstr "Prekliči"
1758
  msgid "Ad Blocking Detected Message Preview"
1759
  msgstr "Predogled Sporočila ko je Zaznano Blokiranje Oglasov"
1760
 
1761
- #: includes/preview-adb.php:348 settings.php:2473
1762
  msgid "Message CSS"
1763
  msgstr "CSS sporočila"
1764
 
1765
- #: includes/preview-adb.php:353 settings.php:2481
1766
  msgid "Overlay CSS"
1767
  msgstr "CSS prevleke"
1768
 
1769
- #: includes/preview.php:137
1770
  msgid "Sticky Code Preview"
1771
  msgstr "Predogled Lepljive Kode"
1772
 
1773
- #: includes/preview.php:137
1774
  msgid "Code Preview"
1775
  msgstr "Predogled Kode"
1776
 
1777
- #: includes/preview.php:1743
1778
  msgid "Highlight inserted code"
1779
  msgstr "Označi vstavljeno kodo"
1780
 
1781
- #: includes/preview.php:1743
1782
  msgid "Highlight"
1783
  msgstr "Označi"
1784
 
1785
- #: includes/preview.php:1746
1786
  msgid "Reset to block settings"
1787
  msgstr "Ponastavi na nastavitve bloka"
1788
 
1789
- #: includes/preview.php:1757 settings.php:930 settings.php:2460
1790
- msgid "Preview"
1791
- msgstr "Predogled"
1792
-
1793
- #: includes/preview.php:1761
1794
  msgid "AdSense ad unit"
1795
  msgstr "Oglasna enota AdSense"
1796
 
1797
- #: includes/preview.php:1829
 
 
 
 
1798
  msgid "wrapping div"
1799
  msgstr "div za ovijanje"
1800
 
1801
- #: includes/preview.php:1834 includes/preview.php:1841
1802
  msgid "background"
1803
  msgstr "ozadje"
1804
 
1805
- #: includes/preview.php:1859 includes/preview.php:2005 settings.php:972
1806
  msgid "Alignment and style"
1807
  msgstr "Poravnava in slog"
1808
 
1809
- #: includes/preview.php:1927
1810
  msgid "Horizontal margin"
1811
  msgstr "Vodoravni odmik"
1812
 
1813
- #: includes/preview.php:1976
1814
  msgid "Vertical margin"
1815
  msgstr "Navpični odmik"
1816
 
1817
- #: includes/preview.php:1998
1818
  msgid "Animate"
1819
  msgstr "Animiraj"
1820
 
1821
- #: includes/preview.php:2057
1822
  msgid ""
1823
  "This is a preview of the code between dummy paragraphs. Here you can test "
1824
  "various block alignments, visually edit margin and padding values of the "
@@ -1833,7 +1925,7 @@ msgstr ""
1833
  "označi ozadje, margin območje div-a za ovijanje in območje kode, gumb "
1834
  "Ponastavi pa vrne vse vrednosti na tiste od trenutnega bloka."
1835
 
1836
- #: includes/preview.php:2060
1837
  msgid ""
1838
  "This is a preview of the saved block between dummy paragraphs. It shows the "
1839
  "code with the alignment and style as it is set for this block. Highlight "
@@ -1843,7 +1935,7 @@ msgstr ""
1843
  "poravnavo in slogom kot je nastavljen za ta blok. Gump Označi označi ozadje, "
1844
  "margin območje div-a za ovijanje in območje kode."
1845
 
1846
- #: includes/preview.php:2062
1847
  msgid ""
1848
  "This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
1849
  "code was loaded from your AdSense account. The ad block is displayed on a "
@@ -1855,7 +1947,7 @@ msgstr ""
1855
  "testnimi odstavki, zato je lahko prazen (brez oglasov). Kliknite na gumb "
1856
  "Označi za označitev bloka."
1857
 
1858
- #: includes/preview.php:2068
1859
  msgid ""
1860
  "You can resize the window (and refresh the page to reload ads) to check "
1861
  "display with different screen widths.\n"
@@ -1867,7 +1959,7 @@ msgstr ""
1867
  "Ko ste zadovoljni s poravnavo kliknite na gumb Uporabi in nastavitve se bodo "
1868
  "prenesle v aktivni blok."
1869
 
1870
- #: includes/preview.php:2070
1871
  msgid ""
1872
  "Please note that the code, block name, alignment and style are taken from "
1873
  "the current block settings (may not be saved).\n"
@@ -1880,9 +1972,9 @@ msgstr ""
1880
  "margin in padding ne morete nastaviti. Seveda pa lahko uporabite lastno HTML "
1881
  "kodo za blok."
1882
 
1883
- #: includes/preview.php:2075 includes/preview.php:2089
1884
- #: includes/preview.php:2099 includes/preview.php:2109
1885
- #: includes/preview.php:2119
1886
  msgid ""
1887
  "Ad Inserter can be configured to insert any code anywhere on the page. Each "
1888
  "code with it's settings is called a block.\n"
@@ -1906,9 +1998,9 @@ msgstr ""
1906
  "številka pomeni, da blok uporablja ročno vstavljanje, medtem ko vijolična "
1907
  "številka pomeni, da blok uporablja samodejno in ročno vstavljanje."
1908
 
1909
- #: includes/preview.php:2080 includes/preview.php:2094
1910
- #: includes/preview.php:2104 includes/preview.php:2114
1911
- #: includes/preview.php:2124
1912
  msgid ""
1913
  "Few very important things you need to know in order to insert code and "
1914
  "display some ad:\n"
@@ -1931,7 +2023,7 @@ msgstr ""
1931
  "za posamezne izjeme. Uporabite privzeto prazno vrednost, razen, če "
1932
  "uporabljate posamezne izjeme za prispevke/strani."
1933
 
1934
- #: includes/preview.php:2086
1935
  msgid ""
1936
  "This is a preview of the code for sticky ads. Here you can test various "
1937
  "horizontal and vertical alignments, close button locations, visually edit "
@@ -2102,144 +2194,144 @@ msgstr ""
2102
  msgid "General Settings"
2103
  msgstr "Splošne Nastavitve"
2104
 
2105
- #: settings.php:562 settings.php:2232 settings.php:2290 settings.php:2453
2106
  msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
2107
  msgstr ""
2108
  "Preklopi Poudarjanje Sintakse / Preprost urejevalnik za mobilne naprave"
2109
 
2110
- #: settings.php:569
2111
  msgid "Toggle tools"
2112
  msgstr "Preklopi orodja"
2113
 
2114
- #: settings.php:577
2115
  msgid "Process PHP code in block"
2116
  msgstr "Procesiraj PHP kodo v bloku"
2117
 
2118
- #: settings.php:584
2119
  msgid "Disable insertion of this block"
2120
  msgstr "Onemogoči vstavljanje tega bloka"
2121
 
2122
- #: settings.php:596
2123
  msgid "Toggle code generator"
2124
  msgstr "Preklopi generator kode"
2125
 
2126
- #: settings.php:600
2127
  msgid "Toggle rotation editor"
2128
  msgstr "Preklopi urejevalnik rotacije"
2129
 
2130
- #: settings.php:604
2131
  msgid "Open visual HTML editor"
2132
  msgstr "Odpri vizualni HTML urejevalnik"
2133
 
2134
- #: settings.php:614
2135
  msgid "Show AdSense ad units"
2136
  msgstr "Pokaži oglasne enote AdSense"
2137
 
2138
- #: settings.php:623
2139
  msgid "Clear block"
2140
  msgstr "Počisti blok"
2141
 
2142
- #: settings.php:628 settings.php:3123
2143
  msgid "Copy block"
2144
  msgstr "Kopiraj blok"
2145
 
2146
- #: settings.php:632
2147
  msgid "Paste name"
2148
  msgstr "Prilepi ime"
2149
 
2150
- #: settings.php:636
2151
  msgid "Paste code"
2152
  msgstr "Prilepi kodo"
2153
 
2154
- #: settings.php:640
2155
  msgid "Paste settings"
2156
  msgstr "Prilepi nastavitve"
2157
 
2158
- #: settings.php:644
2159
  msgid "Paste block (name, code and settings)"
2160
  msgstr "Prilepi blok (ime, kodo in nastavitve)"
2161
 
2162
- #: settings.php:663
2163
  msgid "Remove option"
2164
  msgstr "Odstrani različico"
2165
 
2166
- #: settings.php:667
2167
  msgid "Add option"
2168
  msgstr "Dodaj različico"
2169
 
2170
- #: settings.php:682
2171
  msgid "Import code"
2172
  msgstr "Uvozi kodo"
2173
 
2174
- #: settings.php:686
2175
  msgid "Generate code"
2176
  msgstr "Generiraj kodo"
2177
 
2178
- #: settings.php:691
2179
  msgid "Banner"
2180
  msgstr "Pasica"
2181
 
2182
- #: settings.php:702
2183
  msgid "Image"
2184
  msgstr "Slika"
2185
 
2186
- #: settings.php:710
2187
  msgid "Link"
2188
  msgstr "Povezava"
2189
 
2190
- #: settings.php:721
2191
  msgid "Open link in a new tab"
2192
  msgstr "Odpri povezavo v novem zavihku"
2193
 
2194
- #: settings.php:722
2195
  msgid "Select Image"
2196
  msgstr "Izberi Sliko"
2197
 
2198
- #: settings.php:723
2199
  msgid "Select Placeholder"
2200
  msgstr "Izberi Polnilo"
2201
 
2202
- #: settings.php:735
2203
  msgid "Comment"
2204
  msgstr "Komentar"
2205
 
2206
- #: settings.php:744
2207
  msgctxt "AdSense"
2208
  msgid "Publisher ID"
2209
  msgstr "ID založnika"
2210
 
2211
- #: settings.php:753
2212
  msgctxt "AdSense"
2213
  msgid "Ad Slot ID"
2214
  msgstr "ID mesta"
2215
 
2216
- #: settings.php:762
2217
  msgid "Ad Type"
2218
  msgstr "Vrsta"
2219
 
2220
- #: settings.php:786
2221
  msgid "AMP Ad"
2222
  msgstr "AMP Oglas"
2223
 
2224
- #: settings.php:803
2225
  msgid "Show ad units from your AdSense account"
2226
  msgstr "Prikaži oglasne enote s tvojega AdSense računa"
2227
 
2228
- #: settings.php:803
2229
  msgid "AdSense ad units"
2230
  msgstr "Oglasne enote AdSense"
2231
 
2232
- #: settings.php:820
2233
  msgctxt "AdSense"
2234
  msgid "Layout"
2235
  msgstr "Postavitev"
2236
 
2237
- #: settings.php:829
2238
  msgctxt "AdSense"
2239
  msgid "Layout Key"
2240
  msgstr "Ključ postavitve"
2241
 
2242
- #: settings.php:926
2243
  msgid ""
2244
  "White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
2245
  "Cookie or Referer (domain)"
@@ -2247,28 +2339,28 @@ msgstr ""
2247
  "Bel/Črn seznam Kategorij, Oznak, Taksonomij, ID Prispevkov, Url-jev, Url "
2248
  "parametrov, Piškotkov ali napotiteljev (domen)"
2249
 
2250
- #: settings.php:926
2251
  msgid "Lists"
2252
  msgstr "Seznami"
2253
 
2254
- #: settings.php:927
2255
  msgid "Widget, Shortcode and PHP function call"
2256
  msgstr "Gradnik, Kratka koda in Klic PHP funkcije"
2257
 
2258
- #: settings.php:927
2259
  msgid "Manual"
2260
  msgstr "Ročno"
2261
 
2262
- #: settings.php:928
2263
  msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
2264
  msgstr ""
2265
  "Zaznavanje Naprave na strani Strežnika/Klienta (Namizni, Tablica, Telefon)"
2266
 
2267
- #: settings.php:928
2268
  msgid "Devices"
2269
  msgstr "Naprave"
2270
 
2271
- #: settings.php:929
2272
  msgid ""
2273
  "Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
2274
  "feeds), Filter, Scheduling, General tag"
@@ -2276,15 +2368,15 @@ msgstr ""
2276
  "Preveri status uporabnika, Omeji vstavljanja (napaka 404, zahteve Ajax, vir "
2277
  "RSS), Filter, Urnik, Splošna oznaka"
2278
 
2279
- #: settings.php:929
2280
  msgid "Misc"
2281
  msgstr "Razno"
2282
 
2283
- #: settings.php:930
2284
  msgid "Preview code and alignment"
2285
  msgstr "Predogled kode in poravnave"
2286
 
2287
- #: settings.php:933 settings.php:1913
2288
  msgid ""
2289
  "Rotation editor active - rotation code not generated! Make sure no rotation "
2290
  "editor is active before saving settings."
@@ -2292,29 +2384,29 @@ msgstr ""
2292
  "Aktiven urejevalnik rotacij - koda za rotacijo ni generirana! Poskrbite, da "
2293
  "noben urejevalnik rotacij ni aktiven pred shranjevanjem nastavitev."
2294
 
2295
- #: settings.php:935
2296
  msgid "Save All Settings"
2297
  msgstr "Sharani Vse Nastavitve"
2298
 
2299
- #: settings.php:985 strings.php:179
2300
  msgctxt "Button"
2301
  msgid "Show"
2302
  msgstr "Pokaži"
2303
 
2304
- #: settings.php:997
2305
  msgid "Custom CSS code for the wrapping div"
2306
  msgstr "CSS koda po meri za div za ovijanje"
2307
 
2308
- #: settings.php:1000 settings.php:1001 settings.php:1002 settings.php:1003
2309
- #: settings.php:1004 settings.php:1005
2310
  msgid "CSS code for the wrapping div, click to edit"
2311
  msgstr "CSS koda za div za ovijanje, kliknite za urejanje"
2312
 
2313
- #: settings.php:1020
2314
  msgid "Enable insertion on posts"
2315
  msgstr "Omogoči vstavljanje na prispevkih"
2316
 
2317
- #: settings.php:1022 settings.php:1028
2318
  msgid ""
2319
  "Individual post exceptions (if enabled here) can be configured in post "
2320
  "editor. Leave blank for no individual post exceptions."
@@ -2322,15 +2414,15 @@ msgstr ""
2322
  "Posamezne izjeme za prispevke (če so omogočene tukaj) se lahko nastavijo v "
2323
  "urejevalniku prispevka. Pustite prazno za prispevke brez posameznih izjem."
2324
 
2325
- #: settings.php:1028
2326
  msgid "Posts"
2327
  msgstr "Prispevki"
2328
 
2329
- #: settings.php:1033
2330
  msgid "Toggle list of individual exceptions"
2331
  msgstr "Preklopi seznam posameznih izjem"
2332
 
2333
- #: settings.php:1043 settings.php:1044
2334
  msgid ""
2335
  "Enable insertion on homepage: latest posts (including on sub-pages), static "
2336
  "page or theme homepage (available positions may depend on hooks used by the "
@@ -2340,23 +2432,23 @@ msgstr ""
2340
  "podstraneh), statična stran ali domača stran teme (razpoložljivi položaji so "
2341
  "lahko odvisni od ročic, ki jih tema uporablja)"
2342
 
2343
- #: settings.php:1044
2344
  msgid "Homepage"
2345
  msgstr "Domača stran"
2346
 
2347
- #: settings.php:1048 settings.php:1049
2348
  msgid "Enable insertion on category blog pages (including sub-pages)"
2349
  msgstr "Omogoči vstavljanje na straneh kategorij (vključno s podstranmi)"
2350
 
2351
- #: settings.php:1049
2352
  msgid "Category pages"
2353
  msgstr "Strani kategorij"
2354
 
2355
- #: settings.php:1056
2356
  msgid "Enable insertion on static pages"
2357
  msgstr "Omogoči vstavljanje na statičnih straneh"
2358
 
2359
- #: settings.php:1058 settings.php:1064
2360
  msgid ""
2361
  "Individual static page exceptions (if enabled here) can be configured in "
2362
  "page editor. Leave blank for no individual page exceptions."
@@ -2365,53 +2457,53 @@ msgstr ""
2365
  "nastavijo v urejevalniku strani. Pustite prazno za strani brez posameznih "
2366
  "izjem."
2367
 
2368
- #: settings.php:1064
2369
  msgid "Static pages"
2370
  msgstr "Statične strani"
2371
 
2372
- #: settings.php:1070 settings.php:1071
2373
  msgid "Enable insertion on search blog pages"
2374
  msgstr "Omogoči vstavljanje na iskalnih straneh"
2375
 
2376
- #: settings.php:1071
2377
  msgid "Search pages"
2378
  msgstr "Iskalne strani"
2379
 
2380
- #: settings.php:1075 settings.php:1076
2381
  msgid "Enable insertion on tag or archive blog pages"
2382
  msgstr "Omogoči vstavljanje na straneh oznak in arhivskih straneh"
2383
 
2384
- #: settings.php:1076
2385
  msgid "Tag / Archive pages"
2386
  msgstr "Strani oznak / arhiva"
2387
 
2388
- #: settings.php:1089
2389
  msgctxt "post"
2390
  msgid "Type"
2391
  msgstr "Vrsta"
2392
 
2393
  #. translators: %d: block number
2394
- #: settings.php:1091
2395
  msgid "Are you sure you want to clear all exceptions for block %d?"
2396
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok %d?"
2397
 
2398
- #: settings.php:1121
2399
  msgid "HTML element"
2400
  msgstr "HTML element"
2401
 
2402
- #: settings.php:1134
2403
  msgid "HTML element selector or comma separated list of selectors"
2404
  msgstr "Selektor HTML elementa ali z vejicami ločen seznam selektorjev"
2405
 
2406
- #: settings.php:1140 settings.php:2366
2407
  msgid "Action"
2408
  msgstr "Akcija"
2409
 
2410
- #: settings.php:1151 settings.php:1707
2411
  msgid "Insertion"
2412
  msgstr "Vstavljanje"
2413
 
2414
- #: settings.php:1152
2415
  msgid ""
2416
  "Client-side insertion uses JavaScript to insert block when the page loads. "
2417
  "Server-side insertion inserts block when the page is generated but needs "
@@ -2421,11 +2513,11 @@ msgstr ""
2421
  "se stran naloži. Vstavljanje na strani strežnika vstavi blok, ko se stran "
2422
  "ustvari, vendar potrebuje omogočeno Predpomnjenje izhoda."
2423
 
2424
- #: settings.php:1162
2425
  msgid "JavaScript code position"
2426
  msgstr "Položaj JavaScript kode"
2427
 
2428
- #: settings.php:1163
2429
  msgid ""
2430
  "Page position where the JavaScript code for client-side insertion will be "
2431
  "inserted. Should be after the HTML element if not waiting for DOM ready."
@@ -2434,11 +2526,11 @@ msgstr ""
2434
  "strani klienta. Biti mora za HTML elementom, če se ne čaka na pripravljen "
2435
  "DOM."
2436
 
2437
- #: settings.php:1177
2438
  msgid "Paragraphs"
2439
  msgstr "Odstavki"
2440
 
2441
- #: settings.php:1183
2442
  msgid ""
2443
  "Paragraph number or comma separated paragraph numbers: 1 to N means "
2444
  "paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
@@ -2449,58 +2541,78 @@ msgid ""
2449
  msgstr ""
2450
  "Številka odstavka ali z vejico ločene številke odstavkov: 1 do N pomeni "
2451
  "številko odstavka, %N pomeni vsakih N odstavkov, prazno pomeni vse odstavke, "
2452
- "0 pomeni naključni odstavek, vrednost med 0 in 1 pomeni relativen položaj na "
2453
  "strani (0.2 pomeni odstavek pri 20% odstavkov strani, 0.5 pomeni odstavek na "
2454
  "polovici strani, 0.9 pomeni odstavek pri 90% odstavkov strani...), negativno "
2455
  "število pomeni štetje z nasprotne smeri"
2456
 
2457
- #: settings.php:1189
2458
  msgid "Counting"
2459
  msgstr "Štetje"
2460
 
2461
- #: settings.php:1190
2462
  msgid "Clearance"
2463
  msgstr "Izogibanje"
2464
 
2465
- #: settings.php:1199
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2466
  msgid "Count"
2467
  msgstr "Štej"
2468
 
2469
- #: settings.php:1205
2470
  msgid "paragraphs with tags"
2471
  msgstr "odstavke z značkami"
2472
 
2473
- #: settings.php:1211
2474
  msgid "Comma separated HTML tag names, usually only 'p' tags are used"
2475
  msgstr ""
2476
  "Z vejico ločena imena HTML značk, običajno so uporabljene samo značke 'p'"
2477
 
2478
- #: settings.php:1220
2479
  msgid "that have between"
2480
  msgstr "ki imajo med"
2481
 
2482
- #: settings.php:1226
2483
  msgid "Minimum number of paragraph words, leave empty for no limit"
2484
  msgstr "Najmanjše število besed v odstavkih, prazno pomeni brez omejitev"
2485
 
2486
- #: settings.php:1235
2487
  msgid "Maximum number of paragraph words, leave empty for no limit"
2488
  msgstr "Največje število besed v odstavkih, prazno pomeni brez omejitev"
2489
 
2490
- #: settings.php:1238 settings.php:1833
2491
  msgid "words"
2492
  msgstr "besed"
2493
 
2494
- #: settings.php:1253 settings.php:1319 settings.php:1345
2495
  msgid "Comma separated texts"
2496
  msgstr "Z vejico ločena besedila"
2497
 
2498
- #: settings.php:1262
2499
  msgid "Minimum number of paragraphs"
2500
  msgstr "Najmanjše število odstavkov"
2501
 
2502
  #. translators: %s: list of HTML tags
2503
- #: settings.php:1277
2504
  msgid ""
2505
  "Count also paragraphs inside %s elements - defined on general plugin "
2506
  "settings page - tab &#9881; / tab General"
@@ -2508,15 +2620,15 @@ msgstr ""
2508
  "Štej tudi odstavke znotraj elementov %s - določeni na strani splošnih "
2509
  "nastavitev vtičnika - zavihek &#9881; / zavihek Splošno"
2510
 
2511
- #: settings.php:1277
2512
  msgid "Count inside special elements"
2513
  msgstr "Štej znotraj posebnih elementov"
2514
 
2515
- #: settings.php:1288
2516
  msgid "Minimum number of words in paragraphs above"
2517
  msgstr "Najmanjše število besed v odstavkih zgoraj"
2518
 
2519
- #: settings.php:1294
2520
  msgid ""
2521
  "Used only with automatic insertion After paragraph and empty paragraph "
2522
  "numbers"
@@ -2524,128 +2636,128 @@ msgstr ""
2524
  "Uporabljeno samo s samodejnim vstavljanjem Za odstavkom in s praznimi "
2525
  "številkami odstavkov"
2526
 
2527
- #: settings.php:1304 settings.php:1330
2528
  msgid "In"
2529
  msgstr "V"
2530
 
2531
- #: settings.php:1310
2532
  msgid "Number of paragraphs above to check, leave empty to disable checking"
2533
  msgstr "Število odstavkov zgoraj za preverjanje, prazno onemogoči preverjanje"
2534
 
2535
- #: settings.php:1313
2536
  msgid "paragraphs above avoid"
2537
  msgstr "odstavkih zgoraj se izogni"
2538
 
2539
- #: settings.php:1336
2540
  msgid "Number of paragraphs below to check, leave empty to disable checking"
2541
  msgstr "Število odstavkov spodaj za preverjanje, prazno onemogoči preverjanje"
2542
 
2543
- #: settings.php:1339
2544
  msgid "paragraphs below avoid"
2545
  msgstr "odstavkih spodaj se izogni"
2546
 
2547
- #: settings.php:1355
2548
  msgid "If text is found"
2549
  msgstr "Če je besedilo najdeno"
2550
 
2551
- #: settings.php:1362
2552
  msgid "check up to"
2553
  msgstr "preveri do"
2554
 
2555
- #: settings.php:1370
2556
  msgctxt "check up to"
2557
  msgid "paragraphs"
2558
  msgstr "odstavkov"
2559
 
2560
- #: settings.php:1386
2561
  msgid "Categories"
2562
  msgstr "Kategorije"
2563
 
2564
- #: settings.php:1389
2565
  msgid "Toggle category editor"
2566
  msgstr "Preklopi urejevalnik kategorij"
2567
 
2568
- #: settings.php:1392
2569
  msgid "Comma separated category slugs"
2570
  msgstr "Z vejico ločeni ključi kategorij"
2571
 
2572
- #: settings.php:1396
2573
  msgid "Blacklist categories"
2574
  msgstr "Črni seznam kategorij"
2575
 
2576
- #: settings.php:1400
2577
  msgid "Whitelist categories"
2578
  msgstr "Beli seznam kategorij"
2579
 
2580
- #: settings.php:1412
2581
  msgid "Tags"
2582
  msgstr "Oznake"
2583
 
2584
- #: settings.php:1415
2585
  msgid "Toggle tag editor"
2586
  msgstr "Preklopi urejevalnik oznak"
2587
 
2588
- #: settings.php:1418
2589
  msgid "Comma separated tag slugs"
2590
  msgstr "Z vejico ločeni ključi oznak"
2591
 
2592
- #: settings.php:1422
2593
  msgid "Blacklist tags"
2594
  msgstr "Črni seznam oznak"
2595
 
2596
- #: settings.php:1426
2597
  msgid "Whitelist tags"
2598
  msgstr "Beli seznam oznak"
2599
 
2600
- #: settings.php:1438
2601
  msgid "Taxonomies"
2602
  msgstr "Taksonomije"
2603
 
2604
- #: settings.php:1441
2605
  msgid "Toggle taxonomy editor"
2606
  msgstr "Preklopi urejevalnik taksonomij"
2607
 
2608
- #: settings.php:1444
2609
  msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
2610
  msgstr "Z vejico ločeni ključi: taksonomija, izraz ali taksonomija:izraz"
2611
 
2612
- #: settings.php:1448
2613
  msgid "Blacklist taxonomies"
2614
  msgstr "Črni seznam taksonomij"
2615
 
2616
- #: settings.php:1452
2617
  msgid "Whitelist taxonomies"
2618
  msgstr "Beli seznam taksonomij"
2619
 
2620
- #: settings.php:1464
2621
  msgid "Post IDs"
2622
  msgstr "ID-ji prispevkov"
2623
 
2624
- #: settings.php:1467
2625
  msgid "Toggle post/page ID editor"
2626
  msgstr "Preklopi urejevalnik ID-jev prispevkov/strani"
2627
 
2628
- #: settings.php:1470
2629
  msgid "Comma separated post/page IDs"
2630
  msgstr "Z vejico ločeni ID-ji prispevkov/strani"
2631
 
2632
- #: settings.php:1474
2633
  msgid "Blacklist IDs"
2634
  msgstr "Črni seznam ID-jev"
2635
 
2636
- #: settings.php:1478
2637
  msgid "Whitelist IDs"
2638
  msgstr "Beli seznam ID-jev"
2639
 
2640
- #: settings.php:1490
2641
  msgid "Urls"
2642
  msgstr "Url-ji"
2643
 
2644
- #: settings.php:1493
2645
  msgid "Toggle url editor"
2646
  msgstr "Preklopi urejevalnik url-jev"
2647
 
2648
- #: settings.php:1496
2649
  msgid ""
2650
  "Comma separated urls (page addresses) starting with / after domain name (e."
2651
  "g. /permalink-url, use only when you need to taget a specific url not "
@@ -2657,23 +2769,23 @@ msgstr ""
2657
  "nsalov, ki drugače ni dostopen). Uporabite lahko tudi delne url-je z * (/url-"
2658
  "začetek*. *url-vzorec*, *url-konec)"
2659
 
2660
- #: settings.php:1500
2661
  msgid "Blacklist urls"
2662
  msgstr "Črni seznam url-jev"
2663
 
2664
- #: settings.php:1504
2665
  msgid "Whitelist urls"
2666
  msgstr "Beli seznam url-jev"
2667
 
2668
- #: settings.php:1515
2669
  msgid "Url parameters"
2670
  msgstr "Url parametri"
2671
 
2672
- #: settings.php:1519
2673
  msgid "Toggle url parameter and cookie editor"
2674
  msgstr "Preklopi urejevalnik url parametrov in piškotkov"
2675
 
2676
- #: settings.php:1522
2677
  msgid ""
2678
  "Comma separated url query parameters or cookies with optional values (use "
2679
  "'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
@@ -2682,48 +2794,52 @@ msgstr ""
2682
  "vrednostmi (uporabite 'prameter', 'prameter=vrednost', 'piškotek' or "
2683
  "'piškotek=vrednost')"
2684
 
2685
- #: settings.php:1526
2686
  msgid "Blacklist url parameters"
2687
  msgstr "Črni seznam url parametrov"
2688
 
2689
- #: settings.php:1530
2690
  msgid "Whitelist url parameters"
2691
  msgstr "Beli seznam url parametrov"
2692
 
2693
- #: settings.php:1541
2694
- msgid "Referers"
2695
  msgstr "Napotitelji"
2696
 
2697
- #: settings.php:1544
2698
  msgid "Toggle referer editor"
2699
  msgstr "Preklopi urejevalnik napotiteljev"
2700
 
2701
- #: settings.php:1547
2702
- msgid "Comma separated domains, use # for no referer"
2703
- msgstr "Z vejico ločene domene, uporabite # za primer, ko ni napotitelja"
 
 
 
 
2704
 
2705
- #: settings.php:1551
2706
  msgid "Blacklist referers"
2707
  msgstr "Črni seznam napotiteljev"
2708
 
2709
- #: settings.php:1555
2710
  msgid "Whitelist referers"
2711
  msgstr "Beli seznam napotiteljev"
2712
 
2713
- #: settings.php:1575
2714
  msgid "Enable widget for this block"
2715
  msgstr "Omogočite gradnik za ta blok"
2716
 
2717
- #: settings.php:1587
2718
  msgid "Enable shortcode for manual insertion of this block in posts and pages"
2719
  msgstr ""
2720
  "Omogočite kratko kodo za ročno vstavljanje tega bloka v prispevke in strani"
2721
 
2722
- #: settings.php:1588 settings.php:3157
2723
  msgid "Shortcode"
2724
  msgstr "Kratka koda"
2725
 
2726
- #: settings.php:1603
2727
  msgid ""
2728
  "Enable PHP function call to insert this block at any position in theme file. "
2729
  "If function is disabled for block it will return empty string."
@@ -2732,61 +2848,57 @@ msgstr ""
2732
  "položaju v datoteki teme. Če je funkcija za blok onemogočena, bo vrnila "
2733
  "prazen niz."
2734
 
2735
- #: settings.php:1604
2736
  msgid "PHP function"
2737
  msgstr "PHP funkcija"
2738
 
2739
- #: settings.php:1619
2740
  msgid "Client-side device detection"
2741
  msgstr "Zaznavanje naprave na strani klienta"
2742
 
2743
- #: settings.php:1620
2744
  msgid "Server-side device detection"
2745
  msgstr "Zaznavanje naprave na strani strežnika"
2746
 
2747
- #: settings.php:1627
2748
  msgid "Use client-side detection to"
2749
  msgstr "Uporabi zaznavanje na strani klienta in"
2750
 
2751
  #. Translators: only on (the following devices): viewport names (devices)
2752
  #. listed
2753
- #: settings.php:1634
2754
  msgid "only on"
2755
  msgstr "samo na"
2756
 
2757
- #: settings.php:1664
2758
- msgid "Device min width %s px"
2759
- msgstr "Najmanjša širina naprave %s px"
2760
-
2761
- #: settings.php:1689
2762
  msgid "Use server-side detection to insert block only for"
2763
  msgstr "Uporabi zaznavanje na strani strežnika za vstavljanje bloka samo za"
2764
 
2765
- #: settings.php:1708
2766
  msgid "Filter"
2767
  msgstr "Filter"
2768
 
2769
- #: settings.php:1709
2770
  msgid "Word Count"
2771
  msgstr "Število Besed"
2772
 
2773
- #: settings.php:1710
2774
  msgid "Scheduling"
2775
  msgstr "Urnik"
2776
 
2777
- #: settings.php:1711
2778
  msgid "Display"
2779
  msgstr "Prikaz"
2780
 
2781
- #: settings.php:1713 settings.php:1941
2782
  msgid "General"
2783
  msgstr "Splošno"
2784
 
2785
- #: settings.php:1725
2786
  msgid "Old settings for AMP pages detected"
2787
  msgstr "Zaznane stare nastavitve za AMP strani"
2788
 
2789
- #: settings.php:1725
2790
  msgid ""
2791
  "To insert different codes on normal and AMP pages separate them with "
2792
  "[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
@@ -2797,48 +2909,48 @@ msgstr ""
2797
  "straneh samo, ko želite vstaviti ISTO KODO tudi na AMP straneh (brez AMP "
2798
  "separatorja)."
2799
 
2800
- #: settings.php:1725
2801
  msgid "AMP pages"
2802
  msgstr "AMP strani"
2803
 
2804
- #: settings.php:1730
2805
  msgid "Enable insertion for Ajax requests"
2806
  msgstr "Omogoči vstavljanje v Ajax zahtevah"
2807
 
2808
- #: settings.php:1730
2809
  msgid "Ajax requests"
2810
  msgstr "Ajax zahteve"
2811
 
2812
- #: settings.php:1735
2813
  msgid "Enable insertion in RSS feeds"
2814
  msgstr "Omogoči vstavljanje v RSS virih"
2815
 
2816
- #: settings.php:1735
2817
  msgid "RSS Feed"
2818
  msgstr "RSS Vir"
2819
 
2820
- #: settings.php:1740
2821
  msgid "Enable insertion on page for Error 404: Page not found"
2822
  msgstr "Omogoči vstavljanje na strani za napako 404: Stran ne obstaja"
2823
 
2824
- #: settings.php:1740
2825
  msgid "Error 404 page"
2826
  msgstr "Stran napake 404"
2827
 
2828
- #: settings.php:1752
2829
  msgid "Maximum number of insertion of this block. Empty or 0 means no limit."
2830
  msgstr ""
2831
  "Največje število vstavljanj tega bloka. Prazno ali 0 pomeni brez omejitev."
2832
 
2833
- #: settings.php:1753
2834
  msgid "Max"
2835
  msgstr "Največ"
2836
 
2837
- #: settings.php:1753
2838
  msgid "insertions"
2839
  msgstr "vstavljanj"
2840
 
2841
- #: settings.php:1755
2842
  msgid ""
2843
  "Count this block for Max blocks per page limit (defined on the tab &#9881; / "
2844
  "tab General)"
@@ -2846,15 +2958,15 @@ msgstr ""
2846
  "Štej ta blok za omejitev Največ blokov na stran (določena na zavihku "
2847
  "&#9881; / zavihek Splošno)"
2848
 
2849
- #: settings.php:1758 settings.php:2099
2850
  msgid "Max blocks per page"
2851
  msgstr "Največ blokov na stran"
2852
 
2853
- #: settings.php:1770
2854
  msgid "Insert for"
2855
  msgstr "Vstavi za"
2856
 
2857
- #: settings.php:1778
2858
  msgid ""
2859
  "Insert block only when WP function in_the_loop () returns true (WP loop is "
2860
  "currently active). Might speed up insertion on content pages when "
@@ -2864,26 +2976,26 @@ msgstr ""
2864
  "trenutno aktivna). Lahko pospeši vstavljanje na določenih straneh, ko je "
2865
  "filter the_content večkrat klican."
2866
 
2867
- #: settings.php:1781
2868
  msgid "Insert only in the loop"
2869
  msgstr "Vstavi samo v zanki"
2870
 
2871
- #: settings.php:1787
2872
  msgid ""
2873
  "Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
2874
  msgstr ""
2875
  "Onemogoči predpomnenje za vtičnike WP Super Cache, W3 Total Cache in WP "
2876
  "Rocket"
2877
 
2878
- #: settings.php:1787
2879
  msgid "Disable caching"
2880
  msgstr "Onemogoči predpomnjenje"
2881
 
2882
- #: settings.php:1799
2883
  msgid "Filter insertions"
2884
  msgstr "Filtriraj vstavljanja"
2885
 
2886
- #: settings.php:1802
2887
  msgid ""
2888
  "Filter multiple insertions by specifying wanted insertions for this block - "
2889
  "single number, comma separated numbers or %N for every N insertions - empty "
@@ -2895,56 +3007,56 @@ msgstr ""
2895
  "- prazno pomeni vsa vstavljanja / brez filtra. Nastavite Števec za filter na "
2896
  "Samodejni števec, če uporabljate samo eno vrsto vstavljanja."
2897
 
2898
- #: settings.php:1805
2899
  msgid "using"
2900
  msgstr "z uporabo"
2901
 
2902
- #: settings.php:1823
2903
  msgid "Checked means specified calls are unwanted"
2904
  msgstr "Odkljukano pomeni, da so našteti klici neželjeni"
2905
 
2906
- #: settings.php:1823
2907
  msgid "Invert filter"
2908
  msgstr "Obrni filter"
2909
 
2910
- #: settings.php:1829
2911
  msgid "Post/Static page must have between"
2912
  msgstr "Prispevek/Statična stran mora imeti med"
2913
 
2914
- #: settings.php:1830
2915
  msgid "Minimum number of post/static page words, leave empty for no limit"
2916
  msgstr ""
2917
  "Najmanjše število besed v prispevkih/statičnih straneh, prazno pomeni brez "
2918
  "omejitev"
2919
 
2920
- #: settings.php:1832
2921
  msgid "Maximum number of post/static page words, leave empty for no limit"
2922
  msgstr ""
2923
  "Največje število besed v prispevkih/statičnih straneh, prazno pomeni brez "
2924
  "omejitev"
2925
 
2926
- #: settings.php:1845
2927
  msgid "days after publishing"
2928
  msgstr "dni po objavi"
2929
 
2930
- #: settings.php:1847
2931
  msgid "Not available"
2932
  msgstr "Ni na razpolago"
2933
 
2934
- #: settings.php:1860 settings.php:2091
2935
  msgid "Ad label"
2936
  msgstr "Oznaka oglasa"
2937
 
2938
- #: settings.php:1879
2939
  msgid "General tag"
2940
  msgstr "Splošna oznaka"
2941
 
2942
- #: settings.php:1883
2943
  msgid "Used for [adinserter data=''] shortcodes when no data is found"
2944
  msgstr "Uporabljeno za kratke kode [adinserter data=''] ko ni podatkov"
2945
 
2946
  #. translators: %s: HTML tags
2947
- #: settings.php:1892
2948
  msgid ""
2949
  "%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
2950
  "side device detection!"
@@ -2952,86 +3064,86 @@ msgstr ""
2952
  "%s OPOZORILO: slog %s Brez Ovijanja %s nima kode za ovijanje , ki je "
2953
  "potrebna za zaznavanje naprave na strani klienta!"
2954
 
2955
- #: settings.php:1904
2956
  msgid "Settings"
2957
  msgstr "Nastavitve"
2958
 
2959
- #: settings.php:1907
2960
  msgid "Settings timestamp"
2961
  msgstr "Časovni žig nastavitev"
2962
 
2963
- #: settings.php:1919
2964
  msgid "Are you sure you want to reset all settings?"
2965
  msgstr "Ali ste prepričani, da želite ponastaviti vse nastavitve?"
2966
 
2967
- #: settings.php:1919
2968
  msgid "Reset All Settings"
2969
  msgstr "Ponastavi Vse Nastavitve"
2970
 
2971
- #: settings.php:1942
2972
  msgid "Viewports"
2973
  msgstr "Pogledi"
2974
 
2975
- #: settings.php:1943
2976
  msgid "Hooks"
2977
  msgstr "Ročice"
2978
 
2979
- #: settings.php:1944
2980
  msgid "Header"
2981
  msgstr "Glava"
2982
 
2983
- #: settings.php:1945 strings.php:30
2984
  msgid "Footer"
2985
  msgstr "Noga"
2986
 
2987
- #: settings.php:1950
2988
  msgid "Debugging"
2989
  msgstr "Razhroščevanje"
2990
 
2991
- #: settings.php:1960
2992
  msgid "Plugin priority"
2993
  msgstr "Prednost vtičnika"
2994
 
2995
- #: settings.php:1968
2996
  msgid "Output buffering"
2997
  msgstr "Predpomnjenje izhoda"
2998
 
2999
- #: settings.php:1971
3000
  msgid "Needed for position Above header but may not work with all themes"
3001
  msgstr "Potrebno za položaj Nad glavo, ampak lahko, da ne dela z vsemi temami"
3002
 
3003
- #: settings.php:1979
3004
  msgid "Syntax highlighting theme"
3005
  msgstr "Tema za poudarjanje sintakse"
3006
 
3007
- #: settings.php:1986
3008
  msgctxt "no syntax highlighting themes"
3009
  msgid "None"
3010
  msgstr "Brez"
3011
 
3012
- #: settings.php:1987
3013
  msgid "No Syntax Highlighting"
3014
  msgstr "Brez Poudarjanja Sintakse"
3015
 
3016
- #: settings.php:1989
3017
  msgctxt "syntax highlighting themes"
3018
  msgid "Light"
3019
  msgstr "Svetle"
3020
 
3021
- #: settings.php:2004
3022
  msgctxt "syntax highlighting themes"
3023
  msgid "Dark"
3024
  msgstr "Temne"
3025
 
3026
- #: settings.php:2030
3027
  msgid "Min. user role for ind. exceptions editing"
3028
  msgstr "Najm. uporabniška vloga za urejanje izjem"
3029
 
3030
- #: settings.php:2040
3031
  msgid "Sticky widget mode"
3032
  msgstr "Način za lepljive gradnike"
3033
 
3034
- #: settings.php:2043
3035
  msgid ""
3036
  "CSS mode is the best approach but may not work with all themes. JavaScript "
3037
  "mode works with most themes but may reload ads on page load."
@@ -3040,19 +3152,19 @@ msgstr ""
3040
  "Način JavaScript dela z večino tem, ampak lahko ponovno naloži oglase pri "
3041
  "nalaganju strani."
3042
 
3043
- #: settings.php:2051
3044
  msgid "Sticky widget top margin"
3045
  msgstr "Zgornji rob za lepljiv gradnik"
3046
 
3047
- #: settings.php:2059
3048
  msgid "Dynamic blocks"
3049
  msgstr "Dinamični bloki"
3050
 
3051
- #: settings.php:2072
3052
  msgid "Functions for paragraph counting"
3053
  msgstr "Funkcije za štetje odstavkov"
3054
 
3055
- #: settings.php:2075
3056
  msgid ""
3057
  "Standard PHP functions are faster and work in most cases, use Multibyte "
3058
  "functions if paragraphs are not counted properly on non-english pages."
@@ -3061,15 +3173,15 @@ msgstr ""
3061
  "Večznakovne funkcije, če na ne-angleških straneh odstavki niso pravilno "
3062
  "šteti."
3063
 
3064
- #: settings.php:2083
3065
  msgid "No paragraph counting inside"
3066
  msgstr "Ni štetja odstavkov znotraj"
3067
 
3068
- #: settings.php:2094
3069
  msgid "Label text or HTML code"
3070
  msgstr "Besedilo oznake ali HTML koda"
3071
 
3072
- #: settings.php:2102
3073
  msgid ""
3074
  "Maximum number of inserted blocks per page. You need to enable Max page "
3075
  "insertions (button Misc / tab Insertion) to count block for this limit."
@@ -3078,12 +3190,12 @@ msgstr ""
3078
  "blokov na stran (gumb Razno / zavihek Vstavljanje), da bo blok štel za to "
3079
  "omejitev."
3080
 
3081
- #: settings.php:2116
3082
  msgid "Plugin usage tracking"
3083
  msgstr "Sledenje uporabe vtičnika"
3084
 
3085
  #. translators: %s: Ad Inserter
3086
- #: settings.php:2119
3087
  msgid ""
3088
  "Enable tracking of %s usage and help us to make improvements to the plugin. "
3089
  "Only information regarding the WordPress environment and %s usage is "
@@ -3093,121 +3205,87 @@ msgstr ""
3093
  "Beležijo se samo informacije glede okolja WordPress in uporabe %s-ja (enkrat "
3094
  "mesečno in ob dogodkih kot so aktivacija/deaktivacija)."
3095
 
3096
- #: settings.php:2137
3097
  msgid "CSS class name for the wrapping div"
3098
  msgstr "Ime CSS razreda za div za ovijanje"
3099
 
3100
- #: settings.php:2137
3101
  msgid "Block class name"
3102
  msgstr "Ime razreda za blok"
3103
 
3104
- #: settings.php:2141
3105
  msgid "Include general plugin block class"
3106
  msgstr "Vključi splošni razred vtičnika za blok"
3107
 
3108
- #: settings.php:2141
3109
  msgid "Block class"
3110
  msgstr "Razred bloka"
3111
 
3112
- #: settings.php:2146
3113
  msgid "Include block number class"
3114
  msgstr "Vključi razred številke bloka"
3115
 
3116
- #: settings.php:2146
3117
  msgid "Block number class"
3118
  msgstr "Razred številke bloka"
3119
 
3120
- #: settings.php:2151
3121
  msgid ""
3122
  "Instead of alignment classes generate inline alignment styles for blocks"
3123
  msgstr ""
3124
  "Namesto razredov za poravnavo ustvari medvrstične sloge za poravnavo blokov"
3125
 
3126
- #: settings.php:2151
3127
  msgid "Inline styles"
3128
  msgstr "Medvrstični slogi"
3129
 
3130
- #: settings.php:2157
3131
  msgid "Preview of the block wrapping code"
3132
  msgstr "Predogled kode za ovijanje blokov"
3133
 
3134
- #: settings.php:2158
3135
  msgid "Wrapping div"
3136
  msgstr "div za ovijanje"
3137
 
3138
- #: settings.php:2159 settings.php:2556
3139
  msgid "BLOCK CODE"
3140
  msgstr "KODA BLOKA"
3141
 
3142
- #: settings.php:2167
3143
  msgid "Viewport Settings used for client-side device detection"
3144
  msgstr ""
3145
  "Nastavitve Pogledov, uporabljene za zaznavanje naprav na strani klienta"
3146
 
3147
- #. Translators: %d: viewport number
3148
- #: settings.php:2174
3149
- msgid "Viewport %d name"
3150
- msgstr "Ime pogleda %d"
3151
-
3152
- #: settings.php:2177
3153
- msgid "min width"
3154
- msgstr "najmanjša širina"
3155
-
3156
- #: settings.php:2188
3157
  msgid "Custom Hooks"
3158
  msgstr "Ročice Po Meri"
3159
 
3160
- #. translators: %d: hook number
3161
- #: settings.php:2202
3162
- msgid "Hook %d name"
3163
- msgstr "Ime ročice %d"
3164
-
3165
- #: settings.php:2205
3166
- msgid "Hook name for automatic insertion selection"
3167
- msgstr "Ime ročice za izbiro samodejnega vstavljanja"
3168
-
3169
- #: settings.php:2208
3170
- msgid "action"
3171
- msgstr "akcija"
3172
-
3173
- #: settings.php:2211
3174
- msgid "Action name as used in the do_action () function"
3175
- msgstr "Ime akcije kot je uporabljena v do_action () funkciji"
3176
-
3177
- #: settings.php:2214
3178
- msgid "priority"
3179
- msgstr "prednost"
3180
-
3181
- #: settings.php:2217
3182
- msgid "Priority for the hook (default is 10)"
3183
- msgstr "Prednost za ročico (privzeta je 10)"
3184
-
3185
- #: settings.php:2237
3186
  msgid "Enable insertion of this code into HTML page header"
3187
  msgstr "Omogoči vstavljanje te kode v glavi HTML strani"
3188
 
3189
- #: settings.php:2241 settings.php:2299 settings.php:2458
3190
  msgid "Process PHP code"
3191
  msgstr "Procesiraj PHP kodo"
3192
 
3193
- #: settings.php:2245
3194
  msgid "HTML Page Header Code"
3195
  msgstr "Koda v Glavi HTML Strani"
3196
 
3197
- #: settings.php:2253
3198
  msgid "Code in the %s section of the HTML page"
3199
  msgstr "Koda v %s delu HTML strani"
3200
 
3201
- #: settings.php:2254 settings.php:2312
3202
  msgctxt "code in header or footer"
3203
  msgid "DISABLED"
3204
  msgstr "ONEMOGOČENA"
3205
 
3206
- #: settings.php:2267 settings.php:2325
3207
  msgid "Use server-side detection to insert code only for"
3208
  msgstr "Zaznavanje na strani strežnika za vstavljanje samo za"
3209
 
3210
- #: settings.php:2280
3211
  msgid ""
3212
  "Enable insertion of this code into HTML page header on page for Error 404: "
3213
  "Page not found"
@@ -3215,24 +3293,24 @@ msgstr ""
3215
  "Omogoči vstavljanje te kode v HTML glavo na strani za napako 404: Stran ne "
3216
  "obstaja"
3217
 
3218
- #: settings.php:2280 settings.php:2338
3219
  msgid "Insert on Error 404 page"
3220
  msgstr "Vstavi na strani Napake 404"
3221
 
3222
- #: settings.php:2295
3223
  msgid "Enable insertion of this code into HTML page footer"
3224
  msgstr "Omogoči vstavljanje te kode v HTML nogi"
3225
 
3226
- #: settings.php:2303
3227
  msgid "HTML Page Footer Code"
3228
  msgstr "Koda v Nogi HTML Strani"
3229
 
3230
  #. translators: %s: HTML tags
3231
- #: settings.php:2311
3232
  msgid "Code before the %s tag of the the HTML page"
3233
  msgstr "Koda pred %s značko HTML strani"
3234
 
3235
- #: settings.php:2338
3236
  msgid ""
3237
  "Enable insertion of this code into HTML page footer on page for Error 404: "
3238
  "Page not found"
@@ -3240,19 +3318,19 @@ msgstr ""
3240
  "Omogoči vstavljanje te kode v nogo HTML strani na strani za napako 404: "
3241
  "Stran ne obstaja"
3242
 
3243
- #: settings.php:2352
3244
  msgid "Enable detection of ad blocking"
3245
  msgstr "Omogoči zaznavanje blokiranja oglasov"
3246
 
3247
- #: settings.php:2369
3248
  msgid "Global action when ad blocking is detected"
3249
  msgstr "Globalna akcija, ko je zaznano blokiranje oglasov"
3250
 
3251
- #: settings.php:2378
3252
  msgid "Delay Action"
3253
  msgstr "Zakasni Akcijo"
3254
 
3255
- #: settings.php:2381
3256
  msgid ""
3257
  "Number of page views to delay action when ad blocking is detected. Leave "
3258
  "empty for no delay (action fires on first page view). Sets cookie."
@@ -3261,16 +3339,16 @@ msgstr ""
3261
  "oglasov. Prazno pomeni brez zakasnitve (akcija se sproži pri prvem ogledu "
3262
  "strani). Nastavi piškotek."
3263
 
3264
- #: settings.php:2381
3265
  msgctxt "Delay Action for x "
3266
  msgid "page views"
3267
  msgstr "ogledov strani"
3268
 
3269
- #: settings.php:2386
3270
  msgid "No Action Period"
3271
  msgstr "Obdobje Brez Akcije"
3272
 
3273
- #: settings.php:2389
3274
  msgid ""
3275
  "Number of days to supress action when ad blocking is detected. Leave empty "
3276
  "for no no-action period (action fires always after defined page view delay). "
@@ -3280,16 +3358,16 @@ msgstr ""
3280
  "pomeni brez zadržanja (akcija se sproži vedno po določeni zakasnitvi ogledov "
3281
  "strani). Nastavi piškotek."
3282
 
3283
- #: settings.php:2389
3284
  msgctxt "no action period"
3285
  msgid "days"
3286
  msgstr "dni"
3287
 
3288
- #: settings.php:2394
3289
  msgid "Custom Selectors"
3290
  msgstr "Selektorji Po Meri"
3291
 
3292
- #: settings.php:2397
3293
  msgid ""
3294
  "Comma seprarated list of selectors (.class, #id) used for additional ad "
3295
  "blocking detection. Invisible element or element with zero height means ad "
@@ -3299,15 +3377,15 @@ msgstr ""
3299
  "zaznavanje blokiranja oglasov. Neviden element ali element z ničelno višino "
3300
  "pomeni prisotnost blokiranja oglasov."
3301
 
3302
- #: settings.php:2409
3303
  msgid "Redirection Page"
3304
  msgstr "Stran za Preusmeritev"
3305
 
3306
- #: settings.php:2421
3307
  msgid "Custom Url"
3308
  msgstr "Url Po Meri"
3309
 
3310
- #: settings.php:2426
3311
  msgid ""
3312
  "Static page for redirection when ad blocking is detected. For other pages "
3313
  "select Custom url and set it below."
@@ -3315,27 +3393,27 @@ msgstr ""
3315
  "Statična stran za preusmeritev, ko je zaznano blokiranje oglasov. Za druge "
3316
  "strani izberite Url Po Meri in ga nastavite spodaj."
3317
 
3318
- #: settings.php:2435
3319
  msgid "Custom Redirection Url"
3320
  msgstr "Url za Preusmeritev Po Meri"
3321
 
3322
- #: settings.php:2447
3323
  msgid "Message HTML code"
3324
  msgstr "HTML koda sporočila"
3325
 
3326
- #: settings.php:2460
3327
  msgid "Preview message when ad blocking is detected"
3328
  msgstr "Predogled sporočila, ko je zaznano blokiranje oglasov"
3329
 
3330
- #: settings.php:2489
3331
  msgid "Prevent visitors from closing the warning message"
3332
  msgstr "Prepreči obiskovalcem, da zaprejo opozorilno sporočilo"
3333
 
3334
- #: settings.php:2489
3335
  msgid "Undismissible Message"
3336
  msgstr "Neodstranljivo Sporočilo"
3337
 
3338
- #: settings.php:2502
3339
  msgid ""
3340
  "Force showing admin toolbar for administrators when viewing site. Enable "
3341
  "this option when you are logged in as admin and you don't see admin toolbar."
@@ -3344,84 +3422,84 @@ msgstr ""
3344
  "možnost, če ste prijavljeni kot skrbnik, pa ne vidite orodne vrstice za "
3345
  "skrbnike."
3346
 
3347
- #: settings.php:2510
3348
  msgid "Disable header code (Header tab)"
3349
  msgstr "Onemogoči kodo v glavi (zavihek Glava)"
3350
 
3351
- #: settings.php:2514
3352
  msgid "Disable footer code (Footer tab)"
3353
  msgstr "Onemogoči kodo v nogi (zavihek Noga)"
3354
 
3355
  #. translators: %s: Ad Inserter
3356
- #: settings.php:2518
3357
  msgid "Disable %s JavaScript code"
3358
  msgstr "Onemogoči %s JavaScript kodo"
3359
 
3360
  #. translators: %s: Ad Inserter
3361
- #: settings.php:2522
3362
  msgid "Disable %s CSS code"
3363
  msgstr "Onemogoči %s CSS kodo"
3364
 
3365
- #: settings.php:2526
3366
  msgid ""
3367
  "Disable PHP code processing (in all blocks including header and footer code)"
3368
  msgstr ""
3369
  "Onemogoči procesiranje PHP kode (v vseh blokh vključno z glavo in nogo)"
3370
 
3371
- #: settings.php:2530
3372
  msgid "Disable insertion of all blocks"
3373
  msgstr "Onemogoči vstavljanje vseh blokov"
3374
 
3375
- #: settings.php:2534
3376
  msgid "Disable insertions"
3377
  msgstr "Onemogoči vstavljanja"
3378
 
3379
  #. translators: %s: Ad Inserter
3380
- #: settings.php:2546
3381
  msgid "%s CSS CODE"
3382
  msgstr "%s CSS KODA"
3383
 
3384
- #: settings.php:2549
3385
  msgid "HEADER CODE"
3386
  msgstr "KODA GLAVE"
3387
 
3388
  #. translators: %s: PHP tags
3389
- #: settings.php:2555
3390
  msgid "BLOCK PHP CODE"
3391
  msgstr "PHP KODA BLOKA"
3392
 
3393
  #. translators: %s: Ad Inserter
3394
- #: settings.php:2561
3395
  msgid "%s JS CODE"
3396
  msgstr "%s JS KODA"
3397
 
3398
- #: settings.php:2564
3399
  msgid "FOOTER CODE"
3400
  msgstr "KODA NOGE"
3401
 
3402
- #: settings.php:2573
3403
  msgid "Force showing admin toolbar when viewing site"
3404
  msgstr "Vsili prikaz orodne vrstice za skrbnike pri ogledu strani"
3405
 
3406
- #: settings.php:2580
3407
  msgid "Enable debugging functions in admin toolbar"
3408
  msgstr "Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike"
3409
 
3410
- #: settings.php:2582
3411
  msgid "Debugging functions in admin toolbar"
3412
  msgstr "Funkcije za razhroščevanje v orodni vrstici za skrbnike"
3413
 
3414
- #: settings.php:2589
3415
  msgid "Enable debugging functions in admin toolbar on mobile screens"
3416
  msgstr ""
3417
  "Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike na mobilnih "
3418
  "zaslonih"
3419
 
3420
- #: settings.php:2591
3421
  msgid "Debugging functions on mobile screens"
3422
  msgstr "Funkcije za razhroščevanje na mobilnih zaslonih"
3423
 
3424
- #: settings.php:2598
3425
  msgid ""
3426
  "Enable Debugger widget and code insertion debugging (blocks, positions, "
3427
  "tags, processing) by url parameters for non-logged in users. Enable this "
@@ -3436,11 +3514,11 @@ msgstr ""
3436
  "pomagali diagnosticirati težave. Za prijavljene skrbnike je razhroščevanje "
3437
  "vedno omogočeno."
3438
 
3439
- #: settings.php:2600
3440
  msgid "Remote debugging"
3441
  msgstr "Oddaljeno razhroščevanje"
3442
 
3443
- #: settings.php:2607
3444
  msgid ""
3445
  "Disable translation to see original texts for the settings and messages in "
3446
  "English"
@@ -3448,80 +3526,80 @@ msgstr ""
3448
  "Onemogoči prevod za prikaz prvotnih besedil nastavitev in sporočil v "
3449
  "angleščini"
3450
 
3451
- #: settings.php:2609
3452
  msgid "Disable translation"
3453
  msgstr "Onemogoči prevod"
3454
 
3455
- #: settings.php:2903
3456
  msgid "Toggle active/all blocks"
3457
  msgstr "Preklopi aktive/vse bloke"
3458
 
3459
- #: settings.php:2907 strings.php:198
3460
  msgid "Rearrange block order"
3461
  msgstr "Preuredi vrstni red blokov"
3462
 
3463
- #: settings.php:2912
3464
  msgid "Save new block order"
3465
  msgstr "Shrani vrstni red blokov"
3466
 
3467
- #: settings.php:2912
3468
  msgid "Save Changes"
3469
  msgstr "Sharani Nastavitve"
3470
 
3471
- #: settings.php:2937
3472
  msgid "Toggle active/all ad units"
3473
  msgstr "Preklopi aktivne/vse oglasne enote"
3474
 
3475
- #: settings.php:2941
3476
  msgid "Reload AdSense ad units"
3477
  msgstr "Ponovno naloži oglasne enote AdSense"
3478
 
3479
- #: settings.php:2945
3480
  msgid "Clear authorization to access AdSense account"
3481
  msgstr "Odstrani avtorizacijo za dostop do računa AdSense"
3482
 
3483
- #: settings.php:2949 settings.php:3314 settings.php:3381 strings.php:206
3484
  msgid "Google AdSense Homepage"
3485
  msgstr "Google AdSense Domača Stran"
3486
 
3487
- #: settings.php:3126
3488
  msgid "Preview block"
3489
  msgstr "Predogled bloka"
3490
 
3491
- #: settings.php:3135
3492
  msgid "Insertion disabled"
3493
  msgstr "Vstavljanje onemogočeno"
3494
 
3495
- #: settings.php:3155
3496
  msgid "Alignment"
3497
  msgstr "Poravnava"
3498
 
3499
- #: settings.php:3159
3500
  msgid "Widget positions"
3501
  msgstr "Položaji gradnikov"
3502
 
3503
- #: settings.php:3225
3504
  msgid "Ad unit"
3505
  msgstr "Enota"
3506
 
3507
- #: settings.php:3227
3508
  msgid "Slot ID"
3509
  msgstr "ID mesta"
3510
 
3511
- #: settings.php:3253
3512
  msgid "Copy AdSense code"
3513
  msgstr "Kopiraj kodo AdSense"
3514
 
3515
- #: settings.php:3256
3516
  msgid "Preview AdSense ad"
3517
  msgstr "Predogled oglasa AdSense"
3518
 
3519
- #: settings.php:3259
3520
  msgid "Get AdSense code"
3521
  msgstr "Pridobi kodo AdSense"
3522
 
3523
  #. translators: %s: HTML tags
3524
- #: settings.php:3291
3525
  msgid ""
3526
  "Please %s clear authorization %s with the button %s above and once again "
3527
  "authorize access to your AdSense account."
@@ -3529,16 +3607,16 @@ msgstr ""
3529
  "Prosimo, %s odstranite avtorizacijo %s z gumbom %s zgoraj in še enkrat "
3530
  "avtorizirajte dostop do vašega računa AdSense."
3531
 
3532
- #: settings.php:3310
3533
  msgid "AdSense Integration"
3534
  msgstr "Integracija AdSense"
3535
 
3536
- #: settings.php:3312
3537
  msgid "AdSense Integration - Step 2"
3538
  msgstr "Integracija AdSense - Korak 2"
3539
 
3540
  #. translators: %s: HTML tags
3541
- #: settings.php:3318
3542
  msgid ""
3543
  "Authorize %s to access your AdSense account. Click on the %s Get "
3544
  "Authorization Code %s button to open a new window where you can allow "
@@ -3551,7 +3629,7 @@ msgstr ""
3551
  "Avtoriziraj. %s"
3552
 
3553
  #. translators: %s: HTML tags
3554
- #: settings.php:3325
3555
  msgid ""
3556
  "If you get error, can't access ad units or would like to use own Google API "
3557
  "IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
@@ -3562,7 +3640,7 @@ msgstr ""
3562
  "je %s za vnos podatkov ID Klienta in Skrivnost Klienta."
3563
 
3564
  #. translators: %s: HTML tags
3565
- #: settings.php:3327
3566
  msgid ""
3567
  "Now you can authorize %s to access your AdSense account. Click on the %s Get "
3568
  "Authorization Code %s button to open a new window where you can allow "
@@ -3575,7 +3653,7 @@ msgstr ""
3575
  "gumb %s Avtoriziraj. %s"
3576
 
3577
  #. translators: %s: HTML tags
3578
- #: settings.php:3334
3579
  msgid ""
3580
  "If you get error %s invalid client %s click on the button %s Clear and "
3581
  "return to Step 1 %s to re-enter Client ID and Client Secret."
@@ -3583,32 +3661,32 @@ msgstr ""
3583
  "Če se pojavi napaka %s neveljaven klient %s, kliknite na gumb %s Odstrani in "
3584
  "se vrni na Korak 1 %s za ponoven vnos ID klienta in Skrivnost Klienta."
3585
 
3586
- #: settings.php:3345
3587
  msgid "Get Authorization Code"
3588
  msgstr "Pridobi Avtoriazcijsko Kodo"
3589
 
3590
- #: settings.php:3348
3591
  msgid "Enter Authorization Code"
3592
  msgstr "Vnesi Avorizacijsko Kodo"
3593
 
3594
- #: settings.php:3358
3595
  msgid "Use own API IDs"
3596
  msgstr "Uporabi lastne API ID-je"
3597
 
3598
- #: settings.php:3360
3599
  msgid "Clear and return to Step 1"
3600
  msgstr "Odstrani in se vrni na Korak 1"
3601
 
3602
- #: settings.php:3364
3603
  msgid "Authorize"
3604
  msgstr "Avtoriziraj"
3605
 
3606
- #: settings.php:3380
3607
  msgid "AdSense Integration - Step 1"
3608
  msgstr "Integracija AdSense - Korak 1"
3609
 
3610
  #. translators: %s: Ad Inserter
3611
- #: settings.php:3384
3612
  msgid ""
3613
  "Here can %s list configured AdSense ad units and get code for AdSense ads. "
3614
  "To do this you need to authorize %s to access your AdSense account. The "
@@ -3621,12 +3699,12 @@ msgstr ""
3621
  "Klienta in Skrivnost Klienta."
3622
 
3623
  #. translators: %s: HTML tags
3624
- #: settings.php:3393
3625
  msgid "Go to %s Google APIs and Services console %s"
3626
  msgstr "Pojdite na %s konzolo Google API-ji in Storitve %s"
3627
 
3628
  #. translators: %1: Ad Inserter, 2, 3: HTML tags
3629
- #: settings.php:3394
3630
  msgid ""
3631
  "Create %1$s project - if the project and IDs are already created click on "
3632
  "the %2$s Credentials %3$s in the sidebar and go to step 16"
@@ -3635,7 +3713,7 @@ msgstr ""
3635
  "%2$s Pooblastila %3$s v stranski vrstici in pojdite na korak 16"
3636
 
3637
  #. translators: %s: HTML tags
3638
- #: settings.php:3395
3639
  msgid ""
3640
  "Click on project selection and then click on the %s NEW PROJECT %s button to "
3641
  "create a new project"
@@ -3644,12 +3722,12 @@ msgstr ""
3644
  "ustvaritev novega projekta"
3645
 
3646
  #. translators: 1: Ad Inserter, 2, 3: HTML tags
3647
- #: settings.php:3396
3648
  msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
3649
  msgstr "Vnesite %1$s za ime projekta in kliknite na gumb %2$s Ustvari %3$s"
3650
 
3651
  #. translators: %s: HTML tags
3652
- #: settings.php:3397
3653
  msgid ""
3654
  "Click on project selection, wait for the project to be created and then and "
3655
  "select %s as the current project"
@@ -3658,39 +3736,39 @@ msgstr ""
3658
  "izberite %s kot trenutni projekt"
3659
 
3660
  #. translators: %s: HTML tags
3661
- #: settings.php:3398
3662
  msgid "Click on %s ENABLE APIS AND SERVICES %s"
3663
  msgstr "Klinkite na %s OMOGOČI API-je IN STORITVE %s"
3664
 
3665
  #. translators: %s: HTML tags
3666
- #: settings.php:3399
3667
  msgid "Search for adsense and enable %s"
3668
  msgstr "Poiščite adsense in omogočite %s"
3669
 
3670
  #. translators: %s: HTML tags
3671
- #: settings.php:3400
3672
  msgid "Click on %s CREATE CREDENTIALS %s"
3673
  msgstr "Klinkite na %s USTVARI POOBLASTILA %s"
3674
 
3675
  #. translators: %s: HTML tags
3676
- #: settings.php:3401
3677
  msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
3678
  msgstr "Za %s Od kod boste klicali API-je? %s izberite %s Drugi UI %s"
3679
 
3680
  #. translators: %s: HTML tags
3681
- #: settings.php:3402
3682
  msgid "For %s What data will you be accessing? %s select %s User data %s"
3683
  msgstr ""
3684
  "Za %s Do katerih podatkov boste dostopali? %s izberite %s Uporabniški "
3685
  "podatki %s"
3686
 
3687
  #. translators: %s: HTML tags
3688
- #: settings.php:3403
3689
  msgid "Click on %s What credentials do I need? %s"
3690
  msgstr "Kliknite na %s Kakšna pooblastila potrebujem? %s"
3691
 
3692
  #. translators: %s: HTML tags
3693
- #: settings.php:3404
3694
  msgid ""
3695
  "Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
3696
  "Ad Inserter client %s"
@@ -3699,7 +3777,7 @@ msgstr ""
3699
  "%s Ad Inserter klient %s"
3700
 
3701
  #. translators: %s: HTML tags
3702
- #: settings.php:3405
3703
  msgid ""
3704
  "Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
3705
  "enter %s"
@@ -3708,17 +3786,17 @@ msgstr ""
3708
  "uporabnikom %s vnesite %s"
3709
 
3710
  #. translators: %s: HTML tags
3711
- #: settings.php:3406
3712
  msgid "Click on %s Continue %s"
3713
  msgstr "Kliknite na %s Nadaljuj %s"
3714
 
3715
  #. translators: %s: HTML tags
3716
- #: settings.php:3407
3717
  msgid "Click on %s Done %s"
3718
  msgstr "Kliknite na %s Končaj %s"
3719
 
3720
  #. translators: %s: HTML tags
3721
- #: settings.php:3408
3722
  msgid ""
3723
  "Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
3724
  "secret %s"
@@ -3726,57 +3804,57 @@ msgstr ""
3726
  "Kliknite na %s Ad Inserter klient, %s da bi dobili %s ID klienta %s in %s "
3727
  "Skrivnost klienta %s"
3728
 
3729
- #: settings.php:3409
3730
  msgid "Copy them to the appropriate fields below"
3731
  msgstr "Skopirajte ju na ustrezni polji spodaj"
3732
 
3733
- #: settings.php:3415
3734
  msgid "Client ID"
3735
  msgstr "ID klienta"
3736
 
3737
- #: settings.php:3418
3738
  msgid "Enter Client ID"
3739
  msgstr "Vnesite ID klienta"
3740
 
3741
- #: settings.php:3423
3742
  msgid "Client secret"
3743
  msgstr "Skrivnost klienta"
3744
 
3745
- #: settings.php:3426
3746
  msgid "Enter Client secret"
3747
  msgstr "Vnesite Skrivnost klienta"
3748
 
3749
- #: settings.php:3436
3750
  msgid "Use default API IDs"
3751
  msgstr "Uporabi privzete API ID-je"
3752
 
3753
- #: settings.php:3441
3754
  msgid "Save"
3755
  msgstr "Shrani"
3756
 
3757
- #: settings.php:3603 settings.php:3616 settings.php:3629
3758
  msgid "Blank ad blocks? Looking for AdSense alternative?"
3759
  msgstr "Prazni oglasni bloki? Iščete alternativo za AdSense?"
3760
 
3761
- #: settings.php:3608 settings.php:3621 settings.php:3634 settings.php:3806
3762
- #: settings.php:3808 settings.php:3829 settings.php:3832
3763
  msgid "Looking for AdSense alternative?"
3764
  msgstr "Iščete alternativo za AdSense?"
3765
 
3766
- #: settings.php:3644
3767
  msgid "Try Infolinks Ads with Adsense or Media.net ads"
3768
  msgstr "Poskusite oglase Infolinks z oglasi AdSense ali Media.net"
3769
 
3770
- #: settings.php:3649 settings.php:3802 settings.php:3804 settings.php:3835
3771
- #: settings.php:3838
3772
  msgid "Use Infolinks ads with Adsense to earn more"
3773
  msgstr "Uporabite oglase Infolinks z AdSense za večji zaslužek"
3774
 
3775
- #: settings.php:3668 settings.php:3706
3776
  msgid "Support plugin development"
3777
  msgstr "Podprite razvoj vtičnika"
3778
 
3779
- #: settings.php:3669 settings.php:3707
3780
  msgid ""
3781
  "If you like Ad Inserter and have a moment, please help me spread the word by "
3782
  "reviewing the plugin on WordPres"
@@ -3784,12 +3862,12 @@ msgstr ""
3784
  "Če vam je Ad Inserter všeč in imate trenutek časa, mi prosim pomagajte "
3785
  "razširiti novico z oceno vtičnika na WordPress-u"
3786
 
3787
- #: settings.php:3669
3788
  msgctxt "Review ad Inserter"
3789
  msgid "Review"
3790
  msgstr "Oceni"
3791
 
3792
- #: settings.php:3670
3793
  msgid ""
3794
  "Support free Ad Inserter development. If you are making money with Ad "
3795
  "Inserter consider donating some small amount. Even 1 dollar counts. Thank "
@@ -3798,16 +3876,16 @@ msgstr ""
3798
  "Podprite razvoj brezplačnega Ad Inserter-ja. Če služite denar z Ad Inserter-"
3799
  "jem razmislite o donaciji manjšega zneska. Tudi 1 evro šteje. Hvala!"
3800
 
3801
- #: settings.php:3670
3802
  msgid "Donate"
3803
  msgstr "Donirajte"
3804
 
3805
- #: settings.php:3677 settings.php:3722
3806
  msgid "Average rating of the plugin - Thank you!"
3807
  msgstr "Povprečna ocena vtičnika - Hvala!"
3808
 
3809
  #. translators: %s: Ad Inserter, HTML tags
3810
- #: settings.php:3688
3811
  msgid ""
3812
  "You've been using %s for a while now, and I hope you're happy with it. "
3813
  "Positive %s reviews %s are a great way to show your appreciation for my "
@@ -3821,24 +3899,24 @@ msgstr ""
3821
  "vzpodbuda za odpravo hroščev in dodajanje novih funkcij za boljšo "
3822
  "monetizacijo vašega spletnega mesta. %s Hvala!"
3823
 
3824
- #: settings.php:3707
3825
  msgid "Review"
3826
  msgstr "Ocena"
3827
 
3828
- #: settings.php:3711
3829
  msgid "Ad Inserter on Twitter"
3830
  msgstr "Ad Inserter na Twitter-ju"
3831
 
3832
- #: settings.php:3712
3833
  msgid "Ad Inserter on Facebook"
3834
  msgstr "Ad Inserter na Facebook-u"
3835
 
3836
- #: settings.php:3715
3837
  msgid "Follow Ad Inserter"
3838
  msgstr "Sledi Ad Inserter-ju"
3839
 
3840
  #. translators: %s: HTML tags
3841
- #: settings.php:3742
3842
  msgid ""
3843
  "Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
3844
  "and %s Common Settings %s pages"
@@ -3847,7 +3925,7 @@ msgstr ""
3847
  "Urejanje Kode, %s %s Pogoste Nastavitve %s"
3848
 
3849
  #. translators: %s: HTML tags
3850
- #: settings.php:3754
3851
  msgid ""
3852
  "%s New to %s AdSense? %s %s %s Connect your site %s - Advanced %s AdSense "
3853
  "code: %s %s In-feed ads, %s %s Auto ads, %s %s AMP ads %s"
@@ -3857,7 +3935,7 @@ msgstr ""
3857
  "%s"
3858
 
3859
  #. translators: %s: HTML tags
3860
- #: settings.php:3773
3861
  msgid ""
3862
  "Ads are not showing? Check %s troubleshooting guide %s to find out how to "
3863
  "diagnose and fix the problem."
@@ -3866,7 +3944,7 @@ msgstr ""
3866
  "navodili za diagnozo in rešitvami za težave."
3867
 
3868
  #. translators: %s: HTML tags
3869
- #: settings.php:3777
3870
  msgid ""
3871
  "If you need any kind of help or support, please do not hesitate to open a "
3872
  "thread on the %s support forum. %s"
@@ -3874,49 +3952,49 @@ msgstr ""
3874
  "Če potrebujete kakršno koli pomoč ali podporo ne oklevajte in odprite novo "
3875
  "nit na %s podpornem forumu. %s"
3876
 
3877
- #: settings.php:3817 settings.php:3852
3878
  msgid "A/B testing - Track ad impressions and clicks"
3879
  msgstr "A/B testiranje - Sledi prikazom in klikom"
3880
 
3881
- #: settings.php:3822 settings.php:3847
3882
  msgid "Code preview with visual CSS editor"
3883
  msgstr "Predogled kode z vizualnim CSS urejevalnikom"
3884
 
3885
- #: settings.php:3858
3886
  msgid "Looking for Pro Ad Management plugin?"
3887
  msgstr "Iščete Pro vtičnik za Upravljanje z Oglasi?"
3888
 
3889
- #: settings.php:3859
3890
  msgid "To Optimally Monetize your WordPress website?"
3891
  msgstr "Za optimalno monetizacijo vašega WordPress spletnega mesta?"
3892
 
3893
  #. translators: %s HTML tags
3894
- #: settings.php:3862
3895
  msgid "64 ad blocks (positions)"
3896
  msgstr "64 oglasnih blokov (položajev)"
3897
 
3898
  #. translators: %s HTML tags
3899
- #: settings.php:3863
3900
  msgid "%s AdSense Integration %s"
3901
  msgstr "%s Integracija AdSense %s"
3902
 
3903
  #. translators: %s HTML tags
3904
- #: settings.php:3864
3905
  msgid "Syntax highlighting %s editor %s"
3906
  msgstr "%s Urejevalnik %s s poudarjanjem sintakse"
3907
 
3908
  #. translators: %s HTML tags
3909
- #: settings.php:3865
3910
  msgid "%s Code preview %s with visual CSS editor"
3911
  msgstr "%s Predogled kode %s z vizualnim CSS urejevalnikom"
3912
 
3913
  #. translators: %s HTML tags
3914
- #: settings.php:3866
3915
  msgid "Simple user interface - all settings on a single page"
3916
  msgstr "Preprost uporabniški vmesnik - vse nastavitve na eni strani"
3917
 
3918
  #. translators: %s HTML tags
3919
- #: settings.php:3867
3920
  msgid ""
3921
  "%s Automatic insertion %s before or after post / content / %s paragraph %s / "
3922
  "excerpt"
@@ -3925,27 +4003,27 @@ msgstr ""
3925
  "%s / izvlečkom"
3926
 
3927
  #. translators: %s HTML tags
3928
- #: settings.php:3868
3929
  msgid "%s Automatic insertion %s between posts on blog pages"
3930
  msgstr "%s Samodejno vstavljanje %s med prispevki na straneh bloga"
3931
 
3932
  #. translators: %s HTML tags
3933
- #: settings.php:3869
3934
  msgid "%s Automatic insertion %s before, between and after comments"
3935
  msgstr "%s Samodejno vstavljanje %s pred, med in po kometarjih"
3936
 
3937
  #. translators: %s HTML tags
3938
- #: settings.php:3870
3939
  msgid "%s Automatic insertion %s after %s or before %s tag"
3940
  msgstr "%s Samodejno vstavljanje %s za %s ali pred %s začko"
3941
 
3942
  #. translators: %s HTML tags
3943
- #: settings.php:3871
3944
  msgid "Automatic insertion at %s custom hook positions %s"
3945
  msgstr "Samodejno vstavljanje na %s položajih ročic po meri %s"
3946
 
3947
  #. translators: %s HTML tags
3948
- #: settings.php:3872
3949
  msgid ""
3950
  "Insertion %s before or after any HTML element on the page %s (using CSS "
3951
  "selectors)"
@@ -3954,17 +4032,17 @@ msgstr ""
3954
  "selektorjev)"
3955
 
3956
  #. translators: %s HTML tags
3957
- #: settings.php:3873
3958
  msgid "%s Insertion exceptions %s for individual posts and pages"
3959
  msgstr "%s Izjeme vstavljanja %s za individualne prispevke in strani"
3960
 
3961
  #. translators: %s HTML tags
3962
- #: settings.php:3874
3963
  msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
3964
  msgstr "%s Ročno vstavljanje: %s gradniki, kratke kode in klic PHP funkcije"
3965
 
3966
  #. translators: %s HTML tags
3967
- #: settings.php:3875
3968
  msgid ""
3969
  "%s Sticky ads %s with optional close button (ads stay fixed when the page "
3970
  "scrolls)"
@@ -3973,19 +4051,19 @@ msgstr ""
3973
  "se stran pomika)"
3974
 
3975
  #. translators: %s HTML tags
3976
- #: settings.php:3876
3977
  msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
3978
  msgstr ""
3979
  "%s Lepljivi oglasi v stranski vrstici %s (lepljivi na zaslon ali vsebino)"
3980
 
3981
  #. translators: %s HTML tags
3982
- #: settings.php:3877
3983
  msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
3984
  msgstr ""
3985
  "%s Animacije lepljivih oglasov %s (uveni, drsaj, obrni, prekucni, približaj)"
3986
 
3987
  #. translators: %s HTML tags
3988
- #: settings.php:3878
3989
  msgid ""
3990
  "%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
3991
  "visible)"
@@ -3994,7 +4072,7 @@ msgstr ""
3994
  "postane viden)"
3995
 
3996
  #. translators: %s HTML tags
3997
- #: settings.php:3879
3998
  msgid ""
3999
  "%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
4000
  msgstr ""
@@ -4002,12 +4080,12 @@ msgstr ""
4002
  "strani)"
4003
 
4004
  #. translators: %s HTML tags
4005
- #: settings.php:3880
4006
  msgid "Block %s alignment and style %s customizations"
4007
  msgstr "%s Poravnave in slogi %s bloka po meri"
4008
 
4009
  #. translators: %s HTML tags
4010
- #: settings.php:3881
4011
  msgid ""
4012
  "%s Clearance %s options to avoid insertion near images or headers (AdSense "
4013
  "TOS)"
@@ -4015,7 +4093,7 @@ msgstr ""
4015
  "%s Izogibanje %s vstavljanja oglasov zraven slik ali naslovov (AdSense TOS)"
4016
 
4017
  #. translators: %s HTML tags
4018
- #: settings.php:3882
4019
  msgid ""
4020
  "Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
4021
  "feeds"
@@ -4024,12 +4102,12 @@ msgstr ""
4024
  "virih"
4025
 
4026
  #. translators: %s HTML tags
4027
- #: settings.php:3883
4028
  msgid "%s Ad rotation %s (works also with caching)"
4029
  msgstr "%s Rotacija oglasov %s (deluje tudi s predpomnjenjem)"
4030
 
4031
  #. translators: %s HTML tags
4032
- #: settings.php:3884
4033
  msgid ""
4034
  "Ad impression and click %s tracking %s (works also with Javascript ads like "
4035
  "AdSense)"
@@ -4038,61 +4116,61 @@ msgstr ""
4038
  "AdSense)"
4039
 
4040
  #. translators: %s HTML tags
4041
- #: settings.php:3885
4042
  msgid "Support for %s A/B testing %s"
4043
  msgstr "Podpora za %s A/B testiranje %s"
4044
 
4045
  #. translators: %s HTML tags
4046
- #: settings.php:3886
4047
  msgid "Support for %s lazy loading %s"
4048
  msgstr "Podpora za %s leno nalaganje %s"
4049
 
4050
  #. translators: %s HTML tags
4051
- #: settings.php:3887
4052
  msgid "Support for ads on %s AMP pages %s"
4053
  msgstr "Podpora za oglase na %s AMP straneh %s"
4054
 
4055
  #. translators: %s HTML tags
4056
- #: settings.php:3888
4057
  msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
4058
  msgstr "Podpora za kontekstualne %s Amazon Native Shopping Ads %s (odzivni)"
4059
 
4060
  #. translators: %s HTML tags
4061
- #: settings.php:3889
4062
  msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
4063
  msgstr ""
4064
  "Ime CSS razreda za div za ovijanje po meri za izogibanje blokiranju oglasov"
4065
 
4066
  #. translators: %s HTML tags
4067
- #: settings.php:3890
4068
  msgid "PHP code processing"
4069
  msgstr "Procesiranje PHP kode"
4070
 
4071
  #. translators: %s HTML tags
4072
- #: settings.php:3891
4073
  msgid "%s Banner %s code generator"
4074
  msgstr "Generator kode za %s pasice %s"
4075
 
4076
  #. translators: %s HTML tags
4077
- #: settings.php:3892
4078
  msgid "Support for %s header and footer %s code"
4079
  msgstr "Podpora za kodo v %s glavi in nogi %s"
4080
 
4081
  #. translators: %s HTML tags
4082
- #: settings.php:3893
4083
  msgid "Support for Google Analytics, Matomo or any other web analytics code"
4084
  msgstr ""
4085
  "Podpora za Google Analytics, Matomo ali katerokoli drugo spletno analitiko"
4086
 
4087
  #. translators: %s HTML tags
4088
- #: settings.php:3894
4089
  msgid "Desktop, tablet and phone server-side %s device detection %s"
4090
  msgstr ""
4091
  "%s Zaznava namizne, tablične in telefonske naprave %s na strani strani "
4092
  "strežnika"
4093
 
4094
  #. translators: %s HTML tags
4095
- #: settings.php:3895
4096
  msgid ""
4097
  "Client-side %s mobile device detection %s (works with caching, 6 custom "
4098
  "viewports)"
@@ -4100,7 +4178,7 @@ msgstr ""
4100
  "%s Zaznava mobilne naprave %s (deluje s predpomnjenjem, 6 pogledov po meri)"
4101
 
4102
  #. translators: %s HTML tags
4103
- #: settings.php:3896
4104
  msgid ""
4105
  "%s Ad blocking detection %s - popup message, ad replacement, content "
4106
  "protection"
@@ -4109,12 +4187,12 @@ msgstr ""
4109
  "vsebine"
4110
 
4111
  #. translators: %s HTML tags
4112
- #: settings.php:3897
4113
  msgid "%s Ad blocking statistics %s"
4114
  msgstr "%s Statistika blokiranja oglasov %s"
4115
 
4116
  #. translators: %s HTML tags
4117
- #: settings.php:3898
4118
  msgid ""
4119
  "%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
4120
  "referers"
@@ -4122,75 +4200,75 @@ msgstr ""
4122
  "%s Črni/Beli seznam %s kategorij, oznak, taksonomij, uporabnikov, url-jev"
4123
 
4124
  #. translators: %s HTML tags
4125
- #: settings.php:3899
4126
  msgid ""
4127
  "%s Black/White-list %s IP addresses or countries (works also with caching)"
4128
  msgstr ""
4129
  "%s Črni/Beli seznam %s IP naslovov ali držav (deluje tudi s predpomnjenjem)"
4130
 
4131
  #. translators: %s HTML tags
4132
- #: settings.php:3900
4133
  msgid "%s Multisite options %s to limit settings on the sites"
4134
  msgstr "%s Multisite možnosti %s za omejitev nastavitev na spletiščih"
4135
 
4136
  #. translators: %s HTML tags
4137
- #: settings.php:3901
4138
  msgid "%s Import/Export %s block or plugin settings"
4139
  msgstr "%s Uvoz/Izvoz %s nastavitve bloka ali vtičnika"
4140
 
4141
  #. translators: %s HTML tags
4142
- #: settings.php:3902
4143
  msgid "%s Insertion scheduling %s with fallback option"
4144
  msgstr "%s Urnik vstavljanja %s z možnostjo rezerve"
4145
 
4146
  #. translators: %s HTML tags
4147
- #: settings.php:3903
4148
  msgid "Country-level %s GEO targeting %s (works also with caching)"
4149
  msgstr "%s GEO ciljanje na ravni države %s (deluje tudi s predpomnjenjem)"
4150
 
4151
  #. translators: %s HTML tags
4152
- #: settings.php:3904
4153
  msgid "Simple troubleshooting with many %s debugging functions %s"
4154
  msgstr ""
4155
  "Preprosto odpravljanje napak z veliko %s funkcijami za razhroščevanje %s"
4156
 
4157
  #. translators: %s HTML tags
4158
- #: settings.php:3905
4159
  msgid "%s Visualization %s of inserted blocks or ads for easier placement"
4160
  msgstr ""
4161
  "%s Vizualizacija %s vstavljenih blokov ali oglasov za enostavno umeščanje"
4162
 
4163
  #. translators: %s HTML tags
4164
- #: settings.php:3906
4165
  msgid "%s Visualization %s of available positions for automatic ad insertion"
4166
  msgstr ""
4167
  "%s Vizualizacija %s razpoložljivih položajev za samodejno vstavljanje oglasov"
4168
 
4169
  #. translators: %s HTML tags
4170
- #: settings.php:3907
4171
  msgid ""
4172
  "%s Visualization %s of HTML tags for easier ad placement between paragraphs"
4173
  msgstr ""
4174
  "%s Vizualizacija %s HTML značk za enostavno vstavljanje oglasov med odstavki"
4175
 
4176
  #. translators: %s HTML tags
4177
- #: settings.php:3908
4178
  msgid "%s Clipboard support %s to easily copy blocks or settings"
4179
  msgstr ""
4180
  "%s Podpora za odložišče %s za enostavno kopiranje blokov ali nastavitev"
4181
 
4182
  #. translators: %s HTML tags
4183
- #: settings.php:3909
4184
  msgid "No ads on the settings page"
4185
  msgstr "Stran z nastavitvami brez oglasov"
4186
 
4187
  #. translators: %s HTML tags
4188
- #: settings.php:3910 settings.php:3933
4189
  msgid "Support via email"
4190
  msgstr "Podpora prek elektronske pošte"
4191
 
4192
  #. translators: %s HTML tags
4193
- #: settings.php:3913
4194
  msgid ""
4195
  "Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
4196
  "website with many advertising features to automatically insert adverts on "
@@ -4217,77 +4295,77 @@ msgstr ""
4217
  "(obstoječe nastavitve se bodo ohranile)."
4218
 
4219
  #. translators: %s HTML tags
4220
- #: settings.php:3926
4221
  msgid "Looking for %s Pro Ad Management plugin? %s"
4222
  msgstr "Iščete Pro vtičnik za %s Upravljanje z Oglasi? %s"
4223
 
4224
  #. translators: %s HTML tags
4225
- #: settings.php:3931
4226
  msgid "Ads between posts"
4227
  msgstr "Oglasi med prispevki"
4228
 
4229
  #. translators: %s HTML tags
4230
- #: settings.php:3932
4231
  msgid "Ads between comments"
4232
  msgstr "Oglasi med komentarji"
4233
 
4234
  #. translators: %s HTML tags
4235
- #: settings.php:3939
4236
  msgid "%s Sticky positions %s"
4237
  msgstr "%s Lepljivi položaji %s"
4238
 
4239
  #. translators: %s HTML tags
4240
- #: settings.php:3940
4241
  msgid "%s Limit insertions %s"
4242
  msgstr "%s Omeji vstavljanja %s"
4243
 
4244
  #. translators: %s HTML tags
4245
- #: settings.php:3941
4246
  msgid "%s Clearance %s options"
4247
  msgstr "Možnosti %s izogibanja %s"
4248
 
4249
  #. translators: %s HTML tags
4250
- #: settings.php:3947
4251
  msgid "Ad rotation"
4252
  msgstr "Vrtenje oglasov"
4253
 
4254
  #. translators: %s HTML tags
4255
- #: settings.php:3948
4256
  msgid "%s A/B testing %s"
4257
  msgstr "%s A/B testiranje %s"
4258
 
4259
  #. translators: %s HTML tags
4260
- #: settings.php:3949
4261
  msgid "%s Ad tracking %s"
4262
  msgstr "%s Sledenje oglasom %s"
4263
 
4264
  #. translators: %s HTML tags
4265
- #: settings.php:3955
4266
  msgid "Support for %s AMP pages %s"
4267
  msgstr "Podpora za %s AMP strani %s"
4268
 
4269
  #. translators: %s HTML tags
4270
- #: settings.php:3956
4271
  msgid "%s Ad blocking detection %s"
4272
  msgstr "%s Zaznavanje blokiranja oglasov %s"
4273
 
4274
  #. translators: %s HTML tags
4275
- #: settings.php:3957
4276
  msgid "%s Mobile device detection %s"
4277
  msgstr "%s Zaznavanje mobilne naprave %s"
4278
 
4279
  #. translators: %s HTML tags
4280
- #: settings.php:3964
4281
  msgid "64 code blocks"
4282
  msgstr "64 kodnih blokov"
4283
 
4284
  #. translators: %s HTML tags
4285
- #: settings.php:3965
4286
  msgid "%s GEO targeting %s"
4287
  msgstr "%s GEO ciljanje %s"
4288
 
4289
  #. translators: %s HTML tags
4290
- #: settings.php:3966
4291
  msgid "%s Scheduling %s"
4292
  msgstr "%s Urnik %s"
4293
 
@@ -4387,521 +4465,534 @@ msgstr "Za HTML elementom"
4387
  msgid "Inside HTML element"
4388
  msgstr "V HTML element"
4389
 
 
 
 
 
4390
  #: strings.php:35
 
 
 
 
4391
  msgid "do not insert"
4392
  msgstr "ne vstavi"
4393
 
4394
- #: strings.php:36
4395
  msgid "try to shift position"
4396
  msgstr "poskusi premakniti položaj"
4397
 
4398
- #: strings.php:38
4399
  msgid "above"
4400
  msgstr "zgoraj"
4401
 
4402
- #: strings.php:39
4403
  msgid "below"
4404
  msgstr "spodaj"
4405
 
4406
- #: strings.php:40
4407
  msgid "above and then below"
4408
  msgstr "zgoraj in potem spodaj"
4409
 
4410
- #: strings.php:41
4411
  msgid "below and then above"
4412
  msgstr "spodaj in potem zgoraj"
4413
 
4414
- #: strings.php:43
4415
  msgid "from top"
4416
  msgstr "od zgoraj"
4417
 
4418
- #: strings.php:44
4419
  msgid "from bottom"
4420
  msgstr "od spodaj"
4421
 
4422
- #: strings.php:46
4423
  msgctxt "paragraphs"
4424
  msgid "contain"
4425
  msgstr "vsebujejo"
4426
 
4427
- #: strings.php:47
4428
  msgctxt "paragraphs"
4429
  msgid "do not contain"
4430
  msgstr "ne vsebujejo"
4431
 
4432
- #: strings.php:49
4433
  msgctxt "insert for"
4434
  msgid "all users"
4435
  msgstr "vse uporabnike"
4436
 
4437
- #: strings.php:50
4438
  msgctxt "insert for"
4439
  msgid "logged in users"
4440
  msgstr "prijavljene uporabnike"
4441
 
4442
- #: strings.php:51
4443
  msgctxt "insert for"
4444
  msgid "not logged in users"
4445
  msgstr "neprijavljene uporabnike"
4446
 
4447
- #: strings.php:52
4448
  msgctxt "insert for"
4449
  msgid "administrators"
4450
  msgstr "skrbnike"
4451
 
4452
- #: strings.php:54
4453
  msgid "Black list"
4454
  msgstr "Črni seznam"
4455
 
4456
- #: strings.php:55
4457
  msgid "White list"
4458
  msgstr "Beli seznam"
4459
 
4460
- #: strings.php:57
4461
  msgctxt "alignment"
4462
  msgid "Default"
4463
  msgstr "Privzeta"
4464
 
4465
- #: strings.php:58
4466
  msgid "Align left"
4467
  msgstr "Leva poravnava"
4468
 
4469
- #: strings.php:59
4470
  msgid "Align right"
4471
  msgstr "Desna poravnava"
4472
 
4473
- #: strings.php:60
4474
  msgid "Center"
4475
  msgstr "Sredinska poravnava"
4476
 
4477
- #: strings.php:61
4478
  msgid "Float left"
4479
  msgstr "Plavajoče levo"
4480
 
4481
- #: strings.php:62
4482
  msgid "Float right"
4483
  msgstr "Plavajoče desno"
4484
 
4485
- #: strings.php:63
4486
  msgid "No wrapping"
4487
  msgstr "Brez ovijanja"
4488
 
4489
- #: strings.php:64
4490
  msgid "Custom CSS"
4491
  msgstr "CSS po meri"
4492
 
4493
- #: strings.php:65
4494
  msgid "Sticky left"
4495
  msgstr "Lepljiv levo"
4496
 
4497
- #: strings.php:66
4498
  msgid "Sticky right"
4499
  msgstr "Lepljiv desno"
4500
 
4501
- #: strings.php:67
4502
  msgid "Sticky top"
4503
  msgstr "Lepljiv zgoraj"
4504
 
4505
- #: strings.php:68
4506
  msgid "Sticky bottom"
4507
  msgstr "Lepljiv spodaj"
4508
 
4509
- #: strings.php:69
4510
  msgctxt "alignment"
4511
  msgid "Sticky"
4512
  msgstr "Lepljiva"
4513
 
4514
- #: strings.php:71
4515
  msgctxt "using"
4516
  msgid "auto counter"
4517
  msgstr "samodejnega števca"
4518
 
4519
- #: strings.php:72
4520
  msgctxt "using"
4521
  msgid "PHP function calls counter"
4522
  msgstr "števca klicev PHP funkcije"
4523
 
4524
- #: strings.php:73
4525
  msgctxt "using"
4526
  msgid "content processing counter"
4527
  msgstr "števca procesiranja vsebine"
4528
 
4529
- #: strings.php:74
4530
  msgctxt "using"
4531
  msgid "excerpt processing counter"
4532
  msgstr "števca procesiranja izvlečkov"
4533
 
4534
- #: strings.php:75
4535
  msgctxt "using"
4536
  msgid "before post processing counter"
4537
  msgstr "števca pred prispevkom"
4538
 
4539
- #: strings.php:76
4540
  msgctxt "using"
4541
  msgid "after post processing counter"
4542
  msgstr "števca za prispevkom"
4543
 
4544
- #: strings.php:77
4545
  msgctxt "using"
4546
  msgid "widget drawing counter"
4547
  msgstr "števca risanja gradnikov"
4548
 
4549
- #: strings.php:78
4550
  msgctxt "using"
4551
  msgid "subpages counter"
4552
  msgstr "števca podstrani"
4553
 
4554
- #: strings.php:79
4555
  msgctxt "using"
4556
  msgid "posts counter"
4557
  msgstr "števca prispevkov"
4558
 
4559
- #: strings.php:80
4560
  msgctxt "using"
4561
  msgid "paragraphs counter"
4562
  msgstr "števca odstavkov"
4563
 
4564
- #: strings.php:81
4565
  msgctxt "using"
4566
  msgid "comments counter"
4567
  msgstr "števca komentarjev"
4568
 
4569
- #: strings.php:83
 
 
 
 
 
4570
  msgctxt "posts"
4571
  msgid "Individually disabled"
4572
  msgstr "Posamezno onemogočeni"
4573
 
4574
- #: strings.php:84
4575
  msgctxt "posts"
4576
  msgid "Individually enabled"
4577
  msgstr "Posamezno omogočeni"
4578
 
4579
- #: strings.php:85
4580
  msgctxt "static pages"
4581
  msgid "Individually disabled"
4582
  msgstr "Posamezno onemogočene"
4583
 
4584
- #: strings.php:86
4585
  msgctxt "static pages"
4586
  msgid "Individually enabled"
4587
  msgstr "Posamezno omogočene"
4588
 
4589
- #: strings.php:88
4590
  msgid "Server-side"
4591
  msgstr "Na strani strežnika"
4592
 
4593
- #: strings.php:89
4594
  msgctxt "Insertion"
4595
  msgid "Client-side"
4596
  msgstr "Na strani klienta"
4597
 
4598
- #: strings.php:90
4599
  msgctxt "Dynamic blocks"
4600
  msgid "Client-side show"
4601
  msgstr "Prikaži na strani klienta"
4602
 
4603
- #: strings.php:91
4604
  msgctxt "Dynamic blocks"
4605
  msgid "Client-side insert"
4606
  msgstr "Vstavi na strani klienta"
4607
 
4608
- #: strings.php:92
4609
  msgctxt "Insertion"
4610
  msgid "Server-side using W3 Total Cache"
4611
  msgstr "Na strani strežnika z uporabo W3 Total Cache"
4612
 
4613
- #: strings.php:93
4614
  msgctxt "Insertion"
4615
  msgid "Client-side when DOM ready"
4616
  msgstr "Na strani klienta, ko je DOM pripravljen"
4617
 
4618
- #: strings.php:98
4619
  msgid "Replace element"
4620
  msgstr "Nadomesti element"
4621
 
4622
- #: strings.php:100
4623
  msgid "desktop devices"
4624
  msgstr "namizne naprave"
4625
 
4626
- #: strings.php:101
4627
  msgid "mobile devices"
4628
  msgstr "mobilne naprave"
4629
 
4630
- #: strings.php:102
4631
  msgid "tablet devices"
4632
  msgstr "tablične naprave"
4633
 
4634
- #: strings.php:103
4635
  msgid "phone devices"
4636
  msgstr "telefonske naprave"
4637
 
4638
- #: strings.php:104
4639
  msgid "desktop and tablet devices"
4640
  msgstr "namizne in telefonske naprave"
4641
 
4642
- #: strings.php:105
4643
  msgid "desktop and phone devices"
4644
  msgstr "tablične in telefonske naprave"
4645
 
4646
- #: strings.php:107
4647
  msgid "Stick to the left"
4648
  msgstr "Lepljiv na levi"
4649
 
4650
- #: strings.php:108
4651
  msgid "Stick to the content left"
4652
  msgstr "Lepljiv na vsebino levo"
4653
 
4654
- #: strings.php:109
4655
  msgid "Stick to the content right"
4656
  msgstr "Lepljiv na vsebino desno"
4657
 
4658
- #: strings.php:110
4659
  msgid "Stick to the right"
4660
  msgstr "Lepljiv na desni"
4661
 
4662
- #: strings.php:112
4663
  msgid "Stick to the top"
4664
  msgstr "Lepljiv na vrh"
4665
 
4666
- #: strings.php:113
4667
  msgid "Scroll with the content"
4668
  msgstr "Pomikaj z vsebino"
4669
 
4670
- #: strings.php:114
4671
  msgid "Stick to the bottom"
4672
  msgstr "Lepljiv na dno"
4673
 
4674
- #: strings.php:116
4675
  msgid "Fade"
4676
  msgstr "Uveni"
4677
 
4678
- #: strings.php:117
4679
  msgid "Slide"
4680
  msgstr "Drsaj"
4681
 
4682
- #: strings.php:118
4683
  msgid "Slide and Fade"
4684
  msgstr "Drsaj in Uveni"
4685
 
4686
- #: strings.php:119
4687
  msgid "Flip"
4688
  msgstr "Zavrti"
4689
 
4690
- #: strings.php:120
4691
  msgid "Zoom In"
4692
  msgstr "Približaj"
4693
 
4694
- #: strings.php:121
4695
  msgid "Zoom Out"
4696
  msgstr "Oddalji"
4697
 
4698
- #: strings.php:122
4699
  msgid "Turn"
4700
  msgstr "Obrni"
4701
 
4702
- #: strings.php:124
4703
  msgid "Page loaded"
4704
  msgstr "Stran naložena"
4705
 
4706
- #: strings.php:125
4707
  msgid "Page scrolled (%)"
4708
  msgstr "Stran pomaknjena (%)"
4709
 
4710
- #: strings.php:126
4711
  msgid "Page scrolled (px)"
4712
  msgstr "Stran pomaknjena (px)"
4713
 
4714
- #: strings.php:127
4715
  msgid "Element visible"
4716
  msgstr "Element viden"
4717
 
4718
- #: strings.php:129
4719
  msgid "Insert immediately"
4720
  msgstr "Vstavi takoj"
4721
 
4722
- #: strings.php:130
4723
  msgid "Delay insertion"
4724
  msgstr "Zakasni vstavljanje"
4725
 
4726
- #: strings.php:131
4727
  msgid "Insert between dates"
4728
  msgstr "Vstavi med datumoma"
4729
 
4730
- #: strings.php:132
4731
  msgid "Insert outside dates"
4732
  msgstr "Vstavi izven datumov"
4733
 
4734
- #: strings.php:133
4735
  msgid "Insert only"
4736
  msgstr "Vstavi samo"
4737
 
4738
- #: strings.php:134
4739
  msgid "Insert for posts published between dates"
4740
  msgstr "Vstavi samo za prispevke objavljene med datumoma"
4741
 
4742
- #: strings.php:135
4743
  msgid "Insert for posts published outside dates"
4744
  msgstr "Vstavi samo za prispevke objavljene izven datumov"
4745
 
4746
- #: strings.php:137
4747
  msgctxt "functions"
4748
  msgid "Standard"
4749
  msgstr "Običajne"
4750
 
4751
- #: strings.php:138
4752
  msgctxt "detection"
4753
  msgid "Standard"
4754
  msgstr "Običajno"
4755
 
4756
- #: strings.php:139
4757
  msgctxt "functions"
4758
  msgid "Multibyte"
4759
  msgstr "Večznakovne"
4760
 
4761
- #: strings.php:141
4762
  msgctxt "action"
4763
  msgid "None"
4764
  msgstr "Nobena"
4765
 
4766
- #: strings.php:142
4767
  msgctxt "button"
4768
  msgid "None"
4769
  msgstr "Noben"
4770
 
4771
- #: strings.php:143
4772
  msgid "Popup Message"
4773
  msgstr "Pojavno Sporočilo"
4774
 
4775
- #: strings.php:144
4776
  msgid "Redirection"
4777
  msgstr "Preusmeritev"
4778
 
4779
- #: strings.php:146
4780
  msgid "Do nothnig"
4781
  msgstr "Ne naredi ničesar"
4782
 
4783
- #: strings.php:148
4784
  msgctxt "Action when ad blocking detected"
4785
  msgid "Show"
4786
  msgstr "Pokaži"
4787
 
4788
- #: strings.php:149
4789
  msgctxt "Action when ad blocking detected"
4790
  msgid "Hide"
4791
  msgstr "Skrij"
4792
 
4793
- #: strings.php:151
4794
  msgctxt "tracking"
4795
  msgid "Internal"
4796
  msgstr "Interno"
4797
 
4798
- #: strings.php:152
4799
  msgctxt "detection"
4800
  msgid "Advanced"
4801
  msgstr "Napredno"
4802
 
4803
- #: strings.php:155
4804
  msgid "Top right"
4805
  msgstr "Zgoraj desno"
4806
 
4807
- #: strings.php:156
4808
  msgid "Top left"
4809
  msgstr "Zgoraj levo"
4810
 
4811
- #: strings.php:157
4812
  msgid "Bottom right"
4813
  msgstr "Spodaj desno"
4814
 
4815
- #: strings.php:158
4816
  msgid "Bottom left"
4817
  msgstr "Spodaj levo"
4818
 
4819
- #: strings.php:160
4820
  msgctxt "AdSense Ad Type"
4821
  msgid "Standard"
4822
  msgstr "Običajni"
4823
 
4824
- #: strings.php:161
4825
  msgctxt "AdSense Ad Type"
4826
  msgid "Link"
4827
  msgstr "Povezave"
4828
 
4829
- #: strings.php:162
4830
  msgctxt "AdSense Ad Type"
4831
  msgid "In-article"
4832
  msgstr "V članku"
4833
 
4834
- #: strings.php:163
4835
  msgctxt "AdSense Ad Type"
4836
  msgid "In-feed"
4837
  msgstr "V viru"
4838
 
4839
- #: strings.php:164
4840
  msgctxt "AdSense Ad Type"
4841
  msgid "Matched content"
4842
  msgstr "Prilagojena vsebina"
4843
 
4844
- #: strings.php:165
4845
  msgctxt "AdSense Ad Type"
4846
  msgid "Auto Ads"
4847
  msgstr "Samodejni"
4848
 
4849
- #: strings.php:167
4850
  msgctxt "AMP ad"
4851
  msgid "Disabled"
4852
  msgstr "Onemogočen"
4853
 
4854
- #: strings.php:168
4855
  msgid "Above the fold"
4856
  msgstr "Nad pregibom"
4857
 
4858
- #: strings.php:169
4859
  msgid "Below the fold"
4860
  msgstr "Pod pregibom"
4861
 
4862
- #: strings.php:171
4863
  msgctxt "size"
4864
  msgid "Fixed"
4865
  msgstr "Fiksna"
4866
 
4867
- #: strings.php:172
4868
  msgctxt "size"
4869
  msgid "Responsive"
4870
  msgstr "Odzivna"
4871
 
4872
- #: strings.php:173
4873
  msgctxt "size"
4874
  msgid "Fixed by viewport"
4875
  msgstr "Fiksna glede na pogled"
4876
 
4877
- #: strings.php:178
4878
  msgctxt "Button"
4879
  msgid "Hide"
4880
  msgstr "Skrij"
4881
 
4882
- #: strings.php:180
4883
  msgid "Insertion expired"
4884
  msgstr "Vstavljanje poteklo"
4885
 
4886
- #: strings.php:181
4887
  msgid "Duration"
4888
  msgstr "Trajanje"
4889
 
4890
- #: strings.php:182
4891
  msgid "Invalid end date - must be after start date"
4892
  msgstr "Neveljaven končni datum - mora biti za začetnim datumom"
4893
 
4894
- #: strings.php:183
4895
  msgid "Invalid start date - only data for 1 year back is available"
4896
  msgstr "Neveljaven začetni datum - na voljo so samo pdatki za 1 leto nataj"
4897
 
4898
- #: strings.php:184
4899
  msgid "Invalid date range - only data for 1 year can be displayed"
4900
  msgstr ""
4901
  "Neveljavno časovno oddobje - prikažejo se lahko samo podatki za 1 leto nazaj"
4902
 
4903
- #: strings.php:185 strings.php:186 strings.php:187 strings.php:188
4904
- #: strings.php:189 strings.php:190
4905
  msgid "day"
4906
  msgid_plural "days"
4907
  msgstr[0] "dan"
@@ -4909,97 +5000,112 @@ msgstr[1] "dni"
4909
  msgstr[2] "dni"
4910
  msgstr[3] "dni"
4911
 
4912
- #: strings.php:191
4913
  msgid "Warning"
4914
  msgstr "Opozorilo"
4915
 
4916
- #: strings.php:192
4917
  msgid "Delete"
4918
  msgstr "Pobriši"
4919
 
4920
- #: strings.php:194
4921
  msgid "Delete all statistics data?"
4922
  msgstr "Pobrišem vse podatke o statistiki?"
4923
 
4924
  #. translators: %s: dates
4925
- #: strings.php:196
4926
  msgid "Delete statistics data between %s and %s?"
4927
  msgstr "Pobrišem podatke o statistiki med %s in %s?"
4928
 
4929
- #: strings.php:197
4930
  msgid "Cancel block order rearrangement"
4931
  msgstr "Prekliči preureditev vrstnega reda blokov"
4932
 
4933
- #: strings.php:199
4934
  msgid "downloading..."
4935
  msgstr "prenašam..."
4936
 
4937
- #: strings.php:200
4938
  msgid "download error"
4939
  msgstr "napaka pri prenosu"
4940
 
4941
- #: strings.php:201
4942
  msgid "update error"
4943
  msgstr "napaka pri posodobitvi"
4944
 
4945
- #: strings.php:202
4946
  msgid "Updating..."
4947
  msgstr "Posodabljam..."
4948
 
4949
- #: strings.php:204
4950
  msgid "ERROR"
4951
  msgstr "NAPAKA"
4952
 
4953
- #: strings.php:205
4954
  msgid "Error reloading settings"
4955
  msgstr "Napaka pri nalaganju nastavitev"
4956
 
4957
- #: strings.php:207
 
4958
  msgid "Search..."
4959
  msgstr "Išči..."
4960
 
4961
- #: strings.php:220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4962
  msgid "Add"
4963
  msgstr "Dodaj"
4964
 
4965
- #: strings.php:221
4966
  msgid "Parent"
4967
  msgstr "Starš"
4968
 
4969
- #: strings.php:222
4970
  msgid "Cancel element selection"
4971
  msgstr "Prekliči izbor HTML elementa"
4972
 
4973
- #: strings.php:223
4974
  msgid "Select parent element"
4975
  msgstr "Izberi starševski element"
4976
 
4977
- #: strings.php:224
4978
  msgid "CSS selector"
4979
  msgstr "CSS selektor"
4980
 
4981
- #: strings.php:225
4982
  msgid "Use current selector"
4983
  msgstr "Uporabi trenutni selektor"
4984
 
4985
- #: strings.php:226
4986
  msgid "ELEMENT"
4987
  msgstr "ELEMENT"
4988
 
4989
- #: strings.php:227
4990
  msgid "PATH"
4991
  msgstr "POT"
4992
 
4993
- #: strings.php:228
4994
  msgid "SELECTOR"
4995
  msgstr "SELEKTOR"
4996
 
4997
- #: strings.php:229
4998
  msgctxt "Block"
4999
  msgid "VISIBLE"
5000
  msgstr "VIDEN"
5001
 
5002
- #: strings.php:230
5003
  msgctxt "Block"
5004
  msgid "HIDDEN"
5005
  msgstr "SKRIT"
@@ -5012,6 +5118,37 @@ msgstr ""
5012
  "Upravljanje z oglasi z veliko naprednimi funkcijami za vstavljanje oglasov "
5013
  "na optimalna mesta"
5014
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5015
  #~ msgid "Disable PHP code processing"
5016
  #~ msgstr "Onemogoči procesiranje PHP kode"
5017
 
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: 2019-01-07 23:17:37+00:00\n"
8
+ "PO-Revision-Date: 2019-01-08 00:18+0100\n"
9
  "Last-Translator: Igor Funa\n"
10
  "Language-Team: \n"
11
  "Language: sl_SI\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:284
20
  msgctxt "Menu item"
21
  msgid "Debugging DEMO"
22
  msgstr "DEMO Razhroščevanje"
23
 
24
+ #: ad-inserter.php:300
25
  msgctxt "Menu item"
26
  msgid "Label Blocks"
27
  msgstr "Označi bloke"
28
 
29
+ #: ad-inserter.php:307
30
  msgctxt "Menu item"
31
  msgid "Show Positions"
32
  msgstr "Pokaži položaje"
33
 
34
+ #: ad-inserter.php:378
35
  msgctxt "Menu item"
36
  msgid "Show HTML Tags"
37
  msgstr "Pokaži HTML značke"
38
 
39
+ #: ad-inserter.php:385
40
  msgctxt "Menu item"
41
  msgid "Disable Insertion"
42
  msgstr "Onemogoči vstavljanje"
43
 
44
+ #: ad-inserter.php:394
45
  msgctxt "Menu item"
46
  msgid "Ad Blocking Status"
47
  msgstr "Status blokiranja oglasov"
48
 
49
+ #: ad-inserter.php:401
50
  msgctxt "Menu item"
51
  msgid "Simulate Ad Blocking"
52
  msgstr "Simuliraj blokiranje oglasov"
53
 
54
+ #: ad-inserter.php:411
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:935
61
  msgid "Before"
62
  msgstr "Pred"
63
 
64
  #. translators: Debugging position name After HTML element
65
+ #: ad-inserter.php:940
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:945 strings.php:98
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:950 strings.php:99
78
  msgid "Append content"
79
  msgstr "Dodaj za vsebino"
80
 
81
  #. translators: Debugging position name Replace content of HTML element
82
+ #: ad-inserter.php:955 strings.php:100
83
  msgid "Replace content"
84
  msgstr "Nadomesti vsebino"
85
 
86
  #. translators: Debugging position name Replace HTML element
87
+ #: ad-inserter.php:960 strings.php:150
88
  msgid "Replace"
89
  msgstr "Nadomesti"
90
 
91
  #. translators: Debugging message when output buffering is enabled
92
+ #: ad-inserter.php:1005
93
  msgid "OUTPUT BUFFERING"
94
  msgstr "PREDPOMNJENJE IZHODA"
95
 
96
  #. translators: Debugging position
97
+ #: ad-inserter.php:1009
98
  msgid "Above Header"
99
  msgstr "Nad Glavo"
100
 
101
+ #: ad-inserter.php:1210
102
  msgctxt "Menu item"
103
  msgid "Log In"
104
  msgstr "Prijava"
105
 
106
  #. translators: %s: Ad Inserter
107
+ #: ad-inserter.php:1484 ad-inserter.php:2351
108
  msgid "%s Settings"
109
  msgstr "%s Nastavitve"
110
 
111
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
112
+ #: ad-inserter.php:1922
113
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
114
+ msgstr "ZAZNANO BLOKIRANJE OGLASOV, OGLEDI STRANI"
115
 
116
+ #: ad-inserter.php:1922
117
  msgid "NO ACTION"
118
  msgstr "NI AKCIJE"
119
 
120
+ #: ad-inserter.php:1923
121
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
122
+ msgstr "ZAZNANO BLOKIRANJE OGLASOV, ZAZNAN PIŠKOTEK, NI AKCIJE"
123
 
124
+ #: ad-inserter.php:1924
125
  msgid "AD BLOCKING DETECTED - ACTION"
126
+ msgstr "ZAZNANO BLOKIRANJE OGLASOV - AKCIJA"
127
 
128
+ #: ad-inserter.php:1925
129
  msgid "AD BLOCKING NOT DETECTED"
130
  msgstr "BLOKIRANJE OGLASOV NI ZAZNANO"
131
 
132
+ #: ad-inserter.php:1926
133
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
134
  msgstr "PIŠKOTKI ZA ZAZNAVANJE BLOKIRANJA OGLASOV POBRISANI"
135
 
136
+ #: ad-inserter.php:1927
137
  msgid "AD BLOCKING DETECTED - NO ACTION"
138
+ msgstr "ZAZNANO BLOKIRANJE OGLASOV - NI AKCIJE"
139
 
140
  #. Translators: 1: number of blocks, 2: Ad Inserter
141
+ #: ad-inserter.php:2122
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."
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:2123 includes/functions.php:1452
150
  msgid "No, thank you."
151
  msgstr "Ne, hvala."
152
 
153
  #. Translators: %s: Ad Inserter
154
+ #: ad-inserter.php:2126
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:2127 includes/functions.php:1454
160
  msgid "Not now, maybe later."
161
  msgstr "Ne zdaj, mogoče kasneje."
162
 
163
+ #: ad-inserter.php:2137
164
  msgid ""
165
  "I would really appreciate it if you could give the plugin a 5-star rating on "
166
  "WordPres."
168
  "Res bi bili vesel, če bi lahko na WordPress-u vtičnik ocenili s 5-imi "
169
  "zvezicami."
170
 
171
+ #: ad-inserter.php:2139
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"
177
  "funkcij za boljšo monetizacijo vašega spletnega mesta. Hvala, Igor"
178
 
179
  #. translators: %s: Ad Inserter
180
+ #: ad-inserter.php:2145
181
  msgid "Rate %s"
182
  msgstr "Oceni %s"
183
 
184
+ #: ad-inserter.php:2150
185
  msgid "I already did."
186
  msgstr "Sem že."
187
 
188
+ #: ad-inserter.php:2164
189
  msgctxt "Menu item"
190
  msgid "Settings"
191
  msgstr "Nastavitve"
192
 
193
  #. translators: %s: Ad Inserter
194
+ #: ad-inserter.php:2238
195
  msgctxt "Meta box name"
196
  msgid "%s Individual Exceptions"
197
  msgstr "Posamezne Izjeme za %s"
198
 
199
+ #: ad-inserter.php:2267 ad-inserter.php:7724 class.php:1926
200
+ #: includes/preview.php:1792 includes/preview.php:1836
201
+ #: includes/preview.php:1873 settings.php:3208 strings.php:3
202
  msgid "Block"
203
  msgstr "Blok"
204
 
205
+ #: ad-inserter.php:2268 settings.php:3209 settings.php:3283
206
  msgid "Name"
207
  msgstr "Ime"
208
 
209
+ #: ad-inserter.php:2269 settings.php:947 settings.php:3211
210
  msgid "Automatic insertion"
211
  msgstr "Samodejno vstavljanje"
212
 
213
+ #: ad-inserter.php:2272
214
  msgid "Default insertion for pages"
215
  msgstr "Privzeto vstavljanje za strani"
216
 
217
+ #: ad-inserter.php:2273
218
  msgid "Default insertion for posts"
219
  msgstr "Privzeto vstavljanje za prispevke"
220
 
221
  #. translators: For this post or page
222
+ #: ad-inserter.php:2276
223
  msgctxt "Page"
224
  msgid "For this"
225
  msgstr "Za to"
226
 
227
+ #: ad-inserter.php:2277
228
  msgctxt "Post"
229
  msgid "For this"
230
  msgstr "Za ta"
231
 
232
+ #: ad-inserter.php:2285
233
  msgctxt "Enabled/disabled on all"
234
  msgid "pages"
235
  msgstr "straneh"
236
 
237
+ #: ad-inserter.php:2286
238
  msgctxt "Default insertion for"
239
  msgid "pages"
240
  msgstr "strani"
241
 
242
+ #: ad-inserter.php:2290
243
  msgctxt "Enabled/disabled on all"
244
  msgid "posts"
245
  msgstr "prispevkih"
246
 
247
+ #: ad-inserter.php:2291
248
  msgctxt "Default insertion for"
249
  msgid "posts"
250
  msgstr "prispevke"
251
 
252
+ #: ad-inserter.php:2310 ad-inserter.php:2323 strings.php:156
253
  msgid "Enabled"
254
  msgstr "Omogočeno"
255
 
256
  #. translators: Menu items
257
+ #: ad-inserter.php:2310 ad-inserter.php:2323 includes/functions.php:2036
258
  #: strings.php:16
259
  msgid "Disabled"
260
  msgstr "Onemogočeno"
261
 
262
  #. translators: Enabled on all pages or posts
263
+ #: ad-inserter.php:2313
264
  msgid "Enabled on all"
265
  msgstr "Omogočeno na vseh"
266
 
267
  #. translators: Disabled on all pages or posts
268
+ #: ad-inserter.php:2315
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:2343
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:2348
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> "
285
  "izbira poleg kljukice za vklop <strong>Prispevki</strong> / <strong>Statične "
286
  "strani</strong>.<br />"
287
 
288
+ #: ad-inserter.php:2353
289
  msgid ""
290
  "Default value is <strong>blank</strong> and means no individual exceptions "
291
  "(even if previously defined here).<br />"
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:2356
297
  msgctxt "Pages"
298
  msgid ""
299
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
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:2357
306
  msgctxt "Posts"
307
  msgid ""
308
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
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:2359
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:2361
320
  msgid "Individual Exceptions"
321
  msgstr "Posamezne Izjeme"
322
 
323
+ #: ad-inserter.php:2406
324
  msgid "STATIC PAGE"
325
  msgstr "STATIČNA STRAN"
326
 
327
+ #: ad-inserter.php:2409
328
  msgid "POST"
329
  msgstr "PRISPEVEK"
330
 
331
+ #: ad-inserter.php:2412
332
  msgid "HOMEPAGE"
333
  msgstr "DOMAČA STRAN"
334
 
335
+ #: ad-inserter.php:2415
336
  msgid "CATEGORY PAGE"
337
  msgstr "STRAN KATEGORIJE"
338
 
339
+ #: ad-inserter.php:2418
340
  msgid "SEARCH PAGE"
341
  msgstr "STRAN ISKANJE"
342
 
343
+ #: ad-inserter.php:2421
344
  msgid "ARCHIVE PAGE"
345
  msgstr "STRAN ARHIV"
346
 
347
+ #: ad-inserter.php:2424
348
  msgid "ERROR 404 PAGE"
349
  msgstr "STRAN NAPAKA 404"
350
 
351
+ #: ad-inserter.php:2427
352
  msgid "AJAX CALL"
353
  msgstr "AJAX KLIC"
354
 
355
+ #: ad-inserter.php:2430
356
  msgid "UNKNOWN PAGE TYPE"
357
  msgstr "NEZNAN TIP STRANI"
358
 
359
+ #: ad-inserter.php:2447
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:2448
364
  msgid "AD BLOCKING STATUS UNKNOWN"
365
  msgstr "NEZNAN STATUS BLOKIRANJA OGLASOV"
366
 
367
  #. translators: %s: AdSense Auto Ads
368
+ #: ad-inserter.php:2472
369
  msgid ""
370
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
371
  "positions"
373
  "Zaznana koda za %s - Koda bo samodejno vstavila oglase AdSense na optimalne "
374
  "položaje"
375
 
376
+ #: ad-inserter.php:2595
377
  msgid "Code for insertion"
378
  msgstr "Koda za vstavljanje"
379
 
380
+ #: ad-inserter.php:2595
381
  msgid "character"
382
  msgid_plural "characters"
383
  msgstr[0] "znak"
385
  msgstr[2] "znaki"
386
  msgstr[3] "znakov"
387
 
388
+ #: ad-inserter.php:2638
389
  msgid "Header code"
390
  msgstr "Koda v glavi"
391
 
392
+ #: ad-inserter.php:2638
393
  msgctxt "Header code"
394
  msgid "DISABLED"
395
  msgstr "ONEMOGOČENA"
396
 
397
+ #: ad-inserter.php:2638 ad-inserter.php:2857
398
  msgid "character inserted"
399
  msgid_plural "characters inserted"
400
  msgstr[0] "znak vstavljen"
402
  msgstr[2] "znaki vstavljeni"
403
  msgstr[3] "znakov vstavljenih"
404
 
405
+ #: ad-inserter.php:2671
406
  msgid "Automatically placed by AdSense Auto ads code"
407
  msgstr "Samodejno postavila koda za oglase AdSense Auto ads"
408
 
409
+ #: ad-inserter.php:2857
 
 
 
 
 
 
 
 
410
  msgid "Footer code"
411
  msgstr "Koda v nogi"
412
 
413
+ #: ad-inserter.php:2857
414
  msgctxt "Footer code"
415
  msgid "DISABLED"
416
  msgstr "ONEMOGOČENA"
417
 
418
+ #: ad-inserter.php:2863
419
+ msgid "JAVASCRIPT NOT WORKING"
420
+ msgstr "JAVASCRIPT NE DELA"
421
+
422
+ #: ad-inserter.php:2863
423
+ msgid "NO JAVASCRIPT ERRORS"
424
+ msgstr "BREZ JAVASCRIPT NAPAK"
425
+
426
+ #: ad-inserter.php:2863
427
+ msgid "JAVASCRIPT ERRORS"
428
+ msgstr "JAVASCRIPT NAPAKE"
429
+
430
  #. translators: block name (block with default settings)
431
+ #: ad-inserter.php:4903
432
  msgctxt "Block name"
433
  msgid "Default"
434
  msgstr "Privzeti"
435
 
436
  #. translators: %s: Ad Inserter
437
+ #: ad-inserter.php:5474
438
  msgid "Error importing %s settings."
439
  msgstr "Napaka pri uvozu %s nastavitev."
440
 
441
+ #: ad-inserter.php:5475
442
  msgid "Error importing settings for block"
443
  msgid_plural "Error importing settings for blocks:"
444
  msgstr[0] "Napaka pri uvozu nastavitev za blok"
446
  msgstr[2] "Napaka pri uvozu nastavitev za bloke:"
447
  msgstr[3] "Napaka pri uvozu nastavitev za bloke:"
448
 
449
+ #: ad-inserter.php:5524
450
  msgid "Settings saved."
451
  msgstr "Nastavitve shranjene."
452
 
453
+ #: ad-inserter.php:5609
454
  msgid "Settings cleared."
455
  msgstr "Nastavitve ponastavljene."
456
 
457
+ #: ad-inserter.php:5953 ad-inserter.php:5955 ad-inserter.php:5978
458
  msgid "word"
459
  msgid_plural "words"
460
  msgstr[0] "beseda"
462
  msgstr[2] "besede"
463
  msgstr[3] "besed"
464
 
465
+ #: ad-inserter.php:5994 ad-inserter.php:6105
466
  msgid "HTML TAGS REMOVED"
467
  msgstr "HTML ZNAČKE ODSTRANJENE"
468
 
469
+ #: ad-inserter.php:6181
470
  msgid "BEFORE COMMENTS"
471
  msgstr "PRED KOMENTARJI"
472
 
473
+ #: ad-inserter.php:6289
474
  msgid "AFTER COMMENTS"
475
  msgstr "PO KOMETARJIH"
476
 
477
+ #: ad-inserter.php:6352
478
  msgid "BETWEEN COMMENTS"
479
  msgstr "MED KOMENTARJI"
480
 
481
+ #: ad-inserter.php:7374
482
  msgid "requires WordPress 4.0 or newer"
483
  msgstr "potrebuje WordPress 4.0 ali novejši"
484
 
485
+ #: ad-inserter.php:7374
486
  msgid "Please update!"
487
  msgstr "Prosimo, posodobite!"
488
 
489
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
490
  #. name with HTML tags will be added)
491
+ #: ad-inserter.php:7597
492
  msgid "Thank you for installing"
493
  msgstr "Hvala za namestitev vtičnika"
494
 
495
  #. translators: Opt-in message: %s: HTML tags
496
+ #: ad-inserter.php:7599
497
  msgid ""
498
  "We would like to %s track its usage %s on your site. This is completely "
499
  "optional and can be disabled at any time."
501
  "Radi bi %s sledili njegovi uporabi %s na vašem spletnem mestu. To je povsem "
502
  "izbirno in se lahko izključi kadarkoli."
503
 
504
+ #: ad-inserter.php:7601
505
  msgid ""
506
  "We don't record any sensitive data, only information regarding the WordPress "
507
  "environment and plugin usage, which will help us to make improvements to the "
511
  "uporabe vtičnika, kar nam bo omogočilo izdelavo izboljšav za vtičnik."
512
 
513
  #. translators: Deactivation message: %s: HTML tags
514
+ #: ad-inserter.php:7638
515
  msgid ""
516
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
517
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
522
  "nam %s in poskušali vam bomo pomagati."
523
 
524
  #. translators: %s: Ad Inserter
525
+ #: ad-inserter.php:7681
526
  msgid "%s block."
527
  msgstr "%s blok."
528
 
529
  #. translators: widget title
530
+ #: ad-inserter.php:7697 ad-inserter.php:7733
531
  msgid "Processing log"
532
  msgstr "Dnevnik procesiranja"
533
 
534
  #. translators: widget title
535
+ #: ad-inserter.php:7699 ad-inserter.php:7734
536
  msgid "Dummy widget"
537
  msgstr "Prazen gradnik"
538
 
539
  #. translators: widget title
540
+ #: ad-inserter.php:7701 ad-inserter.php:7732
541
  msgid "Debugging tools"
542
  msgstr "Orodja za razhroščevanje"
543
 
544
  #. translators: block status (widget title)
545
+ #: ad-inserter.php:7708
546
  msgctxt "block"
547
  msgid "PAUSED"
548
  msgstr "USTAVLJEN"
549
 
550
+ #: ad-inserter.php:7709
551
  msgid "WIDGET DISABLED"
552
  msgstr "GRADNIK ONEMOGOČEN"
553
 
554
+ #: ad-inserter.php:7710
555
  msgid "Unknown block"
556
  msgstr "Neznan blok"
557
 
558
+ #: ad-inserter.php:7719 includes/functions.php:2502 settings.php:1095
559
  msgid "Title"
560
  msgstr "Naslov"
561
 
562
+ #: ad-inserter.php:7741
563
  msgctxt "Widget"
564
  msgid "Sticky"
565
  msgstr "Lepljiv"
566
 
567
+ #: ad-inserter.php:7790
568
  msgid ""
569
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
570
  "Inserter you need to first deactivate Ad Inserter Pro."
573
  "aktiven! Za aktivacijo vtičnika Ad Inserter morate najprej onemogočiti Ad "
574
  "Inserter Pro."
575
 
576
+ #: ad-inserter.php:7791
577
  msgid ""
578
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
579
  "will clear all settings that are available only in the Pro version (blocks "
584
  "različici (bloki 17 - 96, dodatne nastavitve blokov in vtičnika)!"
585
 
586
  #. translators: %s: Ad Inserter
587
+ #: class.php:452 class.php:461 class.php:464
588
  msgid "PHP error in %s block"
589
  msgstr "PHP napaka v bloku %s"
590
 
591
+ #: class.php:1892
592
  msgid "Counters"
593
  msgstr "Števci"
594
 
595
+ #: class.php:1896
596
  msgid "Content"
597
  msgstr "Vsebina"
598
 
599
+ #: class.php:1901
600
  msgid "Excerpt"
601
  msgstr "Izvleček"
602
 
603
+ #: class.php:1906 strings.php:17
604
  msgid "Before post"
605
  msgstr "Pred prispevkom"
606
 
607
+ #: class.php:1911 strings.php:18
608
  msgid "After post"
609
  msgstr "Za prispevkom"
610
 
611
+ #: class.php:1916 settings.php:1599 settings.php:3215
612
  msgid "Widget"
613
  msgstr "Gradnik"
614
 
615
+ #: class.php:1921 settings.php:3213
616
  msgid "PHP function call"
617
  msgstr "Klic PHP funkcije"
618
 
619
+ #: class.php:1956
620
  msgid "AJAX REQUEST"
621
  msgstr "AJAX ZAHTEVEK"
622
 
623
+ #: class.php:1959
624
+ msgid "Ajax request for block in iframe"
625
+ msgstr "Ajax zahtevek za blok v iframe-u"
626
+
627
+ #: class.php:1978
628
+ msgid "Ajax request url, click to open it in a new tab"
629
+ msgstr "Url Ajax zahtevka, kliknite, da ga odprete v novem zavihku"
630
 
631
+ #: class.php:1981
632
  msgid "IN THE LOOP"
633
  msgstr "V ZANKI"
634
 
635
+ #: class.php:1981
636
  msgid "YES"
637
  msgstr "DA"
638
 
639
+ #: class.php:1981
640
  msgid "NO"
641
  msgstr "NE"
642
 
643
+ #: class.php:2017
644
+ msgid "BLOCK"
645
+ msgstr "BLOK"
646
+
647
+ #: class.php:2017
648
+ msgctxt "block or widget"
649
+ msgid "INSERTED BUT NOT VISIBLE"
650
+ msgstr "VSTAVLJEN, VENDAR NI VIDEN"
651
+
652
  #. translators: %s: list parameters and type
653
+ #: class.php:2410
654
  msgid "parameters='%s' type='%s'"
655
  msgstr "parametri='%s' tip='%s'"
656
 
657
  #. translators: %s: list parameters and type
658
+ #: class.php:2412
659
  msgid "referers='%s' type='%s'"
660
  msgstr "napotitelji='%s' tip='%s'"
661
 
662
  #. translators: %s: list parameters and type
663
+ #: class.php:2473
664
  msgid "countries='%s' type='%s'"
665
  msgstr "države='%s' tip='%s'"
666
 
667
  #. translators: %s: list parameters and type
668
+ #: class.php:2475
669
  msgid "ip addresses='%s' type='%s'"
670
  msgstr "ip naslovi='%s' tip='%s'"
671
 
672
+ #: class.php:2687 strings.php:218
 
 
 
 
 
 
 
 
 
 
 
 
 
673
  msgid "BEFORE"
674
  msgstr "PRED"
675
 
676
+ #: class.php:2695 strings.php:220
677
  msgid "PREPEND CONTENT"
678
  msgstr "DODAJ PRED VSEBINO"
679
 
680
+ #: class.php:2699 strings.php:221
681
  msgid "APPEND CONTENT"
682
  msgstr "DODAJ ZA VSEBINO"
683
 
684
+ #: class.php:2703 strings.php:222
685
  msgid "REPLACE CONTENT"
686
  msgstr "NADOMESTI VSEBINO"
687
 
688
+ #: class.php:2707 strings.php:223
689
  msgid "REPLACE ELEMENT"
690
  msgstr "NADOMESTI ELEMENT"
691
 
692
+ #: class.php:2718 strings.php:219
693
  msgid "AFTER"
694
  msgstr "ZA"
695
 
696
+ #: class.php:2785
697
  msgctxt "JavaScript"
698
  msgid "script"
699
  msgstr "skripta"
700
 
701
+ #: class.php:2788 settings.php:1865
702
  msgid "for"
703
  msgstr "za"
704
 
705
+ #: class.php:5306 class.php:5358
706
  msgctxt "category name"
707
  msgid "Uncategorized"
708
  msgstr "Nekategorizirano"
709
 
710
+ #: class.php:5847
711
  msgid ""
712
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
713
  "extension for PHP."
716
  "namestiti DOM razširitev za PHP."
717
 
718
  #: includes/editor.php:7 includes/placeholders.php:345
719
+ #: includes/preview.php:1778 strings.php:225
720
  msgid "Use"
721
  msgstr "Uporabi"
722
 
723
+ #: includes/editor.php:8 includes/preview.php:1779
724
  msgid "Reset"
725
  msgstr "Ponastavi"
726
 
727
  #: includes/editor.php:9 includes/placeholders.php:347
728
+ #: includes/preview.php:1781 strings.php:196 strings.php:224
729
  msgid "Cancel"
730
  msgstr "Prekliči"
731
 
734
  msgstr "Vizualni Urejevalnik Kode"
735
 
736
  #: includes/editor.php:262 includes/preview-adb.php:289
737
+ #: includes/preview.php:1768
738
  msgid ""
739
  "This page was not loaded properly. Please check browser, plugins and ad "
740
  "blockers."
747
  msgstr "Napaka pri nalaganju strani"
748
 
749
  #: includes/editor.php:264 includes/preview-adb.php:291
750
+ #: includes/preview.php:1770
751
  msgid "PAGE BLOCKED"
752
  msgstr "STRAN BLOKIRANA"
753
 
754
+ #: includes/functions.php:252
755
+ msgid "%d of %d names shown"
756
+ msgstr "Prikazanih %d od %d imen"
757
+
758
+ #. translators: %s: name filter
759
+ #: includes/functions.php:271
760
+ msgid "No name matches filter"
761
+ msgstr "Noben podatek ne ustreza filtru"
762
+
763
+ #: includes/functions.php:327
764
  msgid "Online documentation"
765
  msgstr "Spletna Dokumentacija"
766
 
767
+ #: includes/functions.php:327 settings.php:168
768
  msgid "Documentation"
769
  msgstr "Dokumentacija"
770
 
771
+ #: includes/functions.php:340 settings.php:171
772
  msgid "Blocks"
773
  msgstr "Bloki"
774
 
775
  #. translators: %s: Ad Inserter Pro
776
+ #: includes/functions.php:363
777
  msgid ""
778
  "Import %s settings when saving - if checked, the encoded settings below will "
779
  "be imported for all blocks and settings"
781
  "Uvozi %s nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
782
  "nastavitve spodaj uvozile za vse bloke in nastavitve"
783
 
784
+ #: includes/functions.php:363
785
  msgid "Import Settings for"
786
  msgstr "Uvozi Nastavitve za"
787
 
788
+ #: includes/functions.php:367
789
  msgid "Saved settings for"
790
  msgstr "Shranjene nastavitve za"
791
 
792
+ #: includes/functions.php:384
793
  msgid "License Key"
794
  msgstr "Licenčni Ključ"
795
 
796
+ #: includes/functions.php:387
797
  msgid "License Key for"
798
  msgstr "Licenčni Ključ za"
799
 
800
+ #: includes/functions.php:393
801
+ msgid "Hide license key"
802
+ msgstr "Skrij licenčni ključ"
803
+
804
+ #: includes/functions.php:393
805
+ msgid "Hide key"
806
+ msgstr "Skrij ključ"
807
+
808
+ #: includes/functions.php:414
809
  msgid "Main content element"
810
  msgstr "Glavni element vsebine"
811
 
812
+ #: includes/functions.php:417
813
  msgid ""
814
  "Main content element (#id or .class) for 'Stick to the content' position. "
815
  "Leave empty unless position is not properly calculated."
817
  "Glavni element vsebine (#id ali .razred) za položaj 'Lepljiv na vsebino'. "
818
  "Pustite prazno razen v primeru, ko položaj ni pravilno izračunan."
819
 
820
+ #: includes/functions.php:418 settings.php:1131 settings.php:2455
821
  msgid "Open HTML element selector"
822
  msgstr "Odpri izbirnik HTML elementa"
823
 
824
+ #: includes/functions.php:423
825
  msgid "Lazy loading offset"
826
  msgstr "Zamik za leno nalaganje"
827
 
828
+ #: includes/functions.php:426
829
  msgid "Offset of the block from the visible viewport when it should be loaded"
830
  msgstr "Zamik bloka od vidnega pogleda, ko bi ta moral biti naložen"
831
 
832
+ #: includes/functions.php:437
833
  msgid "Export / Import Block Settings"
834
  msgstr "Izvozi / Uvozi Nastavitve Bloka"
835
 
836
+ #: includes/functions.php:452
837
  msgid "Track impressions and clicks for this block"
838
  msgstr "Sledi prikazom in klikom za ta blok"
839
 
840
+ #: includes/functions.php:452
841
  msgid " - global tracking disabled"
842
  msgstr " - globalno sledenje onemogočeno"
843
 
844
+ #: includes/functions.php:461
845
  msgid "Toggle Ad Blocking Statistics"
846
  msgstr "Preklopi Statistiko Blokiranja Oglasov"
847
 
848
+ #: includes/functions.php:470 includes/functions.php:2372
849
  msgid "Toggle Statistics"
850
  msgstr "Preklopi Statistiko"
851
 
852
  #. translators: %s: Ad Inserter Pro
853
+ #: includes/functions.php:486
854
  msgid "%s license key is not set. Continue?"
855
  msgstr "%s licenčni ključ ni nastavljen. Nadaljujem?"
856
 
857
  #. translators: %s: Ad Inserter Pro
858
+ #: includes/functions.php:490
859
  msgid "Invalid %s license key. Continue?"
860
  msgstr "Neveljaven %s licenčni ključ. Nadaljujem?"
861
 
862
  #. translators: %s: Ad Inserter Pro
863
+ #: includes/functions.php:494
864
  msgid "%s license overused. Continue?"
865
  msgstr "%s licenca prekomerno uporabljena. Nadaljujem?"
866
 
867
+ #: includes/functions.php:498 settings.php:1935
868
  msgid "Save Settings"
869
  msgstr "Sharani Nastavitve"
870
 
871
+ #: includes/functions.php:558 includes/preview.php:1913
872
  msgid "Horizontal position"
873
  msgstr "Vodoravni položaj"
874
 
875
+ #: includes/functions.php:581
876
  msgid ""
877
  "Horizontal margin from the content or screen edge, empty means default value "
878
  "from CSS"
880
  "Vodoravni odmik od vsebine ali roba zaslona, prazno pomeni privzeta vrednost "
881
  "iz CSS"
882
 
883
+ #: includes/functions.php:589 includes/preview.php:1968
884
  msgid "Vertical position"
885
  msgstr "Navpični položaj"
886
 
887
+ #: includes/functions.php:604
888
  msgid ""
889
  "Vertical margin from the top or bottom screen edge, empty means default "
890
  "value from CSS"
892
  "Navpični odmik od roba vrha ali dna zaslona, prazno pomeni privzeta vrednost "
893
  "iz CSS"
894
 
895
+ #: includes/functions.php:629 includes/preview.php:2019
896
  msgid "Animation"
897
  msgstr "Animacija"
898
 
899
+ #: includes/functions.php:647
900
  msgid "Trigger"
901
  msgstr "Sporžilec"
902
 
903
+ #: includes/functions.php:656
904
  msgid ""
905
  "Trigger value: page scroll in %, page scroll in px or element with selector "
906
  "(#id or .class) becomes visible"
908
  "Sprožilna vrednost: pomik strani v %, pomik strani v px ali element s "
909
  "selektorjem (#id ali .razred) postane viden"
910
 
911
+ #: includes/functions.php:660
912
  msgid "Offset"
913
  msgstr "Zamik"
914
 
915
+ #: includes/functions.php:660
916
  msgid "Offset of trigger element"
917
  msgstr "Zamik sprožilnega elementa"
918
 
919
+ #: includes/functions.php:664
920
  msgid "Delay"
921
  msgstr "Zakasnitev"
922
 
923
+ #: includes/functions.php:664
924
  msgid "Delay animation after trigger condition"
925
  msgstr "Zakasni animacijo po izpolnitvi pogoja sprožilca"
926
 
927
+ #: includes/functions.php:668
928
  msgid "Trigger once"
929
  msgstr "Sproži enkrat"
930
 
931
+ #: includes/functions.php:670
932
  msgid "Trigger animation only once"
933
  msgstr "Sproži animacijo samo enkrat"
934
 
935
+ #: includes/functions.php:709
936
  msgid "Tracking is globally disabled"
937
  msgstr "Sledenje je globalno onemogočeno"
938
 
939
+ #: includes/functions.php:713
940
  msgid "Tracking for this block is disabled"
941
  msgstr "Sledenje za ta blok je onemogočeno"
942
 
943
+ #: includes/functions.php:723 settings.php:2976 settings.php:3012
944
+ #: strings.php:206
945
  msgid "Loading..."
946
  msgstr "Nalagam..."
947
 
948
+ #: includes/functions.php:739
949
  msgid ""
950
  "Clear statistics data for the selected range - clear both dates to delete "
951
  "all data for this block"
953
  "Pobriši podatke o statistiki za izbrano obdobje - pobriši oba datuma za "
954
  "brisanje vseh podatkov za ta blok"
955
 
956
+ #: includes/functions.php:743
957
  msgid "Auto refresh data for the selected range every 60 seconds"
958
  msgstr "Samodejna osvežitev podatkov za izbrano obdobje vsakih 60 sekund"
959
 
960
+ #: includes/functions.php:746
961
  msgid "Load data for last month"
962
  msgstr "Naloži podatke za zadnji mesec"
963
 
964
+ #: includes/functions.php:746
965
  msgid "Last Month"
966
  msgstr "Zadnji Mesec"
967
 
968
+ #: includes/functions.php:749
969
  msgid "Load data for this month"
970
  msgstr "Naloži podatke za ta mesec"
971
 
972
+ #: includes/functions.php:749
973
  msgid "This Month"
974
  msgstr "Ta Mesec"
975
 
976
+ #: includes/functions.php:752
977
  msgid "Load data for this year"
978
  msgstr "Naloži podatke za to leto"
979
 
980
+ #: includes/functions.php:752
981
  msgid "This Year"
982
  msgstr "To Leto"
983
 
984
+ #: includes/functions.php:755
985
  msgid "Load data for the last 15 days"
986
  msgstr "Naloži podatke za zadnjih 15 dni"
987
 
988
+ #: includes/functions.php:758
989
  msgid "Load data for the last 30 days"
990
  msgstr "Naloži podatke za zadnjih 30 dni"
991
 
992
+ #: includes/functions.php:761
993
  msgid "Load data for the last 90 days"
994
  msgstr "Naloži podatke za zadnjih 90 dni"
995
 
996
+ #: includes/functions.php:764
997
  msgid "Load data for the last 180 days"
998
  msgstr "Naloži podatke za zadnjih 180 dni"
999
 
1000
+ #: includes/functions.php:767
1001
  msgid "Load data for the last 365 days"
1002
  msgstr "Naloži podatke za zadnjih 365 dni"
1003
 
1004
+ #: includes/functions.php:777
1005
  msgid "Load data for the selected range"
1006
  msgstr "Naloži podatke za izbrano obdobje"
1007
 
1008
+ #: includes/functions.php:793
1009
  msgid ""
1010
  "Import settings when saving - if checked, the encoded settings below will be "
1011
  "imported for this block"
1013
  "Uvozi nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
1014
  "nastavitve spodaj uvozile za ta blok"
1015
 
1016
+ #: includes/functions.php:793
1017
  msgid "Import settings for block"
1018
  msgstr "Uvozi nastavitve za blok"
1019
 
1020
+ #: includes/functions.php:797
1021
  msgid ""
1022
  "Import block name when saving - if checked and 'Import settings for block' "
1023
  "is also checked, the name from encoded settings below will be imported for "
1027
  "nastavitve za blok' odkljukano, se bo ime iz kodiranih nastavitev spodaj "
1028
  "uvozilo za ta blok"
1029
 
1030
+ #: includes/functions.php:797
1031
  msgid "Import block name"
1032
  msgstr "Uvozi ime bloka"
1033
 
1034
+ #: includes/functions.php:801
1035
  msgid "Saved settings for block"
1036
  msgstr "Shranjene nastavitve za blok"
1037
 
1038
+ #: includes/functions.php:814
1039
  msgid "Export / Import Ad Inserter Pro Settings"
1040
  msgstr "Izvozi / Uvozi Ad Inserter Pro Nastavitve"
1041
 
1042
+ #: includes/functions.php:823
1043
  msgid "Are you sure you want to clear all statistics data for all blocks?"
1044
  msgstr ""
1045
  "Ali ste prepričani, da želite pobrisati vse podatke o statistiki za vse "
1046
  "bloke?"
1047
 
1048
+ #: includes/functions.php:825
1049
  msgid "Clear All Statistics Data"
1050
  msgstr "Pobriši Vse Podatke o Statistiki"
1051
 
1052
+ #: includes/functions.php:851
1053
+ msgid "Toggle country/city editor"
1054
+ msgstr "Preklopi urejevalnik držav/mest"
1055
+
1056
+ #: includes/functions.php:857
1057
  msgid "IP Addresses"
1058
  msgstr "IP Naslovi"
1059
 
1060
+ #: includes/functions.php:860
1061
  msgid "Toggle IP address editor"
1062
  msgstr "Preklopi urejevalnik IP nslovov"
1063
 
1064
+ #: includes/functions.php:863
1065
  msgid ""
1066
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1067
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
1069
  "Z vejico ločeni IP naslovi, uporabite lahko tudi delne IP naslove z * (ip-"
1070
  "naslov-začetek*. *ip-naslov-vzorec*, *ip-naslov-konec)"
1071
 
1072
+ #: includes/functions.php:867
1073
  msgid "Blacklist IP addresses"
1074
  msgstr "Črni seznam IP naslovov"
1075
 
1076
+ #: includes/functions.php:871
1077
  msgid "Whitelist IP addresses"
1078
  msgstr "Beli seznam IP naslovov"
1079
 
1080
+ #: includes/functions.php:882
1081
  msgid "Countries"
1082
  msgstr "Države"
1083
 
1084
+ #: includes/functions.php:883
1085
+ msgid "Cities"
1086
+ msgstr "Mesta"
1087
+
1088
+ #: includes/functions.php:887 includes/functions.php:2332
1089
  msgid "Toggle country editor"
1090
  msgstr "Preklopi urejevalnik držav"
1091
 
1092
+ #: includes/functions.php:890
1093
+ msgid "Toggle city editor"
1094
+ msgstr "Preklopi urejevalnik mest"
1095
+
1096
+ #: includes/functions.php:894 includes/functions.php:2335
1097
  msgid "Comma separated country ISO Alpha-2 codes"
1098
  msgstr "Z vejico ločene ISO Alpha-2 kode držav"
1099
 
1100
+ #: includes/functions.php:898
1101
  msgid "Blacklist countries"
1102
  msgstr "Črni seznam držav"
1103
 
1104
+ #: includes/functions.php:902
1105
  msgid "Whitelist countries"
1106
  msgstr "Beli seznam držav"
1107
 
1108
+ #: includes/functions.php:1212 includes/functions.php:1413
1109
+ msgid "Enter license key"
1110
+ msgstr "Vnesite licenčni ključ"
1111
 
1112
  #. translators: %s: Ad Inserter Pro
1113
+ #: includes/functions.php:1218
1114
+ msgid ""
1115
+ "%s license key is not set. Plugin functionality is limited and updates are "
1116
+ "disabled."
1117
+ msgstr ""
1118
+ "%s licenčni ključ ni vnešen. Funkcionalnosti vtičnika so omejene in "
1119
+ "posodobitve onemogočene."
1120
 
1121
+ #: includes/functions.php:1227 includes/functions.php:1422
1122
+ msgid "Check license key"
1123
+ msgstr "Preverite licenčni ključ"
 
1124
 
1125
  #. translators: %s: Ad Inserter Pro
1126
+ #: includes/functions.php:1233
1127
+ msgid "Invalid %s license key."
1128
+ msgstr "Neveljaven %s licenčni ključ."
1129
 
1130
  #. translators: %s: Ad Inserter Pro
1131
+ #: includes/functions.php:1242
1132
+ msgid "%s license expired. Plugin updates are disabled."
1133
+ msgstr "%s licenca je potekla. Posodobitve vtičnika so onemogočene."
 
 
1134
 
1135
+ #: includes/functions.php:1243
1136
+ msgid "Renew license"
1137
+ msgstr "Obnovite licenco"
1138
 
1139
  #. translators: %s: Ad Inserter Pro
1140
+ #: includes/functions.php:1251
1141
+ msgid "%s license overused. Plugin updates are disabled."
1142
  msgstr ""
1143
+ "%s licenca je prekomerno uporabljena. Posodobitve vtičnika so onemogočene."
 
1144
 
1145
+ #: includes/functions.php:1252
1146
+ msgid "Upgrade license"
1147
+ msgstr "Nadgradite licenco"
 
 
 
 
 
1148
 
1149
+ #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1150
+ #: includes/functions.php:1415
1151
  msgid ""
1152
+ "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1153
+ "limited and updates are disabled."
1154
  msgstr ""
1155
+ "%1$s Opozorilo: %2$s %3$s licenčni ključ ni vnešen. Funkcionalnosti vtičnika "
1156
+ "so omejene in posodobitve onemogočene."
1157
+
1158
+ #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1159
+ #: includes/functions.php:1424
1160
+ msgid "%1$s Warning: %2$s Invalid %3$s license key."
1161
+ msgstr "%1$s Opozorilo: %2$s Neveljaven %3$s licenčni ključ."
1162
 
1163
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1164
+ #: includes/functions.php:1438
1165
  msgid ""
1166
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1167
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1168
  msgstr ""
1169
  "Hej, %1$s licenca je potekla - posodobitve vtičnika so zdaj onemogočene. "
1170
+ "Prosimo, obnovite licenco in omogočite posodobitve. Preverite %2$s kaj "
1171
  "pogrešate. %3$s"
1172
 
1173
  #. translators: 1, 3: HTML tags, 2: percentage
1174
+ #: includes/functions.php:1445
1175
  msgid ""
1176
  "During the license period and 30 days after the license has expired we offer "
1177
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1179
  "V obdobju licence in 30 dni po tem, ko licenca poteče, vam ponujamo %1$s "
1180
  "%2$s popust na vse obnovitve in nadgradnje licenc. %3$s"
1181
 
1182
+ #: includes/functions.php:1468
1183
  msgid "Renew the licence"
1184
  msgstr "Obnovi licenco"
1185
 
1186
+ #: includes/functions.php:1470
1187
  msgid "Update license status"
1188
  msgstr "Posodobi status licence"
1189
 
1190
  #. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
1191
+ #: includes/functions.php:1481
1192
  msgid ""
1193
+ "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1194
+ "Upgrade license %5$s"
1195
  msgstr ""
1196
+ "%1$s Opozorilo: %2$s %3$s licenca prekomerno uporabljena. Posodobitve "
1197
+ "vtičnika so onemogočene. %4$s Nadgradite licenco %5$s"
1198
 
1199
  #. Translators: %s: HTML tag
1200
+ #: includes/functions.php:1501
1201
  msgid "Warning: %s MaxMind IP geolocation database not found."
1202
  msgstr "Opozorilo: %s MaxMind IP geolocijska podatkovna baza ni najdena."
1203
 
1204
+ #: includes/functions.php:1965
1205
  msgid "Geolocation"
1206
  msgstr "Geolokacija"
1207
 
1208
+ #: includes/functions.php:1969
1209
  msgid "Exceptions"
1210
  msgstr "Izjeme"
1211
 
1212
+ #: includes/functions.php:1974
1213
  msgid "Multisite"
1214
  msgstr "Multisite"
1215
 
1216
+ #: includes/functions.php:1979
1217
  msgid "Tracking"
1218
  msgstr "Sledenje"
1219
 
1220
  #. translators: %d: days, hours, minutes
1221
+ #: includes/functions.php:2010
1222
  msgid "Scheduled in %d days %d hours %d minutes"
1223
  msgstr "Planirano v %d dneh %d urah %d minutah"
1224
 
1225
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1226
  #. HTML code for long dash separator
1227
+ #: includes/functions.php:2019
1228
  msgid "Active %s expires in %d days %d hours %d minutes"
1229
  msgstr "Aktivno %s poteče v %d dneh %d urah %d minutah"
1230
 
1231
+ #: includes/functions.php:2023
1232
  msgid "Expired"
1233
  msgstr "Poteklo"
1234
 
1235
+ #: includes/functions.php:2031 settings.php:1252 settings.php:1267
1236
+ #: settings.php:1851
1237
  msgid "and"
1238
  msgstr "in"
1239
 
1240
+ #: includes/functions.php:2034
1241
  msgid "fallback"
1242
  msgstr "rezerva"
1243
 
1244
+ #: includes/functions.php:2035
1245
  msgid "Block to be used when scheduling expires"
1246
  msgstr "Blok, ki se bo uporabil, ko urnik poteče"
1247
 
1248
+ #: includes/functions.php:2060
1249
+ msgid "Load in iframe"
1250
+ msgstr "Naloži v iframe-u"
1251
+
1252
+ #: includes/functions.php:2064 includes/placeholders.php:382
1253
  msgid "Width"
1254
  msgstr "Širina"
1255
 
1256
+ #: includes/functions.php:2065
1257
+ msgid "iframe width, empty means full width (100%)"
1258
+ msgstr "širina iframe-a, prazno pomeni polna širina (100%)"
1259
 
1260
+ #: includes/functions.php:2071 includes/placeholders.php:377
1261
  msgid "Height"
1262
  msgstr "Višina"
1263
 
1264
+ #: includes/functions.php:2072
1265
+ msgid "iframe height, empty means adjust it to iframe content height"
1266
+ msgstr ""
1267
+ "Višina iframe-a, prazno pomeni poravnavo glede na višino vsebine iframe-a"
1268
+
1269
+ #: includes/functions.php:2079
1270
+ msgid "Ad label in iframe"
1271
+ msgstr "Oznaka oglasa v iframe-u"
1272
+
1273
+ #: includes/functions.php:2084
1274
+ msgid "Preview iframe code"
1275
+ msgstr "Predpreglej kodo iframe"
1276
+
1277
+ #: includes/functions.php:2084 includes/preview.php:1790 settings.php:934
1278
+ #: settings.php:2517
1279
+ msgid "Preview"
1280
+ msgstr "Predogled"
1281
 
1282
+ #: includes/functions.php:2098 includes/functions.php:3458
1283
+ #: includes/functions.php:3521 settings.php:1968
1284
  msgid "Ad Blocking"
1285
  msgstr "Blokiranje Oglasov"
1286
 
1287
  #. translators: 1, 2 and 3, 4: HTML tags
1288
+ #: includes/functions.php:2107
1289
  msgid ""
1290
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1291
  "for tracking!"
1295
 
1296
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1297
  #. header
1298
+ #: includes/functions.php:2116
1299
  msgid ""
1300
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1301
  "enabled and automatic insertion %6$s!"
1303
  "%1$s OPOZORILO: %2$s vertikalni položaj %3$s potrebuje %4$s Predpomnjenje "
1304
  "izhoda %5$s omogočeno in samodejno vstavljanje %6$s!"
1305
 
1306
+ #: includes/functions.php:2134
1307
  msgid "When ad blocking is detected"
1308
  msgstr "Ko je blokiranje oglasov zaznano"
1309
 
1310
+ #: includes/functions.php:2143
1311
  msgid "replacement"
1312
  msgstr "nadomestek"
1313
 
1314
+ #: includes/functions.php:2144
1315
  msgid "Block to be shown when ad blocking is detected"
1316
  msgstr "Blok, ki naj bo prikazan, ko je zaznano blokiranje oglasov"
1317
 
1318
+ #: includes/functions.php:2145
1319
  msgctxt "replacement"
1320
  msgid "None"
1321
  msgstr "Noben"
1322
 
1323
+ #: includes/functions.php:2162
1324
  msgid "Close button"
1325
  msgstr "Gumb Zapri"
1326
 
1327
+ #: includes/functions.php:2209
1328
  msgid "Lazy loading"
1329
  msgstr "Leno nalaganje"
1330
 
1331
  #. Translators: %s MaxMind
1332
+ #: includes/functions.php:2267
1333
  msgid "This product includes GeoLite2 data created by %s"
1334
  msgstr "Ta izdelek vsebuje %s GeoLite2 podatke"
1335
 
1336
+ #: includes/functions.php:2278
1337
  msgid "IP geolocation database"
1338
  msgstr "Podatkovna baza za IP geolokacijo"
1339
 
1340
+ #: includes/functions.php:2281
1341
  msgid "Select IP geolocation database."
1342
  msgstr "Izberite podatkovno bazo za IP geolokacijo."
1343
 
1344
+ #: includes/functions.php:2292
1345
  msgid "Automatic database updates"
1346
  msgstr "Samodejna posodobitev podatkovne baze"
1347
 
1348
+ #: includes/functions.php:2295
1349
  msgid ""
1350
  "Automatically download and update free GeoLite2 IP geolocation database by "
1351
  "MaxMind"
1353
  "Samodejno prenesi in posodobi prostodostopno GeoLite2 IP geolokacijsko "
1354
  "podatkovno bazo MaxMind"
1355
 
1356
+ #: includes/functions.php:2303
1357
  msgid "Database"
1358
  msgstr "Podatkovna baza"
1359
 
1360
+ #: includes/functions.php:2306
1361
  msgid ""
1362
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1363
  "file"
1366
  "podatkovne baze"
1367
 
1368
  #. translators: %d: group number
1369
+ #: includes/functions.php:2324
1370
  msgid "Group %d"
1371
  msgstr "Skupina %d"
1372
 
1373
+ #: includes/functions.php:2330
1374
  msgid "countries"
1375
  msgstr "države"
1376
 
1377
+ #: includes/functions.php:2365
1378
  msgid "Enable tracking"
1379
  msgstr "Omogoči sledenje"
1380
 
1381
+ #: includes/functions.php:2380
1382
  msgid "Impression and Click Tracking"
1383
  msgstr "Sledenje Prikazov in Klikov"
1384
 
1385
+ #: includes/functions.php:2394
1386
  msgid "Internal"
1387
  msgstr "Notranje"
1388
 
1389
+ #: includes/functions.php:2398
1390
  msgid "Track impressions and clicks with internal tracking and statistics"
1391
  msgstr "Sledi prikazom in klikom z notranjim sledenjem in statistiko"
1392
 
1393
+ #: includes/functions.php:2403
1394
  msgid "External"
1395
  msgstr "Zunanje"
1396
 
1397
+ #: includes/functions.php:2407
1398
  msgid ""
1399
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1400
  "code installed)"
1402
  "Sledi prikazom in klikom z Google Analytics ali Matomo (potrebuje nameščeno "
1403
  "kodo za sledenje)"
1404
 
1405
+ #: includes/functions.php:2412
1406
  msgid "Track Pageviews"
1407
  msgstr "Sledi Ogledom Strani"
1408
 
1409
+ #: includes/functions.php:2418
1410
  msgid "Track Pageviews by Device (as configured for viewports)"
1411
  msgstr "Sledi Ogledom Strani po Napravah (kot so nastavljene za poglede)"
1412
 
1413
+ #: includes/functions.php:2428
1414
  msgid "Track for Logged in Users"
1415
  msgstr "Sledi za Prijavljene Upor."
1416
 
1417
+ #: includes/functions.php:2434
1418
  msgid "Track impressions and clicks from logged in users"
1419
  msgstr "Sledi prikazom in klikom neprijavljenih uporabnikov"
1420
 
1421
+ #: includes/functions.php:2444
1422
  msgid "Click Detection"
1423
  msgstr "Zaznavanje klikov"
1424
 
1425
+ #: includes/functions.php:2450
1426
  msgid ""
1427
  "Standard method detects clicks only on banners with links, Advanced method "
1428
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1430
  "Standardni način zazna klike samo na pasicah s povezavami, Napredni način "
1431
  "lahko zazna klike na kateremkoli oglasu, ampak je rahlo manj zanesljiv"
1432
 
1433
+ #: includes/functions.php:2489
1434
  msgid "Are you sure you want to clear all exceptions for block"
1435
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok"
1436
 
1437
+ #: includes/functions.php:2490 settings.php:1098
1438
  msgid "Clear all exceptions for block"
1439
  msgstr "Pobriši vse izjeme za blok"
1440
 
1441
+ #: includes/functions.php:2497
1442
  msgid "Are you sure you want to clear all exceptions?"
1443
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme?"
1444
 
1445
+ #: includes/functions.php:2497
1446
  msgid "Clear all exceptions for all blocks"
1447
  msgstr "Pobriši vse izjeme za vse bloke"
1448
 
1449
+ #: includes/functions.php:2502 settings.php:3285
1450
  msgid "Type"
1451
  msgstr "Vrsta"
1452
 
1453
+ #: includes/functions.php:2520
1454
  msgid "View"
1455
  msgstr "Poglej"
1456
 
1457
+ #: includes/functions.php:2521 includes/placeholders.php:346
1458
+ #: includes/preview.php:2081 settings.php:1014
1459
  msgid "Edit"
1460
  msgstr "Uredi"
1461
 
1462
+ #: includes/functions.php:2551
1463
  msgid "Are you sure you want to clear all exceptions for"
1464
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za"
1465
 
1466
+ #: includes/functions.php:2552
1467
  msgid "Clear all exceptions for"
1468
  msgstr "Pobriši vse izjeme za"
1469
 
1470
+ #: includes/functions.php:2565
1471
  msgid "No exceptions"
1472
  msgstr "Brez izjem"
1473
 
1474
  #. translators: %s: Ad Inserter Pro
1475
+ #: includes/functions.php:2576
1476
  msgid "%s options for network blogs"
1477
  msgstr "%s izbire za omrežne bloge"
1478
 
1479
  #. translators: %s: Ad Inserter Pro
1480
+ #: includes/functions.php:2581
1481
  msgid "Enable %s widgets for sub-sites"
1482
  msgstr "Omogoči %s gradnik za pod-spletišča"
1483
 
1484
+ #: includes/functions.php:2581
1485
  msgid "Widgets"
1486
  msgstr "Gradniki"
1487
 
1488
+ #: includes/functions.php:2586
1489
  msgid "Enable PHP code processing for sub-sites"
1490
  msgstr "Omogoči procesiranje PHP kode za pod-spletišča"
1491
 
1492
+ #: includes/functions.php:2586
1493
  msgid "PHP Processing"
1494
  msgstr "PHP Procesiranje"
1495
 
1496
  #. translators: %s: Ad Inserter Pro
1497
+ #: includes/functions.php:2591
1498
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1499
  msgstr ""
1500
  "Omogoči %s izjeme blokov v urejevalniku prispevkov/strani za pod-spletišča"
1501
 
1502
+ #: includes/functions.php:2591
1503
  msgid "Post/Page exceptions"
1504
  msgstr "Izjeme prispevkov/strani"
1505
 
1506
  #. translators: %s: Ad Inserter Pro
1507
+ #: includes/functions.php:2596
1508
  msgid "Enable %s settings page for sub-sites"
1509
  msgstr "Omogoči nastavitveno stran %s za pod-spletišča"
1510
 
1511
+ #: includes/functions.php:2596
1512
  msgid "Settings page"
1513
  msgstr "Stran z nastavitvami"
1514
 
1515
  #. translators: %s: Ad Inserter Pro
1516
+ #: includes/functions.php:2601
1517
  msgid "Enable %s settings of main site to be used for all blogs"
1518
  msgstr "Omogoči %s nastavitve glavnega spletišča za uporabo na vseh blogih"
1519
 
1520
+ #: includes/functions.php:2601
1521
  msgid "Main site settings used for all blogs"
1522
  msgstr "Nastavitve glavnega spletišča uporabljene na vseh blogih"
1523
 
1524
+ #: includes/functions.php:2612 settings.php:2413
1525
  msgid "Ad Blocking Detection"
1526
  msgstr "Zaznavanje Blokiranja Oglasov"
1527
 
1528
+ #: includes/functions.php:2618
1529
  msgid ""
1530
  "Standard method is reliable but should be used only if Advanced method does "
1531
  "not work. Advanced method recreates files used for detection with random "
1537
  "imeni in mogoče ne bo deloval s skriptami v upload mapi, če ta ni javno "
1538
  "dostopna"
1539
 
1540
+ #: includes/functions.php:3012 includes/functions.php:3102
1541
+ #: includes/functions.php:3122
1542
  msgid "AD BLOCKING"
1543
  msgstr "BLOKIRANJE OGLASOV"
1544
 
1545
+ #: includes/functions.php:3013 includes/functions.php:3053
1546
+ #: includes/functions.php:3096 includes/functions.php:3123
1547
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1548
  msgstr "BLOK VSTAVLJEN, VENDAR NI VIDEN"
1549
 
1550
+ #: includes/functions.php:3016 includes/functions.php:3095
1551
+ #: includes/functions.php:3129
1552
  msgid "NO AD BLOCKING"
1553
  msgstr "NI BLOKIRANJA OGLASOV"
1554
 
1555
+ #: includes/functions.php:3052 includes/functions.php:3059
1556
  msgid "AD BLOCKING REPLACEMENT"
1557
  msgstr "NADOMESTEK V PRIMERU BLOKIRANJA OGLASOV"
1558
 
1559
+ #: includes/functions.php:3457
1560
  msgctxt "Version"
1561
  msgid "Unknown"
1562
  msgstr "Neznana"
1563
 
1564
+ #: includes/functions.php:3457
1565
  msgctxt "Times"
1566
  msgid "DISPLAYED"
1567
  msgstr "PRIKAZANO"
1568
 
1569
+ #: includes/functions.php:3457
1570
  msgid "No version"
1571
  msgstr "Brez različice"
1572
 
1573
+ #: includes/functions.php:3458
1574
  msgctxt "Times"
1575
  msgid "BLOCKED"
1576
  msgstr "BLOKIRANO"
1577
 
1578
+ #: includes/functions.php:3520
1579
  msgid "Pageviews"
1580
+ msgstr "Ogledi strani"
1581
 
1582
+ #: includes/functions.php:3520
1583
  msgid "Impressions"
1584
  msgstr "Prikazi"
1585
 
1586
+ #: includes/functions.php:3521 includes/functions.php:3522
1587
+ #: includes/functions.php:3530
1588
  msgid "Clicks"
1589
  msgstr "Kliki"
1590
 
1591
+ #: includes/functions.php:3522
1592
  msgid "events"
1593
  msgstr "dogodki"
1594
 
1595
+ #: includes/functions.php:3523
1596
  msgid "Ad Blocking Share"
1597
  msgstr "Delež blokiranja oglasov"
1598
 
1599
  #. translators: CTR as Click Through Rate
1600
+ #: includes/functions.php:3523 includes/functions.php:3535
1601
  msgid "CTR"
1602
  msgstr "CTR"
1603
 
1604
+ #: includes/functions.php:3617
1605
  msgid "pageviews"
1606
  msgid_plural "pageviews"
1607
  msgstr[0] "ogled strani"
1609
  msgstr[2] "ogledi strani"
1610
  msgstr[3] "ogledov strani"
1611
 
1612
+ #: includes/functions.php:3617
1613
  msgid "impressions"
1614
  msgid_plural "impressions"
1615
  msgstr[0] "prikaz"
1617
  msgstr[2] "prikazi"
1618
  msgstr[3] "prikazov"
1619
 
1620
+ #: includes/functions.php:3621
1621
  msgid "event"
1622
  msgid_plural "events"
1623
  msgstr[0] "dogodek"
1625
  msgstr[2] "dogodki"
1626
  msgstr[3] "dogodkov"
1627
 
1628
+ #: includes/functions.php:3621
1629
  msgid "click"
1630
  msgid_plural "clicks"
1631
  msgstr[0] "klik"
1633
  msgstr[2] "kliki"
1634
  msgstr[3] "klikov"
1635
 
1636
+ #: includes/functions.php:3689
1637
+ msgctxt "Pageviews / Impressions"
1638
  msgid "Average"
1639
  msgstr "Povprečni"
1640
 
1641
+ #: includes/functions.php:3707
1642
+ msgctxt "Ad Blocking / Clicks"
1643
  msgid "Average"
1644
+ msgstr "Povprečno"
1645
 
1646
+ #: includes/functions.php:3724
1647
  msgctxt "Ad Blocking Share / CTR"
1648
  msgid "Average"
1649
  msgstr "Povprečni"
1650
 
1651
+ #. Translators: %d: viewport number
1652
+ #: includes/functions.php:3804 settings.php:2194 settings.php:2200
1653
+ #: settings.php:2206
1654
+ msgid "Viewport %d name"
1655
+ msgstr "Ime pogleda %d"
1656
+
1657
+ #: includes/functions.php:3807 settings.php:2196 settings.php:2202
1658
+ #: settings.php:2209
1659
+ msgid "min width"
1660
+ msgstr "najmanjša širina"
1661
+
1662
+ #: includes/functions.php:3838 settings.php:1682
1663
+ msgid "Device min width %s px"
1664
+ msgstr "Najmanjša širina naprave %s px"
1665
+
1666
+ #: includes/functions.php:3879 includes/functions.php:3882 settings.php:2232
1667
+ #: settings.php:2235 settings.php:2256 settings.php:2259
1668
+ msgid "Enable hook"
1669
+ msgstr "Omogoči ročico"
1670
+
1671
+ #. translators: %d: hook number
1672
+ #: includes/functions.php:3882 settings.php:2235 settings.php:2259
1673
+ msgid "Hook %d name"
1674
+ msgstr "Ime ročice %d"
1675
+
1676
+ #: includes/functions.php:3885 settings.php:2238 settings.php:2262
1677
+ msgid "Hook name for automatic insertion selection"
1678
+ msgstr "Ime ročice za izbiro samodejnega vstavljanja"
1679
+
1680
+ #: includes/functions.php:3888 settings.php:2241 settings.php:2265
1681
+ msgid "action"
1682
+ msgstr "akcija"
1683
+
1684
+ #: includes/functions.php:3891 settings.php:2244 settings.php:2268
1685
+ msgid "Action name as used in the do_action () function"
1686
+ msgstr "Ime akcije kot je uporabljena v do_action () funkciji"
1687
+
1688
+ #: includes/functions.php:3894 settings.php:2247 settings.php:2271
1689
+ msgid "priority"
1690
+ msgstr "prednost"
1691
+
1692
+ #: includes/functions.php:3897 settings.php:2250 settings.php:2274
1693
+ msgid "Priority for the hook (default is 10)"
1694
+ msgstr "Prednost za ročico (privzeta je 10)"
1695
+
1696
  #: includes/placeholders.php:19
1697
  msgid "Custom"
1698
  msgstr "Po meri"
1717
  msgid "Placeholder"
1718
  msgstr "Polnilo"
1719
 
1720
+ #: includes/placeholders.php:356 settings.php:778 settings.php:3286
1721
  msgid "Size"
1722
  msgstr "Velikost"
1723
 
1810
  msgid "Remove dummy paragraph"
1811
  msgstr "Odstrani testni odstavek"
1812
 
1813
+ #: includes/preview-adb.php:9 includes/preview.php:1778
1814
  msgid "Use current settings"
1815
  msgstr "Uporabi trenutne nastavitve"
1816
 
1837
  msgid "Default"
1838
  msgstr "Privzeto"
1839
 
1840
+ #: includes/preview-adb.php:12 includes/preview.php:1781
1841
  msgid "Close preview window"
1842
  msgstr "Zapri okno predogleda"
1843
 
1850
  msgid "Ad Blocking Detected Message Preview"
1851
  msgstr "Predogled Sporočila ko je Zaznano Blokiranje Oglasov"
1852
 
1853
+ #: includes/preview-adb.php:348 settings.php:2530
1854
  msgid "Message CSS"
1855
  msgstr "CSS sporočila"
1856
 
1857
+ #: includes/preview-adb.php:353 settings.php:2538
1858
  msgid "Overlay CSS"
1859
  msgstr "CSS prevleke"
1860
 
1861
+ #: includes/preview.php:144
1862
  msgid "Sticky Code Preview"
1863
  msgstr "Predogled Lepljive Kode"
1864
 
1865
+ #: includes/preview.php:144
1866
  msgid "Code Preview"
1867
  msgstr "Predogled Kode"
1868
 
1869
+ #: includes/preview.php:1776
1870
  msgid "Highlight inserted code"
1871
  msgstr "Označi vstavljeno kodo"
1872
 
1873
+ #: includes/preview.php:1776
1874
  msgid "Highlight"
1875
  msgstr "Označi"
1876
 
1877
+ #: includes/preview.php:1779
1878
  msgid "Reset to block settings"
1879
  msgstr "Ponastavi na nastavitve bloka"
1880
 
1881
+ #: includes/preview.php:1794
 
 
 
 
1882
  msgid "AdSense ad unit"
1883
  msgstr "Oglasna enota AdSense"
1884
 
1885
+ #: includes/preview.php:1836 includes/preview.php:1873
1886
+ msgid "Code"
1887
+ msgstr "Koda"
1888
+
1889
+ #: includes/preview.php:1862
1890
  msgid "wrapping div"
1891
  msgstr "div za ovijanje"
1892
 
1893
+ #: includes/preview.php:1867 includes/preview.php:1874
1894
  msgid "background"
1895
  msgstr "ozadje"
1896
 
1897
+ #: includes/preview.php:1892 includes/preview.php:2038 settings.php:978
1898
  msgid "Alignment and style"
1899
  msgstr "Poravnava in slog"
1900
 
1901
+ #: includes/preview.php:1960
1902
  msgid "Horizontal margin"
1903
  msgstr "Vodoravni odmik"
1904
 
1905
+ #: includes/preview.php:2009
1906
  msgid "Vertical margin"
1907
  msgstr "Navpični odmik"
1908
 
1909
+ #: includes/preview.php:2031
1910
  msgid "Animate"
1911
  msgstr "Animiraj"
1912
 
1913
+ #: includes/preview.php:2090
1914
  msgid ""
1915
  "This is a preview of the code between dummy paragraphs. Here you can test "
1916
  "various block alignments, visually edit margin and padding values of the "
1925
  "označi ozadje, margin območje div-a za ovijanje in območje kode, gumb "
1926
  "Ponastavi pa vrne vse vrednosti na tiste od trenutnega bloka."
1927
 
1928
+ #: includes/preview.php:2093
1929
  msgid ""
1930
  "This is a preview of the saved block between dummy paragraphs. It shows the "
1931
  "code with the alignment and style as it is set for this block. Highlight "
1935
  "poravnavo in slogom kot je nastavljen za ta blok. Gump Označi označi ozadje, "
1936
  "margin območje div-a za ovijanje in območje kode."
1937
 
1938
+ #: includes/preview.php:2095
1939
  msgid ""
1940
  "This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
1941
  "code was loaded from your AdSense account. The ad block is displayed on a "
1947
  "testnimi odstavki, zato je lahko prazen (brez oglasov). Kliknite na gumb "
1948
  "Označi za označitev bloka."
1949
 
1950
+ #: includes/preview.php:2101
1951
  msgid ""
1952
  "You can resize the window (and refresh the page to reload ads) to check "
1953
  "display with different screen widths.\n"
1959
  "Ko ste zadovoljni s poravnavo kliknite na gumb Uporabi in nastavitve se bodo "
1960
  "prenesle v aktivni blok."
1961
 
1962
+ #: includes/preview.php:2103
1963
  msgid ""
1964
  "Please note that the code, block name, alignment and style are taken from "
1965
  "the current block settings (may not be saved).\n"
1972
  "margin in padding ne morete nastaviti. Seveda pa lahko uporabite lastno HTML "
1973
  "kodo za blok."
1974
 
1975
+ #: includes/preview.php:2108 includes/preview.php:2122
1976
+ #: includes/preview.php:2132 includes/preview.php:2142
1977
+ #: includes/preview.php:2152
1978
  msgid ""
1979
  "Ad Inserter can be configured to insert any code anywhere on the page. Each "
1980
  "code with it's settings is called a block.\n"
1998
  "številka pomeni, da blok uporablja ročno vstavljanje, medtem ko vijolična "
1999
  "številka pomeni, da blok uporablja samodejno in ročno vstavljanje."
2000
 
2001
+ #: includes/preview.php:2113 includes/preview.php:2127
2002
+ #: includes/preview.php:2137 includes/preview.php:2147
2003
+ #: includes/preview.php:2157
2004
  msgid ""
2005
  "Few very important things you need to know in order to insert code and "
2006
  "display some ad:\n"
2023
  "za posamezne izjeme. Uporabite privzeto prazno vrednost, razen, če "
2024
  "uporabljate posamezne izjeme za prispevke/strani."
2025
 
2026
+ #: includes/preview.php:2119
2027
  msgid ""
2028
  "This is a preview of the code for sticky ads. Here you can test various "
2029
  "horizontal and vertical alignments, close button locations, visually edit "
2194
  msgid "General Settings"
2195
  msgstr "Splošne Nastavitve"
2196
 
2197
+ #: settings.php:566 settings.php:2289 settings.php:2347 settings.php:2510
2198
  msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
2199
  msgstr ""
2200
  "Preklopi Poudarjanje Sintakse / Preprost urejevalnik za mobilne naprave"
2201
 
2202
+ #: settings.php:573
2203
  msgid "Toggle tools"
2204
  msgstr "Preklopi orodja"
2205
 
2206
+ #: settings.php:581
2207
  msgid "Process PHP code in block"
2208
  msgstr "Procesiraj PHP kodo v bloku"
2209
 
2210
+ #: settings.php:588
2211
  msgid "Disable insertion of this block"
2212
  msgstr "Onemogoči vstavljanje tega bloka"
2213
 
2214
+ #: settings.php:600
2215
  msgid "Toggle code generator"
2216
  msgstr "Preklopi generator kode"
2217
 
2218
+ #: settings.php:604
2219
  msgid "Toggle rotation editor"
2220
  msgstr "Preklopi urejevalnik rotacije"
2221
 
2222
+ #: settings.php:608
2223
  msgid "Open visual HTML editor"
2224
  msgstr "Odpri vizualni HTML urejevalnik"
2225
 
2226
+ #: settings.php:618
2227
  msgid "Show AdSense ad units"
2228
  msgstr "Pokaži oglasne enote AdSense"
2229
 
2230
+ #: settings.php:627
2231
  msgid "Clear block"
2232
  msgstr "Počisti blok"
2233
 
2234
+ #: settings.php:632 settings.php:3180
2235
  msgid "Copy block"
2236
  msgstr "Kopiraj blok"
2237
 
2238
+ #: settings.php:636
2239
  msgid "Paste name"
2240
  msgstr "Prilepi ime"
2241
 
2242
+ #: settings.php:640
2243
  msgid "Paste code"
2244
  msgstr "Prilepi kodo"
2245
 
2246
+ #: settings.php:644
2247
  msgid "Paste settings"
2248
  msgstr "Prilepi nastavitve"
2249
 
2250
+ #: settings.php:648
2251
  msgid "Paste block (name, code and settings)"
2252
  msgstr "Prilepi blok (ime, kodo in nastavitve)"
2253
 
2254
+ #: settings.php:667
2255
  msgid "Remove option"
2256
  msgstr "Odstrani različico"
2257
 
2258
+ #: settings.php:671
2259
  msgid "Add option"
2260
  msgstr "Dodaj različico"
2261
 
2262
+ #: settings.php:686
2263
  msgid "Import code"
2264
  msgstr "Uvozi kodo"
2265
 
2266
+ #: settings.php:690
2267
  msgid "Generate code"
2268
  msgstr "Generiraj kodo"
2269
 
2270
+ #: settings.php:695
2271
  msgid "Banner"
2272
  msgstr "Pasica"
2273
 
2274
+ #: settings.php:706
2275
  msgid "Image"
2276
  msgstr "Slika"
2277
 
2278
+ #: settings.php:714
2279
  msgid "Link"
2280
  msgstr "Povezava"
2281
 
2282
+ #: settings.php:725
2283
  msgid "Open link in a new tab"
2284
  msgstr "Odpri povezavo v novem zavihku"
2285
 
2286
+ #: settings.php:726
2287
  msgid "Select Image"
2288
  msgstr "Izberi Sliko"
2289
 
2290
+ #: settings.php:727
2291
  msgid "Select Placeholder"
2292
  msgstr "Izberi Polnilo"
2293
 
2294
+ #: settings.php:739
2295
  msgid "Comment"
2296
  msgstr "Komentar"
2297
 
2298
+ #: settings.php:748
2299
  msgctxt "AdSense"
2300
  msgid "Publisher ID"
2301
  msgstr "ID založnika"
2302
 
2303
+ #: settings.php:757
2304
  msgctxt "AdSense"
2305
  msgid "Ad Slot ID"
2306
  msgstr "ID mesta"
2307
 
2308
+ #: settings.php:766
2309
  msgid "Ad Type"
2310
  msgstr "Vrsta"
2311
 
2312
+ #: settings.php:790
2313
  msgid "AMP Ad"
2314
  msgstr "AMP Oglas"
2315
 
2316
+ #: settings.php:807
2317
  msgid "Show ad units from your AdSense account"
2318
  msgstr "Prikaži oglasne enote s tvojega AdSense računa"
2319
 
2320
+ #: settings.php:807
2321
  msgid "AdSense ad units"
2322
  msgstr "Oglasne enote AdSense"
2323
 
2324
+ #: settings.php:824
2325
  msgctxt "AdSense"
2326
  msgid "Layout"
2327
  msgstr "Postavitev"
2328
 
2329
+ #: settings.php:833
2330
  msgctxt "AdSense"
2331
  msgid "Layout Key"
2332
  msgstr "Ključ postavitve"
2333
 
2334
+ #: settings.php:930
2335
  msgid ""
2336
  "White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
2337
  "Cookie or Referer (domain)"
2339
  "Bel/Črn seznam Kategorij, Oznak, Taksonomij, ID Prispevkov, Url-jev, Url "
2340
  "parametrov, Piškotkov ali napotiteljev (domen)"
2341
 
2342
+ #: settings.php:930
2343
  msgid "Lists"
2344
  msgstr "Seznami"
2345
 
2346
+ #: settings.php:931
2347
  msgid "Widget, Shortcode and PHP function call"
2348
  msgstr "Gradnik, Kratka koda in Klic PHP funkcije"
2349
 
2350
+ #: settings.php:931
2351
  msgid "Manual"
2352
  msgstr "Ročno"
2353
 
2354
+ #: settings.php:932
2355
  msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
2356
  msgstr ""
2357
  "Zaznavanje Naprave na strani Strežnika/Klienta (Namizni, Tablica, Telefon)"
2358
 
2359
+ #: settings.php:932
2360
  msgid "Devices"
2361
  msgstr "Naprave"
2362
 
2363
+ #: settings.php:933
2364
  msgid ""
2365
  "Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
2366
  "feeds), Filter, Scheduling, General tag"
2368
  "Preveri status uporabnika, Omeji vstavljanja (napaka 404, zahteve Ajax, vir "
2369
  "RSS), Filter, Urnik, Splošna oznaka"
2370
 
2371
+ #: settings.php:933
2372
  msgid "Misc"
2373
  msgstr "Razno"
2374
 
2375
+ #: settings.php:934
2376
  msgid "Preview code and alignment"
2377
  msgstr "Predogled kode in poravnave"
2378
 
2379
+ #: settings.php:937 settings.php:1933
2380
  msgid ""
2381
  "Rotation editor active - rotation code not generated! Make sure no rotation "
2382
  "editor is active before saving settings."
2384
  "Aktiven urejevalnik rotacij - koda za rotacijo ni generirana! Poskrbite, da "
2385
  "noben urejevalnik rotacij ni aktiven pred shranjevanjem nastavitev."
2386
 
2387
+ #: settings.php:939
2388
  msgid "Save All Settings"
2389
  msgstr "Sharani Vse Nastavitve"
2390
 
2391
+ #: settings.php:991 strings.php:182
2392
  msgctxt "Button"
2393
  msgid "Show"
2394
  msgstr "Pokaži"
2395
 
2396
+ #: settings.php:1003
2397
  msgid "Custom CSS code for the wrapping div"
2398
  msgstr "CSS koda po meri za div za ovijanje"
2399
 
2400
+ #: settings.php:1006 settings.php:1007 settings.php:1008 settings.php:1009
2401
+ #: settings.php:1010 settings.php:1011
2402
  msgid "CSS code for the wrapping div, click to edit"
2403
  msgstr "CSS koda za div za ovijanje, kliknite za urejanje"
2404
 
2405
+ #: settings.php:1026
2406
  msgid "Enable insertion on posts"
2407
  msgstr "Omogoči vstavljanje na prispevkih"
2408
 
2409
+ #: settings.php:1028 settings.php:1034
2410
  msgid ""
2411
  "Individual post exceptions (if enabled here) can be configured in post "
2412
  "editor. Leave blank for no individual post exceptions."
2414
  "Posamezne izjeme za prispevke (če so omogočene tukaj) se lahko nastavijo v "
2415
  "urejevalniku prispevka. Pustite prazno za prispevke brez posameznih izjem."
2416
 
2417
+ #: settings.php:1034
2418
  msgid "Posts"
2419
  msgstr "Prispevki"
2420
 
2421
+ #: settings.php:1039
2422
  msgid "Toggle list of individual exceptions"
2423
  msgstr "Preklopi seznam posameznih izjem"
2424
 
2425
+ #: settings.php:1049 settings.php:1050
2426
  msgid ""
2427
  "Enable insertion on homepage: latest posts (including on sub-pages), static "
2428
  "page or theme homepage (available positions may depend on hooks used by the "
2432
  "podstraneh), statična stran ali domača stran teme (razpoložljivi položaji so "
2433
  "lahko odvisni od ročic, ki jih tema uporablja)"
2434
 
2435
+ #: settings.php:1050
2436
  msgid "Homepage"
2437
  msgstr "Domača stran"
2438
 
2439
+ #: settings.php:1054 settings.php:1055
2440
  msgid "Enable insertion on category blog pages (including sub-pages)"
2441
  msgstr "Omogoči vstavljanje na straneh kategorij (vključno s podstranmi)"
2442
 
2443
+ #: settings.php:1055
2444
  msgid "Category pages"
2445
  msgstr "Strani kategorij"
2446
 
2447
+ #: settings.php:1062
2448
  msgid "Enable insertion on static pages"
2449
  msgstr "Omogoči vstavljanje na statičnih straneh"
2450
 
2451
+ #: settings.php:1064 settings.php:1070
2452
  msgid ""
2453
  "Individual static page exceptions (if enabled here) can be configured in "
2454
  "page editor. Leave blank for no individual page exceptions."
2457
  "nastavijo v urejevalniku strani. Pustite prazno za strani brez posameznih "
2458
  "izjem."
2459
 
2460
+ #: settings.php:1070
2461
  msgid "Static pages"
2462
  msgstr "Statične strani"
2463
 
2464
+ #: settings.php:1076 settings.php:1077
2465
  msgid "Enable insertion on search blog pages"
2466
  msgstr "Omogoči vstavljanje na iskalnih straneh"
2467
 
2468
+ #: settings.php:1077
2469
  msgid "Search pages"
2470
  msgstr "Iskalne strani"
2471
 
2472
+ #: settings.php:1081 settings.php:1082
2473
  msgid "Enable insertion on tag or archive blog pages"
2474
  msgstr "Omogoči vstavljanje na straneh oznak in arhivskih straneh"
2475
 
2476
+ #: settings.php:1082
2477
  msgid "Tag / Archive pages"
2478
  msgstr "Strani oznak / arhiva"
2479
 
2480
+ #: settings.php:1095
2481
  msgctxt "post"
2482
  msgid "Type"
2483
  msgstr "Vrsta"
2484
 
2485
  #. translators: %d: block number
2486
+ #: settings.php:1097
2487
  msgid "Are you sure you want to clear all exceptions for block %d?"
2488
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok %d?"
2489
 
2490
+ #: settings.php:1127
2491
  msgid "HTML element"
2492
  msgstr "HTML element"
2493
 
2494
+ #: settings.php:1140
2495
  msgid "HTML element selector or comma separated list of selectors"
2496
  msgstr "Selektor HTML elementa ali z vejicami ločen seznam selektorjev"
2497
 
2498
+ #: settings.php:1146 settings.php:2423
2499
  msgid "Action"
2500
  msgstr "Akcija"
2501
 
2502
+ #: settings.php:1157 settings.php:1726
2503
  msgid "Insertion"
2504
  msgstr "Vstavljanje"
2505
 
2506
+ #: settings.php:1158
2507
  msgid ""
2508
  "Client-side insertion uses JavaScript to insert block when the page loads. "
2509
  "Server-side insertion inserts block when the page is generated but needs "
2513
  "se stran naloži. Vstavljanje na strani strežnika vstavi blok, ko se stran "
2514
  "ustvari, vendar potrebuje omogočeno Predpomnjenje izhoda."
2515
 
2516
+ #: settings.php:1168
2517
  msgid "JavaScript code position"
2518
  msgstr "Položaj JavaScript kode"
2519
 
2520
+ #: settings.php:1169
2521
  msgid ""
2522
  "Page position where the JavaScript code for client-side insertion will be "
2523
  "inserted. Should be after the HTML element if not waiting for DOM ready."
2526
  "strani klienta. Biti mora za HTML elementom, če se ne čaka na pripravljen "
2527
  "DOM."
2528
 
2529
+ #: settings.php:1183
2530
  msgid "Paragraphs"
2531
  msgstr "Odstavki"
2532
 
2533
+ #: settings.php:1190
2534
  msgid ""
2535
  "Paragraph number or comma separated paragraph numbers: 1 to N means "
2536
  "paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
2541
  msgstr ""
2542
  "Številka odstavka ali z vejico ločene številke odstavkov: 1 do N pomeni "
2543
  "številko odstavka, %N pomeni vsakih N odstavkov, prazno pomeni vse odstavke, "
2544
+ "0 pomeni naključni odstavek, vrednost med 0 in 1 pomeni relativni položaj na "
2545
  "strani (0.2 pomeni odstavek pri 20% odstavkov strani, 0.5 pomeni odstavek na "
2546
  "polovici strani, 0.9 pomeni odstavek pri 90% odstavkov strani...), negativno "
2547
  "število pomeni štetje z nasprotne smeri"
2548
 
2549
+ #: settings.php:1196
2550
  msgid "Counting"
2551
  msgstr "Štetje"
2552
 
2553
+ #: settings.php:1197
2554
  msgid "Clearance"
2555
  msgstr "Izogibanje"
2556
 
2557
+ #: settings.php:1205
2558
+ msgid "Images"
2559
+ msgstr "Slike"
2560
+
2561
+ #: settings.php:1212
2562
+ msgid ""
2563
+ "Image number or comma separated image numbers: 1 to N means image number, %N "
2564
+ "means every N images, empty means all images, 0 means random image, value "
2565
+ "between 0 and 1 means relative position on the page (0.2 means paragraph at "
2566
+ "20% of page images, 0.5 means middle image, 0.9 means paragraph at 90% of "
2567
+ "page images, etc.), negative number means counting from the opposite "
2568
+ "direction"
2569
+ msgstr ""
2570
+ "Številka slike ali z vejico ločene številke slik: 1 do N pomeni številko "
2571
+ "slike, %N pomeni vsakih N slik, prazno pomeni vse slike, 0 pomeni naključna "
2572
+ "slika, vrednost med 0 in 1 pomeni relativni položaj na strani (0.2 pomeni "
2573
+ "sliko pri 20% slik na strani, 0.5 pomeni srednjo sliko, 0.9 pomeni "
2574
+ "odstavesliko pri 90% slik strani...), negativno število pomeni štetje z "
2575
+ "nasprotne smeri"
2576
+
2577
+ #: settings.php:1222
2578
  msgid "Count"
2579
  msgstr "Štej"
2580
 
2581
+ #: settings.php:1228
2582
  msgid "paragraphs with tags"
2583
  msgstr "odstavke z značkami"
2584
 
2585
+ #: settings.php:1234
2586
  msgid "Comma separated HTML tag names, usually only 'p' tags are used"
2587
  msgstr ""
2588
  "Z vejico ločena imena HTML značk, običajno so uporabljene samo značke 'p'"
2589
 
2590
+ #: settings.php:1243
2591
  msgid "that have between"
2592
  msgstr "ki imajo med"
2593
 
2594
+ #: settings.php:1249
2595
  msgid "Minimum number of paragraph words, leave empty for no limit"
2596
  msgstr "Najmanjše število besed v odstavkih, prazno pomeni brez omejitev"
2597
 
2598
+ #: settings.php:1258
2599
  msgid "Maximum number of paragraph words, leave empty for no limit"
2600
  msgstr "Največje število besed v odstavkih, prazno pomeni brez omejitev"
2601
 
2602
+ #: settings.php:1261 settings.php:1853
2603
  msgid "words"
2604
  msgstr "besed"
2605
 
2606
+ #: settings.php:1276 settings.php:1342 settings.php:1368
2607
  msgid "Comma separated texts"
2608
  msgstr "Z vejico ločena besedila"
2609
 
2610
+ #: settings.php:1285
2611
  msgid "Minimum number of paragraphs"
2612
  msgstr "Najmanjše število odstavkov"
2613
 
2614
  #. translators: %s: list of HTML tags
2615
+ #: settings.php:1300
2616
  msgid ""
2617
  "Count also paragraphs inside %s elements - defined on general plugin "
2618
  "settings page - tab &#9881; / tab General"
2620
  "Štej tudi odstavke znotraj elementov %s - določeni na strani splošnih "
2621
  "nastavitev vtičnika - zavihek &#9881; / zavihek Splošno"
2622
 
2623
+ #: settings.php:1300
2624
  msgid "Count inside special elements"
2625
  msgstr "Štej znotraj posebnih elementov"
2626
 
2627
+ #: settings.php:1311
2628
  msgid "Minimum number of words in paragraphs above"
2629
  msgstr "Najmanjše število besed v odstavkih zgoraj"
2630
 
2631
+ #: settings.php:1317
2632
  msgid ""
2633
  "Used only with automatic insertion After paragraph and empty paragraph "
2634
  "numbers"
2636
  "Uporabljeno samo s samodejnim vstavljanjem Za odstavkom in s praznimi "
2637
  "številkami odstavkov"
2638
 
2639
+ #: settings.php:1327 settings.php:1353
2640
  msgid "In"
2641
  msgstr "V"
2642
 
2643
+ #: settings.php:1333
2644
  msgid "Number of paragraphs above to check, leave empty to disable checking"
2645
  msgstr "Število odstavkov zgoraj za preverjanje, prazno onemogoči preverjanje"
2646
 
2647
+ #: settings.php:1336
2648
  msgid "paragraphs above avoid"
2649
  msgstr "odstavkih zgoraj se izogni"
2650
 
2651
+ #: settings.php:1359
2652
  msgid "Number of paragraphs below to check, leave empty to disable checking"
2653
  msgstr "Število odstavkov spodaj za preverjanje, prazno onemogoči preverjanje"
2654
 
2655
+ #: settings.php:1362
2656
  msgid "paragraphs below avoid"
2657
  msgstr "odstavkih spodaj se izogni"
2658
 
2659
+ #: settings.php:1378
2660
  msgid "If text is found"
2661
  msgstr "Če je besedilo najdeno"
2662
 
2663
+ #: settings.php:1385
2664
  msgid "check up to"
2665
  msgstr "preveri do"
2666
 
2667
+ #: settings.php:1393
2668
  msgctxt "check up to"
2669
  msgid "paragraphs"
2670
  msgstr "odstavkov"
2671
 
2672
+ #: settings.php:1409
2673
  msgid "Categories"
2674
  msgstr "Kategorije"
2675
 
2676
+ #: settings.php:1412
2677
  msgid "Toggle category editor"
2678
  msgstr "Preklopi urejevalnik kategorij"
2679
 
2680
+ #: settings.php:1415
2681
  msgid "Comma separated category slugs"
2682
  msgstr "Z vejico ločeni ključi kategorij"
2683
 
2684
+ #: settings.php:1419
2685
  msgid "Blacklist categories"
2686
  msgstr "Črni seznam kategorij"
2687
 
2688
+ #: settings.php:1423
2689
  msgid "Whitelist categories"
2690
  msgstr "Beli seznam kategorij"
2691
 
2692
+ #: settings.php:1435
2693
  msgid "Tags"
2694
  msgstr "Oznake"
2695
 
2696
+ #: settings.php:1438
2697
  msgid "Toggle tag editor"
2698
  msgstr "Preklopi urejevalnik oznak"
2699
 
2700
+ #: settings.php:1441
2701
  msgid "Comma separated tag slugs"
2702
  msgstr "Z vejico ločeni ključi oznak"
2703
 
2704
+ #: settings.php:1445
2705
  msgid "Blacklist tags"
2706
  msgstr "Črni seznam oznak"
2707
 
2708
+ #: settings.php:1449
2709
  msgid "Whitelist tags"
2710
  msgstr "Beli seznam oznak"
2711
 
2712
+ #: settings.php:1461
2713
  msgid "Taxonomies"
2714
  msgstr "Taksonomije"
2715
 
2716
+ #: settings.php:1464
2717
  msgid "Toggle taxonomy editor"
2718
  msgstr "Preklopi urejevalnik taksonomij"
2719
 
2720
+ #: settings.php:1467
2721
  msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
2722
  msgstr "Z vejico ločeni ključi: taksonomija, izraz ali taksonomija:izraz"
2723
 
2724
+ #: settings.php:1471
2725
  msgid "Blacklist taxonomies"
2726
  msgstr "Črni seznam taksonomij"
2727
 
2728
+ #: settings.php:1475
2729
  msgid "Whitelist taxonomies"
2730
  msgstr "Beli seznam taksonomij"
2731
 
2732
+ #: settings.php:1487
2733
  msgid "Post IDs"
2734
  msgstr "ID-ji prispevkov"
2735
 
2736
+ #: settings.php:1490
2737
  msgid "Toggle post/page ID editor"
2738
  msgstr "Preklopi urejevalnik ID-jev prispevkov/strani"
2739
 
2740
+ #: settings.php:1493
2741
  msgid "Comma separated post/page IDs"
2742
  msgstr "Z vejico ločeni ID-ji prispevkov/strani"
2743
 
2744
+ #: settings.php:1497
2745
  msgid "Blacklist IDs"
2746
  msgstr "Črni seznam ID-jev"
2747
 
2748
+ #: settings.php:1501
2749
  msgid "Whitelist IDs"
2750
  msgstr "Beli seznam ID-jev"
2751
 
2752
+ #: settings.php:1513
2753
  msgid "Urls"
2754
  msgstr "Url-ji"
2755
 
2756
+ #: settings.php:1516
2757
  msgid "Toggle url editor"
2758
  msgstr "Preklopi urejevalnik url-jev"
2759
 
2760
+ #: settings.php:1519
2761
  msgid ""
2762
  "Comma separated urls (page addresses) starting with / after domain name (e."
2763
  "g. /permalink-url, use only when you need to taget a specific url not "
2769
  "nsalov, ki drugače ni dostopen). Uporabite lahko tudi delne url-je z * (/url-"
2770
  "začetek*. *url-vzorec*, *url-konec)"
2771
 
2772
+ #: settings.php:1523
2773
  msgid "Blacklist urls"
2774
  msgstr "Črni seznam url-jev"
2775
 
2776
+ #: settings.php:1527
2777
  msgid "Whitelist urls"
2778
  msgstr "Beli seznam url-jev"
2779
 
2780
+ #: settings.php:1538
2781
  msgid "Url parameters"
2782
  msgstr "Url parametri"
2783
 
2784
+ #: settings.php:1542
2785
  msgid "Toggle url parameter and cookie editor"
2786
  msgstr "Preklopi urejevalnik url parametrov in piškotkov"
2787
 
2788
+ #: settings.php:1545
2789
  msgid ""
2790
  "Comma separated url query parameters or cookies with optional values (use "
2791
  "'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
2794
  "vrednostmi (uporabite 'prameter', 'prameter=vrednost', 'piškotek' or "
2795
  "'piškotek=vrednost')"
2796
 
2797
+ #: settings.php:1549
2798
  msgid "Blacklist url parameters"
2799
  msgstr "Črni seznam url parametrov"
2800
 
2801
+ #: settings.php:1553
2802
  msgid "Whitelist url parameters"
2803
  msgstr "Beli seznam url parametrov"
2804
 
2805
+ #: settings.php:1564
2806
+ msgid "Referrers"
2807
  msgstr "Napotitelji"
2808
 
2809
+ #: settings.php:1567
2810
  msgid "Toggle referer editor"
2811
  msgstr "Preklopi urejevalnik napotiteljev"
2812
 
2813
+ #: settings.php:1570
2814
+ msgid ""
2815
+ "Comma separated domains, use # for no referrer, you can also use partial "
2816
+ "domains with * (domain-start*. *domain-pattern*, *domain-end)"
2817
+ msgstr ""
2818
+ "Z vejico ločene domene, uporabite # za primer, ko ni napotitelja, uporabite "
2819
+ "lahko tudi delne domene z * (začetek-domene*. *vzorec-domene*, *konec-domene)"
2820
 
2821
+ #: settings.php:1574
2822
  msgid "Blacklist referers"
2823
  msgstr "Črni seznam napotiteljev"
2824
 
2825
+ #: settings.php:1578
2826
  msgid "Whitelist referers"
2827
  msgstr "Beli seznam napotiteljev"
2828
 
2829
+ #: settings.php:1598
2830
  msgid "Enable widget for this block"
2831
  msgstr "Omogočite gradnik za ta blok"
2832
 
2833
+ #: settings.php:1610
2834
  msgid "Enable shortcode for manual insertion of this block in posts and pages"
2835
  msgstr ""
2836
  "Omogočite kratko kodo za ročno vstavljanje tega bloka v prispevke in strani"
2837
 
2838
+ #: settings.php:1611 settings.php:3214
2839
  msgid "Shortcode"
2840
  msgstr "Kratka koda"
2841
 
2842
+ #: settings.php:1626
2843
  msgid ""
2844
  "Enable PHP function call to insert this block at any position in theme file. "
2845
  "If function is disabled for block it will return empty string."
2848
  "položaju v datoteki teme. Če je funkcija za blok onemogočena, bo vrnila "
2849
  "prazen niz."
2850
 
2851
+ #: settings.php:1627
2852
  msgid "PHP function"
2853
  msgstr "PHP funkcija"
2854
 
2855
+ #: settings.php:1642
2856
  msgid "Client-side device detection"
2857
  msgstr "Zaznavanje naprave na strani klienta"
2858
 
2859
+ #: settings.php:1643
2860
  msgid "Server-side device detection"
2861
  msgstr "Zaznavanje naprave na strani strežnika"
2862
 
2863
+ #: settings.php:1650
2864
  msgid "Use client-side detection to"
2865
  msgstr "Uporabi zaznavanje na strani klienta in"
2866
 
2867
  #. Translators: only on (the following devices): viewport names (devices)
2868
  #. listed
2869
+ #: settings.php:1657
2870
  msgid "only on"
2871
  msgstr "samo na"
2872
 
2873
+ #: settings.php:1708
 
 
 
 
2874
  msgid "Use server-side detection to insert block only for"
2875
  msgstr "Uporabi zaznavanje na strani strežnika za vstavljanje bloka samo za"
2876
 
2877
+ #: settings.php:1727
2878
  msgid "Filter"
2879
  msgstr "Filter"
2880
 
2881
+ #: settings.php:1728
2882
  msgid "Word Count"
2883
  msgstr "Število Besed"
2884
 
2885
+ #: settings.php:1729
2886
  msgid "Scheduling"
2887
  msgstr "Urnik"
2888
 
2889
+ #: settings.php:1730
2890
  msgid "Display"
2891
  msgstr "Prikaz"
2892
 
2893
+ #: settings.php:1732 settings.php:1961
2894
  msgid "General"
2895
  msgstr "Splošno"
2896
 
2897
+ #: settings.php:1744
2898
  msgid "Old settings for AMP pages detected"
2899
  msgstr "Zaznane stare nastavitve za AMP strani"
2900
 
2901
+ #: settings.php:1744
2902
  msgid ""
2903
  "To insert different codes on normal and AMP pages separate them with "
2904
  "[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
2909
  "straneh samo, ko želite vstaviti ISTO KODO tudi na AMP straneh (brez AMP "
2910
  "separatorja)."
2911
 
2912
+ #: settings.php:1744
2913
  msgid "AMP pages"
2914
  msgstr "AMP strani"
2915
 
2916
+ #: settings.php:1749
2917
  msgid "Enable insertion for Ajax requests"
2918
  msgstr "Omogoči vstavljanje v Ajax zahtevah"
2919
 
2920
+ #: settings.php:1749
2921
  msgid "Ajax requests"
2922
  msgstr "Ajax zahteve"
2923
 
2924
+ #: settings.php:1754
2925
  msgid "Enable insertion in RSS feeds"
2926
  msgstr "Omogoči vstavljanje v RSS virih"
2927
 
2928
+ #: settings.php:1754
2929
  msgid "RSS Feed"
2930
  msgstr "RSS Vir"
2931
 
2932
+ #: settings.php:1759
2933
  msgid "Enable insertion on page for Error 404: Page not found"
2934
  msgstr "Omogoči vstavljanje na strani za napako 404: Stran ne obstaja"
2935
 
2936
+ #: settings.php:1759
2937
  msgid "Error 404 page"
2938
  msgstr "Stran napake 404"
2939
 
2940
+ #: settings.php:1771
2941
  msgid "Maximum number of insertion of this block. Empty or 0 means no limit."
2942
  msgstr ""
2943
  "Največje število vstavljanj tega bloka. Prazno ali 0 pomeni brez omejitev."
2944
 
2945
+ #: settings.php:1772
2946
  msgid "Max"
2947
  msgstr "Največ"
2948
 
2949
+ #: settings.php:1772
2950
  msgid "insertions"
2951
  msgstr "vstavljanj"
2952
 
2953
+ #: settings.php:1774
2954
  msgid ""
2955
  "Count this block for Max blocks per page limit (defined on the tab &#9881; / "
2956
  "tab General)"
2958
  "Štej ta blok za omejitev Največ blokov na stran (določena na zavihku "
2959
  "&#9881; / zavihek Splošno)"
2960
 
2961
+ #: settings.php:1777 settings.php:2119
2962
  msgid "Max blocks per page"
2963
  msgstr "Največ blokov na stran"
2964
 
2965
+ #: settings.php:1789
2966
  msgid "Insert for"
2967
  msgstr "Vstavi za"
2968
 
2969
+ #: settings.php:1797
2970
  msgid ""
2971
  "Insert block only when WP function in_the_loop () returns true (WP loop is "
2972
  "currently active). Might speed up insertion on content pages when "
2976
  "trenutno aktivna). Lahko pospeši vstavljanje na določenih straneh, ko je "
2977
  "filter the_content večkrat klican."
2978
 
2979
+ #: settings.php:1800
2980
  msgid "Insert only in the loop"
2981
  msgstr "Vstavi samo v zanki"
2982
 
2983
+ #: settings.php:1806
2984
  msgid ""
2985
  "Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
2986
  msgstr ""
2987
  "Onemogoči predpomnenje za vtičnike WP Super Cache, W3 Total Cache in WP "
2988
  "Rocket"
2989
 
2990
+ #: settings.php:1806
2991
  msgid "Disable caching"
2992
  msgstr "Onemogoči predpomnjenje"
2993
 
2994
+ #: settings.php:1818
2995
  msgid "Filter insertions"
2996
  msgstr "Filtriraj vstavljanja"
2997
 
2998
+ #: settings.php:1821
2999
  msgid ""
3000
  "Filter multiple insertions by specifying wanted insertions for this block - "
3001
  "single number, comma separated numbers or %N for every N insertions - empty "
3007
  "- prazno pomeni vsa vstavljanja / brez filtra. Nastavite Števec za filter na "
3008
  "Samodejni števec, če uporabljate samo eno vrsto vstavljanja."
3009
 
3010
+ #: settings.php:1824
3011
  msgid "using"
3012
  msgstr "z uporabo"
3013
 
3014
+ #: settings.php:1843
3015
  msgid "Checked means specified calls are unwanted"
3016
  msgstr "Odkljukano pomeni, da so našteti klici neželjeni"
3017
 
3018
+ #: settings.php:1843
3019
  msgid "Invert filter"
3020
  msgstr "Obrni filter"
3021
 
3022
+ #: settings.php:1849
3023
  msgid "Post/Static page must have between"
3024
  msgstr "Prispevek/Statična stran mora imeti med"
3025
 
3026
+ #: settings.php:1850
3027
  msgid "Minimum number of post/static page words, leave empty for no limit"
3028
  msgstr ""
3029
  "Najmanjše število besed v prispevkih/statičnih straneh, prazno pomeni brez "
3030
  "omejitev"
3031
 
3032
+ #: settings.php:1852
3033
  msgid "Maximum number of post/static page words, leave empty for no limit"
3034
  msgstr ""
3035
  "Največje število besed v prispevkih/statičnih straneh, prazno pomeni brez "
3036
  "omejitev"
3037
 
3038
+ #: settings.php:1865
3039
  msgid "days after publishing"
3040
  msgstr "dni po objavi"
3041
 
3042
+ #: settings.php:1867
3043
  msgid "Not available"
3044
  msgstr "Ni na razpolago"
3045
 
3046
+ #: settings.php:1880 settings.php:2111
3047
  msgid "Ad label"
3048
  msgstr "Oznaka oglasa"
3049
 
3050
+ #: settings.php:1899
3051
  msgid "General tag"
3052
  msgstr "Splošna oznaka"
3053
 
3054
+ #: settings.php:1903
3055
  msgid "Used for [adinserter data=''] shortcodes when no data is found"
3056
  msgstr "Uporabljeno za kratke kode [adinserter data=''] ko ni podatkov"
3057
 
3058
  #. translators: %s: HTML tags
3059
+ #: settings.php:1912
3060
  msgid ""
3061
  "%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
3062
  "side device detection!"
3064
  "%s OPOZORILO: slog %s Brez Ovijanja %s nima kode za ovijanje , ki je "
3065
  "potrebna za zaznavanje naprave na strani klienta!"
3066
 
3067
+ #: settings.php:1924
3068
  msgid "Settings"
3069
  msgstr "Nastavitve"
3070
 
3071
+ #: settings.php:1927
3072
  msgid "Settings timestamp"
3073
  msgstr "Časovni žig nastavitev"
3074
 
3075
+ #: settings.php:1939
3076
  msgid "Are you sure you want to reset all settings?"
3077
  msgstr "Ali ste prepričani, da želite ponastaviti vse nastavitve?"
3078
 
3079
+ #: settings.php:1939
3080
  msgid "Reset All Settings"
3081
  msgstr "Ponastavi Vse Nastavitve"
3082
 
3083
+ #: settings.php:1962
3084
  msgid "Viewports"
3085
  msgstr "Pogledi"
3086
 
3087
+ #: settings.php:1963
3088
  msgid "Hooks"
3089
  msgstr "Ročice"
3090
 
3091
+ #: settings.php:1964
3092
  msgid "Header"
3093
  msgstr "Glava"
3094
 
3095
+ #: settings.php:1965 strings.php:30
3096
  msgid "Footer"
3097
  msgstr "Noga"
3098
 
3099
+ #: settings.php:1970
3100
  msgid "Debugging"
3101
  msgstr "Razhroščevanje"
3102
 
3103
+ #: settings.php:1980
3104
  msgid "Plugin priority"
3105
  msgstr "Prednost vtičnika"
3106
 
3107
+ #: settings.php:1988
3108
  msgid "Output buffering"
3109
  msgstr "Predpomnjenje izhoda"
3110
 
3111
+ #: settings.php:1991
3112
  msgid "Needed for position Above header but may not work with all themes"
3113
  msgstr "Potrebno za položaj Nad glavo, ampak lahko, da ne dela z vsemi temami"
3114
 
3115
+ #: settings.php:1999
3116
  msgid "Syntax highlighting theme"
3117
  msgstr "Tema za poudarjanje sintakse"
3118
 
3119
+ #: settings.php:2006
3120
  msgctxt "no syntax highlighting themes"
3121
  msgid "None"
3122
  msgstr "Brez"
3123
 
3124
+ #: settings.php:2007
3125
  msgid "No Syntax Highlighting"
3126
  msgstr "Brez Poudarjanja Sintakse"
3127
 
3128
+ #: settings.php:2009
3129
  msgctxt "syntax highlighting themes"
3130
  msgid "Light"
3131
  msgstr "Svetle"
3132
 
3133
+ #: settings.php:2024
3134
  msgctxt "syntax highlighting themes"
3135
  msgid "Dark"
3136
  msgstr "Temne"
3137
 
3138
+ #: settings.php:2050
3139
  msgid "Min. user role for ind. exceptions editing"
3140
  msgstr "Najm. uporabniška vloga za urejanje izjem"
3141
 
3142
+ #: settings.php:2060
3143
  msgid "Sticky widget mode"
3144
  msgstr "Način za lepljive gradnike"
3145
 
3146
+ #: settings.php:2063
3147
  msgid ""
3148
  "CSS mode is the best approach but may not work with all themes. JavaScript "
3149
  "mode works with most themes but may reload ads on page load."
3152
  "Način JavaScript dela z večino tem, ampak lahko ponovno naloži oglase pri "
3153
  "nalaganju strani."
3154
 
3155
+ #: settings.php:2071
3156
  msgid "Sticky widget top margin"
3157
  msgstr "Zgornji rob za lepljiv gradnik"
3158
 
3159
+ #: settings.php:2079
3160
  msgid "Dynamic blocks"
3161
  msgstr "Dinamični bloki"
3162
 
3163
+ #: settings.php:2092
3164
  msgid "Functions for paragraph counting"
3165
  msgstr "Funkcije za štetje odstavkov"
3166
 
3167
+ #: settings.php:2095
3168
  msgid ""
3169
  "Standard PHP functions are faster and work in most cases, use Multibyte "
3170
  "functions if paragraphs are not counted properly on non-english pages."
3173
  "Večznakovne funkcije, če na ne-angleških straneh odstavki niso pravilno "
3174
  "šteti."
3175
 
3176
+ #: settings.php:2103
3177
  msgid "No paragraph counting inside"
3178
  msgstr "Ni štetja odstavkov znotraj"
3179
 
3180
+ #: settings.php:2114
3181
  msgid "Label text or HTML code"
3182
  msgstr "Besedilo oznake ali HTML koda"
3183
 
3184
+ #: settings.php:2122
3185
  msgid ""
3186
  "Maximum number of inserted blocks per page. You need to enable Max page "
3187
  "insertions (button Misc / tab Insertion) to count block for this limit."
3190
  "blokov na stran (gumb Razno / zavihek Vstavljanje), da bo blok štel za to "
3191
  "omejitev."
3192
 
3193
+ #: settings.php:2136
3194
  msgid "Plugin usage tracking"
3195
  msgstr "Sledenje uporabe vtičnika"
3196
 
3197
  #. translators: %s: Ad Inserter
3198
+ #: settings.php:2139
3199
  msgid ""
3200
  "Enable tracking of %s usage and help us to make improvements to the plugin. "
3201
  "Only information regarding the WordPress environment and %s usage is "
3205
  "Beležijo se samo informacije glede okolja WordPress in uporabe %s-ja (enkrat "
3206
  "mesečno in ob dogodkih kot so aktivacija/deaktivacija)."
3207
 
3208
+ #: settings.php:2157
3209
  msgid "CSS class name for the wrapping div"
3210
  msgstr "Ime CSS razreda za div za ovijanje"
3211
 
3212
+ #: settings.php:2157
3213
  msgid "Block class name"
3214
  msgstr "Ime razreda za blok"
3215
 
3216
+ #: settings.php:2161
3217
  msgid "Include general plugin block class"
3218
  msgstr "Vključi splošni razred vtičnika za blok"
3219
 
3220
+ #: settings.php:2161
3221
  msgid "Block class"
3222
  msgstr "Razred bloka"
3223
 
3224
+ #: settings.php:2166
3225
  msgid "Include block number class"
3226
  msgstr "Vključi razred številke bloka"
3227
 
3228
+ #: settings.php:2166
3229
  msgid "Block number class"
3230
  msgstr "Razred številke bloka"
3231
 
3232
+ #: settings.php:2171
3233
  msgid ""
3234
  "Instead of alignment classes generate inline alignment styles for blocks"
3235
  msgstr ""
3236
  "Namesto razredov za poravnavo ustvari medvrstične sloge za poravnavo blokov"
3237
 
3238
+ #: settings.php:2171
3239
  msgid "Inline styles"
3240
  msgstr "Medvrstični slogi"
3241
 
3242
+ #: settings.php:2177
3243
  msgid "Preview of the block wrapping code"
3244
  msgstr "Predogled kode za ovijanje blokov"
3245
 
3246
+ #: settings.php:2178
3247
  msgid "Wrapping div"
3248
  msgstr "div za ovijanje"
3249
 
3250
+ #: settings.php:2179 settings.php:2613
3251
  msgid "BLOCK CODE"
3252
  msgstr "KODA BLOKA"
3253
 
3254
+ #: settings.php:2187
3255
  msgid "Viewport Settings used for client-side device detection"
3256
  msgstr ""
3257
  "Nastavitve Pogledov, uporabljene za zaznavanje naprav na strani klienta"
3258
 
3259
+ #: settings.php:2220
 
 
 
 
 
 
 
 
 
3260
  msgid "Custom Hooks"
3261
  msgstr "Ročice Po Meri"
3262
 
3263
+ #: settings.php:2294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3264
  msgid "Enable insertion of this code into HTML page header"
3265
  msgstr "Omogoči vstavljanje te kode v glavi HTML strani"
3266
 
3267
+ #: settings.php:2298 settings.php:2356 settings.php:2515
3268
  msgid "Process PHP code"
3269
  msgstr "Procesiraj PHP kodo"
3270
 
3271
+ #: settings.php:2302
3272
  msgid "HTML Page Header Code"
3273
  msgstr "Koda v Glavi HTML Strani"
3274
 
3275
+ #: settings.php:2310
3276
  msgid "Code in the %s section of the HTML page"
3277
  msgstr "Koda v %s delu HTML strani"
3278
 
3279
+ #: settings.php:2311 settings.php:2369
3280
  msgctxt "code in header or footer"
3281
  msgid "DISABLED"
3282
  msgstr "ONEMOGOČENA"
3283
 
3284
+ #: settings.php:2324 settings.php:2382
3285
  msgid "Use server-side detection to insert code only for"
3286
  msgstr "Zaznavanje na strani strežnika za vstavljanje samo za"
3287
 
3288
+ #: settings.php:2337
3289
  msgid ""
3290
  "Enable insertion of this code into HTML page header on page for Error 404: "
3291
  "Page not found"
3293
  "Omogoči vstavljanje te kode v HTML glavo na strani za napako 404: Stran ne "
3294
  "obstaja"
3295
 
3296
+ #: settings.php:2337 settings.php:2395
3297
  msgid "Insert on Error 404 page"
3298
  msgstr "Vstavi na strani Napake 404"
3299
 
3300
+ #: settings.php:2352
3301
  msgid "Enable insertion of this code into HTML page footer"
3302
  msgstr "Omogoči vstavljanje te kode v HTML nogi"
3303
 
3304
+ #: settings.php:2360
3305
  msgid "HTML Page Footer Code"
3306
  msgstr "Koda v Nogi HTML Strani"
3307
 
3308
  #. translators: %s: HTML tags
3309
+ #: settings.php:2368
3310
  msgid "Code before the %s tag of the the HTML page"
3311
  msgstr "Koda pred %s značko HTML strani"
3312
 
3313
+ #: settings.php:2395
3314
  msgid ""
3315
  "Enable insertion of this code into HTML page footer on page for Error 404: "
3316
  "Page not found"
3318
  "Omogoči vstavljanje te kode v nogo HTML strani na strani za napako 404: "
3319
  "Stran ne obstaja"
3320
 
3321
+ #: settings.php:2409
3322
  msgid "Enable detection of ad blocking"
3323
  msgstr "Omogoči zaznavanje blokiranja oglasov"
3324
 
3325
+ #: settings.php:2426
3326
  msgid "Global action when ad blocking is detected"
3327
  msgstr "Globalna akcija, ko je zaznano blokiranje oglasov"
3328
 
3329
+ #: settings.php:2435
3330
  msgid "Delay Action"
3331
  msgstr "Zakasni Akcijo"
3332
 
3333
+ #: settings.php:2438
3334
  msgid ""
3335
  "Number of page views to delay action when ad blocking is detected. Leave "
3336
  "empty for no delay (action fires on first page view). Sets cookie."
3339
  "oglasov. Prazno pomeni brez zakasnitve (akcija se sproži pri prvem ogledu "
3340
  "strani). Nastavi piškotek."
3341
 
3342
+ #: settings.php:2438
3343
  msgctxt "Delay Action for x "
3344
  msgid "page views"
3345
  msgstr "ogledov strani"
3346
 
3347
+ #: settings.php:2443
3348
  msgid "No Action Period"
3349
  msgstr "Obdobje Brez Akcije"
3350
 
3351
+ #: settings.php:2446
3352
  msgid ""
3353
  "Number of days to supress action when ad blocking is detected. Leave empty "
3354
  "for no no-action period (action fires always after defined page view delay). "
3358
  "pomeni brez zadržanja (akcija se sproži vedno po določeni zakasnitvi ogledov "
3359
  "strani). Nastavi piškotek."
3360
 
3361
+ #: settings.php:2446
3362
  msgctxt "no action period"
3363
  msgid "days"
3364
  msgstr "dni"
3365
 
3366
+ #: settings.php:2451
3367
  msgid "Custom Selectors"
3368
  msgstr "Selektorji Po Meri"
3369
 
3370
+ #: settings.php:2454
3371
  msgid ""
3372
  "Comma seprarated list of selectors (.class, #id) used for additional ad "
3373
  "blocking detection. Invisible element or element with zero height means ad "
3377
  "zaznavanje blokiranja oglasov. Neviden element ali element z ničelno višino "
3378
  "pomeni prisotnost blokiranja oglasov."
3379
 
3380
+ #: settings.php:2466
3381
  msgid "Redirection Page"
3382
  msgstr "Stran za Preusmeritev"
3383
 
3384
+ #: settings.php:2478
3385
  msgid "Custom Url"
3386
  msgstr "Url Po Meri"
3387
 
3388
+ #: settings.php:2483
3389
  msgid ""
3390
  "Static page for redirection when ad blocking is detected. For other pages "
3391
  "select Custom url and set it below."
3393
  "Statična stran za preusmeritev, ko je zaznano blokiranje oglasov. Za druge "
3394
  "strani izberite Url Po Meri in ga nastavite spodaj."
3395
 
3396
+ #: settings.php:2492
3397
  msgid "Custom Redirection Url"
3398
  msgstr "Url za Preusmeritev Po Meri"
3399
 
3400
+ #: settings.php:2504
3401
  msgid "Message HTML code"
3402
  msgstr "HTML koda sporočila"
3403
 
3404
+ #: settings.php:2517
3405
  msgid "Preview message when ad blocking is detected"
3406
  msgstr "Predogled sporočila, ko je zaznano blokiranje oglasov"
3407
 
3408
+ #: settings.php:2546
3409
  msgid "Prevent visitors from closing the warning message"
3410
  msgstr "Prepreči obiskovalcem, da zaprejo opozorilno sporočilo"
3411
 
3412
+ #: settings.php:2546
3413
  msgid "Undismissible Message"
3414
  msgstr "Neodstranljivo Sporočilo"
3415
 
3416
+ #: settings.php:2559
3417
  msgid ""
3418
  "Force showing admin toolbar for administrators when viewing site. Enable "
3419
  "this option when you are logged in as admin and you don't see admin toolbar."
3422
  "možnost, če ste prijavljeni kot skrbnik, pa ne vidite orodne vrstice za "
3423
  "skrbnike."
3424
 
3425
+ #: settings.php:2567
3426
  msgid "Disable header code (Header tab)"
3427
  msgstr "Onemogoči kodo v glavi (zavihek Glava)"
3428
 
3429
+ #: settings.php:2571
3430
  msgid "Disable footer code (Footer tab)"
3431
  msgstr "Onemogoči kodo v nogi (zavihek Noga)"
3432
 
3433
  #. translators: %s: Ad Inserter
3434
+ #: settings.php:2575
3435
  msgid "Disable %s JavaScript code"
3436
  msgstr "Onemogoči %s JavaScript kodo"
3437
 
3438
  #. translators: %s: Ad Inserter
3439
+ #: settings.php:2579
3440
  msgid "Disable %s CSS code"
3441
  msgstr "Onemogoči %s CSS kodo"
3442
 
3443
+ #: settings.php:2583
3444
  msgid ""
3445
  "Disable PHP code processing (in all blocks including header and footer code)"
3446
  msgstr ""
3447
  "Onemogoči procesiranje PHP kode (v vseh blokh vključno z glavo in nogo)"
3448
 
3449
+ #: settings.php:2587
3450
  msgid "Disable insertion of all blocks"
3451
  msgstr "Onemogoči vstavljanje vseh blokov"
3452
 
3453
+ #: settings.php:2591
3454
  msgid "Disable insertions"
3455
  msgstr "Onemogoči vstavljanja"
3456
 
3457
  #. translators: %s: Ad Inserter
3458
+ #: settings.php:2603
3459
  msgid "%s CSS CODE"
3460
  msgstr "%s CSS KODA"
3461
 
3462
+ #: settings.php:2606
3463
  msgid "HEADER CODE"
3464
  msgstr "KODA GLAVE"
3465
 
3466
  #. translators: %s: PHP tags
3467
+ #: settings.php:2612
3468
  msgid "BLOCK PHP CODE"
3469
  msgstr "PHP KODA BLOKA"
3470
 
3471
  #. translators: %s: Ad Inserter
3472
+ #: settings.php:2618
3473
  msgid "%s JS CODE"
3474
  msgstr "%s JS KODA"
3475
 
3476
+ #: settings.php:2621
3477
  msgid "FOOTER CODE"
3478
  msgstr "KODA NOGE"
3479
 
3480
+ #: settings.php:2630
3481
  msgid "Force showing admin toolbar when viewing site"
3482
  msgstr "Vsili prikaz orodne vrstice za skrbnike pri ogledu strani"
3483
 
3484
+ #: settings.php:2637
3485
  msgid "Enable debugging functions in admin toolbar"
3486
  msgstr "Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike"
3487
 
3488
+ #: settings.php:2639
3489
  msgid "Debugging functions in admin toolbar"
3490
  msgstr "Funkcije za razhroščevanje v orodni vrstici za skrbnike"
3491
 
3492
+ #: settings.php:2646
3493
  msgid "Enable debugging functions in admin toolbar on mobile screens"
3494
  msgstr ""
3495
  "Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike na mobilnih "
3496
  "zaslonih"
3497
 
3498
+ #: settings.php:2648
3499
  msgid "Debugging functions on mobile screens"
3500
  msgstr "Funkcije za razhroščevanje na mobilnih zaslonih"
3501
 
3502
+ #: settings.php:2655
3503
  msgid ""
3504
  "Enable Debugger widget and code insertion debugging (blocks, positions, "
3505
  "tags, processing) by url parameters for non-logged in users. Enable this "
3514
  "pomagali diagnosticirati težave. Za prijavljene skrbnike je razhroščevanje "
3515
  "vedno omogočeno."
3516
 
3517
+ #: settings.php:2657
3518
  msgid "Remote debugging"
3519
  msgstr "Oddaljeno razhroščevanje"
3520
 
3521
+ #: settings.php:2664
3522
  msgid ""
3523
  "Disable translation to see original texts for the settings and messages in "
3524
  "English"
3526
  "Onemogoči prevod za prikaz prvotnih besedil nastavitev in sporočil v "
3527
  "angleščini"
3528
 
3529
+ #: settings.php:2666
3530
  msgid "Disable translation"
3531
  msgstr "Onemogoči prevod"
3532
 
3533
+ #: settings.php:2960
3534
  msgid "Toggle active/all blocks"
3535
  msgstr "Preklopi aktive/vse bloke"
3536
 
3537
+ #: settings.php:2964 strings.php:201
3538
  msgid "Rearrange block order"
3539
  msgstr "Preuredi vrstni red blokov"
3540
 
3541
+ #: settings.php:2969
3542
  msgid "Save new block order"
3543
  msgstr "Shrani vrstni red blokov"
3544
 
3545
+ #: settings.php:2969
3546
  msgid "Save Changes"
3547
  msgstr "Sharani Nastavitve"
3548
 
3549
+ #: settings.php:2994
3550
  msgid "Toggle active/all ad units"
3551
  msgstr "Preklopi aktivne/vse oglasne enote"
3552
 
3553
+ #: settings.php:2998
3554
  msgid "Reload AdSense ad units"
3555
  msgstr "Ponovno naloži oglasne enote AdSense"
3556
 
3557
+ #: settings.php:3002
3558
  msgid "Clear authorization to access AdSense account"
3559
  msgstr "Odstrani avtorizacijo za dostop do računa AdSense"
3560
 
3561
+ #: settings.php:3006 settings.php:3371 settings.php:3438 strings.php:209
3562
  msgid "Google AdSense Homepage"
3563
  msgstr "Google AdSense Domača Stran"
3564
 
3565
+ #: settings.php:3183
3566
  msgid "Preview block"
3567
  msgstr "Predogled bloka"
3568
 
3569
+ #: settings.php:3192
3570
  msgid "Insertion disabled"
3571
  msgstr "Vstavljanje onemogočeno"
3572
 
3573
+ #: settings.php:3212
3574
  msgid "Alignment"
3575
  msgstr "Poravnava"
3576
 
3577
+ #: settings.php:3216
3578
  msgid "Widget positions"
3579
  msgstr "Položaji gradnikov"
3580
 
3581
+ #: settings.php:3282
3582
  msgid "Ad unit"
3583
  msgstr "Enota"
3584
 
3585
+ #: settings.php:3284
3586
  msgid "Slot ID"
3587
  msgstr "ID mesta"
3588
 
3589
+ #: settings.php:3310
3590
  msgid "Copy AdSense code"
3591
  msgstr "Kopiraj kodo AdSense"
3592
 
3593
+ #: settings.php:3313
3594
  msgid "Preview AdSense ad"
3595
  msgstr "Predogled oglasa AdSense"
3596
 
3597
+ #: settings.php:3316
3598
  msgid "Get AdSense code"
3599
  msgstr "Pridobi kodo AdSense"
3600
 
3601
  #. translators: %s: HTML tags
3602
+ #: settings.php:3348
3603
  msgid ""
3604
  "Please %s clear authorization %s with the button %s above and once again "
3605
  "authorize access to your AdSense account."
3607
  "Prosimo, %s odstranite avtorizacijo %s z gumbom %s zgoraj in še enkrat "
3608
  "avtorizirajte dostop do vašega računa AdSense."
3609
 
3610
+ #: settings.php:3367
3611
  msgid "AdSense Integration"
3612
  msgstr "Integracija AdSense"
3613
 
3614
+ #: settings.php:3369
3615
  msgid "AdSense Integration - Step 2"
3616
  msgstr "Integracija AdSense - Korak 2"
3617
 
3618
  #. translators: %s: HTML tags
3619
+ #: settings.php:3375
3620
  msgid ""
3621
  "Authorize %s to access your AdSense account. Click on the %s Get "
3622
  "Authorization Code %s button to open a new window where you can allow "
3629
  "Avtoriziraj. %s"
3630
 
3631
  #. translators: %s: HTML tags
3632
+ #: settings.php:3382
3633
  msgid ""
3634
  "If you get error, can't access ad units or would like to use own Google API "
3635
  "IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
3640
  "je %s za vnos podatkov ID Klienta in Skrivnost Klienta."
3641
 
3642
  #. translators: %s: HTML tags
3643
+ #: settings.php:3384
3644
  msgid ""
3645
  "Now you can authorize %s to access your AdSense account. Click on the %s Get "
3646
  "Authorization Code %s button to open a new window where you can allow "
3653
  "gumb %s Avtoriziraj. %s"
3654
 
3655
  #. translators: %s: HTML tags
3656
+ #: settings.php:3391
3657
  msgid ""
3658
  "If you get error %s invalid client %s click on the button %s Clear and "
3659
  "return to Step 1 %s to re-enter Client ID and Client Secret."
3661
  "Če se pojavi napaka %s neveljaven klient %s, kliknite na gumb %s Odstrani in "
3662
  "se vrni na Korak 1 %s za ponoven vnos ID klienta in Skrivnost Klienta."
3663
 
3664
+ #: settings.php:3402
3665
  msgid "Get Authorization Code"
3666
  msgstr "Pridobi Avtoriazcijsko Kodo"
3667
 
3668
+ #: settings.php:3405
3669
  msgid "Enter Authorization Code"
3670
  msgstr "Vnesi Avorizacijsko Kodo"
3671
 
3672
+ #: settings.php:3415
3673
  msgid "Use own API IDs"
3674
  msgstr "Uporabi lastne API ID-je"
3675
 
3676
+ #: settings.php:3417
3677
  msgid "Clear and return to Step 1"
3678
  msgstr "Odstrani in se vrni na Korak 1"
3679
 
3680
+ #: settings.php:3421
3681
  msgid "Authorize"
3682
  msgstr "Avtoriziraj"
3683
 
3684
+ #: settings.php:3437
3685
  msgid "AdSense Integration - Step 1"
3686
  msgstr "Integracija AdSense - Korak 1"
3687
 
3688
  #. translators: %s: Ad Inserter
3689
+ #: settings.php:3441
3690
  msgid ""
3691
  "Here can %s list configured AdSense ad units and get code for AdSense ads. "
3692
  "To do this you need to authorize %s to access your AdSense account. The "
3699
  "Klienta in Skrivnost Klienta."
3700
 
3701
  #. translators: %s: HTML tags
3702
+ #: settings.php:3450
3703
  msgid "Go to %s Google APIs and Services console %s"
3704
  msgstr "Pojdite na %s konzolo Google API-ji in Storitve %s"
3705
 
3706
  #. translators: %1: Ad Inserter, 2, 3: HTML tags
3707
+ #: settings.php:3451
3708
  msgid ""
3709
  "Create %1$s project - if the project and IDs are already created click on "
3710
  "the %2$s Credentials %3$s in the sidebar and go to step 16"
3713
  "%2$s Pooblastila %3$s v stranski vrstici in pojdite na korak 16"
3714
 
3715
  #. translators: %s: HTML tags
3716
+ #: settings.php:3452
3717
  msgid ""
3718
  "Click on project selection and then click on the %s NEW PROJECT %s button to "
3719
  "create a new project"
3722
  "ustvaritev novega projekta"
3723
 
3724
  #. translators: 1: Ad Inserter, 2, 3: HTML tags
3725
+ #: settings.php:3453
3726
  msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
3727
  msgstr "Vnesite %1$s za ime projekta in kliknite na gumb %2$s Ustvari %3$s"
3728
 
3729
  #. translators: %s: HTML tags
3730
+ #: settings.php:3454
3731
  msgid ""
3732
  "Click on project selection, wait for the project to be created and then and "
3733
  "select %s as the current project"
3736
  "izberite %s kot trenutni projekt"
3737
 
3738
  #. translators: %s: HTML tags
3739
+ #: settings.php:3455
3740
  msgid "Click on %s ENABLE APIS AND SERVICES %s"
3741
  msgstr "Klinkite na %s OMOGOČI API-je IN STORITVE %s"
3742
 
3743
  #. translators: %s: HTML tags
3744
+ #: settings.php:3456
3745
  msgid "Search for adsense and enable %s"
3746
  msgstr "Poiščite adsense in omogočite %s"
3747
 
3748
  #. translators: %s: HTML tags
3749
+ #: settings.php:3457
3750
  msgid "Click on %s CREATE CREDENTIALS %s"
3751
  msgstr "Klinkite na %s USTVARI POOBLASTILA %s"
3752
 
3753
  #. translators: %s: HTML tags
3754
+ #: settings.php:3458
3755
  msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
3756
  msgstr "Za %s Od kod boste klicali API-je? %s izberite %s Drugi UI %s"
3757
 
3758
  #. translators: %s: HTML tags
3759
+ #: settings.php:3459
3760
  msgid "For %s What data will you be accessing? %s select %s User data %s"
3761
  msgstr ""
3762
  "Za %s Do katerih podatkov boste dostopali? %s izberite %s Uporabniški "
3763
  "podatki %s"
3764
 
3765
  #. translators: %s: HTML tags
3766
+ #: settings.php:3460
3767
  msgid "Click on %s What credentials do I need? %s"
3768
  msgstr "Kliknite na %s Kakšna pooblastila potrebujem? %s"
3769
 
3770
  #. translators: %s: HTML tags
3771
+ #: settings.php:3461
3772
  msgid ""
3773
  "Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
3774
  "Ad Inserter client %s"
3777
  "%s Ad Inserter klient %s"
3778
 
3779
  #. translators: %s: HTML tags
3780
+ #: settings.php:3462
3781
  msgid ""
3782
  "Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
3783
  "enter %s"
3786
  "uporabnikom %s vnesite %s"
3787
 
3788
  #. translators: %s: HTML tags
3789
+ #: settings.php:3463
3790
  msgid "Click on %s Continue %s"
3791
  msgstr "Kliknite na %s Nadaljuj %s"
3792
 
3793
  #. translators: %s: HTML tags
3794
+ #: settings.php:3464
3795
  msgid "Click on %s Done %s"
3796
  msgstr "Kliknite na %s Končaj %s"
3797
 
3798
  #. translators: %s: HTML tags
3799
+ #: settings.php:3465
3800
  msgid ""
3801
  "Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
3802
  "secret %s"
3804
  "Kliknite na %s Ad Inserter klient, %s da bi dobili %s ID klienta %s in %s "
3805
  "Skrivnost klienta %s"
3806
 
3807
+ #: settings.php:3466
3808
  msgid "Copy them to the appropriate fields below"
3809
  msgstr "Skopirajte ju na ustrezni polji spodaj"
3810
 
3811
+ #: settings.php:3472
3812
  msgid "Client ID"
3813
  msgstr "ID klienta"
3814
 
3815
+ #: settings.php:3475
3816
  msgid "Enter Client ID"
3817
  msgstr "Vnesite ID klienta"
3818
 
3819
+ #: settings.php:3480
3820
  msgid "Client secret"
3821
  msgstr "Skrivnost klienta"
3822
 
3823
+ #: settings.php:3483
3824
  msgid "Enter Client secret"
3825
  msgstr "Vnesite Skrivnost klienta"
3826
 
3827
+ #: settings.php:3493
3828
  msgid "Use default API IDs"
3829
  msgstr "Uporabi privzete API ID-je"
3830
 
3831
+ #: settings.php:3498
3832
  msgid "Save"
3833
  msgstr "Shrani"
3834
 
3835
+ #: settings.php:3660 settings.php:3673 settings.php:3686
3836
  msgid "Blank ad blocks? Looking for AdSense alternative?"
3837
  msgstr "Prazni oglasni bloki? Iščete alternativo za AdSense?"
3838
 
3839
+ #: settings.php:3665 settings.php:3678 settings.php:3691 settings.php:3863
3840
+ #: settings.php:3865 settings.php:3886 settings.php:3889
3841
  msgid "Looking for AdSense alternative?"
3842
  msgstr "Iščete alternativo za AdSense?"
3843
 
3844
+ #: settings.php:3701
3845
  msgid "Try Infolinks Ads with Adsense or Media.net ads"
3846
  msgstr "Poskusite oglase Infolinks z oglasi AdSense ali Media.net"
3847
 
3848
+ #: settings.php:3706 settings.php:3859 settings.php:3861 settings.php:3892
3849
+ #: settings.php:3895
3850
  msgid "Use Infolinks ads with Adsense to earn more"
3851
  msgstr "Uporabite oglase Infolinks z AdSense za večji zaslužek"
3852
 
3853
+ #: settings.php:3725 settings.php:3763
3854
  msgid "Support plugin development"
3855
  msgstr "Podprite razvoj vtičnika"
3856
 
3857
+ #: settings.php:3726 settings.php:3764
3858
  msgid ""
3859
  "If you like Ad Inserter and have a moment, please help me spread the word by "
3860
  "reviewing the plugin on WordPres"
3862
  "Če vam je Ad Inserter všeč in imate trenutek časa, mi prosim pomagajte "
3863
  "razširiti novico z oceno vtičnika na WordPress-u"
3864
 
3865
+ #: settings.php:3726
3866
  msgctxt "Review ad Inserter"
3867
  msgid "Review"
3868
  msgstr "Oceni"
3869
 
3870
+ #: settings.php:3727
3871
  msgid ""
3872
  "Support free Ad Inserter development. If you are making money with Ad "
3873
  "Inserter consider donating some small amount. Even 1 dollar counts. Thank "
3876
  "Podprite razvoj brezplačnega Ad Inserter-ja. Če služite denar z Ad Inserter-"
3877
  "jem razmislite o donaciji manjšega zneska. Tudi 1 evro šteje. Hvala!"
3878
 
3879
+ #: settings.php:3727
3880
  msgid "Donate"
3881
  msgstr "Donirajte"
3882
 
3883
+ #: settings.php:3734 settings.php:3779
3884
  msgid "Average rating of the plugin - Thank you!"
3885
  msgstr "Povprečna ocena vtičnika - Hvala!"
3886
 
3887
  #. translators: %s: Ad Inserter, HTML tags
3888
+ #: settings.php:3745
3889
  msgid ""
3890
  "You've been using %s for a while now, and I hope you're happy with it. "
3891
  "Positive %s reviews %s are a great way to show your appreciation for my "
3899
  "vzpodbuda za odpravo hroščev in dodajanje novih funkcij za boljšo "
3900
  "monetizacijo vašega spletnega mesta. %s Hvala!"
3901
 
3902
+ #: settings.php:3764
3903
  msgid "Review"
3904
  msgstr "Ocena"
3905
 
3906
+ #: settings.php:3768
3907
  msgid "Ad Inserter on Twitter"
3908
  msgstr "Ad Inserter na Twitter-ju"
3909
 
3910
+ #: settings.php:3769
3911
  msgid "Ad Inserter on Facebook"
3912
  msgstr "Ad Inserter na Facebook-u"
3913
 
3914
+ #: settings.php:3772
3915
  msgid "Follow Ad Inserter"
3916
  msgstr "Sledi Ad Inserter-ju"
3917
 
3918
  #. translators: %s: HTML tags
3919
+ #: settings.php:3799
3920
  msgid ""
3921
  "Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
3922
  "and %s Common Settings %s pages"
3925
  "Urejanje Kode, %s %s Pogoste Nastavitve %s"
3926
 
3927
  #. translators: %s: HTML tags
3928
+ #: settings.php:3811
3929
  msgid ""
3930
  "%s New to %s AdSense? %s %s %s Connect your site %s - Advanced %s AdSense "
3931
  "code: %s %s In-feed ads, %s %s Auto ads, %s %s AMP ads %s"
3935
  "%s"
3936
 
3937
  #. translators: %s: HTML tags
3938
+ #: settings.php:3830
3939
  msgid ""
3940
  "Ads are not showing? Check %s troubleshooting guide %s to find out how to "
3941
  "diagnose and fix the problem."
3944
  "navodili za diagnozo in rešitvami za težave."
3945
 
3946
  #. translators: %s: HTML tags
3947
+ #: settings.php:3834
3948
  msgid ""
3949
  "If you need any kind of help or support, please do not hesitate to open a "
3950
  "thread on the %s support forum. %s"
3952
  "Če potrebujete kakršno koli pomoč ali podporo ne oklevajte in odprite novo "
3953
  "nit na %s podpornem forumu. %s"
3954
 
3955
+ #: settings.php:3874 settings.php:3909
3956
  msgid "A/B testing - Track ad impressions and clicks"
3957
  msgstr "A/B testiranje - Sledi prikazom in klikom"
3958
 
3959
+ #: settings.php:3879 settings.php:3904
3960
  msgid "Code preview with visual CSS editor"
3961
  msgstr "Predogled kode z vizualnim CSS urejevalnikom"
3962
 
3963
+ #: settings.php:3915
3964
  msgid "Looking for Pro Ad Management plugin?"
3965
  msgstr "Iščete Pro vtičnik za Upravljanje z Oglasi?"
3966
 
3967
+ #: settings.php:3916
3968
  msgid "To Optimally Monetize your WordPress website?"
3969
  msgstr "Za optimalno monetizacijo vašega WordPress spletnega mesta?"
3970
 
3971
  #. translators: %s HTML tags
3972
+ #: settings.php:3919
3973
  msgid "64 ad blocks (positions)"
3974
  msgstr "64 oglasnih blokov (položajev)"
3975
 
3976
  #. translators: %s HTML tags
3977
+ #: settings.php:3920
3978
  msgid "%s AdSense Integration %s"
3979
  msgstr "%s Integracija AdSense %s"
3980
 
3981
  #. translators: %s HTML tags
3982
+ #: settings.php:3921
3983
  msgid "Syntax highlighting %s editor %s"
3984
  msgstr "%s Urejevalnik %s s poudarjanjem sintakse"
3985
 
3986
  #. translators: %s HTML tags
3987
+ #: settings.php:3922
3988
  msgid "%s Code preview %s with visual CSS editor"
3989
  msgstr "%s Predogled kode %s z vizualnim CSS urejevalnikom"
3990
 
3991
  #. translators: %s HTML tags
3992
+ #: settings.php:3923
3993
  msgid "Simple user interface - all settings on a single page"
3994
  msgstr "Preprost uporabniški vmesnik - vse nastavitve na eni strani"
3995
 
3996
  #. translators: %s HTML tags
3997
+ #: settings.php:3924
3998
  msgid ""
3999
  "%s Automatic insertion %s before or after post / content / %s paragraph %s / "
4000
  "excerpt"
4003
  "%s / izvlečkom"
4004
 
4005
  #. translators: %s HTML tags
4006
+ #: settings.php:3925
4007
  msgid "%s Automatic insertion %s between posts on blog pages"
4008
  msgstr "%s Samodejno vstavljanje %s med prispevki na straneh bloga"
4009
 
4010
  #. translators: %s HTML tags
4011
+ #: settings.php:3926
4012
  msgid "%s Automatic insertion %s before, between and after comments"
4013
  msgstr "%s Samodejno vstavljanje %s pred, med in po kometarjih"
4014
 
4015
  #. translators: %s HTML tags
4016
+ #: settings.php:3927
4017
  msgid "%s Automatic insertion %s after %s or before %s tag"
4018
  msgstr "%s Samodejno vstavljanje %s za %s ali pred %s začko"
4019
 
4020
  #. translators: %s HTML tags
4021
+ #: settings.php:3928
4022
  msgid "Automatic insertion at %s custom hook positions %s"
4023
  msgstr "Samodejno vstavljanje na %s položajih ročic po meri %s"
4024
 
4025
  #. translators: %s HTML tags
4026
+ #: settings.php:3929
4027
  msgid ""
4028
  "Insertion %s before or after any HTML element on the page %s (using CSS "
4029
  "selectors)"
4032
  "selektorjev)"
4033
 
4034
  #. translators: %s HTML tags
4035
+ #: settings.php:3930
4036
  msgid "%s Insertion exceptions %s for individual posts and pages"
4037
  msgstr "%s Izjeme vstavljanja %s za individualne prispevke in strani"
4038
 
4039
  #. translators: %s HTML tags
4040
+ #: settings.php:3931
4041
  msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
4042
  msgstr "%s Ročno vstavljanje: %s gradniki, kratke kode in klic PHP funkcije"
4043
 
4044
  #. translators: %s HTML tags
4045
+ #: settings.php:3932
4046
  msgid ""
4047
  "%s Sticky ads %s with optional close button (ads stay fixed when the page "
4048
  "scrolls)"
4051
  "se stran pomika)"
4052
 
4053
  #. translators: %s HTML tags
4054
+ #: settings.php:3933
4055
  msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
4056
  msgstr ""
4057
  "%s Lepljivi oglasi v stranski vrstici %s (lepljivi na zaslon ali vsebino)"
4058
 
4059
  #. translators: %s HTML tags
4060
+ #: settings.php:3934
4061
  msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
4062
  msgstr ""
4063
  "%s Animacije lepljivih oglasov %s (uveni, drsaj, obrni, prekucni, približaj)"
4064
 
4065
  #. translators: %s HTML tags
4066
+ #: settings.php:3935
4067
  msgid ""
4068
  "%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
4069
  "visible)"
4072
  "postane viden)"
4073
 
4074
  #. translators: %s HTML tags
4075
+ #: settings.php:3936
4076
  msgid ""
4077
  "%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
4078
  msgstr ""
4080
  "strani)"
4081
 
4082
  #. translators: %s HTML tags
4083
+ #: settings.php:3937
4084
  msgid "Block %s alignment and style %s customizations"
4085
  msgstr "%s Poravnave in slogi %s bloka po meri"
4086
 
4087
  #. translators: %s HTML tags
4088
+ #: settings.php:3938
4089
  msgid ""
4090
  "%s Clearance %s options to avoid insertion near images or headers (AdSense "
4091
  "TOS)"
4093
  "%s Izogibanje %s vstavljanja oglasov zraven slik ali naslovov (AdSense TOS)"
4094
 
4095
  #. translators: %s HTML tags
4096
+ #: settings.php:3939
4097
  msgid ""
4098
  "Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
4099
  "feeds"
4102
  "virih"
4103
 
4104
  #. translators: %s HTML tags
4105
+ #: settings.php:3940
4106
  msgid "%s Ad rotation %s (works also with caching)"
4107
  msgstr "%s Rotacija oglasov %s (deluje tudi s predpomnjenjem)"
4108
 
4109
  #. translators: %s HTML tags
4110
+ #: settings.php:3941
4111
  msgid ""
4112
  "Ad impression and click %s tracking %s (works also with Javascript ads like "
4113
  "AdSense)"
4116
  "AdSense)"
4117
 
4118
  #. translators: %s HTML tags
4119
+ #: settings.php:3942
4120
  msgid "Support for %s A/B testing %s"
4121
  msgstr "Podpora za %s A/B testiranje %s"
4122
 
4123
  #. translators: %s HTML tags
4124
+ #: settings.php:3943
4125
  msgid "Support for %s lazy loading %s"
4126
  msgstr "Podpora za %s leno nalaganje %s"
4127
 
4128
  #. translators: %s HTML tags
4129
+ #: settings.php:3944
4130
  msgid "Support for ads on %s AMP pages %s"
4131
  msgstr "Podpora za oglase na %s AMP straneh %s"
4132
 
4133
  #. translators: %s HTML tags
4134
+ #: settings.php:3945
4135
  msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
4136
  msgstr "Podpora za kontekstualne %s Amazon Native Shopping Ads %s (odzivni)"
4137
 
4138
  #. translators: %s HTML tags
4139
+ #: settings.php:3946
4140
  msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
4141
  msgstr ""
4142
  "Ime CSS razreda za div za ovijanje po meri za izogibanje blokiranju oglasov"
4143
 
4144
  #. translators: %s HTML tags
4145
+ #: settings.php:3947
4146
  msgid "PHP code processing"
4147
  msgstr "Procesiranje PHP kode"
4148
 
4149
  #. translators: %s HTML tags
4150
+ #: settings.php:3948
4151
  msgid "%s Banner %s code generator"
4152
  msgstr "Generator kode za %s pasice %s"
4153
 
4154
  #. translators: %s HTML tags
4155
+ #: settings.php:3949
4156
  msgid "Support for %s header and footer %s code"
4157
  msgstr "Podpora za kodo v %s glavi in nogi %s"
4158
 
4159
  #. translators: %s HTML tags
4160
+ #: settings.php:3950
4161
  msgid "Support for Google Analytics, Matomo or any other web analytics code"
4162
  msgstr ""
4163
  "Podpora za Google Analytics, Matomo ali katerokoli drugo spletno analitiko"
4164
 
4165
  #. translators: %s HTML tags
4166
+ #: settings.php:3951
4167
  msgid "Desktop, tablet and phone server-side %s device detection %s"
4168
  msgstr ""
4169
  "%s Zaznava namizne, tablične in telefonske naprave %s na strani strani "
4170
  "strežnika"
4171
 
4172
  #. translators: %s HTML tags
4173
+ #: settings.php:3952
4174
  msgid ""
4175
  "Client-side %s mobile device detection %s (works with caching, 6 custom "
4176
  "viewports)"
4178
  "%s Zaznava mobilne naprave %s (deluje s predpomnjenjem, 6 pogledov po meri)"
4179
 
4180
  #. translators: %s HTML tags
4181
+ #: settings.php:3953
4182
  msgid ""
4183
  "%s Ad blocking detection %s - popup message, ad replacement, content "
4184
  "protection"
4187
  "vsebine"
4188
 
4189
  #. translators: %s HTML tags
4190
+ #: settings.php:3954
4191
  msgid "%s Ad blocking statistics %s"
4192
  msgstr "%s Statistika blokiranja oglasov %s"
4193
 
4194
  #. translators: %s HTML tags
4195
+ #: settings.php:3955
4196
  msgid ""
4197
  "%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
4198
  "referers"
4200
  "%s Črni/Beli seznam %s kategorij, oznak, taksonomij, uporabnikov, url-jev"
4201
 
4202
  #. translators: %s HTML tags
4203
+ #: settings.php:3956
4204
  msgid ""
4205
  "%s Black/White-list %s IP addresses or countries (works also with caching)"
4206
  msgstr ""
4207
  "%s Črni/Beli seznam %s IP naslovov ali držav (deluje tudi s predpomnjenjem)"
4208
 
4209
  #. translators: %s HTML tags
4210
+ #: settings.php:3957
4211
  msgid "%s Multisite options %s to limit settings on the sites"
4212
  msgstr "%s Multisite možnosti %s za omejitev nastavitev na spletiščih"
4213
 
4214
  #. translators: %s HTML tags
4215
+ #: settings.php:3958
4216
  msgid "%s Import/Export %s block or plugin settings"
4217
  msgstr "%s Uvoz/Izvoz %s nastavitve bloka ali vtičnika"
4218
 
4219
  #. translators: %s HTML tags
4220
+ #: settings.php:3959
4221
  msgid "%s Insertion scheduling %s with fallback option"
4222
  msgstr "%s Urnik vstavljanja %s z možnostjo rezerve"
4223
 
4224
  #. translators: %s HTML tags
4225
+ #: settings.php:3960
4226
  msgid "Country-level %s GEO targeting %s (works also with caching)"
4227
  msgstr "%s GEO ciljanje na ravni države %s (deluje tudi s predpomnjenjem)"
4228
 
4229
  #. translators: %s HTML tags
4230
+ #: settings.php:3961
4231
  msgid "Simple troubleshooting with many %s debugging functions %s"
4232
  msgstr ""
4233
  "Preprosto odpravljanje napak z veliko %s funkcijami za razhroščevanje %s"
4234
 
4235
  #. translators: %s HTML tags
4236
+ #: settings.php:3962
4237
  msgid "%s Visualization %s of inserted blocks or ads for easier placement"
4238
  msgstr ""
4239
  "%s Vizualizacija %s vstavljenih blokov ali oglasov za enostavno umeščanje"
4240
 
4241
  #. translators: %s HTML tags
4242
+ #: settings.php:3963
4243
  msgid "%s Visualization %s of available positions for automatic ad insertion"
4244
  msgstr ""
4245
  "%s Vizualizacija %s razpoložljivih položajev za samodejno vstavljanje oglasov"
4246
 
4247
  #. translators: %s HTML tags
4248
+ #: settings.php:3964
4249
  msgid ""
4250
  "%s Visualization %s of HTML tags for easier ad placement between paragraphs"
4251
  msgstr ""
4252
  "%s Vizualizacija %s HTML značk za enostavno vstavljanje oglasov med odstavki"
4253
 
4254
  #. translators: %s HTML tags
4255
+ #: settings.php:3965
4256
  msgid "%s Clipboard support %s to easily copy blocks or settings"
4257
  msgstr ""
4258
  "%s Podpora za odložišče %s za enostavno kopiranje blokov ali nastavitev"
4259
 
4260
  #. translators: %s HTML tags
4261
+ #: settings.php:3966
4262
  msgid "No ads on the settings page"
4263
  msgstr "Stran z nastavitvami brez oglasov"
4264
 
4265
  #. translators: %s HTML tags
4266
+ #: settings.php:3967 settings.php:3990
4267
  msgid "Support via email"
4268
  msgstr "Podpora prek elektronske pošte"
4269
 
4270
  #. translators: %s HTML tags
4271
+ #: settings.php:3970
4272
  msgid ""
4273
  "Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
4274
  "website with many advertising features to automatically insert adverts on "
4295
  "(obstoječe nastavitve se bodo ohranile)."
4296
 
4297
  #. translators: %s HTML tags
4298
+ #: settings.php:3983
4299
  msgid "Looking for %s Pro Ad Management plugin? %s"
4300
  msgstr "Iščete Pro vtičnik za %s Upravljanje z Oglasi? %s"
4301
 
4302
  #. translators: %s HTML tags
4303
+ #: settings.php:3988
4304
  msgid "Ads between posts"
4305
  msgstr "Oglasi med prispevki"
4306
 
4307
  #. translators: %s HTML tags
4308
+ #: settings.php:3989
4309
  msgid "Ads between comments"
4310
  msgstr "Oglasi med komentarji"
4311
 
4312
  #. translators: %s HTML tags
4313
+ #: settings.php:3996
4314
  msgid "%s Sticky positions %s"
4315
  msgstr "%s Lepljivi položaji %s"
4316
 
4317
  #. translators: %s HTML tags
4318
+ #: settings.php:3997
4319
  msgid "%s Limit insertions %s"
4320
  msgstr "%s Omeji vstavljanja %s"
4321
 
4322
  #. translators: %s HTML tags
4323
+ #: settings.php:3998
4324
  msgid "%s Clearance %s options"
4325
  msgstr "Možnosti %s izogibanja %s"
4326
 
4327
  #. translators: %s HTML tags
4328
+ #: settings.php:4004
4329
  msgid "Ad rotation"
4330
  msgstr "Vrtenje oglasov"
4331
 
4332
  #. translators: %s HTML tags
4333
+ #: settings.php:4005
4334
  msgid "%s A/B testing %s"
4335
  msgstr "%s A/B testiranje %s"
4336
 
4337
  #. translators: %s HTML tags
4338
+ #: settings.php:4006
4339
  msgid "%s Ad tracking %s"
4340
  msgstr "%s Sledenje oglasom %s"
4341
 
4342
  #. translators: %s HTML tags
4343
+ #: settings.php:4012
4344
  msgid "Support for %s AMP pages %s"
4345
  msgstr "Podpora za %s AMP strani %s"
4346
 
4347
  #. translators: %s HTML tags
4348
+ #: settings.php:4013
4349
  msgid "%s Ad blocking detection %s"
4350
  msgstr "%s Zaznavanje blokiranja oglasov %s"
4351
 
4352
  #. translators: %s HTML tags
4353
+ #: settings.php:4014
4354
  msgid "%s Mobile device detection %s"
4355
  msgstr "%s Zaznavanje mobilne naprave %s"
4356
 
4357
  #. translators: %s HTML tags
4358
+ #: settings.php:4021
4359
  msgid "64 code blocks"
4360
  msgstr "64 kodnih blokov"
4361
 
4362
  #. translators: %s HTML tags
4363
+ #: settings.php:4022
4364
  msgid "%s GEO targeting %s"
4365
  msgstr "%s GEO ciljanje %s"
4366
 
4367
  #. translators: %s HTML tags
4368
+ #: settings.php:4023
4369
  msgid "%s Scheduling %s"
4370
  msgstr "%s Urnik %s"
4371
 
4465
  msgid "Inside HTML element"
4466
  msgstr "V HTML element"
4467
 
4468
+ #: strings.php:34
4469
+ msgid "Before image"
4470
+ msgstr "Pred sliko"
4471
+
4472
  #: strings.php:35
4473
+ msgid "After image"
4474
+ msgstr "Za sliko"
4475
+
4476
+ #: strings.php:37
4477
  msgid "do not insert"
4478
  msgstr "ne vstavi"
4479
 
4480
+ #: strings.php:38
4481
  msgid "try to shift position"
4482
  msgstr "poskusi premakniti položaj"
4483
 
4484
+ #: strings.php:40
4485
  msgid "above"
4486
  msgstr "zgoraj"
4487
 
4488
+ #: strings.php:41
4489
  msgid "below"
4490
  msgstr "spodaj"
4491
 
4492
+ #: strings.php:42
4493
  msgid "above and then below"
4494
  msgstr "zgoraj in potem spodaj"
4495
 
4496
+ #: strings.php:43
4497
  msgid "below and then above"
4498
  msgstr "spodaj in potem zgoraj"
4499
 
4500
+ #: strings.php:45
4501
  msgid "from top"
4502
  msgstr "od zgoraj"
4503
 
4504
+ #: strings.php:46
4505
  msgid "from bottom"
4506
  msgstr "od spodaj"
4507
 
4508
+ #: strings.php:48
4509
  msgctxt "paragraphs"
4510
  msgid "contain"
4511
  msgstr "vsebujejo"
4512
 
4513
+ #: strings.php:49
4514
  msgctxt "paragraphs"
4515
  msgid "do not contain"
4516
  msgstr "ne vsebujejo"
4517
 
4518
+ #: strings.php:51
4519
  msgctxt "insert for"
4520
  msgid "all users"
4521
  msgstr "vse uporabnike"
4522
 
4523
+ #: strings.php:52
4524
  msgctxt "insert for"
4525
  msgid "logged in users"
4526
  msgstr "prijavljene uporabnike"
4527
 
4528
+ #: strings.php:53
4529
  msgctxt "insert for"
4530
  msgid "not logged in users"
4531
  msgstr "neprijavljene uporabnike"
4532
 
4533
+ #: strings.php:54
4534
  msgctxt "insert for"
4535
  msgid "administrators"
4536
  msgstr "skrbnike"
4537
 
4538
+ #: strings.php:56
4539
  msgid "Black list"
4540
  msgstr "Črni seznam"
4541
 
4542
+ #: strings.php:57
4543
  msgid "White list"
4544
  msgstr "Beli seznam"
4545
 
4546
+ #: strings.php:59
4547
  msgctxt "alignment"
4548
  msgid "Default"
4549
  msgstr "Privzeta"
4550
 
4551
+ #: strings.php:60
4552
  msgid "Align left"
4553
  msgstr "Leva poravnava"
4554
 
4555
+ #: strings.php:61
4556
  msgid "Align right"
4557
  msgstr "Desna poravnava"
4558
 
4559
+ #: strings.php:62
4560
  msgid "Center"
4561
  msgstr "Sredinska poravnava"
4562
 
4563
+ #: strings.php:63
4564
  msgid "Float left"
4565
  msgstr "Plavajoče levo"
4566
 
4567
+ #: strings.php:64
4568
  msgid "Float right"
4569
  msgstr "Plavajoče desno"
4570
 
4571
+ #: strings.php:65
4572
  msgid "No wrapping"
4573
  msgstr "Brez ovijanja"
4574
 
4575
+ #: strings.php:66
4576
  msgid "Custom CSS"
4577
  msgstr "CSS po meri"
4578
 
4579
+ #: strings.php:67
4580
  msgid "Sticky left"
4581
  msgstr "Lepljiv levo"
4582
 
4583
+ #: strings.php:68
4584
  msgid "Sticky right"
4585
  msgstr "Lepljiv desno"
4586
 
4587
+ #: strings.php:69
4588
  msgid "Sticky top"
4589
  msgstr "Lepljiv zgoraj"
4590
 
4591
+ #: strings.php:70
4592
  msgid "Sticky bottom"
4593
  msgstr "Lepljiv spodaj"
4594
 
4595
+ #: strings.php:71
4596
  msgctxt "alignment"
4597
  msgid "Sticky"
4598
  msgstr "Lepljiva"
4599
 
4600
+ #: strings.php:73
4601
  msgctxt "using"
4602
  msgid "auto counter"
4603
  msgstr "samodejnega števca"
4604
 
4605
+ #: strings.php:74
4606
  msgctxt "using"
4607
  msgid "PHP function calls counter"
4608
  msgstr "števca klicev PHP funkcije"
4609
 
4610
+ #: strings.php:75
4611
  msgctxt "using"
4612
  msgid "content processing counter"
4613
  msgstr "števca procesiranja vsebine"
4614
 
4615
+ #: strings.php:76
4616
  msgctxt "using"
4617
  msgid "excerpt processing counter"
4618
  msgstr "števca procesiranja izvlečkov"
4619
 
4620
+ #: strings.php:77
4621
  msgctxt "using"
4622
  msgid "before post processing counter"
4623
  msgstr "števca pred prispevkom"
4624
 
4625
+ #: strings.php:78
4626
  msgctxt "using"
4627
  msgid "after post processing counter"
4628
  msgstr "števca za prispevkom"
4629
 
4630
+ #: strings.php:79
4631
  msgctxt "using"
4632
  msgid "widget drawing counter"
4633
  msgstr "števca risanja gradnikov"
4634
 
4635
+ #: strings.php:80
4636
  msgctxt "using"
4637
  msgid "subpages counter"
4638
  msgstr "števca podstrani"
4639
 
4640
+ #: strings.php:81
4641
  msgctxt "using"
4642
  msgid "posts counter"
4643
  msgstr "števca prispevkov"
4644
 
4645
+ #: strings.php:82
4646
  msgctxt "using"
4647
  msgid "paragraphs counter"
4648
  msgstr "števca odstavkov"
4649
 
4650
+ #: strings.php:83
4651
  msgctxt "using"
4652
  msgid "comments counter"
4653
  msgstr "števca komentarjev"
4654
 
4655
+ #: strings.php:84
4656
+ msgctxt "using"
4657
+ msgid "images counter"
4658
+ msgstr "števca slik"
4659
+
4660
+ #: strings.php:86
4661
  msgctxt "posts"
4662
  msgid "Individually disabled"
4663
  msgstr "Posamezno onemogočeni"
4664
 
4665
+ #: strings.php:87
4666
  msgctxt "posts"
4667
  msgid "Individually enabled"
4668
  msgstr "Posamezno omogočeni"
4669
 
4670
+ #: strings.php:88
4671
  msgctxt "static pages"
4672
  msgid "Individually disabled"
4673
  msgstr "Posamezno onemogočene"
4674
 
4675
+ #: strings.php:89
4676
  msgctxt "static pages"
4677
  msgid "Individually enabled"
4678
  msgstr "Posamezno omogočene"
4679
 
4680
+ #: strings.php:91
4681
  msgid "Server-side"
4682
  msgstr "Na strani strežnika"
4683
 
4684
+ #: strings.php:92
4685
  msgctxt "Insertion"
4686
  msgid "Client-side"
4687
  msgstr "Na strani klienta"
4688
 
4689
+ #: strings.php:93
4690
  msgctxt "Dynamic blocks"
4691
  msgid "Client-side show"
4692
  msgstr "Prikaži na strani klienta"
4693
 
4694
+ #: strings.php:94
4695
  msgctxt "Dynamic blocks"
4696
  msgid "Client-side insert"
4697
  msgstr "Vstavi na strani klienta"
4698
 
4699
+ #: strings.php:95
4700
  msgctxt "Insertion"
4701
  msgid "Server-side using W3 Total Cache"
4702
  msgstr "Na strani strežnika z uporabo W3 Total Cache"
4703
 
4704
+ #: strings.php:96
4705
  msgctxt "Insertion"
4706
  msgid "Client-side when DOM ready"
4707
  msgstr "Na strani klienta, ko je DOM pripravljen"
4708
 
4709
+ #: strings.php:101
4710
  msgid "Replace element"
4711
  msgstr "Nadomesti element"
4712
 
4713
+ #: strings.php:103
4714
  msgid "desktop devices"
4715
  msgstr "namizne naprave"
4716
 
4717
+ #: strings.php:104
4718
  msgid "mobile devices"
4719
  msgstr "mobilne naprave"
4720
 
4721
+ #: strings.php:105
4722
  msgid "tablet devices"
4723
  msgstr "tablične naprave"
4724
 
4725
+ #: strings.php:106
4726
  msgid "phone devices"
4727
  msgstr "telefonske naprave"
4728
 
4729
+ #: strings.php:107
4730
  msgid "desktop and tablet devices"
4731
  msgstr "namizne in telefonske naprave"
4732
 
4733
+ #: strings.php:108
4734
  msgid "desktop and phone devices"
4735
  msgstr "tablične in telefonske naprave"
4736
 
4737
+ #: strings.php:110
4738
  msgid "Stick to the left"
4739
  msgstr "Lepljiv na levi"
4740
 
4741
+ #: strings.php:111
4742
  msgid "Stick to the content left"
4743
  msgstr "Lepljiv na vsebino levo"
4744
 
4745
+ #: strings.php:112
4746
  msgid "Stick to the content right"
4747
  msgstr "Lepljiv na vsebino desno"
4748
 
4749
+ #: strings.php:113
4750
  msgid "Stick to the right"
4751
  msgstr "Lepljiv na desni"
4752
 
4753
+ #: strings.php:115
4754
  msgid "Stick to the top"
4755
  msgstr "Lepljiv na vrh"
4756
 
4757
+ #: strings.php:116
4758
  msgid "Scroll with the content"
4759
  msgstr "Pomikaj z vsebino"
4760
 
4761
+ #: strings.php:117
4762
  msgid "Stick to the bottom"
4763
  msgstr "Lepljiv na dno"
4764
 
4765
+ #: strings.php:119
4766
  msgid "Fade"
4767
  msgstr "Uveni"
4768
 
4769
+ #: strings.php:120
4770
  msgid "Slide"
4771
  msgstr "Drsaj"
4772
 
4773
+ #: strings.php:121
4774
  msgid "Slide and Fade"
4775
  msgstr "Drsaj in Uveni"
4776
 
4777
+ #: strings.php:122
4778
  msgid "Flip"
4779
  msgstr "Zavrti"
4780
 
4781
+ #: strings.php:123
4782
  msgid "Zoom In"
4783
  msgstr "Približaj"
4784
 
4785
+ #: strings.php:124
4786
  msgid "Zoom Out"
4787
  msgstr "Oddalji"
4788
 
4789
+ #: strings.php:125
4790
  msgid "Turn"
4791
  msgstr "Obrni"
4792
 
4793
+ #: strings.php:127
4794
  msgid "Page loaded"
4795
  msgstr "Stran naložena"
4796
 
4797
+ #: strings.php:128
4798
  msgid "Page scrolled (%)"
4799
  msgstr "Stran pomaknjena (%)"
4800
 
4801
+ #: strings.php:129
4802
  msgid "Page scrolled (px)"
4803
  msgstr "Stran pomaknjena (px)"
4804
 
4805
+ #: strings.php:130
4806
  msgid "Element visible"
4807
  msgstr "Element viden"
4808
 
4809
+ #: strings.php:132
4810
  msgid "Insert immediately"
4811
  msgstr "Vstavi takoj"
4812
 
4813
+ #: strings.php:133
4814
  msgid "Delay insertion"
4815
  msgstr "Zakasni vstavljanje"
4816
 
4817
+ #: strings.php:134
4818
  msgid "Insert between dates"
4819
  msgstr "Vstavi med datumoma"
4820
 
4821
+ #: strings.php:135
4822
  msgid "Insert outside dates"
4823
  msgstr "Vstavi izven datumov"
4824
 
4825
+ #: strings.php:136
4826
  msgid "Insert only"
4827
  msgstr "Vstavi samo"
4828
 
4829
+ #: strings.php:137
4830
  msgid "Insert for posts published between dates"
4831
  msgstr "Vstavi samo za prispevke objavljene med datumoma"
4832
 
4833
+ #: strings.php:138
4834
  msgid "Insert for posts published outside dates"
4835
  msgstr "Vstavi samo za prispevke objavljene izven datumov"
4836
 
4837
+ #: strings.php:140
4838
  msgctxt "functions"
4839
  msgid "Standard"
4840
  msgstr "Običajne"
4841
 
4842
+ #: strings.php:141
4843
  msgctxt "detection"
4844
  msgid "Standard"
4845
  msgstr "Običajno"
4846
 
4847
+ #: strings.php:142
4848
  msgctxt "functions"
4849
  msgid "Multibyte"
4850
  msgstr "Večznakovne"
4851
 
4852
+ #: strings.php:144
4853
  msgctxt "action"
4854
  msgid "None"
4855
  msgstr "Nobena"
4856
 
4857
+ #: strings.php:145
4858
  msgctxt "button"
4859
  msgid "None"
4860
  msgstr "Noben"
4861
 
4862
+ #: strings.php:146
4863
  msgid "Popup Message"
4864
  msgstr "Pojavno Sporočilo"
4865
 
4866
+ #: strings.php:147
4867
  msgid "Redirection"
4868
  msgstr "Preusmeritev"
4869
 
4870
+ #: strings.php:149
4871
  msgid "Do nothnig"
4872
  msgstr "Ne naredi ničesar"
4873
 
4874
+ #: strings.php:151
4875
  msgctxt "Action when ad blocking detected"
4876
  msgid "Show"
4877
  msgstr "Pokaži"
4878
 
4879
+ #: strings.php:152
4880
  msgctxt "Action when ad blocking detected"
4881
  msgid "Hide"
4882
  msgstr "Skrij"
4883
 
4884
+ #: strings.php:154
4885
  msgctxt "tracking"
4886
  msgid "Internal"
4887
  msgstr "Interno"
4888
 
4889
+ #: strings.php:155
4890
  msgctxt "detection"
4891
  msgid "Advanced"
4892
  msgstr "Napredno"
4893
 
4894
+ #: strings.php:158
4895
  msgid "Top right"
4896
  msgstr "Zgoraj desno"
4897
 
4898
+ #: strings.php:159
4899
  msgid "Top left"
4900
  msgstr "Zgoraj levo"
4901
 
4902
+ #: strings.php:160
4903
  msgid "Bottom right"
4904
  msgstr "Spodaj desno"
4905
 
4906
+ #: strings.php:161
4907
  msgid "Bottom left"
4908
  msgstr "Spodaj levo"
4909
 
4910
+ #: strings.php:163
4911
  msgctxt "AdSense Ad Type"
4912
  msgid "Standard"
4913
  msgstr "Običajni"
4914
 
4915
+ #: strings.php:164
4916
  msgctxt "AdSense Ad Type"
4917
  msgid "Link"
4918
  msgstr "Povezave"
4919
 
4920
+ #: strings.php:165
4921
  msgctxt "AdSense Ad Type"
4922
  msgid "In-article"
4923
  msgstr "V članku"
4924
 
4925
+ #: strings.php:166
4926
  msgctxt "AdSense Ad Type"
4927
  msgid "In-feed"
4928
  msgstr "V viru"
4929
 
4930
+ #: strings.php:167
4931
  msgctxt "AdSense Ad Type"
4932
  msgid "Matched content"
4933
  msgstr "Prilagojena vsebina"
4934
 
4935
+ #: strings.php:168
4936
  msgctxt "AdSense Ad Type"
4937
  msgid "Auto Ads"
4938
  msgstr "Samodejni"
4939
 
4940
+ #: strings.php:170
4941
  msgctxt "AMP ad"
4942
  msgid "Disabled"
4943
  msgstr "Onemogočen"
4944
 
4945
+ #: strings.php:171
4946
  msgid "Above the fold"
4947
  msgstr "Nad pregibom"
4948
 
4949
+ #: strings.php:172
4950
  msgid "Below the fold"
4951
  msgstr "Pod pregibom"
4952
 
4953
+ #: strings.php:174
4954
  msgctxt "size"
4955
  msgid "Fixed"
4956
  msgstr "Fiksna"
4957
 
4958
+ #: strings.php:175
4959
  msgctxt "size"
4960
  msgid "Responsive"
4961
  msgstr "Odzivna"
4962
 
4963
+ #: strings.php:176
4964
  msgctxt "size"
4965
  msgid "Fixed by viewport"
4966
  msgstr "Fiksna glede na pogled"
4967
 
4968
+ #: strings.php:181
4969
  msgctxt "Button"
4970
  msgid "Hide"
4971
  msgstr "Skrij"
4972
 
4973
+ #: strings.php:183
4974
  msgid "Insertion expired"
4975
  msgstr "Vstavljanje poteklo"
4976
 
4977
+ #: strings.php:184
4978
  msgid "Duration"
4979
  msgstr "Trajanje"
4980
 
4981
+ #: strings.php:185
4982
  msgid "Invalid end date - must be after start date"
4983
  msgstr "Neveljaven končni datum - mora biti za začetnim datumom"
4984
 
4985
+ #: strings.php:186
4986
  msgid "Invalid start date - only data for 1 year back is available"
4987
  msgstr "Neveljaven začetni datum - na voljo so samo pdatki za 1 leto nataj"
4988
 
4989
+ #: strings.php:187
4990
  msgid "Invalid date range - only data for 1 year can be displayed"
4991
  msgstr ""
4992
  "Neveljavno časovno oddobje - prikažejo se lahko samo podatki za 1 leto nazaj"
4993
 
4994
+ #: strings.php:188 strings.php:189 strings.php:190 strings.php:191
4995
+ #: strings.php:192 strings.php:193
4996
  msgid "day"
4997
  msgid_plural "days"
4998
  msgstr[0] "dan"
5000
  msgstr[2] "dni"
5001
  msgstr[3] "dni"
5002
 
5003
+ #: strings.php:194
5004
  msgid "Warning"
5005
  msgstr "Opozorilo"
5006
 
5007
+ #: strings.php:195
5008
  msgid "Delete"
5009
  msgstr "Pobriši"
5010
 
5011
+ #: strings.php:197
5012
  msgid "Delete all statistics data?"
5013
  msgstr "Pobrišem vse podatke o statistiki?"
5014
 
5015
  #. translators: %s: dates
5016
+ #: strings.php:199
5017
  msgid "Delete statistics data between %s and %s?"
5018
  msgstr "Pobrišem podatke o statistiki med %s in %s?"
5019
 
5020
+ #: strings.php:200
5021
  msgid "Cancel block order rearrangement"
5022
  msgstr "Prekliči preureditev vrstnega reda blokov"
5023
 
5024
+ #: strings.php:202
5025
  msgid "downloading..."
5026
  msgstr "prenašam..."
5027
 
5028
+ #: strings.php:203
5029
  msgid "download error"
5030
  msgstr "napaka pri prenosu"
5031
 
5032
+ #: strings.php:204
5033
  msgid "update error"
5034
  msgstr "napaka pri posodobitvi"
5035
 
5036
+ #: strings.php:205
5037
  msgid "Updating..."
5038
  msgstr "Posodabljam..."
5039
 
5040
+ #: strings.php:207
5041
  msgid "ERROR"
5042
  msgstr "NAPAKA"
5043
 
5044
+ #: strings.php:208
5045
  msgid "Error reloading settings"
5046
  msgstr "Napaka pri nalaganju nastavitev"
5047
 
5048
+ #: strings.php:210
5049
+ msgctxt "Search field placeholder"
5050
  msgid "Search..."
5051
  msgstr "Išči..."
5052
 
5053
+ #: strings.php:211
5054
+ msgctxt "Search field placeholder"
5055
+ msgid "Filter..."
5056
+ msgstr "Filter..."
5057
+
5058
+ #: strings.php:212
5059
+ msgid "Use filter to limit names in the list"
5060
+ msgstr "Uporabite filter za omejitev imen v seznamu"
5061
+
5062
+ #: strings.php:213
5063
+ msgctxt "Button"
5064
+ msgid "Filter"
5065
+ msgstr "Filter"
5066
+
5067
+ #: strings.php:226
5068
  msgid "Add"
5069
  msgstr "Dodaj"
5070
 
5071
+ #: strings.php:227
5072
  msgid "Parent"
5073
  msgstr "Starš"
5074
 
5075
+ #: strings.php:228
5076
  msgid "Cancel element selection"
5077
  msgstr "Prekliči izbor HTML elementa"
5078
 
5079
+ #: strings.php:229
5080
  msgid "Select parent element"
5081
  msgstr "Izberi starševski element"
5082
 
5083
+ #: strings.php:230
5084
  msgid "CSS selector"
5085
  msgstr "CSS selektor"
5086
 
5087
+ #: strings.php:231
5088
  msgid "Use current selector"
5089
  msgstr "Uporabi trenutni selektor"
5090
 
5091
+ #: strings.php:232
5092
  msgid "ELEMENT"
5093
  msgstr "ELEMENT"
5094
 
5095
+ #: strings.php:233
5096
  msgid "PATH"
5097
  msgstr "POT"
5098
 
5099
+ #: strings.php:234
5100
  msgid "SELECTOR"
5101
  msgstr "SELEKTOR"
5102
 
5103
+ #: strings.php:235
5104
  msgctxt "Block"
5105
  msgid "VISIBLE"
5106
  msgstr "VIDEN"
5107
 
5108
+ #: strings.php:236
5109
  msgctxt "Block"
5110
  msgid "HIDDEN"
5111
  msgstr "SKRIT"
5118
  "Upravljanje z oglasi z veliko naprednimi funkcijami za vstavljanje oglasov "
5119
  "na optimalna mesta"
5120
 
5121
+ #~ msgid "Invalid %s license key. Please check."
5122
+ #~ msgstr "Neveljaven %s licenčni ključ. Prosimo, preverite."
5123
+
5124
+ #~ msgid "%s license expired. Please renew the license to enable updates."
5125
+ #~ msgstr ""
5126
+ #~ "%s licenca je potekla. Prosimo, obnovite licenco in omogočite posodobitve."
5127
+
5128
+ #~ msgid "%s license overused. Please upgrade the license to enable updates."
5129
+ #~ msgstr ""
5130
+ #~ "%s licenca je prekomerno uporabljena. Prosimo, nadgradite licenco in "
5131
+ #~ "omogočite posodobitve."
5132
+
5133
+ #~ msgid "Comma separated domains, use # for no referer"
5134
+ #~ msgstr "Z vejico ločene domene, uporabite # za primer, ko ni napotitelja"
5135
+
5136
+ #~ msgid "Error: list too long (%d names), only %d shown"
5137
+ #~ msgstr "Napaka: seznam predolg (%d imen), samo %d prikazanih"
5138
+
5139
+ #~ msgid "WIDGET"
5140
+ #~ msgstr "GRADNIK"
5141
+
5142
+ #~ msgid "iframe width"
5143
+ #~ msgstr "iframe širina"
5144
+
5145
+ #~ msgid "iframe height"
5146
+ #~ msgstr "iframe višina"
5147
+
5148
+ #~ msgctxt "Clicks"
5149
+ #~ msgid "Average"
5150
+ #~ msgstr "Povprečje"
5151
+
5152
  #~ msgid "Disable PHP code processing"
5153
  #~ msgstr "Onemogoči procesiranje PHP kode"
5154
 
languages/ad-inserter.pot CHANGED
@@ -1,472 +1,476 @@
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.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
- "POT-Creation-Date: 2018-12-25 11:49:30+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:275
16
  msgctxt "Menu item"
17
  msgid "Debugging DEMO"
18
  msgstr ""
19
 
20
- #: ad-inserter.php:291
21
  msgctxt "Menu item"
22
  msgid "Label Blocks"
23
  msgstr ""
24
 
25
- #: ad-inserter.php:298
26
  msgctxt "Menu item"
27
  msgid "Show Positions"
28
  msgstr ""
29
 
30
- #: ad-inserter.php:369
31
  msgctxt "Menu item"
32
  msgid "Show HTML Tags"
33
  msgstr ""
34
 
35
- #: ad-inserter.php:376
36
  msgctxt "Menu item"
37
  msgid "Disable Insertion"
38
  msgstr ""
39
 
40
- #: ad-inserter.php:385
41
  msgctxt "Menu item"
42
  msgid "Ad Blocking Status"
43
  msgstr ""
44
 
45
- #: ad-inserter.php:392
46
  msgctxt "Menu item"
47
  msgid "Simulate Ad Blocking"
48
  msgstr ""
49
 
50
- #: ad-inserter.php:402
51
  msgctxt "Menu item"
52
  msgid "Log Processing"
53
  msgstr ""
54
 
55
  #. translators: Debugging position name Before HTML element
56
- #: ad-inserter.php:925
57
  msgid "Before"
58
  msgstr ""
59
 
60
  #. translators: Debugging position name After HTML element
61
- #: ad-inserter.php:930
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:935 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:940 strings.php:96
74
  msgid "Append content"
75
  msgstr ""
76
 
77
  #. translators: Debugging position name Replace content of HTML element
78
- #: ad-inserter.php:945 strings.php:97
79
  msgid "Replace content"
80
  msgstr ""
81
 
82
  #. translators: Debugging position name Replace HTML element
83
- #: ad-inserter.php:950 strings.php:147
84
  msgid "Replace"
85
  msgstr ""
86
 
87
  #. translators: Debugging message when output buffering is enabled
88
- #: ad-inserter.php:995
89
  msgid "OUTPUT BUFFERING"
90
  msgstr ""
91
 
92
  #. translators: Debugging position
93
- #: ad-inserter.php:999
94
  msgid "Above Header"
95
  msgstr ""
96
 
97
- #: ad-inserter.php:1200
98
  msgctxt "Menu item"
99
  msgid "Log In"
100
  msgstr ""
101
 
102
  #. translators: %s: Ad Inserter
103
- #: ad-inserter.php:1469 ad-inserter.php:2327
104
  msgid "%s Settings"
105
  msgstr ""
106
 
107
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
108
- #: ad-inserter.php:1902
109
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
110
  msgstr ""
111
 
112
- #: ad-inserter.php:1902
113
  msgid "NO ACTION"
114
  msgstr ""
115
 
116
- #: ad-inserter.php:1903
117
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
118
  msgstr ""
119
 
120
- #: ad-inserter.php:1904
121
  msgid "AD BLOCKING DETECTED - ACTION"
122
  msgstr ""
123
 
124
- #: ad-inserter.php:1905
125
  msgid "AD BLOCKING NOT DETECTED"
126
  msgstr ""
127
 
128
- #: ad-inserter.php:1906
129
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
130
  msgstr ""
131
 
132
- #: ad-inserter.php:1907
133
  msgid "AD BLOCKING DETECTED - NO ACTION"
134
  msgstr ""
135
 
136
  #. Translators: 1: number of blocks, 2: Ad Inserter
137
- #: ad-inserter.php:2098
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:2099 includes/functions.php:1337
144
  msgid "No, thank you."
145
  msgstr ""
146
 
147
  #. Translators: %s: Ad Inserter
148
- #: ad-inserter.php:2102
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:2103 includes/functions.php:1339
154
  msgid "Not now, maybe later."
155
  msgstr ""
156
 
157
- #: ad-inserter.php:2113
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:2115
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:2121
171
  msgid "Rate %s"
172
  msgstr ""
173
 
174
- #: ad-inserter.php:2126
175
  msgid "I already did."
176
  msgstr ""
177
 
178
- #: ad-inserter.php:2140
179
  msgctxt "Menu item"
180
  msgid "Settings"
181
  msgstr ""
182
 
183
  #. translators: %s: Ad Inserter
184
- #: ad-inserter.php:2214
185
  msgctxt "Meta box name"
186
  msgid "%s Individual Exceptions"
187
  msgstr ""
188
 
189
- #: ad-inserter.php:2243 ad-inserter.php:7546 class.php:1903
190
- #: includes/preview.php:1759 includes/preview.php:1803
191
- #: includes/preview.php:1840 settings.php:3151 strings.php:3
192
  msgid "Block"
193
  msgstr ""
194
 
195
- #: ad-inserter.php:2244 settings.php:3152 settings.php:3226
196
  msgid "Name"
197
  msgstr ""
198
 
199
- #: ad-inserter.php:2245 settings.php:943 settings.php:3154
200
  msgid "Automatic insertion"
201
  msgstr ""
202
 
203
- #: ad-inserter.php:2248
204
  msgid "Default insertion for pages"
205
  msgstr ""
206
 
207
- #: ad-inserter.php:2249
208
  msgid "Default insertion for posts"
209
  msgstr ""
210
 
211
  #. translators: For this post or page
212
- #: ad-inserter.php:2252
213
  msgctxt "Page"
214
  msgid "For this"
215
  msgstr ""
216
 
217
- #: ad-inserter.php:2253
218
  msgctxt "Post"
219
  msgid "For this"
220
  msgstr ""
221
 
222
- #: ad-inserter.php:2261
223
  msgctxt "Enabled/disabled on all"
224
  msgid "pages"
225
  msgstr ""
226
 
227
- #: ad-inserter.php:2262
228
  msgctxt "Default insertion for"
229
  msgid "pages"
230
  msgstr ""
231
 
232
- #: ad-inserter.php:2266
233
  msgctxt "Enabled/disabled on all"
234
  msgid "posts"
235
  msgstr ""
236
 
237
- #: ad-inserter.php:2267
238
  msgctxt "Default insertion for"
239
  msgid "posts"
240
  msgstr ""
241
 
242
- #: ad-inserter.php:2286 ad-inserter.php:2299 strings.php:153
243
  msgid "Enabled"
244
  msgstr ""
245
 
246
  #. translators: Menu items
247
- #: ad-inserter.php:2286 ad-inserter.php:2299 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:2289
254
  msgid "Enabled on all"
255
  msgstr ""
256
 
257
  #. translators: Disabled on all pages or posts
258
- #: ad-inserter.php:2291
259
  msgid "Disabled on all"
260
  msgstr ""
261
 
262
  #. translators: No individual exceptions enabled for pages or posts
263
- #: ad-inserter.php:2319
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:2324
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:2329
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:2332
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:2333
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:2335
296
  msgid "For more information check page %s"
297
  msgstr ""
298
 
299
  #. translators: Ad Inserter Exceptions documentation page
300
- #: ad-inserter.php:2337
301
  msgid "Individual Exceptions"
302
  msgstr ""
303
 
304
- #: ad-inserter.php:2382
305
  msgid "STATIC PAGE"
306
  msgstr ""
307
 
308
- #: ad-inserter.php:2385
309
  msgid "POST"
310
  msgstr ""
311
 
312
- #: ad-inserter.php:2388
313
  msgid "HOMEPAGE"
314
  msgstr ""
315
 
316
- #: ad-inserter.php:2391
317
  msgid "CATEGORY PAGE"
318
  msgstr ""
319
 
320
- #: ad-inserter.php:2394
321
  msgid "SEARCH PAGE"
322
  msgstr ""
323
 
324
- #: ad-inserter.php:2397
325
  msgid "ARCHIVE PAGE"
326
  msgstr ""
327
 
328
- #: ad-inserter.php:2400
329
  msgid "ERROR 404 PAGE"
330
  msgstr ""
331
 
332
- #: ad-inserter.php:2403
333
  msgid "AJAX CALL"
334
  msgstr ""
335
 
336
- #: ad-inserter.php:2406
337
  msgid "UNKNOWN PAGE TYPE"
338
  msgstr ""
339
 
340
- #: ad-inserter.php:2423
341
  msgid "Click to delete ad blocking detection cokies"
342
  msgstr ""
343
 
344
- #: ad-inserter.php:2424
345
  msgid "AD BLOCKING STATUS UNKNOWN"
346
  msgstr ""
347
 
348
  #. translators: %s: AdSense Auto Ads
349
- #: ad-inserter.php:2444
350
  msgid ""
351
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
352
  "positions"
353
  msgstr ""
354
 
355
- #: ad-inserter.php:2578
356
  msgid "Code for insertion"
357
  msgstr ""
358
 
359
- #: ad-inserter.php:2578
360
  msgid "character"
361
  msgid_plural "characters"
362
  msgstr[0] ""
363
  msgstr[1] ""
364
 
365
- #: ad-inserter.php:2587
366
  msgid "Header code"
367
  msgstr ""
368
 
369
- #: ad-inserter.php:2587
370
  msgctxt "Header code"
371
  msgid "DISABLED"
372
  msgstr ""
373
 
374
- #: ad-inserter.php:2587 ad-inserter.php:2782
375
  msgid "character inserted"
376
  msgid_plural "characters inserted"
377
  msgstr[0] ""
378
  msgstr[1] ""
379
 
380
- #: ad-inserter.php:2604
381
  msgid "Automatically placed by AdSense Auto ads code"
382
  msgstr ""
383
 
384
- #: ad-inserter.php:2767
385
- msgid "JAVASCRIPT NOT WORKING"
386
  msgstr ""
387
 
388
- #: ad-inserter.php:2767
389
- msgid "JAVASCRIPT WORKING"
 
390
  msgstr ""
391
 
392
- #: ad-inserter.php:2782
393
- msgid "Footer code"
394
  msgstr ""
395
 
396
- #: ad-inserter.php:2782
397
- msgctxt "Footer code"
398
- msgid "DISABLED"
 
 
 
399
  msgstr ""
400
 
401
  #. translators: block name (block with default settings)
402
- #: ad-inserter.php:4791
403
  msgctxt "Block name"
404
  msgid "Default"
405
  msgstr ""
406
 
407
  #. translators: %s: Ad Inserter
408
- #: ad-inserter.php:5341
409
  msgid "Error importing %s settings."
410
  msgstr ""
411
 
412
- #: ad-inserter.php:5342
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:5391
419
  msgid "Settings saved."
420
  msgstr ""
421
 
422
- #: ad-inserter.php:5476
423
  msgid "Settings cleared."
424
  msgstr ""
425
 
426
- #: ad-inserter.php:5809 ad-inserter.php:5811 ad-inserter.php:5822
427
  msgid "word"
428
  msgid_plural "words"
429
  msgstr[0] ""
430
  msgstr[1] ""
431
 
432
- #: ad-inserter.php:5838 ad-inserter.php:5949
433
  msgid "HTML TAGS REMOVED"
434
  msgstr ""
435
 
436
- #: ad-inserter.php:6025
437
  msgid "BEFORE COMMENTS"
438
  msgstr ""
439
 
440
- #: ad-inserter.php:6133
441
  msgid "AFTER COMMENTS"
442
  msgstr ""
443
 
444
- #: ad-inserter.php:6196
445
  msgid "BETWEEN COMMENTS"
446
  msgstr ""
447
 
448
- #: ad-inserter.php:7200
449
  msgid "requires WordPress 4.0 or newer"
450
  msgstr ""
451
 
452
- #: ad-inserter.php:7200
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:7419
459
  msgid "Thank you for installing"
460
  msgstr ""
461
 
462
  #. translators: Opt-in message: %s: HTML tags
463
- #: ad-inserter.php:7421
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:7423
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 "
@@ -474,7 +478,7 @@ msgid ""
474
  msgstr ""
475
 
476
  #. translators: Deactivation message: %s: HTML tags
477
- #: ad-inserter.php:7460
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 "
@@ -482,55 +486,55 @@ msgid ""
482
  msgstr ""
483
 
484
  #. translators: %s: Ad Inserter
485
- #: ad-inserter.php:7503
486
  msgid "%s block."
487
  msgstr ""
488
 
489
  #. translators: widget title
490
- #: ad-inserter.php:7519 ad-inserter.php:7555
491
  msgid "Processing log"
492
  msgstr ""
493
 
494
  #. translators: widget title
495
- #: ad-inserter.php:7521 ad-inserter.php:7556
496
  msgid "Dummy widget"
497
  msgstr ""
498
 
499
  #. translators: widget title
500
- #: ad-inserter.php:7523 ad-inserter.php:7554
501
  msgid "Debugging tools"
502
  msgstr ""
503
 
504
  #. translators: block status (widget title)
505
- #: ad-inserter.php:7530
506
  msgctxt "block"
507
  msgid "PAUSED"
508
  msgstr ""
509
 
510
- #: ad-inserter.php:7531
511
  msgid "WIDGET DISABLED"
512
  msgstr ""
513
 
514
- #: ad-inserter.php:7532
515
  msgid "Unknown block"
516
  msgstr ""
517
 
518
- #: ad-inserter.php:7541 includes/functions.php:2357 settings.php:1089
519
  msgid "Title"
520
  msgstr ""
521
 
522
- #: ad-inserter.php:7563
523
  msgctxt "Widget"
524
  msgid "Sticky"
525
  msgstr ""
526
 
527
- #: ad-inserter.php:7612
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:7613
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 "
@@ -538,146 +542,146 @@ msgid ""
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:1869
546
  msgid "Counters"
547
  msgstr ""
548
 
549
- #: class.php:1873
550
  msgid "Content"
551
  msgstr ""
552
 
553
- #: class.php:1878
554
  msgid "Excerpt"
555
  msgstr ""
556
 
557
- #: class.php:1883 strings.php:17
558
  msgid "Before post"
559
  msgstr ""
560
 
561
- #: class.php:1888 strings.php:18
562
  msgid "After post"
563
  msgstr ""
564
 
565
- #: class.php:1893 settings.php:1576 settings.php:3158
566
  msgid "Widget"
567
  msgstr ""
568
 
569
- #: class.php:1898 settings.php:3156
570
  msgid "PHP function call"
571
  msgstr ""
572
 
573
- #: class.php:1932
574
  msgid "AJAX REQUEST"
575
  msgstr ""
576
 
577
- #: class.php:1946
578
- msgid "Ajax request url"
579
  msgstr ""
580
 
581
- #: class.php:1946
 
 
 
 
582
  msgid "IN THE LOOP"
583
  msgstr ""
584
 
585
- #: class.php:1946
586
  msgid "YES"
587
  msgstr ""
588
 
589
- #: class.php:1946
590
  msgid "NO"
591
  msgstr ""
592
 
 
 
 
 
 
 
 
 
 
593
  #. translators: %s: list parameters and type
594
- #: class.php:2285
595
  msgid "parameters='%s' type='%s'"
596
  msgstr ""
597
 
598
  #. translators: %s: list parameters and type
599
- #: class.php:2287
600
  msgid "referers='%s' type='%s'"
601
  msgstr ""
602
 
603
  #. translators: %s: list parameters and type
604
- #: class.php:2348
605
  msgid "countries='%s' type='%s'"
606
  msgstr ""
607
 
608
  #. translators: %s: list parameters and type
609
- #: class.php:2350
610
  msgid "ip addresses='%s' type='%s'"
611
  msgstr ""
612
 
613
- #: class.php:2534
614
- msgid "WIDGET"
615
- msgstr ""
616
-
617
- #: class.php:2534
618
- msgid "BLOCK"
619
- msgstr ""
620
-
621
- #: class.php:2534
622
- msgctxt "block or widget"
623
- msgid "INSERTED BUT NOT VISIBLE"
624
- msgstr ""
625
-
626
- #: class.php:2707 strings.php:212
627
  msgid "BEFORE"
628
  msgstr ""
629
 
630
- #: class.php:2715 strings.php:214
631
  msgid "PREPEND CONTENT"
632
  msgstr ""
633
 
634
- #: class.php:2719 strings.php:215
635
  msgid "APPEND CONTENT"
636
  msgstr ""
637
 
638
- #: class.php:2723 strings.php:216
639
  msgid "REPLACE CONTENT"
640
  msgstr ""
641
 
642
- #: class.php:2727 strings.php:217
643
  msgid "REPLACE ELEMENT"
644
  msgstr ""
645
 
646
- #: class.php:2738 strings.php:213
647
  msgid "AFTER"
648
  msgstr ""
649
 
650
- #: class.php:2805
651
  msgctxt "JavaScript"
652
  msgid "script"
653
  msgstr ""
654
 
655
- #: class.php:2807 settings.php:1845
656
  msgid "for"
657
  msgstr ""
658
 
659
- #: class.php:5288 class.php:5340
660
  msgctxt "category name"
661
  msgid "Uncategorized"
662
  msgstr ""
663
 
664
- #: class.php:5828
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:1745 strings.php:219
672
  msgid "Use"
673
  msgstr ""
674
 
675
- #: includes/editor.php:8 includes/preview.php:1746
676
  msgid "Reset"
677
  msgstr ""
678
 
679
  #: includes/editor.php:9 includes/placeholders.php:347
680
- #: includes/preview.php:1748 strings.php:193 strings.php:218
681
  msgid "Cancel"
682
  msgstr ""
683
 
@@ -686,7 +690,7 @@ msgid "Visual Code Editor"
686
  msgstr ""
687
 
688
  #: includes/editor.php:262 includes/preview-adb.php:289
689
- #: includes/preview.php:1735
690
  msgid ""
691
  "This page was not loaded properly. Please check browser, plugins and ad "
692
  "blockers."
@@ -697,466 +701,511 @@ msgid "Error loading page"
697
  msgstr ""
698
 
699
  #: includes/editor.php:264 includes/preview-adb.php:291
700
- #: includes/preview.php:1737
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:168
709
  msgid "Documentation"
710
  msgstr ""
711
 
712
- #: includes/functions.php:268 settings.php:171
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:1125 settings.php:2398
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:2227
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:1915
797
  msgid "Save Settings"
798
  msgstr ""
799
 
800
- #: includes/functions.php:474 includes/preview.php:1880
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:1935
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:1986
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:2919 settings.php:2955
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:2187
 
 
 
 
993
  msgid "Toggle country editor"
994
  msgstr ""
995
 
996
- #: includes/functions.php:799 includes/functions.php:2190
 
 
 
 
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, &mdash; 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:1229 settings.php:1244
1125
- #: settings.php:1831
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:1933 includes/placeholders.php:382
 
 
 
 
1138
  msgid "Width"
1139
  msgstr ""
1140
 
1141
- #: includes/functions.php:1934
1142
- msgid "iframe width"
1143
  msgstr ""
1144
 
1145
- #: includes/functions.php:1940 includes/placeholders.php:377
1146
  msgid "Height"
1147
  msgstr ""
1148
 
1149
- #: includes/functions.php:1941
1150
- msgid "iframe height"
 
 
 
 
1151
  msgstr ""
1152
 
1153
- #: includes/functions.php:1955 includes/functions.php:3298
1154
- #: includes/functions.php:3361 settings.php:1948
 
 
 
 
 
 
 
 
 
1155
  msgid "Ad Blocking"
1156
  msgstr ""
1157
 
1158
  #. translators: 1, 2 and 3, 4: HTML tags
1159
- #: includes/functions.php:1964
1160
  msgid ""
1161
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1162
  "for tracking!"
@@ -1164,226 +1213,226 @@ msgstr ""
1164
 
1165
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1166
  #. header
1167
- #: includes/functions.php:1973
1168
  msgid ""
1169
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1170
  "enabled and automatic insertion %6$s!"
1171
  msgstr ""
1172
 
1173
- #: includes/functions.php:1991
1174
  msgid "When ad blocking is detected"
1175
  msgstr ""
1176
 
1177
- #: includes/functions.php:2000
1178
  msgid "replacement"
1179
  msgstr ""
1180
 
1181
- #: includes/functions.php:2002
1182
  msgid "Block to be shown when ad blocking is detected"
1183
  msgstr ""
1184
 
1185
- #: includes/functions.php:2003
1186
  msgctxt "replacement"
1187
  msgid "None"
1188
  msgstr ""
1189
 
1190
- #: includes/functions.php:2020
1191
  msgid "Close button"
1192
  msgstr ""
1193
 
1194
- #: includes/functions.php:2067
1195
  msgid "Lazy loading"
1196
  msgstr ""
1197
 
1198
  #. Translators: %s MaxMind
1199
- #: includes/functions.php:2122
1200
  msgid "This product includes GeoLite2 data created by %s"
1201
  msgstr ""
1202
 
1203
- #: includes/functions.php:2133
1204
  msgid "IP geolocation database"
1205
  msgstr ""
1206
 
1207
- #: includes/functions.php:2136
1208
  msgid "Select IP geolocation database."
1209
  msgstr ""
1210
 
1211
- #: includes/functions.php:2147
1212
  msgid "Automatic database updates"
1213
  msgstr ""
1214
 
1215
- #: includes/functions.php:2150
1216
  msgid ""
1217
  "Automatically download and update free GeoLite2 IP geolocation database by "
1218
  "MaxMind"
1219
  msgstr ""
1220
 
1221
- #: includes/functions.php:2158
1222
  msgid "Database"
1223
  msgstr ""
1224
 
1225
- #: includes/functions.php:2161
1226
  msgid ""
1227
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1228
  "file"
1229
  msgstr ""
1230
 
1231
  #. translators: %d: group number
1232
- #: includes/functions.php:2179
1233
  msgid "Group %d"
1234
  msgstr ""
1235
 
1236
- #: includes/functions.php:2185
1237
  msgid "countries"
1238
  msgstr ""
1239
 
1240
- #: includes/functions.php:2220
1241
  msgid "Enable tracking"
1242
  msgstr ""
1243
 
1244
- #: includes/functions.php:2235
1245
  msgid "Impression and Click Tracking"
1246
  msgstr ""
1247
 
1248
- #: includes/functions.php:2249
1249
  msgid "Internal"
1250
  msgstr ""
1251
 
1252
- #: includes/functions.php:2253
1253
  msgid "Track impressions and clicks with internal tracking and statistics"
1254
  msgstr ""
1255
 
1256
- #: includes/functions.php:2258
1257
  msgid "External"
1258
  msgstr ""
1259
 
1260
- #: includes/functions.php:2262
1261
  msgid ""
1262
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1263
  "code installed)"
1264
  msgstr ""
1265
 
1266
- #: includes/functions.php:2267
1267
  msgid "Track Pageviews"
1268
  msgstr ""
1269
 
1270
- #: includes/functions.php:2273
1271
  msgid "Track Pageviews by Device (as configured for viewports)"
1272
  msgstr ""
1273
 
1274
- #: includes/functions.php:2283
1275
  msgid "Track for Logged in Users"
1276
  msgstr ""
1277
 
1278
- #: includes/functions.php:2289
1279
  msgid "Track impressions and clicks from logged in users"
1280
  msgstr ""
1281
 
1282
- #: includes/functions.php:2299
1283
  msgid "Click Detection"
1284
  msgstr ""
1285
 
1286
- #: includes/functions.php:2305
1287
  msgid ""
1288
  "Standard method detects clicks only on banners with links, Advanced method "
1289
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1290
  msgstr ""
1291
 
1292
- #: includes/functions.php:2344
1293
  msgid "Are you sure you want to clear all exceptions for block"
1294
  msgstr ""
1295
 
1296
- #: includes/functions.php:2345 settings.php:1092
1297
  msgid "Clear all exceptions for block"
1298
  msgstr ""
1299
 
1300
- #: includes/functions.php:2352
1301
  msgid "Are you sure you want to clear all exceptions?"
1302
  msgstr ""
1303
 
1304
- #: includes/functions.php:2352
1305
  msgid "Clear all exceptions for all blocks"
1306
  msgstr ""
1307
 
1308
- #: includes/functions.php:2357 settings.php:3228
1309
  msgid "Type"
1310
  msgstr ""
1311
 
1312
- #: includes/functions.php:2375
1313
  msgid "View"
1314
  msgstr ""
1315
 
1316
- #: includes/functions.php:2376 includes/placeholders.php:346
1317
- #: includes/preview.php:2048 settings.php:1008
1318
  msgid "Edit"
1319
  msgstr ""
1320
 
1321
- #: includes/functions.php:2406
1322
  msgid "Are you sure you want to clear all exceptions for"
1323
  msgstr ""
1324
 
1325
- #: includes/functions.php:2407
1326
  msgid "Clear all exceptions for"
1327
  msgstr ""
1328
 
1329
- #: includes/functions.php:2420
1330
  msgid "No exceptions"
1331
  msgstr ""
1332
 
1333
  #. translators: %s: Ad Inserter Pro
1334
- #: includes/functions.php:2431
1335
  msgid "%s options for network blogs"
1336
  msgstr ""
1337
 
1338
  #. translators: %s: Ad Inserter Pro
1339
- #: includes/functions.php:2436
1340
  msgid "Enable %s widgets for sub-sites"
1341
  msgstr ""
1342
 
1343
- #: includes/functions.php:2436
1344
  msgid "Widgets"
1345
  msgstr ""
1346
 
1347
- #: includes/functions.php:2441
1348
  msgid "Enable PHP code processing for sub-sites"
1349
  msgstr ""
1350
 
1351
- #: includes/functions.php:2441
1352
  msgid "PHP Processing"
1353
  msgstr ""
1354
 
1355
  #. translators: %s: Ad Inserter Pro
1356
- #: includes/functions.php:2446
1357
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1358
  msgstr ""
1359
 
1360
- #: includes/functions.php:2446
1361
  msgid "Post/Page exceptions"
1362
  msgstr ""
1363
 
1364
  #. translators: %s: Ad Inserter Pro
1365
- #: includes/functions.php:2451
1366
  msgid "Enable %s settings page for sub-sites"
1367
  msgstr ""
1368
 
1369
- #: includes/functions.php:2451
1370
  msgid "Settings page"
1371
  msgstr ""
1372
 
1373
  #. translators: %s: Ad Inserter Pro
1374
- #: includes/functions.php:2456
1375
  msgid "Enable %s settings of main site to be used for all blogs"
1376
  msgstr ""
1377
 
1378
- #: includes/functions.php:2456
1379
  msgid "Main site settings used for all blogs"
1380
  msgstr ""
1381
 
1382
- #: includes/functions.php:2467 settings.php:2356
1383
  msgid "Ad Blocking Detection"
1384
  msgstr ""
1385
 
1386
- #: includes/functions.php:2473
1387
  msgid ""
1388
  "Standard method is reliable but should be used only if Advanced method does "
1389
  "not work. Advanced method recreates files used for detection with random "
@@ -1391,109 +1440,154 @@ msgid ""
1391
  "publicly accessible"
1392
  msgstr ""
1393
 
1394
- #: includes/functions.php:2861 includes/functions.php:2942
1395
- #: includes/functions.php:2962
1396
  msgid "AD BLOCKING"
1397
  msgstr ""
1398
 
1399
- #: includes/functions.php:2862 includes/functions.php:2893
1400
- #: includes/functions.php:2936 includes/functions.php:2963
1401
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1402
  msgstr ""
1403
 
1404
- #: includes/functions.php:2865 includes/functions.php:2935
1405
- #: includes/functions.php:2969
1406
  msgid "NO AD BLOCKING"
1407
  msgstr ""
1408
 
1409
- #: includes/functions.php:2892 includes/functions.php:2899
1410
  msgid "AD BLOCKING REPLACEMENT"
1411
  msgstr ""
1412
 
1413
- #: includes/functions.php:3297
1414
  msgctxt "Version"
1415
  msgid "Unknown"
1416
  msgstr ""
1417
 
1418
- #: includes/functions.php:3297
1419
  msgctxt "Times"
1420
  msgid "DISPLAYED"
1421
  msgstr ""
1422
 
1423
- #: includes/functions.php:3297
1424
  msgid "No version"
1425
  msgstr ""
1426
 
1427
- #: includes/functions.php:3298
1428
  msgctxt "Times"
1429
  msgid "BLOCKED"
1430
  msgstr ""
1431
 
1432
- #: includes/functions.php:3360
1433
  msgid "Pageviews"
1434
  msgstr ""
1435
 
1436
- #: includes/functions.php:3360
1437
  msgid "Impressions"
1438
  msgstr ""
1439
 
1440
- #: includes/functions.php:3361 includes/functions.php:3362
1441
- #: includes/functions.php:3370
1442
  msgid "Clicks"
1443
  msgstr ""
1444
 
1445
- #: includes/functions.php:3362
1446
  msgid "events"
1447
  msgstr ""
1448
 
1449
- #: includes/functions.php:3363
1450
  msgid "Ad Blocking Share"
1451
  msgstr ""
1452
 
1453
  #. translators: CTR as Click Through Rate
1454
- #: includes/functions.php:3363 includes/functions.php:3375
1455
  msgid "CTR"
1456
  msgstr ""
1457
 
1458
- #: includes/functions.php:3457
1459
  msgid "pageviews"
1460
  msgid_plural "pageviews"
1461
  msgstr[0] ""
1462
  msgstr[1] ""
1463
 
1464
- #: includes/functions.php:3457
1465
  msgid "impressions"
1466
  msgid_plural "impressions"
1467
  msgstr[0] ""
1468
  msgstr[1] ""
1469
 
1470
- #: includes/functions.php:3461
1471
  msgid "event"
1472
  msgid_plural "events"
1473
  msgstr[0] ""
1474
  msgstr[1] ""
1475
 
1476
- #: includes/functions.php:3461
1477
  msgid "click"
1478
  msgid_plural "clicks"
1479
  msgstr[0] ""
1480
  msgstr[1] ""
1481
 
1482
- #: includes/functions.php:3529
1483
- msgctxt "Impressions"
1484
  msgid "Average"
1485
  msgstr ""
1486
 
1487
- #: includes/functions.php:3547
1488
- msgctxt "Clicks"
1489
  msgid "Average"
1490
  msgstr ""
1491
 
1492
- #: includes/functions.php:3564
1493
  msgctxt "Ad Blocking Share / CTR"
1494
  msgid "Average"
1495
  msgstr ""
1496
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1497
  #: includes/placeholders.php:19
1498
  msgid "Custom"
1499
  msgstr ""
@@ -1518,7 +1612,7 @@ msgstr ""
1518
  msgid "Placeholder"
1519
  msgstr ""
1520
 
1521
- #: includes/placeholders.php:356 settings.php:774 settings.php:3229
1522
  msgid "Size"
1523
  msgstr ""
1524
 
@@ -1586,7 +1680,7 @@ msgstr ""
1586
  msgid "Remove dummy paragraph"
1587
  msgstr ""
1588
 
1589
- #: includes/preview-adb.php:9 includes/preview.php:1745
1590
  msgid "Use current settings"
1591
  msgstr ""
1592
 
@@ -1613,7 +1707,7 @@ msgctxt "Button"
1613
  msgid "Default"
1614
  msgstr ""
1615
 
1616
- #: includes/preview-adb.php:12 includes/preview.php:1748
1617
  msgid "Close preview window"
1618
  msgstr ""
1619
 
@@ -1626,67 +1720,67 @@ msgstr ""
1626
  msgid "Ad Blocking Detected Message Preview"
1627
  msgstr ""
1628
 
1629
- #: includes/preview-adb.php:348 settings.php:2473
1630
  msgid "Message CSS"
1631
  msgstr ""
1632
 
1633
- #: includes/preview-adb.php:353 settings.php:2481
1634
  msgid "Overlay CSS"
1635
  msgstr ""
1636
 
1637
- #: includes/preview.php:137
1638
  msgid "Sticky Code Preview"
1639
  msgstr ""
1640
 
1641
- #: includes/preview.php:137
1642
  msgid "Code Preview"
1643
  msgstr ""
1644
 
1645
- #: includes/preview.php:1743
1646
  msgid "Highlight inserted code"
1647
  msgstr ""
1648
 
1649
- #: includes/preview.php:1743
1650
  msgid "Highlight"
1651
  msgstr ""
1652
 
1653
- #: includes/preview.php:1746
1654
  msgid "Reset to block settings"
1655
  msgstr ""
1656
 
1657
- #: includes/preview.php:1757 settings.php:930 settings.php:2460
1658
- msgid "Preview"
1659
  msgstr ""
1660
 
1661
- #: includes/preview.php:1761
1662
- msgid "AdSense ad unit"
1663
  msgstr ""
1664
 
1665
- #: includes/preview.php:1829
1666
  msgid "wrapping div"
1667
  msgstr ""
1668
 
1669
- #: includes/preview.php:1834 includes/preview.php:1841
1670
  msgid "background"
1671
  msgstr ""
1672
 
1673
- #: includes/preview.php:1859 includes/preview.php:2005 settings.php:972
1674
  msgid "Alignment and style"
1675
  msgstr ""
1676
 
1677
- #: includes/preview.php:1927
1678
  msgid "Horizontal margin"
1679
  msgstr ""
1680
 
1681
- #: includes/preview.php:1976
1682
  msgid "Vertical margin"
1683
  msgstr ""
1684
 
1685
- #: includes/preview.php:1998
1686
  msgid "Animate"
1687
  msgstr ""
1688
 
1689
- #: includes/preview.php:2057
1690
  msgid ""
1691
  "This is a preview of the code between dummy paragraphs. Here you can test "
1692
  "various block alignments, visually edit margin and padding values of the "
@@ -1696,14 +1790,14 @@ msgid ""
1696
  "restores all the values to those of the current block."
1697
  msgstr ""
1698
 
1699
- #: includes/preview.php:2060
1700
  msgid ""
1701
  "This is a preview of the saved block between dummy paragraphs. It shows the "
1702
  "code with the alignment and style as it is set for this block. Highlight "
1703
  "button highlights background, wrapping div margin and code area."
1704
  msgstr ""
1705
 
1706
- #: includes/preview.php:2062
1707
  msgid ""
1708
  "This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
1709
  "code was loaded from your AdSense account. The ad block is displayed on a "
@@ -1711,7 +1805,7 @@ msgid ""
1711
  "highlight ad block."
1712
  msgstr ""
1713
 
1714
- #: includes/preview.php:2068
1715
  msgid ""
1716
  "You can resize the window (and refresh the page to reload ads) to check "
1717
  "display with different screen widths.\n"
@@ -1719,7 +1813,7 @@ msgid ""
1719
  "settings will be copied to the active block."
1720
  msgstr ""
1721
 
1722
- #: includes/preview.php:2070
1723
  msgid ""
1724
  "Please note that the code, block name, alignment and style are taken from "
1725
  "the current block settings (may not be saved).\n"
@@ -1727,9 +1821,9 @@ msgid ""
1727
  "padding can't be set. However, you can use own HTML code for the block."
1728
  msgstr ""
1729
 
1730
- #: includes/preview.php:2075 includes/preview.php:2089
1731
- #: includes/preview.php:2099 includes/preview.php:2109
1732
- #: includes/preview.php:2119
1733
  msgid ""
1734
  "Ad Inserter can be configured to insert any code anywhere on the page. Each "
1735
  "code with it's settings is called a block.\n"
@@ -1743,9 +1837,9 @@ msgid ""
1743
  "and manual insertion."
1744
  msgstr ""
1745
 
1746
- #: includes/preview.php:2080 includes/preview.php:2094
1747
- #: includes/preview.php:2104 includes/preview.php:2114
1748
- #: includes/preview.php:2124
1749
  msgid ""
1750
  "Few very important things you need to know in order to insert code and "
1751
  "display some ad:\n"
@@ -1758,7 +1852,7 @@ msgid ""
1758
  "individual post/page exceptions."
1759
  msgstr ""
1760
 
1761
- #: includes/preview.php:2086
1762
  msgid ""
1763
  "This is a preview of the code for sticky ads. Here you can test various "
1764
  "horizontal and vertical alignments, close button locations, visually edit "
@@ -1896,321 +1990,321 @@ msgstr ""
1896
  msgid "General Settings"
1897
  msgstr ""
1898
 
1899
- #: settings.php:562 settings.php:2232 settings.php:2290 settings.php:2453
1900
  msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
1901
  msgstr ""
1902
 
1903
- #: settings.php:569
1904
  msgid "Toggle tools"
1905
  msgstr ""
1906
 
1907
- #: settings.php:577
1908
  msgid "Process PHP code in block"
1909
  msgstr ""
1910
 
1911
- #: settings.php:584
1912
  msgid "Disable insertion of this block"
1913
  msgstr ""
1914
 
1915
- #: settings.php:596
1916
  msgid "Toggle code generator"
1917
  msgstr ""
1918
 
1919
- #: settings.php:600
1920
  msgid "Toggle rotation editor"
1921
  msgstr ""
1922
 
1923
- #: settings.php:604
1924
  msgid "Open visual HTML editor"
1925
  msgstr ""
1926
 
1927
- #: settings.php:614
1928
  msgid "Show AdSense ad units"
1929
  msgstr ""
1930
 
1931
- #: settings.php:623
1932
  msgid "Clear block"
1933
  msgstr ""
1934
 
1935
- #: settings.php:628 settings.php:3123
1936
  msgid "Copy block"
1937
  msgstr ""
1938
 
1939
- #: settings.php:632
1940
  msgid "Paste name"
1941
  msgstr ""
1942
 
1943
- #: settings.php:636
1944
  msgid "Paste code"
1945
  msgstr ""
1946
 
1947
- #: settings.php:640
1948
  msgid "Paste settings"
1949
  msgstr ""
1950
 
1951
- #: settings.php:644
1952
  msgid "Paste block (name, code and settings)"
1953
  msgstr ""
1954
 
1955
- #: settings.php:663
1956
  msgid "Remove option"
1957
  msgstr ""
1958
 
1959
- #: settings.php:667
1960
  msgid "Add option"
1961
  msgstr ""
1962
 
1963
- #: settings.php:682
1964
  msgid "Import code"
1965
  msgstr ""
1966
 
1967
- #: settings.php:686
1968
  msgid "Generate code"
1969
  msgstr ""
1970
 
1971
- #: settings.php:691
1972
  msgid "Banner"
1973
  msgstr ""
1974
 
1975
- #: settings.php:702
1976
  msgid "Image"
1977
  msgstr ""
1978
 
1979
- #: settings.php:710
1980
  msgid "Link"
1981
  msgstr ""
1982
 
1983
- #: settings.php:721
1984
  msgid "Open link in a new tab"
1985
  msgstr ""
1986
 
1987
- #: settings.php:722
1988
  msgid "Select Image"
1989
  msgstr ""
1990
 
1991
- #: settings.php:723
1992
  msgid "Select Placeholder"
1993
  msgstr ""
1994
 
1995
- #: settings.php:735
1996
  msgid "Comment"
1997
  msgstr ""
1998
 
1999
- #: settings.php:744
2000
  msgctxt "AdSense"
2001
  msgid "Publisher ID"
2002
  msgstr ""
2003
 
2004
- #: settings.php:753
2005
  msgctxt "AdSense"
2006
  msgid "Ad Slot ID"
2007
  msgstr ""
2008
 
2009
- #: settings.php:762
2010
  msgid "Ad Type"
2011
  msgstr ""
2012
 
2013
- #: settings.php:786
2014
  msgid "AMP Ad"
2015
  msgstr ""
2016
 
2017
- #: settings.php:803
2018
  msgid "Show ad units from your AdSense account"
2019
  msgstr ""
2020
 
2021
- #: settings.php:803
2022
  msgid "AdSense ad units"
2023
  msgstr ""
2024
 
2025
- #: settings.php:820
2026
  msgctxt "AdSense"
2027
  msgid "Layout"
2028
  msgstr ""
2029
 
2030
- #: settings.php:829
2031
  msgctxt "AdSense"
2032
  msgid "Layout Key"
2033
  msgstr ""
2034
 
2035
- #: settings.php:926
2036
  msgid ""
2037
  "White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
2038
  "Cookie or Referer (domain)"
2039
  msgstr ""
2040
 
2041
- #: settings.php:926
2042
  msgid "Lists"
2043
  msgstr ""
2044
 
2045
- #: settings.php:927
2046
  msgid "Widget, Shortcode and PHP function call"
2047
  msgstr ""
2048
 
2049
- #: settings.php:927
2050
  msgid "Manual"
2051
  msgstr ""
2052
 
2053
- #: settings.php:928
2054
  msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
2055
  msgstr ""
2056
 
2057
- #: settings.php:928
2058
  msgid "Devices"
2059
  msgstr ""
2060
 
2061
- #: settings.php:929
2062
  msgid ""
2063
  "Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
2064
  "feeds), Filter, Scheduling, General tag"
2065
  msgstr ""
2066
 
2067
- #: settings.php:929
2068
  msgid "Misc"
2069
  msgstr ""
2070
 
2071
- #: settings.php:930
2072
  msgid "Preview code and alignment"
2073
  msgstr ""
2074
 
2075
- #: settings.php:933 settings.php:1913
2076
  msgid ""
2077
  "Rotation editor active - rotation code not generated! Make sure no rotation "
2078
  "editor is active before saving settings."
2079
  msgstr ""
2080
 
2081
- #: settings.php:935
2082
  msgid "Save All Settings"
2083
  msgstr ""
2084
 
2085
- #: settings.php:985 strings.php:179
2086
  msgctxt "Button"
2087
  msgid "Show"
2088
  msgstr ""
2089
 
2090
- #: settings.php:997
2091
  msgid "Custom CSS code for the wrapping div"
2092
  msgstr ""
2093
 
2094
- #: settings.php:1000 settings.php:1001 settings.php:1002 settings.php:1003
2095
- #: settings.php:1004 settings.php:1005
2096
  msgid "CSS code for the wrapping div, click to edit"
2097
  msgstr ""
2098
 
2099
- #: settings.php:1020
2100
  msgid "Enable insertion on posts"
2101
  msgstr ""
2102
 
2103
- #: settings.php:1022 settings.php:1028
2104
  msgid ""
2105
  "Individual post exceptions (if enabled here) can be configured in post "
2106
  "editor. Leave blank for no individual post exceptions."
2107
  msgstr ""
2108
 
2109
- #: settings.php:1028
2110
  msgid "Posts"
2111
  msgstr ""
2112
 
2113
- #: settings.php:1033
2114
  msgid "Toggle list of individual exceptions"
2115
  msgstr ""
2116
 
2117
- #: settings.php:1043 settings.php:1044
2118
  msgid ""
2119
  "Enable insertion on homepage: latest posts (including on sub-pages), static "
2120
  "page or theme homepage (available positions may depend on hooks used by the "
2121
  "theme)"
2122
  msgstr ""
2123
 
2124
- #: settings.php:1044
2125
  msgid "Homepage"
2126
  msgstr ""
2127
 
2128
- #: settings.php:1048 settings.php:1049
2129
  msgid "Enable insertion on category blog pages (including sub-pages)"
2130
  msgstr ""
2131
 
2132
- #: settings.php:1049
2133
  msgid "Category pages"
2134
  msgstr ""
2135
 
2136
- #: settings.php:1056
2137
  msgid "Enable insertion on static pages"
2138
  msgstr ""
2139
 
2140
- #: settings.php:1058 settings.php:1064
2141
  msgid ""
2142
  "Individual static page exceptions (if enabled here) can be configured in "
2143
  "page editor. Leave blank for no individual page exceptions."
2144
  msgstr ""
2145
 
2146
- #: settings.php:1064
2147
  msgid "Static pages"
2148
  msgstr ""
2149
 
2150
- #: settings.php:1070 settings.php:1071
2151
  msgid "Enable insertion on search blog pages"
2152
  msgstr ""
2153
 
2154
- #: settings.php:1071
2155
  msgid "Search pages"
2156
  msgstr ""
2157
 
2158
- #: settings.php:1075 settings.php:1076
2159
  msgid "Enable insertion on tag or archive blog pages"
2160
  msgstr ""
2161
 
2162
- #: settings.php:1076
2163
  msgid "Tag / Archive pages"
2164
  msgstr ""
2165
 
2166
- #: settings.php:1089
2167
  msgctxt "post"
2168
  msgid "Type"
2169
  msgstr ""
2170
 
2171
  #. translators: %d: block number
2172
- #: settings.php:1091
2173
  msgid "Are you sure you want to clear all exceptions for block %d?"
2174
  msgstr ""
2175
 
2176
- #: settings.php:1121
2177
  msgid "HTML element"
2178
  msgstr ""
2179
 
2180
- #: settings.php:1134
2181
  msgid "HTML element selector or comma separated list of selectors"
2182
  msgstr ""
2183
 
2184
- #: settings.php:1140 settings.php:2366
2185
  msgid "Action"
2186
  msgstr ""
2187
 
2188
- #: settings.php:1151 settings.php:1707
2189
  msgid "Insertion"
2190
  msgstr ""
2191
 
2192
- #: settings.php:1152
2193
  msgid ""
2194
  "Client-side insertion uses JavaScript to insert block when the page loads. "
2195
  "Server-side insertion inserts block when the page is generated but needs "
2196
  "Output buffering enabled."
2197
  msgstr ""
2198
 
2199
- #: settings.php:1162
2200
  msgid "JavaScript code position"
2201
  msgstr ""
2202
 
2203
- #: settings.php:1163
2204
  msgid ""
2205
  "Page position where the JavaScript code for client-side insertion will be "
2206
  "inserted. Should be after the HTML element if not waiting for DOM ready."
2207
  msgstr ""
2208
 
2209
- #: settings.php:1177
2210
  msgid "Paragraphs"
2211
  msgstr ""
2212
 
2213
- #: settings.php:1183
2214
  msgid ""
2215
  "Paragraph number or comma separated paragraph numbers: 1 to N means "
2216
  "paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
@@ -2220,193 +2314,207 @@ msgid ""
2220
  "negative number means counting from the opposite direction"
2221
  msgstr ""
2222
 
2223
- #: settings.php:1189
2224
  msgid "Counting"
2225
  msgstr ""
2226
 
2227
- #: settings.php:1190
2228
  msgid "Clearance"
2229
  msgstr ""
2230
 
2231
- #: settings.php:1199
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2232
  msgid "Count"
2233
  msgstr ""
2234
 
2235
- #: settings.php:1205
2236
  msgid "paragraphs with tags"
2237
  msgstr ""
2238
 
2239
- #: settings.php:1211
2240
  msgid "Comma separated HTML tag names, usually only 'p' tags are used"
2241
  msgstr ""
2242
 
2243
- #: settings.php:1220
2244
  msgid "that have between"
2245
  msgstr ""
2246
 
2247
- #: settings.php:1226
2248
  msgid "Minimum number of paragraph words, leave empty for no limit"
2249
  msgstr ""
2250
 
2251
- #: settings.php:1235
2252
  msgid "Maximum number of paragraph words, leave empty for no limit"
2253
  msgstr ""
2254
 
2255
- #: settings.php:1238 settings.php:1833
2256
  msgid "words"
2257
  msgstr ""
2258
 
2259
- #: settings.php:1253 settings.php:1319 settings.php:1345
2260
  msgid "Comma separated texts"
2261
  msgstr ""
2262
 
2263
- #: settings.php:1262
2264
  msgid "Minimum number of paragraphs"
2265
  msgstr ""
2266
 
2267
  #. translators: %s: list of HTML tags
2268
- #: settings.php:1277
2269
  msgid ""
2270
  "Count also paragraphs inside %s elements - defined on general plugin "
2271
  "settings page - tab &#9881; / tab General"
2272
  msgstr ""
2273
 
2274
- #: settings.php:1277
2275
  msgid "Count inside special elements"
2276
  msgstr ""
2277
 
2278
- #: settings.php:1288
2279
  msgid "Minimum number of words in paragraphs above"
2280
  msgstr ""
2281
 
2282
- #: settings.php:1294
2283
  msgid ""
2284
  "Used only with automatic insertion After paragraph and empty paragraph "
2285
  "numbers"
2286
  msgstr ""
2287
 
2288
- #: settings.php:1304 settings.php:1330
2289
  msgid "In"
2290
  msgstr ""
2291
 
2292
- #: settings.php:1310
2293
  msgid "Number of paragraphs above to check, leave empty to disable checking"
2294
  msgstr ""
2295
 
2296
- #: settings.php:1313
2297
  msgid "paragraphs above avoid"
2298
  msgstr ""
2299
 
2300
- #: settings.php:1336
2301
  msgid "Number of paragraphs below to check, leave empty to disable checking"
2302
  msgstr ""
2303
 
2304
- #: settings.php:1339
2305
  msgid "paragraphs below avoid"
2306
  msgstr ""
2307
 
2308
- #: settings.php:1355
2309
  msgid "If text is found"
2310
  msgstr ""
2311
 
2312
- #: settings.php:1362
2313
  msgid "check up to"
2314
  msgstr ""
2315
 
2316
- #: settings.php:1370
2317
  msgctxt "check up to"
2318
  msgid "paragraphs"
2319
  msgstr ""
2320
 
2321
- #: settings.php:1386
2322
  msgid "Categories"
2323
  msgstr ""
2324
 
2325
- #: settings.php:1389
2326
  msgid "Toggle category editor"
2327
  msgstr ""
2328
 
2329
- #: settings.php:1392
2330
  msgid "Comma separated category slugs"
2331
  msgstr ""
2332
 
2333
- #: settings.php:1396
2334
  msgid "Blacklist categories"
2335
  msgstr ""
2336
 
2337
- #: settings.php:1400
2338
  msgid "Whitelist categories"
2339
  msgstr ""
2340
 
2341
- #: settings.php:1412
2342
  msgid "Tags"
2343
  msgstr ""
2344
 
2345
- #: settings.php:1415
2346
  msgid "Toggle tag editor"
2347
  msgstr ""
2348
 
2349
- #: settings.php:1418
2350
  msgid "Comma separated tag slugs"
2351
  msgstr ""
2352
 
2353
- #: settings.php:1422
2354
  msgid "Blacklist tags"
2355
  msgstr ""
2356
 
2357
- #: settings.php:1426
2358
  msgid "Whitelist tags"
2359
  msgstr ""
2360
 
2361
- #: settings.php:1438
2362
  msgid "Taxonomies"
2363
  msgstr ""
2364
 
2365
- #: settings.php:1441
2366
  msgid "Toggle taxonomy editor"
2367
  msgstr ""
2368
 
2369
- #: settings.php:1444
2370
  msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
2371
  msgstr ""
2372
 
2373
- #: settings.php:1448
2374
  msgid "Blacklist taxonomies"
2375
  msgstr ""
2376
 
2377
- #: settings.php:1452
2378
  msgid "Whitelist taxonomies"
2379
  msgstr ""
2380
 
2381
- #: settings.php:1464
2382
  msgid "Post IDs"
2383
  msgstr ""
2384
 
2385
- #: settings.php:1467
2386
  msgid "Toggle post/page ID editor"
2387
  msgstr ""
2388
 
2389
- #: settings.php:1470
2390
  msgid "Comma separated post/page IDs"
2391
  msgstr ""
2392
 
2393
- #: settings.php:1474
2394
  msgid "Blacklist IDs"
2395
  msgstr ""
2396
 
2397
- #: settings.php:1478
2398
  msgid "Whitelist IDs"
2399
  msgstr ""
2400
 
2401
- #: settings.php:1490
2402
  msgid "Urls"
2403
  msgstr ""
2404
 
2405
- #: settings.php:1493
2406
  msgid "Toggle url editor"
2407
  msgstr ""
2408
 
2409
- #: settings.php:1496
2410
  msgid ""
2411
  "Comma separated urls (page addresses) starting with / after domain name (e."
2412
  "g. /permalink-url, use only when you need to taget a specific url not "
@@ -2414,214 +2522,212 @@ msgid ""
2414
  "start*. *url-pattern*, *url-end)"
2415
  msgstr ""
2416
 
2417
- #: settings.php:1500
2418
  msgid "Blacklist urls"
2419
  msgstr ""
2420
 
2421
- #: settings.php:1504
2422
  msgid "Whitelist urls"
2423
  msgstr ""
2424
 
2425
- #: settings.php:1515
2426
  msgid "Url parameters"
2427
  msgstr ""
2428
 
2429
- #: settings.php:1519
2430
  msgid "Toggle url parameter and cookie editor"
2431
  msgstr ""
2432
 
2433
- #: settings.php:1522
2434
  msgid ""
2435
  "Comma separated url query parameters or cookies with optional values (use "
2436
  "'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
2437
  msgstr ""
2438
 
2439
- #: settings.php:1526
2440
  msgid "Blacklist url parameters"
2441
  msgstr ""
2442
 
2443
- #: settings.php:1530
2444
  msgid "Whitelist url parameters"
2445
  msgstr ""
2446
 
2447
- #: settings.php:1541
2448
- msgid "Referers"
2449
  msgstr ""
2450
 
2451
- #: settings.php:1544
2452
  msgid "Toggle referer editor"
2453
  msgstr ""
2454
 
2455
- #: settings.php:1547
2456
- msgid "Comma separated domains, use # for no referer"
 
 
2457
  msgstr ""
2458
 
2459
- #: settings.php:1551
2460
  msgid "Blacklist referers"
2461
  msgstr ""
2462
 
2463
- #: settings.php:1555
2464
  msgid "Whitelist referers"
2465
  msgstr ""
2466
 
2467
- #: settings.php:1575
2468
  msgid "Enable widget for this block"
2469
  msgstr ""
2470
 
2471
- #: settings.php:1587
2472
  msgid "Enable shortcode for manual insertion of this block in posts and pages"
2473
  msgstr ""
2474
 
2475
- #: settings.php:1588 settings.php:3157
2476
  msgid "Shortcode"
2477
  msgstr ""
2478
 
2479
- #: settings.php:1603
2480
  msgid ""
2481
  "Enable PHP function call to insert this block at any position in theme file. "
2482
  "If function is disabled for block it will return empty string."
2483
  msgstr ""
2484
 
2485
- #: settings.php:1604
2486
  msgid "PHP function"
2487
  msgstr ""
2488
 
2489
- #: settings.php:1619
2490
  msgid "Client-side device detection"
2491
  msgstr ""
2492
 
2493
- #: settings.php:1620
2494
  msgid "Server-side device detection"
2495
  msgstr ""
2496
 
2497
- #: settings.php:1627
2498
  msgid "Use client-side detection to"
2499
  msgstr ""
2500
 
2501
  #. Translators: only on (the following devices): viewport names (devices)
2502
  #. listed
2503
- #: settings.php:1634
2504
  msgid "only on"
2505
  msgstr ""
2506
 
2507
- #: settings.php:1664
2508
- msgid "Device min width %s px"
2509
- msgstr ""
2510
-
2511
- #: settings.php:1689
2512
  msgid "Use server-side detection to insert block only for"
2513
  msgstr ""
2514
 
2515
- #: settings.php:1708
2516
  msgid "Filter"
2517
  msgstr ""
2518
 
2519
- #: settings.php:1709
2520
  msgid "Word Count"
2521
  msgstr ""
2522
 
2523
- #: settings.php:1710
2524
  msgid "Scheduling"
2525
  msgstr ""
2526
 
2527
- #: settings.php:1711
2528
  msgid "Display"
2529
  msgstr ""
2530
 
2531
- #: settings.php:1713 settings.php:1941
2532
  msgid "General"
2533
  msgstr ""
2534
 
2535
- #: settings.php:1725
2536
  msgid "Old settings for AMP pages detected"
2537
  msgstr ""
2538
 
2539
- #: settings.php:1725
2540
  msgid ""
2541
  "To insert different codes on normal and AMP pages separate them with "
2542
  "[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
2543
  "when you need to insert THE SAME CODE also on AMP pages (no AMP separator)."
2544
  msgstr ""
2545
 
2546
- #: settings.php:1725
2547
  msgid "AMP pages"
2548
  msgstr ""
2549
 
2550
- #: settings.php:1730
2551
  msgid "Enable insertion for Ajax requests"
2552
  msgstr ""
2553
 
2554
- #: settings.php:1730
2555
  msgid "Ajax requests"
2556
  msgstr ""
2557
 
2558
- #: settings.php:1735
2559
  msgid "Enable insertion in RSS feeds"
2560
  msgstr ""
2561
 
2562
- #: settings.php:1735
2563
  msgid "RSS Feed"
2564
  msgstr ""
2565
 
2566
- #: settings.php:1740
2567
  msgid "Enable insertion on page for Error 404: Page not found"
2568
  msgstr ""
2569
 
2570
- #: settings.php:1740
2571
  msgid "Error 404 page"
2572
  msgstr ""
2573
 
2574
- #: settings.php:1752
2575
  msgid "Maximum number of insertion of this block. Empty or 0 means no limit."
2576
  msgstr ""
2577
 
2578
- #: settings.php:1753
2579
  msgid "Max"
2580
  msgstr ""
2581
 
2582
- #: settings.php:1753
2583
  msgid "insertions"
2584
  msgstr ""
2585
 
2586
- #: settings.php:1755
2587
  msgid ""
2588
  "Count this block for Max blocks per page limit (defined on the tab &#9881; / "
2589
  "tab General)"
2590
  msgstr ""
2591
 
2592
- #: settings.php:1758 settings.php:2099
2593
  msgid "Max blocks per page"
2594
  msgstr ""
2595
 
2596
- #: settings.php:1770
2597
  msgid "Insert for"
2598
  msgstr ""
2599
 
2600
- #: settings.php:1778
2601
  msgid ""
2602
  "Insert block only when WP function in_the_loop () returns true (WP loop is "
2603
  "currently active). Might speed up insertion on content pages when "
2604
  "the_content filter is called multiple times."
2605
  msgstr ""
2606
 
2607
- #: settings.php:1781
2608
  msgid "Insert only in the loop"
2609
  msgstr ""
2610
 
2611
- #: settings.php:1787
2612
  msgid ""
2613
  "Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
2614
  msgstr ""
2615
 
2616
- #: settings.php:1787
2617
  msgid "Disable caching"
2618
  msgstr ""
2619
 
2620
- #: settings.php:1799
2621
  msgid "Filter insertions"
2622
  msgstr ""
2623
 
2624
- #: settings.php:1802
2625
  msgid ""
2626
  "Filter multiple insertions by specifying wanted insertions for this block - "
2627
  "single number, comma separated numbers or %N for every N insertions - empty "
@@ -2629,492 +2735,458 @@ msgid ""
2629
  "using only one insertion type."
2630
  msgstr ""
2631
 
2632
- #: settings.php:1805
2633
  msgid "using"
2634
  msgstr ""
2635
 
2636
- #: settings.php:1823
2637
  msgid "Checked means specified calls are unwanted"
2638
  msgstr ""
2639
 
2640
- #: settings.php:1823
2641
  msgid "Invert filter"
2642
  msgstr ""
2643
 
2644
- #: settings.php:1829
2645
  msgid "Post/Static page must have between"
2646
  msgstr ""
2647
 
2648
- #: settings.php:1830
2649
  msgid "Minimum number of post/static page words, leave empty for no limit"
2650
  msgstr ""
2651
 
2652
- #: settings.php:1832
2653
  msgid "Maximum number of post/static page words, leave empty for no limit"
2654
  msgstr ""
2655
 
2656
- #: settings.php:1845
2657
  msgid "days after publishing"
2658
  msgstr ""
2659
 
2660
- #: settings.php:1847
2661
  msgid "Not available"
2662
  msgstr ""
2663
 
2664
- #: settings.php:1860 settings.php:2091
2665
  msgid "Ad label"
2666
  msgstr ""
2667
 
2668
- #: settings.php:1879
2669
  msgid "General tag"
2670
  msgstr ""
2671
 
2672
- #: settings.php:1883
2673
  msgid "Used for [adinserter data=''] shortcodes when no data is found"
2674
  msgstr ""
2675
 
2676
  #. translators: %s: HTML tags
2677
- #: settings.php:1892
2678
  msgid ""
2679
  "%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
2680
  "side device detection!"
2681
  msgstr ""
2682
 
2683
- #: settings.php:1904
2684
  msgid "Settings"
2685
  msgstr ""
2686
 
2687
- #: settings.php:1907
2688
  msgid "Settings timestamp"
2689
  msgstr ""
2690
 
2691
- #: settings.php:1919
2692
  msgid "Are you sure you want to reset all settings?"
2693
  msgstr ""
2694
 
2695
- #: settings.php:1919
2696
  msgid "Reset All Settings"
2697
  msgstr ""
2698
 
2699
- #: settings.php:1942
2700
  msgid "Viewports"
2701
  msgstr ""
2702
 
2703
- #: settings.php:1943
2704
  msgid "Hooks"
2705
  msgstr ""
2706
 
2707
- #: settings.php:1944
2708
  msgid "Header"
2709
  msgstr ""
2710
 
2711
- #: settings.php:1945 strings.php:30
2712
  msgid "Footer"
2713
  msgstr ""
2714
 
2715
- #: settings.php:1950
2716
  msgid "Debugging"
2717
  msgstr ""
2718
 
2719
- #: settings.php:1960
2720
  msgid "Plugin priority"
2721
  msgstr ""
2722
 
2723
- #: settings.php:1968
2724
  msgid "Output buffering"
2725
  msgstr ""
2726
 
2727
- #: settings.php:1971
2728
  msgid "Needed for position Above header but may not work with all themes"
2729
  msgstr ""
2730
 
2731
- #: settings.php:1979
2732
  msgid "Syntax highlighting theme"
2733
  msgstr ""
2734
 
2735
- #: settings.php:1986
2736
  msgctxt "no syntax highlighting themes"
2737
  msgid "None"
2738
  msgstr ""
2739
 
2740
- #: settings.php:1987
2741
  msgid "No Syntax Highlighting"
2742
  msgstr ""
2743
 
2744
- #: settings.php:1989
2745
  msgctxt "syntax highlighting themes"
2746
  msgid "Light"
2747
  msgstr ""
2748
 
2749
- #: settings.php:2004
2750
  msgctxt "syntax highlighting themes"
2751
  msgid "Dark"
2752
  msgstr ""
2753
 
2754
- #: settings.php:2030
2755
  msgid "Min. user role for ind. exceptions editing"
2756
  msgstr ""
2757
 
2758
- #: settings.php:2040
2759
  msgid "Sticky widget mode"
2760
  msgstr ""
2761
 
2762
- #: settings.php:2043
2763
  msgid ""
2764
  "CSS mode is the best approach but may not work with all themes. JavaScript "
2765
  "mode works with most themes but may reload ads on page load."
2766
  msgstr ""
2767
 
2768
- #: settings.php:2051
2769
  msgid "Sticky widget top margin"
2770
  msgstr ""
2771
 
2772
- #: settings.php:2059
2773
  msgid "Dynamic blocks"
2774
  msgstr ""
2775
 
2776
- #: settings.php:2072
2777
  msgid "Functions for paragraph counting"
2778
  msgstr ""
2779
 
2780
- #: settings.php:2075
2781
  msgid ""
2782
  "Standard PHP functions are faster and work in most cases, use Multibyte "
2783
  "functions if paragraphs are not counted properly on non-english pages."
2784
  msgstr ""
2785
 
2786
- #: settings.php:2083
2787
  msgid "No paragraph counting inside"
2788
  msgstr ""
2789
 
2790
- #: settings.php:2094
2791
  msgid "Label text or HTML code"
2792
  msgstr ""
2793
 
2794
- #: settings.php:2102
2795
  msgid ""
2796
  "Maximum number of inserted blocks per page. You need to enable Max page "
2797
  "insertions (button Misc / tab Insertion) to count block for this limit."
2798
  msgstr ""
2799
 
2800
- #: settings.php:2116
2801
  msgid "Plugin usage tracking"
2802
  msgstr ""
2803
 
2804
  #. translators: %s: Ad Inserter
2805
- #: settings.php:2119
2806
  msgid ""
2807
  "Enable tracking of %s usage and help us to make improvements to the plugin. "
2808
  "Only information regarding the WordPress environment and %s usage is "
2809
  "recorded (once per month and on events like plugin activation/deactivation)."
2810
  msgstr ""
2811
 
2812
- #: settings.php:2137
2813
  msgid "CSS class name for the wrapping div"
2814
  msgstr ""
2815
 
2816
- #: settings.php:2137
2817
  msgid "Block class name"
2818
  msgstr ""
2819
 
2820
- #: settings.php:2141
2821
  msgid "Include general plugin block class"
2822
  msgstr ""
2823
 
2824
- #: settings.php:2141
2825
  msgid "Block class"
2826
  msgstr ""
2827
 
2828
- #: settings.php:2146
2829
  msgid "Include block number class"
2830
  msgstr ""
2831
 
2832
- #: settings.php:2146
2833
  msgid "Block number class"
2834
  msgstr ""
2835
 
2836
- #: settings.php:2151
2837
  msgid ""
2838
  "Instead of alignment classes generate inline alignment styles for blocks"
2839
  msgstr ""
2840
 
2841
- #: settings.php:2151
2842
  msgid "Inline styles"
2843
  msgstr ""
2844
 
2845
- #: settings.php:2157
2846
  msgid "Preview of the block wrapping code"
2847
  msgstr ""
2848
 
2849
- #: settings.php:2158
2850
  msgid "Wrapping div"
2851
  msgstr ""
2852
 
2853
- #: settings.php:2159 settings.php:2556
2854
  msgid "BLOCK CODE"
2855
  msgstr ""
2856
 
2857
- #: settings.php:2167
2858
  msgid "Viewport Settings used for client-side device detection"
2859
  msgstr ""
2860
 
2861
- #. Translators: %d: viewport number
2862
- #: settings.php:2174
2863
- msgid "Viewport %d name"
2864
- msgstr ""
2865
-
2866
- #: settings.php:2177
2867
- msgid "min width"
2868
- msgstr ""
2869
-
2870
- #: settings.php:2188
2871
  msgid "Custom Hooks"
2872
  msgstr ""
2873
 
2874
- #. translators: %d: hook number
2875
- #: settings.php:2202
2876
- msgid "Hook %d name"
2877
- msgstr ""
2878
-
2879
- #: settings.php:2205
2880
- msgid "Hook name for automatic insertion selection"
2881
- msgstr ""
2882
-
2883
- #: settings.php:2208
2884
- msgid "action"
2885
- msgstr ""
2886
-
2887
- #: settings.php:2211
2888
- msgid "Action name as used in the do_action () function"
2889
- msgstr ""
2890
-
2891
- #: settings.php:2214
2892
- msgid "priority"
2893
- msgstr ""
2894
-
2895
- #: settings.php:2217
2896
- msgid "Priority for the hook (default is 10)"
2897
- msgstr ""
2898
-
2899
- #: settings.php:2237
2900
  msgid "Enable insertion of this code into HTML page header"
2901
  msgstr ""
2902
 
2903
- #: settings.php:2241 settings.php:2299 settings.php:2458
2904
  msgid "Process PHP code"
2905
  msgstr ""
2906
 
2907
- #: settings.php:2245
2908
  msgid "HTML Page Header Code"
2909
  msgstr ""
2910
 
2911
- #: settings.php:2253
2912
  msgid "Code in the %s section of the HTML page"
2913
  msgstr ""
2914
 
2915
- #: settings.php:2254 settings.php:2312
2916
  msgctxt "code in header or footer"
2917
  msgid "DISABLED"
2918
  msgstr ""
2919
 
2920
- #: settings.php:2267 settings.php:2325
2921
  msgid "Use server-side detection to insert code only for"
2922
  msgstr ""
2923
 
2924
- #: settings.php:2280
2925
  msgid ""
2926
  "Enable insertion of this code into HTML page header on page for Error 404: "
2927
  "Page not found"
2928
  msgstr ""
2929
 
2930
- #: settings.php:2280 settings.php:2338
2931
  msgid "Insert on Error 404 page"
2932
  msgstr ""
2933
 
2934
- #: settings.php:2295
2935
  msgid "Enable insertion of this code into HTML page footer"
2936
  msgstr ""
2937
 
2938
- #: settings.php:2303
2939
  msgid "HTML Page Footer Code"
2940
  msgstr ""
2941
 
2942
  #. translators: %s: HTML tags
2943
- #: settings.php:2311
2944
  msgid "Code before the %s tag of the the HTML page"
2945
  msgstr ""
2946
 
2947
- #: settings.php:2338
2948
  msgid ""
2949
  "Enable insertion of this code into HTML page footer on page for Error 404: "
2950
  "Page not found"
2951
  msgstr ""
2952
 
2953
- #: settings.php:2352
2954
  msgid "Enable detection of ad blocking"
2955
  msgstr ""
2956
 
2957
- #: settings.php:2369
2958
  msgid "Global action when ad blocking is detected"
2959
  msgstr ""
2960
 
2961
- #: settings.php:2378
2962
  msgid "Delay Action"
2963
  msgstr ""
2964
 
2965
- #: settings.php:2381
2966
  msgid ""
2967
  "Number of page views to delay action when ad blocking is detected. Leave "
2968
  "empty for no delay (action fires on first page view). Sets cookie."
2969
  msgstr ""
2970
 
2971
- #: settings.php:2381
2972
  msgctxt "Delay Action for x "
2973
  msgid "page views"
2974
  msgstr ""
2975
 
2976
- #: settings.php:2386
2977
  msgid "No Action Period"
2978
  msgstr ""
2979
 
2980
- #: settings.php:2389
2981
  msgid ""
2982
  "Number of days to supress action when ad blocking is detected. Leave empty "
2983
  "for no no-action period (action fires always after defined page view delay). "
2984
  "Sets cookie."
2985
  msgstr ""
2986
 
2987
- #: settings.php:2389
2988
  msgctxt "no action period"
2989
  msgid "days"
2990
  msgstr ""
2991
 
2992
- #: settings.php:2394
2993
  msgid "Custom Selectors"
2994
  msgstr ""
2995
 
2996
- #: settings.php:2397
2997
  msgid ""
2998
  "Comma seprarated list of selectors (.class, #id) used for additional ad "
2999
  "blocking detection. Invisible element or element with zero height means ad "
3000
  "blocking is present."
3001
  msgstr ""
3002
 
3003
- #: settings.php:2409
3004
  msgid "Redirection Page"
3005
  msgstr ""
3006
 
3007
- #: settings.php:2421
3008
  msgid "Custom Url"
3009
  msgstr ""
3010
 
3011
- #: settings.php:2426
3012
  msgid ""
3013
  "Static page for redirection when ad blocking is detected. For other pages "
3014
  "select Custom url and set it below."
3015
  msgstr ""
3016
 
3017
- #: settings.php:2435
3018
  msgid "Custom Redirection Url"
3019
  msgstr ""
3020
 
3021
- #: settings.php:2447
3022
  msgid "Message HTML code"
3023
  msgstr ""
3024
 
3025
- #: settings.php:2460
3026
  msgid "Preview message when ad blocking is detected"
3027
  msgstr ""
3028
 
3029
- #: settings.php:2489
3030
  msgid "Prevent visitors from closing the warning message"
3031
  msgstr ""
3032
 
3033
- #: settings.php:2489
3034
  msgid "Undismissible Message"
3035
  msgstr ""
3036
 
3037
- #: settings.php:2502
3038
  msgid ""
3039
  "Force showing admin toolbar for administrators when viewing site. Enable "
3040
  "this option when you are logged in as admin and you don't see admin toolbar."
3041
  msgstr ""
3042
 
3043
- #: settings.php:2510
3044
  msgid "Disable header code (Header tab)"
3045
  msgstr ""
3046
 
3047
- #: settings.php:2514
3048
  msgid "Disable footer code (Footer tab)"
3049
  msgstr ""
3050
 
3051
  #. translators: %s: Ad Inserter
3052
- #: settings.php:2518
3053
  msgid "Disable %s JavaScript code"
3054
  msgstr ""
3055
 
3056
  #. translators: %s: Ad Inserter
3057
- #: settings.php:2522
3058
  msgid "Disable %s CSS code"
3059
  msgstr ""
3060
 
3061
- #: settings.php:2526
3062
  msgid ""
3063
  "Disable PHP code processing (in all blocks including header and footer code)"
3064
  msgstr ""
3065
 
3066
- #: settings.php:2530
3067
  msgid "Disable insertion of all blocks"
3068
  msgstr ""
3069
 
3070
- #: settings.php:2534
3071
  msgid "Disable insertions"
3072
  msgstr ""
3073
 
3074
  #. translators: %s: Ad Inserter
3075
- #: settings.php:2546
3076
  msgid "%s CSS CODE"
3077
  msgstr ""
3078
 
3079
- #: settings.php:2549
3080
  msgid "HEADER CODE"
3081
  msgstr ""
3082
 
3083
  #. translators: %s: PHP tags
3084
- #: settings.php:2555
3085
  msgid "BLOCK PHP CODE"
3086
  msgstr ""
3087
 
3088
  #. translators: %s: Ad Inserter
3089
- #: settings.php:2561
3090
  msgid "%s JS CODE"
3091
  msgstr ""
3092
 
3093
- #: settings.php:2564
3094
  msgid "FOOTER CODE"
3095
  msgstr ""
3096
 
3097
- #: settings.php:2573
3098
  msgid "Force showing admin toolbar when viewing site"
3099
  msgstr ""
3100
 
3101
- #: settings.php:2580
3102
  msgid "Enable debugging functions in admin toolbar"
3103
  msgstr ""
3104
 
3105
- #: settings.php:2582
3106
  msgid "Debugging functions in admin toolbar"
3107
  msgstr ""
3108
 
3109
- #: settings.php:2589
3110
  msgid "Enable debugging functions in admin toolbar on mobile screens"
3111
  msgstr ""
3112
 
3113
- #: settings.php:2591
3114
  msgid "Debugging functions on mobile screens"
3115
  msgstr ""
3116
 
3117
- #: settings.php:2598
3118
  msgid ""
3119
  "Enable Debugger widget and code insertion debugging (blocks, positions, "
3120
  "tags, processing) by url parameters for non-logged in users. Enable this "
@@ -3123,105 +3195,105 @@ msgid ""
3123
  "administrators debugging is always enabled."
3124
  msgstr ""
3125
 
3126
- #: settings.php:2600
3127
  msgid "Remote debugging"
3128
  msgstr ""
3129
 
3130
- #: settings.php:2607
3131
  msgid ""
3132
  "Disable translation to see original texts for the settings and messages in "
3133
  "English"
3134
  msgstr ""
3135
 
3136
- #: settings.php:2609
3137
  msgid "Disable translation"
3138
  msgstr ""
3139
 
3140
- #: settings.php:2903
3141
  msgid "Toggle active/all blocks"
3142
  msgstr ""
3143
 
3144
- #: settings.php:2907 strings.php:198
3145
  msgid "Rearrange block order"
3146
  msgstr ""
3147
 
3148
- #: settings.php:2912
3149
  msgid "Save new block order"
3150
  msgstr ""
3151
 
3152
- #: settings.php:2912
3153
  msgid "Save Changes"
3154
  msgstr ""
3155
 
3156
- #: settings.php:2937
3157
  msgid "Toggle active/all ad units"
3158
  msgstr ""
3159
 
3160
- #: settings.php:2941
3161
  msgid "Reload AdSense ad units"
3162
  msgstr ""
3163
 
3164
- #: settings.php:2945
3165
  msgid "Clear authorization to access AdSense account"
3166
  msgstr ""
3167
 
3168
- #: settings.php:2949 settings.php:3314 settings.php:3381 strings.php:206
3169
  msgid "Google AdSense Homepage"
3170
  msgstr ""
3171
 
3172
- #: settings.php:3126
3173
  msgid "Preview block"
3174
  msgstr ""
3175
 
3176
- #: settings.php:3135
3177
  msgid "Insertion disabled"
3178
  msgstr ""
3179
 
3180
- #: settings.php:3155
3181
  msgid "Alignment"
3182
  msgstr ""
3183
 
3184
- #: settings.php:3159
3185
  msgid "Widget positions"
3186
  msgstr ""
3187
 
3188
- #: settings.php:3225
3189
  msgid "Ad unit"
3190
  msgstr ""
3191
 
3192
- #: settings.php:3227
3193
  msgid "Slot ID"
3194
  msgstr ""
3195
 
3196
- #: settings.php:3253
3197
  msgid "Copy AdSense code"
3198
  msgstr ""
3199
 
3200
- #: settings.php:3256
3201
  msgid "Preview AdSense ad"
3202
  msgstr ""
3203
 
3204
- #: settings.php:3259
3205
  msgid "Get AdSense code"
3206
  msgstr ""
3207
 
3208
  #. translators: %s: HTML tags
3209
- #: settings.php:3291
3210
  msgid ""
3211
  "Please %s clear authorization %s with the button %s above and once again "
3212
  "authorize access to your AdSense account."
3213
  msgstr ""
3214
 
3215
- #: settings.php:3310
3216
  msgid "AdSense Integration"
3217
  msgstr ""
3218
 
3219
- #: settings.php:3312
3220
  msgid "AdSense Integration - Step 2"
3221
  msgstr ""
3222
 
3223
  #. translators: %s: HTML tags
3224
- #: settings.php:3318
3225
  msgid ""
3226
  "Authorize %s to access your AdSense account. Click on the %s Get "
3227
  "Authorization Code %s button to open a new window where you can allow "
@@ -3230,7 +3302,7 @@ msgid ""
3230
  msgstr ""
3231
 
3232
  #. translators: %s: HTML tags
3233
- #: settings.php:3325
3234
  msgid ""
3235
  "If you get error, can't access ad units or would like to use own Google API "
3236
  "IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
@@ -3238,7 +3310,7 @@ msgid ""
3238
  msgstr ""
3239
 
3240
  #. translators: %s: HTML tags
3241
- #: settings.php:3327
3242
  msgid ""
3243
  "Now you can authorize %s to access your AdSense account. Click on the %s Get "
3244
  "Authorization Code %s button to open a new window where you can allow "
@@ -3247,38 +3319,38 @@ msgid ""
3247
  msgstr ""
3248
 
3249
  #. translators: %s: HTML tags
3250
- #: settings.php:3334
3251
  msgid ""
3252
  "If you get error %s invalid client %s click on the button %s Clear and "
3253
  "return to Step 1 %s to re-enter Client ID and Client Secret."
3254
  msgstr ""
3255
 
3256
- #: settings.php:3345
3257
  msgid "Get Authorization Code"
3258
  msgstr ""
3259
 
3260
- #: settings.php:3348
3261
  msgid "Enter Authorization Code"
3262
  msgstr ""
3263
 
3264
- #: settings.php:3358
3265
  msgid "Use own API IDs"
3266
  msgstr ""
3267
 
3268
- #: settings.php:3360
3269
  msgid "Clear and return to Step 1"
3270
  msgstr ""
3271
 
3272
- #: settings.php:3364
3273
  msgid "Authorize"
3274
  msgstr ""
3275
 
3276
- #: settings.php:3380
3277
  msgid "AdSense Integration - Step 1"
3278
  msgstr ""
3279
 
3280
  #. translators: %s: Ad Inserter
3281
- #: settings.php:3384
3282
  msgid ""
3283
  "Here can %s list configured AdSense ad units and get code for AdSense ads. "
3284
  "To do this you need to authorize %s to access your AdSense account. The "
@@ -3287,175 +3359,175 @@ msgid ""
3287
  msgstr ""
3288
 
3289
  #. translators: %s: HTML tags
3290
- #: settings.php:3393
3291
  msgid "Go to %s Google APIs and Services console %s"
3292
  msgstr ""
3293
 
3294
  #. translators: %1: Ad Inserter, 2, 3: HTML tags
3295
- #: settings.php:3394
3296
  msgid ""
3297
  "Create %1$s project - if the project and IDs are already created click on "
3298
  "the %2$s Credentials %3$s in the sidebar and go to step 16"
3299
  msgstr ""
3300
 
3301
  #. translators: %s: HTML tags
3302
- #: settings.php:3395
3303
  msgid ""
3304
  "Click on project selection and then click on the %s NEW PROJECT %s button to "
3305
  "create a new project"
3306
  msgstr ""
3307
 
3308
  #. translators: 1: Ad Inserter, 2, 3: HTML tags
3309
- #: settings.php:3396
3310
  msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
3311
  msgstr ""
3312
 
3313
  #. translators: %s: HTML tags
3314
- #: settings.php:3397
3315
  msgid ""
3316
  "Click on project selection, wait for the project to be created and then and "
3317
  "select %s as the current project"
3318
  msgstr ""
3319
 
3320
  #. translators: %s: HTML tags
3321
- #: settings.php:3398
3322
  msgid "Click on %s ENABLE APIS AND SERVICES %s"
3323
  msgstr ""
3324
 
3325
  #. translators: %s: HTML tags
3326
- #: settings.php:3399
3327
  msgid "Search for adsense and enable %s"
3328
  msgstr ""
3329
 
3330
  #. translators: %s: HTML tags
3331
- #: settings.php:3400
3332
  msgid "Click on %s CREATE CREDENTIALS %s"
3333
  msgstr ""
3334
 
3335
  #. translators: %s: HTML tags
3336
- #: settings.php:3401
3337
  msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
3338
  msgstr ""
3339
 
3340
  #. translators: %s: HTML tags
3341
- #: settings.php:3402
3342
  msgid "For %s What data will you be accessing? %s select %s User data %s"
3343
  msgstr ""
3344
 
3345
  #. translators: %s: HTML tags
3346
- #: settings.php:3403
3347
  msgid "Click on %s What credentials do I need? %s"
3348
  msgstr ""
3349
 
3350
  #. translators: %s: HTML tags
3351
- #: settings.php:3404
3352
  msgid ""
3353
  "Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
3354
  "Ad Inserter client %s"
3355
  msgstr ""
3356
 
3357
  #. translators: %s: HTML tags
3358
- #: settings.php:3405
3359
  msgid ""
3360
  "Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
3361
  "enter %s"
3362
  msgstr ""
3363
 
3364
  #. translators: %s: HTML tags
3365
- #: settings.php:3406
3366
  msgid "Click on %s Continue %s"
3367
  msgstr ""
3368
 
3369
  #. translators: %s: HTML tags
3370
- #: settings.php:3407
3371
  msgid "Click on %s Done %s"
3372
  msgstr ""
3373
 
3374
  #. translators: %s: HTML tags
3375
- #: settings.php:3408
3376
  msgid ""
3377
  "Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
3378
  "secret %s"
3379
  msgstr ""
3380
 
3381
- #: settings.php:3409
3382
  msgid "Copy them to the appropriate fields below"
3383
  msgstr ""
3384
 
3385
- #: settings.php:3415
3386
  msgid "Client ID"
3387
  msgstr ""
3388
 
3389
- #: settings.php:3418
3390
  msgid "Enter Client ID"
3391
  msgstr ""
3392
 
3393
- #: settings.php:3423
3394
  msgid "Client secret"
3395
  msgstr ""
3396
 
3397
- #: settings.php:3426
3398
  msgid "Enter Client secret"
3399
  msgstr ""
3400
 
3401
- #: settings.php:3436
3402
  msgid "Use default API IDs"
3403
  msgstr ""
3404
 
3405
- #: settings.php:3441
3406
  msgid "Save"
3407
  msgstr ""
3408
 
3409
- #: settings.php:3603 settings.php:3616 settings.php:3629
3410
  msgid "Blank ad blocks? Looking for AdSense alternative?"
3411
  msgstr ""
3412
 
3413
- #: settings.php:3608 settings.php:3621 settings.php:3634 settings.php:3806
3414
- #: settings.php:3808 settings.php:3829 settings.php:3832
3415
  msgid "Looking for AdSense alternative?"
3416
  msgstr ""
3417
 
3418
- #: settings.php:3644
3419
  msgid "Try Infolinks Ads with Adsense or Media.net ads"
3420
  msgstr ""
3421
 
3422
- #: settings.php:3649 settings.php:3802 settings.php:3804 settings.php:3835
3423
- #: settings.php:3838
3424
  msgid "Use Infolinks ads with Adsense to earn more"
3425
  msgstr ""
3426
 
3427
- #: settings.php:3668 settings.php:3706
3428
  msgid "Support plugin development"
3429
  msgstr ""
3430
 
3431
- #: settings.php:3669 settings.php:3707
3432
  msgid ""
3433
  "If you like Ad Inserter and have a moment, please help me spread the word by "
3434
  "reviewing the plugin on WordPres"
3435
  msgstr ""
3436
 
3437
- #: settings.php:3669
3438
  msgctxt "Review ad Inserter"
3439
  msgid "Review"
3440
  msgstr ""
3441
 
3442
- #: settings.php:3670
3443
  msgid ""
3444
  "Support free Ad Inserter development. If you are making money with Ad "
3445
  "Inserter consider donating some small amount. Even 1 dollar counts. Thank "
3446
  "you!"
3447
  msgstr ""
3448
 
3449
- #: settings.php:3670
3450
  msgid "Donate"
3451
  msgstr ""
3452
 
3453
- #: settings.php:3677 settings.php:3722
3454
  msgid "Average rating of the plugin - Thank you!"
3455
  msgstr ""
3456
 
3457
  #. translators: %s: Ad Inserter, HTML tags
3458
- #: settings.php:3688
3459
  msgid ""
3460
  "You've been using %s for a while now, and I hope you're happy with it. "
3461
  "Positive %s reviews %s are a great way to show your appreciation for my "
@@ -3464,336 +3536,336 @@ msgid ""
3464
  "your website. %s Thank you!"
3465
  msgstr ""
3466
 
3467
- #: settings.php:3707
3468
  msgid "Review"
3469
  msgstr ""
3470
 
3471
- #: settings.php:3711
3472
  msgid "Ad Inserter on Twitter"
3473
  msgstr ""
3474
 
3475
- #: settings.php:3712
3476
  msgid "Ad Inserter on Facebook"
3477
  msgstr ""
3478
 
3479
- #: settings.php:3715
3480
  msgid "Follow Ad Inserter"
3481
  msgstr ""
3482
 
3483
  #. translators: %s: HTML tags
3484
- #: settings.php:3742
3485
  msgid ""
3486
  "Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
3487
  "and %s Common Settings %s pages"
3488
  msgstr ""
3489
 
3490
  #. translators: %s: HTML tags
3491
- #: settings.php:3754
3492
  msgid ""
3493
  "%s New to %s AdSense? %s %s %s Connect your site %s - Advanced %s AdSense "
3494
  "code: %s %s In-feed ads, %s %s Auto ads, %s %s AMP ads %s"
3495
  msgstr ""
3496
 
3497
  #. translators: %s: HTML tags
3498
- #: settings.php:3773
3499
  msgid ""
3500
  "Ads are not showing? Check %s troubleshooting guide %s to find out how to "
3501
  "diagnose and fix the problem."
3502
  msgstr ""
3503
 
3504
  #. translators: %s: HTML tags
3505
- #: settings.php:3777
3506
  msgid ""
3507
  "If you need any kind of help or support, please do not hesitate to open a "
3508
  "thread on the %s support forum. %s"
3509
  msgstr ""
3510
 
3511
- #: settings.php:3817 settings.php:3852
3512
  msgid "A/B testing - Track ad impressions and clicks"
3513
  msgstr ""
3514
 
3515
- #: settings.php:3822 settings.php:3847
3516
  msgid "Code preview with visual CSS editor"
3517
  msgstr ""
3518
 
3519
- #: settings.php:3858
3520
  msgid "Looking for Pro Ad Management plugin?"
3521
  msgstr ""
3522
 
3523
- #: settings.php:3859
3524
  msgid "To Optimally Monetize your WordPress website?"
3525
  msgstr ""
3526
 
3527
  #. translators: %s HTML tags
3528
- #: settings.php:3862
3529
  msgid "64 ad blocks (positions)"
3530
  msgstr ""
3531
 
3532
  #. translators: %s HTML tags
3533
- #: settings.php:3863
3534
  msgid "%s AdSense Integration %s"
3535
  msgstr ""
3536
 
3537
  #. translators: %s HTML tags
3538
- #: settings.php:3864
3539
  msgid "Syntax highlighting %s editor %s"
3540
  msgstr ""
3541
 
3542
  #. translators: %s HTML tags
3543
- #: settings.php:3865
3544
  msgid "%s Code preview %s with visual CSS editor"
3545
  msgstr ""
3546
 
3547
  #. translators: %s HTML tags
3548
- #: settings.php:3866
3549
  msgid "Simple user interface - all settings on a single page"
3550
  msgstr ""
3551
 
3552
  #. translators: %s HTML tags
3553
- #: settings.php:3867
3554
  msgid ""
3555
  "%s Automatic insertion %s before or after post / content / %s paragraph %s / "
3556
  "excerpt"
3557
  msgstr ""
3558
 
3559
  #. translators: %s HTML tags
3560
- #: settings.php:3868
3561
  msgid "%s Automatic insertion %s between posts on blog pages"
3562
  msgstr ""
3563
 
3564
  #. translators: %s HTML tags
3565
- #: settings.php:3869
3566
  msgid "%s Automatic insertion %s before, between and after comments"
3567
  msgstr ""
3568
 
3569
  #. translators: %s HTML tags
3570
- #: settings.php:3870
3571
  msgid "%s Automatic insertion %s after %s or before %s tag"
3572
  msgstr ""
3573
 
3574
  #. translators: %s HTML tags
3575
- #: settings.php:3871
3576
  msgid "Automatic insertion at %s custom hook positions %s"
3577
  msgstr ""
3578
 
3579
  #. translators: %s HTML tags
3580
- #: settings.php:3872
3581
  msgid ""
3582
  "Insertion %s before or after any HTML element on the page %s (using CSS "
3583
  "selectors)"
3584
  msgstr ""
3585
 
3586
  #. translators: %s HTML tags
3587
- #: settings.php:3873
3588
  msgid "%s Insertion exceptions %s for individual posts and pages"
3589
  msgstr ""
3590
 
3591
  #. translators: %s HTML tags
3592
- #: settings.php:3874
3593
  msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
3594
  msgstr ""
3595
 
3596
  #. translators: %s HTML tags
3597
- #: settings.php:3875
3598
  msgid ""
3599
  "%s Sticky ads %s with optional close button (ads stay fixed when the page "
3600
  "scrolls)"
3601
  msgstr ""
3602
 
3603
  #. translators: %s HTML tags
3604
- #: settings.php:3876
3605
  msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
3606
  msgstr ""
3607
 
3608
  #. translators: %s HTML tags
3609
- #: settings.php:3877
3610
  msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
3611
  msgstr ""
3612
 
3613
  #. translators: %s HTML tags
3614
- #: settings.php:3878
3615
  msgid ""
3616
  "%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
3617
  "visible)"
3618
  msgstr ""
3619
 
3620
  #. translators: %s HTML tags
3621
- #: settings.php:3879
3622
  msgid ""
3623
  "%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
3624
  msgstr ""
3625
 
3626
  #. translators: %s HTML tags
3627
- #: settings.php:3880
3628
  msgid "Block %s alignment and style %s customizations"
3629
  msgstr ""
3630
 
3631
  #. translators: %s HTML tags
3632
- #: settings.php:3881
3633
  msgid ""
3634
  "%s Clearance %s options to avoid insertion near images or headers (AdSense "
3635
  "TOS)"
3636
  msgstr ""
3637
 
3638
  #. translators: %s HTML tags
3639
- #: settings.php:3882
3640
  msgid ""
3641
  "Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
3642
  "feeds"
3643
  msgstr ""
3644
 
3645
  #. translators: %s HTML tags
3646
- #: settings.php:3883
3647
  msgid "%s Ad rotation %s (works also with caching)"
3648
  msgstr ""
3649
 
3650
  #. translators: %s HTML tags
3651
- #: settings.php:3884
3652
  msgid ""
3653
  "Ad impression and click %s tracking %s (works also with Javascript ads like "
3654
  "AdSense)"
3655
  msgstr ""
3656
 
3657
  #. translators: %s HTML tags
3658
- #: settings.php:3885
3659
  msgid "Support for %s A/B testing %s"
3660
  msgstr ""
3661
 
3662
  #. translators: %s HTML tags
3663
- #: settings.php:3886
3664
  msgid "Support for %s lazy loading %s"
3665
  msgstr ""
3666
 
3667
  #. translators: %s HTML tags
3668
- #: settings.php:3887
3669
  msgid "Support for ads on %s AMP pages %s"
3670
  msgstr ""
3671
 
3672
  #. translators: %s HTML tags
3673
- #: settings.php:3888
3674
  msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
3675
  msgstr ""
3676
 
3677
  #. translators: %s HTML tags
3678
- #: settings.php:3889
3679
  msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
3680
  msgstr ""
3681
 
3682
  #. translators: %s HTML tags
3683
- #: settings.php:3890
3684
  msgid "PHP code processing"
3685
  msgstr ""
3686
 
3687
  #. translators: %s HTML tags
3688
- #: settings.php:3891
3689
  msgid "%s Banner %s code generator"
3690
  msgstr ""
3691
 
3692
  #. translators: %s HTML tags
3693
- #: settings.php:3892
3694
  msgid "Support for %s header and footer %s code"
3695
  msgstr ""
3696
 
3697
  #. translators: %s HTML tags
3698
- #: settings.php:3893
3699
  msgid "Support for Google Analytics, Matomo or any other web analytics code"
3700
  msgstr ""
3701
 
3702
  #. translators: %s HTML tags
3703
- #: settings.php:3894
3704
  msgid "Desktop, tablet and phone server-side %s device detection %s"
3705
  msgstr ""
3706
 
3707
  #. translators: %s HTML tags
3708
- #: settings.php:3895
3709
  msgid ""
3710
  "Client-side %s mobile device detection %s (works with caching, 6 custom "
3711
  "viewports)"
3712
  msgstr ""
3713
 
3714
  #. translators: %s HTML tags
3715
- #: settings.php:3896
3716
  msgid ""
3717
  "%s Ad blocking detection %s - popup message, ad replacement, content "
3718
  "protection"
3719
  msgstr ""
3720
 
3721
  #. translators: %s HTML tags
3722
- #: settings.php:3897
3723
  msgid "%s Ad blocking statistics %s"
3724
  msgstr ""
3725
 
3726
  #. translators: %s HTML tags
3727
- #: settings.php:3898
3728
  msgid ""
3729
  "%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
3730
  "referers"
3731
  msgstr ""
3732
 
3733
  #. translators: %s HTML tags
3734
- #: settings.php:3899
3735
  msgid ""
3736
  "%s Black/White-list %s IP addresses or countries (works also with caching)"
3737
  msgstr ""
3738
 
3739
  #. translators: %s HTML tags
3740
- #: settings.php:3900
3741
  msgid "%s Multisite options %s to limit settings on the sites"
3742
  msgstr ""
3743
 
3744
  #. translators: %s HTML tags
3745
- #: settings.php:3901
3746
  msgid "%s Import/Export %s block or plugin settings"
3747
  msgstr ""
3748
 
3749
  #. translators: %s HTML tags
3750
- #: settings.php:3902
3751
  msgid "%s Insertion scheduling %s with fallback option"
3752
  msgstr ""
3753
 
3754
  #. translators: %s HTML tags
3755
- #: settings.php:3903
3756
  msgid "Country-level %s GEO targeting %s (works also with caching)"
3757
  msgstr ""
3758
 
3759
  #. translators: %s HTML tags
3760
- #: settings.php:3904
3761
  msgid "Simple troubleshooting with many %s debugging functions %s"
3762
  msgstr ""
3763
 
3764
  #. translators: %s HTML tags
3765
- #: settings.php:3905
3766
  msgid "%s Visualization %s of inserted blocks or ads for easier placement"
3767
  msgstr ""
3768
 
3769
  #. translators: %s HTML tags
3770
- #: settings.php:3906
3771
  msgid "%s Visualization %s of available positions for automatic ad insertion"
3772
  msgstr ""
3773
 
3774
  #. translators: %s HTML tags
3775
- #: settings.php:3907
3776
  msgid ""
3777
  "%s Visualization %s of HTML tags for easier ad placement between paragraphs"
3778
  msgstr ""
3779
 
3780
  #. translators: %s HTML tags
3781
- #: settings.php:3908
3782
  msgid "%s Clipboard support %s to easily copy blocks or settings"
3783
  msgstr ""
3784
 
3785
  #. translators: %s HTML tags
3786
- #: settings.php:3909
3787
  msgid "No ads on the settings page"
3788
  msgstr ""
3789
 
3790
  #. translators: %s HTML tags
3791
- #: settings.php:3910 settings.php:3933
3792
  msgid "Support via email"
3793
  msgstr ""
3794
 
3795
  #. translators: %s HTML tags
3796
- #: settings.php:3913
3797
  msgid ""
3798
  "Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
3799
  "website with many advertising features to automatically insert adverts on "
@@ -3808,77 +3880,77 @@ msgid ""
3808
  msgstr ""
3809
 
3810
  #. translators: %s HTML tags
3811
- #: settings.php:3926
3812
  msgid "Looking for %s Pro Ad Management plugin? %s"
3813
  msgstr ""
3814
 
3815
  #. translators: %s HTML tags
3816
- #: settings.php:3931
3817
  msgid "Ads between posts"
3818
  msgstr ""
3819
 
3820
  #. translators: %s HTML tags
3821
- #: settings.php:3932
3822
  msgid "Ads between comments"
3823
  msgstr ""
3824
 
3825
  #. translators: %s HTML tags
3826
- #: settings.php:3939
3827
  msgid "%s Sticky positions %s"
3828
  msgstr ""
3829
 
3830
  #. translators: %s HTML tags
3831
- #: settings.php:3940
3832
  msgid "%s Limit insertions %s"
3833
  msgstr ""
3834
 
3835
  #. translators: %s HTML tags
3836
- #: settings.php:3941
3837
  msgid "%s Clearance %s options"
3838
  msgstr ""
3839
 
3840
  #. translators: %s HTML tags
3841
- #: settings.php:3947
3842
  msgid "Ad rotation"
3843
  msgstr ""
3844
 
3845
  #. translators: %s HTML tags
3846
- #: settings.php:3948
3847
  msgid "%s A/B testing %s"
3848
  msgstr ""
3849
 
3850
  #. translators: %s HTML tags
3851
- #: settings.php:3949
3852
  msgid "%s Ad tracking %s"
3853
  msgstr ""
3854
 
3855
  #. translators: %s HTML tags
3856
- #: settings.php:3955
3857
  msgid "Support for %s AMP pages %s"
3858
  msgstr ""
3859
 
3860
  #. translators: %s HTML tags
3861
- #: settings.php:3956
3862
  msgid "%s Ad blocking detection %s"
3863
  msgstr ""
3864
 
3865
  #. translators: %s HTML tags
3866
- #: settings.php:3957
3867
  msgid "%s Mobile device detection %s"
3868
  msgstr ""
3869
 
3870
  #. translators: %s HTML tags
3871
- #: settings.php:3964
3872
  msgid "64 code blocks"
3873
  msgstr ""
3874
 
3875
  #. translators: %s HTML tags
3876
- #: settings.php:3965
3877
  msgid "%s GEO targeting %s"
3878
  msgstr ""
3879
 
3880
  #. translators: %s HTML tags
3881
- #: settings.php:3966
3882
  msgid "%s Scheduling %s"
3883
  msgstr ""
3884
 
@@ -3974,616 +4046,644 @@ msgstr ""
3974
  msgid "Inside HTML element"
3975
  msgstr ""
3976
 
 
 
 
 
3977
  #: strings.php:35
 
 
 
 
3978
  msgid "do not insert"
3979
  msgstr ""
3980
 
3981
- #: strings.php:36
3982
  msgid "try to shift position"
3983
  msgstr ""
3984
 
3985
- #: strings.php:38
3986
  msgid "above"
3987
  msgstr ""
3988
 
3989
- #: strings.php:39
3990
  msgid "below"
3991
  msgstr ""
3992
 
3993
- #: strings.php:40
3994
  msgid "above and then below"
3995
  msgstr ""
3996
 
3997
- #: strings.php:41
3998
  msgid "below and then above"
3999
  msgstr ""
4000
 
4001
- #: strings.php:43
4002
  msgid "from top"
4003
  msgstr ""
4004
 
4005
- #: strings.php:44
4006
  msgid "from bottom"
4007
  msgstr ""
4008
 
4009
- #: strings.php:46
4010
  msgctxt "paragraphs"
4011
  msgid "contain"
4012
  msgstr ""
4013
 
4014
- #: strings.php:47
4015
  msgctxt "paragraphs"
4016
  msgid "do not contain"
4017
  msgstr ""
4018
 
4019
- #: strings.php:49
4020
  msgctxt "insert for"
4021
  msgid "all users"
4022
  msgstr ""
4023
 
4024
- #: strings.php:50
4025
  msgctxt "insert for"
4026
  msgid "logged in users"
4027
  msgstr ""
4028
 
4029
- #: strings.php:51
4030
  msgctxt "insert for"
4031
  msgid "not logged in users"
4032
  msgstr ""
4033
 
4034
- #: strings.php:52
4035
  msgctxt "insert for"
4036
  msgid "administrators"
4037
  msgstr ""
4038
 
4039
- #: strings.php:54
4040
  msgid "Black list"
4041
  msgstr ""
4042
 
4043
- #: strings.php:55
4044
  msgid "White list"
4045
  msgstr ""
4046
 
4047
- #: strings.php:57
4048
  msgctxt "alignment"
4049
  msgid "Default"
4050
  msgstr ""
4051
 
4052
- #: strings.php:58
4053
  msgid "Align left"
4054
  msgstr ""
4055
 
4056
- #: strings.php:59
4057
  msgid "Align right"
4058
  msgstr ""
4059
 
4060
- #: strings.php:60
4061
  msgid "Center"
4062
  msgstr ""
4063
 
4064
- #: strings.php:61
4065
  msgid "Float left"
4066
  msgstr ""
4067
 
4068
- #: strings.php:62
4069
  msgid "Float right"
4070
  msgstr ""
4071
 
4072
- #: strings.php:63
4073
  msgid "No wrapping"
4074
  msgstr ""
4075
 
4076
- #: strings.php:64
4077
  msgid "Custom CSS"
4078
  msgstr ""
4079
 
4080
- #: strings.php:65
4081
  msgid "Sticky left"
4082
  msgstr ""
4083
 
4084
- #: strings.php:66
4085
  msgid "Sticky right"
4086
  msgstr ""
4087
 
4088
- #: strings.php:67
4089
  msgid "Sticky top"
4090
  msgstr ""
4091
 
4092
- #: strings.php:68
4093
  msgid "Sticky bottom"
4094
  msgstr ""
4095
 
4096
- #: strings.php:69
4097
  msgctxt "alignment"
4098
  msgid "Sticky"
4099
  msgstr ""
4100
 
4101
- #: strings.php:71
4102
  msgctxt "using"
4103
  msgid "auto counter"
4104
  msgstr ""
4105
 
4106
- #: strings.php:72
4107
  msgctxt "using"
4108
  msgid "PHP function calls counter"
4109
  msgstr ""
4110
 
4111
- #: strings.php:73
4112
  msgctxt "using"
4113
  msgid "content processing counter"
4114
  msgstr ""
4115
 
4116
- #: strings.php:74
4117
  msgctxt "using"
4118
  msgid "excerpt processing counter"
4119
  msgstr ""
4120
 
4121
- #: strings.php:75
4122
  msgctxt "using"
4123
  msgid "before post processing counter"
4124
  msgstr ""
4125
 
4126
- #: strings.php:76
4127
  msgctxt "using"
4128
  msgid "after post processing counter"
4129
  msgstr ""
4130
 
4131
- #: strings.php:77
4132
  msgctxt "using"
4133
  msgid "widget drawing counter"
4134
  msgstr ""
4135
 
4136
- #: strings.php:78
4137
  msgctxt "using"
4138
  msgid "subpages counter"
4139
  msgstr ""
4140
 
4141
- #: strings.php:79
4142
  msgctxt "using"
4143
  msgid "posts counter"
4144
  msgstr ""
4145
 
4146
- #: strings.php:80
4147
  msgctxt "using"
4148
  msgid "paragraphs counter"
4149
  msgstr ""
4150
 
4151
- #: strings.php:81
4152
  msgctxt "using"
4153
  msgid "comments counter"
4154
  msgstr ""
4155
 
4156
- #: strings.php:83
 
 
 
 
 
4157
  msgctxt "posts"
4158
  msgid "Individually disabled"
4159
  msgstr ""
4160
 
4161
- #: strings.php:84
4162
  msgctxt "posts"
4163
  msgid "Individually enabled"
4164
  msgstr ""
4165
 
4166
- #: strings.php:85
4167
  msgctxt "static pages"
4168
  msgid "Individually disabled"
4169
  msgstr ""
4170
 
4171
- #: strings.php:86
4172
  msgctxt "static pages"
4173
  msgid "Individually enabled"
4174
  msgstr ""
4175
 
4176
- #: strings.php:88
4177
  msgid "Server-side"
4178
  msgstr ""
4179
 
4180
- #: strings.php:89
4181
  msgctxt "Insertion"
4182
  msgid "Client-side"
4183
  msgstr ""
4184
 
4185
- #: strings.php:90
4186
  msgctxt "Dynamic blocks"
4187
  msgid "Client-side show"
4188
  msgstr ""
4189
 
4190
- #: strings.php:91
4191
  msgctxt "Dynamic blocks"
4192
  msgid "Client-side insert"
4193
  msgstr ""
4194
 
4195
- #: strings.php:92
4196
  msgctxt "Insertion"
4197
  msgid "Server-side using W3 Total Cache"
4198
  msgstr ""
4199
 
4200
- #: strings.php:93
4201
  msgctxt "Insertion"
4202
  msgid "Client-side when DOM ready"
4203
  msgstr ""
4204
 
4205
- #: strings.php:98
4206
  msgid "Replace element"
4207
  msgstr ""
4208
 
4209
- #: strings.php:100
4210
  msgid "desktop devices"
4211
  msgstr ""
4212
 
4213
- #: strings.php:101
4214
  msgid "mobile devices"
4215
  msgstr ""
4216
 
4217
- #: strings.php:102
4218
  msgid "tablet devices"
4219
  msgstr ""
4220
 
4221
- #: strings.php:103
4222
  msgid "phone devices"
4223
  msgstr ""
4224
 
4225
- #: strings.php:104
4226
  msgid "desktop and tablet devices"
4227
  msgstr ""
4228
 
4229
- #: strings.php:105
4230
  msgid "desktop and phone devices"
4231
  msgstr ""
4232
 
4233
- #: strings.php:107
4234
  msgid "Stick to the left"
4235
  msgstr ""
4236
 
4237
- #: strings.php:108
4238
  msgid "Stick to the content left"
4239
  msgstr ""
4240
 
4241
- #: strings.php:109
4242
  msgid "Stick to the content right"
4243
  msgstr ""
4244
 
4245
- #: strings.php:110
4246
  msgid "Stick to the right"
4247
  msgstr ""
4248
 
4249
- #: strings.php:112
4250
  msgid "Stick to the top"
4251
  msgstr ""
4252
 
4253
- #: strings.php:113
4254
  msgid "Scroll with the content"
4255
  msgstr ""
4256
 
4257
- #: strings.php:114
4258
  msgid "Stick to the bottom"
4259
  msgstr ""
4260
 
4261
- #: strings.php:116
4262
  msgid "Fade"
4263
  msgstr ""
4264
 
4265
- #: strings.php:117
4266
  msgid "Slide"
4267
  msgstr ""
4268
 
4269
- #: strings.php:118
4270
  msgid "Slide and Fade"
4271
  msgstr ""
4272
 
4273
- #: strings.php:119
4274
  msgid "Flip"
4275
  msgstr ""
4276
 
4277
- #: strings.php:120
4278
  msgid "Zoom In"
4279
  msgstr ""
4280
 
4281
- #: strings.php:121
4282
  msgid "Zoom Out"
4283
  msgstr ""
4284
 
4285
- #: strings.php:122
4286
  msgid "Turn"
4287
  msgstr ""
4288
 
4289
- #: strings.php:124
4290
  msgid "Page loaded"
4291
  msgstr ""
4292
 
4293
- #: strings.php:125
4294
  msgid "Page scrolled (%)"
4295
  msgstr ""
4296
 
4297
- #: strings.php:126
4298
  msgid "Page scrolled (px)"
4299
  msgstr ""
4300
 
4301
- #: strings.php:127
4302
  msgid "Element visible"
4303
  msgstr ""
4304
 
4305
- #: strings.php:129
4306
  msgid "Insert immediately"
4307
  msgstr ""
4308
 
4309
- #: strings.php:130
4310
  msgid "Delay insertion"
4311
  msgstr ""
4312
 
4313
- #: strings.php:131
4314
  msgid "Insert between dates"
4315
  msgstr ""
4316
 
4317
- #: strings.php:132
4318
  msgid "Insert outside dates"
4319
  msgstr ""
4320
 
4321
- #: strings.php:133
4322
  msgid "Insert only"
4323
  msgstr ""
4324
 
4325
- #: strings.php:134
4326
  msgid "Insert for posts published between dates"
4327
  msgstr ""
4328
 
4329
- #: strings.php:135
4330
  msgid "Insert for posts published outside dates"
4331
  msgstr ""
4332
 
4333
- #: strings.php:137
4334
  msgctxt "functions"
4335
  msgid "Standard"
4336
  msgstr ""
4337
 
4338
- #: strings.php:138
4339
  msgctxt "detection"
4340
  msgid "Standard"
4341
  msgstr ""
4342
 
4343
- #: strings.php:139
4344
  msgctxt "functions"
4345
  msgid "Multibyte"
4346
  msgstr ""
4347
 
4348
- #: strings.php:141
4349
  msgctxt "action"
4350
  msgid "None"
4351
  msgstr ""
4352
 
4353
- #: strings.php:142
4354
  msgctxt "button"
4355
  msgid "None"
4356
  msgstr ""
4357
 
4358
- #: strings.php:143
4359
  msgid "Popup Message"
4360
  msgstr ""
4361
 
4362
- #: strings.php:144
4363
  msgid "Redirection"
4364
  msgstr ""
4365
 
4366
- #: strings.php:146
4367
  msgid "Do nothnig"
4368
  msgstr ""
4369
 
4370
- #: strings.php:148
4371
  msgctxt "Action when ad blocking detected"
4372
  msgid "Show"
4373
  msgstr ""
4374
 
4375
- #: strings.php:149
4376
  msgctxt "Action when ad blocking detected"
4377
  msgid "Hide"
4378
  msgstr ""
4379
 
4380
- #: strings.php:151
4381
  msgctxt "tracking"
4382
  msgid "Internal"
4383
  msgstr ""
4384
 
4385
- #: strings.php:152
4386
  msgctxt "detection"
4387
  msgid "Advanced"
4388
  msgstr ""
4389
 
4390
- #: strings.php:155
4391
  msgid "Top right"
4392
  msgstr ""
4393
 
4394
- #: strings.php:156
4395
  msgid "Top left"
4396
  msgstr ""
4397
 
4398
- #: strings.php:157
4399
  msgid "Bottom right"
4400
  msgstr ""
4401
 
4402
- #: strings.php:158
4403
  msgid "Bottom left"
4404
  msgstr ""
4405
 
4406
- #: strings.php:160
4407
  msgctxt "AdSense Ad Type"
4408
  msgid "Standard"
4409
  msgstr ""
4410
 
4411
- #: strings.php:161
4412
  msgctxt "AdSense Ad Type"
4413
  msgid "Link"
4414
  msgstr ""
4415
 
4416
- #: strings.php:162
4417
  msgctxt "AdSense Ad Type"
4418
  msgid "In-article"
4419
  msgstr ""
4420
 
4421
- #: strings.php:163
4422
  msgctxt "AdSense Ad Type"
4423
  msgid "In-feed"
4424
  msgstr ""
4425
 
4426
- #: strings.php:164
4427
  msgctxt "AdSense Ad Type"
4428
  msgid "Matched content"
4429
  msgstr ""
4430
 
4431
- #: strings.php:165
4432
  msgctxt "AdSense Ad Type"
4433
  msgid "Auto Ads"
4434
  msgstr ""
4435
 
4436
- #: strings.php:167
4437
  msgctxt "AMP ad"
4438
  msgid "Disabled"
4439
  msgstr ""
4440
 
4441
- #: strings.php:168
4442
  msgid "Above the fold"
4443
  msgstr ""
4444
 
4445
- #: strings.php:169
4446
  msgid "Below the fold"
4447
  msgstr ""
4448
 
4449
- #: strings.php:171
4450
  msgctxt "size"
4451
  msgid "Fixed"
4452
  msgstr ""
4453
 
4454
- #: strings.php:172
4455
  msgctxt "size"
4456
  msgid "Responsive"
4457
  msgstr ""
4458
 
4459
- #: strings.php:173
4460
  msgctxt "size"
4461
  msgid "Fixed by viewport"
4462
  msgstr ""
4463
 
4464
- #: strings.php:178
4465
  msgctxt "Button"
4466
  msgid "Hide"
4467
  msgstr ""
4468
 
4469
- #: strings.php:180
4470
  msgid "Insertion expired"
4471
  msgstr ""
4472
 
4473
- #: strings.php:181
4474
  msgid "Duration"
4475
  msgstr ""
4476
 
4477
- #: strings.php:182
4478
  msgid "Invalid end date - must be after start date"
4479
  msgstr ""
4480
 
4481
- #: strings.php:183
4482
  msgid "Invalid start date - only data for 1 year back is available"
4483
  msgstr ""
4484
 
4485
- #: strings.php:184
4486
  msgid "Invalid date range - only data for 1 year can be displayed"
4487
  msgstr ""
4488
 
4489
- #: strings.php:185 strings.php:186 strings.php:187 strings.php:188
4490
- #: strings.php:189 strings.php:190
4491
  msgid "day"
4492
  msgid_plural "days"
4493
  msgstr[0] ""
4494
  msgstr[1] ""
4495
 
4496
- #: strings.php:191
4497
  msgid "Warning"
4498
  msgstr ""
4499
 
4500
- #: strings.php:192
4501
  msgid "Delete"
4502
  msgstr ""
4503
 
4504
- #: strings.php:194
4505
  msgid "Delete all statistics data?"
4506
  msgstr ""
4507
 
4508
  #. translators: %s: dates
4509
- #: strings.php:196
4510
  msgid "Delete statistics data between %s and %s?"
4511
  msgstr ""
4512
 
4513
- #: strings.php:197
4514
  msgid "Cancel block order rearrangement"
4515
  msgstr ""
4516
 
4517
- #: strings.php:199
4518
  msgid "downloading..."
4519
  msgstr ""
4520
 
4521
- #: strings.php:200
4522
  msgid "download error"
4523
  msgstr ""
4524
 
4525
- #: strings.php:201
4526
  msgid "update error"
4527
  msgstr ""
4528
 
4529
- #: strings.php:202
4530
  msgid "Updating..."
4531
  msgstr ""
4532
 
4533
- #: strings.php:204
4534
  msgid "ERROR"
4535
  msgstr ""
4536
 
4537
- #: strings.php:205
4538
  msgid "Error reloading settings"
4539
  msgstr ""
4540
 
4541
- #: strings.php:207
 
4542
  msgid "Search..."
4543
  msgstr ""
4544
 
4545
- #: strings.php:220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4546
  msgid "Add"
4547
  msgstr ""
4548
 
4549
- #: strings.php:221
4550
  msgid "Parent"
4551
  msgstr ""
4552
 
4553
- #: strings.php:222
4554
  msgid "Cancel element selection"
4555
  msgstr ""
4556
 
4557
- #: strings.php:223
4558
  msgid "Select parent element"
4559
  msgstr ""
4560
 
4561
- #: strings.php:224
4562
  msgid "CSS selector"
4563
  msgstr ""
4564
 
4565
- #: strings.php:225
4566
  msgid "Use current selector"
4567
  msgstr ""
4568
 
4569
- #: strings.php:226
4570
  msgid "ELEMENT"
4571
  msgstr ""
4572
 
4573
- #: strings.php:227
4574
  msgid "PATH"
4575
  msgstr ""
4576
 
4577
- #: strings.php:228
4578
  msgid "SELECTOR"
4579
  msgstr ""
4580
 
4581
- #: strings.php:229
4582
  msgctxt "Block"
4583
  msgid "VISIBLE"
4584
  msgstr ""
4585
 
4586
- #: strings.php:230
4587
  msgctxt "Block"
4588
  msgid "HIDDEN"
4589
  msgstr ""
1
+ # Copyright (C) 2019 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.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
+ "POT-Creation-Date: 2019-01-07 23:17:37+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: 2019-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:284
16
  msgctxt "Menu item"
17
  msgid "Debugging DEMO"
18
  msgstr ""
19
 
20
+ #: ad-inserter.php:300
21
  msgctxt "Menu item"
22
  msgid "Label Blocks"
23
  msgstr ""
24
 
25
+ #: ad-inserter.php:307
26
  msgctxt "Menu item"
27
  msgid "Show Positions"
28
  msgstr ""
29
 
30
+ #: ad-inserter.php:378
31
  msgctxt "Menu item"
32
  msgid "Show HTML Tags"
33
  msgstr ""
34
 
35
+ #: ad-inserter.php:385
36
  msgctxt "Menu item"
37
  msgid "Disable Insertion"
38
  msgstr ""
39
 
40
+ #: ad-inserter.php:394
41
  msgctxt "Menu item"
42
  msgid "Ad Blocking Status"
43
  msgstr ""
44
 
45
+ #: ad-inserter.php:401
46
  msgctxt "Menu item"
47
  msgid "Simulate Ad Blocking"
48
  msgstr ""
49
 
50
+ #: ad-inserter.php:411
51
  msgctxt "Menu item"
52
  msgid "Log Processing"
53
  msgstr ""
54
 
55
  #. translators: Debugging position name Before HTML element
56
+ #: ad-inserter.php:935
57
  msgid "Before"
58
  msgstr ""
59
 
60
  #. translators: Debugging position name After HTML element
61
+ #: ad-inserter.php:940
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:945 strings.php:98
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:950 strings.php:99
74
  msgid "Append content"
75
  msgstr ""
76
 
77
  #. translators: Debugging position name Replace content of HTML element
78
+ #: ad-inserter.php:955 strings.php:100
79
  msgid "Replace content"
80
  msgstr ""
81
 
82
  #. translators: Debugging position name Replace HTML element
83
+ #: ad-inserter.php:960 strings.php:150
84
  msgid "Replace"
85
  msgstr ""
86
 
87
  #. translators: Debugging message when output buffering is enabled
88
+ #: ad-inserter.php:1005
89
  msgid "OUTPUT BUFFERING"
90
  msgstr ""
91
 
92
  #. translators: Debugging position
93
+ #: ad-inserter.php:1009
94
  msgid "Above Header"
95
  msgstr ""
96
 
97
+ #: ad-inserter.php:1210
98
  msgctxt "Menu item"
99
  msgid "Log In"
100
  msgstr ""
101
 
102
  #. translators: %s: Ad Inserter
103
+ #: ad-inserter.php:1484 ad-inserter.php:2351
104
  msgid "%s Settings"
105
  msgstr ""
106
 
107
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
108
+ #: ad-inserter.php:1922
109
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
110
  msgstr ""
111
 
112
+ #: ad-inserter.php:1922
113
  msgid "NO ACTION"
114
  msgstr ""
115
 
116
+ #: ad-inserter.php:1923
117
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
118
  msgstr ""
119
 
120
+ #: ad-inserter.php:1924
121
  msgid "AD BLOCKING DETECTED - ACTION"
122
  msgstr ""
123
 
124
+ #: ad-inserter.php:1925
125
  msgid "AD BLOCKING NOT DETECTED"
126
  msgstr ""
127
 
128
+ #: ad-inserter.php:1926
129
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
130
  msgstr ""
131
 
132
+ #: ad-inserter.php:1927
133
  msgid "AD BLOCKING DETECTED - NO ACTION"
134
  msgstr ""
135
 
136
  #. Translators: 1: number of blocks, 2: Ad Inserter
137
+ #: ad-inserter.php:2122
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:2123 includes/functions.php:1452
144
  msgid "No, thank you."
145
  msgstr ""
146
 
147
  #. Translators: %s: Ad Inserter
148
+ #: ad-inserter.php:2126
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:2127 includes/functions.php:1454
154
  msgid "Not now, maybe later."
155
  msgstr ""
156
 
157
+ #: ad-inserter.php:2137
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:2139
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:2145
171
  msgid "Rate %s"
172
  msgstr ""
173
 
174
+ #: ad-inserter.php:2150
175
  msgid "I already did."
176
  msgstr ""
177
 
178
+ #: ad-inserter.php:2164
179
  msgctxt "Menu item"
180
  msgid "Settings"
181
  msgstr ""
182
 
183
  #. translators: %s: Ad Inserter
184
+ #: ad-inserter.php:2238
185
  msgctxt "Meta box name"
186
  msgid "%s Individual Exceptions"
187
  msgstr ""
188
 
189
+ #: ad-inserter.php:2267 ad-inserter.php:7724 class.php:1926
190
+ #: includes/preview.php:1792 includes/preview.php:1836
191
+ #: includes/preview.php:1873 settings.php:3208 strings.php:3
192
  msgid "Block"
193
  msgstr ""
194
 
195
+ #: ad-inserter.php:2268 settings.php:3209 settings.php:3283
196
  msgid "Name"
197
  msgstr ""
198
 
199
+ #: ad-inserter.php:2269 settings.php:947 settings.php:3211
200
  msgid "Automatic insertion"
201
  msgstr ""
202
 
203
+ #: ad-inserter.php:2272
204
  msgid "Default insertion for pages"
205
  msgstr ""
206
 
207
+ #: ad-inserter.php:2273
208
  msgid "Default insertion for posts"
209
  msgstr ""
210
 
211
  #. translators: For this post or page
212
+ #: ad-inserter.php:2276
213
  msgctxt "Page"
214
  msgid "For this"
215
  msgstr ""
216
 
217
+ #: ad-inserter.php:2277
218
  msgctxt "Post"
219
  msgid "For this"
220
  msgstr ""
221
 
222
+ #: ad-inserter.php:2285
223
  msgctxt "Enabled/disabled on all"
224
  msgid "pages"
225
  msgstr ""
226
 
227
+ #: ad-inserter.php:2286
228
  msgctxt "Default insertion for"
229
  msgid "pages"
230
  msgstr ""
231
 
232
+ #: ad-inserter.php:2290
233
  msgctxt "Enabled/disabled on all"
234
  msgid "posts"
235
  msgstr ""
236
 
237
+ #: ad-inserter.php:2291
238
  msgctxt "Default insertion for"
239
  msgid "posts"
240
  msgstr ""
241
 
242
+ #: ad-inserter.php:2310 ad-inserter.php:2323 strings.php:156
243
  msgid "Enabled"
244
  msgstr ""
245
 
246
  #. translators: Menu items
247
+ #: ad-inserter.php:2310 ad-inserter.php:2323 includes/functions.php:2036
248
  #: strings.php:16
249
  msgid "Disabled"
250
  msgstr ""
251
 
252
  #. translators: Enabled on all pages or posts
253
+ #: ad-inserter.php:2313
254
  msgid "Enabled on all"
255
  msgstr ""
256
 
257
  #. translators: Disabled on all pages or posts
258
+ #: ad-inserter.php:2315
259
  msgid "Disabled on all"
260
  msgstr ""
261
 
262
  #. translators: No individual exceptions enabled for pages or posts
263
+ #: ad-inserter.php:2343
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:2348
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:2353
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:2356
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:2357
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:2359
296
  msgid "For more information check page %s"
297
  msgstr ""
298
 
299
  #. translators: Ad Inserter Exceptions documentation page
300
+ #: ad-inserter.php:2361
301
  msgid "Individual Exceptions"
302
  msgstr ""
303
 
304
+ #: ad-inserter.php:2406
305
  msgid "STATIC PAGE"
306
  msgstr ""
307
 
308
+ #: ad-inserter.php:2409
309
  msgid "POST"
310
  msgstr ""
311
 
312
+ #: ad-inserter.php:2412
313
  msgid "HOMEPAGE"
314
  msgstr ""
315
 
316
+ #: ad-inserter.php:2415
317
  msgid "CATEGORY PAGE"
318
  msgstr ""
319
 
320
+ #: ad-inserter.php:2418
321
  msgid "SEARCH PAGE"
322
  msgstr ""
323
 
324
+ #: ad-inserter.php:2421
325
  msgid "ARCHIVE PAGE"
326
  msgstr ""
327
 
328
+ #: ad-inserter.php:2424
329
  msgid "ERROR 404 PAGE"
330
  msgstr ""
331
 
332
+ #: ad-inserter.php:2427
333
  msgid "AJAX CALL"
334
  msgstr ""
335
 
336
+ #: ad-inserter.php:2430
337
  msgid "UNKNOWN PAGE TYPE"
338
  msgstr ""
339
 
340
+ #: ad-inserter.php:2447
341
  msgid "Click to delete ad blocking detection cokies"
342
  msgstr ""
343
 
344
+ #: ad-inserter.php:2448
345
  msgid "AD BLOCKING STATUS UNKNOWN"
346
  msgstr ""
347
 
348
  #. translators: %s: AdSense Auto Ads
349
+ #: ad-inserter.php:2472
350
  msgid ""
351
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
352
  "positions"
353
  msgstr ""
354
 
355
+ #: ad-inserter.php:2595
356
  msgid "Code for insertion"
357
  msgstr ""
358
 
359
+ #: ad-inserter.php:2595
360
  msgid "character"
361
  msgid_plural "characters"
362
  msgstr[0] ""
363
  msgstr[1] ""
364
 
365
+ #: ad-inserter.php:2638
366
  msgid "Header code"
367
  msgstr ""
368
 
369
+ #: ad-inserter.php:2638
370
  msgctxt "Header code"
371
  msgid "DISABLED"
372
  msgstr ""
373
 
374
+ #: ad-inserter.php:2638 ad-inserter.php:2857
375
  msgid "character inserted"
376
  msgid_plural "characters inserted"
377
  msgstr[0] ""
378
  msgstr[1] ""
379
 
380
+ #: ad-inserter.php:2671
381
  msgid "Automatically placed by AdSense Auto ads code"
382
  msgstr ""
383
 
384
+ #: ad-inserter.php:2857
385
+ msgid "Footer code"
386
  msgstr ""
387
 
388
+ #: ad-inserter.php:2857
389
+ msgctxt "Footer code"
390
+ msgid "DISABLED"
391
  msgstr ""
392
 
393
+ #: ad-inserter.php:2863
394
+ msgid "JAVASCRIPT NOT WORKING"
395
  msgstr ""
396
 
397
+ #: ad-inserter.php:2863
398
+ msgid "NO JAVASCRIPT ERRORS"
399
+ msgstr ""
400
+
401
+ #: ad-inserter.php:2863
402
+ msgid "JAVASCRIPT ERRORS"
403
  msgstr ""
404
 
405
  #. translators: block name (block with default settings)
406
+ #: ad-inserter.php:4903
407
  msgctxt "Block name"
408
  msgid "Default"
409
  msgstr ""
410
 
411
  #. translators: %s: Ad Inserter
412
+ #: ad-inserter.php:5474
413
  msgid "Error importing %s settings."
414
  msgstr ""
415
 
416
+ #: ad-inserter.php:5475
417
  msgid "Error importing settings for block"
418
  msgid_plural "Error importing settings for blocks:"
419
  msgstr[0] ""
420
  msgstr[1] ""
421
 
422
+ #: ad-inserter.php:5524
423
  msgid "Settings saved."
424
  msgstr ""
425
 
426
+ #: ad-inserter.php:5609
427
  msgid "Settings cleared."
428
  msgstr ""
429
 
430
+ #: ad-inserter.php:5953 ad-inserter.php:5955 ad-inserter.php:5978
431
  msgid "word"
432
  msgid_plural "words"
433
  msgstr[0] ""
434
  msgstr[1] ""
435
 
436
+ #: ad-inserter.php:5994 ad-inserter.php:6105
437
  msgid "HTML TAGS REMOVED"
438
  msgstr ""
439
 
440
+ #: ad-inserter.php:6181
441
  msgid "BEFORE COMMENTS"
442
  msgstr ""
443
 
444
+ #: ad-inserter.php:6289
445
  msgid "AFTER COMMENTS"
446
  msgstr ""
447
 
448
+ #: ad-inserter.php:6352
449
  msgid "BETWEEN COMMENTS"
450
  msgstr ""
451
 
452
+ #: ad-inserter.php:7374
453
  msgid "requires WordPress 4.0 or newer"
454
  msgstr ""
455
 
456
+ #: ad-inserter.php:7374
457
  msgid "Please update!"
458
  msgstr ""
459
 
460
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
461
  #. name with HTML tags will be added)
462
+ #: ad-inserter.php:7597
463
  msgid "Thank you for installing"
464
  msgstr ""
465
 
466
  #. translators: Opt-in message: %s: HTML tags
467
+ #: ad-inserter.php:7599
468
  msgid ""
469
  "We would like to %s track its usage %s on your site. This is completely "
470
  "optional and can be disabled at any time."
471
  msgstr ""
472
 
473
+ #: ad-inserter.php:7601
474
  msgid ""
475
  "We don't record any sensitive data, only information regarding the WordPress "
476
  "environment and plugin usage, which will help us to make improvements to the "
478
  msgstr ""
479
 
480
  #. translators: Deactivation message: %s: HTML tags
481
+ #: ad-inserter.php:7638
482
  msgid ""
483
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
484
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
486
  msgstr ""
487
 
488
  #. translators: %s: Ad Inserter
489
+ #: ad-inserter.php:7681
490
  msgid "%s block."
491
  msgstr ""
492
 
493
  #. translators: widget title
494
+ #: ad-inserter.php:7697 ad-inserter.php:7733
495
  msgid "Processing log"
496
  msgstr ""
497
 
498
  #. translators: widget title
499
+ #: ad-inserter.php:7699 ad-inserter.php:7734
500
  msgid "Dummy widget"
501
  msgstr ""
502
 
503
  #. translators: widget title
504
+ #: ad-inserter.php:7701 ad-inserter.php:7732
505
  msgid "Debugging tools"
506
  msgstr ""
507
 
508
  #. translators: block status (widget title)
509
+ #: ad-inserter.php:7708
510
  msgctxt "block"
511
  msgid "PAUSED"
512
  msgstr ""
513
 
514
+ #: ad-inserter.php:7709
515
  msgid "WIDGET DISABLED"
516
  msgstr ""
517
 
518
+ #: ad-inserter.php:7710
519
  msgid "Unknown block"
520
  msgstr ""
521
 
522
+ #: ad-inserter.php:7719 includes/functions.php:2502 settings.php:1095
523
  msgid "Title"
524
  msgstr ""
525
 
526
+ #: ad-inserter.php:7741
527
  msgctxt "Widget"
528
  msgid "Sticky"
529
  msgstr ""
530
 
531
+ #: ad-inserter.php:7790
532
  msgid ""
533
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
534
  "Inserter you need to first deactivate Ad Inserter Pro."
535
  msgstr ""
536
 
537
+ #: ad-inserter.php:7791
538
  msgid ""
539
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
540
  "will clear all settings that are available only in the Pro version (blocks "
542
  msgstr ""
543
 
544
  #. translators: %s: Ad Inserter
545
+ #: class.php:452 class.php:461 class.php:464
546
  msgid "PHP error in %s block"
547
  msgstr ""
548
 
549
+ #: class.php:1892
550
  msgid "Counters"
551
  msgstr ""
552
 
553
+ #: class.php:1896
554
  msgid "Content"
555
  msgstr ""
556
 
557
+ #: class.php:1901
558
  msgid "Excerpt"
559
  msgstr ""
560
 
561
+ #: class.php:1906 strings.php:17
562
  msgid "Before post"
563
  msgstr ""
564
 
565
+ #: class.php:1911 strings.php:18
566
  msgid "After post"
567
  msgstr ""
568
 
569
+ #: class.php:1916 settings.php:1599 settings.php:3215
570
  msgid "Widget"
571
  msgstr ""
572
 
573
+ #: class.php:1921 settings.php:3213
574
  msgid "PHP function call"
575
  msgstr ""
576
 
577
+ #: class.php:1956
578
  msgid "AJAX REQUEST"
579
  msgstr ""
580
 
581
+ #: class.php:1959
582
+ msgid "Ajax request for block in iframe"
583
  msgstr ""
584
 
585
+ #: class.php:1978
586
+ msgid "Ajax request url, click to open it in a new tab"
587
+ msgstr ""
588
+
589
+ #: class.php:1981
590
  msgid "IN THE LOOP"
591
  msgstr ""
592
 
593
+ #: class.php:1981
594
  msgid "YES"
595
  msgstr ""
596
 
597
+ #: class.php:1981
598
  msgid "NO"
599
  msgstr ""
600
 
601
+ #: class.php:2017
602
+ msgid "BLOCK"
603
+ msgstr ""
604
+
605
+ #: class.php:2017
606
+ msgctxt "block or widget"
607
+ msgid "INSERTED BUT NOT VISIBLE"
608
+ msgstr ""
609
+
610
  #. translators: %s: list parameters and type
611
+ #: class.php:2410
612
  msgid "parameters='%s' type='%s'"
613
  msgstr ""
614
 
615
  #. translators: %s: list parameters and type
616
+ #: class.php:2412
617
  msgid "referers='%s' type='%s'"
618
  msgstr ""
619
 
620
  #. translators: %s: list parameters and type
621
+ #: class.php:2473
622
  msgid "countries='%s' type='%s'"
623
  msgstr ""
624
 
625
  #. translators: %s: list parameters and type
626
+ #: class.php:2475
627
  msgid "ip addresses='%s' type='%s'"
628
  msgstr ""
629
 
630
+ #: class.php:2687 strings.php:218
 
 
 
 
 
 
 
 
 
 
 
 
 
631
  msgid "BEFORE"
632
  msgstr ""
633
 
634
+ #: class.php:2695 strings.php:220
635
  msgid "PREPEND CONTENT"
636
  msgstr ""
637
 
638
+ #: class.php:2699 strings.php:221
639
  msgid "APPEND CONTENT"
640
  msgstr ""
641
 
642
+ #: class.php:2703 strings.php:222
643
  msgid "REPLACE CONTENT"
644
  msgstr ""
645
 
646
+ #: class.php:2707 strings.php:223
647
  msgid "REPLACE ELEMENT"
648
  msgstr ""
649
 
650
+ #: class.php:2718 strings.php:219
651
  msgid "AFTER"
652
  msgstr ""
653
 
654
+ #: class.php:2785
655
  msgctxt "JavaScript"
656
  msgid "script"
657
  msgstr ""
658
 
659
+ #: class.php:2788 settings.php:1865
660
  msgid "for"
661
  msgstr ""
662
 
663
+ #: class.php:5306 class.php:5358
664
  msgctxt "category name"
665
  msgid "Uncategorized"
666
  msgstr ""
667
 
668
+ #: class.php:5847
669
  msgid ""
670
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
671
  "extension for PHP."
672
  msgstr ""
673
 
674
  #: includes/editor.php:7 includes/placeholders.php:345
675
+ #: includes/preview.php:1778 strings.php:225
676
  msgid "Use"
677
  msgstr ""
678
 
679
+ #: includes/editor.php:8 includes/preview.php:1779
680
  msgid "Reset"
681
  msgstr ""
682
 
683
  #: includes/editor.php:9 includes/placeholders.php:347
684
+ #: includes/preview.php:1781 strings.php:196 strings.php:224
685
  msgid "Cancel"
686
  msgstr ""
687
 
690
  msgstr ""
691
 
692
  #: includes/editor.php:262 includes/preview-adb.php:289
693
+ #: includes/preview.php:1768
694
  msgid ""
695
  "This page was not loaded properly. Please check browser, plugins and ad "
696
  "blockers."
701
  msgstr ""
702
 
703
  #: includes/editor.php:264 includes/preview-adb.php:291
704
+ #: includes/preview.php:1770
705
  msgid "PAGE BLOCKED"
706
  msgstr ""
707
 
708
+ #: includes/functions.php:252
709
+ msgid "%d of %d names shown"
710
+ msgstr ""
711
+
712
+ #. translators: %s: name filter
713
+ #: includes/functions.php:271
714
+ msgid "No name matches filter"
715
+ msgstr ""
716
+
717
+ #: includes/functions.php:327
718
  msgid "Online documentation"
719
  msgstr ""
720
 
721
+ #: includes/functions.php:327 settings.php:168
722
  msgid "Documentation"
723
  msgstr ""
724
 
725
+ #: includes/functions.php:340 settings.php:171
726
  msgid "Blocks"
727
  msgstr ""
728
 
729
  #. translators: %s: Ad Inserter Pro
730
+ #: includes/functions.php:363
731
  msgid ""
732
  "Import %s settings when saving - if checked, the encoded settings below will "
733
  "be imported for all blocks and settings"
734
  msgstr ""
735
 
736
+ #: includes/functions.php:363
737
  msgid "Import Settings for"
738
  msgstr ""
739
 
740
+ #: includes/functions.php:367
741
  msgid "Saved settings for"
742
  msgstr ""
743
 
744
+ #: includes/functions.php:384
745
  msgid "License Key"
746
  msgstr ""
747
 
748
+ #: includes/functions.php:387
749
  msgid "License Key for"
750
  msgstr ""
751
 
752
+ #: includes/functions.php:393
753
+ msgid "Hide license key"
754
+ msgstr ""
755
+
756
+ #: includes/functions.php:393
757
+ msgid "Hide key"
758
+ msgstr ""
759
+
760
+ #: includes/functions.php:414
761
  msgid "Main content element"
762
  msgstr ""
763
 
764
+ #: includes/functions.php:417
765
  msgid ""
766
  "Main content element (#id or .class) for 'Stick to the content' position. "
767
  "Leave empty unless position is not properly calculated."
768
  msgstr ""
769
 
770
+ #: includes/functions.php:418 settings.php:1131 settings.php:2455
771
  msgid "Open HTML element selector"
772
  msgstr ""
773
 
774
+ #: includes/functions.php:423
775
  msgid "Lazy loading offset"
776
  msgstr ""
777
 
778
+ #: includes/functions.php:426
779
  msgid "Offset of the block from the visible viewport when it should be loaded"
780
  msgstr ""
781
 
782
+ #: includes/functions.php:437
783
  msgid "Export / Import Block Settings"
784
  msgstr ""
785
 
786
+ #: includes/functions.php:452
787
  msgid "Track impressions and clicks for this block"
788
  msgstr ""
789
 
790
+ #: includes/functions.php:452
791
  msgid " - global tracking disabled"
792
  msgstr ""
793
 
794
+ #: includes/functions.php:461
795
  msgid "Toggle Ad Blocking Statistics"
796
  msgstr ""
797
 
798
+ #: includes/functions.php:470 includes/functions.php:2372
799
  msgid "Toggle Statistics"
800
  msgstr ""
801
 
802
  #. translators: %s: Ad Inserter Pro
803
+ #: includes/functions.php:486
804
  msgid "%s license key is not set. Continue?"
805
  msgstr ""
806
 
807
  #. translators: %s: Ad Inserter Pro
808
+ #: includes/functions.php:490
809
  msgid "Invalid %s license key. Continue?"
810
  msgstr ""
811
 
812
  #. translators: %s: Ad Inserter Pro
813
+ #: includes/functions.php:494
814
  msgid "%s license overused. Continue?"
815
  msgstr ""
816
 
817
+ #: includes/functions.php:498 settings.php:1935
818
  msgid "Save Settings"
819
  msgstr ""
820
 
821
+ #: includes/functions.php:558 includes/preview.php:1913
822
  msgid "Horizontal position"
823
  msgstr ""
824
 
825
+ #: includes/functions.php:581
826
  msgid ""
827
  "Horizontal margin from the content or screen edge, empty means default value "
828
  "from CSS"
829
  msgstr ""
830
 
831
+ #: includes/functions.php:589 includes/preview.php:1968
832
  msgid "Vertical position"
833
  msgstr ""
834
 
835
+ #: includes/functions.php:604
836
  msgid ""
837
  "Vertical margin from the top or bottom screen edge, empty means default "
838
  "value from CSS"
839
  msgstr ""
840
 
841
+ #: includes/functions.php:629 includes/preview.php:2019
842
  msgid "Animation"
843
  msgstr ""
844
 
845
+ #: includes/functions.php:647
846
  msgid "Trigger"
847
  msgstr ""
848
 
849
+ #: includes/functions.php:656
850
  msgid ""
851
  "Trigger value: page scroll in %, page scroll in px or element with selector "
852
  "(#id or .class) becomes visible"
853
  msgstr ""
854
 
855
+ #: includes/functions.php:660
856
  msgid "Offset"
857
  msgstr ""
858
 
859
+ #: includes/functions.php:660
860
  msgid "Offset of trigger element"
861
  msgstr ""
862
 
863
+ #: includes/functions.php:664
864
  msgid "Delay"
865
  msgstr ""
866
 
867
+ #: includes/functions.php:664
868
  msgid "Delay animation after trigger condition"
869
  msgstr ""
870
 
871
+ #: includes/functions.php:668
872
  msgid "Trigger once"
873
  msgstr ""
874
 
875
+ #: includes/functions.php:670
876
  msgid "Trigger animation only once"
877
  msgstr ""
878
 
879
+ #: includes/functions.php:709
880
  msgid "Tracking is globally disabled"
881
  msgstr ""
882
 
883
+ #: includes/functions.php:713
884
  msgid "Tracking for this block is disabled"
885
  msgstr ""
886
 
887
+ #: includes/functions.php:723 settings.php:2976 settings.php:3012
888
+ #: strings.php:206
889
  msgid "Loading..."
890
  msgstr ""
891
 
892
+ #: includes/functions.php:739
893
  msgid ""
894
  "Clear statistics data for the selected range - clear both dates to delete "
895
  "all data for this block"
896
  msgstr ""
897
 
898
+ #: includes/functions.php:743
899
  msgid "Auto refresh data for the selected range every 60 seconds"
900
  msgstr ""
901
 
902
+ #: includes/functions.php:746
903
  msgid "Load data for last month"
904
  msgstr ""
905
 
906
+ #: includes/functions.php:746
907
  msgid "Last Month"
908
  msgstr ""
909
 
910
+ #: includes/functions.php:749
911
  msgid "Load data for this month"
912
  msgstr ""
913
 
914
+ #: includes/functions.php:749
915
  msgid "This Month"
916
  msgstr ""
917
 
918
+ #: includes/functions.php:752
919
  msgid "Load data for this year"
920
  msgstr ""
921
 
922
+ #: includes/functions.php:752
923
  msgid "This Year"
924
  msgstr ""
925
 
926
+ #: includes/functions.php:755
927
  msgid "Load data for the last 15 days"
928
  msgstr ""
929
 
930
+ #: includes/functions.php:758
931
  msgid "Load data for the last 30 days"
932
  msgstr ""
933
 
934
+ #: includes/functions.php:761
935
  msgid "Load data for the last 90 days"
936
  msgstr ""
937
 
938
+ #: includes/functions.php:764
939
  msgid "Load data for the last 180 days"
940
  msgstr ""
941
 
942
+ #: includes/functions.php:767
943
  msgid "Load data for the last 365 days"
944
  msgstr ""
945
 
946
+ #: includes/functions.php:777
947
  msgid "Load data for the selected range"
948
  msgstr ""
949
 
950
+ #: includes/functions.php:793
951
  msgid ""
952
  "Import settings when saving - if checked, the encoded settings below will be "
953
  "imported for this block"
954
  msgstr ""
955
 
956
+ #: includes/functions.php:793
957
  msgid "Import settings for block"
958
  msgstr ""
959
 
960
+ #: includes/functions.php:797
961
  msgid ""
962
  "Import block name when saving - if checked and 'Import settings for block' "
963
  "is also checked, the name from encoded settings below will be imported for "
964
  "this block"
965
  msgstr ""
966
 
967
+ #: includes/functions.php:797
968
  msgid "Import block name"
969
  msgstr ""
970
 
971
+ #: includes/functions.php:801
972
  msgid "Saved settings for block"
973
  msgstr ""
974
 
975
+ #: includes/functions.php:814
976
  msgid "Export / Import Ad Inserter Pro Settings"
977
  msgstr ""
978
 
979
+ #: includes/functions.php:823
980
  msgid "Are you sure you want to clear all statistics data for all blocks?"
981
  msgstr ""
982
 
983
+ #: includes/functions.php:825
984
  msgid "Clear All Statistics Data"
985
  msgstr ""
986
 
987
+ #: includes/functions.php:851
988
+ msgid "Toggle country/city editor"
989
+ msgstr ""
990
+
991
+ #: includes/functions.php:857
992
  msgid "IP Addresses"
993
  msgstr ""
994
 
995
+ #: includes/functions.php:860
996
  msgid "Toggle IP address editor"
997
  msgstr ""
998
 
999
+ #: includes/functions.php:863
1000
  msgid ""
1001
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1002
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
1003
  msgstr ""
1004
 
1005
+ #: includes/functions.php:867
1006
  msgid "Blacklist IP addresses"
1007
  msgstr ""
1008
 
1009
+ #: includes/functions.php:871
1010
  msgid "Whitelist IP addresses"
1011
  msgstr ""
1012
 
1013
+ #: includes/functions.php:882
1014
  msgid "Countries"
1015
  msgstr ""
1016
 
1017
+ #: includes/functions.php:883
1018
+ msgid "Cities"
1019
+ msgstr ""
1020
+
1021
+ #: includes/functions.php:887 includes/functions.php:2332
1022
  msgid "Toggle country editor"
1023
  msgstr ""
1024
 
1025
+ #: includes/functions.php:890
1026
+ msgid "Toggle city editor"
1027
+ msgstr ""
1028
+
1029
+ #: includes/functions.php:894 includes/functions.php:2335
1030
  msgid "Comma separated country ISO Alpha-2 codes"
1031
  msgstr ""
1032
 
1033
+ #: includes/functions.php:898
1034
  msgid "Blacklist countries"
1035
  msgstr ""
1036
 
1037
+ #: includes/functions.php:902
1038
  msgid "Whitelist countries"
1039
  msgstr ""
1040
 
1041
+ #: includes/functions.php:1212 includes/functions.php:1413
1042
+ msgid "Enter license key"
1043
  msgstr ""
1044
 
1045
  #. translators: %s: Ad Inserter Pro
1046
+ #: includes/functions.php:1218
1047
+ msgid ""
1048
+ "%s license key is not set. Plugin functionality is limited and updates are "
1049
+ "disabled."
1050
  msgstr ""
1051
 
1052
+ #: includes/functions.php:1227 includes/functions.php:1422
1053
+ msgid "Check license key"
1054
  msgstr ""
1055
 
1056
  #. translators: %s: Ad Inserter Pro
1057
+ #: includes/functions.php:1233
1058
+ msgid "Invalid %s license key."
1059
  msgstr ""
1060
 
1061
  #. translators: %s: Ad Inserter Pro
1062
+ #: includes/functions.php:1242
1063
+ msgid "%s license expired. Plugin updates are disabled."
1064
  msgstr ""
1065
 
1066
+ #: includes/functions.php:1243
1067
+ msgid "Renew license"
 
1068
  msgstr ""
1069
 
1070
+ #. translators: %s: Ad Inserter Pro
1071
+ #: includes/functions.php:1251
1072
+ msgid "%s license overused. Plugin updates are disabled."
1073
  msgstr ""
1074
 
1075
+ #: includes/functions.php:1252
1076
+ msgid "Upgrade license"
 
1077
  msgstr ""
1078
 
1079
+ #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1080
+ #: includes/functions.php:1415
1081
  msgid ""
1082
+ "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1083
+ "limited and updates are disabled."
1084
  msgstr ""
1085
 
1086
+ #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1087
+ #: includes/functions.php:1424
1088
+ msgid "%1$s Warning: %2$s Invalid %3$s license key."
 
 
1089
  msgstr ""
1090
 
1091
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1092
+ #: includes/functions.php:1438
1093
  msgid ""
1094
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1095
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1096
  msgstr ""
1097
 
1098
  #. translators: 1, 3: HTML tags, 2: percentage
1099
+ #: includes/functions.php:1445
1100
  msgid ""
1101
  "During the license period and 30 days after the license has expired we offer "
1102
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1103
  msgstr ""
1104
 
1105
+ #: includes/functions.php:1468
1106
  msgid "Renew the licence"
1107
  msgstr ""
1108
 
1109
+ #: includes/functions.php:1470
1110
  msgid "Update license status"
1111
  msgstr ""
1112
 
1113
  #. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
1114
+ #: includes/functions.php:1481
1115
  msgid ""
1116
+ "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1117
+ "Upgrade license %5$s"
1118
  msgstr ""
1119
 
1120
  #. Translators: %s: HTML tag
1121
+ #: includes/functions.php:1501
1122
  msgid "Warning: %s MaxMind IP geolocation database not found."
1123
  msgstr ""
1124
 
1125
+ #: includes/functions.php:1965
1126
  msgid "Geolocation"
1127
  msgstr ""
1128
 
1129
+ #: includes/functions.php:1969
1130
  msgid "Exceptions"
1131
  msgstr ""
1132
 
1133
+ #: includes/functions.php:1974
1134
  msgid "Multisite"
1135
  msgstr ""
1136
 
1137
+ #: includes/functions.php:1979
1138
  msgid "Tracking"
1139
  msgstr ""
1140
 
1141
  #. translators: %d: days, hours, minutes
1142
+ #: includes/functions.php:2010
1143
  msgid "Scheduled in %d days %d hours %d minutes"
1144
  msgstr ""
1145
 
1146
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1147
  #. HTML code for long dash separator
1148
+ #: includes/functions.php:2019
1149
  msgid "Active %s expires in %d days %d hours %d minutes"
1150
  msgstr ""
1151
 
1152
+ #: includes/functions.php:2023
1153
  msgid "Expired"
1154
  msgstr ""
1155
 
1156
+ #: includes/functions.php:2031 settings.php:1252 settings.php:1267
1157
+ #: settings.php:1851
1158
  msgid "and"
1159
  msgstr ""
1160
 
1161
+ #: includes/functions.php:2034
1162
  msgid "fallback"
1163
  msgstr ""
1164
 
1165
+ #: includes/functions.php:2035
1166
  msgid "Block to be used when scheduling expires"
1167
  msgstr ""
1168
 
1169
+ #: includes/functions.php:2060
1170
+ msgid "Load in iframe"
1171
+ msgstr ""
1172
+
1173
+ #: includes/functions.php:2064 includes/placeholders.php:382
1174
  msgid "Width"
1175
  msgstr ""
1176
 
1177
+ #: includes/functions.php:2065
1178
+ msgid "iframe width, empty means full width (100%)"
1179
  msgstr ""
1180
 
1181
+ #: includes/functions.php:2071 includes/placeholders.php:377
1182
  msgid "Height"
1183
  msgstr ""
1184
 
1185
+ #: includes/functions.php:2072
1186
+ msgid "iframe height, empty means adjust it to iframe content height"
1187
+ msgstr ""
1188
+
1189
+ #: includes/functions.php:2079
1190
+ msgid "Ad label in iframe"
1191
  msgstr ""
1192
 
1193
+ #: includes/functions.php:2084
1194
+ msgid "Preview iframe code"
1195
+ msgstr ""
1196
+
1197
+ #: includes/functions.php:2084 includes/preview.php:1790 settings.php:934
1198
+ #: settings.php:2517
1199
+ msgid "Preview"
1200
+ msgstr ""
1201
+
1202
+ #: includes/functions.php:2098 includes/functions.php:3458
1203
+ #: includes/functions.php:3521 settings.php:1968
1204
  msgid "Ad Blocking"
1205
  msgstr ""
1206
 
1207
  #. translators: 1, 2 and 3, 4: HTML tags
1208
+ #: includes/functions.php:2107
1209
  msgid ""
1210
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1211
  "for tracking!"
1213
 
1214
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1215
  #. header
1216
+ #: includes/functions.php:2116
1217
  msgid ""
1218
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1219
  "enabled and automatic insertion %6$s!"
1220
  msgstr ""
1221
 
1222
+ #: includes/functions.php:2134
1223
  msgid "When ad blocking is detected"
1224
  msgstr ""
1225
 
1226
+ #: includes/functions.php:2143
1227
  msgid "replacement"
1228
  msgstr ""
1229
 
1230
+ #: includes/functions.php:2144
1231
  msgid "Block to be shown when ad blocking is detected"
1232
  msgstr ""
1233
 
1234
+ #: includes/functions.php:2145
1235
  msgctxt "replacement"
1236
  msgid "None"
1237
  msgstr ""
1238
 
1239
+ #: includes/functions.php:2162
1240
  msgid "Close button"
1241
  msgstr ""
1242
 
1243
+ #: includes/functions.php:2209
1244
  msgid "Lazy loading"
1245
  msgstr ""
1246
 
1247
  #. Translators: %s MaxMind
1248
+ #: includes/functions.php:2267
1249
  msgid "This product includes GeoLite2 data created by %s"
1250
  msgstr ""
1251
 
1252
+ #: includes/functions.php:2278
1253
  msgid "IP geolocation database"
1254
  msgstr ""
1255
 
1256
+ #: includes/functions.php:2281
1257
  msgid "Select IP geolocation database."
1258
  msgstr ""
1259
 
1260
+ #: includes/functions.php:2292
1261
  msgid "Automatic database updates"
1262
  msgstr ""
1263
 
1264
+ #: includes/functions.php:2295
1265
  msgid ""
1266
  "Automatically download and update free GeoLite2 IP geolocation database by "
1267
  "MaxMind"
1268
  msgstr ""
1269
 
1270
+ #: includes/functions.php:2303
1271
  msgid "Database"
1272
  msgstr ""
1273
 
1274
+ #: includes/functions.php:2306
1275
  msgid ""
1276
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1277
  "file"
1278
  msgstr ""
1279
 
1280
  #. translators: %d: group number
1281
+ #: includes/functions.php:2324
1282
  msgid "Group %d"
1283
  msgstr ""
1284
 
1285
+ #: includes/functions.php:2330
1286
  msgid "countries"
1287
  msgstr ""
1288
 
1289
+ #: includes/functions.php:2365
1290
  msgid "Enable tracking"
1291
  msgstr ""
1292
 
1293
+ #: includes/functions.php:2380
1294
  msgid "Impression and Click Tracking"
1295
  msgstr ""
1296
 
1297
+ #: includes/functions.php:2394
1298
  msgid "Internal"
1299
  msgstr ""
1300
 
1301
+ #: includes/functions.php:2398
1302
  msgid "Track impressions and clicks with internal tracking and statistics"
1303
  msgstr ""
1304
 
1305
+ #: includes/functions.php:2403
1306
  msgid "External"
1307
  msgstr ""
1308
 
1309
+ #: includes/functions.php:2407
1310
  msgid ""
1311
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1312
  "code installed)"
1313
  msgstr ""
1314
 
1315
+ #: includes/functions.php:2412
1316
  msgid "Track Pageviews"
1317
  msgstr ""
1318
 
1319
+ #: includes/functions.php:2418
1320
  msgid "Track Pageviews by Device (as configured for viewports)"
1321
  msgstr ""
1322
 
1323
+ #: includes/functions.php:2428
1324
  msgid "Track for Logged in Users"
1325
  msgstr ""
1326
 
1327
+ #: includes/functions.php:2434
1328
  msgid "Track impressions and clicks from logged in users"
1329
  msgstr ""
1330
 
1331
+ #: includes/functions.php:2444
1332
  msgid "Click Detection"
1333
  msgstr ""
1334
 
1335
+ #: includes/functions.php:2450
1336
  msgid ""
1337
  "Standard method detects clicks only on banners with links, Advanced method "
1338
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1339
  msgstr ""
1340
 
1341
+ #: includes/functions.php:2489
1342
  msgid "Are you sure you want to clear all exceptions for block"
1343
  msgstr ""
1344
 
1345
+ #: includes/functions.php:2490 settings.php:1098
1346
  msgid "Clear all exceptions for block"
1347
  msgstr ""
1348
 
1349
+ #: includes/functions.php:2497
1350
  msgid "Are you sure you want to clear all exceptions?"
1351
  msgstr ""
1352
 
1353
+ #: includes/functions.php:2497
1354
  msgid "Clear all exceptions for all blocks"
1355
  msgstr ""
1356
 
1357
+ #: includes/functions.php:2502 settings.php:3285
1358
  msgid "Type"
1359
  msgstr ""
1360
 
1361
+ #: includes/functions.php:2520
1362
  msgid "View"
1363
  msgstr ""
1364
 
1365
+ #: includes/functions.php:2521 includes/placeholders.php:346
1366
+ #: includes/preview.php:2081 settings.php:1014
1367
  msgid "Edit"
1368
  msgstr ""
1369
 
1370
+ #: includes/functions.php:2551
1371
  msgid "Are you sure you want to clear all exceptions for"
1372
  msgstr ""
1373
 
1374
+ #: includes/functions.php:2552
1375
  msgid "Clear all exceptions for"
1376
  msgstr ""
1377
 
1378
+ #: includes/functions.php:2565
1379
  msgid "No exceptions"
1380
  msgstr ""
1381
 
1382
  #. translators: %s: Ad Inserter Pro
1383
+ #: includes/functions.php:2576
1384
  msgid "%s options for network blogs"
1385
  msgstr ""
1386
 
1387
  #. translators: %s: Ad Inserter Pro
1388
+ #: includes/functions.php:2581
1389
  msgid "Enable %s widgets for sub-sites"
1390
  msgstr ""
1391
 
1392
+ #: includes/functions.php:2581
1393
  msgid "Widgets"
1394
  msgstr ""
1395
 
1396
+ #: includes/functions.php:2586
1397
  msgid "Enable PHP code processing for sub-sites"
1398
  msgstr ""
1399
 
1400
+ #: includes/functions.php:2586
1401
  msgid "PHP Processing"
1402
  msgstr ""
1403
 
1404
  #. translators: %s: Ad Inserter Pro
1405
+ #: includes/functions.php:2591
1406
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1407
  msgstr ""
1408
 
1409
+ #: includes/functions.php:2591
1410
  msgid "Post/Page exceptions"
1411
  msgstr ""
1412
 
1413
  #. translators: %s: Ad Inserter Pro
1414
+ #: includes/functions.php:2596
1415
  msgid "Enable %s settings page for sub-sites"
1416
  msgstr ""
1417
 
1418
+ #: includes/functions.php:2596
1419
  msgid "Settings page"
1420
  msgstr ""
1421
 
1422
  #. translators: %s: Ad Inserter Pro
1423
+ #: includes/functions.php:2601
1424
  msgid "Enable %s settings of main site to be used for all blogs"
1425
  msgstr ""
1426
 
1427
+ #: includes/functions.php:2601
1428
  msgid "Main site settings used for all blogs"
1429
  msgstr ""
1430
 
1431
+ #: includes/functions.php:2612 settings.php:2413
1432
  msgid "Ad Blocking Detection"
1433
  msgstr ""
1434
 
1435
+ #: includes/functions.php:2618
1436
  msgid ""
1437
  "Standard method is reliable but should be used only if Advanced method does "
1438
  "not work. Advanced method recreates files used for detection with random "
1440
  "publicly accessible"
1441
  msgstr ""
1442
 
1443
+ #: includes/functions.php:3012 includes/functions.php:3102
1444
+ #: includes/functions.php:3122
1445
  msgid "AD BLOCKING"
1446
  msgstr ""
1447
 
1448
+ #: includes/functions.php:3013 includes/functions.php:3053
1449
+ #: includes/functions.php:3096 includes/functions.php:3123
1450
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1451
  msgstr ""
1452
 
1453
+ #: includes/functions.php:3016 includes/functions.php:3095
1454
+ #: includes/functions.php:3129
1455
  msgid "NO AD BLOCKING"
1456
  msgstr ""
1457
 
1458
+ #: includes/functions.php:3052 includes/functions.php:3059
1459
  msgid "AD BLOCKING REPLACEMENT"
1460
  msgstr ""
1461
 
1462
+ #: includes/functions.php:3457
1463
  msgctxt "Version"
1464
  msgid "Unknown"
1465
  msgstr ""
1466
 
1467
+ #: includes/functions.php:3457
1468
  msgctxt "Times"
1469
  msgid "DISPLAYED"
1470
  msgstr ""
1471
 
1472
+ #: includes/functions.php:3457
1473
  msgid "No version"
1474
  msgstr ""
1475
 
1476
+ #: includes/functions.php:3458
1477
  msgctxt "Times"
1478
  msgid "BLOCKED"
1479
  msgstr ""
1480
 
1481
+ #: includes/functions.php:3520
1482
  msgid "Pageviews"
1483
  msgstr ""
1484
 
1485
+ #: includes/functions.php:3520
1486
  msgid "Impressions"
1487
  msgstr ""
1488
 
1489
+ #: includes/functions.php:3521 includes/functions.php:3522
1490
+ #: includes/functions.php:3530
1491
  msgid "Clicks"
1492
  msgstr ""
1493
 
1494
+ #: includes/functions.php:3522
1495
  msgid "events"
1496
  msgstr ""
1497
 
1498
+ #: includes/functions.php:3523
1499
  msgid "Ad Blocking Share"
1500
  msgstr ""
1501
 
1502
  #. translators: CTR as Click Through Rate
1503
+ #: includes/functions.php:3523 includes/functions.php:3535
1504
  msgid "CTR"
1505
  msgstr ""
1506
 
1507
+ #: includes/functions.php:3617
1508
  msgid "pageviews"
1509
  msgid_plural "pageviews"
1510
  msgstr[0] ""
1511
  msgstr[1] ""
1512
 
1513
+ #: includes/functions.php:3617
1514
  msgid "impressions"
1515
  msgid_plural "impressions"
1516
  msgstr[0] ""
1517
  msgstr[1] ""
1518
 
1519
+ #: includes/functions.php:3621
1520
  msgid "event"
1521
  msgid_plural "events"
1522
  msgstr[0] ""
1523
  msgstr[1] ""
1524
 
1525
+ #: includes/functions.php:3621
1526
  msgid "click"
1527
  msgid_plural "clicks"
1528
  msgstr[0] ""
1529
  msgstr[1] ""
1530
 
1531
+ #: includes/functions.php:3689
1532
+ msgctxt "Pageviews / Impressions"
1533
  msgid "Average"
1534
  msgstr ""
1535
 
1536
+ #: includes/functions.php:3707
1537
+ msgctxt "Ad Blocking / Clicks"
1538
  msgid "Average"
1539
  msgstr ""
1540
 
1541
+ #: includes/functions.php:3724
1542
  msgctxt "Ad Blocking Share / CTR"
1543
  msgid "Average"
1544
  msgstr ""
1545
 
1546
+ #. Translators: %d: viewport number
1547
+ #: includes/functions.php:3804 settings.php:2194 settings.php:2200
1548
+ #: settings.php:2206
1549
+ msgid "Viewport %d name"
1550
+ msgstr ""
1551
+
1552
+ #: includes/functions.php:3807 settings.php:2196 settings.php:2202
1553
+ #: settings.php:2209
1554
+ msgid "min width"
1555
+ msgstr ""
1556
+
1557
+ #: includes/functions.php:3838 settings.php:1682
1558
+ msgid "Device min width %s px"
1559
+ msgstr ""
1560
+
1561
+ #: includes/functions.php:3879 includes/functions.php:3882 settings.php:2232
1562
+ #: settings.php:2235 settings.php:2256 settings.php:2259
1563
+ msgid "Enable hook"
1564
+ msgstr ""
1565
+
1566
+ #. translators: %d: hook number
1567
+ #: includes/functions.php:3882 settings.php:2235 settings.php:2259
1568
+ msgid "Hook %d name"
1569
+ msgstr ""
1570
+
1571
+ #: includes/functions.php:3885 settings.php:2238 settings.php:2262
1572
+ msgid "Hook name for automatic insertion selection"
1573
+ msgstr ""
1574
+
1575
+ #: includes/functions.php:3888 settings.php:2241 settings.php:2265
1576
+ msgid "action"
1577
+ msgstr ""
1578
+
1579
+ #: includes/functions.php:3891 settings.php:2244 settings.php:2268
1580
+ msgid "Action name as used in the do_action () function"
1581
+ msgstr ""
1582
+
1583
+ #: includes/functions.php:3894 settings.php:2247 settings.php:2271
1584
+ msgid "priority"
1585
+ msgstr ""
1586
+
1587
+ #: includes/functions.php:3897 settings.php:2250 settings.php:2274
1588
+ msgid "Priority for the hook (default is 10)"
1589
+ msgstr ""
1590
+
1591
  #: includes/placeholders.php:19
1592
  msgid "Custom"
1593
  msgstr ""
1612
  msgid "Placeholder"
1613
  msgstr ""
1614
 
1615
+ #: includes/placeholders.php:356 settings.php:778 settings.php:3286
1616
  msgid "Size"
1617
  msgstr ""
1618
 
1680
  msgid "Remove dummy paragraph"
1681
  msgstr ""
1682
 
1683
+ #: includes/preview-adb.php:9 includes/preview.php:1778
1684
  msgid "Use current settings"
1685
  msgstr ""
1686
 
1707
  msgid "Default"
1708
  msgstr ""
1709
 
1710
+ #: includes/preview-adb.php:12 includes/preview.php:1781
1711
  msgid "Close preview window"
1712
  msgstr ""
1713
 
1720
  msgid "Ad Blocking Detected Message Preview"
1721
  msgstr ""
1722
 
1723
+ #: includes/preview-adb.php:348 settings.php:2530
1724
  msgid "Message CSS"
1725
  msgstr ""
1726
 
1727
+ #: includes/preview-adb.php:353 settings.php:2538
1728
  msgid "Overlay CSS"
1729
  msgstr ""
1730
 
1731
+ #: includes/preview.php:144
1732
  msgid "Sticky Code Preview"
1733
  msgstr ""
1734
 
1735
+ #: includes/preview.php:144
1736
  msgid "Code Preview"
1737
  msgstr ""
1738
 
1739
+ #: includes/preview.php:1776
1740
  msgid "Highlight inserted code"
1741
  msgstr ""
1742
 
1743
+ #: includes/preview.php:1776
1744
  msgid "Highlight"
1745
  msgstr ""
1746
 
1747
+ #: includes/preview.php:1779
1748
  msgid "Reset to block settings"
1749
  msgstr ""
1750
 
1751
+ #: includes/preview.php:1794
1752
+ msgid "AdSense ad unit"
1753
  msgstr ""
1754
 
1755
+ #: includes/preview.php:1836 includes/preview.php:1873
1756
+ msgid "Code"
1757
  msgstr ""
1758
 
1759
+ #: includes/preview.php:1862
1760
  msgid "wrapping div"
1761
  msgstr ""
1762
 
1763
+ #: includes/preview.php:1867 includes/preview.php:1874
1764
  msgid "background"
1765
  msgstr ""
1766
 
1767
+ #: includes/preview.php:1892 includes/preview.php:2038 settings.php:978
1768
  msgid "Alignment and style"
1769
  msgstr ""
1770
 
1771
+ #: includes/preview.php:1960
1772
  msgid "Horizontal margin"
1773
  msgstr ""
1774
 
1775
+ #: includes/preview.php:2009
1776
  msgid "Vertical margin"
1777
  msgstr ""
1778
 
1779
+ #: includes/preview.php:2031
1780
  msgid "Animate"
1781
  msgstr ""
1782
 
1783
+ #: includes/preview.php:2090
1784
  msgid ""
1785
  "This is a preview of the code between dummy paragraphs. Here you can test "
1786
  "various block alignments, visually edit margin and padding values of the "
1790
  "restores all the values to those of the current block."
1791
  msgstr ""
1792
 
1793
+ #: includes/preview.php:2093
1794
  msgid ""
1795
  "This is a preview of the saved block between dummy paragraphs. It shows the "
1796
  "code with the alignment and style as it is set for this block. Highlight "
1797
  "button highlights background, wrapping div margin and code area."
1798
  msgstr ""
1799
 
1800
+ #: includes/preview.php:2095
1801
  msgid ""
1802
  "This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
1803
  "code was loaded from your AdSense account. The ad block is displayed on a "
1805
  "highlight ad block."
1806
  msgstr ""
1807
 
1808
+ #: includes/preview.php:2101
1809
  msgid ""
1810
  "You can resize the window (and refresh the page to reload ads) to check "
1811
  "display with different screen widths.\n"
1813
  "settings will be copied to the active block."
1814
  msgstr ""
1815
 
1816
+ #: includes/preview.php:2103
1817
  msgid ""
1818
  "Please note that the code, block name, alignment and style are taken from "
1819
  "the current block settings (may not be saved).\n"
1821
  "padding can't be set. However, you can use own HTML code for the block."
1822
  msgstr ""
1823
 
1824
+ #: includes/preview.php:2108 includes/preview.php:2122
1825
+ #: includes/preview.php:2132 includes/preview.php:2142
1826
+ #: includes/preview.php:2152
1827
  msgid ""
1828
  "Ad Inserter can be configured to insert any code anywhere on the page. Each "
1829
  "code with it's settings is called a block.\n"
1837
  "and manual insertion."
1838
  msgstr ""
1839
 
1840
+ #: includes/preview.php:2113 includes/preview.php:2127
1841
+ #: includes/preview.php:2137 includes/preview.php:2147
1842
+ #: includes/preview.php:2157
1843
  msgid ""
1844
  "Few very important things you need to know in order to insert code and "
1845
  "display some ad:\n"
1852
  "individual post/page exceptions."
1853
  msgstr ""
1854
 
1855
+ #: includes/preview.php:2119
1856
  msgid ""
1857
  "This is a preview of the code for sticky ads. Here you can test various "
1858
  "horizontal and vertical alignments, close button locations, visually edit "
1990
  msgid "General Settings"
1991
  msgstr ""
1992
 
1993
+ #: settings.php:566 settings.php:2289 settings.php:2347 settings.php:2510
1994
  msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
1995
  msgstr ""
1996
 
1997
+ #: settings.php:573
1998
  msgid "Toggle tools"
1999
  msgstr ""
2000
 
2001
+ #: settings.php:581
2002
  msgid "Process PHP code in block"
2003
  msgstr ""
2004
 
2005
+ #: settings.php:588
2006
  msgid "Disable insertion of this block"
2007
  msgstr ""
2008
 
2009
+ #: settings.php:600
2010
  msgid "Toggle code generator"
2011
  msgstr ""
2012
 
2013
+ #: settings.php:604
2014
  msgid "Toggle rotation editor"
2015
  msgstr ""
2016
 
2017
+ #: settings.php:608
2018
  msgid "Open visual HTML editor"
2019
  msgstr ""
2020
 
2021
+ #: settings.php:618
2022
  msgid "Show AdSense ad units"
2023
  msgstr ""
2024
 
2025
+ #: settings.php:627
2026
  msgid "Clear block"
2027
  msgstr ""
2028
 
2029
+ #: settings.php:632 settings.php:3180
2030
  msgid "Copy block"
2031
  msgstr ""
2032
 
2033
+ #: settings.php:636
2034
  msgid "Paste name"
2035
  msgstr ""
2036
 
2037
+ #: settings.php:640
2038
  msgid "Paste code"
2039
  msgstr ""
2040
 
2041
+ #: settings.php:644
2042
  msgid "Paste settings"
2043
  msgstr ""
2044
 
2045
+ #: settings.php:648
2046
  msgid "Paste block (name, code and settings)"
2047
  msgstr ""
2048
 
2049
+ #: settings.php:667
2050
  msgid "Remove option"
2051
  msgstr ""
2052
 
2053
+ #: settings.php:671
2054
  msgid "Add option"
2055
  msgstr ""
2056
 
2057
+ #: settings.php:686
2058
  msgid "Import code"
2059
  msgstr ""
2060
 
2061
+ #: settings.php:690
2062
  msgid "Generate code"
2063
  msgstr ""
2064
 
2065
+ #: settings.php:695
2066
  msgid "Banner"
2067
  msgstr ""
2068
 
2069
+ #: settings.php:706
2070
  msgid "Image"
2071
  msgstr ""
2072
 
2073
+ #: settings.php:714
2074
  msgid "Link"
2075
  msgstr ""
2076
 
2077
+ #: settings.php:725
2078
  msgid "Open link in a new tab"
2079
  msgstr ""
2080
 
2081
+ #: settings.php:726
2082
  msgid "Select Image"
2083
  msgstr ""
2084
 
2085
+ #: settings.php:727
2086
  msgid "Select Placeholder"
2087
  msgstr ""
2088
 
2089
+ #: settings.php:739
2090
  msgid "Comment"
2091
  msgstr ""
2092
 
2093
+ #: settings.php:748
2094
  msgctxt "AdSense"
2095
  msgid "Publisher ID"
2096
  msgstr ""
2097
 
2098
+ #: settings.php:757
2099
  msgctxt "AdSense"
2100
  msgid "Ad Slot ID"
2101
  msgstr ""
2102
 
2103
+ #: settings.php:766
2104
  msgid "Ad Type"
2105
  msgstr ""
2106
 
2107
+ #: settings.php:790
2108
  msgid "AMP Ad"
2109
  msgstr ""
2110
 
2111
+ #: settings.php:807
2112
  msgid "Show ad units from your AdSense account"
2113
  msgstr ""
2114
 
2115
+ #: settings.php:807
2116
  msgid "AdSense ad units"
2117
  msgstr ""
2118
 
2119
+ #: settings.php:824
2120
  msgctxt "AdSense"
2121
  msgid "Layout"
2122
  msgstr ""
2123
 
2124
+ #: settings.php:833
2125
  msgctxt "AdSense"
2126
  msgid "Layout Key"
2127
  msgstr ""
2128
 
2129
+ #: settings.php:930
2130
  msgid ""
2131
  "White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
2132
  "Cookie or Referer (domain)"
2133
  msgstr ""
2134
 
2135
+ #: settings.php:930
2136
  msgid "Lists"
2137
  msgstr ""
2138
 
2139
+ #: settings.php:931
2140
  msgid "Widget, Shortcode and PHP function call"
2141
  msgstr ""
2142
 
2143
+ #: settings.php:931
2144
  msgid "Manual"
2145
  msgstr ""
2146
 
2147
+ #: settings.php:932
2148
  msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
2149
  msgstr ""
2150
 
2151
+ #: settings.php:932
2152
  msgid "Devices"
2153
  msgstr ""
2154
 
2155
+ #: settings.php:933
2156
  msgid ""
2157
  "Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
2158
  "feeds), Filter, Scheduling, General tag"
2159
  msgstr ""
2160
 
2161
+ #: settings.php:933
2162
  msgid "Misc"
2163
  msgstr ""
2164
 
2165
+ #: settings.php:934
2166
  msgid "Preview code and alignment"
2167
  msgstr ""
2168
 
2169
+ #: settings.php:937 settings.php:1933
2170
  msgid ""
2171
  "Rotation editor active - rotation code not generated! Make sure no rotation "
2172
  "editor is active before saving settings."
2173
  msgstr ""
2174
 
2175
+ #: settings.php:939
2176
  msgid "Save All Settings"
2177
  msgstr ""
2178
 
2179
+ #: settings.php:991 strings.php:182
2180
  msgctxt "Button"
2181
  msgid "Show"
2182
  msgstr ""
2183
 
2184
+ #: settings.php:1003
2185
  msgid "Custom CSS code for the wrapping div"
2186
  msgstr ""
2187
 
2188
+ #: settings.php:1006 settings.php:1007 settings.php:1008 settings.php:1009
2189
+ #: settings.php:1010 settings.php:1011
2190
  msgid "CSS code for the wrapping div, click to edit"
2191
  msgstr ""
2192
 
2193
+ #: settings.php:1026
2194
  msgid "Enable insertion on posts"
2195
  msgstr ""
2196
 
2197
+ #: settings.php:1028 settings.php:1034
2198
  msgid ""
2199
  "Individual post exceptions (if enabled here) can be configured in post "
2200
  "editor. Leave blank for no individual post exceptions."
2201
  msgstr ""
2202
 
2203
+ #: settings.php:1034
2204
  msgid "Posts"
2205
  msgstr ""
2206
 
2207
+ #: settings.php:1039
2208
  msgid "Toggle list of individual exceptions"
2209
  msgstr ""
2210
 
2211
+ #: settings.php:1049 settings.php:1050
2212
  msgid ""
2213
  "Enable insertion on homepage: latest posts (including on sub-pages), static "
2214
  "page or theme homepage (available positions may depend on hooks used by the "
2215
  "theme)"
2216
  msgstr ""
2217
 
2218
+ #: settings.php:1050
2219
  msgid "Homepage"
2220
  msgstr ""
2221
 
2222
+ #: settings.php:1054 settings.php:1055
2223
  msgid "Enable insertion on category blog pages (including sub-pages)"
2224
  msgstr ""
2225
 
2226
+ #: settings.php:1055
2227
  msgid "Category pages"
2228
  msgstr ""
2229
 
2230
+ #: settings.php:1062
2231
  msgid "Enable insertion on static pages"
2232
  msgstr ""
2233
 
2234
+ #: settings.php:1064 settings.php:1070
2235
  msgid ""
2236
  "Individual static page exceptions (if enabled here) can be configured in "
2237
  "page editor. Leave blank for no individual page exceptions."
2238
  msgstr ""
2239
 
2240
+ #: settings.php:1070
2241
  msgid "Static pages"
2242
  msgstr ""
2243
 
2244
+ #: settings.php:1076 settings.php:1077
2245
  msgid "Enable insertion on search blog pages"
2246
  msgstr ""
2247
 
2248
+ #: settings.php:1077
2249
  msgid "Search pages"
2250
  msgstr ""
2251
 
2252
+ #: settings.php:1081 settings.php:1082
2253
  msgid "Enable insertion on tag or archive blog pages"
2254
  msgstr ""
2255
 
2256
+ #: settings.php:1082
2257
  msgid "Tag / Archive pages"
2258
  msgstr ""
2259
 
2260
+ #: settings.php:1095
2261
  msgctxt "post"
2262
  msgid "Type"
2263
  msgstr ""
2264
 
2265
  #. translators: %d: block number
2266
+ #: settings.php:1097
2267
  msgid "Are you sure you want to clear all exceptions for block %d?"
2268
  msgstr ""
2269
 
2270
+ #: settings.php:1127
2271
  msgid "HTML element"
2272
  msgstr ""
2273
 
2274
+ #: settings.php:1140
2275
  msgid "HTML element selector or comma separated list of selectors"
2276
  msgstr ""
2277
 
2278
+ #: settings.php:1146 settings.php:2423
2279
  msgid "Action"
2280
  msgstr ""
2281
 
2282
+ #: settings.php:1157 settings.php:1726
2283
  msgid "Insertion"
2284
  msgstr ""
2285
 
2286
+ #: settings.php:1158
2287
  msgid ""
2288
  "Client-side insertion uses JavaScript to insert block when the page loads. "
2289
  "Server-side insertion inserts block when the page is generated but needs "
2290
  "Output buffering enabled."
2291
  msgstr ""
2292
 
2293
+ #: settings.php:1168
2294
  msgid "JavaScript code position"
2295
  msgstr ""
2296
 
2297
+ #: settings.php:1169
2298
  msgid ""
2299
  "Page position where the JavaScript code for client-side insertion will be "
2300
  "inserted. Should be after the HTML element if not waiting for DOM ready."
2301
  msgstr ""
2302
 
2303
+ #: settings.php:1183
2304
  msgid "Paragraphs"
2305
  msgstr ""
2306
 
2307
+ #: settings.php:1190
2308
  msgid ""
2309
  "Paragraph number or comma separated paragraph numbers: 1 to N means "
2310
  "paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
2314
  "negative number means counting from the opposite direction"
2315
  msgstr ""
2316
 
2317
+ #: settings.php:1196
2318
  msgid "Counting"
2319
  msgstr ""
2320
 
2321
+ #: settings.php:1197
2322
  msgid "Clearance"
2323
  msgstr ""
2324
 
2325
+ #: settings.php:1205
2326
+ msgid "Images"
2327
+ msgstr ""
2328
+
2329
+ #: settings.php:1212
2330
+ msgid ""
2331
+ "Image number or comma separated image numbers: 1 to N means image number, %N "
2332
+ "means every N images, empty means all images, 0 means random image, value "
2333
+ "between 0 and 1 means relative position on the page (0.2 means paragraph at "
2334
+ "20% of page images, 0.5 means middle image, 0.9 means paragraph at 90% of "
2335
+ "page images, etc.), negative number means counting from the opposite "
2336
+ "direction"
2337
+ msgstr ""
2338
+
2339
+ #: settings.php:1222
2340
  msgid "Count"
2341
  msgstr ""
2342
 
2343
+ #: settings.php:1228
2344
  msgid "paragraphs with tags"
2345
  msgstr ""
2346
 
2347
+ #: settings.php:1234
2348
  msgid "Comma separated HTML tag names, usually only 'p' tags are used"
2349
  msgstr ""
2350
 
2351
+ #: settings.php:1243
2352
  msgid "that have between"
2353
  msgstr ""
2354
 
2355
+ #: settings.php:1249
2356
  msgid "Minimum number of paragraph words, leave empty for no limit"
2357
  msgstr ""
2358
 
2359
+ #: settings.php:1258
2360
  msgid "Maximum number of paragraph words, leave empty for no limit"
2361
  msgstr ""
2362
 
2363
+ #: settings.php:1261 settings.php:1853
2364
  msgid "words"
2365
  msgstr ""
2366
 
2367
+ #: settings.php:1276 settings.php:1342 settings.php:1368
2368
  msgid "Comma separated texts"
2369
  msgstr ""
2370
 
2371
+ #: settings.php:1285
2372
  msgid "Minimum number of paragraphs"
2373
  msgstr ""
2374
 
2375
  #. translators: %s: list of HTML tags
2376
+ #: settings.php:1300
2377
  msgid ""
2378
  "Count also paragraphs inside %s elements - defined on general plugin "
2379
  "settings page - tab &#9881; / tab General"
2380
  msgstr ""
2381
 
2382
+ #: settings.php:1300
2383
  msgid "Count inside special elements"
2384
  msgstr ""
2385
 
2386
+ #: settings.php:1311
2387
  msgid "Minimum number of words in paragraphs above"
2388
  msgstr ""
2389
 
2390
+ #: settings.php:1317
2391
  msgid ""
2392
  "Used only with automatic insertion After paragraph and empty paragraph "
2393
  "numbers"
2394
  msgstr ""
2395
 
2396
+ #: settings.php:1327 settings.php:1353
2397
  msgid "In"
2398
  msgstr ""
2399
 
2400
+ #: settings.php:1333
2401
  msgid "Number of paragraphs above to check, leave empty to disable checking"
2402
  msgstr ""
2403
 
2404
+ #: settings.php:1336
2405
  msgid "paragraphs above avoid"
2406
  msgstr ""
2407
 
2408
+ #: settings.php:1359
2409
  msgid "Number of paragraphs below to check, leave empty to disable checking"
2410
  msgstr ""
2411
 
2412
+ #: settings.php:1362
2413
  msgid "paragraphs below avoid"
2414
  msgstr ""
2415
 
2416
+ #: settings.php:1378
2417
  msgid "If text is found"
2418
  msgstr ""
2419
 
2420
+ #: settings.php:1385
2421
  msgid "check up to"
2422
  msgstr ""
2423
 
2424
+ #: settings.php:1393
2425
  msgctxt "check up to"
2426
  msgid "paragraphs"
2427
  msgstr ""
2428
 
2429
+ #: settings.php:1409
2430
  msgid "Categories"
2431
  msgstr ""
2432
 
2433
+ #: settings.php:1412
2434
  msgid "Toggle category editor"
2435
  msgstr ""
2436
 
2437
+ #: settings.php:1415
2438
  msgid "Comma separated category slugs"
2439
  msgstr ""
2440
 
2441
+ #: settings.php:1419
2442
  msgid "Blacklist categories"
2443
  msgstr ""
2444
 
2445
+ #: settings.php:1423
2446
  msgid "Whitelist categories"
2447
  msgstr ""
2448
 
2449
+ #: settings.php:1435
2450
  msgid "Tags"
2451
  msgstr ""
2452
 
2453
+ #: settings.php:1438
2454
  msgid "Toggle tag editor"
2455
  msgstr ""
2456
 
2457
+ #: settings.php:1441
2458
  msgid "Comma separated tag slugs"
2459
  msgstr ""
2460
 
2461
+ #: settings.php:1445
2462
  msgid "Blacklist tags"
2463
  msgstr ""
2464
 
2465
+ #: settings.php:1449
2466
  msgid "Whitelist tags"
2467
  msgstr ""
2468
 
2469
+ #: settings.php:1461
2470
  msgid "Taxonomies"
2471
  msgstr ""
2472
 
2473
+ #: settings.php:1464
2474
  msgid "Toggle taxonomy editor"
2475
  msgstr ""
2476
 
2477
+ #: settings.php:1467
2478
  msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
2479
  msgstr ""
2480
 
2481
+ #: settings.php:1471
2482
  msgid "Blacklist taxonomies"
2483
  msgstr ""
2484
 
2485
+ #: settings.php:1475
2486
  msgid "Whitelist taxonomies"
2487
  msgstr ""
2488
 
2489
+ #: settings.php:1487
2490
  msgid "Post IDs"
2491
  msgstr ""
2492
 
2493
+ #: settings.php:1490
2494
  msgid "Toggle post/page ID editor"
2495
  msgstr ""
2496
 
2497
+ #: settings.php:1493
2498
  msgid "Comma separated post/page IDs"
2499
  msgstr ""
2500
 
2501
+ #: settings.php:1497
2502
  msgid "Blacklist IDs"
2503
  msgstr ""
2504
 
2505
+ #: settings.php:1501
2506
  msgid "Whitelist IDs"
2507
  msgstr ""
2508
 
2509
+ #: settings.php:1513
2510
  msgid "Urls"
2511
  msgstr ""
2512
 
2513
+ #: settings.php:1516
2514
  msgid "Toggle url editor"
2515
  msgstr ""
2516
 
2517
+ #: settings.php:1519
2518
  msgid ""
2519
  "Comma separated urls (page addresses) starting with / after domain name (e."
2520
  "g. /permalink-url, use only when you need to taget a specific url not "
2522
  "start*. *url-pattern*, *url-end)"
2523
  msgstr ""
2524
 
2525
+ #: settings.php:1523
2526
  msgid "Blacklist urls"
2527
  msgstr ""
2528
 
2529
+ #: settings.php:1527
2530
  msgid "Whitelist urls"
2531
  msgstr ""
2532
 
2533
+ #: settings.php:1538
2534
  msgid "Url parameters"
2535
  msgstr ""
2536
 
2537
+ #: settings.php:1542
2538
  msgid "Toggle url parameter and cookie editor"
2539
  msgstr ""
2540
 
2541
+ #: settings.php:1545
2542
  msgid ""
2543
  "Comma separated url query parameters or cookies with optional values (use "
2544
  "'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
2545
  msgstr ""
2546
 
2547
+ #: settings.php:1549
2548
  msgid "Blacklist url parameters"
2549
  msgstr ""
2550
 
2551
+ #: settings.php:1553
2552
  msgid "Whitelist url parameters"
2553
  msgstr ""
2554
 
2555
+ #: settings.php:1564
2556
+ msgid "Referrers"
2557
  msgstr ""
2558
 
2559
+ #: settings.php:1567
2560
  msgid "Toggle referer editor"
2561
  msgstr ""
2562
 
2563
+ #: settings.php:1570
2564
+ msgid ""
2565
+ "Comma separated domains, use # for no referrer, you can also use partial "
2566
+ "domains with * (domain-start*. *domain-pattern*, *domain-end)"
2567
  msgstr ""
2568
 
2569
+ #: settings.php:1574
2570
  msgid "Blacklist referers"
2571
  msgstr ""
2572
 
2573
+ #: settings.php:1578
2574
  msgid "Whitelist referers"
2575
  msgstr ""
2576
 
2577
+ #: settings.php:1598
2578
  msgid "Enable widget for this block"
2579
  msgstr ""
2580
 
2581
+ #: settings.php:1610
2582
  msgid "Enable shortcode for manual insertion of this block in posts and pages"
2583
  msgstr ""
2584
 
2585
+ #: settings.php:1611 settings.php:3214
2586
  msgid "Shortcode"
2587
  msgstr ""
2588
 
2589
+ #: settings.php:1626
2590
  msgid ""
2591
  "Enable PHP function call to insert this block at any position in theme file. "
2592
  "If function is disabled for block it will return empty string."
2593
  msgstr ""
2594
 
2595
+ #: settings.php:1627
2596
  msgid "PHP function"
2597
  msgstr ""
2598
 
2599
+ #: settings.php:1642
2600
  msgid "Client-side device detection"
2601
  msgstr ""
2602
 
2603
+ #: settings.php:1643
2604
  msgid "Server-side device detection"
2605
  msgstr ""
2606
 
2607
+ #: settings.php:1650
2608
  msgid "Use client-side detection to"
2609
  msgstr ""
2610
 
2611
  #. Translators: only on (the following devices): viewport names (devices)
2612
  #. listed
2613
+ #: settings.php:1657
2614
  msgid "only on"
2615
  msgstr ""
2616
 
2617
+ #: settings.php:1708
 
 
 
 
2618
  msgid "Use server-side detection to insert block only for"
2619
  msgstr ""
2620
 
2621
+ #: settings.php:1727
2622
  msgid "Filter"
2623
  msgstr ""
2624
 
2625
+ #: settings.php:1728
2626
  msgid "Word Count"
2627
  msgstr ""
2628
 
2629
+ #: settings.php:1729
2630
  msgid "Scheduling"
2631
  msgstr ""
2632
 
2633
+ #: settings.php:1730
2634
  msgid "Display"
2635
  msgstr ""
2636
 
2637
+ #: settings.php:1732 settings.php:1961
2638
  msgid "General"
2639
  msgstr ""
2640
 
2641
+ #: settings.php:1744
2642
  msgid "Old settings for AMP pages detected"
2643
  msgstr ""
2644
 
2645
+ #: settings.php:1744
2646
  msgid ""
2647
  "To insert different codes on normal and AMP pages separate them with "
2648
  "[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
2649
  "when you need to insert THE SAME CODE also on AMP pages (no AMP separator)."
2650
  msgstr ""
2651
 
2652
+ #: settings.php:1744
2653
  msgid "AMP pages"
2654
  msgstr ""
2655
 
2656
+ #: settings.php:1749
2657
  msgid "Enable insertion for Ajax requests"
2658
  msgstr ""
2659
 
2660
+ #: settings.php:1749
2661
  msgid "Ajax requests"
2662
  msgstr ""
2663
 
2664
+ #: settings.php:1754
2665
  msgid "Enable insertion in RSS feeds"
2666
  msgstr ""
2667
 
2668
+ #: settings.php:1754
2669
  msgid "RSS Feed"
2670
  msgstr ""
2671
 
2672
+ #: settings.php:1759
2673
  msgid "Enable insertion on page for Error 404: Page not found"
2674
  msgstr ""
2675
 
2676
+ #: settings.php:1759
2677
  msgid "Error 404 page"
2678
  msgstr ""
2679
 
2680
+ #: settings.php:1771
2681
  msgid "Maximum number of insertion of this block. Empty or 0 means no limit."
2682
  msgstr ""
2683
 
2684
+ #: settings.php:1772
2685
  msgid "Max"
2686
  msgstr ""
2687
 
2688
+ #: settings.php:1772
2689
  msgid "insertions"
2690
  msgstr ""
2691
 
2692
+ #: settings.php:1774
2693
  msgid ""
2694
  "Count this block for Max blocks per page limit (defined on the tab &#9881; / "
2695
  "tab General)"
2696
  msgstr ""
2697
 
2698
+ #: settings.php:1777 settings.php:2119
2699
  msgid "Max blocks per page"
2700
  msgstr ""
2701
 
2702
+ #: settings.php:1789
2703
  msgid "Insert for"
2704
  msgstr ""
2705
 
2706
+ #: settings.php:1797
2707
  msgid ""
2708
  "Insert block only when WP function in_the_loop () returns true (WP loop is "
2709
  "currently active). Might speed up insertion on content pages when "
2710
  "the_content filter is called multiple times."
2711
  msgstr ""
2712
 
2713
+ #: settings.php:1800
2714
  msgid "Insert only in the loop"
2715
  msgstr ""
2716
 
2717
+ #: settings.php:1806
2718
  msgid ""
2719
  "Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
2720
  msgstr ""
2721
 
2722
+ #: settings.php:1806
2723
  msgid "Disable caching"
2724
  msgstr ""
2725
 
2726
+ #: settings.php:1818
2727
  msgid "Filter insertions"
2728
  msgstr ""
2729
 
2730
+ #: settings.php:1821
2731
  msgid ""
2732
  "Filter multiple insertions by specifying wanted insertions for this block - "
2733
  "single number, comma separated numbers or %N for every N insertions - empty "
2735
  "using only one insertion type."
2736
  msgstr ""
2737
 
2738
+ #: settings.php:1824
2739
  msgid "using"
2740
  msgstr ""
2741
 
2742
+ #: settings.php:1843
2743
  msgid "Checked means specified calls are unwanted"
2744
  msgstr ""
2745
 
2746
+ #: settings.php:1843
2747
  msgid "Invert filter"
2748
  msgstr ""
2749
 
2750
+ #: settings.php:1849
2751
  msgid "Post/Static page must have between"
2752
  msgstr ""
2753
 
2754
+ #: settings.php:1850
2755
  msgid "Minimum number of post/static page words, leave empty for no limit"
2756
  msgstr ""
2757
 
2758
+ #: settings.php:1852
2759
  msgid "Maximum number of post/static page words, leave empty for no limit"
2760
  msgstr ""
2761
 
2762
+ #: settings.php:1865
2763
  msgid "days after publishing"
2764
  msgstr ""
2765
 
2766
+ #: settings.php:1867
2767
  msgid "Not available"
2768
  msgstr ""
2769
 
2770
+ #: settings.php:1880 settings.php:2111
2771
  msgid "Ad label"
2772
  msgstr ""
2773
 
2774
+ #: settings.php:1899
2775
  msgid "General tag"
2776
  msgstr ""
2777
 
2778
+ #: settings.php:1903
2779
  msgid "Used for [adinserter data=''] shortcodes when no data is found"
2780
  msgstr ""
2781
 
2782
  #. translators: %s: HTML tags
2783
+ #: settings.php:1912
2784
  msgid ""
2785
  "%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
2786
  "side device detection!"
2787
  msgstr ""
2788
 
2789
+ #: settings.php:1924
2790
  msgid "Settings"
2791
  msgstr ""
2792
 
2793
+ #: settings.php:1927
2794
  msgid "Settings timestamp"
2795
  msgstr ""
2796
 
2797
+ #: settings.php:1939
2798
  msgid "Are you sure you want to reset all settings?"
2799
  msgstr ""
2800
 
2801
+ #: settings.php:1939
2802
  msgid "Reset All Settings"
2803
  msgstr ""
2804
 
2805
+ #: settings.php:1962
2806
  msgid "Viewports"
2807
  msgstr ""
2808
 
2809
+ #: settings.php:1963
2810
  msgid "Hooks"
2811
  msgstr ""
2812
 
2813
+ #: settings.php:1964
2814
  msgid "Header"
2815
  msgstr ""
2816
 
2817
+ #: settings.php:1965 strings.php:30
2818
  msgid "Footer"
2819
  msgstr ""
2820
 
2821
+ #: settings.php:1970
2822
  msgid "Debugging"
2823
  msgstr ""
2824
 
2825
+ #: settings.php:1980
2826
  msgid "Plugin priority"
2827
  msgstr ""
2828
 
2829
+ #: settings.php:1988
2830
  msgid "Output buffering"
2831
  msgstr ""
2832
 
2833
+ #: settings.php:1991
2834
  msgid "Needed for position Above header but may not work with all themes"
2835
  msgstr ""
2836
 
2837
+ #: settings.php:1999
2838
  msgid "Syntax highlighting theme"
2839
  msgstr ""
2840
 
2841
+ #: settings.php:2006
2842
  msgctxt "no syntax highlighting themes"
2843
  msgid "None"
2844
  msgstr ""
2845
 
2846
+ #: settings.php:2007
2847
  msgid "No Syntax Highlighting"
2848
  msgstr ""
2849
 
2850
+ #: settings.php:2009
2851
  msgctxt "syntax highlighting themes"
2852
  msgid "Light"
2853
  msgstr ""
2854
 
2855
+ #: settings.php:2024
2856
  msgctxt "syntax highlighting themes"
2857
  msgid "Dark"
2858
  msgstr ""
2859
 
2860
+ #: settings.php:2050
2861
  msgid "Min. user role for ind. exceptions editing"
2862
  msgstr ""
2863
 
2864
+ #: settings.php:2060
2865
  msgid "Sticky widget mode"
2866
  msgstr ""
2867
 
2868
+ #: settings.php:2063
2869
  msgid ""
2870
  "CSS mode is the best approach but may not work with all themes. JavaScript "
2871
  "mode works with most themes but may reload ads on page load."
2872
  msgstr ""
2873
 
2874
+ #: settings.php:2071
2875
  msgid "Sticky widget top margin"
2876
  msgstr ""
2877
 
2878
+ #: settings.php:2079
2879
  msgid "Dynamic blocks"
2880
  msgstr ""
2881
 
2882
+ #: settings.php:2092
2883
  msgid "Functions for paragraph counting"
2884
  msgstr ""
2885
 
2886
+ #: settings.php:2095
2887
  msgid ""
2888
  "Standard PHP functions are faster and work in most cases, use Multibyte "
2889
  "functions if paragraphs are not counted properly on non-english pages."
2890
  msgstr ""
2891
 
2892
+ #: settings.php:2103
2893
  msgid "No paragraph counting inside"
2894
  msgstr ""
2895
 
2896
+ #: settings.php:2114
2897
  msgid "Label text or HTML code"
2898
  msgstr ""
2899
 
2900
+ #: settings.php:2122
2901
  msgid ""
2902
  "Maximum number of inserted blocks per page. You need to enable Max page "
2903
  "insertions (button Misc / tab Insertion) to count block for this limit."
2904
  msgstr ""
2905
 
2906
+ #: settings.php:2136
2907
  msgid "Plugin usage tracking"
2908
  msgstr ""
2909
 
2910
  #. translators: %s: Ad Inserter
2911
+ #: settings.php:2139
2912
  msgid ""
2913
  "Enable tracking of %s usage and help us to make improvements to the plugin. "
2914
  "Only information regarding the WordPress environment and %s usage is "
2915
  "recorded (once per month and on events like plugin activation/deactivation)."
2916
  msgstr ""
2917
 
2918
+ #: settings.php:2157
2919
  msgid "CSS class name for the wrapping div"
2920
  msgstr ""
2921
 
2922
+ #: settings.php:2157
2923
  msgid "Block class name"
2924
  msgstr ""
2925
 
2926
+ #: settings.php:2161
2927
  msgid "Include general plugin block class"
2928
  msgstr ""
2929
 
2930
+ #: settings.php:2161
2931
  msgid "Block class"
2932
  msgstr ""
2933
 
2934
+ #: settings.php:2166
2935
  msgid "Include block number class"
2936
  msgstr ""
2937
 
2938
+ #: settings.php:2166
2939
  msgid "Block number class"
2940
  msgstr ""
2941
 
2942
+ #: settings.php:2171
2943
  msgid ""
2944
  "Instead of alignment classes generate inline alignment styles for blocks"
2945
  msgstr ""
2946
 
2947
+ #: settings.php:2171
2948
  msgid "Inline styles"
2949
  msgstr ""
2950
 
2951
+ #: settings.php:2177
2952
  msgid "Preview of the block wrapping code"
2953
  msgstr ""
2954
 
2955
+ #: settings.php:2178
2956
  msgid "Wrapping div"
2957
  msgstr ""
2958
 
2959
+ #: settings.php:2179 settings.php:2613
2960
  msgid "BLOCK CODE"
2961
  msgstr ""
2962
 
2963
+ #: settings.php:2187
2964
  msgid "Viewport Settings used for client-side device detection"
2965
  msgstr ""
2966
 
2967
+ #: settings.php:2220
 
 
 
 
 
 
 
 
 
2968
  msgid "Custom Hooks"
2969
  msgstr ""
2970
 
2971
+ #: settings.php:2294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2972
  msgid "Enable insertion of this code into HTML page header"
2973
  msgstr ""
2974
 
2975
+ #: settings.php:2298 settings.php:2356 settings.php:2515
2976
  msgid "Process PHP code"
2977
  msgstr ""
2978
 
2979
+ #: settings.php:2302
2980
  msgid "HTML Page Header Code"
2981
  msgstr ""
2982
 
2983
+ #: settings.php:2310
2984
  msgid "Code in the %s section of the HTML page"
2985
  msgstr ""
2986
 
2987
+ #: settings.php:2311 settings.php:2369
2988
  msgctxt "code in header or footer"
2989
  msgid "DISABLED"
2990
  msgstr ""
2991
 
2992
+ #: settings.php:2324 settings.php:2382
2993
  msgid "Use server-side detection to insert code only for"
2994
  msgstr ""
2995
 
2996
+ #: settings.php:2337
2997
  msgid ""
2998
  "Enable insertion of this code into HTML page header on page for Error 404: "
2999
  "Page not found"
3000
  msgstr ""
3001
 
3002
+ #: settings.php:2337 settings.php:2395
3003
  msgid "Insert on Error 404 page"
3004
  msgstr ""
3005
 
3006
+ #: settings.php:2352
3007
  msgid "Enable insertion of this code into HTML page footer"
3008
  msgstr ""
3009
 
3010
+ #: settings.php:2360
3011
  msgid "HTML Page Footer Code"
3012
  msgstr ""
3013
 
3014
  #. translators: %s: HTML tags
3015
+ #: settings.php:2368
3016
  msgid "Code before the %s tag of the the HTML page"
3017
  msgstr ""
3018
 
3019
+ #: settings.php:2395
3020
  msgid ""
3021
  "Enable insertion of this code into HTML page footer on page for Error 404: "
3022
  "Page not found"
3023
  msgstr ""
3024
 
3025
+ #: settings.php:2409
3026
  msgid "Enable detection of ad blocking"
3027
  msgstr ""
3028
 
3029
+ #: settings.php:2426
3030
  msgid "Global action when ad blocking is detected"
3031
  msgstr ""
3032
 
3033
+ #: settings.php:2435
3034
  msgid "Delay Action"
3035
  msgstr ""
3036
 
3037
+ #: settings.php:2438
3038
  msgid ""
3039
  "Number of page views to delay action when ad blocking is detected. Leave "
3040
  "empty for no delay (action fires on first page view). Sets cookie."
3041
  msgstr ""
3042
 
3043
+ #: settings.php:2438
3044
  msgctxt "Delay Action for x "
3045
  msgid "page views"
3046
  msgstr ""
3047
 
3048
+ #: settings.php:2443
3049
  msgid "No Action Period"
3050
  msgstr ""
3051
 
3052
+ #: settings.php:2446
3053
  msgid ""
3054
  "Number of days to supress action when ad blocking is detected. Leave empty "
3055
  "for no no-action period (action fires always after defined page view delay). "
3056
  "Sets cookie."
3057
  msgstr ""
3058
 
3059
+ #: settings.php:2446
3060
  msgctxt "no action period"
3061
  msgid "days"
3062
  msgstr ""
3063
 
3064
+ #: settings.php:2451
3065
  msgid "Custom Selectors"
3066
  msgstr ""
3067
 
3068
+ #: settings.php:2454
3069
  msgid ""
3070
  "Comma seprarated list of selectors (.class, #id) used for additional ad "
3071
  "blocking detection. Invisible element or element with zero height means ad "
3072
  "blocking is present."
3073
  msgstr ""
3074
 
3075
+ #: settings.php:2466
3076
  msgid "Redirection Page"
3077
  msgstr ""
3078
 
3079
+ #: settings.php:2478
3080
  msgid "Custom Url"
3081
  msgstr ""
3082
 
3083
+ #: settings.php:2483
3084
  msgid ""
3085
  "Static page for redirection when ad blocking is detected. For other pages "
3086
  "select Custom url and set it below."
3087
  msgstr ""
3088
 
3089
+ #: settings.php:2492
3090
  msgid "Custom Redirection Url"
3091
  msgstr ""
3092
 
3093
+ #: settings.php:2504
3094
  msgid "Message HTML code"
3095
  msgstr ""
3096
 
3097
+ #: settings.php:2517
3098
  msgid "Preview message when ad blocking is detected"
3099
  msgstr ""
3100
 
3101
+ #: settings.php:2546
3102
  msgid "Prevent visitors from closing the warning message"
3103
  msgstr ""
3104
 
3105
+ #: settings.php:2546
3106
  msgid "Undismissible Message"
3107
  msgstr ""
3108
 
3109
+ #: settings.php:2559
3110
  msgid ""
3111
  "Force showing admin toolbar for administrators when viewing site. Enable "
3112
  "this option when you are logged in as admin and you don't see admin toolbar."
3113
  msgstr ""
3114
 
3115
+ #: settings.php:2567
3116
  msgid "Disable header code (Header tab)"
3117
  msgstr ""
3118
 
3119
+ #: settings.php:2571
3120
  msgid "Disable footer code (Footer tab)"
3121
  msgstr ""
3122
 
3123
  #. translators: %s: Ad Inserter
3124
+ #: settings.php:2575
3125
  msgid "Disable %s JavaScript code"
3126
  msgstr ""
3127
 
3128
  #. translators: %s: Ad Inserter
3129
+ #: settings.php:2579
3130
  msgid "Disable %s CSS code"
3131
  msgstr ""
3132
 
3133
+ #: settings.php:2583
3134
  msgid ""
3135
  "Disable PHP code processing (in all blocks including header and footer code)"
3136
  msgstr ""
3137
 
3138
+ #: settings.php:2587
3139
  msgid "Disable insertion of all blocks"
3140
  msgstr ""
3141
 
3142
+ #: settings.php:2591
3143
  msgid "Disable insertions"
3144
  msgstr ""
3145
 
3146
  #. translators: %s: Ad Inserter
3147
+ #: settings.php:2603
3148
  msgid "%s CSS CODE"
3149
  msgstr ""
3150
 
3151
+ #: settings.php:2606
3152
  msgid "HEADER CODE"
3153
  msgstr ""
3154
 
3155
  #. translators: %s: PHP tags
3156
+ #: settings.php:2612
3157
  msgid "BLOCK PHP CODE"
3158
  msgstr ""
3159
 
3160
  #. translators: %s: Ad Inserter
3161
+ #: settings.php:2618
3162
  msgid "%s JS CODE"
3163
  msgstr ""
3164
 
3165
+ #: settings.php:2621
3166
  msgid "FOOTER CODE"
3167
  msgstr ""
3168
 
3169
+ #: settings.php:2630
3170
  msgid "Force showing admin toolbar when viewing site"
3171
  msgstr ""
3172
 
3173
+ #: settings.php:2637
3174
  msgid "Enable debugging functions in admin toolbar"
3175
  msgstr ""
3176
 
3177
+ #: settings.php:2639
3178
  msgid "Debugging functions in admin toolbar"
3179
  msgstr ""
3180
 
3181
+ #: settings.php:2646
3182
  msgid "Enable debugging functions in admin toolbar on mobile screens"
3183
  msgstr ""
3184
 
3185
+ #: settings.php:2648
3186
  msgid "Debugging functions on mobile screens"
3187
  msgstr ""
3188
 
3189
+ #: settings.php:2655
3190
  msgid ""
3191
  "Enable Debugger widget and code insertion debugging (blocks, positions, "
3192
  "tags, processing) by url parameters for non-logged in users. Enable this "
3195
  "administrators debugging is always enabled."
3196
  msgstr ""
3197
 
3198
+ #: settings.php:2657
3199
  msgid "Remote debugging"
3200
  msgstr ""
3201
 
3202
+ #: settings.php:2664
3203
  msgid ""
3204
  "Disable translation to see original texts for the settings and messages in "
3205
  "English"
3206
  msgstr ""
3207
 
3208
+ #: settings.php:2666
3209
  msgid "Disable translation"
3210
  msgstr ""
3211
 
3212
+ #: settings.php:2960
3213
  msgid "Toggle active/all blocks"
3214
  msgstr ""
3215
 
3216
+ #: settings.php:2964 strings.php:201
3217
  msgid "Rearrange block order"
3218
  msgstr ""
3219
 
3220
+ #: settings.php:2969
3221
  msgid "Save new block order"
3222
  msgstr ""
3223
 
3224
+ #: settings.php:2969
3225
  msgid "Save Changes"
3226
  msgstr ""
3227
 
3228
+ #: settings.php:2994
3229
  msgid "Toggle active/all ad units"
3230
  msgstr ""
3231
 
3232
+ #: settings.php:2998
3233
  msgid "Reload AdSense ad units"
3234
  msgstr ""
3235
 
3236
+ #: settings.php:3002
3237
  msgid "Clear authorization to access AdSense account"
3238
  msgstr ""
3239
 
3240
+ #: settings.php:3006 settings.php:3371 settings.php:3438 strings.php:209
3241
  msgid "Google AdSense Homepage"
3242
  msgstr ""
3243
 
3244
+ #: settings.php:3183
3245
  msgid "Preview block"
3246
  msgstr ""
3247
 
3248
+ #: settings.php:3192
3249
  msgid "Insertion disabled"
3250
  msgstr ""
3251
 
3252
+ #: settings.php:3212
3253
  msgid "Alignment"
3254
  msgstr ""
3255
 
3256
+ #: settings.php:3216
3257
  msgid "Widget positions"
3258
  msgstr ""
3259
 
3260
+ #: settings.php:3282
3261
  msgid "Ad unit"
3262
  msgstr ""
3263
 
3264
+ #: settings.php:3284
3265
  msgid "Slot ID"
3266
  msgstr ""
3267
 
3268
+ #: settings.php:3310
3269
  msgid "Copy AdSense code"
3270
  msgstr ""
3271
 
3272
+ #: settings.php:3313
3273
  msgid "Preview AdSense ad"
3274
  msgstr ""
3275
 
3276
+ #: settings.php:3316
3277
  msgid "Get AdSense code"
3278
  msgstr ""
3279
 
3280
  #. translators: %s: HTML tags
3281
+ #: settings.php:3348
3282
  msgid ""
3283
  "Please %s clear authorization %s with the button %s above and once again "
3284
  "authorize access to your AdSense account."
3285
  msgstr ""
3286
 
3287
+ #: settings.php:3367
3288
  msgid "AdSense Integration"
3289
  msgstr ""
3290
 
3291
+ #: settings.php:3369
3292
  msgid "AdSense Integration - Step 2"
3293
  msgstr ""
3294
 
3295
  #. translators: %s: HTML tags
3296
+ #: settings.php:3375
3297
  msgid ""
3298
  "Authorize %s to access your AdSense account. Click on the %s Get "
3299
  "Authorization Code %s button to open a new window where you can allow "
3302
  msgstr ""
3303
 
3304
  #. translators: %s: HTML tags
3305
+ #: settings.php:3382
3306
  msgid ""
3307
  "If you get error, can't access ad units or would like to use own Google API "
3308
  "IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
3310
  msgstr ""
3311
 
3312
  #. translators: %s: HTML tags
3313
+ #: settings.php:3384
3314
  msgid ""
3315
  "Now you can authorize %s to access your AdSense account. Click on the %s Get "
3316
  "Authorization Code %s button to open a new window where you can allow "
3319
  msgstr ""
3320
 
3321
  #. translators: %s: HTML tags
3322
+ #: settings.php:3391
3323
  msgid ""
3324
  "If you get error %s invalid client %s click on the button %s Clear and "
3325
  "return to Step 1 %s to re-enter Client ID and Client Secret."
3326
  msgstr ""
3327
 
3328
+ #: settings.php:3402
3329
  msgid "Get Authorization Code"
3330
  msgstr ""
3331
 
3332
+ #: settings.php:3405
3333
  msgid "Enter Authorization Code"
3334
  msgstr ""
3335
 
3336
+ #: settings.php:3415
3337
  msgid "Use own API IDs"
3338
  msgstr ""
3339
 
3340
+ #: settings.php:3417
3341
  msgid "Clear and return to Step 1"
3342
  msgstr ""
3343
 
3344
+ #: settings.php:3421
3345
  msgid "Authorize"
3346
  msgstr ""
3347
 
3348
+ #: settings.php:3437
3349
  msgid "AdSense Integration - Step 1"
3350
  msgstr ""
3351
 
3352
  #. translators: %s: Ad Inserter
3353
+ #: settings.php:3441
3354
  msgid ""
3355
  "Here can %s list configured AdSense ad units and get code for AdSense ads. "
3356
  "To do this you need to authorize %s to access your AdSense account. The "
3359
  msgstr ""
3360
 
3361
  #. translators: %s: HTML tags
3362
+ #: settings.php:3450
3363
  msgid "Go to %s Google APIs and Services console %s"
3364
  msgstr ""
3365
 
3366
  #. translators: %1: Ad Inserter, 2, 3: HTML tags
3367
+ #: settings.php:3451
3368
  msgid ""
3369
  "Create %1$s project - if the project and IDs are already created click on "
3370
  "the %2$s Credentials %3$s in the sidebar and go to step 16"
3371
  msgstr ""
3372
 
3373
  #. translators: %s: HTML tags
3374
+ #: settings.php:3452
3375
  msgid ""
3376
  "Click on project selection and then click on the %s NEW PROJECT %s button to "
3377
  "create a new project"
3378
  msgstr ""
3379
 
3380
  #. translators: 1: Ad Inserter, 2, 3: HTML tags
3381
+ #: settings.php:3453
3382
  msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
3383
  msgstr ""
3384
 
3385
  #. translators: %s: HTML tags
3386
+ #: settings.php:3454
3387
  msgid ""
3388
  "Click on project selection, wait for the project to be created and then and "
3389
  "select %s as the current project"
3390
  msgstr ""
3391
 
3392
  #. translators: %s: HTML tags
3393
+ #: settings.php:3455
3394
  msgid "Click on %s ENABLE APIS AND SERVICES %s"
3395
  msgstr ""
3396
 
3397
  #. translators: %s: HTML tags
3398
+ #: settings.php:3456
3399
  msgid "Search for adsense and enable %s"
3400
  msgstr ""
3401
 
3402
  #. translators: %s: HTML tags
3403
+ #: settings.php:3457
3404
  msgid "Click on %s CREATE CREDENTIALS %s"
3405
  msgstr ""
3406
 
3407
  #. translators: %s: HTML tags
3408
+ #: settings.php:3458
3409
  msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
3410
  msgstr ""
3411
 
3412
  #. translators: %s: HTML tags
3413
+ #: settings.php:3459
3414
  msgid "For %s What data will you be accessing? %s select %s User data %s"
3415
  msgstr ""
3416
 
3417
  #. translators: %s: HTML tags
3418
+ #: settings.php:3460
3419
  msgid "Click on %s What credentials do I need? %s"
3420
  msgstr ""
3421
 
3422
  #. translators: %s: HTML tags
3423
+ #: settings.php:3461
3424
  msgid ""
3425
  "Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
3426
  "Ad Inserter client %s"
3427
  msgstr ""
3428
 
3429
  #. translators: %s: HTML tags
3430
+ #: settings.php:3462
3431
  msgid ""
3432
  "Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
3433
  "enter %s"
3434
  msgstr ""
3435
 
3436
  #. translators: %s: HTML tags
3437
+ #: settings.php:3463
3438
  msgid "Click on %s Continue %s"
3439
  msgstr ""
3440
 
3441
  #. translators: %s: HTML tags
3442
+ #: settings.php:3464
3443
  msgid "Click on %s Done %s"
3444
  msgstr ""
3445
 
3446
  #. translators: %s: HTML tags
3447
+ #: settings.php:3465
3448
  msgid ""
3449
  "Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
3450
  "secret %s"
3451
  msgstr ""
3452
 
3453
+ #: settings.php:3466
3454
  msgid "Copy them to the appropriate fields below"
3455
  msgstr ""
3456
 
3457
+ #: settings.php:3472
3458
  msgid "Client ID"
3459
  msgstr ""
3460
 
3461
+ #: settings.php:3475
3462
  msgid "Enter Client ID"
3463
  msgstr ""
3464
 
3465
+ #: settings.php:3480
3466
  msgid "Client secret"
3467
  msgstr ""
3468
 
3469
+ #: settings.php:3483
3470
  msgid "Enter Client secret"
3471
  msgstr ""
3472
 
3473
+ #: settings.php:3493
3474
  msgid "Use default API IDs"
3475
  msgstr ""
3476
 
3477
+ #: settings.php:3498
3478
  msgid "Save"
3479
  msgstr ""
3480
 
3481
+ #: settings.php:3660 settings.php:3673 settings.php:3686
3482
  msgid "Blank ad blocks? Looking for AdSense alternative?"
3483
  msgstr ""
3484
 
3485
+ #: settings.php:3665 settings.php:3678 settings.php:3691 settings.php:3863
3486
+ #: settings.php:3865 settings.php:3886 settings.php:3889
3487
  msgid "Looking for AdSense alternative?"
3488
  msgstr ""
3489
 
3490
+ #: settings.php:3701
3491
  msgid "Try Infolinks Ads with Adsense or Media.net ads"
3492
  msgstr ""
3493
 
3494
+ #: settings.php:3706 settings.php:3859 settings.php:3861 settings.php:3892
3495
+ #: settings.php:3895
3496
  msgid "Use Infolinks ads with Adsense to earn more"
3497
  msgstr ""
3498
 
3499
+ #: settings.php:3725 settings.php:3763
3500
  msgid "Support plugin development"
3501
  msgstr ""
3502
 
3503
+ #: settings.php:3726 settings.php:3764
3504
  msgid ""
3505
  "If you like Ad Inserter and have a moment, please help me spread the word by "
3506
  "reviewing the plugin on WordPres"
3507
  msgstr ""
3508
 
3509
+ #: settings.php:3726
3510
  msgctxt "Review ad Inserter"
3511
  msgid "Review"
3512
  msgstr ""
3513
 
3514
+ #: settings.php:3727
3515
  msgid ""
3516
  "Support free Ad Inserter development. If you are making money with Ad "
3517
  "Inserter consider donating some small amount. Even 1 dollar counts. Thank "
3518
  "you!"
3519
  msgstr ""
3520
 
3521
+ #: settings.php:3727
3522
  msgid "Donate"
3523
  msgstr ""
3524
 
3525
+ #: settings.php:3734 settings.php:3779
3526
  msgid "Average rating of the plugin - Thank you!"
3527
  msgstr ""
3528
 
3529
  #. translators: %s: Ad Inserter, HTML tags
3530
+ #: settings.php:3745
3531
  msgid ""
3532
  "You've been using %s for a while now, and I hope you're happy with it. "
3533
  "Positive %s reviews %s are a great way to show your appreciation for my "
3536
  "your website. %s Thank you!"
3537
  msgstr ""
3538
 
3539
+ #: settings.php:3764
3540
  msgid "Review"
3541
  msgstr ""
3542
 
3543
+ #: settings.php:3768
3544
  msgid "Ad Inserter on Twitter"
3545
  msgstr ""
3546
 
3547
+ #: settings.php:3769
3548
  msgid "Ad Inserter on Facebook"
3549
  msgstr ""
3550
 
3551
+ #: settings.php:3772
3552
  msgid "Follow Ad Inserter"
3553
  msgstr ""
3554
 
3555
  #. translators: %s: HTML tags
3556
+ #: settings.php:3799
3557
  msgid ""
3558
  "Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
3559
  "and %s Common Settings %s pages"
3560
  msgstr ""
3561
 
3562
  #. translators: %s: HTML tags
3563
+ #: settings.php:3811
3564
  msgid ""
3565
  "%s New to %s AdSense? %s %s %s Connect your site %s - Advanced %s AdSense "
3566
  "code: %s %s In-feed ads, %s %s Auto ads, %s %s AMP ads %s"
3567
  msgstr ""
3568
 
3569
  #. translators: %s: HTML tags
3570
+ #: settings.php:3830
3571
  msgid ""
3572
  "Ads are not showing? Check %s troubleshooting guide %s to find out how to "
3573
  "diagnose and fix the problem."
3574
  msgstr ""
3575
 
3576
  #. translators: %s: HTML tags
3577
+ #: settings.php:3834
3578
  msgid ""
3579
  "If you need any kind of help or support, please do not hesitate to open a "
3580
  "thread on the %s support forum. %s"
3581
  msgstr ""
3582
 
3583
+ #: settings.php:3874 settings.php:3909
3584
  msgid "A/B testing - Track ad impressions and clicks"
3585
  msgstr ""
3586
 
3587
+ #: settings.php:3879 settings.php:3904
3588
  msgid "Code preview with visual CSS editor"
3589
  msgstr ""
3590
 
3591
+ #: settings.php:3915
3592
  msgid "Looking for Pro Ad Management plugin?"
3593
  msgstr ""
3594
 
3595
+ #: settings.php:3916
3596
  msgid "To Optimally Monetize your WordPress website?"
3597
  msgstr ""
3598
 
3599
  #. translators: %s HTML tags
3600
+ #: settings.php:3919
3601
  msgid "64 ad blocks (positions)"
3602
  msgstr ""
3603
 
3604
  #. translators: %s HTML tags
3605
+ #: settings.php:3920
3606
  msgid "%s AdSense Integration %s"
3607
  msgstr ""
3608
 
3609
  #. translators: %s HTML tags
3610
+ #: settings.php:3921
3611
  msgid "Syntax highlighting %s editor %s"
3612
  msgstr ""
3613
 
3614
  #. translators: %s HTML tags
3615
+ #: settings.php:3922
3616
  msgid "%s Code preview %s with visual CSS editor"
3617
  msgstr ""
3618
 
3619
  #. translators: %s HTML tags
3620
+ #: settings.php:3923
3621
  msgid "Simple user interface - all settings on a single page"
3622
  msgstr ""
3623
 
3624
  #. translators: %s HTML tags
3625
+ #: settings.php:3924
3626
  msgid ""
3627
  "%s Automatic insertion %s before or after post / content / %s paragraph %s / "
3628
  "excerpt"
3629
  msgstr ""
3630
 
3631
  #. translators: %s HTML tags
3632
+ #: settings.php:3925
3633
  msgid "%s Automatic insertion %s between posts on blog pages"
3634
  msgstr ""
3635
 
3636
  #. translators: %s HTML tags
3637
+ #: settings.php:3926
3638
  msgid "%s Automatic insertion %s before, between and after comments"
3639
  msgstr ""
3640
 
3641
  #. translators: %s HTML tags
3642
+ #: settings.php:3927
3643
  msgid "%s Automatic insertion %s after %s or before %s tag"
3644
  msgstr ""
3645
 
3646
  #. translators: %s HTML tags
3647
+ #: settings.php:3928
3648
  msgid "Automatic insertion at %s custom hook positions %s"
3649
  msgstr ""
3650
 
3651
  #. translators: %s HTML tags
3652
+ #: settings.php:3929
3653
  msgid ""
3654
  "Insertion %s before or after any HTML element on the page %s (using CSS "
3655
  "selectors)"
3656
  msgstr ""
3657
 
3658
  #. translators: %s HTML tags
3659
+ #: settings.php:3930
3660
  msgid "%s Insertion exceptions %s for individual posts and pages"
3661
  msgstr ""
3662
 
3663
  #. translators: %s HTML tags
3664
+ #: settings.php:3931
3665
  msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
3666
  msgstr ""
3667
 
3668
  #. translators: %s HTML tags
3669
+ #: settings.php:3932
3670
  msgid ""
3671
  "%s Sticky ads %s with optional close button (ads stay fixed when the page "
3672
  "scrolls)"
3673
  msgstr ""
3674
 
3675
  #. translators: %s HTML tags
3676
+ #: settings.php:3933
3677
  msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
3678
  msgstr ""
3679
 
3680
  #. translators: %s HTML tags
3681
+ #: settings.php:3934
3682
  msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
3683
  msgstr ""
3684
 
3685
  #. translators: %s HTML tags
3686
+ #: settings.php:3935
3687
  msgid ""
3688
  "%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
3689
  "visible)"
3690
  msgstr ""
3691
 
3692
  #. translators: %s HTML tags
3693
+ #: settings.php:3936
3694
  msgid ""
3695
  "%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
3696
  msgstr ""
3697
 
3698
  #. translators: %s HTML tags
3699
+ #: settings.php:3937
3700
  msgid "Block %s alignment and style %s customizations"
3701
  msgstr ""
3702
 
3703
  #. translators: %s HTML tags
3704
+ #: settings.php:3938
3705
  msgid ""
3706
  "%s Clearance %s options to avoid insertion near images or headers (AdSense "
3707
  "TOS)"
3708
  msgstr ""
3709
 
3710
  #. translators: %s HTML tags
3711
+ #: settings.php:3939
3712
  msgid ""
3713
  "Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
3714
  "feeds"
3715
  msgstr ""
3716
 
3717
  #. translators: %s HTML tags
3718
+ #: settings.php:3940
3719
  msgid "%s Ad rotation %s (works also with caching)"
3720
  msgstr ""
3721
 
3722
  #. translators: %s HTML tags
3723
+ #: settings.php:3941
3724
  msgid ""
3725
  "Ad impression and click %s tracking %s (works also with Javascript ads like "
3726
  "AdSense)"
3727
  msgstr ""
3728
 
3729
  #. translators: %s HTML tags
3730
+ #: settings.php:3942
3731
  msgid "Support for %s A/B testing %s"
3732
  msgstr ""
3733
 
3734
  #. translators: %s HTML tags
3735
+ #: settings.php:3943
3736
  msgid "Support for %s lazy loading %s"
3737
  msgstr ""
3738
 
3739
  #. translators: %s HTML tags
3740
+ #: settings.php:3944
3741
  msgid "Support for ads on %s AMP pages %s"
3742
  msgstr ""
3743
 
3744
  #. translators: %s HTML tags
3745
+ #: settings.php:3945
3746
  msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
3747
  msgstr ""
3748
 
3749
  #. translators: %s HTML tags
3750
+ #: settings.php:3946
3751
  msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
3752
  msgstr ""
3753
 
3754
  #. translators: %s HTML tags
3755
+ #: settings.php:3947
3756
  msgid "PHP code processing"
3757
  msgstr ""
3758
 
3759
  #. translators: %s HTML tags
3760
+ #: settings.php:3948
3761
  msgid "%s Banner %s code generator"
3762
  msgstr ""
3763
 
3764
  #. translators: %s HTML tags
3765
+ #: settings.php:3949
3766
  msgid "Support for %s header and footer %s code"
3767
  msgstr ""
3768
 
3769
  #. translators: %s HTML tags
3770
+ #: settings.php:3950
3771
  msgid "Support for Google Analytics, Matomo or any other web analytics code"
3772
  msgstr ""
3773
 
3774
  #. translators: %s HTML tags
3775
+ #: settings.php:3951
3776
  msgid "Desktop, tablet and phone server-side %s device detection %s"
3777
  msgstr ""
3778
 
3779
  #. translators: %s HTML tags
3780
+ #: settings.php:3952
3781
  msgid ""
3782
  "Client-side %s mobile device detection %s (works with caching, 6 custom "
3783
  "viewports)"
3784
  msgstr ""
3785
 
3786
  #. translators: %s HTML tags
3787
+ #: settings.php:3953
3788
  msgid ""
3789
  "%s Ad blocking detection %s - popup message, ad replacement, content "
3790
  "protection"
3791
  msgstr ""
3792
 
3793
  #. translators: %s HTML tags
3794
+ #: settings.php:3954
3795
  msgid "%s Ad blocking statistics %s"
3796
  msgstr ""
3797
 
3798
  #. translators: %s HTML tags
3799
+ #: settings.php:3955
3800
  msgid ""
3801
  "%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
3802
  "referers"
3803
  msgstr ""
3804
 
3805
  #. translators: %s HTML tags
3806
+ #: settings.php:3956
3807
  msgid ""
3808
  "%s Black/White-list %s IP addresses or countries (works also with caching)"
3809
  msgstr ""
3810
 
3811
  #. translators: %s HTML tags
3812
+ #: settings.php:3957
3813
  msgid "%s Multisite options %s to limit settings on the sites"
3814
  msgstr ""
3815
 
3816
  #. translators: %s HTML tags
3817
+ #: settings.php:3958
3818
  msgid "%s Import/Export %s block or plugin settings"
3819
  msgstr ""
3820
 
3821
  #. translators: %s HTML tags
3822
+ #: settings.php:3959
3823
  msgid "%s Insertion scheduling %s with fallback option"
3824
  msgstr ""
3825
 
3826
  #. translators: %s HTML tags
3827
+ #: settings.php:3960
3828
  msgid "Country-level %s GEO targeting %s (works also with caching)"
3829
  msgstr ""
3830
 
3831
  #. translators: %s HTML tags
3832
+ #: settings.php:3961
3833
  msgid "Simple troubleshooting with many %s debugging functions %s"
3834
  msgstr ""
3835
 
3836
  #. translators: %s HTML tags
3837
+ #: settings.php:3962
3838
  msgid "%s Visualization %s of inserted blocks or ads for easier placement"
3839
  msgstr ""
3840
 
3841
  #. translators: %s HTML tags
3842
+ #: settings.php:3963
3843
  msgid "%s Visualization %s of available positions for automatic ad insertion"
3844
  msgstr ""
3845
 
3846
  #. translators: %s HTML tags
3847
+ #: settings.php:3964
3848
  msgid ""
3849
  "%s Visualization %s of HTML tags for easier ad placement between paragraphs"
3850
  msgstr ""
3851
 
3852
  #. translators: %s HTML tags
3853
+ #: settings.php:3965
3854
  msgid "%s Clipboard support %s to easily copy blocks or settings"
3855
  msgstr ""
3856
 
3857
  #. translators: %s HTML tags
3858
+ #: settings.php:3966
3859
  msgid "No ads on the settings page"
3860
  msgstr ""
3861
 
3862
  #. translators: %s HTML tags
3863
+ #: settings.php:3967 settings.php:3990
3864
  msgid "Support via email"
3865
  msgstr ""
3866
 
3867
  #. translators: %s HTML tags
3868
+ #: settings.php:3970
3869
  msgid ""
3870
  "Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
3871
  "website with many advertising features to automatically insert adverts on "
3880
  msgstr ""
3881
 
3882
  #. translators: %s HTML tags
3883
+ #: settings.php:3983
3884
  msgid "Looking for %s Pro Ad Management plugin? %s"
3885
  msgstr ""
3886
 
3887
  #. translators: %s HTML tags
3888
+ #: settings.php:3988
3889
  msgid "Ads between posts"
3890
  msgstr ""
3891
 
3892
  #. translators: %s HTML tags
3893
+ #: settings.php:3989
3894
  msgid "Ads between comments"
3895
  msgstr ""
3896
 
3897
  #. translators: %s HTML tags
3898
+ #: settings.php:3996
3899
  msgid "%s Sticky positions %s"
3900
  msgstr ""
3901
 
3902
  #. translators: %s HTML tags
3903
+ #: settings.php:3997
3904
  msgid "%s Limit insertions %s"
3905
  msgstr ""
3906
 
3907
  #. translators: %s HTML tags
3908
+ #: settings.php:3998
3909
  msgid "%s Clearance %s options"
3910
  msgstr ""
3911
 
3912
  #. translators: %s HTML tags
3913
+ #: settings.php:4004
3914
  msgid "Ad rotation"
3915
  msgstr ""
3916
 
3917
  #. translators: %s HTML tags
3918
+ #: settings.php:4005
3919
  msgid "%s A/B testing %s"
3920
  msgstr ""
3921
 
3922
  #. translators: %s HTML tags
3923
+ #: settings.php:4006
3924
  msgid "%s Ad tracking %s"
3925
  msgstr ""
3926
 
3927
  #. translators: %s HTML tags
3928
+ #: settings.php:4012
3929
  msgid "Support for %s AMP pages %s"
3930
  msgstr ""
3931
 
3932
  #. translators: %s HTML tags
3933
+ #: settings.php:4013
3934
  msgid "%s Ad blocking detection %s"
3935
  msgstr ""
3936
 
3937
  #. translators: %s HTML tags
3938
+ #: settings.php:4014
3939
  msgid "%s Mobile device detection %s"
3940
  msgstr ""
3941
 
3942
  #. translators: %s HTML tags
3943
+ #: settings.php:4021
3944
  msgid "64 code blocks"
3945
  msgstr ""
3946
 
3947
  #. translators: %s HTML tags
3948
+ #: settings.php:4022
3949
  msgid "%s GEO targeting %s"
3950
  msgstr ""
3951
 
3952
  #. translators: %s HTML tags
3953
+ #: settings.php:4023
3954
  msgid "%s Scheduling %s"
3955
  msgstr ""
3956
 
4046
  msgid "Inside HTML element"
4047
  msgstr ""
4048
 
4049
+ #: strings.php:34
4050
+ msgid "Before image"
4051
+ msgstr ""
4052
+
4053
  #: strings.php:35
4054
+ msgid "After image"
4055
+ msgstr ""
4056
+
4057
+ #: strings.php:37
4058
  msgid "do not insert"
4059
  msgstr ""
4060
 
4061
+ #: strings.php:38
4062
  msgid "try to shift position"
4063
  msgstr ""
4064
 
4065
+ #: strings.php:40
4066
  msgid "above"
4067
  msgstr ""
4068
 
4069
+ #: strings.php:41
4070
  msgid "below"
4071
  msgstr ""
4072
 
4073
+ #: strings.php:42
4074
  msgid "above and then below"
4075
  msgstr ""
4076
 
4077
+ #: strings.php:43
4078
  msgid "below and then above"
4079
  msgstr ""
4080
 
4081
+ #: strings.php:45
4082
  msgid "from top"
4083
  msgstr ""
4084
 
4085
+ #: strings.php:46
4086
  msgid "from bottom"
4087
  msgstr ""
4088
 
4089
+ #: strings.php:48
4090
  msgctxt "paragraphs"
4091
  msgid "contain"
4092
  msgstr ""
4093
 
4094
+ #: strings.php:49
4095
  msgctxt "paragraphs"
4096
  msgid "do not contain"
4097
  msgstr ""
4098
 
4099
+ #: strings.php:51
4100
  msgctxt "insert for"
4101
  msgid "all users"
4102
  msgstr ""
4103
 
4104
+ #: strings.php:52
4105
  msgctxt "insert for"
4106
  msgid "logged in users"
4107
  msgstr ""
4108
 
4109
+ #: strings.php:53
4110
  msgctxt "insert for"
4111
  msgid "not logged in users"
4112
  msgstr ""
4113
 
4114
+ #: strings.php:54
4115
  msgctxt "insert for"
4116
  msgid "administrators"
4117
  msgstr ""
4118
 
4119
+ #: strings.php:56
4120
  msgid "Black list"
4121
  msgstr ""
4122
 
4123
+ #: strings.php:57
4124
  msgid "White list"
4125
  msgstr ""
4126
 
4127
+ #: strings.php:59
4128
  msgctxt "alignment"
4129
  msgid "Default"
4130
  msgstr ""
4131
 
4132
+ #: strings.php:60
4133
  msgid "Align left"
4134
  msgstr ""
4135
 
4136
+ #: strings.php:61
4137
  msgid "Align right"
4138
  msgstr ""
4139
 
4140
+ #: strings.php:62
4141
  msgid "Center"
4142
  msgstr ""
4143
 
4144
+ #: strings.php:63
4145
  msgid "Float left"
4146
  msgstr ""
4147
 
4148
+ #: strings.php:64
4149
  msgid "Float right"
4150
  msgstr ""
4151
 
4152
+ #: strings.php:65
4153
  msgid "No wrapping"
4154
  msgstr ""
4155
 
4156
+ #: strings.php:66
4157
  msgid "Custom CSS"
4158
  msgstr ""
4159
 
4160
+ #: strings.php:67
4161
  msgid "Sticky left"
4162
  msgstr ""
4163
 
4164
+ #: strings.php:68
4165
  msgid "Sticky right"
4166
  msgstr ""
4167
 
4168
+ #: strings.php:69
4169
  msgid "Sticky top"
4170
  msgstr ""
4171
 
4172
+ #: strings.php:70
4173
  msgid "Sticky bottom"
4174
  msgstr ""
4175
 
4176
+ #: strings.php:71
4177
  msgctxt "alignment"
4178
  msgid "Sticky"
4179
  msgstr ""
4180
 
4181
+ #: strings.php:73
4182
  msgctxt "using"
4183
  msgid "auto counter"
4184
  msgstr ""
4185
 
4186
+ #: strings.php:74
4187
  msgctxt "using"
4188
  msgid "PHP function calls counter"
4189
  msgstr ""
4190
 
4191
+ #: strings.php:75
4192
  msgctxt "using"
4193
  msgid "content processing counter"
4194
  msgstr ""
4195
 
4196
+ #: strings.php:76
4197
  msgctxt "using"
4198
  msgid "excerpt processing counter"
4199
  msgstr ""
4200
 
4201
+ #: strings.php:77
4202
  msgctxt "using"
4203
  msgid "before post processing counter"
4204
  msgstr ""
4205
 
4206
+ #: strings.php:78
4207
  msgctxt "using"
4208
  msgid "after post processing counter"
4209
  msgstr ""
4210
 
4211
+ #: strings.php:79
4212
  msgctxt "using"
4213
  msgid "widget drawing counter"
4214
  msgstr ""
4215
 
4216
+ #: strings.php:80
4217
  msgctxt "using"
4218
  msgid "subpages counter"
4219
  msgstr ""
4220
 
4221
+ #: strings.php:81
4222
  msgctxt "using"
4223
  msgid "posts counter"
4224
  msgstr ""
4225
 
4226
+ #: strings.php:82
4227
  msgctxt "using"
4228
  msgid "paragraphs counter"
4229
  msgstr ""
4230
 
4231
+ #: strings.php:83
4232
  msgctxt "using"
4233
  msgid "comments counter"
4234
  msgstr ""
4235
 
4236
+ #: strings.php:84
4237
+ msgctxt "using"
4238
+ msgid "images counter"
4239
+ msgstr ""
4240
+
4241
+ #: strings.php:86
4242
  msgctxt "posts"
4243
  msgid "Individually disabled"
4244
  msgstr ""
4245
 
4246
+ #: strings.php:87
4247
  msgctxt "posts"
4248
  msgid "Individually enabled"
4249
  msgstr ""
4250
 
4251
+ #: strings.php:88
4252
  msgctxt "static pages"
4253
  msgid "Individually disabled"
4254
  msgstr ""
4255
 
4256
+ #: strings.php:89
4257
  msgctxt "static pages"
4258
  msgid "Individually enabled"
4259
  msgstr ""
4260
 
4261
+ #: strings.php:91
4262
  msgid "Server-side"
4263
  msgstr ""
4264
 
4265
+ #: strings.php:92
4266
  msgctxt "Insertion"
4267
  msgid "Client-side"
4268
  msgstr ""
4269
 
4270
+ #: strings.php:93
4271
  msgctxt "Dynamic blocks"
4272
  msgid "Client-side show"
4273
  msgstr ""
4274
 
4275
+ #: strings.php:94
4276
  msgctxt "Dynamic blocks"
4277
  msgid "Client-side insert"
4278
  msgstr ""
4279
 
4280
+ #: strings.php:95
4281
  msgctxt "Insertion"
4282
  msgid "Server-side using W3 Total Cache"
4283
  msgstr ""
4284
 
4285
+ #: strings.php:96
4286
  msgctxt "Insertion"
4287
  msgid "Client-side when DOM ready"
4288
  msgstr ""
4289
 
4290
+ #: strings.php:101
4291
  msgid "Replace element"
4292
  msgstr ""
4293
 
4294
+ #: strings.php:103
4295
  msgid "desktop devices"
4296
  msgstr ""
4297
 
4298
+ #: strings.php:104
4299
  msgid "mobile devices"
4300
  msgstr ""
4301
 
4302
+ #: strings.php:105
4303
  msgid "tablet devices"
4304
  msgstr ""
4305
 
4306
+ #: strings.php:106
4307
  msgid "phone devices"
4308
  msgstr ""
4309
 
4310
+ #: strings.php:107
4311
  msgid "desktop and tablet devices"
4312
  msgstr ""
4313
 
4314
+ #: strings.php:108
4315
  msgid "desktop and phone devices"
4316
  msgstr ""
4317
 
4318
+ #: strings.php:110
4319
  msgid "Stick to the left"
4320
  msgstr ""
4321
 
4322
+ #: strings.php:111
4323
  msgid "Stick to the content left"
4324
  msgstr ""
4325
 
4326
+ #: strings.php:112
4327
  msgid "Stick to the content right"
4328
  msgstr ""
4329
 
4330
+ #: strings.php:113
4331
  msgid "Stick to the right"
4332
  msgstr ""
4333
 
4334
+ #: strings.php:115
4335
  msgid "Stick to the top"
4336
  msgstr ""
4337
 
4338
+ #: strings.php:116
4339
  msgid "Scroll with the content"
4340
  msgstr ""
4341
 
4342
+ #: strings.php:117
4343
  msgid "Stick to the bottom"
4344
  msgstr ""
4345
 
4346
+ #: strings.php:119
4347
  msgid "Fade"
4348
  msgstr ""
4349
 
4350
+ #: strings.php:120
4351
  msgid "Slide"
4352
  msgstr ""
4353
 
4354
+ #: strings.php:121
4355
  msgid "Slide and Fade"
4356
  msgstr ""
4357
 
4358
+ #: strings.php:122
4359
  msgid "Flip"
4360
  msgstr ""
4361
 
4362
+ #: strings.php:123
4363
  msgid "Zoom In"
4364
  msgstr ""
4365
 
4366
+ #: strings.php:124
4367
  msgid "Zoom Out"
4368
  msgstr ""
4369
 
4370
+ #: strings.php:125
4371
  msgid "Turn"
4372
  msgstr ""
4373
 
4374
+ #: strings.php:127
4375
  msgid "Page loaded"
4376
  msgstr ""
4377
 
4378
+ #: strings.php:128
4379
  msgid "Page scrolled (%)"
4380
  msgstr ""
4381
 
4382
+ #: strings.php:129
4383
  msgid "Page scrolled (px)"
4384
  msgstr ""
4385
 
4386
+ #: strings.php:130
4387
  msgid "Element visible"
4388
  msgstr ""
4389
 
4390
+ #: strings.php:132
4391
  msgid "Insert immediately"
4392
  msgstr ""
4393
 
4394
+ #: strings.php:133
4395
  msgid "Delay insertion"
4396
  msgstr ""
4397
 
4398
+ #: strings.php:134
4399
  msgid "Insert between dates"
4400
  msgstr ""
4401
 
4402
+ #: strings.php:135
4403
  msgid "Insert outside dates"
4404
  msgstr ""
4405
 
4406
+ #: strings.php:136
4407
  msgid "Insert only"
4408
  msgstr ""
4409
 
4410
+ #: strings.php:137
4411
  msgid "Insert for posts published between dates"
4412
  msgstr ""
4413
 
4414
+ #: strings.php:138
4415
  msgid "Insert for posts published outside dates"
4416
  msgstr ""
4417
 
4418
+ #: strings.php:140
4419
  msgctxt "functions"
4420
  msgid "Standard"
4421
  msgstr ""
4422
 
4423
+ #: strings.php:141
4424
  msgctxt "detection"
4425
  msgid "Standard"
4426
  msgstr ""
4427
 
4428
+ #: strings.php:142
4429
  msgctxt "functions"
4430
  msgid "Multibyte"
4431
  msgstr ""
4432
 
4433
+ #: strings.php:144
4434
  msgctxt "action"
4435
  msgid "None"
4436
  msgstr ""
4437
 
4438
+ #: strings.php:145
4439
  msgctxt "button"
4440
  msgid "None"
4441
  msgstr ""
4442
 
4443
+ #: strings.php:146
4444
  msgid "Popup Message"
4445
  msgstr ""
4446
 
4447
+ #: strings.php:147
4448
  msgid "Redirection"
4449
  msgstr ""
4450
 
4451
+ #: strings.php:149
4452
  msgid "Do nothnig"
4453
  msgstr ""
4454
 
4455
+ #: strings.php:151
4456
  msgctxt "Action when ad blocking detected"
4457
  msgid "Show"
4458
  msgstr ""
4459
 
4460
+ #: strings.php:152
4461
  msgctxt "Action when ad blocking detected"
4462
  msgid "Hide"
4463
  msgstr ""
4464
 
4465
+ #: strings.php:154
4466
  msgctxt "tracking"
4467
  msgid "Internal"
4468
  msgstr ""
4469
 
4470
+ #: strings.php:155
4471
  msgctxt "detection"
4472
  msgid "Advanced"
4473
  msgstr ""
4474
 
4475
+ #: strings.php:158
4476
  msgid "Top right"
4477
  msgstr ""
4478
 
4479
+ #: strings.php:159
4480
  msgid "Top left"
4481
  msgstr ""
4482
 
4483
+ #: strings.php:160
4484
  msgid "Bottom right"
4485
  msgstr ""
4486
 
4487
+ #: strings.php:161
4488
  msgid "Bottom left"
4489
  msgstr ""
4490
 
4491
+ #: strings.php:163
4492
  msgctxt "AdSense Ad Type"
4493
  msgid "Standard"
4494
  msgstr ""
4495
 
4496
+ #: strings.php:164
4497
  msgctxt "AdSense Ad Type"
4498
  msgid "Link"
4499
  msgstr ""
4500
 
4501
+ #: strings.php:165
4502
  msgctxt "AdSense Ad Type"
4503
  msgid "In-article"
4504
  msgstr ""
4505
 
4506
+ #: strings.php:166
4507
  msgctxt "AdSense Ad Type"
4508
  msgid "In-feed"
4509
  msgstr ""
4510
 
4511
+ #: strings.php:167
4512
  msgctxt "AdSense Ad Type"
4513
  msgid "Matched content"
4514
  msgstr ""
4515
 
4516
+ #: strings.php:168
4517
  msgctxt "AdSense Ad Type"
4518
  msgid "Auto Ads"
4519
  msgstr ""
4520
 
4521
+ #: strings.php:170
4522
  msgctxt "AMP ad"
4523
  msgid "Disabled"
4524
  msgstr ""
4525
 
4526
+ #: strings.php:171
4527
  msgid "Above the fold"
4528
  msgstr ""
4529
 
4530
+ #: strings.php:172
4531
  msgid "Below the fold"
4532
  msgstr ""
4533
 
4534
+ #: strings.php:174
4535
  msgctxt "size"
4536
  msgid "Fixed"
4537
  msgstr ""
4538
 
4539
+ #: strings.php:175
4540
  msgctxt "size"
4541
  msgid "Responsive"
4542
  msgstr ""
4543
 
4544
+ #: strings.php:176
4545
  msgctxt "size"
4546
  msgid "Fixed by viewport"
4547
  msgstr ""
4548
 
4549
+ #: strings.php:181
4550
  msgctxt "Button"
4551
  msgid "Hide"
4552
  msgstr ""
4553
 
4554
+ #: strings.php:183
4555
  msgid "Insertion expired"
4556
  msgstr ""
4557
 
4558
+ #: strings.php:184
4559
  msgid "Duration"
4560
  msgstr ""
4561
 
4562
+ #: strings.php:185
4563
  msgid "Invalid end date - must be after start date"
4564
  msgstr ""
4565
 
4566
+ #: strings.php:186
4567
  msgid "Invalid start date - only data for 1 year back is available"
4568
  msgstr ""
4569
 
4570
+ #: strings.php:187
4571
  msgid "Invalid date range - only data for 1 year can be displayed"
4572
  msgstr ""
4573
 
4574
+ #: strings.php:188 strings.php:189 strings.php:190 strings.php:191
4575
+ #: strings.php:192 strings.php:193
4576
  msgid "day"
4577
  msgid_plural "days"
4578
  msgstr[0] ""
4579
  msgstr[1] ""
4580
 
4581
+ #: strings.php:194
4582
  msgid "Warning"
4583
  msgstr ""
4584
 
4585
+ #: strings.php:195
4586
  msgid "Delete"
4587
  msgstr ""
4588
 
4589
+ #: strings.php:197
4590
  msgid "Delete all statistics data?"
4591
  msgstr ""
4592
 
4593
  #. translators: %s: dates
4594
+ #: strings.php:199
4595
  msgid "Delete statistics data between %s and %s?"
4596
  msgstr ""
4597
 
4598
+ #: strings.php:200
4599
  msgid "Cancel block order rearrangement"
4600
  msgstr ""
4601
 
4602
+ #: strings.php:202
4603
  msgid "downloading..."
4604
  msgstr ""
4605
 
4606
+ #: strings.php:203
4607
  msgid "download error"
4608
  msgstr ""
4609
 
4610
+ #: strings.php:204
4611
  msgid "update error"
4612
  msgstr ""
4613
 
4614
+ #: strings.php:205
4615
  msgid "Updating..."
4616
  msgstr ""
4617
 
4618
+ #: strings.php:207
4619
  msgid "ERROR"
4620
  msgstr ""
4621
 
4622
+ #: strings.php:208
4623
  msgid "Error reloading settings"
4624
  msgstr ""
4625
 
4626
+ #: strings.php:210
4627
+ msgctxt "Search field placeholder"
4628
  msgid "Search..."
4629
  msgstr ""
4630
 
4631
+ #: strings.php:211
4632
+ msgctxt "Search field placeholder"
4633
+ msgid "Filter..."
4634
+ msgstr ""
4635
+
4636
+ #: strings.php:212
4637
+ msgid "Use filter to limit names in the list"
4638
+ msgstr ""
4639
+
4640
+ #: strings.php:213
4641
+ msgctxt "Button"
4642
+ msgid "Filter"
4643
+ msgstr ""
4644
+
4645
+ #: strings.php:226
4646
  msgid "Add"
4647
  msgstr ""
4648
 
4649
+ #: strings.php:227
4650
  msgid "Parent"
4651
  msgstr ""
4652
 
4653
+ #: strings.php:228
4654
  msgid "Cancel element selection"
4655
  msgstr ""
4656
 
4657
+ #: strings.php:229
4658
  msgid "Select parent element"
4659
  msgstr ""
4660
 
4661
+ #: strings.php:230
4662
  msgid "CSS selector"
4663
  msgstr ""
4664
 
4665
+ #: strings.php:231
4666
  msgid "Use current selector"
4667
  msgstr ""
4668
 
4669
+ #: strings.php:232
4670
  msgid "ELEMENT"
4671
  msgstr ""
4672
 
4673
+ #: strings.php:233
4674
  msgid "PATH"
4675
  msgstr ""
4676
 
4677
+ #: strings.php:234
4678
  msgid "SELECTOR"
4679
  msgstr ""
4680
 
4681
+ #: strings.php:235
4682
  msgctxt "Block"
4683
  msgid "VISIBLE"
4684
  msgstr ""
4685
 
4686
+ #: strings.php:236
4687
  msgctxt "Block"
4688
  msgid "HIDDEN"
4689
  msgstr ""
readme.txt CHANGED
@@ -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.5
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
@@ -58,6 +58,7 @@ Looking for AdSense plugin with simple setup for ads at best positions? A plugin
58
  * Insert ads before or after paragraph
59
  * Insert ads before or after random paragraph
60
  * Insert ads before or after multiple paragraphs
 
61
  * Insert ads before or after comments
62
  * Insert ads before or after excerpt
63
  * Insert ads near any element on the page (using CSS selectors)
@@ -76,7 +77,8 @@ Looking for AdSense plugin with simple setup for ads at best positions? A plugin
76
  * Insert raw HTTP response header lines
77
  * Insert Google Analytics, Matomo (Piwik) or any other tracking code
78
  * Insert HTML, CSS, Javascript or PHP code
79
- * Code generator for banners and placeholders
 
80
  * Visual advert editor - create ads from scratch
81
  * Manual insertion: widgets, shortcodes, PHP function call
82
  * Sticky (fixed) widgets (sticky sidebar - the sidebar does not move when the page is scrolled)
@@ -93,7 +95,7 @@ Looking for AdSense plugin with simple setup for ads at best positions? A plugin
93
  * Create rich media ads with standard WordPress TinyMCE editor
94
  * Ad blocking detection - popup message, page redirection
95
  * Desktop/mobile device detection (server-side and client-side - works with caching)
96
- * [Blacklist/Whitelist](https://adinserter.pro/documentation/black-and-white-lists) categories, tags, taxonomies, post IDs, urls, url query parameters, cookies, referers
97
  * Easy copying and pasting ads or settings using internal clipboard
98
  * Simple troubleshooting with many debugging functions
99
  * Function to visualize inserted blocks and ads
@@ -128,10 +130,9 @@ Amazon suggests to use Ad Inserter to add Native Shopping Ads to Wordpress posts
128
 
129
  Check <a href="https://affiliate-program.amazon.com/help/topic/t405" target="_blank">Wordpress Integration Guide for Native Shopping Ads</a>. Ad Inserter supports also advanced contextual ads: check settings for <a href="https://adinserter.pro/documentation/common-settings#amazon">contextual Native Shopping Ads</a> that show ads with items related to the post content (using post tags).
130
 
131
- And if you need more ads with page/category specific settings, ad statistics and metrics for impressions and clicks, A/B testing, lazy loading ads, sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve country-specific ads, functions to protect content from users using ad blockers, functions to serve different ads for users using ad blockers, multisite options to limit settings for ads, to block some IP addresses, to schedule ads, there is **Ad Inserter Pro** - all-in-one WordPress ad management plugin with many [advanced features](https://adinserter.pro/documentation/features):
132
 
133
- * 64 code (ad) blocks (64 different insertion configurations for ads)
134
- * Geolocation using Webnet77 or <a href="http://www.maxmind.com/" target="_blank">MaxMind</a> databases (works also with caching)
135
  * Blacklist/Whitelist IP addresses or countries (works also with caching)
136
  * Ad impression and click statistics (works also with `<iframe>` Javascript ads like Google AdSense)
137
  * External tracking via Google Analytics or Matomo (Piwik)
@@ -142,25 +143,28 @@ And if you need more ads with page/category specific settings, ad statistics and
142
  * Floating slide-in banner ads
143
  * [Sticky (floating) ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with animations (fade, slide, turn, flip, zoom)
144
  * Animation trigger for sticky ads (page scroll in % or px, HTML element becomes visible)
145
- * Scheduling with fallback option
 
146
  * Ad blocking detection - replace ads, protect content
147
  * Ad blocking statistics
148
  * Multisite options to limit settings on the sites
149
  * Individual post/page exception management
150
- * More custom viewports for client-side desktop/mobile device detection
151
- * More custom hooks for custom theme insertions
152
  * Export and import of settings
153
  * No ads on the settings page
154
  * Support via email
155
 
156
  Run a WordPress related blog? Have experience with AdSense ads? Interested in reviewing Ad Inserter Pro? [Introduce yourself](https://adinserter.pro/contact).
157
 
158
- Ad Inserter WordPress plugin is an advanced advertising manager for all kind of ads - it has many features and options to automate placing ads in order to optimally monetize your website on desktop, tablet and phone displays. It provides many simple ways to insert any kind of ads, Javascript, HTML, PHP or advert code anywhere on the page. For best placement of ads please read the user manual to get the most of the plugin.
159
 
160
- Check [Ad Inserter documentation pages](https://adinserter.pro/documentation) for detailed description of all the features and some [common settings](https://adinserter.pro/documentation/common-settings) for quick start
 
 
161
 
162
  You can also use shortcodes from other plugins (for example, to insert ads from other ad plugins like AdRotate, Advanced Ads, Quick Adsense, AdSense Plugin WP QUADS, Insert Post Ads).
163
 
 
 
164
  **Ad Inserter can insert ads where other plugins fail**.
165
  It's all about the settings.
166
 
@@ -172,8 +176,10 @@ Ad Inserter is not just another plugin for WordPress ads. Do you enjoy finding t
172
 
173
  * for ad management and ad injection
174
  * to insert Google AdSense ads or Media.net ads
 
175
  * to insert Amazon Native Shopping ads
176
  * to insert affiliate ads (CJ Affiliate by Conversant, ClickBank, ShareASale, Rakuten LinkShare, etc.)
 
177
  * to insert ads between paragraphs
178
  * to insert ads between posts
179
  * to insert ads between comments
@@ -183,14 +189,13 @@ Ad Inserter is not just another plugin for WordPress ads. Do you enjoy finding t
183
  * to insert ads at custom action hooks (e.g. using <a href="https://genesistutorials.com/visual-hook-guide/" target="_blank">Genesis Theme Framework Hook Guide</a>)
184
  * to hide ads on specific pages
185
  * for ad rotation - to rotate different ads in a single ad position
186
- * for PHP code widgets
187
  * for sticky (fixed) widgets
188
  * for widget logic
189
  * to restrict widgets
190
  * to detect ad blocking
191
  * to insert banner ads
192
  * to insert PHP or HTML code into posts
193
- * to insert PHP ads
194
  * to insert tracking, footer or header code
195
  * to insert PHP, HTML, CSS, shortcodes
196
  * to insert Google analytics code
@@ -210,23 +215,55 @@ Few typical settings are described on the <a href="https://adinserter.pro/docume
210
 
211
  **Main AdSense Features**
212
 
 
 
213
  * Get code for AdSense ads directly from your [AdSense account](https://adinserter.pro/documentation/adsense-ads#integration)
 
214
  * Create code for AdSense AMP ads from normal AdSense ad code
215
- * Create responsive AdSense code from fixed size AdSense ads
216
- * Create responsive AdSense code with [fixed ad sizes for differrent devices](https://adinserter.pro/documentation/adsense-ads#responsive)
 
 
 
 
217
  * Optionally limit insertion to 3 AdSense ads per page
218
  * Disable insertion of AdSense ads on Error 404 pages
219
- * Insert AdSense In-feed or In-article ads between posts or comments
 
220
  * Debugging function to label AdSense ad blocks to mark [blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed)
221
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  **Insert Any Code Anywhere on the Page - Automate Insertion of Ads**
223
 
224
- * Automatic insertion using standard WP hooks (the_content, the_excerpt, loop_start, loop_end, the_post,...)
225
- * Automatic insertion using custom WP hooks provided by themes (e.g. using <a href="https://genesistutorials.com/visual-hook-guide/" target="_blank">Genesis Theme Framework Hooks</a>)
226
  * Server-side or client-side (javascript) insertion before or after **any HTML element on page** (using selectors #id, .class)
227
- * Manual insertion with shortcodes
228
- * Insertion with widgets
229
- * Insertion by placing PHP function calls or custom hooks in your theme files
230
 
231
  Ad Inserter is **the only WordPress plugin that can insert any code or ads anywhere on the page**. If standard insertions before/after post, content or paragraph can't be used, you can use advanced insertion [before/after arbitrary HTML element](https://adinserter.pro/documentation/automatic-insertion#before-after-html-element).
232
 
@@ -252,7 +289,6 @@ Support the advancement of this plugin:
252
 
253
  [Ad Inserter installation](https://adinserter.pro/documentation/plugin-installation)
254
 
255
-
256
  **Online Documentation**
257
 
258
  * [Ad Inserter Documentation](https://adinserter.pro/documentation)
@@ -271,18 +307,6 @@ Support the advancement of this plugin:
271
 
272
  == Frequently Asked Questions ==
273
 
274
- = I have activated Ad Inserter. How can I use it? =
275
-
276
- 1. After activation, click "Settings / Ad Inserter" to access the settings page
277
- 2. There are 16 blocks - each block means ad code at some position (or multiple positions in some cases)
278
- 3. Put ad (or any other HTML/Javascript/PHP) code into the code window
279
- 4. Set automatic insertion option (for example: Before Post)
280
- 5. Enable at least one page type (for example: Posts, some insertion options don't work on all page types)
281
- 6. Save settings
282
- 7. Check also [common Ad Inserter settings](https://adinserter.pro/documentation/common-settings)
283
- 8. Check inserted code on the posts
284
- 9. Ads are not showing? Check [Blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed) and [troubleshooting guide](https://adinserter.pro/documentation/troubleshooting#ads-not-displayed) to find out what to check.
285
-
286
  = Settings for ads ... =
287
 
288
  Check <a href="https://adinserter.pro/documentation/common-settings" target="_blank">common Ad Inserter settings</a>
@@ -290,14 +314,16 @@ Check <a href="https://adinserter.pro/documentation/common-settings" target="_bl
290
  = Does Ad Inserter insert any internal ads? =
291
 
292
  No revenue sharing and no such thing as "internal ads" or "our ads" on your website. Period. What you configure is what will be inserted (+ some internal scripts for plugin features).
293
- Ad Inserter is free, open source plugin and inserts only the code you configure (blocks 1 - 16, Header, Footer). The code you see is the code that will be inserted. Please check page source code before you make any conclusion.
294
- Of course, if you configure code block with some javacript ad code, then this code may generate ads. But please, don't blame the plugin for this.
295
  You can also use Ad Inserter to insert code for AdSense Auto ads on each page (usually in the header). However, **the exact placement of ads will be done by the ad code, not Ad Inserter!**
296
  [https://adinserter.pro/documentation/adsense-ads#auto-ads](https://adinserter.pro/documentation/adsense-ads#auto-ads)
297
 
298
  The easiest way to check Ad Inserter blocks is to use **Label blocks** debugging function:
299
  [https://adinserter.pro/documentation/debugging](https://adinserter.pro/documentation/debugging)
300
 
 
 
301
 
302
  = I have installed code for AdSense ads and I see ads placed at random positions. =
303
 
@@ -493,7 +519,7 @@ Please note that responsive AdSense ads can not work with floating alignments (a
493
 
494
  == Screenshots ==
495
 
496
- 1. Settings for one code block (Before content). Up to 16 blocks can be configured (up to 64 in <a href="https://adinserter.pro/" target="_blank">Ad Inserter Pro</a>)
497
  2. Code preview with visual CSS editor
498
  3. Code preview with visual CSS editor - highlighted code
499
  4. Post / Page Ad Inserter Individual Exceptions
@@ -514,6 +540,15 @@ Please note that responsive AdSense ads can not work with floating alignments (a
514
 
515
  == Changelog ==
516
 
 
 
 
 
 
 
 
 
 
517
  = 2.4.5 =
518
  - Added support for AMP WP - Google AMP For WordPress
519
  - Added support to individually disable insertions for debugging purposes
@@ -588,6 +623,15 @@ For the changelog of earlier versions, please refer to the separate changelog.tx
588
 
589
  == Upgrade Notice ==
590
 
 
 
 
 
 
 
 
 
 
591
  = 2.4.5 =
592
  Added support for AMP WP - Google AMP For WordPress;
593
  Added support to individually disable insertions for debugging purposes;
6
  Requires at least: 4.0
7
  Tested up to: 5.0
8
  Requires PHP: 5.6
9
+ Stable tag: 2.4.6
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
58
  * Insert ads before or after paragraph
59
  * Insert ads before or after random paragraph
60
  * Insert ads before or after multiple paragraphs
61
+ * Insert ads before or after image
62
  * Insert ads before or after comments
63
  * Insert ads before or after excerpt
64
  * Insert ads near any element on the page (using CSS selectors)
77
  * Insert raw HTTP response header lines
78
  * Insert Google Analytics, Matomo (Piwik) or any other tracking code
79
  * Insert HTML, CSS, Javascript or PHP code
80
+ * Code generator for banner ads and placeholders
81
+ * Code generator for AdSense ads
82
  * Visual advert editor - create ads from scratch
83
  * Manual insertion: widgets, shortcodes, PHP function call
84
  * Sticky (fixed) widgets (sticky sidebar - the sidebar does not move when the page is scrolled)
95
  * Create rich media ads with standard WordPress TinyMCE editor
96
  * Ad blocking detection - popup message, page redirection
97
  * Desktop/mobile device detection (server-side and client-side - works with caching)
98
+ * [Blacklist/Whitelist](https://adinserter.pro/documentation/black-and-white-lists) categories, tags, taxonomies, post IDs, urls, url query parameters, cookies, referrers
99
  * Easy copying and pasting ads or settings using internal clipboard
100
  * Simple troubleshooting with many debugging functions
101
  * Function to visualize inserted blocks and ads
130
 
131
  Check <a href="https://affiliate-program.amazon.com/help/topic/t405" target="_blank">Wordpress Integration Guide for Native Shopping Ads</a>. Ad Inserter supports also advanced contextual ads: check settings for <a href="https://adinserter.pro/documentation/common-settings#amazon">contextual Native Shopping Ads</a> that show ads with items related to the post content (using post tags).
132
 
133
+ If you need statistics for ads and metrics for impressions and clicks, A/B testing, lazy loading ads, sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve country-specific ads, functions to protect content from users using ad blockers, functions to serve different ads for users using ad blockers, multisite options to limit settings for ads, to block some IP addresses, to schedule ads, there is **Ad Inserter Pro** - all-in-one WordPress ad management plugin with many [advanced features](https://adinserter.pro/documentation/features):
134
 
135
+ * Geolocation using Webnet77 or [MaxMind](http://www.maxmind.com/) databases (works also with caching)
 
136
  * Blacklist/Whitelist IP addresses or countries (works also with caching)
137
  * Ad impression and click statistics (works also with `<iframe>` Javascript ads like Google AdSense)
138
  * External tracking via Google Analytics or Matomo (Piwik)
143
  * Floating slide-in banner ads
144
  * [Sticky (floating) ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with animations (fade, slide, turn, flip, zoom)
145
  * Animation trigger for sticky ads (page scroll in % or px, HTML element becomes visible)
146
+ * Support to schedule ads with fallback option
147
+ * Support ads in iframes
148
  * Ad blocking detection - replace ads, protect content
149
  * Ad blocking statistics
150
  * Multisite options to limit settings on the sites
151
  * Individual post/page exception management
 
 
152
  * Export and import of settings
153
  * No ads on the settings page
154
  * Support via email
155
 
156
  Run a WordPress related blog? Have experience with AdSense ads? Interested in reviewing Ad Inserter Pro? [Introduce yourself](https://adinserter.pro/contact).
157
 
158
+ Have experience with WordPress theme or plugin translation? We are looking for translators! [Contact us](https://adinserter.pro/contact).
159
 
160
+ Ad Inserter WordPress plugin is an advanced advertising manager for all kinds of ads - it has many features and options to automate placing ads in order to optimally monetize your website on desktop, tablet and phone displays. It provides many simple ways to insert any kind of ads, Javascript, HTML, PHP or advert code anywhere on the page. For best placement of ads please read the user manual to get the most of the plugin.
161
+
162
+ Check [Ad Inserter documentation pages](https://adinserter.pro/documentation) for detailed description of all the features and some [common settings](https://adinserter.pro/documentation/common-settings) for quick start.
163
 
164
  You can also use shortcodes from other plugins (for example, to insert ads from other ad plugins like AdRotate, Advanced Ads, Quick Adsense, AdSense Plugin WP QUADS, Insert Post Ads).
165
 
166
+ Ads are not showing? Check [Blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed) and [troubleshooting guide](https://adinserter.pro/documentation/troubleshooting#ads-not-displayed) to find out what to check.
167
+
168
  **Ad Inserter can insert ads where other plugins fail**.
169
  It's all about the settings.
170
 
176
 
177
  * for ad management and ad injection
178
  * to insert Google AdSense ads or Media.net ads
179
+ * for Google Ad Manager and DoubleClick (DFP) ads
180
  * to insert Amazon Native Shopping ads
181
  * to insert affiliate ads (CJ Affiliate by Conversant, ClickBank, ShareASale, Rakuten LinkShare, etc.)
182
+ * to insert ads form BuySellAds, Chitika, Ezoic, Booking.com, Tradedoubler, Awin, Getyourguide
183
  * to insert ads between paragraphs
184
  * to insert ads between posts
185
  * to insert ads between comments
189
  * to insert ads at custom action hooks (e.g. using <a href="https://genesistutorials.com/visual-hook-guide/" target="_blank">Genesis Theme Framework Hook Guide</a>)
190
  * to hide ads on specific pages
191
  * for ad rotation - to rotate different ads in a single ad position
192
+ * for PHP code widgets and PHP ads
193
  * for sticky (fixed) widgets
194
  * for widget logic
195
  * to restrict widgets
196
  * to detect ad blocking
197
  * to insert banner ads
198
  * to insert PHP or HTML code into posts
 
199
  * to insert tracking, footer or header code
200
  * to insert PHP, HTML, CSS, shortcodes
201
  * to insert Google analytics code
215
 
216
  **Main AdSense Features**
217
 
218
+ To show AdSense ads you need to place code for AdSense ads on your website - you need WordPress AdSense plugin. Ad Inserter is a perfect tool to automatically insert code for AdSense ads on any page. AdSense integration and clearance options to make sure that your page will comply with the AdSense program policies, are just two advanced features that will help you to monetize your website with AdSense ads.
219
+
220
  * Get code for AdSense ads directly from your [AdSense account](https://adinserter.pro/documentation/adsense-ads#integration)
221
+ * Code generator for AdSense ads
222
  * Create code for AdSense AMP ads from normal AdSense ad code
223
+ * Convert standard AdSense text & display ads to AdSense link ads or vice versa
224
+ * Convert fixed size AdSense ads to responsive AdSense ads
225
+ * Convert responsive AdSense ads to fixed size AdSense ads
226
+ * Create responsive AdSense ads with [fixed ad sizes for differrent devices](https://adinserter.pro/documentation/adsense-ads#responsive)
227
+ * Support for AdSense Auto ads
228
+ * Support to exclude AdSense Auto ads [on specific pages](https://adinserter.pro/documentation/plugin-settings#page-specific-header-footer)
229
  * Optionally limit insertion to 3 AdSense ads per page
230
  * Disable insertion of AdSense ads on Error 404 pages
231
+ * Insert AdSense In-feed ads or In-article ads between posts or comments
232
+ * Simple troubleshooting when AdSense ads are not displayed
233
  * Debugging function to label AdSense ad blocks to mark [blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed)
234
 
235
+ *AdSense dictionary*
236
+
237
+ Ad Inserter is also a powerful AdSense plugin. However, AdSense ads require some knowledge of ad terminology in order to use the right code for ads and to place them properly. This is a short list of commonly used terms:
238
+
239
+ * Google AdSense: a program run by Google that allows publishers in the Google Network of content sites to serve automatic text ads, image ads, video ads or interactive media ads. Google AdSense provides the right ads for any audience: ads are reviewed to ensure they're high quality and relevant to your content or audience, even when viewed on smartphones and tablets. Block ads you don't like, customize where ads appear, and choose which types of ads fit your site best
240
+ * AdSense text ads: ad with a title that's also a clickable link to a webpage, one or two lines of text, and a website address
241
+ * AdSense display ads: graphical ads offered in several formats
242
+ * AdSense video ads: one type of ads that can appear on AdSense sites - they can show on your pages if you have chosen to display image ads and are a using supported ad size
243
+ * AdSense richer text ads: a form of text ads supplemented with advertiser images that are displayed as "display-like" ads
244
+ * AdSense ad unit: a set of Google ads displayed as a result of one piece of AdSense ad code - for AdSense publishers who want full control over the placement of their ads
245
+ * AdSense ad code: a snippet of HTML that when placed on any page of an approved site shows Google AdSense ads in a specific ad layout and format
246
+ * AdSense ad format: the way AdSense ads are shown to the users on your site - different ad formats can support different ad types, such as text ads, display ads, video ads
247
+ * Responsive AdSense ads: ads will resize to fill available width
248
+ * Fixed size AdSense ads: you define width and height of ads
249
+ * AdSense In-feed ads: ads between similar-looking content blocks that repeat one after the other
250
+ * AdSense In-article ads: ads that fit seamlessly in between the paragraphs of your pages
251
+ * AdSense Auto ads: a code that you insert on every page once and it will automatically display AdSense ads **on positions chosen by the Auto ads code** - a fast and easy way for AdSense publishers to get up and running with ads
252
+ * AdSense ads on AMP pages: AMP pages need different code for AdSense ads. Each Ad Inserter code block can be configured to insert different codes on AMP pages - you can use use built-in AdSense code generator to generate code for AMP AdSense ads
253
+ * Blank AdSense ads: blank (empty) ad blocks when Google for some reason does not display ads
254
+ * AdSense integration: connection between plugin and your AdSense account
255
+ * AdSense Program policies: all publishers using AdSense ads are required to adhere to AdSense Program policies - if you fail to comply with these policies, Google reserves the right to disable ad serving to your site (you get blank AdSense ads) and/or disable your AdSense account at any time
256
+ * Personalized ads: Google considers ads to be personalized when they are based on previously collected or historical data to determine or influence ad selection, including a user's previous search queries, activity, visits to sites or apps, demographic information, or location
257
+ * Non-personalized ads: ads that are not based on a user's past behavior. Non-Personalized Ads allow publishers to present EEA users with a choice between personalized ads and non-personalized ads, or to choose to serve only non-personalized ads to all users in the EEA. Non-Personalized Ads only use contextual information, including coarse general (city-level) location.
258
+
259
  **Insert Any Code Anywhere on the Page - Automate Insertion of Ads**
260
 
261
+ * Automatic insertion of ads using standard WP hooks (the_content, the_excerpt, loop_start, loop_end, the_post,...)
262
+ * Automatic insertion of ads using custom WP hooks provided by themes (e.g. using <a href="https://genesistutorials.com/visual-hook-guide/" target="_blank">Genesis Theme Framework Hooks</a>)
263
  * Server-side or client-side (javascript) insertion before or after **any HTML element on page** (using selectors #id, .class)
264
+ * Manual insertion of ads with shortcodes
265
+ * Insertion of ads with widgets
266
+ * Insertion of ads by placing PHP function calls or custom hooks in your theme files
267
 
268
  Ad Inserter is **the only WordPress plugin that can insert any code or ads anywhere on the page**. If standard insertions before/after post, content or paragraph can't be used, you can use advanced insertion [before/after arbitrary HTML element](https://adinserter.pro/documentation/automatic-insertion#before-after-html-element).
269
 
289
 
290
  [Ad Inserter installation](https://adinserter.pro/documentation/plugin-installation)
291
 
 
292
  **Online Documentation**
293
 
294
  * [Ad Inserter Documentation](https://adinserter.pro/documentation)
307
 
308
  == Frequently Asked Questions ==
309
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  = Settings for ads ... =
311
 
312
  Check <a href="https://adinserter.pro/documentation/common-settings" target="_blank">common Ad Inserter settings</a>
314
  = Does Ad Inserter insert any internal ads? =
315
 
316
  No revenue sharing and no such thing as "internal ads" or "our ads" on your website. Period. What you configure is what will be inserted (+ some internal scripts for plugin features).
317
+ Ad Inserter is free, open source plugin and inserts only the code or ads you configure (blocks, Header, Footer). The code you see is the code that will be inserted. Please check page source code before you make any conclusion.
318
+ Of course, if you configure code block with some JavaScript ad code, then this code may insert some additional code or show ads. But please, don't blame the plugin for this.
319
  You can also use Ad Inserter to insert code for AdSense Auto ads on each page (usually in the header). However, **the exact placement of ads will be done by the ad code, not Ad Inserter!**
320
  [https://adinserter.pro/documentation/adsense-ads#auto-ads](https://adinserter.pro/documentation/adsense-ads#auto-ads)
321
 
322
  The easiest way to check Ad Inserter blocks is to use **Label blocks** debugging function:
323
  [https://adinserter.pro/documentation/debugging](https://adinserter.pro/documentation/debugging)
324
 
325
+ Please note that when you disable Ad Inserter you also disable insertion of all codes and blocks you have configured.
326
+ Therefore, if your issues go away when you disable the plugin THIS DOES NOT INDICATE any issue with the plugin! You need to try to [disable individual codes](https://adinserter.pro/documentation/debugging#back-end) to see which one is causing trouble.
327
 
328
  = I have installed code for AdSense ads and I see ads placed at random positions. =
329
 
519
 
520
  == Screenshots ==
521
 
522
+ 1. Settings for one code block (Before content).
523
  2. Code preview with visual CSS editor
524
  3. Code preview with visual CSS editor - highlighted code
525
  4. Post / Page Ad Inserter Individual Exceptions
540
 
541
  == Changelog ==
542
 
543
+ = 2.4.6 =
544
+ - Improved ad blocking detection (detects Firefox content blocking)
545
+ - Added support for wildcards for referrers (domains)
546
+ - Added debugging notice when JavaScript errors are detected
547
+ - Added support to load blocks in iframes (Pro only)
548
+ - Added geolocation support for country subdivisions and cities (Pro only)
549
+ - Added option to hide license key on client websites (Pro only)
550
+ - Few minor bug fixes, cosmetic changes and code improvements
551
+
552
  = 2.4.5 =
553
  - Added support for AMP WP - Google AMP For WordPress
554
  - Added support to individually disable insertions for debugging purposes
623
 
624
  == Upgrade Notice ==
625
 
626
+ = 2.4.6 =
627
+ Improved ad blocking detection (detects Firefox content blocking);
628
+ Added support for wildcards for referrers (domains);
629
+ - Added debugging notice when JavaScript errors are detected
630
+ Added support to load blocks in iframes (Pro only);
631
+ Added geolocation support for country subdivisions and cities (Pro only);
632
+ Added option to hide license key on client websites (Pro only);
633
+ Few minor bug fixes, cosmetic changes and code improvements
634
+
635
  = 2.4.5 =
636
  Added support for AMP WP - Google AMP For WordPress;
637
  Added support to individually disable insertions for debugging purposes;
settings.php CHANGED
@@ -26,7 +26,15 @@ function generate_settings_form (){
26
  $subpage = 'main';
27
  $start = 1;
28
  $end = 16;
29
- if (function_exists ('ai_settings_parameters')) ai_settings_parameters ($subpage, $start, $end);
 
 
 
 
 
 
 
 
30
 
31
  if (isset ($_POST ['ai-active-tab'])) {
32
  $active_tabs = json_decode ($_POST ['ai-active-tab']);
@@ -157,24 +165,32 @@ function generate_settings_form (){
157
  <form id="ai-form" class="no-select rounded" style="float: left;" action="<?php echo $save_url; ?>" method="post" name="ai_form" start="<?php echo $start; ?>" end="<?php echo $end; ?>" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>">
158
 
159
  <div id="header" class="ai-form header rounded">
160
- <?php
161
- if (function_exists ('ai_settings_header')) ai_settings_header ($start, $active_tab); else { ?>
162
-
163
- <div style="float: left;">
164
- <h2 id="plugin_name" style="display: inline-block; margin: 5px 0;"><?php echo AD_INSERTER_NAME . ' ' . AD_INSERTER_VERSION; ?></h2>
165
  </div>
166
  <div id="header-buttons">
167
- <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;" />
168
- <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>
169
- <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>
170
- <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&nbsp;Pro</button>
171
- <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>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  </div>
173
 
174
  <div style="clear: both;"></div>
175
- <?php
176
- }
177
- ?>
178
  </div>
179
 
180
  <div id="javascript-warning" class="ai-form rounded" style="display: none;">
@@ -285,7 +301,7 @@ function generate_settings_form (){
285
 
286
  // $sidebars_with_widgets = array ();
287
  //// for ($block = $start; $block <= $end; $block ++){
288
- // for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++){
289
  // $sidebars_with_widget [$block]= array ();
290
  // }
291
  // foreach ($sidebar_widgets as $sidebar_index => $sidebar_widget) {
@@ -298,7 +314,7 @@ function generate_settings_form (){
298
  // $widget_option = $widget_options [$widget_id [1]];
299
  // $widget_block = $widget_option ['block'];
300
  //// if ($widget_block >= $start && $widget_block <= $end && !in_array ($sidebar_name, $sidebars_with_widget [$widget_block])) {
301
- // if ($widget_block >= 1 && $widget_block <= AD_INSERTER_BLOCKS && !in_array ($sidebar_name, $sidebars_with_widget [$widget_block])) {
302
  // $sidebars_with_widget [$widget_block] []= $sidebar_name;
303
  // }
304
  // }
@@ -521,6 +537,10 @@ function generate_settings_form (){
521
  $automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH ||
522
  $automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH;
523
 
 
 
 
 
524
  $paragraph_counting =
525
  $obj->get_direction_type() != $default->get_direction_type() ||
526
  $obj->get_paragraph_tags() != $default->get_paragraph_tags() ||
@@ -865,7 +885,7 @@ function generate_settings_form (){
865
 
866
  <table id="adsense-viewports-<?php echo $block; ?>" class="ai-settings-table right" style="display: none; width: auto;">
867
  <?php
868
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
869
  $viewport_name = get_viewport_name ($viewport);
870
  $viewport_width = get_viewport_width ($viewport);
871
  if ($viewport_name != '') { ?>
@@ -950,6 +970,8 @@ function generate_settings_form (){
950
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-before-content" value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_CONTENT; ?>" data-title="<?php echo AI_TEXT_BEFORE_CONTENT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_CONTENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_CONTENT; ?></option>
951
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-before-paragraph" value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH; ?>" data-title="<?php echo AI_TEXT_BEFORE_PARAGRAPH; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_PARAGRAPH; ?></option>
952
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-paragraph" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH; ?>" data-title="<?php echo AI_TEXT_AFTER_PARAGRAPH; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_PARAGRAPH; ?></option>
 
 
953
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-content" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_CONTENT; ?>" data-title="<?php echo AI_TEXT_AFTER_CONTENT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_CONTENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_CONTENT; ?></option>
954
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-post" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_POST; ?>" data-title="<?php echo AI_TEXT_AFTER_POST; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_POST) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_POST; ?></option>
955
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-before-excerpts" value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_EXCERPT; ?>" data-title="<?php echo AI_TEXT_BEFORE_EXCERPT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_EXCERPT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_EXCERPT; ?></option>
@@ -982,7 +1004,7 @@ function generate_settings_form (){
982
  <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>
983
  </select>
984
  &nbsp;
985
- <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>
986
  </div>
987
  <div style="clear: both;"></div>
988
 
@@ -1177,6 +1199,7 @@ function generate_settings_form (){
1177
  <?php _e ('Paragraphs', 'ad-inserter'); ?>
1178
  <input
1179
  type="text"
 
1180
  name="<?php echo AI_OPTION_PARAGRAPH_NUMBER, WP_FORM_FIELD_POSTFIX, $block; ?>"
1181
  default="<?php echo $default->get_paragraph_number(); ?>"
1182
  value="<?php echo $obj->get_paragraph_number(); ?>"
@@ -1193,6 +1216,22 @@ function generate_settings_form (){
1193
  <div style="clear: both;"></div>
1194
  </div>
1195
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1196
  <div id="paragraph-counting-<?php echo $block; ?>" class="rounded" style="<?php echo $paragraph_counting ? "" : "display: none;" ?>">
1197
  <div class="max-input" style="margin: 0 0 8px 0;">
1198
  <span style="display: table-cell; width: 1px; white-space: nowrap;">
@@ -1389,7 +1428,7 @@ function generate_settings_form (){
1389
  <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>
1390
  </td>
1391
  <td style="padding-right: 7px; width: 65%;">
1392
- <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" />
1393
  </td>
1394
  <td style="padding-right: 7px;">
1395
  <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 '; ?> />
@@ -1415,7 +1454,7 @@ function generate_settings_form (){
1415
  <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>
1416
  </td>
1417
  <td style="padding-right: 7px;">
1418
- <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"/>
1419
  </td>
1420
  <td style="padding-right: 7px;">
1421
  <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 '; ?> />
@@ -1441,7 +1480,7 @@ function generate_settings_form (){
1441
  <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>
1442
  </td>
1443
  <td style="padding-right: 7px;">
1444
- <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" />
1445
  </td>
1446
  <td style="padding-right: 7px;">
1447
  <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 '; ?> />
@@ -1467,7 +1506,7 @@ function generate_settings_form (){
1467
  <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>
1468
  </td>
1469
  <td style="padding-right: 7px;">
1470
- <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"/>
1471
  </td>
1472
  <td style="padding-right: 7px;">
1473
  <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 '; ?> />
@@ -1538,13 +1577,13 @@ function generate_settings_form (){
1538
 
1539
  <tr>
1540
  <td>
1541
- <?php _e ('Referers', 'ad-inserter'); ?>
1542
  </td>
1543
  <td>
1544
  <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>
1545
  </td>
1546
  <td style="padding-right: 7px;">
1547
- <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"/>
1548
  </td>
1549
  <td style="padding-right: 7px;">
1550
  <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 '; ?> />
@@ -1637,19 +1676,17 @@ function generate_settings_form (){
1637
  <div style="float: left; margin: 7px 0 -2px 0;">
1638
  <?php
1639
 
1640
- $viewports = array ();
1641
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
1642
- $viewport_name = get_viewport_name ($viewport);
1643
- if ($viewport_name != '') $viewports [$viewport] = $viewport_name;
1644
- }
1645
- $number_of_viewports = count ($viewports);
1646
- $columns = 3;
1647
 
1648
  ?>
1649
  <table>
1650
  <tbody>
1651
  <?php
1652
-
1653
  $column = 0;
1654
  foreach ($viewports as $viewport => $viewport_name) {
1655
  if ($column % $columns == 0) {
@@ -1679,6 +1716,7 @@ function generate_settings_form (){
1679
  ?>
1680
  </tbody>
1681
  </table>
 
1682
  </div>
1683
  <div style="clear: both"></div>
1684
  </div>
@@ -1814,6 +1852,7 @@ function generate_settings_form (){
1814
  <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>
1815
  <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>
1816
  <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>
 
1817
  <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>
1818
  </select>
1819
  </span>
@@ -2167,17 +2206,18 @@ function generate_settings_form (){
2167
  <strong><?php _e ('Viewport Settings used for client-side device detection', 'ad-inserter'); ?></strong>
2168
  </div>
2169
  <?php
2170
- for ($viewport = 1; $viewport <= AD_INSERTER_VIEWPORTS; $viewport ++) {
2171
- $bottom_margin = $viewport == AD_INSERTER_VIEWPORTS ? 0 : 4;
 
2172
  ?>
2173
  <div style="margin: 4px 0 <?php echo $bottom_margin; ?>px 0;">
2174
  <?php /* Translators: %d: viewport number */ printf (__('Viewport %d name', 'ad-inserter'), $viewport); ?>&nbsp;&nbsp;&nbsp;
2175
  <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" />
2176
- <?php if ($viewport == AD_INSERTER_VIEWPORTS) echo '<span style="display: none;">' ?>
2177
  &nbsp;&nbsp; <?php _e ('min width', 'ad-inserter'); ?>
2178
  <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
2179
- <?php if ($viewport == AD_INSERTER_VIEWPORTS) echo '</span>' ?>
2180
- </div>
2181
  <?php
2182
  }
2183
  ?>
@@ -2191,15 +2231,16 @@ function generate_settings_form (){
2191
  <table>
2192
  <tbody>
2193
  <?php
2194
- for ($hook = 1; $hook <= AD_INSERTER_HOOKS; $hook ++) {
 
2195
  ?>
2196
  <tr>
2197
  <td style="padding: 0 0 2px 0;">
2198
  <input type="hidden" name="hook-enabled-<?php echo $hook; ?>" value="0" />
2199
- <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 '; ?> />
2200
  </td>
2201
  <td style="white-space: nowrap;">
2202
- <label for="hook-enabled-<?php echo $hook; ?>" title="Enable hook"><?php /* translators: %d: hook number */ printf (__('Hook %d name', 'ad-inserter'), $hook); ?></label>
2203
  </td>
2204
  <td style="width: 25%;">
2205
  <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" />
@@ -2219,6 +2260,7 @@ function generate_settings_form (){
2219
  </tr>
2220
  <?php
2221
  }
 
2222
  ?>
2223
  </tbody>
2224
  </table>
@@ -2865,7 +2907,7 @@ function get_sidebar_widgets () {
2865
 
2866
  $sidebars_with_widgets = array ();
2867
  // for ($block = $start; $block <= $end; $block ++){
2868
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++){
2869
  $sidebars_with_widget [$block]= array ();
2870
  }
2871
  foreach ($sidebar_widgets as $sidebar_index => $sidebar_widget) {
@@ -2878,7 +2920,7 @@ function get_sidebar_widgets () {
2878
  $widget_option = $widget_options [$widget_id [1]];
2879
  $widget_block = $widget_option ['block'];
2880
  // if ($widget_block >= $start && $widget_block <= $end && !in_array ($sidebar_name, $sidebars_with_widget [$widget_block])) {
2881
- if ($widget_block >= 1 && $widget_block <= AD_INSERTER_BLOCKS && !in_array ($sidebar_name, $sidebars_with_widget [$widget_block])) {
2882
  $sidebars_with_widget [$widget_block] []= $sidebar_name;
2883
  }
2884
  }
@@ -2976,14 +3018,14 @@ function code_block_list () {
2976
  $error = false;
2977
  foreach ($blocks_org as $index => $block) {
2978
  $new_block = $blocks_new [$index];
2979
- if ($block >= 1 && $block <= AD_INSERTER_BLOCKS && $new_block >= 1 && $new_block <= AD_INSERTER_BLOCKS) {
2980
  $new_options [$block] = $current_options [$new_block];
2981
  } else $error = true;
2982
  }
2983
 
2984
  if (!$error) {
2985
  // Update AI_OPTION_FALLBACK and AI_OPTION_ADB_BLOCK_REPLACEMENT
2986
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
2987
  if (isset ($new_options [$block][AI_OPTION_FALLBACK])) {
2988
  $ai_option_fallback = $new_options [$block][AI_OPTION_FALLBACK];
2989
  if ($ai_option_fallback != '')
@@ -3026,7 +3068,7 @@ function code_block_list () {
3026
  foreach ($ai_widgets as $widget_index => $ai_widget) {
3027
  if (isset ($ai_widget ['block'])) {
3028
  $widget_block = $ai_widget ['block'];
3029
- if ($widget_block >= 1 && $widget_block <= AD_INSERTER_BLOCKS) {
3030
  foreach ($blocks_new as $index => $org_block) {
3031
  if ($widget_block == $org_block) {
3032
  $ai_widgets [$widget_index]['block'] = $blocks_org [$index];
@@ -3083,7 +3125,7 @@ function code_block_list () {
3083
 
3084
  $blocks = array ();
3085
  $row_counter = 0;
3086
- for ($block = 1; $block <= AD_INSERTER_BLOCKS; $block ++) {
3087
  $obj = $block_object [$block];
3088
 
3089
  $automatic_insertion = $obj->get_automatic_insertion () != AI_AUTOMATIC_INSERTION_DISABLED;
@@ -3859,7 +3901,6 @@ function sidebar_pro () {
3859
  <h4 style="text-align: justify;"><?php _e ('To Optimally Monetize your WordPress website?', 'ad-inserter'); ?></h4>
3860
 
3861
  <ul>
3862
- <li><?php /* translators: %s HTML tags */ printf (__('64 ad blocks (positions)', 'ad-inserter')); ?></li>
3863
  <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>
3864
  <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>
3865
  <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>
@@ -3892,7 +3933,7 @@ function sidebar_pro () {
3892
  <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>
3893
  <li><?php /* translators: %s HTML tags */ printf (__('Support for Google Analytics, Matomo or any other web analytics code', 'ad-inserter')); ?></li>
3894
  <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>
3895
- <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>
3896
  <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>
3897
  <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>
3898
  <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>
@@ -3910,7 +3951,7 @@ function sidebar_pro () {
3910
  <li><?php /* translators: %s HTML tags */ printf (__('Support via email', 'ad-inserter')); ?></li>
3911
  </ul>
3912
 
3913
- <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>
3914
  </div>
3915
 
3916
  <?php
26
  $subpage = 'main';
27
  $start = 1;
28
  $end = 16;
29
+ // if (function_exists ('ai_settings_parameters')) ai_settings_parameters ($subpage, $start, $end);
30
+ if (isset ($_GET ['subpage'])) $subpage = $_GET ['subpage'];
31
+
32
+ if (isset ($_GET ['start'])) $start = $_GET ['start']; else $start = 1;
33
+ if (!is_numeric ($start)) $start = 1;
34
+ if ($start < 1 || $start > 96) $start = 1;
35
+ $end = $start + 15;
36
+ if ($end > 96) $end = 96;
37
+
38
 
39
  if (isset ($_POST ['ai-active-tab'])) {
40
  $active_tabs = json_decode ($_POST ['ai-active-tab']);
165
  <form id="ai-form" class="no-select rounded" style="float: left;" action="<?php echo $save_url; ?>" method="post" name="ai_form" start="<?php echo $start; ?>" end="<?php echo $end; ?>" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>">
166
 
167
  <div id="header" class="ai-form header rounded">
168
+ <div id= "ai-settings-header" style="float: left;">
169
+ <h2 id="plugin_name" style="margin: 5px 0;"><?php echo AD_INSERTER_NAME . ' ' . AD_INSERTER_VERSION ?></h2>
 
 
 
170
  </div>
171
  <div id="header-buttons">
172
+ <div id="dummy-ranges" style="height: 26px; width: 300px;"></div>
173
+ <div id="ai-ranges" style="display: none;">
174
+ <img id="ai-loading" src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>loading.gif" style="width: 24px; height: 24px; vertical-align: middle; margin-right: 10px; display: none;" />
175
+ <button type="button" class="ai-top-button" style="display: none; margin: 0 10px 0 0; outline-color: transparent;" onclick="window.open('https://adinserter.pro/documentation')" title="<?php _e ('Online documentation', 'ad-inserter'); ?>"><?php _e ('Documentation', 'ad-inserter'); ?></button>
176
+ <?php
177
+ for ($range = 1; $range <= intval ((96 + 15) / 16); $range ++){
178
+ $range_start = ($range - 1) * 16 + 1;
179
+ $range_end = $range_start + 16 - 1;
180
+ if ($range_end > 96) $range_end = 96;
181
+ if (($active_tab >= $range_start && $active_tab <= $range_end) || ($start == $range_start && $active_tab == 0)) $style = "font-weight: bold; color: #44e; "; else $style = "";
182
+ ?>
183
+ <button type="button" class="ai-top-button" id="button-range-<?php echo $range; ?>" style="display: none; margin-right: 0px; outline-color: transparent;" onclick="window.location.href='<?php echo admin_url('options-general.php?page=ad-inserter.php&start='.$range_start); ?>'">
184
+ <span style="<?php echo $style; ?>"><?php echo $range_start, " - ", $range_end; ?></span>
185
+ </button>
186
+ <?php } ?>
187
+ <button type="button" class="ai-top-button" id="ai-list" style="display: none; margin-right: 0px; outline-color: transparent;">
188
+ <span><?php _e ('Blocks', 'ad-inserter'); ?></span>
189
+ </button>
190
+ </div>
191
  </div>
192
 
193
  <div style="clear: both;"></div>
 
 
 
194
  </div>
195
 
196
  <div id="javascript-warning" class="ai-form rounded" style="display: none;">
301
 
302
  // $sidebars_with_widgets = array ();
303
  //// for ($block = $start; $block <= $end; $block ++){
304
+ // for ($block = 1; $block <= 96; $block ++){
305
  // $sidebars_with_widget [$block]= array ();
306
  // }
307
  // foreach ($sidebar_widgets as $sidebar_index => $sidebar_widget) {
314
  // $widget_option = $widget_options [$widget_id [1]];
315
  // $widget_block = $widget_option ['block'];
316
  //// if ($widget_block >= $start && $widget_block <= $end && !in_array ($sidebar_name, $sidebars_with_widget [$widget_block])) {
317
+ // if ($widget_block >= 1 && $widget_block <= 96 && !in_array ($sidebar_name, $sidebars_with_widget [$widget_block])) {
318
  // $sidebars_with_widget [$widget_block] []= $sidebar_name;
319
  // }
320
  // }
537
  $automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH ||
538
  $automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH;
539
 
540
+ $image_settings =
541
+ $automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_IMAGE ||
542
+ $automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_IMAGE;
543
+
544
  $paragraph_counting =
545
  $obj->get_direction_type() != $default->get_direction_type() ||
546
  $obj->get_paragraph_tags() != $default->get_paragraph_tags() ||
885
 
886
  <table id="adsense-viewports-<?php echo $block; ?>" class="ai-settings-table right" style="display: none; width: auto;">
887
  <?php
888
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
889
  $viewport_name = get_viewport_name ($viewport);
890
  $viewport_width = get_viewport_width ($viewport);
891
  if ($viewport_name != '') { ?>
970
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-before-content" value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_CONTENT; ?>" data-title="<?php echo AI_TEXT_BEFORE_CONTENT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_CONTENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_CONTENT; ?></option>
971
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-before-paragraph" value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH; ?>" data-title="<?php echo AI_TEXT_BEFORE_PARAGRAPH; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_PARAGRAPH; ?></option>
972
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-paragraph" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH; ?>" data-title="<?php echo AI_TEXT_AFTER_PARAGRAPH; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_PARAGRAPH; ?></option>
973
+ <!-- <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-before-image" value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_IMAGE; ?>" data-title="<?php echo AI_TEXT_BEFORE_IMAGE; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_IMAGE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_IMAGE; ?></option>-->
974
+ <!-- <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-image" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_IMAGE; ?>" data-title="<?php echo AI_TEXT_AFTER_IMAGE; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_IMAGE) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_IMAGE; ?></option>-->
975
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-content" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_CONTENT; ?>" data-title="<?php echo AI_TEXT_AFTER_CONTENT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_CONTENT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_CONTENT; ?></option>
976
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-after-post" value="<?php echo AI_AUTOMATIC_INSERTION_AFTER_POST; ?>" data-title="<?php echo AI_TEXT_AFTER_POST; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_POST) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_AFTER_POST; ?></option>
977
  <option data-img-src="<?php echo plugins_url ('css/images/blank.png', __FILE__); ?>" data-img-class="automatic-insertion im-before-excerpts" value="<?php echo AI_AUTOMATIC_INSERTION_BEFORE_EXCERPT; ?>" data-title="<?php echo AI_TEXT_BEFORE_EXCERPT; ?>" <?php echo ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_EXCERPT) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_BEFORE_EXCERPT; ?></option>
1004
  <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>
1005
  </select>
1006
  &nbsp;
1007
+ <button id="show-css-button-<?php echo $block; ?>" type="button" class='ai-button' style="min-width: 60px; margin-right: 0px; visibility: hidden;"><?php _ex ('Show', 'Button', 'ad-inserter'); ?></button>
1008
  </div>
1009
  <div style="clear: both;"></div>
1010
 
1199
  <?php _e ('Paragraphs', 'ad-inserter'); ?>
1200
  <input
1201
  type="text"
1202
+ id="paragraph-numbers-<?php echo $block; ?>"
1203
  name="<?php echo AI_OPTION_PARAGRAPH_NUMBER, WP_FORM_FIELD_POSTFIX, $block; ?>"
1204
  default="<?php echo $default->get_paragraph_number(); ?>"
1205
  value="<?php echo $obj->get_paragraph_number(); ?>"
1216
  <div style="clear: both;"></div>
1217
  </div>
1218
 
1219
+ <div id="image-settings-<?php echo $block; ?>" class="rounded" style="<?php echo $image_settings ? "" : " display: none;" ?>">
1220
+ <div style="float: left; margin-top: 1px;">
1221
+ <?php _e ('Images', 'ad-inserter'); ?>
1222
+ <input
1223
+ type="text"
1224
+ id="image-numbers-<?php echo $block; ?>"
1225
+ name="<?php echo AI_OPTION_PARAGRAPH_NUMBER, WP_FORM_FIELD_POSTFIX, $block; ?>"
1226
+ default="<?php echo $default->get_paragraph_number(); ?>"
1227
+ value="<?php echo $obj->get_paragraph_number(); ?>"
1228
+ title="<?php _e('Image number or comma separated image numbers: 1 to N means image number, %N means every N images, empty means all images, 0 means random image, value between 0 and 1 means relative position on the page (0.2 means paragraph at 20% of page images, 0.5 means middle image, 0.9 means paragraph at 90% of page images, etc.), negative number means counting from the opposite direction', 'ad-inserter'); ?>"
1229
+ size="20"
1230
+ maxlength="50" />
1231
+ </div>
1232
+ <div style="clear: both;"></div>
1233
+ </div>
1234
+
1235
  <div id="paragraph-counting-<?php echo $block; ?>" class="rounded" style="<?php echo $paragraph_counting ? "" : "display: none;" ?>">
1236
  <div class="max-input" style="margin: 0 0 8px 0;">
1237
  <span style="display: table-cell; width: 1px; white-space: nowrap;">
1428
  <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>
1429
  </td>
1430
  <td style="padding-right: 7px; width: 65%;">
1431
+ <input id="category-list-<?php echo $block; ?>" class="ai-list-lowercase 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" />
1432
  </td>
1433
  <td style="padding-right: 7px;">
1434
  <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 '; ?> />
1454
  <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>
1455
  </td>
1456
  <td style="padding-right: 7px;">
1457
+ <input id="tag-list-<?php echo $block; ?>" class="ai-list-lowercase 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"/>
1458
  </td>
1459
  <td style="padding-right: 7px;">
1460
  <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 '; ?> />
1480
  <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>
1481
  </td>
1482
  <td style="padding-right: 7px;">
1483
+ <input id="taxonomy-list-<?php echo $block; ?>" class="ai-list-lowercase 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" />
1484
  </td>
1485
  <td style="padding-right: 7px;">
1486
  <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 '; ?> />
1506
  <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>
1507
  </td>
1508
  <td style="padding-right: 7px;">
1509
+ <input id="id-list-<?php echo $block; ?>" class="ai-list-lowercase 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"/>
1510
  </td>
1511
  <td style="padding-right: 7px;">
1512
  <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 '; ?> />
1577
 
1578
  <tr>
1579
  <td>
1580
+ <?php _e ('Referrers', 'ad-inserter'); ?>
1581
  </td>
1582
  <td>
1583
  <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>
1584
  </td>
1585
  <td style="padding-right: 7px;">
1586
+ <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 referrer, you can also use partial domains with * (domain-start*. *domain-pattern*, *domain-end)', '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"/>
1587
  </td>
1588
  <td style="padding-right: 7px;">
1589
  <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 '; ?> />
1676
  <div style="float: left; margin: 7px 0 -2px 0;">
1677
  <?php
1678
 
1679
+ $viewports = array ();
1680
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
1681
+ $viewport_name = get_viewport_name ($viewport);
1682
+ if ($viewport_name != '') $viewports [$viewport] = $viewport_name;
1683
+ }
1684
+ $columns = 3;
 
1685
 
1686
  ?>
1687
  <table>
1688
  <tbody>
1689
  <?php
 
1690
  $column = 0;
1691
  foreach ($viewports as $viewport => $viewport_name) {
1692
  if ($column % $columns == 0) {
1716
  ?>
1717
  </tbody>
1718
  </table>
1719
+
1720
  </div>
1721
  <div style="clear: both"></div>
1722
  </div>
1852
  <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>
1853
  <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>
1854
  <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>
1855
+ <!-- <option value="<?php echo AI_FILTER_IMAGES; ?>" <?php echo ($filter_type == AI_FILTER_IMAGES) ? AD_SELECT_SELECTED : AD_EMPTY_VALUE; ?>><?php echo AI_TEXT_IMAGES_COUNTER; ?></option>-->
1856
  <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>
1857
  </select>
1858
  </span>
2206
  <strong><?php _e ('Viewport Settings used for client-side device detection', 'ad-inserter'); ?></strong>
2207
  </div>
2208
  <?php
2209
+
2210
+ for ($viewport = 1; $viewport <= 6; $viewport ++) {
2211
+ $bottom_margin = $viewport == 6 ? 0 : 4;
2212
  ?>
2213
  <div style="margin: 4px 0 <?php echo $bottom_margin; ?>px 0;">
2214
  <?php /* Translators: %d: viewport number */ printf (__('Viewport %d name', 'ad-inserter'), $viewport); ?>&nbsp;&nbsp;&nbsp;
2215
  <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" />
2216
+ <?php if ($viewport == 6) echo '<span style="display: none;">' ?>
2217
  &nbsp;&nbsp; <?php _e ('min width', 'ad-inserter'); ?>
2218
  <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
2219
+ <?php if ($viewport == 6) echo '</span>' ?>
2220
+ </div>
2221
  <?php
2222
  }
2223
  ?>
2231
  <table>
2232
  <tbody>
2233
  <?php
2234
+
2235
+ for ($hook = 1; $hook <= 8; $hook ++) {
2236
  ?>
2237
  <tr>
2238
  <td style="padding: 0 0 2px 0;">
2239
  <input type="hidden" name="hook-enabled-<?php echo $hook; ?>" value="0" />
2240
+ <input type="checkbox" name="hook-enabled-<?php echo $hook; ?>" value="1" default="<?php echo AI_DISABLED; ?>" id="hook-enabled-<?php echo $hook; ?>" title="<?php _e ('Enable hook', 'ad-inserter'); ?>" <?php if (get_hook_enabled ($hook) == AI_ENABLED) echo 'checked '; ?> />
2241
  </td>
2242
  <td style="white-space: nowrap;">
2243
+ <label for="hook-enabled-<?php echo $hook; ?>" title="<?php _e ('Enable hook', 'ad-inserter'); ?>"><?php /* translators: %d: hook number */ printf (__('Hook %d name', 'ad-inserter'), $hook); ?></label>
2244
  </td>
2245
  <td style="width: 25%;">
2246
  <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" />
2260
  </tr>
2261
  <?php
2262
  }
2263
+
2264
  ?>
2265
  </tbody>
2266
  </table>
2907
 
2908
  $sidebars_with_widgets = array ();
2909
  // for ($block = $start; $block <= $end; $block ++){
2910
+ for ($block = 1; $block <= 96; $block ++){
2911
  $sidebars_with_widget [$block]= array ();
2912
  }
2913
  foreach ($sidebar_widgets as $sidebar_index => $sidebar_widget) {
2920
  $widget_option = $widget_options [$widget_id [1]];
2921
  $widget_block = $widget_option ['block'];
2922
  // if ($widget_block >= $start && $widget_block <= $end && !in_array ($sidebar_name, $sidebars_with_widget [$widget_block])) {
2923
+ if ($widget_block >= 1 && $widget_block <= 96 && !in_array ($sidebar_name, $sidebars_with_widget [$widget_block])) {
2924
  $sidebars_with_widget [$widget_block] []= $sidebar_name;
2925
  }
2926
  }
3018
  $error = false;
3019
  foreach ($blocks_org as $index => $block) {
3020
  $new_block = $blocks_new [$index];
3021
+ if ($block >= 1 && $block <= 96 && $new_block >= 1 && $new_block <= 96) {
3022
  $new_options [$block] = $current_options [$new_block];
3023
  } else $error = true;
3024
  }
3025
 
3026
  if (!$error) {
3027
  // Update AI_OPTION_FALLBACK and AI_OPTION_ADB_BLOCK_REPLACEMENT
3028
+ for ($block = 1; $block <= 96; $block ++) {
3029
  if (isset ($new_options [$block][AI_OPTION_FALLBACK])) {
3030
  $ai_option_fallback = $new_options [$block][AI_OPTION_FALLBACK];
3031
  if ($ai_option_fallback != '')
3068
  foreach ($ai_widgets as $widget_index => $ai_widget) {
3069
  if (isset ($ai_widget ['block'])) {
3070
  $widget_block = $ai_widget ['block'];
3071
+ if ($widget_block >= 1 && $widget_block <= 96) {
3072
  foreach ($blocks_new as $index => $org_block) {
3073
  if ($widget_block == $org_block) {
3074
  $ai_widgets [$widget_index]['block'] = $blocks_org [$index];
3125
 
3126
  $blocks = array ();
3127
  $row_counter = 0;
3128
+ for ($block = 1; $block <= 96; $block ++) {
3129
  $obj = $block_object [$block];
3130
 
3131
  $automatic_insertion = $obj->get_automatic_insertion () != AI_AUTOMATIC_INSERTION_DISABLED;
3901
  <h4 style="text-align: justify;"><?php _e ('To Optimally Monetize your WordPress website?', 'ad-inserter'); ?></h4>
3902
 
3903
  <ul>
 
3904
  <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>
3905
  <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>
3906
  <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>
3933
  <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>
3934
  <li><?php /* translators: %s HTML tags */ printf (__('Support for Google Analytics, Matomo or any other web analytics code', 'ad-inserter')); ?></li>
3935
  <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>
3936
+ <li><?php /* translators: %s HTML tags */ printf (__('Client-side %s mobile device detection %s (works with caching)', 'ad-inserter'), '<a href="https://adinserter.pro/documentation/device-detection" class="simple-link" target="_blank">', '</a>'); ?></li>
3937
  <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>
3938
  <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>
3939
  <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>
3951
  <li><?php /* translators: %s HTML tags */ printf (__('Support via email', 'ad-inserter')); ?></li>
3952
  </ul>
3953
 
3954
+ <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 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>
3955
  </div>
3956
 
3957
  <?php
strings.php CHANGED
@@ -31,6 +31,8 @@ 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'));
@@ -79,6 +81,7 @@ define ('AI_TEXT_SUBPAGES_COUNTER', _x('subpages counter', 'using'
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'));
@@ -204,7 +207,10 @@ $ai_admin_translations = array (
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
 
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
+ define ('AI_TEXT_BEFORE_IMAGE', __('Before image', 'ad-inserter'));
35
+ define ('AI_TEXT_AFTER_IMAGE', __('After image', 'ad-inserter'));
36
 
37
  define('AI_TEXT_DO_NOT_INSERT', __('do not insert', 'ad-inserter'));
38
  define('AI_TEXT_TRY_TO_SHIFT_POSITION', __('try to shift position', 'ad-inserter'));
81
  define ('AI_TEXT_POSTS_COUNTER', _x('posts counter', 'using', 'ad-inserter'));
82
  define ('AI_TEXT_PARAGRAPHS_COUNTER', _x('paragraphs counter', 'using', 'ad-inserter'));
83
  define ('AI_TEXT_COMMENTS_COUNTER', _x('comments counter', 'using', 'ad-inserter'));
84
+ define ('AI_TEXT_IMAGES_COUNTER', _x('images counter', 'using', 'ad-inserter'));
85
 
86
  define ('AI_TEXT_POSTS_INDIVIDUALLY_DISABLED', _x('Individually disabled', 'posts', 'ad-inserter'));
87
  define ('AI_TEXT_POSTS_INDIVIDUALLY_ENABLED', _x('Individually enabled', 'posts', 'ad-inserter'));
207
  'error' => __('ERROR', 'ad-inserter'),
208
  'error_reloading_settings' => __('Error reloading settings', 'ad-inserter'),
209
  'google_adsense_homepage' => __('Google AdSense Homepage', 'ad-inserter'),
210
+ 'search' => _x('Search...', 'Search field placeholder', 'ad-inserter'),
211
+ 'filter' => _x('Filter...', 'Search field placeholder', 'ad-inserter'),
212
+ 'filter_title' => __('Use filter to limit names in the list', 'ad-inserter'),
213
+ 'button_filter' => _x('Filter', 'Button', 'ad-inserter'),
214
  );
215
 
216