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

Version Description

  • Added support for block name class
  • Added support for code generator for AdSense sticky AMP ads
  • Fix for paragraph clearance issues
  • 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.5.9
Comparing to
See all releases

Code changes from version 2.5.8 to 2.5.9

ad-inserter.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  Plugin Name: Ad Inserter
5
- Version: 2.5.8
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,6 +15,12 @@ Domain Path: /languages
15
 
16
  Change Log
17
 
 
 
 
 
 
 
18
  Ad Inserter 2.5.8 - 2019-11-14
19
  - Added support to call function adinserter () with block name
20
  - Added support to insert header code with HEAD separator only once
@@ -335,24 +341,32 @@ function ai_toolbar_menu_items () {
335
  $automatic_insertion = $obj->get_automatic_insertion();
336
  if ($block == 0 || !$obj->get_disable_insertion () && ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH || $automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH)) {
337
 
338
- $block_tags = trim ($block_object [$block]->get_paragraph_tags ());
339
- $direction = $block_object [$block]->get_direction_type() == AI_DIRECTION_FROM_TOP ? 't' : 'b';
340
- $paragraph_min_words = intval ($obj->get_minimum_paragraph_words());
341
- $paragraph_max_words = intval ($obj->get_maximum_paragraph_words());
342
- $paragraph_text_type = $obj->get_paragraph_text_type ();
343
- $paragraph_text = trim (html_entity_decode ($obj->get_paragraph_text()));
344
- $inside_blockquote = $obj->get_count_inside_blockquote ();
 
 
 
 
345
 
346
  if ($block_tags != '') {
347
  $found = false;
348
  foreach ($paragraph_blocks as $index => $paragraph_block) {
349
- if ($paragraph_block ['tags'] == $block_tags &&
350
- $paragraph_block ['direction'] == $direction &&
351
- $paragraph_block ['min'] == $paragraph_min_words &&
352
- $paragraph_block ['max'] == $paragraph_max_words &&
353
- $paragraph_block ['text_type'] == $paragraph_text_type &&
354
- $paragraph_block ['text'] == $paragraph_text &&
355
- $paragraph_block ['blockquote'] == $inside_blockquote
 
 
 
 
356
  ) {
357
  $found = true;
358
  break;
@@ -360,13 +374,17 @@ function ai_toolbar_menu_items () {
360
  }
361
  if ($found) array_push ($paragraph_blocks [$index]['blocks'], $block); else
362
  $paragraph_blocks []= array ('blocks' => array ($block),
363
- 'tags' => $block_tags,
364
- 'direction' => $direction,
365
- 'min' => $paragraph_min_words,
366
- 'max' => $paragraph_max_words,
367
- 'text_type' => $paragraph_text_type,
368
- 'text' => $paragraph_text,
369
- 'blockquote' => $inside_blockquote,
 
 
 
 
370
  );
371
  }
372
  }
@@ -387,7 +405,9 @@ function ai_toolbar_menu_items () {
387
  ($paragraph_block ['min'] != 0 ? ' min '.$paragraph_block ['min']. ' ' : '').
388
  ($paragraph_block ['max'] != 0 ? ' max '.$paragraph_block ['max']. ' ' : '').
389
  ($paragraph_block ['blockquote'] ? ' +[' . $no_paragraph_counting_inside . '] ' : '').
390
- ($paragraph_block ['text'] != '' ? ($paragraph_block ['text_type'] == AI_DO_NOT_CONTAIN ? ' NC ' : ' C ').' ['.htmlentities ($paragraph_block ['text']).']' : ''),
 
 
391
  // 'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $paragraph_block ['blocks'][0]),
392
  'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $debug_block_active ? '' : $paragraph_block ['blocks'][0]),
393
  );
@@ -1897,8 +1917,10 @@ function ai_get_client_side_styles () {
1897
  function ai_admin_toolbar_debugging_styles () {
1898
  global $ai_wp_data;
1899
 
1900
- 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])
1901
- echo "#wp-admin-bar-ai-toolbar-settings .ab-icon:before {
 
 
1902
  content: '\\f111';
1903
  top: 2px;
1904
  color: rgba(240,245,250,.6)!important;
@@ -1960,9 +1982,10 @@ ul li#wp-admin-bar-ai-toolbar-status {
1960
  width: -moz-max-content;
1961
  }
1962
  ";
 
1963
 
1964
  if (get_admin_toolbar_mobile () && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1965
- echo "@media screen and (max-width: 782px) {
1966
  #wpadminbar #wp-admin-bar-ai-toolbar-settings {
1967
  display: block;
1968
  position: static;
@@ -1983,6 +2006,8 @@ ul li#wp-admin-bar-ai-toolbar-status {
1983
  }
1984
  ";
1985
  }
 
 
1986
  }
1987
 
1988
  function add_head_inline_styles () {
@@ -2036,7 +2061,7 @@ function add_head_inline_styles () {
2036
 
2037
  if ($ai_wp_data [AI_HTML_ELEMENT_SELECTION]) generate_selection_css ();
2038
 
2039
- ai_admin_toolbar_debugging_styles ();
2040
 
2041
  echo "</style>\n";
2042
  // No scripts on AMP pages
@@ -2218,8 +2243,12 @@ function add_footer_inline_scripts () {
2218
  if (!defined ('AI_ADB_NO_MEDIA_NET')) {
2219
  echo '<script async id="ai-adb-mn" src="//contextual.media.net/dmedianet.js"></script>', "\n";
2220
  }
2221
- echo "<script type='text/javascript' src='", plugins_url ('js/ads.js', __FILE__ ), "?ver=", AD_INSERTER_VERSION, "'></script>\n";
2222
- echo "<script type='text/javascript' src='", plugins_url ('js/sponsors.js', __FILE__ ), "?ver=", AD_INSERTER_VERSION, "'></script>\n";
 
 
 
 
2223
  echo '<!--/noptimize-->', "\n";
2224
  echo '<!-- Code for ad blocking detection END -->', "\n";
2225
  }
@@ -2430,10 +2459,10 @@ function ai_set_plugin_meta ($links, $file) {
2430
  if (stripos ($link, "update") !== false) unset ($links [$index]);
2431
  }
2432
  }
2433
- // if (stripos (AD_INSERTER_NAME, "pro") === false) {
2434
- // $new_links = array ('donate' => '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4" target="_blank">Donate</a>');
2435
- // $links = array_merge ($links, $new_links);
2436
- // }
2437
  }
2438
  return $links;
2439
  }
@@ -3084,7 +3113,7 @@ function ai_amp_css_hook () {
3084
 
3085
  echo get_alignment_css ();
3086
 
3087
- ai_admin_toolbar_debugging_styles ();
3088
 
3089
  echo ".ai-align-left * {margin: 0 auto 0 0; text-align: left;}\n";
3090
  echo ".ai-align-right * {margin: 0 0 0 auto; text-align: right;}\n";
@@ -3778,7 +3807,7 @@ function ai_write_debug_info ($write_processing_log = false) {
3778
  if (count ($ai_db_options_extract [POST_HOOK_BLOCKS][AI_PT_ANY]))
3779
  echo "POST HOOK: ", implode (", ", $ai_db_options_extract [POST_HOOK_BLOCKS][AI_PT_ANY]), "\n";
3780
  if (count ($ai_db_options_extract [BEFORE_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]))
3781
- echo "AFTER COMMENTS HOOK: ", implode (", ", $ai_db_options_extract [BEFORE_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]), "\n";
3782
  if (count ($ai_db_options_extract [BETWEEN_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]))
3783
  echo "BETWEEN COMMENTS HOOK ", implode (", ", $ai_db_options_extract [BETWEEN_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]), "\n";
3784
  if (count ($ai_db_options_extract [AFTER_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]))
@@ -4003,6 +4032,7 @@ function ai_check_plugin_options ($plugin_options = array ()) {
4003
  if (!isset ($plugin_options ['BLOCK_CLASS_NAME'])) $plugin_options ['BLOCK_CLASS_NAME'] = DEFAULT_BLOCK_CLASS_NAME;
4004
  if (!isset ($plugin_options ['BLOCK_CLASS'])) $plugin_options ['BLOCK_CLASS'] = DEFAULT_BLOCK_CLASS;
4005
  if (!isset ($plugin_options ['BLOCK_NUMBER_CLASS'])) $plugin_options ['BLOCK_NUMBER_CLASS'] = DEFAULT_BLOCK_NUMBER_CLASS;
 
4006
  if (!isset ($plugin_options ['INLINE_STYLES'])) $plugin_options ['INLINE_STYLES'] = DEFAULT_INLINE_STYLES;
4007
 
4008
  if (!isset ($plugin_options ['MINIMUM_USER_ROLE'])) $plugin_options ['MINIMUM_USER_ROLE'] = DEFAULT_MINIMUM_USER_ROLE;
@@ -4207,6 +4237,14 @@ function get_block_number_class () {
4207
  return ($ai_db_options [AI_OPTION_GLOBAL]['BLOCK_NUMBER_CLASS']);
4208
  }
4209
 
 
 
 
 
 
 
 
 
4210
  function get_inline_styles () {
4211
  global $ai_db_options;
4212
 
@@ -5186,7 +5224,7 @@ function ai_ajax_backend () {
5186
 
5187
  elseif (isset ($_GET ["update"])) {
5188
  if ($_GET ["update"] == 'block-code-demo') {
5189
- ai_block_code_demo (urldecode ($_GET ["block_class_name"]), $_GET ["block_class"], $_GET ["block_number_class"], $_GET ["inline_styles"]);
5190
  }
5191
  elseif (function_exists ('ai_ajax_backend_2')) {
5192
  ai_ajax_backend_2 ();
@@ -6072,6 +6110,7 @@ function ai_settings () {
6072
  if (isset ($_POST ['block-class-name'])) $options ['BLOCK_CLASS_NAME'] = filter_html_class ($_POST ['block-class-name']);
6073
  if (isset ($_POST ['block-class'])) $options ['BLOCK_CLASS'] = filter_option ('BLOCK_CLASS', $_POST ['block-class']);
6074
  if (isset ($_POST ['block-number-class'])) $options ['BLOCK_NUMBER_CLASS'] = filter_option ('BLOCK_NUMBER_CLASS', $_POST ['block-number-class']);
 
6075
  if (isset ($_POST ['inline-styles'])) $options ['INLINE_STYLES'] = filter_option ('INLINE_STYLES', $_POST ['inline-styles']);
6076
  if (isset ($_POST ['minimum-user-role'])) $options ['MINIMUM_USER_ROLE'] = filter_string ($_POST ['minimum-user-role']);
6077
  if (isset ($_POST ['sticky-widget-mode'])) $options ['STICKY_WIDGET_MODE'] = filter_option ('STICKY_WIDGET_MODE', $_POST ['sticky-widget-mode']);
@@ -8629,7 +8668,7 @@ if (function_exists ('ai_hooks')) ai_hooks ();
8629
  add_filter ('plugin_action_links_'.plugin_basename (__FILE__), 'ai_plugin_action_links');
8630
  add_action ('after_plugin_row_' . AD_INSERTER_SLUG . '/ad-inserter.php', 'ai_after_plugin_row_1', 10, 3);
8631
 
8632
- add_filter ('plugin_row_meta', 'ai_set_plugin_meta', 10, 2);
8633
  //add_filter ('the_generator', 'ai_the_generator');
8634
 
8635
  if (is_admin () === true) {
2
 
3
  /*
4
  Plugin Name: Ad Inserter
5
+ Version: 2.5.9
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.5.9 - 2019-11-29
19
+ - Added support for block name class
20
+ - Added support for code generator for AdSense sticky AMP ads
21
+ - Fix for paragraph clearance issues
22
+ - Few minor bug fixes, cosmetic changes and code improvements
23
+
24
  Ad Inserter 2.5.8 - 2019-11-14
25
  - Added support to call function adinserter () with block name
26
  - Added support to insert header code with HEAD separator only once
341
  $automatic_insertion = $obj->get_automatic_insertion();
342
  if ($block == 0 || !$obj->get_disable_insertion () && ($automatic_insertion == AI_AUTOMATIC_INSERTION_BEFORE_PARAGRAPH || $automatic_insertion == AI_AUTOMATIC_INSERTION_AFTER_PARAGRAPH)) {
343
 
344
+ $block_tags = trim ($block_object [$block]->get_paragraph_tags ());
345
+ $direction = $block_object [$block]->get_direction_type() == AI_DIRECTION_FROM_TOP ? 't' : 'b';
346
+ $paragraph_min_words = intval ($obj->get_minimum_paragraph_words());
347
+ $paragraph_max_words = intval ($obj->get_maximum_paragraph_words());
348
+ $paragraph_text_type = $obj->get_paragraph_text_type ();
349
+ $paragraph_text = trim (html_entity_decode ($obj->get_paragraph_text()));
350
+ $inside_blockquote = $obj->get_count_inside_blockquote ();
351
+ $count_inside_type = $obj->get_count_inside ();
352
+ $count_inside_elements = $obj->get_count_inside_elements ();
353
+ $that_contain_type = $obj->get_count_inside_elements_contain ();
354
+ $that_contain_text = trim (html_entity_decode ($obj->get_count_inside_elements_text ()));
355
 
356
  if ($block_tags != '') {
357
  $found = false;
358
  foreach ($paragraph_blocks as $index => $paragraph_block) {
359
+ if ($paragraph_block ['tags'] == $block_tags &&
360
+ $paragraph_block ['direction'] == $direction &&
361
+ $paragraph_block ['min'] == $paragraph_min_words &&
362
+ $paragraph_block ['max'] == $paragraph_max_words &&
363
+ $paragraph_block ['text_type'] == $paragraph_text_type &&
364
+ $paragraph_block ['text'] == $paragraph_text &&
365
+ $paragraph_block ['blockquote'] == $inside_blockquote &&
366
+ $paragraph_block ['inside_type'] == $count_inside_type &&
367
+ $paragraph_block ['inside_elemets'] == $count_inside_elements &&
368
+ $paragraph_block ['contain_type'] == $that_contain_type &&
369
+ $paragraph_block ['contain_text'] == $that_contain_text
370
  ) {
371
  $found = true;
372
  break;
374
  }
375
  if ($found) array_push ($paragraph_blocks [$index]['blocks'], $block); else
376
  $paragraph_blocks []= array ('blocks' => array ($block),
377
+ 'tags' => $block_tags,
378
+ 'direction' => $direction,
379
+ 'min' => $paragraph_min_words,
380
+ 'max' => $paragraph_max_words,
381
+ 'text_type' => $paragraph_text_type,
382
+ 'text' => $paragraph_text,
383
+ 'blockquote' => $inside_blockquote,
384
+ 'inside_type' => $count_inside_type,
385
+ 'inside_elemets' => $count_inside_elements,
386
+ 'contain_type' => $that_contain_type,
387
+ 'contain_text' => $that_contain_text,
388
  );
389
  }
390
  }
405
  ($paragraph_block ['min'] != 0 ? ' min '.$paragraph_block ['min']. ' ' : '').
406
  ($paragraph_block ['max'] != 0 ? ' max '.$paragraph_block ['max']. ' ' : '').
407
  ($paragraph_block ['blockquote'] ? ' +[' . $no_paragraph_counting_inside . '] ' : '').
408
+ ($paragraph_block ['text'] != '' ? ($paragraph_block ['text_type'] == AI_DO_NOT_CONTAIN ? ' !has ' : ' has ').' ['.htmlentities ($paragraph_block ['text']).']' : '').
409
+ ($paragraph_block ['inside_elemets'] != '' ? ($paragraph_block ['inside_type'] == AI_COUNT_ONLY ? ' insEL' : ' !insEL ').' ['.$paragraph_block ['inside_elemets'].']' : '').
410
+ ($paragraph_block ['contain_text'] != '' ? ($paragraph_block ['contain_type'] == AI_CONTAIN ? ' elHAS' : ' !elHAS ').' ['.htmlentities ($paragraph_block ['contain_text']).']' : ''),
411
  // 'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $paragraph_block ['blocks'][0]),
412
  'href' => set_url_parameter (AI_URL_DEBUG_POSITIONS, $debug_block_active ? '' : $paragraph_block ['blocks'][0]),
413
  );
1917
  function ai_admin_toolbar_debugging_styles () {
1918
  global $ai_wp_data;
1919
 
1920
+ $css = '';
1921
+
1922
+ if (((get_admin_toolbar_debugging () && ((get_remote_debugging () && $ai_wp_data [AI_WP_DEBUGGING] != 0) || ($ai_wp_data [AI_WP_USER] & AI_USER_LOGGED_IN) != 0)) || defined ('AI_DEBUGGING_DEMO')) && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1923
+ $css .= "#wp-admin-bar-ai-toolbar-settings .ab-icon:before {
1924
  content: '\\f111';
1925
  top: 2px;
1926
  color: rgba(240,245,250,.6)!important;
1982
  width: -moz-max-content;
1983
  }
1984
  ";
1985
+ }
1986
 
1987
  if (get_admin_toolbar_mobile () && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1988
+ $css .= "@media screen and (max-width: 782px) {
1989
  #wpadminbar #wp-admin-bar-ai-toolbar-settings {
1990
  display: block;
1991
  position: static;
2006
  }
2007
  ";
2008
  }
2009
+
2010
+ return $css;
2011
  }
2012
 
2013
  function add_head_inline_styles () {
2061
 
2062
  if ($ai_wp_data [AI_HTML_ELEMENT_SELECTION]) generate_selection_css ();
2063
 
2064
+ echo ai_admin_toolbar_debugging_styles ();
2065
 
2066
  echo "</style>\n";
2067
  // No scripts on AMP pages
2243
  if (!defined ('AI_ADB_NO_MEDIA_NET')) {
2244
  echo '<script async id="ai-adb-mn" src="//contextual.media.net/dmedianet.js"></script>', "\n";
2245
  }
2246
+ if (!defined ('AI_ADB_NO_ADS_JS')) {
2247
+ echo '<script id="ai-adb-ads" src="', plugins_url ('js/ads.js', __FILE__ ), "?ver=", AD_INSERTER_VERSION, '"></script>', "\n";
2248
+ }
2249
+ if (!defined ('AI_ADB_NO_SPONSORS_JS')) {
2250
+ echo '<script id="ai-adb-sponsors" src="', plugins_url ('js/sponsors.js', __FILE__ ), "?ver=", AD_INSERTER_VERSION, '"></script>', "\n";
2251
+ }
2252
  echo '<!--/noptimize-->', "\n";
2253
  echo '<!-- Code for ad blocking detection END -->', "\n";
2254
  }
2459
  if (stripos ($link, "update") !== false) unset ($links [$index]);
2460
  }
2461
  }
2462
+
2463
+ if (function_exists ('ai_set_plugin_meta_2')) {
2464
+ ai_set_plugin_meta_2 ($links);
2465
+ }
2466
  }
2467
  return $links;
2468
  }
3113
 
3114
  echo get_alignment_css ();
3115
 
3116
+ echo str_replace ('!important', '', ai_admin_toolbar_debugging_styles ());
3117
 
3118
  echo ".ai-align-left * {margin: 0 auto 0 0; text-align: left;}\n";
3119
  echo ".ai-align-right * {margin: 0 0 0 auto; text-align: right;}\n";
3807
  if (count ($ai_db_options_extract [POST_HOOK_BLOCKS][AI_PT_ANY]))
3808
  echo "POST HOOK: ", implode (", ", $ai_db_options_extract [POST_HOOK_BLOCKS][AI_PT_ANY]), "\n";
3809
  if (count ($ai_db_options_extract [BEFORE_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]))
3810
+ echo "BEFORE COMMENTS HOOK: ", implode (", ", $ai_db_options_extract [BEFORE_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]), "\n";
3811
  if (count ($ai_db_options_extract [BETWEEN_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]))
3812
  echo "BETWEEN COMMENTS HOOK ", implode (", ", $ai_db_options_extract [BETWEEN_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]), "\n";
3813
  if (count ($ai_db_options_extract [AFTER_COMMENTS_HOOK_BLOCKS][AI_PT_ANY]))
4032
  if (!isset ($plugin_options ['BLOCK_CLASS_NAME'])) $plugin_options ['BLOCK_CLASS_NAME'] = DEFAULT_BLOCK_CLASS_NAME;
4033
  if (!isset ($plugin_options ['BLOCK_CLASS'])) $plugin_options ['BLOCK_CLASS'] = DEFAULT_BLOCK_CLASS;
4034
  if (!isset ($plugin_options ['BLOCK_NUMBER_CLASS'])) $plugin_options ['BLOCK_NUMBER_CLASS'] = DEFAULT_BLOCK_NUMBER_CLASS;
4035
+ if (!isset ($plugin_options ['BLOCK_NAME_CLASS'])) $plugin_options ['BLOCK_NAME_CLASS'] = DEFAULT_BLOCK_NAME_CLASS;
4036
  if (!isset ($plugin_options ['INLINE_STYLES'])) $plugin_options ['INLINE_STYLES'] = DEFAULT_INLINE_STYLES;
4037
 
4038
  if (!isset ($plugin_options ['MINIMUM_USER_ROLE'])) $plugin_options ['MINIMUM_USER_ROLE'] = DEFAULT_MINIMUM_USER_ROLE;
4237
  return ($ai_db_options [AI_OPTION_GLOBAL]['BLOCK_NUMBER_CLASS']);
4238
  }
4239
 
4240
+ function get_block_name_class () {
4241
+ global $ai_db_options;
4242
+
4243
+ if (!isset ($ai_db_options [AI_OPTION_GLOBAL]['BLOCK_NAME_CLASS'])) $ai_db_options [AI_OPTION_GLOBAL]['BLOCK_NAME_CLASS'] = DEFAULT_BLOCK_NAME_CLASS;
4244
+
4245
+ return ($ai_db_options [AI_OPTION_GLOBAL]['BLOCK_NAME_CLASS']);
4246
+ }
4247
+
4248
  function get_inline_styles () {
4249
  global $ai_db_options;
4250
 
5224
 
5225
  elseif (isset ($_GET ["update"])) {
5226
  if ($_GET ["update"] == 'block-code-demo') {
5227
+ ai_block_code_demo (urldecode ($_GET ["block_class_name"]), $_GET ["block_class"], $_GET ["block_number_class"], $_GET ["block_name_class"], $_GET ["inline_styles"]);
5228
  }
5229
  elseif (function_exists ('ai_ajax_backend_2')) {
5230
  ai_ajax_backend_2 ();
6110
  if (isset ($_POST ['block-class-name'])) $options ['BLOCK_CLASS_NAME'] = filter_html_class ($_POST ['block-class-name']);
6111
  if (isset ($_POST ['block-class'])) $options ['BLOCK_CLASS'] = filter_option ('BLOCK_CLASS', $_POST ['block-class']);
6112
  if (isset ($_POST ['block-number-class'])) $options ['BLOCK_NUMBER_CLASS'] = filter_option ('BLOCK_NUMBER_CLASS', $_POST ['block-number-class']);
6113
+ if (isset ($_POST ['block-name-class'])) $options ['BLOCK_NAME_CLASS'] = filter_option ('BLOCK_NAME_CLASS', $_POST ['block-name-class']);
6114
  if (isset ($_POST ['inline-styles'])) $options ['INLINE_STYLES'] = filter_option ('INLINE_STYLES', $_POST ['inline-styles']);
6115
  if (isset ($_POST ['minimum-user-role'])) $options ['MINIMUM_USER_ROLE'] = filter_string ($_POST ['minimum-user-role']);
6116
  if (isset ($_POST ['sticky-widget-mode'])) $options ['STICKY_WIDGET_MODE'] = filter_option ('STICKY_WIDGET_MODE', $_POST ['sticky-widget-mode']);
8668
  add_filter ('plugin_action_links_'.plugin_basename (__FILE__), 'ai_plugin_action_links');
8669
  add_action ('after_plugin_row_' . AD_INSERTER_SLUG . '/ad-inserter.php', 'ai_after_plugin_row_1', 10, 3);
8670
 
8671
+ add_filter ('plugin_row_meta', 'ai_set_plugin_meta', 99999, 2);
8672
  //add_filter ('the_generator', 'ai_the_generator');
8673
 
8674
  if (is_admin () === true) {
class.php CHANGED
@@ -3051,6 +3051,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
3051
 
3052
  $block_class = get_block_class ();
3053
  $block_number_class = get_block_number_class ();
 
3054
 
3055
  $alignment_class = $ai_wp_data [AI_CODE_FOR_IFRAME] ? '' : $this->get_alignment_class ();
3056
  $alignment_style = $ai_wp_data [AI_CODE_FOR_IFRAME] ? '' : $this->get_alignment_style ();
@@ -3058,13 +3059,14 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
3058
  if ($this->get_client_side_action () == AI_CLIENT_SIDE_ACTION_INSERT) $include_viewport_classes = false;
3059
  $viewport_classes = $include_viewport_classes ? trim ($this->get_viewport_classes ()) : "";
3060
 
3061
- if ($block_class_name != '' && ($block_class || $block_number_class) || $alignment_class != '' || $viewport_classes != '') {
3062
- $classes = array ();
3063
  if ($block_class_name != '' && ($block_class || $this->needs_class)) $classes []= $block_class_name;
3064
  if ($alignment_class) $classes []= $alignment_class;
3065
  if ($block_class_name != '' && ($block_number_class || $this->needs_class)) $classes []= $block_class_name . "-" . $this->number;
 
3066
  if ($viewport_classes) $classes []= $viewport_classes;
3067
- } else $classes = array ();
3068
 
3069
  $sticky_parameters = '';
3070
 
@@ -3947,6 +3949,14 @@ echo '</body>
3947
  }
3948
  }
3949
 
 
 
 
 
 
 
 
 
3950
  public function get_viewport_classes () {
3951
  global $ai_wp_data;
3952
 
@@ -4534,6 +4544,7 @@ echo '</body>
4534
  $saved_position = $position;
4535
  do {
4536
  $found_above = false;
 
4537
  if ($position != 0 && $avoid_paragraphs_above != 0 && $avoid_text_above != "" && is_array ($avoid_paragraph_texts_above) && count ($avoid_paragraph_texts_above) != 0) {
4538
  $paragraph_position_above = $position - $avoid_paragraphs_above;
4539
  if ($paragraph_position_above < 0) $paragraph_position_above = 0;
@@ -4549,11 +4560,13 @@ echo '</body>
4549
  if ($multibyte) {
4550
  if (mb_stripos ($paragraph_code, trim ($paragraph_text_above)) !== false) {
4551
  $found_above = true;
 
4552
  break;
4553
  }
4554
  } else {
4555
  if (stripos ($paragraph_code, trim ($paragraph_text_above)) !== false) {
4556
  $found_above = true;
 
4557
  break;
4558
  }
4559
  }
@@ -4561,6 +4574,7 @@ echo '</body>
4561
  }
4562
 
4563
  $found_below = false;
 
4564
  if ($avoid_paragraphs_below != 0 && $avoid_text_below != "" && is_array ($avoid_paragraph_texts_below) && count ($avoid_paragraph_texts_below) != 0) {
4565
  $paragraph_position_below = $position + $avoid_paragraphs_below;
4566
 
@@ -4582,11 +4596,13 @@ echo '</body>
4582
  if ($multibyte) {
4583
  if (mb_stripos ($paragraph_code, trim ($paragraph_text_below)) !== false) {
4584
  $found_below = true;
 
4585
  break;
4586
  }
4587
  } else {
4588
  if (stripos ($paragraph_code, trim ($paragraph_text_below)) !== false) {
4589
  $found_below = true;
 
4590
  break;
4591
  }
4592
  }
@@ -4606,7 +4622,8 @@ echo '</body>
4606
 
4607
  if ($found_above || $found_below) {
4608
 
4609
- if ($debug_processing && $this->number != 0) ai_log ('BLOCK ' . $this->number . ' CLEARANCE CHECK POSITION ' . ($position + 1) . ' FAILED');
 
4610
 
4611
  $ai_last_check = AI_CHECK_DO_NOT_INSERT;
4612
  if ($this->get_avoid_action() == AI_DO_NOT_INSERT) {
@@ -5308,10 +5325,11 @@ echo '</body>
5308
  $saved_position = $position;
5309
  do {
5310
  $found_above = false;
 
5311
  if ($avoid_paragraphs_above != 0 && $avoid_text_above != "" && is_array ($avoid_paragraph_texts_above) && count ($avoid_paragraph_texts_above) != 0) {
5312
  $paragraph_position_above = $position - $avoid_paragraphs_above;
5313
  if ($paragraph_position_above <= 0)
5314
- $content_position_above = 0; else
5315
  $content_position_above = $paragraph_positions [$paragraph_position_above] + 1;
5316
 
5317
  if ($multibyte) {
@@ -5326,11 +5344,13 @@ echo '</body>
5326
  if ($multibyte) {
5327
  if (mb_stripos ($paragraph_code, trim ($paragraph_text_above)) !== false) {
5328
  $found_above = true;
 
5329
  break;
5330
  }
5331
  } else {
5332
  if (stripos ($paragraph_code, trim ($paragraph_text_above)) !== false) {
5333
  $found_above = true;
 
5334
  break;
5335
  }
5336
  }
@@ -5339,6 +5359,7 @@ echo '</body>
5339
  }
5340
 
5341
  $found_below = false;
 
5342
  if ($avoid_paragraphs_below != 0 && $position != count ($paragraph_positions) - 1 && $avoid_text_below != "" && is_array ($avoid_paragraph_texts_below) && count ($avoid_paragraph_texts_below) != 0) {
5343
  $paragraph_position_below = $position + $avoid_paragraphs_below;
5344
 
@@ -5356,32 +5377,34 @@ echo '</body>
5356
  if ($multibyte) {
5357
  if (mb_stripos ($paragraph_code, trim ($paragraph_text_below)) !== false) {
5358
  $found_below = true;
 
5359
  break;
5360
  }
5361
  } else {
5362
  if (stripos ($paragraph_code, trim ($paragraph_text_below)) !== false) {
5363
  $found_below = true;
 
5364
  break;
5365
  }
5366
  }
5367
-
5368
  }
5369
  }
5370
 
5371
 
5372
- // echo "position: $position = after #", $position + 1, "<br />\n";
5373
- // echo "checks: $checks<br />\n";
5374
- // echo "direction: $direction<br />\n";
5375
- // if ($found_above)
5376
- // echo "found_above<br />\n";
5377
- // if ($found_below)
5378
- // echo "found_below<br />\n";
5379
- // echo "=================<br />\n";
5380
 
5381
 
5382
  if ($found_above || $found_below) {
5383
 
5384
- if ($debug_processing && $this->number != 0) ai_log ('BLOCK ' . $this->number . ' CLEARANCE CHECK POSITION ' . ($position + 1) . ' FAILED');
 
5385
 
5386
  $ai_last_check = AI_CHECK_DO_NOT_INSERT;
5387
  if ($this->get_avoid_action() == AI_DO_NOT_INSERT) {
@@ -6703,10 +6726,17 @@ class ai_code_generator {
6703
  case AI_CODE_ADSENSE:
6704
  $adsense_size = ($data ['adsense-width'] != '' ? ' width: '. $data ['adsense-width']. 'px;' : '') . ($data ['adsense-height'] != '' ? ' height: '.$data ['adsense-height'].'px;' : '');
6705
 
6706
- $code = '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>';
6707
- if ($data ['adsense-comment']) $code .= "\n<!-- " . $data ['adsense-comment'] . " -->";
 
 
 
 
 
6708
 
6709
- $adsense_full_width_responsive = $data ['adsense-full-width-responsive'] != '' ? "\n".' data-full-width-responsive="' . $data ['adsense-full-width-responsive'] . '"' : '';
 
 
6710
 
6711
  switch ($data ['adsense-type']) {
6712
  case AI_ADSENSE_STANDARD:
@@ -6853,11 +6883,15 @@ class ai_code_generator {
6853
  }
6854
 
6855
  if ($data ['adsense-amp'] != AI_ADSENSE_AMP_DISABLED) {
 
 
 
 
 
 
6856
  switch ($data ['adsense-type']) {
6857
  case AI_ADSENSE_AUTO:
6858
- $code .= '
6859
-
6860
- [ADINSERTER AMP]
6861
 
6862
  <amp-auto-ads
6863
  type="adsense"
@@ -6867,9 +6901,7 @@ class ai_code_generator {
6867
  default:
6868
  switch ($data ['adsense-amp']) {
6869
  case AI_ADSENSE_AMP_ABOVE_THE_FOLD:
6870
- $code .= '
6871
-
6872
- [ADINSERTER AMP]
6873
 
6874
  <amp-ad
6875
  layout="fixed-height"
@@ -6880,9 +6912,7 @@ class ai_code_generator {
6880
  </amp-ad>';
6881
  break;
6882
  case AI_ADSENSE_AMP_BELOW_THE_FOLD:
6883
- $code .= '
6884
-
6885
- [ADINSERTER AMP]
6886
 
6887
  <amp-ad
6888
  layout="responsive"
@@ -6893,6 +6923,25 @@ class ai_code_generator {
6893
  data-ad-slot="'.$data ['adsense-ad-slot-id'].'">
6894
  </amp-ad>';
6895
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6896
  }
6897
  break;
6898
  }
@@ -6973,17 +7022,27 @@ class ai_code_generator {
6973
  if (strpos ($code, 'data-ad-client') !== false) {
6974
  $adsense_code = $dom->getElementsByTagName ('ins');
6975
  $adsense_code_amp = $dom->getElementsByTagName ('amp-ad');
 
 
 
 
 
6976
 
6977
  if ($adsense_code_amp->length != 0) {
6978
  // $layout = $adsense_code_amp [0]->getAttribute ('layout'); // PHP 5.6.3
6979
  $layout = $adsense_code_amp->item (0)->getAttribute ('layout');
6980
- switch ($layout) {
6981
- case 'fixed-height':
6982
- $amp = AI_ADSENSE_AMP_ABOVE_THE_FOLD;
6983
- break;
6984
- case 'responsive':
6985
- $amp = AI_ADSENSE_AMP_BELOW_THE_FOLD;
6986
- break;
 
 
 
 
 
6987
  }
6988
 
6989
  if ($adsense_code->length == 0) $adsense_code = $adsense_code_amp;
@@ -7009,15 +7068,24 @@ class ai_code_generator {
7009
  $data ['adsense-publisher-id'] = str_replace ('ca-', '', $adsense_code->item (0)->getAttribute ('data-ad-client'));
7010
  // $data ['adsense-ad-slot-id'] = $adsense_code [0]->getAttribute ('data-ad-slot');
7011
  $data ['adsense-ad-slot-id'] = $adsense_code->item (0)->getAttribute ('data-ad-slot');
 
 
 
7012
 
7013
  // $adsense_style = $adsense_code [0]->getAttribute ('style');
7014
  $adsense_style = $adsense_code->item (0)->getAttribute ('style');
7015
 
7016
  $style_width = preg_match ("/width\s*:\s*(\d+)px/", $adsense_style, $width_match);
7017
  if ($style_width) $data ['adsense-width'] = $width_match [1];
 
 
 
7018
 
7019
  $style_height = preg_match ("/height\s*:\s*(\d+)px/", $adsense_style, $height_match);
7020
  if ($style_height) $data ['adsense-height'] = $height_match [1];
 
 
 
7021
 
7022
  $display = '';
7023
  $style_display = preg_match ("/display\s*:\s*([a-z\-]+)/", $adsense_style, $display_match);
@@ -7083,35 +7151,39 @@ class ai_code_generator {
7083
 
7084
  // $adsense_ad_format = $adsense_code [0]->getAttribute ('data-ad-format');
7085
  $adsense_ad_format = $adsense_code->item (0)->getAttribute ('data-ad-format');
7086
- switch ($adsense_ad_format) {
7087
- case '':
7088
- break;
7089
- case 'auto':
7090
- break;
7091
- case 'autorelaxed':
7092
- $data ['adsense-type'] = AI_ADSENSE_MATCHED_CONTENT;
7093
- break;
7094
- case 'link':
7095
- $data ['adsense-type'] = AI_ADSENSE_LINK;
7096
- break;
7097
- case 'fluid':
7098
- // $adsense_ad_layout = $adsense_code [0]->getAttribute ('data-ad-layout');
7099
- $adsense_ad_layout = $adsense_code->item (0)->getAttribute ('data-ad-layout');
7100
-
7101
- switch ($adsense_ad_layout) {
7102
- case 'in-article':
7103
- $data ['adsense-type'] = AI_ADSENSE_IN_ARTICLE;
7104
- break 2;
7105
- }
7106
 
7107
- $data ['adsense-type'] = AI_ADSENSE_IN_FEED;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7108
 
7109
- $data ['adsense-layout'] = $adsense_ad_layout;
7110
- // $data ['adsense-layout-key'] = urlencode ($adsense_code [0]->getAttribute ('data-ad-layout-key'));
7111
- $data ['adsense-layout-key'] = urlencode ($adsense_code->item (0)->getAttribute ('data-ad-layout-key'));
7112
 
7113
- break;
7114
- }
7115
 
7116
  $data ['adsense-full-width-responsive'] = $adsense_code->item (0)->getAttribute ('data-full-width-responsive');
7117
 
3051
 
3052
  $block_class = get_block_class ();
3053
  $block_number_class = get_block_number_class ();
3054
+ $block_name_class = get_block_name_class ();
3055
 
3056
  $alignment_class = $ai_wp_data [AI_CODE_FOR_IFRAME] ? '' : $this->get_alignment_class ();
3057
  $alignment_style = $ai_wp_data [AI_CODE_FOR_IFRAME] ? '' : $this->get_alignment_style ();
3059
  if ($this->get_client_side_action () == AI_CLIENT_SIDE_ACTION_INSERT) $include_viewport_classes = false;
3060
  $viewport_classes = $include_viewport_classes ? trim ($this->get_viewport_classes ()) : "";
3061
 
3062
+ $classes = array ();
3063
+ if ($block_class_name != '' && ($block_class || $block_number_class || $block_name_class) || $alignment_class != '' || $viewport_classes != '') {
3064
  if ($block_class_name != '' && ($block_class || $this->needs_class)) $classes []= $block_class_name;
3065
  if ($alignment_class) $classes []= $alignment_class;
3066
  if ($block_class_name != '' && ($block_number_class || $this->needs_class)) $classes []= $block_class_name . "-" . $this->number;
3067
+ if ($block_class_name != '' && $block_name_class) $classes []= $block_class_name . "-" . $this->get_name_class ();
3068
  if ($viewport_classes) $classes []= $viewport_classes;
3069
+ }
3070
 
3071
  $sticky_parameters = '';
3072
 
3949
  }
3950
  }
3951
 
3952
+ public function get_name_class () {
3953
+ $name = $this->get_ad_name ();
3954
+
3955
+ if ($name == '') return '';
3956
+
3957
+ return strtolower (str_replace ('--', '-', preg_replace ('/[^\-a-zA-Z0-9]/', '', str_replace (' ', '-', html_entity_decode ($name)))));
3958
+ }
3959
+
3960
  public function get_viewport_classes () {
3961
  global $ai_wp_data;
3962
 
4544
  $saved_position = $position;
4545
  do {
4546
  $found_above = false;
4547
+ $paragraph_text_found_above = '';
4548
  if ($position != 0 && $avoid_paragraphs_above != 0 && $avoid_text_above != "" && is_array ($avoid_paragraph_texts_above) && count ($avoid_paragraph_texts_above) != 0) {
4549
  $paragraph_position_above = $position - $avoid_paragraphs_above;
4550
  if ($paragraph_position_above < 0) $paragraph_position_above = 0;
4560
  if ($multibyte) {
4561
  if (mb_stripos ($paragraph_code, trim ($paragraph_text_above)) !== false) {
4562
  $found_above = true;
4563
+ $paragraph_text_found_above = $paragraph_text_above;
4564
  break;
4565
  }
4566
  } else {
4567
  if (stripos ($paragraph_code, trim ($paragraph_text_above)) !== false) {
4568
  $found_above = true;
4569
+ $paragraph_text_found_above = $paragraph_text_above;
4570
  break;
4571
  }
4572
  }
4574
  }
4575
 
4576
  $found_below = false;
4577
+ $paragraph_text_found_below = '';
4578
  if ($avoid_paragraphs_below != 0 && $avoid_text_below != "" && is_array ($avoid_paragraph_texts_below) && count ($avoid_paragraph_texts_below) != 0) {
4579
  $paragraph_position_below = $position + $avoid_paragraphs_below;
4580
 
4596
  if ($multibyte) {
4597
  if (mb_stripos ($paragraph_code, trim ($paragraph_text_below)) !== false) {
4598
  $found_below = true;
4599
+ $paragraph_text_found_below = $paragraph_text_below;
4600
  break;
4601
  }
4602
  } else {
4603
  if (stripos ($paragraph_code, trim ($paragraph_text_below)) !== false) {
4604
  $found_below = true;
4605
+ $paragraph_text_found_below = $paragraph_text_below;
4606
  break;
4607
  }
4608
  }
4622
 
4623
  if ($found_above || $found_below) {
4624
 
4625
+ if ($debug_processing && $this->number != 0) ai_log ('BLOCK ' . $this->number . ' CLEARANCE CHECK POSITION ' . ($position + 1) .
4626
+ ' FAILED (' . ($found_above ? 'ABOVE: ' . $paragraph_text_found_above .($found_below ? ', ' : '') : '') . ($found_below ? 'BELOW: ' . $paragraph_text_found_below : '') . ')');
4627
 
4628
  $ai_last_check = AI_CHECK_DO_NOT_INSERT;
4629
  if ($this->get_avoid_action() == AI_DO_NOT_INSERT) {
5325
  $saved_position = $position;
5326
  do {
5327
  $found_above = false;
5328
+ $paragraph_text_found_above = '';
5329
  if ($avoid_paragraphs_above != 0 && $avoid_text_above != "" && is_array ($avoid_paragraph_texts_above) && count ($avoid_paragraph_texts_above) != 0) {
5330
  $paragraph_position_above = $position - $avoid_paragraphs_above;
5331
  if ($paragraph_position_above <= 0)
5332
+ $content_position_above = $paragraph_positions [0] + 1; else
5333
  $content_position_above = $paragraph_positions [$paragraph_position_above] + 1;
5334
 
5335
  if ($multibyte) {
5344
  if ($multibyte) {
5345
  if (mb_stripos ($paragraph_code, trim ($paragraph_text_above)) !== false) {
5346
  $found_above = true;
5347
+ $paragraph_text_found_above = $paragraph_text_above;
5348
  break;
5349
  }
5350
  } else {
5351
  if (stripos ($paragraph_code, trim ($paragraph_text_above)) !== false) {
5352
  $found_above = true;
5353
+ $paragraph_text_found_above = $paragraph_text_above;
5354
  break;
5355
  }
5356
  }
5359
  }
5360
 
5361
  $found_below = false;
5362
+ $paragraph_text_found_below = '';
5363
  if ($avoid_paragraphs_below != 0 && $position != count ($paragraph_positions) - 1 && $avoid_text_below != "" && is_array ($avoid_paragraph_texts_below) && count ($avoid_paragraph_texts_below) != 0) {
5364
  $paragraph_position_below = $position + $avoid_paragraphs_below;
5365
 
5377
  if ($multibyte) {
5378
  if (mb_stripos ($paragraph_code, trim ($paragraph_text_below)) !== false) {
5379
  $found_below = true;
5380
+ $paragraph_text_found_below = $paragraph_text_below;
5381
  break;
5382
  }
5383
  } else {
5384
  if (stripos ($paragraph_code, trim ($paragraph_text_below)) !== false) {
5385
  $found_below = true;
5386
+ $paragraph_text_found_below = $paragraph_text_below;
5387
  break;
5388
  }
5389
  }
 
5390
  }
5391
  }
5392
 
5393
 
5394
+ // echo "position: $position = after #", $position + 1, "<br />\n";
5395
+ // echo "checks: $checks<br />\n";
5396
+ // echo "direction: $direction<br />\n";
5397
+ // if ($found_above)
5398
+ // echo "found_above<br />\n";
5399
+ // if ($found_below)
5400
+ // echo "found_below<br />\n";
5401
+ // echo "=================<br />\n";
5402
 
5403
 
5404
  if ($found_above || $found_below) {
5405
 
5406
+ if ($debug_processing && $this->number != 0) ai_log ('BLOCK ' . $this->number . ' CLEARANCE CHECK POSITION ' . ($position + 1) .
5407
+ ' FAILED (' . ($found_above ? 'ABOVE: ' . $paragraph_text_found_above .($found_below ? ', ' : '') : '') . ($found_below ? 'BELOW: ' . $paragraph_text_found_below : '') . ')');
5408
 
5409
  $ai_last_check = AI_CHECK_DO_NOT_INSERT;
5410
  if ($this->get_avoid_action() == AI_DO_NOT_INSERT) {
6726
  case AI_CODE_ADSENSE:
6727
  $adsense_size = ($data ['adsense-width'] != '' ? ' width: '. $data ['adsense-width']. 'px;' : '') . ($data ['adsense-height'] != '' ? ' height: '.$data ['adsense-height'].'px;' : '');
6728
 
6729
+ switch ($data ['adsense-type']) {
6730
+ case AI_ADSENSE_AMP_ONLY:
6731
+ $code = '';
6732
+ break;
6733
+ default:
6734
+ $code = '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>';
6735
+ if ($data ['adsense-comment']) $code .= "\n<!-- " . $data ['adsense-comment'] . " -->";
6736
 
6737
+ $adsense_full_width_responsive = $data ['adsense-full-width-responsive'] != '' ? "\n".' data-full-width-responsive="' . $data ['adsense-full-width-responsive'] . '"' : '';
6738
+ break;
6739
+ }
6740
 
6741
  switch ($data ['adsense-type']) {
6742
  case AI_ADSENSE_STANDARD:
6883
  }
6884
 
6885
  if ($data ['adsense-amp'] != AI_ADSENSE_AMP_DISABLED) {
6886
+ if ($code != '') {
6887
+ $code .= '
6888
+
6889
+ ';
6890
+ }
6891
+
6892
  switch ($data ['adsense-type']) {
6893
  case AI_ADSENSE_AUTO:
6894
+ $code .= '[ADINSERTER AMP]
 
 
6895
 
6896
  <amp-auto-ads
6897
  type="adsense"
6901
  default:
6902
  switch ($data ['adsense-amp']) {
6903
  case AI_ADSENSE_AMP_ABOVE_THE_FOLD:
6904
+ $code .= '[ADINSERTER AMP]
 
 
6905
 
6906
  <amp-ad
6907
  layout="fixed-height"
6912
  </amp-ad>';
6913
  break;
6914
  case AI_ADSENSE_AMP_BELOW_THE_FOLD:
6915
+ $code .= '[ADINSERTER AMP]
 
 
6916
 
6917
  <amp-ad
6918
  layout="responsive"
6923
  data-ad-slot="'.$data ['adsense-ad-slot-id'].'">
6924
  </amp-ad>';
6925
  break;
6926
+ case AI_ADSENSE_AMP_STICKY:
6927
+ if ($data ['adsense-width'] == '') {
6928
+ $data ['adsense-width'] = 320;
6929
+ }
6930
+ if ($data ['adsense-height'] == '') {
6931
+ $data ['adsense-height'] = 50;
6932
+ }
6933
+ $code .= '[ADINSERTER AMP]
6934
+
6935
+ <amp-sticky-ad layout="nodisplay">
6936
+ <amp-ad
6937
+ width="'.$data ['adsense-width'].'"
6938
+ height="'.$data ['adsense-height'].'"
6939
+ type="adsense"
6940
+ data-ad-client="ca-'.$data ['adsense-publisher-id'].'"
6941
+ data-slot="'.$data ['adsense-ad-slot-id'].'">
6942
+ </amp-ad>
6943
+ </amp-sticky-ad>';
6944
+ break;
6945
  }
6946
  break;
6947
  }
7022
  if (strpos ($code, 'data-ad-client') !== false) {
7023
  $adsense_code = $dom->getElementsByTagName ('ins');
7024
  $adsense_code_amp = $dom->getElementsByTagName ('amp-ad');
7025
+ $adsense_code_amp_sticky = $dom->getElementsByTagName ('amp-sticky-ad');
7026
+
7027
+ if ($adsense_code_amp_sticky->length != 0) {
7028
+ $amp = AI_ADSENSE_AMP_STICKY;
7029
+ }
7030
 
7031
  if ($adsense_code_amp->length != 0) {
7032
  // $layout = $adsense_code_amp [0]->getAttribute ('layout'); // PHP 5.6.3
7033
  $layout = $adsense_code_amp->item (0)->getAttribute ('layout');
7034
+ if ($amp != AI_ADSENSE_AMP_DISABLED) {
7035
+ switch ($layout) {
7036
+ case 'fixed-height':
7037
+ $amp = AI_ADSENSE_AMP_ABOVE_THE_FOLD;
7038
+ break;
7039
+ case 'responsive':
7040
+ $amp = AI_ADSENSE_AMP_BELOW_THE_FOLD;
7041
+ break;
7042
+ case 'nodisplay':
7043
+ $amp = AI_ADSENSE_AMP_STICKY;
7044
+ break;
7045
+ }
7046
  }
7047
 
7048
  if ($adsense_code->length == 0) $adsense_code = $adsense_code_amp;
7068
  $data ['adsense-publisher-id'] = str_replace ('ca-', '', $adsense_code->item (0)->getAttribute ('data-ad-client'));
7069
  // $data ['adsense-ad-slot-id'] = $adsense_code [0]->getAttribute ('data-ad-slot');
7070
  $data ['adsense-ad-slot-id'] = $adsense_code->item (0)->getAttribute ('data-ad-slot');
7071
+ if ($data ['adsense-ad-slot-id'] == '') {
7072
+ $data ['adsense-ad-slot-id'] = $adsense_code->item (0)->getAttribute ('data-slot');
7073
+ }
7074
 
7075
  // $adsense_style = $adsense_code [0]->getAttribute ('style');
7076
  $adsense_style = $adsense_code->item (0)->getAttribute ('style');
7077
 
7078
  $style_width = preg_match ("/width\s*:\s*(\d+)px/", $adsense_style, $width_match);
7079
  if ($style_width) $data ['adsense-width'] = $width_match [1];
7080
+ if ($data ['adsense-width'] == '') {
7081
+ $data ['adsense-width'] = $adsense_code->item (0)->getAttribute ('width');
7082
+ }
7083
 
7084
  $style_height = preg_match ("/height\s*:\s*(\d+)px/", $adsense_style, $height_match);
7085
  if ($style_height) $data ['adsense-height'] = $height_match [1];
7086
+ if ($data ['adsense-height'] == '') {
7087
+ $data ['adsense-height'] = $adsense_code->item (0)->getAttribute ('height');
7088
+ }
7089
 
7090
  $display = '';
7091
  $style_display = preg_match ("/display\s*:\s*([a-z\-]+)/", $adsense_style, $display_match);
7151
 
7152
  // $adsense_ad_format = $adsense_code [0]->getAttribute ('data-ad-format');
7153
  $adsense_ad_format = $adsense_code->item (0)->getAttribute ('data-ad-format');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7154
 
7155
+ if ($amp == AI_ADSENSE_AMP_STICKY) {
7156
+ $data ['adsense-type'] = AI_ADSENSE_AMP_ONLY;
7157
+ } else
7158
+ switch ($adsense_ad_format) {
7159
+ case '':
7160
+ break;
7161
+ case 'auto':
7162
+ break;
7163
+ case 'autorelaxed':
7164
+ $data ['adsense-type'] = AI_ADSENSE_MATCHED_CONTENT;
7165
+ break;
7166
+ case 'link':
7167
+ $data ['adsense-type'] = AI_ADSENSE_LINK;
7168
+ break;
7169
+ case 'fluid':
7170
+ // $adsense_ad_layout = $adsense_code [0]->getAttribute ('data-ad-layout');
7171
+ $adsense_ad_layout = $adsense_code->item (0)->getAttribute ('data-ad-layout');
7172
+
7173
+ switch ($adsense_ad_layout) {
7174
+ case 'in-article':
7175
+ $data ['adsense-type'] = AI_ADSENSE_IN_ARTICLE;
7176
+ break 2;
7177
+ }
7178
+
7179
+ $data ['adsense-type'] = AI_ADSENSE_IN_FEED;
7180
 
7181
+ $data ['adsense-layout'] = $adsense_ad_layout;
7182
+ // $data ['adsense-layout-key'] = urlencode ($adsense_code [0]->getAttribute ('data-ad-layout-key'));
7183
+ $data ['adsense-layout-key'] = urlencode ($adsense_code->item (0)->getAttribute ('data-ad-layout-key'));
7184
 
7185
+ break;
7186
+ }
7187
 
7188
  $data ['adsense-full-width-responsive'] = $adsense_code->item (0)->getAttribute ('data-full-width-responsive');
7189
 
constants.php CHANGED
@@ -31,7 +31,7 @@ if (!defined( 'AD_INSERTER_NAME'))
31
  define ('AD_INSERTER_NAME', 'Ad Inserter');
32
 
33
  if (!defined( 'AD_INSERTER_VERSION'))
34
- define ('AD_INSERTER_VERSION', '2.5.8');
35
 
36
  if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
37
  define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
@@ -755,6 +755,7 @@ define ('DEFAULT_SYNTAX_HIGHLIGHTER_THEME', AI_SYNTAX_HIGHLIGHTER_THEME);
755
  define ('DEFAULT_BLOCK_CLASS_NAME', 'code-block');
756
  define ('DEFAULT_BLOCK_CLASS', AI_ENABLED);
757
  define ('DEFAULT_BLOCK_NUMBER_CLASS', AI_ENABLED);
 
758
  define ('DEFAULT_INLINE_STYLES', AI_ENABLED);
759
  define ('DEFAULT_MINIMUM_USER_ROLE', 'administrator');
760
  define ('DEFAULT_STICKY_WIDGET_MODE', AI_STICKY_WIDGET_MODE_CSS);
@@ -1119,11 +1120,13 @@ define ('AI_ADSENSE_IN_ARTICLE', 2);
1119
  define ('AI_ADSENSE_IN_FEED', 3);
1120
  define ('AI_ADSENSE_MATCHED_CONTENT', 4);
1121
  define ('AI_ADSENSE_AUTO', 5);
 
1122
 
1123
 
1124
  define ('AI_ADSENSE_AMP_DISABLED', 0);
1125
  define ('AI_ADSENSE_AMP_ABOVE_THE_FOLD', 1);
1126
  define ('AI_ADSENSE_AMP_BELOW_THE_FOLD', 2);
 
1127
 
1128
  define ('AI_ADSENSE_SIZE_FIXED', 0);
1129
  define ('AI_ADSENSE_SIZE_RESPONSIVE', 1);
31
  define ('AD_INSERTER_NAME', 'Ad Inserter');
32
 
33
  if (!defined( 'AD_INSERTER_VERSION'))
34
+ define ('AD_INSERTER_VERSION', '2.5.9');
35
 
36
  if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
37
  define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
755
  define ('DEFAULT_BLOCK_CLASS_NAME', 'code-block');
756
  define ('DEFAULT_BLOCK_CLASS', AI_ENABLED);
757
  define ('DEFAULT_BLOCK_NUMBER_CLASS', AI_ENABLED);
758
+ define ('DEFAULT_BLOCK_NAME_CLASS', AI_DISABLED);
759
  define ('DEFAULT_INLINE_STYLES', AI_ENABLED);
760
  define ('DEFAULT_MINIMUM_USER_ROLE', 'administrator');
761
  define ('DEFAULT_STICKY_WIDGET_MODE', AI_STICKY_WIDGET_MODE_CSS);
1120
  define ('AI_ADSENSE_IN_FEED', 3);
1121
  define ('AI_ADSENSE_MATCHED_CONTENT', 4);
1122
  define ('AI_ADSENSE_AUTO', 5);
1123
+ define ('AI_ADSENSE_AMP_ONLY', 6);
1124
 
1125
 
1126
  define ('AI_ADSENSE_AMP_DISABLED', 0);
1127
  define ('AI_ADSENSE_AMP_ABOVE_THE_FOLD', 1);
1128
  define ('AI_ADSENSE_AMP_BELOW_THE_FOLD', 2);
1129
+ define ('AI_ADSENSE_AMP_STICKY', 3);
1130
 
1131
  define ('AI_ADSENSE_SIZE_FIXED', 0);
1132
  define ('AI_ADSENSE_SIZE_RESPONSIVE', 1);
css/ai-settings.css CHANGED
@@ -1,5 +1,5 @@
1
  #ai-data {
2
- font-family: "2.5.8"; /* Used for version number of the file */
3
  }
4
 
5
  #blocked-warning {
@@ -56,7 +56,7 @@ hr {
56
  .ui-widget-overlay {
57
  background: #000;
58
  opacity: 0.5;
59
- filter: Alpha(Opacity=50);
60
  }
61
 
62
  button.ai-top-button {
@@ -118,7 +118,7 @@ a.clear-link, a.clear-link:hover, a.clear-link:focus {
118
  }
119
 
120
  .ai-settings-table {
121
- border-spacing: 4px;
122
  }
123
 
124
  .ai-settings-table.left {
@@ -532,7 +532,7 @@ div.automatic-insertion img {
532
 
533
  .ai-list-button {
534
  display: table-cell;
535
- margin-right: 2px;
536
  width: 20px;
537
  }
538
 
@@ -563,7 +563,6 @@ div.automatic-insertion img {
563
  font-family: inherit;
564
  line-height: 1.66em;
565
  text-align: center;
566
- cursor: pointer;
567
  text-decoration: none;
568
  -webkit-box-sizing: border-box;
569
  -moz-box-sizing: border-box;
@@ -1553,7 +1552,16 @@ table.check-pages a span.dashicons {
1553
 
1554
  /* Fix for some themes */
1555
  #ai-settings select {
1556
- padding: 2px;
 
 
 
 
 
 
 
 
 
1557
  }
1558
 
1559
  #ai-tooltip {
@@ -1567,7 +1575,6 @@ table.check-pages a span.dashicons {
1567
  color: #FFF!important;
1568
  border: 1px solid #c6c6c6;
1569
  background: #ddd url(images/ui-bg_highlight-soft_50_dddddd_1x100.png) 50% 50% repeat-x;
1570
- color: #444;
1571
  border-radius: 5px;
1572
  -webkit-user-select: none; /* Chrome all / Safari all */
1573
  -moz-user-select: none; /* Firefox all */
1
  #ai-data {
2
+ font-family: "2.5.9"; /* Used for version number of the file */
3
  }
4
 
5
  #blocked-warning {
56
  .ui-widget-overlay {
57
  background: #000;
58
  opacity: 0.5;
59
+ filter: alpha(opacity=50);
60
  }
61
 
62
  button.ai-top-button {
118
  }
119
 
120
  .ai-settings-table {
121
+ border-spacing: 2px;
122
  }
123
 
124
  .ai-settings-table.left {
532
 
533
  .ai-list-button {
534
  display: table-cell;
535
+ /* margin-right: 2px;*/
536
  width: 20px;
537
  }
538
 
563
  font-family: inherit;
564
  line-height: 1.66em;
565
  text-align: center;
 
566
  text-decoration: none;
567
  -webkit-box-sizing: border-box;
568
  -moz-box-sizing: border-box;
1552
 
1553
  /* Fix for some themes */
1554
  #ai-settings select {
1555
+ /* padding: 2px;*/
1556
+ padding: 2px 24px 2px 8px;
1557
+ min-height: 26px;
1558
+ }
1559
+
1560
+ input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email],
1561
+ input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel],
1562
+ input[type=text], input[type=time], input[type=url], input[type=week], .ui-widget select, textarea {
1563
+ border: 1px solid #ddd;
1564
+ min-height: 26px;
1565
  }
1566
 
1567
  #ai-tooltip {
1575
  color: #FFF!important;
1576
  border: 1px solid #c6c6c6;
1577
  background: #ddd url(images/ui-bg_highlight-soft_50_dddddd_1x100.png) 50% 50% repeat-x;
 
1578
  border-radius: 5px;
1579
  -webkit-user-select: none; /* Chrome all / Safari all */
1580
  -moz-user-select: none; /* Firefox all */
includes/js/ai-adb.js CHANGED
@@ -384,17 +384,21 @@ var ai_adb_undetected = function(n) {
384
 
385
  if (AI_DBG_AI_DEBUG_AD_BLOCKING) jQuery (document).ready (function () {ai_adb_detected (0)});
386
 
387
- if (!document.getElementById ("AI_CONST_AI_ADB_1_NAME")){
388
- jQuery (document).ready (function () {if (!ai_adb_active || (typeof ai_debugging !== 'undefined')) ai_adb_detected (1)});
389
- } else {
390
- jQuery (document).ready (function () {ai_adb_undetected (1)});
 
 
391
  }
392
 
393
- if (typeof window.AI_CONST_AI_ADB_2_NAME == "undefined") {
394
- jQuery (document).ready (function () {if (!ai_adb_active || (typeof ai_debugging !== 'undefined')) ai_adb_detected (2)});
395
- } else {
396
- jQuery (document).ready (function () {ai_adb_undetected (2)});
397
- }
 
 
398
 
399
  jQuery (document).ready (function ($) {
400
  $(window).ready (function () {
384
 
385
  if (AI_DBG_AI_DEBUG_AD_BLOCKING) jQuery (document).ready (function () {ai_adb_detected (0)});
386
 
387
+ if (jQuery("#ai-adb-ads").length) {
388
+ if (!document.getElementById ("AI_CONST_AI_ADB_1_NAME")){
389
+ jQuery (document).ready (function () {if (!ai_adb_active || (typeof ai_debugging !== 'undefined')) ai_adb_detected (1)});
390
+ } else {
391
+ jQuery (document).ready (function () {ai_adb_undetected (1)});
392
+ }
393
  }
394
 
395
+ if (jQuery("#ai-adb-sponsors").length) {
396
+ if (typeof window.AI_CONST_AI_ADB_2_NAME == "undefined") {
397
+ jQuery (document).ready (function () {if (!ai_adb_active || (typeof ai_debugging !== 'undefined')) ai_adb_detected (2)});
398
+ } else {
399
+ jQuery (document).ready (function () {ai_adb_undetected (2)});
400
+ }
401
+ }
402
 
403
  jQuery (document).ready (function ($) {
404
  $(window).ready (function () {
includes/js/ai-adb.min.js CHANGED
@@ -11,8 +11,8 @@ if("undefined"!=typeof b){var c=a(this).closest("div[data-ai]");if("undefined"!=
11
  path:"/"});window.ai_d1=b;window.AI_ADB_STATUS_MESSAGE=1;return}}if(0==ai_adb_message_cookie_lifetime||1==ai_adb_action&&ai_adb_message_undismissible)AiCookies.remove(ai_adb_act_cookie_name,{path:"/"});else{c=AiCookies.get(ai_adb_act_cookie_name);if("undefined"!=typeof c&&"AI_CONST_AI_ADB_COOKIE_VALUE"==c){window.AI_ADB_STATUS_MESSAGE=2;return}AiCookies.set(ai_adb_act_cookie_name,"AI_CONST_AI_ADB_COOKIE_VALUE",{expires:ai_adb_message_cookie_lifetime,path:"/"})}0==ai_adb_action?(ai_dummy=16,ai_dummy++,
12
  window.AI_ADB_STATUS_MESSAGE=6):(window.AI_ADB_STATUS_MESSAGE=3,ai_dummy=13);switch(ai_adb_action){case 1:ai_adb_message_undismissible||(ai_adb_overlay.click(function(){a(this).remove();ai_adb_message_window.remove()}).css("cursor","pointer"),ai_adb_message_window.click(function(){a(this).remove();ai_adb_overlay.remove()}).css("cursor","pointer"),window.onkeydown=function(a){27===a.keyCode&&(ai_adb_overlay.click(),ai_adb_message_window.click())});a("body").prepend(ai_adb_overlay).prepend(ai_adb_message_window);
13
  break;case 2:""!=ai_adb_redirection_url&&(b=!0,"http"==ai_adb_redirection_url.toLowerCase().substring(0,4)?window.location.href==ai_adb_redirection_url&&(b=!1):window.location.pathname==ai_adb_redirection_url&&(b=!1),b?(c=AiCookies.get(ai_adb_page_redirection_cookie_name),"undefined"==typeof c&&(b=new Date,b.setTime(b.getTime()+1E4),AiCookies.set(ai_adb_page_redirection_cookie_name,window.location.href,{expires:b,path:"/"}),window.location.replace(ai_adb_redirection_url))):AiCookies.remove(ai_adb_page_redirection_cookie_name,
14
- {path:"/"}))}}(jQuery),ai_adb=!0)},ai_adb_undetected=function(a){ai_adb_counter++;ai_adb_active||4!=ai_adb_counter||(window.AI_ADB_STATUS_MESSAGE=4,ai_dummy=14)};AI_DBG_AI_DEBUG_AD_BLOCKING&&jQuery(document).ready(function(){ai_adb_detected(0)});document.getElementById("AI_CONST_AI_ADB_1_NAME")?jQuery(document).ready(function(){ai_adb_undetected(1)}):jQuery(document).ready(function(){ai_adb_active&&"undefined"===typeof ai_debugging||ai_adb_detected(1)});
15
- "undefined"==typeof window.AI_CONST_AI_ADB_2_NAME?jQuery(document).ready(function(){ai_adb_active&&"undefined"===typeof ai_debugging||ai_adb_detected(2)}):jQuery(document).ready(function(){ai_adb_undetected(2)});
16
  jQuery(document).ready(function(a){a(window).ready(function(){var d="undefined"!==typeof ai_debugging;a("#ai-adb-bar").click(function(){AiCookies.remove(ai_adb_act_cookie_name,{path:"/"});AiCookies.remove(ai_adb_pgv_cookie_name,{path:"/"});window.AI_ADB_STATUS_MESSAGE=5;ai_dummy=15});jQuery("#banner-advert-container").length&&0<a("#banner-advert-container img").length&&(0===a("#banner-advert-container img").outerHeight()?a(document).ready(function(){ai_adb_active&&!d||ai_adb_detected(3)}):a(document).ready(function(){ai_adb_undetected(3)}),
17
  a("#banner-advert-container img").remove());if((!ai_adb_active||d)&&""!=ai_adb_selectors){var b=0,c=0,e=ai_adb_selectors.split(",");a.each(e,function(f){e[f]=e[f].trim();0!=a(e[f]).length&&a(e[f]).each(function(e){var f=a(this).outerHeight();e=a(this).find(".ai-attributes");e.length&&e.each(function(){f>=a(this).outerHeight()&&(f-=a(this).outerHeight())});b++;if(0===f&&(a(document).ready(function(){ai_adb_active&&!d||ai_adb_detected(4)}),c++,!d))return!1})});0!=b&&0==c&&a(document).ready(function(){ai_adb_undetected(4)})}})});
18
  jQuery(window).on("load",function(){setTimeout(function(){var a="undefined"!==typeof ai_debugging;jQuery("#ai-adb-ga").length&&("function"==typeof ga&&30<ga.toString().length||"function"==typeof __gaTracker&&30<__gaTracker.toString().length?jQuery(document).ready(function(){ai_adb_undetected(5)}):jQuery(document).ready(function(){ai_adb_active&&!a||ai_adb_detected(5)}));jQuery("#ai-adb-mn").length&&("object"==typeof _mNDetails&&400<JSON.stringify(_mNDetails).length?jQuery(document).ready(function(){ai_adb_undetected(6)}):
11
  path:"/"});window.ai_d1=b;window.AI_ADB_STATUS_MESSAGE=1;return}}if(0==ai_adb_message_cookie_lifetime||1==ai_adb_action&&ai_adb_message_undismissible)AiCookies.remove(ai_adb_act_cookie_name,{path:"/"});else{c=AiCookies.get(ai_adb_act_cookie_name);if("undefined"!=typeof c&&"AI_CONST_AI_ADB_COOKIE_VALUE"==c){window.AI_ADB_STATUS_MESSAGE=2;return}AiCookies.set(ai_adb_act_cookie_name,"AI_CONST_AI_ADB_COOKIE_VALUE",{expires:ai_adb_message_cookie_lifetime,path:"/"})}0==ai_adb_action?(ai_dummy=16,ai_dummy++,
12
  window.AI_ADB_STATUS_MESSAGE=6):(window.AI_ADB_STATUS_MESSAGE=3,ai_dummy=13);switch(ai_adb_action){case 1:ai_adb_message_undismissible||(ai_adb_overlay.click(function(){a(this).remove();ai_adb_message_window.remove()}).css("cursor","pointer"),ai_adb_message_window.click(function(){a(this).remove();ai_adb_overlay.remove()}).css("cursor","pointer"),window.onkeydown=function(a){27===a.keyCode&&(ai_adb_overlay.click(),ai_adb_message_window.click())});a("body").prepend(ai_adb_overlay).prepend(ai_adb_message_window);
13
  break;case 2:""!=ai_adb_redirection_url&&(b=!0,"http"==ai_adb_redirection_url.toLowerCase().substring(0,4)?window.location.href==ai_adb_redirection_url&&(b=!1):window.location.pathname==ai_adb_redirection_url&&(b=!1),b?(c=AiCookies.get(ai_adb_page_redirection_cookie_name),"undefined"==typeof c&&(b=new Date,b.setTime(b.getTime()+1E4),AiCookies.set(ai_adb_page_redirection_cookie_name,window.location.href,{expires:b,path:"/"}),window.location.replace(ai_adb_redirection_url))):AiCookies.remove(ai_adb_page_redirection_cookie_name,
14
+ {path:"/"}))}}(jQuery),ai_adb=!0)},ai_adb_undetected=function(a){ai_adb_counter++;ai_adb_active||4!=ai_adb_counter||(window.AI_ADB_STATUS_MESSAGE=4,ai_dummy=14)};AI_DBG_AI_DEBUG_AD_BLOCKING&&jQuery(document).ready(function(){ai_adb_detected(0)});jQuery("#ai-adb-ads").length&&(document.getElementById("AI_CONST_AI_ADB_1_NAME")?jQuery(document).ready(function(){ai_adb_undetected(1)}):jQuery(document).ready(function(){ai_adb_active&&"undefined"===typeof ai_debugging||ai_adb_detected(1)}));
15
+ jQuery("#ai-adb-sponsors").length&&("undefined"==typeof window.AI_CONST_AI_ADB_2_NAME?jQuery(document).ready(function(){ai_adb_active&&"undefined"===typeof ai_debugging||ai_adb_detected(2)}):jQuery(document).ready(function(){ai_adb_undetected(2)}));
16
  jQuery(document).ready(function(a){a(window).ready(function(){var d="undefined"!==typeof ai_debugging;a("#ai-adb-bar").click(function(){AiCookies.remove(ai_adb_act_cookie_name,{path:"/"});AiCookies.remove(ai_adb_pgv_cookie_name,{path:"/"});window.AI_ADB_STATUS_MESSAGE=5;ai_dummy=15});jQuery("#banner-advert-container").length&&0<a("#banner-advert-container img").length&&(0===a("#banner-advert-container img").outerHeight()?a(document).ready(function(){ai_adb_active&&!d||ai_adb_detected(3)}):a(document).ready(function(){ai_adb_undetected(3)}),
17
  a("#banner-advert-container img").remove());if((!ai_adb_active||d)&&""!=ai_adb_selectors){var b=0,c=0,e=ai_adb_selectors.split(",");a.each(e,function(f){e[f]=e[f].trim();0!=a(e[f]).length&&a(e[f]).each(function(e){var f=a(this).outerHeight();e=a(this).find(".ai-attributes");e.length&&e.each(function(){f>=a(this).outerHeight()&&(f-=a(this).outerHeight())});b++;if(0===f&&(a(document).ready(function(){ai_adb_active&&!d||ai_adb_detected(4)}),c++,!d))return!1})});0!=b&&0==c&&a(document).ready(function(){ai_adb_undetected(4)})}})});
18
  jQuery(window).on("load",function(){setTimeout(function(){var a="undefined"!==typeof ai_debugging;jQuery("#ai-adb-ga").length&&("function"==typeof ga&&30<ga.toString().length||"function"==typeof __gaTracker&&30<__gaTracker.toString().length?jQuery(document).ready(function(){ai_adb_undetected(5)}):jQuery(document).ready(function(){ai_adb_active&&!a||ai_adb_detected(5)}));jQuery("#ai-adb-mn").length&&("object"==typeof _mNDetails&&400<JSON.stringify(_mNDetails).length?jQuery(document).ready(function(){ai_adb_undetected(6)}):
js/ad-inserter.js CHANGED
@@ -1,5559 +1,5636 @@
1
- var javascript_version = "2.5.8";
2
- var ignore_key = true;
3
- var start = 1;
4
- var end = 16;
5
- var active_tab = 1;
6
- var active_tab_0 = 0;
7
- var tabs_to_configure = new Array();
8
- var debug = false;
9
- var debug_title = false;
10
- var save_enabled = true;
11
-
12
- var current_tab = 0;
13
- var next_tab = 0;
14
-
15
- var syntax_highlighting = false;
16
- var settings_page = "";
17
-
18
- var dateFormat = "yy-mm-dd";
19
-
20
- var list_search_reload = false;
21
- //var ai_ctrl_pressed = false;
22
-
23
- var AI_DISABLED = 0;
24
- var AI_BEFORE_POST = 1;
25
- var AI_AFTER_POST = 2;
26
- var AI_BEFORE_CONTENT = 3;
27
- var AI_AFTER_CONTENT = 4;
28
- var AI_BEFORE_PARAGRAPH = 5;
29
- var AI_AFTER_PARAGRAPH = 6;
30
- var AI_BEFORE_EXCERPT = 7;
31
- var AI_AFTER_EXCERPT = 8;
32
- var AI_BETWEEN_POSTS = 9;
33
- var AI_BEFORE_COMMENTS = 10;
34
- var AI_BETWEEN_COMMENTS = 11;
35
- var AI_AFTER_COMMENTS = 12;
36
- var AI_FOOTER = 13;
37
- var AI_ABOVE_HEADER = 14;
38
- var AI_BEFORE_HTML_ELEMENT = 15;
39
- var AI_AFTER_HTML_ELEMENT = 16;
40
- var AI_INSIDE_HTML_ELEMENT = 17;
41
- var AI_BEFORE_IMAGE = 18;
42
- var AI_AFTER_IMAGE = 19;
43
-
44
-
45
- var AI_ALIGNMENT_DEFAULT = 0;
46
- var AI_ALIGNMENT_LEFT = 1;
47
- var AI_ALIGNMENT_RIGHT = 2;
48
- var AI_ALIGNMENT_CENTER = 3;
49
- var AI_ALIGNMENT_FLOAT_LEFT = 4;
50
- var AI_ALIGNMENT_FLOAT_RIGHT = 5;
51
- var AI_ALIGNMENT_NO_WRAPPING = 6;
52
- var AI_ALIGNMENT_CUSTOM_CSS = 7;
53
- var AI_ALIGNMENT_STICKY_LEFT = 8;
54
- var AI_ALIGNMENT_STICKY_RIGHT = 9;
55
- var AI_ALIGNMENT_STICKY_TOP = 10;
56
- var AI_ALIGNMENT_STICKY_BOTTOM = 11;
57
- var AI_ALIGNMENT_STICKY = 12;
58
-
59
- var AI_ADB_ACTION_NONE = 0;
60
- var AI_ADB_ACTION_MESSAGE = 1;
61
- var AI_ADB_ACTION_REDIRECTION = 2;
62
-
63
- var AI_ADB_BLOCK_ACTION_DO_NOTHING = 0;
64
- var AI_ADB_BLOCK_ACTION_REPLACE = 1;
65
- var AI_ADB_BLOCK_ACTION_SHOW = 2;
66
- var AI_ADB_BLOCK_ACTION_HIDE = 3;
67
-
68
- var AI_CODE_UNKNOWN = 100;
69
- var AI_CODE_BANNER = 0;
70
- var AI_CODE_ADSENSE = 1;
71
-
72
- var AI_ADSENSE_STANDARD = 0;
73
- var AI_ADSENSE_LINK = 1;
74
- var AI_ADSENSE_IN_ARTICLE = 2;
75
- var AI_ADSENSE_IN_FEED = 3;
76
- var AI_ADSENSE_MATCHED_CONTENT = 4;
77
-
78
- var AI_ADSENSE_SIZE_FIXED = 0;
79
- var AI_ADSENSE_SIZE_RESPONSIVE = 1;
80
- var AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT = 2;
81
-
82
- var AI_HTML_INSERTION_CLIENT_SIDE = 0;
83
- var AI_HTML_INSERTION_CLIENT_SIDE_DOM_READY = 1;
84
- var AI_HTML_INSERTION_SEREVR_SIDE = 2;
85
-
86
- var AI_STICK_TO_THE_TOP = 0;
87
- var AI_STICK_VERTICAL_CENTER = 1;
88
- var AI_SCROLL_WITH_THE_CONTENT = 2;
89
- var AI_STICK_TO_THE_BOTTOM = 3;
90
-
91
- var AI_ANIMATION_NONE = 0;
92
-
93
-
94
- var before_update_selection_from_list = null;
95
-
96
- /*
97
- * jQuery Tooltip plugin 1.3
98
- *
99
- * http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/
100
- * http://docs.jquery.com/Plugins/Tooltip
101
- *
102
- * Copyright (c) 2006 - 2008 J�rn Zaefferer
103
- *
104
- * $Id: jquery.tooltip.js 5741 2008-06-21 15:22:16Z joern.zaefferer $
105
- *
106
- * Dual licensed under the MIT and GPL licenses:
107
- * http://www.opensource.org/licenses/mit-license.php
108
- * http://www.gnu.org/licenses/gpl.html
109
- */
110
- (function($) {
111
- // the tooltip element
112
- var helper = {},
113
- // the current tooltipped element
114
- current,
115
- // the title of the current element, used for restoring
116
- title,
117
- // timeout id for delayed tooltips
118
- tID,
119
- // IE 5.5 or 6
120
- // IE = $.browser.msie && /MSIE\s(5\.5|6\.)/.test(navigator.userAgent),
121
- IE = false,
122
- // flag for mouse tracking
123
- track = false;
124
- $.tooltip = {
125
- blocked: false,
126
- defaults: {
127
- delay: 200,
128
- fade: false,
129
- showURL: true,
130
- extraClass: "",
131
- top: 15,
132
- left: 15,
133
- id: "ai-tooltip"
134
- },
135
- block: function() {
136
- $.tooltip.blocked = !$.tooltip.blocked;
137
- }
138
- };
139
- $.fn.extend({
140
- tooltip: function(settings) {
141
- settings = $.extend({}, $.tooltip.defaults, settings);
142
- createHelper(settings);
143
- return this.each(function() {
144
- $.data(this, "tooltip", settings);
145
- this.tOpacity = helper.parent.css("opacity");
146
- // copy tooltip into its own expando and remove the title
147
- this.tooltipText = this.title;
148
- $(this).removeAttr("title");
149
- // also remove alt attribute to prevent default tooltip in IE
150
- this.alt = "";
151
- })
152
- .mouseover(save)
153
- .mouseout(hide)
154
- .click(hide);
155
- },
156
- fixPNG: IE ? function() {
157
- return this.each(function() {
158
- var image = $(this).css('backgroundImage');
159
- if (image.match(/^url\(["']?(.*\.png)["']?\)$/i)) {
160
- image = RegExp.$1;
161
- $(this).css({
162
- 'backgroundImage': 'none',
163
- 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='" + image + "')"
164
- }).each(function() {
165
- var position = $(this).css('position');
166
- if (position != 'absolute' && position != 'relative')
167
- $(this).css('position', 'relative');
168
- });
169
- }
170
- });
171
- } : function() {
172
- return this;
173
- },
174
- unfixPNG: IE ? function() {
175
- return this.each(function() {
176
- $(this).css({
177
- 'filter': '',
178
- backgroundImage: ''
179
- });
180
- });
181
- } : function() {
182
- return this;
183
- },
184
- hideWhenEmpty: function() {
185
- return this.each(function() {
186
- $(this)[$(this).html() ? "show" : "hide"]();
187
- });
188
- },
189
- url: function() {
190
- return this.attr('href') || this.attr('src');
191
- }
192
- });
193
- function createHelper(settings) {
194
- // there can be only one tooltip helper
195
- if (helper.parent)
196
- return;
197
- // create the helper, h3 for title, div for url
198
- helper.parent = $('<div id="' + settings.id + '"><h3></h3><div class="body"></div><div class="url"></div></div>')
199
- // add to document
200
- .appendTo(document.body)
201
- // hide it at first
202
- .hide();
203
- // apply bgiframe if available
204
- if ($.fn.bgiframe)
205
- helper.parent.bgiframe();
206
- // save references to title and url elements
207
- helper.title = $('h3', helper.parent);
208
- helper.body = $('div.body', helper.parent);
209
- helper.url = $('div.url', helper.parent);
210
- }
211
- function settings(element) {
212
- return $.data(element, "tooltip");
213
- }
214
- // main event handler to start showing tooltips
215
- function handle(event) {
216
- // show helper, either with timeout or on instant
217
- if (settings(this).delay)
218
- tID = setTimeout(show, settings(this).delay);
219
- else
220
- show();
221
- // if selected, update the helper position when the mouse moves
222
- track = !!settings(this).track;
223
- $(document.body).bind('mousemove', update);
224
- // update at least once
225
- update(event);
226
- }
227
- // save elements title before the tooltip is displayed
228
- function save() {
229
- // if this is the current source, or it has no title (occurs with click event), stop
230
- if ($.tooltip.blocked || this == current || (!this.tooltipText && !settings(this).bodyHandler))
231
- return;
232
- // save current
233
- current = this;
234
- title = this.tooltipText;
235
-
236
- title = title.replace (/\[\[(.+?)\]\]/g, '<span class="tooltip-code">$1</span>');
237
- title = title.replace (/\[BR\]/g, '<br />');
238
- title = title.replace (/\[HR\]/g, '<hr />');
239
- title = title.replace (/(\[ADINSERTER.+\])/g, '<span class="tooltip-code">$1</span>');
240
- title = title.replace (/(\%N)/g, '<span class="tooltip-code">$1</span>');
241
- title = title.replace (/(\[\*\])/g, '<span class="tooltip-icon"><span class="dashicons dashicons-admin-generic" style="width: 11px; height: 11px; font-size: 12px; line-height: unset;"></span></span>');
242
- title = title.replace (/(http[^ ]+)/g, '<span class="tooltip-code">$1</span>');
243
- title = title.replace (/(pub-[0-9]+)/g, '<span class="tooltip-code">$1</span>');
244
-
245
- if (settings(this).bodyHandler) {
246
- helper.title.hide();
247
- var bodyContent = settings(this).bodyHandler.call(this);
248
- if (bodyContent.nodeType || bodyContent.jquery) {
249
- helper.body.empty().append(bodyContent)
250
- } else {
251
- helper.body.html(bodyContent);
252
- }
253
- helper.body.show();
254
- } else if (settings(this).showBody) {
255
- var parts = title.split(settings(this).showBody);
256
- if (parts.length == 2) {
257
- helper.title.html(parts.shift()).show();
258
- } else {
259
- helper.title.hide();
260
- }
261
- helper.body.empty();
262
- for (var i = 0, part;
263
- (part = parts[i]); i++) {
264
- if (i > 0)
265
- helper.body.append("<br/>");
266
- helper.body.append(part);
267
- }
268
- helper.body.hideWhenEmpty();
269
- } else {
270
- helper.title.html(title).show();
271
- helper.body.hide();
272
- }
273
- // if element has href or src, add and show it, otherwise hide it
274
- if (settings(this).showURL && $(this).url())
275
- helper.url.html($(this).url().replace('http://', '')).show();
276
- else
277
- helper.url.hide();
278
- // add an optional class for this tip
279
- helper.parent.addClass(settings(this).extraClass);
280
- // fix PNG background for IE
281
- if (settings(this).fixPNG)
282
- helper.parent.fixPNG();
283
- handle.apply(this, arguments);
284
- }
285
- // delete timeout and show helper
286
- function show() {
287
- tID = null;
288
- if ((!IE || !$.fn.bgiframe) && settings(current).fade) {
289
- if (helper.parent.is(":animated"))
290
- helper.parent.stop().show().fadeTo(settings(current).fade, current.tOpacity);
291
- else
292
- helper.parent.is(':visible') ? helper.parent.fadeTo(settings(current).fade, current.tOpacity) : helper.parent.fadeIn(settings(current).fade);
293
- } else {
294
- helper.parent.show();
295
- }
296
- update();
297
- }
298
- /**
299
- * callback for mousemove
300
- * updates the helper position
301
- * removes itself when no current element
302
- */
303
- function update(event) {
304
- if ($.tooltip.blocked)
305
- return;
306
- if (event && event.target.tagName == "OPTION") {
307
- return;
308
- }
309
- // stop updating when tracking is disabled and the tooltip is visible
310
- if (!track && helper.parent.is(":visible")) {
311
- $(document.body).unbind('mousemove', update)
312
- }
313
- // if no current element is available, remove this listener
314
- if (current == null) {
315
- $(document.body).unbind('mousemove', update);
316
- return;
317
- }
318
- // remove position helper classes
319
- helper.parent.removeClass("viewport-right").removeClass("viewport-bottom");
320
- var left = helper.parent[0].offsetLeft;
321
- var top = helper.parent[0].offsetTop;
322
- if (event) {
323
- // position the helper 15 pixel to bottom right, starting from mouse position
324
- left = event.pageX + settings(current).left;
325
- top = event.pageY + settings(current).top;
326
- var right = 'auto';
327
- if (settings(current).positionLeft) {
328
- right = $(window).width() - left;
329
- left = 'auto';
330
- }
331
- helper.parent.css({
332
- left: left,
333
- right: right,
334
- top: top
335
- });
336
- }
337
- var v = viewport(),
338
- h = helper.parent[0];
339
- // check horizontal position
340
- if (v.x + v.cx < h.offsetLeft + h.offsetWidth) {
341
- left -= h.offsetWidth + 20 + settings(current).left;
342
- helper.parent.css({
343
- left: left + 'px'
344
- }).addClass("viewport-right");
345
- }
346
- // check vertical position
347
- if (v.y + v.cy < h.offsetTop + h.offsetHeight) {
348
- top -= h.offsetHeight + 20 + settings(current).top;
349
- helper.parent.css({
350
- top: top + 'px'
351
- }).addClass("viewport-bottom");
352
- }
353
- }
354
- function viewport() {
355
- return {
356
- x: $(window).scrollLeft(),
357
- y: $(window).scrollTop(),
358
- cx: $(window).width(),
359
- cy: $(window).height()
360
- };
361
- }
362
- // hide helper and restore added classes and the title
363
- function hide(event) {
364
- if ($.tooltip.blocked)
365
- return;
366
- // clear timeout if possible
367
- if (tID)
368
- clearTimeout(tID);
369
- // no more current element
370
- current = null;
371
- var tsettings = settings(this);
372
- function complete() {
373
- helper.parent.removeClass(tsettings.extraClass).hide().css("opacity", "");
374
- }
375
- if ((!IE || !$.fn.bgiframe) && tsettings.fade) {
376
- if (helper.parent.is(':animated'))
377
- helper.parent.stop().fadeTo(tsettings.fade, 0, complete);
378
- else
379
- helper.parent.stop().fadeOut(tsettings.fade, complete);
380
- } else
381
- complete();
382
- if (settings(this).fixPNG)
383
- helper.parent.unfixPNG();
384
- }
385
- })(jQuery);
386
-
387
- function b64e (str) {
388
- // first we use encodeURIComponent to get percent-encoded UTF-8,
389
- // then we convert the percent encodings into raw bytes which
390
- // can be fed into btoa.
391
- return btoa (encodeURIComponent (str).replace (/%([0-9A-F]{2})/g,
392
- function toSolidBytes (match, p1) {
393
- return String.fromCharCode ('0x' + p1);
394
- }));
395
- }
396
-
397
- function b64d (str) {
398
- // Going backwards: from bytestream, to percent-encoding, to original string.
399
- return decodeURIComponent (atob (str).split ('').map (function(c) {
400
- return '%' + ('00' + c.charCodeAt (0).toString (16)).slice (-2);
401
- }).join (''));
402
- }
403
-
404
- // http://www.myersdaily.org/joseph/javascript/md5.js
405
-
406
- function md5cycle (x, k) {
407
- var a = x[0],
408
- b = x[1],
409
- c = x[2],
410
- d = x[3];
411
- a = ff(a, b, c, d, k[0], 7, -680876936);
412
- d = ff(d, a, b, c, k[1], 12, -389564586);
413
- c = ff(c, d, a, b, k[2], 17, 606105819);
414
- b = ff(b, c, d, a, k[3], 22, -1044525330);
415
- a = ff(a, b, c, d, k[4], 7, -176418897);
416
- d = ff(d, a, b, c, k[5], 12, 1200080426);
417
- c = ff(c, d, a, b, k[6], 17, -1473231341);
418
- b = ff(b, c, d, a, k[7], 22, -45705983);
419
- a = ff(a, b, c, d, k[8], 7, 1770035416);
420
- d = ff(d, a, b, c, k[9], 12, -1958414417);
421
- c = ff(c, d, a, b, k[10], 17, -42063);
422
- b = ff(b, c, d, a, k[11], 22, -1990404162);
423
- a = ff(a, b, c, d, k[12], 7, 1804603682);
424
- d = ff(d, a, b, c, k[13], 12, -40341101);
425
- c = ff(c, d, a, b, k[14], 17, -1502002290);
426
- b = ff(b, c, d, a, k[15], 22, 1236535329);
427
- a = gg(a, b, c, d, k[1], 5, -165796510);
428
- d = gg(d, a, b, c, k[6], 9, -1069501632);
429
- c = gg(c, d, a, b, k[11], 14, 643717713);
430
- b = gg(b, c, d, a, k[0], 20, -373897302);
431
- a = gg(a, b, c, d, k[5], 5, -701558691);
432
- d = gg(d, a, b, c, k[10], 9, 38016083);
433
- c = gg(c, d, a, b, k[15], 14, -660478335);
434
- b = gg(b, c, d, a, k[4], 20, -405537848);
435
- a = gg(a, b, c, d, k[9], 5, 568446438);
436
- d = gg(d, a, b, c, k[14], 9, -1019803690);
437
- c = gg(c, d, a, b, k[3], 14, -187363961);
438
- b = gg(b, c, d, a, k[8], 20, 1163531501);
439
- a = gg(a, b, c, d, k[13], 5, -1444681467);
440
- d = gg(d, a, b, c, k[2], 9, -51403784);
441
- c = gg(c, d, a, b, k[7], 14, 1735328473);
442
- b = gg(b, c, d, a, k[12], 20, -1926607734);
443
- a = hh(a, b, c, d, k[5], 4, -378558);
444
- d = hh(d, a, b, c, k[8], 11, -2022574463);
445
- c = hh(c, d, a, b, k[11], 16, 1839030562);
446
- b = hh(b, c, d, a, k[14], 23, -35309556);
447
- a = hh(a, b, c, d, k[1], 4, -1530992060);
448
- d = hh(d, a, b, c, k[4], 11, 1272893353);
449
- c = hh(c, d, a, b, k[7], 16, -155497632);
450
- b = hh(b, c, d, a, k[10], 23, -1094730640);
451
- a = hh(a, b, c, d, k[13], 4, 681279174);
452
- d = hh(d, a, b, c, k[0], 11, -358537222);
453
- c = hh(c, d, a, b, k[3], 16, -722521979);
454
- b = hh(b, c, d, a, k[6], 23, 76029189);
455
- a = hh(a, b, c, d, k[9], 4, -640364487);
456
- d = hh(d, a, b, c, k[12], 11, -421815835);
457
- c = hh(c, d, a, b, k[15], 16, 530742520);
458
- b = hh(b, c, d, a, k[2], 23, -995338651);
459
- a = ii(a, b, c, d, k[0], 6, -198630844);
460
- d = ii(d, a, b, c, k[7], 10, 1126891415);
461
- c = ii(c, d, a, b, k[14], 15, -1416354905);
462
- b = ii(b, c, d, a, k[5], 21, -57434055);
463
- a = ii(a, b, c, d, k[12], 6, 1700485571);
464
- d = ii(d, a, b, c, k[3], 10, -1894986606);
465
- c = ii(c, d, a, b, k[10], 15, -1051523);
466
- b = ii(b, c, d, a, k[1], 21, -2054922799);
467
- a = ii(a, b, c, d, k[8], 6, 1873313359);
468
- d = ii(d, a, b, c, k[15], 10, -30611744);
469
- c = ii(c, d, a, b, k[6], 15, -1560198380);
470
- b = ii(b, c, d, a, k[13], 21, 1309151649);
471
- a = ii(a, b, c, d, k[4], 6, -145523070);
472
- d = ii(d, a, b, c, k[11], 10, -1120210379);
473
- c = ii(c, d, a, b, k[2], 15, 718787259);
474
- b = ii(b, c, d, a, k[9], 21, -343485551);
475
- x[0] = add32(a, x[0]);
476
- x[1] = add32(b, x[1]);
477
- x[2] = add32(c, x[2]);
478
- x[3] = add32(d, x[3]);
479
- }
480
- function cmn(q, a, b, x, s, t) {
481
- a = add32(add32(a, q), add32(x, t));
482
- return add32((a << s) | (a >>> (32 - s)), b);
483
- }
484
- function ff(a, b, c, d, x, s, t) {
485
- return cmn((b & c) | ((~b) & d), a, b, x, s, t);
486
- }
487
- function gg(a, b, c, d, x, s, t) {
488
- return cmn((b & d) | (c & (~d)), a, b, x, s, t);
489
- }
490
- function hh(a, b, c, d, x, s, t) {
491
- return cmn(b ^ c ^ d, a, b, x, s, t);
492
- }
493
- function ii(a, b, c, d, x, s, t) {
494
- return cmn(c ^ (b | (~d)), a, b, x, s, t);
495
- }
496
- function md51(s) {
497
- txt = '';
498
- var n = s.length,
499
- state = [1732584193, -271733879, -1732584194, 271733878],
500
- i;
501
- for (i = 64; i <= s.length; i += 64) {
502
- md5cycle(state, md5blk(s.substring(i - 64, i)));
503
- }
504
- s = s.substring(i - 64);
505
- var tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
506
- for (i = 0; i < s.length; i++)
507
- tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);
508
- tail[i >> 2] |= 0x80 << ((i % 4) << 3);
509
- if (i > 55) {
510
- md5cycle(state, tail);
511
- for (i = 0; i < 16; i++) tail[i] = 0;
512
- }
513
- tail[14] = n * 8;
514
- md5cycle(state, tail);
515
- return state;
516
- }
517
- /* there needs to be support for Unicode here,
518
- * unless we pretend that we can redefine the MD-5
519
- * algorithm for multi-byte characters (perhaps
520
- * by adding every four 16-bit characters and
521
- * shortening the sum to 32 bits). Otherwise
522
- * I suggest performing MD-5 as if every character
523
- * was two bytes--e.g., 0040 0025 = @%--but then
524
- * how will an ordinary MD-5 sum be matched?
525
- * There is no way to standardize text to something
526
- * like UTF-8 before transformation; speed cost is
527
- * utterly prohibitive. The JavaScript standard
528
- * itself needs to look at this: it should start
529
- * providing access to strings as preformed UTF-8
530
- * 8-bit unsigned value arrays.
531
- */
532
- function md5blk(s) { /* I figured global was faster. */
533
- var md5blks = [],
534
- i; /* Andy King said do it this way. */
535
- for (i = 0; i < 64; i += 4) {
536
- md5blks[i >> 2] = s.charCodeAt(i) +
537
- (s.charCodeAt(i + 1) << 8) +
538
- (s.charCodeAt(i + 2) << 16) +
539
- (s.charCodeAt(i + 3) << 24);
540
- }
541
- return md5blks;
542
- }
543
- var hex_chr = '0123456789abcdef'.split('');
544
- function rhex(n) {
545
- var s = '',
546
- j = 0;
547
- for (; j < 4; j++)
548
- s += hex_chr[(n >> (j * 8 + 4)) & 0x0F] +
549
- hex_chr[(n >> (j * 8)) & 0x0F];
550
- return s;
551
- }
552
- function hex(x) {
553
- for (var i = 0; i < x.length; i++)
554
- x[i] = rhex(x[i]);
555
- return x.join('');
556
- }
557
- function md5(s) {
558
- return hex(md51(s));
559
- }
560
- /* this function is much faster,
561
- so if possible we use it. Some IEs
562
- are the only ones I know of that
563
- need the idiotic second function,
564
- generated by an if clause. */
565
- function add32(a, b) {
566
- return (a + b) & 0xFFFFFFFF;
567
- }
568
- if (md5('hello') != '5d41402abc4b2a76b9719d911017c592') {
569
- function add32(x, y) {
570
- var lsw = (x & 0xFFFF) + (y & 0xFFFF),
571
- msw = (x >> 16) + (y >> 16) + (lsw >> 16);
572
- return (msw << 16) | (lsw & 0xFFFF);
573
- }
574
- }
575
-
576
-
577
- String.prototype.tabIndex = function () {
578
- return this.replace (/^\D+/g, '')
579
- };
580
-
581
- String.prototype.replaceAll = function(search, replacement) {
582
- var target = this;
583
- return target.split(search).join(replacement);
584
- };
585
-
586
- var ai_nonce = b64d (jQuery ("#ai-form").attr ('ai-value'));
587
-
588
- var shSettings = {
589
- "tab_size":"4",
590
- "use_soft_tabs":"1",
591
- "word_wrap":"1",
592
- "highlight_curr_line":"0",
593
- "key_bindings":"default",
594
- "full_line_selection":"1",
595
- "show_line_numbers":"0"};
596
-
597
- function SyntaxHighlight (id, block, settings) {
598
- var textarea, editor, form, session, editDiv;
599
-
600
- settings ['tab_size'] = 2;
601
-
602
- this.textarea = textarea = jQuery(id);
603
- this.settings = settings || {};
604
-
605
- if (textarea.length === 0 ) { // Element does not exist
606
- this.valid = false;
607
- return;
608
- }
609
-
610
- this.valid = true;
611
- editDiv = jQuery('<div>', {
612
- position: 'absolute',
613
- 'class': textarea.attr('class'),
614
- 'id': 'editor-' + block
615
- }).insertBefore (textarea);
616
-
617
- textarea.css('display', 'none');
618
- this.editor = editor = ace.edit(editDiv[0]);
619
- this.form = form = textarea.closest('form');
620
- this.session = session = editor.getSession();
621
-
622
- editor.$blockScrolling = Infinity;
623
-
624
- session.setValue(textarea.val());
625
-
626
- // copy back to textarea on form submit...
627
- form.submit (function () {
628
- if (!save_enabled) return false;
629
-
630
- var block = textarea.attr ("id").replace ("block-","");
631
-
632
- // console.log ('form.submit', block);
633
-
634
- var editor_disabled = true;
635
- if (typeof ace != 'undefined') {
636
- editor_disabled = jQuery("#simple-editor-" + block).is(":checked");
637
- }
638
- if (!editor_disabled) {
639
- textarea.val (session.getValue());
640
- }
641
-
642
- var default_value = textarea.attr ("default");
643
- var current_value = textarea.val ();
644
- var name = textarea.attr ("name");
645
-
646
- if (typeof name != 'undefined') {
647
- if (typeof default_value != 'undefined') {
648
- // console.log (textarea.attr ("name"), ": default_value: ", default_value, ", current_value: ", current_value);
649
-
650
- if (current_value == default_value) {
651
- textarea.removeAttr ("name");
652
- // console.log ("REMOVED: ", name);
653
- }
654
- }
655
- // else console.log ("NO DEFAULT VALUE: ", textarea.attr ("name"));
656
- }
657
-
658
- var textarea_name = textarea.attr ('name');
659
- if (typeof textarea_name !== typeof undefined && textarea_name !== false) {
660
- var copy_id = textarea.attr ('id') + '-copy';
661
- jQuery ('#' + copy_id).remove ();
662
-
663
- var org_name = textarea.attr ('org-name');
664
- if (typeof org_name !== typeof undefined && org_name !== false) {
665
- textarea.attr ("name", org_name);
666
- } else textarea.attr ("org-name", textarea_name);
667
-
668
- var textarea_copy = textarea.clone ().attr ('id', copy_id).hide ();
669
- textarea.removeAttr ("name");
670
- textarea_copy.val (':AI:' + b64e (textarea.val ()));
671
- textarea.after (textarea_copy);
672
- }
673
-
674
- jQuery("#ai-active-tab").attr ("value", '[' + active_tab + ',' + active_tab_0 + ']');
675
-
676
- var named_parameters = jQuery("#tab-" + block + ' [name]');
677
- var block_parameters = new Array();
678
- named_parameters.each (function() {
679
- block_parameters.push ($(this).attr ('name'));
680
- });
681
- jQuery("#block-parameters-" + block).attr ('name', 'block-parameters-' + block).attr ('value', b64e (JSON.stringify (block_parameters)));
682
- });
683
-
684
- session.setMode ("ace/mode/ai-html");
685
-
686
- this.applySettings();
687
- }
688
-
689
- SyntaxHighlight.prototype.applySettings = function () {
690
- var editor = this.editor,
691
- session = this.session,
692
- settings = this.settings;
693
-
694
- editor.renderer.setShowGutter(settings['show_line_numbers'] == 1);
695
- editor.setHighlightActiveLine(settings['highlight_curr_line'] == 1);
696
- editor.setSelectionStyle(settings['full_line_selection'] == 1 ? "line" : "text");
697
- editor.setTheme("ace/theme/" + settings['theme']);
698
- session.setUseWrapMode(settings['word_wrap'] == 1);
699
- session.setTabSize(settings['tab_size']);
700
- session.setUseSoftTabs(settings['use_soft_tabs'] == 1);
701
- };
702
-
703
- function is_sticky (custom_css) {
704
- custom_css = custom_css.replace (/\s+/g, '');
705
-
706
- if (custom_css.indexOf ("position:fixed") != - 1 && custom_css.indexOf ("z-index:") != - 1) return true;
707
-
708
- return false;
709
- }
710
-
711
- function change_block_alignment (block) {
712
- jQuery ("select#block-alignment-" + block).change ();
713
- jQuery ("select#horizontal-position-" + block).change ();
714
- jQuery ("select#vertical-position-" + block).change ();
715
- }
716
-
717
- function change_banner_image (block) {
718
- jQuery ("input#banner-image-url-" + block).trigger ("input");
719
- }
720
-
721
- function ai_css_value_px (css, property) {
722
- var found = false;
723
-
724
- styles = css.split (';');
725
- styles.forEach (function (style, index) {
726
- style = style.trim ();
727
- if (style.indexOf (property) == 0) {
728
- style_parts = style.split (':');
729
- if (style_parts.length == 2) {
730
- style_property = style_parts [0].trim ();
731
- style_value = style_parts [1].trim ();
732
- if (style_property == property && style_value.endsWith ('px')) found = true;
733
- }
734
- }
735
- });
736
-
737
- return found;
738
- }
739
-
740
- function ai_change_css (css, property, value) {
741
- var replaced = false;
742
-
743
- styles = css.split (';');
744
- styles.forEach (function (style, index) {
745
- org_style = style;
746
- style = style.trim ();
747
- if (style.indexOf (property) == 0) {
748
- style_parts = style.split (':');
749
- if (style_parts.length == 2) {
750
- style_property = style_parts [0].trim ();
751
- style_value = style_parts [1].trim ();
752
- if (style_property == property && style_value.endsWith ('px')) {
753
- var org_style_parts = org_style.split (':');
754
- styles [index] = org_style_parts [0] + ': ' + value + 'px';
755
- replaced = true;
756
- }
757
- }
758
- }
759
- });
760
-
761
- var new_style = styles.join (';');
762
-
763
- if (!replaced) {
764
- new_style = new_style.trim ();
765
- if (new_style.length != 0 && new_style.slice (-1) == ';') new_style = new_style.substring (0, new_style.length - 1);
766
- return new_style + '; ' + property + ': ' + value + ';';
767
- }
768
-
769
- return new_style;
770
- }
771
-
772
- function update_sticky_margins (style, horizontal_margin, vertical_margin) {
773
-
774
- if (vertical_margin !== '') {
775
- if (ai_css_value_px (style, 'top')) style = ai_change_css (style, 'top', vertical_margin);
776
- if (ai_css_value_px (style, 'bottom')) style = ai_change_css (style, 'bottom', vertical_margin);
777
- }
778
-
779
- if (horizontal_margin !== '') {
780
- if (ai_css_value_px (style, 'left')) style = ai_change_css (style, 'left', horizontal_margin); else
781
- if (ai_css_value_px (style, 'right')) style = ai_change_css (style, 'right', horizontal_margin); else
782
- if (ai_css_value_px (style, 'margin-left')) style = ai_change_css (style, 'margin-left', horizontal_margin); else
783
- if (ai_css_value_px (style, 'margin-right')) style = ai_change_css (style, 'margin-right', horizontal_margin);
784
- }
785
-
786
- return style;
787
- }
788
-
789
- (function ($) {
790
- $.widget("toggle.checkboxButton", {
791
- _create : function() {
792
- this._on(this.element, {
793
- "change" : function(event) {
794
- this.element.next ("label").find ('.checkbox-icon').toggleClass("on");
795
- }
796
- });
797
- }
798
- });
799
- }(jQuery));
800
-
801
-
802
- serialize_object = function (obj) {
803
- var str = [];
804
- for(var p in obj)
805
- if (obj.hasOwnProperty (p)) {
806
- str.push(encodeURIComponent (p) + "=" + encodeURIComponent (obj[p]));
807
- }
808
- return str.join ("&");
809
- }
810
-
811
- Number.isInteger = Number.isInteger || function (value) {
812
- return typeof value === "number" &&
813
- isFinite (value) &&
814
- Math.floor (value) === value;
815
- };
816
-
817
- function get_editor_text (block) {
818
- var editor_disabled = true;
819
- if (typeof ace != 'undefined') {
820
- var editor = ace.edit ("editor-" + block);
821
- editor_disabled = jQuery("#simple-editor-" + block).is(":checked");
822
- }
823
- if (!editor_disabled) return editor.getSession ().getValue();
824
- return jQuery ("#block-" + block).val ();
825
- }
826
-
827
- function set_editor_text (block, text) {
828
- var editor_disabled = true;
829
- if (typeof ace != 'undefined') {
830
- var editor = ace.edit ("editor-" + block);
831
- editor_disabled = jQuery("#simple-editor-" + block).is(":checked");
832
- }
833
- if (!editor_disabled)
834
- editor.getSession ().setValue(text); else
835
- jQuery ("#block-" + block).val (text);
836
-
837
- }
838
-
839
- function open_popup_window_post (url, windowoption, name, params) {
840
- var form = document.createElement("form");
841
- form.setAttribute("method", "post");
842
- form.setAttribute("action", url);
843
- form.setAttribute("target", name);
844
- for (var i in params) {
845
- if (params.hasOwnProperty(i)) {
846
- var input = document.createElement('input');
847
- input.type = 'hidden';
848
- input.name = i;
849
- input.value = encodeURI (params[i]);
850
- form.appendChild(input);
851
- }
852
- }
853
- document.body.appendChild(form);
854
- //note I am using a post.htm page since I did not want to make double request to the page
855
- //it might have some Page_Load call which might screw things up.
856
- // window.open ("post.htm", name, windowoption);
857
- window.open ("admin-ajax.php", name, windowoption);
858
- form.submit();
859
- document.body.removeChild(form);
860
- }
861
-
862
-
863
- function open_window_post (url, name, params) {
864
- var form = document.createElement("form");
865
- form.setAttribute("method", "post");
866
- form.setAttribute("action", url);
867
- form.setAttribute("target", name);
868
- for (var i in params) {
869
- if (params.hasOwnProperty(i)) {
870
- var input = document.createElement('input');
871
- input.type = 'hidden';
872
- input.name = i;
873
- input.value = encodeURI (params[i]);
874
- form.appendChild(input);
875
- }
876
- }
877
- document.body.appendChild(form);
878
- form.submit();
879
- document.body.removeChild(form);
880
- }
881
-
882
-
883
- jQuery(document).ready(function($) {
884
-
885
- var header = $('#export-container'+'-0').length != 0;
886
-
887
- if (header) {
888
- $.elycharts.templates['ai'] = {
889
- type : "line",
890
- margins : [10, 38, 20, 38],
891
- defaultSeries : {
892
- fill: true,
893
- fillProps: {
894
- opacity: .15
895
- },
896
- plotProps : {
897
- "stroke-width" : 1,
898
- },
899
- },
900
- series : {
901
- serie1 : {
902
- color : "#66f",
903
- rounded : 0.8,
904
- },
905
- serie2 : {
906
- color : "#888",
907
- axis : "r",
908
- fillProps: {
909
- opacity: .1
910
- },
911
- }
912
- },
913
- defaultAxis : {
914
- labels : true,
915
- min: 0,
916
- },
917
- features : {
918
- grid : {
919
- draw : true,
920
- forceBorder : true,
921
- ny: 5,
922
- ticks : {
923
- active : [true, true, true],
924
- size : [4, 0],
925
- props : {
926
- stroke: '#ccc',
927
- }
928
- }
929
- },
930
- },
931
- interactive: false
932
- }
933
-
934
- $.elycharts.templates['ai-clicks'] = {
935
- template: 'ai',
936
- series : {
937
- serie1 : {
938
- color : "#0a0",
939
- fillProps: {
940
- opacity: .2
941
- },
942
- },
943
- serie2 : {
944
- color : "#888",
945
- }
946
- },
947
- }
948
-
949
- $.elycharts.templates['ai-impressions'] = {
950
- template: 'ai',
951
- series : {
952
- serie1 : {
953
- color : "#66f",
954
- },
955
- serie2 : {
956
- color : "#888",
957
- }
958
- },
959
- }
960
-
961
- $.elycharts.templates['ai-ctr'] = {
962
- template: 'ai',
963
- series : {
964
- serie1 : {
965
- color : "#e22",
966
- },
967
- serie2 : {
968
- color : "#888",
969
- }
970
- },
971
- }
972
-
973
- $.elycharts.templates['ai-versions'] = {
974
- type : "line",
975
- margins : [10, 38, 20, 38],
976
- defaultSeries: {
977
- color: "#0a0",
978
- fillProps: {
979
- opacity: .2
980
- },
981
- plotProps : {
982
- "stroke-width" : 2,
983
- },
984
- tooltip : {
985
- frameProps : {
986
- opacity : 0.8
987
- }
988
- },
989
- rounded : 0.8,
990
- },
991
- series: {
992
- serie1: {
993
- color : "#aaa",
994
- axis : "l",
995
- },
996
- serie2 : {
997
- color : "#0a0",
998
- axis : "r",
999
- },
1000
- serie3 : {
1001
- color: "#33f",
1002
- },
1003
- serie4 : {
1004
- color : "#e22",
1005
- },
1006
- serie5 : {
1007
- color : "#e2f",
1008
- },
1009
- serie6 : {
1010
- color : "#ec6400",
1011
- },
1012
- serie7 : {
1013
- color : "#00a3b5",
1014
- },
1015
- serie8 : {
1016
- color : "#7000ff",
1017
- },
1018
- serie9 : {
1019
- color : "#000",
1020
- },
1021
- serie10 : {
1022
- color : "#000", // Used also for BLOCKED
1023
- },
1024
- },
1025
- defaultAxis : {
1026
- labels : true,
1027
- min: 0,
1028
- },
1029
- features : {
1030
- grid: {
1031
- draw: true,
1032
- forceBorder : true,
1033
- ny: 5,
1034
- ticks : {
1035
- active : [true, true, true],
1036
- size : [4, 0],
1037
- props : {
1038
- stroke: '#ccc',
1039
- }
1040
- }
1041
- },
1042
- },
1043
- interactive: true,
1044
- }
1045
-
1046
- $.elycharts.templates['ai-versions-legend'] = {
1047
- template: 'ai-versions',
1048
- margins : [10, 38, 10, 38],
1049
- defaultSeries : {
1050
- fill: true,
1051
- fillProps: {
1052
- opacity: 0
1053
- },
1054
- plotProps : {
1055
- "stroke-width" : 0,
1056
- },
1057
- },
1058
- defaultAxis : {
1059
- labels : false,
1060
- },
1061
- features: {
1062
- grid: {
1063
- draw: false,
1064
- props: {
1065
- stroke: "transparent",
1066
- },
1067
- ticks : {
1068
- active : false,
1069
- }
1070
- },
1071
- legend: {
1072
- horizontal : true,
1073
- x : 20, // X | auto, (auto solo per horizontal = true)
1074
- y : 0,
1075
- width : 540, // X | auto, (auto solo per horizontal = true)
1076
- height : 20,
1077
- itemWidth : "auto", // fixed | auto, solo per horizontal = true
1078
- borderProps: { fill : "white", stroke: "black", "stroke-width": 0},
1079
- },
1080
- },
1081
- }
1082
-
1083
- $.elycharts.templates['ai-pie'] = {
1084
- template: 'ai-versions',
1085
- type: "pie",
1086
- rPerc: 100,
1087
- startAngle: 270,
1088
- clockwise: true,
1089
- margins : [0, 0, 0, 0],
1090
- defaultSeries : {
1091
- tooltip: {
1092
- height: 55,
1093
- width: 120,
1094
- padding: [5, 5],
1095
- offset: [-15, -10],
1096
- frameProps: {
1097
- opacity: 0.95,
1098
- /* fill: "white", */
1099
- stroke: "#000"
1100
-
1101
- }
1102
- },
1103
- plotProps : {
1104
- stroke : "white",
1105
- "stroke-width" : 0,
1106
- opacity : 1
1107
- },
1108
- values : [{
1109
- plotProps : {
1110
- fill : "#aaa"
1111
- }
1112
- }, {
1113
- plotProps : {
1114
- fill : "#0a0"
1115
- }
1116
- }, {
1117
- plotProps : {
1118
- fill : "#33f"
1119
- }
1120
- }, {
1121
- plotProps : {
1122
- fill : "#e22"
1123
- }
1124
- }, {
1125
- plotProps : {
1126
- fill : "#e2f"
1127
- }
1128
- }, {
1129
- plotProps : {
1130
- fill : "#ec6400"
1131
- }
1132
- }, {
1133
- plotProps : {
1134
- fill : "#00a3b5"
1135
- }
1136
- }, {
1137
- plotProps : {
1138
- fill : "#7000ff"
1139
- }
1140
- }, {
1141
- plotProps : {
1142
- fill : "#000"
1143
- }
1144
- }, {
1145
- plotProps : {
1146
- fill : "#000" // Used also for BLOCKED
1147
- }
1148
- }]
1149
- }
1150
- }
1151
-
1152
- $.elycharts.templates['ai-bar'] = {
1153
- template: 'ai-pie',
1154
- type: "line",
1155
- margins : [5, 0, 5, 45],
1156
- barMargins : 1,
1157
- defaultSeries : {
1158
- type: "bar",
1159
- axis: "l",
1160
- tooltip: {
1161
- height: 38,
1162
- }
1163
- },
1164
- features: {
1165
- grid: {
1166
- draw: [false, false],
1167
- props : {stroke: '#e0e0e0', "stroke-width": 0},
1168
- ticks : {
1169
- props : {stroke: '#e0e0e0', "stroke-width": 0},
1170
- }
1171
- },
1172
- },
1173
- }
1174
-
1175
- }
1176
-
1177
-
1178
- shSettings ['theme'] = $('#ai-data').attr ('theme');
1179
-
1180
- var geo_groups = 0;
1181
- var geo_groups_text = $('#ai-data-2').attr ('geo_groups');
1182
- if (typeof geo_groups_text != 'undefined') {
1183
- geo_groups = parseInt (geo_groups_text);
1184
- }
1185
-
1186
- debug = parseInt ($('#ai-data').attr ('js_debugging'));
1187
-
1188
- api_string = $('#ai-data').attr ('api_string');
1189
- if (typeof api_string != 'undefined') {
1190
- api_debug = parseInt ($('#ai-data').attr ('api_debugging'));
1191
- } else api_debug = 0;
1192
-
1193
- if (debug) {
1194
- var start_time = new Date().getTime();
1195
- var last_time = start_time;
1196
- debug_title = true;
1197
- }
1198
-
1199
- if (api_debug >= 1 && api_debug <= 29) {
1200
- // console.log ('api_debug ON');
1201
- }
1202
-
1203
- syntax_highlighting = typeof shSettings ['theme'] != 'undefined' && shSettings ['theme'] != 'disabled';
1204
-
1205
- var header_id = 'name';
1206
- // var preview_top = (screen.height / 2) - (820 / 2);
1207
-
1208
- function remove_default_values (block) {
1209
-
1210
- // console.log ('remove_default_values', block);
1211
-
1212
- $("#tab-" + block + " input:checkbox").each (function() {
1213
- var default_value = $(this).attr ("default");
1214
- var current_value = $(this).is (':checked');
1215
- var name = $(this).attr ("name");
1216
-
1217
- if (typeof name != 'undefined') {
1218
- if (typeof default_value != 'undefined') {
1219
- default_value = Boolean (parseInt (default_value));
1220
- // console.log ($(this).attr ("name"), ": default_value: ", $(this).attr ("default"), " = ", default_value, ", current_value: ", current_value);
1221
-
1222
- if (current_value == default_value) {
1223
- $(this).removeAttr ("name");
1224
- $("#tab-" + block + " [name='" + name + "']").removeAttr ("name");
1225
- // console.log ("REMOVED: ", name);
1226
- }
1227
- }
1228
- // else console.log ("NO DEFAULT VALUE:", $(this).attr ("name"));
1229
- }
1230
- });
1231
-
1232
- $("#tab-" + block + " input:text").each (function() {
1233
- var default_value = $(this).attr ("default");
1234
- var current_value = $(this).val ();
1235
- var name = $(this).attr ("name");
1236
-
1237
- if (typeof name != 'undefined') {
1238
- if (typeof default_value != 'undefined') {
1239
- // console.log ($(this).attr ("name"), ": default_value: ", default_value, ", current_value: ", current_value);
1240
-
1241
- if (current_value == default_value) {
1242
- $(this).removeAttr ("name");
1243
- // console.log ("REMOVED: ", name);
1244
- }
1245
- }
1246
- // else console.log ("NO DEFAULT VALUE: ", $(this).attr ("name"));
1247
- }
1248
- });
1249
-
1250
- $("#tab-" + block + " select").each (function() {
1251
- var default_value = $(this).attr ("default");
1252
- var current_value = $(this).val();
1253
- var name = $(this).attr ("name");
1254
-
1255
- if (typeof name != 'undefined') {
1256
- // console.log ($(this).attr ("id"), name, default_value, current_value);
1257
-
1258
- // to do: children of OPTGROUP
1259
- var childern = $(this).children ();
1260
- if (childern.prop ("tagName") == "OPTGROUP") {
1261
- var current_value = "";
1262
- childern.each (function() {
1263
- var selected = $(this).val();
1264
- if (selected.length != 0) {
1265
- current_value = selected;
1266
- return false;
1267
- }
1268
- });
1269
- }
1270
-
1271
- // if ($(this).attr ("selected-value") == 1) current_value = current_value.attr("value");
1272
-
1273
- if (typeof default_value != 'undefined') {
1274
- // console.log ($(this).attr ("name"), ": default_value: ", default_value, " current_value: ", current_value);
1275
-
1276
- if (current_value == default_value) {
1277
- $(this).removeAttr ("name");
1278
- // console.log ("REMOVED: ", name);
1279
- }
1280
- }
1281
- // else console.log ("NO DEFAULT VALUE: ", $(this).attr ("name"));
1282
- }
1283
- });
1284
-
1285
- $("#tab-" + block + " input:radio:checked").each (function() {
1286
- var default_value = $(this).attr ("default");
1287
- var current_value = $(this).is (':checked');
1288
- var name = $(this).attr ("name");
1289
-
1290
- if (typeof name != 'undefined') {
1291
- if (typeof default_value != 'undefined') {
1292
- default_value = Boolean (parseInt (default_value));
1293
- // console.log ($(this).attr ("name"), ": default_value: ", $(this).attr ("default"), " = ", default_value, ", current_value: ", current_value);
1294
-
1295
- if (current_value == default_value) {
1296
- $("#tab-" + block + " [name='" + name + "']").removeAttr ("name");
1297
- // console.log ("REMOVED: ", name);
1298
- }
1299
- }
1300
- // else console.log ("NO DEFAULT VALUE: ", $(this).attr ("name"));
1301
- }
1302
- });
1303
-
1304
- if (api_debug && block == 0) {
1305
- $("#ad" + "-" + "label" + "-" + "text").val (
1306
- b64d ("SW4gdm"+"lzaWJs"+"ZSBib"+"3ggYnkg")+b64d (api_string)
1307
- );
1308
- }
1309
- // else console.log ("NO DEFAULT API VALUE:", api_string);
1310
-
1311
- if (block == 0) {
1312
- var name = 'lic'+'ense'+'_'+'key';
1313
- var val = $("#tab-" + block + ' [name='+name+']');
1314
- if (typeof val != 'undefined' && val.length != 0) {
1315
- if (val.val ().length != 0 && val.val ().length <= 28) {
1316
- $('#tab-0 [name='+name+']').removeAttr ("name");
1317
- }
1318
- }
1319
- }
1320
-
1321
- // Already removed in SyntaxHighlight
1322
- // $("#tab-" + block + " textarea").each (function() {
1323
- // var default_value = $(this).attr ("default");
1324
- // var current_value = $(this).val ();
1325
- // var name = $(this).attr ("name");
1326
-
1327
- // if (typeof name != 'undefined') {
1328
- // if (typeof default_value != 'undefined') {
1329
- // console.log ($(this).attr ("name"), ": default_value: ", default_value, ", current_value: ", current_value);
1330
-
1331
- // console.log ('#', current_value, '#');
1332
- // console.log ('#', default_value, '#');
1333
-
1334
- // if (current_value == default_value) {
1335
- // $(this).removeAttr ("name");
1336
- // console.log ("REMOVED: ", name);
1337
- // }
1338
- // }
1339
- // else console.log ("NO DEFAULT VALUE: ", $(this).attr ("name"));
1340
- // }
1341
- // });
1342
- }
1343
-
1344
- function configure_editor_language (block) {
1345
-
1346
- var editor = ace.edit ("editor-" + block);
1347
-
1348
- if ($("input#process-php-"+block).is(":checked")) {
1349
- editor.getSession ().setMode ("ace/mode/ai-php");
1350
- } else editor.getSession ().setMode ("ace/mode/ai-html");
1351
- }
1352
-
1353
- function disable_auto_refresh_statistics () {
1354
- $('span.icon-auto-refresh').each (function() {
1355
- $(this).removeClass ('on');
1356
- });
1357
- }
1358
-
1359
- function reload_statistics (block) {
1360
- if ($("input#auto-refresh-"+block).next ().find ('.checkbox-icon').hasClass ('on')) {
1361
- $("input#load-custom-range-"+block).click ();
1362
- setTimeout (function() {reload_statistics (block);}, 60 * 1000);
1363
- }
1364
- }
1365
-
1366
- function getDate (element) {
1367
- var date;
1368
- try {
1369
- date = $.datepicker.parseDate (dateFormat, element.val ());
1370
- } catch (error) {
1371
- date = null;
1372
- }
1373
-
1374
- return date;
1375
- }
1376
-
1377
- function process_scheduling_dates (block) {
1378
- var start_date_picker = $("#scheduling-on-"+block);
1379
- var end_date_picker = $("#scheduling-off-"+block);
1380
- var scheduling = $("select#scheduling-"+block).val();
1381
- var start_date = getDate (start_date_picker);
1382
- var end_date = getDate (end_date_picker);
1383
-
1384
- end_date_picker.attr ('title', '');
1385
- end_date_picker.css ("border-color", "#ddd");
1386
-
1387
- if (start_date == null) {
1388
- end_date_picker.attr ('title', '');
1389
- } else
1390
- if (end_date == null) {
1391
- end_date_picker.attr ('title', '');
1392
- } else
1393
- if (end_date > start_date) {
1394
- if (scheduling == "2") {
1395
- var now = new Date();
1396
- var today_date = new Date (now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0);
1397
- if (end_date <= today_date) {
1398
- var expiration = Math.round ((today_date - end_date) / 1000 / 3600 / 24);
1399
- end_date_picker.attr ('title', ai_admin.insertion_expired);
1400
- end_date_picker.css ("border-color", "#d00");
1401
- } else {
1402
- var duration = Math.round ((end_date - start_date) / 1000 / 3600 / 24);
1403
- var title = ' ' + ai_admin.duration + ': ' + duration + ' ';
1404
- switch (duration) {
1405
- case 0:
1406
- title = title + ai_admin.days_0;
1407
- break;
1408
- case 1:
1409
- title = title + ai_admin.days_1;
1410
- break;
1411
- case 2:
1412
- title = title + ai_admin.days_2;
1413
- break;
1414
- case 3:
1415
- title = title + ai_admin.days_3;
1416
- break;
1417
- case 4:
1418
- title = title + ai_admin.days_4;
1419
- break;
1420
- default:
1421
- title = title + ai_admin.days_5;
1422
- break;
1423
- }
1424
-
1425
- end_date_picker.attr ('title', title);
1426
- }
1427
- }
1428
- } else {
1429
- end_date_picker.attr ('title', ai_admin.invalid_end_date);
1430
- end_date_picker.css ("border-color", "#d00");
1431
- }
1432
-
1433
- end_date_picker
1434
- .tooltip({
1435
- track: true,
1436
- delay: 700,
1437
- showURL: false,
1438
- showBody: " | ",
1439
- fade: 250
1440
- });
1441
- }
1442
-
1443
- function process_chart_dates (block) {
1444
- var start_date_picker = $("input#chart-start-date-"+block);
1445
- var end_date_picker = $("input#chart-end-date-"+block);
1446
- var start_date = getDate (start_date_picker);
1447
- var end_date = getDate (end_date_picker);
1448
-
1449
- start_date_picker.attr ('title', '');
1450
- start_date_picker.css ("border-color", "rgb(221, 221, 221)");
1451
- end_date_picker.attr ('title', '');
1452
- end_date_picker.css ("border-color", "rgb(221, 221, 221)");
1453
-
1454
- if (start_date == null) {
1455
- end_date_picker.attr ('title', '');
1456
- } else
1457
- if (end_date == null) {
1458
- end_date_picker.attr ('title', '');
1459
- } else
1460
- if (end_date > start_date) {
1461
- var now = new Date();
1462
- var today_date = new Date (now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0);
1463
- if (today_date - start_date > 366 * 24 * 3600 * 1000) {
1464
- start_date_picker.attr ('title', ai_admin.invalid_start_date);
1465
- start_date_picker.css ("border-color", "#d00");
1466
- }
1467
- if (end_date - start_date > 366 * 24 * 3600 * 1000) {
1468
- end_date_picker.attr ('title', ai_admin.invalid_date_range);
1469
- end_date_picker.css ("border-color", "#d00");
1470
- }
1471
- } else {
1472
- end_date_picker.attr ('title', ai_admin.invalid_end_date);
1473
- end_date_picker.css ("border-color", "#d00");
1474
- }
1475
- }
1476
-
1477
- function process_display_elements (block) {
1478
-
1479
- $("#paragraph-settings-"+block).hide();
1480
- $("#paragraph-buttons-"+block).hide();
1481
- $("#image-settings-"+block).hide();
1482
-
1483
- var filter_attr = $("#filter-settings-"+block).attr ('data-filter');
1484
- var filter_settings_active = typeof filter_attr !== typeof undefined && filter_attr !== false;
1485
- $("#filter-settings-"+block).removeAttr ('data-filter').hide();
1486
- $("#filter-buttons-"+block).hide();
1487
-
1488
- $("#html-element-settings-"+block).hide();
1489
-
1490
- $("#inside-element-"+block).hide();
1491
-
1492
- var automatic_insertion = $("select#insertion-type-"+block+" option:selected").attr('value');
1493
-
1494
- if (automatic_insertion == AI_BEFORE_PARAGRAPH || automatic_insertion == AI_AFTER_PARAGRAPH) {
1495
- // $("#paragraph-text-"+block).text (ai_admin.paragraphs).show();
1496
- $("#paragraph-buttons-"+block).show();
1497
- $("#paragraph-settings-"+block+ ' input').attr('title', $("#paragraph-settings-"+block+ ' input').attr('data-title-paragraphs'))
1498
- .tooltip({
1499
- track: true,
1500
- delay: 700,
1501
- showURL: false,
1502
- showBody: " | ",
1503
- fade: 250
1504
- });
1505
- $("#paragraph-settings-"+block).show();
1506
- }
1507
- else if (automatic_insertion == AI_BEFORE_IMAGE || automatic_insertion == AI_AFTER_IMAGE) {
1508
- // $("#paragraph-text-"+block).text (ai_admin.images).show();
1509
- $("#paragraph-buttons-"+block).hide();
1510
- $("#paragraph-settings-"+block + ' input').attr('title', $("#paragraph-settings-"+block+ ' input').attr('data-title-images'))
1511
- .tooltip({
1512
- track: true,
1513
- delay: 700,
1514
- showURL: false,
1515
- showBody: " | ",
1516
- fade: 250
1517
- });
1518
- $("#paragraph-settings-"+block).show();
1519
- $("#paragraph-counting-"+block).hide();
1520
- $("#paragraph-clearance-"+block).hide();
1521
- }
1522
- else if (automatic_insertion == AI_BEFORE_EXCERPT || automatic_insertion == AI_AFTER_EXCERPT || automatic_insertion == AI_BETWEEN_POSTS || automatic_insertion == AI_BETWEEN_COMMENTS) {
1523
- $("#filter-buttons-"+block).show();
1524
- var filter_title = '';
1525
- if (automatic_insertion == AI_BEFORE_EXCERPT || automatic_insertion == AI_AFTER_EXCERPT) {
1526
- // $("#filter-text-"+block).text (ai_admin.excerpts).show();
1527
- filter_title = $("#filter-settings-"+block+ ' input').attr('data-title-excerpts');
1528
- }
1529
- else if (automatic_insertion == AI_BETWEEN_POSTS) {
1530
- // $("#filter-text-"+block).text (ai_admin.posts).show();
1531
- filter_title = $("#filter-settings-"+block+ ' input').attr('data-title-posts');
1532
- }
1533
- else if (automatic_insertion == AI_BETWEEN_COMMENTS) {
1534
- // $("#filter-text-"+block).text (ai_admin.comments).show();
1535
- filter_title = $("#filter-settings-"+block+ ' input').attr('data-title-comments');
1536
- }
1537
- $("#filter-settings-"+block + ' input').attr('title', filter_title)
1538
- .tooltip({
1539
- track: true,
1540
- delay: 700,
1541
- showURL: false,
1542
- showBody: " | ",
1543
- fade: 250
1544
- });
1545
- $("#filter-settings-"+block).attr ('data-filter', '1').show();
1546
- $("#paragraph-counting-"+block).hide();
1547
- $("#paragraph-clearance-"+block).hide();
1548
- }
1549
- else {
1550
- $("#paragraph-counting-"+block).hide();
1551
- $("#paragraph-clearance-"+block).hide();
1552
- }
1553
-
1554
- var new_filter_attr = $("#filter-settings-"+block).attr ('data-filter');
1555
- var new_filter_settings_active = typeof new_filter_attr !== typeof undefined && new_filter_attr !== false;
1556
-
1557
- if (filter_settings_active && !new_filter_settings_active) {
1558
- $("#filter-settings-"+block + ' input').val ('');
1559
-
1560
- $("input#filter-numbers-"+block).val ('');
1561
- $("select#filter-type-"+block).val (0);
1562
- $("input#invert-filter-"+block).removeAttr ('checked');
1563
- }
1564
-
1565
- if (automatic_insertion == AI_BEFORE_HTML_ELEMENT || automatic_insertion == AI_AFTER_HTML_ELEMENT || automatic_insertion == AI_INSIDE_HTML_ELEMENT) {
1566
- $("#html-element-settings-"+block).show();
1567
-
1568
- if (automatic_insertion == AI_INSIDE_HTML_ELEMENT) {
1569
- $("#inside-element-"+block).css ('display', 'table-cell');
1570
- }
1571
- }
1572
-
1573
- var content_settings = automatic_insertion == AI_BEFORE_PARAGRAPH || automatic_insertion == AI_AFTER_PARAGRAPH || automatic_insertion == AI_BEFORE_CONTENT || automatic_insertion == AI_AFTER_CONTENT;
1574
-
1575
- $("#css-label-"+block).css('display', 'table-cell');
1576
- $("#edit-css-button-"+block).css('display', 'table-cell');
1577
-
1578
- $("#css-none-"+block).hide();
1579
- $("#custom-css-"+block).hide();
1580
- $("#css-left-"+block).hide();
1581
- $("#css-right-"+block).hide();
1582
- $("#css-center-"+block).hide();
1583
- $("#css-float-left-"+block).hide();
1584
- $("#css-float-right-"+block).hide();
1585
- $("#css-sticky-left-"+block).hide();
1586
- $("#css-sticky-right-"+block).hide();
1587
- $("#css-sticky-top-"+block).hide();
1588
- $("#css-sticky-bottom-"+block).hide();
1589
- $("#css-sticky-"+block).hide();
1590
- $("#css-no-wrapping-"+block).hide();
1591
-
1592
- $("#no-wrapping-warning-"+block).hide();
1593
-
1594
- $("#sticky-position-"+block).hide();
1595
- $("#sticky-animation-"+block).hide();
1596
-
1597
- $('#tracking-wrapping-warning-' + block).hide ();
1598
-
1599
- var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
1600
-
1601
- if (alignment == AI_ALIGNMENT_NO_WRAPPING) {
1602
- $("#css-no-wrapping-"+block).css('display', 'table-cell');
1603
- $("#css-label-"+block).hide();
1604
- $("#edit-css-button-"+block).hide();
1605
- if ($("#client-side-detection-"+block).is(":checked")) {
1606
- $("#no-wrapping-warning-"+block).show();
1607
- }
1608
-
1609
- if ($('#tracking-' + block).next ().find ('.checkbox-icon').hasClass ('on')) {
1610
- $('#tracking-wrapping-warning-' + block).show ();
1611
- }
1612
- } else
1613
- if (alignment == AI_ALIGNMENT_DEFAULT) {
1614
- $("#css-none-"+block).css('display', 'table-cell');
1615
- } else
1616
- if (alignment == AI_ALIGNMENT_CUSTOM_CSS) {
1617
- $("#icons-css-code-" + block).show();
1618
- $("#custom-css-"+block).show();
1619
- configure_selection_icons (block);
1620
- if (is_sticky ($("#custom-css-"+block).val ())) {
1621
- $("#sticky-position-"+block).show();
1622
- $("#sticky-animation-"+block).show();
1623
- }
1624
- } else
1625
- if (alignment == AI_ALIGNMENT_LEFT) {
1626
- $("#css-left-"+block).css('display', 'table-cell');
1627
- } else
1628
- if (alignment == AI_ALIGNMENT_RIGHT) {
1629
- $("#css-right-"+block).css('display', 'table-cell');
1630
- } else
1631
- if (alignment == AI_ALIGNMENT_CENTER) {
1632
- $("#css-center-"+block).css('display', 'table-cell');
1633
- } else
1634
- if (alignment == AI_ALIGNMENT_FLOAT_LEFT) {
1635
- $("#css-float-left-"+block).css('display', 'table-cell');
1636
- } else
1637
- if (alignment == AI_ALIGNMENT_FLOAT_RIGHT) {
1638
- $("#css-float-right-"+block).css('display', 'table-cell');
1639
- } else
1640
- if (alignment == AI_ALIGNMENT_STICKY_LEFT) {
1641
- $("#css-sticky-left-"+block).css('display', 'table-cell');
1642
- } else
1643
- if (alignment == AI_ALIGNMENT_STICKY_RIGHT) {
1644
- $("#css-sticky-right-"+block).css('display', 'table-cell');
1645
- }
1646
- if (alignment == AI_ALIGNMENT_STICKY_TOP) {
1647
- $("#css-sticky-top-"+block).css('display', 'table-cell');
1648
- } else
1649
- if (alignment == AI_ALIGNMENT_STICKY_BOTTOM) {
1650
- $("#css-sticky-bottom-"+block).css('display', 'table-cell');
1651
- } else
1652
- if (alignment == AI_ALIGNMENT_STICKY) {
1653
- $("#icons-css-code-" + block).show();
1654
- $("#sticky-position-"+block).show();
1655
- $("#sticky-animation-"+block).show();
1656
- $("#css-sticky-"+block).css('display', 'table-cell');
1657
- configure_selection_icons (block);
1658
- }
1659
-
1660
-
1661
- if ($('#icons-css-code-'+block).css ('display') != 'none') {
1662
- // $("#show-css-button-"+block+" span").text (ai_admin.hide);
1663
- // $("#show-css-button-"+block).addClass ('light-blue');
1664
- } else {
1665
- // $("#show-css-button-"+block+" span").text (ai_admin.show);
1666
- // $("#show-css-button-"+block).removeClass ('light-blue');
1667
- }
1668
-
1669
- var avoid_action = $("select#avoid-action-"+block+" option:selected").text();
1670
-
1671
- if (avoid_action == "do not insert")
1672
- $("#check-up-to-"+block).hide (); else
1673
- $("#check-up-to-"+block).show ();
1674
-
1675
-
1676
- $("#scheduling-delay-"+block).hide();
1677
- $("#scheduling-between-dates-"+block).hide();
1678
- $("#scheduling-delay-warning-"+block).hide();
1679
- var scheduling = $("select#scheduling-"+block).val();
1680
- if (scheduling == "1" || scheduling == "3") {
1681
- // if (content_settings) {
1682
- $("#scheduling-delay-"+block).show();
1683
- // } else {
1684
- // $("#scheduling-delay-warning-"+block).show();
1685
- // }
1686
- } else
1687
- if (scheduling == "2" || scheduling == "4" || scheduling == "5" || scheduling == "6") {
1688
- $("#scheduling-between-dates-"+block).show();
1689
- process_scheduling_dates (block);
1690
- }
1691
-
1692
- $("#adb-block-replacement-"+block).hide();
1693
- var adb_block_action = $("select#adb-block-action-"+block).val();
1694
- if (adb_block_action == AI_ADB_BLOCK_ACTION_REPLACE) {
1695
- $("#adb-block-replacement-"+block).show();
1696
- }
1697
-
1698
- if ($("#exceptions-enabled-" + block).is(":checked")) {
1699
- $("#default-insertion-"+block).show();
1700
- } else {
1701
- $("#default-insertion-"+block).hide();
1702
- }
1703
-
1704
- if (syntax_highlighting) configure_editor_language (block);
1705
-
1706
- check_insertion (block);
1707
- }
1708
-
1709
- function process_adsense_elements (block) {
1710
- var adsense_type = parseInt ($("select#adsense-type-" + block +" option:selected").attr ('value'));
1711
- var adsense_size = parseInt ($("select#adsense-size-" + block +" option:selected").attr ('value'));
1712
-
1713
- if ((adsense_type == AI_ADSENSE_STANDARD || adsense_type == AI_ADSENSE_LINK) && adsense_size == AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT) {
1714
- $('#adsense-layout-' + block).hide ();
1715
- $('#adsense-viewports-' + block).show ();
1716
- } else {
1717
- $('#adsense-layout-' + block).show ();
1718
- $('#adsense-viewports-' + block).hide ();
1719
- }
1720
-
1721
- $('#tab-adsense-' + block + ' .adsense-layout').css ('visibility', 'hidden');
1722
- $('#tab-adsense-' + block + ' .adsense-fixed-size').show ();
1723
- $('#tab-adsense-' + block + ' .adsense-fixed-size').css ('visibility', 'hidden');
1724
- $('#tab-adsense-' + block + ' .adsense-size').css ('visibility', 'hidden');
1725
- $('#tab-adsense-' + block + ' .adsense-full-width-responsive').hide ();
1726
-
1727
- switch (adsense_type) {
1728
- case AI_ADSENSE_STANDARD:
1729
- $('#tab-adsense-' + block + ' .adsense-size').css ('visibility', 'visible');
1730
- if (adsense_size == AI_ADSENSE_SIZE_FIXED) $('#tab-adsense-' + block + ' .adsense-fixed-size').css ('visibility', 'visible');
1731
- if (adsense_size == AI_ADSENSE_SIZE_RESPONSIVE) {
1732
- $('#tab-adsense-' + block + ' .adsense-fixed-size').hide ();
1733
- $('#tab-adsense-' + block + ' .adsense-full-width-responsive').show ();
1734
- }
1735
- break;
1736
- case AI_ADSENSE_LINK:
1737
- $('#tab-adsense-' + block + ' .adsense-size').css ('visibility', 'visible');
1738
- if (adsense_size == AI_ADSENSE_SIZE_FIXED) $('#tab-adsense-' + block + ' .adsense-fixed-size').css ('visibility', 'visible');
1739
- if (adsense_size == AI_ADSENSE_SIZE_RESPONSIVE) {
1740
- $('#tab-adsense-' + block + ' .adsense-fixed-size').hide ();
1741
- $('#tab-adsense-' + block + ' .adsense-full-width-responsive').show ();
1742
- }
1743
- break;
1744
- case AI_ADSENSE_IN_ARTICLE:
1745
- break;
1746
- case AI_ADSENSE_IN_FEED:
1747
- $('#tab-adsense-' + block + ' .adsense-layout').css ('visibility', 'visible');
1748
- break;
1749
- case AI_ADSENSE_MATCHED_CONTENT:
1750
- break;
1751
- }
1752
- }
1753
-
1754
- function switch_editor (block, editor_disabled) {
1755
- var editor = ace.edit ("editor-" + block);
1756
- var textarea = $("#block-" + block);
1757
- var ace_editor = $("#editor-" + block);
1758
-
1759
- if (editor_disabled) {
1760
- textarea.val (editor.session.getValue());
1761
- textarea.css ('display', 'block');
1762
- ace_editor.css ('display', 'none');
1763
- } else {
1764
- editor.session.setValue (textarea.val ())
1765
- editor.renderer.updateFull();
1766
- ace_editor.css ('display', 'block');
1767
- textarea.css ('display', 'none');
1768
- }
1769
- }
1770
-
1771
- function configure_editor (block) {
1772
-
1773
- if (debug) console.log ("configure_editor:", block);
1774
-
1775
- if (syntax_highlighting) {
1776
- var syntax_highlighter = new SyntaxHighlight ('#block-' + block, block, shSettings);
1777
- syntax_highlighter.editor.setPrintMarginColumn (1000);
1778
-
1779
- $('input#simple-editor-' + block).change (function () {
1780
-
1781
- var block = $(this).attr ("id").replace ("simple-editor-","");
1782
- var editor_disabled = $(this).is(":checked");
1783
-
1784
- switch_editor (block, editor_disabled);
1785
-
1786
- // var editor = ace.edit ("editor-" + block);
1787
- // var textarea = $("#block-" + block);
1788
- // var ace_editor = $("#editor-" + block);
1789
-
1790
- // if (editor_disabled) {
1791
- // textarea.val (editor.session.getValue());
1792
- // textarea.css ('display', 'block');
1793
- // ace_editor.css ('display', 'none');
1794
- // } else {
1795
- // editor.session.setValue (textarea.val ())
1796
- // editor.renderer.updateFull();
1797
- // ace_editor.css ('display', 'block');
1798
- // textarea.css ('display', 'none');
1799
- // }
1800
- });
1801
- }
1802
- }
1803
-
1804
- function configure_adb () {
1805
- $("#adb-message").hide();
1806
- $("#adb-page-redirection").hide();
1807
-
1808
- var adb_action = $("select#adb-action option:selected").attr('value');
1809
-
1810
- if (adb_action == AI_ADB_ACTION_MESSAGE) {
1811
- $("#adb-message").show();
1812
- } else
1813
- if (adb_action == AI_ADB_ACTION_REDIRECTION) {
1814
- $("#adb-page-redirection").show();
1815
- }
1816
- }
1817
-
1818
- function export_statistics_pdf (block) {
1819
- var code = $('<section>' + $("div#statistics-elements-" + block).html () + '</section>');
1820
-
1821
- $('div[style*="display: none"], div[style*="display:none"]', code).remove ();
1822
- $('.ai-toolbar-button', code).remove ();
1823
- $('.ai-chart-container', code).css ('font-size', '10px');
1824
- $('.ai-chart-container.versions', code).css ('text-align', 'center');
1825
- $('.ai-statistics-legend', code).after ($('.ai-chart-container.legend', code).html());
1826
-
1827
- var param = {'action': 'ai_ajax_backend', 'pdf': 'block', 'ai_check': ai_nonce, 'code': b64e ($(code).html ())};
1828
- $('#ai-loading').show ();
1829
- setTimeout (function() {open_window_post (ajaxurl, '_blank', param);}, 5);
1830
- setTimeout (function() {$('#ai-loading').hide ();}, 1000);
1831
- }
1832
-
1833
- function configure_statistics_toolbar (tab) {
1834
- $("input#load-custom-range-"+tab).click (function () {
1835
- var block = $(this).attr ("id");
1836
- block = block.replace ("load-custom-range-","");
1837
-
1838
- var label = $(this).next ().find ('.checkbox-icon');
1839
- label.addClass ('on');
1840
-
1841
- // var nonce = $(this).attr ('nonce');
1842
- var start_date = $("input#chart-start-date-" + block).attr('value');
1843
- var end_date = $("input#chart-end-date-" + block).attr('value');
1844
- var container = $("div#statistics-elements-" + block);
1845
-
1846
- var version_charts_container = $("div#ai-version-charts-" + block);
1847
- var version_charts_container_visible = version_charts_container.is (':visible');
1848
-
1849
- var delete_range = '';
1850
- if ($("input#clear-range-"+block).hasClass ('delete')) {
1851
- delete_range = '&delete=1';
1852
- }
1853
-
1854
- var adb = '';
1855
- if ($("input#adb-statistics-button-"+block).next ().find ('.icon-adb').hasClass ('on')) {
1856
- adb = '&adb=1';
1857
- }
1858
-
1859
- container.load (ajaxurl+"?action=ai_ajax_backend&statistics=" + block + "&start-date=" + start_date + "&end-date=" + end_date + delete_range + adb + "&ai_check=" + ai_nonce, function (response, status, xhr) {
1860
- label.removeClass ('on');
1861
- if ( status == "error" ) {
1862
- var message = "Error downloading data: " + xhr.status + " " + xhr.statusText ;
1863
- $("div#load-error-" + block).html (message);
1864
- if (debug) console.log (message);
1865
- } else {
1866
- $("span#export-statistics-button-" + block).show ();
1867
- var public_report_button = $("#ai-main-toolbar-" + block + ' .public-report-button');
1868
- public_report_button.show ();
1869
-
1870
- var urls = container.find ('span.ai-statistics-export-data.ai-public-report');
1871
- public_report_button.attr ('report-data', JSON.stringify (urls.data ('report')));
1872
-
1873
- urls.remove ();
1874
-
1875
- $( "div#load-error-" + block).html ('');
1876
- if (debug) console.log ("Custom statistics loaded: " + block);
1877
- configure_charts (container);
1878
-
1879
- container.find ("label.ai-version-charts-button.not-configured").click (function () {
1880
- var no_delay_version_charts = $(this).hasClass ('no-version-charts-delay');
1881
-
1882
- $(this).removeClass ('not-configured');
1883
- var version_charts_container = $(this).closest (".ai-charts").find ('div.ai-version-charts');
1884
- version_charts_container.toggle ();
1885
-
1886
- var not_configured_charts = version_charts_container.find ('.ai-chart.not-configured.hidden');
1887
- if (not_configured_charts.length) {
1888
- not_configured_charts.each (function() {
1889
- $(this).removeClass ('hidden');
1890
- });
1891
- if (no_delay_version_charts) {
1892
- configure_charts (version_charts_container);
1893
- } else setTimeout (function() {configure_charts (version_charts_container);}, 10);
1894
- }
1895
- });
1896
-
1897
- if (version_charts_container_visible) {
1898
- container.find ("label.ai-version-charts-button.not-configured").addClass ('no-version-charts-delay').click ();
1899
- }
1900
-
1901
- $("input#chart-start-date-"+block).css ('color', '#32373c');
1902
- $("input#chart-end-date-"+block).css ('color', '#32373c');
1903
- }
1904
- });
1905
- });
1906
-
1907
- $("input#auto-refresh-"+tab).click (function () {
1908
- var block = $(this).attr ("id");
1909
- block = block.replace ("auto-refresh-","");
1910
- var label = $(this).next ().find ('.checkbox-icon');
1911
- label.toggleClass ('on');
1912
- if (label.hasClass ('on')) {
1913
- reload_statistics (block);
1914
- }
1915
- });
1916
-
1917
- $("input#clear-range-"+tab).click (function () {
1918
- var block = $(this).attr ("id");
1919
- block = block.replace ("clear-range-","");
1920
-
1921
- var delete_button = this;
1922
- var start_date = $("input#chart-start-date-" + block).attr('value');
1923
- var end_date = $("input#chart-end-date-" + block).attr('value');
1924
-
1925
- var message = '';
1926
- if (start_date == '' && end_date == '')
1927
- var message = ai_admin.delete_all_statistics; else
1928
- if (start_date != '' && end_date != '') var message = ai_admin.delete_statistics_between.replace ('{start_date}', start_date).replace ('{end_date}', end_date);
1929
-
1930
- if (message != '')
1931
- $('<div />').html(message).attr ('title', ai_admin.warning).dialog({
1932
- bgiframe: true,
1933
- draggable: false,
1934
- resizable: false,
1935
- modal: true,
1936
- height: "auto",
1937
- width: 400,
1938
- position: {my: 'center', at: 'center', of: '#ai-settings'},
1939
- buttons: [{
1940
- text: ai_admin.delete,
1941
- click: function() {
1942
- $(this).dialog ("close");
1943
-
1944
- $(delete_button).addClass ('delete');
1945
- $("input#load-custom-range-"+block).click ();
1946
- $(delete_button).removeClass ('delete');
1947
- }
1948
- },{
1949
- text: ai_admin.cancel,
1950
- click: function() {
1951
- $(this).dialog ("close");
1952
- }
1953
- }
1954
- ],
1955
- // buttons: {
1956
- // 'Delete': function() {
1957
- // $(this).dialog ("close");
1958
-
1959
- // $(delete_button).addClass ('delete');
1960
- // $("input#load-custom-range-"+block).click ();
1961
- // $(delete_button).removeClass ('delete');
1962
- // },
1963
- // 'Cancel': function() {
1964
- // $(this).dialog ("close");
1965
- // },
1966
- // },
1967
- open: function() {$(this).parent ().find ('button:nth-child(2)').focus();}
1968
- });
1969
- });
1970
-
1971
- $("input#chart-start-date-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
1972
- $("input#chart-end-date-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
1973
-
1974
- $("input#chart-start-date-"+tab).change (function() {
1975
- $(this).closest (".custom-range-controls").find ('.data-range').removeClass ('selected');
1976
- var custom_range_controls = $(this).closest (".custom-range-controls");
1977
- custom_range_controls.attr ('range-name', '----');
1978
-
1979
- disable_auto_refresh_statistics ();
1980
- var block = $(this).attr('id').replace ("chart-start-date-", "");
1981
- $(this).css ('color', 'red');
1982
- process_chart_dates (block);
1983
- });
1984
-
1985
- $("input#chart-end-date-"+tab).change (function() {
1986
- $(this).closest (".custom-range-controls").find ('.data-range').removeClass ('selected');
1987
- var custom_range_controls = $(this).closest (".custom-range-controls");
1988
- custom_range_controls.attr ('range-name', '----');
1989
-
1990
- disable_auto_refresh_statistics ();
1991
- var block = $(this).attr('id').replace ("chart-end-date-", "");
1992
- $(this).css ('color', 'red');
1993
- process_chart_dates (block);
1994
- });
1995
-
1996
- $("div#custom-range-controls-"+tab+" span.data-range").click (function () {
1997
- var custom_range_controls = $(this).closest (".custom-range-controls");
1998
- custom_range_controls.find ('.data-range').removeClass ('selected');
1999
- $(this).addClass ('selected');
2000
- custom_range_controls.attr ('range-name', $(this).data ("range-name"));
2001
-
2002
- disable_auto_refresh_statistics ();
2003
- var id = $(this).closest (".custom-range-controls").attr ("id");
2004
- block = id.replace ("custom-range-controls-","");
2005
- $("input#chart-start-date-"+block).attr ("value", $(this).data ("start-date"));
2006
- $("input#chart-end-date-"+block).attr ("value", $(this).data ("end-date"));
2007
- process_chart_dates (block);
2008
- $("input#load-custom-range-"+block).click ();
2009
- });
2010
- }
2011
-
2012
- function configure_tab_0 () {
2013
-
2014
- if (debug) console.log ("configure_tab_0");
2015
-
2016
- $('#tab-0').addClass ('configured');
2017
-
2018
- $('#tab-0 input[type=submit], #tab-0 button.ai-button').button().show ();
2019
-
2020
- configure_editor ('h');
2021
- configure_editor ('f');
2022
- if ($("#block-a").length)
2023
- configure_editor ('a');
2024
-
2025
- $('#ai-plugin-settings-tab-container').tabs();
2026
- $('#ai-plugin-settings-tabs').show();
2027
-
2028
- $("#export-switch-0").checkboxButton ().click (function () {
2029
- $("#export-container-0").toggle ();
2030
-
2031
- if ($("#export-container-0").is(':visible') && !$(this).hasClass ("loaded")) {
2032
- // var nonce = $(this).attr ('nonce');
2033
- $("#export_settings_0").load (ajaxurl+"?action=ai_ajax_backend&export=0&ai_check=" + ai_nonce, function (response, status, xhr) {
2034
- if (status == "error" ) {
2035
- $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
2036
- } else {
2037
- $("#export_settings_0").attr ("name", "export_settings_0");
2038
- $("#export-switch-0").addClass ("loaded");
2039
- }
2040
-
2041
- });
2042
- }
2043
- });
2044
-
2045
- $("input#process-php-h").change (function() {
2046
- if (syntax_highlighting) configure_editor_language ('h');
2047
- });
2048
-
2049
- $("input#process-php-f").change (function() {
2050
- if (syntax_highlighting) configure_editor_language ('f')
2051
- });
2052
-
2053
- $("input#process-php-a").change (function() {
2054
- if (syntax_highlighting) configure_editor_language ('a')
2055
- });
2056
-
2057
- if (syntax_highlighting) configure_editor_language ('h');
2058
- if (syntax_highlighting) configure_editor_language ('f');
2059
- if ($("#block-a").length)
2060
- if (syntax_highlighting) configure_editor_language ('a');
2061
-
2062
- for (var index = 1; index <= geo_groups; index ++) {
2063
- create_list_selector ('group-country', index);
2064
- }
2065
-
2066
- $('#enable-header').checkboxButton ();
2067
- $('#enable-header-404').checkboxButton ();
2068
-
2069
- $('#simple-editor-h').checkboxButton ().click (function () {
2070
- var tab_id = $("#ai-plugin-settings-tab-container .ui-tabs-panel:visible").attr("id");
2071
- if (active_tab == 0 && tab_id == 'tab-header') {
2072
- $('#ai-tab-container .simple-editor-button').click();
2073
- }
2074
- });
2075
- // Switch to simple editor if the button was pressed before the tab was configured
2076
- if ($('#simple-editor-h').is(":checked")) {
2077
- switch_editor ('h', true);
2078
- $('#simple-editor-h').next ("label").find ('.checkbox-icon').addClass("on");
2079
- }
2080
-
2081
- $('#process-php-h').checkboxButton ();
2082
-
2083
- $('#enable-footer').checkboxButton ();
2084
- $('#enable-footer-404').checkboxButton ();
2085
-
2086
- $('#simple-editor-f').checkboxButton ().click (function () {
2087
- var tab_id = $("#ai-plugin-settings-tab-container .ui-tabs-panel:visible").attr("id");
2088
- if (active_tab == 0 && tab_id == 'tab-footer') {
2089
- $('#ai-tab-container .simple-editor-button').click();
2090
- }
2091
- });
2092
- // Switch to simple editor if the button was pressed before the tab was configured
2093
- if ($('#simple-editor-f').is(":checked")) {
2094
- switch_editor ('f', true);
2095
- $('#simple-editor-f').next ("label").find ('.checkbox-icon').addClass("on");
2096
- }
2097
-
2098
- $('#process-php-f').checkboxButton ();
2099
-
2100
- $('#tracking').checkboxButton ();
2101
-
2102
- configure_statistics_toolbar (0);
2103
-
2104
- $("input#statistics-button-0").checkboxButton ().click (function () {
2105
- $("div#statistics-container-0").toggle ();
2106
- $("span#export-statistics-button-0").toggle ();
2107
- $("div#tab-tracking-settings").toggle ();
2108
- var container = $("div#statistics-container-0");
2109
- if (container.is(':visible')) {
2110
- if (!$(this).hasClass ('loaded')) {
2111
- $("input#load-custom-range-0").click ();
2112
- $(this).addClass ('loaded');
2113
- }
2114
- }
2115
- });
2116
-
2117
- $("#export-statistics-button-0").click (function () {
2118
- export_statistics_pdf (0);
2119
- });
2120
-
2121
-
2122
- $('#enable-adb-detection').checkboxButton ();
2123
-
2124
- $('#simple-editor-a').checkboxButton ().click (function () {
2125
- var tab_id = $("#ai-plugin-settings-tab-container .ui-tabs-panel:visible").attr("id");
2126
- if (active_tab == 0 && tab_id == 'tab-adblocking') {
2127
- $('#ai-tab-container .simple-editor-button').click();
2128
- }
2129
- });
2130
- // Switch to simple editor if the button was pressed before the tab was configured
2131
- if ($('#simple-editor-a').is(":checked")) {
2132
- switch_editor ('a', true);
2133
- $('#simple-editor-a').next ("label").find ('.checkbox-icon').addClass("on");
2134
- }
2135
-
2136
- $('#process-php-a').checkboxButton ();
2137
-
2138
-
2139
- configure_adb ();
2140
- $("select#adb-action").change (function() {
2141
- configure_adb ();
2142
- });
2143
-
2144
- $("#preview-button-adb").button ({
2145
- }).show ().click (function () {
2146
-
2147
- $(this).blur ();
2148
-
2149
- var code = b64e (get_editor_text ('a'));
2150
- var php = $("input#process-php-a").is(":checked") ? 1 : 0;
2151
-
2152
- var window_width = 820;
2153
- var window_height = 870;
2154
- var window_left = 100;
2155
- var window_top = (screen.height / 2) - (870 / 2);
2156
- // var nonce = $(this).attr ('nonce');
2157
- var param = {'action': 'ai_ajax_backend', 'preview': 'adb', 'ai_check': ai_nonce, 'code': code, 'php': php};
2158
- open_popup_window_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);
2159
- });
2160
-
2161
- $("#main-content-element-button").click (function () {
2162
- var selector = $("input#main-content-element").val ();
2163
- var home_url = $("#ai-settings").data ('home-relative-url');
2164
- var window_top = screen.availTop;
2165
- var window_left = screen.availLeft;
2166
- var window_width = screen.availWidth - 15;
2167
- var window_height = screen.availHeight - 65;
2168
-
2169
- var param = {
2170
- 'html_element_selection': 'main',
2171
- 'selector': selector,
2172
- 'input': "input#main-content-element"
2173
- };
2174
- open_popup_window_post (home_url, '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', 'ai-selector', param);
2175
- });
2176
-
2177
- $("#custom-selectors-button").click (function () {
2178
- var selector = $("input#custom-selectors").val ();
2179
- var home_url = $("#ai-settings").data ('home-relative-url');
2180
- var window_top = screen.availTop;
2181
- var window_left = screen.availLeft;
2182
- var window_width = screen.availWidth - 15;
2183
- var window_height = screen.availHeight - 65;
2184
-
2185
- var param = {
2186
- 'html_element_selection': 'adb',
2187
- 'selector': selector,
2188
- 'input': "input#custom-selectors"
2189
- };
2190
- open_popup_window_post (home_url, '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', 'ai-selector', param);
2191
- });
2192
-
2193
- $('#disable-header-code').checkboxButton ();
2194
- $('#disable-footer-code').checkboxButton ();
2195
- $('#disable-js-code').checkboxButton ();
2196
- $('#disable-css-code').checkboxButton ();
2197
- $('#disable-php-processing').checkboxButton ();
2198
- $('#disable-blocks').checkboxButton ();
2199
-
2200
- $("input#disable-header-code").change (function() {
2201
- $('#ai-page-header').toggleClass ('ai-page-code-disabled');
2202
- });
2203
-
2204
- $("input#disable-footer-code").change (function() {
2205
- $('#ai-page-footer').toggleClass ('ai-page-code-disabled');
2206
- });
2207
-
2208
- $("input#disable-js-code").change (function() {
2209
- $('#ai-page-js').toggleClass ('ai-page-code-disabled');
2210
- });
2211
-
2212
- $("input#disable-css-code").change (function() {
2213
- $('#ai-page-css').toggleClass ('ai-page-code-disabled');
2214
- });
2215
-
2216
- $("input#disable-php-processing").change (function() {
2217
- $('#ai-page-php').toggleClass ('ai-page-code-disabled');
2218
- });
2219
-
2220
- $("input#disable-blocks").change (function() {
2221
- $('#ai-page-block').toggleClass ('ai-page-code-disabled');
2222
- });
2223
-
2224
- $("#report-header-image-button").click (function (event) {
2225
- $(this).blur ();
2226
-
2227
- var frame;
2228
-
2229
- event.preventDefault();
2230
-
2231
- if (frame) {
2232
- frame.open();
2233
- return;
2234
- }
2235
-
2236
- frame = wp.media ({
2237
- title: ai_admin.select_header_image,
2238
- button: {
2239
- text: ai_admin.use_this_image
2240
- },
2241
- multiple: false // Set to true to allow multiple files to be selected
2242
- });
2243
-
2244
- frame.on ('select', function() {
2245
- var attachment = frame.state().get('selection').first().toJSON();
2246
- // console.log ('attachment', attachment);
2247
- $('#report-header-image').val (attachment.url);
2248
- });
2249
-
2250
- frame.open();
2251
- });
2252
-
2253
- $("#tab-0 .adsense-list").click (function () {
2254
- $(this).blur ();
2255
-
2256
- toggle_adsense_list ();
2257
- });
2258
- }
2259
-
2260
- function configure_tab (tab) {
2261
-
2262
- // if (debug) console.log ("configure_tab:", tab);
2263
-
2264
- $('#tab-' + tab).addClass ('configured');
2265
-
2266
- $('#tab-' + tab + ' input[type=submit], #tab-' + tab + ' button.ai-button').button().show ();
2267
-
2268
- configure_editor (tab);
2269
-
2270
- $("select#insertion-type-"+tab).change (function() {
2271
- var block = $(this).attr('id').tabIndex ();
2272
- process_display_elements (block);
2273
- set_page_statuses (block);
2274
- });
2275
-
2276
- $("select#block-alignment-"+tab).change (function() {
2277
- var block = $(this).attr('id').replace ("block-alignment-", "");
2278
- var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
2279
- var automatic_insertion = $("select#insertion-type-"+block+" option:selected").attr('value');
2280
-
2281
- if (automatic_insertion != AI_ABOVE_HEADER &&
2282
- (alignment == AI_ALIGNMENT_STICKY_LEFT ||
2283
- alignment == AI_ALIGNMENT_STICKY_RIGHT ||
2284
- alignment == AI_ALIGNMENT_STICKY_TOP || alignment ==
2285
- AI_ALIGNMENT_STICKY_BOTTOM || alignment == AI_ALIGNMENT_STICKY)
2286
- ) {
2287
- $("select#insertion-type-"+block).val (AI_FOOTER).change ();
2288
- }
2289
- process_display_elements (block);
2290
- });
2291
-
2292
- $("select#vertical-position-"+tab).change (function() {
2293
- var block = $(this).attr('id').replace ("vertical-position-", "");
2294
- configure_sticky_css (block);
2295
- });
2296
-
2297
- $("select#horizontal-position-"+tab).change (function() {
2298
- var block = $(this).attr('id').replace ("horizontal-position-", "");
2299
- configure_sticky_css (block);
2300
- });
2301
-
2302
-
2303
- $("input#exceptions-enabled-"+tab).change (function() {
2304
- var block = $(this).attr('id').replace ("exceptions-enabled-", "");
2305
- process_display_elements (block);
2306
- });
2307
-
2308
- $("input#process-php-"+tab).change (function() {
2309
- var block = $(this).attr('id').replace ("process-php-", "");
2310
- process_display_elements (block);
2311
- });
2312
- $("input#show-label-"+tab).change (function() {
2313
- var block = $(this).attr('id').replace ("show-label-", "");
2314
- // process_display_elements (block);
2315
- });
2316
- $("#enable-shortcode-"+tab).change (function() {
2317
- var block = $(this).attr('id').replace ("enable-shortcode-", "");
2318
- process_display_elements (block);
2319
- });
2320
- $("#enable-php-call-"+tab).change (function() {
2321
- var block = $(this).attr('id').replace ("enable-php-call-", "");
2322
- process_display_elements (block);
2323
- });
2324
- $("select#display-for-devices-"+tab).change (function() {
2325
- var block = $(this).attr('id').replace ("display-for-devices-", "");
2326
- process_display_elements (block);
2327
- });
2328
- $("select#scheduling-"+tab).change (function() {
2329
- var block = $(this).attr('id').replace ("scheduling-", "");
2330
- process_display_elements (block);
2331
- });
2332
- $("select#adb-block-action-"+tab).change (function() {
2333
- var block = $(this).attr('id').replace ("adb-block-action-", "");
2334
- process_display_elements (block);
2335
- });
2336
-
2337
-
2338
- $("#display-homepage-"+tab).change (function() {
2339
- var block = $(this).attr('id').replace ("display-homepage-", "");
2340
- process_display_elements (block);
2341
- });
2342
- $("#display-category-"+tab).change (function() {
2343
- var block = $(this).attr('id').replace ("display-category-", "");
2344
- process_display_elements (block);
2345
- });
2346
- $("#display-search-"+tab).change (function() {
2347
- var block = $(this).attr('id').replace ("display-search-", "");
2348
- process_display_elements (block);
2349
- });
2350
- $("#display-archive-"+tab).change (function() {
2351
- var block = $(this).attr('id').replace ("display-archive-", "");
2352
- process_display_elements (block);
2353
- });
2354
-
2355
- $("#client-side-detection-"+tab).change (function() {
2356
- var block = $(this).attr('id').replace ("client-side-detection-", "");
2357
- process_display_elements (block);
2358
- });
2359
-
2360
- $("#scheduling-on-"+tab).change (function() {
2361
- var block = $(this).attr('id').replace ("scheduling-on-", "");
2362
- process_scheduling_dates (block);
2363
- });
2364
-
2365
- $("#scheduling-off-"+tab).change (function() {
2366
- var block = $(this).attr('id').replace ("scheduling-off-", "");
2367
- process_scheduling_dates (block);
2368
- });
2369
-
2370
- $("select#avoid-action-"+tab).change (function() {
2371
- var block = $(this).attr('id').replace ("avoid-action-", "");
2372
- process_display_elements (block);
2373
- });
2374
-
2375
- $("#tab-" + tab + " .page-checker-button").click (function () {
2376
- // $("#page-checker-container").toggle ();
2377
- $("#page-checker-button").click ();
2378
- });
2379
-
2380
- process_display_elements (tab);
2381
-
2382
- // $("#exceptions-button-"+tab).button ({
2383
- // }).click (function () {
2384
- $("#exceptions-button-"+tab).click (function () {
2385
- var block = $(this).attr ("id").replace ("exceptions-button-","");
2386
- $("#block-exceptions-" + block).toggle ();
2387
- });
2388
-
2389
- // $("#show-css-button-"+tab).button ({
2390
- // }).show ().css ('visibility', 'visible').click (function () {
2391
- $("#show-css-button-"+tab).click (function () {
2392
- var block = $(this).attr ("id").replace ("show-css-button-","");
2393
- $("#icons-css-code-" + block).toggle ();
2394
-
2395
- if ($('#icons-css-code-'+block).is(':visible')) {
2396
- // $("#show-css-button-"+block+" span").text (ai_admin.hide);
2397
- // $("#show-css-button-"+block).addClass ('light-blue');
2398
- configure_selection_icons (block);
2399
- process_display_elements (block);
2400
- } else {
2401
- // $("#show-css-button-"+block+" span").text (ai_admin.show);
2402
- // $("#show-css-button-"+block).removeClass ('light-blue');
2403
- $("#sticky-animation-"+block).hide ();
2404
- }
2405
- });
2406
-
2407
- // $("#counting-button-"+tab).button ({
2408
- // }).show ().click (function () {
2409
- $("#counting-button-"+tab).click (function () {
2410
- var block = $(this).attr ("id").replace ("counting-button-","");
2411
- $("#paragraph-counting-" + block).toggle ();
2412
- });
2413
-
2414
- // $("#clearance-button-"+tab).button ({
2415
- // }).show ().click (function () {
2416
- $("#clearance-button-"+tab).click (function () {
2417
- var block = $(this).attr ("id").replace ("clearance-button-","");
2418
- $("#paragraph-clearance-" + block).toggle ();
2419
- });
2420
-
2421
- $("#filter-button-"+tab).click (function () {
2422
- var block = $(this).attr ("id").tabIndex ();
2423
- $("#misc-settings-" + block).toggle ();
2424
- if ($("#misc-settings-" + block).is (':visible')) {
2425
- $("#ai-misc-container-" + block).tabs ({active: 1});
2426
- $("#ai-misc-filter-" + block).click ();
2427
- }
2428
- });
2429
-
2430
- $("#scheduling-on-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
2431
- $("#scheduling-off-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
2432
-
2433
- $(".css-code-"+tab).click (function () {
2434
- var block = $(this).attr('class').replace ("css-code-", "");
2435
- if (!$('#custom-css-'+block).is(':visible')) {
2436
- $("#edit-css-button-"+block).click ();
2437
- }
2438
- });
2439
-
2440
- $("#edit-css-button-"+tab).button ({
2441
- }).click (function () {
2442
- var block = $(this).attr('id').replace ("edit-css-button-", "");
2443
-
2444
- $("#css-left-"+block).hide();
2445
- $("#css-right-"+block).hide();
2446
- $("#css-center-"+block).hide();
2447
- $("#css-float-left-"+block).hide();
2448
- $("#css-float-right-"+block).hide();
2449
- $("#css-sticky-left-"+block).hide();
2450
- $("#css-sticky-right-"+block).hide();
2451
- $("#css-sticky-top-"+block).hide();
2452
- $("#css-sticky-bottom-"+block).hide();
2453
- $("#css-sticky-"+block).hide();
2454
-
2455
- var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
2456
-
2457
- if (alignment == AI_ALIGNMENT_DEFAULT) {
2458
- $("#css-none-"+block).hide();
2459
- $("#custom-css-"+block).show().val ($("#css-none-"+block).text ());
2460
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2461
- } else
2462
- if (alignment == AI_ALIGNMENT_LEFT) {
2463
- $("#css-left-"+block).hide();
2464
- $("#custom-css-"+block).show().val ($("#css-left-"+block).text ());
2465
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2466
- } else
2467
- if (alignment == AI_ALIGNMENT_RIGHT) {
2468
- $("#css-right-"+block).hide();
2469
- $("#custom-css-"+block).show().val ($("#css-right-"+block).text ());
2470
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2471
- } else
2472
- if (alignment == AI_ALIGNMENT_CENTER) {
2473
- $("#css-center-"+block).hide();
2474
- $("#custom-css-"+block).show().val ($("#css-center-"+block).text ());
2475
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2476
- } else
2477
- if (alignment == AI_ALIGNMENT_FLOAT_LEFT) {
2478
- $("#css-float-left-"+block).hide();
2479
- $("#custom-css-"+block).show().val ($("#css-float-left-"+block).text ());
2480
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2481
- } else
2482
- if (alignment == AI_ALIGNMENT_FLOAT_RIGHT) {
2483
- $("#css-float-right-"+block).hide();
2484
- $("#custom-css-"+block).show().val ($("#css-float-right-"+block).text ());
2485
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2486
- } else
2487
- if (alignment == AI_ALIGNMENT_STICKY_LEFT) {
2488
- $("#css-sticky-left-"+block).hide();
2489
- $("#custom-css-"+block).show().val ($("#css-sticky-left-"+block).text ());
2490
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2491
- } else
2492
- if (alignment == AI_ALIGNMENT_STICKY_RIGHT) {
2493
- $("#css-sticky-right-"+block).hide();
2494
- $("#custom-css-"+block).show().val ($("#css-sticky-right-"+block).text ());
2495
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2496
- }
2497
- if (alignment == AI_ALIGNMENT_STICKY_TOP) {
2498
- $("#css-sticky-top-"+block).hide();
2499
- $("#custom-css-"+block).show().val ($("#css-sticky-top-"+block).text ());
2500
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2501
- } else
2502
- if (alignment == AI_ALIGNMENT_STICKY_BOTTOM) {
2503
- $("#css-sticky-bottom-"+block).hide();
2504
- $("#custom-css-"+block).show().val ($("#css-sticky-bottom-"+block).text ());
2505
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2506
- } else
2507
- if (alignment == AI_ALIGNMENT_STICKY) {
2508
- $("#css-sticky-"+block).hide();
2509
- $("#custom-css-"+block).show().val ($("#css-sticky-"+block).text ());
2510
- $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2511
- }
2512
- });
2513
-
2514
-
2515
- $("#name-label-"+tab).click (function () {
2516
- var block = $(this).attr('id').replace ("name-label-", "");
2517
-
2518
- if ($("div#settings-" + block).is (':visible'))
2519
-
2520
- if (!$('#name-edit-'+block).is(':visible')) {
2521
- $("#name-edit-"+block).css('display', 'table-cell').val ($("#name-label-"+block).text ()).focus ();
2522
- $("#name-label-"+block).hide();
2523
- }
2524
- });
2525
-
2526
- $("#name-label-container-"+tab).click (function () {
2527
- var block = $(this).attr('id').replace ("name-label-container-", "");
2528
-
2529
- if ($("div#settings-" + block).is (':visible'))
2530
-
2531
- if (!$('#name-edit-'+block).is(':visible')) {
2532
- $("#name-edit-"+block).css('display', 'table-cell').val ($("#name-label-"+block).text ()).focus ();
2533
- $("#name-label-"+block).hide();
2534
- }
2535
- });
2536
-
2537
- $("#name-edit-"+tab).on('keyup keypress', function (e) {
2538
- var keyCode = e.keyCode || e.which;
2539
- ignore_key = true;
2540
- if (keyCode == 27) {
2541
- var block = $(this).attr('id').replace ("name-edit-", "");
2542
- $("#name-label-"+block).show();
2543
- $("#name-edit-"+block).hide();
2544
- ignore_key = false;
2545
- } else if (keyCode == 13) {
2546
- var block = $(this).attr('id').replace ("name-edit-", "");
2547
- $("#name-label-"+block).show().text ($("#name-edit-"+block).val ());
2548
- $("#name-edit-"+block).hide();
2549
- ignore_key = false;
2550
- e.preventDefault();
2551
- return false;
2552
- }
2553
- }).focusout (function() {
2554
- if (ignore_key) {
2555
- var block = $(this).attr('id').replace ("name-edit-", "");
2556
- $("#name-label-"+block).show().text ($("#name-edit-"+block).val ());
2557
- $("#name-edit-"+block).hide();
2558
- }
2559
- ignore_key = true;
2560
- });
2561
-
2562
- $("#export-switch-"+tab).checkboxButton ().click (function () {
2563
- var block = $(this).attr ("id");
2564
- block = block.replace ("export-switch-","");
2565
- $("#export-container-" + block).toggle ();
2566
-
2567
- if ($("#export-container-" + block).is(':visible') && !$(this).hasClass ("loaded")) {
2568
- // var nonce = $(this).attr ('nonce');
2569
- $("#export_settings_" + block).load (ajaxurl+"?action=ai_ajax_backend&export=" + block + "&ai_check=" + ai_nonce, function (response, status, xhr) {
2570
- if (status == "error" ) {
2571
- $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
2572
- } else {
2573
- $("#export_settings_" + block).attr ("name", "export_settings_" + block);
2574
- $("#export-switch-"+block).addClass ("loaded");
2575
- }
2576
- });
2577
- }
2578
- });
2579
-
2580
- $("input#statistics-button-"+tab).checkboxButton ().click (function () {
2581
- disable_auto_refresh_statistics ();
2582
- var block = $(this).attr ("id");
2583
- block = block.replace ("statistics-button-","");
2584
- $("div#statistics-container-" + block).toggle ();
2585
- $("div#settings-" + block).toggle ();
2586
-
2587
- $("#tab-" + block + ' .ai-toolbars .ai-settings').toggle ();
2588
- $("#ai-main-toolbar-" + block + ' .ai-statistics').toggle ();
2589
-
2590
- var container = $("div#statistics-container-" + block);
2591
- if (container.is(':visible')) {
2592
- $("#name-label-container-"+block).css ('cursor', 'default');
2593
- if (!$(this).hasClass ('loaded')) {
2594
- $("input#load-custom-range-"+block).click ();
2595
- $(this).addClass ('loaded');
2596
- }
2597
- } else {
2598
- $("#name-label-container-"+block).css ('cursor', 'pointer');
2599
- }
2600
- });
2601
-
2602
- $("#export-statistics-button-"+tab).click (function () {
2603
- var block = $(this).attr ("id").tabIndex ();
2604
- export_statistics_pdf (block);
2605
- });
2606
-
2607
- $("input#adb-statistics-button-"+tab).checkboxButton ().click (function () {
2608
- var block = $(this).attr ("id");
2609
- block = block.replace ("adb-statistics-button-","");
2610
- setTimeout (function() {$("input#load-custom-range-"+block).click ();}, 2);
2611
- });
2612
-
2613
- configure_statistics_toolbar (tab);
2614
-
2615
- $("#device-detection-button-"+tab).button ({
2616
- }).show ().click (function () {
2617
- var block = $(this).attr ("id");
2618
- block = block.replace ("device-detection-button-","");
2619
- $("#device-detection-settings-" + block).toggle ();
2620
- });
2621
-
2622
- $("#lists-button-"+tab).button ({
2623
- }).show ().click (function () {
2624
- var block = $(this).attr ("id");
2625
- block = block.replace ("lists-button-","");
2626
- $("#list-settings-" + block).toggle ();
2627
- });
2628
-
2629
- $("#manual-button-"+tab).button ({
2630
- }).show ().click (function () {
2631
- var block = $(this).attr ("id");
2632
- block = block.replace ("manual-button-","");
2633
- $("#manual-settings-" + block).toggle ();
2634
- });
2635
-
2636
- $("#misc-button-"+tab).button ({
2637
- }).show ().click (function () {
2638
- var block = $(this).attr ("id");
2639
- block = block.replace ("misc-button-","");
2640
- $("#misc-settings-" + block).toggle ();
2641
- });
2642
-
2643
- // $("#scheduling-button-"+tab).button ({
2644
- // }).show ().click (function () {
2645
- // var block = $(this).attr ("id");
2646
- // block = block.replace ("scheduling-button-","");
2647
- // $("#scheduling-settings-" + block).toggle ();
2648
- // });
2649
-
2650
- $("#preview-button-"+tab).button ({
2651
- }).show ().click (function () {
2652
- var block = $(this).attr ("id");
2653
- block = block.replace ("preview-button-","");
2654
-
2655
- $(this).blur ();
2656
-
2657
- var sticky = false;
2658
- var iframe = $(this).attr ('iframe') == '1' ? 1 : 0;
2659
- $(this).attr ('iframe', '');
2660
-
2661
- var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
2662
- var horizontal = $("select#horizontal-position-"+block+" option:selected").attr('value');
2663
- var vertical = $("select#vertical-position-"+block+" option:selected").attr('value');
2664
- var horizontal_margin = $("#horizontal-margin-"+block).val ();
2665
- var vertical_margin = $("#vertical-margin-"+block).val ();
2666
- var animation = $("select#animation-"+block+" option:selected").attr('value');
2667
-
2668
- var custom_css = $("#custom-css-"+block).val ();
2669
-
2670
- var alignment_css = "";
2671
- if (alignment == AI_ALIGNMENT_DEFAULT) {
2672
- alignment_css = $("#css-none-"+block).text ();
2673
- } else
2674
- if (alignment == AI_ALIGNMENT_CUSTOM_CSS) {
2675
- alignment_css = custom_css;
2676
- sticky = is_sticky (custom_css);
2677
- } else
2678
- if (alignment == AI_ALIGNMENT_LEFT) {
2679
- alignment_css = $("#css-left-"+block).text ();
2680
- } else
2681
- if (alignment == AI_ALIGNMENT_RIGHT) {
2682
- alignment_css = $("#css-right-"+block).text ();
2683
- } else
2684
- if (alignment == AI_ALIGNMENT_CENTER) {
2685
- alignment_css = $("#css-center-"+block).text ();
2686
- } else
2687
- if (alignment == AI_ALIGNMENT_FLOAT_LEFT) {
2688
- alignment_css = $("#css-float-left-"+block).text ();
2689
- } else
2690
- if (alignment == AI_ALIGNMENT_FLOAT_RIGHT) {
2691
- alignment_css = $("#css-float-right-"+block).text ();
2692
- } else
2693
- if (alignment == AI_ALIGNMENT_STICKY_LEFT) {
2694
- alignment_css = $("#css-sticky-left-"+block).text ();
2695
- } else
2696
- if (alignment == AI_ALIGNMENT_STICKY_RIGHT) {
2697
- alignment_css = $("#css-sticky-right-"+block).text ();
2698
- }
2699
- if (alignment == AI_ALIGNMENT_STICKY_TOP) {
2700
- alignment_css = $("#css-sticky-top-"+block).text ();
2701
- } else
2702
- if (alignment == AI_ALIGNMENT_STICKY_BOTTOM) {
2703
- alignment_css = $("#css-sticky-bottom-"+block).text ();
2704
- } else
2705
- if (alignment == AI_ALIGNMENT_STICKY) {
2706
- alignment_css = update_sticky_margins ($("#css-sticky-"+block).text (), horizontal_margin, vertical_margin);
2707
- sticky = true;
2708
- }
2709
-
2710
- var name = $("#name-label-"+block).text ();
2711
- var code = get_editor_text (block);
2712
- var php = $("input#process-php-"+block).is(":checked") ? 1 : 0;
2713
- var label = $("input#show-label-"+block).is(":checked") ? 1 : 0;
2714
-
2715
- var close_button = $("#close-button-"+block+" option:selected").attr('value');
2716
-
2717
- if (!sticky) {
2718
- var window_top = (screen.height / 2) - (820 / 2);
2719
- var window_left = 100;
2720
- var window_width = 820;
2721
- var window_height = 820;
2722
- } else {
2723
- var window_top = screen.availTop;
2724
- var window_left = screen.availLeft;
2725
- var window_width = screen.availWidth;
2726
- var window_height = screen.availHeight;
2727
- }
2728
-
2729
- // var nonce = $("#ai-form").attr ('nonce');
2730
-
2731
- var param = {
2732
- 'action': 'ai_ajax_backend',
2733
- 'preview': block,
2734
- 'ai_check': ai_nonce,
2735
- 'name': b64e (name),
2736
- 'code': b64e (code),
2737
- 'alignment': btoa (alignment),
2738
- 'horizontal': btoa (horizontal),
2739
- 'vertical': btoa (vertical),
2740
- 'horizontal_margin': btoa (horizontal_margin),
2741
- 'vertical_margin': btoa (vertical_margin),
2742
- 'animation': btoa (animation),
2743
- 'alignment_css': btoa (alignment_css),
2744
- 'custom_css': btoa (custom_css),
2745
- 'php': php,
2746
- 'label': label,
2747
- 'close': close_button,
2748
- 'iframe': iframe
2749
- };
2750
- open_popup_window_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);
2751
- });
2752
-
2753
- $("select#animation-"+tab).change (function() {
2754
- var block = $(this).attr('id').tabIndex ();
2755
- var animation = $(this).find ("option:selected").attr('value');
2756
- var animation_parameters = $(this).closest ('.sticky-animation').find ('.animation-parameters')
2757
- if (animation == AI_ANIMATION_NONE) {
2758
- animation_parameters.hide ();
2759
- } else {
2760
- animation_parameters.show ();
2761
- }
2762
- });
2763
-
2764
- $("#iframe-preview-button-"+tab).button ({
2765
- }).show ().click (function () {
2766
- var block = $(this).attr ("id");
2767
- block = block.replace ("iframe-preview-button-","");
2768
- $("#preview-button-"+block).attr ('iframe', '1').click ();
2769
- });
2770
-
2771
- create_list_selector ('category', tab);
2772
- create_list_selector ('tag', tab);
2773
- create_list_selector ('taxonomy', tab);
2774
- create_list_selector ('id', tab);
2775
- create_list_editor ('url', tab);
2776
- create_list_editor ('url-parameter',tab);
2777
- create_list_editor ('referer', tab);
2778
- create_list_selector ('client', tab);
2779
- create_list_editor ('ip-address', tab);
2780
- create_list_selector ('country', tab);
2781
- create_list_selector ('city', tab);
2782
-
2783
- var toggle_country_list = function (index) {
2784
- $('#ms-country-select-' + index).toggle();
2785
- before_update_selection_from_list = null;
2786
- }
2787
-
2788
- var toggle_city_list = function (index) {
2789
- $('#ms-city-select-' + index).toggle();
2790
- before_update_selection_from_list = null;
2791
- }
2792
-
2793
- $('#country-city-' + tab).click (function () {
2794
- var block = $(this).attr('id').tabIndex ();
2795
-
2796
- $(this).find ('span').toggle ();
2797
- $(this).next ().find ('span').toggle ();
2798
-
2799
- var button_country = $('#country-button-'+block);
2800
- var button_city = $('#city-button-'+block);
2801
-
2802
- var country_selection_container = $('#ms-country-select-'+block);
2803
- country_selection_container_visible = country_selection_container.length && country_selection_container.is (':visible');
2804
-
2805
- var city_selection_container = $('#ms-city-select-'+block);
2806
- city_selection_container_visible = city_selection_container.length && city_selection_container.is (':visible');
2807
-
2808
- if (country_selection_container_visible) {
2809
- before_update_selection_from_list = toggle_country_list;
2810
- button_city.click ();
2811
- }
2812
-
2813
- if (city_selection_container_visible) {
2814
- before_update_selection_from_list = toggle_city_list;
2815
- button_country.click ();
2816
- }
2817
- });
2818
-
2819
- $('#tracking-' + tab).checkboxButton ().click (function () {
2820
- var block = $(this).attr('id').replace ("tracking-", "");
2821
- var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
2822
- var tracking = !$('#tracking-' + block).next ().find ('.checkbox-icon').hasClass ('on');
2823
- if (tracking && alignment == AI_ALIGNMENT_NO_WRAPPING) $('#tracking-wrapping-warning-' + block).show (); else $('#tracking-wrapping-warning-' + block).hide ();
2824
- });
2825
-
2826
- $('#simple-editor-' + tab).checkboxButton ().click (function () {
2827
- var block = $(this).attr('id').replace ("simple-editor-", "");
2828
- if (block == active_tab) {
2829
- $('#ai-tab-container .simple-editor-button').click();
2830
- }
2831
- });
2832
- // Switch to simple editor if the button was pressed before the tab was configured
2833
- if ($('#simple-editor-' + tab).is(":checked")) {
2834
- switch_editor (tab, true);
2835
- $('#simple-editor-' + tab).next ("label").find ('.checkbox-icon').addClass("on");
2836
- }
2837
-
2838
- $('#process-php-' + tab).checkboxButton ();
2839
- $('#disable-insertion-' + tab).checkboxButton ();
2840
-
2841
- $('#ai-misc-container-' + tab).tabs();
2842
- $('#ai-misc-tabs-' + tab).show();
2843
-
2844
- $('#ai-devices-container-' + tab).tabs();
2845
- $('#ai-devices-tabs-' + tab).show();
2846
-
2847
- $("#tools-button-"+tab).click (function () {
2848
- if (!$(this).find ('.checkbox-icon').hasClass("on")) {
2849
- $('label.rotation-button').each (function () {
2850
- if ($(this).find ('.checkbox-icon').hasClass("on")) {
2851
- $(this).prev ().click ();
2852
- }
2853
- });
2854
-
2855
- $('label.code-generator-button').each (function () {
2856
- if ($(this).find ('.checkbox-icon').hasClass("on")) {
2857
- $(this).prev ().click ();
2858
- }
2859
- });
2860
-
2861
- $('code-generator').hide ();
2862
- }
2863
-
2864
- $('.ai-tools-toolbar').toggle();
2865
- $('label.tools-button').find ('.checkbox-icon').toggleClass("on");
2866
- });
2867
-
2868
- $('#ai-code-generator-container-' + tab).tabs();
2869
-
2870
- $("select#adsense-type-"+tab).change (function() {
2871
- var block = $(this).attr('id').replace ("adsense-type-", "");
2872
- process_adsense_elements (block);
2873
- });
2874
-
2875
- $("select#adsense-size-"+tab).change (function() {
2876
- var block = $(this).attr('id').replace ("adsense-size-", "");
2877
- process_adsense_elements (block);
2878
- });
2879
-
2880
- process_adsense_elements (tab);
2881
-
2882
- $("#code-generator-"+tab).click (function () {
2883
- var block = $(this).attr('id').replace ("code-generator-", "");
2884
- $('#ai-code-generator-container-' + block).toggle();
2885
- $(this).next ("label").find ('.checkbox-icon').toggleClass("on");
2886
- });
2887
-
2888
- $("#visual-editor-"+tab).click (function () {
2889
- var block = $(this).attr('id').replace ("visual-editor-", "");
2890
-
2891
- var code = b64e (get_editor_text (block));
2892
- var php = $("input#process-php-" + block).is(":checked") ? 1 : 0;
2893
-
2894
- var window_width = 820;
2895
- var window_height = 870;
2896
- var window_left = 100;
2897
- var window_top = (screen.height / 2) - (window_height / 2);
2898
- // var nonce = $("#ai-form").attr ('nonce');
2899
- var param = {'action': 'ai_ajax_backend', 'edit': block, 'ai_check': ai_nonce, 'code': code, 'php': php};
2900
- open_popup_window_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', 'edit', param);
2901
- });
2902
-
2903
- $("#select-image-button-"+tab).click (function (event) {
2904
- $(this).blur ();
2905
-
2906
- var block = $(this).attr('id').replace ("select-image-button-", "");
2907
- var frame;
2908
-
2909
- event.preventDefault();
2910
-
2911
- if (frame) {
2912
- frame.open();
2913
- return;
2914
- }
2915
-
2916
- frame = wp.media ({
2917
- title: ai_admin.select_banner_image,
2918
- button: {
2919
- text: ai_admin.use_this_image
2920
- },
2921
- multiple: false // Set to true to allow multiple files to be selected
2922
- });
2923
-
2924
- // frame.on ('open', function(){
2925
- // var selected = $('#banner-image-' + block).attr ('src');
2926
- // if (selected) {
2927
- // var selection = frame.state().get ('selection');
2928
- // var id = $('#banner-image-' + block).attr ('data-id');
2929
- // selection.add (wp.media.attachment (id));
2930
- // }
2931
- // });
2932
-
2933
- frame.on ('select', function() {
2934
- var attachment = frame.state().get('selection').first().toJSON();
2935
- // console.log ('attachment', attachment);
2936
- $('#banner-image-' + block).attr ('src', attachment.url);
2937
- $('#banner-image-url-' + block).val (attachment.url).trigger ("input");
2938
- });
2939
-
2940
- frame.open();
2941
- });
2942
-
2943
- $("#select-placeholder-button-"+tab).click (function (event) {
2944
- $(this).blur ();
2945
-
2946
- var block = $(this).attr('id').replace ("select-placeholder-button-", "");
2947
- var image_url = $('#banner-image-' + block).attr ('src');
2948
-
2949
- var window_width = 820;
2950
- var window_height = 870;
2951
- var window_left = 100;
2952
- var window_top = (screen.height / 2) - (870 / 2);
2953
- // var nonce = $("#ai-form").attr ('nonce');
2954
- var param = {'action': 'ai_ajax_backend', 'placeholder': image_url, 'block': block, 'ai_check': ai_nonce};
2955
- open_popup_window_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);
2956
- });
2957
-
2958
- $("#banner-image-url-" + tab).on ('input', function() {
2959
-
2960
- var block = $(this).attr('id').replace ("banner-image-url-", "");
2961
- var image = $('#banner-image-' + block);
2962
-
2963
- var new_image_src = $(this).val ();
2964
- if (new_image_src == '') {
2965
- // new_image_src = '//:0';
2966
- image.hide ();
2967
- $('div#tab-banner-' + block + ' table.ai-settings-table').css ('position', 'relative');
2968
- }
2969
-
2970
- image.attr ('src', new_image_src).load (function () {
2971
- image.show ();
2972
- $('div#tab-banner-' + block + ' table.ai-settings-table').css ('position', 'inherit');
2973
- $(this).closest ('.ai-banner').removeClass ('ai-banner-top');
2974
- var width = this.naturalWidth;
2975
- var height = this.naturalHeight;
2976
-
2977
- if (width / height > 2 && width > 300) {
2978
- $(this).closest ('.ai-banner').addClass ('ai-banner-top');
2979
- }
2980
- })
2981
- .error (function() {
2982
- if (image.is(':visible')) {
2983
- // image.hide ().attr ('src', '//:0');
2984
- image.hide ().attr ('src', '');
2985
- $('div#tab-banner-' + block + ' table.ai-settings-table').css ('position', 'relative');
2986
- }
2987
- });
2988
-
2989
- });
2990
-
2991
- $("#banner-url-" + tab).on ('input', function() {
2992
- var block = $(this).attr('id').replace ("banner-url-", "");
2993
- var url = $(this).val ().trim();
2994
- if (url == '') $('#banner-link-' + block).removeAttr ('href'); else
2995
- $('#banner-link-' + block).attr ('href', $(this).val ());
2996
- });
2997
-
2998
- $("#import-code-"+tab).click (function () {
2999
- $(this).next ("label").find ('.checkbox-icon').addClass("on");
3000
-
3001
- var block = $(this).attr('id').replace ("import-code-", "");
3002
- // var nonce = $("#ai-form").attr ('nonce');
3003
-
3004
- $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'import-code': b64e (get_editor_text (block))}
3005
- ).done (function (data) {
3006
- if (data != '') {
3007
- $('#ai-error-container').hide ();
3008
-
3009
- try {
3010
- var code_data = JSON.parse (data);
3011
- } catch (error) {
3012
- console.log ("AI IMPORT CODE ERROR:", data);
3013
- $('#ai-error-container').text (data).show ();
3014
- }
3015
-
3016
- if (typeof code_data !== "undefined" && typeof code_data ['type'] !== "undefined") {
3017
-
3018
- if (debug) console.log ("AI IMPORT CODE:", code_data);
3019
-
3020
- var code_type = code_data ['type'];
3021
-
3022
- $("#ai-code-generator-container-" + block).tabs ({active: code_type == AI_CODE_UNKNOWN ? AI_CODE_BANNER : code_type});
3023
-
3024
- switch (code_type) {
3025
- case AI_CODE_BANNER:
3026
- $("#banner-image-url-" + block).val (code_data ['image']).trigger ('input');
3027
- $("#banner-url-" + block).val (code_data ['link']).trigger ('input');
3028
- $("#open-new-tab-" + block).attr('checked', code_data ['target'] == '_blank');
3029
- break;
3030
- case AI_CODE_ADSENSE:
3031
- $("#adsense-comment-" + block).val (code_data ['adsense-comment']);
3032
- $("#adsense-publisher-id-" + block).val (code_data ['adsense-publisher-id']);
3033
- $("#adsense-ad-slot-id-" + block).val (code_data ['adsense-ad-slot-id']);
3034
-
3035
- $("#adsense-type-" + block).val (code_data ['adsense-type']);
3036
- $("#adsense-size-" + block).val (code_data ['adsense-size']);
3037
-
3038
- var ad_size = '';
3039
- if (code_data ['adsense-width'] != '' && code_data ['adsense-height'] != '') {
3040
- ad_size = code_data ['adsense-width'] + 'x' + code_data ['adsense-height'];
3041
- }
3042
- $('#tab-adsense-' + block + ' .adsense-ad-size.fixed').parent ().find ('.scombobox-display').val (ad_size);
3043
-
3044
- $("#adsense-amp-" + block).val (code_data ['adsense-amp']);
3045
-
3046
- $("#adsense-layout-" + block).val (code_data ['adsense-layout']);
3047
- $("#adsense-layout-key-" + block).val (decodeURIComponent (code_data ['adsense-layout-key']));
3048
-
3049
- if (decodeURIComponent (code_data ['adsense-full-width-responsive']) == 'false') {
3050
- $("#adsense-layout-" + block + ' select.adsense-full-width').val ('disabled');
3051
- } else {
3052
- $("#adsense-layout-" + block + ' select.adsense-full-width').val ('enabled');
3053
- }
3054
-
3055
- if ($("#adsense-size-" + block).val () == AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT) {
3056
- $('#tab-adsense-' + block + ' tr.adsense-viewport').each (function (index) {
3057
- var width = code_data ['adsense-sizes'][index][0];
3058
- var height = code_data ['adsense-sizes'][index][1];
3059
-
3060
- var ad_size = '';
3061
- if (width != '' && height != '') {
3062
- ad_size = width + 'x' + height;
3063
- }
3064
-
3065
- $(this).find ('.adsense-ad-size').parent ().find ('.scombobox-display').val (ad_size);
3066
- });
3067
- }
3068
- process_adsense_elements (block);
3069
- break;
3070
- case AI_CODE_UNKNOWN:
3071
- break;
3072
- }
3073
- }
3074
- }
3075
- }).fail (function (xhr, status, error) {
3076
- console.log ("AI IMPORT CODE ERROR:", xhr.status, xhr.statusText);
3077
- $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
3078
- }).always (function() {
3079
- $("#import-code-"+block).next ("label").find ('.checkbox-icon').removeClass("on");
3080
- });
3081
- });
3082
-
3083
- $("#generate-code-"+tab).click (function () {
3084
- $('#ai-error-container').hide ();
3085
- $(this).next ("label").find ('.checkbox-icon').addClass("on");
3086
-
3087
- var block = $(this).attr('id').replace ("generate-code-", "");
3088
- // var nonce = $("#ai-form").attr ('nonce');
3089
- var code_type = $("#ai-code-generator-container-" + block).tabs('option', 'active');
3090
- var code_data = {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'generate-code': code_type};
3091
-
3092
- switch (code_type) {
3093
- case AI_CODE_BANNER:
3094
- code_data ['image'] = $("#banner-image-url-" + block).val ();
3095
- code_data ['link'] = $("#banner-url-" + block).val ();
3096
-
3097
- if ($("#open-new-tab-" + block).is(":checked"))
3098
- code_data ['target'] = '_blank';
3099
- break;
3100
- case AI_CODE_ADSENSE:
3101
- code_data ['block'] = block;
3102
- code_data ['adsense-comment'] = $("#adsense-comment-" + block).val ();
3103
- code_data ['adsense-publisher-id'] = $("#adsense-publisher-id-" + block).val ();
3104
- code_data ['adsense-ad-slot-id'] = $("#adsense-ad-slot-id-" + block).val ();
3105
- code_data ['adsense-type'] = parseInt ($("select#adsense-type-" + block +" option:selected").attr ('value'));
3106
- code_data ['adsense-size'] = parseInt ($("select#adsense-size-" + block +" option:selected").attr ('value'));
3107
-
3108
- var ad_size = $('#tab-adsense-' + block + ' .adsense-ad-size.fixed').parent ().find ('.scombobox-display').val ().trim ().toLowerCase ().split ('x');
3109
- code_data ['adsense-width'] = '';
3110
- code_data ['adsense-height'] = '';
3111
- if (ad_size.length == 2) {
3112
- code_data ['adsense-width'] = parseInt (ad_size [0]);
3113
- code_data ['adsense-height'] = parseInt (ad_size [1]);
3114
- }
3115
-
3116
- code_data ['adsense-amp'] = parseInt ($("select#adsense-amp-" + block +" option:selected").attr ('value'));
3117
- code_data ['adsense-layout'] = $("#adsense-layout-" + block).val ();
3118
- code_data ['adsense-layout-key'] = $("#adsense-layout-key-" + block).val ();
3119
-
3120
- code_data ['adsense-full-width-responsive'] = 'true';
3121
- if ($("#adsense-layout-" + block + ' select.adsense-full-width').val () == 'disabled') {
3122
- code_data ['adsense-full-width-responsive'] = 'false';
3123
- }
3124
-
3125
- if (code_data ['adsense-size'] == AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT) {
3126
- var viewport_sizes = new Array();
3127
- $('#tab-adsense-' + block + ' tr.adsense-viewport').each (function (index) {
3128
- var ad_size = $(this).find ('.adsense-ad-size').parent ().find ('.scombobox-display').val ().trim ().toLowerCase ().split ('x');
3129
- var adsense_size = {'width': '', 'height': ''};
3130
- if (ad_size.length == 2) {
3131
- adsense_size = {'width': parseInt (ad_size [0]), 'height': parseInt (ad_size [1])};
3132
- }
3133
- viewport_sizes.push (adsense_size);
3134
- });
3135
- code_data ['adsense-viewports'] = viewport_sizes;
3136
- }
3137
- break;
3138
- case AI_CODE_UNKNOWN:
3139
- // if (debug) console.log ("AI GENERATE CODE:", code_type);
3140
- break;
3141
- }
3142
-
3143
- if (debug) {
3144
- console.log ("AI GENERATE CODE:", code_type);
3145
- console.log (code_data);
3146
- }
3147
-
3148
- $.post (ajaxurl, code_data
3149
- ).done (function (code_data) {
3150
- if (code_data != '') {
3151
- var code = JSON.parse (code_data);
3152
- if (typeof code !== "undefined")
3153
- set_editor_text (block, code);
3154
- }
3155
- }).fail (function (xhr, status, error) {
3156
- console.log ("AI GENERATE CODE ERROR:", xhr.status, xhr.statusText);
3157
- $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
3158
- }).always (function() {
3159
- $("#generate-code-"+block).next ("label").find ('.checkbox-icon').removeClass("on");
3160
- });
3161
- });
3162
-
3163
- $("#clear-block-"+tab).click (function () {
3164
- paste_from_clipboard (true, true, true, true);
3165
- });
3166
-
3167
- $("#copy-block-"+tab).click (function () {
3168
- copy_to_clipboard ();
3169
- });
3170
-
3171
- $("#paste-name-"+tab).click (function () {
3172
- paste_from_clipboard (true, false, false, false);
3173
- });
3174
-
3175
- $("#paste-code-"+tab).click (function () {
3176
- paste_from_clipboard (false, true, false, false);
3177
- });
3178
-
3179
- $("#paste-settings-"+tab).click (function () {
3180
- paste_from_clipboard (false, false, true, false);
3181
- });
3182
-
3183
- $("#paste-block-"+tab).click (function () {
3184
- paste_from_clipboard (true, true, true, false);
3185
- });
3186
-
3187
- $("#rotation-"+tab).click (function () {
3188
- var block = $(this).attr('id').replace ("rotation-", "");
3189
- var rotation_container = $('#ai-rotation-container-' + block);
3190
- $(this).next ("label").find ('.checkbox-icon').toggleClass("on");
3191
-
3192
- rotation_container.toggle();
3193
-
3194
- var option_tabs = rotation_container.tabs ();
3195
-
3196
- var ul = option_tabs.find ("ul");
3197
-
3198
- if (rotation_container.is(':visible')) {
3199
- rotation_container.data ('code', b64e (get_editor_text (block)));
3200
- rotation_container.data ('option', 1);
3201
-
3202
- add_rotate_options (block, 1);
3203
- option_tabs.tabs ("option", "active", 0);
3204
-
3205
- $('input[name=ai_save]').css ('color', '#f00');
3206
- $('.ai-rotation-warning').show ();
3207
-
3208
- setTimeout (function() {import_rotation_code (block);}, 5);
3209
- } else {
3210
- // set_editor_text (block, b64d (rotation_container.data ('code')));
3211
- generate_rotatation_code (block);
3212
-
3213
- ul.find ("li").remove ();
3214
- var div = option_tabs.find ("div.rounded").remove ();
3215
- }
3216
- });
3217
-
3218
- $("#add-option-"+tab).click (function () {
3219
- var block = $(this).attr('id').replace ("add-option-", "");
3220
- add_rotate_options (block, 1);
3221
-
3222
- $('#ai-rotation-container-' + block).find ("ul").find ("li").slice (- 1).click ();
3223
- });
3224
-
3225
- $("#remove-option-"+tab).click (function () {
3226
- var block = $(this).attr('id').replace ("remove-option-", "");
3227
- remove_rotate_option (block, $('#ai-rotation-container-' + block).tabs ("option", "active"));
3228
- });
3229
-
3230
- $("#rotation-groups-"+tab).click (function () {
3231
- var block = $(this).attr('id').tabIndex ();
3232
- var label = $(this).next ().find ('span');
3233
- label.toggleClass ('on');
3234
- var rotation_container = $('#ai-rotation-container-' + block);
3235
- if (label.hasClass ('on')) {
3236
- rotation_container.find ('span.group-name-label').show ();
3237
- rotation_container.find ('span.option-name-label').hide ();
3238
- rotation_container.find ('td.option-parameters').hide ();
3239
- } else {
3240
- rotation_container.find ('span.group-name-label').hide ();
3241
- rotation_container.find ('span.option-name-label').show ();
3242
- rotation_container.find ('td.option-parameters').show ();
3243
- }
3244
- });
3245
-
3246
- $("#tab-" + tab + " .adsense-list").click (function () {
3247
- $(this).blur ();
3248
-
3249
- toggle_adsense_list ();
3250
- });
3251
-
3252
- $("select#html-element-insertion-"+tab).change (function() {
3253
- var html_element_insertion = $("select#html-element-insertion-"+tab+" option:selected").attr('value');
3254
-
3255
- if (html_element_insertion == AI_HTML_INSERTION_SEREVR_SIDE)
3256
- $("#server-side-insertion-"+tab).hide (); else
3257
- $("#server-side-insertion-"+tab).show ();
3258
- });
3259
-
3260
- $("#tab-" + tab + " .adsense-ad-size").scombobox({
3261
- showDropDown: false,
3262
- invalidAsValue: true,
3263
- animation: {
3264
- duration: 50,
3265
- }
3266
- });
3267
-
3268
- $("select#close-button-" + tab).change (function () {
3269
- var block = $(this).attr('id').replace ("close-button-", "");
3270
- $("select#close-button-sticky-"+block+"").val ($("select#close-button-"+block+" option:selected").attr('value'));
3271
- });
3272
-
3273
- $("select#close-button-sticky-" + tab).change (function () {
3274
- var block = $(this).attr('id').replace ("close-button-sticky-", "");
3275
- $("select#close-button-"+block+"").val ($("select#close-button-sticky-"+block+" option:selected").attr('value'));
3276
- });
3277
-
3278
- $("input#paragraph-numbers-" + tab).change (function () {
3279
- var block = $(this).attr('id').tabIndex ();
3280
- $("input#image-numbers-"+block).val ($(this).attr ('value'));
3281
- });
3282
-
3283
- $("input#image-numbers-" + tab).change (function () {
3284
- var block = $(this).attr('id').tabIndex ();
3285
- $("input#paragraph-numbers-"+block).val ($(this).attr ('value'));
3286
- });
3287
-
3288
- $("input#filter-numbers-insertions-" + tab).on ('keyup', function () {
3289
- var block = $(this).attr('id').tabIndex ();
3290
- $("input#filter-numbers-"+block).val ($(this).attr ('value'));
3291
- $("select#filter-type-"+block).val (0);
3292
- $("input#invert-filter-"+block).removeAttr ('checked');
3293
- });
3294
-
3295
- $("input#filter-numbers-" + tab).on ('keyup', function () {
3296
- var block = $(this).attr('id').tabIndex ();
3297
- $("input#filter-numbers-insertions-"+block).val ($(this).attr ('value'));
3298
- });
3299
-
3300
- $("#html-elements-button-"+tab).click (function () {
3301
- var block = $(this).attr('id').replace ("html-elements-button-", "");
3302
-
3303
- var selector = $("input#html-elements-" + block).val ();
3304
- var home_url = $("#ai-settings").data ('home-relative-url');
3305
- var window_top = screen.availTop;
3306
- var window_left = screen.availLeft;
3307
- var window_width = screen.availWidth - 15;
3308
- var window_height = screen.availHeight - 65;
3309
-
3310
- var param = {
3311
- 'html_element_selection': block,
3312
- 'selector': selector,
3313
- 'input': "input#html-elements-" + block
3314
- };
3315
- open_popup_window_post (home_url, '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', 'ai-selector', param);
3316
- });
3317
- }
3318
-
3319
- function configure_sticky_css (block) {
3320
- var horizontal_position = $("select#horizontal-position-"+block+" option:selected").attr('value');
3321
- var selected_horizontal_position = $("select#horizontal-position-"+block+" option:selected");
3322
-
3323
- var vertical_position = $("select#vertical-position-"+block+" option:selected").attr('value');
3324
- var selected_vertical_position = $("select#vertical-position-"+block+" option:selected");
3325
-
3326
- var custom_vertical_position_css = selected_vertical_position.data ('css-' + horizontal_position);
3327
-
3328
- if (typeof custom_vertical_position_css != 'undefined') var vertical_position_css = custom_vertical_position_css; else
3329
- var vertical_position_css = selected_vertical_position.data ('css');
3330
-
3331
- var custom_horizontal_position_css = selected_horizontal_position.data ('css-' + vertical_position);
3332
-
3333
- if (typeof custom_horizontal_position_css != 'undefined') var horizontal_position_css = custom_horizontal_position_css; else
3334
- var horizontal_position_css = selected_horizontal_position.data ('css');
3335
-
3336
- $('#css-sticky-' + block + ' .ai-sticky-css').text (vertical_position_css + horizontal_position_css);
3337
-
3338
- check_insertion (block);
3339
- }
3340
-
3341
- function check_insertion (block) {
3342
- $('#sticky-scroll-warning-' + block).hide ();
3343
- var automatic_insertion = $("select#insertion-type-"+block+" option:selected").attr('value');
3344
- var alignment_style = $("select#block-alignment-"+block+" option:selected").attr('value');
3345
- var vertical_position = $("select#vertical-position-"+block+" option:selected").attr('value');
3346
-
3347
- if (alignment_style == AI_ALIGNMENT_STICKY && vertical_position == AI_SCROLL_WITH_THE_CONTENT && automatic_insertion != AI_ABOVE_HEADER && automatic_insertion != AI_DISABLED) {
3348
- $('#sticky-scroll-warning-' + block).show ();
3349
- }
3350
- }
3351
-
3352
- function configure_selection_icons (block) {
3353
- var css_code_container = $('#icons-css-code-'+block);
3354
- if (!css_code_container.hasClass ('configured')) {
3355
- var titles = new Array();
3356
- $("select#insertion-type-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3357
- titles.push ($(this).data ('title'));
3358
- });
3359
- $("select#insertion-type-"+block+" + ul").appendTo("#automatic-insertion-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3360
- $(this).attr ('title', titles [index])
3361
- .tooltip({
3362
- track: true,
3363
- delay: 700,
3364
- showURL: false,
3365
- showBody: " | ",
3366
- fade: 250
3367
- });
3368
- });
3369
-
3370
- var titles = new Array();
3371
- $("select#block-alignment-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3372
- titles.push ($(this).data ('title'));
3373
- });
3374
- $("select#block-alignment-"+block+" + ul").appendTo("#alignment-style-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3375
- $(this).attr ('title', titles [index])
3376
- .tooltip({
3377
- track: true,
3378
- delay: 700,
3379
- showURL: false,
3380
- showBody: " | ",
3381
- fade: 250
3382
- });
3383
- });
3384
-
3385
- var titles = new Array();
3386
- $("select#horizontal-position-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3387
- titles.push ($(this).data ('title'));
3388
- });
3389
- $("select#horizontal-position-"+block+" + ul").appendTo("#horizontal-positions-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3390
- $(this).attr ('title', titles [index])
3391
- .tooltip({
3392
- track: true,
3393
- delay: 700,
3394
- showURL: false,
3395
- showBody: " | ",
3396
- fade: 250
3397
- });
3398
- });
3399
-
3400
- var titles = new Array();
3401
- $("select#vertical-position-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3402
- titles.push ($(this).data ('title'));
3403
- });
3404
- $("select#vertical-position-"+block+" + ul").appendTo("#vertical-positions-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3405
- $(this).attr ('title', titles [index])
3406
- .tooltip({
3407
- track: true,
3408
- delay: 700,
3409
- showURL: false,
3410
- showBody: " | ",
3411
- fade: 250
3412
- });
3413
- });
3414
-
3415
- // var titles = new Array();
3416
- // $("select#close-button-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3417
- // titles.push ($(this).data ('title'));
3418
- // });
3419
- // $("select#close-button-sticky-"+block+" + ul").appendTo("#close-buttons-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3420
- // $(this).attr ('title', titles [index])
3421
- // .tooltip({
3422
- // track: true,
3423
- // delay: 700,
3424
- // showURL: false,
3425
- // showBody: " | ",
3426
- // fade: 250
3427
- // });
3428
- // });
3429
-
3430
- css_code_container.addClass ('configured');
3431
- }
3432
- }
3433
-
3434
- function import_rotation_code (block) {
3435
- $("#rotation-"+block).next ("label").find ('.checkbox-icon').addClass("active");
3436
-
3437
- // var nonce = $("#ai-form").attr ('nonce');
3438
-
3439
- $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'import-rotation-code': b64e (get_editor_text (block))}
3440
- ).done (function (data) {
3441
- if (data != '') {
3442
- var code_data = JSON.parse (data);
3443
- if (typeof code_data !== "undefined" && typeof code_data ['options'] !== "undefined") {
3444
- $('#ai-error-container').hide ();
3445
-
3446
- var options = code_data ['options'].length;
3447
-
3448
- if (debug) {
3449
- console.log ("AI IMPORT ROTATION CODE:", options);
3450
- console.log (" OPTIONS:", code_data ['options']);
3451
- }
3452
-
3453
- var rotation_container = $('#ai-rotation-container-' + block);
3454
- rotation_container.find ("ul").find ("li").remove ();
3455
- rotation_container.find ("div.rounded").remove ();
3456
-
3457
- var tabs = options;
3458
- if (tabs < 1) tabs = 1;
3459
- if (tabs > 17) tabs = 17;
3460
-
3461
- add_rotate_options (block, tabs);
3462
-
3463
- rotation_container.find ('ul li').each (function (index) {
3464
- if (index < options) $(this).data ('code', b64e (code_data ['options'][index]['code'])); else
3465
- $(this).data ('code', b64e (''));
3466
- });
3467
-
3468
- rotation_container.tabs ("option", "active", 0);
3469
-
3470
- set_editor_text (block, code_data ['options'][0]['code']);
3471
-
3472
- rotation_container.find ('input.option-name').each (function (index) {
3473
- if (index < options) $(this).val (code_data ['options'][index]['name']);
3474
- });
3475
- rotation_container.find ('input.option-share').each (function (index) {
3476
- if (index < options) $(this).val (code_data ['options'][index]['share']);
3477
- });
3478
- rotation_container.find ('input.option-time').each (function (index) {
3479
- if (index < options) $(this).val (code_data ['options'][index]['time']);
3480
- });
3481
-
3482
- var group_label = $("#rotation-groups-" + block).next ().find ('span');
3483
- if (code_data ['options'][0]['groups']) {
3484
- group_label.removeClass ('on');
3485
- } else {
3486
- group_label.addClass ('on');
3487
- }
3488
- $("#rotation-groups-" + block).click ();
3489
- }
3490
- }
3491
- }).fail (function (xhr, status, error) {
3492
- console.log ("AI IMPORT ROTATION CODE ERROR:", xhr.status, xhr.statusText);
3493
- $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
3494
-
3495
- var rotation_container = $('#ai-rotation-container-' + block);
3496
- set_editor_text (block, b64d (rotation_container.data ('code')));
3497
- rotation_container.hide();
3498
- $("#rotation-" + block).next ("label").find ('.checkbox-icon').removeClass("on");
3499
-
3500
- rotation_container.find ("ul").find ("li").remove ();
3501
- rotation_container.find ("div.rounded").remove ();
3502
- }).always (function() {
3503
- $("#rotation-"+block).next ("label").find ('.checkbox-icon').removeClass("active");
3504
- });
3505
- }
3506
-
3507
- function generate_rotatation_code (block) {
3508
- $("#rotation-"+block).next ("label").find ('.checkbox-icon').addClass("active");
3509
-
3510
- var rotation_container = $('#ai-rotation-container-' + block);
3511
- var option = rotation_container.tabs ("option", "active") + 1;
3512
-
3513
- $(('#option-' + block + '-' + option)).data ('code', b64e (get_editor_text (block)));
3514
-
3515
- // var nonce = $("#ai-form").attr ('nonce');
3516
-
3517
- var rotation_data = [];
3518
- rotation_container.find ("div.rounded").each (function (index) {
3519
- var code_data = $('#option-' + block + '-' + (index + 1)).data ('code');
3520
- var code = typeof code_data == 'undefined' ? '' : b64d (code_data);
3521
- var group_rotation = $("#rotation-groups-" + block).next ().find ('span').hasClass ('on');
3522
- var option_data = {'name': $(this).find ('input.option-name').val (), 'share': $(this).find ('input.option-share').val (), 'time': $(this).find ('input.option-time').val (), 'code': code, 'groups': group_rotation};
3523
-
3524
- rotation_data.push (option_data);
3525
- });
3526
-
3527
- if (debug) console.log ('ROTATION DATA:', rotation_data);
3528
-
3529
- $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'generate-rotation-code': b64e (JSON.stringify (rotation_data))}
3530
- ).done (function (data) {
3531
- $('#ai-error-container').hide ();
3532
-
3533
- if (data != '') {
3534
- var rotation_code = JSON.parse (data);
3535
- if (typeof rotation_code !== "undefined") {
3536
- if (debug) console.log ('ROTATION CODE:', rotation_code);
3537
- set_editor_text (block, rotation_code);
3538
- }
3539
- }
3540
-
3541
- }).fail (function (xhr, status, error) {
3542
- console.log ("AI GENERATE ROTATION CODE ERROR:", xhr.status, xhr.statusText);
3543
- $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
3544
-
3545
- var rotation_container = $('#ai-rotation-container-' + block);
3546
- set_editor_text (block, b64d (rotation_container.data ('code')));
3547
- rotation_container.hide();
3548
- $("#rotation-" + block).next ("label").find ('.checkbox-icon').removeClass("on");
3549
-
3550
- rotation_container.find ("ul").find ("li").remove ();
3551
- rotation_container.find ("div.rounded").remove ();
3552
- }).always (function() {
3553
- $("#rotation-"+block).next ("label").find ('.checkbox-icon').removeClass("active");
3554
-
3555
- $('input[name=ai_save]').css ('color', '#555');
3556
- $('.ai-rotation-warning').hide ();
3557
- });
3558
- }
3559
-
3560
- function add_rotate_options (block, new_options) {
3561
- var rotation_container = $('#ai-rotation-container-' + block);
3562
- var ul = rotation_container.find ("ul");
3563
- var options = rotation_container.find ('ul >li').length;
3564
-
3565
- var rotation_tabs = $('#rotation-tabs');
3566
- var li = rotation_tabs.find ("li");
3567
- var div = rotation_tabs.find ("div.rounded");
3568
-
3569
- var insertion = 0;
3570
-
3571
- for (option = options + 1; option <= options + new_options; option ++) {
3572
- if (option > 17) break;
3573
-
3574
- var new_li = li.clone ().show ();
3575
- new_li.find ("a").attr ('href', '#tab-option-' + block + '-' + option).text (String.fromCharCode (64 + option));
3576
- new_li.attr ('id', 'option-' + block + '-' + option).appendTo (ul).data ('code', b64e (''));
3577
-
3578
- new_li.click (function () {
3579
- var rotation_container = $(this).closest ('.ai-rotate');
3580
- var block = rotation_container.attr('id').replace ("ai-rotation-container-", "");
3581
- var old_option = rotation_container.data ('option');
3582
- var new_option = $(this).attr('id').replace ("option-" + block + "-", "");
3583
- rotation_container.data ('option', new_option);
3584
-
3585
- if (debug) console.log ('OPTION CHANGE:', old_option, '=>', new_option);
3586
-
3587
- $(('#option-' + block + '-' + old_option)).data ('code', b64e (get_editor_text (block)));
3588
- set_editor_text (block, b64d ($(this).data ('code')));
3589
- });
3590
-
3591
- div.clone ().show ().attr ('id', 'tab-option-' + block + '-' + option).appendTo (rotation_container);
3592
-
3593
- rotation_container.tabs ("refresh");
3594
- }
3595
-
3596
- rotation_container.tabs ("option", "active", option - 2);
3597
- }
3598
-
3599
- function remove_rotate_option (block, option) {
3600
- var rotation_container = $('#ai-rotation-container-' + block);
3601
- var options = rotation_container.find ('ul >li').length;
3602
-
3603
- if (options == 1) return;
3604
-
3605
- var ul = rotation_container.find ("ul");
3606
-
3607
- ul.find ("li").slice (option, option + 1).remove ();
3608
- var div = rotation_container.find ("div.rounded").slice (option, option + 1).remove ();
3609
-
3610
- rotation_container.find ('ul li').each (function (index) {
3611
- var option = index + 1;
3612
- $(this).attr ('id', 'option-' + block + '-' + option).find ("a").attr ('href', '#tab-option-' + block + '-' + option).text (String.fromCharCode (64 + option));
3613
- });
3614
-
3615
- rotation_container.find ("div.rounded").each (function (index) {
3616
- var option = index + 1;
3617
- $(this).attr ('id', 'tab-option-' + block + '-' + option);
3618
- });
3619
-
3620
- rotation_container.tabs ("refresh");
3621
-
3622
- var new_option = option == 0 ? 0 : option - 1;
3623
- active_li = $('#option-' + block + '-' + (new_option + 1));
3624
- set_editor_text (block, b64d (active_li.data ('code')));
3625
- ul.closest ('.ai-rotate').data ('option', new_option + 1);
3626
- }
3627
-
3628
- function create_list_selector (element_name_prefix, index) {
3629
- var select = $('#'+element_name_prefix+'-select-' + index);
3630
- if (select.length !== 0) {
3631
- var button = $('#'+element_name_prefix+'-button-'+index);
3632
-
3633
- var list_prefix = button.data ('list');
3634
- if (list_prefix == null) list_prefix = element_name_prefix;
3635
-
3636
- function update_list (list, element_name_prefix) {
3637
- if (typeof before_update_selection_from_list == 'function') {
3638
- before_update_selection_from_list (index);
3639
- }
3640
-
3641
- button.find ('span.ui-button-text').addClass ('ai-button-updating');
3642
-
3643
- setTimeout (function() {
3644
- update_selection_from_list (list, element_name_prefix);
3645
- }, 5);
3646
- }
3647
-
3648
- button.click (function () {
3649
- if (!select.hasClass ('multi-select')) {
3650
- var options = select.find ('option');
3651
- if (options.length == 0) {
3652
- // var nonce = $("#ai-form").attr ('nonce');
3653
-
3654
- var filter_element = $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-input');
3655
- var filter = filter_element.length ? filter_element.val () : '';
3656
-
3657
- var parameters_data = select.data ('parameters');
3658
- var parameters = typeof parameters_data == 'undefined' ? '' : parameters_data;
3659
-
3660
- $('#ai-loading').show ();
3661
- button.find ('span.ui-button-text').addClass ('ai-button-active').show ();
3662
-
3663
- $.get (ajaxurl + '?action=ai_ajax_backend&list-options=' + element_name_prefix + '&parameters=' + parameters + '&filter=' + filter + '&ai_check=' + ai_nonce, function (data) {
3664
- if (data != '') {
3665
- var message = '';
3666
- var options = $('option', '<div>'+data+'</div>');
3667
- if (options.length != 0) {
3668
- if ($(options [0]).attr ('value').length == 0) {
3669
- message = $(options [0]).text ();
3670
- options = options.splice (1);
3671
- }
3672
- }
3673
- select.attr ('data-message', message);
3674
-
3675
- select.html (options);
3676
- create_multi_select (select, element_name_prefix, list_prefix, index);
3677
-
3678
- $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-message').text (message);
3679
-
3680
- update_list ($('#'+list_prefix+'-list-'+index), element_name_prefix);
3681
- }
3682
-
3683
- }).fail (function (xhr, status, error) {
3684
- $('input.filter-input', selection_container).remove ();
3685
- var message = "Error loading " + element_name_prefix + " options: " + xhr.status + " " + xhr.statusText ;
3686
- console.log (message);
3687
- })
3688
- .always (function () {
3689
- $('#ai-loading').hide ();
3690
- button.find ('span.ui-button-text').removeClass ('ai-button-active');
3691
- });
3692
-
3693
- } else create_multi_select (select, element_name_prefix, list_prefix, index);
3694
-
3695
- } else {
3696
- update_list ($('#'+list_prefix+'-list-'+index), element_name_prefix);
3697
- $('#ms-'+element_name_prefix+'-select-'+index).toggle();
3698
- }
3699
- });
3700
-
3701
-
3702
- $('#'+list_prefix+'-list-'+index).focusout (function () {
3703
- var selection_container = $('#ms-'+element_name_prefix+'-select-'+index);
3704
- if (selection_container.length && selection_container.is (':visible')) {
3705
- update_list ($(this), element_name_prefix);
3706
- }
3707
- });
3708
- }
3709
- }
3710
-
3711
- function update_list_from_selection (select_element, element_name_prefix, list_prefix) {
3712
-
3713
- var ms = select_element.$element;
3714
- var ms_val = ms.val();
3715
- if (ms_val != null) {
3716
- if (ms_val [0] == '') {
3717
- ms_val = ms_val.splice (1)
3718
- }
3719
- ms_val = ms_val.join (', ').trim (',');
3720
- }
3721
- var index = ms.attr ('id').replace (element_name_prefix+'-select-','');
3722
- var list = $('#'+list_prefix+'-list-'+index);
3723
-
3724
- var custom_data = list.attr ('data-custom');
3725
-
3726
- if (typeof custom_data != 'undefined' && custom_data != '') {
3727
- if (ms_val != null) {
3728
- if (ms_val != '') ms_val = ms_val + ', ';
3729
- ms_val = ms_val + custom_data;
3730
- } else ms_val = custom_data;
3731
- }
3732
-
3733
- list.attr ('value', ms_val);
3734
- select_element.qs1.cache();
3735
- // select_element.qs2.cache();
3736
- }
3737
-
3738
- function update_selection_from_list (list_element, element_name_prefix) {
3739
-
3740
- Array.prototype.diff = function (a) {
3741
- return this.filter(function (i) {
3742
- return a.indexOf(i) === -1;
3743
- });
3744
- };
3745
-
3746
- var index = list_element.attr ('id').replace (/^\D+/g, '');
3747
- var select = $('#'+element_name_prefix+'-select-'+index);
3748
- var selection_container = $('#ms-'+element_name_prefix+'-select-'+index);
3749
-
3750
- if (selection_container.is(':visible')) {
3751
- var list_items = list_element.attr ('value').split (',').map (Function.prototype.call, String.prototype.trim);
3752
-
3753
- if (list_items [0] == '') {
3754
- list_items = list_items.splice (1)
3755
- }
3756
-
3757
- if (list_element.hasClass ('ai-list-filter'))
3758
- for (var i = 0; i < list_items.length; i++) {
3759
- list_items [i] = list_items [i].replace (/ /g , '-').replace (/[\!\@\#\$%\^&\*\(\)\=\+\{\}\|\[\]\\\;\'\:\"\.\/\?]/g , '');
3760
- }
3761
-
3762
- if (list_element.hasClass ('ai-list-uppercase')) list_items = list_items.map (Function.prototype.call, String.prototype.toUpperCase); else
3763
- if (list_element.hasClass ('ai-list-lowercase')) list_items = list_items.map (Function.prototype.call, String.prototype.toLowerCase); else
3764
- if (list_element.hasClass ('ai-list-country-case')) {
3765
- var list_items = list_items.map (function callback (currentValue) {
3766
- var data = currentValue.split (':');
3767
- if (data [0] != null) data [0] = data [0].toUpperCase ();
3768
- if (data [1] != null) data [1] = data [1].toUpperCase ();
3769
- if (data [2] != null) data [2] = data [2].toLowerCase ();
3770
- return data.join (':');
3771
- });
3772
- }
3773
-
3774
- $('#'+element_name_prefix+'-select-'+index).multiSelect('refresh').multiSelect ('deselect_all').multiSelect ('select', list_items);
3775
-
3776
- if (list_element.hasClass ('ai-list-custom')) {
3777
- var custom_values = list_items;
3778
- var selected_values = $('#'+element_name_prefix+'-select-'+index).val ();
3779
-
3780
- if (selected_values != null) custom_values = list_items.diff (selected_values);
3781
- if (custom_values != null) custom_values = custom_values.join (', ');
3782
-
3783
- list_element.attr ('data-custom', custom_values);
3784
-
3785
- select.multiSelect ('deselect_all').multiSelect ('select', list_items);
3786
- }
3787
-
3788
- if (select.hasClass ('ai-list-filter')) {
3789
- var filter_div = $('#ms-'+element_name_prefix+'-select-'+index).find ('.ai-list-filter-container');
3790
- var filter_input = filter_div.find ('.filter-input');
3791
- var filter_button = filter_div.find ('.filter-button');
3792
-
3793
- if (!filter_div.hasClass ('configured')) {
3794
- filter_div.addClass ('configured');
3795
-
3796
- filter_input.on ('keyup keypress', function(e) {
3797
- var keyCode = e.keyCode || e.which;
3798
- if (keyCode === 13) {
3799
- e.preventDefault();
3800
- filter_button.click ();
3801
- return false;
3802
- }
3803
- });
3804
-
3805
- filter_button.on ('click', function(e) {
3806
- e.preventDefault();
3807
-
3808
- var filter = filter_input.val ();
3809
- select.attr ('data-filter', filter);
3810
-
3811
- select.empty ();
3812
- select.removeClass ('multi-select');
3813
- $('#'+element_name_prefix+'-button-'+index).click ();
3814
-
3815
- return false;
3816
- });
3817
- }
3818
-
3819
- filter_div.show ();
3820
- $('#ms-'+element_name_prefix+'-select-'+index).find ('.search-input').hide ();
3821
- filter_button.button().show ();
3822
- filter_input.val (select.attr ('data-filter'));
3823
- $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-message').text (select.attr ('data-message'));
3824
- }
3825
- }
3826
-
3827
- var button = $('#'+element_name_prefix+'-button-'+index);
3828
- button.find ('span.ui-button-text').removeClass ('ai-button-updating');
3829
- }
3830
-
3831
- function create_multi_select (select, element_name_prefix, list_prefix, index) {
3832
- select.addClass ('multi-select');
3833
-
3834
- select.multiSelect ({
3835
- selectableHeader:
3836
- '<div class="ai-list-filter-container"> \
3837
- <input type="text" class="filter-input" autocomplete="off" placeholder="' + ai_admin.filter + '" title="' + ai_admin.filter_title + '"> \
3838
- <button class="filter-button" style="margin-top: -2px; display: none;">' + ai_admin.button_filter + '</button> \
3839
- <span class="filter-message"></span> \
3840
- </div> \
3841
- <input type="text" class="search-input" autocomplete="off" placeholder="' + ai_admin.search + '">',
3842
- selectionHeader: '',
3843
- afterInit: function(ms){
3844
- var that = this,
3845
- $selectableSearch = that.$selectableUl.prev(),
3846
- $selectionSearch = that.$selectionUl.prev(),
3847
- selectableSearchString = '#'+that.$container.attr('id')+' .ms-elem-selectable:not(.ms-selected)',
3848
- selectionSearchString = '#'+that.$container.attr('id')+' .ms-elem-selection.ms-selected';
3849
-
3850
- that.qs1 = $selectableSearch.quicksearch (selectableSearchString)
3851
- .on('keydown', function(e){
3852
- if (e.which === 40){
3853
- that.$selectableUl.focus();
3854
- return false;
3855
- }
3856
- });
3857
-
3858
- // that.qs2 = $selectionSearch.quicksearch (selectionSearchString)
3859
- // .on('keydown', function(e){
3860
- // if (e.which == 40){
3861
- // that.$selectionUl.focus();
3862
- // return false;
3863
- // }
3864
- // });
3865
- },
3866
- afterSelect: function(values){
3867
- update_list_from_selection (this, element_name_prefix, list_prefix);
3868
- },
3869
- afterDeselect: function(values){
3870
- update_list_from_selection (this, element_name_prefix, list_prefix);
3871
- }
3872
- });
3873
-
3874
- // $('#ms-'+element_name_prefix+'-select-' + index).hide();
3875
- }
3876
-
3877
- function create_list_editor (element_name_prefix, index) {
3878
- var editor = $('#'+element_name_prefix+'-editor-'+index);
3879
- var list = $('#'+element_name_prefix+'-list-'+index);
3880
- if (editor.length !== 0) {
3881
- $('#'+element_name_prefix+'-button-'+index).click (function () {
3882
- update_editor_from_list (list, element_name_prefix, true);
3883
- });
3884
-
3885
- editor.focusout (function () {
3886
- update_list_from_editor (editor, element_name_prefix)
3887
- });
3888
-
3889
- list.focusout (function () {
3890
- if (editor.is(':visible'))
3891
- update_editor_from_list ($(this), element_name_prefix, false);
3892
- });
3893
- }
3894
- }
3895
-
3896
- function clean_url_list (list_element, list_items) {
3897
-
3898
- var clean_protocol = list_element.hasClass ('ai-clean-protocol');
3899
- var clean_domain = list_element.hasClass ('ai-clean-domain');
3900
- var only_domain = list_element.hasClass ('ai-only-domain');
3901
- var sort_list = list_element.hasClass ('ai-list-sort');
3902
-
3903
- function onlyUnique (value, index, self) {
3904
- return self.indexOf (value) === index;
3905
- }
3906
-
3907
- list_items = list_items.filter (onlyUnique);
3908
-
3909
- var clean_list_items = [];
3910
-
3911
- for (var i = 0; i < list_items.length; i++) {
3912
- var list_item = list_items [i];
3913
-
3914
- if (clean_protocol && list_item.indexOf ('http') == 0) {
3915
- list_item = list_item.replace ('http://', '');
3916
- list_item = list_item.replace ('https://', '');
3917
-
3918
- var slash = list_item.indexOf ("/");
3919
-
3920
- if (clean_domain) {
3921
- if (slash > 0) {
3922
- list_item = list_item.substring (slash);
3923
- } else list_item = '';
3924
- } else
3925
- if (only_domain) {
3926
- if (slash > 0) {
3927
- list_item = list_item.substring (0, slash);
3928
- }
3929
- }
3930
- }
3931
-
3932
- if (list_item != '') clean_list_items.push (list_item);
3933
- }
3934
-
3935
- if (sort_list) {
3936
- clean_list_items.sort();
3937
- }
3938
-
3939
- return clean_list_items;
3940
- }
3941
-
3942
- function update_editor_from_list (list_element, element_name_prefix, toggle) {
3943
- var index = list_element.attr ('id').replace (element_name_prefix+'-list-','');
3944
- var editor = $('#'+element_name_prefix+'-editor-'+index);
3945
- if (toggle) editor.toggle();
3946
- if (editor.is(':visible')) {
3947
-
3948
- var list = list_element.attr ('value');
3949
- var list_separator = ',';
3950
-
3951
- if (list_element.hasClass ('ai-list-space')) {
3952
- if (list.indexOf (' ') > - 1 && list.indexOf (',') == - 1) list_separator = ' ';
3953
- }
3954
-
3955
- var list_items = list.split (list_separator).map (Function.prototype.call, String.prototype.trim);
3956
-
3957
- clean_list_items = clean_url_list (list_element, list_items);
3958
-
3959
- editor.val (clean_list_items.join ("\n"));
3960
- } else update_list_from_editor (editor, element_name_prefix)
3961
- }
3962
-
3963
- function update_list_from_editor (editor, element_name_prefix) {
3964
- var list_items = editor.val ().split ("\n").map (Function.prototype.call, String.prototype.trim);
3965
-
3966
- var index = editor.attr ('id').replace (element_name_prefix+'-editor-','');
3967
- var list_element = $('#'+element_name_prefix+'-list-'+index);
3968
-
3969
- clean_list_items = clean_url_list (list_element, list_items);
3970
-
3971
- list_element.attr ('value', clean_list_items.join (', '));
3972
- }
3973
-
3974
- function configure_hidden_tab () {
3975
- var current_tab;
3976
- var tab;
3977
-
3978
- if (debug) console.log ("");
3979
- if (debug) {
3980
- var current_time_start = new Date().getTime();
3981
- console.log ("since last time: " + ((current_time_start - last_time) / 1000).toFixed (3));
3982
- }
3983
- if (debug) console.log ("configure_hidden_tab");
3984
- if (debug) console.log ("tabs_to_configure: " + tabs_to_configure);
3985
-
3986
- do {
3987
- if (tabs_to_configure.length == 0) {
3988
- save_enabled = true;
3989
- if (debug_title) $("#plugin_name").css ("color", "#000");
3990
- if (debug) console.log ("configure_hidden_tab: DONE");
3991
- return;
3992
- }
3993
- current_tab = tabs_to_configure.pop();
3994
- tab = $("#tab-" + current_tab);
3995
- } while (tab.hasClass ('configured'));
3996
-
3997
- if (debug) console.log ("Configuring tab: " + current_tab);
3998
-
3999
- if (current_tab != 0) configure_tab (current_tab); else configure_tab_0 ();
4000
-
4001
- if (debug) {
4002
- var current_time = new Date().getTime();
4003
- console.log ("time: " + ((current_time - current_time_start) / 1000).toFixed (3));
4004
- console.log ("TIME: " + ((current_time - start_time) / 1000).toFixed (3));
4005
- last_time = current_time;
4006
- }
4007
-
4008
- if (tabs_to_configure.length != 0) setTimeout (configure_hidden_tab, 10);
4009
- else {
4010
- save_enabled = true;
4011
- if (debug_title) $("#plugin_name").css ("color", "#000");
4012
- if (debug) console.log ("configure_hidden_tab: DONE");
4013
- }
4014
- }
4015
-
4016
- function configure_chart (container) {
4017
- var ai_adb_flag_blocked = 0x80;
4018
-
4019
- if (!$(container).hasClass ('not-configured')) return;
4020
- var template = $(container).data ('template');
4021
-
4022
- if (typeof template != 'undefined') {
4023
- var new_colors = [];
4024
- var color_indexes = $(container).data ('colors');
4025
- if (typeof color_indexes != 'undefined') {
4026
- var colors = $.elycharts.templates['ai-pie'].defaultSeries.values;
4027
- color_indexes.forEach (function (element) {
4028
- if (element == ai_adb_flag_blocked )
4029
- new_colors.push (colors [9]); else
4030
- new_colors.push (colors [element]);
4031
- });
4032
- }
4033
-
4034
- var values = $(container).data ('values-1');
4035
- if (values == null) values = $(container).data ('values-2');
4036
- if (values == null) values = $(container).data ('values-3');
4037
- if (values == null) values = $(container).data ('values-4');
4038
- if (values == null) values = $(container).data ('values-5');
4039
- if (values == null) values = $(container).data ('values-6');
4040
- if (values == null) values = $(container).data ('values-7');
4041
- if (values == null) values = $(container).data ('values-8');
4042
- if (values == null) values = $(container).data ('values-9');
4043
-
4044
- var legend = $(container).data ('legend');
4045
- if (typeof legend != 'undefined' && typeof legend ['serie' + (ai_adb_flag_blocked + 1)] != 'undefined') {
4046
- var new_legend = {};
4047
- for (var legend_item in legend) {
4048
- if (legend_item == 'serie' + (ai_adb_flag_blocked + 1))
4049
- new_legend ['serie10'] = legend [legend_item]; else
4050
- new_legend [legend_item] = legend [legend_item];
4051
- }
4052
- legend = new_legend;
4053
- }
4054
-
4055
- $(container).chart({
4056
- template: template,
4057
- labels: $(container).data ('labels'),
4058
- values: {
4059
- serie1: values,
4060
- serie2: $(container).data ('values-2'),
4061
- serie3: $(container).data ('values-3'),
4062
- serie4: $(container).data ('values-4'),
4063
- serie5: $(container).data ('values-5'),
4064
- serie6: $(container).data ('values-6'),
4065
- serie7: $(container).data ('values-7'),
4066
- serie8: $(container).data ('values-8'),
4067
- serie9: $(container).data ('values-9'),
4068
- serie10: $(container).data ('values-' + (ai_adb_flag_blocked + 1)), // BLOCKED
4069
- },
4070
- legend: legend,
4071
- tooltips: {serie1: $(container).data ('tooltips')},
4072
- defaultSeries: {values: new_colors, tooltip: {height: $(container).data ('tooltip-height')}},
4073
- defaultAxis : {
4074
- max: $(container).data ('max'),
4075
- },
4076
- features: {
4077
- grid: {
4078
- draw: values == null ? true : values.length < 50,
4079
- }
4080
- }
4081
- });
4082
-
4083
- $(container).removeClass ('not-configured');
4084
- $(container).parent().find ('div.ai-chart-label').show ();
4085
- }
4086
- }
4087
-
4088
- function update_rating (parameter) {
4089
- var rating_bar = $('#ai-rating-bar');
4090
- // var nonce = rating_bar.attr ('nonce');
4091
- $("#rating-value span").load (ajaxurl+"?action=ai_ajax_backend&rating=" + parameter + "&ai_check=" + ai_nonce, function() {
4092
- var rating = $("#rating-value span").text ();
4093
- var rating_value = 0;
4094
- if (rating != '') var rating_value = parseFloat (rating);
4095
- $("#rating-value").css ('width', rating_value * 20 + '%');
4096
-
4097
- if ($("#rating-value span").text () == '') {
4098
- $("#ai-rating-bar").hide ();
4099
- $('#ai-stars').show ();
4100
- }
4101
- });
4102
- }
4103
-
4104
- function configure_charts (container) {
4105
- $(container).find ('.ai-chart.not-configured').each (function() {
4106
- if (!$(this).hasClass ('hidden')) {
4107
- $(this).attr ('style', '');
4108
- configure_chart (this);
4109
- }
4110
- });
4111
- }
4112
-
4113
- function replace_block_number (element, attribute, old_block, new_block) {
4114
- var attr_value = element.attr (attribute);
4115
- var attr_number = attr_value.substr (- old_block.toString().length);
4116
- if (attr_number == old_block) {
4117
- element.attr (attribute, attr_value.substr (0, attr_value.length - old_block.toString().length) + new_block);
4118
-
4119
- // console.log (attribute, element.attr (attribute));
4120
- }
4121
- }
4122
-
4123
- function copy_to_clipboard () {
4124
- if (debug) console.log ("AI COPY FROM BLOCK", active_tab);
4125
-
4126
- var clipboard = $('#ai-clipboard');
4127
- clipboard.html ($('#ai-clipboard-template').html ());
4128
-
4129
- $('div#tab-' + active_tab + ' input[name]:checkbox').each (function (index){
4130
- var attr = $(this).attr('checked');
4131
- var checked = typeof attr !== typeof undefined && attr !== false;
4132
-
4133
- if (checked)
4134
- clipboard.find ('input[name]:checkbox').eq (index).attr ('checked', 'checked').next ("label").find ('.checkbox-icon').addClass("on"); else
4135
- clipboard.find ('input[name]:checkbox').eq (index).removeAttr ('checked').next ("label").find ('.checkbox-icon').removeClass("on");
4136
- });
4137
-
4138
- $('div#tab-' + active_tab + ' input[name]:radio').each (function (index){
4139
- var attr = $(this).attr('checked');
4140
- var checked = typeof attr !== typeof undefined && attr !== false;
4141
-
4142
- if (checked)
4143
- clipboard.find ('input[name]:radio').eq (index).attr ('checked', 'checked'); else
4144
- clipboard.find ('input[name]:radio').eq (index).removeAttr ('checked');
4145
- });
4146
-
4147
- $('div#tab-' + active_tab + ' select[name]').each (function (index){
4148
- var value = $(this).find ("option:selected").val ();
4149
- clipboard.find ('select[name]').eq (index).find ("option").removeAttr ('selected');
4150
- clipboard.find ('select[name]').eq (index).find ("option[value = '" + value + "']").attr ("selected", true);
4151
- });
4152
-
4153
- $('div#tab-' + active_tab + ' input[name]:text').each (function (index){
4154
- clipboard.find ('input[name]:text').eq (index).attr ('value', $(this).val ());
4155
- });
4156
-
4157
- clipboard.find ('textarea.simple-editor').text (get_editor_text (active_tab));
4158
-
4159
- $("#ai-container .ai-copy").each (function () {
4160
- $(this).next ("label").find ('.checkbox-icon').addClass("on");
4161
- });
4162
- }
4163
-
4164
- function load_saved_settings_to_clipboard (block, paste) {
4165
- if (debug) console.log ("AI LOAD BLOCK", block, "FROM DB");
4166
-
4167
- var tools_button = $("#tools-button-" + active_tab);
4168
- if (!tools_button.next ('label').find ('.checkbox-icon').hasClass ("on")) {
4169
- tools_button.click ();
4170
- }
4171
-
4172
- $('#ai-loading').show ();
4173
- // var nonce = $("#ai-form").attr ('nonce');
4174
-
4175
- $.get (ajaxurl + '?action=ai_ajax_backend&settings=' + block + '&single=1&ai_check=' + ai_nonce, function (settings) {
4176
- if (debug) console.log ("AI BLOCK LOADED");
4177
-
4178
- var clipboard = $('#ai-clipboard');
4179
-
4180
- clipboard.html ($('div#tab-' + block, settings).html ());
4181
-
4182
- clipboard.find ('[id]').each (function () {
4183
- replace_block_number ($(this), 'id', block, 999);
4184
- });
4185
-
4186
- clipboard.find ('[for]').each (function () {
4187
- replace_block_number ($(this), 'for', block, 999);
4188
- });
4189
-
4190
- clipboard.find ('[href]').each (function () {
4191
- replace_block_number ($(this), 'href', block, 999);
4192
- });
4193
-
4194
- clipboard.find ('[name]').each (function () {
4195
- replace_block_number ($(this), 'name', block, 999);
4196
- });
4197
-
4198
- clipboard.find ('[class]').each (function () {
4199
- replace_block_number ($(this), 'class', block, 999);
4200
- });
4201
-
4202
- clipboard.find ('pre.ai-block-number').each (function () {
4203
- var text = $(this).text ().replace (block, 999);
4204
- $(this).text (text);
4205
- });
4206
-
4207
- $("#ai-container .ai-copy").each (function () {
4208
- $(this).next ("label").find ('.checkbox-icon').addClass("on");
4209
- });
4210
-
4211
- // if (paste) {
4212
- // var tools_visible = $('#ai-tools-toolbar-' + active_tab).is(':visible');
4213
-
4214
- // paste_from_clipboard (true, true, true, false);
4215
-
4216
- // if (tools_visible) {
4217
- // $('#ai-tools-toolbar-' + active_tab).show ();
4218
- // $("#tools-button-"+active_tab).next ('label').find ('.checkbox-icon').addClass("on");
4219
- // }
4220
- // }
4221
- }).fail (function (xhr, status, error) {
4222
- console.log ("AI LOADING ERROR:", xhr.status, xhr.statusText);
4223
- $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
4224
- })
4225
- .always (function () {
4226
- $('#ai-loading').hide ();
4227
- });
4228
- }
4229
-
4230
- function paste_from_clipboard (paste_name, paste_code, paste_settings, clear) {
4231
-
4232
- if (clear) {
4233
- var clipboard_template = $('#ai-clipboard-template');
4234
- clipboard_template.find ('input#name-edit-999').attr ('value', 'Block ' + active_tab).attr ('default', 'Block ' + active_tab);
4235
- var clipboard = clipboard_template.html ();
4236
- } else {
4237
- var clipboard = $('#ai-clipboard').html ();
4238
- }
4239
-
4240
- if (clipboard != '' && active_tab != 0) {
4241
- if (debug) console.log ("AI PASTE TO BLOCK", active_tab);
4242
-
4243
- var destination_tab = $('div#tab-' + active_tab);
4244
-
4245
- var name = destination_tab.find ('input#name-edit-' + active_tab).val ();
4246
- var code = get_editor_text (active_tab);
4247
-
4248
- if (paste_settings) {
4249
- var simple_editor = $('#simple-editor-' + active_tab).is(":checked");
4250
- var tools_visible = $('#ai-tools-toolbar-' + active_tab).is(':visible');
4251
- var copy_active = destination_tab.find ('.ai-copy').next ("label").find ('.checkbox-icon').hasClass("on");
4252
-
4253
- if (simple_editor) {
4254
- $('#simple-editor-' + active_tab).click ();
4255
- }
4256
-
4257
- var save_button_text = destination_tab.find ('input[name=ai_save]').attr('value');
4258
- var exceptions_button = destination_tab.find ('#exceptions-button-container-' + active_tab).html ();
4259
- var exceptions_container = destination_tab.find ('#block-exceptions-' + active_tab).html ();
4260
-
4261
- destination_tab.html (clipboard).find ('input[name=ai_save]').attr('value', save_button_text);
4262
-
4263
- if (!paste_name) {
4264
- destination_tab.find ('input#name-edit-999').val (name);
4265
- }
4266
-
4267
- if (!paste_code) {
4268
- destination_tab.find ('textarea#block-999').val (code);
4269
- }
4270
-
4271
- destination_tab.find ('span#name-label-999').text (destination_tab.find ('input#name-edit-999').val ());
4272
-
4273
- var block_name = destination_tab.find ('input#name-edit-999').val ();
4274
- destination_tab.find ('pre.ai-block-name').text ('[adinserter name="' + block_name + '"]');
4275
-
4276
- destination_tab.find ('[id]').each (function () {
4277
- replace_block_number ($(this), 'id', 999, active_tab);
4278
- });
4279
-
4280
- destination_tab.find ('[for]').each (function () {
4281
- replace_block_number ($(this), 'for', 999, active_tab);
4282
- });
4283
-
4284
- destination_tab.find ('[href]').each (function () {
4285
- replace_block_number ($(this), 'href', 999, active_tab);
4286
- });
4287
-
4288
- destination_tab.find ('[name]').each (function () {
4289
- replace_block_number ($(this), 'name', 999, active_tab);
4290
- });
4291
-
4292
- destination_tab.find ('[class]').each (function () {
4293
- replace_block_number ($(this), 'class', 999, active_tab);
4294
- });
4295
-
4296
- destination_tab.find ('pre.ai-sidebars').text ('');
4297
-
4298
- destination_tab.find ('pre.ai-block-number').each (function () {
4299
- var text = $(this).text ().replace (999, active_tab);
4300
- $(this).text (text);
4301
- });
4302
-
4303
- destination_tab.find ('#exceptions-button-container-' + active_tab).html (exceptions_button);
4304
- destination_tab.find ('#block-exceptions-' + active_tab).html (exceptions_container);
4305
-
4306
- configure_tab (active_tab);
4307
-
4308
- if (simple_editor) {
4309
- $('#simple-editor-' + active_tab).click ();
4310
- }
4311
-
4312
- if (tools_visible) {
4313
- $('#ai-tools-toolbar-' + active_tab).show ();
4314
- $("#tools-button-" + active_tab).next ('label').find ('.checkbox-icon').addClass ("on");
4315
- }
4316
-
4317
- if (copy_active) {
4318
- destination_tab.find ('.ai-copy').next ("label").find ('.checkbox-icon').addClass("on");
4319
- }
4320
- } else {
4321
- if (paste_name) {
4322
- var clipboard_name = $(clipboard).find ('input#name-edit-999').val ();
4323
- destination_tab.find ('input#name-edit-' + active_tab).val (clipboard_name);
4324
- destination_tab.find ('span#name-label-' + active_tab).text (clipboard_name);
4325
- destination_tab.find ('pre.ai-block-name').text ('[adinserter name="' + clipboard_name + '"]');
4326
- }
4327
-
4328
- if (paste_code) {
4329
- set_editor_text (active_tab, $(clipboard).find ('textarea#block-999').val ());
4330
- }
4331
- }
4332
-
4333
- if (debug) console.log ("AI PASTE END");
4334
- } else if (debug) console.log ("AI PASTE FAILED");
4335
- }
4336
-
4337
-
4338
- function configure_list () {
4339
- var data_container = $("#ai-list-data");
4340
-
4341
- $(".ai-tab-link").click (function () {
4342
- var tab = $(this).data ('tab') - start;
4343
- $("#ai-tab-container").tabs ({active: tab});
4344
- });
4345
-
4346
- $("label.ai-copy-block").click (function () {
4347
- var block = $(this).closest ('tr').data ('block');
4348
-
4349
- load_saved_settings_to_clipboard (block, true);
4350
- });
4351
-
4352
- $("label.ai-preview-block").click (function () {
4353
- var block = $(this).closest ('tr').data ('block');
4354
-
4355
- var window_width = 820;
4356
- var window_height = 820;
4357
- var window_left = 100;
4358
- var window_top = (screen.height / 2) - (820 / 2);
4359
- // var nonce = $("#ai-form").attr ('nonce');
4360
-
4361
- var param = {'action': 'ai_ajax_backend', 'preview': block, 'ai_check': ai_nonce, 'read_only': 1};
4362
- open_popup_window_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);
4363
- });
4364
-
4365
- data_container.disableSelection();
4366
- }
4367
-
4368
- function reload_list () {
4369
- list_search_reload = false;
4370
- var list = encodeURIComponent ($("#ai-list-search").val());
4371
- var all = + !$("#ai-load-all").hasClass ('light-blue');
4372
-
4373
- var rearrange_controls = $('#list-rearrange-controls');
4374
- var rearrange = rearrange_controls.hasClass ('rearrange')
4375
-
4376
- rearrange_controls.removeClass ('rearrange').hide ();
4377
- $("#ai-rearrange").removeClass ('blue');
4378
-
4379
- var rearrange_data = '';
4380
- if (rearrange) {
4381
- var table = $('table#ai-list-table');
4382
- var original_blocks = table.data ('blocks');
4383
- if (typeof original_blocks == 'undefined') original_blocks = new Array();
4384
-
4385
- var new_blocks = new Array();
4386
- table.find ('tbody tr').each (function (index) {
4387
- new_blocks.push ($(this).data ('block'));
4388
- });
4389
-
4390
- rearrange_data = "&blocks-org=" + JSON.stringify (original_blocks) + "&blocks-new=" + JSON.stringify (new_blocks);
4391
- }
4392
-
4393
- var data_container = $("#ai-list-data");
4394
-
4395
- data_container.load (ajaxurl+"?action=ai_ajax_backend&list=" + list + "&all=" + all + "&start=" + start + "&end=" + end + rearrange_data + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4396
- if (status == "error") {
4397
- var message = "Error downloading list data: " + xhr.status + " " + xhr.statusText;
4398
- data_container.html (message);
4399
- if (debug) console.log (message);
4400
- } else {
4401
- // $(".ai-tab-link").click (function () {
4402
- // var tab = $(this).data ('tab') - start;
4403
- // $("#ai-tab-container").tabs ({active: tab});
4404
- // });
4405
-
4406
- // $("label.ai-copy-block").click (function () {
4407
- // var block = $(this).closest ('tr').data ('block');
4408
-
4409
- // load_saved_settings_to_clipboard (block, true);
4410
- // });
4411
-
4412
- // $("label.ai-preview-block").click (function () {
4413
- // var block = $(this).closest ('tr').data ('block');
4414
-
4415
- // var window_width = 820;
4416
- // var window_height = 820;
4417
- // var window_left = 100;
4418
- // var window_top = (screen.height / 2) - (820 / 2);
4419
- //// var nonce = $("#ai-form").attr ('nonce');
4420
-
4421
- // var param = {'action': 'ai_ajax_backend', 'preview': block, 'ai_check': ai_nonce, 'read_only': 1};
4422
- // open_popup_window_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);
4423
- // });
4424
-
4425
-
4426
- // data_container.disableSelection();
4427
-
4428
- configure_list ();
4429
-
4430
- if (rearrange) reload_settings ();
4431
- }
4432
- });
4433
- }
4434
-
4435
- function reload_adsense_list (update_ad_units) {
4436
- adsense_search_reload = false;
4437
- var list = encodeURIComponent ($("#adsense-list-search").val());
4438
- var all = + !$("#adsense-load-all").parent ().find ('.checkbox-icon').hasClass ('on');
4439
- // var nonce = $("#ai-form").attr ('nonce');
4440
-
4441
- var data_container = $("#adsense-list-data");
4442
-
4443
- data_container.load (ajaxurl+"?action=ai_ajax_backend&adsense-list=" + list + "&all=" + all + "&update_ad_units=" + (update_ad_units ? 1 : 0) + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4444
- $("#adsense-reload").parent ().find ('.checkbox-icon').removeClass ('on');
4445
-
4446
- if (status == "error") {
4447
- var message = "Error downloading AdSense data: " + xhr.status + " " + xhr.statusText;
4448
- data_container.html (message);
4449
- if (debug) console.log (message);
4450
-
4451
-
4452
- } else {
4453
- if ($('#adsense-client-id', data_container).length) {
4454
- $('#adsense-list-controls').hide ();
4455
- $('button.ai-top-button', data_container).button().show ();
4456
-
4457
- $("#save-client-ids").click (function () {
4458
-
4459
- var client_id = $("input#adsense-client-id").val ();
4460
- var client_secret = $("input#adsense-client-secret").val ();
4461
-
4462
- data_container.text (ai_admin.loading);
4463
-
4464
- // var nonce = $("#ai-form").attr ('nonce');
4465
-
4466
- $('#ai-loading').show ();
4467
- $.get (ajaxurl + '?action=ai_ajax_backend&adsense-client-id=' + btoa (client_id) + '&adsense-client-secret=' + btoa (client_secret) + '&ai_check=' + ai_nonce, function (data) {
4468
- reload_adsense_list (false);
4469
- }).fail (function (xhr, status, error) {
4470
- var message = "Error saving AdSense client IDs: " + xhr.status + " " + xhr.statusText ;
4471
- console.log (message);
4472
- })
4473
- .always (function () {
4474
- $('#ai-loading').hide ();
4475
- });
4476
- });
4477
-
4478
- $(".authorize-adsense", data_container).click (function () {
4479
-
4480
- $('#adsense-list-controls').show ();
4481
- data_container.text (ai_admin.loading);
4482
-
4483
- authorization_code = '';
4484
- update_adsense_authorization (authorization_code);
4485
- });
4486
-
4487
- return;
4488
- } else
4489
-
4490
- if ($('#adsense-authorization-code', data_container).length) {
4491
- $('#adsense-list-controls').hide ();
4492
- $('button.ai-top-button', data_container).button().show ();
4493
-
4494
- $(".authorize-adsense", data_container).click (function () {
4495
-
4496
- var authorization_code = $("input#adsense-authorization-code").val ();
4497
-
4498
- $('#adsense-list-controls').show ();
4499
- data_container.text (ai_admin.loading);
4500
-
4501
- if ($(this).hasClass ('clear-adsense')) authorization_code = '';
4502
- if ($(this).hasClass ('own-ids')) authorization_code = 'own-ids';
4503
-
4504
-
4505
- update_adsense_authorization (authorization_code);
4506
- });
4507
-
4508
- return;
4509
- }
4510
-
4511
- $('#adsense-list-controls').show ();
4512
-
4513
- var publisher_id = $('#adsense-data', data_container).data ('publisher-id');
4514
- if (typeof publisher_id == 'undefined') publisher_id = '';
4515
-
4516
- $('label#google-adsense-button').attr ('title', ai_admin.google_adsense_homepage + ' ' + publisher_id)
4517
- .tooltip({
4518
- track: true,
4519
- delay: 700,
4520
- showURL: false,
4521
- showBody: " | ",
4522
- fade: 250
4523
- });
4524
-
4525
- $("label.adsense-copy-code").click (function () {
4526
- var ad_slot_id = $(this).closest ('tr').data ('id');
4527
- var ad_name = atob ($(this).closest ('tr').data ('name'));
4528
- // var nonce = $("#ai-form").attr ('nonce');
4529
-
4530
- if (debug) console.log ('ADSENSE CODE: ', ad_slot_id);
4531
-
4532
- $('#ai-loading').show ();
4533
- $.get (ajaxurl + '?action=ai_ajax_backend&adsense-code=' + ad_slot_id + '&ai_check=' + ai_nonce, function (data) {
4534
-
4535
- var code_data = JSON.parse (data);
4536
- var error = code_data ['error-message'];
4537
-
4538
- if (error == '') {
4539
- var adsense_code = code_data ['code'];
4540
-
4541
- if (debug) console.log (adsense_code);
4542
-
4543
- var clipboard_template = $('#ai-clipboard-template');
4544
- var clipboard = $('#ai-clipboard');
4545
- clipboard.html (clipboard_template.html ());
4546
- clipboard.find ('input#name-edit-999').attr ('value', ad_name).attr ('default', ad_name);
4547
-
4548
- clipboard.find ('textarea.simple-editor').text (adsense_code);
4549
-
4550
- $("#ai-container .ai-copy").each (function () {
4551
- $(this).next ("label").find ('.checkbox-icon').addClass("on");
4552
- });
4553
-
4554
- var tools_button = $("#tools-button-" + active_tab);
4555
- if (!tools_button.next ('label').find ('.checkbox-icon').hasClass ("on")) {
4556
- tools_button.click ();
4557
- }
4558
- } else {
4559
- console.log ('AdSense API error:', error);
4560
- }
4561
- }).fail (function (xhr, status, error) {
4562
- var message = "Error downloading AdSense code: " + xhr.status + " " + xhr.statusText ;
4563
- console.log (message);
4564
- })
4565
- .always (function () {
4566
- $('#ai-loading').hide ();
4567
- });
4568
-
4569
- });
4570
-
4571
- $("label.adsense-preview-code").click (function () {
4572
- var ad_slot_id = $(this).closest ('tr').data ('id');
4573
- var ad_name = $(this).closest ('tr').data ('name');
4574
-
4575
- var window_width = 820;
4576
- var window_height = 820;
4577
- var window_left = 100;
4578
- var window_top = (screen.height / 2) - (820 / 2);
4579
- // var nonce = $("#ai-form").attr ('nonce');
4580
-
4581
- var param = {'action': 'ai_ajax_backend', 'preview': 'adsense', 'ai_check': ai_nonce, 'read_only': 1, 'slot_id': btoa (ad_slot_id), 'name': ad_name};
4582
- open_popup_window_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);
4583
- });
4584
-
4585
- $("label.adsense-get-code").click (function () {
4586
- var ad_slot_id = $(this).closest ('tr').data ('id');
4587
- var ad_name = atob ($(this).closest ('tr').data ('name'));
4588
- // var nonce = $("#ai-form").attr ('nonce');
4589
-
4590
- if (debug) console.log ('ADSENSE CODE: ', ad_slot_id);
4591
-
4592
- $('#ai-loading').show ();
4593
- $.get (ajaxurl + '?action=ai_ajax_backend&adsense-code=' + ad_slot_id + '&ai_check=' + ai_nonce, function (data) {
4594
-
4595
- var code_data = JSON.parse (data);
4596
- var error = code_data ['error-message'];
4597
-
4598
- if (error == '') {
4599
- var adsense_code = code_data ['code'];
4600
-
4601
- if (debug) console.log (adsense_code);
4602
-
4603
- set_editor_text (active_tab, adsense_code);
4604
- setTimeout (function() {$("#import-code-"+active_tab).click ();}, 10);
4605
- } else {
4606
- console.log ('AdSense API error:', error);
4607
- }
4608
- }).fail (function (xhr, status, error) {
4609
- var message = "Error downloading AdSense code: " + xhr.status + " " + xhr.statusText ;
4610
- console.log (message);
4611
- })
4612
- .always (function () {
4613
- $('#ai-loading').hide ();
4614
- });
4615
- });
4616
-
4617
- data_container.disableSelection();
4618
- }
4619
- });
4620
- }
4621
-
4622
- function load_ads_txt () {
4623
- ads_txt_reload = false;
4624
- var editor_button = $("#ads-txt-editor");
4625
- var reload_button = $("#ads-txt-reload");
4626
- var virtual_button = $("#ads-txt-virtual");
4627
- var virtual = virtual_button.hasClass ('violet') ? '1' : '0';
4628
- var view = editor_button.hasClass ('editor') ? 'text' : 'table';
4629
- var search = encodeURIComponent ($("#ads-txt-search").val());
4630
- var data_container = $("#ads-txt-data");
4631
-
4632
- reload_button.addClass ('red');
4633
-
4634
- data_container.load (ajaxurl+"?action=ai_ajax_backend&ads-txt=" + view + "&virtual=" + virtual + "&search=" + search + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4635
- reload_button.removeClass ('red');
4636
-
4637
- if (status == "error") {
4638
- var message = "Error loading ads.txt file: " + xhr.status + " " + xhr.statusText;
4639
- data_container.html (message);
4640
- if (debug) console.log (message);
4641
- } else {
4642
- if ($('#ads-txt-missing').length != 0) {
4643
- view = 'text';
4644
- editor_button.addClass ('editor');
4645
- $('#ads-txt-search').hide ();
4646
- }
4647
-
4648
- switch (view) {
4649
- case 'text':
4650
- $('#ads-txt-search').hide ();
4651
-
4652
- editor_button.removeClass ('dashicons-edit');
4653
- editor_button.addClass ('dashicons-yes-alt');
4654
- editor_button.addClass ('green');
4655
- editor_button.attr ('title', editor_button.attr ('title-editor'))
4656
- .tooltip({
4657
- track: true,
4658
- delay: 700,
4659
- showURL: false,
4660
- showBody: " | ",
4661
- fade: 250
4662
- });
4663
-
4664
- reload_button.removeClass ('dashicons-download');
4665
- reload_button.addClass ('dashicons-no');
4666
-
4667
- if ($('#ads-txt-missing').length != 0) {
4668
- reload_button.removeClass ('red');
4669
- reload_button.attr ('title', reload_button.attr ('title-table'))
4670
- .tooltip({
4671
- track: true,
4672
- delay: 700,
4673
- showURL: false,
4674
- showBody: " | ",
4675
- fade: 250
4676
- });
4677
- } else {
4678
- reload_button.addClass ('red');
4679
- reload_button.attr ('title', reload_button.attr ('title-editor'))
4680
- .tooltip({
4681
- track: true,
4682
- delay: 700,
4683
- showURL: false,
4684
- showBody: " | ",
4685
- fade: 250
4686
- });
4687
- }
4688
- break;
4689
- case 'table':
4690
- editor_button.removeClass ('dashicons-yes-alt');
4691
- editor_button.removeClass ('green');
4692
- editor_button.addClass ('dashicons-edit');
4693
- editor_button.attr ('title', editor_button.attr ('title-table'))
4694
- .tooltip({
4695
- track: true,
4696
- delay: 700,
4697
- showURL: false,
4698
- showBody: " | ",
4699
- fade: 250
4700
- });
4701
-
4702
- reload_button.removeClass ('dashicons-no');
4703
- reload_button.removeClass ('red');
4704
- reload_button.addClass ('dashicons-download');
4705
- reload_button.attr ('title', reload_button.attr ('title-table'))
4706
- .tooltip({
4707
- track: true,
4708
- delay: 700,
4709
- showURL: false,
4710
- showBody: " | ",
4711
- fade: 250
4712
- });
4713
- break;
4714
- }
4715
-
4716
- $('#ads-txt-controls').show ();
4717
- }
4718
- });
4719
- }
4720
-
4721
- function save_ads_txt (reload) {
4722
- var data_container = $("#ads-txt-data");
4723
- var editor_button = $("#ads-txt-editor");
4724
- var reload_button = $("#ads-txt-reload");
4725
- var virtual_button = $("#ads-txt-virtual");
4726
- var virtual = virtual_button.hasClass ('violet') ? '1' : '0';
4727
- var ads_txt_data = {'text': b64e (data_container.find ('textarea#ads-txt-text').val ())};
4728
-
4729
- $('#ads-txt-error').text ('');
4730
-
4731
- editor_button.removeClass ('green');
4732
- editor_button.addClass ('red');
4733
-
4734
- $.post (ajaxurl+"?action=ai_ajax_backend&ads-txt=save" + "&virtual=" + virtual + "&ai_check=" + ai_nonce, ads_txt_data
4735
- ).done (function (code_data) {
4736
- }).fail (function (xhr, status, error) {
4737
- editor_button.removeClass ('red');
4738
- editor_button.addClass ('green');
4739
-
4740
- var message = "Error saving ads.txt file: " + xhr.status + " " + xhr.statusText;
4741
- $('#ads-txt-error').text (message);
4742
- if (debug) console.log (message);
4743
- }).always (function() {
4744
- editor_button.removeClass ('editor');
4745
-
4746
- editor_button.removeClass ('green');
4747
- editor_button.removeClass ('red');
4748
- editor_button.removeClass ('dashicons-yes-alt');
4749
- editor_button.addClass ('dashicons-edit');
4750
- editor_button.attr ('title', editor_button.attr ('title-editor'))
4751
- .tooltip({
4752
- track: true,
4753
- delay: 700,
4754
- showURL: false,
4755
- showBody: " | ",
4756
- fade: 250
4757
- });
4758
-
4759
- reload_button.addClass ('dashicons-download');
4760
- reload_button.removeClass ('dashicons-no');
4761
- reload_button.removeClass ('red');
4762
- reload_button.attr ('title', reload_button.attr ('title-editor'))
4763
- .tooltip({
4764
- track: true,
4765
- delay: 700,
4766
- showURL: false,
4767
- showBody: " | ",
4768
- fade: 250
4769
- });
4770
-
4771
- $('#ads-txt-search').show ();
4772
-
4773
- if (reload) {
4774
- setTimeout (function() {load_ads_txt ();}, 100);
4775
- }
4776
- });
4777
- }
4778
-
4779
- function set_page_statuses (block) {
4780
- var automatic_insertion = parseInt ($("select#insertion-type-"+block+" option:selected").attr('value'));
4781
- var table = $('#page-types-' + block);
4782
-
4783
- switch (automatic_insertion) {
4784
- case AI_BEFORE_HTML_ELEMENT:
4785
- case AI_AFTER_HTML_ELEMENT:
4786
- case AI_INSIDE_HTML_ELEMENT:
4787
- table.find ('td.ai-page-type').removeClass ('ai-unavailable');
4788
- return;
4789
- }
4790
-
4791
- var pages = ['po', 'pa', 'hp', 'cp', 'ap', 'sp'];
4792
-
4793
- pages.forEach (function (page, index) {
4794
- var positions = $('table.check-pages').attr ('data-positions-' + page);
4795
-
4796
- if (positions != null) {
4797
- var available_insertions = JSON.parse (positions);
4798
-
4799
- if (available_insertions.indexOf (automatic_insertion) != - 1) {
4800
- table.find ('td.ai-page-type.ai-' + page).removeClass ('ai-unavailable').find ('input, label').removeAttr ('title')
4801
- .tooltip({
4802
- track: true,
4803
- delay: 700,
4804
- showURL: false,
4805
- showBody: " | ",
4806
- fade: 250
4807
- });
4808
- } else {
4809
- table.find ('td.ai-page-type.ai-' + page).addClass ('ai-unavailable').find ('input, label').attr ('title', ai_admin.position_might_not_available)
4810
- .tooltip({
4811
- track: true,
4812
- delay: 700,
4813
- showURL: false,
4814
- showBody: " | ",
4815
- fade: 250
4816
- });
4817
- }
4818
- }
4819
- });
4820
- }
4821
-
4822
- function check_page (page, button, last_check) {
4823
- // var nonce = $("#ai-form").attr ('nonce');
4824
- var container = button.closest ('.ai-check-pages');
4825
- var error_message = container.find ('.ai-error-message');
4826
-
4827
- $.get (ajaxurl + '?action=ai_ajax_backend&check-page=' + page + '&ai_check=' + ai_nonce, function (data) {
4828
- if (data != '') {
4829
-
4830
- if (debug) console.log ("AI CHECK PAGES:", data);
4831
-
4832
- try {
4833
- var pages_data = JSON.parse (data);
4834
- var positions = pages_data ['positions'];
4835
- var urls = pages_data ['urls'];
4836
-
4837
- if (debug) console.log ("AI CHECK PAGES positions:", positions);
4838
- if (debug) console.log ("AI CHECK PAGES urls:", urls);
4839
-
4840
- $('table.check-pages').attr ('data-positions-' + page, JSON.stringify (positions));
4841
- $('table.check-pages').attr ('data-urls-' + page, JSON.stringify (urls));
4842
-
4843
- $('table.check-pages td.ai-position.ai-' + page).each (function () {
4844
- $(this).removeClass ('ai-not-checked');
4845
- var insertion = $(this).data ('insertion');
4846
-
4847
- if (positions.indexOf (insertion) == - 1) {
4848
- $(this).addClass ('ai-no').attr ('title', ai_admin.position_not_available);
4849
- } else {
4850
- $(this).addClass ('ai-yes').attr ('title', ai_admin.position_available);
4851
- }
4852
- $(this).tooltip({
4853
- track: true,
4854
- delay: 700,
4855
- showURL: false,
4856
- showBody: " | ",
4857
- fade: 250
4858
- });
4859
- });
4860
-
4861
- if (urls != null && urls.length != 0) {
4862
- $('table.check-pages a.ai-' + page).each (function (index, value) {
4863
- if (typeof urls [index] != 'undefined') {
4864
- $(this).attr ('href', urls [index]).show ();
4865
- }
4866
- });
4867
- }
4868
- } catch (error) {
4869
- // error_message.find ('.ai-error-message-text').text ('JSON error');
4870
- error_message.find ('.ai-error-message-text').text (data);
4871
- error_message.show ();
4872
- console.log ("AI CHECK PAGES: JSON error decoding available positions: " + data);
4873
- }
4874
- }
4875
- }).fail (function (xhr, status, error) {
4876
- error_message.find ('.ai-error-message-text').text (xhr.status + " " + xhr.statusText);
4877
- error_message.show ();
4878
- console.log ('AI CHECK PAGES: Error loading positions for', page + ':', xhr.status, xhr.statusText);
4879
- })
4880
- .always (function () {
4881
- if (last_check) {
4882
- $('#ai-loading').hide ();
4883
- $('#ai-loading-2').hide ();
4884
- button.find ('span.ui-button-text').removeClass ('on');
4885
-
4886
- for (var block = start; block <= end; block ++) {
4887
- set_page_statuses (block);
4888
- }
4889
- }
4890
- });
4891
- }
4892
-
4893
- function configure_tabs () {
4894
-
4895
- var tabs_array = new Array ();
4896
- if (active_tab != 0) tabs_array.push (0);
4897
- for (var tab = end; tab >= start; tab --) {
4898
- if (tab != active_tab) tabs_array.push (tab);
4899
- }
4900
- // Concatenate existing tabs_to_configure (if tab was clicked before page was loaded)
4901
- tabs_to_configure = tabs_array.concat (tabs_to_configure);
4902
-
4903
- setTimeout (configure_hidden_tab, 700);
4904
-
4905
- var index = 16;
4906
- if (active_tab != 0) index = active_tab - start;
4907
- var block_tabs = $("#ai-tab-container").tabs ({active: index});
4908
- $("#ai-plugin-settings-tab-container").tabs ({active: active_tab_0});
4909
-
4910
- // $('#ai-settings').tooltip({
4911
- // show: {effect: "blind",
4912
- // delay: 400,
4913
- // duration: 100}
4914
- // });
4915
-
4916
- if (debug_title) $("#plugin_name").css ("color", "#00f");
4917
-
4918
- if (active_tab == 0) configure_tab_0 (); else configure_tab (active_tab);
4919
-
4920
- $('#dummy-tabs').hide();
4921
- $('#ai-tabs').show();
4922
-
4923
- $('.ai-tab').click (function () {
4924
- var tab_block = $(this).attr ("id");
4925
- tab_block = parseInt (tab_block.replace ("ai-tab",""));
4926
- active_tab = tab_block;
4927
-
4928
- if (debug) console.log ("active_tab: " + active_tab);
4929
-
4930
- if (syntax_highlighting) {
4931
- if (!$("#tab-" + tab_block).hasClass ('configured')) {
4932
- if (debug) console.log ("");
4933
- if (debug) console.log ("Empty tab: " + tab_block);
4934
- tabs_to_configure.push (tab_block);
4935
- setTimeout (configure_hidden_tab, 10);
4936
- if (debug) console.log ("tabs_to_configure: " + tabs_to_configure);
4937
- } else if (tab_block != 0) {
4938
- var editor = ace.edit ("editor-" + tab_block);
4939
- editor.getSession ().highlightLines (10000000);
4940
- }
4941
- }
4942
- });
4943
-
4944
- $('.ai-plugin-tab').click (function () {
4945
- active_tab_0 = $("#ai-plugin-settings-tab-container").tabs ('option', 'active');
4946
- if (debug) console.log ("active_tab_0: " + active_tab_0);
4947
-
4948
- if (syntax_highlighting) {
4949
- var tab_block = $(this).attr ("id");
4950
- tab_block = tab_block.replace ("ai-","");
4951
-
4952
- if (tab_block == 'h') {
4953
- var editor = ace.edit ("editor-h");
4954
- editor.getSession ().highlightLines (10000000);
4955
- } else
4956
- if (tab_block == 'f') {
4957
- editor = ace.edit ("editor-f");
4958
- editor.getSession ().highlightLines (10000000);
4959
- } else
4960
- if (tab_block == 'a') {
4961
- editor = ace.edit ("editor-a");
4962
- editor.getSession ().highlightLines (10000000);
4963
- }
4964
- }
4965
- });
4966
-
4967
- $("#check-pages-button").button ({
4968
- }).show ().click (function () {
4969
- var button = $(this);
4970
- var container = $(this).closest ('.ai-check-pages');
4971
- var error_message = container.find ('.ai-error-message');
4972
-
4973
- $('#ai-loading').show ();
4974
- $('#ai-loading-2').show ();
4975
- error_message.hide ();
4976
- button.find ('span.ui-button-text').addClass ('on');
4977
-
4978
- $('table.check-pages a').removeAttr ('href').hide ();
4979
-
4980
- var pages = ['po', 'pa', 'hp', 'cp', 'ap', 'sp'];
4981
-
4982
- pages.forEach (function (page, index) {
4983
- $('table.check-pages td.ai-position').each (function () {
4984
- $(this).removeClass ('ai-yes').removeClass ('ai-no').addClass ('ai-not-checked').attr ('title', ai_admin.position_not_checked);
4985
- $(this).tooltip({
4986
- track: true,
4987
- delay: 700,
4988
- showURL: false,
4989
- showBody: " | ",
4990
- fade: 250
4991
- });
4992
- });
4993
-
4994
- $('table.ai-page-types td.ai-page-type').each (function () {
4995
- $(this).removeClass ('ai-unavailable');
4996
- });
4997
-
4998
- setTimeout (function() {check_page (page, button, index == pages.length - 1);}, index * 300 + 10);
4999
- });
5000
- });
5001
- }
5002
-
5003
-
5004
- function reload_settings () {
5005
- if (debug) console.log ('RELOAD SETTINGS');
5006
-
5007
- // var nonce = $("#ai-form").attr ('nonce');
5008
- var settings_container = $("#ai-container");
5009
-
5010
- $('#ai-error-container').hide ();
5011
- if (debug_title) $("#plugin_name").css ("color", "#f00");
5012
-
5013
- $('#ai-loading').show ();
5014
-
5015
- var tools = $('#ai-tools-toolbar-' + active_tab).is (':visible');
5016
- var simple_editor = $('#simple-editor-' + active_tab).is(":checked");
5017
- var copy = $("#copy-block-" + active_tab).next ("label").find ('.checkbox-icon').hasClass("on");
5018
-
5019
-
5020
-
5021
- settings_container.load (ajaxurl+"?action=ai_ajax_backend&settings=" + active_tab + "&ai_check=" + ai_nonce, function (response, status, xhr) {
5022
- if (status == "error") {
5023
- $('#ai-loading').hide ();
5024
- var message = ai_admin.error_reloading_settings + ": " + xhr.status + " " + xhr.statusText;
5025
- $('#ai-error-container').text (message).show ();
5026
- if (debug) console.log (message);
5027
- } else {
5028
- if (debug) console.log (' Configuring...');
5029
-
5030
- if (debug) {
5031
- start_time = new Date().getTime();
5032
- last_time = start_time;
5033
- }
5034
-
5035
- configure_tabs ();
5036
-
5037
- if (simple_editor) $('#simple-editor-' + active_tab).click ();
5038
-
5039
- if (tools) $('#tools-button-' + active_tab).click ();
5040
-
5041
- if (copy) {
5042
- $("#ai-container .ai-copy").each (function () {
5043
- $(this).next ("label").find ('.checkbox-icon').addClass("on");
5044
- });
5045
- }
5046
-
5047
- if (debug) console.log (' Configured');
5048
- $('#ai-loading').hide ();
5049
- }
5050
- });
5051
- }
5052
-
5053
- function update_adsense_authorization (authorization_code) {
5054
- // var nonce = $("#ai-form").attr ('nonce');
5055
-
5056
- $('#ai-loading').show ();
5057
- $.get (ajaxurl + '?action=ai_ajax_backend&adsense-authorization-code=' + btoa (authorization_code) + '&ai_check=' + ai_nonce, function (data) {
5058
- reload_adsense_list (false);
5059
- }).fail (function (xhr, status, error) {
5060
- var message = "Error saving AdSense authorization: " + xhr.status + " " + xhr.statusText ;
5061
- console.log (message);
5062
- })
5063
- .always (function () {
5064
- $('#ai-loading').hide ();
5065
- });
5066
- }
5067
-
5068
- function toggle_adsense_list () {
5069
- var container = $("#adsense-list-container");
5070
- container.toggle ();
5071
-
5072
- if (container.is(':visible')) {
5073
- $(".checkbox-icon.icon-adsense").addClass ('on');
5074
- reload_adsense_list (false);
5075
- } else {
5076
- $(".checkbox-icon.icon-adsense").removeClass ('on');
5077
- }
5078
- }
5079
-
5080
- function update_block_code_demo () {
5081
- // var nonce = $("#ai-form").attr ('nonce');
5082
-
5083
- var block_class_name = encodeURIComponent ($('#block-class-name').val ());
5084
- var block_class = $('#block-class').is(":checked") ? 1 : 0;
5085
- var block_number_class = $('#block-number-class').is(":checked") ? 1 : 0;
5086
- var inline_styles = $('#inline-styles').is(":checked") ? 1 : 0;
5087
-
5088
- $.get (ajaxurl + '?action=ai_ajax_backend&update=block-code-demo&block_class_name=' + block_class_name + '&block_class=' + block_class + '&block_number_class=' + block_number_class + '&inline_styles=' + inline_styles + '&ai_check=' + ai_nonce, function (data) {
5089
- $('span#ai-block-code-demo').html (data);
5090
- }).fail (function (xhr, status, error) {
5091
- var message = "Error updating block code demo: " + xhr.status + " " + xhr.statusText ;
5092
- console.log (message);
5093
- });
5094
- }
5095
-
5096
- if (debug) console.log ("READY");
5097
- if (debug_title) $("#plugin_name").css ("color", "#f00");
5098
- if (debug) {
5099
- var current_time_ready = new Date().getTime();
5100
- console.log ("TIME: " + ((current_time_ready - start_time) / 1000).toFixed (3));
5101
- }
5102
-
5103
- $("#blocked-warning").removeClass ('warning-enabled');
5104
- $("#blocked-warning").hide ();
5105
-
5106
- start = parseInt ($('#ai-form').attr('start'));
5107
- end = parseInt ($('#ai-form').attr('end'));
5108
-
5109
- active_tab = start;
5110
- active_tab_0 = 0;
5111
- try {
5112
- var active_tabs = JSON.parse ($("#ai-active-tab").attr ("value"));
5113
- if (typeof active_tabs !== "undefined" && active_tabs.constructor === Array && Number.isInteger (active_tabs [0]) && Number.isInteger (active_tabs [1])) {
5114
- active_tab = parseInt (active_tabs [0]);
5115
- if (active_tab != 0)
5116
- if (active_tab < start || active_tab > end) active_tab = start;
5117
- active_tab_0 = parseInt (active_tabs [1]);
5118
- }
5119
- } catch (e) {}
5120
-
5121
- if (debug) console.log ("active_tabs:", active_tab, active_tab_0);
5122
-
5123
- var plugin_version = $('#ai-data').attr ('version').split ('-') [0];
5124
- if (javascript_version != plugin_version) {
5125
- console.log ('AD INSERTER: plugin version: ' + plugin_version + ', loaded JavaScript version: ' + javascript_version);
5126
-
5127
- // Check page HTML
5128
- var javascript_version_parameter = $("script[src*='ad-inserter.js']").attr('src');
5129
- if (typeof javascript_version_parameter == 'undefined') $("#javascript-version-parameter-missing").show (); else {
5130
- javascript_version_parameter_string = javascript_version_parameter.split('=')[1];
5131
- if (typeof javascript_version_parameter_string == 'undefined') {
5132
- $("#javascript-version-parameter-missing").show ();
5133
- }
5134
- else if (javascript_version_parameter_string != plugin_version) {
5135
- console.log ('AD INSERTER: plugin version: ' + plugin_version + ', JavaScript file version: ' + javascript_version_parameter_string);
5136
- $("#javascript-version-parameter").show ();
5137
- }
5138
- }
5139
-
5140
- $("#javascript-version").html ("Javascript<br />" + javascript_version);
5141
- $("#javascript-warning").show ();
5142
- }
5143
-
5144
- var css_version = $('#ai-data').css ('font-family').replace(/[\"\']/g, '');
5145
- if (css_version.indexOf ('.') == - 1) $("#blocked-warning").show (); else
5146
- if (css_version != plugin_version) {
5147
- console.log ('AD INSERTER: plugin version:', plugin_version + ', loaded CSS version:', css_version);
5148
-
5149
- // Check page HTML
5150
- var css_version_parameter = $("link[href*='ai-settings.css']").attr('href');
5151
- if (typeof css_version_parameter == 'undefined') $("#css-version-parameter-missing").show (); else {
5152
- css_version_parameter_string = css_version_parameter.split('=')[1];
5153
- if (typeof css_version_parameter_string == 'undefined') {
5154
- $("#css-version-parameter-missing").show ();
5155
- }
5156
- else if (css_version_parameter_string != plugin_version) {
5157
- console.log ('AD INSERTER: plugin version:', plugin_version + ', CSS file version:', css_version_parameter_string);
5158
- $("#css-version-parameter").show ();
5159
- }
5160
- }
5161
-
5162
- $("#css-version").html ("CSS<br />" + css_version);
5163
- $("#css-warning").show ();
5164
- }
5165
-
5166
- $('.header button').button().show ();
5167
-
5168
- $("#ai-form").submit (function (event) {
5169
- for (var tab = start; tab <= end; tab ++) {
5170
- remove_default_values (tab);
5171
- }
5172
- remove_default_values (0);
5173
- });
5174
-
5175
- $("div#tab-999").attr ('id', 'ai-clipboard-template').insertBefore ("#ai-clipboard");
5176
-
5177
- configure_tabs ();
5178
-
5179
- $('#plugin_name').dblclick (function () {
5180
- $(".system-debugging").toggle();
5181
- });
5182
-
5183
- $('#ai-stars').click (function () {
5184
- if ($("#rating-value span").text () != '') {
5185
- $("#ai-rating-bar").css ('display', 'inline-block');
5186
- $('#ai-stars').hide ();
5187
- }
5188
- update_rating ('update', '');
5189
- });
5190
-
5191
- $("#ai-rating-bar").click (function () {
5192
- $("#ai-rating-bar").hide ();
5193
- $('#ai-stars').show ();
5194
- });
5195
-
5196
- $("#adsense-list").click (function () {
5197
- // $(this).blur ();
5198
-
5199
- toggle_adsense_list ();
5200
- });
5201
-
5202
- $("#ai-ads-txt").click (function () {
5203
- $(this).blur ();
5204
-
5205
- var container = $("#ads-txt-container");
5206
-
5207
- container.toggle ();
5208
-
5209
- if (container.is(':visible')) {
5210
- $("#ai-ads-txt .checkbox-icon.icon-ads-txt").addClass ('on');
5211
- load_ads_txt ();
5212
- } else {
5213
- $("#ai-ads-txt .checkbox-icon.icon-ads-txt").removeClass ('on');
5214
- }
5215
- });
5216
-
5217
- $("#page-checker-button").click (function () {
5218
- $("#page-checker-container").toggle ();
5219
-
5220
- if ($("#page-checker-container").is(':visible')) {
5221
- $(".page-checker-button").addClass ('blue');
5222
- $("#page-checker-button").addClass ('blue');
5223
- // reload_list ();
5224
- } else {
5225
- $(".page-checker-button").removeClass ('blue');
5226
- $("#page-checker-button").removeClass ('blue');
5227
- }
5228
- });
5229
-
5230
- $("#ai-list").click (function () {
5231
-
5232
- $("#ai-list").toggleClass ('blue');
5233
-
5234
- var container = $("#ai-list-container");
5235
- var list_sticky = $("#ai-pin-list").hasClass ('on');
5236
-
5237
- if (!list_sticky && ($("#ai-list").hasClass ('blue') != container.is(':visible'))) {
5238
- container.toggle ();
5239
- }
5240
-
5241
- if (container.is(':visible')) {
5242
- reload_list ();
5243
- }
5244
-
5245
- if ($("#ai-list").hasClass ('blue')) {
5246
- $("#plugin_name").hide ();
5247
- $("#block-ranges").show ();
5248
- } else {
5249
- $("#plugin_name").show ();
5250
- $("#block-ranges").hide ();
5251
- }
5252
- });
5253
-
5254
- $("#ai-list-search").keyup (function (event) {
5255
- if (!list_search_reload) {
5256
- list_search_reload = true;
5257
- setTimeout (reload_list, 200);
5258
- }
5259
- });
5260
-
5261
- $("#ai-load-all").click (function () {
5262
- $(this).toggleClass ('light-blue');
5263
- reload_list ();
5264
- });
5265
-
5266
- $("#ai-rearrange").click (function () {
5267
- $(this).toggleClass ('blue');
5268
-
5269
- var data_container = $("#ai-list-data");
5270
- var rearrange_controls = $('#list-rearrange-controls');
5271
- if ($(this).hasClass ('blue')) {
5272
- $("#ai-rearrange").attr ('title', ai_admin.cancel_rearrangement)
5273
- .tooltip({
5274
- track: true,
5275
- delay: 700,
5276
- showURL: false,
5277
- showBody: " | ",
5278
- fade: 250
5279
- });
5280
-
5281
- rearrange_controls.show ();
5282
- data_container.find ('tbody').sortable ({
5283
- start: function (event, ui) {$('#list-save').show ();},
5284
- placeholder: "ui-state-highlight"
5285
- }).css ('cursor', 'move');
5286
- } else {
5287
- data_container.find ('tbody').sortable ("disable");
5288
- $("#ai-rearrange").attr ('title', ai_admin.rearrange_block_order)
5289
- .tooltip({
5290
- track: true,
5291
- delay: 700,
5292
- showURL: false,
5293
- showBody: " | ",
5294
- fade: 250
5295
- });
5296
-
5297
- $('#list-save').hide ();
5298
- rearrange_controls.hide ();
5299
- reload_list ();
5300
- }
5301
- });
5302
-
5303
- $("#ai-save-changes").click (function () {
5304
- $('#list-rearrange-controls').addClass ('rearrange')
5305
- reload_list ();
5306
- });
5307
-
5308
- $("#ai-pin-list").click (function () {
5309
- $(this).toggleClass ('on');
5310
-
5311
- var sticky = $(this).hasClass ('on') ? '1' : '0';
5312
-
5313
- if (!$("#ai-list").hasClass ('blue')) {
5314
- $("#ai-list-container").toggle ();
5315
- }
5316
-
5317
- $.get (ajaxurl+"?action=ai_ajax_backend&blocks-sticky=" + sticky + "&start=" + start + "&end=" + end + '&ai_check=' + ai_nonce, function (response, status, xhr) {
5318
- if (status == "error") {
5319
- var message = "Error updating sticky: " + xhr.status + " " + xhr.statusText;
5320
- var data_container = $("#ai-list-data");
5321
- data_container.html (message);
5322
- if (debug) console.log (message);
5323
- } else {
5324
- if (debug) console.log ('AI blocks sticky:', response);
5325
- }
5326
- });
5327
- });
5328
-
5329
- if ($("#maxmind-db-status").hasClass ('maxmind-db-missing')) {
5330
- // var nonce = $("#ai-form").attr ('nonce');
5331
- var page = ajaxurl+"?action=ai_ajax_backend&update=maxmind&ai_check=" + ai_nonce;
5332
-
5333
- $("span.maxmind-db-missing").text (ai_admin.downloading);
5334
- $.get (page, function (update_status) {
5335
-
5336
- if (update_status == '') {
5337
- $("span.maxmind-db-missing").closest ('.notice.notice-error').hide ();
5338
- $("#maxmind-db-status").text ('');
5339
- } else {
5340
- console.log (update_status);
5341
- var status = JSON.parse (update_status);
5342
- console.log (status);
5343
- if (typeof status !== "undefined") {
5344
- $(".notice span.maxmind-db-missing").text (status [0]);
5345
- $("#maxmind-db-status").text (status [1]);
5346
- } else $("span.maxmind-db-missing").text (ai_admin.update_error);
5347
- }
5348
- }).fail (function(jqXHR, status, err) {
5349
- $("span.maxmind-db-missing").text (ai_admin.download_error);
5350
- });
5351
- }
5352
-
5353
- $("#adsense-load-all").click (function () {
5354
- $(this).parent ().find ('.checkbox-icon').toggleClass ('on');
5355
- reload_adsense_list (false);
5356
- });
5357
-
5358
- $("#adsense-list-search").keyup (function (event) {
5359
- if (!adsense_search_reload) {
5360
- adsense_search_reload = true;
5361
- setTimeout (function() {reload_adsense_list (false);}, 200);
5362
- }
5363
- });
5364
-
5365
- $("#adsense-reload").click (function () {
5366
- $(this).parent ().find ('.checkbox-icon').addClass ('on');
5367
- setTimeout (function() {reload_adsense_list (true);}, 200);
5368
- });
5369
-
5370
- $("#clear-adsense-authorization").click (function () {
5371
- $("#adsense-list-data").text (ai_admin.updating);
5372
- update_adsense_authorization ('');
5373
- });
5374
-
5375
- $('.ai-block-code-demo').change (function () {
5376
- update_block_code_demo ();
5377
- }).on('input',function(e){
5378
- update_block_code_demo ();
5379
- });
5380
-
5381
- setTimeout (function() {update_rating ('');}, 1000);
5382
-
5383
- $("#license-key").dblclick (function () {
5384
- $("#hide-key").toggle ();
5385
- });
5386
-
5387
- $('input[title], button[title], label[title], h2[title], li[title], td[title], select[title], div[title], span[title]').tooltip({
5388
- track: true,
5389
- delay: 700,
5390
- showURL: false,
5391
- showBody: " | ",
5392
- fade: 250
5393
- });
5394
-
5395
- if (debug) console.log ("");
5396
- if (debug) console.log ("READY END");
5397
- if (debug) {
5398
- var current_time = new Date().getTime();
5399
- console.log ("main time: " + ((current_time - current_time_ready) / 1000).toFixed (3));
5400
- }
5401
-
5402
- $("#ads-txt-virtual").click (function () {
5403
-
5404
- function switch_to_physical () {
5405
- var virtual_button = $("#ads-txt-virtual");
5406
- virtual_button.removeClass ('violet');
5407
- virtual_button.attr ('title', virtual_button.attr ('title-physical'))
5408
- .tooltip({
5409
- track: true,
5410
- delay: 700,
5411
- showURL: false,
5412
- showBody: " | ",
5413
- fade: 250
5414
- });
5415
- setTimeout (function() {load_ads_txt ();}, 50);
5416
-
5417
- }
5418
- var editor_button = $("#ads-txt-editor");
5419
- var view = editor_button.hasClass ('editor') ? 'text' : 'table';
5420
- var virtual_button = $("#ads-txt-virtual");
5421
-
5422
- if (virtual_button.hasClass ('violet')) {
5423
- var message = ai_admin.switch_to_physical_ads_txt;
5424
- var ads_txt_data = $("#ads-txt-data").find ('textarea#ads-txt-text').val ();
5425
- var ads_txt_missing = $('#ads-txt-missing').length != 0;
5426
-
5427
- if (!ads_txt_missing && (view == 'table' || ads_txt_data != '')) {
5428
- $('<div />').html(message).attr ('title', ai_admin.warning).dialog({
5429
- bgiframe: true,
5430
- draggable: false,
5431
- resizable: false,
5432
- modal: true,
5433
- height: "auto",
5434
- width: 400,
5435
- position: {my: 'center', at: 'center', of: '#ads-txt-container'},
5436
- buttons: [{
5437
- text: ai_admin.switch,
5438
- click: function() {
5439
- $(this).dialog ("close");
5440
-
5441
- switch_to_physical ();
5442
- }
5443
- },{
5444
- text: ai_admin.cancel,
5445
- click: function() {
5446
- $(this).dialog ("close");
5447
- }
5448
- }
5449
- ],
5450
- });
5451
- } else switch_to_physical ();
5452
- } else {
5453
- virtual_button.addClass ('violet');
5454
- virtual_button.attr ('title', virtual_button.attr ('title-virtual'))
5455
- .tooltip({
5456
- track: true,
5457
- delay: 700,
5458
- showURL: false,
5459
- showBody: " | ",
5460
- fade: 250
5461
- });
5462
- setTimeout (function() {load_ads_txt ();}, 50);
5463
- }
5464
-
5465
- });
5466
-
5467
- $("#ads-txt-reload").click (function () {
5468
- var editor_button = $("#ads-txt-editor");
5469
- if (editor_button.hasClass ('editor')) {
5470
- editor_button.removeClass ('editor');
5471
- }
5472
- setTimeout (function() {load_ads_txt ();}, 50);
5473
- });
5474
-
5475
- $("#ads-txt-editor").click (function () {
5476
- if ($(this).hasClass ('editor')) {
5477
- setTimeout (function() {save_ads_txt (true);}, 50);
5478
- } else {
5479
- $(this).addClass ('editor');
5480
-
5481
- setTimeout (function() {load_ads_txt ();}, 50);
5482
-
5483
- $(this).attr ('title', $(this).attr ('title-table'))
5484
- .tooltip({
5485
- track: true,
5486
- delay: 700,
5487
- showURL: false,
5488
- showBody: " | ",
5489
- fade: 250
5490
- });
5491
- }
5492
- });
5493
-
5494
- $("#ads-txt-search").keyup (function (event) {
5495
- if (!ads_txt_reload) {
5496
- ads_txt_reload = true;
5497
- setTimeout (function() {load_ads_txt ();}, 200);
5498
- }
5499
- });
5500
-
5501
- // $(document).keydown (function (event) {
5502
- // if (event.which == "17") {
5503
- // ai_ctrl_pressed = true;
5504
-
5505
- // var public_report_button = $('.public-report-button');
5506
- // public_report_button.addClass ('light-red');
5507
- // public_report_button.attr ('title', $('.public-report-button').first ().attr ('title-rw'))
5508
- // .tooltip({
5509
- // track: true,
5510
- // delay: 700,
5511
- // showURL: false,
5512
- // showBody: " | ",
5513
- // fade: 250
5514
- // });
5515
- // }
5516
- // });
5517
-
5518
- // $(document).keyup (function() {
5519
- // if (ai_ctrl_pressed) {
5520
- // ai_ctrl_pressed = false;
5521
-
5522
- // var public_report_button = $('.public-report-button');
5523
- // public_report_button.removeClass ('light-red');
5524
- // public_report_button.attr ('title', $('.public-report-button').first ().attr ('title-ro'))
5525
- // .tooltip({
5526
- // track: true,
5527
- // delay: 700,
5528
- // showURL: false,
5529
- // showBody: " | ",
5530
- // fade: 250
5531
- // });
5532
- // }
5533
- // });
5534
-
5535
- $(".ai-public-controls").dblclick (function () {
5536
- $(this).toggleClass ('on');
5537
- });
5538
-
5539
- $(".public-report-button").click (function () {
5540
- var report_data_elements = JSON.parse ($(this).attr ('report-data'));
5541
- var report_url_prefix = report_data_elements [0]
5542
- var report_dates_block = report_data_elements [1];
5543
- var report_controls = $(this).parent ().parent ().parent ().parent ().find ('.ai-public-controls').hasClass ('on') ? '1' : '0';
5544
- var report_range_name = $(this).parent ().parent ().parent ().parent ().find ('.custom-range-controls').attr ('range-name');
5545
- var report_adb = report_data_elements [2];
5546
- var report_range = report_data_elements [2];
5547
- var report = report_dates_block + report_controls + report_adb + report_range_name;
5548
- var report_id = b64e (report).replaceAll ('+', '.').replaceAll ('/', '_').replaceAll ('=', '-');
5549
- var url = report_url_prefix + md5 (report).substring (0, 2) + report_id;
5550
-
5551
- window.open (url, 'ai-report');
5552
- });
5553
-
5554
- if ($("#ai-list-data").hasClass ('ai-sticky')) {
5555
- configure_list ();
5556
- }
5557
- });
5558
-
5559
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var javascript_version = "2.5.9";
2
+ var ignore_key = true;
3
+ var start = 1;
4
+ var end = 16;
5
+ var active_tab = 1;
6
+ var active_tab_0 = 0;
7
+ var tabs_to_configure = new Array();
8
+ var debug = false;
9
+ var debug_title = false;
10
+ var save_enabled = true;
11
+
12
+ var current_tab = 0;
13
+ var next_tab = 0;
14
+
15
+ var syntax_highlighting = false;
16
+ var settings_page = "";
17
+
18
+ var dateFormat = "yy-mm-dd";
19
+
20
+ var list_search_reload = false;
21
+ //var ai_ctrl_pressed = false;
22
+
23
+ var AI_DISABLED = 0;
24
+ var AI_BEFORE_POST = 1;
25
+ var AI_AFTER_POST = 2;
26
+ var AI_BEFORE_CONTENT = 3;
27
+ var AI_AFTER_CONTENT = 4;
28
+ var AI_BEFORE_PARAGRAPH = 5;
29
+ var AI_AFTER_PARAGRAPH = 6;
30
+ var AI_BEFORE_EXCERPT = 7;
31
+ var AI_AFTER_EXCERPT = 8;
32
+ var AI_BETWEEN_POSTS = 9;
33
+ var AI_BEFORE_COMMENTS = 10;
34
+ var AI_BETWEEN_COMMENTS = 11;
35
+ var AI_AFTER_COMMENTS = 12;
36
+ var AI_FOOTER = 13;
37
+ var AI_ABOVE_HEADER = 14;
38
+ var AI_BEFORE_HTML_ELEMENT = 15;
39
+ var AI_AFTER_HTML_ELEMENT = 16;
40
+ var AI_INSIDE_HTML_ELEMENT = 17;
41
+ var AI_BEFORE_IMAGE = 18;
42
+ var AI_AFTER_IMAGE = 19;
43
+
44
+
45
+ var AI_ALIGNMENT_DEFAULT = 0;
46
+ var AI_ALIGNMENT_LEFT = 1;
47
+ var AI_ALIGNMENT_RIGHT = 2;
48
+ var AI_ALIGNMENT_CENTER = 3;
49
+ var AI_ALIGNMENT_FLOAT_LEFT = 4;
50
+ var AI_ALIGNMENT_FLOAT_RIGHT = 5;
51
+ var AI_ALIGNMENT_NO_WRAPPING = 6;
52
+ var AI_ALIGNMENT_CUSTOM_CSS = 7;
53
+ var AI_ALIGNMENT_STICKY_LEFT = 8;
54
+ var AI_ALIGNMENT_STICKY_RIGHT = 9;
55
+ var AI_ALIGNMENT_STICKY_TOP = 10;
56
+ var AI_ALIGNMENT_STICKY_BOTTOM = 11;
57
+ var AI_ALIGNMENT_STICKY = 12;
58
+
59
+ var AI_ADB_ACTION_NONE = 0;
60
+ var AI_ADB_ACTION_MESSAGE = 1;
61
+ var AI_ADB_ACTION_REDIRECTION = 2;
62
+
63
+ var AI_ADB_BLOCK_ACTION_DO_NOTHING = 0;
64
+ var AI_ADB_BLOCK_ACTION_REPLACE = 1;
65
+ var AI_ADB_BLOCK_ACTION_SHOW = 2;
66
+ var AI_ADB_BLOCK_ACTION_HIDE = 3;
67
+
68
+ var AI_CODE_UNKNOWN = 100;
69
+ var AI_CODE_BANNER = 0;
70
+ var AI_CODE_ADSENSE = 1;
71
+
72
+ var AI_ADSENSE_STANDARD = 0;
73
+ var AI_ADSENSE_LINK = 1;
74
+ var AI_ADSENSE_IN_ARTICLE = 2;
75
+ var AI_ADSENSE_IN_FEED = 3;
76
+ var AI_ADSENSE_MATCHED_CONTENT = 4;
77
+
78
+ var AI_ADSENSE_SIZE_FIXED = 0;
79
+ var AI_ADSENSE_SIZE_RESPONSIVE = 1;
80
+ var AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT = 2;
81
+
82
+ var AI_HTML_INSERTION_CLIENT_SIDE = 0;
83
+ var AI_HTML_INSERTION_CLIENT_SIDE_DOM_READY = 1;
84
+ var AI_HTML_INSERTION_SEREVR_SIDE = 2;
85
+
86
+ var AI_STICK_TO_THE_TOP = 0;
87
+ var AI_STICK_VERTICAL_CENTER = 1;
88
+ var AI_SCROLL_WITH_THE_CONTENT = 2;
89
+ var AI_STICK_TO_THE_BOTTOM = 3;
90
+
91
+ var AI_ANIMATION_NONE = 0;
92
+
93
+
94
+ var before_update_selection_from_list = null;
95
+
96
+ /*
97
+ * jQuery Tooltip plugin 1.3
98
+ *
99
+ * http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/
100
+ * http://docs.jquery.com/Plugins/Tooltip
101
+ *
102
+ * Copyright (c) 2006 - 2008 J�rn Zaefferer
103
+ *
104
+ * $Id: jquery.tooltip.js 5741 2008-06-21 15:22:16Z joern.zaefferer $
105
+ *
106
+ * Dual licensed under the MIT and GPL licenses:
107
+ * http://www.opensource.org/licenses/mit-license.php
108
+ * http://www.gnu.org/licenses/gpl.html
109
+ */
110
+ (function($) {
111
+ // the tooltip element
112
+ var helper = {},
113
+ // the current tooltipped element
114
+ current,
115
+ // the title of the current element, used for restoring
116
+ title,
117
+ // timeout id for delayed tooltips
118
+ tID,
119
+ // IE 5.5 or 6
120
+ // IE = $.browser.msie && /MSIE\s(5\.5|6\.)/.test(navigator.userAgent),
121
+ IE = false,
122
+ // flag for mouse tracking
123
+ track = false;
124
+ $.tooltip = {
125
+ blocked: false,
126
+ defaults: {
127
+ delay: 200,
128
+ fade: false,
129
+ showURL: true,
130
+ extraClass: "",
131
+ top: 15,
132
+ left: 15,
133
+ id: "ai-tooltip"
134
+ },
135
+ block: function() {
136
+ $.tooltip.blocked = !$.tooltip.blocked;
137
+ }
138
+ };
139
+ $.fn.extend({
140
+ tooltip: function(settings) {
141
+ settings = $.extend({}, $.tooltip.defaults, settings);
142
+ createHelper(settings);
143
+ return this.each(function() {
144
+ $.data(this, "tooltip", settings);
145
+ this.tOpacity = helper.parent.css("opacity");
146
+ // copy tooltip into its own expando and remove the title
147
+ this.tooltipText = this.title;
148
+ $(this).removeAttr("title");
149
+ // also remove alt attribute to prevent default tooltip in IE
150
+ this.alt = "";
151
+ })
152
+ .mouseover(save)
153
+ .mouseout(hide)
154
+ .click(hide);
155
+ },
156
+ fixPNG: IE ? function() {
157
+ return this.each(function() {
158
+ var image = $(this).css('backgroundImage');
159
+ if (image.match(/^url\(["']?(.*\.png)["']?\)$/i)) {
160
+ image = RegExp.$1;
161
+ $(this).css({
162
+ 'backgroundImage': 'none',
163
+ 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='" + image + "')"
164
+ }).each(function() {
165
+ var position = $(this).css('position');
166
+ if (position != 'absolute' && position != 'relative')
167
+ $(this).css('position', 'relative');
168
+ });
169
+ }
170
+ });
171
+ } : function() {
172
+ return this;
173
+ },
174
+ unfixPNG: IE ? function() {
175
+ return this.each(function() {
176
+ $(this).css({
177
+ 'filter': '',
178
+ backgroundImage: ''
179
+ });
180
+ });
181
+ } : function() {
182
+ return this;
183
+ },
184
+ hideWhenEmpty: function() {
185
+ return this.each(function() {
186
+ $(this)[$(this).html() ? "show" : "hide"]();
187
+ });
188
+ },
189
+ url: function() {
190
+ return this.attr('href') || this.attr('src');
191
+ }
192
+ });
193
+ function createHelper(settings) {
194
+ // there can be only one tooltip helper
195
+ if (helper.parent)
196
+ return;
197
+ // create the helper, h3 for title, div for url
198
+ helper.parent = $('<div id="' + settings.id + '"><h3></h3><div class="body"></div><div class="url"></div></div>')
199
+ // add to document
200
+ .appendTo(document.body)
201
+ // hide it at first
202
+ .hide();
203
+ // apply bgiframe if available
204
+ if ($.fn.bgiframe)
205
+ helper.parent.bgiframe();
206
+ // save references to title and url elements
207
+ helper.title = $('h3', helper.parent);
208
+ helper.body = $('div.body', helper.parent);
209
+ helper.url = $('div.url', helper.parent);
210
+ }
211
+ function settings(element) {
212
+ return $.data(element, "tooltip");
213
+ }
214
+ // main event handler to start showing tooltips
215
+ function handle(event) {
216
+ // show helper, either with timeout or on instant
217
+ if (settings(this).delay)
218
+ tID = setTimeout(show, settings(this).delay);
219
+ else
220
+ show();
221
+ // if selected, update the helper position when the mouse moves
222
+ track = !!settings(this).track;
223
+ $(document.body).bind('mousemove', update);
224
+ // update at least once
225
+ update(event);
226
+ }
227
+ // save elements title before the tooltip is displayed
228
+ function save() {
229
+ // if this is the current source, or it has no title (occurs with click event), stop
230
+ if ($.tooltip.blocked || this == current || (!this.tooltipText && !settings(this).bodyHandler))
231
+ return;
232
+ // save current
233
+ current = this;
234
+ title = this.tooltipText;
235
+
236
+ title = title.replace (/\[\[(.+?)\]\]/g, '<span class="tooltip-code">$1</span>');
237
+ title = title.replace (/\[BR\]/g, '<br />');
238
+ title = title.replace (/\[HR\]/g, '<hr />');
239
+ title = title.replace (/(\[ADINSERTER.+\])/g, '<span class="tooltip-code">$1</span>');
240
+ title = title.replace (/(\%N)/g, '<span class="tooltip-code">$1</span>');
241
+ title = title.replace (/(\[\*\])/g, '<span class="tooltip-icon"><span class="dashicons dashicons-admin-generic" style="width: 11px; height: 11px; font-size: 12px; line-height: unset;"></span></span>');
242
+ title = title.replace (/(http[^ ]+)/g, '<span class="tooltip-code">$1</span>');
243
+ title = title.replace (/(pub-[0-9]+)/g, '<span class="tooltip-code">$1</span>');
244
+
245
+ if (settings(this).bodyHandler) {
246
+ helper.title.hide();
247
+ var bodyContent = settings(this).bodyHandler.call(this);
248
+ if (bodyContent.nodeType || bodyContent.jquery) {
249
+ helper.body.empty().append(bodyContent)
250
+ } else {
251
+ helper.body.html(bodyContent);
252
+ }
253
+ helper.body.show();
254
+ } else if (settings(this).showBody) {
255
+ var parts = title.split(settings(this).showBody);
256
+ if (parts.length == 2) {
257
+ helper.title.html(parts.shift()).show();
258
+ } else {
259
+ helper.title.hide();
260
+ }
261
+ helper.body.empty();
262
+ for (var i = 0, part;
263
+ (part = parts[i]); i++) {
264
+ if (i > 0)
265
+ helper.body.append("<br/>");
266
+ helper.body.append(part);
267
+ }
268
+ helper.body.hideWhenEmpty();
269
+ } else {
270
+ helper.title.html(title).show();
271
+ helper.body.hide();
272
+ }
273
+ // if element has href or src, add and show it, otherwise hide it
274
+ if (settings(this).showURL && $(this).url())
275
+ helper.url.html($(this).url().replace('http://', '')).show();
276
+ else
277
+ helper.url.hide();
278
+ // add an optional class for this tip
279
+ helper.parent.addClass(settings(this).extraClass);
280
+ // fix PNG background for IE
281
+ if (settings(this).fixPNG)
282
+ helper.parent.fixPNG();
283
+ handle.apply(this, arguments);
284
+ }
285
+ // delete timeout and show helper
286
+ function show() {
287
+ tID = null;
288
+ if ((!IE || !$.fn.bgiframe) && settings(current).fade) {
289
+ if (helper.parent.is(":animated"))
290
+ helper.parent.stop().show().fadeTo(settings(current).fade, current.tOpacity);
291
+ else
292
+ helper.parent.is(':visible') ? helper.parent.fadeTo(settings(current).fade, current.tOpacity) : helper.parent.fadeIn(settings(current).fade);
293
+ } else {
294
+ helper.parent.show();
295
+ }
296
+ update();
297
+ }
298
+ /**
299
+ * callback for mousemove
300
+ * updates the helper position
301
+ * removes itself when no current element
302
+ */
303
+ function update(event) {
304
+ if ($.tooltip.blocked)
305
+ return;
306
+ if (event && event.target.tagName == "OPTION") {
307
+ return;
308
+ }
309
+ // stop updating when tracking is disabled and the tooltip is visible
310
+ if (!track && helper.parent.is(":visible")) {
311
+ $(document.body).unbind('mousemove', update)
312
+ }
313
+ // if no current element is available, remove this listener
314
+ if (current == null) {
315
+ $(document.body).unbind('mousemove', update);
316
+ return;
317
+ }
318
+ // remove position helper classes
319
+ helper.parent.removeClass("viewport-right").removeClass("viewport-bottom");
320
+ var left = helper.parent[0].offsetLeft;
321
+ var top = helper.parent[0].offsetTop;
322
+ if (event) {
323
+ // position the helper 15 pixel to bottom right, starting from mouse position
324
+ left = event.pageX + settings(current).left;
325
+ top = event.pageY + settings(current).top;
326
+ var right = 'auto';
327
+ if (settings(current).positionLeft) {
328
+ right = $(window).width() - left;
329
+ left = 'auto';
330
+ }
331
+ helper.parent.css({
332
+ left: left,
333
+ right: right,
334
+ top: top
335
+ });
336
+ }
337
+ var v = viewport(),
338
+ h = helper.parent[0];
339
+ // check horizontal position
340
+ if (v.x + v.cx < h.offsetLeft + h.offsetWidth) {
341
+ left -= h.offsetWidth + 20 + settings(current).left;
342
+ helper.parent.css({
343
+ left: left + 'px'
344
+ }).addClass("viewport-right");
345
+ }
346
+ // check vertical position
347
+ if (v.y + v.cy < h.offsetTop + h.offsetHeight) {
348
+ top -= h.offsetHeight + 20 + settings(current).top;
349
+ helper.parent.css({
350
+ top: top + 'px'
351
+ }).addClass("viewport-bottom");
352
+ }
353
+ }
354
+ function viewport() {
355
+ return {
356
+ x: $(window).scrollLeft(),
357
+ y: $(window).scrollTop(),
358
+ cx: $(window).width(),
359
+ cy: $(window).height()
360
+ };
361
+ }
362
+ // hide helper and restore added classes and the title
363
+ function hide(event) {
364
+ if ($.tooltip.blocked)
365
+ return;
366
+ // clear timeout if possible
367
+ if (tID)
368
+ clearTimeout(tID);
369
+ // no more current element
370
+ current = null;
371
+ var tsettings = settings(this);
372
+ function complete() {
373
+ helper.parent.removeClass(tsettings.extraClass).hide().css("opacity", "");
374
+ }
375
+ if ((!IE || !$.fn.bgiframe) && tsettings.fade) {
376
+ if (helper.parent.is(':animated'))
377
+ helper.parent.stop().fadeTo(tsettings.fade, 0, complete);
378
+ else
379
+ helper.parent.stop().fadeOut(tsettings.fade, complete);
380
+ } else
381
+ complete();
382
+ if (settings(this).fixPNG)
383
+ helper.parent.unfixPNG();
384
+ }
385
+ })(jQuery);
386
+
387
+ function b64e (str) {
388
+ // first we use encodeURIComponent to get percent-encoded UTF-8,
389
+ // then we convert the percent encodings into raw bytes which
390
+ // can be fed into btoa.
391
+ return btoa (encodeURIComponent (str).replace (/%([0-9A-F]{2})/g,
392
+ function toSolidBytes (match, p1) {
393
+ return String.fromCharCode ('0x' + p1);
394
+ }));
395
+ }
396
+
397
+ function b64d (str) {
398
+ // Going backwards: from bytestream, to percent-encoding, to original string.
399
+ return decodeURIComponent (atob (str).split ('').map (function(c) {
400
+ return '%' + ('00' + c.charCodeAt (0).toString (16)).slice (-2);
401
+ }).join (''));
402
+ }
403
+
404
+ // http://www.myersdaily.org/joseph/javascript/md5.js
405
+
406
+ function md5cycle (x, k) {
407
+ var a = x[0],
408
+ b = x[1],
409
+ c = x[2],
410
+ d = x[3];
411
+ a = ff(a, b, c, d, k[0], 7, -680876936);
412
+ d = ff(d, a, b, c, k[1], 12, -389564586);
413
+ c = ff(c, d, a, b, k[2], 17, 606105819);
414
+ b = ff(b, c, d, a, k[3], 22, -1044525330);
415
+ a = ff(a, b, c, d, k[4], 7, -176418897);
416
+ d = ff(d, a, b, c, k[5], 12, 1200080426);
417
+ c = ff(c, d, a, b, k[6], 17, -1473231341);
418
+ b = ff(b, c, d, a, k[7], 22, -45705983);
419
+ a = ff(a, b, c, d, k[8], 7, 1770035416);
420
+ d = ff(d, a, b, c, k[9], 12, -1958414417);
421
+ c = ff(c, d, a, b, k[10], 17, -42063);
422
+ b = ff(b, c, d, a, k[11], 22, -1990404162);
423
+ a = ff(a, b, c, d, k[12], 7, 1804603682);
424
+ d = ff(d, a, b, c, k[13], 12, -40341101);
425
+ c = ff(c, d, a, b, k[14], 17, -1502002290);
426
+ b = ff(b, c, d, a, k[15], 22, 1236535329);
427
+ a = gg(a, b, c, d, k[1], 5, -165796510);
428
+ d = gg(d, a, b, c, k[6], 9, -1069501632);
429
+ c = gg(c, d, a, b, k[11], 14, 643717713);
430
+ b = gg(b, c, d, a, k[0], 20, -373897302);
431
+ a = gg(a, b, c, d, k[5], 5, -701558691);
432
+ d = gg(d, a, b, c, k[10], 9, 38016083);
433
+ c = gg(c, d, a, b, k[15], 14, -660478335);
434
+ b = gg(b, c, d, a, k[4], 20, -405537848);
435
+ a = gg(a, b, c, d, k[9], 5, 568446438);
436
+ d = gg(d, a, b, c, k[14], 9, -1019803690);
437
+ c = gg(c, d, a, b, k[3], 14, -187363961);
438
+ b = gg(b, c, d, a, k[8], 20, 1163531501);
439
+ a = gg(a, b, c, d, k[13], 5, -1444681467);
440
+ d = gg(d, a, b, c, k[2], 9, -51403784);
441
+ c = gg(c, d, a, b, k[7], 14, 1735328473);
442
+ b = gg(b, c, d, a, k[12], 20, -1926607734);
443
+ a = hh(a, b, c, d, k[5], 4, -378558);
444
+ d = hh(d, a, b, c, k[8], 11, -2022574463);
445
+ c = hh(c, d, a, b, k[11], 16, 1839030562);
446
+ b = hh(b, c, d, a, k[14], 23, -35309556);
447
+ a = hh(a, b, c, d, k[1], 4, -1530992060);
448
+ d = hh(d, a, b, c, k[4], 11, 1272893353);
449
+ c = hh(c, d, a, b, k[7], 16, -155497632);
450
+ b = hh(b, c, d, a, k[10], 23, -1094730640);
451
+ a = hh(a, b, c, d, k[13], 4, 681279174);
452
+ d = hh(d, a, b, c, k[0], 11, -358537222);
453
+ c = hh(c, d, a, b, k[3], 16, -722521979);
454
+ b = hh(b, c, d, a, k[6], 23, 76029189);
455
+ a = hh(a, b, c, d, k[9], 4, -640364487);
456
+ d = hh(d, a, b, c, k[12], 11, -421815835);
457
+ c = hh(c, d, a, b, k[15], 16, 530742520);
458
+ b = hh(b, c, d, a, k[2], 23, -995338651);
459
+ a = ii(a, b, c, d, k[0], 6, -198630844);
460
+ d = ii(d, a, b, c, k[7], 10, 1126891415);
461
+ c = ii(c, d, a, b, k[14], 15, -1416354905);
462
+ b = ii(b, c, d, a, k[5], 21, -57434055);
463
+ a = ii(a, b, c, d, k[12], 6, 1700485571);
464
+ d = ii(d, a, b, c, k[3], 10, -1894986606);
465
+ c = ii(c, d, a, b, k[10], 15, -1051523);
466
+ b = ii(b, c, d, a, k[1], 21, -2054922799);
467
+ a = ii(a, b, c, d, k[8], 6, 1873313359);
468
+ d = ii(d, a, b, c, k[15], 10, -30611744);
469
+ c = ii(c, d, a, b, k[6], 15, -1560198380);
470
+ b = ii(b, c, d, a, k[13], 21, 1309151649);
471
+ a = ii(a, b, c, d, k[4], 6, -145523070);
472
+ d = ii(d, a, b, c, k[11], 10, -1120210379);
473
+ c = ii(c, d, a, b, k[2], 15, 718787259);
474
+ b = ii(b, c, d, a, k[9], 21, -343485551);
475
+ x[0] = add32(a, x[0]);
476
+ x[1] = add32(b, x[1]);
477
+ x[2] = add32(c, x[2]);
478
+ x[3] = add32(d, x[3]);
479
+ }
480
+ function cmn(q, a, b, x, s, t) {
481
+ a = add32(add32(a, q), add32(x, t));
482
+ return add32((a << s) | (a >>> (32 - s)), b);
483
+ }
484
+ function ff(a, b, c, d, x, s, t) {
485
+ return cmn((b & c) | ((~b) & d), a, b, x, s, t);
486
+ }
487
+ function gg(a, b, c, d, x, s, t) {
488
+ return cmn((b & d) | (c & (~d)), a, b, x, s, t);
489
+ }
490
+ function hh(a, b, c, d, x, s, t) {
491
+ return cmn(b ^ c ^ d, a, b, x, s, t);
492
+ }
493
+ function ii(a, b, c, d, x, s, t) {
494
+ return cmn(c ^ (b | (~d)), a, b, x, s, t);
495
+ }
496
+ function md51(s) {
497
+ txt = '';
498
+ var n = s.length,
499
+ state = [1732584193, -271733879, -1732584194, 271733878],
500
+ i;
501
+ for (i = 64; i <= s.length; i += 64) {
502
+ md5cycle(state, md5blk(s.substring(i - 64, i)));
503
+ }
504
+ s = s.substring(i - 64);
505
+ var tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
506
+ for (i = 0; i < s.length; i++)
507
+ tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);
508
+ tail[i >> 2] |= 0x80 << ((i % 4) << 3);
509
+ if (i > 55) {
510
+ md5cycle(state, tail);
511
+ for (i = 0; i < 16; i++) tail[i] = 0;
512
+ }
513
+ tail[14] = n * 8;
514
+ md5cycle(state, tail);
515
+ return state;
516
+ }
517
+ /* there needs to be support for Unicode here,
518
+ * unless we pretend that we can redefine the MD-5
519
+ * algorithm for multi-byte characters (perhaps
520
+ * by adding every four 16-bit characters and
521
+ * shortening the sum to 32 bits). Otherwise
522
+ * I suggest performing MD-5 as if every character
523
+ * was two bytes--e.g., 0040 0025 = @%--but then
524
+ * how will an ordinary MD-5 sum be matched?
525
+ * There is no way to standardize text to something
526
+ * like UTF-8 before transformation; speed cost is
527
+ * utterly prohibitive. The JavaScript standard
528
+ * itself needs to look at this: it should start
529
+ * providing access to strings as preformed UTF-8
530
+ * 8-bit unsigned value arrays.
531
+ */
532
+ function md5blk(s) { /* I figured global was faster. */
533
+ var md5blks = [],
534
+ i; /* Andy King said do it this way. */
535
+ for (i = 0; i < 64; i += 4) {
536
+ md5blks[i >> 2] = s.charCodeAt(i) +
537
+ (s.charCodeAt(i + 1) << 8) +
538
+ (s.charCodeAt(i + 2) << 16) +
539
+ (s.charCodeAt(i + 3) << 24);
540
+ }
541
+ return md5blks;
542
+ }
543
+ var hex_chr = '0123456789abcdef'.split('');
544
+ function rhex(n) {
545
+ var s = '',
546
+ j = 0;
547
+ for (; j < 4; j++)
548
+ s += hex_chr[(n >> (j * 8 + 4)) & 0x0F] +
549
+ hex_chr[(n >> (j * 8)) & 0x0F];
550
+ return s;
551
+ }
552
+ function hex(x) {
553
+ for (var i = 0; i < x.length; i++)
554
+ x[i] = rhex(x[i]);
555
+ return x.join('');
556
+ }
557
+ function md5(s) {
558
+ return hex(md51(s));
559
+ }
560
+ /* this function is much faster,
561
+ so if possible we use it. Some IEs
562
+ are the only ones I know of that
563
+ need the idiotic second function,
564
+ generated by an if clause. */
565
+ function add32(a, b) {
566
+ return (a + b) & 0xFFFFFFFF;
567
+ }
568
+ if (md5('hello') != '5d41402abc4b2a76b9719d911017c592') {
569
+ function add32(x, y) {
570
+ var lsw = (x & 0xFFFF) + (y & 0xFFFF),
571
+ msw = (x >> 16) + (y >> 16) + (lsw >> 16);
572
+ return (msw << 16) | (lsw & 0xFFFF);
573
+ }
574
+ }
575
+
576
+
577
+ String.prototype.tabIndex = function () {
578
+ return this.replace (/^\D+/g, '')
579
+ };
580
+
581
+ String.prototype.replaceAll = function(search, replacement) {
582
+ var target = this;
583
+ return target.split(search).join(replacement);
584
+ };
585
+
586
+ var ai_nonce = b64d (jQuery ("#ai-form").attr ('ai-value'));
587
+
588
+ var shSettings = {
589
+ "tab_size":"4",
590
+ "use_soft_tabs":"1",
591
+ "word_wrap":"1",
592
+ "highlight_curr_line":"0",
593
+ "key_bindings":"default",
594
+ "full_line_selection":"1",
595
+ "show_line_numbers":"0"};
596
+
597
+
598
+ function encode_code (block) {
599
+ // copy code back to textarea and encode block code
600
+
601
+ if (!save_enabled) return false;
602
+
603
+ var textarea = jQuery ('#block-' + block);
604
+ var textarea_name = textarea.attr ('name');
605
+
606
+ if (typeof textarea_name !== typeof undefined && textarea_name !== false) {
607
+ var editor_element = jQuery ("#editor-" + block);
608
+
609
+ // Copy code from editor only if it exists (tab has been configured)
610
+ if (editor_element.length != 0 && typeof editor_element !== typeof undefined && editor_element !== false) {
611
+ var editor = ace.edit ("editor-" + block);
612
+ var session = editor.getSession();
613
+
614
+ var editor_disabled = true;
615
+ if (typeof ace != 'undefined') {
616
+ editor_disabled = jQuery("#simple-editor-" + block).is(":checked");
617
+ }
618
+ if (!editor_disabled) {
619
+ textarea.val (session.getValue());
620
+ }
621
+
622
+ }
623
+
624
+ var default_value = textarea.attr ("default");
625
+ var current_value = textarea.val ();
626
+ var name = textarea.attr ("name");
627
+
628
+ if (typeof name != 'undefined') {
629
+ if (typeof default_value != 'undefined') {
630
+ // console.log (textarea.attr ("name"), ": default_value: ", default_value, ", current_value: ", current_value);
631
+
632
+ if (current_value == default_value) {
633
+ textarea.removeAttr ("name");
634
+ // console.log ("REMOVED: ", name);
635
+ }
636
+ }
637
+ // else console.log ("NO DEFAULT VALUE: ", textarea.attr ("name"));
638
+ }
639
+
640
+ var copy_id = textarea.attr ('id') + '-copy';
641
+ jQuery ('#' + copy_id).remove ();
642
+
643
+ var org_name = textarea.attr ('org-name');
644
+ if (typeof org_name !== typeof undefined && org_name !== false) {
645
+ textarea.attr ("name", org_name);
646
+ } else textarea.attr ("org-name", textarea_name);
647
+
648
+ var textarea_copy = textarea.clone ().attr ('id', copy_id).hide ();
649
+ textarea.removeAttr ("name");
650
+ textarea_copy.val (':AI:' + b64e (textarea.val ()));
651
+ textarea.after (textarea_copy);
652
+
653
+ // console.log (':AI:', block);
654
+ }
655
+
656
+ jQuery("#ai-active-tab").attr ("value", '[' + active_tab + ',' + active_tab_0 + ']');
657
+
658
+ var named_parameters = jQuery("#tab-" + block + ' [name]');
659
+ var block_parameters = new Array();
660
+ named_parameters.each (function() {
661
+ block_parameters.push (jQuery (this).attr ('name'));
662
+ });
663
+ jQuery("#block-parameters-" + block).attr ('name', 'block-parameters-' + block).attr ('value', b64e (JSON.stringify (block_parameters)));
664
+ };
665
+
666
+ function SyntaxHighlight (id, block, settings) {
667
+ var textarea, editor, form, session, editDiv;
668
+
669
+ settings ['tab_size'] = 2;
670
+
671
+ this.textarea = textarea = jQuery(id);
672
+ this.settings = settings || {};
673
+
674
+ if (textarea.length === 0 ) { // Element does not exist
675
+ this.valid = false;
676
+ return;
677
+ }
678
+
679
+ this.valid = true;
680
+ editDiv = jQuery('<div>', {
681
+ position: 'absolute',
682
+ 'class': textarea.attr('class'),
683
+ 'id': 'editor-' + block
684
+ }).insertBefore (textarea);
685
+
686
+ textarea.css('display', 'none');
687
+ this.editor = editor = ace.edit(editDiv[0]);
688
+ this.form = form = textarea.closest('form');
689
+ this.session = session = editor.getSession();
690
+
691
+ editor.$blockScrolling = Infinity;
692
+
693
+ session.setValue(textarea.val());
694
+
695
+ // copy back to textarea on form submit...
696
+ // form.submit (function () {
697
+ // if (!save_enabled) return false;
698
+
699
+ // var block = textarea.attr ("id").replace ("block-","");
700
+
701
+ //// console.log ('form.submit', block);
702
+
703
+ // var editor_disabled = true;
704
+ // if (typeof ace != 'undefined') {
705
+ // editor_disabled = jQuery("#simple-editor-" + block).is(":checked");
706
+ // }
707
+ // if (!editor_disabled) {
708
+ // textarea.val (session.getValue());
709
+ // }
710
+
711
+ // var default_value = textarea.attr ("default");
712
+ // var current_value = textarea.val ();
713
+ // var name = textarea.attr ("name");
714
+
715
+ // if (typeof name != 'undefined') {
716
+ // if (typeof default_value != 'undefined') {
717
+ //// console.log (textarea.attr ("name"), ": default_value: ", default_value, ", current_value: ", current_value);
718
+
719
+ // if (current_value == default_value) {
720
+ // textarea.removeAttr ("name");
721
+ //// console.log ("REMOVED: ", name);
722
+ // }
723
+ // }
724
+ //// else console.log ("NO DEFAULT VALUE: ", textarea.attr ("name"));
725
+ // }
726
+
727
+ // var textarea_name = textarea.attr ('name');
728
+ // if (typeof textarea_name !== typeof undefined && textarea_name !== false) {
729
+ // var copy_id = textarea.attr ('id') + '-copy';
730
+ // jQuery ('#' + copy_id).remove ();
731
+
732
+ // var org_name = textarea.attr ('org-name');
733
+ // if (typeof org_name !== typeof undefined && org_name !== false) {
734
+ // textarea.attr ("name", org_name);
735
+ // } else textarea.attr ("org-name", textarea_name);
736
+
737
+ // var textarea_copy = textarea.clone ().attr ('id', copy_id).hide ();
738
+ // textarea.removeAttr ("name");
739
+ // textarea_copy.val (':AI:' + b64e (textarea.val ()));
740
+ // textarea.after (textarea_copy);
741
+
742
+ // console.log (':AI:', block);
743
+ // }
744
+
745
+ // jQuery("#ai-active-tab").attr ("value", '[' + active_tab + ',' + active_tab_0 + ']');
746
+
747
+ // var named_parameters = jQuery("#tab-" + block + ' [name]');
748
+ // var block_parameters = new Array();
749
+ // named_parameters.each (function() {
750
+ // block_parameters.push (jQuery (this).attr ('name'));
751
+ // });
752
+ // jQuery("#block-parameters-" + block).attr ('name', 'block-parameters-' + block).attr ('value', b64e (JSON.stringify (block_parameters)));
753
+ // });
754
+
755
+ session.setMode ("ace/mode/ai-html");
756
+
757
+ this.applySettings();
758
+ }
759
+
760
+ SyntaxHighlight.prototype.applySettings = function () {
761
+ var editor = this.editor,
762
+ session = this.session,
763
+ settings = this.settings;
764
+
765
+ editor.renderer.setShowGutter(settings['show_line_numbers'] == 1);
766
+ editor.setHighlightActiveLine(settings['highlight_curr_line'] == 1);
767
+ editor.setSelectionStyle(settings['full_line_selection'] == 1 ? "line" : "text");
768
+ editor.setTheme("ace/theme/" + settings['theme']);
769
+ session.setUseWrapMode(settings['word_wrap'] == 1);
770
+ session.setTabSize(settings['tab_size']);
771
+ session.setUseSoftTabs(settings['use_soft_tabs'] == 1);
772
+ };
773
+
774
+ function is_sticky (custom_css) {
775
+ custom_css = custom_css.replace (/\s+/g, '');
776
+
777
+ if (custom_css.indexOf ("position:fixed") != - 1 && custom_css.indexOf ("z-index:") != - 1) return true;
778
+
779
+ return false;
780
+ }
781
+
782
+ function change_block_alignment (block) {
783
+ jQuery ("select#block-alignment-" + block).change ();
784
+ jQuery ("select#horizontal-position-" + block).change ();
785
+ jQuery ("select#vertical-position-" + block).change ();
786
+ }
787
+
788
+ function change_banner_image (block) {
789
+ jQuery ("input#banner-image-url-" + block).trigger ("input");
790
+ }
791
+
792
+ function ai_css_value_px (css, property) {
793
+ var found = false;
794
+
795
+ styles = css.split (';');
796
+ styles.forEach (function (style, index) {
797
+ style = style.trim ();
798
+ if (style.indexOf (property) == 0) {
799
+ style_parts = style.split (':');
800
+ if (style_parts.length == 2) {
801
+ style_property = style_parts [0].trim ();
802
+ style_value = style_parts [1].trim ();
803
+ if (style_property == property && style_value.endsWith ('px')) found = true;
804
+ }
805
+ }
806
+ });
807
+
808
+ return found;
809
+ }
810
+
811
+ function ai_change_css (css, property, value) {
812
+ var replaced = false;
813
+
814
+ styles = css.split (';');
815
+ styles.forEach (function (style, index) {
816
+ org_style = style;
817
+ style = style.trim ();
818
+ if (style.indexOf (property) == 0) {
819
+ style_parts = style.split (':');
820
+ if (style_parts.length == 2) {
821
+ style_property = style_parts [0].trim ();
822
+ style_value = style_parts [1].trim ();
823
+ if (style_property == property && style_value.endsWith ('px')) {
824
+ var org_style_parts = org_style.split (':');
825
+ styles [index] = org_style_parts [0] + ': ' + value + 'px';
826
+ replaced = true;
827
+ }
828
+ }
829
+ }
830
+ });
831
+
832
+ var new_style = styles.join (';');
833
+
834
+ if (!replaced) {
835
+ new_style = new_style.trim ();
836
+ if (new_style.length != 0 && new_style.slice (-1) == ';') new_style = new_style.substring (0, new_style.length - 1);
837
+ return new_style + '; ' + property + ': ' + value + ';';
838
+ }
839
+
840
+ return new_style;
841
+ }
842
+
843
+ function update_sticky_margins (style, horizontal_margin, vertical_margin) {
844
+
845
+ if (vertical_margin !== '') {
846
+ if (ai_css_value_px (style, 'top')) style = ai_change_css (style, 'top', vertical_margin);
847
+ if (ai_css_value_px (style, 'bottom')) style = ai_change_css (style, 'bottom', vertical_margin);
848
+ }
849
+
850
+ if (horizontal_margin !== '') {
851
+ if (ai_css_value_px (style, 'left')) style = ai_change_css (style, 'left', horizontal_margin); else
852
+ if (ai_css_value_px (style, 'right')) style = ai_change_css (style, 'right', horizontal_margin); else
853
+ if (ai_css_value_px (style, 'margin-left')) style = ai_change_css (style, 'margin-left', horizontal_margin); else
854
+ if (ai_css_value_px (style, 'margin-right')) style = ai_change_css (style, 'margin-right', horizontal_margin);
855
+ }
856
+
857
+ return style;
858
+ }
859
+
860
+ (function ($) {
861
+ $.widget("toggle.checkboxButton", {
862
+ _create : function() {
863
+ this._on(this.element, {
864
+ "change" : function(event) {
865
+ this.element.next ("label").find ('.checkbox-icon').toggleClass("on");
866
+ }
867
+ });
868
+ }
869
+ });
870
+ }(jQuery));
871
+
872
+
873
+ serialize_object = function (obj) {
874
+ var str = [];
875
+ for(var p in obj)
876
+ if (obj.hasOwnProperty (p)) {
877
+ str.push(encodeURIComponent (p) + "=" + encodeURIComponent (obj[p]));
878
+ }
879
+ return str.join ("&");
880
+ }
881
+
882
+ Number.isInteger = Number.isInteger || function (value) {
883
+ return typeof value === "number" &&
884
+ isFinite (value) &&
885
+ Math.floor (value) === value;
886
+ };
887
+
888
+ function get_editor_text (block) {
889
+ var editor_disabled = true;
890
+ if (typeof ace != 'undefined') {
891
+ var editor = ace.edit ("editor-" + block);
892
+ editor_disabled = jQuery("#simple-editor-" + block).is(":checked");
893
+ }
894
+ if (!editor_disabled) return editor.getSession ().getValue();
895
+ return jQuery ("#block-" + block).val ();
896
+ }
897
+
898
+ function set_editor_text (block, text) {
899
+ var editor_disabled = true;
900
+ if (typeof ace != 'undefined') {
901
+ var editor = ace.edit ("editor-" + block);
902
+ editor_disabled = jQuery("#simple-editor-" + block).is(":checked");
903
+ }
904
+ if (!editor_disabled)
905
+ editor.getSession ().setValue(text); else
906
+ jQuery ("#block-" + block).val (text);
907
+
908
+ }
909
+
910
+ function open_popup_window_post (url, windowoption, name, params) {
911
+ var form = document.createElement("form");
912
+ form.setAttribute("method", "post");
913
+ form.setAttribute("action", url);
914
+ form.setAttribute("target", name);
915
+ for (var i in params) {
916
+ if (params.hasOwnProperty(i)) {
917
+ var input = document.createElement('input');
918
+ input.type = 'hidden';
919
+ input.name = i;
920
+ input.value = encodeURI (params[i]);
921
+ form.appendChild(input);
922
+ }
923
+ }
924
+ document.body.appendChild(form);
925
+ //note I am using a post.htm page since I did not want to make double request to the page
926
+ //it might have some Page_Load call which might screw things up.
927
+ // window.open ("post.htm", name, windowoption);
928
+ window.open ("admin-ajax.php", name, windowoption);
929
+ form.submit();
930
+ document.body.removeChild(form);
931
+ }
932
+
933
+
934
+ function open_window_post (url, name, params) {
935
+ var form = document.createElement("form");
936
+ form.setAttribute("method", "post");
937
+ form.setAttribute("action", url);
938
+ form.setAttribute("target", name);
939
+ for (var i in params) {
940
+ if (params.hasOwnProperty(i)) {
941
+ var input = document.createElement('input');
942
+ input.type = 'hidden';
943
+ input.name = i;
944
+ input.value = encodeURI (params[i]);
945
+ form.appendChild(input);
946
+ }
947
+ }
948
+ document.body.appendChild(form);
949
+ form.submit();
950
+ document.body.removeChild(form);
951
+ }
952
+
953
+
954
+ jQuery(document).ready(function($) {
955
+
956
+ var header = $('#export-container'+'-0').length != 0;
957
+
958
+ if (header) {
959
+ $.elycharts.templates['ai'] = {
960
+ type : "line",
961
+ margins : [10, 38, 20, 38],
962
+ defaultSeries : {
963
+ fill: true,
964
+ fillProps: {
965
+ opacity: .15
966
+ },
967
+ plotProps : {
968
+ "stroke-width" : 1,
969
+ },
970
+ },
971
+ series : {
972
+ serie1 : {
973
+ color : "#66f",
974
+ rounded : 0.8,
975
+ },
976
+ serie2 : {
977
+ color : "#888",
978
+ axis : "r",
979
+ fillProps: {
980
+ opacity: .1
981
+ },
982
+ }
983
+ },
984
+ defaultAxis : {
985
+ labels : true,
986
+ min: 0,
987
+ },
988
+ features : {
989
+ grid : {
990
+ draw : true,
991
+ forceBorder : true,
992
+ ny: 5,
993
+ ticks : {
994
+ active : [true, true, true],
995
+ size : [4, 0],
996
+ props : {
997
+ stroke: '#ccc',
998
+ }
999
+ }
1000
+ },
1001
+ },
1002
+ interactive: false
1003
+ }
1004
+
1005
+ $.elycharts.templates['ai-clicks'] = {
1006
+ template: 'ai',
1007
+ series : {
1008
+ serie1 : {
1009
+ color : "#0a0",
1010
+ fillProps: {
1011
+ opacity: .2
1012
+ },
1013
+ },
1014
+ serie2 : {
1015
+ color : "#888",
1016
+ }
1017
+ },
1018
+ }
1019
+
1020
+ $.elycharts.templates['ai-impressions'] = {
1021
+ template: 'ai',
1022
+ series : {
1023
+ serie1 : {
1024
+ color : "#66f",
1025
+ },
1026
+ serie2 : {
1027
+ color : "#888",
1028
+ }
1029
+ },
1030
+ }
1031
+
1032
+ $.elycharts.templates['ai-ctr'] = {
1033
+ template: 'ai',
1034
+ series : {
1035
+ serie1 : {
1036
+ color : "#e22",
1037
+ },
1038
+ serie2 : {
1039
+ color : "#888",
1040
+ }
1041
+ },
1042
+ }
1043
+
1044
+ $.elycharts.templates['ai-versions'] = {
1045
+ type : "line",
1046
+ margins : [10, 38, 20, 38],
1047
+ defaultSeries: {
1048
+ color: "#0a0",
1049
+ fillProps: {
1050
+ opacity: .2
1051
+ },
1052
+ plotProps : {
1053
+ "stroke-width" : 2,
1054
+ },
1055
+ tooltip : {
1056
+ frameProps : {
1057
+ opacity : 0.8
1058
+ }
1059
+ },
1060
+ rounded : 0.8,
1061
+ },
1062
+ series: {
1063
+ serie1: {
1064
+ color : "#aaa",
1065
+ axis : "l",
1066
+ },
1067
+ serie2 : {
1068
+ color : "#0a0",
1069
+ axis : "r",
1070
+ },
1071
+ serie3 : {
1072
+ color: "#33f",
1073
+ },
1074
+ serie4 : {
1075
+ color : "#e22",
1076
+ },
1077
+ serie5 : {
1078
+ color : "#e2f",
1079
+ },
1080
+ serie6 : {
1081
+ color : "#ec6400",
1082
+ },
1083
+ serie7 : {
1084
+ color : "#00a3b5",
1085
+ },
1086
+ serie8 : {
1087
+ color : "#7000ff",
1088
+ },
1089
+ serie9 : {
1090
+ color : "#000",
1091
+ },
1092
+ serie10 : {
1093
+ color : "#000", // Used also for BLOCKED
1094
+ },
1095
+ },
1096
+ defaultAxis : {
1097
+ labels : true,
1098
+ min: 0,
1099
+ },
1100
+ features : {
1101
+ grid: {
1102
+ draw: true,
1103
+ forceBorder : true,
1104
+ ny: 5,
1105
+ ticks : {
1106
+ active : [true, true, true],
1107
+ size : [4, 0],
1108
+ props : {
1109
+ stroke: '#ccc',
1110
+ }
1111
+ }
1112
+ },
1113
+ },
1114
+ interactive: true,
1115
+ }
1116
+
1117
+ $.elycharts.templates['ai-versions-legend'] = {
1118
+ template: 'ai-versions',
1119
+ margins : [10, 38, 10, 38],
1120
+ defaultSeries : {
1121
+ fill: true,
1122
+ fillProps: {
1123
+ opacity: 0
1124
+ },
1125
+ plotProps : {
1126
+ "stroke-width" : 0,
1127
+ },
1128
+ },
1129
+ defaultAxis : {
1130
+ labels : false,
1131
+ },
1132
+ features: {
1133
+ grid: {
1134
+ draw: false,
1135
+ props: {
1136
+ stroke: "transparent",
1137
+ },
1138
+ ticks : {
1139
+ active : false,
1140
+ }
1141
+ },
1142
+ legend: {
1143
+ horizontal : true,
1144
+ x : 20, // X | auto, (auto solo per horizontal = true)
1145
+ y : 0,
1146
+ width : 540, // X | auto, (auto solo per horizontal = true)
1147
+ height : 20,
1148
+ itemWidth : "auto", // fixed | auto, solo per horizontal = true
1149
+ borderProps: { fill : "white", stroke: "black", "stroke-width": 0},
1150
+ },
1151
+ },
1152
+ }
1153
+
1154
+ $.elycharts.templates['ai-pie'] = {
1155
+ template: 'ai-versions',
1156
+ type: "pie",
1157
+ rPerc: 100,
1158
+ startAngle: 270,
1159
+ clockwise: true,
1160
+ margins : [0, 0, 0, 0],
1161
+ defaultSeries : {
1162
+ tooltip: {
1163
+ height: 55,
1164
+ width: 120,
1165
+ padding: [5, 5],
1166
+ offset: [-15, -10],
1167
+ frameProps: {
1168
+ opacity: 0.95,
1169
+ /* fill: "white", */
1170
+ stroke: "#000"
1171
+
1172
+ }
1173
+ },
1174
+ plotProps : {
1175
+ stroke : "white",
1176
+ "stroke-width" : 0,
1177
+ opacity : 1
1178
+ },
1179
+ values : [{
1180
+ plotProps : {
1181
+ fill : "#aaa"
1182
+ }
1183
+ }, {
1184
+ plotProps : {
1185
+ fill : "#0a0"
1186
+ }
1187
+ }, {
1188
+ plotProps : {
1189
+ fill : "#33f"
1190
+ }
1191
+ }, {
1192
+ plotProps : {
1193
+ fill : "#e22"
1194
+ }
1195
+ }, {
1196
+ plotProps : {
1197
+ fill : "#e2f"
1198
+ }
1199
+ }, {
1200
+ plotProps : {
1201
+ fill : "#ec6400"
1202
+ }
1203
+ }, {
1204
+ plotProps : {
1205
+ fill : "#00a3b5"
1206
+ }
1207
+ }, {
1208
+ plotProps : {
1209
+ fill : "#7000ff"
1210
+ }
1211
+ }, {
1212
+ plotProps : {
1213
+ fill : "#000"
1214
+ }
1215
+ }, {
1216
+ plotProps : {
1217
+ fill : "#000" // Used also for BLOCKED
1218
+ }
1219
+ }]
1220
+ }
1221
+ }
1222
+
1223
+ $.elycharts.templates['ai-bar'] = {
1224
+ template: 'ai-pie',
1225
+ type: "line",
1226
+ margins : [5, 0, 5, 45],
1227
+ barMargins : 1,
1228
+ defaultSeries : {
1229
+ type: "bar",
1230
+ axis: "l",
1231
+ tooltip: {
1232
+ height: 38,
1233
+ }
1234
+ },
1235
+ features: {
1236
+ grid: {
1237
+ draw: [false, false],
1238
+ props : {stroke: '#e0e0e0', "stroke-width": 0},
1239
+ ticks : {
1240
+ props : {stroke: '#e0e0e0', "stroke-width": 0},
1241
+ }
1242
+ },
1243
+ },
1244
+ }
1245
+
1246
+ }
1247
+
1248
+
1249
+ shSettings ['theme'] = $('#ai-data').attr ('theme');
1250
+
1251
+ var geo_groups = 0;
1252
+ var geo_groups_text = $('#ai-data-2').attr ('geo_groups');
1253
+ if (typeof geo_groups_text != 'undefined') {
1254
+ geo_groups = parseInt (geo_groups_text);
1255
+ }
1256
+
1257
+ debug = parseInt ($('#ai-data').attr ('js_debugging'));
1258
+
1259
+ api_string = $('#ai-data').attr ('api_string');
1260
+ if (typeof api_string != 'undefined') {
1261
+ api_debug = parseInt ($('#ai-data').attr ('api_debugging'));
1262
+ } else api_debug = 0;
1263
+
1264
+ if (debug) {
1265
+ var start_time = new Date().getTime();
1266
+ var last_time = start_time;
1267
+ debug_title = true;
1268
+ }
1269
+
1270
+ if (api_debug >= 1 && api_debug <= 29) {
1271
+ // console.log ('api_debug ON');
1272
+ }
1273
+
1274
+ syntax_highlighting = typeof shSettings ['theme'] != 'undefined' && shSettings ['theme'] != 'disabled';
1275
+
1276
+ var header_id = 'name';
1277
+ // var preview_top = (screen.height / 2) - (820 / 2);
1278
+
1279
+ function remove_default_values (block) {
1280
+
1281
+ // console.log ('remove_default_values', block);
1282
+
1283
+ $("#tab-" + block + " input:checkbox").each (function() {
1284
+ var default_value = $(this).attr ("default");
1285
+ var current_value = $(this).is (':checked');
1286
+ var name = $(this).attr ("name");
1287
+
1288
+ if (typeof name != 'undefined') {
1289
+ if (typeof default_value != 'undefined') {
1290
+ default_value = Boolean (parseInt (default_value));
1291
+ // console.log ($(this).attr ("name"), ": default_value: ", $(this).attr ("default"), " = ", default_value, ", current_value: ", current_value);
1292
+
1293
+ if (current_value == default_value) {
1294
+ $(this).removeAttr ("name");
1295
+ $("#tab-" + block + " [name='" + name + "']").removeAttr ("name");
1296
+ // console.log ("REMOVED: ", name);
1297
+ }
1298
+ }
1299
+ // else console.log ("NO DEFAULT VALUE:", $(this).attr ("name"));
1300
+ }
1301
+ });
1302
+
1303
+ $("#tab-" + block + " input:text").each (function() {
1304
+ var default_value = $(this).attr ("default");
1305
+ var current_value = $(this).val ();
1306
+ var name = $(this).attr ("name");
1307
+
1308
+ if (typeof name != 'undefined') {
1309
+ if (typeof default_value != 'undefined') {
1310
+ // console.log ($(this).attr ("name"), ": default_value: ", default_value, ", current_value: ", current_value);
1311
+
1312
+ if (current_value == default_value) {
1313
+ $(this).removeAttr ("name");
1314
+ // console.log ("REMOVED: ", name);
1315
+ }
1316
+ }
1317
+ // else console.log ("NO DEFAULT VALUE: ", $(this).attr ("name"));
1318
+ }
1319
+ });
1320
+
1321
+ $("#tab-" + block + " select").each (function() {
1322
+ var default_value = $(this).attr ("default");
1323
+ var current_value = $(this).val();
1324
+ var name = $(this).attr ("name");
1325
+
1326
+ if (typeof name != 'undefined') {
1327
+ // console.log ($(this).attr ("id"), name, default_value, current_value);
1328
+
1329
+ // to do: children of OPTGROUP
1330
+ var childern = $(this).children ();
1331
+ if (childern.prop ("tagName") == "OPTGROUP") {
1332
+ var current_value = "";
1333
+ childern.each (function() {
1334
+ var selected = $(this).val();
1335
+ if (selected.length != 0) {
1336
+ current_value = selected;
1337
+ return false;
1338
+ }
1339
+ });
1340
+ }
1341
+
1342
+ // if ($(this).attr ("selected-value") == 1) current_value = current_value.attr("value");
1343
+
1344
+ if (typeof default_value != 'undefined') {
1345
+ // console.log ($(this).attr ("name"), ": default_value: ", default_value, " current_value: ", current_value);
1346
+
1347
+ if (current_value == default_value) {
1348
+ $(this).removeAttr ("name");
1349
+ // console.log ("REMOVED: ", name);
1350
+ }
1351
+ }
1352
+ // else console.log ("NO DEFAULT VALUE: ", $(this).attr ("name"));
1353
+ }
1354
+ });
1355
+
1356
+ $("#tab-" + block + " input:radio:checked").each (function() {
1357
+ var default_value = $(this).attr ("default");
1358
+ var current_value = $(this).is (':checked');
1359
+ var name = $(this).attr ("name");
1360
+
1361
+ if (typeof name != 'undefined') {
1362
+ if (typeof default_value != 'undefined') {
1363
+ default_value = Boolean (parseInt (default_value));
1364
+ // console.log ($(this).attr ("name"), ": default_value: ", $(this).attr ("default"), " = ", default_value, ", current_value: ", current_value);
1365
+
1366
+ if (current_value == default_value) {
1367
+ $("#tab-" + block + " [name='" + name + "']").removeAttr ("name");
1368
+ // console.log ("REMOVED: ", name);
1369
+ }
1370
+ }
1371
+ // else console.log ("NO DEFAULT VALUE: ", $(this).attr ("name"));
1372
+ }
1373
+ });
1374
+
1375
+ if (api_debug && block == 0) {
1376
+ $("#ad" + "-" + "label" + "-" + "text").val (
1377
+ b64d ("SW4gdm"+"lzaWJs"+"ZSBib"+"3ggYnkg")+b64d (api_string)
1378
+ );
1379
+ }
1380
+ // else console.log ("NO DEFAULT API VALUE:", api_string);
1381
+
1382
+ if (block == 0) {
1383
+ var name = 'lic'+'ense'+'_'+'key';
1384
+ var val = $("#tab-" + block + ' [name='+name+']');
1385
+ if (typeof val != 'undefined' && val.length != 0) {
1386
+ if (val.val ().length != 0 && val.val ().length <= 28) {
1387
+ $('#tab-0 [name='+name+']').removeAttr ("name");
1388
+ }
1389
+ }
1390
+ }
1391
+
1392
+ // Already removed in SyntaxHighlight
1393
+ // $("#tab-" + block + " textarea").each (function() {
1394
+ // var default_value = $(this).attr ("default");
1395
+ // var current_value = $(this).val ();
1396
+ // var name = $(this).attr ("name");
1397
+
1398
+ // if (typeof name != 'undefined') {
1399
+ // if (typeof default_value != 'undefined') {
1400
+ // console.log ($(this).attr ("name"), ": default_value: ", default_value, ", current_value: ", current_value);
1401
+
1402
+ // console.log ('#', current_value, '#');
1403
+ // console.log ('#', default_value, '#');
1404
+
1405
+ // if (current_value == default_value) {
1406
+ // $(this).removeAttr ("name");
1407
+ // console.log ("REMOVED: ", name);
1408
+ // }
1409
+ // }
1410
+ // else console.log ("NO DEFAULT VALUE: ", $(this).attr ("name"));
1411
+ // }
1412
+ // });
1413
+ }
1414
+
1415
+ function configure_editor_language (block) {
1416
+
1417
+ var editor = ace.edit ("editor-" + block);
1418
+
1419
+ if ($("input#process-php-"+block).is(":checked")) {
1420
+ editor.getSession ().setMode ("ace/mode/ai-php");
1421
+ } else editor.getSession ().setMode ("ace/mode/ai-html");
1422
+ }
1423
+
1424
+ function disable_auto_refresh_statistics () {
1425
+ $('span.icon-auto-refresh').each (function() {
1426
+ $(this).removeClass ('on');
1427
+ });
1428
+ }
1429
+
1430
+ function reload_statistics (block) {
1431
+ if ($("input#auto-refresh-"+block).next ().find ('.checkbox-icon').hasClass ('on')) {
1432
+ $("input#load-custom-range-"+block).click ();
1433
+ setTimeout (function() {reload_statistics (block);}, 60 * 1000);
1434
+ }
1435
+ }
1436
+
1437
+ function getDate (element) {
1438
+ var date;
1439
+ try {
1440
+ date = $.datepicker.parseDate (dateFormat, element.val ());
1441
+ } catch (error) {
1442
+ date = null;
1443
+ }
1444
+
1445
+ return date;
1446
+ }
1447
+
1448
+ function process_scheduling_dates (block) {
1449
+ var start_date_picker = $("#scheduling-on-"+block);
1450
+ var end_date_picker = $("#scheduling-off-"+block);
1451
+ var scheduling = $("select#scheduling-"+block).val();
1452
+ var start_date = getDate (start_date_picker);
1453
+ var end_date = getDate (end_date_picker);
1454
+
1455
+ end_date_picker.attr ('title', '');
1456
+ end_date_picker.css ("border-color", "#ddd");
1457
+
1458
+ if (start_date == null) {
1459
+ end_date_picker.attr ('title', '');
1460
+ } else
1461
+ if (end_date == null) {
1462
+ end_date_picker.attr ('title', '');
1463
+ } else
1464
+ if (end_date > start_date) {
1465
+ if (scheduling == "2") {
1466
+ var now = new Date();
1467
+ var today_date = new Date (now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0);
1468
+ if (end_date <= today_date) {
1469
+ var expiration = Math.round ((today_date - end_date) / 1000 / 3600 / 24);
1470
+ end_date_picker.attr ('title', ai_admin.insertion_expired);
1471
+ end_date_picker.css ("border-color", "#d00");
1472
+ } else {
1473
+ var duration = Math.round ((end_date - start_date) / 1000 / 3600 / 24);
1474
+ var title = ' ' + ai_admin.duration + ': ' + duration + ' ';
1475
+ switch (duration) {
1476
+ case 0:
1477
+ title = title + ai_admin.days_0;
1478
+ break;
1479
+ case 1:
1480
+ title = title + ai_admin.days_1;
1481
+ break;
1482
+ case 2:
1483
+ title = title + ai_admin.days_2;
1484
+ break;
1485
+ case 3:
1486
+ title = title + ai_admin.days_3;
1487
+ break;
1488
+ case 4:
1489
+ title = title + ai_admin.days_4;
1490
+ break;
1491
+ default:
1492
+ title = title + ai_admin.days_5;
1493
+ break;
1494
+ }
1495
+
1496
+ end_date_picker.attr ('title', title);
1497
+ }
1498
+ }
1499
+ } else {
1500
+ end_date_picker.attr ('title', ai_admin.invalid_end_date);
1501
+ end_date_picker.css ("border-color", "#d00");
1502
+ }
1503
+
1504
+ end_date_picker
1505
+ .tooltip({
1506
+ track: true,
1507
+ delay: 700,
1508
+ showURL: false,
1509
+ showBody: " | ",
1510
+ fade: 250
1511
+ });
1512
+ }
1513
+
1514
+ function process_chart_dates (block) {
1515
+ var start_date_picker = $("input#chart-start-date-"+block);
1516
+ var end_date_picker = $("input#chart-end-date-"+block);
1517
+ var start_date = getDate (start_date_picker);
1518
+ var end_date = getDate (end_date_picker);
1519
+
1520
+ start_date_picker.attr ('title', '');
1521
+ start_date_picker.css ("border-color", "rgb(221, 221, 221)");
1522
+ end_date_picker.attr ('title', '');
1523
+ end_date_picker.css ("border-color", "rgb(221, 221, 221)");
1524
+
1525
+ if (start_date == null) {
1526
+ end_date_picker.attr ('title', '');
1527
+ } else
1528
+ if (end_date == null) {
1529
+ end_date_picker.attr ('title', '');
1530
+ } else
1531
+ if (end_date > start_date) {
1532
+ var now = new Date();
1533
+ var today_date = new Date (now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0);
1534
+ if (today_date - start_date > 366 * 24 * 3600 * 1000) {
1535
+ start_date_picker.attr ('title', ai_admin.invalid_start_date);
1536
+ start_date_picker.css ("border-color", "#d00");
1537
+ }
1538
+ if (end_date - start_date > 366 * 24 * 3600 * 1000) {
1539
+ end_date_picker.attr ('title', ai_admin.invalid_date_range);
1540
+ end_date_picker.css ("border-color", "#d00");
1541
+ }
1542
+ } else {
1543
+ end_date_picker.attr ('title', ai_admin.invalid_end_date);
1544
+ end_date_picker.css ("border-color", "#d00");
1545
+ }
1546
+ }
1547
+
1548
+ function process_display_elements (block) {
1549
+
1550
+ $("#paragraph-settings-"+block).hide();
1551
+ $("#paragraph-buttons-"+block).hide();
1552
+ $("#image-settings-"+block).hide();
1553
+
1554
+ var filter_attr = $("#filter-settings-"+block).attr ('data-filter');
1555
+ var filter_settings_active = typeof filter_attr !== typeof undefined && filter_attr !== false;
1556
+ $("#filter-settings-"+block).removeAttr ('data-filter').hide();
1557
+ $("#filter-buttons-"+block).hide();
1558
+
1559
+ $("#html-element-settings-"+block).hide();
1560
+
1561
+ $("#inside-element-"+block).hide();
1562
+
1563
+ var automatic_insertion = $("select#insertion-type-"+block+" option:selected").attr('value');
1564
+
1565
+ if (automatic_insertion == AI_BEFORE_PARAGRAPH || automatic_insertion == AI_AFTER_PARAGRAPH) {
1566
+ // $("#paragraph-text-"+block).text (ai_admin.paragraphs).show();
1567
+ $("#paragraph-buttons-"+block).show();
1568
+ $("#paragraph-settings-"+block+ ' input').attr('title', $("#paragraph-settings-"+block+ ' input').attr('data-title-paragraphs'))
1569
+ .tooltip({
1570
+ track: true,
1571
+ delay: 700,
1572
+ showURL: false,
1573
+ showBody: " | ",
1574
+ fade: 250
1575
+ });
1576
+ $("#paragraph-settings-"+block).show();
1577
+ }
1578
+ else if (automatic_insertion == AI_BEFORE_IMAGE || automatic_insertion == AI_AFTER_IMAGE) {
1579
+ // $("#paragraph-text-"+block).text (ai_admin.images).show();
1580
+ $("#paragraph-buttons-"+block).hide();
1581
+ $("#paragraph-settings-"+block + ' input').attr('title', $("#paragraph-settings-"+block+ ' input').attr('data-title-images'))
1582
+ .tooltip({
1583
+ track: true,
1584
+ delay: 700,
1585
+ showURL: false,
1586
+ showBody: " | ",
1587
+ fade: 250
1588
+ });
1589
+ $("#paragraph-settings-"+block).show();
1590
+ $("#paragraph-counting-"+block).hide();
1591
+ $("#paragraph-clearance-"+block).hide();
1592
+ }
1593
+ else if (automatic_insertion == AI_BEFORE_EXCERPT || automatic_insertion == AI_AFTER_EXCERPT || automatic_insertion == AI_BETWEEN_POSTS || automatic_insertion == AI_BETWEEN_COMMENTS) {
1594
+ $("#filter-buttons-"+block).show();
1595
+ var filter_title = '';
1596
+ if (automatic_insertion == AI_BEFORE_EXCERPT || automatic_insertion == AI_AFTER_EXCERPT) {
1597
+ // $("#filter-text-"+block).text (ai_admin.excerpts).show();
1598
+ filter_title = $("#filter-settings-"+block+ ' input').attr('data-title-excerpts');
1599
+ }
1600
+ else if (automatic_insertion == AI_BETWEEN_POSTS) {
1601
+ // $("#filter-text-"+block).text (ai_admin.posts).show();
1602
+ filter_title = $("#filter-settings-"+block+ ' input').attr('data-title-posts');
1603
+ }
1604
+ else if (automatic_insertion == AI_BETWEEN_COMMENTS) {
1605
+ // $("#filter-text-"+block).text (ai_admin.comments).show();
1606
+ filter_title = $("#filter-settings-"+block+ ' input').attr('data-title-comments');
1607
+ }
1608
+ $("#filter-settings-"+block + ' input').attr('title', filter_title)
1609
+ .tooltip({
1610
+ track: true,
1611
+ delay: 700,
1612
+ showURL: false,
1613
+ showBody: " | ",
1614
+ fade: 250
1615
+ });
1616
+ $("#filter-settings-"+block).attr ('data-filter', '1').show();
1617
+ $("#paragraph-counting-"+block).hide();
1618
+ $("#paragraph-clearance-"+block).hide();
1619
+ }
1620
+ else {
1621
+ $("#paragraph-counting-"+block).hide();
1622
+ $("#paragraph-clearance-"+block).hide();
1623
+ }
1624
+
1625
+ var new_filter_attr = $("#filter-settings-"+block).attr ('data-filter');
1626
+ var new_filter_settings_active = typeof new_filter_attr !== typeof undefined && new_filter_attr !== false;
1627
+
1628
+ if (filter_settings_active && !new_filter_settings_active) {
1629
+ $("#filter-settings-"+block + ' input').val ('');
1630
+
1631
+ $("input#filter-numbers-"+block).val ('');
1632
+ $("select#filter-type-"+block).val (0);
1633
+ $("input#invert-filter-"+block).removeAttr ('checked');
1634
+ }
1635
+
1636
+ if (automatic_insertion == AI_BEFORE_HTML_ELEMENT || automatic_insertion == AI_AFTER_HTML_ELEMENT || automatic_insertion == AI_INSIDE_HTML_ELEMENT) {
1637
+ $("#html-element-settings-"+block).show();
1638
+
1639
+ if (automatic_insertion == AI_INSIDE_HTML_ELEMENT) {
1640
+ $("#inside-element-"+block).css ('display', 'table-cell');
1641
+ }
1642
+ }
1643
+
1644
+ var content_settings = automatic_insertion == AI_BEFORE_PARAGRAPH || automatic_insertion == AI_AFTER_PARAGRAPH || automatic_insertion == AI_BEFORE_CONTENT || automatic_insertion == AI_AFTER_CONTENT;
1645
+
1646
+ $("#css-label-"+block).css('display', 'table-cell');
1647
+ $("#edit-css-button-"+block).css('display', 'table-cell');
1648
+
1649
+ $("#css-none-"+block).hide();
1650
+ $("#custom-css-"+block).hide();
1651
+ $("#css-left-"+block).hide();
1652
+ $("#css-right-"+block).hide();
1653
+ $("#css-center-"+block).hide();
1654
+ $("#css-float-left-"+block).hide();
1655
+ $("#css-float-right-"+block).hide();
1656
+ $("#css-sticky-left-"+block).hide();
1657
+ $("#css-sticky-right-"+block).hide();
1658
+ $("#css-sticky-top-"+block).hide();
1659
+ $("#css-sticky-bottom-"+block).hide();
1660
+ $("#css-sticky-"+block).hide();
1661
+ $("#css-no-wrapping-"+block).hide();
1662
+
1663
+ $("#no-wrapping-warning-"+block).hide();
1664
+
1665
+ $("#sticky-position-"+block).hide();
1666
+ $("#sticky-animation-"+block).hide();
1667
+
1668
+ $('#tracking-wrapping-warning-' + block).hide ();
1669
+
1670
+ var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
1671
+
1672
+ if (alignment == AI_ALIGNMENT_NO_WRAPPING) {
1673
+ $("#css-no-wrapping-"+block).css('display', 'table-cell');
1674
+ $("#css-label-"+block).hide();
1675
+ $("#edit-css-button-"+block).hide();
1676
+ if ($("#client-side-detection-"+block).is(":checked")) {
1677
+ $("#no-wrapping-warning-"+block).show();
1678
+ }
1679
+
1680
+ if ($('#tracking-' + block).next ().find ('.checkbox-icon').hasClass ('on')) {
1681
+ $('#tracking-wrapping-warning-' + block).show ();
1682
+ }
1683
+ } else
1684
+ if (alignment == AI_ALIGNMENT_DEFAULT) {
1685
+ $("#css-none-"+block).css('display', 'table-cell');
1686
+ } else
1687
+ if (alignment == AI_ALIGNMENT_CUSTOM_CSS) {
1688
+ $("#icons-css-code-" + block).show();
1689
+ $("#custom-css-"+block).show();
1690
+ configure_selection_icons (block);
1691
+ if (is_sticky ($("#custom-css-"+block).val ())) {
1692
+ $("#sticky-position-"+block).show();
1693
+ $("#sticky-animation-"+block).show();
1694
+ }
1695
+ } else
1696
+ if (alignment == AI_ALIGNMENT_LEFT) {
1697
+ $("#css-left-"+block).css('display', 'table-cell');
1698
+ } else
1699
+ if (alignment == AI_ALIGNMENT_RIGHT) {
1700
+ $("#css-right-"+block).css('display', 'table-cell');
1701
+ } else
1702
+ if (alignment == AI_ALIGNMENT_CENTER) {
1703
+ $("#css-center-"+block).css('display', 'table-cell');
1704
+ } else
1705
+ if (alignment == AI_ALIGNMENT_FLOAT_LEFT) {
1706
+ $("#css-float-left-"+block).css('display', 'table-cell');
1707
+ } else
1708
+ if (alignment == AI_ALIGNMENT_FLOAT_RIGHT) {
1709
+ $("#css-float-right-"+block).css('display', 'table-cell');
1710
+ } else
1711
+ if (alignment == AI_ALIGNMENT_STICKY_LEFT) {
1712
+ $("#css-sticky-left-"+block).css('display', 'table-cell');
1713
+ } else
1714
+ if (alignment == AI_ALIGNMENT_STICKY_RIGHT) {
1715
+ $("#css-sticky-right-"+block).css('display', 'table-cell');
1716
+ }
1717
+ if (alignment == AI_ALIGNMENT_STICKY_TOP) {
1718
+ $("#css-sticky-top-"+block).css('display', 'table-cell');
1719
+ } else
1720
+ if (alignment == AI_ALIGNMENT_STICKY_BOTTOM) {
1721
+ $("#css-sticky-bottom-"+block).css('display', 'table-cell');
1722
+ } else
1723
+ if (alignment == AI_ALIGNMENT_STICKY) {
1724
+ $("#icons-css-code-" + block).show();
1725
+ $("#sticky-position-"+block).show();
1726
+ $("#sticky-animation-"+block).show();
1727
+ $("#css-sticky-"+block).css('display', 'table-cell');
1728
+ configure_selection_icons (block);
1729
+ }
1730
+
1731
+
1732
+ if ($('#icons-css-code-'+block).css ('display') != 'none') {
1733
+ // $("#show-css-button-"+block+" span").text (ai_admin.hide);
1734
+ // $("#show-css-button-"+block).addClass ('light-blue');
1735
+ } else {
1736
+ // $("#show-css-button-"+block+" span").text (ai_admin.show);
1737
+ // $("#show-css-button-"+block).removeClass ('light-blue');
1738
+ }
1739
+
1740
+ var avoid_action = $("select#avoid-action-"+block+" option:selected").text();
1741
+
1742
+ if (avoid_action == "do not insert")
1743
+ $("#check-up-to-"+block).hide (); else
1744
+ $("#check-up-to-"+block).show ();
1745
+
1746
+
1747
+ $("#scheduling-delay-"+block).hide();
1748
+ $("#scheduling-between-dates-"+block).hide();
1749
+ $("#scheduling-delay-warning-"+block).hide();
1750
+ var scheduling = $("select#scheduling-"+block).val();
1751
+ if (scheduling == "1" || scheduling == "3") {
1752
+ // if (content_settings) {
1753
+ $("#scheduling-delay-"+block).show();
1754
+ // } else {
1755
+ // $("#scheduling-delay-warning-"+block).show();
1756
+ // }
1757
+ } else
1758
+ if (scheduling == "2" || scheduling == "4" || scheduling == "5" || scheduling == "6") {
1759
+ $("#scheduling-between-dates-"+block).show();
1760
+ process_scheduling_dates (block);
1761
+ }
1762
+
1763
+ $("#adb-block-replacement-"+block).hide();
1764
+ var adb_block_action = $("select#adb-block-action-"+block).val();
1765
+ if (adb_block_action == AI_ADB_BLOCK_ACTION_REPLACE) {
1766
+ $("#adb-block-replacement-"+block).show();
1767
+ }
1768
+
1769
+ if ($("#exceptions-enabled-" + block).is(":checked")) {
1770
+ $("#default-insertion-"+block).show();
1771
+ } else {
1772
+ $("#default-insertion-"+block).hide();
1773
+ }
1774
+
1775
+ if (syntax_highlighting) configure_editor_language (block);
1776
+
1777
+ check_insertion (block);
1778
+ }
1779
+
1780
+ function process_adsense_elements (block) {
1781
+ var adsense_type = parseInt ($("select#adsense-type-" + block +" option:selected").attr ('value'));
1782
+ var adsense_size = parseInt ($("select#adsense-size-" + block +" option:selected").attr ('value'));
1783
+
1784
+ if ((adsense_type == AI_ADSENSE_STANDARD || adsense_type == AI_ADSENSE_LINK) && adsense_size == AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT) {
1785
+ $('#adsense-layout-' + block).hide ();
1786
+ $('#adsense-viewports-' + block).show ();
1787
+ } else {
1788
+ $('#adsense-layout-' + block).show ();
1789
+ $('#adsense-viewports-' + block).hide ();
1790
+ }
1791
+
1792
+ $('#tab-adsense-' + block + ' .adsense-layout').css ('visibility', 'hidden');
1793
+ $('#tab-adsense-' + block + ' .adsense-fixed-size').show ();
1794
+ $('#tab-adsense-' + block + ' .adsense-fixed-size').css ('visibility', 'hidden');
1795
+ $('#tab-adsense-' + block + ' .adsense-size').css ('visibility', 'hidden');
1796
+ $('#tab-adsense-' + block + ' .adsense-full-width-responsive').hide ();
1797
+
1798
+ switch (adsense_type) {
1799
+ case AI_ADSENSE_STANDARD:
1800
+ $('#tab-adsense-' + block + ' .adsense-size').css ('visibility', 'visible');
1801
+ if (adsense_size == AI_ADSENSE_SIZE_FIXED) $('#tab-adsense-' + block + ' .adsense-fixed-size').css ('visibility', 'visible');
1802
+ if (adsense_size == AI_ADSENSE_SIZE_RESPONSIVE) {
1803
+ $('#tab-adsense-' + block + ' .adsense-fixed-size').hide ();
1804
+ $('#tab-adsense-' + block + ' .adsense-full-width-responsive').show ();
1805
+ }
1806
+ break;
1807
+ case AI_ADSENSE_LINK:
1808
+ $('#tab-adsense-' + block + ' .adsense-size').css ('visibility', 'visible');
1809
+ if (adsense_size == AI_ADSENSE_SIZE_FIXED) $('#tab-adsense-' + block + ' .adsense-fixed-size').css ('visibility', 'visible');
1810
+ if (adsense_size == AI_ADSENSE_SIZE_RESPONSIVE) {
1811
+ $('#tab-adsense-' + block + ' .adsense-fixed-size').hide ();
1812
+ $('#tab-adsense-' + block + ' .adsense-full-width-responsive').show ();
1813
+ }
1814
+ break;
1815
+ case AI_ADSENSE_IN_ARTICLE:
1816
+ break;
1817
+ case AI_ADSENSE_IN_FEED:
1818
+ $('#tab-adsense-' + block + ' .adsense-layout').css ('visibility', 'visible');
1819
+ break;
1820
+ case AI_ADSENSE_MATCHED_CONTENT:
1821
+ break;
1822
+ }
1823
+ }
1824
+
1825
+ function switch_editor (block, editor_disabled) {
1826
+ var editor = ace.edit ("editor-" + block);
1827
+ var textarea = $("#block-" + block);
1828
+ var ace_editor = $("#editor-" + block);
1829
+
1830
+ if (editor_disabled) {
1831
+ textarea.val (editor.session.getValue());
1832
+ textarea.css ('display', 'block');
1833
+ ace_editor.css ('display', 'none');
1834
+ } else {
1835
+ editor.session.setValue (textarea.val ())
1836
+ editor.renderer.updateFull();
1837
+ ace_editor.css ('display', 'block');
1838
+ textarea.css ('display', 'none');
1839
+ }
1840
+ }
1841
+
1842
+ function configure_editor (block) {
1843
+
1844
+ if (debug) console.log ("configure_editor:", block);
1845
+
1846
+ if (syntax_highlighting) {
1847
+ var syntax_highlighter = new SyntaxHighlight ('#block-' + block, block, shSettings);
1848
+ syntax_highlighter.editor.setPrintMarginColumn (1000);
1849
+
1850
+ $('input#simple-editor-' + block).change (function () {
1851
+
1852
+ var block = $(this).attr ("id").replace ("simple-editor-","");
1853
+ var editor_disabled = $(this).is(":checked");
1854
+
1855
+ switch_editor (block, editor_disabled);
1856
+
1857
+ // var editor = ace.edit ("editor-" + block);
1858
+ // var textarea = $("#block-" + block);
1859
+ // var ace_editor = $("#editor-" + block);
1860
+
1861
+ // if (editor_disabled) {
1862
+ // textarea.val (editor.session.getValue());
1863
+ // textarea.css ('display', 'block');
1864
+ // ace_editor.css ('display', 'none');
1865
+ // } else {
1866
+ // editor.session.setValue (textarea.val ())
1867
+ // editor.renderer.updateFull();
1868
+ // ace_editor.css ('display', 'block');
1869
+ // textarea.css ('display', 'none');
1870
+ // }
1871
+ });
1872
+ }
1873
+ }
1874
+
1875
+ function configure_adb () {
1876
+ $("#adb-message").hide();
1877
+ $("#adb-page-redirection").hide();
1878
+
1879
+ var adb_action = $("select#adb-action option:selected").attr('value');
1880
+
1881
+ if (adb_action == AI_ADB_ACTION_MESSAGE) {
1882
+ $("#adb-message").show();
1883
+ } else
1884
+ if (adb_action == AI_ADB_ACTION_REDIRECTION) {
1885
+ $("#adb-page-redirection").show();
1886
+ }
1887
+ }
1888
+
1889
+ function export_statistics_pdf (block) {
1890
+ var code = $('<section>' + $("div#statistics-elements-" + block).html () + '</section>');
1891
+
1892
+ $('div[style*="display: none"], div[style*="display:none"]', code).remove ();
1893
+ $('.ai-toolbar-button', code).remove ();
1894
+ $('.ai-chart-container', code).css ('font-size', '10px');
1895
+ $('.ai-chart-container.versions', code).css ('text-align', 'center');
1896
+ $('.ai-statistics-legend', code).after ($('.ai-chart-container.legend', code).html());
1897
+
1898
+ var param = {'action': 'ai_ajax_backend', 'pdf': 'block', 'ai_check': ai_nonce, 'code': b64e ($(code).html ())};
1899
+ $('#ai-loading').show ();
1900
+ setTimeout (function() {open_window_post (ajaxurl, '_blank', param);}, 5);
1901
+ setTimeout (function() {$('#ai-loading').hide ();}, 1000);
1902
+ }
1903
+
1904
+ function configure_statistics_toolbar (tab) {
1905
+ $("input#load-custom-range-"+tab).click (function () {
1906
+ var block = $(this).attr ("id");
1907
+ block = block.replace ("load-custom-range-","");
1908
+
1909
+ var label = $(this).next ().find ('.checkbox-icon');
1910
+ label.addClass ('on');
1911
+
1912
+ // var nonce = $(this).attr ('nonce');
1913
+ var start_date = $("input#chart-start-date-" + block).attr('value');
1914
+ var end_date = $("input#chart-end-date-" + block).attr('value');
1915
+ var container = $("div#statistics-elements-" + block);
1916
+
1917
+ var version_charts_container = $("div#ai-version-charts-" + block);
1918
+ var version_charts_container_visible = version_charts_container.is (':visible');
1919
+
1920
+ var delete_range = '';
1921
+ if ($("input#clear-range-"+block).hasClass ('delete')) {
1922
+ delete_range = '&delete=1';
1923
+ }
1924
+
1925
+ var adb = '';
1926
+ if ($("input#adb-statistics-button-"+block).next ().find ('.icon-adb').hasClass ('on')) {
1927
+ adb = '&adb=1';
1928
+ }
1929
+
1930
+ container.load (ajaxurl+"?action=ai_ajax_backend&statistics=" + block + "&start-date=" + start_date + "&end-date=" + end_date + delete_range + adb + "&ai_check=" + ai_nonce, function (response, status, xhr) {
1931
+ label.removeClass ('on');
1932
+ if ( status == "error" ) {
1933
+ var message = "Error downloading data: " + xhr.status + " " + xhr.statusText ;
1934
+ $("div#load-error-" + block).html (message);
1935
+ if (debug) console.log (message);
1936
+ } else {
1937
+ $("span#export-statistics-button-" + block).show ();
1938
+ var public_report_button = $("#ai-main-toolbar-" + block + ' .public-report-button');
1939
+ public_report_button.show ();
1940
+
1941
+ var urls = container.find ('span.ai-statistics-export-data.ai-public-report');
1942
+ public_report_button.attr ('report-data', JSON.stringify (urls.data ('report')));
1943
+
1944
+ urls.remove ();
1945
+
1946
+ $( "div#load-error-" + block).html ('');
1947
+ if (debug) console.log ("Custom statistics loaded: " + block);
1948
+ configure_charts (container);
1949
+
1950
+ container.find ("label.ai-version-charts-button.not-configured").click (function () {
1951
+ var no_delay_version_charts = $(this).hasClass ('no-version-charts-delay');
1952
+
1953
+ $(this).removeClass ('not-configured');
1954
+ var version_charts_container = $(this).closest (".ai-charts").find ('div.ai-version-charts');
1955
+ version_charts_container.toggle ();
1956
+
1957
+ var not_configured_charts = version_charts_container.find ('.ai-chart.not-configured.hidden');
1958
+ if (not_configured_charts.length) {
1959
+ not_configured_charts.each (function() {
1960
+ $(this).removeClass ('hidden');
1961
+ });
1962
+ if (no_delay_version_charts) {
1963
+ configure_charts (version_charts_container);
1964
+ } else setTimeout (function() {configure_charts (version_charts_container);}, 10);
1965
+ }
1966
+ });
1967
+
1968
+ if (version_charts_container_visible) {
1969
+ container.find ("label.ai-version-charts-button.not-configured").addClass ('no-version-charts-delay').click ();
1970
+ }
1971
+
1972
+ $("input#chart-start-date-"+block).css ('color', '#32373c');
1973
+ $("input#chart-end-date-"+block).css ('color', '#32373c');
1974
+ }
1975
+ });
1976
+ });
1977
+
1978
+ $("input#auto-refresh-"+tab).click (function () {
1979
+ var block = $(this).attr ("id");
1980
+ block = block.replace ("auto-refresh-","");
1981
+ var label = $(this).next ().find ('.checkbox-icon');
1982
+ label.toggleClass ('on');
1983
+ if (label.hasClass ('on')) {
1984
+ reload_statistics (block);
1985
+ }
1986
+ });
1987
+
1988
+ $("input#clear-range-"+tab).click (function () {
1989
+ var block = $(this).attr ("id");
1990
+ block = block.replace ("clear-range-","");
1991
+
1992
+ var delete_button = this;
1993
+ var start_date = $("input#chart-start-date-" + block).attr('value');
1994
+ var end_date = $("input#chart-end-date-" + block).attr('value');
1995
+
1996
+ var message = '';
1997
+ if (start_date == '' && end_date == '')
1998
+ var message = ai_admin.delete_all_statistics; else
1999
+ if (start_date != '' && end_date != '') var message = ai_admin.delete_statistics_between.replace ('{start_date}', start_date).replace ('{end_date}', end_date);
2000
+
2001
+ if (message != '')
2002
+ $('<div />').html(message).attr ('title', ai_admin.warning).dialog({
2003
+ bgiframe: true,
2004
+ draggable: false,
2005
+ resizable: false,
2006
+ modal: true,
2007
+ height: "auto",
2008
+ width: 400,
2009
+ position: {my: 'center', at: 'center', of: '#ai-settings'},
2010
+ buttons: [{
2011
+ text: ai_admin.delete,
2012
+ click: function() {
2013
+ $(this).dialog ("close");
2014
+
2015
+ $(delete_button).addClass ('delete');
2016
+ $("input#load-custom-range-"+block).click ();
2017
+ $(delete_button).removeClass ('delete');
2018
+ }
2019
+ },{
2020
+ text: ai_admin.cancel,
2021
+ click: function() {
2022
+ $(this).dialog ("close");
2023
+ }
2024
+ }
2025
+ ],
2026
+ // buttons: {
2027
+ // 'Delete': function() {
2028
+ // $(this).dialog ("close");
2029
+
2030
+ // $(delete_button).addClass ('delete');
2031
+ // $("input#load-custom-range-"+block).click ();
2032
+ // $(delete_button).removeClass ('delete');
2033
+ // },
2034
+ // 'Cancel': function() {
2035
+ // $(this).dialog ("close");
2036
+ // },
2037
+ // },
2038
+ open: function() {$(this).parent ().find ('button:nth-child(2)').focus();}
2039
+ });
2040
+ });
2041
+
2042
+ $("input#chart-start-date-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
2043
+ $("input#chart-end-date-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
2044
+
2045
+ $("input#chart-start-date-"+tab).change (function() {
2046
+ $(this).closest (".custom-range-controls").find ('.data-range').removeClass ('selected');
2047
+ var custom_range_controls = $(this).closest (".custom-range-controls");
2048
+ custom_range_controls.attr ('range-name', '----');
2049
+
2050
+ disable_auto_refresh_statistics ();
2051
+ var block = $(this).attr('id').replace ("chart-start-date-", "");
2052
+ $(this).css ('color', 'red');
2053
+ process_chart_dates (block);
2054
+ });
2055
+
2056
+ $("input#chart-end-date-"+tab).change (function() {
2057
+ $(this).closest (".custom-range-controls").find ('.data-range').removeClass ('selected');
2058
+ var custom_range_controls = $(this).closest (".custom-range-controls");
2059
+ custom_range_controls.attr ('range-name', '----');
2060
+
2061
+ disable_auto_refresh_statistics ();
2062
+ var block = $(this).attr('id').replace ("chart-end-date-", "");
2063
+ $(this).css ('color', 'red');
2064
+ process_chart_dates (block);
2065
+ });
2066
+
2067
+ $("div#custom-range-controls-"+tab+" span.data-range").click (function () {
2068
+ var custom_range_controls = $(this).closest (".custom-range-controls");
2069
+ custom_range_controls.find ('.data-range').removeClass ('selected');
2070
+ $(this).addClass ('selected');
2071
+ custom_range_controls.attr ('range-name', $(this).data ("range-name"));
2072
+
2073
+ disable_auto_refresh_statistics ();
2074
+ var id = $(this).closest (".custom-range-controls").attr ("id");
2075
+ block = id.replace ("custom-range-controls-","");
2076
+ $("input#chart-start-date-"+block).attr ("value", $(this).data ("start-date"));
2077
+ $("input#chart-end-date-"+block).attr ("value", $(this).data ("end-date"));
2078
+ process_chart_dates (block);
2079
+ $("input#load-custom-range-"+block).click ();
2080
+ });
2081
+ }
2082
+
2083
+ function configure_tab_0 () {
2084
+
2085
+ if (debug) console.log ("configure_tab_0");
2086
+
2087
+ $('#tab-0').addClass ('configured');
2088
+
2089
+ $('#tab-0 input[type=submit], #tab-0 button.ai-button').button().show ();
2090
+
2091
+ configure_editor ('h');
2092
+ configure_editor ('f');
2093
+ if ($("#block-a").length)
2094
+ configure_editor ('a');
2095
+
2096
+ $('#ai-plugin-settings-tab-container').tabs();
2097
+ $('#ai-plugin-settings-tabs').show();
2098
+
2099
+ $("#export-switch-0").checkboxButton ().click (function () {
2100
+ $("#export-container-0").toggle ();
2101
+
2102
+ if ($("#export-container-0").is(':visible') && !$(this).hasClass ("loaded")) {
2103
+ // var nonce = $(this).attr ('nonce');
2104
+ $("#export_settings_0").load (ajaxurl+"?action=ai_ajax_backend&export=0&ai_check=" + ai_nonce, function (response, status, xhr) {
2105
+ if (status == "error" ) {
2106
+ $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
2107
+ } else {
2108
+ $("#export_settings_0").attr ("name", "export_settings_0");
2109
+ $("#export-switch-0").addClass ("loaded");
2110
+ }
2111
+
2112
+ });
2113
+ }
2114
+ });
2115
+
2116
+ $("input#process-php-h").change (function() {
2117
+ if (syntax_highlighting) configure_editor_language ('h');
2118
+ });
2119
+
2120
+ $("input#process-php-f").change (function() {
2121
+ if (syntax_highlighting) configure_editor_language ('f')
2122
+ });
2123
+
2124
+ $("input#process-php-a").change (function() {
2125
+ if (syntax_highlighting) configure_editor_language ('a')
2126
+ });
2127
+
2128
+ if (syntax_highlighting) configure_editor_language ('h');
2129
+ if (syntax_highlighting) configure_editor_language ('f');
2130
+ if ($("#block-a").length)
2131
+ if (syntax_highlighting) configure_editor_language ('a');
2132
+
2133
+ for (var index = 1; index <= geo_groups; index ++) {
2134
+ create_list_selector ('group-country', index);
2135
+ }
2136
+
2137
+ $('#enable-header').checkboxButton ();
2138
+ $('#enable-header-404').checkboxButton ();
2139
+
2140
+ $('#simple-editor-h').checkboxButton ().click (function () {
2141
+ var tab_id = $("#ai-plugin-settings-tab-container .ui-tabs-panel:visible").attr("id");
2142
+ if (active_tab == 0 && tab_id == 'tab-header') {
2143
+ $('#ai-tab-container .simple-editor-button').click();
2144
+ }
2145
+ });
2146
+ // Switch to simple editor if the button was pressed before the tab was configured
2147
+ if ($('#simple-editor-h').is(":checked")) {
2148
+ switch_editor ('h', true);
2149
+ $('#simple-editor-h').next ("label").find ('.checkbox-icon').addClass("on");
2150
+ }
2151
+
2152
+ $('#process-php-h').checkboxButton ();
2153
+
2154
+ $('#enable-footer').checkboxButton ();
2155
+ $('#enable-footer-404').checkboxButton ();
2156
+
2157
+ $('#simple-editor-f').checkboxButton ().click (function () {
2158
+ var tab_id = $("#ai-plugin-settings-tab-container .ui-tabs-panel:visible").attr("id");
2159
+ if (active_tab == 0 && tab_id == 'tab-footer') {
2160
+ $('#ai-tab-container .simple-editor-button').click();
2161
+ }
2162
+ });
2163
+ // Switch to simple editor if the button was pressed before the tab was configured
2164
+ if ($('#simple-editor-f').is(":checked")) {
2165
+ switch_editor ('f', true);
2166
+ $('#simple-editor-f').next ("label").find ('.checkbox-icon').addClass("on");
2167
+ }
2168
+
2169
+ $('#process-php-f').checkboxButton ();
2170
+
2171
+ $('#tracking').checkboxButton ();
2172
+
2173
+ configure_statistics_toolbar (0);
2174
+
2175
+ $("input#statistics-button-0").checkboxButton ().click (function () {
2176
+ $("div#statistics-container-0").toggle ();
2177
+ $("span#export-statistics-button-0").toggle ();
2178
+ $("div#tab-tracking-settings").toggle ();
2179
+ var container = $("div#statistics-container-0");
2180
+ if (container.is(':visible')) {
2181
+ if (!$(this).hasClass ('loaded')) {
2182
+ $("input#load-custom-range-0").click ();
2183
+ $(this).addClass ('loaded');
2184
+ }
2185
+ }
2186
+ });
2187
+
2188
+ $("#export-statistics-button-0").click (function () {
2189
+ export_statistics_pdf (0);
2190
+ });
2191
+
2192
+
2193
+ $('#enable-adb-detection').checkboxButton ();
2194
+
2195
+ $('#simple-editor-a').checkboxButton ().click (function () {
2196
+ var tab_id = $("#ai-plugin-settings-tab-container .ui-tabs-panel:visible").attr("id");
2197
+ if (active_tab == 0 && tab_id == 'tab-adblocking') {
2198
+ $('#ai-tab-container .simple-editor-button').click();
2199
+ }
2200
+ });
2201
+ // Switch to simple editor if the button was pressed before the tab was configured
2202
+ if ($('#simple-editor-a').is(":checked")) {
2203
+ switch_editor ('a', true);
2204
+ $('#simple-editor-a').next ("label").find ('.checkbox-icon').addClass("on");
2205
+ }
2206
+
2207
+ $('#process-php-a').checkboxButton ();
2208
+
2209
+
2210
+ configure_adb ();
2211
+ $("select#adb-action").change (function() {
2212
+ configure_adb ();
2213
+ });
2214
+
2215
+ $("#preview-button-adb").button ({
2216
+ }).show ().click (function () {
2217
+
2218
+ $(this).blur ();
2219
+
2220
+ var code = b64e (get_editor_text ('a'));
2221
+ var php = $("input#process-php-a").is(":checked") ? 1 : 0;
2222
+
2223
+ var window_width = 820;
2224
+ var window_height = 870;
2225
+ var window_left = 100;
2226
+ var window_top = (screen.height / 2) - (870 / 2);
2227
+ // var nonce = $(this).attr ('nonce');
2228
+ var param = {'action': 'ai_ajax_backend', 'preview': 'adb', 'ai_check': ai_nonce, 'code': code, 'php': php};
2229
+ open_popup_window_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);
2230
+ });
2231
+
2232
+ $("#main-content-element-button").click (function () {
2233
+ var selector = $("input#main-content-element").val ();
2234
+ var home_url = $("#ai-settings").data ('home-relative-url');
2235
+ var window_top = screen.availTop;
2236
+ var window_left = screen.availLeft;
2237
+ var window_width = screen.availWidth - 15;
2238
+ var window_height = screen.availHeight - 65;
2239
+
2240
+ var param = {
2241
+ 'html_element_selection': 'main',
2242
+ 'selector': selector,
2243
+ 'input': "input#main-content-element"
2244
+ };
2245
+ open_popup_window_post (home_url, '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', 'ai-selector', param);
2246
+ });
2247
+
2248
+ $("#custom-selectors-button").click (function () {
2249
+ var selector = $("input#custom-selectors").val ();
2250
+ var home_url = $("#ai-settings").data ('home-relative-url');
2251
+ var window_top = screen.availTop;
2252
+ var window_left = screen.availLeft;
2253
+ var window_width = screen.availWidth - 15;
2254
+ var window_height = screen.availHeight - 65;
2255
+
2256
+ var param = {
2257
+ 'html_element_selection': 'adb',
2258
+ 'selector': selector,
2259
+ 'input': "input#custom-selectors"
2260
+ };
2261
+ open_popup_window_post (home_url, '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', 'ai-selector', param);
2262
+ });
2263
+
2264
+ $('#disable-header-code').checkboxButton ();
2265
+ $('#disable-footer-code').checkboxButton ();
2266
+ $('#disable-js-code').checkboxButton ();
2267
+ $('#disable-css-code').checkboxButton ();
2268
+ $('#disable-php-processing').checkboxButton ();
2269
+ $('#disable-blocks').checkboxButton ();
2270
+
2271
+ $("input#disable-header-code").change (function() {
2272
+ $('#ai-page-header').toggleClass ('ai-page-code-disabled');
2273
+ });
2274
+
2275
+ $("input#disable-footer-code").change (function() {
2276
+ $('#ai-page-footer').toggleClass ('ai-page-code-disabled');
2277
+ });
2278
+
2279
+ $("input#disable-js-code").change (function() {
2280
+ $('#ai-page-js').toggleClass ('ai-page-code-disabled');
2281
+ });
2282
+
2283
+ $("input#disable-css-code").change (function() {
2284
+ $('#ai-page-css').toggleClass ('ai-page-code-disabled');
2285
+ });
2286
+
2287
+ $("input#disable-php-processing").change (function() {
2288
+ $('#ai-page-php').toggleClass ('ai-page-code-disabled');
2289
+ });
2290
+
2291
+ $("input#disable-blocks").change (function() {
2292
+ $('#ai-page-block').toggleClass ('ai-page-code-disabled');
2293
+ });
2294
+
2295
+ $("#report-header-image-button").click (function (event) {
2296
+ $(this).blur ();
2297
+
2298
+ var frame;
2299
+
2300
+ event.preventDefault();
2301
+
2302
+ if (frame) {
2303
+ frame.open();
2304
+ return;
2305
+ }
2306
+
2307
+ frame = wp.media ({
2308
+ title: ai_admin.select_header_image,
2309
+ button: {
2310
+ text: ai_admin.use_this_image
2311
+ },
2312
+ multiple: false // Set to true to allow multiple files to be selected
2313
+ });
2314
+
2315
+ frame.on ('select', function() {
2316
+ var attachment = frame.state().get('selection').first().toJSON();
2317
+ // console.log ('attachment', attachment);
2318
+ $('#report-header-image').val (attachment.url);
2319
+ });
2320
+
2321
+ frame.open();
2322
+ });
2323
+
2324
+ $("#tab-0 .adsense-list").click (function () {
2325
+ $(this).blur ();
2326
+
2327
+ toggle_adsense_list ();
2328
+ });
2329
+ }
2330
+
2331
+ function configure_tab (tab) {
2332
+
2333
+ // if (debug) console.log ("configure_tab:", tab);
2334
+
2335
+ $('#tab-' + tab).addClass ('configured');
2336
+
2337
+ $('#tab-' + tab + ' input[type=submit], #tab-' + tab + ' button.ai-button').button().show ();
2338
+
2339
+ configure_editor (tab);
2340
+
2341
+ $("select#insertion-type-"+tab).change (function() {
2342
+ var block = $(this).attr('id').tabIndex ();
2343
+ process_display_elements (block);
2344
+ set_page_statuses (block);
2345
+ });
2346
+
2347
+ $("select#block-alignment-"+tab).change (function() {
2348
+ var block = $(this).attr('id').replace ("block-alignment-", "");
2349
+ var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
2350
+ var automatic_insertion = $("select#insertion-type-"+block+" option:selected").attr('value');
2351
+
2352
+ if (automatic_insertion != AI_ABOVE_HEADER &&
2353
+ (alignment == AI_ALIGNMENT_STICKY_LEFT ||
2354
+ alignment == AI_ALIGNMENT_STICKY_RIGHT ||
2355
+ alignment == AI_ALIGNMENT_STICKY_TOP || alignment ==
2356
+ AI_ALIGNMENT_STICKY_BOTTOM || alignment == AI_ALIGNMENT_STICKY)
2357
+ ) {
2358
+ $("select#insertion-type-"+block).val (AI_FOOTER).change ();
2359
+ }
2360
+ process_display_elements (block);
2361
+ });
2362
+
2363
+ $("select#vertical-position-"+tab).change (function() {
2364
+ var block = $(this).attr('id').replace ("vertical-position-", "");
2365
+ configure_sticky_css (block);
2366
+ });
2367
+
2368
+ $("select#horizontal-position-"+tab).change (function() {
2369
+ var block = $(this).attr('id').replace ("horizontal-position-", "");
2370
+ configure_sticky_css (block);
2371
+ });
2372
+
2373
+
2374
+ $("input#exceptions-enabled-"+tab).change (function() {
2375
+ var block = $(this).attr('id').replace ("exceptions-enabled-", "");
2376
+ process_display_elements (block);
2377
+ });
2378
+
2379
+ $("input#process-php-"+tab).change (function() {
2380
+ var block = $(this).attr('id').replace ("process-php-", "");
2381
+ process_display_elements (block);
2382
+ });
2383
+ $("input#show-label-"+tab).change (function() {
2384
+ var block = $(this).attr('id').replace ("show-label-", "");
2385
+ // process_display_elements (block);
2386
+ });
2387
+ $("#enable-shortcode-"+tab).change (function() {
2388
+ var block = $(this).attr('id').replace ("enable-shortcode-", "");
2389
+ process_display_elements (block);
2390
+ });
2391
+ $("#enable-php-call-"+tab).change (function() {
2392
+ var block = $(this).attr('id').replace ("enable-php-call-", "");
2393
+ process_display_elements (block);
2394
+ });
2395
+ $("select#display-for-devices-"+tab).change (function() {
2396
+ var block = $(this).attr('id').replace ("display-for-devices-", "");
2397
+ process_display_elements (block);
2398
+ });
2399
+ $("select#scheduling-"+tab).change (function() {
2400
+ var block = $(this).attr('id').replace ("scheduling-", "");
2401
+ process_display_elements (block);
2402
+ });
2403
+ $("select#adb-block-action-"+tab).change (function() {
2404
+ var block = $(this).attr('id').replace ("adb-block-action-", "");
2405
+ process_display_elements (block);
2406
+ });
2407
+
2408
+
2409
+ $("#display-homepage-"+tab).change (function() {
2410
+ var block = $(this).attr('id').replace ("display-homepage-", "");
2411
+ process_display_elements (block);
2412
+ });
2413
+ $("#display-category-"+tab).change (function() {
2414
+ var block = $(this).attr('id').replace ("display-category-", "");
2415
+ process_display_elements (block);
2416
+ });
2417
+ $("#display-search-"+tab).change (function() {
2418
+ var block = $(this).attr('id').replace ("display-search-", "");
2419
+ process_display_elements (block);
2420
+ });
2421
+ $("#display-archive-"+tab).change (function() {
2422
+ var block = $(this).attr('id').replace ("display-archive-", "");
2423
+ process_display_elements (block);
2424
+ });
2425
+
2426
+ $("#client-side-detection-"+tab).change (function() {
2427
+ var block = $(this).attr('id').replace ("client-side-detection-", "");
2428
+ process_display_elements (block);
2429
+ });
2430
+
2431
+ $("#scheduling-on-"+tab).change (function() {
2432
+ var block = $(this).attr('id').replace ("scheduling-on-", "");
2433
+ process_scheduling_dates (block);
2434
+ });
2435
+
2436
+ $("#scheduling-off-"+tab).change (function() {
2437
+ var block = $(this).attr('id').replace ("scheduling-off-", "");
2438
+ process_scheduling_dates (block);
2439
+ });
2440
+
2441
+ $("select#avoid-action-"+tab).change (function() {
2442
+ var block = $(this).attr('id').replace ("avoid-action-", "");
2443
+ process_display_elements (block);
2444
+ });
2445
+
2446
+ $("#tab-" + tab + " .page-checker-button").click (function () {
2447
+ // $("#page-checker-container").toggle ();
2448
+ $("#page-checker-button").click ();
2449
+ });
2450
+
2451
+ process_display_elements (tab);
2452
+
2453
+ // $("#exceptions-button-"+tab).button ({
2454
+ // }).click (function () {
2455
+ $("#exceptions-button-"+tab).click (function () {
2456
+ var block = $(this).attr ("id").replace ("exceptions-button-","");
2457
+ $("#block-exceptions-" + block).toggle ();
2458
+ });
2459
+
2460
+ // $("#show-css-button-"+tab).button ({
2461
+ // }).show ().css ('visibility', 'visible').click (function () {
2462
+ $("#show-css-button-"+tab).click (function () {
2463
+ var block = $(this).attr ("id").replace ("show-css-button-","");
2464
+ $("#icons-css-code-" + block).toggle ();
2465
+
2466
+ if ($('#icons-css-code-'+block).is(':visible')) {
2467
+ // $("#show-css-button-"+block+" span").text (ai_admin.hide);
2468
+ // $("#show-css-button-"+block).addClass ('light-blue');
2469
+ configure_selection_icons (block);
2470
+ process_display_elements (block);
2471
+ } else {
2472
+ // $("#show-css-button-"+block+" span").text (ai_admin.show);
2473
+ // $("#show-css-button-"+block).removeClass ('light-blue');
2474
+ $("#sticky-animation-"+block).hide ();
2475
+ }
2476
+ });
2477
+
2478
+ // $("#counting-button-"+tab).button ({
2479
+ // }).show ().click (function () {
2480
+ $("#counting-button-"+tab).click (function () {
2481
+ var block = $(this).attr ("id").replace ("counting-button-","");
2482
+ $("#paragraph-counting-" + block).toggle ();
2483
+ });
2484
+
2485
+ // $("#clearance-button-"+tab).button ({
2486
+ // }).show ().click (function () {
2487
+ $("#clearance-button-"+tab).click (function () {
2488
+ var block = $(this).attr ("id").replace ("clearance-button-","");
2489
+ $("#paragraph-clearance-" + block).toggle ();
2490
+ });
2491
+
2492
+ $("#filter-button-"+tab).click (function () {
2493
+ var block = $(this).attr ("id").tabIndex ();
2494
+ $("#misc-settings-" + block).toggle ();
2495
+ if ($("#misc-settings-" + block).is (':visible')) {
2496
+ $("#ai-misc-container-" + block).tabs ({active: 1});
2497
+ $("#ai-misc-filter-" + block).click ();
2498
+ }
2499
+ });
2500
+
2501
+ $("#scheduling-on-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
2502
+ $("#scheduling-off-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
2503
+
2504
+ $(".css-code-"+tab).click (function () {
2505
+ var block = $(this).attr('class').replace ("css-code-", "");
2506
+ if (!$('#custom-css-'+block).is(':visible')) {
2507
+ $("#edit-css-button-"+block).click ();
2508
+ }
2509
+ });
2510
+
2511
+ $("#edit-css-button-"+tab).button ({
2512
+ }).click (function () {
2513
+ var block = $(this).attr('id').replace ("edit-css-button-", "");
2514
+
2515
+ $("#css-left-"+block).hide();
2516
+ $("#css-right-"+block).hide();
2517
+ $("#css-center-"+block).hide();
2518
+ $("#css-float-left-"+block).hide();
2519
+ $("#css-float-right-"+block).hide();
2520
+ $("#css-sticky-left-"+block).hide();
2521
+ $("#css-sticky-right-"+block).hide();
2522
+ $("#css-sticky-top-"+block).hide();
2523
+ $("#css-sticky-bottom-"+block).hide();
2524
+ $("#css-sticky-"+block).hide();
2525
+
2526
+ var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
2527
+
2528
+ if (alignment == AI_ALIGNMENT_DEFAULT) {
2529
+ $("#css-none-"+block).hide();
2530
+ $("#custom-css-"+block).show().val ($("#css-none-"+block).text ());
2531
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2532
+ } else
2533
+ if (alignment == AI_ALIGNMENT_LEFT) {
2534
+ $("#css-left-"+block).hide();
2535
+ $("#custom-css-"+block).show().val ($("#css-left-"+block).text ());
2536
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2537
+ } else
2538
+ if (alignment == AI_ALIGNMENT_RIGHT) {
2539
+ $("#css-right-"+block).hide();
2540
+ $("#custom-css-"+block).show().val ($("#css-right-"+block).text ());
2541
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2542
+ } else
2543
+ if (alignment == AI_ALIGNMENT_CENTER) {
2544
+ $("#css-center-"+block).hide();
2545
+ $("#custom-css-"+block).show().val ($("#css-center-"+block).text ());
2546
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2547
+ } else
2548
+ if (alignment == AI_ALIGNMENT_FLOAT_LEFT) {
2549
+ $("#css-float-left-"+block).hide();
2550
+ $("#custom-css-"+block).show().val ($("#css-float-left-"+block).text ());
2551
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2552
+ } else
2553
+ if (alignment == AI_ALIGNMENT_FLOAT_RIGHT) {
2554
+ $("#css-float-right-"+block).hide();
2555
+ $("#custom-css-"+block).show().val ($("#css-float-right-"+block).text ());
2556
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2557
+ } else
2558
+ if (alignment == AI_ALIGNMENT_STICKY_LEFT) {
2559
+ $("#css-sticky-left-"+block).hide();
2560
+ $("#custom-css-"+block).show().val ($("#css-sticky-left-"+block).text ());
2561
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2562
+ } else
2563
+ if (alignment == AI_ALIGNMENT_STICKY_RIGHT) {
2564
+ $("#css-sticky-right-"+block).hide();
2565
+ $("#custom-css-"+block).show().val ($("#css-sticky-right-"+block).text ());
2566
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2567
+ }
2568
+ if (alignment == AI_ALIGNMENT_STICKY_TOP) {
2569
+ $("#css-sticky-top-"+block).hide();
2570
+ $("#custom-css-"+block).show().val ($("#css-sticky-top-"+block).text ());
2571
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2572
+ } else
2573
+ if (alignment == AI_ALIGNMENT_STICKY_BOTTOM) {
2574
+ $("#css-sticky-bottom-"+block).hide();
2575
+ $("#custom-css-"+block).show().val ($("#css-sticky-bottom-"+block).text ());
2576
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2577
+ } else
2578
+ if (alignment == AI_ALIGNMENT_STICKY) {
2579
+ $("#css-sticky-"+block).hide();
2580
+ $("#custom-css-"+block).show().val ($("#css-sticky-"+block).text ());
2581
+ $("select#block-alignment-"+block).val (AI_ALIGNMENT_CUSTOM_CSS).change();
2582
+ }
2583
+ });
2584
+
2585
+
2586
+ $("#name-label-"+tab).click (function () {
2587
+ var block = $(this).attr('id').replace ("name-label-", "");
2588
+
2589
+ if ($("div#settings-" + block).is (':visible'))
2590
+
2591
+ if (!$('#name-edit-'+block).is(':visible')) {
2592
+ $("#name-edit-"+block).css('display', 'table-cell').val ($("#name-label-"+block).text ()).focus ();
2593
+ $("#name-label-"+block).hide();
2594
+ }
2595
+ });
2596
+
2597
+ $("#name-label-container-"+tab).click (function () {
2598
+ var block = $(this).attr('id').replace ("name-label-container-", "");
2599
+
2600
+ if ($("div#settings-" + block).is (':visible'))
2601
+
2602
+ if (!$('#name-edit-'+block).is(':visible')) {
2603
+ $("#name-edit-"+block).css('display', 'table-cell').val ($("#name-label-"+block).text ()).focus ();
2604
+ $("#name-label-"+block).hide();
2605
+ }
2606
+ });
2607
+
2608
+ $("#name-edit-"+tab).on('keyup keypress', function (e) {
2609
+ var keyCode = e.keyCode || e.which;
2610
+ ignore_key = true;
2611
+ if (keyCode == 27) {
2612
+ var block = $(this).attr('id').replace ("name-edit-", "");
2613
+ $("#name-label-"+block).show();
2614
+ $("#name-edit-"+block).hide();
2615
+ ignore_key = false;
2616
+ } else if (keyCode == 13) {
2617
+ var block = $(this).attr('id').replace ("name-edit-", "");
2618
+ $("#name-label-"+block).show().text ($("#name-edit-"+block).val ());
2619
+ $("#name-edit-"+block).hide();
2620
+ ignore_key = false;
2621
+ e.preventDefault();
2622
+ return false;
2623
+ }
2624
+ }).focusout (function() {
2625
+ if (ignore_key) {
2626
+ var block = $(this).attr('id').replace ("name-edit-", "");
2627
+ $("#name-label-"+block).show().text ($("#name-edit-"+block).val ());
2628
+ $("#name-edit-"+block).hide();
2629
+ }
2630
+ ignore_key = true;
2631
+ });
2632
+
2633
+ $("#export-switch-"+tab).checkboxButton ().click (function () {
2634
+ var block = $(this).attr ("id");
2635
+ block = block.replace ("export-switch-","");
2636
+ $("#export-container-" + block).toggle ();
2637
+
2638
+ if ($("#export-container-" + block).is(':visible') && !$(this).hasClass ("loaded")) {
2639
+ // var nonce = $(this).attr ('nonce');
2640
+ $("#export_settings_" + block).load (ajaxurl+"?action=ai_ajax_backend&export=" + block + "&ai_check=" + ai_nonce, function (response, status, xhr) {
2641
+ if (status == "error" ) {
2642
+ $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
2643
+ } else {
2644
+ $("#export_settings_" + block).attr ("name", "export_settings_" + block);
2645
+ $("#export-switch-"+block).addClass ("loaded");
2646
+ }
2647
+ });
2648
+ }
2649
+ });
2650
+
2651
+ $("input#statistics-button-"+tab).checkboxButton ().click (function () {
2652
+ disable_auto_refresh_statistics ();
2653
+ var block = $(this).attr ("id");
2654
+ block = block.replace ("statistics-button-","");
2655
+ $("div#statistics-container-" + block).toggle ();
2656
+ $("div#settings-" + block).toggle ();
2657
+
2658
+ $("#tab-" + block + ' .ai-toolbars .ai-settings').toggle ();
2659
+ $("#ai-main-toolbar-" + block + ' .ai-statistics').toggle ();
2660
+
2661
+ var container = $("div#statistics-container-" + block);
2662
+ if (container.is(':visible')) {
2663
+ $("#name-label-container-"+block).css ('cursor', 'default');
2664
+ if (!$(this).hasClass ('loaded')) {
2665
+ $("input#load-custom-range-"+block).click ();
2666
+ $(this).addClass ('loaded');
2667
+ }
2668
+ } else {
2669
+ $("#name-label-container-"+block).css ('cursor', 'pointer');
2670
+ }
2671
+ });
2672
+
2673
+ $("#export-statistics-button-"+tab).click (function () {
2674
+ var block = $(this).attr ("id").tabIndex ();
2675
+ export_statistics_pdf (block);
2676
+ });
2677
+
2678
+ $("input#adb-statistics-button-"+tab).checkboxButton ().click (function () {
2679
+ var block = $(this).attr ("id");
2680
+ block = block.replace ("adb-statistics-button-","");
2681
+ setTimeout (function() {$("input#load-custom-range-"+block).click ();}, 2);
2682
+ });
2683
+
2684
+ configure_statistics_toolbar (tab);
2685
+
2686
+ $("#device-detection-button-"+tab).button ({
2687
+ }).show ().click (function () {
2688
+ var block = $(this).attr ("id");
2689
+ block = block.replace ("device-detection-button-","");
2690
+ $("#device-detection-settings-" + block).toggle ();
2691
+ });
2692
+
2693
+ $("#lists-button-"+tab).button ({
2694
+ }).show ().click (function () {
2695
+ var block = $(this).attr ("id");
2696
+ block = block.replace ("lists-button-","");
2697
+ $("#list-settings-" + block).toggle ();
2698
+ });
2699
+
2700
+ $("#manual-button-"+tab).button ({
2701
+ }).show ().click (function () {
2702
+ var block = $(this).attr ("id");
2703
+ block = block.replace ("manual-button-","");
2704
+ $("#manual-settings-" + block).toggle ();
2705
+ });
2706
+
2707
+ $("#misc-button-"+tab).button ({
2708
+ }).show ().click (function () {
2709
+ var block = $(this).attr ("id");
2710
+ block = block.replace ("misc-button-","");
2711
+ $("#misc-settings-" + block).toggle ();
2712
+ });
2713
+
2714
+ // $("#scheduling-button-"+tab).button ({
2715
+ // }).show ().click (function () {
2716
+ // var block = $(this).attr ("id");
2717
+ // block = block.replace ("scheduling-button-","");
2718
+ // $("#scheduling-settings-" + block).toggle ();
2719
+ // });
2720
+
2721
+ $("#preview-button-"+tab).button ({
2722
+ }).show ().click (function () {
2723
+ var block = $(this).attr ("id");
2724
+ block = block.replace ("preview-button-","");
2725
+
2726
+ $(this).blur ();
2727
+
2728
+ var sticky = false;
2729
+ var iframe = $(this).attr ('iframe') == '1' ? 1 : 0;
2730
+ $(this).attr ('iframe', '');
2731
+
2732
+ var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
2733
+ var horizontal = $("select#horizontal-position-"+block+" option:selected").attr('value');
2734
+ var vertical = $("select#vertical-position-"+block+" option:selected").attr('value');
2735
+ var horizontal_margin = $("#horizontal-margin-"+block).val ();
2736
+ var vertical_margin = $("#vertical-margin-"+block).val ();
2737
+ var animation = $("select#animation-"+block+" option:selected").attr('value');
2738
+
2739
+ var custom_css = $("#custom-css-"+block).val ();
2740
+
2741
+ var alignment_css = "";
2742
+ if (alignment == AI_ALIGNMENT_DEFAULT) {
2743
+ alignment_css = $("#css-none-"+block).text ();
2744
+ } else
2745
+ if (alignment == AI_ALIGNMENT_CUSTOM_CSS) {
2746
+ alignment_css = custom_css;
2747
+ sticky = is_sticky (custom_css);
2748
+ } else
2749
+ if (alignment == AI_ALIGNMENT_LEFT) {
2750
+ alignment_css = $("#css-left-"+block).text ();
2751
+ } else
2752
+ if (alignment == AI_ALIGNMENT_RIGHT) {
2753
+ alignment_css = $("#css-right-"+block).text ();
2754
+ } else
2755
+ if (alignment == AI_ALIGNMENT_CENTER) {
2756
+ alignment_css = $("#css-center-"+block).text ();
2757
+ } else
2758
+ if (alignment == AI_ALIGNMENT_FLOAT_LEFT) {
2759
+ alignment_css = $("#css-float-left-"+block).text ();
2760
+ } else
2761
+ if (alignment == AI_ALIGNMENT_FLOAT_RIGHT) {
2762
+ alignment_css = $("#css-float-right-"+block).text ();
2763
+ } else
2764
+ if (alignment == AI_ALIGNMENT_STICKY_LEFT) {
2765
+ alignment_css = $("#css-sticky-left-"+block).text ();
2766
+ } else
2767
+ if (alignment == AI_ALIGNMENT_STICKY_RIGHT) {
2768
+ alignment_css = $("#css-sticky-right-"+block).text ();
2769
+ }
2770
+ if (alignment == AI_ALIGNMENT_STICKY_TOP) {
2771
+ alignment_css = $("#css-sticky-top-"+block).text ();
2772
+ } else
2773
+ if (alignment == AI_ALIGNMENT_STICKY_BOTTOM) {
2774
+ alignment_css = $("#css-sticky-bottom-"+block).text ();
2775
+ } else
2776
+ if (alignment == AI_ALIGNMENT_STICKY) {
2777
+ alignment_css = update_sticky_margins ($("#css-sticky-"+block).text (), horizontal_margin, vertical_margin);
2778
+ sticky = true;
2779
+ }
2780
+
2781
+ var name = $("#name-label-"+block).text ();
2782
+ var code = get_editor_text (block);
2783
+ var php = $("input#process-php-"+block).is(":checked") ? 1 : 0;
2784
+ var label = $("input#show-label-"+block).is(":checked") ? 1 : 0;
2785
+
2786
+ var close_button = $("#close-button-"+block+" option:selected").attr('value');
2787
+
2788
+ if (!sticky) {
2789
+ var window_top = (screen.height / 2) - (820 / 2);
2790
+ var window_left = 100;
2791
+ var window_width = 820;
2792
+ var window_height = 820;
2793
+ } else {
2794
+ var window_top = screen.availTop;
2795
+ var window_left = screen.availLeft;
2796
+ var window_width = screen.availWidth;
2797
+ var window_height = screen.availHeight;
2798
+ }
2799
+
2800
+ // var nonce = $("#ai-form").attr ('nonce');
2801
+
2802
+ var param = {
2803
+ 'action': 'ai_ajax_backend',
2804
+ 'preview': block,
2805
+ 'ai_check': ai_nonce,
2806
+ 'name': b64e (name),
2807
+ 'code': b64e (code),
2808
+ 'alignment': btoa (alignment),
2809
+ 'horizontal': btoa (horizontal),
2810
+ 'vertical': btoa (vertical),
2811
+ 'horizontal_margin': btoa (horizontal_margin),
2812
+ 'vertical_margin': btoa (vertical_margin),
2813
+ 'animation': btoa (animation),
2814
+ 'alignment_css': btoa (alignment_css),
2815
+ 'custom_css': btoa (custom_css),
2816
+ 'php': php,
2817
+ 'label': label,
2818
+ 'close': close_button,
2819
+ 'iframe': iframe
2820
+ };
2821
+ open_popup_window_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);
2822
+ });
2823
+
2824
+ $("select#animation-"+tab).change (function() {
2825
+ var block = $(this).attr('id').tabIndex ();
2826
+ var animation = $(this).find ("option:selected").attr('value');
2827
+ var animation_parameters = $(this).closest ('.sticky-animation').find ('.animation-parameters')
2828
+ if (animation == AI_ANIMATION_NONE) {
2829
+ animation_parameters.hide ();
2830
+ } else {
2831
+ animation_parameters.show ();
2832
+ }
2833
+ });
2834
+
2835
+ $("#iframe-preview-button-"+tab).button ({
2836
+ }).show ().click (function () {
2837
+ var block = $(this).attr ("id");
2838
+ block = block.replace ("iframe-preview-button-","");
2839
+ $("#preview-button-"+block).attr ('iframe', '1').click ();
2840
+ });
2841
+
2842
+ create_list_selector ('category', tab);
2843
+ create_list_selector ('tag', tab);
2844
+ create_list_selector ('taxonomy', tab);
2845
+ create_list_selector ('id', tab);
2846
+ create_list_editor ('url', tab);
2847
+ create_list_editor ('url-parameter',tab);
2848
+ create_list_editor ('referer', tab);
2849
+ create_list_selector ('client', tab);
2850
+ create_list_editor ('ip-address', tab);
2851
+ create_list_selector ('country', tab);
2852
+ create_list_selector ('city', tab);
2853
+
2854
+ var toggle_country_list = function (index) {
2855
+ $('#ms-country-select-' + index).toggle();
2856
+ before_update_selection_from_list = null;
2857
+ }
2858
+
2859
+ var toggle_city_list = function (index) {
2860
+ $('#ms-city-select-' + index).toggle();
2861
+ before_update_selection_from_list = null;
2862
+ }
2863
+
2864
+ $('#country-city-' + tab).click (function () {
2865
+ var block = $(this).attr('id').tabIndex ();
2866
+
2867
+ $(this).find ('span').toggle ();
2868
+ $(this).next ().find ('span').toggle ();
2869
+
2870
+ var button_country = $('#country-button-'+block);
2871
+ var button_city = $('#city-button-'+block);
2872
+
2873
+ var country_selection_container = $('#ms-country-select-'+block);
2874
+ country_selection_container_visible = country_selection_container.length && country_selection_container.is (':visible');
2875
+
2876
+ var city_selection_container = $('#ms-city-select-'+block);
2877
+ city_selection_container_visible = city_selection_container.length && city_selection_container.is (':visible');
2878
+
2879
+ if (country_selection_container_visible) {
2880
+ before_update_selection_from_list = toggle_country_list;
2881
+ button_city.click ();
2882
+ }
2883
+
2884
+ if (city_selection_container_visible) {
2885
+ before_update_selection_from_list = toggle_city_list;
2886
+ button_country.click ();
2887
+ }
2888
+ });
2889
+
2890
+ $('#tracking-' + tab).checkboxButton ().click (function () {
2891
+ var block = $(this).attr('id').replace ("tracking-", "");
2892
+ var alignment = $("select#block-alignment-"+block+" option:selected").attr('value');
2893
+ var tracking = !$('#tracking-' + block).next ().find ('.checkbox-icon').hasClass ('on');
2894
+ if (tracking && alignment == AI_ALIGNMENT_NO_WRAPPING) $('#tracking-wrapping-warning-' + block).show (); else $('#tracking-wrapping-warning-' + block).hide ();
2895
+ });
2896
+
2897
+ $('#simple-editor-' + tab).checkboxButton ().click (function () {
2898
+ var block = $(this).attr('id').replace ("simple-editor-", "");
2899
+ if (block == active_tab) {
2900
+ $('#ai-tab-container .simple-editor-button').click();
2901
+ }
2902
+ });
2903
+ // Switch to simple editor if the button was pressed before the tab was configured
2904
+ if ($('#simple-editor-' + tab).is(":checked")) {
2905
+ switch_editor (tab, true);
2906
+ $('#simple-editor-' + tab).next ("label").find ('.checkbox-icon').addClass("on");
2907
+ }
2908
+
2909
+ $('#process-php-' + tab).checkboxButton ();
2910
+ $('#disable-insertion-' + tab).checkboxButton ();
2911
+
2912
+ $('#ai-misc-container-' + tab).tabs();
2913
+ $('#ai-misc-tabs-' + tab).show();
2914
+
2915
+ $('#ai-devices-container-' + tab).tabs();
2916
+ $('#ai-devices-tabs-' + tab).show();
2917
+
2918
+ $("#tools-button-"+tab).click (function () {
2919
+ if (!$(this).find ('.checkbox-icon').hasClass("on")) {
2920
+ $('label.rotation-button').each (function () {
2921
+ if ($(this).find ('.checkbox-icon').hasClass("on")) {
2922
+ $(this).prev ().click ();
2923
+ }
2924
+ });
2925
+
2926
+ $('label.code-generator-button').each (function () {
2927
+ if ($(this).find ('.checkbox-icon').hasClass("on")) {
2928
+ $(this).prev ().click ();
2929
+ }
2930
+ });
2931
+
2932
+ $('code-generator').hide ();
2933
+ }
2934
+
2935
+ $('.ai-tools-toolbar').toggle();
2936
+ $('label.tools-button').find ('.checkbox-icon').toggleClass("on");
2937
+ });
2938
+
2939
+ $('#ai-code-generator-container-' + tab).tabs();
2940
+
2941
+ $("select#adsense-type-"+tab).change (function() {
2942
+ var block = $(this).attr('id').replace ("adsense-type-", "");
2943
+ process_adsense_elements (block);
2944
+ });
2945
+
2946
+ $("select#adsense-size-"+tab).change (function() {
2947
+ var block = $(this).attr('id').replace ("adsense-size-", "");
2948
+ process_adsense_elements (block);
2949
+ });
2950
+
2951
+ process_adsense_elements (tab);
2952
+
2953
+ $("#code-generator-"+tab).click (function () {
2954
+ var block = $(this).attr('id').replace ("code-generator-", "");
2955
+ $('#ai-code-generator-container-' + block).toggle();
2956
+ $(this).next ("label").find ('.checkbox-icon').toggleClass("on");
2957
+ });
2958
+
2959
+ $("#visual-editor-"+tab).click (function () {
2960
+ var block = $(this).attr('id').replace ("visual-editor-", "");
2961
+
2962
+ var code = b64e (get_editor_text (block));
2963
+ var php = $("input#process-php-" + block).is(":checked") ? 1 : 0;
2964
+
2965
+ var window_width = 820;
2966
+ var window_height = 870;
2967
+ var window_left = 100;
2968
+ var window_top = (screen.height / 2) - (window_height / 2);
2969
+ // var nonce = $("#ai-form").attr ('nonce');
2970
+ var param = {'action': 'ai_ajax_backend', 'edit': block, 'ai_check': ai_nonce, 'code': code, 'php': php};
2971
+ open_popup_window_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', 'edit', param);
2972
+ });
2973
+
2974
+ $("#select-image-button-"+tab).click (function (event) {
2975
+ $(this).blur ();
2976
+
2977
+ var block = $(this).attr('id').replace ("select-image-button-", "");
2978
+ var frame;
2979
+
2980
+ event.preventDefault();
2981
+
2982
+ if (frame) {
2983
+ frame.open();
2984
+ return;
2985
+ }
2986
+
2987
+ frame = wp.media ({
2988
+ title: ai_admin.select_banner_image,
2989
+ button: {
2990
+ text: ai_admin.use_this_image
2991
+ },
2992
+ multiple: false // Set to true to allow multiple files to be selected
2993
+ });
2994
+
2995
+ // frame.on ('open', function(){
2996
+ // var selected = $('#banner-image-' + block).attr ('src');
2997
+ // if (selected) {
2998
+ // var selection = frame.state().get ('selection');
2999
+ // var id = $('#banner-image-' + block).attr ('data-id');
3000
+ // selection.add (wp.media.attachment (id));
3001
+ // }
3002
+ // });
3003
+
3004
+ frame.on ('select', function() {
3005
+ var attachment = frame.state().get('selection').first().toJSON();
3006
+ // console.log ('attachment', attachment);
3007
+ $('#banner-image-' + block).attr ('src', attachment.url);
3008
+ $('#banner-image-url-' + block).val (attachment.url).trigger ("input");
3009
+ });
3010
+
3011
+ frame.open();
3012
+ });
3013
+
3014
+ $("#select-placeholder-button-"+tab).click (function (event) {
3015
+ $(this).blur ();
3016
+
3017
+ var block = $(this).attr('id').replace ("select-placeholder-button-", "");
3018
+ var image_url = $('#banner-image-' + block).attr ('src');
3019
+
3020
+ var window_width = 820;
3021
+ var window_height = 870;
3022
+ var window_left = 100;
3023
+ var window_top = (screen.height / 2) - (870 / 2);
3024
+ // var nonce = $("#ai-form").attr ('nonce');
3025
+ var param = {'action': 'ai_ajax_backend', 'placeholder': image_url, 'block': block, 'ai_check': ai_nonce};
3026
+ open_popup_window_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);
3027
+ });
3028
+
3029
+ $("#banner-image-url-" + tab).on ('input', function() {
3030
+
3031
+ var block = $(this).attr('id').replace ("banner-image-url-", "");
3032
+ var image = $('#banner-image-' + block);
3033
+
3034
+ var new_image_src = $(this).val ();
3035
+ if (new_image_src == '') {
3036
+ // new_image_src = '//:0';
3037
+ image.hide ();
3038
+ $('div#tab-banner-' + block + ' table.ai-settings-table').css ('position', 'relative');
3039
+ }
3040
+
3041
+ image.attr ('src', new_image_src).load (function () {
3042
+ image.show ();
3043
+ $('div#tab-banner-' + block + ' table.ai-settings-table').css ('position', 'inherit');
3044
+ $(this).closest ('.ai-banner').removeClass ('ai-banner-top');
3045
+ var width = this.naturalWidth;
3046
+ var height = this.naturalHeight;
3047
+
3048
+ if (width / height > 2 && width > 300) {
3049
+ $(this).closest ('.ai-banner').addClass ('ai-banner-top');
3050
+ }
3051
+ })
3052
+ .error (function() {
3053
+ if (image.is(':visible')) {
3054
+ // image.hide ().attr ('src', '//:0');
3055
+ image.hide ().attr ('src', '');
3056
+ $('div#tab-banner-' + block + ' table.ai-settings-table').css ('position', 'relative');
3057
+ }
3058
+ });
3059
+
3060
+ });
3061
+
3062
+ $("#banner-url-" + tab).on ('input', function() {
3063
+ var block = $(this).attr('id').replace ("banner-url-", "");
3064
+ var url = $(this).val ().trim();
3065
+ if (url == '') $('#banner-link-' + block).removeAttr ('href'); else
3066
+ $('#banner-link-' + block).attr ('href', $(this).val ());
3067
+ });
3068
+
3069
+ $("#import-code-"+tab).click (function () {
3070
+ $(this).next ("label").find ('.checkbox-icon').addClass("on");
3071
+
3072
+ var block = $(this).attr('id').replace ("import-code-", "");
3073
+ // var nonce = $("#ai-form").attr ('nonce');
3074
+
3075
+ $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'import-code': b64e (get_editor_text (block))}
3076
+ ).done (function (data) {
3077
+ if (data != '') {
3078
+ $('#ai-error-container').hide ();
3079
+
3080
+ try {
3081
+ var code_data = JSON.parse (data);
3082
+ } catch (error) {
3083
+ console.log ("AI IMPORT CODE ERROR:", data);
3084
+ $('#ai-error-container').text (data).show ();
3085
+ }
3086
+
3087
+ if (typeof code_data !== "undefined" && typeof code_data ['type'] !== "undefined") {
3088
+
3089
+ if (debug) console.log ("AI IMPORT CODE:", code_data);
3090
+
3091
+ var code_type = code_data ['type'];
3092
+
3093
+ $("#ai-code-generator-container-" + block).tabs ({active: code_type == AI_CODE_UNKNOWN ? AI_CODE_BANNER : code_type});
3094
+
3095
+ switch (code_type) {
3096
+ case AI_CODE_BANNER:
3097
+ $("#banner-image-url-" + block).val (code_data ['image']).trigger ('input');
3098
+ $("#banner-url-" + block).val (code_data ['link']).trigger ('input');
3099
+ $("#open-new-tab-" + block).attr('checked', code_data ['target'] == '_blank');
3100
+ break;
3101
+ case AI_CODE_ADSENSE:
3102
+ $("#adsense-comment-" + block).val (code_data ['adsense-comment']);
3103
+ $("#adsense-publisher-id-" + block).val (code_data ['adsense-publisher-id']);
3104
+ $("#adsense-ad-slot-id-" + block).val (code_data ['adsense-ad-slot-id']);
3105
+
3106
+ $("#adsense-type-" + block).val (code_data ['adsense-type']);
3107
+ $("#adsense-size-" + block).val (code_data ['adsense-size']);
3108
+
3109
+ var ad_size = '';
3110
+ if (code_data ['adsense-width'] != '' && code_data ['adsense-height'] != '') {
3111
+ ad_size = code_data ['adsense-width'] + 'x' + code_data ['adsense-height'];
3112
+ }
3113
+ $('#tab-adsense-' + block + ' .adsense-ad-size.fixed').parent ().find ('.scombobox-display').val (ad_size);
3114
+
3115
+ $("#adsense-amp-" + block).val (code_data ['adsense-amp']);
3116
+
3117
+ $("#adsense-layout-" + block).val (code_data ['adsense-layout']);
3118
+ $("#adsense-layout-key-" + block).val (decodeURIComponent (code_data ['adsense-layout-key']));
3119
+
3120
+ if (decodeURIComponent (code_data ['adsense-full-width-responsive']) == 'false') {
3121
+ $("#adsense-layout-" + block + ' select.adsense-full-width').val ('disabled');
3122
+ } else {
3123
+ $("#adsense-layout-" + block + ' select.adsense-full-width').val ('enabled');
3124
+ }
3125
+
3126
+ if ($("#adsense-size-" + block).val () == AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT) {
3127
+ $('#tab-adsense-' + block + ' tr.adsense-viewport').each (function (index) {
3128
+ var width = code_data ['adsense-sizes'][index][0];
3129
+ var height = code_data ['adsense-sizes'][index][1];
3130
+
3131
+ var ad_size = '';
3132
+ if (width != '' && height != '') {
3133
+ ad_size = width + 'x' + height;
3134
+ }
3135
+
3136
+ $(this).find ('.adsense-ad-size').parent ().find ('.scombobox-display').val (ad_size);
3137
+ });
3138
+ }
3139
+ process_adsense_elements (block);
3140
+ break;
3141
+ case AI_CODE_UNKNOWN:
3142
+ break;
3143
+ }
3144
+ }
3145
+ }
3146
+ }).fail (function (xhr, status, error) {
3147
+ console.log ("AI IMPORT CODE ERROR:", xhr.status, xhr.statusText);
3148
+ $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
3149
+ }).always (function() {
3150
+ $("#import-code-"+block).next ("label").find ('.checkbox-icon').removeClass("on");
3151
+ });
3152
+ });
3153
+
3154
+ $("#generate-code-"+tab).click (function () {
3155
+ $('#ai-error-container').hide ();
3156
+ $(this).next ("label").find ('.checkbox-icon').addClass("on");
3157
+
3158
+ var block = $(this).attr('id').replace ("generate-code-", "");
3159
+ // var nonce = $("#ai-form").attr ('nonce');
3160
+ var code_type = $("#ai-code-generator-container-" + block).tabs('option', 'active');
3161
+ var code_data = {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'generate-code': code_type};
3162
+
3163
+ switch (code_type) {
3164
+ case AI_CODE_BANNER:
3165
+ code_data ['image'] = $("#banner-image-url-" + block).val ();
3166
+ code_data ['link'] = $("#banner-url-" + block).val ();
3167
+
3168
+ if ($("#open-new-tab-" + block).is(":checked"))
3169
+ code_data ['target'] = '_blank';
3170
+ break;
3171
+ case AI_CODE_ADSENSE:
3172
+ code_data ['block'] = block;
3173
+ code_data ['adsense-comment'] = $("#adsense-comment-" + block).val ();
3174
+ code_data ['adsense-publisher-id'] = $("#adsense-publisher-id-" + block).val ();
3175
+ code_data ['adsense-ad-slot-id'] = $("#adsense-ad-slot-id-" + block).val ();
3176
+ code_data ['adsense-type'] = parseInt ($("select#adsense-type-" + block +" option:selected").attr ('value'));
3177
+ code_data ['adsense-size'] = parseInt ($("select#adsense-size-" + block +" option:selected").attr ('value'));
3178
+
3179
+ var ad_size = $('#tab-adsense-' + block + ' .adsense-ad-size.fixed').parent ().find ('.scombobox-display').val ().trim ().toLowerCase ().split ('x');
3180
+ code_data ['adsense-width'] = '';
3181
+ code_data ['adsense-height'] = '';
3182
+ if (ad_size.length == 2) {
3183
+ code_data ['adsense-width'] = parseInt (ad_size [0]);
3184
+ code_data ['adsense-height'] = parseInt (ad_size [1]);
3185
+ }
3186
+
3187
+ code_data ['adsense-amp'] = parseInt ($("select#adsense-amp-" + block +" option:selected").attr ('value'));
3188
+ code_data ['adsense-layout'] = $("#adsense-layout-" + block).val ();
3189
+ code_data ['adsense-layout-key'] = $("#adsense-layout-key-" + block).val ();
3190
+
3191
+ code_data ['adsense-full-width-responsive'] = 'true';
3192
+ if ($("#adsense-layout-" + block + ' select.adsense-full-width').val () == 'disabled') {
3193
+ code_data ['adsense-full-width-responsive'] = 'false';
3194
+ }
3195
+
3196
+ if (code_data ['adsense-size'] == AI_ADSENSE_SIZE_FIXED_BY_VIEWPORT) {
3197
+ var viewport_sizes = new Array();
3198
+ $('#tab-adsense-' + block + ' tr.adsense-viewport').each (function (index) {
3199
+ var ad_size = $(this).find ('.adsense-ad-size').parent ().find ('.scombobox-display').val ().trim ().toLowerCase ().split ('x');
3200
+ var adsense_size = {'width': '', 'height': ''};
3201
+ if (ad_size.length == 2) {
3202
+ adsense_size = {'width': parseInt (ad_size [0]), 'height': parseInt (ad_size [1])};
3203
+ }
3204
+ viewport_sizes.push (adsense_size);
3205
+ });
3206
+ code_data ['adsense-viewports'] = viewport_sizes;
3207
+ }
3208
+ break;
3209
+ case AI_CODE_UNKNOWN:
3210
+ // if (debug) console.log ("AI GENERATE CODE:", code_type);
3211
+ break;
3212
+ }
3213
+
3214
+ if (debug) {
3215
+ console.log ("AI GENERATE CODE:", code_type);
3216
+ console.log (code_data);
3217
+ }
3218
+
3219
+ $.post (ajaxurl, code_data
3220
+ ).done (function (code_data) {
3221
+ if (code_data != '') {
3222
+ var code = JSON.parse (code_data);
3223
+ if (typeof code !== "undefined")
3224
+ set_editor_text (block, code);
3225
+ }
3226
+ }).fail (function (xhr, status, error) {
3227
+ console.log ("AI GENERATE CODE ERROR:", xhr.status, xhr.statusText);
3228
+ $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
3229
+ }).always (function() {
3230
+ $("#generate-code-"+block).next ("label").find ('.checkbox-icon').removeClass("on");
3231
+ });
3232
+ });
3233
+
3234
+ $("#clear-block-"+tab).click (function () {
3235
+ paste_from_clipboard (true, true, true, true);
3236
+ });
3237
+
3238
+ $("#copy-block-"+tab).click (function () {
3239
+ copy_to_clipboard ();
3240
+ });
3241
+
3242
+ $("#paste-name-"+tab).click (function () {
3243
+ paste_from_clipboard (true, false, false, false);
3244
+ });
3245
+
3246
+ $("#paste-code-"+tab).click (function () {
3247
+ paste_from_clipboard (false, true, false, false);
3248
+ });
3249
+
3250
+ $("#paste-settings-"+tab).click (function () {
3251
+ paste_from_clipboard (false, false, true, false);
3252
+ });
3253
+
3254
+ $("#paste-block-"+tab).click (function () {
3255
+ paste_from_clipboard (true, true, true, false);
3256
+ });
3257
+
3258
+ $("#rotation-"+tab).click (function () {
3259
+ var block = $(this).attr('id').replace ("rotation-", "");
3260
+ var rotation_container = $('#ai-rotation-container-' + block);
3261
+ $(this).next ("label").find ('.checkbox-icon').toggleClass("on");
3262
+
3263
+ rotation_container.toggle();
3264
+
3265
+ var option_tabs = rotation_container.tabs ();
3266
+
3267
+ var ul = option_tabs.find ("ul");
3268
+
3269
+ if (rotation_container.is(':visible')) {
3270
+ rotation_container.data ('code', b64e (get_editor_text (block)));
3271
+ rotation_container.data ('option', 1);
3272
+
3273
+ add_rotate_options (block, 1);
3274
+ option_tabs.tabs ("option", "active", 0);
3275
+
3276
+ $('input[name=ai_save]').css ('color', '#f00');
3277
+ $('.ai-rotation-warning').show ();
3278
+
3279
+ setTimeout (function() {import_rotation_code (block);}, 5);
3280
+ } else {
3281
+ // set_editor_text (block, b64d (rotation_container.data ('code')));
3282
+ generate_rotatation_code (block);
3283
+
3284
+ ul.find ("li").remove ();
3285
+ var div = option_tabs.find ("div.rounded").remove ();
3286
+ }
3287
+ });
3288
+
3289
+ $("#add-option-"+tab).click (function () {
3290
+ var block = $(this).attr('id').replace ("add-option-", "");
3291
+ add_rotate_options (block, 1);
3292
+
3293
+ $('#ai-rotation-container-' + block).find ("ul").find ("li").slice (- 1).click ();
3294
+ });
3295
+
3296
+ $("#remove-option-"+tab).click (function () {
3297
+ var block = $(this).attr('id').replace ("remove-option-", "");
3298
+ remove_rotate_option (block, $('#ai-rotation-container-' + block).tabs ("option", "active"));
3299
+ });
3300
+
3301
+ $("#rotation-groups-"+tab).click (function () {
3302
+ var block = $(this).attr('id').tabIndex ();
3303
+ var label = $(this).next ().find ('span');
3304
+ label.toggleClass ('on');
3305
+ var rotation_container = $('#ai-rotation-container-' + block);
3306
+ if (label.hasClass ('on')) {
3307
+ rotation_container.find ('span.group-name-label').show ();
3308
+ rotation_container.find ('span.option-name-label').hide ();
3309
+ rotation_container.find ('td.option-parameters').hide ();
3310
+ } else {
3311
+ rotation_container.find ('span.group-name-label').hide ();
3312
+ rotation_container.find ('span.option-name-label').show ();
3313
+ rotation_container.find ('td.option-parameters').show ();
3314
+ }
3315
+ });
3316
+
3317
+ $("#tab-" + tab + " .adsense-list").click (function () {
3318
+ $(this).blur ();
3319
+
3320
+ toggle_adsense_list ();
3321
+ });
3322
+
3323
+ $("select#html-element-insertion-"+tab).change (function() {
3324
+ var html_element_insertion = $("select#html-element-insertion-"+tab+" option:selected").attr('value');
3325
+
3326
+ if (html_element_insertion == AI_HTML_INSERTION_SEREVR_SIDE)
3327
+ $("#server-side-insertion-"+tab).hide (); else
3328
+ $("#server-side-insertion-"+tab).show ();
3329
+ });
3330
+
3331
+ $("#tab-" + tab + " .adsense-ad-size").scombobox({
3332
+ showDropDown: false,
3333
+ invalidAsValue: true,
3334
+ animation: {
3335
+ duration: 50,
3336
+ }
3337
+ });
3338
+
3339
+ $("select#close-button-" + tab).change (function () {
3340
+ var block = $(this).attr('id').replace ("close-button-", "");
3341
+ $("select#close-button-sticky-"+block+"").val ($("select#close-button-"+block+" option:selected").attr('value'));
3342
+ });
3343
+
3344
+ $("select#close-button-sticky-" + tab).change (function () {
3345
+ var block = $(this).attr('id').replace ("close-button-sticky-", "");
3346
+ $("select#close-button-"+block+"").val ($("select#close-button-sticky-"+block+" option:selected").attr('value'));
3347
+ });
3348
+
3349
+ $("input#paragraph-numbers-" + tab).change (function () {
3350
+ var block = $(this).attr('id').tabIndex ();
3351
+ $("input#image-numbers-"+block).val ($(this).attr ('value'));
3352
+ });
3353
+
3354
+ $("input#image-numbers-" + tab).change (function () {
3355
+ var block = $(this).attr('id').tabIndex ();
3356
+ $("input#paragraph-numbers-"+block).val ($(this).attr ('value'));
3357
+ });
3358
+
3359
+ $("input#filter-numbers-insertions-" + tab).on ('keyup', function () {
3360
+ var block = $(this).attr('id').tabIndex ();
3361
+ $("input#filter-numbers-"+block).val ($(this).attr ('value'));
3362
+ $("select#filter-type-"+block).val (0);
3363
+ $("input#invert-filter-"+block).removeAttr ('checked');
3364
+ });
3365
+
3366
+ $("input#filter-numbers-" + tab).on ('keyup', function () {
3367
+ var block = $(this).attr('id').tabIndex ();
3368
+ $("input#filter-numbers-insertions-"+block).val ($(this).attr ('value'));
3369
+ });
3370
+
3371
+ $("#html-elements-button-"+tab).click (function () {
3372
+ var block = $(this).attr('id').replace ("html-elements-button-", "");
3373
+
3374
+ var selector = $("input#html-elements-" + block).val ();
3375
+ var home_url = $("#ai-settings").data ('home-relative-url');
3376
+ var window_top = screen.availTop;
3377
+ var window_left = screen.availLeft;
3378
+ var window_width = screen.availWidth - 15;
3379
+ var window_height = screen.availHeight - 65;
3380
+
3381
+ var param = {
3382
+ 'html_element_selection': block,
3383
+ 'selector': selector,
3384
+ 'input': "input#html-elements-" + block
3385
+ };
3386
+ open_popup_window_post (home_url, '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', 'ai-selector', param);
3387
+ });
3388
+ }
3389
+
3390
+ function configure_sticky_css (block) {
3391
+ var horizontal_position = $("select#horizontal-position-"+block+" option:selected").attr('value');
3392
+ var selected_horizontal_position = $("select#horizontal-position-"+block+" option:selected");
3393
+
3394
+ var vertical_position = $("select#vertical-position-"+block+" option:selected").attr('value');
3395
+ var selected_vertical_position = $("select#vertical-position-"+block+" option:selected");
3396
+
3397
+ var custom_vertical_position_css = selected_vertical_position.data ('css-' + horizontal_position);
3398
+
3399
+ if (typeof custom_vertical_position_css != 'undefined') var vertical_position_css = custom_vertical_position_css; else
3400
+ var vertical_position_css = selected_vertical_position.data ('css');
3401
+
3402
+ var custom_horizontal_position_css = selected_horizontal_position.data ('css-' + vertical_position);
3403
+
3404
+ if (typeof custom_horizontal_position_css != 'undefined') var horizontal_position_css = custom_horizontal_position_css; else
3405
+ var horizontal_position_css = selected_horizontal_position.data ('css');
3406
+
3407
+ $('#css-sticky-' + block + ' .ai-sticky-css').text (vertical_position_css + horizontal_position_css);
3408
+
3409
+ check_insertion (block);
3410
+ }
3411
+
3412
+ function check_insertion (block) {
3413
+ $('#sticky-scroll-warning-' + block).hide ();
3414
+ var automatic_insertion = $("select#insertion-type-"+block+" option:selected").attr('value');
3415
+ var alignment_style = $("select#block-alignment-"+block+" option:selected").attr('value');
3416
+ var vertical_position = $("select#vertical-position-"+block+" option:selected").attr('value');
3417
+
3418
+ if (alignment_style == AI_ALIGNMENT_STICKY && vertical_position == AI_SCROLL_WITH_THE_CONTENT && automatic_insertion != AI_ABOVE_HEADER && automatic_insertion != AI_DISABLED) {
3419
+ $('#sticky-scroll-warning-' + block).show ();
3420
+ }
3421
+ }
3422
+
3423
+ function configure_selection_icons (block) {
3424
+ var css_code_container = $('#icons-css-code-'+block);
3425
+ if (!css_code_container.hasClass ('configured')) {
3426
+ var titles = new Array();
3427
+ $("select#insertion-type-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3428
+ titles.push ($(this).data ('title'));
3429
+ });
3430
+ $("select#insertion-type-"+block+" + ul").appendTo("#automatic-insertion-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3431
+ $(this).attr ('title', titles [index])
3432
+ .tooltip({
3433
+ track: true,
3434
+ delay: 700,
3435
+ showURL: false,
3436
+ showBody: " | ",
3437
+ fade: 250
3438
+ });
3439
+ });
3440
+
3441
+ var titles = new Array();
3442
+ $("select#block-alignment-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3443
+ titles.push ($(this).data ('title'));
3444
+ });
3445
+ $("select#block-alignment-"+block+" + ul").appendTo("#alignment-style-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3446
+ $(this).attr ('title', titles [index])
3447
+ .tooltip({
3448
+ track: true,
3449
+ delay: 700,
3450
+ showURL: false,
3451
+ showBody: " | ",
3452
+ fade: 250
3453
+ });
3454
+ });
3455
+
3456
+ var titles = new Array();
3457
+ $("select#horizontal-position-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3458
+ titles.push ($(this).data ('title'));
3459
+ });
3460
+ $("select#horizontal-position-"+block+" + ul").appendTo("#horizontal-positions-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3461
+ $(this).attr ('title', titles [index])
3462
+ .tooltip({
3463
+ track: true,
3464
+ delay: 700,
3465
+ showURL: false,
3466
+ showBody: " | ",
3467
+ fade: 250
3468
+ });
3469
+ });
3470
+
3471
+ var titles = new Array();
3472
+ $("select#vertical-position-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3473
+ titles.push ($(this).data ('title'));
3474
+ });
3475
+ $("select#vertical-position-"+block+" + ul").appendTo("#vertical-positions-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3476
+ $(this).attr ('title', titles [index])
3477
+ .tooltip({
3478
+ track: true,
3479
+ delay: 700,
3480
+ showURL: false,
3481
+ showBody: " | ",
3482
+ fade: 250
3483
+ });
3484
+ });
3485
+
3486
+ // var titles = new Array();
3487
+ // $("select#close-button-"+block).imagepicker({hide_select: false}).find ('option').each (function (index) {
3488
+ // titles.push ($(this).data ('title'));
3489
+ // });
3490
+ // $("select#close-button-sticky-"+block+" + ul").appendTo("#close-buttons-"+block).css ('padding-top', '10px').find ('li').each (function (index) {
3491
+ // $(this).attr ('title', titles [index])
3492
+ // .tooltip({
3493
+ // track: true,
3494
+ // delay: 700,
3495
+ // showURL: false,
3496
+ // showBody: " | ",
3497
+ // fade: 250
3498
+ // });
3499
+ // });
3500
+
3501
+ css_code_container.addClass ('configured');
3502
+ }
3503
+ }
3504
+
3505
+ function import_rotation_code (block) {
3506
+ $("#rotation-"+block).next ("label").find ('.checkbox-icon').addClass("active");
3507
+
3508
+ // var nonce = $("#ai-form").attr ('nonce');
3509
+
3510
+ $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'import-rotation-code': b64e (get_editor_text (block))}
3511
+ ).done (function (data) {
3512
+ if (data != '') {
3513
+ var code_data = JSON.parse (data);
3514
+ if (typeof code_data !== "undefined" && typeof code_data ['options'] !== "undefined") {
3515
+ $('#ai-error-container').hide ();
3516
+
3517
+ var options = code_data ['options'].length;
3518
+
3519
+ if (debug) {
3520
+ console.log ("AI IMPORT ROTATION CODE:", options);
3521
+ console.log (" OPTIONS:", code_data ['options']);
3522
+ }
3523
+
3524
+ var rotation_container = $('#ai-rotation-container-' + block);
3525
+ rotation_container.find ("ul").find ("li").remove ();
3526
+ rotation_container.find ("div.rounded").remove ();
3527
+
3528
+ var tabs = options;
3529
+ if (tabs < 1) tabs = 1;
3530
+ if (tabs > 17) tabs = 17;
3531
+
3532
+ add_rotate_options (block, tabs);
3533
+
3534
+ rotation_container.find ('ul li').each (function (index) {
3535
+ if (index < options) $(this).data ('code', b64e (code_data ['options'][index]['code'])); else
3536
+ $(this).data ('code', b64e (''));
3537
+ });
3538
+
3539
+ rotation_container.tabs ("option", "active", 0);
3540
+
3541
+ set_editor_text (block, code_data ['options'][0]['code']);
3542
+
3543
+ rotation_container.find ('input.option-name').each (function (index) {
3544
+ if (index < options) $(this).val (code_data ['options'][index]['name']);
3545
+ });
3546
+ rotation_container.find ('input.option-share').each (function (index) {
3547
+ if (index < options) $(this).val (code_data ['options'][index]['share']);
3548
+ });
3549
+ rotation_container.find ('input.option-time').each (function (index) {
3550
+ if (index < options) $(this).val (code_data ['options'][index]['time']);
3551
+ });
3552
+
3553
+ var group_label = $("#rotation-groups-" + block).next ().find ('span');
3554
+ if (code_data ['options'][0]['groups']) {
3555
+ group_label.removeClass ('on');
3556
+ } else {
3557
+ group_label.addClass ('on');
3558
+ }
3559
+ $("#rotation-groups-" + block).click ();
3560
+ }
3561
+ }
3562
+ }).fail (function (xhr, status, error) {
3563
+ console.log ("AI IMPORT ROTATION CODE ERROR:", xhr.status, xhr.statusText);
3564
+ $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
3565
+
3566
+ var rotation_container = $('#ai-rotation-container-' + block);
3567
+ set_editor_text (block, b64d (rotation_container.data ('code')));
3568
+ rotation_container.hide();
3569
+ $("#rotation-" + block).next ("label").find ('.checkbox-icon').removeClass("on");
3570
+
3571
+ rotation_container.find ("ul").find ("li").remove ();
3572
+ rotation_container.find ("div.rounded").remove ();
3573
+ }).always (function() {
3574
+ $("#rotation-"+block).next ("label").find ('.checkbox-icon').removeClass("active");
3575
+ });
3576
+ }
3577
+
3578
+ function generate_rotatation_code (block) {
3579
+ $("#rotation-"+block).next ("label").find ('.checkbox-icon').addClass("active");
3580
+
3581
+ var rotation_container = $('#ai-rotation-container-' + block);
3582
+ var option = rotation_container.tabs ("option", "active") + 1;
3583
+
3584
+ $(('#option-' + block + '-' + option)).data ('code', b64e (get_editor_text (block)));
3585
+
3586
+ // var nonce = $("#ai-form").attr ('nonce');
3587
+
3588
+ var rotation_data = [];
3589
+ rotation_container.find ("div.rounded").each (function (index) {
3590
+ var code_data = $('#option-' + block + '-' + (index + 1)).data ('code');
3591
+ var code = typeof code_data == 'undefined' ? '' : b64d (code_data);
3592
+ var group_rotation = $("#rotation-groups-" + block).next ().find ('span').hasClass ('on');
3593
+ var option_data = {'name': $(this).find ('input.option-name').val (), 'share': $(this).find ('input.option-share').val (), 'time': $(this).find ('input.option-time').val (), 'code': code, 'groups': group_rotation};
3594
+
3595
+ rotation_data.push (option_data);
3596
+ });
3597
+
3598
+ if (debug) console.log ('ROTATION DATA:', rotation_data);
3599
+
3600
+ $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'generate-rotation-code': b64e (JSON.stringify (rotation_data))}
3601
+ ).done (function (data) {
3602
+ $('#ai-error-container').hide ();
3603
+
3604
+ if (data != '') {
3605
+ var rotation_code = JSON.parse (data);
3606
+ if (typeof rotation_code !== "undefined") {
3607
+ if (debug) console.log ('ROTATION CODE:', rotation_code);
3608
+ set_editor_text (block, rotation_code);
3609
+ }
3610
+ }
3611
+
3612
+ }).fail (function (xhr, status, error) {
3613
+ console.log ("AI GENERATE ROTATION CODE ERROR:", xhr.status, xhr.statusText);
3614
+ $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
3615
+
3616
+ var rotation_container = $('#ai-rotation-container-' + block);
3617
+ set_editor_text (block, b64d (rotation_container.data ('code')));
3618
+ rotation_container.hide();
3619
+ $("#rotation-" + block).next ("label").find ('.checkbox-icon').removeClass("on");
3620
+
3621
+ rotation_container.find ("ul").find ("li").remove ();
3622
+ rotation_container.find ("div.rounded").remove ();
3623
+ }).always (function() {
3624
+ $("#rotation-"+block).next ("label").find ('.checkbox-icon').removeClass("active");
3625
+
3626
+ $('input[name=ai_save]').css ('color', '#555');
3627
+ $('.ai-rotation-warning').hide ();
3628
+ });
3629
+ }
3630
+
3631
+ function add_rotate_options (block, new_options) {
3632
+ var rotation_container = $('#ai-rotation-container-' + block);
3633
+ var ul = rotation_container.find ("ul");
3634
+ var options = rotation_container.find ('ul >li').length;
3635
+
3636
+ var rotation_tabs = $('#rotation-tabs');
3637
+ var li = rotation_tabs.find ("li");
3638
+ var div = rotation_tabs.find ("div.rounded");
3639
+
3640
+ var insertion = 0;
3641
+
3642
+ for (option = options + 1; option <= options + new_options; option ++) {
3643
+ if (option > 17) break;
3644
+
3645
+ var new_li = li.clone ().show ();
3646
+ new_li.find ("a").attr ('href', '#tab-option-' + block + '-' + option).text (String.fromCharCode (64 + option));
3647
+ new_li.attr ('id', 'option-' + block + '-' + option).appendTo (ul).data ('code', b64e (''));
3648
+
3649
+ new_li.click (function () {
3650
+ var rotation_container = $(this).closest ('.ai-rotate');
3651
+ var block = rotation_container.attr('id').replace ("ai-rotation-container-", "");
3652
+ var old_option = rotation_container.data ('option');
3653
+ var new_option = $(this).attr('id').replace ("option-" + block + "-", "");
3654
+ rotation_container.data ('option', new_option);
3655
+
3656
+ if (debug) console.log ('OPTION CHANGE:', old_option, '=>', new_option);
3657
+
3658
+ $(('#option-' + block + '-' + old_option)).data ('code', b64e (get_editor_text (block)));
3659
+ set_editor_text (block, b64d ($(this).data ('code')));
3660
+ });
3661
+
3662
+ div.clone ().show ().attr ('id', 'tab-option-' + block + '-' + option).appendTo (rotation_container);
3663
+
3664
+ rotation_container.tabs ("refresh");
3665
+ }
3666
+
3667
+ rotation_container.tabs ("option", "active", option - 2);
3668
+ }
3669
+
3670
+ function remove_rotate_option (block, option) {
3671
+ var rotation_container = $('#ai-rotation-container-' + block);
3672
+ var options = rotation_container.find ('ul >li').length;
3673
+
3674
+ if (options == 1) return;
3675
+
3676
+ var ul = rotation_container.find ("ul");
3677
+
3678
+ ul.find ("li").slice (option, option + 1).remove ();
3679
+ var div = rotation_container.find ("div.rounded").slice (option, option + 1).remove ();
3680
+
3681
+ rotation_container.find ('ul li').each (function (index) {
3682
+ var option = index + 1;
3683
+ $(this).attr ('id', 'option-' + block + '-' + option).find ("a").attr ('href', '#tab-option-' + block + '-' + option).text (String.fromCharCode (64 + option));
3684
+ });
3685
+
3686
+ rotation_container.find ("div.rounded").each (function (index) {
3687
+ var option = index + 1;
3688
+ $(this).attr ('id', 'tab-option-' + block + '-' + option);
3689
+ });
3690
+
3691
+ rotation_container.tabs ("refresh");
3692
+
3693
+ var new_option = option == 0 ? 0 : option - 1;
3694
+ active_li = $('#option-' + block + '-' + (new_option + 1));
3695
+ set_editor_text (block, b64d (active_li.data ('code')));
3696
+ ul.closest ('.ai-rotate').data ('option', new_option + 1);
3697
+ }
3698
+
3699
+ function create_list_selector (element_name_prefix, index) {
3700
+ var select = $('#'+element_name_prefix+'-select-' + index);
3701
+ if (select.length !== 0) {
3702
+ var button = $('#'+element_name_prefix+'-button-'+index);
3703
+
3704
+ var list_prefix = button.data ('list');
3705
+ if (list_prefix == null) list_prefix = element_name_prefix;
3706
+
3707
+ function update_list (list, element_name_prefix) {
3708
+ if (typeof before_update_selection_from_list == 'function') {
3709
+ before_update_selection_from_list (index);
3710
+ }
3711
+
3712
+ button.find ('span.ui-button-text').addClass ('ai-button-updating');
3713
+
3714
+ setTimeout (function() {
3715
+ update_selection_from_list (list, element_name_prefix);
3716
+ }, 5);
3717
+ }
3718
+
3719
+ button.click (function () {
3720
+ if (!select.hasClass ('multi-select')) {
3721
+ var options = select.find ('option');
3722
+ if (options.length == 0) {
3723
+ // var nonce = $("#ai-form").attr ('nonce');
3724
+
3725
+ var filter_element = $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-input');
3726
+ var filter = filter_element.length ? filter_element.val () : '';
3727
+
3728
+ var parameters_data = select.data ('parameters');
3729
+ var parameters = typeof parameters_data == 'undefined' ? '' : parameters_data;
3730
+
3731
+ $('#ai-loading').show ();
3732
+ button.find ('span.ui-button-text').addClass ('ai-button-active').show ();
3733
+
3734
+ $.get (ajaxurl + '?action=ai_ajax_backend&list-options=' + element_name_prefix + '&parameters=' + parameters + '&filter=' + filter + '&ai_check=' + ai_nonce, function (data) {
3735
+ if (data != '') {
3736
+ var message = '';
3737
+ var options = $('option', '<div>'+data+'</div>');
3738
+ if (options.length != 0) {
3739
+ if ($(options [0]).attr ('value').length == 0) {
3740
+ message = $(options [0]).text ();
3741
+ options = options.splice (1);
3742
+ }
3743
+ }
3744
+ select.attr ('data-message', message);
3745
+
3746
+ select.html (options);
3747
+ create_multi_select (select, element_name_prefix, list_prefix, index);
3748
+
3749
+ $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-message').text (message);
3750
+
3751
+ update_list ($('#'+list_prefix+'-list-'+index), element_name_prefix);
3752
+ }
3753
+
3754
+ }).fail (function (xhr, status, error) {
3755
+ $('input.filter-input', selection_container).remove ();
3756
+ var message = "Error loading " + element_name_prefix + " options: " + xhr.status + " " + xhr.statusText ;
3757
+ console.log (message);
3758
+ })
3759
+ .always (function () {
3760
+ $('#ai-loading').hide ();
3761
+ button.find ('span.ui-button-text').removeClass ('ai-button-active');
3762
+ });
3763
+
3764
+ } else create_multi_select (select, element_name_prefix, list_prefix, index);
3765
+
3766
+ } else {
3767
+ update_list ($('#'+list_prefix+'-list-'+index), element_name_prefix);
3768
+ $('#ms-'+element_name_prefix+'-select-'+index).toggle();
3769
+ }
3770
+ });
3771
+
3772
+
3773
+ $('#'+list_prefix+'-list-'+index).focusout (function () {
3774
+ var selection_container = $('#ms-'+element_name_prefix+'-select-'+index);
3775
+ if (selection_container.length && selection_container.is (':visible')) {
3776
+ update_list ($(this), element_name_prefix);
3777
+ }
3778
+ });
3779
+ }
3780
+ }
3781
+
3782
+ function update_list_from_selection (select_element, element_name_prefix, list_prefix) {
3783
+
3784
+ var ms = select_element.$element;
3785
+ var ms_val = ms.val();
3786
+ if (ms_val != null) {
3787
+ if (ms_val [0] == '') {
3788
+ ms_val = ms_val.splice (1)
3789
+ }
3790
+ ms_val = ms_val.join (', ').trim (',');
3791
+ }
3792
+ var index = ms.attr ('id').replace (element_name_prefix+'-select-','');
3793
+ var list = $('#'+list_prefix+'-list-'+index);
3794
+
3795
+ var custom_data = list.attr ('data-custom');
3796
+
3797
+ if (typeof custom_data != 'undefined' && custom_data != '') {
3798
+ if (ms_val != null) {
3799
+ if (ms_val != '') ms_val = ms_val + ', ';
3800
+ ms_val = ms_val + custom_data;
3801
+ } else ms_val = custom_data;
3802
+ }
3803
+
3804
+ list.attr ('value', ms_val);
3805
+ select_element.qs1.cache();
3806
+ // select_element.qs2.cache();
3807
+ }
3808
+
3809
+ function update_selection_from_list (list_element, element_name_prefix) {
3810
+
3811
+ Array.prototype.diff = function (a) {
3812
+ return this.filter(function (i) {
3813
+ return a.indexOf(i) === -1;
3814
+ });
3815
+ };
3816
+
3817
+ var index = list_element.attr ('id').replace (/^\D+/g, '');
3818
+ var select = $('#'+element_name_prefix+'-select-'+index);
3819
+ var selection_container = $('#ms-'+element_name_prefix+'-select-'+index);
3820
+
3821
+ if (selection_container.is(':visible')) {
3822
+ var list_items = list_element.attr ('value').split (',').map (Function.prototype.call, String.prototype.trim);
3823
+
3824
+ if (list_items [0] == '') {
3825
+ list_items = list_items.splice (1)
3826
+ }
3827
+
3828
+ if (list_element.hasClass ('ai-list-filter'))
3829
+ for (var i = 0; i < list_items.length; i++) {
3830
+ list_items [i] = list_items [i].replace (/ /g , '-').replace (/[\!\@\#\$%\^&\*\(\)\=\+\{\}\|\[\]\\\;\'\:\"\.\/\?]/g , '');
3831
+ }
3832
+
3833
+ if (list_element.hasClass ('ai-list-uppercase')) list_items = list_items.map (Function.prototype.call, String.prototype.toUpperCase); else
3834
+ if (list_element.hasClass ('ai-list-lowercase')) list_items = list_items.map (Function.prototype.call, String.prototype.toLowerCase); else
3835
+ if (list_element.hasClass ('ai-list-country-case')) {
3836
+ var list_items = list_items.map (function callback (currentValue) {
3837
+ var data = currentValue.split (':');
3838
+ if (data [0] != null) data [0] = data [0].toUpperCase ();
3839
+ if (data [1] != null) data [1] = data [1].toUpperCase ();
3840
+ if (data [2] != null) data [2] = data [2].toLowerCase ();
3841
+ return data.join (':');
3842
+ });
3843
+ }
3844
+
3845
+ $('#'+element_name_prefix+'-select-'+index).multiSelect('refresh').multiSelect ('deselect_all').multiSelect ('select', list_items);
3846
+
3847
+ if (list_element.hasClass ('ai-list-custom')) {
3848
+ var custom_values = list_items;
3849
+ var selected_values = $('#'+element_name_prefix+'-select-'+index).val ();
3850
+
3851
+ if (selected_values != null) custom_values = list_items.diff (selected_values);
3852
+ if (custom_values != null) custom_values = custom_values.join (', ');
3853
+
3854
+ list_element.attr ('data-custom', custom_values);
3855
+
3856
+ select.multiSelect ('deselect_all').multiSelect ('select', list_items);
3857
+ }
3858
+
3859
+ if (select.hasClass ('ai-list-filter')) {
3860
+ var filter_div = $('#ms-'+element_name_prefix+'-select-'+index).find ('.ai-list-filter-container');
3861
+ var filter_input = filter_div.find ('.filter-input');
3862
+ var filter_button = filter_div.find ('.filter-button');
3863
+
3864
+ if (!filter_div.hasClass ('configured')) {
3865
+ filter_div.addClass ('configured');
3866
+
3867
+ filter_input.on ('keyup keypress', function(e) {
3868
+ var keyCode = e.keyCode || e.which;
3869
+ if (keyCode === 13) {
3870
+ e.preventDefault();
3871
+ filter_button.click ();
3872
+ return false;
3873
+ }
3874
+ });
3875
+
3876
+ filter_button.on ('click', function(e) {
3877
+ e.preventDefault();
3878
+
3879
+ var filter = filter_input.val ();
3880
+ select.attr ('data-filter', filter);
3881
+
3882
+ select.empty ();
3883
+ select.removeClass ('multi-select');
3884
+ $('#'+element_name_prefix+'-button-'+index).click ();
3885
+
3886
+ return false;
3887
+ });
3888
+ }
3889
+
3890
+ filter_div.show ();
3891
+ $('#ms-'+element_name_prefix+'-select-'+index).find ('.search-input').hide ();
3892
+ filter_button.button().show ();
3893
+ filter_input.val (select.attr ('data-filter'));
3894
+ $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-message').text (select.attr ('data-message'));
3895
+ }
3896
+ }
3897
+
3898
+ var button = $('#'+element_name_prefix+'-button-'+index);
3899
+ button.find ('span.ui-button-text').removeClass ('ai-button-updating');
3900
+ }
3901
+
3902
+ function create_multi_select (select, element_name_prefix, list_prefix, index) {
3903
+ select.addClass ('multi-select');
3904
+
3905
+ select.multiSelect ({
3906
+ selectableHeader:
3907
+ '<div class="ai-list-filter-container"> \
3908
+ <input type="text" class="filter-input" autocomplete="off" placeholder="' + ai_admin.filter + '" title="' + ai_admin.filter_title + '"> \
3909
+ <button class="filter-button" style="margin-top: -2px; display: none;">' + ai_admin.button_filter + '</button> \
3910
+ <span class="filter-message"></span> \
3911
+ </div> \
3912
+ <input type="text" class="search-input" autocomplete="off" placeholder="' + ai_admin.search + '">',
3913
+ selectionHeader: '',
3914
+ afterInit: function(ms){
3915
+ var that = this,
3916
+ $selectableSearch = that.$selectableUl.prev(),
3917
+ $selectionSearch = that.$selectionUl.prev(),
3918
+ selectableSearchString = '#'+that.$container.attr('id')+' .ms-elem-selectable:not(.ms-selected)',
3919
+ selectionSearchString = '#'+that.$container.attr('id')+' .ms-elem-selection.ms-selected';
3920
+
3921
+ that.qs1 = $selectableSearch.quicksearch (selectableSearchString)
3922
+ .on('keydown', function(e){
3923
+ if (e.which === 40){
3924
+ that.$selectableUl.focus();
3925
+ return false;
3926
+ }
3927
+ });
3928
+
3929
+ // that.qs2 = $selectionSearch.quicksearch (selectionSearchString)
3930
+ // .on('keydown', function(e){
3931
+ // if (e.which == 40){
3932
+ // that.$selectionUl.focus();
3933
+ // return false;
3934
+ // }
3935
+ // });
3936
+ },
3937
+ afterSelect: function(values){
3938
+ update_list_from_selection (this, element_name_prefix, list_prefix);
3939
+ },
3940
+ afterDeselect: function(values){
3941
+ update_list_from_selection (this, element_name_prefix, list_prefix);
3942
+ }
3943
+ });
3944
+
3945
+ // $('#ms-'+element_name_prefix+'-select-' + index).hide();
3946
+ }
3947
+
3948
+ function create_list_editor (element_name_prefix, index) {
3949
+ var editor = $('#'+element_name_prefix+'-editor-'+index);
3950
+ var list = $('#'+element_name_prefix+'-list-'+index);
3951
+ if (editor.length !== 0) {
3952
+ $('#'+element_name_prefix+'-button-'+index).click (function () {
3953
+ update_editor_from_list (list, element_name_prefix, true);
3954
+ });
3955
+
3956
+ editor.focusout (function () {
3957
+ update_list_from_editor (editor, element_name_prefix)
3958
+ });
3959
+
3960
+ list.focusout (function () {
3961
+ if (editor.is(':visible'))
3962
+ update_editor_from_list ($(this), element_name_prefix, false);
3963
+ });
3964
+ }
3965
+ }
3966
+
3967
+ function clean_url_list (list_element, list_items) {
3968
+
3969
+ var clean_protocol = list_element.hasClass ('ai-clean-protocol');
3970
+ var clean_domain = list_element.hasClass ('ai-clean-domain');
3971
+ var only_domain = list_element.hasClass ('ai-only-domain');
3972
+ var sort_list = list_element.hasClass ('ai-list-sort');
3973
+
3974
+ function onlyUnique (value, index, self) {
3975
+ return self.indexOf (value) === index;
3976
+ }
3977
+
3978
+ list_items = list_items.filter (onlyUnique);
3979
+
3980
+ var clean_list_items = [];
3981
+
3982
+ for (var i = 0; i < list_items.length; i++) {
3983
+ var list_item = list_items [i];
3984
+
3985
+ if (clean_protocol && list_item.indexOf ('http') == 0) {
3986
+ list_item = list_item.replace ('http://', '');
3987
+ list_item = list_item.replace ('https://', '');
3988
+
3989
+ var slash = list_item.indexOf ("/");
3990
+
3991
+ if (clean_domain) {
3992
+ if (slash > 0) {
3993
+ list_item = list_item.substring (slash);
3994
+ } else list_item = '';
3995
+ } else
3996
+ if (only_domain) {
3997
+ if (slash > 0) {
3998
+ list_item = list_item.substring (0, slash);
3999
+ }
4000
+ }
4001
+ }
4002
+
4003
+ if (list_item != '') clean_list_items.push (list_item);
4004
+ }
4005
+
4006
+ if (sort_list) {
4007
+ clean_list_items.sort();
4008
+ }
4009
+
4010
+ return clean_list_items;
4011
+ }
4012
+
4013
+ function update_editor_from_list (list_element, element_name_prefix, toggle) {
4014
+ var index = list_element.attr ('id').replace (element_name_prefix+'-list-','');
4015
+ var editor = $('#'+element_name_prefix+'-editor-'+index);
4016
+ if (toggle) editor.toggle();
4017
+ if (editor.is(':visible')) {
4018
+
4019
+ var list = list_element.attr ('value');
4020
+ var list_separator = ',';
4021
+
4022
+ if (list_element.hasClass ('ai-list-space')) {
4023
+ if (list.indexOf (' ') > - 1 && list.indexOf (',') == - 1) list_separator = ' ';
4024
+ }
4025
+
4026
+ var list_items = list.split (list_separator).map (Function.prototype.call, String.prototype.trim);
4027
+
4028
+ clean_list_items = clean_url_list (list_element, list_items);
4029
+
4030
+ editor.val (clean_list_items.join ("\n"));
4031
+ } else update_list_from_editor (editor, element_name_prefix)
4032
+ }
4033
+
4034
+ function update_list_from_editor (editor, element_name_prefix) {
4035
+ var list_items = editor.val ().split ("\n").map (Function.prototype.call, String.prototype.trim);
4036
+
4037
+ var index = editor.attr ('id').replace (element_name_prefix+'-editor-','');
4038
+ var list_element = $('#'+element_name_prefix+'-list-'+index);
4039
+
4040
+ clean_list_items = clean_url_list (list_element, list_items);
4041
+
4042
+ list_element.attr ('value', clean_list_items.join (', '));
4043
+ }
4044
+
4045
+ function configure_hidden_tab () {
4046
+ var current_tab;
4047
+ var tab;
4048
+
4049
+ if (debug) console.log ("");
4050
+ if (debug) {
4051
+ var current_time_start = new Date().getTime();
4052
+ console.log ("since last time: " + ((current_time_start - last_time) / 1000).toFixed (3));
4053
+ }
4054
+ if (debug) console.log ("configure_hidden_tab");
4055
+ if (debug) console.log ("tabs_to_configure: " + tabs_to_configure);
4056
+
4057
+ do {
4058
+ if (tabs_to_configure.length == 0) {
4059
+ save_enabled = true;
4060
+ if (debug_title) $("#plugin_name").css ("color", "#000");
4061
+ if (debug) console.log ("configure_hidden_tab: DONE");
4062
+ return;
4063
+ }
4064
+ current_tab = tabs_to_configure.pop();
4065
+ tab = $("#tab-" + current_tab);
4066
+ } while (tab.hasClass ('configured'));
4067
+
4068
+ if (debug) console.log ("Configuring tab: " + current_tab);
4069
+
4070
+ if (current_tab != 0) configure_tab (current_tab); else configure_tab_0 ();
4071
+
4072
+ if (debug) {
4073
+ var current_time = new Date().getTime();
4074
+ console.log ("time: " + ((current_time - current_time_start) / 1000).toFixed (3));
4075
+ console.log ("TIME: " + ((current_time - start_time) / 1000).toFixed (3));
4076
+ last_time = current_time;
4077
+ }
4078
+
4079
+ if (tabs_to_configure.length != 0) setTimeout (configure_hidden_tab, 10);
4080
+ else {
4081
+ save_enabled = true;
4082
+ if (debug_title) $("#plugin_name").css ("color", "#000");
4083
+ if (debug) console.log ("configure_hidden_tab: DONE");
4084
+ }
4085
+ }
4086
+
4087
+ function configure_chart (container) {
4088
+ var ai_adb_flag_blocked = 0x80;
4089
+
4090
+ if (!$(container).hasClass ('not-configured')) return;
4091
+ var template = $(container).data ('template');
4092
+
4093
+ if (typeof template != 'undefined') {
4094
+ var new_colors = [];
4095
+ var color_indexes = $(container).data ('colors');
4096
+ if (typeof color_indexes != 'undefined') {
4097
+ var colors = $.elycharts.templates['ai-pie'].defaultSeries.values;
4098
+ color_indexes.forEach (function (element) {
4099
+ if (element == ai_adb_flag_blocked )
4100
+ new_colors.push (colors [9]); else
4101
+ new_colors.push (colors [element]);
4102
+ });
4103
+ }
4104
+
4105
+ var values = $(container).data ('values-1');
4106
+ if (values == null) values = $(container).data ('values-2');
4107
+ if (values == null) values = $(container).data ('values-3');
4108
+ if (values == null) values = $(container).data ('values-4');
4109
+ if (values == null) values = $(container).data ('values-5');
4110
+ if (values == null) values = $(container).data ('values-6');
4111
+ if (values == null) values = $(container).data ('values-7');
4112
+ if (values == null) values = $(container).data ('values-8');
4113
+ if (values == null) values = $(container).data ('values-9');
4114
+
4115
+ var legend = $(container).data ('legend');
4116
+ if (typeof legend != 'undefined' && typeof legend ['serie' + (ai_adb_flag_blocked + 1)] != 'undefined') {
4117
+ var new_legend = {};
4118
+ for (var legend_item in legend) {
4119
+ if (legend_item == 'serie' + (ai_adb_flag_blocked + 1))
4120
+ new_legend ['serie10'] = legend [legend_item]; else
4121
+ new_legend [legend_item] = legend [legend_item];
4122
+ }
4123
+ legend = new_legend;
4124
+ }
4125
+
4126
+ $(container).chart({
4127
+ template: template,
4128
+ labels: $(container).data ('labels'),
4129
+ values: {
4130
+ serie1: values,
4131
+ serie2: $(container).data ('values-2'),
4132
+ serie3: $(container).data ('values-3'),
4133
+ serie4: $(container).data ('values-4'),
4134
+ serie5: $(container).data ('values-5'),
4135
+ serie6: $(container).data ('values-6'),
4136
+ serie7: $(container).data ('values-7'),
4137
+ serie8: $(container).data ('values-8'),
4138
+ serie9: $(container).data ('values-9'),
4139
+ serie10: $(container).data ('values-' + (ai_adb_flag_blocked + 1)), // BLOCKED
4140
+ },
4141
+ legend: legend,
4142
+ tooltips: {serie1: $(container).data ('tooltips')},
4143
+ defaultSeries: {values: new_colors, tooltip: {height: $(container).data ('tooltip-height')}},
4144
+ defaultAxis : {
4145
+ max: $(container).data ('max'),
4146
+ },
4147
+ features: {
4148
+ grid: {
4149
+ draw: values == null ? true : values.length < 50,
4150
+ }
4151
+ }
4152
+ });
4153
+
4154
+ $(container).removeClass ('not-configured');
4155
+ $(container).parent().find ('div.ai-chart-label').show ();
4156
+ }
4157
+ }
4158
+
4159
+ function update_rating (parameter) {
4160
+ var rating_bar = $('#ai-rating-bar');
4161
+ // var nonce = rating_bar.attr ('nonce');
4162
+ $("#rating-value span").load (ajaxurl+"?action=ai_ajax_backend&rating=" + parameter + "&ai_check=" + ai_nonce, function() {
4163
+ var rating = $("#rating-value span").text ();
4164
+ var rating_value = 0;
4165
+ if (rating != '') var rating_value = parseFloat (rating);
4166
+ $("#rating-value").css ('width', rating_value * 20 + '%');
4167
+
4168
+ if ($("#rating-value span").text () == '') {
4169
+ $("#ai-rating-bar").hide ();
4170
+ $('#ai-stars').show ();
4171
+ }
4172
+ });
4173
+ }
4174
+
4175
+ function configure_charts (container) {
4176
+ $(container).find ('.ai-chart.not-configured').each (function() {
4177
+ if (!$(this).hasClass ('hidden')) {
4178
+ $(this).attr ('style', '');
4179
+ configure_chart (this);
4180
+ }
4181
+ });
4182
+ }
4183
+
4184
+ function replace_block_number (element, attribute, old_block, new_block) {
4185
+ var attr_value = element.attr (attribute);
4186
+ var attr_number = attr_value.substr (- old_block.toString().length);
4187
+ if (attr_number == old_block) {
4188
+ element.attr (attribute, attr_value.substr (0, attr_value.length - old_block.toString().length) + new_block);
4189
+
4190
+ // console.log (attribute, element.attr (attribute));
4191
+ }
4192
+ }
4193
+
4194
+ function copy_to_clipboard () {
4195
+ if (debug) console.log ("AI COPY FROM BLOCK", active_tab);
4196
+
4197
+ var clipboard = $('#ai-clipboard');
4198
+ clipboard.html ($('#ai-clipboard-template').html ());
4199
+
4200
+ $('div#tab-' + active_tab + ' input[name]:checkbox').each (function (index){
4201
+ var attr = $(this).attr('checked');
4202
+ var checked = typeof attr !== typeof undefined && attr !== false;
4203
+
4204
+ if (checked)
4205
+ clipboard.find ('input[name]:checkbox').eq (index).attr ('checked', 'checked').next ("label").find ('.checkbox-icon').addClass("on"); else
4206
+ clipboard.find ('input[name]:checkbox').eq (index).removeAttr ('checked').next ("label").find ('.checkbox-icon').removeClass("on");
4207
+ });
4208
+
4209
+ $('div#tab-' + active_tab + ' input[name]:radio').each (function (index){
4210
+ var attr = $(this).attr('checked');
4211
+ var checked = typeof attr !== typeof undefined && attr !== false;
4212
+
4213
+ if (checked)
4214
+ clipboard.find ('input[name]:radio').eq (index).attr ('checked', 'checked'); else
4215
+ clipboard.find ('input[name]:radio').eq (index).removeAttr ('checked');
4216
+ });
4217
+
4218
+ $('div#tab-' + active_tab + ' select[name]').each (function (index){
4219
+ var value = $(this).find ("option:selected").val ();
4220
+ clipboard.find ('select[name]').eq (index).find ("option").removeAttr ('selected');
4221
+ clipboard.find ('select[name]').eq (index).find ("option[value = '" + value + "']").attr ("selected", true);
4222
+ });
4223
+
4224
+ $('div#tab-' + active_tab + ' input[name]:text').each (function (index){
4225
+ clipboard.find ('input[name]:text').eq (index).attr ('value', $(this).val ());
4226
+ });
4227
+
4228
+ clipboard.find ('textarea.simple-editor').text (get_editor_text (active_tab));
4229
+
4230
+ $("#ai-container .ai-copy").each (function () {
4231
+ $(this).next ("label").find ('.checkbox-icon').addClass("on");
4232
+ });
4233
+ }
4234
+
4235
+ function load_saved_settings_to_clipboard (block, paste) {
4236
+ if (debug) console.log ("AI LOAD BLOCK", block, "FROM DB");
4237
+
4238
+ var tools_button = $("#tools-button-" + active_tab);
4239
+ if (!tools_button.next ('label').find ('.checkbox-icon').hasClass ("on")) {
4240
+ tools_button.click ();
4241
+ }
4242
+
4243
+ $('#ai-loading').show ();
4244
+ // var nonce = $("#ai-form").attr ('nonce');
4245
+
4246
+ $.get (ajaxurl + '?action=ai_ajax_backend&settings=' + block + '&single=1&ai_check=' + ai_nonce, function (settings) {
4247
+ if (debug) console.log ("AI BLOCK LOADED");
4248
+
4249
+ var clipboard = $('#ai-clipboard');
4250
+
4251
+ clipboard.html ($('div#tab-' + block, settings).html ());
4252
+
4253
+ clipboard.find ('[id]').each (function () {
4254
+ replace_block_number ($(this), 'id', block, 999);
4255
+ });
4256
+
4257
+ clipboard.find ('[for]').each (function () {
4258
+ replace_block_number ($(this), 'for', block, 999);
4259
+ });
4260
+
4261
+ clipboard.find ('[href]').each (function () {
4262
+ replace_block_number ($(this), 'href', block, 999);
4263
+ });
4264
+
4265
+ clipboard.find ('[name]').each (function () {
4266
+ replace_block_number ($(this), 'name', block, 999);
4267
+ });
4268
+
4269
+ clipboard.find ('[class]').each (function () {
4270
+ replace_block_number ($(this), 'class', block, 999);
4271
+ });
4272
+
4273
+ clipboard.find ('pre.ai-block-number').each (function () {
4274
+ var text = $(this).text ().replace (block, 999);
4275
+ $(this).text (text);
4276
+ });
4277
+
4278
+ $("#ai-container .ai-copy").each (function () {
4279
+ $(this).next ("label").find ('.checkbox-icon').addClass("on");
4280
+ });
4281
+
4282
+ // if (paste) {
4283
+ // var tools_visible = $('#ai-tools-toolbar-' + active_tab).is(':visible');
4284
+
4285
+ // paste_from_clipboard (true, true, true, false);
4286
+
4287
+ // if (tools_visible) {
4288
+ // $('#ai-tools-toolbar-' + active_tab).show ();
4289
+ // $("#tools-button-"+active_tab).next ('label').find ('.checkbox-icon').addClass("on");
4290
+ // }
4291
+ // }
4292
+ }).fail (function (xhr, status, error) {
4293
+ console.log ("AI LOADING ERROR:", xhr.status, xhr.statusText);
4294
+ $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
4295
+ })
4296
+ .always (function () {
4297
+ $('#ai-loading').hide ();
4298
+ });
4299
+ }
4300
+
4301
+ function paste_from_clipboard (paste_name, paste_code, paste_settings, clear) {
4302
+
4303
+ if (clear) {
4304
+ var clipboard_template = $('#ai-clipboard-template');
4305
+ clipboard_template.find ('input#name-edit-999').attr ('value', 'Block ' + active_tab).attr ('default', 'Block ' + active_tab);
4306
+ var clipboard = clipboard_template.html ();
4307
+ } else {
4308
+ var clipboard = $('#ai-clipboard').html ();
4309
+ }
4310
+
4311
+ if (clipboard != '' && active_tab != 0) {
4312
+ if (debug) console.log ("AI PASTE TO BLOCK", active_tab);
4313
+
4314
+ var destination_tab = $('div#tab-' + active_tab);
4315
+
4316
+ var name = destination_tab.find ('input#name-edit-' + active_tab).val ();
4317
+ var code = get_editor_text (active_tab);
4318
+
4319
+ if (paste_settings) {
4320
+ var simple_editor = $('#simple-editor-' + active_tab).is(":checked");
4321
+ var tools_visible = $('#ai-tools-toolbar-' + active_tab).is(':visible');
4322
+ var copy_active = destination_tab.find ('.ai-copy').next ("label").find ('.checkbox-icon').hasClass("on");
4323
+
4324
+ if (simple_editor) {
4325
+ $('#simple-editor-' + active_tab).click ();
4326
+ }
4327
+
4328
+ var save_button_text = destination_tab.find ('input[name=ai_save]').attr('value');
4329
+ var exceptions_button = destination_tab.find ('#exceptions-button-container-' + active_tab).html ();
4330
+ var exceptions_container = destination_tab.find ('#block-exceptions-' + active_tab).html ();
4331
+
4332
+ destination_tab.html (clipboard).find ('input[name=ai_save]').attr('value', save_button_text);
4333
+
4334
+ if (!paste_name) {
4335
+ destination_tab.find ('input#name-edit-999').val (name);
4336
+ }
4337
+
4338
+ if (!paste_code) {
4339
+ destination_tab.find ('textarea#block-999').val (code);
4340
+ }
4341
+
4342
+ destination_tab.find ('span#name-label-999').text (destination_tab.find ('input#name-edit-999').val ());
4343
+
4344
+ var block_name = destination_tab.find ('input#name-edit-999').val ();
4345
+ destination_tab.find ('pre.ai-block-name').text ('[adinserter name="' + block_name + '"]');
4346
+
4347
+ destination_tab.find ('[id]').each (function () {
4348
+ replace_block_number ($(this), 'id', 999, active_tab);
4349
+ });
4350
+
4351
+ destination_tab.find ('[for]').each (function () {
4352
+ replace_block_number ($(this), 'for', 999, active_tab);
4353
+ });
4354
+
4355
+ destination_tab.find ('[href]').each (function () {
4356
+ replace_block_number ($(this), 'href', 999, active_tab);
4357
+ });
4358
+
4359
+ destination_tab.find ('[name]').each (function () {
4360
+ replace_block_number ($(this), 'name', 999, active_tab);
4361
+ });
4362
+
4363
+ destination_tab.find ('[class]').each (function () {
4364
+ replace_block_number ($(this), 'class', 999, active_tab);
4365
+ });
4366
+
4367
+ destination_tab.find ('pre.ai-sidebars').text ('');
4368
+
4369
+ destination_tab.find ('pre.ai-block-number').each (function () {
4370
+ var text = $(this).text ().replace (999, active_tab);
4371
+ $(this).text (text);
4372
+ });
4373
+
4374
+ destination_tab.find ('#exceptions-button-container-' + active_tab).html (exceptions_button);
4375
+ destination_tab.find ('#block-exceptions-' + active_tab).html (exceptions_container);
4376
+
4377
+ configure_tab (active_tab);
4378
+
4379
+ if (simple_editor) {
4380
+ $('#simple-editor-' + active_tab).click ();
4381
+ }
4382
+
4383
+ if (tools_visible) {
4384
+ $('#ai-tools-toolbar-' + active_tab).show ();
4385
+ $("#tools-button-" + active_tab).next ('label').find ('.checkbox-icon').addClass ("on");
4386
+ }
4387
+
4388
+ if (copy_active) {
4389
+ destination_tab.find ('.ai-copy').next ("label").find ('.checkbox-icon').addClass("on");
4390
+ }
4391
+ } else {
4392
+ if (paste_name) {
4393
+ var clipboard_name = $(clipboard).find ('input#name-edit-999').val ();
4394
+ destination_tab.find ('input#name-edit-' + active_tab).val (clipboard_name);
4395
+ destination_tab.find ('span#name-label-' + active_tab).text (clipboard_name);
4396
+ destination_tab.find ('pre.ai-block-name').text ('[adinserter name="' + clipboard_name + '"]');
4397
+ }
4398
+
4399
+ if (paste_code) {
4400
+ set_editor_text (active_tab, $(clipboard).find ('textarea#block-999').val ());
4401
+ }
4402
+ }
4403
+
4404
+ if (debug) console.log ("AI PASTE END");
4405
+ } else if (debug) console.log ("AI PASTE FAILED");
4406
+ }
4407
+
4408
+
4409
+ function configure_list () {
4410
+ var data_container = $("#ai-list-data");
4411
+
4412
+ $(".ai-tab-link").click (function () {
4413
+ var tab = $(this).data ('tab') - start;
4414
+ $("#ai-tab-container").tabs ({active: tab});
4415
+ });
4416
+
4417
+ $("label.ai-copy-block").click (function () {
4418
+ var block = $(this).closest ('tr').data ('block');
4419
+
4420
+ load_saved_settings_to_clipboard (block, true);
4421
+ });
4422
+
4423
+ $("label.ai-preview-block").click (function () {
4424
+ var block = $(this).closest ('tr').data ('block');
4425
+
4426
+ var window_width = 820;
4427
+ var window_height = 820;
4428
+ var window_left = 100;
4429
+ var window_top = (screen.height / 2) - (820 / 2);
4430
+ // var nonce = $("#ai-form").attr ('nonce');
4431
+
4432
+ var param = {'action': 'ai_ajax_backend', 'preview': block, 'ai_check': ai_nonce, 'read_only': 1};
4433
+ open_popup_window_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);
4434
+ });
4435
+
4436
+ data_container.disableSelection();
4437
+ }
4438
+
4439
+ function reload_list () {
4440
+ list_search_reload = false;
4441
+ var list = encodeURIComponent ($("#ai-list-search").val());
4442
+ var all = + !$("#ai-load-all").hasClass ('light-blue');
4443
+
4444
+ var rearrange_controls = $('#list-rearrange-controls');
4445
+ var rearrange = rearrange_controls.hasClass ('rearrange')
4446
+
4447
+ rearrange_controls.removeClass ('rearrange').hide ();
4448
+ $("#ai-rearrange").removeClass ('blue');
4449
+
4450
+ var rearrange_data = '';
4451
+ if (rearrange) {
4452
+ var table = $('table#ai-list-table');
4453
+ var original_blocks = table.data ('blocks');
4454
+ if (typeof original_blocks == 'undefined') original_blocks = new Array();
4455
+
4456
+ var new_blocks = new Array();
4457
+ table.find ('tbody tr').each (function (index) {
4458
+ new_blocks.push ($(this).data ('block'));
4459
+ });
4460
+
4461
+ rearrange_data = "&blocks-org=" + JSON.stringify (original_blocks) + "&blocks-new=" + JSON.stringify (new_blocks);
4462
+ }
4463
+
4464
+ var data_container = $("#ai-list-data");
4465
+
4466
+ data_container.load (ajaxurl+"?action=ai_ajax_backend&list=" + list + "&all=" + all + "&start=" + start + "&end=" + end + rearrange_data + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4467
+ if (status == "error") {
4468
+ var message = "Error downloading list data: " + xhr.status + " " + xhr.statusText;
4469
+ data_container.html (message);
4470
+ if (debug) console.log (message);
4471
+ } else {
4472
+ // $(".ai-tab-link").click (function () {
4473
+ // var tab = $(this).data ('tab') - start;
4474
+ // $("#ai-tab-container").tabs ({active: tab});
4475
+ // });
4476
+
4477
+ // $("label.ai-copy-block").click (function () {
4478
+ // var block = $(this).closest ('tr').data ('block');
4479
+
4480
+ // load_saved_settings_to_clipboard (block, true);
4481
+ // });
4482
+
4483
+ // $("label.ai-preview-block").click (function () {
4484
+ // var block = $(this).closest ('tr').data ('block');
4485
+
4486
+ // var window_width = 820;
4487
+ // var window_height = 820;
4488
+ // var window_left = 100;
4489
+ // var window_top = (screen.height / 2) - (820 / 2);
4490
+ //// var nonce = $("#ai-form").attr ('nonce');
4491
+
4492
+ // var param = {'action': 'ai_ajax_backend', 'preview': block, 'ai_check': ai_nonce, 'read_only': 1};
4493
+ // open_popup_window_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);
4494
+ // });
4495
+
4496
+
4497
+ // data_container.disableSelection();
4498
+
4499
+ configure_list ();
4500
+
4501
+ if (rearrange) reload_settings ();
4502
+ }
4503
+ });
4504
+ }
4505
+
4506
+ function reload_adsense_list (update_ad_units) {
4507
+ adsense_search_reload = false;
4508
+ var list = encodeURIComponent ($("#adsense-list-search").val());
4509
+ var all = + !$("#adsense-load-all").parent ().find ('.checkbox-icon').hasClass ('on');
4510
+ // var nonce = $("#ai-form").attr ('nonce');
4511
+
4512
+ var data_container = $("#adsense-list-data");
4513
+
4514
+ data_container.load (ajaxurl+"?action=ai_ajax_backend&adsense-list=" + list + "&all=" + all + "&update_ad_units=" + (update_ad_units ? 1 : 0) + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4515
+ $("#adsense-reload").parent ().find ('.checkbox-icon').removeClass ('on');
4516
+
4517
+ if (status == "error") {
4518
+ var message = "Error downloading AdSense data: " + xhr.status + " " + xhr.statusText;
4519
+ data_container.html (message);
4520
+ if (debug) console.log (message);
4521
+
4522
+
4523
+ } else {
4524
+ if ($('#adsense-client-id', data_container).length) {
4525
+ $('#adsense-list-controls').hide ();
4526
+ $('button.ai-top-button', data_container).button().show ();
4527
+
4528
+ $("#save-client-ids").click (function () {
4529
+
4530
+ var client_id = $("input#adsense-client-id").val ();
4531
+ var client_secret = $("input#adsense-client-secret").val ();
4532
+
4533
+ data_container.text (ai_admin.loading);
4534
+
4535
+ // var nonce = $("#ai-form").attr ('nonce');
4536
+
4537
+ $('#ai-loading').show ();
4538
+ $.get (ajaxurl + '?action=ai_ajax_backend&adsense-client-id=' + btoa (client_id) + '&adsense-client-secret=' + btoa (client_secret) + '&ai_check=' + ai_nonce, function (data) {
4539
+ reload_adsense_list (false);
4540
+ }).fail (function (xhr, status, error) {
4541
+ var message = "Error saving AdSense client IDs: " + xhr.status + " " + xhr.statusText ;
4542
+ console.log (message);
4543
+ })
4544
+ .always (function () {
4545
+ $('#ai-loading').hide ();
4546
+ });
4547
+ });
4548
+
4549
+ $(".authorize-adsense", data_container).click (function () {
4550
+
4551
+ $('#adsense-list-controls').show ();
4552
+ data_container.text (ai_admin.loading);
4553
+
4554
+ authorization_code = '';
4555
+ update_adsense_authorization (authorization_code);
4556
+ });
4557
+
4558
+ return;
4559
+ } else
4560
+
4561
+ if ($('#adsense-authorization-code', data_container).length) {
4562
+ $('#adsense-list-controls').hide ();
4563
+ $('button.ai-top-button', data_container).button().show ();
4564
+
4565
+ $(".authorize-adsense", data_container).click (function () {
4566
+
4567
+ var authorization_code = $("input#adsense-authorization-code").val ();
4568
+
4569
+ $('#adsense-list-controls').show ();
4570
+ data_container.text (ai_admin.loading);
4571
+
4572
+ if ($(this).hasClass ('clear-adsense')) authorization_code = '';
4573
+ if ($(this).hasClass ('own-ids')) authorization_code = 'own-ids';
4574
+
4575
+
4576
+ update_adsense_authorization (authorization_code);
4577
+ });
4578
+
4579
+ return;
4580
+ }
4581
+
4582
+ $('#adsense-list-controls').show ();
4583
+
4584
+ var publisher_id = $('#adsense-data', data_container).data ('publisher-id');
4585
+ if (typeof publisher_id == 'undefined') publisher_id = '';
4586
+
4587
+ $('label#google-adsense-button').attr ('title', ai_admin.google_adsense_homepage + ' ' + publisher_id)
4588
+ .tooltip({
4589
+ track: true,
4590
+ delay: 700,
4591
+ showURL: false,
4592
+ showBody: " | ",
4593
+ fade: 250
4594
+ });
4595
+
4596
+ $("label.adsense-copy-code").click (function () {
4597
+ var ad_slot_id = $(this).closest ('tr').data ('id');
4598
+ var ad_name = atob ($(this).closest ('tr').data ('name'));
4599
+ // var nonce = $("#ai-form").attr ('nonce');
4600
+
4601
+ if (debug) console.log ('ADSENSE CODE: ', ad_slot_id);
4602
+
4603
+ $('#ai-loading').show ();
4604
+ $.get (ajaxurl + '?action=ai_ajax_backend&adsense-code=' + ad_slot_id + '&ai_check=' + ai_nonce, function (data) {
4605
+
4606
+ var code_data = JSON.parse (data);
4607
+ var error = code_data ['error-message'];
4608
+
4609
+ if (error == '') {
4610
+ var adsense_code = code_data ['code'];
4611
+
4612
+ if (debug) console.log (adsense_code);
4613
+
4614
+ var clipboard_template = $('#ai-clipboard-template');
4615
+ var clipboard = $('#ai-clipboard');
4616
+ clipboard.html (clipboard_template.html ());
4617
+ clipboard.find ('input#name-edit-999').attr ('value', ad_name).attr ('default', ad_name);
4618
+
4619
+ clipboard.find ('textarea.simple-editor').text (adsense_code);
4620
+
4621
+ $("#ai-container .ai-copy").each (function () {
4622
+ $(this).next ("label").find ('.checkbox-icon').addClass("on");
4623
+ });
4624
+
4625
+ var tools_button = $("#tools-button-" + active_tab);
4626
+ if (!tools_button.next ('label').find ('.checkbox-icon').hasClass ("on")) {
4627
+ tools_button.click ();
4628
+ }
4629
+ } else {
4630
+ console.log ('AdSense API error:', error);
4631
+ }
4632
+ }).fail (function (xhr, status, error) {
4633
+ var message = "Error downloading AdSense code: " + xhr.status + " " + xhr.statusText ;
4634
+ console.log (message);
4635
+ })
4636
+ .always (function () {
4637
+ $('#ai-loading').hide ();
4638
+ });
4639
+
4640
+ });
4641
+
4642
+ $("label.adsense-preview-code").click (function () {
4643
+ var ad_slot_id = $(this).closest ('tr').data ('id');
4644
+ var ad_name = $(this).closest ('tr').data ('name');
4645
+
4646
+ var window_width = 820;
4647
+ var window_height = 820;
4648
+ var window_left = 100;
4649
+ var window_top = (screen.height / 2) - (820 / 2);
4650
+ // var nonce = $("#ai-form").attr ('nonce');
4651
+
4652
+ var param = {'action': 'ai_ajax_backend', 'preview': 'adsense', 'ai_check': ai_nonce, 'read_only': 1, 'slot_id': btoa (ad_slot_id), 'name': ad_name};
4653
+ open_popup_window_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);
4654
+ });
4655
+
4656
+ $("label.adsense-get-code").click (function () {
4657
+ var ad_slot_id = $(this).closest ('tr').data ('id');
4658
+ var ad_name = atob ($(this).closest ('tr').data ('name'));
4659
+ // var nonce = $("#ai-form").attr ('nonce');
4660
+
4661
+ if (debug) console.log ('ADSENSE CODE: ', ad_slot_id);
4662
+
4663
+ $('#ai-loading').show ();
4664
+ $.get (ajaxurl + '?action=ai_ajax_backend&adsense-code=' + ad_slot_id + '&ai_check=' + ai_nonce, function (data) {
4665
+
4666
+ var code_data = JSON.parse (data);
4667
+ var error = code_data ['error-message'];
4668
+
4669
+ if (error == '') {
4670
+ var adsense_code = code_data ['code'];
4671
+
4672
+ if (debug) console.log (adsense_code);
4673
+
4674
+ set_editor_text (active_tab, adsense_code);
4675
+ setTimeout (function() {$("#import-code-"+active_tab).click ();}, 10);
4676
+ } else {
4677
+ console.log ('AdSense API error:', error);
4678
+ }
4679
+ }).fail (function (xhr, status, error) {
4680
+ var message = "Error downloading AdSense code: " + xhr.status + " " + xhr.statusText ;
4681
+ console.log (message);
4682
+ })
4683
+ .always (function () {
4684
+ $('#ai-loading').hide ();
4685
+ });
4686
+ });
4687
+
4688
+ data_container.disableSelection();
4689
+ }
4690
+ });
4691
+ }
4692
+
4693
+ function load_ads_txt () {
4694
+ ads_txt_reload = false;
4695
+ var editor_button = $("#ads-txt-editor");
4696
+ var reload_button = $("#ads-txt-reload");
4697
+ var virtual_button = $("#ads-txt-virtual");
4698
+ var virtual = virtual_button.hasClass ('violet') ? '1' : '0';
4699
+ var view = editor_button.hasClass ('editor') ? 'text' : 'table';
4700
+ var search = encodeURIComponent ($("#ads-txt-search").val());
4701
+ var data_container = $("#ads-txt-data");
4702
+
4703
+ reload_button.addClass ('red');
4704
+
4705
+ data_container.load (ajaxurl+"?action=ai_ajax_backend&ads-txt=" + view + "&virtual=" + virtual + "&search=" + search + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4706
+ reload_button.removeClass ('red');
4707
+
4708
+ if (status == "error") {
4709
+ var message = "Error loading ads.txt file: " + xhr.status + " " + xhr.statusText;
4710
+ data_container.html (message);
4711
+ if (debug) console.log (message);
4712
+ } else {
4713
+ if ($('#ads-txt-missing').length != 0) {
4714
+ view = 'text';
4715
+ editor_button.addClass ('editor');
4716
+ $('#ads-txt-search').hide ();
4717
+ }
4718
+
4719
+ switch (view) {
4720
+ case 'text':
4721
+ $('#ads-txt-search').hide ();
4722
+
4723
+ editor_button.removeClass ('dashicons-edit');
4724
+ editor_button.addClass ('dashicons-yes-alt');
4725
+ editor_button.addClass ('green');
4726
+ editor_button.attr ('title', editor_button.attr ('title-editor'))
4727
+ .tooltip({
4728
+ track: true,
4729
+ delay: 700,
4730
+ showURL: false,
4731
+ showBody: " | ",
4732
+ fade: 250
4733
+ });
4734
+
4735
+ reload_button.removeClass ('dashicons-download');
4736
+ reload_button.addClass ('dashicons-no');
4737
+
4738
+ if ($('#ads-txt-missing').length != 0) {
4739
+ reload_button.removeClass ('red');
4740
+ reload_button.attr ('title', reload_button.attr ('title-table'))
4741
+ .tooltip({
4742
+ track: true,
4743
+ delay: 700,
4744
+ showURL: false,
4745
+ showBody: " | ",
4746
+ fade: 250
4747
+ });
4748
+ } else {
4749
+ reload_button.addClass ('red');
4750
+ reload_button.attr ('title', reload_button.attr ('title-editor'))
4751
+ .tooltip({
4752
+ track: true,
4753
+ delay: 700,
4754
+ showURL: false,
4755
+ showBody: " | ",
4756
+ fade: 250
4757
+ });
4758
+ }
4759
+ break;
4760
+ case 'table':
4761
+ editor_button.removeClass ('dashicons-yes-alt');
4762
+ editor_button.removeClass ('green');
4763
+ editor_button.addClass ('dashicons-edit');
4764
+ editor_button.attr ('title', editor_button.attr ('title-table'))
4765
+ .tooltip({
4766
+ track: true,
4767
+ delay: 700,
4768
+ showURL: false,
4769
+ showBody: " | ",
4770
+ fade: 250
4771
+ });
4772
+
4773
+ reload_button.removeClass ('dashicons-no');
4774
+ reload_button.removeClass ('red');
4775
+ reload_button.addClass ('dashicons-download');
4776
+ reload_button.attr ('title', reload_button.attr ('title-table'))
4777
+ .tooltip({
4778
+ track: true,
4779
+ delay: 700,
4780
+ showURL: false,
4781
+ showBody: " | ",
4782
+ fade: 250
4783
+ });
4784
+ break;
4785
+ }
4786
+
4787
+ $('#ads-txt-controls').show ();
4788
+ }
4789
+ });
4790
+ }
4791
+
4792
+ function save_ads_txt (reload) {
4793
+ var data_container = $("#ads-txt-data");
4794
+ var editor_button = $("#ads-txt-editor");
4795
+ var reload_button = $("#ads-txt-reload");
4796
+ var virtual_button = $("#ads-txt-virtual");
4797
+ var virtual = virtual_button.hasClass ('violet') ? '1' : '0';
4798
+ var ads_txt_data = {'text': b64e (data_container.find ('textarea#ads-txt-text').val ())};
4799
+
4800
+ $('#ads-txt-error').text ('');
4801
+
4802
+ editor_button.removeClass ('green');
4803
+ editor_button.addClass ('red');
4804
+
4805
+ $.post (ajaxurl+"?action=ai_ajax_backend&ads-txt=save" + "&virtual=" + virtual + "&ai_check=" + ai_nonce, ads_txt_data
4806
+ ).done (function (code_data) {
4807
+ }).fail (function (xhr, status, error) {
4808
+ editor_button.removeClass ('red');
4809
+ editor_button.addClass ('green');
4810
+
4811
+ var message = "Error saving ads.txt file: " + xhr.status + " " + xhr.statusText;
4812
+ $('#ads-txt-error').text (message);
4813
+ if (debug) console.log (message);
4814
+ }).always (function() {
4815
+ editor_button.removeClass ('editor');
4816
+
4817
+ editor_button.removeClass ('green');
4818
+ editor_button.removeClass ('red');
4819
+ editor_button.removeClass ('dashicons-yes-alt');
4820
+ editor_button.addClass ('dashicons-edit');
4821
+ editor_button.attr ('title', editor_button.attr ('title-editor'))
4822
+ .tooltip({
4823
+ track: true,
4824
+ delay: 700,
4825
+ showURL: false,
4826
+ showBody: " | ",
4827
+ fade: 250
4828
+ });
4829
+
4830
+ reload_button.addClass ('dashicons-download');
4831
+ reload_button.removeClass ('dashicons-no');
4832
+ reload_button.removeClass ('red');
4833
+ reload_button.attr ('title', reload_button.attr ('title-editor'))
4834
+ .tooltip({
4835
+ track: true,
4836
+ delay: 700,
4837
+ showURL: false,
4838
+ showBody: " | ",
4839
+ fade: 250
4840
+ });
4841
+
4842
+ $('#ads-txt-search').show ();
4843
+
4844
+ if (reload) {
4845
+ setTimeout (function() {load_ads_txt ();}, 100);
4846
+ }
4847
+ });
4848
+ }
4849
+
4850
+ function set_page_statuses (block) {
4851
+ var automatic_insertion = parseInt ($("select#insertion-type-"+block+" option:selected").attr('value'));
4852
+ var table = $('#page-types-' + block);
4853
+
4854
+ switch (automatic_insertion) {
4855
+ case AI_BEFORE_HTML_ELEMENT:
4856
+ case AI_AFTER_HTML_ELEMENT:
4857
+ case AI_INSIDE_HTML_ELEMENT:
4858
+ table.find ('td.ai-page-type').removeClass ('ai-unavailable');
4859
+ return;
4860
+ }
4861
+
4862
+ var pages = ['po', 'pa', 'hp', 'cp', 'ap', 'sp'];
4863
+
4864
+ pages.forEach (function (page, index) {
4865
+ var positions = $('table.check-pages').attr ('data-positions-' + page);
4866
+
4867
+ if (positions != null) {
4868
+ var available_insertions = JSON.parse (positions);
4869
+
4870
+ if (available_insertions.indexOf (automatic_insertion) != - 1) {
4871
+ table.find ('td.ai-page-type.ai-' + page).removeClass ('ai-unavailable').find ('input, label').removeAttr ('title')
4872
+ .tooltip({
4873
+ track: true,
4874
+ delay: 700,
4875
+ showURL: false,
4876
+ showBody: " | ",
4877
+ fade: 250
4878
+ });
4879
+ } else {
4880
+ table.find ('td.ai-page-type.ai-' + page).addClass ('ai-unavailable').find ('input, label').attr ('title', ai_admin.position_might_not_available)
4881
+ .tooltip({
4882
+ track: true,
4883
+ delay: 700,
4884
+ showURL: false,
4885
+ showBody: " | ",
4886
+ fade: 250
4887
+ });
4888
+ }
4889
+ }
4890
+ });
4891
+ }
4892
+
4893
+ function check_page (page, button, last_check) {
4894
+ // var nonce = $("#ai-form").attr ('nonce');
4895
+ var container = button.closest ('.ai-check-pages');
4896
+ var error_message = container.find ('.ai-error-message');
4897
+
4898
+ $.get (ajaxurl + '?action=ai_ajax_backend&check-page=' + page + '&ai_check=' + ai_nonce, function (data) {
4899
+ if (data != '') {
4900
+
4901
+ if (debug) console.log ("AI CHECK PAGES:", data);
4902
+
4903
+ try {
4904
+ var pages_data = JSON.parse (data);
4905
+ var positions = pages_data ['positions'];
4906
+ var urls = pages_data ['urls'];
4907
+
4908
+ if (debug) console.log ("AI CHECK PAGES positions:", positions);
4909
+ if (debug) console.log ("AI CHECK PAGES urls:", urls);
4910
+
4911
+ $('table.check-pages').attr ('data-positions-' + page, JSON.stringify (positions));
4912
+ $('table.check-pages').attr ('data-urls-' + page, JSON.stringify (urls));
4913
+
4914
+ $('table.check-pages td.ai-position.ai-' + page).each (function () {
4915
+ $(this).removeClass ('ai-not-checked');
4916
+ var insertion = $(this).data ('insertion');
4917
+
4918
+ if (positions.indexOf (insertion) == - 1) {
4919
+ $(this).addClass ('ai-no').attr ('title', ai_admin.position_not_available);
4920
+ } else {
4921
+ $(this).addClass ('ai-yes').attr ('title', ai_admin.position_available);
4922
+ }
4923
+ $(this).tooltip({
4924
+ track: true,
4925
+ delay: 700,
4926
+ showURL: false,
4927
+ showBody: " | ",
4928
+ fade: 250
4929
+ });
4930
+ });
4931
+
4932
+ if (urls != null && urls.length != 0) {
4933
+ $('table.check-pages a.ai-' + page).each (function (index, value) {
4934
+ if (typeof urls [index] != 'undefined') {
4935
+ $(this).attr ('href', urls [index]).show ();
4936
+ }
4937
+ });
4938
+ }
4939
+ } catch (error) {
4940
+ // error_message.find ('.ai-error-message-text').text ('JSON error');
4941
+ error_message.find ('.ai-error-message-text').text (data);
4942
+ error_message.show ();
4943
+ console.log ("AI CHECK PAGES: JSON error decoding available positions: " + data);
4944
+ }
4945
+ }
4946
+ }).fail (function (xhr, status, error) {
4947
+ error_message.find ('.ai-error-message-text').text (xhr.status + " " + xhr.statusText);
4948
+ error_message.show ();
4949
+ console.log ('AI CHECK PAGES: Error loading positions for', page + ':', xhr.status, xhr.statusText);
4950
+ })
4951
+ .always (function () {
4952
+ if (last_check) {
4953
+ $('#ai-loading').hide ();
4954
+ $('#ai-loading-2').hide ();
4955
+ button.find ('span.ui-button-text').removeClass ('on');
4956
+
4957
+ for (var block = start; block <= end; block ++) {
4958
+ set_page_statuses (block);
4959
+ }
4960
+ }
4961
+ });
4962
+ }
4963
+
4964
+ function configure_tabs () {
4965
+
4966
+ var tabs_array = new Array ();
4967
+ if (active_tab != 0) tabs_array.push (0);
4968
+ for (var tab = end; tab >= start; tab --) {
4969
+ if (tab != active_tab) tabs_array.push (tab);
4970
+ }
4971
+ // Concatenate existing tabs_to_configure (if tab was clicked before page was loaded)
4972
+ tabs_to_configure = tabs_array.concat (tabs_to_configure);
4973
+
4974
+ setTimeout (configure_hidden_tab, 700);
4975
+
4976
+ var index = 16;
4977
+ if (active_tab != 0) index = active_tab - start;
4978
+ var block_tabs = $("#ai-tab-container").tabs ({active: index});
4979
+ $("#ai-plugin-settings-tab-container").tabs ({active: active_tab_0});
4980
+
4981
+ // $('#ai-settings').tooltip({
4982
+ // show: {effect: "blind",
4983
+ // delay: 400,
4984
+ // duration: 100}
4985
+ // });
4986
+
4987
+ if (debug_title) $("#plugin_name").css ("color", "#00f");
4988
+
4989
+ if (active_tab == 0) configure_tab_0 (); else configure_tab (active_tab);
4990
+
4991
+ $('#dummy-tabs').hide();
4992
+ $('#ai-tabs').show();
4993
+
4994
+ $('.ai-tab').click (function () {
4995
+ var tab_block = $(this).attr ("id");
4996
+ tab_block = parseInt (tab_block.replace ("ai-tab",""));
4997
+ active_tab = tab_block;
4998
+
4999
+ if (debug) console.log ("active_tab: " + active_tab);
5000
+
5001
+ if (syntax_highlighting) {
5002
+ if (!$("#tab-" + tab_block).hasClass ('configured')) {
5003
+ if (debug) console.log ("");
5004
+ if (debug) console.log ("Empty tab: " + tab_block);
5005
+ tabs_to_configure.push (tab_block);
5006
+ setTimeout (configure_hidden_tab, 10);
5007
+ if (debug) console.log ("tabs_to_configure: " + tabs_to_configure);
5008
+ } else if (tab_block != 0) {
5009
+ var editor = ace.edit ("editor-" + tab_block);
5010
+ editor.getSession ().highlightLines (10000000);
5011
+ }
5012
+ }
5013
+ });
5014
+
5015
+ $('.ai-plugin-tab').click (function () {
5016
+ active_tab_0 = $("#ai-plugin-settings-tab-container").tabs ('option', 'active');
5017
+ if (debug) console.log ("active_tab_0: " + active_tab_0);
5018
+
5019
+ if (syntax_highlighting) {
5020
+ var tab_block = $(this).attr ("id");
5021
+ tab_block = tab_block.replace ("ai-","");
5022
+
5023
+ if (tab_block == 'h') {
5024
+ var editor = ace.edit ("editor-h");
5025
+ editor.getSession ().highlightLines (10000000);
5026
+ } else
5027
+ if (tab_block == 'f') {
5028
+ editor = ace.edit ("editor-f");
5029
+ editor.getSession ().highlightLines (10000000);
5030
+ } else
5031
+ if (tab_block == 'a') {
5032
+ editor = ace.edit ("editor-a");
5033
+ editor.getSession ().highlightLines (10000000);
5034
+ }
5035
+ }
5036
+ });
5037
+
5038
+ $("#check-pages-button").button ({
5039
+ }).show ().click (function () {
5040
+ var button = $(this);
5041
+ var container = $(this).closest ('.ai-check-pages');
5042
+ var error_message = container.find ('.ai-error-message');
5043
+
5044
+ $('#ai-loading').show ();
5045
+ $('#ai-loading-2').show ();
5046
+ error_message.hide ();
5047
+ button.find ('span.ui-button-text').addClass ('on');
5048
+
5049
+ $('table.check-pages a').removeAttr ('href').hide ();
5050
+
5051
+ var pages = ['po', 'pa', 'hp', 'cp', 'ap', 'sp'];
5052
+
5053
+ pages.forEach (function (page, index) {
5054
+ $('table.check-pages td.ai-position').each (function () {
5055
+ $(this).removeClass ('ai-yes').removeClass ('ai-no').addClass ('ai-not-checked').attr ('title', ai_admin.position_not_checked);
5056
+ $(this).tooltip({
5057
+ track: true,
5058
+ delay: 700,
5059
+ showURL: false,
5060
+ showBody: " | ",
5061
+ fade: 250
5062
+ });
5063
+ });
5064
+
5065
+ $('table.ai-page-types td.ai-page-type').each (function () {
5066
+ $(this).removeClass ('ai-unavailable');
5067
+ });
5068
+
5069
+ setTimeout (function() {check_page (page, button, index == pages.length - 1);}, index * 300 + 10);
5070
+ });
5071
+ });
5072
+ }
5073
+
5074
+
5075
+ function reload_settings () {
5076
+ if (debug) console.log ('RELOAD SETTINGS');
5077
+
5078
+ // var nonce = $("#ai-form").attr ('nonce');
5079
+ var settings_container = $("#ai-container");
5080
+
5081
+ $('#ai-error-container').hide ();
5082
+ if (debug_title) $("#plugin_name").css ("color", "#f00");
5083
+
5084
+ $('#ai-loading').show ();
5085
+
5086
+ var tools = $('#ai-tools-toolbar-' + active_tab).is (':visible');
5087
+ var simple_editor = $('#simple-editor-' + active_tab).is(":checked");
5088
+ var copy = $("#copy-block-" + active_tab).next ("label").find ('.checkbox-icon').hasClass("on");
5089
+
5090
+
5091
+
5092
+ settings_container.load (ajaxurl+"?action=ai_ajax_backend&settings=" + active_tab + "&ai_check=" + ai_nonce, function (response, status, xhr) {
5093
+ if (status == "error") {
5094
+ $('#ai-loading').hide ();
5095
+ var message = ai_admin.error_reloading_settings + ": " + xhr.status + " " + xhr.statusText;
5096
+ $('#ai-error-container').text (message).show ();
5097
+ if (debug) console.log (message);
5098
+ } else {
5099
+ if (debug) console.log (' Configuring...');
5100
+
5101
+ if (debug) {
5102
+ start_time = new Date().getTime();
5103
+ last_time = start_time;
5104
+ }
5105
+
5106
+ configure_tabs ();
5107
+
5108
+ if (simple_editor) $('#simple-editor-' + active_tab).click ();
5109
+
5110
+ if (tools) $('#tools-button-' + active_tab).click ();
5111
+
5112
+ if (copy) {
5113
+ $("#ai-container .ai-copy").each (function () {
5114
+ $(this).next ("label").find ('.checkbox-icon').addClass("on");
5115
+ });
5116
+ }
5117
+
5118
+ if (debug) console.log (' Configured');
5119
+ $('#ai-loading').hide ();
5120
+ }
5121
+ });
5122
+ }
5123
+
5124
+ function update_adsense_authorization (authorization_code) {
5125
+ // var nonce = $("#ai-form").attr ('nonce');
5126
+
5127
+ $('#ai-loading').show ();
5128
+ $.get (ajaxurl + '?action=ai_ajax_backend&adsense-authorization-code=' + btoa (authorization_code) + '&ai_check=' + ai_nonce, function (data) {
5129
+ reload_adsense_list (false);
5130
+ }).fail (function (xhr, status, error) {
5131
+ var message = "Error saving AdSense authorization: " + xhr.status + " " + xhr.statusText ;
5132
+ console.log (message);
5133
+ })
5134
+ .always (function () {
5135
+ $('#ai-loading').hide ();
5136
+ });
5137
+ }
5138
+
5139
+ function toggle_adsense_list () {
5140
+ var container = $("#adsense-list-container");
5141
+ container.toggle ();
5142
+
5143
+ if (container.is(':visible')) {
5144
+ $(".checkbox-icon.icon-adsense").addClass ('on');
5145
+ reload_adsense_list (false);
5146
+ } else {
5147
+ $(".checkbox-icon.icon-adsense").removeClass ('on');
5148
+ }
5149
+ }
5150
+
5151
+ function update_block_code_demo () {
5152
+ // var nonce = $("#ai-form").attr ('nonce');
5153
+
5154
+ var block_class_name = encodeURIComponent ($('#block-class-name').val ());
5155
+ var block_class = $('#block-class').is(":checked") ? 1 : 0;
5156
+ var block_number_class = $('#block-number-class').is(":checked") ? 1 : 0;
5157
+ var block_name_class = $('#block-name-class').is(":checked") ? 1 : 0;
5158
+ var inline_styles = $('#inline-styles').is(":checked") ? 1 : 0;
5159
+
5160
+ $.get (ajaxurl + '?action=ai_ajax_backend&update=block-code-demo&block_class_name=' + block_class_name + '&block_class=' + block_class + '&block_number_class=' + block_number_class + '&block_name_class=' + block_name_class + '&inline_styles=' + inline_styles + '&ai_check=' + ai_nonce, function (data) {
5161
+ $('span#ai-block-code-demo').html (data);
5162
+ }).fail (function (xhr, status, error) {
5163
+ var message = "Error updating block code demo: " + xhr.status + " " + xhr.statusText ;
5164
+ console.log (message);
5165
+ });
5166
+ }
5167
+
5168
+ if (debug) console.log ("READY");
5169
+ if (debug_title) $("#plugin_name").css ("color", "#f00");
5170
+ if (debug) {
5171
+ var current_time_ready = new Date().getTime();
5172
+ console.log ("TIME: " + ((current_time_ready - start_time) / 1000).toFixed (3));
5173
+ }
5174
+
5175
+ $("#blocked-warning").removeClass ('warning-enabled');
5176
+ $("#blocked-warning").hide ();
5177
+
5178
+ start = parseInt ($('#ai-form').attr('start'));
5179
+ end = parseInt ($('#ai-form').attr('end'));
5180
+
5181
+ active_tab = start;
5182
+ active_tab_0 = 0;
5183
+ try {
5184
+ var active_tabs = JSON.parse ($("#ai-active-tab").attr ("value"));
5185
+ if (typeof active_tabs !== "undefined" && active_tabs.constructor === Array && Number.isInteger (active_tabs [0]) && Number.isInteger (active_tabs [1])) {
5186
+ active_tab = parseInt (active_tabs [0]);
5187
+ if (active_tab != 0)
5188
+ if (active_tab < start || active_tab > end) active_tab = start;
5189
+ active_tab_0 = parseInt (active_tabs [1]);
5190
+ }
5191
+ } catch (e) {}
5192
+
5193
+ if (debug) console.log ("active_tabs:", active_tab, active_tab_0);
5194
+
5195
+ var plugin_version = $('#ai-data').attr ('version').split ('-') [0];
5196
+ if (javascript_version != plugin_version) {
5197
+ console.log ('AD INSERTER: plugin version: ' + plugin_version + ', loaded JavaScript version: ' + javascript_version);
5198
+
5199
+ // Check page HTML
5200
+ var javascript_version_parameter = $("script[src*='ad-inserter.js']").attr('src');
5201
+ if (typeof javascript_version_parameter == 'undefined') $("#javascript-version-parameter-missing").show (); else {
5202
+ javascript_version_parameter_string = javascript_version_parameter.split('=')[1];
5203
+ if (typeof javascript_version_parameter_string == 'undefined') {
5204
+ $("#javascript-version-parameter-missing").show ();
5205
+ }
5206
+ else if (javascript_version_parameter_string != plugin_version) {
5207
+ console.log ('AD INSERTER: plugin version: ' + plugin_version + ', JavaScript file version: ' + javascript_version_parameter_string);
5208
+ $("#javascript-version-parameter").show ();
5209
+ }
5210
+ }
5211
+
5212
+ $("#javascript-version").html ("Javascript<br />" + javascript_version);
5213
+ $("#javascript-warning").show ();
5214
+ }
5215
+
5216
+ var css_version = $('#ai-data').css ('font-family').replace(/[\"\']/g, '');
5217
+ if (css_version.indexOf ('.') == - 1) $("#blocked-warning").show (); else
5218
+ if (css_version != plugin_version) {
5219
+ console.log ('AD INSERTER: plugin version:', plugin_version + ', loaded CSS version:', css_version);
5220
+
5221
+ // Check page HTML
5222
+ var css_version_parameter = $("link[href*='ai-settings.css']").attr('href');
5223
+ if (typeof css_version_parameter == 'undefined') $("#css-version-parameter-missing").show (); else {
5224
+ css_version_parameter_string = css_version_parameter.split('=')[1];
5225
+ if (typeof css_version_parameter_string == 'undefined') {
5226
+ $("#css-version-parameter-missing").show ();
5227
+ }
5228
+ else if (css_version_parameter_string != plugin_version) {
5229
+ console.log ('AD INSERTER: plugin version:', plugin_version + ', CSS file version:', css_version_parameter_string);
5230
+ $("#css-version-parameter").show ();
5231
+ }
5232
+ }
5233
+
5234
+ $("#css-version").html ("CSS<br />" + css_version);
5235
+ $("#css-warning").show ();
5236
+ }
5237
+
5238
+ $('.header button').button().show ();
5239
+
5240
+ $("#ai-form").submit (function (event) {
5241
+ for (var tab = start; tab <= end; tab ++) {
5242
+ remove_default_values (tab);
5243
+ encode_code (tab);
5244
+ }
5245
+
5246
+ remove_default_values (0);
5247
+ encode_code ('h');
5248
+ encode_code ('f');
5249
+ encode_code ('a');
5250
+ });
5251
+
5252
+ $("div#tab-999").attr ('id', 'ai-clipboard-template').insertBefore ("#ai-clipboard");
5253
+
5254
+ configure_tabs ();
5255
+
5256
+ $('#plugin_name').dblclick (function () {
5257
+ $(".system-debugging").toggle();
5258
+ });
5259
+
5260
+ $('#ai-stars').click (function () {
5261
+ if ($("#rating-value span").text () != '') {
5262
+ $("#ai-rating-bar").css ('display', 'inline-block');
5263
+ $('#ai-stars').hide ();
5264
+ }
5265
+ update_rating ('update', '');
5266
+ });
5267
+
5268
+ $("#ai-rating-bar").click (function () {
5269
+ $("#ai-rating-bar").hide ();
5270
+ $('#ai-stars').show ();
5271
+ });
5272
+
5273
+ $("#adsense-list").click (function () {
5274
+ // $(this).blur ();
5275
+
5276
+ toggle_adsense_list ();
5277
+ });
5278
+
5279
+ $("#ai-ads-txt").click (function () {
5280
+ $(this).blur ();
5281
+
5282
+ var container = $("#ads-txt-container");
5283
+
5284
+ container.toggle ();
5285
+
5286
+ if (container.is(':visible')) {
5287
+ $("#ai-ads-txt .checkbox-icon.icon-ads-txt").addClass ('on');
5288
+ load_ads_txt ();
5289
+ } else {
5290
+ $("#ai-ads-txt .checkbox-icon.icon-ads-txt").removeClass ('on');
5291
+ }
5292
+ });
5293
+
5294
+ $("#page-checker-button").click (function () {
5295
+ $("#page-checker-container").toggle ();
5296
+
5297
+ if ($("#page-checker-container").is(':visible')) {
5298
+ $(".page-checker-button").addClass ('blue');
5299
+ $("#page-checker-button").addClass ('blue');
5300
+ // reload_list ();
5301
+ } else {
5302
+ $(".page-checker-button").removeClass ('blue');
5303
+ $("#page-checker-button").removeClass ('blue');
5304
+ }
5305
+ });
5306
+
5307
+ $("#ai-list").click (function () {
5308
+
5309
+ $("#ai-list").toggleClass ('blue');
5310
+
5311
+ var container = $("#ai-list-container");
5312
+ var list_sticky = $("#ai-pin-list").hasClass ('on');
5313
+
5314
+ if (!list_sticky && ($("#ai-list").hasClass ('blue') != container.is(':visible'))) {
5315
+ container.toggle ();
5316
+ }
5317
+
5318
+ if (container.is(':visible')) {
5319
+ reload_list ();
5320
+ }
5321
+
5322
+ if ($("#ai-list").hasClass ('blue')) {
5323
+ $("#plugin_name").hide ();
5324
+ $("#block-ranges").show ();
5325
+ } else {
5326
+ $("#plugin_name").show ();
5327
+ $("#block-ranges").hide ();
5328
+ }
5329
+ });
5330
+
5331
+ $("#ai-list-search").keyup (function (event) {
5332
+ if (!list_search_reload) {
5333
+ list_search_reload = true;
5334
+ setTimeout (reload_list, 200);
5335
+ }
5336
+ });
5337
+
5338
+ $("#ai-load-all").click (function () {
5339
+ $(this).toggleClass ('light-blue');
5340
+ reload_list ();
5341
+ });
5342
+
5343
+ $("#ai-rearrange").click (function () {
5344
+ $(this).toggleClass ('blue');
5345
+
5346
+ var data_container = $("#ai-list-data");
5347
+ var rearrange_controls = $('#list-rearrange-controls');
5348
+ if ($(this).hasClass ('blue')) {
5349
+ $("#ai-rearrange").attr ('title', ai_admin.cancel_rearrangement)
5350
+ .tooltip({
5351
+ track: true,
5352
+ delay: 700,
5353
+ showURL: false,
5354
+ showBody: " | ",
5355
+ fade: 250
5356
+ });
5357
+
5358
+ rearrange_controls.show ();
5359
+ data_container.find ('tbody').sortable ({
5360
+ start: function (event, ui) {$('#list-save').show ();},
5361
+ placeholder: "ui-state-highlight"
5362
+ }).css ('cursor', 'move');
5363
+ } else {
5364
+ data_container.find ('tbody').sortable ("disable");
5365
+ $("#ai-rearrange").attr ('title', ai_admin.rearrange_block_order)
5366
+ .tooltip({
5367
+ track: true,
5368
+ delay: 700,
5369
+ showURL: false,
5370
+ showBody: " | ",
5371
+ fade: 250
5372
+ });
5373
+
5374
+ $('#list-save').hide ();
5375
+ rearrange_controls.hide ();
5376
+ reload_list ();
5377
+ }
5378
+ });
5379
+
5380
+ $("#ai-save-changes").click (function () {
5381
+ $('#list-rearrange-controls').addClass ('rearrange')
5382
+ reload_list ();
5383
+ });
5384
+
5385
+ $("#ai-pin-list").click (function () {
5386
+ $(this).toggleClass ('on');
5387
+
5388
+ var sticky = $(this).hasClass ('on') ? '1' : '0';
5389
+
5390
+ if (!$("#ai-list").hasClass ('blue')) {
5391
+ $("#ai-list-container").toggle ();
5392
+ }
5393
+
5394
+ $.get (ajaxurl+"?action=ai_ajax_backend&blocks-sticky=" + sticky + "&start=" + start + "&end=" + end + '&ai_check=' + ai_nonce, function (response, status, xhr) {
5395
+ if (status == "error") {
5396
+ var message = "Error updating sticky: " + xhr.status + " " + xhr.statusText;
5397
+ var data_container = $("#ai-list-data");
5398
+ data_container.html (message);
5399
+ if (debug) console.log (message);
5400
+ } else {
5401
+ if (debug) console.log ('AI blocks sticky:', response);
5402
+ }
5403
+ });
5404
+ });
5405
+
5406
+ if ($("#maxmind-db-status").hasClass ('maxmind-db-missing')) {
5407
+ // var nonce = $("#ai-form").attr ('nonce');
5408
+ var page = ajaxurl+"?action=ai_ajax_backend&update=maxmind&ai_check=" + ai_nonce;
5409
+
5410
+ $("span.maxmind-db-missing").text (ai_admin.downloading);
5411
+ $.get (page, function (update_status) {
5412
+
5413
+ if (update_status == '') {
5414
+ $("span.maxmind-db-missing").closest ('.notice.notice-error').hide ();
5415
+ $("#maxmind-db-status").text ('');
5416
+ } else {
5417
+ console.log (update_status);
5418
+ var status = JSON.parse (update_status);
5419
+ console.log (status);
5420
+ if (typeof status !== "undefined") {
5421
+ $(".notice span.maxmind-db-missing").text (status [0]);
5422
+ $("#maxmind-db-status").text (status [1]);
5423
+ } else $("span.maxmind-db-missing").text (ai_admin.update_error);
5424
+ }
5425
+ }).fail (function(jqXHR, status, err) {
5426
+ $("span.maxmind-db-missing").text (ai_admin.download_error);
5427
+ });
5428
+ }
5429
+
5430
+ $("#adsense-load-all").click (function () {
5431
+ $(this).parent ().find ('.checkbox-icon').toggleClass ('on');
5432
+ reload_adsense_list (false);
5433
+ });
5434
+
5435
+ $("#adsense-list-search").keyup (function (event) {
5436
+ if (!adsense_search_reload) {
5437
+ adsense_search_reload = true;
5438
+ setTimeout (function() {reload_adsense_list (false);}, 200);
5439
+ }
5440
+ });
5441
+
5442
+ $("#adsense-reload").click (function () {
5443
+ $(this).parent ().find ('.checkbox-icon').addClass ('on');
5444
+ setTimeout (function() {reload_adsense_list (true);}, 200);
5445
+ });
5446
+
5447
+ $("#clear-adsense-authorization").click (function () {
5448
+ $("#adsense-list-data").text (ai_admin.updating);
5449
+ update_adsense_authorization ('');
5450
+ });
5451
+
5452
+ $('.ai-block-code-demo').change (function () {
5453
+ update_block_code_demo ();
5454
+ }).on('input',function(e){
5455
+ update_block_code_demo ();
5456
+ });
5457
+
5458
+ setTimeout (function() {update_rating ('');}, 1000);
5459
+
5460
+ $("#license-key").dblclick (function () {
5461
+ $("#hide-key").toggle ();
5462
+ });
5463
+
5464
+ $('input[title], button[title], label[title], h2[title], li[title], td[title], select[title], div[title], span[title]').tooltip({
5465
+ track: true,
5466
+ delay: 700,
5467
+ showURL: false,
5468
+ showBody: " | ",
5469
+ fade: 250
5470
+ });
5471
+
5472
+ if (debug) console.log ("");
5473
+ if (debug) console.log ("READY END");
5474
+ if (debug) {
5475
+ var current_time = new Date().getTime();
5476
+ console.log ("main time: " + ((current_time - current_time_ready) / 1000).toFixed (3));
5477
+ }
5478
+
5479
+ $("#ads-txt-virtual").click (function () {
5480
+
5481
+ function switch_to_physical () {
5482
+ var virtual_button = $("#ads-txt-virtual");
5483
+ virtual_button.removeClass ('violet');
5484
+ virtual_button.attr ('title', virtual_button.attr ('title-physical'))
5485
+ .tooltip({
5486
+ track: true,
5487
+ delay: 700,
5488
+ showURL: false,
5489
+ showBody: " | ",
5490
+ fade: 250
5491
+ });
5492
+ setTimeout (function() {load_ads_txt ();}, 50);
5493
+
5494
+ }
5495
+ var editor_button = $("#ads-txt-editor");
5496
+ var view = editor_button.hasClass ('editor') ? 'text' : 'table';
5497
+ var virtual_button = $("#ads-txt-virtual");
5498
+
5499
+ if (virtual_button.hasClass ('violet')) {
5500
+ var message = ai_admin.switch_to_physical_ads_txt;
5501
+ var ads_txt_data = $("#ads-txt-data").find ('textarea#ads-txt-text').val ();
5502
+ var ads_txt_missing = $('#ads-txt-missing').length != 0;
5503
+
5504
+ if (!ads_txt_missing && (view == 'table' || ads_txt_data != '')) {
5505
+ $('<div />').html(message).attr ('title', ai_admin.warning).dialog({
5506
+ bgiframe: true,
5507
+ draggable: false,
5508
+ resizable: false,
5509
+ modal: true,
5510
+ height: "auto",
5511
+ width: 400,
5512
+ position: {my: 'center', at: 'center', of: '#ads-txt-container'},
5513
+ buttons: [{
5514
+ text: ai_admin.switch,
5515
+ click: function() {
5516
+ $(this).dialog ("close");
5517
+
5518
+ switch_to_physical ();
5519
+ }
5520
+ },{
5521
+ text: ai_admin.cancel,
5522
+ click: function() {
5523
+ $(this).dialog ("close");
5524
+ }
5525
+ }
5526
+ ],
5527
+ });
5528
+ } else switch_to_physical ();
5529
+ } else {
5530
+ virtual_button.addClass ('violet');
5531
+ virtual_button.attr ('title', virtual_button.attr ('title-virtual'))
5532
+ .tooltip({
5533
+ track: true,
5534
+ delay: 700,
5535
+ showURL: false,
5536
+ showBody: " | ",
5537
+ fade: 250
5538
+ });
5539
+ setTimeout (function() {load_ads_txt ();}, 50);
5540
+ }
5541
+
5542
+ });
5543
+
5544
+ $("#ads-txt-reload").click (function () {
5545
+ var editor_button = $("#ads-txt-editor");
5546
+ if (editor_button.hasClass ('editor')) {
5547
+ editor_button.removeClass ('editor');
5548
+ }
5549
+ setTimeout (function() {load_ads_txt ();}, 50);
5550
+ });
5551
+
5552
+ $("#ads-txt-editor").click (function () {
5553
+ if ($(this).hasClass ('editor')) {
5554
+ setTimeout (function() {save_ads_txt (true);}, 50);
5555
+ } else {
5556
+ $(this).addClass ('editor');
5557
+
5558
+ setTimeout (function() {load_ads_txt ();}, 50);
5559
+
5560
+ $(this).attr ('title', $(this).attr ('title-table'))
5561
+ .tooltip({
5562
+ track: true,
5563
+ delay: 700,
5564
+ showURL: false,
5565
+ showBody: " | ",
5566
+ fade: 250
5567
+ });
5568
+ }
5569
+ });
5570
+
5571
+ $("#ads-txt-search").keyup (function (event) {
5572
+ if (!ads_txt_reload) {
5573
+ ads_txt_reload = true;
5574
+ setTimeout (function() {load_ads_txt ();}, 200);
5575
+ }
5576
+ });
5577
+
5578
+ // $(document).keydown (function (event) {
5579
+ // if (event.which == "17") {
5580
+ // ai_ctrl_pressed = true;
5581
+
5582
+ // var public_report_button = $('.public-report-button');
5583
+ // public_report_button.addClass ('light-red');
5584
+ // public_report_button.attr ('title', $('.public-report-button').first ().attr ('title-rw'))
5585
+ // .tooltip({
5586
+ // track: true,
5587
+ // delay: 700,
5588
+ // showURL: false,
5589
+ // showBody: " | ",
5590
+ // fade: 250
5591
+ // });
5592
+ // }
5593
+ // });
5594
+
5595
+ // $(document).keyup (function() {
5596
+ // if (ai_ctrl_pressed) {
5597
+ // ai_ctrl_pressed = false;
5598
+
5599
+ // var public_report_button = $('.public-report-button');
5600
+ // public_report_button.removeClass ('light-red');
5601
+ // public_report_button.attr ('title', $('.public-report-button').first ().attr ('title-ro'))
5602
+ // .tooltip({
5603
+ // track: true,
5604
+ // delay: 700,
5605
+ // showURL: false,
5606
+ // showBody: " | ",
5607
+ // fade: 250
5608
+ // });
5609
+ // }
5610
+ // });
5611
+
5612
+ $(".ai-public-controls").dblclick (function () {
5613
+ $(this).toggleClass ('on');
5614
+ });
5615
+
5616
+ $(".public-report-button").click (function () {
5617
+ var report_data_elements = JSON.parse ($(this).attr ('report-data'));
5618
+ var report_url_prefix = report_data_elements [0]
5619
+ var report_dates_block = report_data_elements [1];
5620
+ var report_controls = $(this).parent ().parent ().parent ().parent ().find ('.ai-public-controls').hasClass ('on') ? '1' : '0';
5621
+ var report_range_name = $(this).parent ().parent ().parent ().parent ().find ('.custom-range-controls').attr ('range-name');
5622
+ var report_adb = report_data_elements [2];
5623
+ var report_range = report_data_elements [2];
5624
+ var report = report_dates_block + report_controls + report_adb + report_range_name;
5625
+ var report_id = b64e (report).replaceAll ('+', '.').replaceAll ('/', '_').replaceAll ('=', '-');
5626
+ var url = report_url_prefix + md5 (report).substring (0, 2) + report_id;
5627
+
5628
+ window.open (url, 'ai-report');
5629
+ });
5630
+
5631
+ if ($("#ai-list-data").hasClass ('ai-sticky')) {
5632
+ configure_list ();
5633
+ }
5634
+ });
5635
+
5636
+
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.5.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
- "POT-Creation-Date: 2019-11-12 16:45:21+00:00\n"
8
- "PO-Revision-Date: 2019-11-12 17:47+0100\n"
9
  "Last-Translator: Igor Funa <info@adinserter.pro>\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:304
20
  msgctxt "Menu item"
21
  msgid "Debugging DEMO"
22
  msgstr "DEMO Razhroščevanje"
23
 
24
- #: ad-inserter.php:320
25
  msgctxt "Menu item"
26
  msgid "Label Blocks"
27
  msgstr "Označi bloke"
28
 
29
- #: ad-inserter.php:327
30
  msgctxt "Menu item"
31
  msgid "Show Positions"
32
  msgstr "Pokaži položaje"
33
 
34
- #: ad-inserter.php:398
35
  msgctxt "Menu item"
36
  msgid "Show HTML Tags"
37
  msgstr "Pokaži HTML značke"
38
 
39
- #: ad-inserter.php:405
40
  msgctxt "Menu item"
41
  msgid "Disable Insertion"
42
  msgstr "Onemogoči vstavljanje"
43
 
44
- #: ad-inserter.php:414
45
  msgctxt "Menu item"
46
  msgid "Ad Blocking Status"
47
  msgstr "Status blokiranja oglasov"
48
 
49
- #: ad-inserter.php:421
50
  msgctxt "Menu item"
51
  msgid "Simulate Ad Blocking"
52
  msgstr "Simuliraj blokiranje oglasov"
53
 
54
- #: ad-inserter.php:431
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:1038
61
  msgid "Before"
62
  msgstr "Pred"
63
 
64
  #. translators: Debugging position name After HTML element
65
- #: ad-inserter.php:1043
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:1048 strings.php:103
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:1053 strings.php:104
78
  msgid "Append content"
79
  msgstr "Dodaj za vsebino"
80
 
81
  #. translators: Debugging position name Replace content of HTML element
82
- #: ad-inserter.php:1058 strings.php:105
83
  msgid "Replace content"
84
  msgstr "Nadomesti vsebino"
85
 
86
  #. translators: Debugging position name Replace HTML element
87
- #: ad-inserter.php:1063 strings.php:155
88
  msgid "Replace"
89
  msgstr "Nadomesti"
90
 
91
  #. translators: Debugging message when output buffering is enabled
92
- #: ad-inserter.php:1110
93
  msgid "OUTPUT BUFFERING"
94
  msgstr "PREDPOMNJENJE IZHODA"
95
 
96
  #. translators: Debugging position
97
- #: ad-inserter.php:1114
98
  msgid "Above Header"
99
  msgstr "Nad Glavo"
100
 
101
- #: ad-inserter.php:1346
102
  msgctxt "Menu item"
103
  msgid "Log In"
104
  msgstr "Prijava"
105
 
106
  #. translators: %s: Ad Inserter
107
- #: ad-inserter.php:1680 ad-inserter.php:2618
108
  msgid "%s Settings"
109
  msgstr "%s Nastavitve"
110
 
111
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
112
- #: ad-inserter.php:2130
113
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
114
  msgstr "ZAZNANO BLOKIRANJE OGLASOV, OGLEDI STRANI"
115
 
116
- #: ad-inserter.php:2130
117
  msgid "NO ACTION"
118
  msgstr "NI AKCIJE"
119
 
120
- #: ad-inserter.php:2131
121
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
122
  msgstr "ZAZNANO BLOKIRANJE OGLASOV, ZAZNAN PIŠKOTEK, NI AKCIJE"
123
 
124
- #: ad-inserter.php:2132
125
  msgid "AD BLOCKING DETECTED - ACTION"
126
  msgstr "ZAZNANO BLOKIRANJE OGLASOV - AKCIJA"
127
 
128
- #: ad-inserter.php:2133
129
  msgid "AD BLOCKING NOT DETECTED"
130
  msgstr "BLOKIRANJE OGLASOV NI ZAZNANO"
131
 
132
- #: ad-inserter.php:2134
133
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
134
  msgstr "PIŠKOTKI ZA ZAZNAVANJE BLOKIRANJA OGLASOV POBRISANI"
135
 
136
- #: ad-inserter.php:2135
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:2341
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,27 +146,27 @@ 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:2342 includes/functions-check-now.php:1725
150
- #: includes/functions.old.php:1652 includes/functions.php:1700
151
  msgid "No, thank you."
152
  msgstr "Ne, hvala."
153
 
154
  #. Translators: %s: Ad Inserter
155
- #: ad-inserter.php:2345
156
  msgid ""
157
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
158
  msgstr "Hej, %s uporabljate že kar nekaj časa. Upam, da ste zadovoljni z njim."
159
 
160
- #: ad-inserter.php:2346 includes/functions-check-now.php:1728
161
- #: includes/functions.old.php:1655 includes/functions.php:1703
162
  msgid "Not now, maybe later."
163
  msgstr "Ne zdaj, mogoče kasneje."
164
 
165
- #: ad-inserter.php:2356
166
  msgid "I would really appreciate if you could rate the plugin on WordPres."
167
  msgstr "Res bi bil vesel, če bi lahko ocenili vtičnik na WordPress-u."
168
 
169
- #: ad-inserter.php:2358
170
  msgid ""
171
  "Positive reviews are a great incentive to fix bugs and to add new features "
172
  "for better monetization of your website. Thank you, Igor"
@@ -175,93 +175,93 @@ msgstr ""
175
  "funkcij za boljšo monetizacijo vašega spletnega mesta. Hvala, Igor"
176
 
177
  #. translators: %s: Ad Inserter
178
- #: ad-inserter.php:2364
179
  msgid "Rate %s"
180
  msgstr "Ocenite %s"
181
 
182
- #: ad-inserter.php:2369
183
  msgid "I already did."
184
  msgstr "Sem že."
185
 
186
  #. translators: 1: AMPforWP Plugin Manager, 2: Ad Inserter
187
  #. translators: 1: AMPforWP Plugin Manager, 2: Ad Inserter, 3, 4: HTML tags
188
- #: ad-inserter.php:2382 ad-inserter.php:2409
189
  msgid "Warning: %1$s %3$s disabled %4$s %2$s on AMP pages."
190
  msgstr "Opozorilo: %1$s %3$s je onemogočil %4$s %2$s na AMP straneh."
191
 
192
- #: ad-inserter.php:2391
193
  msgctxt "Menu item"
194
  msgid "Settings"
195
  msgstr "Nastavitve"
196
 
197
  #. translators: %s: Ad Inserter
198
- #: ad-inserter.php:2509
199
  msgctxt "Meta box name"
200
  msgid "%s Individual Exceptions"
201
  msgstr "Posamezne Izjeme za %s"
202
 
203
- #: ad-inserter.php:2538 ad-inserter.php:8799 class.php:2080
204
  #: includes/preview.php:1976 includes/preview.php:2020
205
- #: includes/preview.php:2057 settings.php:4088 strings.php:3
206
  msgid "Block"
207
  msgstr "Blok"
208
 
209
- #: ad-inserter.php:2539 settings.php:4089 settings.php:4174
210
  msgid "Name"
211
  msgstr "Ime"
212
 
213
- #: ad-inserter.php:2542 settings.php:1129
214
  msgid "Default insertion"
215
  msgstr "Privzeto vstavljanje"
216
 
217
  #. translators: For this post or page
218
- #: ad-inserter.php:2545
219
  msgctxt "Page"
220
  msgid "For this"
221
  msgstr "Za to"
222
 
223
- #: ad-inserter.php:2546
224
  msgctxt "Post"
225
  msgid "For this"
226
  msgstr "Za ta"
227
 
228
- #: ad-inserter.php:2558
229
  msgctxt "Enabled/disabled on all"
230
  msgid "pages"
231
  msgstr "straneh"
232
 
233
- #: ad-inserter.php:2561
234
  msgctxt "Enabled/disabled on all"
235
  msgid "posts"
236
  msgstr "prispevkih"
237
 
238
- #: ad-inserter.php:2579 ad-inserter.php:2591 strings.php:161
239
  msgid "Enabled"
240
  msgstr "Omogočeno"
241
 
242
  #. translators: Menu items
243
- #: ad-inserter.php:2579 ad-inserter.php:2591
244
  #: includes/functions-check-now.php:2401 includes/functions.old.php:2326
245
- #: includes/functions.php:2376 strings.php:16
246
  msgid "Disabled"
247
  msgstr "Onemogočeno"
248
 
249
- #: ad-inserter.php:2581
250
  msgid "No individual exceptions"
251
  msgstr "Ni posameznih izjem"
252
 
253
  #. translators: Not enabled for pages or posts
254
- #: ad-inserter.php:2583
255
  msgid "Not enabled for"
256
  msgstr "Ni omogočeno za"
257
 
258
  #. translators: No individual exceptions enabled for pages or posts
259
- #: ad-inserter.php:2611
260
  msgid "No block has individual exceptions enabled"
261
  msgstr "Noben blok nima omogočenih posameznih izjem"
262
 
263
  #. translators: 1: Ad Inserter Settings (page), 2: Tag / Archive pages
264
- #: ad-inserter.php:2616
265
  msgid ""
266
  "Default insertion can be configured for each block on %1$s page - button "
267
  "next to %2$s checkbox."
@@ -269,11 +269,11 @@ msgstr ""
269
  "Privzeto vstavljanje se lahko nastavi za vsak blok na strani %1$s - gumb "
270
  "poleg kljukice za vklop %2$s."
271
 
272
- #: ad-inserter.php:2619 settings.php:1107
273
  msgid "Tag / Archive pages"
274
  msgstr "Strani oznak / arhiva"
275
 
276
- #: ad-inserter.php:2621
277
  msgid ""
278
  "When individual exceptions for a block are enabled, a checkbox will be "
279
  "listed here to change default insertion for this post or page."
@@ -281,7 +281,7 @@ msgstr ""
281
  "Ko so posamezne izjeme za blok vključene, se bo tukaj izpisala kljukica za "
282
  "spremembo privzetega vstavljanja za ta prispevek ali stran."
283
 
284
- #: ad-inserter.php:2622
285
  msgid ""
286
  "This way you can individually enable or disable blocks on specific posts or "
287
  "pages."
@@ -289,61 +289,61 @@ msgstr ""
289
  "Na ta način lahko posamezno omogočite ali onemogočite blok na določenem "
290
  "prispevku ali strani."
291
 
292
- #: ad-inserter.php:2624
293
  msgid "For more information check page %s"
294
  msgstr "Za več informacij poglejte stran %s"
295
 
296
  #. translators: Ad Inserter Exceptions documentation page
297
- #: ad-inserter.php:2626
298
  msgid "Individual Exceptions"
299
  msgstr "Posamezne Izjeme"
300
 
301
- #: ad-inserter.php:2673
302
  msgid "STATIC PAGE"
303
  msgstr "STATIČNA STRAN"
304
 
305
- #: ad-inserter.php:2676
306
  msgid "POST"
307
  msgstr "PRISPEVEK"
308
 
309
- #: ad-inserter.php:2679
310
  msgid "HOMEPAGE"
311
  msgstr "DOMAČA STRAN"
312
 
313
- #: ad-inserter.php:2682
314
  msgid "CATEGORY PAGE"
315
  msgstr "STRAN KATEGORIJE"
316
 
317
- #: ad-inserter.php:2685
318
  msgid "SEARCH PAGE"
319
  msgstr "STRAN ISKANJE"
320
 
321
- #: ad-inserter.php:2688
322
  msgid "ARCHIVE PAGE"
323
  msgstr "STRAN ARHIVA"
324
 
325
- #: ad-inserter.php:2691
326
  msgid "ERROR 404 PAGE"
327
  msgstr "STRAN NAPAKA 404"
328
 
329
- #: ad-inserter.php:2694
330
  msgid "AJAX CALL"
331
  msgstr "AJAX KLIC"
332
 
333
- #: ad-inserter.php:2697
334
  msgid "UNKNOWN PAGE TYPE"
335
  msgstr "NEZNAN TIP STRANI"
336
 
337
- #: ad-inserter.php:2714
338
  msgid "Click to delete ad blocking detection cokies"
339
  msgstr "Klikni za brisanje piškotkov za zaznavanje blokiranja oglasov"
340
 
341
- #: ad-inserter.php:2715
342
  msgid "AD BLOCKING STATUS UNKNOWN"
343
  msgstr "NEZNAN STATUS BLOKIRANJA OGLASOV"
344
 
345
  #. translators: %s: AdSense Auto Ads
346
- #: ad-inserter.php:2744
347
  msgid ""
348
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
349
  "positions"
@@ -351,11 +351,11 @@ msgstr ""
351
  "Zaznana koda za %s - Koda bo samodejno vstavila oglase AdSense na optimalne "
352
  "položaje"
353
 
354
- #: ad-inserter.php:2883
355
  msgid "Code for insertion"
356
  msgstr "Koda za vstavljanje"
357
 
358
- #: ad-inserter.php:2883
359
  msgid "character"
360
  msgid_plural "characters"
361
  msgstr[0] "znak"
@@ -363,16 +363,16 @@ msgstr[1] "znaka"
363
  msgstr[2] "znaki"
364
  msgstr[3] "znakov"
365
 
366
- #: ad-inserter.php:2926
367
  msgid "Header code"
368
  msgstr "Koda v glavi"
369
 
370
- #: ad-inserter.php:2926
371
  msgctxt "Header code"
372
  msgid "DISABLED"
373
  msgstr "ONEMOGOČENA"
374
 
375
- #: ad-inserter.php:2926 ad-inserter.php:3162
376
  msgid "character inserted"
377
  msgid_plural "characters inserted"
378
  msgstr[0] "znak vstavljen"
@@ -380,43 +380,43 @@ msgstr[1] "znaka vstavljena"
380
  msgstr[2] "znaki vstavljeni"
381
  msgstr[3] "znakov vstavljenih"
382
 
383
- #: ad-inserter.php:2960
384
  msgid "Automatically placed by AdSense Auto ads code"
385
  msgstr "Samodejno postavila koda za oglase AdSense Auto ads"
386
 
387
- #: ad-inserter.php:3162
388
  msgid "Footer code"
389
  msgstr "Koda v nogi"
390
 
391
- #: ad-inserter.php:3162
392
  msgctxt "Footer code"
393
  msgid "DISABLED"
394
  msgstr "ONEMOGOČENA"
395
 
396
- #: ad-inserter.php:3168
397
  msgid "JAVASCRIPT NOT WORKING"
398
  msgstr "JAVASCRIPT NE DELA"
399
 
400
- #: ad-inserter.php:3168
401
  msgid "NO JAVASCRIPT ERRORS"
402
  msgstr "BREZ JAVASCRIPT NAPAK"
403
 
404
- #: ad-inserter.php:3168
405
  msgid "JAVASCRIPT ERRORS"
406
  msgstr "JAVASCRIPT NAPAKE"
407
 
408
  #. translators: block name (block with default settings)
409
- #: ad-inserter.php:5480
410
  msgctxt "Block name"
411
  msgid "Default"
412
  msgstr "Privzeti"
413
 
414
  #. translators: %s: Ad Inserter
415
- #: ad-inserter.php:6122
416
  msgid "Error importing %s settings."
417
  msgstr "Napaka pri uvozu %s nastavitev."
418
 
419
- #: ad-inserter.php:6123
420
  msgid "Error importing settings for block"
421
  msgid_plural "Error importing settings for blocks:"
422
  msgstr[0] "Napaka pri uvozu nastavitev za blok"
@@ -424,22 +424,22 @@ msgstr[1] "Napaka pri uvozu nastavitev za bloka:"
424
  msgstr[2] "Napaka pri uvozu nastavitev za bloke:"
425
  msgstr[3] "Napaka pri uvozu nastavitev za bloke:"
426
 
427
- #: ad-inserter.php:6176
428
  msgid "Settings saved."
429
  msgstr "Nastavitve shranjene."
430
 
431
  #. translators: %s: Ad Inserter
432
- #: ad-inserter.php:6178
433
  msgid "Invalid data received - %s settings not saved."
434
  msgstr "Prejeti neveljavni podatki - nastavitve %s niso shranjene."
435
 
436
- #: ad-inserter.php:6272
437
  msgid "Settings cleared."
438
  msgstr "Nastavitve ponastavljene."
439
 
440
  #. Translators: Post/Static page must have between X and Y words
441
- #: ad-inserter.php:6634 ad-inserter.php:6636 ad-inserter.php:6659
442
- #: settings.php:2086
443
  msgid "word"
444
  msgid_plural "words"
445
  msgstr[0] "besedo"
@@ -447,38 +447,38 @@ msgstr[1] "besedi"
447
  msgstr[2] "besede"
448
  msgstr[3] "besed"
449
 
450
- #: ad-inserter.php:6673 ad-inserter.php:6785
451
  msgid "HTML TAGS REMOVED"
452
  msgstr "HTML ZNAČKE ODSTRANJENE"
453
 
454
- #: ad-inserter.php:6861
455
  msgid "BEFORE COMMENTS"
456
  msgstr "PRED KOMENTARJI"
457
 
458
- #: ad-inserter.php:6969
459
  msgid "AFTER COMMENTS"
460
  msgstr "PO KOMETARJIH"
461
 
462
- #: ad-inserter.php:7032
463
  msgid "BETWEEN COMMENTS"
464
  msgstr "MED KOMENTARJI"
465
 
466
- #: ad-inserter.php:8431
467
  msgid "requires WordPress 4.6 or newer"
468
  msgstr "potrebuje WordPress 4.6 ali novejši"
469
 
470
- #: ad-inserter.php:8431
471
  msgid "Please update!"
472
  msgstr "Prosimo, posodobite!"
473
 
474
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
475
  #. name with HTML tags will be added)
476
- #: ad-inserter.php:8672
477
  msgid "Thank you for installing"
478
  msgstr "Hvala za namestitev vtičnika"
479
 
480
  #. translators: Opt-in message: %s: HTML tags
481
- #: ad-inserter.php:8674
482
  msgid ""
483
  "We would like to %s track its usage %s on your site. This is completely "
484
  "optional and can be disabled at any time."
@@ -486,7 +486,7 @@ msgstr ""
486
  "Radi bi %s sledili njegovi uporabi %s na vašem spletnem mestu. To je povsem "
487
  "izbirno in se lahko izključi kadarkoli."
488
 
489
- #: ad-inserter.php:8676
490
  msgid ""
491
  "We don't record any sensitive data, only information regarding the WordPress "
492
  "environment and plugin usage, which will help us to make improvements to the "
@@ -496,7 +496,7 @@ msgstr ""
496
  "uporabe vtičnika, kar nam bo omogočilo izdelavo izboljšav za vtičnik."
497
 
498
  #. translators: Deactivation message: %s: HTML tags
499
- #: ad-inserter.php:8713
500
  msgid ""
501
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
502
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
@@ -507,51 +507,51 @@ msgstr ""
507
  "nam %s in poskušali vam bomo pomagati."
508
 
509
  #. translators: %s: Ad Inserter
510
- #: ad-inserter.php:8756
511
  msgid "%s block."
512
  msgstr "%s blok."
513
 
514
  #. translators: widget title
515
- #: ad-inserter.php:8772 ad-inserter.php:8808
516
  msgid "Processing log"
517
  msgstr "Dnevnik procesiranja"
518
 
519
  #. translators: widget title
520
- #: ad-inserter.php:8774 ad-inserter.php:8809
521
  msgid "Dummy widget"
522
  msgstr "Prazen gradnik"
523
 
524
  #. translators: widget title
525
- #: ad-inserter.php:8776 ad-inserter.php:8807
526
  msgid "Debugging tools"
527
  msgstr "Orodja za razhroščevanje"
528
 
529
  #. translators: block status (widget title)
530
- #: ad-inserter.php:8783
531
  msgctxt "block"
532
  msgid "PAUSED"
533
  msgstr "USTAVLJEN"
534
 
535
- #: ad-inserter.php:8784
536
  msgid "WIDGET DISABLED"
537
  msgstr "GRADNIK ONEMOGOČEN"
538
 
539
- #: ad-inserter.php:8785
540
  msgid "Unknown block"
541
  msgstr "Neznan blok"
542
 
543
- #: ad-inserter.php:8794 includes/functions-check-now.php:3261
544
- #: includes/functions.old.php:3186 includes/functions.php:3236
545
- #: settings.php:1159
546
  msgid "Title"
547
  msgstr "Naslov"
548
 
549
- #: ad-inserter.php:8816
550
  msgctxt "Widget"
551
  msgid "Sticky"
552
  msgstr "Lepljiv"
553
 
554
- #: ad-inserter.php:8865
555
  msgid ""
556
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
557
  "Inserter you need to first deactivate Ad Inserter Pro."
@@ -560,7 +560,7 @@ msgstr ""
560
  "aktiven! Za aktivacijo vtičnika Ad Inserter morate najprej onemogočiti Ad "
561
  "Inserter Pro."
562
 
563
- #: ad-inserter.php:8866
564
  msgid ""
565
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
566
  "will clear all settings that are available only in the Pro version "
@@ -571,148 +571,148 @@ msgstr ""
571
  "različici (dodatne nastavitve blokov in vtičnika)!"
572
 
573
  #. translators: %s: Ad Inserter
574
- #: class.php:505 class.php:514 class.php:517
575
  msgid "PHP error in %s block"
576
  msgstr "PHP napaka v bloku %s"
577
 
578
- #: class.php:2030
579
  msgid "Counters"
580
  msgstr "Števci"
581
 
582
- #: class.php:2034
583
  msgid "Content"
584
  msgstr "Vsebina"
585
 
586
- #: class.php:2039
587
  msgid "Excerpt"
588
  msgstr "Izvleček"
589
 
590
- #: class.php:2044 strings.php:17
591
  msgid "Before post"
592
  msgstr "Pred prispevkom"
593
 
594
- #: class.php:2049 strings.php:18
595
  msgid "After post"
596
  msgstr "Za prispevkom"
597
 
598
- #: class.php:2054 strings.php:25
599
  msgid "Between posts"
600
  msgstr "Med prispevki"
601
 
602
- #: class.php:2059 settings.php:1829 settings.php:4106
603
  msgid "Widget"
604
  msgstr "Gradnik"
605
 
606
- #: class.php:2064 settings.php:4104
607
  msgid "PHP function call"
608
  msgstr "Klic PHP funkcije"
609
 
610
  #. Translators: %s: custom hook name
611
- #: class.php:2074
612
  msgid "Custom hook %s call"
613
  msgstr "Klic ročice po meri %s"
614
 
615
- #: class.php:2110
616
  msgid "AJAX REQUEST"
617
  msgstr "AJAX ZAHTEVEK"
618
 
619
- #: class.php:2113
620
  msgid "Ajax request for block in iframe"
621
  msgstr "Ajax zahtevek za blok v iframe-u"
622
 
623
- #: class.php:2143
624
  msgid "Ajax request url, click to open it in a new tab"
625
  msgstr "Url Ajax zahtevka, kliknite, da ga odprete v novem zavihku"
626
 
627
- #: class.php:2146
628
  msgid "IN THE LOOP"
629
  msgstr "V ZANKI"
630
 
631
- #: class.php:2146
632
  msgid "YES"
633
  msgstr "DA"
634
 
635
- #: class.php:2146
636
  msgid "NO"
637
  msgstr "NE"
638
 
639
- #: class.php:2182
640
  msgid "BLOCK"
641
  msgstr "BLOK"
642
 
643
- #: class.php:2182
644
  msgctxt "block or widget"
645
  msgid "INSERTED BUT NOT VISIBLE"
646
  msgstr "VSTAVLJEN, VENDAR NI VIDEN"
647
 
648
- #: class.php:2631 class.php:2694
649
  msgid "ACTIVE GROUPS"
650
  msgstr "AKTIVNE SKUPINE"
651
 
652
  #. translators: %s: list parameters and type
653
- #: class.php:2880
654
  msgid "parameters='%s' type='%s'"
655
  msgstr "parametri='%s' tip='%s'"
656
 
657
  #. translators: %s: list parameters and type
658
- #: class.php:2882
659
  msgid "referers='%s' type='%s'"
660
  msgstr "napotitelji='%s' tip='%s'"
661
 
662
  #. translators: %s: list parameters and type
663
- #: class.php:2884
664
  msgid "clients='%s' type='%s'"
665
  msgstr "odjemalci='%s' tip='%s'"
666
 
667
  #. translators: %s: list parameters and type
668
- #: class.php:2955
669
  msgid "countries='%s' type='%s'"
670
  msgstr "države='%s' tip='%s'"
671
 
672
  #. translators: %s: list parameters and type
673
- #: class.php:2957
674
  msgid "ip addresses='%s' type='%s'"
675
  msgstr "ip naslovi='%s' tip='%s'"
676
 
677
- #: class.php:3228 strings.php:239
678
  msgid "BEFORE"
679
  msgstr "PRED"
680
 
681
- #: class.php:3236 strings.php:241
682
  msgid "PREPEND CONTENT"
683
  msgstr "DODAJ PRED VSEBINO"
684
 
685
- #: class.php:3240 strings.php:242
686
  msgid "APPEND CONTENT"
687
  msgstr "DODAJ ZA VSEBINO"
688
 
689
- #: class.php:3244 strings.php:243
690
  msgid "REPLACE CONTENT"
691
  msgstr "NADOMESTI VSEBINO"
692
 
693
- #: class.php:3248 strings.php:244
694
  msgid "REPLACE ELEMENT"
695
  msgstr "NADOMESTI ELEMENT"
696
 
697
- #: class.php:3259 strings.php:240
698
  msgid "AFTER"
699
  msgstr "ZA"
700
 
701
- #: class.php:3326
702
  msgctxt "JavaScript"
703
  msgid "script"
704
  msgstr "skripta"
705
 
706
- #: class.php:3329
707
  msgid "for block"
708
  msgstr "za blok"
709
 
710
- #: class.php:6392 class.php:6444
711
  msgctxt "category name"
712
  msgid "Uncategorized"
713
  msgstr "Nekategorizirano"
714
 
715
- #: class.php:6951
716
  msgid ""
717
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
718
  "extension for PHP."
@@ -721,7 +721,7 @@ msgstr ""
721
  "namestiti DOM razširitev za PHP."
722
 
723
  #: includes/editor.php:7 includes/placeholders.php:352
724
- #: includes/preview.php:1962 strings.php:246
725
  msgid "Use"
726
  msgstr "Uporabi"
727
 
@@ -730,7 +730,7 @@ msgid "Reset"
730
  msgstr "Ponastavi"
731
 
732
  #: includes/editor.php:9 includes/placeholders.php:354
733
- #: includes/preview.php:1965 settings.php:3501 strings.php:208 strings.php:245
734
  msgid "Cancel"
735
  msgstr "Prekliči"
736
 
@@ -747,7 +747,7 @@ msgstr ""
747
  "Ta stran se ni naložila pravilno. Prevrrite brskalnik, vtičnike in "
748
  "blokiranje oglasov."
749
 
750
- #: includes/editor.php:264 settings.php:259
751
  msgid "Error loading page"
752
  msgstr "Napaka pri nalaganju strani"
753
 
@@ -827,7 +827,7 @@ msgstr ""
827
  "Pustite prazno razen v primeru, ko položaj ni pravilno izračunan."
828
 
829
  #: includes/functions-check-now.php:451 includes/functions.old.php:440
830
- #: includes/functions.php:442 settings.php:1310 settings.php:2712
831
  msgid "Open HTML element selector"
832
  msgstr "Odpri izbirnik HTML elementa"
833
 
@@ -873,7 +873,7 @@ msgstr "Preklopi Statistiko Blokiranja Oglasov"
873
 
874
  #: includes/functions-check-now.php:519 includes/functions-check-now.php:3035
875
  #: includes/functions.old.php:508 includes/functions.old.php:2960
876
- #: includes/functions.php:510 includes/functions.php:3010
877
  msgid "Toggle Statistics"
878
  msgstr "Preklopi Statistiko"
879
 
@@ -900,7 +900,7 @@ msgid "%s license overused. Continue?"
900
  msgstr "%s licenca prekomerno uporabljena. Nadaljujem?"
901
 
902
  #: includes/functions-check-now.php:555 includes/functions.old.php:536
903
- #: includes/functions.php:546 settings.php:1064 settings.php:2169
904
  msgid "Save Settings"
905
  msgstr "Shrani Nastavitve"
906
 
@@ -984,16 +984,16 @@ msgstr "Sproži animacijo samo enkrat"
984
  #: includes/functions-check-now.php:769 includes/functions-check-now.php:2528
985
  #: includes/functions-check-now.php:2545 includes/functions.old.php:750
986
  #: includes/functions.old.php:2453 includes/functions.old.php:2470
987
- #: includes/functions.php:760 includes/functions.php:2503
988
- #: includes/functions.php:2520
989
  msgid "Tracking is globally disabled"
990
  msgstr "Sledenje je globalno onemogočeno"
991
 
992
  #: includes/functions-check-now.php:773 includes/functions-check-now.php:2532
993
  #: includes/functions-check-now.php:2549 includes/functions.old.php:754
994
  #: includes/functions.old.php:2457 includes/functions.old.php:2474
995
- #: includes/functions.php:764 includes/functions.php:2507
996
- #: includes/functions.php:2524
997
  msgid "Tracking for this block is disabled"
998
  msgstr "Sledenje za ta blok je onemogočeno"
999
 
@@ -1003,8 +1003,8 @@ msgid "Double click to toggle controls in public reports"
1003
  msgstr "Dvojni klik za preklop kontrol v javnih poročilih"
1004
 
1005
  #: includes/functions-check-now.php:786 includes/functions.old.php:767
1006
- #: includes/functions.php:777 settings.php:3436 settings.php:3472
1007
- #: settings.php:3514 strings.php:218
1008
  msgid "Loading..."
1009
  msgstr "Nalagam..."
1010
 
@@ -1024,73 +1024,73 @@ msgstr "Samodejna osvežitev podatkov za izbrano obdobje vsakih 60 sekund"
1024
 
1025
  #: includes/functions-check-now.php:814 includes/functions-check-now.php:5389
1026
  #: includes/functions.old.php:795 includes/functions.old.php:5262
1027
- #: includes/functions.php:805 includes/functions.php:5364
1028
  msgid "Load data for last month"
1029
  msgstr "Naloži podatke za zadnji mesec"
1030
 
1031
  #: includes/functions-check-now.php:814 includes/functions-check-now.php:5389
1032
  #: includes/functions.old.php:795 includes/functions.old.php:5262
1033
- #: includes/functions.php:805 includes/functions.php:5364
1034
  msgid "Last Month"
1035
  msgstr "Zadnji Mesec"
1036
 
1037
  #: includes/functions-check-now.php:817 includes/functions-check-now.php:5392
1038
  #: includes/functions.old.php:798 includes/functions.old.php:5265
1039
- #: includes/functions.php:808 includes/functions.php:5367
1040
  msgid "Load data for this month"
1041
  msgstr "Naloži podatke za ta mesec"
1042
 
1043
  #: includes/functions-check-now.php:817 includes/functions-check-now.php:5392
1044
  #: includes/functions.old.php:798 includes/functions.old.php:5265
1045
- #: includes/functions.php:808 includes/functions.php:5367
1046
  msgid "This Month"
1047
  msgstr "Ta Mesec"
1048
 
1049
  #: includes/functions-check-now.php:820 includes/functions-check-now.php:5395
1050
  #: includes/functions.old.php:801 includes/functions.old.php:5268
1051
- #: includes/functions.php:811 includes/functions.php:5370
1052
  msgid "Load data for this year"
1053
  msgstr "Naloži podatke za to leto"
1054
 
1055
  #: includes/functions-check-now.php:820 includes/functions-check-now.php:5395
1056
  #: includes/functions.old.php:801 includes/functions.old.php:5268
1057
- #: includes/functions.php:811 includes/functions.php:5370
1058
  msgid "This Year"
1059
  msgstr "To Leto"
1060
 
1061
  #: includes/functions-check-now.php:823 includes/functions-check-now.php:5398
1062
  #: includes/functions.old.php:804 includes/functions.old.php:5271
1063
- #: includes/functions.php:814 includes/functions.php:5373
1064
  msgid "Load data for the last 15 days"
1065
  msgstr "Naloži podatke za zadnjih 15 dni"
1066
 
1067
  #: includes/functions-check-now.php:826 includes/functions-check-now.php:5401
1068
  #: includes/functions.old.php:807 includes/functions.old.php:5274
1069
- #: includes/functions.php:817 includes/functions.php:5376
1070
  msgid "Load data for the last 30 days"
1071
  msgstr "Naloži podatke za zadnjih 30 dni"
1072
 
1073
  #: includes/functions-check-now.php:829 includes/functions-check-now.php:5404
1074
  #: includes/functions.old.php:810 includes/functions.old.php:5277
1075
- #: includes/functions.php:820 includes/functions.php:5379
1076
  msgid "Load data for the last 90 days"
1077
  msgstr "Naloži podatke za zadnjih 90 dni"
1078
 
1079
  #: includes/functions-check-now.php:832 includes/functions-check-now.php:5407
1080
  #: includes/functions.old.php:813 includes/functions.old.php:5280
1081
- #: includes/functions.php:823 includes/functions.php:5382
1082
  msgid "Load data for the last 180 days"
1083
  msgstr "Naloži podatke za zadnjih 180 dni"
1084
 
1085
  #: includes/functions-check-now.php:835 includes/functions-check-now.php:5410
1086
  #: includes/functions.old.php:816 includes/functions.old.php:5283
1087
- #: includes/functions.php:826 includes/functions.php:5385
1088
  msgid "Load data for the last 365 days"
1089
  msgstr "Naloži podatke za zadnjih 365 dni"
1090
 
1091
  #: includes/functions-check-now.php:845 includes/functions-check-now.php:5420
1092
  #: includes/functions.old.php:826 includes/functions.old.php:5293
1093
- #: includes/functions.php:836 includes/functions.php:5395
1094
  msgid "Load data for the selected range"
1095
  msgstr "Naloži podatke za izbrano obdobje"
1096
 
@@ -1192,7 +1192,7 @@ msgstr "Mesta"
1192
 
1193
  #: includes/functions-check-now.php:957 includes/functions-check-now.php:3000
1194
  #: includes/functions.old.php:938 includes/functions.old.php:2925
1195
- #: includes/functions.php:948 includes/functions.php:2975
1196
  msgid "Toggle country editor"
1197
  msgstr "Preklopi urejevalnik držav"
1198
 
@@ -1203,7 +1203,7 @@ msgstr "Preklopi urejevalnik mest"
1203
 
1204
  #: includes/functions-check-now.php:964 includes/functions-check-now.php:3003
1205
  #: includes/functions.old.php:945 includes/functions.old.php:2928
1206
- #: includes/functions.php:955 includes/functions.php:2978
1207
  msgid "Comma separated country ISO Alpha-2 codes"
1208
  msgstr "Z vejico ločene ISO Alpha-2 kode držav"
1209
 
@@ -1219,7 +1219,7 @@ msgstr "Beli seznam držav"
1219
 
1220
  #: includes/functions-check-now.php:1382 includes/functions-check-now.php:1681
1221
  #: includes/functions.old.php:1361 includes/functions.old.php:1608
1222
- #: includes/functions.php:1373 includes/functions.php:1656
1223
  msgid "Enter license key"
1224
  msgstr "Vnesite licenčni ključ"
1225
 
@@ -1250,7 +1250,7 @@ msgstr "niso na razpolago"
1250
 
1251
  #: includes/functions-check-now.php:1411 includes/functions-check-now.php:1690
1252
  #: includes/functions.old.php:1379 includes/functions.old.php:1617
1253
- #: includes/functions.php:1402 includes/functions.php:1665
1254
  msgid "Check license key"
1255
  msgstr "Preverite licenčni ključ"
1256
 
@@ -1290,7 +1290,7 @@ msgstr "Nadgradite licenco"
1290
 
1291
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1292
  #: includes/functions-check-now.php:1683 includes/functions.old.php:1610
1293
- #: includes/functions.php:1658
1294
  msgid ""
1295
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1296
  "limited and updates are disabled."
@@ -1300,13 +1300,13 @@ msgstr ""
1300
 
1301
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1302
  #: includes/functions-check-now.php:1692 includes/functions.old.php:1619
1303
- #: includes/functions.php:1667
1304
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1305
  msgstr "%1$s Opozorilo: %2$s Neveljaven %3$s licenčni ključ."
1306
 
1307
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1308
  #: includes/functions-check-now.php:1708 includes/functions.old.php:1635
1309
- #: includes/functions.php:1683
1310
  msgid ""
1311
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1312
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
@@ -1317,7 +1317,7 @@ msgstr ""
1317
 
1318
  #. translators: 1, 3: HTML tags, 2: percentage
1319
  #: includes/functions-check-now.php:1715 includes/functions.old.php:1642
1320
- #: includes/functions.php:1690
1321
  msgid ""
1322
  "During the license period and 30 days after the license has expired we offer "
1323
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
@@ -1326,18 +1326,18 @@ msgstr ""
1326
  "%2$s popust na vse obnovitve in nadgradnje licenc. %3$s"
1327
 
1328
  #: includes/functions-check-now.php:1742 includes/functions.old.php:1669
1329
- #: includes/functions.php:1717
1330
  msgid "Renew the licence"
1331
  msgstr "Obnovi licenco"
1332
 
1333
  #: includes/functions-check-now.php:1744 includes/functions.old.php:1671
1334
- #: includes/functions.php:1719
1335
  msgid "Update license status"
1336
  msgstr "Posodobi status licence"
1337
 
1338
  #. translators: 1, 2, 4, 5, 6, 7: HTML tags, 3: Ad Inserter Pro
1339
  #: includes/functions-check-now.php:1755 includes/functions.old.php:1682
1340
- #: includes/functions.php:1730
1341
  msgid ""
1342
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1343
  "Manage licenses %5$s &mdash; %6$s Upgrade license %7$s"
@@ -1348,122 +1348,122 @@ msgstr ""
1348
 
1349
  #. Translators: %s: HTML tag
1350
  #: includes/functions-check-now.php:1777 includes/functions.old.php:1704
1351
- #: includes/functions.php:1752
1352
  msgid "Warning: %s MaxMind IP geolocation database not found."
1353
  msgstr "Opozorilo: %s MaxMind IP geolocijska podatkovna baza ni najdena."
1354
 
1355
  #: includes/functions-check-now.php:2330 includes/functions.old.php:2255
1356
- #: includes/functions.php:2305
1357
  msgid "Geolocation"
1358
  msgstr "Geolokacija"
1359
 
1360
  #: includes/functions-check-now.php:2334 includes/functions.old.php:2259
1361
- #: includes/functions.php:2309 settings.php:4093
1362
  msgid "Exceptions"
1363
  msgstr "Izjeme"
1364
 
1365
  #: includes/functions-check-now.php:2339 includes/functions.old.php:2264
1366
- #: includes/functions.php:2314
1367
  msgid "Multisite"
1368
  msgstr "Multisite"
1369
 
1370
  #: includes/functions-check-now.php:2344 includes/functions.old.php:2269
1371
- #: includes/functions.php:2319 settings.php:4099
1372
  msgid "Tracking"
1373
  msgstr "Sledenje"
1374
 
1375
  #. translators: %d: days, hours, minutes
1376
  #: includes/functions-check-now.php:2375 includes/functions.old.php:2300
1377
- #: includes/functions.php:2350
1378
  msgid "Scheduled in %d days %d hours %d minutes"
1379
  msgstr "Planirano v %d dneh %d urah %d minutah"
1380
 
1381
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1382
  #. HTML code for long dash separator
1383
  #: includes/functions-check-now.php:2384 includes/functions.old.php:2309
1384
- #: includes/functions.php:2359
1385
  msgid "Active %s expires in %d days %d hours %d minutes"
1386
  msgstr "Aktivno %s poteče v %d dneh %d urah %d minutah"
1387
 
1388
  #: includes/functions-check-now.php:2388 includes/functions.old.php:2313
1389
- #: includes/functions.php:2363
1390
  msgid "Expired"
1391
  msgstr "Poteklo"
1392
 
1393
  #: includes/functions-check-now.php:2396 includes/functions.old.php:2321
1394
- #: includes/functions.php:2371 settings.php:1393 settings.php:1408
1395
- #: settings.php:1498 settings.php:2084
1396
  msgid "and"
1397
  msgstr "in"
1398
 
1399
  #: includes/functions-check-now.php:2399 includes/functions.old.php:2324
1400
- #: includes/functions.php:2374
1401
  msgid "fallback"
1402
  msgstr "rezerva"
1403
 
1404
  #: includes/functions-check-now.php:2400 includes/functions.old.php:2325
1405
- #: includes/functions.php:2375
1406
  msgid "Block to be used when scheduling expires"
1407
  msgstr "Blok, ki se bo uporabil, ko urnik poteče"
1408
 
1409
  #: includes/functions-check-now.php:2425 includes/functions.old.php:2350
1410
- #: includes/functions.php:2400
1411
  msgid "Load in iframe"
1412
  msgstr "Naloži v iframe-u"
1413
 
1414
  #: includes/functions-check-now.php:2429 includes/functions.old.php:2354
1415
- #: includes/functions.php:2404 includes/placeholders.php:389
1416
  msgid "Width"
1417
  msgstr "Širina"
1418
 
1419
  #: includes/functions-check-now.php:2430 includes/functions.old.php:2355
1420
- #: includes/functions.php:2405
1421
  msgid "iframe width, empty means full width (100%)"
1422
  msgstr "širina iframe-a, prazno pomeni polna širina (100%)"
1423
 
1424
  #: includes/functions-check-now.php:2436 includes/functions.old.php:2361
1425
- #: includes/functions.php:2411 includes/placeholders.php:384
1426
  msgid "Height"
1427
  msgstr "Višina"
1428
 
1429
  #: includes/functions-check-now.php:2437 includes/functions.old.php:2362
1430
- #: includes/functions.php:2412
1431
  msgid "iframe height, empty means adjust it to iframe content height"
1432
  msgstr ""
1433
  "Višina iframe-a, prazno pomeni poravnavo glede na višino vsebine iframe-a"
1434
 
1435
  #: includes/functions-check-now.php:2444 includes/functions.old.php:2369
1436
- #: includes/functions.php:2419
1437
  msgid "Ad label in iframe"
1438
  msgstr "Oznaka oglasa v iframe-u"
1439
 
1440
  #: includes/functions-check-now.php:2449 includes/functions.old.php:2374
1441
- #: includes/functions.php:2424
1442
  msgid "Preview iframe code"
1443
  msgstr "Predpreglej kodo iframe"
1444
 
1445
  #: includes/functions-check-now.php:2449 includes/functions.old.php:2374
1446
- #: includes/functions.php:2424 includes/preview.php:1974 settings.php:1059
1447
- #: settings.php:2774
1448
  msgid "Preview"
1449
  msgstr "Predogled"
1450
 
1451
  #: includes/functions-check-now.php:2463 includes/functions.old.php:2388
1452
- #: includes/functions.php:2438 settings.php:4100
1453
  msgid "Limits"
1454
  msgstr "Omejitve"
1455
 
1456
  #: includes/functions-check-now.php:2468 includes/functions-check-now.php:4366
1457
  #: includes/functions-check-now.php:4429 includes/functions.old.php:2393
1458
  #: includes/functions.old.php:4266 includes/functions.old.php:4329
1459
- #: includes/functions.php:2443 includes/functions.php:4341
1460
- #: includes/functions.php:4404 settings.php:2216
1461
  msgid "Ad Blocking"
1462
  msgstr "Blokiranje Oglasov"
1463
 
1464
  #. translators: 1, 2 and 3, 4: HTML tags
1465
  #: includes/functions-check-now.php:2477 includes/functions.old.php:2402
1466
- #: includes/functions.php:2452
1467
  msgid ""
1468
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1469
  "for tracking!"
@@ -1474,7 +1474,7 @@ msgstr ""
1474
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1475
  #. header
1476
  #: includes/functions-check-now.php:2486 includes/functions.old.php:2411
1477
- #: includes/functions.php:2461
1478
  msgid ""
1479
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1480
  "enabled and automatic insertion %6$s!"
@@ -1483,18 +1483,18 @@ msgstr ""
1483
  "izhoda %5$s omogočeno in samodejno vstavljanje %6$s!"
1484
 
1485
  #: includes/functions-check-now.php:2553 includes/functions.old.php:2478
1486
- #: includes/functions.php:2528
1487
  msgid "Click fraud protection is globally disabled"
1488
  msgstr "Zaščita pred goljufijo s kliki je globalno onemogočena"
1489
 
1490
  #: includes/functions-check-now.php:2557 includes/functions.old.php:2482
1491
- #: includes/functions.php:2532
1492
  msgid "Max clicks per time period are not defined"
1493
  msgstr "Največje število klikov na časovno enoto ni definirano"
1494
 
1495
  #. Translators: Max n impressions
1496
  #: includes/functions-check-now.php:2571 includes/functions.old.php:2496
1497
- #: includes/functions.php:2546
1498
  msgid "General limits"
1499
  msgstr "Splošne omejitve"
1500
 
@@ -1502,8 +1502,8 @@ msgstr "Splošne omejitve"
1502
  #: includes/functions-check-now.php:2577 includes/functions-check-now.php:2589
1503
  #: includes/functions-check-now.php:2674 includes/functions.old.php:2502
1504
  #: includes/functions.old.php:2514 includes/functions.old.php:2599
1505
- #: includes/functions.php:2552 includes/functions.php:2564
1506
- #: includes/functions.php:2649
1507
  msgid "Current value"
1508
  msgstr "Trenutna vrednost"
1509
 
@@ -1523,15 +1523,15 @@ msgstr "Trenutna vrednost"
1523
  #: includes/functions.old.php:2550 includes/functions.old.php:2560
1524
  #: includes/functions.old.php:2606 includes/functions.old.php:2615
1525
  #: includes/functions.old.php:2633 includes/functions.old.php:2642
1526
- #: includes/functions.php:2571 includes/functions.php:2581
1527
- #: includes/functions.php:2600 includes/functions.php:2610
1528
- #: includes/functions.php:2656 includes/functions.php:2665
1529
- #: includes/functions.php:2683 includes/functions.php:2692 settings.php:2005
1530
  msgid "Max"
1531
  msgstr "Največ"
1532
 
1533
  #: includes/functions-check-now.php:2597 includes/functions.old.php:2522
1534
- #: includes/functions.php:2572
1535
  msgid ""
1536
  "Maximum number of impressions for this block. Empty means no general "
1537
  "impression limit."
@@ -1547,8 +1547,8 @@ msgstr ""
1547
  #: includes/functions-check-now.php:2684 includes/functions-check-now.php:2693
1548
  #: includes/functions.old.php:2524 includes/functions.old.php:2534
1549
  #: includes/functions.old.php:2609 includes/functions.old.php:2618
1550
- #: includes/functions.php:2574 includes/functions.php:2584
1551
- #: includes/functions.php:2659 includes/functions.php:2668
1552
  msgid "impression"
1553
  msgid_plural "impressions"
1554
  msgstr[0] "prikaz"
@@ -1557,7 +1557,7 @@ msgstr[2] "prikazi"
1557
  msgstr[3] "prikazov"
1558
 
1559
  #: includes/functions-check-now.php:2607 includes/functions.old.php:2532
1560
- #: includes/functions.php:2582
1561
  msgid ""
1562
  "Maximum number of impressions per time period. Empty means no time limit."
1563
  msgstr ""
@@ -1572,14 +1572,14 @@ msgstr ""
1572
  #: includes/functions-check-now.php:2697 includes/functions-check-now.php:2724
1573
  #: includes/functions.old.php:2538 includes/functions.old.php:2567
1574
  #: includes/functions.old.php:2622 includes/functions.old.php:2649
1575
- #: includes/functions.php:2588 includes/functions.php:2617
1576
- #: includes/functions.php:2672 includes/functions.php:2699
1577
  msgid "per"
1578
  msgstr "na"
1579
 
1580
  #: includes/functions-check-now.php:2614 includes/functions-check-now.php:2643
1581
  #: includes/functions.old.php:2539 includes/functions.old.php:2568
1582
- #: includes/functions.php:2589 includes/functions.php:2618
1583
  msgid "Time period in days. Empty means no time limit."
1584
  msgstr "Časovno obdobje v dneh. Prazno pomeni brez časovnih omejitev."
1585
 
@@ -1594,11 +1594,11 @@ msgstr "Časovno obdobje v dneh. Prazno pomeni brez časovnih omejitev."
1594
  #: includes/functions.old.php:2541 includes/functions.old.php:2570
1595
  #: includes/functions.old.php:2625 includes/functions.old.php:2652
1596
  #: includes/functions.old.php:2758 includes/functions.old.php:3086
1597
- #: includes/functions.php:2591 includes/functions.php:2620
1598
- #: includes/functions.php:2675 includes/functions.php:2702
1599
- #: includes/functions.php:2808 includes/functions.php:3136 strings.php:199
1600
- #: strings.php:200 strings.php:201 strings.php:202 strings.php:203
1601
- #: strings.php:204
1602
  msgid "day"
1603
  msgid_plural "days"
1604
  msgstr[0] "dan"
@@ -1607,7 +1607,7 @@ msgstr[2] "dni"
1607
  msgstr[3] "dni"
1608
 
1609
  #: includes/functions-check-now.php:2626 includes/functions.old.php:2551
1610
- #: includes/functions.php:2601
1611
  msgid ""
1612
  "Maximum number of clicks on this block. Empty means no general click limit."
1613
  msgstr ""
@@ -1623,9 +1623,9 @@ msgstr ""
1623
  #: includes/functions-check-now.php:4577 includes/functions.old.php:2553
1624
  #: includes/functions.old.php:2563 includes/functions.old.php:2636
1625
  #: includes/functions.old.php:2645 includes/functions.old.php:4477
1626
- #: includes/functions.php:2603 includes/functions.php:2613
1627
- #: includes/functions.php:2686 includes/functions.php:2695
1628
- #: includes/functions.php:4552
1629
  msgid "click"
1630
  msgid_plural "clicks"
1631
  msgstr[0] "klik"
@@ -1634,20 +1634,20 @@ msgstr[2] "kliki"
1634
  msgstr[3] "klikov"
1635
 
1636
  #: includes/functions-check-now.php:2636 includes/functions.old.php:2561
1637
- #: includes/functions.php:2611
1638
  msgid "Maximum number of clicks per time period. Empty means no time limit."
1639
  msgstr ""
1640
  "Največje število klikov na časovno enoto. Prazno pomeni brez časovnih "
1641
  "omejitev."
1642
 
1643
  #: includes/functions-check-now.php:2661 includes/functions.old.php:2586
1644
- #: includes/functions.php:2636
1645
  msgid "Individual visitor limits"
1646
  msgstr "Omejitve posameznih obiskovalcev"
1647
 
1648
  #: includes/functions-check-now.php:2665 includes/functions-check-now.php:2667
1649
  #: includes/functions.old.php:2590 includes/functions.old.php:2592
1650
- #: includes/functions.php:2640 includes/functions.php:2642
1651
  msgid ""
1652
  "When specified number of clicks on this block for a visitor will be reached "
1653
  "in the specified time period, all blocks that have click fraud protection "
@@ -1660,12 +1660,12 @@ msgstr ""
1660
  "pred goljufijo s kliki."
1661
 
1662
  #: includes/functions-check-now.php:2667 includes/functions.old.php:2592
1663
- #: includes/functions.php:2642
1664
  msgid "Trigger click fraud protection"
1665
  msgstr "Sproži zaščito pred goljufijo s kliki"
1666
 
1667
  #: includes/functions-check-now.php:2682 includes/functions.old.php:2607
1668
- #: includes/functions.php:2657
1669
  msgid ""
1670
  "Maximum number of impressions of this block for each visitor. Empty means no "
1671
  "impression limit."
@@ -1674,7 +1674,7 @@ msgstr ""
1674
  "pomeni brez omejitev prikazov."
1675
 
1676
  #: includes/functions-check-now.php:2691 includes/functions.old.php:2616
1677
- #: includes/functions.php:2666
1678
  msgid ""
1679
  "Maximum number of impressions per time period for each visitor. Empty means "
1680
  "no impression limit per time period for visitors."
@@ -1684,7 +1684,7 @@ msgstr ""
1684
 
1685
  #: includes/functions-check-now.php:2698 includes/functions-check-now.php:2725
1686
  #: includes/functions.old.php:2623 includes/functions.old.php:2650
1687
- #: includes/functions.php:2673 includes/functions.php:2700
1688
  msgid ""
1689
  "Time period in days. Use decimal value (with decimal point) for shorter "
1690
  "periods. Empty means no time limit."
@@ -1693,7 +1693,7 @@ msgstr ""
1693
  "krajša obdobja. Prazno pomeni brez časovne omejitve."
1694
 
1695
  #: includes/functions-check-now.php:2709 includes/functions.old.php:2634
1696
- #: includes/functions.php:2684
1697
  msgid ""
1698
  "Maximum number of clicks on this block for each visitor. Empty means no "
1699
  "click limit."
@@ -1702,7 +1702,7 @@ msgstr ""
1702
  "brez omejitev klikov."
1703
 
1704
  #: includes/functions-check-now.php:2718 includes/functions.old.php:2643
1705
- #: includes/functions.php:2693
1706
  msgid ""
1707
  "Maximum number of clicks per time period for each visitor. Empty means no "
1708
  "click limit per time period for visitors."
@@ -1711,39 +1711,39 @@ msgstr ""
1711
  "pomeni brez omejitev klikov na časovno enoto za obiskovalce."
1712
 
1713
  #: includes/functions-check-now.php:2744 includes/functions.old.php:2669
1714
- #: includes/functions.php:2719
1715
  msgid "When ad blocking is detected"
1716
  msgstr "Ko je blokiranje oglasov zaznano"
1717
 
1718
  #: includes/functions-check-now.php:2753 includes/functions.old.php:2678
1719
- #: includes/functions.php:2728
1720
  msgid "replacement"
1721
  msgstr "nadomestek"
1722
 
1723
  #: includes/functions-check-now.php:2754 includes/functions.old.php:2679
1724
- #: includes/functions.php:2729
1725
  msgid "Block to be shown when ad blocking is detected"
1726
  msgstr "Blok, ki naj bo prikazan, ko je zaznano blokiranje oglasov"
1727
 
1728
  #: includes/functions-check-now.php:2755 includes/functions.old.php:2680
1729
- #: includes/functions.php:2730
1730
  msgctxt "replacement"
1731
  msgid "None"
1732
  msgstr "Noben"
1733
 
1734
  #: includes/functions-check-now.php:2772 includes/functions-check-now.php:5612
1735
  #: includes/functions.old.php:2697 includes/functions.old.php:5484
1736
- #: includes/functions.php:2747 includes/functions.php:5587
1737
  msgid "Close button"
1738
  msgstr "Gumb Zapri"
1739
 
1740
  #: includes/functions-check-now.php:2824 includes/functions.old.php:2749
1741
- #: includes/functions.php:2799
1742
  msgid "Auto close after"
1743
  msgstr "Ssamodejno zapri po"
1744
 
1745
  #: includes/functions-check-now.php:2825 includes/functions.old.php:2750
1746
- #: includes/functions.php:2800
1747
  msgid ""
1748
  "Time in seconds in which the ad will automatically close. Leave empty to "
1749
  "disable auto closing."
@@ -1753,12 +1753,12 @@ msgstr ""
1753
 
1754
  #. Translators: Don't show for x days
1755
  #: includes/functions-check-now.php:2830 includes/functions.old.php:2755
1756
- #: includes/functions.php:2805
1757
  msgid "Don't show for"
1758
  msgstr "Ne prikaži"
1759
 
1760
  #: includes/functions-check-now.php:2831 includes/functions.old.php:2756
1761
- #: includes/functions.php:2806
1762
  msgid ""
1763
  "Time in days in which closed ad will not be shown again. Use decimal value "
1764
  "(with decimal point) for shorter time period or leave empty to show it again "
@@ -1770,12 +1770,12 @@ msgstr ""
1770
 
1771
  #. Translators: Delay showing for x pageviews
1772
  #: includes/functions-check-now.php:2851 includes/functions.old.php:2776
1773
- #: includes/functions.php:2826
1774
  msgid "Delay showing for"
1775
  msgstr "Zakasni prikaz za"
1776
 
1777
  #: includes/functions-check-now.php:2852 includes/functions.old.php:2777
1778
- #: includes/functions.php:2827
1779
  msgid ""
1780
  "Number of pageviews before the code is inserted (and ad displayed). Leave "
1781
  "empty to insert the code for the first pageview."
@@ -1787,7 +1787,7 @@ msgstr ""
1787
  #. Translators: Show every x pageviews
1788
  #: includes/functions-check-now.php:2854 includes/functions-check-now.php:2861
1789
  #: includes/functions.old.php:2779 includes/functions.old.php:2786
1790
- #: includes/functions.php:2829 includes/functions.php:2836
1791
  msgid "pageview"
1792
  msgid_plural "pageviews"
1793
  msgstr[0] "ogled strani"
@@ -1797,7 +1797,7 @@ msgstr[3] "ogledov strani"
1797
 
1798
  #. Translators: Show every x pageviews
1799
  #: includes/functions-check-now.php:2858 includes/functions.old.php:2783
1800
- #: includes/functions.php:2833
1801
  msgid "Show every"
1802
  msgid_plural "Show every"
1803
  msgstr[0] "Prikaži vsak"
@@ -1806,7 +1806,7 @@ msgstr[2] "Prikaži vsake"
1806
  msgstr[3] "Prikaži vsakih"
1807
 
1808
  #: includes/functions-check-now.php:2859 includes/functions.old.php:2784
1809
- #: includes/functions.php:2834
1810
  msgid ""
1811
  "Number of pageviews to insert the code again. Leave empty to insert the code "
1812
  "for every pageview."
@@ -1815,33 +1815,33 @@ msgstr ""
1815
  "vstavljanje kode pri vsakem ogledu strani."
1816
 
1817
  #: includes/functions-check-now.php:2878 includes/functions.old.php:2803
1818
- #: includes/functions.php:2853
1819
  msgid "Lazy loading"
1820
  msgstr "Leno nalaganje"
1821
 
1822
  #. Translators: %s MaxMind
1823
  #: includes/functions-check-now.php:2935 includes/functions.old.php:2860
1824
- #: includes/functions.php:2910
1825
  msgid "This product includes GeoLite2 data created by %s"
1826
  msgstr "Ta izdelek vsebuje %s GeoLite2 podatke"
1827
 
1828
  #: includes/functions-check-now.php:2946 includes/functions.old.php:2871
1829
- #: includes/functions.php:2921
1830
  msgid "IP geolocation database"
1831
  msgstr "Podatkovna baza za IP geolokacijo"
1832
 
1833
  #: includes/functions-check-now.php:2949 includes/functions.old.php:2874
1834
- #: includes/functions.php:2924
1835
  msgid "Select IP geolocation database."
1836
  msgstr "Izberite podatkovno bazo za IP geolokacijo."
1837
 
1838
  #: includes/functions-check-now.php:2960 includes/functions.old.php:2885
1839
- #: includes/functions.php:2935
1840
  msgid "Automatic database updates"
1841
  msgstr "Samodejna posodobitev podatkovne baze"
1842
 
1843
  #: includes/functions-check-now.php:2963 includes/functions.old.php:2888
1844
- #: includes/functions.php:2938
1845
  msgid ""
1846
  "Automatically download and update free GeoLite2 IP geolocation database by "
1847
  "MaxMind"
@@ -1850,12 +1850,12 @@ msgstr ""
1850
  "podatkovno bazo MaxMind"
1851
 
1852
  #: includes/functions-check-now.php:2971 includes/functions.old.php:2896
1853
- #: includes/functions.php:2946
1854
  msgid "Database"
1855
  msgstr "Podatkovna baza"
1856
 
1857
  #: includes/functions-check-now.php:2974 includes/functions.old.php:2899
1858
- #: includes/functions.php:2949
1859
  msgid ""
1860
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1861
  "file"
@@ -1865,17 +1865,17 @@ msgstr ""
1865
 
1866
  #. translators: %d: group number
1867
  #: includes/functions-check-now.php:2992 includes/functions.old.php:2917
1868
- #: includes/functions.php:2967
1869
  msgid "Group %d"
1870
  msgstr "Skupina %d"
1871
 
1872
  #: includes/functions-check-now.php:2998 includes/functions.old.php:2923
1873
- #: includes/functions.php:2973
1874
  msgid "countries"
1875
  msgstr "države"
1876
 
1877
  #: includes/functions-check-now.php:3043 includes/functions.old.php:2968
1878
- #: includes/functions.php:3018
1879
  msgid ""
1880
  "Enable impression and click tracking. You also need to enable tracking for "
1881
  "each block you want to track."
@@ -1884,38 +1884,38 @@ msgstr ""
1884
  "vsak blok, ki bi ga radi sledili."
1885
 
1886
  #: includes/functions-check-now.php:3050 includes/functions.old.php:2975
1887
- #: includes/functions.php:3025
1888
  msgid "Generate report"
1889
  msgstr "Generiraj poročilo"
1890
 
1891
  #: includes/functions-check-now.php:3058 includes/functions.old.php:2983
1892
- #: includes/functions.php:3033
1893
  msgid "Impression and Click Tracking"
1894
  msgstr "Sledenje Prikazov in Klikov"
1895
 
1896
  #: includes/functions-check-now.php:3059 includes/functions.old.php:2984
1897
- #: includes/functions.php:3034 settings.php:2662
1898
  msgctxt "ad blocking detection"
1899
  msgid "NOT ENABLED"
1900
  msgstr "NI OMOGOČENO"
1901
 
1902
  #: includes/functions-check-now.php:3075 includes/functions.old.php:3000
1903
- #: includes/functions.php:3050
1904
  msgid "Internal"
1905
  msgstr "Notranje"
1906
 
1907
  #: includes/functions-check-now.php:3079 includes/functions.old.php:3004
1908
- #: includes/functions.php:3054
1909
  msgid "Track impressions and clicks with internal tracking and statistics"
1910
  msgstr "Sledi prikazom in klikom z notranjim sledenjem in statistiko"
1911
 
1912
  #: includes/functions-check-now.php:3084 includes/functions.old.php:3009
1913
- #: includes/functions.php:3059
1914
  msgid "External"
1915
  msgstr "Zunanje"
1916
 
1917
  #: includes/functions-check-now.php:3088 includes/functions.old.php:3013
1918
- #: includes/functions.php:3063
1919
  msgid ""
1920
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1921
  "code installed)"
@@ -1924,32 +1924,32 @@ msgstr ""
1924
  "kodo za sledenje)"
1925
 
1926
  #: includes/functions-check-now.php:3093 includes/functions.old.php:3018
1927
- #: includes/functions.php:3068
1928
  msgid "Track Pageviews"
1929
  msgstr "Sledi Ogledom Strani"
1930
 
1931
  #: includes/functions-check-now.php:3099 includes/functions.old.php:3024
1932
- #: includes/functions.php:3074
1933
  msgid "Track Pageviews by Device (as configured for viewports)"
1934
  msgstr "Sledi Ogledom Strani po Napravah (kot so nastavljene za poglede)"
1935
 
1936
  #: includes/functions-check-now.php:3109 includes/functions.old.php:3034
1937
- #: includes/functions.php:3084
1938
  msgid "Track for Logged in Users"
1939
  msgstr "Sledi za Prijavljene Upor."
1940
 
1941
  #: includes/functions-check-now.php:3115 includes/functions.old.php:3040
1942
- #: includes/functions.php:3090
1943
  msgid "Track impressions and clicks from logged in users"
1944
  msgstr "Sledi prikazom in klikom neprijavljenih uporabnikov"
1945
 
1946
  #: includes/functions-check-now.php:3125 includes/functions.old.php:3050
1947
- #: includes/functions.php:3100
1948
  msgid "Click Detection"
1949
  msgstr "Zaznavanje klikov"
1950
 
1951
  #: includes/functions-check-now.php:3131 includes/functions.old.php:3056
1952
- #: includes/functions.php:3106
1953
  msgid ""
1954
  "Standard method detects clicks only on banners with links, Advanced method "
1955
  "can detect clicks on any kind of ads, but it is slightly less accurate"
@@ -1958,22 +1958,22 @@ msgstr ""
1958
  "lahko zazna klike na kateremkoli oglasu, ampak je rahlo manj zanesljiv"
1959
 
1960
  #: includes/functions-check-now.php:3150 includes/functions.old.php:3075
1961
- #: includes/functions.php:3125
1962
  msgid "Click fraud protection"
1963
  msgstr "Zaščita pred goljufijo s kliki"
1964
 
1965
  #: includes/functions-check-now.php:3154 includes/functions.old.php:3079
1966
- #: includes/functions.php:3129
1967
  msgid "Globally enable click fraud protection for selected blocks."
1968
  msgstr "Globalno omogočite zaščito pred goljufijo s kliki za izbrane bloke."
1969
 
1970
  #: includes/functions-check-now.php:3160 includes/functions.old.php:3085
1971
- #: includes/functions.php:3135
1972
  msgid "Protection time"
1973
  msgstr "Čas zaščite"
1974
 
1975
  #: includes/functions-check-now.php:3161 includes/functions.old.php:3086
1976
- #: includes/functions.php:3136
1977
  msgid ""
1978
  "Time period in days in which blocks with enabled click fraud protection will "
1979
  "be hidden. Use decimal value (with decimal point) for shorter periods."
@@ -1983,12 +1983,12 @@ msgstr ""
1983
  "za krajša obdobja."
1984
 
1985
  #: includes/functions-check-now.php:3180 includes/functions.old.php:3105
1986
- #: includes/functions.php:3155
1987
  msgid "Report header image"
1988
  msgstr "Slika v glavi poročila"
1989
 
1990
  #: includes/functions-check-now.php:3183 includes/functions.old.php:3108
1991
- #: includes/functions.php:3158
1992
  msgid ""
1993
  "Image or logo to be displayed in the header of the statistins report. "
1994
  "Aabsolute path starting with '/' or relative path to the image file. Clear "
@@ -1999,17 +1999,17 @@ msgstr ""
1999
  "ponastavitev na privzeto sliko."
2000
 
2001
  #: includes/functions-check-now.php:3184 includes/functions.old.php:3109
2002
- #: includes/functions.php:3159 strings.php:230
2003
  msgid "Select or upload header image"
2004
  msgstr "Izberi ali naloži sliko glave"
2005
 
2006
  #: includes/functions-check-now.php:3189 includes/functions.old.php:3114
2007
- #: includes/functions.php:3164
2008
  msgid "Report header title"
2009
  msgstr "Naslov v glavi poročila"
2010
 
2011
  #: includes/functions-check-now.php:3192 includes/functions.old.php:3117
2012
- #: includes/functions.php:3167
2013
  msgid ""
2014
  "Title to be displayed in the header of the statistics report. Text or HTML "
2015
  "code, clear to reset to default text."
@@ -2018,12 +2018,12 @@ msgstr ""
2018
  "pobrišite za ponastavitev na privzeto besedilo."
2019
 
2020
  #: includes/functions-check-now.php:3197 includes/functions.old.php:3122
2021
- #: includes/functions.php:3172
2022
  msgid "Report header description"
2023
  msgstr "Opis v glavi poročila"
2024
 
2025
  #: includes/functions-check-now.php:3200 includes/functions.old.php:3125
2026
- #: includes/functions.php:3175
2027
  msgid ""
2028
  "Description to be displayed in the header of the statistics report. Text or "
2029
  "HTML code, clear to reset to default text."
@@ -2032,12 +2032,12 @@ msgstr ""
2032
  "pobrišite za ponastavitev na privzeto besedilo."
2033
 
2034
  #: includes/functions-check-now.php:3205 includes/functions.old.php:3130
2035
- #: includes/functions.php:3180
2036
  msgid "Report footer"
2037
  msgstr "Noga poročila"
2038
 
2039
  #: includes/functions-check-now.php:3208 includes/functions.old.php:3133
2040
- #: includes/functions.php:3183
2041
  msgid ""
2042
  "Text to be displayed in the footer of the statistics report. Clear to reset "
2043
  "to default text."
@@ -2046,139 +2046,139 @@ msgstr ""
2046
  "koda, pobrišite za ponastavitev na privzeto besedilo."
2047
 
2048
  #: includes/functions-check-now.php:3213 includes/functions.old.php:3138
2049
- #: includes/functions.php:3188
2050
  msgid "Public report key"
2051
  msgstr "Ključ za javno poročilo"
2052
 
2053
  #: includes/functions-check-now.php:3216 includes/functions.old.php:3141
2054
- #: includes/functions.php:3191
2055
  msgid "String to generate unique report IDs. Clear to reset to default value."
2056
  msgstr ""
2057
  "Niz za ustvaritev unikatnega IDja poročila. Pobrišite za ponastavitev na "
2058
  "privzeto vrednost."
2059
 
2060
  #: includes/functions-check-now.php:3248 includes/functions.old.php:3173
2061
- #: includes/functions.php:3223
2062
  msgid "Are you sure you want to clear all exceptions for block"
2063
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok"
2064
 
2065
  #: includes/functions-check-now.php:3249 includes/functions.old.php:3174
2066
- #: includes/functions.php:3224 settings.php:1162
2067
  msgid "Clear all exceptions for block"
2068
  msgstr "Pobriši vse izjeme za blok"
2069
 
2070
  #: includes/functions-check-now.php:3256 includes/functions.old.php:3181
2071
- #: includes/functions.php:3231
2072
  msgid "Are you sure you want to clear all exceptions?"
2073
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme?"
2074
 
2075
  #: includes/functions-check-now.php:3256 includes/functions.old.php:3181
2076
- #: includes/functions.php:3231
2077
  msgid "Clear all exceptions for all blocks"
2078
  msgstr "Pobriši vse izjeme za vse bloke"
2079
 
2080
  #: includes/functions-check-now.php:3261 includes/functions.old.php:3186
2081
- #: includes/functions.php:3236 settings.php:3745 settings.php:4176
2082
  msgid "Type"
2083
  msgstr "Vrsta"
2084
 
2085
  #: includes/functions-check-now.php:3279 includes/functions.old.php:3204
2086
- #: includes/functions.php:3254
2087
  msgid "View"
2088
  msgstr "Poglej"
2089
 
2090
  #: includes/functions-check-now.php:3280 includes/functions-check-now.php:3287
2091
  #: includes/functions-check-now.php:3291 includes/functions.old.php:3205
2092
  #: includes/functions.old.php:3212 includes/functions.old.php:3216
2093
- #: includes/functions.php:3255 includes/functions.php:3262
2094
- #: includes/functions.php:3266 includes/placeholders.php:353
2095
- #: includes/preview.php:2281 settings.php:1296 settings.php:3505
2096
  msgid "Edit"
2097
  msgstr "Uredi"
2098
 
2099
  #: includes/functions-check-now.php:3310 includes/functions.old.php:3235
2100
- #: includes/functions.php:3285
2101
  msgid "Are you sure you want to clear all exceptions for"
2102
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za"
2103
 
2104
  #: includes/functions-check-now.php:3311 includes/functions.old.php:3236
2105
- #: includes/functions.php:3286
2106
  msgid "Clear all exceptions for"
2107
  msgstr "Pobriši vse izjeme za"
2108
 
2109
  #: includes/functions-check-now.php:3324 includes/functions.old.php:3249
2110
- #: includes/functions.php:3299
2111
  msgid "No exceptions"
2112
  msgstr "Brez izjem"
2113
 
2114
  #. translators: %s: Ad Inserter Pro
2115
  #: includes/functions-check-now.php:3335 includes/functions.old.php:3260
2116
- #: includes/functions.php:3310
2117
  msgid "%s options for network blogs"
2118
  msgstr "%s izbire za omrežne bloge"
2119
 
2120
  #. translators: %s: Ad Inserter Pro
2121
  #: includes/functions-check-now.php:3340 includes/functions.old.php:3265
2122
- #: includes/functions.php:3315
2123
  msgid "Enable %s widgets for sub-sites"
2124
  msgstr "Omogoči %s gradnik za pod-spletišča"
2125
 
2126
  #: includes/functions-check-now.php:3340 includes/functions.old.php:3265
2127
- #: includes/functions.php:3315
2128
  msgid "Widgets"
2129
  msgstr "Gradniki"
2130
 
2131
  #: includes/functions-check-now.php:3345 includes/functions.old.php:3270
2132
- #: includes/functions.php:3320
2133
  msgid "Enable PHP code processing for sub-sites"
2134
  msgstr "Omogoči procesiranje PHP kode za pod-spletišča"
2135
 
2136
  #: includes/functions-check-now.php:3345 includes/functions.old.php:3270
2137
- #: includes/functions.php:3320
2138
  msgid "PHP Processing"
2139
  msgstr "PHP Procesiranje"
2140
 
2141
  #. translators: %s: Ad Inserter Pro
2142
  #: includes/functions-check-now.php:3350 includes/functions.old.php:3275
2143
- #: includes/functions.php:3325
2144
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
2145
  msgstr ""
2146
  "Omogoči %s izjeme blokov v urejevalniku prispevkov/strani za pod-spletišča"
2147
 
2148
  #: includes/functions-check-now.php:3350 includes/functions.old.php:3275
2149
- #: includes/functions.php:3325
2150
  msgid "Post/Page exceptions"
2151
  msgstr "Izjeme prispevkov/strani"
2152
 
2153
  #. translators: %s: Ad Inserter Pro
2154
  #: includes/functions-check-now.php:3355 includes/functions.old.php:3280
2155
- #: includes/functions.php:3330
2156
  msgid "Enable %s settings page for sub-sites"
2157
  msgstr "Omogoči nastavitveno stran %s za pod-spletišča"
2158
 
2159
  #: includes/functions-check-now.php:3355 includes/functions.old.php:3280
2160
- #: includes/functions.php:3330
2161
  msgid "Settings page"
2162
  msgstr "Stran z nastavitvami"
2163
 
2164
  #. translators: %s: Ad Inserter Pro
2165
  #: includes/functions-check-now.php:3360 includes/functions.old.php:3285
2166
- #: includes/functions.php:3335
2167
  msgid "Enable %s settings of main site to be used for all blogs"
2168
  msgstr "Omogoči %s nastavitve glavnega spletišča za uporabo na vseh blogih"
2169
 
2170
  #: includes/functions-check-now.php:3360 includes/functions.old.php:3285
2171
- #: includes/functions.php:3335
2172
  msgid "Main site settings used for all blogs"
2173
  msgstr "Nastavitve glavnega spletišča uporabljene na vseh blogih"
2174
 
2175
  #: includes/functions-check-now.php:3371 includes/functions.old.php:3296
2176
- #: includes/functions.php:3346 settings.php:2661
2177
  msgid "Ad Blocking Detection"
2178
  msgstr "Zaznavanje Blokiranja Oglasov"
2179
 
2180
  #: includes/functions-check-now.php:3377 includes/functions.old.php:3302
2181
- #: includes/functions.php:3352
2182
  msgid ""
2183
  "Standard method is reliable but should be used only if Advanced method does "
2184
  "not work. Advanced method recreates files used for detection with random "
@@ -2193,8 +2193,8 @@ msgstr ""
2193
  #: includes/functions-check-now.php:4029 includes/functions-check-now.php:4119
2194
  #: includes/functions-check-now.php:4139 includes/functions.old.php:3929
2195
  #: includes/functions.old.php:4019 includes/functions.old.php:4039
2196
- #: includes/functions.php:4004 includes/functions.php:4094
2197
- #: includes/functions.php:4114
2198
  msgid "AD BLOCKING"
2199
  msgstr "BLOKIRANJE OGLASOV"
2200
 
@@ -2202,86 +2202,86 @@ msgstr "BLOKIRANJE OGLASOV"
2202
  #: includes/functions-check-now.php:4113 includes/functions-check-now.php:4140
2203
  #: includes/functions.old.php:3930 includes/functions.old.php:3970
2204
  #: includes/functions.old.php:4013 includes/functions.old.php:4040
2205
- #: includes/functions.php:4005 includes/functions.php:4045
2206
- #: includes/functions.php:4088 includes/functions.php:4115
2207
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
2208
  msgstr "BLOK VSTAVLJEN, VENDAR NI VIDEN"
2209
 
2210
  #: includes/functions-check-now.php:4033 includes/functions-check-now.php:4112
2211
  #: includes/functions-check-now.php:4146 includes/functions.old.php:3933
2212
  #: includes/functions.old.php:4012 includes/functions.old.php:4046
2213
- #: includes/functions.php:4008 includes/functions.php:4087
2214
- #: includes/functions.php:4121
2215
  msgid "NO AD BLOCKING"
2216
  msgstr "NI BLOKIRANJA OGLASOV"
2217
 
2218
  #: includes/functions-check-now.php:4069 includes/functions-check-now.php:4076
2219
  #: includes/functions.old.php:3969 includes/functions.old.php:3976
2220
- #: includes/functions.php:4044 includes/functions.php:4051
2221
  msgid "AD BLOCKING REPLACEMENT"
2222
  msgstr "NADOMESTEK V PRIMERU BLOKIRANJA OGLASOV"
2223
 
2224
  #: includes/functions-check-now.php:4219 includes/functions-check-now.php:4428
2225
  #: includes/functions.old.php:4119 includes/functions.old.php:4328
2226
- #: includes/functions.php:4194 includes/functions.php:4403
2227
  msgid "Pageviews"
2228
  msgstr "Ogledi strani"
2229
 
2230
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2231
- #: includes/functions.php:4340
2232
  msgctxt "Version"
2233
  msgid "Unknown"
2234
  msgstr "Neznana"
2235
 
2236
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2237
- #: includes/functions.php:4340
2238
  msgctxt "Times"
2239
  msgid "DISPLAYED"
2240
  msgstr "PRIKAZANO"
2241
 
2242
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2243
- #: includes/functions.php:4340
2244
  msgid "No version"
2245
  msgstr "Brez različice"
2246
 
2247
  #: includes/functions-check-now.php:4366 includes/functions.old.php:4266
2248
- #: includes/functions.php:4341
2249
  msgctxt "Times"
2250
  msgid "BLOCKED"
2251
  msgstr "BLOKIRANO"
2252
 
2253
  #: includes/functions-check-now.php:4428 includes/functions.old.php:4328
2254
- #: includes/functions.php:4403
2255
  msgid "Impressions"
2256
  msgstr "Prikazi"
2257
 
2258
  #: includes/functions-check-now.php:4429 includes/functions-check-now.php:4430
2259
  #: includes/functions-check-now.php:4485 includes/functions.old.php:4329
2260
  #: includes/functions.old.php:4330 includes/functions.old.php:4385
2261
- #: includes/functions.php:4404 includes/functions.php:4405
2262
- #: includes/functions.php:4460
2263
  msgid "Clicks"
2264
  msgstr "Kliki"
2265
 
2266
  #: includes/functions-check-now.php:4430 includes/functions.old.php:4330
2267
- #: includes/functions.php:4405
2268
  msgid "events"
2269
  msgstr "dogodki"
2270
 
2271
  #: includes/functions-check-now.php:4431 includes/functions.old.php:4331
2272
- #: includes/functions.php:4406
2273
  msgid "Ad Blocking Share"
2274
  msgstr "Delež blokiranja oglasov"
2275
 
2276
  #. translators: CTR as Click Through Rate
2277
  #: includes/functions-check-now.php:4431 includes/functions-check-now.php:4491
2278
  #: includes/functions.old.php:4331 includes/functions.old.php:4391
2279
- #: includes/functions.php:4406 includes/functions.php:4466
2280
  msgid "CTR"
2281
  msgstr "CTR"
2282
 
2283
  #: includes/functions-check-now.php:4573 includes/functions.old.php:4473
2284
- #: includes/functions.php:4548
2285
  msgid "pageviews"
2286
  msgid_plural "pageviews"
2287
  msgstr[0] "ogled strani"
@@ -2290,7 +2290,7 @@ msgstr[2] "oglede strani"
2290
  msgstr[3] "ogledov strani"
2291
 
2292
  #: includes/functions-check-now.php:4573 includes/functions.old.php:4473
2293
- #: includes/functions.php:4548
2294
  msgid "impressions"
2295
  msgid_plural "impressions"
2296
  msgstr[0] "prikaz"
@@ -2299,7 +2299,7 @@ msgstr[2] "prikazi"
2299
  msgstr[3] "prikazov"
2300
 
2301
  #: includes/functions-check-now.php:4577 includes/functions.old.php:4477
2302
- #: includes/functions.php:4552
2303
  msgid "event"
2304
  msgid_plural "events"
2305
  msgstr[0] "dogodek"
@@ -2308,19 +2308,19 @@ msgstr[2] "dogodki"
2308
  msgstr[3] "dogodkov"
2309
 
2310
  #: includes/functions-check-now.php:4672 includes/functions.old.php:4572
2311
- #: includes/functions.php:4647
2312
  msgctxt "Pageviews / Impressions"
2313
  msgid "Average"
2314
  msgstr "Povprečni"
2315
 
2316
  #: includes/functions-check-now.php:4693 includes/functions.old.php:4593
2317
- #: includes/functions.php:4668
2318
  msgctxt "Ad Blocking / Clicks"
2319
  msgid "Average"
2320
  msgstr "Povprečno"
2321
 
2322
  #: includes/functions-check-now.php:4717 includes/functions.old.php:4617
2323
- #: includes/functions.php:4692
2324
  msgctxt "Ad Blocking Share / CTR"
2325
  msgid "Average"
2326
  msgstr "Povprečni"
@@ -2329,51 +2329,55 @@ msgstr "Povprečni"
2329
  #: includes/functions-check-now.php:4899 includes/functions-check-now.php:4991
2330
  #: includes/functions-check-now.php:5334 includes/functions.old.php:4799
2331
  #: includes/functions.old.php:4891 includes/functions.old.php:5207
2332
- #: includes/functions.php:4874 includes/functions.php:4966
2333
- #: includes/functions.php:5309 strings.php:184
2334
  msgid "%s Report"
2335
  msgstr "%s Poročilo"
2336
 
2337
  #: includes/functions-check-now.php:5240 includes/functions.old.php:5113
2338
- #: includes/functions.php:5215
2339
  msgid "for last month"
2340
  msgstr "za zadnji mesec"
2341
 
2342
  #: includes/functions-check-now.php:5245 includes/functions.old.php:5118
2343
- #: includes/functions.php:5220
2344
  msgid "for this month"
2345
  msgstr "za ta mesec"
2346
 
2347
  #: includes/functions-check-now.php:5250 includes/functions.old.php:5123
2348
- #: includes/functions.php:5225
2349
  msgid "for this year"
2350
  msgstr "za to leto"
2351
 
2352
  #: includes/functions-check-now.php:5255 includes/functions.old.php:5128
2353
- #: includes/functions.php:5230
2354
  msgid "for the last 15 days"
2355
  msgstr "za zadnjih 15 dni"
2356
 
2357
  #: includes/functions-check-now.php:5260 includes/functions.old.php:5133
2358
- #: includes/functions.php:5235
2359
  msgid "for the last 30 days"
2360
  msgstr "za zadnjih 30 dni"
2361
 
2362
  #: includes/functions-check-now.php:5265 includes/functions.old.php:5138
2363
- #: includes/functions.php:5240
2364
  msgid "for the last 90 days"
2365
  msgstr "za zadnjih 90 dni"
2366
 
2367
  #: includes/functions-check-now.php:5270 includes/functions.old.php:5143
2368
- #: includes/functions.php:5245
2369
  msgid "for the last 180 days"
2370
  msgstr "za zadnjih 180 dni"
2371
 
2372
  #: includes/functions-check-now.php:5275 includes/functions.old.php:5148
2373
- #: includes/functions.php:5250
2374
  msgid "for the last 365 days"
2375
  msgstr "za zadnjih 365 dni"
2376
 
 
 
 
 
2377
  #: includes/placeholders.php:20
2378
  msgid "Custom"
2379
  msgstr "Po meri"
@@ -2398,7 +2402,7 @@ msgstr "Zapri urejevalnik polnila"
2398
  msgid "Placeholder"
2399
  msgstr "Polnilo"
2400
 
2401
- #: includes/placeholders.php:363 settings.php:906 settings.php:4177
2402
  msgid "Size"
2403
  msgstr "Velikost"
2404
 
@@ -2531,11 +2535,11 @@ msgstr "Prekliči"
2531
  msgid "Ad Blocking Detected Message Preview"
2532
  msgstr "Predogled Sporočila ko je Zaznano Blokiranje Oglasov"
2533
 
2534
- #: includes/preview-adb.php:348 settings.php:2787
2535
  msgid "Message CSS"
2536
  msgstr "CSS sporočila"
2537
 
2538
- #: includes/preview-adb.php:353 settings.php:2795
2539
  msgid "Overlay CSS"
2540
  msgstr "CSS prevleke"
2541
 
@@ -2575,7 +2579,7 @@ msgstr "div za ovijanje"
2575
  msgid "background"
2576
  msgstr "ozadje"
2577
 
2578
- #: includes/preview.php:2085 includes/preview.php:2236 settings.php:1257
2579
  msgid "Alignment"
2580
  msgstr "Poravnava"
2581
 
@@ -2720,7 +2724,7 @@ msgstr ""
2720
  "Označi označi ozadje, območje odmika in območje kode, medtem ko gumb "
2721
  "Ponastavi vrne vse vrednosti na tiste od trenutnega bloka."
2722
 
2723
- #: settings.php:174 settings.php:1146
2724
  msgid ""
2725
  "Settings for individual exceptions have been updated. Please check all "
2726
  "blocks that have exceptions and and then save settings."
@@ -2728,32 +2732,32 @@ msgstr ""
2728
  "Nastavitve za posamezne izjeme so bile posodobljene. Prosimo, preverite vse "
2729
  "bloke, ki imajo izjeme in potem shranite nastavitve."
2730
 
2731
- #: settings.php:216
2732
  msgid "Online documentation"
2733
  msgstr "Spletna Dokumentacija"
2734
 
2735
- #: settings.php:220 settings.php:742 settings.php:2183
2736
  msgid "Show AdSense ad units"
2737
  msgstr "Pokaži oglasne enote AdSense"
2738
 
2739
- #: settings.php:225
2740
  msgid "Edit ads.txt file"
2741
  msgstr "Uredi datoteko ads.txt"
2742
 
2743
- #: settings.php:228 settings.php:1089
2744
  msgid "Check theme for available positions for automatic insertion"
2745
  msgstr "Preveri temo za razpoložljive položaje za samodejno vstavljanje"
2746
 
2747
- #: settings.php:230
2748
  msgid "List all blocks"
2749
  msgstr "Izpiši seznam vseh blokov"
2750
 
2751
- #: settings.php:237
2752
  msgid "Loaded plugin JavaScript file version"
2753
  msgstr "Naložena različica JavaScript datoteke vtičnika"
2754
 
2755
  #. translators: %s: HTML tags
2756
- #: settings.php:239
2757
  msgid ""
2758
  "Wrong or %s missing version parameter %s of the JavaScript file, probably "
2759
  "due to inappropriate caching."
@@ -2761,7 +2765,7 @@ msgstr ""
2761
  "Napačen ali %s manjkajoč parameter verzije %s JavaScript datoteke, najbrž "
2762
  "zaradi nepravilnega predpomnjenja."
2763
 
2764
- #: settings.php:240
2765
  msgid ""
2766
  "Missing version parameter of the JavaScript file, probably due to "
2767
  "inappropriate caching."
@@ -2769,7 +2773,7 @@ msgstr ""
2769
  "Manjka parameter verzije JavaScript datoteke, najbrž zaradi nepravilnega "
2770
  "predpomnjenja."
2771
 
2772
- #: settings.php:241
2773
  msgid ""
2774
  "Incompatible (old) JavaScript file loaded, probably due to inappropriate "
2775
  "caching."
@@ -2777,7 +2781,7 @@ msgstr ""
2777
  "Naložena je nezdružljiva (stara) različica JavaScript datoteke, najbrž "
2778
  "zaradi nepravilnega predpomnjenja."
2779
 
2780
- #: settings.php:242 settings.php:253
2781
  msgid ""
2782
  "Please delete browser's cache and all other caches used and then reload this "
2783
  "page."
@@ -2785,12 +2789,12 @@ msgstr ""
2785
  "Prosimo, pobrišite predpomnilnik brskalnika in vse druge predpomnilnike ter "
2786
  "potem na novo naložite to stran."
2787
 
2788
- #: settings.php:248
2789
  msgid "Loaded plugin CSS file version"
2790
  msgstr "Naložena različica CSS datoteke vtičnika"
2791
 
2792
  #. translators: %s: HTML tags
2793
- #: settings.php:250
2794
  msgid ""
2795
  "Wrong or %s missing version parameter %s of the CSS file, probably due to "
2796
  "inappropriate caching."
@@ -2798,7 +2802,7 @@ msgstr ""
2798
  "Napačen ali %s manjkajoč parameter verzije %s CSS datoteke, najbrž zaradi "
2799
  "nepravilnega predpomnjenja."
2800
 
2801
- #: settings.php:251
2802
  msgid ""
2803
  "Missing version parameter of the CSS file, probably due to inappropriate "
2804
  "caching."
@@ -2806,30 +2810,30 @@ msgstr ""
2806
  "Manjka parameter verzije JavaScript datoteke, najbrž zaradi nepravilnega "
2807
  "predpomnjenja."
2808
 
2809
- #: settings.php:252
2810
  msgid ""
2811
  "Incompatible (old) CSS file loaded, probably due to inappropriate caching."
2812
  msgstr ""
2813
  "Naložena je nezdružljiva (stara) različica CSS datoteke, najbrž zaradi "
2814
  "nepravilnega predpomnjenja."
2815
 
2816
- #: settings.php:259 settings.php:271
2817
  msgid "WARNING"
2818
  msgstr "OPOZORILO"
2819
 
2820
  #. translators: %s: HTML tags
2821
- #: settings.php:261
2822
  msgid "Page may %s not be loaded properly. %s"
2823
  msgstr "Stran mogoče %s ni naložena pravilno. %s"
2824
 
2825
- #: settings.php:262
2826
  msgid ""
2827
  "Check ad blocking software that may block CSS, JavaScript or image files."
2828
  msgstr ""
2829
  "Preverite programe za blokiranje oglasov, ki lahko onemogočijo CSS, "
2830
  "JavaScript ali slikovne datoteke."
2831
 
2832
- #: settings.php:271
2833
  msgid ""
2834
  "To disable debugging functions and to enable insertions go to tab [*] / tab "
2835
  "Debugging"
@@ -2837,23 +2841,23 @@ msgstr ""
2837
  "Za izključitev razhroščevalnih funkcij in za vključitev vstavljanja pojdite "
2838
  "na zavihek [*] / zavihek Razhroščevanje"
2839
 
2840
- #: settings.php:273
2841
  msgid "Debugging functions enabled - some code is not inserted"
2842
  msgstr "Vključene so funkcije za razhroščevanje - nekatera koda ni vstavljena"
2843
 
2844
- #: settings.php:290
2845
  msgid "Group name"
2846
  msgstr "Ime skupine"
2847
 
2848
- #: settings.php:291
2849
  msgid "Option name"
2850
  msgstr "Ime različice"
2851
 
2852
- #: settings.php:297
2853
  msgid "Share"
2854
  msgstr "Delež"
2855
 
2856
- #: settings.php:300
2857
  msgid ""
2858
  "Option share in percents - 0 means option is disabled, if share for one "
2859
  "option is not defined it will be calculated automatically. Leave all share "
@@ -2863,11 +2867,11 @@ msgstr ""
2863
  "eno različico ni določen bo izračunan samodejno. Pustite vsa polja za deleže "
2864
  "prazne za enakomerno porazdelitev deležev različic."
2865
 
2866
- #: settings.php:303
2867
  msgid "Time"
2868
  msgstr "Čas"
2869
 
2870
- #: settings.php:306
2871
  msgid ""
2872
  "Option time in seconds - 0 means option is disabled and will be skipped. "
2873
  "Leave all time fields empty for no timed rotation."
@@ -2875,162 +2879,162 @@ msgstr ""
2875
  "Čas različice v sekundah - 0 pomeni, da je različica onemogočena in bo "
2876
  "preskočena. Pustite vse polja za čas prazna za rotacijo brez časov."
2877
 
2878
- #: settings.php:458
2879
  msgid "General Settings"
2880
  msgstr "Splošne Nastavitve"
2881
 
2882
- #: settings.php:690 settings.php:2514 settings.php:2581 settings.php:2767
2883
  msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
2884
  msgstr ""
2885
  "Preklopi Poudarjanje Sintakse / Preprost urejevalnik za mobilne naprave"
2886
 
2887
- #: settings.php:697
2888
  msgid "Toggle tools"
2889
  msgstr "Preklopi orodja"
2890
 
2891
- #: settings.php:705
2892
  msgid "Process PHP code in block"
2893
  msgstr "Procesiraj PHP kodo v bloku"
2894
 
2895
- #: settings.php:712
2896
  msgid "Disable insertion of this block"
2897
  msgstr "Onemogoči vstavljanje tega bloka"
2898
 
2899
- #: settings.php:724
2900
  msgid "Toggle code generator"
2901
  msgstr "Preklopi generator kode"
2902
 
2903
- #: settings.php:728
2904
  msgid "Toggle rotation editor"
2905
  msgstr "Preklopi urejevalnik rotacije"
2906
 
2907
- #: settings.php:732
2908
  msgid "Open visual HTML editor"
2909
  msgstr "Odpri vizualni HTML urejevalnik"
2910
 
2911
- #: settings.php:751
2912
  msgid "Clear block"
2913
  msgstr "Počisti blok"
2914
 
2915
- #: settings.php:756 settings.php:4049
2916
  msgid "Copy block"
2917
  msgstr "Kopiraj blok"
2918
 
2919
- #: settings.php:760
2920
  msgid "Paste name"
2921
  msgstr "Prilepi ime"
2922
 
2923
- #: settings.php:764
2924
  msgid "Paste code"
2925
  msgstr "Prilepi kodo"
2926
 
2927
- #: settings.php:768
2928
  msgid "Paste settings"
2929
  msgstr "Prilepi nastavitve"
2930
 
2931
- #: settings.php:772
2932
  msgid "Paste block (name, code and settings)"
2933
  msgstr "Prilepi blok (ime, kodo in nastavitve)"
2934
 
2935
- #: settings.php:791
2936
  msgid "Rotation groups"
2937
  msgstr "Skupine za rotacijo"
2938
 
2939
- #: settings.php:795
2940
  msgid "Remove option"
2941
  msgstr "Odstrani različico"
2942
 
2943
- #: settings.php:799
2944
  msgid "Add option"
2945
  msgstr "Dodaj različico"
2946
 
2947
- #: settings.php:814
2948
  msgid "Import code"
2949
  msgstr "Uvozi kodo"
2950
 
2951
- #: settings.php:818
2952
  msgid "Generate code"
2953
  msgstr "Generiraj kodo"
2954
 
2955
- #: settings.php:823
2956
  msgid "Banner"
2957
  msgstr "Pasica"
2958
 
2959
- #: settings.php:834
2960
  msgid "Image"
2961
  msgstr "Slika"
2962
 
2963
- #: settings.php:842
2964
  msgid "Link"
2965
  msgstr "Povezava"
2966
 
2967
- #: settings.php:853
2968
  msgid "Open link in a new tab"
2969
  msgstr "Odpri povezavo v novem zavihku"
2970
 
2971
- #: settings.php:854
2972
  msgid "Select Image"
2973
  msgstr "Izberi Sliko"
2974
 
2975
- #: settings.php:855
2976
  msgid "Select Placeholder"
2977
  msgstr "Izberi Polnilo"
2978
 
2979
- #: settings.php:867
2980
  msgid "Comment"
2981
  msgstr "Komentar"
2982
 
2983
- #: settings.php:876
2984
  msgctxt "AdSense"
2985
  msgid "Publisher ID"
2986
  msgstr "ID založnika"
2987
 
2988
- #: settings.php:885
2989
  msgctxt "AdSense"
2990
  msgid "Ad Slot ID"
2991
  msgstr "ID mesta"
2992
 
2993
- #: settings.php:894
2994
  msgid "Ad Type"
2995
  msgstr "Vrsta"
2996
 
2997
- #: settings.php:918
2998
  msgid "AMP Ad"
2999
  msgstr "AMP Oglas"
3000
 
3001
- #: settings.php:935
3002
  msgid "Show ad units from your AdSense account"
3003
  msgstr "Prikaži oglasne enote s tvojega AdSense računa"
3004
 
3005
- #: settings.php:935
3006
  msgid "AdSense ad units"
3007
  msgstr "Oglasne enote AdSense"
3008
 
3009
- #: settings.php:952
3010
  msgctxt "AdSense"
3011
  msgid "Layout"
3012
  msgstr "Postavitev"
3013
 
3014
- #: settings.php:961
3015
  msgctxt "AdSense"
3016
  msgid "Layout Key"
3017
  msgstr "Ključ postavitve"
3018
 
3019
- #: settings.php:971
3020
  msgid "Full width"
3021
  msgstr "Celotna širina"
3022
 
3023
- #: settings.php:973
3024
  msgctxt "Full width"
3025
  msgid "Enabled"
3026
  msgstr "Omogočena"
3027
 
3028
- #: settings.php:974
3029
  msgctxt "Full width"
3030
  msgid "Disabled"
3031
  msgstr "Onemogočena"
3032
 
3033
- #: settings.php:1055
3034
  msgid ""
3035
  "White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
3036
  "Cookie or Referer (domain)"
@@ -3038,28 +3042,28 @@ msgstr ""
3038
  "Bel/Črn seznam Kategorij, Oznak, Taksonomij, ID Prispevkov, Url-jev, Url "
3039
  "parametrov, Piškotkov ali napotiteljev (domen)"
3040
 
3041
- #: settings.php:1055
3042
  msgid "Lists"
3043
  msgstr "Seznami"
3044
 
3045
- #: settings.php:1056
3046
  msgid "Widget, Shortcode and PHP function call"
3047
  msgstr "Gradnik, Kratka koda in Klic PHP funkcije"
3048
 
3049
- #: settings.php:1056
3050
  msgid "Manual"
3051
  msgstr "Ročno"
3052
 
3053
- #: settings.php:1057
3054
  msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
3055
  msgstr ""
3056
  "Zaznavanje Naprave na strani Strežnika/Klienta (Namizni, Tablica, Telefon)"
3057
 
3058
- #: settings.php:1057
3059
  msgid "Devices"
3060
  msgstr "Naprave"
3061
 
3062
- #: settings.php:1058
3063
  msgid ""
3064
  "Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
3065
  "feeds), Filter, Scheduling, General tag"
@@ -3067,15 +3071,15 @@ msgstr ""
3067
  "Preveri status uporabnika, Omeji vstavljanja (napaka 404, zahteve Ajax, vir "
3068
  "RSS), Filter, Urnik, Splošna oznaka"
3069
 
3070
- #: settings.php:1058
3071
  msgid "Misc"
3072
  msgstr "Razno"
3073
 
3074
- #: settings.php:1059
3075
  msgid "Preview code and alignment"
3076
  msgstr "Predogled kode in poravnave"
3077
 
3078
- #: settings.php:1062 settings.php:2167
3079
  msgid ""
3080
  "Rotation editor active - rotation code not generated! Make sure no rotation "
3081
  "editor is active before saving settings."
@@ -3083,15 +3087,15 @@ msgstr ""
3083
  "Aktiven urejevalnik rotacij - koda za rotacijo ni generirana! Poskrbite, da "
3084
  "noben urejevalnik rotacij ni aktiven pred shranjevanjem nastavitev."
3085
 
3086
- #: settings.php:1075 settings.php:1076
3087
  msgid "Enable insertion on posts"
3088
  msgstr "Omogoči vstavljanje na prispevkih"
3089
 
3090
- #: settings.php:1076 settings.php:3317
3091
  msgid "Posts"
3092
  msgstr "Prispevki"
3093
 
3094
- #: settings.php:1080 settings.php:1081
3095
  msgid ""
3096
  "Enable insertion on homepage: latest posts (including on sub-pages), static "
3097
  "page or theme homepage (available positions may depend on hooks used by the "
@@ -3101,43 +3105,43 @@ msgstr ""
3101
  "podstraneh), statična stran ali domača stran teme (razpoložljivi položaji so "
3102
  "lahko odvisni od ročic, ki jih tema uporablja)"
3103
 
3104
- #: settings.php:1081 settings.php:3319
3105
  msgid "Homepage"
3106
  msgstr "Domača stran"
3107
 
3108
- #: settings.php:1085 settings.php:1086
3109
  msgid "Enable insertion on category blog pages (including sub-pages)"
3110
  msgstr "Omogoči vstavljanje na straneh kategorij (vključno s podstranmi)"
3111
 
3112
- #: settings.php:1086 settings.php:3320
3113
  msgid "Category pages"
3114
  msgstr "Strani kategorij"
3115
 
3116
- #: settings.php:1096 settings.php:1097
3117
  msgid "Enable insertion on static pages"
3118
  msgstr "Omogoči vstavljanje na statičnih straneh"
3119
 
3120
- #: settings.php:1097 settings.php:3318
3121
  msgid "Static pages"
3122
  msgstr "Statične strani"
3123
 
3124
- #: settings.php:1101 settings.php:1102
3125
  msgid "Enable insertion on search blog pages"
3126
  msgstr "Omogoči vstavljanje na iskalnih straneh"
3127
 
3128
- #: settings.php:1102 settings.php:3322
3129
  msgid "Search pages"
3130
  msgstr "Iskalne strani"
3131
 
3132
- #: settings.php:1106 settings.php:1107
3133
  msgid "Enable insertion on tag or archive blog pages"
3134
  msgstr "Omogoči vstavljanje na straneh oznak in arhivskih straneh"
3135
 
3136
- #: settings.php:1110
3137
  msgid "Toggle settings for default insertion and list of individual exceptions"
3138
  msgstr "Preklopi nastavitve za privzeto vstavljanje in seznam posameznih izjem"
3139
 
3140
- #: settings.php:1122
3141
  msgid ""
3142
  "Enable individual post/page exceptions for insertion of this block. They can "
3143
  "be configured on the individual post/page editor page (in the settings below "
@@ -3147,7 +3151,7 @@ msgstr ""
3147
  "lahko nastavijo na posamezni strani urejevalnika prispevka/strani (v "
3148
  "nastavitvah pod urejevalnikom)."
3149
 
3150
- #: settings.php:1123
3151
  msgid ""
3152
  "Enable individual post/page exceptions for insertion of this block. When "
3153
  "enabled they can be configured on the individual post/page editor page (in "
@@ -3157,13 +3161,13 @@ msgstr ""
3157
  "omogočene, se te lahko nastavijo na posamezni strani urejevalnika prispevka/"
3158
  "strani (v nastavitvah pod urejevalnikom)."
3159
 
3160
- #: settings.php:1123
3161
  msgid "Use exceptions for individual posts or pages to change insertion"
3162
  msgstr ""
3163
  "Uporabi izjeme za posamezne prispevke ali strani za spremembo vstavljanja"
3164
 
3165
  #. Translators: Enabled means...
3166
- #: settings.php:1131
3167
  msgid ""
3168
  "means the insertion for this block is enabled by default and disabled for "
3169
  "exceptions."
@@ -3172,7 +3176,7 @@ msgstr ""
3172
  "izjeme."
3173
 
3174
  #. Translators: Disabled means...
3175
- #: settings.php:1132
3176
  msgid ""
3177
  "means the insertion for this block is disabled by default and enabled for "
3178
  "exceptions."
@@ -3180,7 +3184,7 @@ msgstr ""
3180
  "pomeni, da je vstavljanje za ta blok privzeto onemogočeno in omogočeno za "
3181
  "izjeme."
3182
 
3183
- #: settings.php:1133
3184
  msgid ""
3185
  "When individual post/page exceptions are enabled they can be configured on "
3186
  "the individual post/page editor page (in the settings below the editor)."
@@ -3189,27 +3193,27 @@ msgstr ""
3189
  "v urejevalniku posameznega prispevka/strani (v nastavitvah pod "
3190
  "urejevalnikom)."
3191
 
3192
- #: settings.php:1141
3193
  msgid ""
3194
  "No exception for post or static page defined. Block will not be inserted."
3195
  msgstr ""
3196
  "Ni nastavljene nobene izjeme za prispevek ali stran. Blok ne bo vstavljen."
3197
 
3198
- #: settings.php:1159
3199
  msgctxt "post"
3200
  msgid "Type"
3201
  msgstr "Vrsta"
3202
 
3203
  #. translators: %d: block number
3204
- #: settings.php:1161
3205
  msgid "Are you sure you want to clear all exceptions for block %d?"
3206
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok %d?"
3207
 
3208
- #: settings.php:1188 settings.php:1336 settings.php:1959
3209
  msgid "Insertion"
3210
  msgstr "Vstavljanje"
3211
 
3212
- #: settings.php:1226
3213
  msgid ""
3214
  "Paragraph number or comma separated paragraph numbers: 1 to N means "
3215
  "paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
@@ -3225,7 +3229,7 @@ msgstr ""
3225
  "polovici strani, 0.9 pomeni odstavek pri 90% odstavkov strani...), negativno "
3226
  "število pomeni štetje z nasprotne smeri"
3227
 
3228
- #: settings.php:1227
3229
  msgid ""
3230
  "Image number or comma separated image numbers: 1 to N means image number, %N "
3231
  "means every N images, empty means all images, 0 means random image, value "
@@ -3240,7 +3244,7 @@ msgstr ""
3240
  "sliko pri 20% slik na strani, 0.5 pomeni srednjo sliko, 0.9 pomeni sliko pri "
3241
  "90% slik strani...), negativno število pomeni štetje z nasprotne smeri"
3242
 
3243
- #: settings.php:1240
3244
  msgid ""
3245
  "Insertion Filter Mirror Setting | Excerpt number or comma separated excerpt "
3246
  "numbers, %N means every N excerpts, empty means all excerpts"
@@ -3249,7 +3253,7 @@ msgstr ""
3249
  "ločene številke izvlečkov, %N pomeni vsakih N izvlečkov, prazno pomeni vsi "
3250
  "izvlečki"
3251
 
3252
- #: settings.php:1241
3253
  msgid ""
3254
  "Insertion Filter Mirror Setting | Post number or comma separated post "
3255
  "numbers, %N means every N posts, empty means all posts"
@@ -3258,7 +3262,7 @@ msgstr ""
3258
  "ločene številke prispevkov, %N pomeni vsakih N prispevkov, prazno pomeni vsi "
3259
  "prispevki"
3260
 
3261
- #: settings.php:1242
3262
  msgid ""
3263
  "Insertion Filter Mirror Setting | Comment number or comma separated comment "
3264
  "numbers, %N means every N comments, empty means all comments"
@@ -3267,44 +3271,44 @@ msgstr ""
3267
  "ločene številke komentarjev, %N pomeni vsakih N komentarjev, prazno pomeni "
3268
  "vsi komentarji"
3269
 
3270
- #: settings.php:1249
3271
  msgid "Toggle paragraph counting settings"
3272
  msgstr "Preklopi nastavitve za štetje odstavkov"
3273
 
3274
- #: settings.php:1250
3275
  msgid "Toggle paragraph clearance settings"
3276
  msgstr "Preklopi nastavitve za izogibanje odstavkom"
3277
 
3278
- #: settings.php:1253
3279
  msgid "Toggle insertion filter settings"
3280
  msgstr "Preklopi nastavitve filtra vstavljanja"
3281
 
3282
- #: settings.php:1271
3283
  msgid "Toggle insertion and alignment icons"
3284
  msgstr "Preklopi ikone za vstavljanje in poravnavo"
3285
 
3286
- #: settings.php:1285
3287
  msgid "Custom CSS code for the wrapping div"
3288
  msgstr "CSS koda po meri za div za ovijanje"
3289
 
3290
- #: settings.php:1288 settings.php:1289 settings.php:1290 settings.php:1291
3291
- #: settings.php:1292 settings.php:1293
3292
  msgid "CSS code for the wrapping div, click to edit"
3293
  msgstr "CSS koda za div za ovijanje, kliknite za urejanje"
3294
 
3295
- #: settings.php:1306
3296
  msgid "HTML element"
3297
  msgstr "HTML element"
3298
 
3299
- #: settings.php:1319
3300
  msgid "HTML element selector or comma separated list of selectors"
3301
  msgstr "Selektor HTML elementa ali z vejicami ločen seznam selektorjev"
3302
 
3303
- #: settings.php:1325 settings.php:2672
3304
  msgid "Action"
3305
  msgstr "Akcija"
3306
 
3307
- #: settings.php:1337
3308
  msgid ""
3309
  "Client-side insertion uses JavaScript to insert block when the page loads. "
3310
  "Server-side insertion inserts block when the page is generated but needs "
@@ -3314,11 +3318,11 @@ msgstr ""
3314
  "se stran naloži. Vstavljanje na strani strežnika vstavi blok, ko se stran "
3315
  "ustvari, vendar potrebuje omogočeno Predpomnjenje izhoda."
3316
 
3317
- #: settings.php:1347
3318
  msgid "JavaScript code position"
3319
  msgstr "Položaj JavaScript kode"
3320
 
3321
- #: settings.php:1348
3322
  msgid ""
3323
  "Page position where the JavaScript code for client-side insertion will be "
3324
  "inserted. Should be after the HTML element if not waiting for DOM ready."
@@ -3327,40 +3331,40 @@ msgstr ""
3327
  "strani klienta. Biti mora za HTML elementom, če se ne čaka na pripravljen "
3328
  "DOM."
3329
 
3330
- #: settings.php:1363
3331
  msgid "Count"
3332
  msgstr "Štej"
3333
 
3334
- #: settings.php:1369
3335
  msgid "paragraphs with tags"
3336
  msgstr "odstavke z značkami"
3337
 
3338
- #: settings.php:1375
3339
  msgid "Comma separated HTML tag names, usually only 'p' tags are used"
3340
  msgstr ""
3341
  "Z vejico ločena imena HTML značk, običajno so uporabljene samo značke 'p'"
3342
 
3343
- #: settings.php:1384
3344
  msgid "that have between"
3345
  msgstr "ki imajo med"
3346
 
3347
- #: settings.php:1390
3348
  msgid "Minimum number of paragraph words, leave empty for no limit"
3349
  msgstr "Najmanjše število besed v odstavkih, prazno pomeni brez omejitev"
3350
 
3351
- #: settings.php:1399
3352
  msgid "Maximum number of paragraph words, leave empty for no limit"
3353
  msgstr "Največje število besed v odstavkih, prazno pomeni brez omejitev"
3354
 
3355
- #: settings.php:1402
3356
  msgid "words"
3357
  msgstr "besed"
3358
 
3359
- #: settings.php:1417 settings.php:1476 settings.php:1546 settings.php:1572
3360
  msgid "Comma separated texts"
3361
  msgstr "Z vejico ločena besedila"
3362
 
3363
- #: settings.php:1430
3364
  msgid ""
3365
  "Count also paragraphs inside these elements - defined on general plugin "
3366
  "settings page - tab [*] / tab General"
@@ -3369,38 +3373,38 @@ msgstr ""
3369
  "nastavitev vtičnika - zavihek [*] / zavihek Splošno"
3370
 
3371
  #. Translators: %s: HTML tags
3372
- #: settings.php:1436
3373
  msgid "Count inside %s elements"
3374
  msgstr "Štej znotraj elementov %s"
3375
 
3376
  #. translators: inside [HTML tags] elements that contain
3377
- #: settings.php:1448
3378
  msgid "inside"
3379
  msgstr "znotraj"
3380
 
3381
- #: settings.php:1454
3382
  msgid "Comma separated HTML tag names of container elements"
3383
  msgstr "Z vejico ločena imena HTML značk vsebovalnih elementov"
3384
 
3385
  #. translators: inside [HTML tags] elements that contain
3386
- #: settings.php:1463
3387
  msgid "elements that"
3388
  msgstr "elementov, ki"
3389
 
3390
- #: settings.php:1489 settings.php:2082
3391
  msgid "Post/Static page must have between"
3392
  msgstr "Prispevek/Statična stran mora imeti med"
3393
 
3394
- #: settings.php:1495
3395
  msgid "Minimum number of paragraphs, leave empty for no limit"
3396
  msgstr "Najmanjše število odstavkov, prazno pomeni brez omejitev"
3397
 
3398
- #: settings.php:1504
3399
  msgid "Maximum number of paragraphs, leave empty for no limit"
3400
  msgstr "Največje število odstavkov, prazno pomeni brez omejitev"
3401
 
3402
  #. Translators: Post/Static page must have between X and Y paragraphs
3403
- #: settings.php:1507
3404
  msgid "paragraph"
3405
  msgid_plural "paragraphs"
3406
  msgstr[0] "odstavek"
@@ -3408,11 +3412,11 @@ msgstr[1] "odstavka"
3408
  msgstr[2] "odstavke"
3409
  msgstr[3] "odstavkov"
3410
 
3411
- #: settings.php:1515
3412
  msgid "Minimum number of words in paragraphs above"
3413
  msgstr "Najmanjše število besed v odstavkih zgoraj"
3414
 
3415
- #: settings.php:1521
3416
  msgid ""
3417
  "Used only with automatic insertion After paragraph and empty paragraph "
3418
  "numbers"
@@ -3420,128 +3424,128 @@ msgstr ""
3420
  "Uporabljeno samo s samodejnim vstavljanjem Za odstavkom in s praznimi "
3421
  "številkami odstavkov"
3422
 
3423
- #: settings.php:1531 settings.php:1557
3424
  msgid "In"
3425
  msgstr "V"
3426
 
3427
- #: settings.php:1537
3428
  msgid "Number of paragraphs above to check, leave empty to disable checking"
3429
  msgstr "Število odstavkov zgoraj za preverjanje, prazno onemogoči preverjanje"
3430
 
3431
- #: settings.php:1540
3432
  msgid "paragraphs above avoid"
3433
  msgstr "odstavkih zgoraj se izogni"
3434
 
3435
- #: settings.php:1563
3436
  msgid "Number of paragraphs below to check, leave empty to disable checking"
3437
  msgstr "Število odstavkov spodaj za preverjanje, prazno onemogoči preverjanje"
3438
 
3439
- #: settings.php:1566
3440
  msgid "paragraphs below avoid"
3441
  msgstr "odstavkih spodaj se izogni"
3442
 
3443
- #: settings.php:1582
3444
  msgid "If text is found"
3445
  msgstr "Če je besedilo najdeno"
3446
 
3447
- #: settings.php:1589
3448
  msgid "check up to"
3449
  msgstr "preveri do"
3450
 
3451
- #: settings.php:1597
3452
  msgctxt "check up to"
3453
  msgid "paragraphs"
3454
  msgstr "odstavkov"
3455
 
3456
- #: settings.php:1613
3457
  msgid "Categories"
3458
  msgstr "Kategorije"
3459
 
3460
- #: settings.php:1616
3461
  msgid "Toggle category editor"
3462
  msgstr "Preklopi urejevalnik kategorij"
3463
 
3464
- #: settings.php:1619
3465
  msgid "Comma separated category slugs"
3466
  msgstr "Z vejico ločeni ključi kategorij"
3467
 
3468
- #: settings.php:1623
3469
  msgid "Blacklist categories"
3470
  msgstr "Črni seznam kategorij"
3471
 
3472
- #: settings.php:1627
3473
  msgid "Whitelist categories"
3474
  msgstr "Beli seznam kategorij"
3475
 
3476
- #: settings.php:1639
3477
  msgid "Tags"
3478
  msgstr "Oznake"
3479
 
3480
- #: settings.php:1642
3481
  msgid "Toggle tag editor"
3482
  msgstr "Preklopi urejevalnik oznak"
3483
 
3484
- #: settings.php:1645
3485
  msgid "Comma separated tag slugs"
3486
  msgstr "Z vejico ločeni ključi oznak"
3487
 
3488
- #: settings.php:1649
3489
  msgid "Blacklist tags"
3490
  msgstr "Črni seznam oznak"
3491
 
3492
- #: settings.php:1653
3493
  msgid "Whitelist tags"
3494
  msgstr "Beli seznam oznak"
3495
 
3496
- #: settings.php:1665
3497
  msgid "Taxonomies"
3498
  msgstr "Taksonomije"
3499
 
3500
- #: settings.php:1668
3501
  msgid "Toggle taxonomy editor"
3502
  msgstr "Preklopi urejevalnik taksonomij"
3503
 
3504
- #: settings.php:1671
3505
  msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
3506
  msgstr "Z vejico ločeni ključi: taksonomija, izraz ali taksonomija:izraz"
3507
 
3508
- #: settings.php:1675
3509
  msgid "Blacklist taxonomies"
3510
  msgstr "Črni seznam taksonomij"
3511
 
3512
- #: settings.php:1679
3513
  msgid "Whitelist taxonomies"
3514
  msgstr "Beli seznam taksonomij"
3515
 
3516
- #: settings.php:1691
3517
  msgid "Post IDs"
3518
  msgstr "ID-ji prispevkov"
3519
 
3520
- #: settings.php:1694
3521
  msgid "Toggle post/page ID editor"
3522
  msgstr "Preklopi urejevalnik ID-jev prispevkov/strani"
3523
 
3524
- #: settings.php:1697
3525
  msgid "Comma separated post/page IDs"
3526
  msgstr "Z vejico ločeni ID-ji prispevkov/strani"
3527
 
3528
- #: settings.php:1701
3529
  msgid "Blacklist IDs"
3530
  msgstr "Črni seznam ID-jev"
3531
 
3532
- #: settings.php:1705
3533
  msgid "Whitelist IDs"
3534
  msgstr "Beli seznam ID-jev"
3535
 
3536
- #: settings.php:1717
3537
  msgid "Urls"
3538
  msgstr "Url-ji"
3539
 
3540
- #: settings.php:1720
3541
  msgid "Toggle url editor"
3542
  msgstr "Preklopi urejevalnik url-jev"
3543
 
3544
- #: settings.php:1723
3545
  msgid ""
3546
  "Comma separated urls (page addresses) starting with / after domain name (e."
3547
  "g. /permalink-url, use only when you need to taget a specific url not "
@@ -3553,23 +3557,23 @@ msgstr ""
3553
  "nsalov, ki drugače ni dostopen). Uporabite lahko tudi delne url-je z * (/url-"
3554
  "začetek*. *url-vzorec*, *url-konec)"
3555
 
3556
- #: settings.php:1727
3557
  msgid "Blacklist urls"
3558
  msgstr "Črni seznam url-jev"
3559
 
3560
- #: settings.php:1731
3561
  msgid "Whitelist urls"
3562
  msgstr "Beli seznam url-jev"
3563
 
3564
- #: settings.php:1742
3565
  msgid "Url parameters"
3566
  msgstr "Url parametri"
3567
 
3568
- #: settings.php:1746
3569
  msgid "Toggle url parameter and cookie editor"
3570
  msgstr "Preklopi urejevalnik url parametrov in piškotkov"
3571
 
3572
- #: settings.php:1749
3573
  msgid ""
3574
  "Comma separated url query parameters or cookies with optional values (use "
3575
  "'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
@@ -3578,23 +3582,23 @@ msgstr ""
3578
  "vrednostmi (uporabite 'prameter', 'prameter=vrednost', 'piškotek' or "
3579
  "'piškotek=vrednost')"
3580
 
3581
- #: settings.php:1753
3582
  msgid "Blacklist url parameters"
3583
  msgstr "Črni seznam url parametrov"
3584
 
3585
- #: settings.php:1757
3586
  msgid "Whitelist url parameters"
3587
  msgstr "Beli seznam url parametrov"
3588
 
3589
- #: settings.php:1768
3590
  msgid "Referrers"
3591
  msgstr "Napotitelji"
3592
 
3593
- #: settings.php:1771
3594
  msgid "Toggle referer editor"
3595
  msgstr "Preklopi urejevalnik napotiteljev"
3596
 
3597
- #: settings.php:1774
3598
  msgid ""
3599
  "Comma separated domains, use # for no referrer, you can also use partial "
3600
  "domains with * (domain-start*. *domain-pattern*, *domain-end)"
@@ -3602,48 +3606,48 @@ msgstr ""
3602
  "Z vejico ločene domene, uporabite # za primer, ko ni napotitelja, uporabite "
3603
  "lahko tudi delne domene z * (začetek-domene*. *vzorec-domene*, *konec-domene)"
3604
 
3605
- #: settings.php:1778
3606
  msgid "Blacklist referers"
3607
  msgstr "Črni seznam napotiteljev"
3608
 
3609
- #: settings.php:1782
3610
  msgid "Whitelist referers"
3611
  msgstr "Beli seznam napotiteljev"
3612
 
3613
- #: settings.php:1793
3614
  msgid "Clients"
3615
  msgstr "Odjemalci"
3616
 
3617
- #: settings.php:1796
3618
  msgid "Toggle client editor"
3619
  msgstr "Preklopi urejevalnik odjemalcev"
3620
 
3621
- #: settings.php:1799
3622
  msgid "Comma separated names (operating systems, browsers, devices)"
3623
  msgstr "Z vejico ločena imena (operacijski sistemi, brskalniki, naprave)"
3624
 
3625
- #: settings.php:1803
3626
  msgid "Blacklist clients"
3627
  msgstr "Črni seznam odjemalcev"
3628
 
3629
- #: settings.php:1807
3630
  msgid "Whitelist clients"
3631
  msgstr "Beli seznam odjemalcev"
3632
 
3633
- #: settings.php:1828
3634
  msgid "Enable widget for this block"
3635
  msgstr "Omogočite gradnik za ta blok"
3636
 
3637
- #: settings.php:1840
3638
  msgid "Enable shortcode for manual insertion of this block in posts and pages"
3639
  msgstr ""
3640
  "Omogočite kratko kodo za ročno vstavljanje tega bloka v prispevke in strani"
3641
 
3642
- #: settings.php:1841 settings.php:4105
3643
  msgid "Shortcode"
3644
  msgstr "Kratka koda"
3645
 
3646
- #: settings.php:1856
3647
  msgid ""
3648
  "Enable PHP function call to insert this block at any position in theme file. "
3649
  "If function is disabled for block it will return empty string."
@@ -3652,66 +3656,66 @@ msgstr ""
3652
  "položaju v datoteki teme. Če je funkcija za blok onemogočena, bo vrnila "
3653
  "prazen niz."
3654
 
3655
- #: settings.php:1857
3656
  msgid "PHP function"
3657
  msgstr "PHP funkcija"
3658
 
3659
- #: settings.php:1872
3660
  msgid "Client-side device detection"
3661
  msgstr "Zaznavanje naprave na strani klienta"
3662
 
3663
- #: settings.php:1873
3664
  msgid "Server-side device detection"
3665
  msgstr "Zaznavanje naprave na strani strežnika"
3666
 
3667
- #: settings.php:1880
3668
  msgid "Use client-side detection to"
3669
  msgstr "Uporabi zaznavanje na strani klienta in"
3670
 
3671
- #: settings.php:1882
3672
  msgid "Either show/hide or insert when the page is loaded on wanted viewports"
3673
  msgstr ""
3674
  "Bodisi prikaži/skrij ali vstavi, ko se stran naloži na želenih pogledih"
3675
 
3676
  #. Translators: only on (the following devices): viewport names (devices)
3677
  #. listed
3678
- #: settings.php:1887
3679
  msgid "only on"
3680
  msgstr "samo na"
3681
 
3682
- #: settings.php:1915
3683
  msgid "Device min width %s px"
3684
  msgstr "Najmanjša širina naprave %s px"
3685
 
3686
- #: settings.php:1941
3687
  msgid "Use server-side detection to insert block only for"
3688
  msgstr "Uporabi zaznavanje na strani strežnika za vstavljanje bloka samo za"
3689
 
3690
- #: settings.php:1960
3691
  msgid "Filter"
3692
  msgstr "Filter"
3693
 
3694
- #: settings.php:1961
3695
  msgid "Word Count"
3696
  msgstr "Število Besed"
3697
 
3698
- #: settings.php:1962 settings.php:4095
3699
  msgid "Scheduling"
3700
  msgstr "Urnik"
3701
 
3702
- #: settings.php:1963
3703
  msgid "Display"
3704
  msgstr "Prikaz"
3705
 
3706
- #: settings.php:1965 settings.php:2209
3707
  msgid "General"
3708
  msgstr "Splošno"
3709
 
3710
- #: settings.php:1977
3711
  msgid "Old settings for AMP pages detected"
3712
  msgstr "Zaznane stare nastavitve za AMP strani"
3713
 
3714
- #: settings.php:1977
3715
  msgid ""
3716
  "To insert different codes on normal and AMP pages separate them with "
3717
  "[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
@@ -3722,44 +3726,44 @@ msgstr ""
3722
  "straneh samo, ko želite vstaviti ISTO KODO tudi na AMP straneh (brez AMP "
3723
  "separatorja)."
3724
 
3725
- #: settings.php:1977
3726
  msgid "AMP pages"
3727
  msgstr "AMP strani"
3728
 
3729
- #: settings.php:1982
3730
  msgid "Enable insertion for Ajax requests"
3731
  msgstr "Omogoči vstavljanje v Ajax zahtevah"
3732
 
3733
- #: settings.php:1982
3734
  msgid "Ajax requests"
3735
  msgstr "Ajax zahteve"
3736
 
3737
- #: settings.php:1987
3738
  msgid "Enable insertion in RSS feeds"
3739
  msgstr "Omogoči vstavljanje v RSS virih"
3740
 
3741
- #: settings.php:1987
3742
  msgid "RSS Feed"
3743
  msgstr "RSS Vir"
3744
 
3745
- #: settings.php:1992
3746
  msgid "Enable insertion on page for Error 404: Page not found"
3747
  msgstr "Omogoči vstavljanje na strani za napako 404: Stran ne obstaja"
3748
 
3749
- #: settings.php:1992
3750
  msgid "Error 404 page"
3751
  msgstr "Stran napake 404"
3752
 
3753
- #: settings.php:2004
3754
  msgid "Maximum number of insertions of this block. Empty or 0 means no limit."
3755
  msgstr ""
3756
  "Največje število vstavljanj tega bloka. Prazno ali 0 pomeni brez omejitev."
3757
 
3758
- #: settings.php:2005
3759
  msgid "insertions"
3760
  msgstr "vstavljanj"
3761
 
3762
- #: settings.php:2007
3763
  msgid ""
3764
  "Count this block for Max blocks per page limit (defined on the tab [*] / tab "
3765
  "General)"
@@ -3767,15 +3771,15 @@ msgstr ""
3767
  "Štej ta blok za omejitev Največ blokov na stran (določena na zavihku [*] / "
3768
  "zavihek Splošno)"
3769
 
3770
- #: settings.php:2010 settings.php:2378
3771
  msgid "Max blocks per page"
3772
  msgstr "Največ blokov na stran"
3773
 
3774
- #: settings.php:2022
3775
  msgid "Insert for"
3776
  msgstr "Vstavi za"
3777
 
3778
- #: settings.php:2030
3779
  msgid ""
3780
  "Insert block only when WP function in_the_loop () returns true (WP loop is "
3781
  "currently active). Might speed up insertion on content pages when "
@@ -3785,26 +3789,26 @@ msgstr ""
3785
  "trenutno aktivna). Lahko pospeši vstavljanje na določenih straneh, ko je "
3786
  "filter the_content večkrat klican."
3787
 
3788
- #: settings.php:2033
3789
  msgid "Insert only in the loop"
3790
  msgstr "Vstavi samo v zanki"
3791
 
3792
- #: settings.php:2039
3793
  msgid ""
3794
  "Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
3795
  msgstr ""
3796
  "Onemogoči predpomnenje za vtičnike WP Super Cache, W3 Total Cache in WP "
3797
  "Rocket"
3798
 
3799
- #: settings.php:2039
3800
  msgid "Disable caching"
3801
  msgstr "Onemogoči predpomnjenje"
3802
 
3803
- #: settings.php:2051
3804
  msgid "Filter insertions"
3805
  msgstr "Filtriraj vstavljanja"
3806
 
3807
- #: settings.php:2054
3808
  msgid ""
3809
  "Filter multiple insertions by specifying wanted insertions for this block - "
3810
  "single number, comma separated numbers or %N for every N insertions - empty "
@@ -3816,56 +3820,56 @@ msgstr ""
3816
  "- prazno pomeni vsa vstavljanja / brez filtra. Nastavite Števec za filter na "
3817
  "Samodejni števec, če uporabljate samo eno vrsto vstavljanja."
3818
 
3819
- #: settings.php:2057
3820
  msgid "using"
3821
  msgstr "z uporabo"
3822
 
3823
- #: settings.php:2076
3824
  msgid "Checked means specified calls are unwanted"
3825
  msgstr "Odkljukano pomeni, da so našteti klici neželjeni"
3826
 
3827
- #: settings.php:2076
3828
  msgid "Invert filter"
3829
  msgstr "Obrni filter"
3830
 
3831
- #: settings.php:2083
3832
  msgid "Minimum number of post/static page words, leave empty for no limit"
3833
  msgstr ""
3834
  "Najmanjše število besed v prispevkih/statičnih straneh, prazno pomeni brez "
3835
  "omejitev"
3836
 
3837
- #: settings.php:2085
3838
  msgid "Maximum number of post/static page words, leave empty for no limit"
3839
  msgstr ""
3840
  "Največje število besed v prispevkih/statičnih straneh, prazno pomeni brez "
3841
  "omejitev"
3842
 
3843
- #: settings.php:2098
3844
  msgid "for"
3845
  msgstr "za"
3846
 
3847
- #: settings.php:2098
3848
  msgid "days after publishing"
3849
  msgstr "dni po objavi"
3850
 
3851
- #: settings.php:2100
3852
  msgid "Not available"
3853
  msgstr "Ni na razpolago"
3854
 
3855
- #: settings.php:2113 settings.php:2370
3856
  msgid "Ad label"
3857
  msgstr "Oznaka oglasa"
3858
 
3859
- #: settings.php:2133
3860
  msgid "General tag"
3861
  msgstr "Splošna oznaka"
3862
 
3863
- #: settings.php:2137
3864
  msgid "Used for [adinserter data=''] shortcodes when no data is found"
3865
  msgstr "Uporabljeno za kratke kode [adinserter data=''] ko ni podatkov"
3866
 
3867
  #. translators: %s: HTML tags
3868
- #: settings.php:2146
3869
  msgid ""
3870
  "%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
3871
  "side device detection!"
@@ -3873,86 +3877,86 @@ msgstr ""
3873
  "%s OPOZORILO: slog %s Brez Ovijanja %s nima kode za ovijanje , ki je "
3874
  "potrebna za zaznavanje naprave na strani klienta!"
3875
 
3876
- #: settings.php:2158
3877
  msgid "Settings"
3878
  msgstr "Nastavitve"
3879
 
3880
- #: settings.php:2161
3881
  msgid "Settings timestamp"
3882
  msgstr "Časovni žig nastavitev"
3883
 
3884
- #: settings.php:2174
3885
  msgid "Are you sure you want to reset all settings?"
3886
  msgstr "Ali ste prepričani, da želite ponastaviti vse nastavitve?"
3887
 
3888
- #: settings.php:2174
3889
  msgid "Reset All Settings"
3890
  msgstr "Ponastavi Vse Nastavitve"
3891
 
3892
- #: settings.php:2210
3893
  msgid "Viewports"
3894
  msgstr "Pogledi"
3895
 
3896
- #: settings.php:2211
3897
  msgid "Hooks"
3898
  msgstr "Ročice"
3899
 
3900
- #: settings.php:2212
3901
  msgid "Header"
3902
  msgstr "Glava"
3903
 
3904
- #: settings.php:2213 strings.php:30
3905
  msgid "Footer"
3906
  msgstr "Noga"
3907
 
3908
- #: settings.php:2218
3909
  msgid "Debugging"
3910
  msgstr "Razhroščevanje"
3911
 
3912
- #: settings.php:2228
3913
  msgid "Plugin priority"
3914
  msgstr "Prednost vtičnika"
3915
 
3916
- #: settings.php:2236
3917
  msgid "Output buffering"
3918
  msgstr "Predpomnjenje izhoda"
3919
 
3920
- #: settings.php:2239
3921
  msgid "Needed for position Above header but may not work with all themes"
3922
  msgstr "Potrebno za položaj Nad glavo, ampak lahko, da ne dela z vsemi temami"
3923
 
3924
- #: settings.php:2247
3925
  msgid "Syntax highlighting theme"
3926
  msgstr "Tema za poudarjanje sintakse"
3927
 
3928
- #: settings.php:2254
3929
  msgctxt "no syntax highlighting themes"
3930
  msgid "None"
3931
  msgstr "Brez"
3932
 
3933
- #: settings.php:2255
3934
  msgid "No Syntax Highlighting"
3935
  msgstr "Brez Poudarjanja Sintakse"
3936
 
3937
- #: settings.php:2257
3938
  msgctxt "syntax highlighting themes"
3939
  msgid "Light"
3940
  msgstr "Svetle"
3941
 
3942
- #: settings.php:2272
3943
  msgctxt "syntax highlighting themes"
3944
  msgid "Dark"
3945
  msgstr "Temne"
3946
 
3947
- #: settings.php:2298
3948
  msgid "Min. user role for ind. exceptions editing"
3949
  msgstr "Najm. uporabniška vloga za urejanje izjem"
3950
 
3951
- #: settings.php:2308
3952
  msgid "Disable caching for logged in administrators"
3953
  msgstr "Onemogoči predpomnenje za prijavljene skrbnike"
3954
 
3955
- #: settings.php:2311
3956
  msgid ""
3957
  "Enabled means that logged in administrators will see non-cached (live) pages "
3958
  "(applies to WP Super Cache, W3 Total Cache and WP Rocket plugins)"
@@ -3960,11 +3964,11 @@ msgstr ""
3960
  "Omogočeno pomeni, da bodo prijavljeni skrbniki videli ne-predpomnjene (žive) "
3961
  "strani (velja za vtičnike WP Super Cache, W3 Total Cache in WP Rocket)"
3962
 
3963
- #: settings.php:2319
3964
  msgid "Sticky widget mode"
3965
  msgstr "Način za lepljive gradnike"
3966
 
3967
- #: settings.php:2322
3968
  msgid ""
3969
  "CSS mode is the best approach but may not work with all themes. JavaScript "
3970
  "mode works with most themes but may reload ads on page load."
@@ -3973,19 +3977,19 @@ msgstr ""
3973
  "Način JavaScript dela z večino tem, ampak lahko ponovno naloži oglase pri "
3974
  "nalaganju strani."
3975
 
3976
- #: settings.php:2330
3977
  msgid "Sticky widget top margin"
3978
  msgstr "Zgornji rob za lepljiv gradnik"
3979
 
3980
- #: settings.php:2338
3981
  msgid "Dynamic blocks"
3982
  msgstr "Dinamični bloki"
3983
 
3984
- #: settings.php:2351
3985
  msgid "Functions for paragraph counting"
3986
  msgstr "Funkcije za štetje odstavkov"
3987
 
3988
- #: settings.php:2354
3989
  msgid ""
3990
  "Standard PHP functions are faster and work in most cases, use Multibyte "
3991
  "functions if paragraphs are not counted properly on non-english pages."
@@ -3994,15 +3998,15 @@ msgstr ""
3994
  "Večznakovne funkcije, če na ne-angleških straneh odstavki niso pravilno "
3995
  "šteti."
3996
 
3997
- #: settings.php:2362
3998
  msgid "No paragraph counting inside"
3999
  msgstr "Ni štetja odstavkov znotraj"
4000
 
4001
- #: settings.php:2373
4002
  msgid "Label text or HTML code"
4003
  msgstr "Besedilo oznake ali HTML koda"
4004
 
4005
- #: settings.php:2381
4006
  msgid ""
4007
  "Maximum number of inserted blocks per page. You need to enable Max page "
4008
  "insertions (button Misc / tab Insertion) to count block for this limit."
@@ -4011,12 +4015,12 @@ msgstr ""
4011
  "blokov na stran (gumb Razno / zavihek Vstavljanje), da bo blok štel za to "
4012
  "omejitev."
4013
 
4014
- #: settings.php:2395
4015
  msgid "Plugin usage tracking"
4016
  msgstr "Sledenje uporabe vtičnika"
4017
 
4018
  #. translators: %s: Ad Inserter
4019
- #: settings.php:2398
4020
  msgid ""
4021
  "Enable tracking of %s usage and help us to make improvements to the plugin. "
4022
  "Only information regarding the WordPress environment and %s usage is "
@@ -4026,22 +4030,14 @@ msgstr ""
4026
  "Beležijo se samo informacije glede okolja WordPress in uporabe %s-ja (enkrat "
4027
  "mesečno in ob dogodkih kot so aktivacija/deaktivacija)."
4028
 
4029
- #: settings.php:2416
4030
  msgid "CSS class name for the wrapping div"
4031
  msgstr "Ime CSS razreda za div za ovijanje"
4032
 
4033
- #: settings.php:2416
4034
  msgid "Block class name"
4035
  msgstr "Ime razreda za blok"
4036
 
4037
- #: settings.php:2420
4038
- msgid "Include general plugin block class"
4039
- msgstr "Vključi splošni razred vtičnika za blok"
4040
-
4041
- #: settings.php:2420
4042
- msgid "Block class"
4043
- msgstr "Razred bloka"
4044
-
4045
  #: settings.php:2425
4046
  msgid "Include block number class"
4047
  msgstr "Vključi razred številke bloka"
@@ -4051,100 +4047,108 @@ msgid "Block number class"
4051
  msgstr "Razred številke bloka"
4052
 
4053
  #: settings.php:2430
 
 
 
 
 
 
 
 
4054
  msgid ""
4055
  "Instead of alignment classes generate inline alignment styles for blocks"
4056
  msgstr ""
4057
  "Namesto razredov za poravnavo ustvari medvrstične sloge za poravnavo blokov"
4058
 
4059
- #: settings.php:2430
4060
  msgid "Inline styles"
4061
  msgstr "Medvrstični slogi"
4062
 
4063
- #: settings.php:2436
4064
  msgid "Preview of the block wrapping code"
4065
  msgstr "Predogled kode za ovijanje blokov"
4066
 
4067
- #: settings.php:2437
4068
  msgid "Wrapping div"
4069
  msgstr "div za ovijanje"
4070
 
4071
- #: settings.php:2438 settings.php:2878
4072
  msgid "BLOCK CODE"
4073
  msgstr "KODA BLOKA"
4074
 
4075
- #: settings.php:2446
4076
  msgid "Viewport Settings used for client-side device detection"
4077
  msgstr ""
4078
  "Nastavitve Pogledov, uporabljene za zaznavanje naprav na strani klienta"
4079
 
4080
  #. Translators: %d: viewport number
4081
- #: settings.php:2454
4082
  msgid "Viewport %d name"
4083
  msgstr "Ime pogleda %d"
4084
 
4085
- #: settings.php:2457
4086
  msgid "min width"
4087
  msgstr "najmanjša širina"
4088
 
4089
- #: settings.php:2468
4090
  msgid "Custom Hooks"
4091
  msgstr "Ročice Po Meri"
4092
 
4093
- #: settings.php:2480 settings.php:2483
4094
  msgid "Enable hook"
4095
  msgstr "Omogoči ročico"
4096
 
4097
  #. translators: %d: hook number
4098
- #: settings.php:2483
4099
  msgid "Hook %d name"
4100
  msgstr "Ime ročice %d"
4101
 
4102
- #: settings.php:2486
4103
  msgid "Hook name for automatic insertion selection"
4104
  msgstr "Ime ročice za izbiro samodejnega vstavljanja"
4105
 
4106
- #: settings.php:2489
4107
  msgid "action"
4108
  msgstr "akcija"
4109
 
4110
- #: settings.php:2492
4111
  msgid "Action name as used in the do_action () function"
4112
  msgstr "Ime akcije kot je uporabljena v do_action () funkciji"
4113
 
4114
- #: settings.php:2495
4115
  msgid "priority"
4116
  msgstr "prednost"
4117
 
4118
- #: settings.php:2498
4119
  msgid "Priority for the hook (default is 10)"
4120
  msgstr "Prednost za ročico (privzeta je 10)"
4121
 
4122
- #: settings.php:2519
4123
  msgid "Enable insertion of this code into HTML page header"
4124
  msgstr "Omogoči vstavljanje te kode v glavi HTML strani"
4125
 
4126
- #: settings.php:2523 settings.php:2590 settings.php:2772
4127
  msgid "Process PHP code"
4128
  msgstr "Procesiraj PHP kodo"
4129
 
4130
- #: settings.php:2527
4131
  msgid "HTML Page Header Code"
4132
  msgstr "Koda v Glavi HTML Strani"
4133
 
4134
- #: settings.php:2535
4135
  msgid "Code in the %s section of the HTML page"
4136
  msgstr "Koda v %s delu HTML strani"
4137
 
4138
- #: settings.php:2536
4139
  msgctxt "code in the header"
4140
  msgid "NOT ENABLED"
4141
  msgstr "NI OMOGOČENA"
4142
 
4143
- #: settings.php:2553 settings.php:2621
4144
  msgid "Use server-side detection to insert code only for"
4145
  msgstr "Zaznavanje na strani strežnika za vstavljanje samo za"
4146
 
4147
- #: settings.php:2568
4148
  msgid ""
4149
  "Enable insertion of this code into HTML page header on page for Error 404: "
4150
  "Page not found"
@@ -4152,29 +4156,29 @@ msgstr ""
4152
  "Omogoči vstavljanje te kode v HTML glavo na strani za napako 404: Stran ne "
4153
  "obstaja"
4154
 
4155
- #: settings.php:2568 settings.php:2636
4156
  msgid "Insert on Error 404 page"
4157
  msgstr "Vstavi na strani Napake 404"
4158
 
4159
- #: settings.php:2586
4160
  msgid "Enable insertion of this code into HTML page footer"
4161
  msgstr "Omogoči vstavljanje te kode v HTML nogi"
4162
 
4163
- #: settings.php:2594
4164
  msgid "HTML Page Footer Code"
4165
  msgstr "Koda v Nogi HTML Strani"
4166
 
4167
  #. translators: %s: HTML tags
4168
- #: settings.php:2602
4169
  msgid "Code before the %s tag of the the HTML page"
4170
  msgstr "Koda pred %s značko HTML strani"
4171
 
4172
- #: settings.php:2603
4173
  msgctxt "code in the footer"
4174
  msgid "NOT ENABLED"
4175
  msgstr "NI OMOGOČENA"
4176
 
4177
- #: settings.php:2636
4178
  msgid ""
4179
  "Enable insertion of this code into HTML page footer on page for Error 404: "
4180
  "Page not found"
@@ -4182,32 +4186,32 @@ msgstr ""
4182
  "Omogoči vstavljanje te kode v nogo HTML strani na strani za napako 404: "
4183
  "Stran ne obstaja"
4184
 
4185
- #: settings.php:2652
4186
  msgid "Code for ad blocking detection inserted. Click for details."
4187
  msgstr ""
4188
  "Vstavljena je koda za zaznavanje blokiranja oglasov. Klikni za podrobnosti."
4189
 
4190
- #: settings.php:2657
4191
  msgid "Enable detection of ad blocking"
4192
  msgstr "Omogoči zaznavanje blokiranja oglasov"
4193
 
4194
- #: settings.php:2675
4195
  msgid "Global action when ad blocking is detected"
4196
  msgstr "Globalna akcija, ko je zaznano blokiranje oglasov"
4197
 
4198
- #: settings.php:2681
4199
  msgid "No action for"
4200
  msgstr "Ni akcije za"
4201
 
4202
- #: settings.php:2682
4203
  msgid "Exceptions for global action when ad blocking is detected."
4204
  msgstr "Izjeme za globalno akcijo, ko je zaznano blokiranje oglasov"
4205
 
4206
- #: settings.php:2692
4207
  msgid "Delay Action"
4208
  msgstr "Zakasni Akcijo"
4209
 
4210
- #: settings.php:2695
4211
  msgid ""
4212
  "Number of page views to delay action when ad blocking is detected. Leave "
4213
  "empty for no delay (action fires on first page view). Sets cookie."
@@ -4216,16 +4220,16 @@ msgstr ""
4216
  "oglasov. Prazno pomeni brez zakasnitve (akcija se sproži pri prvem ogledu "
4217
  "strani). Nastavi piškotek."
4218
 
4219
- #: settings.php:2695
4220
  msgctxt "Delay Action for x "
4221
  msgid "page views"
4222
  msgstr "ogledov strani"
4223
 
4224
- #: settings.php:2700
4225
  msgid "No Action Period"
4226
  msgstr "Obdobje Brez Akcije"
4227
 
4228
- #: settings.php:2703
4229
  msgid ""
4230
  "Number of days to supress action when ad blocking is detected. Leave empty "
4231
  "for no no-action period (action fires always after defined page view delay). "
@@ -4235,16 +4239,16 @@ msgstr ""
4235
  "pomeni brez zadržanja (akcija se sproži vedno po določeni zakasnitvi ogledov "
4236
  "strani). Nastavi piškotek."
4237
 
4238
- #: settings.php:2703
4239
  msgctxt "no action period"
4240
  msgid "days"
4241
  msgstr "dni"
4242
 
4243
- #: settings.php:2708
4244
  msgid "Custom Selectors"
4245
  msgstr "Selektorji Po Meri"
4246
 
4247
- #: settings.php:2711
4248
  msgid ""
4249
  "Comma seprarated list of selectors (.class, #id) used for additional ad "
4250
  "blocking detection. Invisible element or element with zero height means ad "
@@ -4254,15 +4258,15 @@ msgstr ""
4254
  "zaznavanje blokiranja oglasov. Neviden element ali element z ničelno višino "
4255
  "pomeni prisotnost blokiranja oglasov."
4256
 
4257
- #: settings.php:2723
4258
  msgid "Redirection Page"
4259
  msgstr "Stran za Preusmeritev"
4260
 
4261
- #: settings.php:2735
4262
  msgid "Custom Url"
4263
  msgstr "Url Po Meri"
4264
 
4265
- #: settings.php:2740
4266
  msgid ""
4267
  "Static page for redirection when ad blocking is detected. For other pages "
4268
  "select Custom url and set it below."
@@ -4270,35 +4274,35 @@ msgstr ""
4270
  "Statična stran za preusmeritev, ko je zaznano blokiranje oglasov. Za druge "
4271
  "strani izberite Url Po Meri in ga nastavite spodaj."
4272
 
4273
- #: settings.php:2749
4274
  msgid "Custom Redirection Url"
4275
  msgstr "Url za Preusmeritev Po Meri"
4276
 
4277
- #: settings.php:2761
4278
  msgid "Message HTML code"
4279
  msgstr "HTML koda sporočila"
4280
 
4281
- #: settings.php:2774
4282
  msgid "Preview message when ad blocking is detected"
4283
  msgstr "Predogled sporočila, ko je zaznano blokiranje oglasov"
4284
 
4285
- #: settings.php:2803
4286
  msgid "Prevent visitors from closing the warning message"
4287
  msgstr "Prepreči obiskovalcem, da zaprejo opozorilno sporočilo"
4288
 
4289
- #: settings.php:2803
4290
  msgid "Undismissible Message"
4291
  msgstr "Neodstranljivo Sporočilo"
4292
 
4293
- #: settings.php:2809
4294
  msgid "Not undismissible for"
4295
  msgstr "Ni neodstranljivo za"
4296
 
4297
- #: settings.php:2810
4298
  msgid "Users which can close the warning message."
4299
  msgstr "Obiskovalci, ki lahko zaprejo opozorilno sporočilo."
4300
 
4301
- #: settings.php:2824
4302
  msgid ""
4303
  "Force showing admin toolbar for administrators when viewing site. Enable "
4304
  "this option when you are logged in as admin and you don't see admin toolbar."
@@ -4307,84 +4311,84 @@ msgstr ""
4307
  "možnost, če ste prijavljeni kot skrbnik, pa ne vidite orodne vrstice za "
4308
  "skrbnike."
4309
 
4310
- #: settings.php:2832
4311
  msgid "Disable header code (Header tab)"
4312
  msgstr "Onemogoči kodo v glavi (zavihek Glava)"
4313
 
4314
- #: settings.php:2836
4315
  msgid "Disable footer code (Footer tab)"
4316
  msgstr "Onemogoči kodo v nogi (zavihek Noga)"
4317
 
4318
  #. translators: %s: Ad Inserter
4319
- #: settings.php:2840
4320
  msgid "Disable %s JavaScript code"
4321
  msgstr "Onemogoči %s JavaScript kodo"
4322
 
4323
  #. translators: %s: Ad Inserter
4324
- #: settings.php:2844
4325
  msgid "Disable %s CSS code"
4326
  msgstr "Onemogoči %s CSS kodo"
4327
 
4328
- #: settings.php:2848
4329
  msgid ""
4330
  "Disable PHP code processing (in all blocks including header and footer code)"
4331
  msgstr ""
4332
  "Onemogoči procesiranje PHP kode (v vseh blokh vključno z glavo in nogo)"
4333
 
4334
- #: settings.php:2852
4335
  msgid "Disable insertion of all blocks"
4336
  msgstr "Onemogoči vstavljanje vseh blokov"
4337
 
4338
- #: settings.php:2856
4339
  msgid "Disable insertions"
4340
  msgstr "Onemogoči vstavljanja"
4341
 
4342
  #. translators: %s: Ad Inserter
4343
- #: settings.php:2868
4344
  msgid "%s CSS CODE"
4345
  msgstr "%s CSS KODA"
4346
 
4347
- #: settings.php:2871
4348
  msgid "HEADER CODE"
4349
  msgstr "KODA GLAVE"
4350
 
4351
  #. translators: %s: PHP tags
4352
- #: settings.php:2877
4353
  msgid "BLOCK PHP CODE"
4354
  msgstr "PHP KODA BLOKA"
4355
 
4356
  #. translators: %s: Ad Inserter
4357
- #: settings.php:2883
4358
  msgid "%s JS CODE"
4359
  msgstr "%s JS KODA"
4360
 
4361
- #: settings.php:2886
4362
  msgid "FOOTER CODE"
4363
  msgstr "KODA NOGE"
4364
 
4365
- #: settings.php:2895
4366
  msgid "Force showing admin toolbar when viewing site"
4367
  msgstr "Vsili prikaz orodne vrstice za skrbnike pri ogledu strani"
4368
 
4369
- #: settings.php:2902
4370
  msgid "Enable debugging functions in admin toolbar"
4371
  msgstr "Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike"
4372
 
4373
- #: settings.php:2904
4374
  msgid "Debugging functions in admin toolbar"
4375
  msgstr "Funkcije za razhroščevanje v orodni vrstici za skrbnike"
4376
 
4377
- #: settings.php:2911
4378
  msgid "Enable debugging functions in admin toolbar on mobile screens"
4379
  msgstr ""
4380
  "Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike na mobilnih "
4381
  "zaslonih"
4382
 
4383
- #: settings.php:2913
4384
  msgid "Debugging functions on mobile screens"
4385
  msgstr "Funkcije za razhroščevanje na mobilnih zaslonih"
4386
 
4387
- #: settings.php:2920
4388
  msgid ""
4389
  "Enable Debugger widget and code insertion debugging (blocks, positions, "
4390
  "tags, processing) by url parameters for non-logged in users. Enable this "
@@ -4399,11 +4403,11 @@ msgstr ""
4399
  "pomagali diagnosticirati težave. Za prijavljene skrbnike je razhroščevanje "
4400
  "vedno omogočeno."
4401
 
4402
- #: settings.php:2922
4403
  msgid "Remote debugging"
4404
  msgstr "Oddaljeno razhroščevanje"
4405
 
4406
- #: settings.php:2929
4407
  msgid ""
4408
  "Disable translation to see original texts for the settings and messages in "
4409
  "English"
@@ -4411,206 +4415,206 @@ msgstr ""
4411
  "Onemogoči prevod za prikaz prvotnih besedil nastavitev in sporočil v "
4412
  "angleščini"
4413
 
4414
- #: settings.php:2931
4415
  msgid "Disable translation"
4416
  msgstr "Onemogoči prevod"
4417
 
4418
- #: settings.php:3305
4419
  msgid "Available positions for current theme"
4420
  msgstr "Razpoložljivi položaji za trenutno temo"
4421
 
4422
- #: settings.php:3306
4423
  msgid "Error checking pages"
4424
  msgstr "Napaka pri preverjanju strani"
4425
 
4426
- #: settings.php:3309
4427
  msgid "Toggle theme checker for available positions for automatic insertion"
4428
  msgstr ""
4429
  "Preklopi preverjanje teme za razpoložljive položaje za samodejno vstavljanje"
4430
 
4431
- #: settings.php:3309
4432
  msgctxt "Button"
4433
  msgid "Check"
4434
  msgstr "Preveri"
4435
 
4436
- #: settings.php:3316
4437
  msgid "Position"
4438
  msgstr "Položaj"
4439
 
4440
- #: settings.php:3321
4441
  msgid "Archive pages"
4442
  msgstr "Strani arhiva"
4443
 
4444
- #: settings.php:3380
4445
  msgid ""
4446
  "Position not available because output buffering (tab [*]) is not enabled"
4447
  msgstr ""
4448
  "Položaj ni na razpolago ker predpomnjenje izhoda (zavihek [*]) ni omogočeno"
4449
 
4450
- #: settings.php:3383 strings.php:226
4451
  msgid "Position not checked yet"
4452
  msgstr "Položaj še ni bil preverjen"
4453
 
4454
- #: settings.php:3419
4455
  msgid "Toggle active/all blocks"
4456
  msgstr "Preklopi aktive/vse bloke"
4457
 
4458
- #: settings.php:3423 strings.php:213
4459
  msgid "Rearrange block order"
4460
  msgstr "Preuredi vrstni red blokov"
4461
 
4462
- #: settings.php:3428
4463
  msgid "Save new block order"
4464
  msgstr "Shrani vrstni red blokov"
4465
 
4466
- #: settings.php:3454
4467
  msgid "Toggle active/all ad units"
4468
  msgstr "Preklopi aktivne/vse oglasne enote"
4469
 
4470
- #: settings.php:3458
4471
  msgid "Reload AdSense ad units"
4472
  msgstr "Ponovno naloži oglasne enote AdSense"
4473
 
4474
- #: settings.php:3462
4475
  msgid "Clear authorization to access AdSense account"
4476
  msgstr "Odstrani avtorizacijo za dostop do računa AdSense"
4477
 
4478
- #: settings.php:3466 settings.php:4262 settings.php:4329 strings.php:221
4479
  msgid "Google AdSense Homepage"
4480
  msgstr "Google AdSense Domača Stran"
4481
 
4482
- #: settings.php:3482
4483
  msgid "Switch to physical ads.txt file"
4484
  msgstr "Preklopi na fizično datoteko ads.txt"
4485
 
4486
- #: settings.php:3483
4487
  msgid "Switch to virtual ads.txt file"
4488
  msgstr "Preklopi na navidezno datoteko ads.txt"
4489
 
4490
  #. translators: %s: ads.txt
4491
- #: settings.php:3493
4492
  msgid "Open %s"
4493
  msgstr "Odpri %s"
4494
 
4495
- #: settings.php:3501
4496
  msgid "Reload ads.txt file"
4497
  msgstr "Ponovno naloži datoteko ads.txt"
4498
 
4499
- #: settings.php:3505 settings.php:4389
4500
  msgid "Save"
4501
  msgstr "Shrani"
4502
 
4503
  #. translators: %s: Ad Inserter
4504
- #: settings.php:3680
4505
  msgid "ads.txt file: %s virtual ads.txt file"
4506
  msgstr "datoteka ads.txt: %s navidezna datoteka ads.txt"
4507
 
4508
- #: settings.php:3685 settings.php:3705 strings.php:205
4509
  msgid "Warning"
4510
  msgstr "Opozorilo"
4511
 
4512
  #. translators: %s: Ad Inserter
4513
- #: settings.php:3685
4514
  msgid "%s virtual file ads.txt not found"
4515
  msgstr "%s navidezna datoteka ads.txt ni najdena"
4516
 
4517
- #: settings.php:3693
4518
  msgid "IMPORTANT"
4519
  msgstr "POMEMBNO"
4520
 
4521
- #: settings.php:3693
4522
  msgid "ads.txt file must be placed on the root domain"
4523
  msgstr "Datoteka ads.txt mora biti nameščena na korensko domeno"
4524
 
4525
- #: settings.php:3698
4526
  msgid "ads.txt file"
4527
  msgstr "datoteka ads.txt"
4528
 
4529
- #: settings.php:3698
4530
  msgid "NOT WRITABLE"
4531
  msgstr "NI ZAPISLJIVO"
4532
 
4533
- #: settings.php:3705
4534
  msgid "file %s not found"
4535
  msgstr "datoteka %s ni najdena"
4536
 
4537
- #: settings.php:3715
4538
  msgid "Account IDs found in blocks but not present in the ads.txt file"
4539
  msgstr ""
4540
  "IDji računov najdeni v blokih, vendar pa niso prisotni v datoteki ads.txt"
4541
 
4542
  #. translators: %s: Ad Inserter
4543
- #: settings.php:3721
4544
  msgid "%s virtual ads.txt file"
4545
  msgstr "%s navidezna datoteka ads.txt"
4546
 
4547
- #: settings.php:3743
4548
  msgid "Advertising system"
4549
  msgstr "Oglaševalski sistem"
4550
 
4551
- #: settings.php:3744
4552
  msgid "Account ID"
4553
  msgstr "ID Računa"
4554
 
4555
- #: settings.php:3746
4556
  msgid "Certification authority ID"
4557
  msgstr "ID organa za potrjevanje"
4558
 
4559
- #: settings.php:3761
4560
  msgid "Account ID found in block and present in ads.txt"
4561
  msgstr "ID računa najden v bloku in prisoten v datoteki ads.txt"
4562
 
4563
- #: settings.php:3765
4564
  msgid "Account ID found in block but not present in ads.txt"
4565
  msgstr "ID računa najden v bloku, vendar ni prisoten v datoteki ads.txt"
4566
 
4567
- #: settings.php:4052
4568
  msgid "Preview block"
4569
  msgstr "Predogled bloka"
4570
 
4571
- #: settings.php:4061
4572
  msgid "Insertion disabled"
4573
  msgstr "Vstavljanje onemogočeno"
4574
 
4575
- #: settings.php:4091
4576
  msgid "Automatic insertion"
4577
  msgstr "Samodejno vstavljanje"
4578
 
4579
  #. translators: %s HTML tags
4580
- #: settings.php:4092 settings.php:5077
4581
  msgid "PHP code processing"
4582
  msgstr "Procesiranje PHP kode"
4583
 
4584
- #: settings.php:4094
4585
  msgid "Device detection"
4586
  msgstr "Zaznavanje naprave"
4587
 
4588
- #: settings.php:4107
4589
  msgid "Widget positions"
4590
  msgstr "Položaji gradnikov"
4591
 
4592
- #: settings.php:4173
4593
  msgid "Ad unit"
4594
  msgstr "Enota"
4595
 
4596
- #: settings.php:4175
4597
  msgid "Slot ID"
4598
  msgstr "ID mesta"
4599
 
4600
- #: settings.php:4201
4601
  msgid "Copy AdSense code"
4602
  msgstr "Kopiraj kodo AdSense"
4603
 
4604
- #: settings.php:4204
4605
  msgid "Preview AdSense ad"
4606
  msgstr "Predogled oglasa AdSense"
4607
 
4608
- #: settings.php:4207
4609
  msgid "Get AdSense code"
4610
  msgstr "Pridobi kodo AdSense"
4611
 
4612
  #. translators: %s: HTML tags
4613
- #: settings.php:4239
4614
  msgid ""
4615
  "Please %s clear authorization %s with the button %s above and once again "
4616
  "authorize access to your AdSense account."
@@ -4618,16 +4622,16 @@ msgstr ""
4618
  "Prosimo, %s odstranite avtorizacijo %s z gumbom %s zgoraj in še enkrat "
4619
  "avtorizirajte dostop do vašega računa AdSense."
4620
 
4621
- #: settings.php:4258
4622
  msgid "AdSense Integration"
4623
  msgstr "Integracija AdSense"
4624
 
4625
- #: settings.php:4260
4626
  msgid "AdSense Integration - Step 2"
4627
  msgstr "Integracija AdSense - Korak 2"
4628
 
4629
  #. translators: %s: HTML tags
4630
- #: settings.php:4266
4631
  msgid ""
4632
  "Authorize %s to access your AdSense account. Click on the %s Get "
4633
  "Authorization Code %s button to open a new window where you can allow "
@@ -4640,7 +4644,7 @@ msgstr ""
4640
  "Avtoriziraj. %s"
4641
 
4642
  #. translators: %s: HTML tags
4643
- #: settings.php:4273
4644
  msgid ""
4645
  "If you get error, can't access ad units or would like to use own Google API "
4646
  "IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
@@ -4651,7 +4655,7 @@ msgstr ""
4651
  "je %s za vnos podatkov ID Klienta in Skrivnost Klienta."
4652
 
4653
  #. translators: %s: HTML tags
4654
- #: settings.php:4275
4655
  msgid ""
4656
  "Now you can authorize %s to access your AdSense account. Click on the %s Get "
4657
  "Authorization Code %s button to open a new window where you can allow "
@@ -4664,7 +4668,7 @@ msgstr ""
4664
  "gumb %s Avtoriziraj. %s"
4665
 
4666
  #. translators: %s: HTML tags
4667
- #: settings.php:4282
4668
  msgid ""
4669
  "If you get error %s invalid client %s click on the button %s Clear and "
4670
  "return to Step 1 %s to re-enter Client ID and Client Secret."
@@ -4672,32 +4676,32 @@ msgstr ""
4672
  "Če se pojavi napaka %s neveljaven klient %s, kliknite na gumb %s Odstrani in "
4673
  "se vrni na Korak 1 %s za ponoven vnos ID klienta in Skrivnost Klienta."
4674
 
4675
- #: settings.php:4293
4676
  msgid "Get Authorization Code"
4677
  msgstr "Pridobi Avtoriazcijsko Kodo"
4678
 
4679
- #: settings.php:4296
4680
  msgid "Enter Authorization Code"
4681
  msgstr "Vnesi Avorizacijsko Kodo"
4682
 
4683
- #: settings.php:4306
4684
  msgid "Use own API IDs"
4685
  msgstr "Uporabi lastne API ID-je"
4686
 
4687
- #: settings.php:4308
4688
  msgid "Clear and return to Step 1"
4689
  msgstr "Odstrani in se vrni na Korak 1"
4690
 
4691
- #: settings.php:4312
4692
  msgid "Authorize"
4693
  msgstr "Avtoriziraj"
4694
 
4695
- #: settings.php:4328
4696
  msgid "AdSense Integration - Step 1"
4697
  msgstr "Integracija AdSense - Korak 1"
4698
 
4699
  #. translators: %s: Ad Inserter
4700
- #: settings.php:4332
4701
  msgid ""
4702
  "Here can %s list configured AdSense ad units and get code for AdSense ads. "
4703
  "To do this you need to authorize %s to access your AdSense account. The "
@@ -4710,12 +4714,12 @@ msgstr ""
4710
  "Klienta in Skrivnost Klienta."
4711
 
4712
  #. translators: %s: HTML tags
4713
- #: settings.php:4341
4714
  msgid "Go to %s Google APIs and Services console %s"
4715
  msgstr "Pojdite na %s konzolo Google API-ji in Storitve %s"
4716
 
4717
  #. translators: %1: Ad Inserter, 2, 3: HTML tags
4718
- #: settings.php:4342
4719
  msgid ""
4720
  "Create %1$s project - if the project and IDs are already created click on "
4721
  "the %2$s Credentials %3$s in the sidebar and go to step 16"
@@ -4724,7 +4728,7 @@ msgstr ""
4724
  "%2$s Pooblastila %3$s v stranski vrstici in pojdite na korak 16"
4725
 
4726
  #. translators: %s: HTML tags
4727
- #: settings.php:4343
4728
  msgid ""
4729
  "Click on project selection and then click on the %s NEW PROJECT %s button to "
4730
  "create a new project"
@@ -4733,12 +4737,12 @@ msgstr ""
4733
  "ustvaritev novega projekta"
4734
 
4735
  #. translators: 1: Ad Inserter, 2, 3: HTML tags
4736
- #: settings.php:4344
4737
  msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
4738
  msgstr "Vnesite %1$s za ime projekta in kliknite na gumb %2$s Ustvari %3$s"
4739
 
4740
  #. translators: %s: HTML tags
4741
- #: settings.php:4345
4742
  msgid ""
4743
  "Click on project selection, wait for the project to be created and then and "
4744
  "select %s as the current project"
@@ -4747,39 +4751,39 @@ msgstr ""
4747
  "izberite %s kot trenutni projekt"
4748
 
4749
  #. translators: %s: HTML tags
4750
- #: settings.php:4346
4751
  msgid "Click on %s ENABLE APIS AND SERVICES %s"
4752
  msgstr "Klinkite na %s OMOGOČI API-je IN STORITVE %s"
4753
 
4754
  #. translators: %s: HTML tags
4755
- #: settings.php:4347
4756
  msgid "Search for adsense and enable %s"
4757
  msgstr "Poiščite adsense in omogočite %s"
4758
 
4759
  #. translators: %s: HTML tags
4760
- #: settings.php:4348
4761
  msgid "Click on %s CREATE CREDENTIALS %s"
4762
  msgstr "Klinkite na %s USTVARI POOBLASTILA %s"
4763
 
4764
  #. translators: %s: HTML tags
4765
- #: settings.php:4349
4766
  msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
4767
  msgstr "Za %s Od kod boste klicali API-je? %s izberite %s Drugi UI %s"
4768
 
4769
  #. translators: %s: HTML tags
4770
- #: settings.php:4350
4771
  msgid "For %s What data will you be accessing? %s select %s User data %s"
4772
  msgstr ""
4773
  "Za %s Do katerih podatkov boste dostopali? %s izberite %s Uporabniški "
4774
  "podatki %s"
4775
 
4776
  #. translators: %s: HTML tags
4777
- #: settings.php:4351
4778
  msgid "Click on %s What credentials do I need? %s"
4779
  msgstr "Kliknite na %s Kakšna pooblastila potrebujem? %s"
4780
 
4781
  #. translators: %s: HTML tags
4782
- #: settings.php:4352
4783
  msgid ""
4784
  "Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
4785
  "Ad Inserter client %s"
@@ -4788,7 +4792,7 @@ msgstr ""
4788
  "%s Ad Inserter klient %s"
4789
 
4790
  #. translators: %s: HTML tags
4791
- #: settings.php:4353
4792
  msgid ""
4793
  "Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
4794
  "enter %s"
@@ -4797,17 +4801,17 @@ msgstr ""
4797
  "uporabnikom %s vnesite %s"
4798
 
4799
  #. translators: %s: HTML tags
4800
- #: settings.php:4354
4801
  msgid "Click on %s Continue %s"
4802
  msgstr "Kliknite na %s Nadaljuj %s"
4803
 
4804
  #. translators: %s: HTML tags
4805
- #: settings.php:4355
4806
  msgid "Click on %s Done %s"
4807
  msgstr "Kliknite na %s Končaj %s"
4808
 
4809
  #. translators: %s: HTML tags
4810
- #: settings.php:4356
4811
  msgid ""
4812
  "Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
4813
  "secret %s"
@@ -4815,68 +4819,68 @@ msgstr ""
4815
  "Kliknite na %s Ad Inserter klient, %s da bi dobili %s ID klienta %s in %s "
4816
  "Skrivnost klienta %s"
4817
 
4818
- #: settings.php:4357
4819
  msgid "Copy them to the appropriate fields below"
4820
  msgstr "Skopirajte ju na ustrezni polji spodaj"
4821
 
4822
- #: settings.php:4363
4823
  msgid "Client ID"
4824
  msgstr "ID klienta"
4825
 
4826
- #: settings.php:4366
4827
  msgid "Enter Client ID"
4828
  msgstr "Vnesite ID klienta"
4829
 
4830
- #: settings.php:4371
4831
  msgid "Client secret"
4832
  msgstr "Skrivnost klienta"
4833
 
4834
- #: settings.php:4374
4835
  msgid "Enter Client secret"
4836
  msgstr "Vnesite Skrivnost klienta"
4837
 
4838
- #: settings.php:4384
4839
  msgid "Use default API IDs"
4840
  msgstr "Uporabi privzete API ID-je"
4841
 
4842
- #: settings.php:4537
4843
  msgid "All posts"
4844
  msgstr "Vsi prispevki"
4845
 
4846
- #: settings.php:4538
4847
  msgid "All static pages"
4848
  msgstr "Vse statične strani"
4849
 
4850
- #: settings.php:4689 settings.php:4702 settings.php:4716 settings.php:4732
4851
  msgid "Blank ad blocks? Looking for AdSense alternative?"
4852
  msgstr "Prazni oglasni bloki? Iščete alternativo za AdSense?"
4853
 
4854
- #: settings.php:4694 settings.php:4707 settings.php:4721 settings.php:4737
4855
- #: settings.php:4967 settings.php:4969 settings.php:4986 settings.php:4990
4856
- #: settings.php:4998 settings.php:4999 settings.php:5002 settings.php:5008
4857
- #: settings.php:5018 settings.php:5022
4858
  msgid "Looking for AdSense alternative?"
4859
  msgstr "Iščete alternativo za AdSense?"
4860
 
4861
- #: settings.php:4749
4862
  msgid "Try Infolinks Ads with Adsense or Media.net ads"
4863
  msgstr "Poskusite oglase Infolinks z oglasi AdSense ali Media.net"
4864
 
4865
- #: settings.php:4754 settings.php:4965 settings.php:4977 settings.php:5005
4866
- #: settings.php:5032
4867
  msgid "Use Infolinks ads with Adsense to earn more"
4868
  msgstr "Uporabite oglase Infolinks z AdSense za večji zaslužek"
4869
 
4870
- #: settings.php:4764 settings.php:4769 settings.php:4779 settings.php:4784
4871
- #: settings.php:4963 settings.php:4982 settings.php:5009 settings.php:5027
4872
  msgid "Maximize your revenue!"
4873
  msgstr "Povečajte svoj prihodek!"
4874
 
4875
- #: settings.php:4805 settings.php:4856
4876
  msgid "Support plugin development"
4877
  msgstr "Podprite razvoj vtičnika"
4878
 
4879
- #: settings.php:4810 settings.php:4857
4880
  msgid ""
4881
  "If you like Ad Inserter and have a moment, please help me spread the word by "
4882
  "reviewing the plugin on WordPres"
@@ -4884,12 +4888,12 @@ msgstr ""
4884
  "Če vam je Ad Inserter všeč in imate trenutek časa, mi prosim pomagajte "
4885
  "razširiti novico z mnenjem o vtičniku na WordPress-u"
4886
 
4887
- #: settings.php:4810
4888
  msgctxt "Review Ad Inserter"
4889
  msgid "Review"
4890
  msgstr "Ocenite"
4891
 
4892
- #: settings.php:4815
4893
  msgid ""
4894
  "If you like Ad Inserter and have a moment, please help me spread the word by "
4895
  "rating the plugin on WordPres"
@@ -4897,12 +4901,12 @@ msgstr ""
4897
  "Če vam je Ad Inserter všeč in imate trenutek časa, mi prosim pomagajte "
4898
  "razširiti novico z oceno vtičnika na WordPress-u"
4899
 
4900
- #: settings.php:4815
4901
  msgctxt "Rate Ad Inserter"
4902
  msgid "Rate"
4903
- msgstr "Ocenite %s"
4904
 
4905
- #: settings.php:4820
4906
  msgid ""
4907
  "Support free Ad Inserter development. If you are making money with Ad "
4908
  "Inserter consider donating some small amount. Even 1 dollar counts. Thank "
@@ -4911,16 +4915,16 @@ msgstr ""
4911
  "Podprite razvoj brezplačnega Ad Inserter-ja. Če služite denar z Ad Inserter-"
4912
  "jem razmislite o donaciji manjšega zneska. Tudi 1 evro šteje. Hvala!"
4913
 
4914
- #: settings.php:4820
4915
  msgid "Donate"
4916
  msgstr "Donirajte"
4917
 
4918
- #: settings.php:4827 settings.php:4872
4919
  msgid "Average rating of the plugin - Thank you!"
4920
  msgstr "Povprečna ocena vtičnika - Hvala!"
4921
 
4922
  #. translators: %s: Ad Inserter, HTML tags
4923
- #: settings.php:4838
4924
  msgid ""
4925
  "You've been using %s for a while now, and I hope you're happy with it. "
4926
  "Positive %s reviews %s are a great way to show your appreciation for my "
@@ -4934,24 +4938,24 @@ msgstr ""
4934
  "vzpodbuda za odpravo hroščev in dodajanje novih funkcij za boljšo "
4935
  "monetizacijo vašega spletnega mesta. %s Hvala!"
4936
 
4937
- #: settings.php:4857
4938
  msgid "Review"
4939
  msgstr "Ocena"
4940
 
4941
- #: settings.php:4861
4942
  msgid "Ad Inserter on Twitter"
4943
  msgstr "Ad Inserter na Twitter-ju"
4944
 
4945
- #: settings.php:4862
4946
  msgid "Ad Inserter on Facebook"
4947
  msgstr "Ad Inserter na Facebook-u"
4948
 
4949
- #: settings.php:4865
4950
  msgid "Follow Ad Inserter"
4951
  msgstr "Sledi Ad Inserter-ju"
4952
 
4953
  #. translators: %s: HTML tags
4954
- #: settings.php:4892
4955
  msgid ""
4956
  "Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
4957
  "and %s Common Settings %s pages"
@@ -4960,7 +4964,7 @@ msgstr ""
4960
  "Urejanje Kode, %s %s Pogoste Nastavitve %s"
4961
 
4962
  #. translators: %s: HTML tags
4963
- #: settings.php:4904
4964
  msgid ""
4965
  "%s New to %s AdSense? %s %s %s Connect your site %s - %s In-feed ads, %s %s "
4966
  "Auto ads, %s %s AMP ads %s &mdash; How to %s integrate %s Infolinks %s ad "
@@ -4971,7 +4975,7 @@ msgstr ""
4971
  "%s Infolinks %s oglasno kodo %s"
4972
 
4973
  #. translators: %s: HTML tags
4974
- #: settings.php:4925
4975
  msgid ""
4976
  "Become an %s affiliate %s for Ad Inserter Pro and earn commission for each "
4977
  "purchase you refer to us"
@@ -4980,7 +4984,7 @@ msgstr ""
4980
  "nakup, ki nam ga posredujete"
4981
 
4982
  #. translators: %s: HTML tags
4983
- #: settings.php:4932
4984
  msgid ""
4985
  "Ads are not showing? Check %s troubleshooting guide %s to find out how to "
4986
  "diagnose and fix the problem."
@@ -4989,7 +4993,7 @@ msgstr ""
4989
  "navodili za diagnozo in rešitvami za težave."
4990
 
4991
  #. translators: %s: HTML tags
4992
- #: settings.php:4936
4993
  msgid ""
4994
  "If you need any kind of help or support, please do not hesitate to open a "
4995
  "thread on the %s support forum. %s"
@@ -4997,49 +5001,49 @@ msgstr ""
4997
  "Če potrebujete kakršno koli pomoč ali podporo ne oklevajte in odprite novo "
4998
  "nit na %s podpornem forumu. %s"
4999
 
5000
- #: settings.php:4962 settings.php:5031
5001
  msgid "Code preview with visual CSS editor"
5002
  msgstr "Predogled kode z vizualnim CSS urejevalnikom"
5003
 
5004
- #: settings.php:4981 settings.php:5026
5005
  msgid "A/B testing - Track ad impressions and clicks"
5006
  msgstr "A/B testiranje - Sledi prikazom in klikom"
5007
 
5008
- #: settings.php:5040
5009
  msgid "Looking for Pro Ad Management plugin?"
5010
  msgstr "Iščete Pro vtičnik za Upravljanje z Oglasi?"
5011
 
5012
- #: settings.php:5041
5013
  msgid "To Optimally Monetize your WordPress website?"
5014
  msgstr "Za optimalno monetizacijo vašega WordPress spletnega mesta?"
5015
 
5016
  #. Translators: %s: price of Ad Inserter Pro
5017
- #: settings.php:5042
5018
  msgid "Different license types starting from %s"
5019
  msgstr "Različni tipi licenc začenši od %s"
5020
 
5021
  #. translators: %s HTML tags
5022
- #: settings.php:5045
5023
  msgid "%s AdSense Integration %s"
5024
  msgstr "%s Integracija AdSense %s"
5025
 
5026
  #. translators: %s HTML tags
5027
- #: settings.php:5046
5028
  msgid "Syntax highlighting %s editor %s"
5029
  msgstr "%s Urejevalnik %s s poudarjanjem sintakse"
5030
 
5031
  #. translators: %s HTML tags
5032
- #: settings.php:5047
5033
  msgid "%s Code preview %s with visual CSS editor"
5034
  msgstr "%s Predogled kode %s z vizualnim CSS urejevalnikom"
5035
 
5036
  #. translators: %s HTML tags
5037
- #: settings.php:5048
5038
  msgid "Simple user interface - all settings on a single page"
5039
  msgstr "Preprost uporabniški vmesnik - vse nastavitve na eni strani"
5040
 
5041
  #. translators: %s HTML tags
5042
- #: settings.php:5049
5043
  msgid ""
5044
  "%s Automatic insertion %s before or after post / content / %s paragraph %s / "
5045
  "image / excerpt"
@@ -5048,27 +5052,27 @@ msgstr ""
5048
  "%s / sliko / izvlečkom"
5049
 
5050
  #. translators: %s HTML tags
5051
- #: settings.php:5050
5052
  msgid "%s Automatic insertion %s between posts on blog pages"
5053
  msgstr "%s Samodejno vstavljanje %s med prispevki na straneh bloga"
5054
 
5055
  #. translators: %s HTML tags
5056
- #: settings.php:5051
5057
  msgid "%s Automatic insertion %s before, between and after comments"
5058
  msgstr "%s Samodejno vstavljanje %s pred, med in po kometarjih"
5059
 
5060
  #. translators: %s HTML tags
5061
- #: settings.php:5052
5062
  msgid "%s Automatic insertion %s after %s or before %s tag"
5063
  msgstr "%s Samodejno vstavljanje %s za %s ali pred %s začko"
5064
 
5065
  #. translators: %s HTML tags
5066
- #: settings.php:5053
5067
  msgid "Automatic insertion at %s custom hook positions %s"
5068
  msgstr "Samodejno vstavljanje na %s položajih ročic po meri %s"
5069
 
5070
  #. translators: %s HTML tags
5071
- #: settings.php:5054
5072
  msgid ""
5073
  "Insertion %s before or after any HTML element on the page %s (using CSS "
5074
  "selectors)"
@@ -5077,17 +5081,17 @@ msgstr ""
5077
  "selektorjev)"
5078
 
5079
  #. translators: %s HTML tags
5080
- #: settings.php:5055
5081
  msgid "%s Insertion exceptions %s for individual posts and pages"
5082
  msgstr "%s Izjeme vstavljanja %s za individualne prispevke in strani"
5083
 
5084
  #. translators: %s HTML tags
5085
- #: settings.php:5056
5086
  msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
5087
  msgstr "%s Ročno vstavljanje: %s gradniki, kratke kode in klic PHP funkcije"
5088
 
5089
  #. translators: %s HTML tags
5090
- #: settings.php:5057
5091
  msgid ""
5092
  "%s Sticky ads %s with optional close button (ads stay fixed when the page "
5093
  "scrolls)"
@@ -5096,19 +5100,19 @@ msgstr ""
5096
  "se stran pomika)"
5097
 
5098
  #. translators: %s HTML tags
5099
- #: settings.php:5058
5100
  msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
5101
  msgstr ""
5102
  "%s Lepljivi oglasi v stranski vrstici %s (lepljivi na zaslon ali vsebino)"
5103
 
5104
  #. translators: %s HTML tags
5105
- #: settings.php:5059
5106
  msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
5107
  msgstr ""
5108
  "%s Animacije lepljivih oglasov %s (uveni, drsaj, obrni, prekucni, približaj)"
5109
 
5110
  #. translators: %s HTML tags
5111
- #: settings.php:5060
5112
  msgid ""
5113
  "%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
5114
  "visible)"
@@ -5117,7 +5121,7 @@ msgstr ""
5117
  "postane viden)"
5118
 
5119
  #. translators: %s HTML tags
5120
- #: settings.php:5061
5121
  msgid ""
5122
  "%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
5123
  msgstr ""
@@ -5125,12 +5129,12 @@ msgstr ""
5125
  "strani)"
5126
 
5127
  #. translators: %s HTML tags
5128
- #: settings.php:5062
5129
  msgid "Block %s alignment and style %s customizations"
5130
  msgstr "%s Poravnave in slogi %s bloka po meri"
5131
 
5132
  #. translators: %s HTML tags
5133
- #: settings.php:5063
5134
  msgid ""
5135
  "%s Clearance %s options to avoid insertion near images or headers (AdSense "
5136
  "TOS)"
@@ -5138,7 +5142,7 @@ msgstr ""
5138
  "%s Izogibanje %s vstavljanja oglasov zraven slik ali naslovov (AdSense TOS)"
5139
 
5140
  #. translators: %s HTML tags
5141
- #: settings.php:5064
5142
  msgid ""
5143
  "Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
5144
  "feeds"
@@ -5147,17 +5151,17 @@ msgstr ""
5147
  "virih"
5148
 
5149
  #. translators: %s HTML tags
5150
- #: settings.php:5065
5151
  msgid "%s Ad rotation %s (works also with caching)"
5152
  msgstr "%s Rotacija oglasov %s (deluje tudi s predpomnjenjem)"
5153
 
5154
  #. translators: %s HTML tags
5155
- #: settings.php:5066
5156
  msgid "Create, edit and check %s ads.txt %s file"
5157
  msgstr "Ustvari, urejaj in preveri datoteko %s ads.txt %s"
5158
 
5159
  #. translators: %s HTML tags
5160
- #: settings.php:5067
5161
  msgid ""
5162
  "Ad impression and click %s tracking %s (works also with Javascript ads like "
5163
  "AdSense)"
@@ -5166,81 +5170,81 @@ msgstr ""
5166
  "AdSense)"
5167
 
5168
  #. translators: %s HTML tags
5169
- #: settings.php:5068
5170
  msgid "Internal or external %s tracking %s (via Google Analytics or Matomo)"
5171
  msgstr "Notranje ali zunanje %s sledenje %s (prek Google Analytics ali Matomo)"
5172
 
5173
  #. translators: %s HTML tags
5174
- #: settings.php:5069
5175
  msgid "%s Public web reports %s for clients, export to PDF"
5176
  msgstr "%s Javna spletna poročila %s za stranke, izvoz v PDF"
5177
 
5178
  #. translators: %s HTML tags
5179
- #: settings.php:5070
5180
  msgid "Support for %s A/B testing %s"
5181
  msgstr "Podpora za %s A/B testiranje %s"
5182
 
5183
  #. translators: %s HTML tags
5184
- #: settings.php:5071
5185
  msgid "Frequency capping - %s limit impressions or clicks %s"
5186
  msgstr "Omejevanje frekvence - %s omejite prikaze ali klike %s"
5187
 
5188
  #. translators: %s HTML tags
5189
- #: settings.php:5072
5190
  msgid "Click fraud %s protection %s"
5191
  msgstr "%s Zaščita %s pred goljufijo s kliki"
5192
 
5193
  #. translators: %s HTML tags
5194
- #: settings.php:5073
5195
  msgid "Support for %s lazy loading %s"
5196
  msgstr "Podpora za %s leno nalaganje %s"
5197
 
5198
  #. translators: %s HTML tags
5199
- #: settings.php:5074
5200
  msgid "Support for ads on %s AMP pages %s"
5201
  msgstr "Podpora za oglase na %s AMP straneh %s"
5202
 
5203
  #. translators: %s HTML tags
5204
- #: settings.php:5075
5205
  msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
5206
  msgstr "Podpora za kontekstualne %s Amazon Native Shopping Ads %s (odzivni)"
5207
 
5208
  #. translators: %s HTML tags
5209
- #: settings.php:5076
5210
  msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
5211
  msgstr ""
5212
  "Ime CSS razreda za div za ovijanje po meri za izogibanje blokiranju oglasov"
5213
 
5214
  #. translators: %s HTML tags
5215
- #: settings.php:5078
5216
  msgid "%s Banner %s code generator"
5217
  msgstr "Generator kode za %s pasice %s"
5218
 
5219
  #. translators: %s HTML tags
5220
- #: settings.php:5079
5221
  msgid "Support for %s header and footer %s code"
5222
  msgstr "Podpora za kodo v %s glavi in nogi %s"
5223
 
5224
  #. translators: %s HTML tags
5225
- #: settings.php:5080
5226
  msgid "Support for Google Analytics, Matomo or any other web analytics code"
5227
  msgstr ""
5228
  "Podpora za Google Analytics, Matomo ali katerokoli drugo spletno analitiko"
5229
 
5230
  #. translators: %s HTML tags
5231
- #: settings.php:5081
5232
  msgid "Desktop, tablet and phone server-side %s device detection %s"
5233
  msgstr ""
5234
  "%s Zaznava namizne, tablične in telefonske naprave %s na strani strani "
5235
  "strežnika"
5236
 
5237
  #. translators: %s HTML tags
5238
- #: settings.php:5082
5239
  msgid "Client-side %s mobile device detection %s (works with caching)"
5240
  msgstr "%s Zaznava mobilne naprave %s (deluje s predpomnjenjem)"
5241
 
5242
  #. translators: %s HTML tags
5243
- #: settings.php:5083
5244
  msgid ""
5245
  "%s Ad blocking detection %s - popup message, ad replacement, content "
5246
  "protection"
@@ -5249,12 +5253,12 @@ msgstr ""
5249
  "vsebine"
5250
 
5251
  #. translators: %s HTML tags
5252
- #: settings.php:5084
5253
  msgid "%s Ad blocking statistics %s"
5254
  msgstr "%s Statistika blokiranja oglasov %s"
5255
 
5256
  #. translators: %s HTML tags
5257
- #: settings.php:5085
5258
  msgid ""
5259
  "%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
5260
  "referrers, operating systems, browsers"
@@ -5263,75 +5267,75 @@ msgstr ""
5263
  "prispevkov, url-jev, napotiteljev, operacijskih sistemov, brskalnikov"
5264
 
5265
  #. translators: %s HTML tags
5266
- #: settings.php:5086
5267
  msgid ""
5268
  "%s Black/White-list %s IP addresses or countries (works also with caching)"
5269
  msgstr ""
5270
  "%s Črni/Beli seznam %s IP naslovov ali držav (deluje tudi s predpomnjenjem)"
5271
 
5272
  #. translators: %s HTML tags
5273
- #: settings.php:5087
5274
  msgid "%s Multisite options %s to limit settings on the sites"
5275
  msgstr "%s Multisite možnosti %s za omejitev nastavitev na spletiščih"
5276
 
5277
  #. translators: %s HTML tags
5278
- #: settings.php:5088
5279
  msgid "%s Import/Export %s block or plugin settings"
5280
  msgstr "%s Uvoz/Izvoz %s nastavitve bloka ali vtičnika"
5281
 
5282
  #. translators: %s HTML tags
5283
- #: settings.php:5089
5284
  msgid "%s Insertion scheduling %s with fallback option"
5285
  msgstr "%s Urnik vstavljanja %s z možnostjo rezerve"
5286
 
5287
  #. translators: %s HTML tags
5288
- #: settings.php:5090
5289
  msgid "Country-level %s GEO targeting %s (works also with caching)"
5290
  msgstr "%s GEO ciljanje na ravni države %s (deluje tudi s predpomnjenjem)"
5291
 
5292
  #. translators: %s HTML tags
5293
- #: settings.php:5091
5294
  msgid "Simple troubleshooting with many %s debugging functions %s"
5295
  msgstr ""
5296
  "Preprosto odpravljanje napak z veliko %s funkcijami za razhroščevanje %s"
5297
 
5298
  #. translators: %s HTML tags
5299
- #: settings.php:5092
5300
  msgid "%s Visualization %s of inserted blocks or ads for easier placement"
5301
  msgstr ""
5302
  "%s Vizualizacija %s vstavljenih blokov ali oglasov za enostavno umeščanje"
5303
 
5304
  #. translators: %s HTML tags
5305
- #: settings.php:5093
5306
  msgid "%s Visualization %s of available positions for automatic ad insertion"
5307
  msgstr ""
5308
  "%s Vizualizacija %s razpoložljivih položajev za samodejno vstavljanje oglasov"
5309
 
5310
  #. translators: %s HTML tags
5311
- #: settings.php:5094
5312
  msgid ""
5313
  "%s Visualization %s of HTML tags for easier ad placement between paragraphs"
5314
  msgstr ""
5315
  "%s Vizualizacija %s HTML značk za enostavno vstavljanje oglasov med odstavki"
5316
 
5317
  #. translators: %s HTML tags
5318
- #: settings.php:5095
5319
  msgid "%s Clipboard support %s to easily copy blocks or settings"
5320
  msgstr ""
5321
  "%s Podpora za odložišče %s za enostavno kopiranje blokov ali nastavitev"
5322
 
5323
  #. translators: %s HTML tags
5324
- #: settings.php:5096
5325
  msgid "No ads on the settings page"
5326
  msgstr "Stran z nastavitvami brez oglasov"
5327
 
5328
  #. translators: %s HTML tags
5329
- #: settings.php:5097
5330
  msgid "Premium support"
5331
  msgstr "Vrhunska podpora"
5332
 
5333
  #. translators: %s HTML tags
5334
- #: settings.php:5100
5335
  msgid ""
5336
  "Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
5337
  "website with many advertising features to automatically insert adverts on "
@@ -5358,82 +5362,82 @@ msgstr ""
5358
  "bodo ohranile)."
5359
 
5360
  #. translators: %s HTML tags
5361
- #: settings.php:5113
5362
  msgid "Looking for %s Pro Ad Management plugin? %s"
5363
  msgstr "Iščete Pro vtičnik za %s Upravljanje z Oglasi? %s"
5364
 
5365
  #. translators: %s HTML tags
5366
- #: settings.php:5118
5367
  msgid "Ads between posts"
5368
  msgstr "Oglasi med prispevki"
5369
 
5370
  #. translators: %s HTML tags
5371
- #: settings.php:5119
5372
  msgid "Ads between comments"
5373
  msgstr "Oglasi med komentarji"
5374
 
5375
  #. translators: %s HTML tags
5376
- #: settings.php:5120
5377
  msgid "Support via email"
5378
  msgstr "Podpora prek elektronske pošte"
5379
 
5380
  #. translators: %s HTML tags
5381
- #: settings.php:5126
5382
  msgid "%s Sticky positions %s"
5383
  msgstr "%s Lepljivi položaji %s"
5384
 
5385
  #. translators: %s HTML tags
5386
- #: settings.php:5127
5387
  msgid "%s Limit insertions %s"
5388
  msgstr "%s Omeji vstavljanja %s"
5389
 
5390
  #. translators: %s HTML tags
5391
- #: settings.php:5128
5392
  msgid "%s Clearance %s options"
5393
  msgstr "Možnosti %s izogibanja %s"
5394
 
5395
  #. translators: %s HTML tags
5396
- #: settings.php:5134
5397
  msgid "Ad rotation"
5398
  msgstr "Vrtenje oglasov"
5399
 
5400
  #. translators: %s HTML tags
5401
- #: settings.php:5135
5402
  msgid "%s A/B testing %s"
5403
  msgstr "%s A/B testiranje %s"
5404
 
5405
  #. translators: %s HTML tags
5406
- #: settings.php:5136
5407
  msgid "%s Ad tracking %s"
5408
  msgstr "%s Sledenje oglasom %s"
5409
 
5410
  #. translators: %s HTML tags
5411
- #: settings.php:5142
5412
  msgid "Support for %s AMP pages %s"
5413
  msgstr "Podpora za %s AMP strani %s"
5414
 
5415
  #. translators: %s HTML tags
5416
- #: settings.php:5143
5417
  msgid "%s Ad blocking detection %s"
5418
  msgstr "%s Zaznavanje blokiranja oglasov %s"
5419
 
5420
  #. translators: %s HTML tags
5421
- #: settings.php:5144
5422
  msgid "%s Mobile device detection %s"
5423
  msgstr "%s Zaznavanje mobilne naprave %s"
5424
 
5425
  #. translators: %s HTML tags
5426
- #: settings.php:5151
5427
  msgid "64 code blocks"
5428
  msgstr "64 kodnih blokov"
5429
 
5430
  #. translators: %s HTML tags
5431
- #: settings.php:5152
5432
  msgid "%s GEO targeting %s"
5433
  msgstr "%s GEO ciljanje %s"
5434
 
5435
  #. translators: %s HTML tags
5436
- #: settings.php:5153
5437
  msgid "%s Scheduling %s"
5438
  msgstr "%s Urnik %s"
5439
 
@@ -6015,142 +6019,152 @@ msgctxt "AdSense Ad Type"
6015
  msgid "Auto Ads"
6016
  msgstr "Samodejni"
6017
 
6018
- #: strings.php:175
 
 
 
 
 
6019
  msgctxt "AMP ad"
6020
  msgid "Disabled"
6021
  msgstr "Onemogočen"
6022
 
6023
- #: strings.php:176
6024
  msgid "Above the fold"
6025
  msgstr "Nad pregibom"
6026
 
6027
- #: strings.php:177
6028
  msgid "Below the fold"
6029
  msgstr "Pod pregibom"
6030
 
6031
  #: strings.php:179
 
 
 
 
 
6032
  msgctxt "size"
6033
  msgid "Fixed"
6034
  msgstr "Fiksna"
6035
 
6036
- #: strings.php:180
6037
  msgctxt "size"
6038
  msgid "Responsive"
6039
  msgstr "Odzivna"
6040
 
6041
- #: strings.php:181
6042
  msgctxt "size"
6043
  msgid "Fixed by viewport"
6044
  msgstr "Fiksna glede na pogled"
6045
 
6046
- #: strings.php:185
6047
  msgid "Impressions and clicks"
6048
  msgstr "Prikazi in Kliki"
6049
 
6050
- #: strings.php:186
6051
  msgid "Advanced WordPress Ad Management Plugin"
6052
  msgstr "Napredni WordPress Vtičnik za Upravljanje z Oglasi"
6053
 
6054
- #: strings.php:192
6055
  msgctxt "Button"
6056
  msgid "Hide"
6057
  msgstr "Skrij"
6058
 
6059
- #: strings.php:193
6060
  msgctxt "Button"
6061
  msgid "Show"
6062
  msgstr "Pokaži"
6063
 
6064
- #: strings.php:194
6065
  msgid "Insertion expired"
6066
  msgstr "Vstavljanje poteklo"
6067
 
6068
- #: strings.php:195
6069
  msgid "Duration"
6070
  msgstr "Trajanje"
6071
 
6072
- #: strings.php:196
6073
  msgid "Invalid end date - must be after start date"
6074
  msgstr "Neveljaven končni datum - mora biti za začetnim datumom"
6075
 
6076
- #: strings.php:197
6077
  msgid "Invalid start date - only data for 1 year back is available"
6078
  msgstr "Neveljaven začetni datum - na voljo so samo pdatki za 1 leto nataj"
6079
 
6080
- #: strings.php:198
6081
  msgid "Invalid date range - only data for 1 year can be displayed"
6082
  msgstr ""
6083
  "Neveljavno časovno oddobje - prikažejo se lahko samo podatki za 1 leto nazaj"
6084
 
6085
- #: strings.php:206
6086
  msgid "Delete"
6087
  msgstr "Pobriši"
6088
 
6089
- #: strings.php:207
6090
  msgid "Switch"
6091
  msgstr "Preklopi"
6092
 
6093
- #: strings.php:209
6094
  msgid "Delete all statistics data?"
6095
  msgstr "Pobrišem vse podatke o statistiki?"
6096
 
6097
  #. translators: %s: dates
6098
- #: strings.php:211
6099
  msgid "Delete statistics data between %s and %s?"
6100
  msgstr "Pobrišem podatke o statistiki med %s in %s?"
6101
 
6102
- #: strings.php:212
6103
  msgid "Cancel block order rearrangement"
6104
  msgstr "Prekliči preureditev vrstnega reda blokov"
6105
 
6106
- #: strings.php:214
6107
  msgid "downloading..."
6108
  msgstr "prenašam..."
6109
 
6110
- #: strings.php:215
6111
  msgid "download error"
6112
  msgstr "napaka pri prenosu"
6113
 
6114
- #: strings.php:216
6115
  msgid "update error"
6116
  msgstr "napaka pri posodobitvi"
6117
 
6118
- #: strings.php:217
6119
  msgid "Updating..."
6120
  msgstr "Posodabljam..."
6121
 
6122
- #: strings.php:219
6123
  msgid "ERROR"
6124
  msgstr "NAPAKA"
6125
 
6126
- #: strings.php:220
6127
  msgid "Error reloading settings"
6128
  msgstr "Napaka pri nalaganju nastavitev"
6129
 
6130
- #: strings.php:222
6131
  msgctxt "Search field placeholder"
6132
  msgid "Search..."
6133
  msgstr "Išči..."
6134
 
6135
- #: strings.php:223
6136
  msgctxt "Search field placeholder"
6137
  msgid "Filter..."
6138
  msgstr "Filter..."
6139
 
6140
- #: strings.php:224
6141
  msgid "Use filter to limit names in the list"
6142
  msgstr "Uporabite filter za omejitev imen v seznamu"
6143
 
6144
- #: strings.php:225
6145
  msgctxt "Button"
6146
  msgid "Filter"
6147
  msgstr "Filter"
6148
 
6149
- #: strings.php:227
6150
  msgid "Position not available"
6151
  msgstr "Položaj ni na razpolago"
6152
 
6153
- #: strings.php:228
6154
  msgid ""
6155
  "Theme check | Selected position for automatic insertion might not be not "
6156
  "available on this page type"
@@ -6158,65 +6172,65 @@ msgstr ""
6158
  "Preverjanje teme | Izbran položaj za samodejno vstavljanje mogoče ni na "
6159
  "razpolago na tem tipu strani"
6160
 
6161
- #: strings.php:229
6162
  msgid "Position available"
6163
  msgstr "Položaj na razpolago"
6164
 
6165
- #: strings.php:231
6166
  msgid "Select or upload banner image"
6167
  msgstr "Izberi ali naloži sliko pasice"
6168
 
6169
- #: strings.php:232
6170
  msgid "Use this image"
6171
  msgstr "Uporabi to sliko"
6172
 
6173
- #: strings.php:233
6174
  msgid "Switching to physical ads.txt file will delete virtual ads.txt file."
6175
  msgstr ""
6176
  "Preklop na fizično datoteko ads.txt bo izbrisal navidezno datoreko ads.txt."
6177
 
6178
- #: strings.php:247
6179
  msgid "Add"
6180
  msgstr "Dodaj"
6181
 
6182
- #: strings.php:248
6183
  msgid "Parent"
6184
  msgstr "Starš"
6185
 
6186
- #: strings.php:249
6187
  msgid "Cancel element selection"
6188
  msgstr "Prekliči izbor HTML elementa"
6189
 
6190
- #: strings.php:250
6191
  msgid "Select parent element"
6192
  msgstr "Izberi starševski element"
6193
 
6194
- #: strings.php:251
6195
  msgid "CSS selector"
6196
  msgstr "CSS selektor"
6197
 
6198
- #: strings.php:252
6199
  msgid "Use current selector"
6200
  msgstr "Uporabi trenutni selektor"
6201
 
6202
- #: strings.php:253
6203
  msgid "ELEMENT"
6204
  msgstr "ELEMENT"
6205
 
6206
- #: strings.php:254
6207
  msgid "PATH"
6208
  msgstr "POT"
6209
 
6210
- #: strings.php:255
6211
  msgid "SELECTOR"
6212
  msgstr "SELEKTOR"
6213
 
6214
- #: strings.php:256
6215
  msgctxt "Block"
6216
  msgid "VISIBLE"
6217
  msgstr "VIDEN"
6218
 
6219
- #: strings.php:257
6220
  msgctxt "Block"
6221
  msgid "HIDDEN"
6222
  msgstr "SKRIT"
@@ -6229,6 +6243,12 @@ msgstr ""
6229
  "Upravljanje z oglasi z veliko naprednimi funkcijami za vstavljanje oglasov "
6230
  "na optimalna mesta"
6231
 
 
 
 
 
 
 
6232
  #~ msgctxt "Review ad Inserter"
6233
  #~ msgid "Review"
6234
  #~ msgstr "Oceni"
4
  msgstr ""
5
  "Project-Id-Version: Ad Inserter 2.5.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
+ "POT-Creation-Date: 2019-11-19 17:04:10+00:00\n"
8
+ "PO-Revision-Date: 2019-11-19 18:04+0100\n"
9
  "Last-Translator: Igor Funa <info@adinserter.pro>\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:311
20
  msgctxt "Menu item"
21
  msgid "Debugging DEMO"
22
  msgstr "DEMO Razhroščevanje"
23
 
24
+ #: ad-inserter.php:327
25
  msgctxt "Menu item"
26
  msgid "Label Blocks"
27
  msgstr "Označi bloke"
28
 
29
+ #: ad-inserter.php:334
30
  msgctxt "Menu item"
31
  msgid "Show Positions"
32
  msgstr "Pokaži položaje"
33
 
34
+ #: ad-inserter.php:419
35
  msgctxt "Menu item"
36
  msgid "Show HTML Tags"
37
  msgstr "Pokaži HTML značke"
38
 
39
+ #: ad-inserter.php:426
40
  msgctxt "Menu item"
41
  msgid "Disable Insertion"
42
  msgstr "Onemogoči vstavljanje"
43
 
44
+ #: ad-inserter.php:435
45
  msgctxt "Menu item"
46
  msgid "Ad Blocking Status"
47
  msgstr "Status blokiranja oglasov"
48
 
49
+ #: ad-inserter.php:442
50
  msgctxt "Menu item"
51
  msgid "Simulate Ad Blocking"
52
  msgstr "Simuliraj blokiranje oglasov"
53
 
54
+ #: ad-inserter.php:452
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:1059
61
  msgid "Before"
62
  msgstr "Pred"
63
 
64
  #. translators: Debugging position name After HTML element
65
+ #: ad-inserter.php:1064
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:1069 strings.php:103
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:1074 strings.php:104
78
  msgid "Append content"
79
  msgstr "Dodaj za vsebino"
80
 
81
  #. translators: Debugging position name Replace content of HTML element
82
+ #: ad-inserter.php:1079 strings.php:105
83
  msgid "Replace content"
84
  msgstr "Nadomesti vsebino"
85
 
86
  #. translators: Debugging position name Replace HTML element
87
+ #: ad-inserter.php:1084 strings.php:155
88
  msgid "Replace"
89
  msgstr "Nadomesti"
90
 
91
  #. translators: Debugging message when output buffering is enabled
92
+ #: ad-inserter.php:1131
93
  msgid "OUTPUT BUFFERING"
94
  msgstr "PREDPOMNJENJE IZHODA"
95
 
96
  #. translators: Debugging position
97
+ #: ad-inserter.php:1135
98
  msgid "Above Header"
99
  msgstr "Nad Glavo"
100
 
101
+ #: ad-inserter.php:1367
102
  msgctxt "Menu item"
103
  msgid "Log In"
104
  msgstr "Prijava"
105
 
106
  #. translators: %s: Ad Inserter
107
+ #: ad-inserter.php:1701 ad-inserter.php:2654
108
  msgid "%s Settings"
109
  msgstr "%s Nastavitve"
110
 
111
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
112
+ #: ad-inserter.php:2162
113
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
114
  msgstr "ZAZNANO BLOKIRANJE OGLASOV, OGLEDI STRANI"
115
 
116
+ #: ad-inserter.php:2162
117
  msgid "NO ACTION"
118
  msgstr "NI AKCIJE"
119
 
120
+ #: ad-inserter.php:2163
121
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
122
  msgstr "ZAZNANO BLOKIRANJE OGLASOV, ZAZNAN PIŠKOTEK, NI AKCIJE"
123
 
124
+ #: ad-inserter.php:2164
125
  msgid "AD BLOCKING DETECTED - ACTION"
126
  msgstr "ZAZNANO BLOKIRANJE OGLASOV - AKCIJA"
127
 
128
+ #: ad-inserter.php:2165
129
  msgid "AD BLOCKING NOT DETECTED"
130
  msgstr "BLOKIRANJE OGLASOV NI ZAZNANO"
131
 
132
+ #: ad-inserter.php:2166
133
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
134
  msgstr "PIŠKOTKI ZA ZAZNAVANJE BLOKIRANJA OGLASOV POBRISANI"
135
 
136
+ #: ad-inserter.php:2167
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:2377
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:2378 includes/functions-check-now.php:1725
150
+ #: includes/functions.old.php:1652 includes/functions.php:1709
151
  msgid "No, thank you."
152
  msgstr "Ne, hvala."
153
 
154
  #. Translators: %s: Ad Inserter
155
+ #: ad-inserter.php:2381
156
  msgid ""
157
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
158
  msgstr "Hej, %s uporabljate že kar nekaj časa. Upam, da ste zadovoljni z njim."
159
 
160
+ #: ad-inserter.php:2382 includes/functions-check-now.php:1728
161
+ #: includes/functions.old.php:1655 includes/functions.php:1712
162
  msgid "Not now, maybe later."
163
  msgstr "Ne zdaj, mogoče kasneje."
164
 
165
+ #: ad-inserter.php:2392
166
  msgid "I would really appreciate if you could rate the plugin on WordPres."
167
  msgstr "Res bi bil vesel, če bi lahko ocenili vtičnik na WordPress-u."
168
 
169
+ #: ad-inserter.php:2394
170
  msgid ""
171
  "Positive reviews are a great incentive to fix bugs and to add new features "
172
  "for better monetization of your website. Thank you, Igor"
175
  "funkcij za boljšo monetizacijo vašega spletnega mesta. Hvala, Igor"
176
 
177
  #. translators: %s: Ad Inserter
178
+ #: ad-inserter.php:2400
179
  msgid "Rate %s"
180
  msgstr "Ocenite %s"
181
 
182
+ #: ad-inserter.php:2405
183
  msgid "I already did."
184
  msgstr "Sem že."
185
 
186
  #. translators: 1: AMPforWP Plugin Manager, 2: Ad Inserter
187
  #. translators: 1: AMPforWP Plugin Manager, 2: Ad Inserter, 3, 4: HTML tags
188
+ #: ad-inserter.php:2418 ad-inserter.php:2445
189
  msgid "Warning: %1$s %3$s disabled %4$s %2$s on AMP pages."
190
  msgstr "Opozorilo: %1$s %3$s je onemogočil %4$s %2$s na AMP straneh."
191
 
192
+ #: ad-inserter.php:2427
193
  msgctxt "Menu item"
194
  msgid "Settings"
195
  msgstr "Nastavitve"
196
 
197
  #. translators: %s: Ad Inserter
198
+ #: ad-inserter.php:2545
199
  msgctxt "Meta box name"
200
  msgid "%s Individual Exceptions"
201
  msgstr "Posamezne Izjeme za %s"
202
 
203
+ #: ad-inserter.php:2574 ad-inserter.php:8847 class.php:2082
204
  #: includes/preview.php:1976 includes/preview.php:2020
205
+ #: includes/preview.php:2057 settings.php:4093 strings.php:3
206
  msgid "Block"
207
  msgstr "Blok"
208
 
209
+ #: ad-inserter.php:2575 settings.php:4094 settings.php:4179
210
  msgid "Name"
211
  msgstr "Ime"
212
 
213
+ #: ad-inserter.php:2578 settings.php:1132
214
  msgid "Default insertion"
215
  msgstr "Privzeto vstavljanje"
216
 
217
  #. translators: For this post or page
218
+ #: ad-inserter.php:2581
219
  msgctxt "Page"
220
  msgid "For this"
221
  msgstr "Za to"
222
 
223
+ #: ad-inserter.php:2582
224
  msgctxt "Post"
225
  msgid "For this"
226
  msgstr "Za ta"
227
 
228
+ #: ad-inserter.php:2594
229
  msgctxt "Enabled/disabled on all"
230
  msgid "pages"
231
  msgstr "straneh"
232
 
233
+ #: ad-inserter.php:2597
234
  msgctxt "Enabled/disabled on all"
235
  msgid "posts"
236
  msgstr "prispevkih"
237
 
238
+ #: ad-inserter.php:2615 ad-inserter.php:2627 strings.php:161
239
  msgid "Enabled"
240
  msgstr "Omogočeno"
241
 
242
  #. translators: Menu items
243
+ #: ad-inserter.php:2615 ad-inserter.php:2627
244
  #: includes/functions-check-now.php:2401 includes/functions.old.php:2326
245
+ #: includes/functions.php:2385 strings.php:16
246
  msgid "Disabled"
247
  msgstr "Onemogočeno"
248
 
249
+ #: ad-inserter.php:2617
250
  msgid "No individual exceptions"
251
  msgstr "Ni posameznih izjem"
252
 
253
  #. translators: Not enabled for pages or posts
254
+ #: ad-inserter.php:2619
255
  msgid "Not enabled for"
256
  msgstr "Ni omogočeno za"
257
 
258
  #. translators: No individual exceptions enabled for pages or posts
259
+ #: ad-inserter.php:2647
260
  msgid "No block has individual exceptions enabled"
261
  msgstr "Noben blok nima omogočenih posameznih izjem"
262
 
263
  #. translators: 1: Ad Inserter Settings (page), 2: Tag / Archive pages
264
+ #: ad-inserter.php:2652
265
  msgid ""
266
  "Default insertion can be configured for each block on %1$s page - button "
267
  "next to %2$s checkbox."
269
  "Privzeto vstavljanje se lahko nastavi za vsak blok na strani %1$s - gumb "
270
  "poleg kljukice za vklop %2$s."
271
 
272
+ #: ad-inserter.php:2655 settings.php:1110
273
  msgid "Tag / Archive pages"
274
  msgstr "Strani oznak / arhiva"
275
 
276
+ #: ad-inserter.php:2657
277
  msgid ""
278
  "When individual exceptions for a block are enabled, a checkbox will be "
279
  "listed here to change default insertion for this post or page."
281
  "Ko so posamezne izjeme za blok vključene, se bo tukaj izpisala kljukica za "
282
  "spremembo privzetega vstavljanja za ta prispevek ali stran."
283
 
284
+ #: ad-inserter.php:2658
285
  msgid ""
286
  "This way you can individually enable or disable blocks on specific posts or "
287
  "pages."
289
  "Na ta način lahko posamezno omogočite ali onemogočite blok na določenem "
290
  "prispevku ali strani."
291
 
292
+ #: ad-inserter.php:2660
293
  msgid "For more information check page %s"
294
  msgstr "Za več informacij poglejte stran %s"
295
 
296
  #. translators: Ad Inserter Exceptions documentation page
297
+ #: ad-inserter.php:2662
298
  msgid "Individual Exceptions"
299
  msgstr "Posamezne Izjeme"
300
 
301
+ #: ad-inserter.php:2709
302
  msgid "STATIC PAGE"
303
  msgstr "STATIČNA STRAN"
304
 
305
+ #: ad-inserter.php:2712
306
  msgid "POST"
307
  msgstr "PRISPEVEK"
308
 
309
+ #: ad-inserter.php:2715
310
  msgid "HOMEPAGE"
311
  msgstr "DOMAČA STRAN"
312
 
313
+ #: ad-inserter.php:2718
314
  msgid "CATEGORY PAGE"
315
  msgstr "STRAN KATEGORIJE"
316
 
317
+ #: ad-inserter.php:2721
318
  msgid "SEARCH PAGE"
319
  msgstr "STRAN ISKANJE"
320
 
321
+ #: ad-inserter.php:2724
322
  msgid "ARCHIVE PAGE"
323
  msgstr "STRAN ARHIVA"
324
 
325
+ #: ad-inserter.php:2727
326
  msgid "ERROR 404 PAGE"
327
  msgstr "STRAN NAPAKA 404"
328
 
329
+ #: ad-inserter.php:2730
330
  msgid "AJAX CALL"
331
  msgstr "AJAX KLIC"
332
 
333
+ #: ad-inserter.php:2733
334
  msgid "UNKNOWN PAGE TYPE"
335
  msgstr "NEZNAN TIP STRANI"
336
 
337
+ #: ad-inserter.php:2750
338
  msgid "Click to delete ad blocking detection cokies"
339
  msgstr "Klikni za brisanje piškotkov za zaznavanje blokiranja oglasov"
340
 
341
+ #: ad-inserter.php:2751
342
  msgid "AD BLOCKING STATUS UNKNOWN"
343
  msgstr "NEZNAN STATUS BLOKIRANJA OGLASOV"
344
 
345
  #. translators: %s: AdSense Auto Ads
346
+ #: ad-inserter.php:2780
347
  msgid ""
348
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
349
  "positions"
351
  "Zaznana koda za %s - Koda bo samodejno vstavila oglase AdSense na optimalne "
352
  "položaje"
353
 
354
+ #: ad-inserter.php:2919
355
  msgid "Code for insertion"
356
  msgstr "Koda za vstavljanje"
357
 
358
+ #: ad-inserter.php:2919
359
  msgid "character"
360
  msgid_plural "characters"
361
  msgstr[0] "znak"
363
  msgstr[2] "znaki"
364
  msgstr[3] "znakov"
365
 
366
+ #: ad-inserter.php:2962
367
  msgid "Header code"
368
  msgstr "Koda v glavi"
369
 
370
+ #: ad-inserter.php:2962
371
  msgctxt "Header code"
372
  msgid "DISABLED"
373
  msgstr "ONEMOGOČENA"
374
 
375
+ #: ad-inserter.php:2962 ad-inserter.php:3200
376
  msgid "character inserted"
377
  msgid_plural "characters inserted"
378
  msgstr[0] "znak vstavljen"
380
  msgstr[2] "znaki vstavljeni"
381
  msgstr[3] "znakov vstavljenih"
382
 
383
+ #: ad-inserter.php:2996
384
  msgid "Automatically placed by AdSense Auto ads code"
385
  msgstr "Samodejno postavila koda za oglase AdSense Auto ads"
386
 
387
+ #: ad-inserter.php:3200
388
  msgid "Footer code"
389
  msgstr "Koda v nogi"
390
 
391
+ #: ad-inserter.php:3200
392
  msgctxt "Footer code"
393
  msgid "DISABLED"
394
  msgstr "ONEMOGOČENA"
395
 
396
+ #: ad-inserter.php:3206
397
  msgid "JAVASCRIPT NOT WORKING"
398
  msgstr "JAVASCRIPT NE DELA"
399
 
400
+ #: ad-inserter.php:3206
401
  msgid "NO JAVASCRIPT ERRORS"
402
  msgstr "BREZ JAVASCRIPT NAPAK"
403
 
404
+ #: ad-inserter.php:3206
405
  msgid "JAVASCRIPT ERRORS"
406
  msgstr "JAVASCRIPT NAPAKE"
407
 
408
  #. translators: block name (block with default settings)
409
+ #: ad-inserter.php:5527
410
  msgctxt "Block name"
411
  msgid "Default"
412
  msgstr "Privzeti"
413
 
414
  #. translators: %s: Ad Inserter
415
+ #: ad-inserter.php:6170
416
  msgid "Error importing %s settings."
417
  msgstr "Napaka pri uvozu %s nastavitev."
418
 
419
+ #: ad-inserter.php:6171
420
  msgid "Error importing settings for block"
421
  msgid_plural "Error importing settings for blocks:"
422
  msgstr[0] "Napaka pri uvozu nastavitev za blok"
424
  msgstr[2] "Napaka pri uvozu nastavitev za bloke:"
425
  msgstr[3] "Napaka pri uvozu nastavitev za bloke:"
426
 
427
+ #: ad-inserter.php:6224
428
  msgid "Settings saved."
429
  msgstr "Nastavitve shranjene."
430
 
431
  #. translators: %s: Ad Inserter
432
+ #: ad-inserter.php:6226
433
  msgid "Invalid data received - %s settings not saved."
434
  msgstr "Prejeti neveljavni podatki - nastavitve %s niso shranjene."
435
 
436
+ #: ad-inserter.php:6320
437
  msgid "Settings cleared."
438
  msgstr "Nastavitve ponastavljene."
439
 
440
  #. Translators: Post/Static page must have between X and Y words
441
+ #: ad-inserter.php:6682 ad-inserter.php:6684 ad-inserter.php:6707
442
+ #: settings.php:2089
443
  msgid "word"
444
  msgid_plural "words"
445
  msgstr[0] "besedo"
447
  msgstr[2] "besede"
448
  msgstr[3] "besed"
449
 
450
+ #: ad-inserter.php:6721 ad-inserter.php:6833
451
  msgid "HTML TAGS REMOVED"
452
  msgstr "HTML ZNAČKE ODSTRANJENE"
453
 
454
+ #: ad-inserter.php:6909
455
  msgid "BEFORE COMMENTS"
456
  msgstr "PRED KOMENTARJI"
457
 
458
+ #: ad-inserter.php:7017
459
  msgid "AFTER COMMENTS"
460
  msgstr "PO KOMETARJIH"
461
 
462
+ #: ad-inserter.php:7080
463
  msgid "BETWEEN COMMENTS"
464
  msgstr "MED KOMENTARJI"
465
 
466
+ #: ad-inserter.php:8479
467
  msgid "requires WordPress 4.6 or newer"
468
  msgstr "potrebuje WordPress 4.6 ali novejši"
469
 
470
+ #: ad-inserter.php:8479
471
  msgid "Please update!"
472
  msgstr "Prosimo, posodobite!"
473
 
474
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
475
  #. name with HTML tags will be added)
476
+ #: ad-inserter.php:8720
477
  msgid "Thank you for installing"
478
  msgstr "Hvala za namestitev vtičnika"
479
 
480
  #. translators: Opt-in message: %s: HTML tags
481
+ #: ad-inserter.php:8722
482
  msgid ""
483
  "We would like to %s track its usage %s on your site. This is completely "
484
  "optional and can be disabled at any time."
486
  "Radi bi %s sledili njegovi uporabi %s na vašem spletnem mestu. To je povsem "
487
  "izbirno in se lahko izključi kadarkoli."
488
 
489
+ #: ad-inserter.php:8724
490
  msgid ""
491
  "We don't record any sensitive data, only information regarding the WordPress "
492
  "environment and plugin usage, which will help us to make improvements to the "
496
  "uporabe vtičnika, kar nam bo omogočilo izdelavo izboljšav za vtičnik."
497
 
498
  #. translators: Deactivation message: %s: HTML tags
499
+ #: ad-inserter.php:8761
500
  msgid ""
501
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
502
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
507
  "nam %s in poskušali vam bomo pomagati."
508
 
509
  #. translators: %s: Ad Inserter
510
+ #: ad-inserter.php:8804
511
  msgid "%s block."
512
  msgstr "%s blok."
513
 
514
  #. translators: widget title
515
+ #: ad-inserter.php:8820 ad-inserter.php:8856
516
  msgid "Processing log"
517
  msgstr "Dnevnik procesiranja"
518
 
519
  #. translators: widget title
520
+ #: ad-inserter.php:8822 ad-inserter.php:8857
521
  msgid "Dummy widget"
522
  msgstr "Prazen gradnik"
523
 
524
  #. translators: widget title
525
+ #: ad-inserter.php:8824 ad-inserter.php:8855
526
  msgid "Debugging tools"
527
  msgstr "Orodja za razhroščevanje"
528
 
529
  #. translators: block status (widget title)
530
+ #: ad-inserter.php:8831
531
  msgctxt "block"
532
  msgid "PAUSED"
533
  msgstr "USTAVLJEN"
534
 
535
+ #: ad-inserter.php:8832
536
  msgid "WIDGET DISABLED"
537
  msgstr "GRADNIK ONEMOGOČEN"
538
 
539
+ #: ad-inserter.php:8833
540
  msgid "Unknown block"
541
  msgstr "Neznan blok"
542
 
543
+ #: ad-inserter.php:8842 includes/functions-check-now.php:3261
544
+ #: includes/functions.old.php:3186 includes/functions.php:3244
545
+ #: settings.php:1162
546
  msgid "Title"
547
  msgstr "Naslov"
548
 
549
+ #: ad-inserter.php:8864
550
  msgctxt "Widget"
551
  msgid "Sticky"
552
  msgstr "Lepljiv"
553
 
554
+ #: ad-inserter.php:8913
555
  msgid ""
556
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
557
  "Inserter you need to first deactivate Ad Inserter Pro."
560
  "aktiven! Za aktivacijo vtičnika Ad Inserter morate najprej onemogočiti Ad "
561
  "Inserter Pro."
562
 
563
+ #: ad-inserter.php:8914
564
  msgid ""
565
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
566
  "will clear all settings that are available only in the Pro version "
571
  "različici (dodatne nastavitve blokov in vtičnika)!"
572
 
573
  #. translators: %s: Ad Inserter
574
+ #: class.php:507 class.php:516 class.php:519
575
  msgid "PHP error in %s block"
576
  msgstr "PHP napaka v bloku %s"
577
 
578
+ #: class.php:2032
579
  msgid "Counters"
580
  msgstr "Števci"
581
 
582
+ #: class.php:2036
583
  msgid "Content"
584
  msgstr "Vsebina"
585
 
586
+ #: class.php:2041
587
  msgid "Excerpt"
588
  msgstr "Izvleček"
589
 
590
+ #: class.php:2046 strings.php:17
591
  msgid "Before post"
592
  msgstr "Pred prispevkom"
593
 
594
+ #: class.php:2051 strings.php:18
595
  msgid "After post"
596
  msgstr "Za prispevkom"
597
 
598
+ #: class.php:2056 strings.php:25
599
  msgid "Between posts"
600
  msgstr "Med prispevki"
601
 
602
+ #: class.php:2061 settings.php:1832 settings.php:4111
603
  msgid "Widget"
604
  msgstr "Gradnik"
605
 
606
+ #: class.php:2066 settings.php:4109
607
  msgid "PHP function call"
608
  msgstr "Klic PHP funkcije"
609
 
610
  #. Translators: %s: custom hook name
611
+ #: class.php:2076
612
  msgid "Custom hook %s call"
613
  msgstr "Klic ročice po meri %s"
614
 
615
+ #: class.php:2112
616
  msgid "AJAX REQUEST"
617
  msgstr "AJAX ZAHTEVEK"
618
 
619
+ #: class.php:2115
620
  msgid "Ajax request for block in iframe"
621
  msgstr "Ajax zahtevek za blok v iframe-u"
622
 
623
+ #: class.php:2145
624
  msgid "Ajax request url, click to open it in a new tab"
625
  msgstr "Url Ajax zahtevka, kliknite, da ga odprete v novem zavihku"
626
 
627
+ #: class.php:2148
628
  msgid "IN THE LOOP"
629
  msgstr "V ZANKI"
630
 
631
+ #: class.php:2148
632
  msgid "YES"
633
  msgstr "DA"
634
 
635
+ #: class.php:2148
636
  msgid "NO"
637
  msgstr "NE"
638
 
639
+ #: class.php:2184
640
  msgid "BLOCK"
641
  msgstr "BLOK"
642
 
643
+ #: class.php:2184
644
  msgctxt "block or widget"
645
  msgid "INSERTED BUT NOT VISIBLE"
646
  msgstr "VSTAVLJEN, VENDAR NI VIDEN"
647
 
648
+ #: class.php:2633 class.php:2696
649
  msgid "ACTIVE GROUPS"
650
  msgstr "AKTIVNE SKUPINE"
651
 
652
  #. translators: %s: list parameters and type
653
+ #: class.php:2887
654
  msgid "parameters='%s' type='%s'"
655
  msgstr "parametri='%s' tip='%s'"
656
 
657
  #. translators: %s: list parameters and type
658
+ #: class.php:2889
659
  msgid "referers='%s' type='%s'"
660
  msgstr "napotitelji='%s' tip='%s'"
661
 
662
  #. translators: %s: list parameters and type
663
+ #: class.php:2891
664
  msgid "clients='%s' type='%s'"
665
  msgstr "odjemalci='%s' tip='%s'"
666
 
667
  #. translators: %s: list parameters and type
668
+ #: class.php:2962
669
  msgid "countries='%s' type='%s'"
670
  msgstr "države='%s' tip='%s'"
671
 
672
  #. translators: %s: list parameters and type
673
+ #: class.php:2964
674
  msgid "ip addresses='%s' type='%s'"
675
  msgstr "ip naslovi='%s' tip='%s'"
676
 
677
+ #: class.php:3237 strings.php:241
678
  msgid "BEFORE"
679
  msgstr "PRED"
680
 
681
+ #: class.php:3245 strings.php:243
682
  msgid "PREPEND CONTENT"
683
  msgstr "DODAJ PRED VSEBINO"
684
 
685
+ #: class.php:3249 strings.php:244
686
  msgid "APPEND CONTENT"
687
  msgstr "DODAJ ZA VSEBINO"
688
 
689
+ #: class.php:3253 strings.php:245
690
  msgid "REPLACE CONTENT"
691
  msgstr "NADOMESTI VSEBINO"
692
 
693
+ #: class.php:3257 strings.php:246
694
  msgid "REPLACE ELEMENT"
695
  msgstr "NADOMESTI ELEMENT"
696
 
697
+ #: class.php:3268 strings.php:242
698
  msgid "AFTER"
699
  msgstr "ZA"
700
 
701
+ #: class.php:3335
702
  msgctxt "JavaScript"
703
  msgid "script"
704
  msgstr "skripta"
705
 
706
+ #: class.php:3338
707
  msgid "for block"
708
  msgstr "za blok"
709
 
710
+ #: class.php:6422 class.php:6474
711
  msgctxt "category name"
712
  msgid "Uncategorized"
713
  msgstr "Nekategorizirano"
714
 
715
+ #: class.php:7007
716
  msgid ""
717
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
718
  "extension for PHP."
721
  "namestiti DOM razširitev za PHP."
722
 
723
  #: includes/editor.php:7 includes/placeholders.php:352
724
+ #: includes/preview.php:1962 strings.php:248
725
  msgid "Use"
726
  msgstr "Uporabi"
727
 
730
  msgstr "Ponastavi"
731
 
732
  #: includes/editor.php:9 includes/placeholders.php:354
733
+ #: includes/preview.php:1965 settings.php:3506 strings.php:210 strings.php:247
734
  msgid "Cancel"
735
  msgstr "Prekliči"
736
 
747
  "Ta stran se ni naložila pravilno. Prevrrite brskalnik, vtičnike in "
748
  "blokiranje oglasov."
749
 
750
+ #: includes/editor.php:264 settings.php:260
751
  msgid "Error loading page"
752
  msgstr "Napaka pri nalaganju strani"
753
 
827
  "Pustite prazno razen v primeru, ko položaj ni pravilno izračunan."
828
 
829
  #: includes/functions-check-now.php:451 includes/functions.old.php:440
830
+ #: includes/functions.php:442 settings.php:1313 settings.php:2717
831
  msgid "Open HTML element selector"
832
  msgstr "Odpri izbirnik HTML elementa"
833
 
873
 
874
  #: includes/functions-check-now.php:519 includes/functions-check-now.php:3035
875
  #: includes/functions.old.php:508 includes/functions.old.php:2960
876
+ #: includes/functions.php:510 includes/functions.php:3018
877
  msgid "Toggle Statistics"
878
  msgstr "Preklopi Statistiko"
879
 
900
  msgstr "%s licenca prekomerno uporabljena. Nadaljujem?"
901
 
902
  #: includes/functions-check-now.php:555 includes/functions.old.php:536
903
+ #: includes/functions.php:546 settings.php:1067 settings.php:2172
904
  msgid "Save Settings"
905
  msgstr "Shrani Nastavitve"
906
 
984
  #: includes/functions-check-now.php:769 includes/functions-check-now.php:2528
985
  #: includes/functions-check-now.php:2545 includes/functions.old.php:750
986
  #: includes/functions.old.php:2453 includes/functions.old.php:2470
987
+ #: includes/functions.php:760 includes/functions.php:2512
988
+ #: includes/functions.php:2528
989
  msgid "Tracking is globally disabled"
990
  msgstr "Sledenje je globalno onemogočeno"
991
 
992
  #: includes/functions-check-now.php:773 includes/functions-check-now.php:2532
993
  #: includes/functions-check-now.php:2549 includes/functions.old.php:754
994
  #: includes/functions.old.php:2457 includes/functions.old.php:2474
995
+ #: includes/functions.php:764 includes/functions.php:2516
996
+ #: includes/functions.php:2532
997
  msgid "Tracking for this block is disabled"
998
  msgstr "Sledenje za ta blok je onemogočeno"
999
 
1003
  msgstr "Dvojni klik za preklop kontrol v javnih poročilih"
1004
 
1005
  #: includes/functions-check-now.php:786 includes/functions.old.php:767
1006
+ #: includes/functions.php:777 settings.php:3441 settings.php:3477
1007
+ #: settings.php:3519 strings.php:220
1008
  msgid "Loading..."
1009
  msgstr "Nalagam..."
1010
 
1024
 
1025
  #: includes/functions-check-now.php:814 includes/functions-check-now.php:5389
1026
  #: includes/functions.old.php:795 includes/functions.old.php:5262
1027
+ #: includes/functions.php:805 includes/functions.php:5380
1028
  msgid "Load data for last month"
1029
  msgstr "Naloži podatke za zadnji mesec"
1030
 
1031
  #: includes/functions-check-now.php:814 includes/functions-check-now.php:5389
1032
  #: includes/functions.old.php:795 includes/functions.old.php:5262
1033
+ #: includes/functions.php:805 includes/functions.php:5380
1034
  msgid "Last Month"
1035
  msgstr "Zadnji Mesec"
1036
 
1037
  #: includes/functions-check-now.php:817 includes/functions-check-now.php:5392
1038
  #: includes/functions.old.php:798 includes/functions.old.php:5265
1039
+ #: includes/functions.php:808 includes/functions.php:5383
1040
  msgid "Load data for this month"
1041
  msgstr "Naloži podatke za ta mesec"
1042
 
1043
  #: includes/functions-check-now.php:817 includes/functions-check-now.php:5392
1044
  #: includes/functions.old.php:798 includes/functions.old.php:5265
1045
+ #: includes/functions.php:808 includes/functions.php:5383
1046
  msgid "This Month"
1047
  msgstr "Ta Mesec"
1048
 
1049
  #: includes/functions-check-now.php:820 includes/functions-check-now.php:5395
1050
  #: includes/functions.old.php:801 includes/functions.old.php:5268
1051
+ #: includes/functions.php:811 includes/functions.php:5386
1052
  msgid "Load data for this year"
1053
  msgstr "Naloži podatke za to leto"
1054
 
1055
  #: includes/functions-check-now.php:820 includes/functions-check-now.php:5395
1056
  #: includes/functions.old.php:801 includes/functions.old.php:5268
1057
+ #: includes/functions.php:811 includes/functions.php:5386
1058
  msgid "This Year"
1059
  msgstr "To Leto"
1060
 
1061
  #: includes/functions-check-now.php:823 includes/functions-check-now.php:5398
1062
  #: includes/functions.old.php:804 includes/functions.old.php:5271
1063
+ #: includes/functions.php:814 includes/functions.php:5389
1064
  msgid "Load data for the last 15 days"
1065
  msgstr "Naloži podatke za zadnjih 15 dni"
1066
 
1067
  #: includes/functions-check-now.php:826 includes/functions-check-now.php:5401
1068
  #: includes/functions.old.php:807 includes/functions.old.php:5274
1069
+ #: includes/functions.php:817 includes/functions.php:5392
1070
  msgid "Load data for the last 30 days"
1071
  msgstr "Naloži podatke za zadnjih 30 dni"
1072
 
1073
  #: includes/functions-check-now.php:829 includes/functions-check-now.php:5404
1074
  #: includes/functions.old.php:810 includes/functions.old.php:5277
1075
+ #: includes/functions.php:820 includes/functions.php:5395
1076
  msgid "Load data for the last 90 days"
1077
  msgstr "Naloži podatke za zadnjih 90 dni"
1078
 
1079
  #: includes/functions-check-now.php:832 includes/functions-check-now.php:5407
1080
  #: includes/functions.old.php:813 includes/functions.old.php:5280
1081
+ #: includes/functions.php:823 includes/functions.php:5398
1082
  msgid "Load data for the last 180 days"
1083
  msgstr "Naloži podatke za zadnjih 180 dni"
1084
 
1085
  #: includes/functions-check-now.php:835 includes/functions-check-now.php:5410
1086
  #: includes/functions.old.php:816 includes/functions.old.php:5283
1087
+ #: includes/functions.php:826 includes/functions.php:5401
1088
  msgid "Load data for the last 365 days"
1089
  msgstr "Naloži podatke za zadnjih 365 dni"
1090
 
1091
  #: includes/functions-check-now.php:845 includes/functions-check-now.php:5420
1092
  #: includes/functions.old.php:826 includes/functions.old.php:5293
1093
+ #: includes/functions.php:836 includes/functions.php:5411
1094
  msgid "Load data for the selected range"
1095
  msgstr "Naloži podatke za izbrano obdobje"
1096
 
1192
 
1193
  #: includes/functions-check-now.php:957 includes/functions-check-now.php:3000
1194
  #: includes/functions.old.php:938 includes/functions.old.php:2925
1195
+ #: includes/functions.php:948 includes/functions.php:2983
1196
  msgid "Toggle country editor"
1197
  msgstr "Preklopi urejevalnik držav"
1198
 
1203
 
1204
  #: includes/functions-check-now.php:964 includes/functions-check-now.php:3003
1205
  #: includes/functions.old.php:945 includes/functions.old.php:2928
1206
+ #: includes/functions.php:955 includes/functions.php:2986
1207
  msgid "Comma separated country ISO Alpha-2 codes"
1208
  msgstr "Z vejico ločene ISO Alpha-2 kode držav"
1209
 
1219
 
1220
  #: includes/functions-check-now.php:1382 includes/functions-check-now.php:1681
1221
  #: includes/functions.old.php:1361 includes/functions.old.php:1608
1222
+ #: includes/functions.php:1373 includes/functions.php:1665
1223
  msgid "Enter license key"
1224
  msgstr "Vnesite licenčni ključ"
1225
 
1250
 
1251
  #: includes/functions-check-now.php:1411 includes/functions-check-now.php:1690
1252
  #: includes/functions.old.php:1379 includes/functions.old.php:1617
1253
+ #: includes/functions.php:1402 includes/functions.php:1674
1254
  msgid "Check license key"
1255
  msgstr "Preverite licenčni ključ"
1256
 
1290
 
1291
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1292
  #: includes/functions-check-now.php:1683 includes/functions.old.php:1610
1293
+ #: includes/functions.php:1667
1294
  msgid ""
1295
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1296
  "limited and updates are disabled."
1300
 
1301
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1302
  #: includes/functions-check-now.php:1692 includes/functions.old.php:1619
1303
+ #: includes/functions.php:1676
1304
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1305
  msgstr "%1$s Opozorilo: %2$s Neveljaven %3$s licenčni ključ."
1306
 
1307
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1308
  #: includes/functions-check-now.php:1708 includes/functions.old.php:1635
1309
+ #: includes/functions.php:1692
1310
  msgid ""
1311
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1312
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1317
 
1318
  #. translators: 1, 3: HTML tags, 2: percentage
1319
  #: includes/functions-check-now.php:1715 includes/functions.old.php:1642
1320
+ #: includes/functions.php:1699
1321
  msgid ""
1322
  "During the license period and 30 days after the license has expired we offer "
1323
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1326
  "%2$s popust na vse obnovitve in nadgradnje licenc. %3$s"
1327
 
1328
  #: includes/functions-check-now.php:1742 includes/functions.old.php:1669
1329
+ #: includes/functions.php:1726
1330
  msgid "Renew the licence"
1331
  msgstr "Obnovi licenco"
1332
 
1333
  #: includes/functions-check-now.php:1744 includes/functions.old.php:1671
1334
+ #: includes/functions.php:1728
1335
  msgid "Update license status"
1336
  msgstr "Posodobi status licence"
1337
 
1338
  #. translators: 1, 2, 4, 5, 6, 7: HTML tags, 3: Ad Inserter Pro
1339
  #: includes/functions-check-now.php:1755 includes/functions.old.php:1682
1340
+ #: includes/functions.php:1739
1341
  msgid ""
1342
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1343
  "Manage licenses %5$s &mdash; %6$s Upgrade license %7$s"
1348
 
1349
  #. Translators: %s: HTML tag
1350
  #: includes/functions-check-now.php:1777 includes/functions.old.php:1704
1351
+ #: includes/functions.php:1761
1352
  msgid "Warning: %s MaxMind IP geolocation database not found."
1353
  msgstr "Opozorilo: %s MaxMind IP geolocijska podatkovna baza ni najdena."
1354
 
1355
  #: includes/functions-check-now.php:2330 includes/functions.old.php:2255
1356
+ #: includes/functions.php:2314
1357
  msgid "Geolocation"
1358
  msgstr "Geolokacija"
1359
 
1360
  #: includes/functions-check-now.php:2334 includes/functions.old.php:2259
1361
+ #: includes/functions.php:2318 settings.php:4098
1362
  msgid "Exceptions"
1363
  msgstr "Izjeme"
1364
 
1365
  #: includes/functions-check-now.php:2339 includes/functions.old.php:2264
1366
+ #: includes/functions.php:2323
1367
  msgid "Multisite"
1368
  msgstr "Multisite"
1369
 
1370
  #: includes/functions-check-now.php:2344 includes/functions.old.php:2269
1371
+ #: includes/functions.php:2328 settings.php:4104
1372
  msgid "Tracking"
1373
  msgstr "Sledenje"
1374
 
1375
  #. translators: %d: days, hours, minutes
1376
  #: includes/functions-check-now.php:2375 includes/functions.old.php:2300
1377
+ #: includes/functions.php:2359
1378
  msgid "Scheduled in %d days %d hours %d minutes"
1379
  msgstr "Planirano v %d dneh %d urah %d minutah"
1380
 
1381
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1382
  #. HTML code for long dash separator
1383
  #: includes/functions-check-now.php:2384 includes/functions.old.php:2309
1384
+ #: includes/functions.php:2368
1385
  msgid "Active %s expires in %d days %d hours %d minutes"
1386
  msgstr "Aktivno %s poteče v %d dneh %d urah %d minutah"
1387
 
1388
  #: includes/functions-check-now.php:2388 includes/functions.old.php:2313
1389
+ #: includes/functions.php:2372
1390
  msgid "Expired"
1391
  msgstr "Poteklo"
1392
 
1393
  #: includes/functions-check-now.php:2396 includes/functions.old.php:2321
1394
+ #: includes/functions.php:2380 settings.php:1396 settings.php:1411
1395
+ #: settings.php:1501 settings.php:2087
1396
  msgid "and"
1397
  msgstr "in"
1398
 
1399
  #: includes/functions-check-now.php:2399 includes/functions.old.php:2324
1400
+ #: includes/functions.php:2383
1401
  msgid "fallback"
1402
  msgstr "rezerva"
1403
 
1404
  #: includes/functions-check-now.php:2400 includes/functions.old.php:2325
1405
+ #: includes/functions.php:2384
1406
  msgid "Block to be used when scheduling expires"
1407
  msgstr "Blok, ki se bo uporabil, ko urnik poteče"
1408
 
1409
  #: includes/functions-check-now.php:2425 includes/functions.old.php:2350
1410
+ #: includes/functions.php:2409
1411
  msgid "Load in iframe"
1412
  msgstr "Naloži v iframe-u"
1413
 
1414
  #: includes/functions-check-now.php:2429 includes/functions.old.php:2354
1415
+ #: includes/functions.php:2413 includes/placeholders.php:389
1416
  msgid "Width"
1417
  msgstr "Širina"
1418
 
1419
  #: includes/functions-check-now.php:2430 includes/functions.old.php:2355
1420
+ #: includes/functions.php:2414
1421
  msgid "iframe width, empty means full width (100%)"
1422
  msgstr "širina iframe-a, prazno pomeni polna širina (100%)"
1423
 
1424
  #: includes/functions-check-now.php:2436 includes/functions.old.php:2361
1425
+ #: includes/functions.php:2420 includes/placeholders.php:384
1426
  msgid "Height"
1427
  msgstr "Višina"
1428
 
1429
  #: includes/functions-check-now.php:2437 includes/functions.old.php:2362
1430
+ #: includes/functions.php:2421
1431
  msgid "iframe height, empty means adjust it to iframe content height"
1432
  msgstr ""
1433
  "Višina iframe-a, prazno pomeni poravnavo glede na višino vsebine iframe-a"
1434
 
1435
  #: includes/functions-check-now.php:2444 includes/functions.old.php:2369
1436
+ #: includes/functions.php:2428
1437
  msgid "Ad label in iframe"
1438
  msgstr "Oznaka oglasa v iframe-u"
1439
 
1440
  #: includes/functions-check-now.php:2449 includes/functions.old.php:2374
1441
+ #: includes/functions.php:2433
1442
  msgid "Preview iframe code"
1443
  msgstr "Predpreglej kodo iframe"
1444
 
1445
  #: includes/functions-check-now.php:2449 includes/functions.old.php:2374
1446
+ #: includes/functions.php:2433 includes/preview.php:1974 settings.php:1062
1447
+ #: settings.php:2779
1448
  msgid "Preview"
1449
  msgstr "Predogled"
1450
 
1451
  #: includes/functions-check-now.php:2463 includes/functions.old.php:2388
1452
+ #: includes/functions.php:2447 settings.php:4105
1453
  msgid "Limits"
1454
  msgstr "Omejitve"
1455
 
1456
  #: includes/functions-check-now.php:2468 includes/functions-check-now.php:4366
1457
  #: includes/functions-check-now.php:4429 includes/functions.old.php:2393
1458
  #: includes/functions.old.php:4266 includes/functions.old.php:4329
1459
+ #: includes/functions.php:2452 includes/functions.php:4357
1460
+ #: includes/functions.php:4420 settings.php:2219
1461
  msgid "Ad Blocking"
1462
  msgstr "Blokiranje Oglasov"
1463
 
1464
  #. translators: 1, 2 and 3, 4: HTML tags
1465
  #: includes/functions-check-now.php:2477 includes/functions.old.php:2402
1466
+ #: includes/functions.php:2461
1467
  msgid ""
1468
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1469
  "for tracking!"
1474
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1475
  #. header
1476
  #: includes/functions-check-now.php:2486 includes/functions.old.php:2411
1477
+ #: includes/functions.php:2470
1478
  msgid ""
1479
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1480
  "enabled and automatic insertion %6$s!"
1483
  "izhoda %5$s omogočeno in samodejno vstavljanje %6$s!"
1484
 
1485
  #: includes/functions-check-now.php:2553 includes/functions.old.php:2478
1486
+ #: includes/functions.php:2536
1487
  msgid "Click fraud protection is globally disabled"
1488
  msgstr "Zaščita pred goljufijo s kliki je globalno onemogočena"
1489
 
1490
  #: includes/functions-check-now.php:2557 includes/functions.old.php:2482
1491
+ #: includes/functions.php:2540
1492
  msgid "Max clicks per time period are not defined"
1493
  msgstr "Največje število klikov na časovno enoto ni definirano"
1494
 
1495
  #. Translators: Max n impressions
1496
  #: includes/functions-check-now.php:2571 includes/functions.old.php:2496
1497
+ #: includes/functions.php:2554
1498
  msgid "General limits"
1499
  msgstr "Splošne omejitve"
1500
 
1502
  #: includes/functions-check-now.php:2577 includes/functions-check-now.php:2589
1503
  #: includes/functions-check-now.php:2674 includes/functions.old.php:2502
1504
  #: includes/functions.old.php:2514 includes/functions.old.php:2599
1505
+ #: includes/functions.php:2560 includes/functions.php:2572
1506
+ #: includes/functions.php:2657
1507
  msgid "Current value"
1508
  msgstr "Trenutna vrednost"
1509
 
1523
  #: includes/functions.old.php:2550 includes/functions.old.php:2560
1524
  #: includes/functions.old.php:2606 includes/functions.old.php:2615
1525
  #: includes/functions.old.php:2633 includes/functions.old.php:2642
1526
+ #: includes/functions.php:2579 includes/functions.php:2589
1527
+ #: includes/functions.php:2608 includes/functions.php:2618
1528
+ #: includes/functions.php:2664 includes/functions.php:2673
1529
+ #: includes/functions.php:2691 includes/functions.php:2700 settings.php:2008
1530
  msgid "Max"
1531
  msgstr "Največ"
1532
 
1533
  #: includes/functions-check-now.php:2597 includes/functions.old.php:2522
1534
+ #: includes/functions.php:2580
1535
  msgid ""
1536
  "Maximum number of impressions for this block. Empty means no general "
1537
  "impression limit."
1547
  #: includes/functions-check-now.php:2684 includes/functions-check-now.php:2693
1548
  #: includes/functions.old.php:2524 includes/functions.old.php:2534
1549
  #: includes/functions.old.php:2609 includes/functions.old.php:2618
1550
+ #: includes/functions.php:2582 includes/functions.php:2592
1551
+ #: includes/functions.php:2667 includes/functions.php:2676
1552
  msgid "impression"
1553
  msgid_plural "impressions"
1554
  msgstr[0] "prikaz"
1557
  msgstr[3] "prikazov"
1558
 
1559
  #: includes/functions-check-now.php:2607 includes/functions.old.php:2532
1560
+ #: includes/functions.php:2590
1561
  msgid ""
1562
  "Maximum number of impressions per time period. Empty means no time limit."
1563
  msgstr ""
1572
  #: includes/functions-check-now.php:2697 includes/functions-check-now.php:2724
1573
  #: includes/functions.old.php:2538 includes/functions.old.php:2567
1574
  #: includes/functions.old.php:2622 includes/functions.old.php:2649
1575
+ #: includes/functions.php:2596 includes/functions.php:2625
1576
+ #: includes/functions.php:2680 includes/functions.php:2707
1577
  msgid "per"
1578
  msgstr "na"
1579
 
1580
  #: includes/functions-check-now.php:2614 includes/functions-check-now.php:2643
1581
  #: includes/functions.old.php:2539 includes/functions.old.php:2568
1582
+ #: includes/functions.php:2597 includes/functions.php:2626
1583
  msgid "Time period in days. Empty means no time limit."
1584
  msgstr "Časovno obdobje v dneh. Prazno pomeni brez časovnih omejitev."
1585
 
1594
  #: includes/functions.old.php:2541 includes/functions.old.php:2570
1595
  #: includes/functions.old.php:2625 includes/functions.old.php:2652
1596
  #: includes/functions.old.php:2758 includes/functions.old.php:3086
1597
+ #: includes/functions.php:2599 includes/functions.php:2628
1598
+ #: includes/functions.php:2683 includes/functions.php:2710
1599
+ #: includes/functions.php:2816 includes/functions.php:3144 strings.php:201
1600
+ #: strings.php:202 strings.php:203 strings.php:204 strings.php:205
1601
+ #: strings.php:206
1602
  msgid "day"
1603
  msgid_plural "days"
1604
  msgstr[0] "dan"
1607
  msgstr[3] "dni"
1608
 
1609
  #: includes/functions-check-now.php:2626 includes/functions.old.php:2551
1610
+ #: includes/functions.php:2609
1611
  msgid ""
1612
  "Maximum number of clicks on this block. Empty means no general click limit."
1613
  msgstr ""
1623
  #: includes/functions-check-now.php:4577 includes/functions.old.php:2553
1624
  #: includes/functions.old.php:2563 includes/functions.old.php:2636
1625
  #: includes/functions.old.php:2645 includes/functions.old.php:4477
1626
+ #: includes/functions.php:2611 includes/functions.php:2621
1627
+ #: includes/functions.php:2694 includes/functions.php:2703
1628
+ #: includes/functions.php:4568
1629
  msgid "click"
1630
  msgid_plural "clicks"
1631
  msgstr[0] "klik"
1634
  msgstr[3] "klikov"
1635
 
1636
  #: includes/functions-check-now.php:2636 includes/functions.old.php:2561
1637
+ #: includes/functions.php:2619
1638
  msgid "Maximum number of clicks per time period. Empty means no time limit."
1639
  msgstr ""
1640
  "Največje število klikov na časovno enoto. Prazno pomeni brez časovnih "
1641
  "omejitev."
1642
 
1643
  #: includes/functions-check-now.php:2661 includes/functions.old.php:2586
1644
+ #: includes/functions.php:2644
1645
  msgid "Individual visitor limits"
1646
  msgstr "Omejitve posameznih obiskovalcev"
1647
 
1648
  #: includes/functions-check-now.php:2665 includes/functions-check-now.php:2667
1649
  #: includes/functions.old.php:2590 includes/functions.old.php:2592
1650
+ #: includes/functions.php:2648 includes/functions.php:2650
1651
  msgid ""
1652
  "When specified number of clicks on this block for a visitor will be reached "
1653
  "in the specified time period, all blocks that have click fraud protection "
1660
  "pred goljufijo s kliki."
1661
 
1662
  #: includes/functions-check-now.php:2667 includes/functions.old.php:2592
1663
+ #: includes/functions.php:2650
1664
  msgid "Trigger click fraud protection"
1665
  msgstr "Sproži zaščito pred goljufijo s kliki"
1666
 
1667
  #: includes/functions-check-now.php:2682 includes/functions.old.php:2607
1668
+ #: includes/functions.php:2665
1669
  msgid ""
1670
  "Maximum number of impressions of this block for each visitor. Empty means no "
1671
  "impression limit."
1674
  "pomeni brez omejitev prikazov."
1675
 
1676
  #: includes/functions-check-now.php:2691 includes/functions.old.php:2616
1677
+ #: includes/functions.php:2674
1678
  msgid ""
1679
  "Maximum number of impressions per time period for each visitor. Empty means "
1680
  "no impression limit per time period for visitors."
1684
 
1685
  #: includes/functions-check-now.php:2698 includes/functions-check-now.php:2725
1686
  #: includes/functions.old.php:2623 includes/functions.old.php:2650
1687
+ #: includes/functions.php:2681 includes/functions.php:2708
1688
  msgid ""
1689
  "Time period in days. Use decimal value (with decimal point) for shorter "
1690
  "periods. Empty means no time limit."
1693
  "krajša obdobja. Prazno pomeni brez časovne omejitve."
1694
 
1695
  #: includes/functions-check-now.php:2709 includes/functions.old.php:2634
1696
+ #: includes/functions.php:2692
1697
  msgid ""
1698
  "Maximum number of clicks on this block for each visitor. Empty means no "
1699
  "click limit."
1702
  "brez omejitev klikov."
1703
 
1704
  #: includes/functions-check-now.php:2718 includes/functions.old.php:2643
1705
+ #: includes/functions.php:2701
1706
  msgid ""
1707
  "Maximum number of clicks per time period for each visitor. Empty means no "
1708
  "click limit per time period for visitors."
1711
  "pomeni brez omejitev klikov na časovno enoto za obiskovalce."
1712
 
1713
  #: includes/functions-check-now.php:2744 includes/functions.old.php:2669
1714
+ #: includes/functions.php:2727
1715
  msgid "When ad blocking is detected"
1716
  msgstr "Ko je blokiranje oglasov zaznano"
1717
 
1718
  #: includes/functions-check-now.php:2753 includes/functions.old.php:2678
1719
+ #: includes/functions.php:2736
1720
  msgid "replacement"
1721
  msgstr "nadomestek"
1722
 
1723
  #: includes/functions-check-now.php:2754 includes/functions.old.php:2679
1724
+ #: includes/functions.php:2737
1725
  msgid "Block to be shown when ad blocking is detected"
1726
  msgstr "Blok, ki naj bo prikazan, ko je zaznano blokiranje oglasov"
1727
 
1728
  #: includes/functions-check-now.php:2755 includes/functions.old.php:2680
1729
+ #: includes/functions.php:2738
1730
  msgctxt "replacement"
1731
  msgid "None"
1732
  msgstr "Noben"
1733
 
1734
  #: includes/functions-check-now.php:2772 includes/functions-check-now.php:5612
1735
  #: includes/functions.old.php:2697 includes/functions.old.php:5484
1736
+ #: includes/functions.php:2755 includes/functions.php:5603
1737
  msgid "Close button"
1738
  msgstr "Gumb Zapri"
1739
 
1740
  #: includes/functions-check-now.php:2824 includes/functions.old.php:2749
1741
+ #: includes/functions.php:2807
1742
  msgid "Auto close after"
1743
  msgstr "Ssamodejno zapri po"
1744
 
1745
  #: includes/functions-check-now.php:2825 includes/functions.old.php:2750
1746
+ #: includes/functions.php:2808
1747
  msgid ""
1748
  "Time in seconds in which the ad will automatically close. Leave empty to "
1749
  "disable auto closing."
1753
 
1754
  #. Translators: Don't show for x days
1755
  #: includes/functions-check-now.php:2830 includes/functions.old.php:2755
1756
+ #: includes/functions.php:2813
1757
  msgid "Don't show for"
1758
  msgstr "Ne prikaži"
1759
 
1760
  #: includes/functions-check-now.php:2831 includes/functions.old.php:2756
1761
+ #: includes/functions.php:2814
1762
  msgid ""
1763
  "Time in days in which closed ad will not be shown again. Use decimal value "
1764
  "(with decimal point) for shorter time period or leave empty to show it again "
1770
 
1771
  #. Translators: Delay showing for x pageviews
1772
  #: includes/functions-check-now.php:2851 includes/functions.old.php:2776
1773
+ #: includes/functions.php:2834
1774
  msgid "Delay showing for"
1775
  msgstr "Zakasni prikaz za"
1776
 
1777
  #: includes/functions-check-now.php:2852 includes/functions.old.php:2777
1778
+ #: includes/functions.php:2835
1779
  msgid ""
1780
  "Number of pageviews before the code is inserted (and ad displayed). Leave "
1781
  "empty to insert the code for the first pageview."
1787
  #. Translators: Show every x pageviews
1788
  #: includes/functions-check-now.php:2854 includes/functions-check-now.php:2861
1789
  #: includes/functions.old.php:2779 includes/functions.old.php:2786
1790
+ #: includes/functions.php:2837 includes/functions.php:2844
1791
  msgid "pageview"
1792
  msgid_plural "pageviews"
1793
  msgstr[0] "ogled strani"
1797
 
1798
  #. Translators: Show every x pageviews
1799
  #: includes/functions-check-now.php:2858 includes/functions.old.php:2783
1800
+ #: includes/functions.php:2841
1801
  msgid "Show every"
1802
  msgid_plural "Show every"
1803
  msgstr[0] "Prikaži vsak"
1806
  msgstr[3] "Prikaži vsakih"
1807
 
1808
  #: includes/functions-check-now.php:2859 includes/functions.old.php:2784
1809
+ #: includes/functions.php:2842
1810
  msgid ""
1811
  "Number of pageviews to insert the code again. Leave empty to insert the code "
1812
  "for every pageview."
1815
  "vstavljanje kode pri vsakem ogledu strani."
1816
 
1817
  #: includes/functions-check-now.php:2878 includes/functions.old.php:2803
1818
+ #: includes/functions.php:2861
1819
  msgid "Lazy loading"
1820
  msgstr "Leno nalaganje"
1821
 
1822
  #. Translators: %s MaxMind
1823
  #: includes/functions-check-now.php:2935 includes/functions.old.php:2860
1824
+ #: includes/functions.php:2918
1825
  msgid "This product includes GeoLite2 data created by %s"
1826
  msgstr "Ta izdelek vsebuje %s GeoLite2 podatke"
1827
 
1828
  #: includes/functions-check-now.php:2946 includes/functions.old.php:2871
1829
+ #: includes/functions.php:2929
1830
  msgid "IP geolocation database"
1831
  msgstr "Podatkovna baza za IP geolokacijo"
1832
 
1833
  #: includes/functions-check-now.php:2949 includes/functions.old.php:2874
1834
+ #: includes/functions.php:2932
1835
  msgid "Select IP geolocation database."
1836
  msgstr "Izberite podatkovno bazo za IP geolokacijo."
1837
 
1838
  #: includes/functions-check-now.php:2960 includes/functions.old.php:2885
1839
+ #: includes/functions.php:2943
1840
  msgid "Automatic database updates"
1841
  msgstr "Samodejna posodobitev podatkovne baze"
1842
 
1843
  #: includes/functions-check-now.php:2963 includes/functions.old.php:2888
1844
+ #: includes/functions.php:2946
1845
  msgid ""
1846
  "Automatically download and update free GeoLite2 IP geolocation database by "
1847
  "MaxMind"
1850
  "podatkovno bazo MaxMind"
1851
 
1852
  #: includes/functions-check-now.php:2971 includes/functions.old.php:2896
1853
+ #: includes/functions.php:2954
1854
  msgid "Database"
1855
  msgstr "Podatkovna baza"
1856
 
1857
  #: includes/functions-check-now.php:2974 includes/functions.old.php:2899
1858
+ #: includes/functions.php:2957
1859
  msgid ""
1860
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1861
  "file"
1865
 
1866
  #. translators: %d: group number
1867
  #: includes/functions-check-now.php:2992 includes/functions.old.php:2917
1868
+ #: includes/functions.php:2975
1869
  msgid "Group %d"
1870
  msgstr "Skupina %d"
1871
 
1872
  #: includes/functions-check-now.php:2998 includes/functions.old.php:2923
1873
+ #: includes/functions.php:2981
1874
  msgid "countries"
1875
  msgstr "države"
1876
 
1877
  #: includes/functions-check-now.php:3043 includes/functions.old.php:2968
1878
+ #: includes/functions.php:3026
1879
  msgid ""
1880
  "Enable impression and click tracking. You also need to enable tracking for "
1881
  "each block you want to track."
1884
  "vsak blok, ki bi ga radi sledili."
1885
 
1886
  #: includes/functions-check-now.php:3050 includes/functions.old.php:2975
1887
+ #: includes/functions.php:3033
1888
  msgid "Generate report"
1889
  msgstr "Generiraj poročilo"
1890
 
1891
  #: includes/functions-check-now.php:3058 includes/functions.old.php:2983
1892
+ #: includes/functions.php:3041
1893
  msgid "Impression and Click Tracking"
1894
  msgstr "Sledenje Prikazov in Klikov"
1895
 
1896
  #: includes/functions-check-now.php:3059 includes/functions.old.php:2984
1897
+ #: includes/functions.php:3042 settings.php:2667
1898
  msgctxt "ad blocking detection"
1899
  msgid "NOT ENABLED"
1900
  msgstr "NI OMOGOČENO"
1901
 
1902
  #: includes/functions-check-now.php:3075 includes/functions.old.php:3000
1903
+ #: includes/functions.php:3058
1904
  msgid "Internal"
1905
  msgstr "Notranje"
1906
 
1907
  #: includes/functions-check-now.php:3079 includes/functions.old.php:3004
1908
+ #: includes/functions.php:3062
1909
  msgid "Track impressions and clicks with internal tracking and statistics"
1910
  msgstr "Sledi prikazom in klikom z notranjim sledenjem in statistiko"
1911
 
1912
  #: includes/functions-check-now.php:3084 includes/functions.old.php:3009
1913
+ #: includes/functions.php:3067
1914
  msgid "External"
1915
  msgstr "Zunanje"
1916
 
1917
  #: includes/functions-check-now.php:3088 includes/functions.old.php:3013
1918
+ #: includes/functions.php:3071
1919
  msgid ""
1920
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1921
  "code installed)"
1924
  "kodo za sledenje)"
1925
 
1926
  #: includes/functions-check-now.php:3093 includes/functions.old.php:3018
1927
+ #: includes/functions.php:3076
1928
  msgid "Track Pageviews"
1929
  msgstr "Sledi Ogledom Strani"
1930
 
1931
  #: includes/functions-check-now.php:3099 includes/functions.old.php:3024
1932
+ #: includes/functions.php:3082
1933
  msgid "Track Pageviews by Device (as configured for viewports)"
1934
  msgstr "Sledi Ogledom Strani po Napravah (kot so nastavljene za poglede)"
1935
 
1936
  #: includes/functions-check-now.php:3109 includes/functions.old.php:3034
1937
+ #: includes/functions.php:3092
1938
  msgid "Track for Logged in Users"
1939
  msgstr "Sledi za Prijavljene Upor."
1940
 
1941
  #: includes/functions-check-now.php:3115 includes/functions.old.php:3040
1942
+ #: includes/functions.php:3098
1943
  msgid "Track impressions and clicks from logged in users"
1944
  msgstr "Sledi prikazom in klikom neprijavljenih uporabnikov"
1945
 
1946
  #: includes/functions-check-now.php:3125 includes/functions.old.php:3050
1947
+ #: includes/functions.php:3108
1948
  msgid "Click Detection"
1949
  msgstr "Zaznavanje klikov"
1950
 
1951
  #: includes/functions-check-now.php:3131 includes/functions.old.php:3056
1952
+ #: includes/functions.php:3114
1953
  msgid ""
1954
  "Standard method detects clicks only on banners with links, Advanced method "
1955
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1958
  "lahko zazna klike na kateremkoli oglasu, ampak je rahlo manj zanesljiv"
1959
 
1960
  #: includes/functions-check-now.php:3150 includes/functions.old.php:3075
1961
+ #: includes/functions.php:3133
1962
  msgid "Click fraud protection"
1963
  msgstr "Zaščita pred goljufijo s kliki"
1964
 
1965
  #: includes/functions-check-now.php:3154 includes/functions.old.php:3079
1966
+ #: includes/functions.php:3137
1967
  msgid "Globally enable click fraud protection for selected blocks."
1968
  msgstr "Globalno omogočite zaščito pred goljufijo s kliki za izbrane bloke."
1969
 
1970
  #: includes/functions-check-now.php:3160 includes/functions.old.php:3085
1971
+ #: includes/functions.php:3143
1972
  msgid "Protection time"
1973
  msgstr "Čas zaščite"
1974
 
1975
  #: includes/functions-check-now.php:3161 includes/functions.old.php:3086
1976
+ #: includes/functions.php:3144
1977
  msgid ""
1978
  "Time period in days in which blocks with enabled click fraud protection will "
1979
  "be hidden. Use decimal value (with decimal point) for shorter periods."
1983
  "za krajša obdobja."
1984
 
1985
  #: includes/functions-check-now.php:3180 includes/functions.old.php:3105
1986
+ #: includes/functions.php:3163
1987
  msgid "Report header image"
1988
  msgstr "Slika v glavi poročila"
1989
 
1990
  #: includes/functions-check-now.php:3183 includes/functions.old.php:3108
1991
+ #: includes/functions.php:3166
1992
  msgid ""
1993
  "Image or logo to be displayed in the header of the statistins report. "
1994
  "Aabsolute path starting with '/' or relative path to the image file. Clear "
1999
  "ponastavitev na privzeto sliko."
2000
 
2001
  #: includes/functions-check-now.php:3184 includes/functions.old.php:3109
2002
+ #: includes/functions.php:3167 strings.php:232
2003
  msgid "Select or upload header image"
2004
  msgstr "Izberi ali naloži sliko glave"
2005
 
2006
  #: includes/functions-check-now.php:3189 includes/functions.old.php:3114
2007
+ #: includes/functions.php:3172
2008
  msgid "Report header title"
2009
  msgstr "Naslov v glavi poročila"
2010
 
2011
  #: includes/functions-check-now.php:3192 includes/functions.old.php:3117
2012
+ #: includes/functions.php:3175
2013
  msgid ""
2014
  "Title to be displayed in the header of the statistics report. Text or HTML "
2015
  "code, clear to reset to default text."
2018
  "pobrišite za ponastavitev na privzeto besedilo."
2019
 
2020
  #: includes/functions-check-now.php:3197 includes/functions.old.php:3122
2021
+ #: includes/functions.php:3180
2022
  msgid "Report header description"
2023
  msgstr "Opis v glavi poročila"
2024
 
2025
  #: includes/functions-check-now.php:3200 includes/functions.old.php:3125
2026
+ #: includes/functions.php:3183
2027
  msgid ""
2028
  "Description to be displayed in the header of the statistics report. Text or "
2029
  "HTML code, clear to reset to default text."
2032
  "pobrišite za ponastavitev na privzeto besedilo."
2033
 
2034
  #: includes/functions-check-now.php:3205 includes/functions.old.php:3130
2035
+ #: includes/functions.php:3188
2036
  msgid "Report footer"
2037
  msgstr "Noga poročila"
2038
 
2039
  #: includes/functions-check-now.php:3208 includes/functions.old.php:3133
2040
+ #: includes/functions.php:3191
2041
  msgid ""
2042
  "Text to be displayed in the footer of the statistics report. Clear to reset "
2043
  "to default text."
2046
  "koda, pobrišite za ponastavitev na privzeto besedilo."
2047
 
2048
  #: includes/functions-check-now.php:3213 includes/functions.old.php:3138
2049
+ #: includes/functions.php:3196
2050
  msgid "Public report key"
2051
  msgstr "Ključ za javno poročilo"
2052
 
2053
  #: includes/functions-check-now.php:3216 includes/functions.old.php:3141
2054
+ #: includes/functions.php:3199
2055
  msgid "String to generate unique report IDs. Clear to reset to default value."
2056
  msgstr ""
2057
  "Niz za ustvaritev unikatnega IDja poročila. Pobrišite za ponastavitev na "
2058
  "privzeto vrednost."
2059
 
2060
  #: includes/functions-check-now.php:3248 includes/functions.old.php:3173
2061
+ #: includes/functions.php:3231
2062
  msgid "Are you sure you want to clear all exceptions for block"
2063
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok"
2064
 
2065
  #: includes/functions-check-now.php:3249 includes/functions.old.php:3174
2066
+ #: includes/functions.php:3232 settings.php:1165
2067
  msgid "Clear all exceptions for block"
2068
  msgstr "Pobriši vse izjeme za blok"
2069
 
2070
  #: includes/functions-check-now.php:3256 includes/functions.old.php:3181
2071
+ #: includes/functions.php:3239
2072
  msgid "Are you sure you want to clear all exceptions?"
2073
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme?"
2074
 
2075
  #: includes/functions-check-now.php:3256 includes/functions.old.php:3181
2076
+ #: includes/functions.php:3239
2077
  msgid "Clear all exceptions for all blocks"
2078
  msgstr "Pobriši vse izjeme za vse bloke"
2079
 
2080
  #: includes/functions-check-now.php:3261 includes/functions.old.php:3186
2081
+ #: includes/functions.php:3244 settings.php:3750 settings.php:4181
2082
  msgid "Type"
2083
  msgstr "Vrsta"
2084
 
2085
  #: includes/functions-check-now.php:3279 includes/functions.old.php:3204
2086
+ #: includes/functions.php:3262
2087
  msgid "View"
2088
  msgstr "Poglej"
2089
 
2090
  #: includes/functions-check-now.php:3280 includes/functions-check-now.php:3287
2091
  #: includes/functions-check-now.php:3291 includes/functions.old.php:3205
2092
  #: includes/functions.old.php:3212 includes/functions.old.php:3216
2093
+ #: includes/functions.php:3263 includes/functions.php:3270
2094
+ #: includes/functions.php:3274 includes/placeholders.php:353
2095
+ #: includes/preview.php:2281 settings.php:1299 settings.php:3510
2096
  msgid "Edit"
2097
  msgstr "Uredi"
2098
 
2099
  #: includes/functions-check-now.php:3310 includes/functions.old.php:3235
2100
+ #: includes/functions.php:3293
2101
  msgid "Are you sure you want to clear all exceptions for"
2102
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za"
2103
 
2104
  #: includes/functions-check-now.php:3311 includes/functions.old.php:3236
2105
+ #: includes/functions.php:3294
2106
  msgid "Clear all exceptions for"
2107
  msgstr "Pobriši vse izjeme za"
2108
 
2109
  #: includes/functions-check-now.php:3324 includes/functions.old.php:3249
2110
+ #: includes/functions.php:3307
2111
  msgid "No exceptions"
2112
  msgstr "Brez izjem"
2113
 
2114
  #. translators: %s: Ad Inserter Pro
2115
  #: includes/functions-check-now.php:3335 includes/functions.old.php:3260
2116
+ #: includes/functions.php:3318
2117
  msgid "%s options for network blogs"
2118
  msgstr "%s izbire za omrežne bloge"
2119
 
2120
  #. translators: %s: Ad Inserter Pro
2121
  #: includes/functions-check-now.php:3340 includes/functions.old.php:3265
2122
+ #: includes/functions.php:3323
2123
  msgid "Enable %s widgets for sub-sites"
2124
  msgstr "Omogoči %s gradnik za pod-spletišča"
2125
 
2126
  #: includes/functions-check-now.php:3340 includes/functions.old.php:3265
2127
+ #: includes/functions.php:3323
2128
  msgid "Widgets"
2129
  msgstr "Gradniki"
2130
 
2131
  #: includes/functions-check-now.php:3345 includes/functions.old.php:3270
2132
+ #: includes/functions.php:3328
2133
  msgid "Enable PHP code processing for sub-sites"
2134
  msgstr "Omogoči procesiranje PHP kode za pod-spletišča"
2135
 
2136
  #: includes/functions-check-now.php:3345 includes/functions.old.php:3270
2137
+ #: includes/functions.php:3328
2138
  msgid "PHP Processing"
2139
  msgstr "PHP Procesiranje"
2140
 
2141
  #. translators: %s: Ad Inserter Pro
2142
  #: includes/functions-check-now.php:3350 includes/functions.old.php:3275
2143
+ #: includes/functions.php:3333
2144
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
2145
  msgstr ""
2146
  "Omogoči %s izjeme blokov v urejevalniku prispevkov/strani za pod-spletišča"
2147
 
2148
  #: includes/functions-check-now.php:3350 includes/functions.old.php:3275
2149
+ #: includes/functions.php:3333
2150
  msgid "Post/Page exceptions"
2151
  msgstr "Izjeme prispevkov/strani"
2152
 
2153
  #. translators: %s: Ad Inserter Pro
2154
  #: includes/functions-check-now.php:3355 includes/functions.old.php:3280
2155
+ #: includes/functions.php:3338
2156
  msgid "Enable %s settings page for sub-sites"
2157
  msgstr "Omogoči nastavitveno stran %s za pod-spletišča"
2158
 
2159
  #: includes/functions-check-now.php:3355 includes/functions.old.php:3280
2160
+ #: includes/functions.php:3338
2161
  msgid "Settings page"
2162
  msgstr "Stran z nastavitvami"
2163
 
2164
  #. translators: %s: Ad Inserter Pro
2165
  #: includes/functions-check-now.php:3360 includes/functions.old.php:3285
2166
+ #: includes/functions.php:3343
2167
  msgid "Enable %s settings of main site to be used for all blogs"
2168
  msgstr "Omogoči %s nastavitve glavnega spletišča za uporabo na vseh blogih"
2169
 
2170
  #: includes/functions-check-now.php:3360 includes/functions.old.php:3285
2171
+ #: includes/functions.php:3343
2172
  msgid "Main site settings used for all blogs"
2173
  msgstr "Nastavitve glavnega spletišča uporabljene na vseh blogih"
2174
 
2175
  #: includes/functions-check-now.php:3371 includes/functions.old.php:3296
2176
+ #: includes/functions.php:3354 settings.php:2666
2177
  msgid "Ad Blocking Detection"
2178
  msgstr "Zaznavanje Blokiranja Oglasov"
2179
 
2180
  #: includes/functions-check-now.php:3377 includes/functions.old.php:3302
2181
+ #: includes/functions.php:3360
2182
  msgid ""
2183
  "Standard method is reliable but should be used only if Advanced method does "
2184
  "not work. Advanced method recreates files used for detection with random "
2193
  #: includes/functions-check-now.php:4029 includes/functions-check-now.php:4119
2194
  #: includes/functions-check-now.php:4139 includes/functions.old.php:3929
2195
  #: includes/functions.old.php:4019 includes/functions.old.php:4039
2196
+ #: includes/functions.php:4020 includes/functions.php:4110
2197
+ #: includes/functions.php:4130
2198
  msgid "AD BLOCKING"
2199
  msgstr "BLOKIRANJE OGLASOV"
2200
 
2202
  #: includes/functions-check-now.php:4113 includes/functions-check-now.php:4140
2203
  #: includes/functions.old.php:3930 includes/functions.old.php:3970
2204
  #: includes/functions.old.php:4013 includes/functions.old.php:4040
2205
+ #: includes/functions.php:4021 includes/functions.php:4061
2206
+ #: includes/functions.php:4104 includes/functions.php:4131
2207
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
2208
  msgstr "BLOK VSTAVLJEN, VENDAR NI VIDEN"
2209
 
2210
  #: includes/functions-check-now.php:4033 includes/functions-check-now.php:4112
2211
  #: includes/functions-check-now.php:4146 includes/functions.old.php:3933
2212
  #: includes/functions.old.php:4012 includes/functions.old.php:4046
2213
+ #: includes/functions.php:4024 includes/functions.php:4103
2214
+ #: includes/functions.php:4137
2215
  msgid "NO AD BLOCKING"
2216
  msgstr "NI BLOKIRANJA OGLASOV"
2217
 
2218
  #: includes/functions-check-now.php:4069 includes/functions-check-now.php:4076
2219
  #: includes/functions.old.php:3969 includes/functions.old.php:3976
2220
+ #: includes/functions.php:4060 includes/functions.php:4067
2221
  msgid "AD BLOCKING REPLACEMENT"
2222
  msgstr "NADOMESTEK V PRIMERU BLOKIRANJA OGLASOV"
2223
 
2224
  #: includes/functions-check-now.php:4219 includes/functions-check-now.php:4428
2225
  #: includes/functions.old.php:4119 includes/functions.old.php:4328
2226
+ #: includes/functions.php:4210 includes/functions.php:4419
2227
  msgid "Pageviews"
2228
  msgstr "Ogledi strani"
2229
 
2230
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2231
+ #: includes/functions.php:4356
2232
  msgctxt "Version"
2233
  msgid "Unknown"
2234
  msgstr "Neznana"
2235
 
2236
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2237
+ #: includes/functions.php:4356
2238
  msgctxt "Times"
2239
  msgid "DISPLAYED"
2240
  msgstr "PRIKAZANO"
2241
 
2242
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2243
+ #: includes/functions.php:4356
2244
  msgid "No version"
2245
  msgstr "Brez različice"
2246
 
2247
  #: includes/functions-check-now.php:4366 includes/functions.old.php:4266
2248
+ #: includes/functions.php:4357
2249
  msgctxt "Times"
2250
  msgid "BLOCKED"
2251
  msgstr "BLOKIRANO"
2252
 
2253
  #: includes/functions-check-now.php:4428 includes/functions.old.php:4328
2254
+ #: includes/functions.php:4419
2255
  msgid "Impressions"
2256
  msgstr "Prikazi"
2257
 
2258
  #: includes/functions-check-now.php:4429 includes/functions-check-now.php:4430
2259
  #: includes/functions-check-now.php:4485 includes/functions.old.php:4329
2260
  #: includes/functions.old.php:4330 includes/functions.old.php:4385
2261
+ #: includes/functions.php:4420 includes/functions.php:4421
2262
+ #: includes/functions.php:4476
2263
  msgid "Clicks"
2264
  msgstr "Kliki"
2265
 
2266
  #: includes/functions-check-now.php:4430 includes/functions.old.php:4330
2267
+ #: includes/functions.php:4421
2268
  msgid "events"
2269
  msgstr "dogodki"
2270
 
2271
  #: includes/functions-check-now.php:4431 includes/functions.old.php:4331
2272
+ #: includes/functions.php:4422
2273
  msgid "Ad Blocking Share"
2274
  msgstr "Delež blokiranja oglasov"
2275
 
2276
  #. translators: CTR as Click Through Rate
2277
  #: includes/functions-check-now.php:4431 includes/functions-check-now.php:4491
2278
  #: includes/functions.old.php:4331 includes/functions.old.php:4391
2279
+ #: includes/functions.php:4422 includes/functions.php:4482
2280
  msgid "CTR"
2281
  msgstr "CTR"
2282
 
2283
  #: includes/functions-check-now.php:4573 includes/functions.old.php:4473
2284
+ #: includes/functions.php:4564
2285
  msgid "pageviews"
2286
  msgid_plural "pageviews"
2287
  msgstr[0] "ogled strani"
2290
  msgstr[3] "ogledov strani"
2291
 
2292
  #: includes/functions-check-now.php:4573 includes/functions.old.php:4473
2293
+ #: includes/functions.php:4564
2294
  msgid "impressions"
2295
  msgid_plural "impressions"
2296
  msgstr[0] "prikaz"
2299
  msgstr[3] "prikazov"
2300
 
2301
  #: includes/functions-check-now.php:4577 includes/functions.old.php:4477
2302
+ #: includes/functions.php:4568
2303
  msgid "event"
2304
  msgid_plural "events"
2305
  msgstr[0] "dogodek"
2308
  msgstr[3] "dogodkov"
2309
 
2310
  #: includes/functions-check-now.php:4672 includes/functions.old.php:4572
2311
+ #: includes/functions.php:4663
2312
  msgctxt "Pageviews / Impressions"
2313
  msgid "Average"
2314
  msgstr "Povprečni"
2315
 
2316
  #: includes/functions-check-now.php:4693 includes/functions.old.php:4593
2317
+ #: includes/functions.php:4684
2318
  msgctxt "Ad Blocking / Clicks"
2319
  msgid "Average"
2320
  msgstr "Povprečno"
2321
 
2322
  #: includes/functions-check-now.php:4717 includes/functions.old.php:4617
2323
+ #: includes/functions.php:4708
2324
  msgctxt "Ad Blocking Share / CTR"
2325
  msgid "Average"
2326
  msgstr "Povprečni"
2329
  #: includes/functions-check-now.php:4899 includes/functions-check-now.php:4991
2330
  #: includes/functions-check-now.php:5334 includes/functions.old.php:4799
2331
  #: includes/functions.old.php:4891 includes/functions.old.php:5207
2332
+ #: includes/functions.php:4890 includes/functions.php:4982
2333
+ #: includes/functions.php:5325 strings.php:186
2334
  msgid "%s Report"
2335
  msgstr "%s Poročilo"
2336
 
2337
  #: includes/functions-check-now.php:5240 includes/functions.old.php:5113
2338
+ #: includes/functions.php:5231
2339
  msgid "for last month"
2340
  msgstr "za zadnji mesec"
2341
 
2342
  #: includes/functions-check-now.php:5245 includes/functions.old.php:5118
2343
+ #: includes/functions.php:5236
2344
  msgid "for this month"
2345
  msgstr "za ta mesec"
2346
 
2347
  #: includes/functions-check-now.php:5250 includes/functions.old.php:5123
2348
+ #: includes/functions.php:5241
2349
  msgid "for this year"
2350
  msgstr "za to leto"
2351
 
2352
  #: includes/functions-check-now.php:5255 includes/functions.old.php:5128
2353
+ #: includes/functions.php:5246
2354
  msgid "for the last 15 days"
2355
  msgstr "za zadnjih 15 dni"
2356
 
2357
  #: includes/functions-check-now.php:5260 includes/functions.old.php:5133
2358
+ #: includes/functions.php:5251
2359
  msgid "for the last 30 days"
2360
  msgstr "za zadnjih 30 dni"
2361
 
2362
  #: includes/functions-check-now.php:5265 includes/functions.old.php:5138
2363
+ #: includes/functions.php:5256
2364
  msgid "for the last 90 days"
2365
  msgstr "za zadnjih 90 dni"
2366
 
2367
  #: includes/functions-check-now.php:5270 includes/functions.old.php:5143
2368
+ #: includes/functions.php:5261
2369
  msgid "for the last 180 days"
2370
  msgstr "za zadnjih 180 dni"
2371
 
2372
  #: includes/functions-check-now.php:5275 includes/functions.old.php:5148
2373
+ #: includes/functions.php:5266
2374
  msgid "for the last 365 days"
2375
  msgstr "za zadnjih 365 dni"
2376
 
2377
+ #: includes/functions.php:1439
2378
+ msgid "License"
2379
+ msgstr "Licenca"
2380
+
2381
  #: includes/placeholders.php:20
2382
  msgid "Custom"
2383
  msgstr "Po meri"
2402
  msgid "Placeholder"
2403
  msgstr "Polnilo"
2404
 
2405
+ #: includes/placeholders.php:363 settings.php:908 settings.php:4182
2406
  msgid "Size"
2407
  msgstr "Velikost"
2408
 
2535
  msgid "Ad Blocking Detected Message Preview"
2536
  msgstr "Predogled Sporočila ko je Zaznano Blokiranje Oglasov"
2537
 
2538
+ #: includes/preview-adb.php:348 settings.php:2792
2539
  msgid "Message CSS"
2540
  msgstr "CSS sporočila"
2541
 
2542
+ #: includes/preview-adb.php:353 settings.php:2800
2543
  msgid "Overlay CSS"
2544
  msgstr "CSS prevleke"
2545
 
2579
  msgid "background"
2580
  msgstr "ozadje"
2581
 
2582
+ #: includes/preview.php:2085 includes/preview.php:2236 settings.php:1260
2583
  msgid "Alignment"
2584
  msgstr "Poravnava"
2585
 
2724
  "Označi označi ozadje, območje odmika in območje kode, medtem ko gumb "
2725
  "Ponastavi vrne vse vrednosti na tiste od trenutnega bloka."
2726
 
2727
+ #: settings.php:175 settings.php:1149
2728
  msgid ""
2729
  "Settings for individual exceptions have been updated. Please check all "
2730
  "blocks that have exceptions and and then save settings."
2732
  "Nastavitve za posamezne izjeme so bile posodobljene. Prosimo, preverite vse "
2733
  "bloke, ki imajo izjeme in potem shranite nastavitve."
2734
 
2735
+ #: settings.php:217
2736
  msgid "Online documentation"
2737
  msgstr "Spletna Dokumentacija"
2738
 
2739
+ #: settings.php:221 settings.php:743 settings.php:2186
2740
  msgid "Show AdSense ad units"
2741
  msgstr "Pokaži oglasne enote AdSense"
2742
 
2743
+ #: settings.php:226
2744
  msgid "Edit ads.txt file"
2745
  msgstr "Uredi datoteko ads.txt"
2746
 
2747
+ #: settings.php:229 settings.php:1092
2748
  msgid "Check theme for available positions for automatic insertion"
2749
  msgstr "Preveri temo za razpoložljive položaje za samodejno vstavljanje"
2750
 
2751
+ #: settings.php:231
2752
  msgid "List all blocks"
2753
  msgstr "Izpiši seznam vseh blokov"
2754
 
2755
+ #: settings.php:238
2756
  msgid "Loaded plugin JavaScript file version"
2757
  msgstr "Naložena različica JavaScript datoteke vtičnika"
2758
 
2759
  #. translators: %s: HTML tags
2760
+ #: settings.php:240
2761
  msgid ""
2762
  "Wrong or %s missing version parameter %s of the JavaScript file, probably "
2763
  "due to inappropriate caching."
2765
  "Napačen ali %s manjkajoč parameter verzije %s JavaScript datoteke, najbrž "
2766
  "zaradi nepravilnega predpomnjenja."
2767
 
2768
+ #: settings.php:241
2769
  msgid ""
2770
  "Missing version parameter of the JavaScript file, probably due to "
2771
  "inappropriate caching."
2773
  "Manjka parameter verzije JavaScript datoteke, najbrž zaradi nepravilnega "
2774
  "predpomnjenja."
2775
 
2776
+ #: settings.php:242
2777
  msgid ""
2778
  "Incompatible (old) JavaScript file loaded, probably due to inappropriate "
2779
  "caching."
2781
  "Naložena je nezdružljiva (stara) različica JavaScript datoteke, najbrž "
2782
  "zaradi nepravilnega predpomnjenja."
2783
 
2784
+ #: settings.php:243 settings.php:254
2785
  msgid ""
2786
  "Please delete browser's cache and all other caches used and then reload this "
2787
  "page."
2789
  "Prosimo, pobrišite predpomnilnik brskalnika in vse druge predpomnilnike ter "
2790
  "potem na novo naložite to stran."
2791
 
2792
+ #: settings.php:249
2793
  msgid "Loaded plugin CSS file version"
2794
  msgstr "Naložena različica CSS datoteke vtičnika"
2795
 
2796
  #. translators: %s: HTML tags
2797
+ #: settings.php:251
2798
  msgid ""
2799
  "Wrong or %s missing version parameter %s of the CSS file, probably due to "
2800
  "inappropriate caching."
2802
  "Napačen ali %s manjkajoč parameter verzije %s CSS datoteke, najbrž zaradi "
2803
  "nepravilnega predpomnjenja."
2804
 
2805
+ #: settings.php:252
2806
  msgid ""
2807
  "Missing version parameter of the CSS file, probably due to inappropriate "
2808
  "caching."
2810
  "Manjka parameter verzije JavaScript datoteke, najbrž zaradi nepravilnega "
2811
  "predpomnjenja."
2812
 
2813
+ #: settings.php:253
2814
  msgid ""
2815
  "Incompatible (old) CSS file loaded, probably due to inappropriate caching."
2816
  msgstr ""
2817
  "Naložena je nezdružljiva (stara) različica CSS datoteke, najbrž zaradi "
2818
  "nepravilnega predpomnjenja."
2819
 
2820
+ #: settings.php:260 settings.php:272
2821
  msgid "WARNING"
2822
  msgstr "OPOZORILO"
2823
 
2824
  #. translators: %s: HTML tags
2825
+ #: settings.php:262
2826
  msgid "Page may %s not be loaded properly. %s"
2827
  msgstr "Stran mogoče %s ni naložena pravilno. %s"
2828
 
2829
+ #: settings.php:263
2830
  msgid ""
2831
  "Check ad blocking software that may block CSS, JavaScript or image files."
2832
  msgstr ""
2833
  "Preverite programe za blokiranje oglasov, ki lahko onemogočijo CSS, "
2834
  "JavaScript ali slikovne datoteke."
2835
 
2836
+ #: settings.php:272
2837
  msgid ""
2838
  "To disable debugging functions and to enable insertions go to tab [*] / tab "
2839
  "Debugging"
2841
  "Za izključitev razhroščevalnih funkcij in za vključitev vstavljanja pojdite "
2842
  "na zavihek [*] / zavihek Razhroščevanje"
2843
 
2844
+ #: settings.php:274
2845
  msgid "Debugging functions enabled - some code is not inserted"
2846
  msgstr "Vključene so funkcije za razhroščevanje - nekatera koda ni vstavljena"
2847
 
2848
+ #: settings.php:291
2849
  msgid "Group name"
2850
  msgstr "Ime skupine"
2851
 
2852
+ #: settings.php:292
2853
  msgid "Option name"
2854
  msgstr "Ime različice"
2855
 
2856
+ #: settings.php:298
2857
  msgid "Share"
2858
  msgstr "Delež"
2859
 
2860
+ #: settings.php:301
2861
  msgid ""
2862
  "Option share in percents - 0 means option is disabled, if share for one "
2863
  "option is not defined it will be calculated automatically. Leave all share "
2867
  "eno različico ni določen bo izračunan samodejno. Pustite vsa polja za deleže "
2868
  "prazne za enakomerno porazdelitev deležev različic."
2869
 
2870
+ #: settings.php:304
2871
  msgid "Time"
2872
  msgstr "Čas"
2873
 
2874
+ #: settings.php:307
2875
  msgid ""
2876
  "Option time in seconds - 0 means option is disabled and will be skipped. "
2877
  "Leave all time fields empty for no timed rotation."
2879
  "Čas različice v sekundah - 0 pomeni, da je različica onemogočena in bo "
2880
  "preskočena. Pustite vse polja za čas prazna za rotacijo brez časov."
2881
 
2882
+ #: settings.php:459
2883
  msgid "General Settings"
2884
  msgstr "Splošne Nastavitve"
2885
 
2886
+ #: settings.php:691 settings.php:2519 settings.php:2586 settings.php:2772
2887
  msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
2888
  msgstr ""
2889
  "Preklopi Poudarjanje Sintakse / Preprost urejevalnik za mobilne naprave"
2890
 
2891
+ #: settings.php:698
2892
  msgid "Toggle tools"
2893
  msgstr "Preklopi orodja"
2894
 
2895
+ #: settings.php:706
2896
  msgid "Process PHP code in block"
2897
  msgstr "Procesiraj PHP kodo v bloku"
2898
 
2899
+ #: settings.php:713
2900
  msgid "Disable insertion of this block"
2901
  msgstr "Onemogoči vstavljanje tega bloka"
2902
 
2903
+ #: settings.php:725
2904
  msgid "Toggle code generator"
2905
  msgstr "Preklopi generator kode"
2906
 
2907
+ #: settings.php:729
2908
  msgid "Toggle rotation editor"
2909
  msgstr "Preklopi urejevalnik rotacije"
2910
 
2911
+ #: settings.php:733
2912
  msgid "Open visual HTML editor"
2913
  msgstr "Odpri vizualni HTML urejevalnik"
2914
 
2915
+ #: settings.php:752
2916
  msgid "Clear block"
2917
  msgstr "Počisti blok"
2918
 
2919
+ #: settings.php:757 settings.php:4054
2920
  msgid "Copy block"
2921
  msgstr "Kopiraj blok"
2922
 
2923
+ #: settings.php:761
2924
  msgid "Paste name"
2925
  msgstr "Prilepi ime"
2926
 
2927
+ #: settings.php:765
2928
  msgid "Paste code"
2929
  msgstr "Prilepi kodo"
2930
 
2931
+ #: settings.php:769
2932
  msgid "Paste settings"
2933
  msgstr "Prilepi nastavitve"
2934
 
2935
+ #: settings.php:773
2936
  msgid "Paste block (name, code and settings)"
2937
  msgstr "Prilepi blok (ime, kodo in nastavitve)"
2938
 
2939
+ #: settings.php:792
2940
  msgid "Rotation groups"
2941
  msgstr "Skupine za rotacijo"
2942
 
2943
+ #: settings.php:796
2944
  msgid "Remove option"
2945
  msgstr "Odstrani različico"
2946
 
2947
+ #: settings.php:800
2948
  msgid "Add option"
2949
  msgstr "Dodaj različico"
2950
 
2951
+ #: settings.php:815
2952
  msgid "Import code"
2953
  msgstr "Uvozi kodo"
2954
 
2955
+ #: settings.php:819
2956
  msgid "Generate code"
2957
  msgstr "Generiraj kodo"
2958
 
2959
+ #: settings.php:824
2960
  msgid "Banner"
2961
  msgstr "Pasica"
2962
 
2963
+ #: settings.php:835
2964
  msgid "Image"
2965
  msgstr "Slika"
2966
 
2967
+ #: settings.php:843
2968
  msgid "Link"
2969
  msgstr "Povezava"
2970
 
2971
+ #: settings.php:854
2972
  msgid "Open link in a new tab"
2973
  msgstr "Odpri povezavo v novem zavihku"
2974
 
2975
+ #: settings.php:855
2976
  msgid "Select Image"
2977
  msgstr "Izberi Sliko"
2978
 
2979
+ #: settings.php:856
2980
  msgid "Select Placeholder"
2981
  msgstr "Izberi Polnilo"
2982
 
2983
+ #: settings.php:868
2984
  msgid "Comment"
2985
  msgstr "Komentar"
2986
 
2987
+ #: settings.php:877
2988
  msgctxt "AdSense"
2989
  msgid "Publisher ID"
2990
  msgstr "ID založnika"
2991
 
2992
+ #: settings.php:886
2993
  msgctxt "AdSense"
2994
  msgid "Ad Slot ID"
2995
  msgstr "ID mesta"
2996
 
2997
+ #: settings.php:895
2998
  msgid "Ad Type"
2999
  msgstr "Vrsta"
3000
 
3001
+ #: settings.php:920
3002
  msgid "AMP Ad"
3003
  msgstr "AMP Oglas"
3004
 
3005
+ #: settings.php:938
3006
  msgid "Show ad units from your AdSense account"
3007
  msgstr "Prikaži oglasne enote s tvojega AdSense računa"
3008
 
3009
+ #: settings.php:938
3010
  msgid "AdSense ad units"
3011
  msgstr "Oglasne enote AdSense"
3012
 
3013
+ #: settings.php:955
3014
  msgctxt "AdSense"
3015
  msgid "Layout"
3016
  msgstr "Postavitev"
3017
 
3018
+ #: settings.php:964
3019
  msgctxt "AdSense"
3020
  msgid "Layout Key"
3021
  msgstr "Ključ postavitve"
3022
 
3023
+ #: settings.php:974
3024
  msgid "Full width"
3025
  msgstr "Celotna širina"
3026
 
3027
+ #: settings.php:976
3028
  msgctxt "Full width"
3029
  msgid "Enabled"
3030
  msgstr "Omogočena"
3031
 
3032
+ #: settings.php:977
3033
  msgctxt "Full width"
3034
  msgid "Disabled"
3035
  msgstr "Onemogočena"
3036
 
3037
+ #: settings.php:1058
3038
  msgid ""
3039
  "White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
3040
  "Cookie or Referer (domain)"
3042
  "Bel/Črn seznam Kategorij, Oznak, Taksonomij, ID Prispevkov, Url-jev, Url "
3043
  "parametrov, Piškotkov ali napotiteljev (domen)"
3044
 
3045
+ #: settings.php:1058
3046
  msgid "Lists"
3047
  msgstr "Seznami"
3048
 
3049
+ #: settings.php:1059
3050
  msgid "Widget, Shortcode and PHP function call"
3051
  msgstr "Gradnik, Kratka koda in Klic PHP funkcije"
3052
 
3053
+ #: settings.php:1059
3054
  msgid "Manual"
3055
  msgstr "Ročno"
3056
 
3057
+ #: settings.php:1060
3058
  msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
3059
  msgstr ""
3060
  "Zaznavanje Naprave na strani Strežnika/Klienta (Namizni, Tablica, Telefon)"
3061
 
3062
+ #: settings.php:1060
3063
  msgid "Devices"
3064
  msgstr "Naprave"
3065
 
3066
+ #: settings.php:1061
3067
  msgid ""
3068
  "Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
3069
  "feeds), Filter, Scheduling, General tag"
3071
  "Preveri status uporabnika, Omeji vstavljanja (napaka 404, zahteve Ajax, vir "
3072
  "RSS), Filter, Urnik, Splošna oznaka"
3073
 
3074
+ #: settings.php:1061
3075
  msgid "Misc"
3076
  msgstr "Razno"
3077
 
3078
+ #: settings.php:1062
3079
  msgid "Preview code and alignment"
3080
  msgstr "Predogled kode in poravnave"
3081
 
3082
+ #: settings.php:1065 settings.php:2170
3083
  msgid ""
3084
  "Rotation editor active - rotation code not generated! Make sure no rotation "
3085
  "editor is active before saving settings."
3087
  "Aktiven urejevalnik rotacij - koda za rotacijo ni generirana! Poskrbite, da "
3088
  "noben urejevalnik rotacij ni aktiven pred shranjevanjem nastavitev."
3089
 
3090
+ #: settings.php:1078 settings.php:1079
3091
  msgid "Enable insertion on posts"
3092
  msgstr "Omogoči vstavljanje na prispevkih"
3093
 
3094
+ #: settings.php:1079 settings.php:3322
3095
  msgid "Posts"
3096
  msgstr "Prispevki"
3097
 
3098
+ #: settings.php:1083 settings.php:1084
3099
  msgid ""
3100
  "Enable insertion on homepage: latest posts (including on sub-pages), static "
3101
  "page or theme homepage (available positions may depend on hooks used by the "
3105
  "podstraneh), statična stran ali domača stran teme (razpoložljivi položaji so "
3106
  "lahko odvisni od ročic, ki jih tema uporablja)"
3107
 
3108
+ #: settings.php:1084 settings.php:3324
3109
  msgid "Homepage"
3110
  msgstr "Domača stran"
3111
 
3112
+ #: settings.php:1088 settings.php:1089
3113
  msgid "Enable insertion on category blog pages (including sub-pages)"
3114
  msgstr "Omogoči vstavljanje na straneh kategorij (vključno s podstranmi)"
3115
 
3116
+ #: settings.php:1089 settings.php:3325
3117
  msgid "Category pages"
3118
  msgstr "Strani kategorij"
3119
 
3120
+ #: settings.php:1099 settings.php:1100
3121
  msgid "Enable insertion on static pages"
3122
  msgstr "Omogoči vstavljanje na statičnih straneh"
3123
 
3124
+ #: settings.php:1100 settings.php:3323
3125
  msgid "Static pages"
3126
  msgstr "Statične strani"
3127
 
3128
+ #: settings.php:1104 settings.php:1105
3129
  msgid "Enable insertion on search blog pages"
3130
  msgstr "Omogoči vstavljanje na iskalnih straneh"
3131
 
3132
+ #: settings.php:1105 settings.php:3327
3133
  msgid "Search pages"
3134
  msgstr "Iskalne strani"
3135
 
3136
+ #: settings.php:1109 settings.php:1110
3137
  msgid "Enable insertion on tag or archive blog pages"
3138
  msgstr "Omogoči vstavljanje na straneh oznak in arhivskih straneh"
3139
 
3140
+ #: settings.php:1113
3141
  msgid "Toggle settings for default insertion and list of individual exceptions"
3142
  msgstr "Preklopi nastavitve za privzeto vstavljanje in seznam posameznih izjem"
3143
 
3144
+ #: settings.php:1125
3145
  msgid ""
3146
  "Enable individual post/page exceptions for insertion of this block. They can "
3147
  "be configured on the individual post/page editor page (in the settings below "
3151
  "lahko nastavijo na posamezni strani urejevalnika prispevka/strani (v "
3152
  "nastavitvah pod urejevalnikom)."
3153
 
3154
+ #: settings.php:1126
3155
  msgid ""
3156
  "Enable individual post/page exceptions for insertion of this block. When "
3157
  "enabled they can be configured on the individual post/page editor page (in "
3161
  "omogočene, se te lahko nastavijo na posamezni strani urejevalnika prispevka/"
3162
  "strani (v nastavitvah pod urejevalnikom)."
3163
 
3164
+ #: settings.php:1126
3165
  msgid "Use exceptions for individual posts or pages to change insertion"
3166
  msgstr ""
3167
  "Uporabi izjeme za posamezne prispevke ali strani za spremembo vstavljanja"
3168
 
3169
  #. Translators: Enabled means...
3170
+ #: settings.php:1134
3171
  msgid ""
3172
  "means the insertion for this block is enabled by default and disabled for "
3173
  "exceptions."
3176
  "izjeme."
3177
 
3178
  #. Translators: Disabled means...
3179
+ #: settings.php:1135
3180
  msgid ""
3181
  "means the insertion for this block is disabled by default and enabled for "
3182
  "exceptions."
3184
  "pomeni, da je vstavljanje za ta blok privzeto onemogočeno in omogočeno za "
3185
  "izjeme."
3186
 
3187
+ #: settings.php:1136
3188
  msgid ""
3189
  "When individual post/page exceptions are enabled they can be configured on "
3190
  "the individual post/page editor page (in the settings below the editor)."
3193
  "v urejevalniku posameznega prispevka/strani (v nastavitvah pod "
3194
  "urejevalnikom)."
3195
 
3196
+ #: settings.php:1144
3197
  msgid ""
3198
  "No exception for post or static page defined. Block will not be inserted."
3199
  msgstr ""
3200
  "Ni nastavljene nobene izjeme za prispevek ali stran. Blok ne bo vstavljen."
3201
 
3202
+ #: settings.php:1162
3203
  msgctxt "post"
3204
  msgid "Type"
3205
  msgstr "Vrsta"
3206
 
3207
  #. translators: %d: block number
3208
+ #: settings.php:1164
3209
  msgid "Are you sure you want to clear all exceptions for block %d?"
3210
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok %d?"
3211
 
3212
+ #: settings.php:1191 settings.php:1339 settings.php:1962
3213
  msgid "Insertion"
3214
  msgstr "Vstavljanje"
3215
 
3216
+ #: settings.php:1229
3217
  msgid ""
3218
  "Paragraph number or comma separated paragraph numbers: 1 to N means "
3219
  "paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
3229
  "polovici strani, 0.9 pomeni odstavek pri 90% odstavkov strani...), negativno "
3230
  "število pomeni štetje z nasprotne smeri"
3231
 
3232
+ #: settings.php:1230
3233
  msgid ""
3234
  "Image number or comma separated image numbers: 1 to N means image number, %N "
3235
  "means every N images, empty means all images, 0 means random image, value "
3244
  "sliko pri 20% slik na strani, 0.5 pomeni srednjo sliko, 0.9 pomeni sliko pri "
3245
  "90% slik strani...), negativno število pomeni štetje z nasprotne smeri"
3246
 
3247
+ #: settings.php:1243
3248
  msgid ""
3249
  "Insertion Filter Mirror Setting | Excerpt number or comma separated excerpt "
3250
  "numbers, %N means every N excerpts, empty means all excerpts"
3253
  "ločene številke izvlečkov, %N pomeni vsakih N izvlečkov, prazno pomeni vsi "
3254
  "izvlečki"
3255
 
3256
+ #: settings.php:1244
3257
  msgid ""
3258
  "Insertion Filter Mirror Setting | Post number or comma separated post "
3259
  "numbers, %N means every N posts, empty means all posts"
3262
  "ločene številke prispevkov, %N pomeni vsakih N prispevkov, prazno pomeni vsi "
3263
  "prispevki"
3264
 
3265
+ #: settings.php:1245
3266
  msgid ""
3267
  "Insertion Filter Mirror Setting | Comment number or comma separated comment "
3268
  "numbers, %N means every N comments, empty means all comments"
3271
  "ločene številke komentarjev, %N pomeni vsakih N komentarjev, prazno pomeni "
3272
  "vsi komentarji"
3273
 
3274
+ #: settings.php:1252
3275
  msgid "Toggle paragraph counting settings"
3276
  msgstr "Preklopi nastavitve za štetje odstavkov"
3277
 
3278
+ #: settings.php:1253
3279
  msgid "Toggle paragraph clearance settings"
3280
  msgstr "Preklopi nastavitve za izogibanje odstavkom"
3281
 
3282
+ #: settings.php:1256
3283
  msgid "Toggle insertion filter settings"
3284
  msgstr "Preklopi nastavitve filtra vstavljanja"
3285
 
3286
+ #: settings.php:1274
3287
  msgid "Toggle insertion and alignment icons"
3288
  msgstr "Preklopi ikone za vstavljanje in poravnavo"
3289
 
3290
+ #: settings.php:1288
3291
  msgid "Custom CSS code for the wrapping div"
3292
  msgstr "CSS koda po meri za div za ovijanje"
3293
 
3294
+ #: settings.php:1291 settings.php:1292 settings.php:1293 settings.php:1294
3295
+ #: settings.php:1295 settings.php:1296
3296
  msgid "CSS code for the wrapping div, click to edit"
3297
  msgstr "CSS koda za div za ovijanje, kliknite za urejanje"
3298
 
3299
+ #: settings.php:1309
3300
  msgid "HTML element"
3301
  msgstr "HTML element"
3302
 
3303
+ #: settings.php:1322
3304
  msgid "HTML element selector or comma separated list of selectors"
3305
  msgstr "Selektor HTML elementa ali z vejicami ločen seznam selektorjev"
3306
 
3307
+ #: settings.php:1328 settings.php:2677
3308
  msgid "Action"
3309
  msgstr "Akcija"
3310
 
3311
+ #: settings.php:1340
3312
  msgid ""
3313
  "Client-side insertion uses JavaScript to insert block when the page loads. "
3314
  "Server-side insertion inserts block when the page is generated but needs "
3318
  "se stran naloži. Vstavljanje na strani strežnika vstavi blok, ko se stran "
3319
  "ustvari, vendar potrebuje omogočeno Predpomnjenje izhoda."
3320
 
3321
+ #: settings.php:1350
3322
  msgid "JavaScript code position"
3323
  msgstr "Položaj JavaScript kode"
3324
 
3325
+ #: settings.php:1351
3326
  msgid ""
3327
  "Page position where the JavaScript code for client-side insertion will be "
3328
  "inserted. Should be after the HTML element if not waiting for DOM ready."
3331
  "strani klienta. Biti mora za HTML elementom, če se ne čaka na pripravljen "
3332
  "DOM."
3333
 
3334
+ #: settings.php:1366
3335
  msgid "Count"
3336
  msgstr "Štej"
3337
 
3338
+ #: settings.php:1372
3339
  msgid "paragraphs with tags"
3340
  msgstr "odstavke z značkami"
3341
 
3342
+ #: settings.php:1378
3343
  msgid "Comma separated HTML tag names, usually only 'p' tags are used"
3344
  msgstr ""
3345
  "Z vejico ločena imena HTML značk, običajno so uporabljene samo značke 'p'"
3346
 
3347
+ #: settings.php:1387
3348
  msgid "that have between"
3349
  msgstr "ki imajo med"
3350
 
3351
+ #: settings.php:1393
3352
  msgid "Minimum number of paragraph words, leave empty for no limit"
3353
  msgstr "Najmanjše število besed v odstavkih, prazno pomeni brez omejitev"
3354
 
3355
+ #: settings.php:1402
3356
  msgid "Maximum number of paragraph words, leave empty for no limit"
3357
  msgstr "Največje število besed v odstavkih, prazno pomeni brez omejitev"
3358
 
3359
+ #: settings.php:1405
3360
  msgid "words"
3361
  msgstr "besed"
3362
 
3363
+ #: settings.php:1420 settings.php:1479 settings.php:1549 settings.php:1575
3364
  msgid "Comma separated texts"
3365
  msgstr "Z vejico ločena besedila"
3366
 
3367
+ #: settings.php:1433
3368
  msgid ""
3369
  "Count also paragraphs inside these elements - defined on general plugin "
3370
  "settings page - tab [*] / tab General"
3373
  "nastavitev vtičnika - zavihek [*] / zavihek Splošno"
3374
 
3375
  #. Translators: %s: HTML tags
3376
+ #: settings.php:1439
3377
  msgid "Count inside %s elements"
3378
  msgstr "Štej znotraj elementov %s"
3379
 
3380
  #. translators: inside [HTML tags] elements that contain
3381
+ #: settings.php:1451
3382
  msgid "inside"
3383
  msgstr "znotraj"
3384
 
3385
+ #: settings.php:1457
3386
  msgid "Comma separated HTML tag names of container elements"
3387
  msgstr "Z vejico ločena imena HTML značk vsebovalnih elementov"
3388
 
3389
  #. translators: inside [HTML tags] elements that contain
3390
+ #: settings.php:1466
3391
  msgid "elements that"
3392
  msgstr "elementov, ki"
3393
 
3394
+ #: settings.php:1492 settings.php:2085
3395
  msgid "Post/Static page must have between"
3396
  msgstr "Prispevek/Statična stran mora imeti med"
3397
 
3398
+ #: settings.php:1498
3399
  msgid "Minimum number of paragraphs, leave empty for no limit"
3400
  msgstr "Najmanjše število odstavkov, prazno pomeni brez omejitev"
3401
 
3402
+ #: settings.php:1507
3403
  msgid "Maximum number of paragraphs, leave empty for no limit"
3404
  msgstr "Največje število odstavkov, prazno pomeni brez omejitev"
3405
 
3406
  #. Translators: Post/Static page must have between X and Y paragraphs
3407
+ #: settings.php:1510
3408
  msgid "paragraph"
3409
  msgid_plural "paragraphs"
3410
  msgstr[0] "odstavek"
3412
  msgstr[2] "odstavke"
3413
  msgstr[3] "odstavkov"
3414
 
3415
+ #: settings.php:1518
3416
  msgid "Minimum number of words in paragraphs above"
3417
  msgstr "Najmanjše število besed v odstavkih zgoraj"
3418
 
3419
+ #: settings.php:1524
3420
  msgid ""
3421
  "Used only with automatic insertion After paragraph and empty paragraph "
3422
  "numbers"
3424
  "Uporabljeno samo s samodejnim vstavljanjem Za odstavkom in s praznimi "
3425
  "številkami odstavkov"
3426
 
3427
+ #: settings.php:1534 settings.php:1560
3428
  msgid "In"
3429
  msgstr "V"
3430
 
3431
+ #: settings.php:1540
3432
  msgid "Number of paragraphs above to check, leave empty to disable checking"
3433
  msgstr "Število odstavkov zgoraj za preverjanje, prazno onemogoči preverjanje"
3434
 
3435
+ #: settings.php:1543
3436
  msgid "paragraphs above avoid"
3437
  msgstr "odstavkih zgoraj se izogni"
3438
 
3439
+ #: settings.php:1566
3440
  msgid "Number of paragraphs below to check, leave empty to disable checking"
3441
  msgstr "Število odstavkov spodaj za preverjanje, prazno onemogoči preverjanje"
3442
 
3443
+ #: settings.php:1569
3444
  msgid "paragraphs below avoid"
3445
  msgstr "odstavkih spodaj se izogni"
3446
 
3447
+ #: settings.php:1585
3448
  msgid "If text is found"
3449
  msgstr "Če je besedilo najdeno"
3450
 
3451
+ #: settings.php:1592
3452
  msgid "check up to"
3453
  msgstr "preveri do"
3454
 
3455
+ #: settings.php:1600
3456
  msgctxt "check up to"
3457
  msgid "paragraphs"
3458
  msgstr "odstavkov"
3459
 
3460
+ #: settings.php:1616
3461
  msgid "Categories"
3462
  msgstr "Kategorije"
3463
 
3464
+ #: settings.php:1619
3465
  msgid "Toggle category editor"
3466
  msgstr "Preklopi urejevalnik kategorij"
3467
 
3468
+ #: settings.php:1622
3469
  msgid "Comma separated category slugs"
3470
  msgstr "Z vejico ločeni ključi kategorij"
3471
 
3472
+ #: settings.php:1626
3473
  msgid "Blacklist categories"
3474
  msgstr "Črni seznam kategorij"
3475
 
3476
+ #: settings.php:1630
3477
  msgid "Whitelist categories"
3478
  msgstr "Beli seznam kategorij"
3479
 
3480
+ #: settings.php:1642
3481
  msgid "Tags"
3482
  msgstr "Oznake"
3483
 
3484
+ #: settings.php:1645
3485
  msgid "Toggle tag editor"
3486
  msgstr "Preklopi urejevalnik oznak"
3487
 
3488
+ #: settings.php:1648
3489
  msgid "Comma separated tag slugs"
3490
  msgstr "Z vejico ločeni ključi oznak"
3491
 
3492
+ #: settings.php:1652
3493
  msgid "Blacklist tags"
3494
  msgstr "Črni seznam oznak"
3495
 
3496
+ #: settings.php:1656
3497
  msgid "Whitelist tags"
3498
  msgstr "Beli seznam oznak"
3499
 
3500
+ #: settings.php:1668
3501
  msgid "Taxonomies"
3502
  msgstr "Taksonomije"
3503
 
3504
+ #: settings.php:1671
3505
  msgid "Toggle taxonomy editor"
3506
  msgstr "Preklopi urejevalnik taksonomij"
3507
 
3508
+ #: settings.php:1674
3509
  msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
3510
  msgstr "Z vejico ločeni ključi: taksonomija, izraz ali taksonomija:izraz"
3511
 
3512
+ #: settings.php:1678
3513
  msgid "Blacklist taxonomies"
3514
  msgstr "Črni seznam taksonomij"
3515
 
3516
+ #: settings.php:1682
3517
  msgid "Whitelist taxonomies"
3518
  msgstr "Beli seznam taksonomij"
3519
 
3520
+ #: settings.php:1694
3521
  msgid "Post IDs"
3522
  msgstr "ID-ji prispevkov"
3523
 
3524
+ #: settings.php:1697
3525
  msgid "Toggle post/page ID editor"
3526
  msgstr "Preklopi urejevalnik ID-jev prispevkov/strani"
3527
 
3528
+ #: settings.php:1700
3529
  msgid "Comma separated post/page IDs"
3530
  msgstr "Z vejico ločeni ID-ji prispevkov/strani"
3531
 
3532
+ #: settings.php:1704
3533
  msgid "Blacklist IDs"
3534
  msgstr "Črni seznam ID-jev"
3535
 
3536
+ #: settings.php:1708
3537
  msgid "Whitelist IDs"
3538
  msgstr "Beli seznam ID-jev"
3539
 
3540
+ #: settings.php:1720
3541
  msgid "Urls"
3542
  msgstr "Url-ji"
3543
 
3544
+ #: settings.php:1723
3545
  msgid "Toggle url editor"
3546
  msgstr "Preklopi urejevalnik url-jev"
3547
 
3548
+ #: settings.php:1726
3549
  msgid ""
3550
  "Comma separated urls (page addresses) starting with / after domain name (e."
3551
  "g. /permalink-url, use only when you need to taget a specific url not "
3557
  "nsalov, ki drugače ni dostopen). Uporabite lahko tudi delne url-je z * (/url-"
3558
  "začetek*. *url-vzorec*, *url-konec)"
3559
 
3560
+ #: settings.php:1730
3561
  msgid "Blacklist urls"
3562
  msgstr "Črni seznam url-jev"
3563
 
3564
+ #: settings.php:1734
3565
  msgid "Whitelist urls"
3566
  msgstr "Beli seznam url-jev"
3567
 
3568
+ #: settings.php:1745
3569
  msgid "Url parameters"
3570
  msgstr "Url parametri"
3571
 
3572
+ #: settings.php:1749
3573
  msgid "Toggle url parameter and cookie editor"
3574
  msgstr "Preklopi urejevalnik url parametrov in piškotkov"
3575
 
3576
+ #: settings.php:1752
3577
  msgid ""
3578
  "Comma separated url query parameters or cookies with optional values (use "
3579
  "'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
3582
  "vrednostmi (uporabite 'prameter', 'prameter=vrednost', 'piškotek' or "
3583
  "'piškotek=vrednost')"
3584
 
3585
+ #: settings.php:1756
3586
  msgid "Blacklist url parameters"
3587
  msgstr "Črni seznam url parametrov"
3588
 
3589
+ #: settings.php:1760
3590
  msgid "Whitelist url parameters"
3591
  msgstr "Beli seznam url parametrov"
3592
 
3593
+ #: settings.php:1771
3594
  msgid "Referrers"
3595
  msgstr "Napotitelji"
3596
 
3597
+ #: settings.php:1774
3598
  msgid "Toggle referer editor"
3599
  msgstr "Preklopi urejevalnik napotiteljev"
3600
 
3601
+ #: settings.php:1777
3602
  msgid ""
3603
  "Comma separated domains, use # for no referrer, you can also use partial "
3604
  "domains with * (domain-start*. *domain-pattern*, *domain-end)"
3606
  "Z vejico ločene domene, uporabite # za primer, ko ni napotitelja, uporabite "
3607
  "lahko tudi delne domene z * (začetek-domene*. *vzorec-domene*, *konec-domene)"
3608
 
3609
+ #: settings.php:1781
3610
  msgid "Blacklist referers"
3611
  msgstr "Črni seznam napotiteljev"
3612
 
3613
+ #: settings.php:1785
3614
  msgid "Whitelist referers"
3615
  msgstr "Beli seznam napotiteljev"
3616
 
3617
+ #: settings.php:1796
3618
  msgid "Clients"
3619
  msgstr "Odjemalci"
3620
 
3621
+ #: settings.php:1799
3622
  msgid "Toggle client editor"
3623
  msgstr "Preklopi urejevalnik odjemalcev"
3624
 
3625
+ #: settings.php:1802
3626
  msgid "Comma separated names (operating systems, browsers, devices)"
3627
  msgstr "Z vejico ločena imena (operacijski sistemi, brskalniki, naprave)"
3628
 
3629
+ #: settings.php:1806
3630
  msgid "Blacklist clients"
3631
  msgstr "Črni seznam odjemalcev"
3632
 
3633
+ #: settings.php:1810
3634
  msgid "Whitelist clients"
3635
  msgstr "Beli seznam odjemalcev"
3636
 
3637
+ #: settings.php:1831
3638
  msgid "Enable widget for this block"
3639
  msgstr "Omogočite gradnik za ta blok"
3640
 
3641
+ #: settings.php:1843
3642
  msgid "Enable shortcode for manual insertion of this block in posts and pages"
3643
  msgstr ""
3644
  "Omogočite kratko kodo za ročno vstavljanje tega bloka v prispevke in strani"
3645
 
3646
+ #: settings.php:1844 settings.php:4110
3647
  msgid "Shortcode"
3648
  msgstr "Kratka koda"
3649
 
3650
+ #: settings.php:1859
3651
  msgid ""
3652
  "Enable PHP function call to insert this block at any position in theme file. "
3653
  "If function is disabled for block it will return empty string."
3656
  "položaju v datoteki teme. Če je funkcija za blok onemogočena, bo vrnila "
3657
  "prazen niz."
3658
 
3659
+ #: settings.php:1860
3660
  msgid "PHP function"
3661
  msgstr "PHP funkcija"
3662
 
3663
+ #: settings.php:1875
3664
  msgid "Client-side device detection"
3665
  msgstr "Zaznavanje naprave na strani klienta"
3666
 
3667
+ #: settings.php:1876
3668
  msgid "Server-side device detection"
3669
  msgstr "Zaznavanje naprave na strani strežnika"
3670
 
3671
+ #: settings.php:1883
3672
  msgid "Use client-side detection to"
3673
  msgstr "Uporabi zaznavanje na strani klienta in"
3674
 
3675
+ #: settings.php:1885
3676
  msgid "Either show/hide or insert when the page is loaded on wanted viewports"
3677
  msgstr ""
3678
  "Bodisi prikaži/skrij ali vstavi, ko se stran naloži na želenih pogledih"
3679
 
3680
  #. Translators: only on (the following devices): viewport names (devices)
3681
  #. listed
3682
+ #: settings.php:1890
3683
  msgid "only on"
3684
  msgstr "samo na"
3685
 
3686
+ #: settings.php:1918
3687
  msgid "Device min width %s px"
3688
  msgstr "Najmanjša širina naprave %s px"
3689
 
3690
+ #: settings.php:1944
3691
  msgid "Use server-side detection to insert block only for"
3692
  msgstr "Uporabi zaznavanje na strani strežnika za vstavljanje bloka samo za"
3693
 
3694
+ #: settings.php:1963
3695
  msgid "Filter"
3696
  msgstr "Filter"
3697
 
3698
+ #: settings.php:1964
3699
  msgid "Word Count"
3700
  msgstr "Število Besed"
3701
 
3702
+ #: settings.php:1965 settings.php:4100
3703
  msgid "Scheduling"
3704
  msgstr "Urnik"
3705
 
3706
+ #: settings.php:1966
3707
  msgid "Display"
3708
  msgstr "Prikaz"
3709
 
3710
+ #: settings.php:1968 settings.php:2212
3711
  msgid "General"
3712
  msgstr "Splošno"
3713
 
3714
+ #: settings.php:1980
3715
  msgid "Old settings for AMP pages detected"
3716
  msgstr "Zaznane stare nastavitve za AMP strani"
3717
 
3718
+ #: settings.php:1980
3719
  msgid ""
3720
  "To insert different codes on normal and AMP pages separate them with "
3721
  "[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
3726
  "straneh samo, ko želite vstaviti ISTO KODO tudi na AMP straneh (brez AMP "
3727
  "separatorja)."
3728
 
3729
+ #: settings.php:1980
3730
  msgid "AMP pages"
3731
  msgstr "AMP strani"
3732
 
3733
+ #: settings.php:1985
3734
  msgid "Enable insertion for Ajax requests"
3735
  msgstr "Omogoči vstavljanje v Ajax zahtevah"
3736
 
3737
+ #: settings.php:1985
3738
  msgid "Ajax requests"
3739
  msgstr "Ajax zahteve"
3740
 
3741
+ #: settings.php:1990
3742
  msgid "Enable insertion in RSS feeds"
3743
  msgstr "Omogoči vstavljanje v RSS virih"
3744
 
3745
+ #: settings.php:1990
3746
  msgid "RSS Feed"
3747
  msgstr "RSS Vir"
3748
 
3749
+ #: settings.php:1995
3750
  msgid "Enable insertion on page for Error 404: Page not found"
3751
  msgstr "Omogoči vstavljanje na strani za napako 404: Stran ne obstaja"
3752
 
3753
+ #: settings.php:1995
3754
  msgid "Error 404 page"
3755
  msgstr "Stran napake 404"
3756
 
3757
+ #: settings.php:2007
3758
  msgid "Maximum number of insertions of this block. Empty or 0 means no limit."
3759
  msgstr ""
3760
  "Največje število vstavljanj tega bloka. Prazno ali 0 pomeni brez omejitev."
3761
 
3762
+ #: settings.php:2008
3763
  msgid "insertions"
3764
  msgstr "vstavljanj"
3765
 
3766
+ #: settings.php:2010
3767
  msgid ""
3768
  "Count this block for Max blocks per page limit (defined on the tab [*] / tab "
3769
  "General)"
3771
  "Štej ta blok za omejitev Največ blokov na stran (določena na zavihku [*] / "
3772
  "zavihek Splošno)"
3773
 
3774
+ #: settings.php:2013 settings.php:2381
3775
  msgid "Max blocks per page"
3776
  msgstr "Največ blokov na stran"
3777
 
3778
+ #: settings.php:2025
3779
  msgid "Insert for"
3780
  msgstr "Vstavi za"
3781
 
3782
+ #: settings.php:2033
3783
  msgid ""
3784
  "Insert block only when WP function in_the_loop () returns true (WP loop is "
3785
  "currently active). Might speed up insertion on content pages when "
3789
  "trenutno aktivna). Lahko pospeši vstavljanje na določenih straneh, ko je "
3790
  "filter the_content večkrat klican."
3791
 
3792
+ #: settings.php:2036
3793
  msgid "Insert only in the loop"
3794
  msgstr "Vstavi samo v zanki"
3795
 
3796
+ #: settings.php:2042
3797
  msgid ""
3798
  "Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
3799
  msgstr ""
3800
  "Onemogoči predpomnenje za vtičnike WP Super Cache, W3 Total Cache in WP "
3801
  "Rocket"
3802
 
3803
+ #: settings.php:2042
3804
  msgid "Disable caching"
3805
  msgstr "Onemogoči predpomnjenje"
3806
 
3807
+ #: settings.php:2054
3808
  msgid "Filter insertions"
3809
  msgstr "Filtriraj vstavljanja"
3810
 
3811
+ #: settings.php:2057
3812
  msgid ""
3813
  "Filter multiple insertions by specifying wanted insertions for this block - "
3814
  "single number, comma separated numbers or %N for every N insertions - empty "
3820
  "- prazno pomeni vsa vstavljanja / brez filtra. Nastavite Števec za filter na "
3821
  "Samodejni števec, če uporabljate samo eno vrsto vstavljanja."
3822
 
3823
+ #: settings.php:2060
3824
  msgid "using"
3825
  msgstr "z uporabo"
3826
 
3827
+ #: settings.php:2079
3828
  msgid "Checked means specified calls are unwanted"
3829
  msgstr "Odkljukano pomeni, da so našteti klici neželjeni"
3830
 
3831
+ #: settings.php:2079
3832
  msgid "Invert filter"
3833
  msgstr "Obrni filter"
3834
 
3835
+ #: settings.php:2086
3836
  msgid "Minimum number of post/static page words, leave empty for no limit"
3837
  msgstr ""
3838
  "Najmanjše število besed v prispevkih/statičnih straneh, prazno pomeni brez "
3839
  "omejitev"
3840
 
3841
+ #: settings.php:2088
3842
  msgid "Maximum number of post/static page words, leave empty for no limit"
3843
  msgstr ""
3844
  "Največje število besed v prispevkih/statičnih straneh, prazno pomeni brez "
3845
  "omejitev"
3846
 
3847
+ #: settings.php:2101
3848
  msgid "for"
3849
  msgstr "za"
3850
 
3851
+ #: settings.php:2101
3852
  msgid "days after publishing"
3853
  msgstr "dni po objavi"
3854
 
3855
+ #: settings.php:2103
3856
  msgid "Not available"
3857
  msgstr "Ni na razpolago"
3858
 
3859
+ #: settings.php:2116 settings.php:2373
3860
  msgid "Ad label"
3861
  msgstr "Oznaka oglasa"
3862
 
3863
+ #: settings.php:2136
3864
  msgid "General tag"
3865
  msgstr "Splošna oznaka"
3866
 
3867
+ #: settings.php:2140
3868
  msgid "Used for [adinserter data=''] shortcodes when no data is found"
3869
  msgstr "Uporabljeno za kratke kode [adinserter data=''] ko ni podatkov"
3870
 
3871
  #. translators: %s: HTML tags
3872
+ #: settings.php:2149
3873
  msgid ""
3874
  "%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
3875
  "side device detection!"
3877
  "%s OPOZORILO: slog %s Brez Ovijanja %s nima kode za ovijanje , ki je "
3878
  "potrebna za zaznavanje naprave na strani klienta!"
3879
 
3880
+ #: settings.php:2161
3881
  msgid "Settings"
3882
  msgstr "Nastavitve"
3883
 
3884
+ #: settings.php:2164
3885
  msgid "Settings timestamp"
3886
  msgstr "Časovni žig nastavitev"
3887
 
3888
+ #: settings.php:2177
3889
  msgid "Are you sure you want to reset all settings?"
3890
  msgstr "Ali ste prepričani, da želite ponastaviti vse nastavitve?"
3891
 
3892
+ #: settings.php:2177
3893
  msgid "Reset All Settings"
3894
  msgstr "Ponastavi Vse Nastavitve"
3895
 
3896
+ #: settings.php:2213
3897
  msgid "Viewports"
3898
  msgstr "Pogledi"
3899
 
3900
+ #: settings.php:2214
3901
  msgid "Hooks"
3902
  msgstr "Ročice"
3903
 
3904
+ #: settings.php:2215
3905
  msgid "Header"
3906
  msgstr "Glava"
3907
 
3908
+ #: settings.php:2216 strings.php:30
3909
  msgid "Footer"
3910
  msgstr "Noga"
3911
 
3912
+ #: settings.php:2221
3913
  msgid "Debugging"
3914
  msgstr "Razhroščevanje"
3915
 
3916
+ #: settings.php:2231
3917
  msgid "Plugin priority"
3918
  msgstr "Prednost vtičnika"
3919
 
3920
+ #: settings.php:2239
3921
  msgid "Output buffering"
3922
  msgstr "Predpomnjenje izhoda"
3923
 
3924
+ #: settings.php:2242
3925
  msgid "Needed for position Above header but may not work with all themes"
3926
  msgstr "Potrebno za položaj Nad glavo, ampak lahko, da ne dela z vsemi temami"
3927
 
3928
+ #: settings.php:2250
3929
  msgid "Syntax highlighting theme"
3930
  msgstr "Tema za poudarjanje sintakse"
3931
 
3932
+ #: settings.php:2257
3933
  msgctxt "no syntax highlighting themes"
3934
  msgid "None"
3935
  msgstr "Brez"
3936
 
3937
+ #: settings.php:2258
3938
  msgid "No Syntax Highlighting"
3939
  msgstr "Brez Poudarjanja Sintakse"
3940
 
3941
+ #: settings.php:2260
3942
  msgctxt "syntax highlighting themes"
3943
  msgid "Light"
3944
  msgstr "Svetle"
3945
 
3946
+ #: settings.php:2275
3947
  msgctxt "syntax highlighting themes"
3948
  msgid "Dark"
3949
  msgstr "Temne"
3950
 
3951
+ #: settings.php:2301
3952
  msgid "Min. user role for ind. exceptions editing"
3953
  msgstr "Najm. uporabniška vloga za urejanje izjem"
3954
 
3955
+ #: settings.php:2311
3956
  msgid "Disable caching for logged in administrators"
3957
  msgstr "Onemogoči predpomnenje za prijavljene skrbnike"
3958
 
3959
+ #: settings.php:2314
3960
  msgid ""
3961
  "Enabled means that logged in administrators will see non-cached (live) pages "
3962
  "(applies to WP Super Cache, W3 Total Cache and WP Rocket plugins)"
3964
  "Omogočeno pomeni, da bodo prijavljeni skrbniki videli ne-predpomnjene (žive) "
3965
  "strani (velja za vtičnike WP Super Cache, W3 Total Cache in WP Rocket)"
3966
 
3967
+ #: settings.php:2322
3968
  msgid "Sticky widget mode"
3969
  msgstr "Način za lepljive gradnike"
3970
 
3971
+ #: settings.php:2325
3972
  msgid ""
3973
  "CSS mode is the best approach but may not work with all themes. JavaScript "
3974
  "mode works with most themes but may reload ads on page load."
3977
  "Način JavaScript dela z večino tem, ampak lahko ponovno naloži oglase pri "
3978
  "nalaganju strani."
3979
 
3980
+ #: settings.php:2333
3981
  msgid "Sticky widget top margin"
3982
  msgstr "Zgornji rob za lepljiv gradnik"
3983
 
3984
+ #: settings.php:2341
3985
  msgid "Dynamic blocks"
3986
  msgstr "Dinamični bloki"
3987
 
3988
+ #: settings.php:2354
3989
  msgid "Functions for paragraph counting"
3990
  msgstr "Funkcije za štetje odstavkov"
3991
 
3992
+ #: settings.php:2357
3993
  msgid ""
3994
  "Standard PHP functions are faster and work in most cases, use Multibyte "
3995
  "functions if paragraphs are not counted properly on non-english pages."
3998
  "Večznakovne funkcije, če na ne-angleških straneh odstavki niso pravilno "
3999
  "šteti."
4000
 
4001
+ #: settings.php:2365
4002
  msgid "No paragraph counting inside"
4003
  msgstr "Ni štetja odstavkov znotraj"
4004
 
4005
+ #: settings.php:2376
4006
  msgid "Label text or HTML code"
4007
  msgstr "Besedilo oznake ali HTML koda"
4008
 
4009
+ #: settings.php:2384
4010
  msgid ""
4011
  "Maximum number of inserted blocks per page. You need to enable Max page "
4012
  "insertions (button Misc / tab Insertion) to count block for this limit."
4015
  "blokov na stran (gumb Razno / zavihek Vstavljanje), da bo blok štel za to "
4016
  "omejitev."
4017
 
4018
+ #: settings.php:2398
4019
  msgid "Plugin usage tracking"
4020
  msgstr "Sledenje uporabe vtičnika"
4021
 
4022
  #. translators: %s: Ad Inserter
4023
+ #: settings.php:2401
4024
  msgid ""
4025
  "Enable tracking of %s usage and help us to make improvements to the plugin. "
4026
  "Only information regarding the WordPress environment and %s usage is "
4030
  "Beležijo se samo informacije glede okolja WordPress in uporabe %s-ja (enkrat "
4031
  "mesečno in ob dogodkih kot so aktivacija/deaktivacija)."
4032
 
4033
+ #: settings.php:2419
4034
  msgid "CSS class name for the wrapping div"
4035
  msgstr "Ime CSS razreda za div za ovijanje"
4036
 
4037
+ #: settings.php:2419
4038
  msgid "Block class name"
4039
  msgstr "Ime razreda za blok"
4040
 
 
 
 
 
 
 
 
 
4041
  #: settings.php:2425
4042
  msgid "Include block number class"
4043
  msgstr "Vključi razred številke bloka"
4047
  msgstr "Razred številke bloka"
4048
 
4049
  #: settings.php:2430
4050
+ msgid "Include block name class"
4051
+ msgstr "Vključi razred imena bloka"
4052
+
4053
+ #: settings.php:2430
4054
+ msgid "Block name class"
4055
+ msgstr "Razred imena bloka"
4056
+
4057
+ #: settings.php:2435
4058
  msgid ""
4059
  "Instead of alignment classes generate inline alignment styles for blocks"
4060
  msgstr ""
4061
  "Namesto razredov za poravnavo ustvari medvrstične sloge za poravnavo blokov"
4062
 
4063
+ #: settings.php:2435
4064
  msgid "Inline styles"
4065
  msgstr "Medvrstični slogi"
4066
 
4067
+ #: settings.php:2441
4068
  msgid "Preview of the block wrapping code"
4069
  msgstr "Predogled kode za ovijanje blokov"
4070
 
4071
+ #: settings.php:2442
4072
  msgid "Wrapping div"
4073
  msgstr "div za ovijanje"
4074
 
4075
+ #: settings.php:2443 settings.php:2883
4076
  msgid "BLOCK CODE"
4077
  msgstr "KODA BLOKA"
4078
 
4079
+ #: settings.php:2451
4080
  msgid "Viewport Settings used for client-side device detection"
4081
  msgstr ""
4082
  "Nastavitve Pogledov, uporabljene za zaznavanje naprav na strani klienta"
4083
 
4084
  #. Translators: %d: viewport number
4085
+ #: settings.php:2459
4086
  msgid "Viewport %d name"
4087
  msgstr "Ime pogleda %d"
4088
 
4089
+ #: settings.php:2462
4090
  msgid "min width"
4091
  msgstr "najmanjša širina"
4092
 
4093
+ #: settings.php:2473
4094
  msgid "Custom Hooks"
4095
  msgstr "Ročice Po Meri"
4096
 
4097
+ #: settings.php:2485 settings.php:2488
4098
  msgid "Enable hook"
4099
  msgstr "Omogoči ročico"
4100
 
4101
  #. translators: %d: hook number
4102
+ #: settings.php:2488
4103
  msgid "Hook %d name"
4104
  msgstr "Ime ročice %d"
4105
 
4106
+ #: settings.php:2491
4107
  msgid "Hook name for automatic insertion selection"
4108
  msgstr "Ime ročice za izbiro samodejnega vstavljanja"
4109
 
4110
+ #: settings.php:2494
4111
  msgid "action"
4112
  msgstr "akcija"
4113
 
4114
+ #: settings.php:2497
4115
  msgid "Action name as used in the do_action () function"
4116
  msgstr "Ime akcije kot je uporabljena v do_action () funkciji"
4117
 
4118
+ #: settings.php:2500
4119
  msgid "priority"
4120
  msgstr "prednost"
4121
 
4122
+ #: settings.php:2503
4123
  msgid "Priority for the hook (default is 10)"
4124
  msgstr "Prednost za ročico (privzeta je 10)"
4125
 
4126
+ #: settings.php:2524
4127
  msgid "Enable insertion of this code into HTML page header"
4128
  msgstr "Omogoči vstavljanje te kode v glavi HTML strani"
4129
 
4130
+ #: settings.php:2528 settings.php:2595 settings.php:2777
4131
  msgid "Process PHP code"
4132
  msgstr "Procesiraj PHP kodo"
4133
 
4134
+ #: settings.php:2532
4135
  msgid "HTML Page Header Code"
4136
  msgstr "Koda v Glavi HTML Strani"
4137
 
4138
+ #: settings.php:2540
4139
  msgid "Code in the %s section of the HTML page"
4140
  msgstr "Koda v %s delu HTML strani"
4141
 
4142
+ #: settings.php:2541
4143
  msgctxt "code in the header"
4144
  msgid "NOT ENABLED"
4145
  msgstr "NI OMOGOČENA"
4146
 
4147
+ #: settings.php:2558 settings.php:2626
4148
  msgid "Use server-side detection to insert code only for"
4149
  msgstr "Zaznavanje na strani strežnika za vstavljanje samo za"
4150
 
4151
+ #: settings.php:2573
4152
  msgid ""
4153
  "Enable insertion of this code into HTML page header on page for Error 404: "
4154
  "Page not found"
4156
  "Omogoči vstavljanje te kode v HTML glavo na strani za napako 404: Stran ne "
4157
  "obstaja"
4158
 
4159
+ #: settings.php:2573 settings.php:2641
4160
  msgid "Insert on Error 404 page"
4161
  msgstr "Vstavi na strani Napake 404"
4162
 
4163
+ #: settings.php:2591
4164
  msgid "Enable insertion of this code into HTML page footer"
4165
  msgstr "Omogoči vstavljanje te kode v HTML nogi"
4166
 
4167
+ #: settings.php:2599
4168
  msgid "HTML Page Footer Code"
4169
  msgstr "Koda v Nogi HTML Strani"
4170
 
4171
  #. translators: %s: HTML tags
4172
+ #: settings.php:2607
4173
  msgid "Code before the %s tag of the the HTML page"
4174
  msgstr "Koda pred %s značko HTML strani"
4175
 
4176
+ #: settings.php:2608
4177
  msgctxt "code in the footer"
4178
  msgid "NOT ENABLED"
4179
  msgstr "NI OMOGOČENA"
4180
 
4181
+ #: settings.php:2641
4182
  msgid ""
4183
  "Enable insertion of this code into HTML page footer on page for Error 404: "
4184
  "Page not found"
4186
  "Omogoči vstavljanje te kode v nogo HTML strani na strani za napako 404: "
4187
  "Stran ne obstaja"
4188
 
4189
+ #: settings.php:2657
4190
  msgid "Code for ad blocking detection inserted. Click for details."
4191
  msgstr ""
4192
  "Vstavljena je koda za zaznavanje blokiranja oglasov. Klikni za podrobnosti."
4193
 
4194
+ #: settings.php:2662
4195
  msgid "Enable detection of ad blocking"
4196
  msgstr "Omogoči zaznavanje blokiranja oglasov"
4197
 
4198
+ #: settings.php:2680
4199
  msgid "Global action when ad blocking is detected"
4200
  msgstr "Globalna akcija, ko je zaznano blokiranje oglasov"
4201
 
4202
+ #: settings.php:2686
4203
  msgid "No action for"
4204
  msgstr "Ni akcije za"
4205
 
4206
+ #: settings.php:2687
4207
  msgid "Exceptions for global action when ad blocking is detected."
4208
  msgstr "Izjeme za globalno akcijo, ko je zaznano blokiranje oglasov"
4209
 
4210
+ #: settings.php:2697
4211
  msgid "Delay Action"
4212
  msgstr "Zakasni Akcijo"
4213
 
4214
+ #: settings.php:2700
4215
  msgid ""
4216
  "Number of page views to delay action when ad blocking is detected. Leave "
4217
  "empty for no delay (action fires on first page view). Sets cookie."
4220
  "oglasov. Prazno pomeni brez zakasnitve (akcija se sproži pri prvem ogledu "
4221
  "strani). Nastavi piškotek."
4222
 
4223
+ #: settings.php:2700
4224
  msgctxt "Delay Action for x "
4225
  msgid "page views"
4226
  msgstr "ogledov strani"
4227
 
4228
+ #: settings.php:2705
4229
  msgid "No Action Period"
4230
  msgstr "Obdobje Brez Akcije"
4231
 
4232
+ #: settings.php:2708
4233
  msgid ""
4234
  "Number of days to supress action when ad blocking is detected. Leave empty "
4235
  "for no no-action period (action fires always after defined page view delay). "
4239
  "pomeni brez zadržanja (akcija se sproži vedno po določeni zakasnitvi ogledov "
4240
  "strani). Nastavi piškotek."
4241
 
4242
+ #: settings.php:2708
4243
  msgctxt "no action period"
4244
  msgid "days"
4245
  msgstr "dni"
4246
 
4247
+ #: settings.php:2713
4248
  msgid "Custom Selectors"
4249
  msgstr "Selektorji Po Meri"
4250
 
4251
+ #: settings.php:2716
4252
  msgid ""
4253
  "Comma seprarated list of selectors (.class, #id) used for additional ad "
4254
  "blocking detection. Invisible element or element with zero height means ad "
4258
  "zaznavanje blokiranja oglasov. Neviden element ali element z ničelno višino "
4259
  "pomeni prisotnost blokiranja oglasov."
4260
 
4261
+ #: settings.php:2728
4262
  msgid "Redirection Page"
4263
  msgstr "Stran za Preusmeritev"
4264
 
4265
+ #: settings.php:2740
4266
  msgid "Custom Url"
4267
  msgstr "Url Po Meri"
4268
 
4269
+ #: settings.php:2745
4270
  msgid ""
4271
  "Static page for redirection when ad blocking is detected. For other pages "
4272
  "select Custom url and set it below."
4274
  "Statična stran za preusmeritev, ko je zaznano blokiranje oglasov. Za druge "
4275
  "strani izberite Url Po Meri in ga nastavite spodaj."
4276
 
4277
+ #: settings.php:2754
4278
  msgid "Custom Redirection Url"
4279
  msgstr "Url za Preusmeritev Po Meri"
4280
 
4281
+ #: settings.php:2766
4282
  msgid "Message HTML code"
4283
  msgstr "HTML koda sporočila"
4284
 
4285
+ #: settings.php:2779
4286
  msgid "Preview message when ad blocking is detected"
4287
  msgstr "Predogled sporočila, ko je zaznano blokiranje oglasov"
4288
 
4289
+ #: settings.php:2808
4290
  msgid "Prevent visitors from closing the warning message"
4291
  msgstr "Prepreči obiskovalcem, da zaprejo opozorilno sporočilo"
4292
 
4293
+ #: settings.php:2808
4294
  msgid "Undismissible Message"
4295
  msgstr "Neodstranljivo Sporočilo"
4296
 
4297
+ #: settings.php:2814
4298
  msgid "Not undismissible for"
4299
  msgstr "Ni neodstranljivo za"
4300
 
4301
+ #: settings.php:2815
4302
  msgid "Users which can close the warning message."
4303
  msgstr "Obiskovalci, ki lahko zaprejo opozorilno sporočilo."
4304
 
4305
+ #: settings.php:2829
4306
  msgid ""
4307
  "Force showing admin toolbar for administrators when viewing site. Enable "
4308
  "this option when you are logged in as admin and you don't see admin toolbar."
4311
  "možnost, če ste prijavljeni kot skrbnik, pa ne vidite orodne vrstice za "
4312
  "skrbnike."
4313
 
4314
+ #: settings.php:2837
4315
  msgid "Disable header code (Header tab)"
4316
  msgstr "Onemogoči kodo v glavi (zavihek Glava)"
4317
 
4318
+ #: settings.php:2841
4319
  msgid "Disable footer code (Footer tab)"
4320
  msgstr "Onemogoči kodo v nogi (zavihek Noga)"
4321
 
4322
  #. translators: %s: Ad Inserter
4323
+ #: settings.php:2845
4324
  msgid "Disable %s JavaScript code"
4325
  msgstr "Onemogoči %s JavaScript kodo"
4326
 
4327
  #. translators: %s: Ad Inserter
4328
+ #: settings.php:2849
4329
  msgid "Disable %s CSS code"
4330
  msgstr "Onemogoči %s CSS kodo"
4331
 
4332
+ #: settings.php:2853
4333
  msgid ""
4334
  "Disable PHP code processing (in all blocks including header and footer code)"
4335
  msgstr ""
4336
  "Onemogoči procesiranje PHP kode (v vseh blokh vključno z glavo in nogo)"
4337
 
4338
+ #: settings.php:2857
4339
  msgid "Disable insertion of all blocks"
4340
  msgstr "Onemogoči vstavljanje vseh blokov"
4341
 
4342
+ #: settings.php:2861
4343
  msgid "Disable insertions"
4344
  msgstr "Onemogoči vstavljanja"
4345
 
4346
  #. translators: %s: Ad Inserter
4347
+ #: settings.php:2873
4348
  msgid "%s CSS CODE"
4349
  msgstr "%s CSS KODA"
4350
 
4351
+ #: settings.php:2876
4352
  msgid "HEADER CODE"
4353
  msgstr "KODA GLAVE"
4354
 
4355
  #. translators: %s: PHP tags
4356
+ #: settings.php:2882
4357
  msgid "BLOCK PHP CODE"
4358
  msgstr "PHP KODA BLOKA"
4359
 
4360
  #. translators: %s: Ad Inserter
4361
+ #: settings.php:2888
4362
  msgid "%s JS CODE"
4363
  msgstr "%s JS KODA"
4364
 
4365
+ #: settings.php:2891
4366
  msgid "FOOTER CODE"
4367
  msgstr "KODA NOGE"
4368
 
4369
+ #: settings.php:2900
4370
  msgid "Force showing admin toolbar when viewing site"
4371
  msgstr "Vsili prikaz orodne vrstice za skrbnike pri ogledu strani"
4372
 
4373
+ #: settings.php:2907
4374
  msgid "Enable debugging functions in admin toolbar"
4375
  msgstr "Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike"
4376
 
4377
+ #: settings.php:2909
4378
  msgid "Debugging functions in admin toolbar"
4379
  msgstr "Funkcije za razhroščevanje v orodni vrstici za skrbnike"
4380
 
4381
+ #: settings.php:2916
4382
  msgid "Enable debugging functions in admin toolbar on mobile screens"
4383
  msgstr ""
4384
  "Omogoči funkcije za razhroščevanje v orodni vrstici za skrbnike na mobilnih "
4385
  "zaslonih"
4386
 
4387
+ #: settings.php:2918
4388
  msgid "Debugging functions on mobile screens"
4389
  msgstr "Funkcije za razhroščevanje na mobilnih zaslonih"
4390
 
4391
+ #: settings.php:2925
4392
  msgid ""
4393
  "Enable Debugger widget and code insertion debugging (blocks, positions, "
4394
  "tags, processing) by url parameters for non-logged in users. Enable this "
4403
  "pomagali diagnosticirati težave. Za prijavljene skrbnike je razhroščevanje "
4404
  "vedno omogočeno."
4405
 
4406
+ #: settings.php:2927
4407
  msgid "Remote debugging"
4408
  msgstr "Oddaljeno razhroščevanje"
4409
 
4410
+ #: settings.php:2934
4411
  msgid ""
4412
  "Disable translation to see original texts for the settings and messages in "
4413
  "English"
4415
  "Onemogoči prevod za prikaz prvotnih besedil nastavitev in sporočil v "
4416
  "angleščini"
4417
 
4418
+ #: settings.php:2936
4419
  msgid "Disable translation"
4420
  msgstr "Onemogoči prevod"
4421
 
4422
+ #: settings.php:3310
4423
  msgid "Available positions for current theme"
4424
  msgstr "Razpoložljivi položaji za trenutno temo"
4425
 
4426
+ #: settings.php:3311
4427
  msgid "Error checking pages"
4428
  msgstr "Napaka pri preverjanju strani"
4429
 
4430
+ #: settings.php:3314
4431
  msgid "Toggle theme checker for available positions for automatic insertion"
4432
  msgstr ""
4433
  "Preklopi preverjanje teme za razpoložljive položaje za samodejno vstavljanje"
4434
 
4435
+ #: settings.php:3314
4436
  msgctxt "Button"
4437
  msgid "Check"
4438
  msgstr "Preveri"
4439
 
4440
+ #: settings.php:3321
4441
  msgid "Position"
4442
  msgstr "Položaj"
4443
 
4444
+ #: settings.php:3326
4445
  msgid "Archive pages"
4446
  msgstr "Strani arhiva"
4447
 
4448
+ #: settings.php:3385
4449
  msgid ""
4450
  "Position not available because output buffering (tab [*]) is not enabled"
4451
  msgstr ""
4452
  "Položaj ni na razpolago ker predpomnjenje izhoda (zavihek [*]) ni omogočeno"
4453
 
4454
+ #: settings.php:3388 strings.php:228
4455
  msgid "Position not checked yet"
4456
  msgstr "Položaj še ni bil preverjen"
4457
 
4458
+ #: settings.php:3424
4459
  msgid "Toggle active/all blocks"
4460
  msgstr "Preklopi aktive/vse bloke"
4461
 
4462
+ #: settings.php:3428 strings.php:215
4463
  msgid "Rearrange block order"
4464
  msgstr "Preuredi vrstni red blokov"
4465
 
4466
+ #: settings.php:3433
4467
  msgid "Save new block order"
4468
  msgstr "Shrani vrstni red blokov"
4469
 
4470
+ #: settings.php:3459
4471
  msgid "Toggle active/all ad units"
4472
  msgstr "Preklopi aktivne/vse oglasne enote"
4473
 
4474
+ #: settings.php:3463
4475
  msgid "Reload AdSense ad units"
4476
  msgstr "Ponovno naloži oglasne enote AdSense"
4477
 
4478
+ #: settings.php:3467
4479
  msgid "Clear authorization to access AdSense account"
4480
  msgstr "Odstrani avtorizacijo za dostop do računa AdSense"
4481
 
4482
+ #: settings.php:3471 settings.php:4267 settings.php:4334 strings.php:223
4483
  msgid "Google AdSense Homepage"
4484
  msgstr "Google AdSense Domača Stran"
4485
 
4486
+ #: settings.php:3487
4487
  msgid "Switch to physical ads.txt file"
4488
  msgstr "Preklopi na fizično datoteko ads.txt"
4489
 
4490
+ #: settings.php:3488
4491
  msgid "Switch to virtual ads.txt file"
4492
  msgstr "Preklopi na navidezno datoteko ads.txt"
4493
 
4494
  #. translators: %s: ads.txt
4495
+ #: settings.php:3498
4496
  msgid "Open %s"
4497
  msgstr "Odpri %s"
4498
 
4499
+ #: settings.php:3506
4500
  msgid "Reload ads.txt file"
4501
  msgstr "Ponovno naloži datoteko ads.txt"
4502
 
4503
+ #: settings.php:3510 settings.php:4394
4504
  msgid "Save"
4505
  msgstr "Shrani"
4506
 
4507
  #. translators: %s: Ad Inserter
4508
+ #: settings.php:3685
4509
  msgid "ads.txt file: %s virtual ads.txt file"
4510
  msgstr "datoteka ads.txt: %s navidezna datoteka ads.txt"
4511
 
4512
+ #: settings.php:3690 settings.php:3710 strings.php:207
4513
  msgid "Warning"
4514
  msgstr "Opozorilo"
4515
 
4516
  #. translators: %s: Ad Inserter
4517
+ #: settings.php:3690
4518
  msgid "%s virtual file ads.txt not found"
4519
  msgstr "%s navidezna datoteka ads.txt ni najdena"
4520
 
4521
+ #: settings.php:3698
4522
  msgid "IMPORTANT"
4523
  msgstr "POMEMBNO"
4524
 
4525
+ #: settings.php:3698
4526
  msgid "ads.txt file must be placed on the root domain"
4527
  msgstr "Datoteka ads.txt mora biti nameščena na korensko domeno"
4528
 
4529
+ #: settings.php:3703
4530
  msgid "ads.txt file"
4531
  msgstr "datoteka ads.txt"
4532
 
4533
+ #: settings.php:3703
4534
  msgid "NOT WRITABLE"
4535
  msgstr "NI ZAPISLJIVO"
4536
 
4537
+ #: settings.php:3710
4538
  msgid "file %s not found"
4539
  msgstr "datoteka %s ni najdena"
4540
 
4541
+ #: settings.php:3720
4542
  msgid "Account IDs found in blocks but not present in the ads.txt file"
4543
  msgstr ""
4544
  "IDji računov najdeni v blokih, vendar pa niso prisotni v datoteki ads.txt"
4545
 
4546
  #. translators: %s: Ad Inserter
4547
+ #: settings.php:3726
4548
  msgid "%s virtual ads.txt file"
4549
  msgstr "%s navidezna datoteka ads.txt"
4550
 
4551
+ #: settings.php:3748
4552
  msgid "Advertising system"
4553
  msgstr "Oglaševalski sistem"
4554
 
4555
+ #: settings.php:3749
4556
  msgid "Account ID"
4557
  msgstr "ID Računa"
4558
 
4559
+ #: settings.php:3751
4560
  msgid "Certification authority ID"
4561
  msgstr "ID organa za potrjevanje"
4562
 
4563
+ #: settings.php:3766
4564
  msgid "Account ID found in block and present in ads.txt"
4565
  msgstr "ID računa najden v bloku in prisoten v datoteki ads.txt"
4566
 
4567
+ #: settings.php:3770
4568
  msgid "Account ID found in block but not present in ads.txt"
4569
  msgstr "ID računa najden v bloku, vendar ni prisoten v datoteki ads.txt"
4570
 
4571
+ #: settings.php:4057
4572
  msgid "Preview block"
4573
  msgstr "Predogled bloka"
4574
 
4575
+ #: settings.php:4066
4576
  msgid "Insertion disabled"
4577
  msgstr "Vstavljanje onemogočeno"
4578
 
4579
+ #: settings.php:4096
4580
  msgid "Automatic insertion"
4581
  msgstr "Samodejno vstavljanje"
4582
 
4583
  #. translators: %s HTML tags
4584
+ #: settings.php:4097 settings.php:5082
4585
  msgid "PHP code processing"
4586
  msgstr "Procesiranje PHP kode"
4587
 
4588
+ #: settings.php:4099
4589
  msgid "Device detection"
4590
  msgstr "Zaznavanje naprave"
4591
 
4592
+ #: settings.php:4112
4593
  msgid "Widget positions"
4594
  msgstr "Položaji gradnikov"
4595
 
4596
+ #: settings.php:4178
4597
  msgid "Ad unit"
4598
  msgstr "Enota"
4599
 
4600
+ #: settings.php:4180
4601
  msgid "Slot ID"
4602
  msgstr "ID mesta"
4603
 
4604
+ #: settings.php:4206
4605
  msgid "Copy AdSense code"
4606
  msgstr "Kopiraj kodo AdSense"
4607
 
4608
+ #: settings.php:4209
4609
  msgid "Preview AdSense ad"
4610
  msgstr "Predogled oglasa AdSense"
4611
 
4612
+ #: settings.php:4212
4613
  msgid "Get AdSense code"
4614
  msgstr "Pridobi kodo AdSense"
4615
 
4616
  #. translators: %s: HTML tags
4617
+ #: settings.php:4244
4618
  msgid ""
4619
  "Please %s clear authorization %s with the button %s above and once again "
4620
  "authorize access to your AdSense account."
4622
  "Prosimo, %s odstranite avtorizacijo %s z gumbom %s zgoraj in še enkrat "
4623
  "avtorizirajte dostop do vašega računa AdSense."
4624
 
4625
+ #: settings.php:4263
4626
  msgid "AdSense Integration"
4627
  msgstr "Integracija AdSense"
4628
 
4629
+ #: settings.php:4265
4630
  msgid "AdSense Integration - Step 2"
4631
  msgstr "Integracija AdSense - Korak 2"
4632
 
4633
  #. translators: %s: HTML tags
4634
+ #: settings.php:4271
4635
  msgid ""
4636
  "Authorize %s to access your AdSense account. Click on the %s Get "
4637
  "Authorization Code %s button to open a new window where you can allow "
4644
  "Avtoriziraj. %s"
4645
 
4646
  #. translators: %s: HTML tags
4647
+ #: settings.php:4278
4648
  msgid ""
4649
  "If you get error, can't access ad units or would like to use own Google API "
4650
  "IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
4655
  "je %s za vnos podatkov ID Klienta in Skrivnost Klienta."
4656
 
4657
  #. translators: %s: HTML tags
4658
+ #: settings.php:4280
4659
  msgid ""
4660
  "Now you can authorize %s to access your AdSense account. Click on the %s Get "
4661
  "Authorization Code %s button to open a new window where you can allow "
4668
  "gumb %s Avtoriziraj. %s"
4669
 
4670
  #. translators: %s: HTML tags
4671
+ #: settings.php:4287
4672
  msgid ""
4673
  "If you get error %s invalid client %s click on the button %s Clear and "
4674
  "return to Step 1 %s to re-enter Client ID and Client Secret."
4676
  "Če se pojavi napaka %s neveljaven klient %s, kliknite na gumb %s Odstrani in "
4677
  "se vrni na Korak 1 %s za ponoven vnos ID klienta in Skrivnost Klienta."
4678
 
4679
+ #: settings.php:4298
4680
  msgid "Get Authorization Code"
4681
  msgstr "Pridobi Avtoriazcijsko Kodo"
4682
 
4683
+ #: settings.php:4301
4684
  msgid "Enter Authorization Code"
4685
  msgstr "Vnesi Avorizacijsko Kodo"
4686
 
4687
+ #: settings.php:4311
4688
  msgid "Use own API IDs"
4689
  msgstr "Uporabi lastne API ID-je"
4690
 
4691
+ #: settings.php:4313
4692
  msgid "Clear and return to Step 1"
4693
  msgstr "Odstrani in se vrni na Korak 1"
4694
 
4695
+ #: settings.php:4317
4696
  msgid "Authorize"
4697
  msgstr "Avtoriziraj"
4698
 
4699
+ #: settings.php:4333
4700
  msgid "AdSense Integration - Step 1"
4701
  msgstr "Integracija AdSense - Korak 1"
4702
 
4703
  #. translators: %s: Ad Inserter
4704
+ #: settings.php:4337
4705
  msgid ""
4706
  "Here can %s list configured AdSense ad units and get code for AdSense ads. "
4707
  "To do this you need to authorize %s to access your AdSense account. The "
4714
  "Klienta in Skrivnost Klienta."
4715
 
4716
  #. translators: %s: HTML tags
4717
+ #: settings.php:4346
4718
  msgid "Go to %s Google APIs and Services console %s"
4719
  msgstr "Pojdite na %s konzolo Google API-ji in Storitve %s"
4720
 
4721
  #. translators: %1: Ad Inserter, 2, 3: HTML tags
4722
+ #: settings.php:4347
4723
  msgid ""
4724
  "Create %1$s project - if the project and IDs are already created click on "
4725
  "the %2$s Credentials %3$s in the sidebar and go to step 16"
4728
  "%2$s Pooblastila %3$s v stranski vrstici in pojdite na korak 16"
4729
 
4730
  #. translators: %s: HTML tags
4731
+ #: settings.php:4348
4732
  msgid ""
4733
  "Click on project selection and then click on the %s NEW PROJECT %s button to "
4734
  "create a new project"
4737
  "ustvaritev novega projekta"
4738
 
4739
  #. translators: 1: Ad Inserter, 2, 3: HTML tags
4740
+ #: settings.php:4349
4741
  msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
4742
  msgstr "Vnesite %1$s za ime projekta in kliknite na gumb %2$s Ustvari %3$s"
4743
 
4744
  #. translators: %s: HTML tags
4745
+ #: settings.php:4350
4746
  msgid ""
4747
  "Click on project selection, wait for the project to be created and then and "
4748
  "select %s as the current project"
4751
  "izberite %s kot trenutni projekt"
4752
 
4753
  #. translators: %s: HTML tags
4754
+ #: settings.php:4351
4755
  msgid "Click on %s ENABLE APIS AND SERVICES %s"
4756
  msgstr "Klinkite na %s OMOGOČI API-je IN STORITVE %s"
4757
 
4758
  #. translators: %s: HTML tags
4759
+ #: settings.php:4352
4760
  msgid "Search for adsense and enable %s"
4761
  msgstr "Poiščite adsense in omogočite %s"
4762
 
4763
  #. translators: %s: HTML tags
4764
+ #: settings.php:4353
4765
  msgid "Click on %s CREATE CREDENTIALS %s"
4766
  msgstr "Klinkite na %s USTVARI POOBLASTILA %s"
4767
 
4768
  #. translators: %s: HTML tags
4769
+ #: settings.php:4354
4770
  msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
4771
  msgstr "Za %s Od kod boste klicali API-je? %s izberite %s Drugi UI %s"
4772
 
4773
  #. translators: %s: HTML tags
4774
+ #: settings.php:4355
4775
  msgid "For %s What data will you be accessing? %s select %s User data %s"
4776
  msgstr ""
4777
  "Za %s Do katerih podatkov boste dostopali? %s izberite %s Uporabniški "
4778
  "podatki %s"
4779
 
4780
  #. translators: %s: HTML tags
4781
+ #: settings.php:4356
4782
  msgid "Click on %s What credentials do I need? %s"
4783
  msgstr "Kliknite na %s Kakšna pooblastila potrebujem? %s"
4784
 
4785
  #. translators: %s: HTML tags
4786
+ #: settings.php:4357
4787
  msgid ""
4788
  "Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
4789
  "Ad Inserter client %s"
4792
  "%s Ad Inserter klient %s"
4793
 
4794
  #. translators: %s: HTML tags
4795
+ #: settings.php:4358
4796
  msgid ""
4797
  "Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
4798
  "enter %s"
4801
  "uporabnikom %s vnesite %s"
4802
 
4803
  #. translators: %s: HTML tags
4804
+ #: settings.php:4359
4805
  msgid "Click on %s Continue %s"
4806
  msgstr "Kliknite na %s Nadaljuj %s"
4807
 
4808
  #. translators: %s: HTML tags
4809
+ #: settings.php:4360
4810
  msgid "Click on %s Done %s"
4811
  msgstr "Kliknite na %s Končaj %s"
4812
 
4813
  #. translators: %s: HTML tags
4814
+ #: settings.php:4361
4815
  msgid ""
4816
  "Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
4817
  "secret %s"
4819
  "Kliknite na %s Ad Inserter klient, %s da bi dobili %s ID klienta %s in %s "
4820
  "Skrivnost klienta %s"
4821
 
4822
+ #: settings.php:4362
4823
  msgid "Copy them to the appropriate fields below"
4824
  msgstr "Skopirajte ju na ustrezni polji spodaj"
4825
 
4826
+ #: settings.php:4368
4827
  msgid "Client ID"
4828
  msgstr "ID klienta"
4829
 
4830
+ #: settings.php:4371
4831
  msgid "Enter Client ID"
4832
  msgstr "Vnesite ID klienta"
4833
 
4834
+ #: settings.php:4376
4835
  msgid "Client secret"
4836
  msgstr "Skrivnost klienta"
4837
 
4838
+ #: settings.php:4379
4839
  msgid "Enter Client secret"
4840
  msgstr "Vnesite Skrivnost klienta"
4841
 
4842
+ #: settings.php:4389
4843
  msgid "Use default API IDs"
4844
  msgstr "Uporabi privzete API ID-je"
4845
 
4846
+ #: settings.php:4542
4847
  msgid "All posts"
4848
  msgstr "Vsi prispevki"
4849
 
4850
+ #: settings.php:4543
4851
  msgid "All static pages"
4852
  msgstr "Vse statične strani"
4853
 
4854
+ #: settings.php:4694 settings.php:4707 settings.php:4721 settings.php:4737
4855
  msgid "Blank ad blocks? Looking for AdSense alternative?"
4856
  msgstr "Prazni oglasni bloki? Iščete alternativo za AdSense?"
4857
 
4858
+ #: settings.php:4699 settings.php:4712 settings.php:4726 settings.php:4742
4859
+ #: settings.php:4972 settings.php:4974 settings.php:4991 settings.php:4995
4860
+ #: settings.php:5003 settings.php:5004 settings.php:5007 settings.php:5013
4861
+ #: settings.php:5023 settings.php:5027
4862
  msgid "Looking for AdSense alternative?"
4863
  msgstr "Iščete alternativo za AdSense?"
4864
 
4865
+ #: settings.php:4754
4866
  msgid "Try Infolinks Ads with Adsense or Media.net ads"
4867
  msgstr "Poskusite oglase Infolinks z oglasi AdSense ali Media.net"
4868
 
4869
+ #: settings.php:4759 settings.php:4970 settings.php:4982 settings.php:5010
4870
+ #: settings.php:5037
4871
  msgid "Use Infolinks ads with Adsense to earn more"
4872
  msgstr "Uporabite oglase Infolinks z AdSense za večji zaslužek"
4873
 
4874
+ #: settings.php:4769 settings.php:4774 settings.php:4784 settings.php:4789
4875
+ #: settings.php:4968 settings.php:4987 settings.php:5014 settings.php:5032
4876
  msgid "Maximize your revenue!"
4877
  msgstr "Povečajte svoj prihodek!"
4878
 
4879
+ #: settings.php:4810 settings.php:4861
4880
  msgid "Support plugin development"
4881
  msgstr "Podprite razvoj vtičnika"
4882
 
4883
+ #: settings.php:4815 settings.php:4862
4884
  msgid ""
4885
  "If you like Ad Inserter and have a moment, please help me spread the word by "
4886
  "reviewing the plugin on WordPres"
4888
  "Če vam je Ad Inserter všeč in imate trenutek časa, mi prosim pomagajte "
4889
  "razširiti novico z mnenjem o vtičniku na WordPress-u"
4890
 
4891
+ #: settings.php:4815
4892
  msgctxt "Review Ad Inserter"
4893
  msgid "Review"
4894
  msgstr "Ocenite"
4895
 
4896
+ #: settings.php:4820
4897
  msgid ""
4898
  "If you like Ad Inserter and have a moment, please help me spread the word by "
4899
  "rating the plugin on WordPres"
4901
  "Če vam je Ad Inserter všeč in imate trenutek časa, mi prosim pomagajte "
4902
  "razširiti novico z oceno vtičnika na WordPress-u"
4903
 
4904
+ #: settings.php:4820
4905
  msgctxt "Rate Ad Inserter"
4906
  msgid "Rate"
4907
+ msgstr "Ocenite"
4908
 
4909
+ #: settings.php:4825
4910
  msgid ""
4911
  "Support free Ad Inserter development. If you are making money with Ad "
4912
  "Inserter consider donating some small amount. Even 1 dollar counts. Thank "
4915
  "Podprite razvoj brezplačnega Ad Inserter-ja. Če služite denar z Ad Inserter-"
4916
  "jem razmislite o donaciji manjšega zneska. Tudi 1 evro šteje. Hvala!"
4917
 
4918
+ #: settings.php:4825
4919
  msgid "Donate"
4920
  msgstr "Donirajte"
4921
 
4922
+ #: settings.php:4832 settings.php:4877
4923
  msgid "Average rating of the plugin - Thank you!"
4924
  msgstr "Povprečna ocena vtičnika - Hvala!"
4925
 
4926
  #. translators: %s: Ad Inserter, HTML tags
4927
+ #: settings.php:4843
4928
  msgid ""
4929
  "You've been using %s for a while now, and I hope you're happy with it. "
4930
  "Positive %s reviews %s are a great way to show your appreciation for my "
4938
  "vzpodbuda za odpravo hroščev in dodajanje novih funkcij za boljšo "
4939
  "monetizacijo vašega spletnega mesta. %s Hvala!"
4940
 
4941
+ #: settings.php:4862
4942
  msgid "Review"
4943
  msgstr "Ocena"
4944
 
4945
+ #: settings.php:4866
4946
  msgid "Ad Inserter on Twitter"
4947
  msgstr "Ad Inserter na Twitter-ju"
4948
 
4949
+ #: settings.php:4867
4950
  msgid "Ad Inserter on Facebook"
4951
  msgstr "Ad Inserter na Facebook-u"
4952
 
4953
+ #: settings.php:4870
4954
  msgid "Follow Ad Inserter"
4955
  msgstr "Sledi Ad Inserter-ju"
4956
 
4957
  #. translators: %s: HTML tags
4958
+ #: settings.php:4897
4959
  msgid ""
4960
  "Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
4961
  "and %s Common Settings %s pages"
4964
  "Urejanje Kode, %s %s Pogoste Nastavitve %s"
4965
 
4966
  #. translators: %s: HTML tags
4967
+ #: settings.php:4909
4968
  msgid ""
4969
  "%s New to %s AdSense? %s %s %s Connect your site %s - %s In-feed ads, %s %s "
4970
  "Auto ads, %s %s AMP ads %s &mdash; How to %s integrate %s Infolinks %s ad "
4975
  "%s Infolinks %s oglasno kodo %s"
4976
 
4977
  #. translators: %s: HTML tags
4978
+ #: settings.php:4930
4979
  msgid ""
4980
  "Become an %s affiliate %s for Ad Inserter Pro and earn commission for each "
4981
  "purchase you refer to us"
4984
  "nakup, ki nam ga posredujete"
4985
 
4986
  #. translators: %s: HTML tags
4987
+ #: settings.php:4937
4988
  msgid ""
4989
  "Ads are not showing? Check %s troubleshooting guide %s to find out how to "
4990
  "diagnose and fix the problem."
4993
  "navodili za diagnozo in rešitvami za težave."
4994
 
4995
  #. translators: %s: HTML tags
4996
+ #: settings.php:4941
4997
  msgid ""
4998
  "If you need any kind of help or support, please do not hesitate to open a "
4999
  "thread on the %s support forum. %s"
5001
  "Če potrebujete kakršno koli pomoč ali podporo ne oklevajte in odprite novo "
5002
  "nit na %s podpornem forumu. %s"
5003
 
5004
+ #: settings.php:4967 settings.php:5036
5005
  msgid "Code preview with visual CSS editor"
5006
  msgstr "Predogled kode z vizualnim CSS urejevalnikom"
5007
 
5008
+ #: settings.php:4986 settings.php:5031
5009
  msgid "A/B testing - Track ad impressions and clicks"
5010
  msgstr "A/B testiranje - Sledi prikazom in klikom"
5011
 
5012
+ #: settings.php:5045
5013
  msgid "Looking for Pro Ad Management plugin?"
5014
  msgstr "Iščete Pro vtičnik za Upravljanje z Oglasi?"
5015
 
5016
+ #: settings.php:5046
5017
  msgid "To Optimally Monetize your WordPress website?"
5018
  msgstr "Za optimalno monetizacijo vašega WordPress spletnega mesta?"
5019
 
5020
  #. Translators: %s: price of Ad Inserter Pro
5021
+ #: settings.php:5047
5022
  msgid "Different license types starting from %s"
5023
  msgstr "Različni tipi licenc začenši od %s"
5024
 
5025
  #. translators: %s HTML tags
5026
+ #: settings.php:5050
5027
  msgid "%s AdSense Integration %s"
5028
  msgstr "%s Integracija AdSense %s"
5029
 
5030
  #. translators: %s HTML tags
5031
+ #: settings.php:5051
5032
  msgid "Syntax highlighting %s editor %s"
5033
  msgstr "%s Urejevalnik %s s poudarjanjem sintakse"
5034
 
5035
  #. translators: %s HTML tags
5036
+ #: settings.php:5052
5037
  msgid "%s Code preview %s with visual CSS editor"
5038
  msgstr "%s Predogled kode %s z vizualnim CSS urejevalnikom"
5039
 
5040
  #. translators: %s HTML tags
5041
+ #: settings.php:5053
5042
  msgid "Simple user interface - all settings on a single page"
5043
  msgstr "Preprost uporabniški vmesnik - vse nastavitve na eni strani"
5044
 
5045
  #. translators: %s HTML tags
5046
+ #: settings.php:5054
5047
  msgid ""
5048
  "%s Automatic insertion %s before or after post / content / %s paragraph %s / "
5049
  "image / excerpt"
5052
  "%s / sliko / izvlečkom"
5053
 
5054
  #. translators: %s HTML tags
5055
+ #: settings.php:5055
5056
  msgid "%s Automatic insertion %s between posts on blog pages"
5057
  msgstr "%s Samodejno vstavljanje %s med prispevki na straneh bloga"
5058
 
5059
  #. translators: %s HTML tags
5060
+ #: settings.php:5056
5061
  msgid "%s Automatic insertion %s before, between and after comments"
5062
  msgstr "%s Samodejno vstavljanje %s pred, med in po kometarjih"
5063
 
5064
  #. translators: %s HTML tags
5065
+ #: settings.php:5057
5066
  msgid "%s Automatic insertion %s after %s or before %s tag"
5067
  msgstr "%s Samodejno vstavljanje %s za %s ali pred %s začko"
5068
 
5069
  #. translators: %s HTML tags
5070
+ #: settings.php:5058
5071
  msgid "Automatic insertion at %s custom hook positions %s"
5072
  msgstr "Samodejno vstavljanje na %s položajih ročic po meri %s"
5073
 
5074
  #. translators: %s HTML tags
5075
+ #: settings.php:5059
5076
  msgid ""
5077
  "Insertion %s before or after any HTML element on the page %s (using CSS "
5078
  "selectors)"
5081
  "selektorjev)"
5082
 
5083
  #. translators: %s HTML tags
5084
+ #: settings.php:5060
5085
  msgid "%s Insertion exceptions %s for individual posts and pages"
5086
  msgstr "%s Izjeme vstavljanja %s za individualne prispevke in strani"
5087
 
5088
  #. translators: %s HTML tags
5089
+ #: settings.php:5061
5090
  msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
5091
  msgstr "%s Ročno vstavljanje: %s gradniki, kratke kode in klic PHP funkcije"
5092
 
5093
  #. translators: %s HTML tags
5094
+ #: settings.php:5062
5095
  msgid ""
5096
  "%s Sticky ads %s with optional close button (ads stay fixed when the page "
5097
  "scrolls)"
5100
  "se stran pomika)"
5101
 
5102
  #. translators: %s HTML tags
5103
+ #: settings.php:5063
5104
  msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
5105
  msgstr ""
5106
  "%s Lepljivi oglasi v stranski vrstici %s (lepljivi na zaslon ali vsebino)"
5107
 
5108
  #. translators: %s HTML tags
5109
+ #: settings.php:5064
5110
  msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
5111
  msgstr ""
5112
  "%s Animacije lepljivih oglasov %s (uveni, drsaj, obrni, prekucni, približaj)"
5113
 
5114
  #. translators: %s HTML tags
5115
+ #: settings.php:5065
5116
  msgid ""
5117
  "%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
5118
  "visible)"
5121
  "postane viden)"
5122
 
5123
  #. translators: %s HTML tags
5124
+ #: settings.php:5066
5125
  msgid ""
5126
  "%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
5127
  msgstr ""
5129
  "strani)"
5130
 
5131
  #. translators: %s HTML tags
5132
+ #: settings.php:5067
5133
  msgid "Block %s alignment and style %s customizations"
5134
  msgstr "%s Poravnave in slogi %s bloka po meri"
5135
 
5136
  #. translators: %s HTML tags
5137
+ #: settings.php:5068
5138
  msgid ""
5139
  "%s Clearance %s options to avoid insertion near images or headers (AdSense "
5140
  "TOS)"
5142
  "%s Izogibanje %s vstavljanja oglasov zraven slik ali naslovov (AdSense TOS)"
5143
 
5144
  #. translators: %s HTML tags
5145
+ #: settings.php:5069
5146
  msgid ""
5147
  "Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
5148
  "feeds"
5151
  "virih"
5152
 
5153
  #. translators: %s HTML tags
5154
+ #: settings.php:5070
5155
  msgid "%s Ad rotation %s (works also with caching)"
5156
  msgstr "%s Rotacija oglasov %s (deluje tudi s predpomnjenjem)"
5157
 
5158
  #. translators: %s HTML tags
5159
+ #: settings.php:5071
5160
  msgid "Create, edit and check %s ads.txt %s file"
5161
  msgstr "Ustvari, urejaj in preveri datoteko %s ads.txt %s"
5162
 
5163
  #. translators: %s HTML tags
5164
+ #: settings.php:5072
5165
  msgid ""
5166
  "Ad impression and click %s tracking %s (works also with Javascript ads like "
5167
  "AdSense)"
5170
  "AdSense)"
5171
 
5172
  #. translators: %s HTML tags
5173
+ #: settings.php:5073
5174
  msgid "Internal or external %s tracking %s (via Google Analytics or Matomo)"
5175
  msgstr "Notranje ali zunanje %s sledenje %s (prek Google Analytics ali Matomo)"
5176
 
5177
  #. translators: %s HTML tags
5178
+ #: settings.php:5074
5179
  msgid "%s Public web reports %s for clients, export to PDF"
5180
  msgstr "%s Javna spletna poročila %s za stranke, izvoz v PDF"
5181
 
5182
  #. translators: %s HTML tags
5183
+ #: settings.php:5075
5184
  msgid "Support for %s A/B testing %s"
5185
  msgstr "Podpora za %s A/B testiranje %s"
5186
 
5187
  #. translators: %s HTML tags
5188
+ #: settings.php:5076
5189
  msgid "Frequency capping - %s limit impressions or clicks %s"
5190
  msgstr "Omejevanje frekvence - %s omejite prikaze ali klike %s"
5191
 
5192
  #. translators: %s HTML tags
5193
+ #: settings.php:5077
5194
  msgid "Click fraud %s protection %s"
5195
  msgstr "%s Zaščita %s pred goljufijo s kliki"
5196
 
5197
  #. translators: %s HTML tags
5198
+ #: settings.php:5078
5199
  msgid "Support for %s lazy loading %s"
5200
  msgstr "Podpora za %s leno nalaganje %s"
5201
 
5202
  #. translators: %s HTML tags
5203
+ #: settings.php:5079
5204
  msgid "Support for ads on %s AMP pages %s"
5205
  msgstr "Podpora za oglase na %s AMP straneh %s"
5206
 
5207
  #. translators: %s HTML tags
5208
+ #: settings.php:5080
5209
  msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
5210
  msgstr "Podpora za kontekstualne %s Amazon Native Shopping Ads %s (odzivni)"
5211
 
5212
  #. translators: %s HTML tags
5213
+ #: settings.php:5081
5214
  msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
5215
  msgstr ""
5216
  "Ime CSS razreda za div za ovijanje po meri za izogibanje blokiranju oglasov"
5217
 
5218
  #. translators: %s HTML tags
5219
+ #: settings.php:5083
5220
  msgid "%s Banner %s code generator"
5221
  msgstr "Generator kode za %s pasice %s"
5222
 
5223
  #. translators: %s HTML tags
5224
+ #: settings.php:5084
5225
  msgid "Support for %s header and footer %s code"
5226
  msgstr "Podpora za kodo v %s glavi in nogi %s"
5227
 
5228
  #. translators: %s HTML tags
5229
+ #: settings.php:5085
5230
  msgid "Support for Google Analytics, Matomo or any other web analytics code"
5231
  msgstr ""
5232
  "Podpora za Google Analytics, Matomo ali katerokoli drugo spletno analitiko"
5233
 
5234
  #. translators: %s HTML tags
5235
+ #: settings.php:5086
5236
  msgid "Desktop, tablet and phone server-side %s device detection %s"
5237
  msgstr ""
5238
  "%s Zaznava namizne, tablične in telefonske naprave %s na strani strani "
5239
  "strežnika"
5240
 
5241
  #. translators: %s HTML tags
5242
+ #: settings.php:5087
5243
  msgid "Client-side %s mobile device detection %s (works with caching)"
5244
  msgstr "%s Zaznava mobilne naprave %s (deluje s predpomnjenjem)"
5245
 
5246
  #. translators: %s HTML tags
5247
+ #: settings.php:5088
5248
  msgid ""
5249
  "%s Ad blocking detection %s - popup message, ad replacement, content "
5250
  "protection"
5253
  "vsebine"
5254
 
5255
  #. translators: %s HTML tags
5256
+ #: settings.php:5089
5257
  msgid "%s Ad blocking statistics %s"
5258
  msgstr "%s Statistika blokiranja oglasov %s"
5259
 
5260
  #. translators: %s HTML tags
5261
+ #: settings.php:5090
5262
  msgid ""
5263
  "%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
5264
  "referrers, operating systems, browsers"
5267
  "prispevkov, url-jev, napotiteljev, operacijskih sistemov, brskalnikov"
5268
 
5269
  #. translators: %s HTML tags
5270
+ #: settings.php:5091
5271
  msgid ""
5272
  "%s Black/White-list %s IP addresses or countries (works also with caching)"
5273
  msgstr ""
5274
  "%s Črni/Beli seznam %s IP naslovov ali držav (deluje tudi s predpomnjenjem)"
5275
 
5276
  #. translators: %s HTML tags
5277
+ #: settings.php:5092
5278
  msgid "%s Multisite options %s to limit settings on the sites"
5279
  msgstr "%s Multisite možnosti %s za omejitev nastavitev na spletiščih"
5280
 
5281
  #. translators: %s HTML tags
5282
+ #: settings.php:5093
5283
  msgid "%s Import/Export %s block or plugin settings"
5284
  msgstr "%s Uvoz/Izvoz %s nastavitve bloka ali vtičnika"
5285
 
5286
  #. translators: %s HTML tags
5287
+ #: settings.php:5094
5288
  msgid "%s Insertion scheduling %s with fallback option"
5289
  msgstr "%s Urnik vstavljanja %s z možnostjo rezerve"
5290
 
5291
  #. translators: %s HTML tags
5292
+ #: settings.php:5095
5293
  msgid "Country-level %s GEO targeting %s (works also with caching)"
5294
  msgstr "%s GEO ciljanje na ravni države %s (deluje tudi s predpomnjenjem)"
5295
 
5296
  #. translators: %s HTML tags
5297
+ #: settings.php:5096
5298
  msgid "Simple troubleshooting with many %s debugging functions %s"
5299
  msgstr ""
5300
  "Preprosto odpravljanje napak z veliko %s funkcijami za razhroščevanje %s"
5301
 
5302
  #. translators: %s HTML tags
5303
+ #: settings.php:5097
5304
  msgid "%s Visualization %s of inserted blocks or ads for easier placement"
5305
  msgstr ""
5306
  "%s Vizualizacija %s vstavljenih blokov ali oglasov za enostavno umeščanje"
5307
 
5308
  #. translators: %s HTML tags
5309
+ #: settings.php:5098
5310
  msgid "%s Visualization %s of available positions for automatic ad insertion"
5311
  msgstr ""
5312
  "%s Vizualizacija %s razpoložljivih položajev za samodejno vstavljanje oglasov"
5313
 
5314
  #. translators: %s HTML tags
5315
+ #: settings.php:5099
5316
  msgid ""
5317
  "%s Visualization %s of HTML tags for easier ad placement between paragraphs"
5318
  msgstr ""
5319
  "%s Vizualizacija %s HTML značk za enostavno vstavljanje oglasov med odstavki"
5320
 
5321
  #. translators: %s HTML tags
5322
+ #: settings.php:5100
5323
  msgid "%s Clipboard support %s to easily copy blocks or settings"
5324
  msgstr ""
5325
  "%s Podpora za odložišče %s za enostavno kopiranje blokov ali nastavitev"
5326
 
5327
  #. translators: %s HTML tags
5328
+ #: settings.php:5101
5329
  msgid "No ads on the settings page"
5330
  msgstr "Stran z nastavitvami brez oglasov"
5331
 
5332
  #. translators: %s HTML tags
5333
+ #: settings.php:5102
5334
  msgid "Premium support"
5335
  msgstr "Vrhunska podpora"
5336
 
5337
  #. translators: %s HTML tags
5338
+ #: settings.php:5105
5339
  msgid ""
5340
  "Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
5341
  "website with many advertising features to automatically insert adverts on "
5362
  "bodo ohranile)."
5363
 
5364
  #. translators: %s HTML tags
5365
+ #: settings.php:5118
5366
  msgid "Looking for %s Pro Ad Management plugin? %s"
5367
  msgstr "Iščete Pro vtičnik za %s Upravljanje z Oglasi? %s"
5368
 
5369
  #. translators: %s HTML tags
5370
+ #: settings.php:5123
5371
  msgid "Ads between posts"
5372
  msgstr "Oglasi med prispevki"
5373
 
5374
  #. translators: %s HTML tags
5375
+ #: settings.php:5124
5376
  msgid "Ads between comments"
5377
  msgstr "Oglasi med komentarji"
5378
 
5379
  #. translators: %s HTML tags
5380
+ #: settings.php:5125
5381
  msgid "Support via email"
5382
  msgstr "Podpora prek elektronske pošte"
5383
 
5384
  #. translators: %s HTML tags
5385
+ #: settings.php:5131
5386
  msgid "%s Sticky positions %s"
5387
  msgstr "%s Lepljivi položaji %s"
5388
 
5389
  #. translators: %s HTML tags
5390
+ #: settings.php:5132
5391
  msgid "%s Limit insertions %s"
5392
  msgstr "%s Omeji vstavljanja %s"
5393
 
5394
  #. translators: %s HTML tags
5395
+ #: settings.php:5133
5396
  msgid "%s Clearance %s options"
5397
  msgstr "Možnosti %s izogibanja %s"
5398
 
5399
  #. translators: %s HTML tags
5400
+ #: settings.php:5139
5401
  msgid "Ad rotation"
5402
  msgstr "Vrtenje oglasov"
5403
 
5404
  #. translators: %s HTML tags
5405
+ #: settings.php:5140
5406
  msgid "%s A/B testing %s"
5407
  msgstr "%s A/B testiranje %s"
5408
 
5409
  #. translators: %s HTML tags
5410
+ #: settings.php:5141
5411
  msgid "%s Ad tracking %s"
5412
  msgstr "%s Sledenje oglasom %s"
5413
 
5414
  #. translators: %s HTML tags
5415
+ #: settings.php:5147
5416
  msgid "Support for %s AMP pages %s"
5417
  msgstr "Podpora za %s AMP strani %s"
5418
 
5419
  #. translators: %s HTML tags
5420
+ #: settings.php:5148
5421
  msgid "%s Ad blocking detection %s"
5422
  msgstr "%s Zaznavanje blokiranja oglasov %s"
5423
 
5424
  #. translators: %s HTML tags
5425
+ #: settings.php:5149
5426
  msgid "%s Mobile device detection %s"
5427
  msgstr "%s Zaznavanje mobilne naprave %s"
5428
 
5429
  #. translators: %s HTML tags
5430
+ #: settings.php:5156
5431
  msgid "64 code blocks"
5432
  msgstr "64 kodnih blokov"
5433
 
5434
  #. translators: %s HTML tags
5435
+ #: settings.php:5157
5436
  msgid "%s GEO targeting %s"
5437
  msgstr "%s GEO ciljanje %s"
5438
 
5439
  #. translators: %s HTML tags
5440
+ #: settings.php:5158
5441
  msgid "%s Scheduling %s"
5442
  msgstr "%s Urnik %s"
5443
 
6019
  msgid "Auto Ads"
6020
  msgstr "Samodejni"
6021
 
6022
+ #: strings.php:174
6023
+ msgctxt "AdSense Ad Type"
6024
+ msgid "AMP Only"
6025
+ msgstr "Samo AMP"
6026
+
6027
+ #: strings.php:176
6028
  msgctxt "AMP ad"
6029
  msgid "Disabled"
6030
  msgstr "Onemogočen"
6031
 
6032
+ #: strings.php:177
6033
  msgid "Above the fold"
6034
  msgstr "Nad pregibom"
6035
 
6036
+ #: strings.php:178
6037
  msgid "Below the fold"
6038
  msgstr "Pod pregibom"
6039
 
6040
  #: strings.php:179
6041
+ msgctxt "AMP ad"
6042
+ msgid "Sticky"
6043
+ msgstr "Lepljiv"
6044
+
6045
+ #: strings.php:181
6046
  msgctxt "size"
6047
  msgid "Fixed"
6048
  msgstr "Fiksna"
6049
 
6050
+ #: strings.php:182
6051
  msgctxt "size"
6052
  msgid "Responsive"
6053
  msgstr "Odzivna"
6054
 
6055
+ #: strings.php:183
6056
  msgctxt "size"
6057
  msgid "Fixed by viewport"
6058
  msgstr "Fiksna glede na pogled"
6059
 
6060
+ #: strings.php:187
6061
  msgid "Impressions and clicks"
6062
  msgstr "Prikazi in Kliki"
6063
 
6064
+ #: strings.php:188
6065
  msgid "Advanced WordPress Ad Management Plugin"
6066
  msgstr "Napredni WordPress Vtičnik za Upravljanje z Oglasi"
6067
 
6068
+ #: strings.php:194
6069
  msgctxt "Button"
6070
  msgid "Hide"
6071
  msgstr "Skrij"
6072
 
6073
+ #: strings.php:195
6074
  msgctxt "Button"
6075
  msgid "Show"
6076
  msgstr "Pokaži"
6077
 
6078
+ #: strings.php:196
6079
  msgid "Insertion expired"
6080
  msgstr "Vstavljanje poteklo"
6081
 
6082
+ #: strings.php:197
6083
  msgid "Duration"
6084
  msgstr "Trajanje"
6085
 
6086
+ #: strings.php:198
6087
  msgid "Invalid end date - must be after start date"
6088
  msgstr "Neveljaven končni datum - mora biti za začetnim datumom"
6089
 
6090
+ #: strings.php:199
6091
  msgid "Invalid start date - only data for 1 year back is available"
6092
  msgstr "Neveljaven začetni datum - na voljo so samo pdatki za 1 leto nataj"
6093
 
6094
+ #: strings.php:200
6095
  msgid "Invalid date range - only data for 1 year can be displayed"
6096
  msgstr ""
6097
  "Neveljavno časovno oddobje - prikažejo se lahko samo podatki za 1 leto nazaj"
6098
 
6099
+ #: strings.php:208
6100
  msgid "Delete"
6101
  msgstr "Pobriši"
6102
 
6103
+ #: strings.php:209
6104
  msgid "Switch"
6105
  msgstr "Preklopi"
6106
 
6107
+ #: strings.php:211
6108
  msgid "Delete all statistics data?"
6109
  msgstr "Pobrišem vse podatke o statistiki?"
6110
 
6111
  #. translators: %s: dates
6112
+ #: strings.php:213
6113
  msgid "Delete statistics data between %s and %s?"
6114
  msgstr "Pobrišem podatke o statistiki med %s in %s?"
6115
 
6116
+ #: strings.php:214
6117
  msgid "Cancel block order rearrangement"
6118
  msgstr "Prekliči preureditev vrstnega reda blokov"
6119
 
6120
+ #: strings.php:216
6121
  msgid "downloading..."
6122
  msgstr "prenašam..."
6123
 
6124
+ #: strings.php:217
6125
  msgid "download error"
6126
  msgstr "napaka pri prenosu"
6127
 
6128
+ #: strings.php:218
6129
  msgid "update error"
6130
  msgstr "napaka pri posodobitvi"
6131
 
6132
+ #: strings.php:219
6133
  msgid "Updating..."
6134
  msgstr "Posodabljam..."
6135
 
6136
+ #: strings.php:221
6137
  msgid "ERROR"
6138
  msgstr "NAPAKA"
6139
 
6140
+ #: strings.php:222
6141
  msgid "Error reloading settings"
6142
  msgstr "Napaka pri nalaganju nastavitev"
6143
 
6144
+ #: strings.php:224
6145
  msgctxt "Search field placeholder"
6146
  msgid "Search..."
6147
  msgstr "Išči..."
6148
 
6149
+ #: strings.php:225
6150
  msgctxt "Search field placeholder"
6151
  msgid "Filter..."
6152
  msgstr "Filter..."
6153
 
6154
+ #: strings.php:226
6155
  msgid "Use filter to limit names in the list"
6156
  msgstr "Uporabite filter za omejitev imen v seznamu"
6157
 
6158
+ #: strings.php:227
6159
  msgctxt "Button"
6160
  msgid "Filter"
6161
  msgstr "Filter"
6162
 
6163
+ #: strings.php:229
6164
  msgid "Position not available"
6165
  msgstr "Položaj ni na razpolago"
6166
 
6167
+ #: strings.php:230
6168
  msgid ""
6169
  "Theme check | Selected position for automatic insertion might not be not "
6170
  "available on this page type"
6172
  "Preverjanje teme | Izbran položaj za samodejno vstavljanje mogoče ni na "
6173
  "razpolago na tem tipu strani"
6174
 
6175
+ #: strings.php:231
6176
  msgid "Position available"
6177
  msgstr "Položaj na razpolago"
6178
 
6179
+ #: strings.php:233
6180
  msgid "Select or upload banner image"
6181
  msgstr "Izberi ali naloži sliko pasice"
6182
 
6183
+ #: strings.php:234
6184
  msgid "Use this image"
6185
  msgstr "Uporabi to sliko"
6186
 
6187
+ #: strings.php:235
6188
  msgid "Switching to physical ads.txt file will delete virtual ads.txt file."
6189
  msgstr ""
6190
  "Preklop na fizično datoteko ads.txt bo izbrisal navidezno datoreko ads.txt."
6191
 
6192
+ #: strings.php:249
6193
  msgid "Add"
6194
  msgstr "Dodaj"
6195
 
6196
+ #: strings.php:250
6197
  msgid "Parent"
6198
  msgstr "Starš"
6199
 
6200
+ #: strings.php:251
6201
  msgid "Cancel element selection"
6202
  msgstr "Prekliči izbor HTML elementa"
6203
 
6204
+ #: strings.php:252
6205
  msgid "Select parent element"
6206
  msgstr "Izberi starševski element"
6207
 
6208
+ #: strings.php:253
6209
  msgid "CSS selector"
6210
  msgstr "CSS selektor"
6211
 
6212
+ #: strings.php:254
6213
  msgid "Use current selector"
6214
  msgstr "Uporabi trenutni selektor"
6215
 
6216
+ #: strings.php:255
6217
  msgid "ELEMENT"
6218
  msgstr "ELEMENT"
6219
 
6220
+ #: strings.php:256
6221
  msgid "PATH"
6222
  msgstr "POT"
6223
 
6224
+ #: strings.php:257
6225
  msgid "SELECTOR"
6226
  msgstr "SELEKTOR"
6227
 
6228
+ #: strings.php:258
6229
  msgctxt "Block"
6230
  msgid "VISIBLE"
6231
  msgstr "VIDEN"
6232
 
6233
+ #: strings.php:259
6234
  msgctxt "Block"
6235
  msgid "HIDDEN"
6236
  msgstr "SKRIT"
6243
  "Upravljanje z oglasi z veliko naprednimi funkcijami za vstavljanje oglasov "
6244
  "na optimalna mesta"
6245
 
6246
+ #~ msgid "Include general plugin block class"
6247
+ #~ msgstr "Vključi splošni razred vtičnika za blok"
6248
+
6249
+ #~ msgid "Block class"
6250
+ #~ msgstr "Razred bloka"
6251
+
6252
  #~ msgctxt "Review ad Inserter"
6253
  #~ msgid "Review"
6254
  #~ msgstr "Oceni"
languages/ad-inserter.pot CHANGED
@@ -2,9 +2,9 @@
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.5.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
- "POT-Creation-Date: 2019-11-12 16:45:21+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,455 +12,455 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: ad-inserter.php:304
16
  msgctxt "Menu item"
17
  msgid "Debugging DEMO"
18
  msgstr ""
19
 
20
- #: ad-inserter.php:320
21
  msgctxt "Menu item"
22
  msgid "Label Blocks"
23
  msgstr ""
24
 
25
- #: ad-inserter.php:327
26
  msgctxt "Menu item"
27
  msgid "Show Positions"
28
  msgstr ""
29
 
30
- #: ad-inserter.php:398
31
  msgctxt "Menu item"
32
  msgid "Show HTML Tags"
33
  msgstr ""
34
 
35
- #: ad-inserter.php:405
36
  msgctxt "Menu item"
37
  msgid "Disable Insertion"
38
  msgstr ""
39
 
40
- #: ad-inserter.php:414
41
  msgctxt "Menu item"
42
  msgid "Ad Blocking Status"
43
  msgstr ""
44
 
45
- #: ad-inserter.php:421
46
  msgctxt "Menu item"
47
  msgid "Simulate Ad Blocking"
48
  msgstr ""
49
 
50
- #: ad-inserter.php:431
51
  msgctxt "Menu item"
52
  msgid "Log Processing"
53
  msgstr ""
54
 
55
  #. translators: Debugging position name Before HTML element
56
- #: ad-inserter.php:1038
57
  msgid "Before"
58
  msgstr ""
59
 
60
  #. translators: Debugging position name After HTML element
61
- #: ad-inserter.php:1043
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:1048 strings.php:103
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:1053 strings.php:104
74
  msgid "Append content"
75
  msgstr ""
76
 
77
  #. translators: Debugging position name Replace content of HTML element
78
- #: ad-inserter.php:1058 strings.php:105
79
  msgid "Replace content"
80
  msgstr ""
81
 
82
  #. translators: Debugging position name Replace HTML element
83
- #: ad-inserter.php:1063 strings.php:155
84
  msgid "Replace"
85
  msgstr ""
86
 
87
  #. translators: Debugging message when output buffering is enabled
88
- #: ad-inserter.php:1110
89
  msgid "OUTPUT BUFFERING"
90
  msgstr ""
91
 
92
  #. translators: Debugging position
93
- #: ad-inserter.php:1114
94
  msgid "Above Header"
95
  msgstr ""
96
 
97
- #: ad-inserter.php:1346
98
  msgctxt "Menu item"
99
  msgid "Log In"
100
  msgstr ""
101
 
102
  #. translators: %s: Ad Inserter
103
- #: ad-inserter.php:1680 ad-inserter.php:2618
104
  msgid "%s Settings"
105
  msgstr ""
106
 
107
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
108
- #: ad-inserter.php:2130
109
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
110
  msgstr ""
111
 
112
- #: ad-inserter.php:2130
113
  msgid "NO ACTION"
114
  msgstr ""
115
 
116
- #: ad-inserter.php:2131
117
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
118
  msgstr ""
119
 
120
- #: ad-inserter.php:2132
121
  msgid "AD BLOCKING DETECTED - ACTION"
122
  msgstr ""
123
 
124
- #: ad-inserter.php:2133
125
  msgid "AD BLOCKING NOT DETECTED"
126
  msgstr ""
127
 
128
- #: ad-inserter.php:2134
129
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
130
  msgstr ""
131
 
132
- #: ad-inserter.php:2135
133
  msgid "AD BLOCKING DETECTED - NO ACTION"
134
  msgstr ""
135
 
136
  #. Translators: 1: number of blocks, 2: Ad Inserter
137
- #: ad-inserter.php:2341
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:2342 includes/functions-check-now.php:1725
144
- #: includes/functions.old.php:1652 includes/functions.php:1700
145
  msgid "No, thank you."
146
  msgstr ""
147
 
148
  #. Translators: %s: Ad Inserter
149
- #: ad-inserter.php:2345
150
  msgid ""
151
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
152
  msgstr ""
153
 
154
- #: ad-inserter.php:2346 includes/functions-check-now.php:1728
155
- #: includes/functions.old.php:1655 includes/functions.php:1703
156
  msgid "Not now, maybe later."
157
  msgstr ""
158
 
159
- #: ad-inserter.php:2356
160
  msgid "I would really appreciate if you could rate the plugin on WordPres."
161
  msgstr ""
162
 
163
- #: ad-inserter.php:2358
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:2364
171
  msgid "Rate %s"
172
  msgstr ""
173
 
174
- #: ad-inserter.php:2369
175
  msgid "I already did."
176
  msgstr ""
177
 
178
  #. translators: 1: AMPforWP Plugin Manager, 2: Ad Inserter
179
  #. translators: 1: AMPforWP Plugin Manager, 2: Ad Inserter, 3, 4: HTML tags
180
- #: ad-inserter.php:2382 ad-inserter.php:2409
181
  msgid "Warning: %1$s %3$s disabled %4$s %2$s on AMP pages."
182
  msgstr ""
183
 
184
- #: ad-inserter.php:2391
185
  msgctxt "Menu item"
186
  msgid "Settings"
187
  msgstr ""
188
 
189
  #. translators: %s: Ad Inserter
190
- #: ad-inserter.php:2509
191
  msgctxt "Meta box name"
192
  msgid "%s Individual Exceptions"
193
  msgstr ""
194
 
195
- #: ad-inserter.php:2538 ad-inserter.php:8799 class.php:2080
196
  #: includes/preview.php:1976 includes/preview.php:2020
197
- #: includes/preview.php:2057 settings.php:4088 strings.php:3
198
  msgid "Block"
199
  msgstr ""
200
 
201
- #: ad-inserter.php:2539 settings.php:4089 settings.php:4174
202
  msgid "Name"
203
  msgstr ""
204
 
205
- #: ad-inserter.php:2542 settings.php:1129
206
  msgid "Default insertion"
207
  msgstr ""
208
 
209
  #. translators: For this post or page
210
- #: ad-inserter.php:2545
211
  msgctxt "Page"
212
  msgid "For this"
213
  msgstr ""
214
 
215
- #: ad-inserter.php:2546
216
  msgctxt "Post"
217
  msgid "For this"
218
  msgstr ""
219
 
220
- #: ad-inserter.php:2558
221
  msgctxt "Enabled/disabled on all"
222
  msgid "pages"
223
  msgstr ""
224
 
225
- #: ad-inserter.php:2561
226
  msgctxt "Enabled/disabled on all"
227
  msgid "posts"
228
  msgstr ""
229
 
230
- #: ad-inserter.php:2579 ad-inserter.php:2591 strings.php:161
231
  msgid "Enabled"
232
  msgstr ""
233
 
234
  #. translators: Menu items
235
- #: ad-inserter.php:2579 ad-inserter.php:2591
236
  #: includes/functions-check-now.php:2401 includes/functions.old.php:2326
237
- #: includes/functions.php:2376 strings.php:16
238
  msgid "Disabled"
239
  msgstr ""
240
 
241
- #: ad-inserter.php:2581
242
  msgid "No individual exceptions"
243
  msgstr ""
244
 
245
  #. translators: Not enabled for pages or posts
246
- #: ad-inserter.php:2583
247
  msgid "Not enabled for"
248
  msgstr ""
249
 
250
  #. translators: No individual exceptions enabled for pages or posts
251
- #: ad-inserter.php:2611
252
  msgid "No block has individual exceptions enabled"
253
  msgstr ""
254
 
255
  #. translators: 1: Ad Inserter Settings (page), 2: Tag / Archive pages
256
- #: ad-inserter.php:2616
257
  msgid ""
258
  "Default insertion can be configured for each block on %1$s page - button "
259
  "next to %2$s checkbox."
260
  msgstr ""
261
 
262
- #: ad-inserter.php:2619 settings.php:1107
263
  msgid "Tag / Archive pages"
264
  msgstr ""
265
 
266
- #: ad-inserter.php:2621
267
  msgid ""
268
  "When individual exceptions for a block are enabled, a checkbox will be "
269
  "listed here to change default insertion for this post or page."
270
  msgstr ""
271
 
272
- #: ad-inserter.php:2622
273
  msgid ""
274
  "This way you can individually enable or disable blocks on specific posts or "
275
  "pages."
276
  msgstr ""
277
 
278
- #: ad-inserter.php:2624
279
  msgid "For more information check page %s"
280
  msgstr ""
281
 
282
  #. translators: Ad Inserter Exceptions documentation page
283
- #: ad-inserter.php:2626
284
  msgid "Individual Exceptions"
285
  msgstr ""
286
 
287
- #: ad-inserter.php:2673
288
  msgid "STATIC PAGE"
289
  msgstr ""
290
 
291
- #: ad-inserter.php:2676
292
  msgid "POST"
293
  msgstr ""
294
 
295
- #: ad-inserter.php:2679
296
  msgid "HOMEPAGE"
297
  msgstr ""
298
 
299
- #: ad-inserter.php:2682
300
  msgid "CATEGORY PAGE"
301
  msgstr ""
302
 
303
- #: ad-inserter.php:2685
304
  msgid "SEARCH PAGE"
305
  msgstr ""
306
 
307
- #: ad-inserter.php:2688
308
  msgid "ARCHIVE PAGE"
309
  msgstr ""
310
 
311
- #: ad-inserter.php:2691
312
  msgid "ERROR 404 PAGE"
313
  msgstr ""
314
 
315
- #: ad-inserter.php:2694
316
  msgid "AJAX CALL"
317
  msgstr ""
318
 
319
- #: ad-inserter.php:2697
320
  msgid "UNKNOWN PAGE TYPE"
321
  msgstr ""
322
 
323
- #: ad-inserter.php:2714
324
  msgid "Click to delete ad blocking detection cokies"
325
  msgstr ""
326
 
327
- #: ad-inserter.php:2715
328
  msgid "AD BLOCKING STATUS UNKNOWN"
329
  msgstr ""
330
 
331
  #. translators: %s: AdSense Auto Ads
332
- #: ad-inserter.php:2744
333
  msgid ""
334
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
335
  "positions"
336
  msgstr ""
337
 
338
- #: ad-inserter.php:2883
339
  msgid "Code for insertion"
340
  msgstr ""
341
 
342
- #: ad-inserter.php:2883
343
  msgid "character"
344
  msgid_plural "characters"
345
  msgstr[0] ""
346
  msgstr[1] ""
347
 
348
- #: ad-inserter.php:2926
349
  msgid "Header code"
350
  msgstr ""
351
 
352
- #: ad-inserter.php:2926
353
  msgctxt "Header code"
354
  msgid "DISABLED"
355
  msgstr ""
356
 
357
- #: ad-inserter.php:2926 ad-inserter.php:3162
358
  msgid "character inserted"
359
  msgid_plural "characters inserted"
360
  msgstr[0] ""
361
  msgstr[1] ""
362
 
363
- #: ad-inserter.php:2960
364
  msgid "Automatically placed by AdSense Auto ads code"
365
  msgstr ""
366
 
367
- #: ad-inserter.php:3162
368
  msgid "Footer code"
369
  msgstr ""
370
 
371
- #: ad-inserter.php:3162
372
  msgctxt "Footer code"
373
  msgid "DISABLED"
374
  msgstr ""
375
 
376
- #: ad-inserter.php:3168
377
  msgid "JAVASCRIPT NOT WORKING"
378
  msgstr ""
379
 
380
- #: ad-inserter.php:3168
381
  msgid "NO JAVASCRIPT ERRORS"
382
  msgstr ""
383
 
384
- #: ad-inserter.php:3168
385
  msgid "JAVASCRIPT ERRORS"
386
  msgstr ""
387
 
388
  #. translators: block name (block with default settings)
389
- #: ad-inserter.php:5480
390
  msgctxt "Block name"
391
  msgid "Default"
392
  msgstr ""
393
 
394
  #. translators: %s: Ad Inserter
395
- #: ad-inserter.php:6122
396
  msgid "Error importing %s settings."
397
  msgstr ""
398
 
399
- #: ad-inserter.php:6123
400
  msgid "Error importing settings for block"
401
  msgid_plural "Error importing settings for blocks:"
402
  msgstr[0] ""
403
  msgstr[1] ""
404
 
405
- #: ad-inserter.php:6176
406
  msgid "Settings saved."
407
  msgstr ""
408
 
409
  #. translators: %s: Ad Inserter
410
- #: ad-inserter.php:6178
411
  msgid "Invalid data received - %s settings not saved."
412
  msgstr ""
413
 
414
- #: ad-inserter.php:6272
415
  msgid "Settings cleared."
416
  msgstr ""
417
 
418
  #. Translators: Post/Static page must have between X and Y words
419
- #: ad-inserter.php:6634 ad-inserter.php:6636 ad-inserter.php:6659
420
- #: settings.php:2086
421
  msgid "word"
422
  msgid_plural "words"
423
  msgstr[0] ""
424
  msgstr[1] ""
425
 
426
- #: ad-inserter.php:6673 ad-inserter.php:6785
427
  msgid "HTML TAGS REMOVED"
428
  msgstr ""
429
 
430
- #: ad-inserter.php:6861
431
  msgid "BEFORE COMMENTS"
432
  msgstr ""
433
 
434
- #: ad-inserter.php:6969
435
  msgid "AFTER COMMENTS"
436
  msgstr ""
437
 
438
- #: ad-inserter.php:7032
439
  msgid "BETWEEN COMMENTS"
440
  msgstr ""
441
 
442
- #: ad-inserter.php:8431
443
  msgid "requires WordPress 4.6 or newer"
444
  msgstr ""
445
 
446
- #: ad-inserter.php:8431
447
  msgid "Please update!"
448
  msgstr ""
449
 
450
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
451
  #. name with HTML tags will be added)
452
- #: ad-inserter.php:8672
453
  msgid "Thank you for installing"
454
  msgstr ""
455
 
456
  #. translators: Opt-in message: %s: HTML tags
457
- #: ad-inserter.php:8674
458
  msgid ""
459
  "We would like to %s track its usage %s on your site. This is completely "
460
  "optional and can be disabled at any time."
461
  msgstr ""
462
 
463
- #: ad-inserter.php:8676
464
  msgid ""
465
  "We don't record any sensitive data, only information regarding the WordPress "
466
  "environment and plugin usage, which will help us to make improvements to the "
@@ -468,7 +468,7 @@ msgid ""
468
  msgstr ""
469
 
470
  #. translators: Deactivation message: %s: HTML tags
471
- #: ad-inserter.php:8713
472
  msgid ""
473
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
474
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
@@ -476,57 +476,57 @@ msgid ""
476
  msgstr ""
477
 
478
  #. translators: %s: Ad Inserter
479
- #: ad-inserter.php:8756
480
  msgid "%s block."
481
  msgstr ""
482
 
483
  #. translators: widget title
484
- #: ad-inserter.php:8772 ad-inserter.php:8808
485
  msgid "Processing log"
486
  msgstr ""
487
 
488
  #. translators: widget title
489
- #: ad-inserter.php:8774 ad-inserter.php:8809
490
  msgid "Dummy widget"
491
  msgstr ""
492
 
493
  #. translators: widget title
494
- #: ad-inserter.php:8776 ad-inserter.php:8807
495
  msgid "Debugging tools"
496
  msgstr ""
497
 
498
  #. translators: block status (widget title)
499
- #: ad-inserter.php:8783
500
  msgctxt "block"
501
  msgid "PAUSED"
502
  msgstr ""
503
 
504
- #: ad-inserter.php:8784
505
  msgid "WIDGET DISABLED"
506
  msgstr ""
507
 
508
- #: ad-inserter.php:8785
509
  msgid "Unknown block"
510
  msgstr ""
511
 
512
- #: ad-inserter.php:8794 includes/functions-check-now.php:3261
513
- #: includes/functions.old.php:3186 includes/functions.php:3236
514
- #: settings.php:1159
515
  msgid "Title"
516
  msgstr ""
517
 
518
- #: ad-inserter.php:8816
519
  msgctxt "Widget"
520
  msgid "Sticky"
521
  msgstr ""
522
 
523
- #: ad-inserter.php:8865
524
  msgid ""
525
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
526
  "Inserter you need to first deactivate Ad Inserter Pro."
527
  msgstr ""
528
 
529
- #: ad-inserter.php:8866
530
  msgid ""
531
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
532
  "will clear all settings that are available only in the Pro version "
@@ -534,155 +534,155 @@ msgid ""
534
  msgstr ""
535
 
536
  #. translators: %s: Ad Inserter
537
- #: class.php:505 class.php:514 class.php:517
538
  msgid "PHP error in %s block"
539
  msgstr ""
540
 
541
- #: class.php:2030
542
  msgid "Counters"
543
  msgstr ""
544
 
545
- #: class.php:2034
546
  msgid "Content"
547
  msgstr ""
548
 
549
- #: class.php:2039
550
  msgid "Excerpt"
551
  msgstr ""
552
 
553
- #: class.php:2044 strings.php:17
554
  msgid "Before post"
555
  msgstr ""
556
 
557
- #: class.php:2049 strings.php:18
558
  msgid "After post"
559
  msgstr ""
560
 
561
- #: class.php:2054 strings.php:25
562
  msgid "Between posts"
563
  msgstr ""
564
 
565
- #: class.php:2059 settings.php:1829 settings.php:4106
566
  msgid "Widget"
567
  msgstr ""
568
 
569
- #: class.php:2064 settings.php:4104
570
  msgid "PHP function call"
571
  msgstr ""
572
 
573
  #. Translators: %s: custom hook name
574
- #: class.php:2074
575
  msgid "Custom hook %s call"
576
  msgstr ""
577
 
578
- #: class.php:2110
579
  msgid "AJAX REQUEST"
580
  msgstr ""
581
 
582
- #: class.php:2113
583
  msgid "Ajax request for block in iframe"
584
  msgstr ""
585
 
586
- #: class.php:2143
587
  msgid "Ajax request url, click to open it in a new tab"
588
  msgstr ""
589
 
590
- #: class.php:2146
591
  msgid "IN THE LOOP"
592
  msgstr ""
593
 
594
- #: class.php:2146
595
  msgid "YES"
596
  msgstr ""
597
 
598
- #: class.php:2146
599
  msgid "NO"
600
  msgstr ""
601
 
602
- #: class.php:2182
603
  msgid "BLOCK"
604
  msgstr ""
605
 
606
- #: class.php:2182
607
  msgctxt "block or widget"
608
  msgid "INSERTED BUT NOT VISIBLE"
609
  msgstr ""
610
 
611
- #: class.php:2631 class.php:2694
612
  msgid "ACTIVE GROUPS"
613
  msgstr ""
614
 
615
  #. translators: %s: list parameters and type
616
- #: class.php:2880
617
  msgid "parameters='%s' type='%s'"
618
  msgstr ""
619
 
620
  #. translators: %s: list parameters and type
621
- #: class.php:2882
622
  msgid "referers='%s' type='%s'"
623
  msgstr ""
624
 
625
  #. translators: %s: list parameters and type
626
- #: class.php:2884
627
  msgid "clients='%s' type='%s'"
628
  msgstr ""
629
 
630
  #. translators: %s: list parameters and type
631
- #: class.php:2955
632
  msgid "countries='%s' type='%s'"
633
  msgstr ""
634
 
635
  #. translators: %s: list parameters and type
636
- #: class.php:2957
637
  msgid "ip addresses='%s' type='%s'"
638
  msgstr ""
639
 
640
- #: class.php:3228 strings.php:239
641
  msgid "BEFORE"
642
  msgstr ""
643
 
644
- #: class.php:3236 strings.php:241
645
  msgid "PREPEND CONTENT"
646
  msgstr ""
647
 
648
- #: class.php:3240 strings.php:242
649
  msgid "APPEND CONTENT"
650
  msgstr ""
651
 
652
- #: class.php:3244 strings.php:243
653
  msgid "REPLACE CONTENT"
654
  msgstr ""
655
 
656
- #: class.php:3248 strings.php:244
657
  msgid "REPLACE ELEMENT"
658
  msgstr ""
659
 
660
- #: class.php:3259 strings.php:240
661
  msgid "AFTER"
662
  msgstr ""
663
 
664
- #: class.php:3326
665
  msgctxt "JavaScript"
666
  msgid "script"
667
  msgstr ""
668
 
669
- #: class.php:3329
670
  msgid "for block"
671
  msgstr ""
672
 
673
- #: class.php:6392 class.php:6444
674
  msgctxt "category name"
675
  msgid "Uncategorized"
676
  msgstr ""
677
 
678
- #: class.php:6951
679
  msgid ""
680
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
681
  "extension for PHP."
682
  msgstr ""
683
 
684
  #: includes/editor.php:7 includes/placeholders.php:352
685
- #: includes/preview.php:1962 strings.php:246
686
  msgid "Use"
687
  msgstr ""
688
 
@@ -691,7 +691,7 @@ msgid "Reset"
691
  msgstr ""
692
 
693
  #: includes/editor.php:9 includes/placeholders.php:354
694
- #: includes/preview.php:1965 settings.php:3501 strings.php:208 strings.php:245
695
  msgid "Cancel"
696
  msgstr ""
697
 
@@ -706,7 +706,7 @@ msgid ""
706
  "blockers."
707
  msgstr ""
708
 
709
- #: includes/editor.php:264 settings.php:259
710
  msgid "Error loading page"
711
  msgstr ""
712
 
@@ -782,7 +782,7 @@ msgid ""
782
  msgstr ""
783
 
784
  #: includes/functions-check-now.php:451 includes/functions.old.php:440
785
- #: includes/functions.php:442 settings.php:1310 settings.php:2712
786
  msgid "Open HTML element selector"
787
  msgstr ""
788
 
@@ -828,7 +828,7 @@ msgstr ""
828
 
829
  #: includes/functions-check-now.php:519 includes/functions-check-now.php:3035
830
  #: includes/functions.old.php:508 includes/functions.old.php:2960
831
- #: includes/functions.php:510 includes/functions.php:3010
832
  msgid "Toggle Statistics"
833
  msgstr ""
834
 
@@ -855,7 +855,7 @@ msgid "%s license overused. Continue?"
855
  msgstr ""
856
 
857
  #: includes/functions-check-now.php:555 includes/functions.old.php:536
858
- #: includes/functions.php:546 settings.php:1064 settings.php:2169
859
  msgid "Save Settings"
860
  msgstr ""
861
 
@@ -933,16 +933,16 @@ msgstr ""
933
  #: includes/functions-check-now.php:769 includes/functions-check-now.php:2528
934
  #: includes/functions-check-now.php:2545 includes/functions.old.php:750
935
  #: includes/functions.old.php:2453 includes/functions.old.php:2470
936
- #: includes/functions.php:760 includes/functions.php:2503
937
- #: includes/functions.php:2520
938
  msgid "Tracking is globally disabled"
939
  msgstr ""
940
 
941
  #: includes/functions-check-now.php:773 includes/functions-check-now.php:2532
942
  #: includes/functions-check-now.php:2549 includes/functions.old.php:754
943
  #: includes/functions.old.php:2457 includes/functions.old.php:2474
944
- #: includes/functions.php:764 includes/functions.php:2507
945
- #: includes/functions.php:2524
946
  msgid "Tracking for this block is disabled"
947
  msgstr ""
948
 
@@ -952,8 +952,8 @@ msgid "Double click to toggle controls in public reports"
952
  msgstr ""
953
 
954
  #: includes/functions-check-now.php:786 includes/functions.old.php:767
955
- #: includes/functions.php:777 settings.php:3436 settings.php:3472
956
- #: settings.php:3514 strings.php:218
957
  msgid "Loading..."
958
  msgstr ""
959
 
@@ -971,73 +971,73 @@ msgstr ""
971
 
972
  #: includes/functions-check-now.php:814 includes/functions-check-now.php:5389
973
  #: includes/functions.old.php:795 includes/functions.old.php:5262
974
- #: includes/functions.php:805 includes/functions.php:5364
975
  msgid "Load data for last month"
976
  msgstr ""
977
 
978
  #: includes/functions-check-now.php:814 includes/functions-check-now.php:5389
979
  #: includes/functions.old.php:795 includes/functions.old.php:5262
980
- #: includes/functions.php:805 includes/functions.php:5364
981
  msgid "Last Month"
982
  msgstr ""
983
 
984
  #: includes/functions-check-now.php:817 includes/functions-check-now.php:5392
985
  #: includes/functions.old.php:798 includes/functions.old.php:5265
986
- #: includes/functions.php:808 includes/functions.php:5367
987
  msgid "Load data for this month"
988
  msgstr ""
989
 
990
  #: includes/functions-check-now.php:817 includes/functions-check-now.php:5392
991
  #: includes/functions.old.php:798 includes/functions.old.php:5265
992
- #: includes/functions.php:808 includes/functions.php:5367
993
  msgid "This Month"
994
  msgstr ""
995
 
996
  #: includes/functions-check-now.php:820 includes/functions-check-now.php:5395
997
  #: includes/functions.old.php:801 includes/functions.old.php:5268
998
- #: includes/functions.php:811 includes/functions.php:5370
999
  msgid "Load data for this year"
1000
  msgstr ""
1001
 
1002
  #: includes/functions-check-now.php:820 includes/functions-check-now.php:5395
1003
  #: includes/functions.old.php:801 includes/functions.old.php:5268
1004
- #: includes/functions.php:811 includes/functions.php:5370
1005
  msgid "This Year"
1006
  msgstr ""
1007
 
1008
  #: includes/functions-check-now.php:823 includes/functions-check-now.php:5398
1009
  #: includes/functions.old.php:804 includes/functions.old.php:5271
1010
- #: includes/functions.php:814 includes/functions.php:5373
1011
  msgid "Load data for the last 15 days"
1012
  msgstr ""
1013
 
1014
  #: includes/functions-check-now.php:826 includes/functions-check-now.php:5401
1015
  #: includes/functions.old.php:807 includes/functions.old.php:5274
1016
- #: includes/functions.php:817 includes/functions.php:5376
1017
  msgid "Load data for the last 30 days"
1018
  msgstr ""
1019
 
1020
  #: includes/functions-check-now.php:829 includes/functions-check-now.php:5404
1021
  #: includes/functions.old.php:810 includes/functions.old.php:5277
1022
- #: includes/functions.php:820 includes/functions.php:5379
1023
  msgid "Load data for the last 90 days"
1024
  msgstr ""
1025
 
1026
  #: includes/functions-check-now.php:832 includes/functions-check-now.php:5407
1027
  #: includes/functions.old.php:813 includes/functions.old.php:5280
1028
- #: includes/functions.php:823 includes/functions.php:5382
1029
  msgid "Load data for the last 180 days"
1030
  msgstr ""
1031
 
1032
  #: includes/functions-check-now.php:835 includes/functions-check-now.php:5410
1033
  #: includes/functions.old.php:816 includes/functions.old.php:5283
1034
- #: includes/functions.php:826 includes/functions.php:5385
1035
  msgid "Load data for the last 365 days"
1036
  msgstr ""
1037
 
1038
  #: includes/functions-check-now.php:845 includes/functions-check-now.php:5420
1039
  #: includes/functions.old.php:826 includes/functions.old.php:5293
1040
- #: includes/functions.php:836 includes/functions.php:5395
1041
  msgid "Load data for the selected range"
1042
  msgstr ""
1043
 
@@ -1130,7 +1130,7 @@ msgstr ""
1130
 
1131
  #: includes/functions-check-now.php:957 includes/functions-check-now.php:3000
1132
  #: includes/functions.old.php:938 includes/functions.old.php:2925
1133
- #: includes/functions.php:948 includes/functions.php:2975
1134
  msgid "Toggle country editor"
1135
  msgstr ""
1136
 
@@ -1141,7 +1141,7 @@ msgstr ""
1141
 
1142
  #: includes/functions-check-now.php:964 includes/functions-check-now.php:3003
1143
  #: includes/functions.old.php:945 includes/functions.old.php:2928
1144
- #: includes/functions.php:955 includes/functions.php:2978
1145
  msgid "Comma separated country ISO Alpha-2 codes"
1146
  msgstr ""
1147
 
@@ -1157,7 +1157,7 @@ msgstr ""
1157
 
1158
  #: includes/functions-check-now.php:1382 includes/functions-check-now.php:1681
1159
  #: includes/functions.old.php:1361 includes/functions.old.php:1608
1160
- #: includes/functions.php:1373 includes/functions.php:1656
1161
  msgid "Enter license key"
1162
  msgstr ""
1163
 
@@ -1186,7 +1186,7 @@ msgstr ""
1186
 
1187
  #: includes/functions-check-now.php:1411 includes/functions-check-now.php:1690
1188
  #: includes/functions.old.php:1379 includes/functions.old.php:1617
1189
- #: includes/functions.php:1402 includes/functions.php:1665
1190
  msgid "Check license key"
1191
  msgstr ""
1192
 
@@ -1225,7 +1225,7 @@ msgstr ""
1225
 
1226
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1227
  #: includes/functions-check-now.php:1683 includes/functions.old.php:1610
1228
- #: includes/functions.php:1658
1229
  msgid ""
1230
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1231
  "limited and updates are disabled."
@@ -1233,13 +1233,13 @@ msgstr ""
1233
 
1234
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1235
  #: includes/functions-check-now.php:1692 includes/functions.old.php:1619
1236
- #: includes/functions.php:1667
1237
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1238
  msgstr ""
1239
 
1240
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1241
  #: includes/functions-check-now.php:1708 includes/functions.old.php:1635
1242
- #: includes/functions.php:1683
1243
  msgid ""
1244
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1245
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
@@ -1247,25 +1247,25 @@ msgstr ""
1247
 
1248
  #. translators: 1, 3: HTML tags, 2: percentage
1249
  #: includes/functions-check-now.php:1715 includes/functions.old.php:1642
1250
- #: includes/functions.php:1690
1251
  msgid ""
1252
  "During the license period and 30 days after the license has expired we offer "
1253
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1254
  msgstr ""
1255
 
1256
  #: includes/functions-check-now.php:1742 includes/functions.old.php:1669
1257
- #: includes/functions.php:1717
1258
  msgid "Renew the licence"
1259
  msgstr ""
1260
 
1261
  #: includes/functions-check-now.php:1744 includes/functions.old.php:1671
1262
- #: includes/functions.php:1719
1263
  msgid "Update license status"
1264
  msgstr ""
1265
 
1266
  #. translators: 1, 2, 4, 5, 6, 7: HTML tags, 3: Ad Inserter Pro
1267
  #: includes/functions-check-now.php:1755 includes/functions.old.php:1682
1268
- #: includes/functions.php:1730
1269
  msgid ""
1270
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1271
  "Manage licenses %5$s &mdash; %6$s Upgrade license %7$s"
@@ -1273,121 +1273,121 @@ msgstr ""
1273
 
1274
  #. Translators: %s: HTML tag
1275
  #: includes/functions-check-now.php:1777 includes/functions.old.php:1704
1276
- #: includes/functions.php:1752
1277
  msgid "Warning: %s MaxMind IP geolocation database not found."
1278
  msgstr ""
1279
 
1280
  #: includes/functions-check-now.php:2330 includes/functions.old.php:2255
1281
- #: includes/functions.php:2305
1282
  msgid "Geolocation"
1283
  msgstr ""
1284
 
1285
  #: includes/functions-check-now.php:2334 includes/functions.old.php:2259
1286
- #: includes/functions.php:2309 settings.php:4093
1287
  msgid "Exceptions"
1288
  msgstr ""
1289
 
1290
  #: includes/functions-check-now.php:2339 includes/functions.old.php:2264
1291
- #: includes/functions.php:2314
1292
  msgid "Multisite"
1293
  msgstr ""
1294
 
1295
  #: includes/functions-check-now.php:2344 includes/functions.old.php:2269
1296
- #: includes/functions.php:2319 settings.php:4099
1297
  msgid "Tracking"
1298
  msgstr ""
1299
 
1300
  #. translators: %d: days, hours, minutes
1301
  #: includes/functions-check-now.php:2375 includes/functions.old.php:2300
1302
- #: includes/functions.php:2350
1303
  msgid "Scheduled in %d days %d hours %d minutes"
1304
  msgstr ""
1305
 
1306
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1307
  #. HTML code for long dash separator
1308
  #: includes/functions-check-now.php:2384 includes/functions.old.php:2309
1309
- #: includes/functions.php:2359
1310
  msgid "Active %s expires in %d days %d hours %d minutes"
1311
  msgstr ""
1312
 
1313
  #: includes/functions-check-now.php:2388 includes/functions.old.php:2313
1314
- #: includes/functions.php:2363
1315
  msgid "Expired"
1316
  msgstr ""
1317
 
1318
  #: includes/functions-check-now.php:2396 includes/functions.old.php:2321
1319
- #: includes/functions.php:2371 settings.php:1393 settings.php:1408
1320
- #: settings.php:1498 settings.php:2084
1321
  msgid "and"
1322
  msgstr ""
1323
 
1324
  #: includes/functions-check-now.php:2399 includes/functions.old.php:2324
1325
- #: includes/functions.php:2374
1326
  msgid "fallback"
1327
  msgstr ""
1328
 
1329
  #: includes/functions-check-now.php:2400 includes/functions.old.php:2325
1330
- #: includes/functions.php:2375
1331
  msgid "Block to be used when scheduling expires"
1332
  msgstr ""
1333
 
1334
  #: includes/functions-check-now.php:2425 includes/functions.old.php:2350
1335
- #: includes/functions.php:2400
1336
  msgid "Load in iframe"
1337
  msgstr ""
1338
 
1339
  #: includes/functions-check-now.php:2429 includes/functions.old.php:2354
1340
- #: includes/functions.php:2404 includes/placeholders.php:389
1341
  msgid "Width"
1342
  msgstr ""
1343
 
1344
  #: includes/functions-check-now.php:2430 includes/functions.old.php:2355
1345
- #: includes/functions.php:2405
1346
  msgid "iframe width, empty means full width (100%)"
1347
  msgstr ""
1348
 
1349
  #: includes/functions-check-now.php:2436 includes/functions.old.php:2361
1350
- #: includes/functions.php:2411 includes/placeholders.php:384
1351
  msgid "Height"
1352
  msgstr ""
1353
 
1354
  #: includes/functions-check-now.php:2437 includes/functions.old.php:2362
1355
- #: includes/functions.php:2412
1356
  msgid "iframe height, empty means adjust it to iframe content height"
1357
  msgstr ""
1358
 
1359
  #: includes/functions-check-now.php:2444 includes/functions.old.php:2369
1360
- #: includes/functions.php:2419
1361
  msgid "Ad label in iframe"
1362
  msgstr ""
1363
 
1364
  #: includes/functions-check-now.php:2449 includes/functions.old.php:2374
1365
- #: includes/functions.php:2424
1366
  msgid "Preview iframe code"
1367
  msgstr ""
1368
 
1369
  #: includes/functions-check-now.php:2449 includes/functions.old.php:2374
1370
- #: includes/functions.php:2424 includes/preview.php:1974 settings.php:1059
1371
- #: settings.php:2774
1372
  msgid "Preview"
1373
  msgstr ""
1374
 
1375
  #: includes/functions-check-now.php:2463 includes/functions.old.php:2388
1376
- #: includes/functions.php:2438 settings.php:4100
1377
  msgid "Limits"
1378
  msgstr ""
1379
 
1380
  #: includes/functions-check-now.php:2468 includes/functions-check-now.php:4366
1381
  #: includes/functions-check-now.php:4429 includes/functions.old.php:2393
1382
  #: includes/functions.old.php:4266 includes/functions.old.php:4329
1383
- #: includes/functions.php:2443 includes/functions.php:4341
1384
- #: includes/functions.php:4404 settings.php:2216
1385
  msgid "Ad Blocking"
1386
  msgstr ""
1387
 
1388
  #. translators: 1, 2 and 3, 4: HTML tags
1389
  #: includes/functions-check-now.php:2477 includes/functions.old.php:2402
1390
- #: includes/functions.php:2452
1391
  msgid ""
1392
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1393
  "for tracking!"
@@ -1396,25 +1396,25 @@ msgstr ""
1396
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1397
  #. header
1398
  #: includes/functions-check-now.php:2486 includes/functions.old.php:2411
1399
- #: includes/functions.php:2461
1400
  msgid ""
1401
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1402
  "enabled and automatic insertion %6$s!"
1403
  msgstr ""
1404
 
1405
  #: includes/functions-check-now.php:2553 includes/functions.old.php:2478
1406
- #: includes/functions.php:2528
1407
  msgid "Click fraud protection is globally disabled"
1408
  msgstr ""
1409
 
1410
  #: includes/functions-check-now.php:2557 includes/functions.old.php:2482
1411
- #: includes/functions.php:2532
1412
  msgid "Max clicks per time period are not defined"
1413
  msgstr ""
1414
 
1415
  #. Translators: Max n impressions
1416
  #: includes/functions-check-now.php:2571 includes/functions.old.php:2496
1417
- #: includes/functions.php:2546
1418
  msgid "General limits"
1419
  msgstr ""
1420
 
@@ -1422,8 +1422,8 @@ msgstr ""
1422
  #: includes/functions-check-now.php:2577 includes/functions-check-now.php:2589
1423
  #: includes/functions-check-now.php:2674 includes/functions.old.php:2502
1424
  #: includes/functions.old.php:2514 includes/functions.old.php:2599
1425
- #: includes/functions.php:2552 includes/functions.php:2564
1426
- #: includes/functions.php:2649
1427
  msgid "Current value"
1428
  msgstr ""
1429
 
@@ -1443,15 +1443,15 @@ msgstr ""
1443
  #: includes/functions.old.php:2550 includes/functions.old.php:2560
1444
  #: includes/functions.old.php:2606 includes/functions.old.php:2615
1445
  #: includes/functions.old.php:2633 includes/functions.old.php:2642
1446
- #: includes/functions.php:2571 includes/functions.php:2581
1447
- #: includes/functions.php:2600 includes/functions.php:2610
1448
- #: includes/functions.php:2656 includes/functions.php:2665
1449
- #: includes/functions.php:2683 includes/functions.php:2692 settings.php:2005
1450
  msgid "Max"
1451
  msgstr ""
1452
 
1453
  #: includes/functions-check-now.php:2597 includes/functions.old.php:2522
1454
- #: includes/functions.php:2572
1455
  msgid ""
1456
  "Maximum number of impressions for this block. Empty means no general "
1457
  "impression limit."
@@ -1465,15 +1465,15 @@ msgstr ""
1465
  #: includes/functions-check-now.php:2684 includes/functions-check-now.php:2693
1466
  #: includes/functions.old.php:2524 includes/functions.old.php:2534
1467
  #: includes/functions.old.php:2609 includes/functions.old.php:2618
1468
- #: includes/functions.php:2574 includes/functions.php:2584
1469
- #: includes/functions.php:2659 includes/functions.php:2668
1470
  msgid "impression"
1471
  msgid_plural "impressions"
1472
  msgstr[0] ""
1473
  msgstr[1] ""
1474
 
1475
  #: includes/functions-check-now.php:2607 includes/functions.old.php:2532
1476
- #: includes/functions.php:2582
1477
  msgid ""
1478
  "Maximum number of impressions per time period. Empty means no time limit."
1479
  msgstr ""
@@ -1486,14 +1486,14 @@ msgstr ""
1486
  #: includes/functions-check-now.php:2697 includes/functions-check-now.php:2724
1487
  #: includes/functions.old.php:2538 includes/functions.old.php:2567
1488
  #: includes/functions.old.php:2622 includes/functions.old.php:2649
1489
- #: includes/functions.php:2588 includes/functions.php:2617
1490
- #: includes/functions.php:2672 includes/functions.php:2699
1491
  msgid "per"
1492
  msgstr ""
1493
 
1494
  #: includes/functions-check-now.php:2614 includes/functions-check-now.php:2643
1495
  #: includes/functions.old.php:2539 includes/functions.old.php:2568
1496
- #: includes/functions.php:2589 includes/functions.php:2618
1497
  msgid "Time period in days. Empty means no time limit."
1498
  msgstr ""
1499
 
@@ -1508,18 +1508,18 @@ msgstr ""
1508
  #: includes/functions.old.php:2541 includes/functions.old.php:2570
1509
  #: includes/functions.old.php:2625 includes/functions.old.php:2652
1510
  #: includes/functions.old.php:2758 includes/functions.old.php:3086
1511
- #: includes/functions.php:2591 includes/functions.php:2620
1512
- #: includes/functions.php:2675 includes/functions.php:2702
1513
- #: includes/functions.php:2808 includes/functions.php:3136 strings.php:199
1514
- #: strings.php:200 strings.php:201 strings.php:202 strings.php:203
1515
- #: strings.php:204
1516
  msgid "day"
1517
  msgid_plural "days"
1518
  msgstr[0] ""
1519
  msgstr[1] ""
1520
 
1521
  #: includes/functions-check-now.php:2626 includes/functions.old.php:2551
1522
- #: includes/functions.php:2601
1523
  msgid ""
1524
  "Maximum number of clicks on this block. Empty means no general click limit."
1525
  msgstr ""
@@ -1533,27 +1533,27 @@ msgstr ""
1533
  #: includes/functions-check-now.php:4577 includes/functions.old.php:2553
1534
  #: includes/functions.old.php:2563 includes/functions.old.php:2636
1535
  #: includes/functions.old.php:2645 includes/functions.old.php:4477
1536
- #: includes/functions.php:2603 includes/functions.php:2613
1537
- #: includes/functions.php:2686 includes/functions.php:2695
1538
- #: includes/functions.php:4552
1539
  msgid "click"
1540
  msgid_plural "clicks"
1541
  msgstr[0] ""
1542
  msgstr[1] ""
1543
 
1544
  #: includes/functions-check-now.php:2636 includes/functions.old.php:2561
1545
- #: includes/functions.php:2611
1546
  msgid "Maximum number of clicks per time period. Empty means no time limit."
1547
  msgstr ""
1548
 
1549
  #: includes/functions-check-now.php:2661 includes/functions.old.php:2586
1550
- #: includes/functions.php:2636
1551
  msgid "Individual visitor limits"
1552
  msgstr ""
1553
 
1554
  #: includes/functions-check-now.php:2665 includes/functions-check-now.php:2667
1555
  #: includes/functions.old.php:2590 includes/functions.old.php:2592
1556
- #: includes/functions.php:2640 includes/functions.php:2642
1557
  msgid ""
1558
  "When specified number of clicks on this block for a visitor will be reached "
1559
  "in the specified time period, all blocks that have click fraud protection "
@@ -1562,19 +1562,19 @@ msgid ""
1562
  msgstr ""
1563
 
1564
  #: includes/functions-check-now.php:2667 includes/functions.old.php:2592
1565
- #: includes/functions.php:2642
1566
  msgid "Trigger click fraud protection"
1567
  msgstr ""
1568
 
1569
  #: includes/functions-check-now.php:2682 includes/functions.old.php:2607
1570
- #: includes/functions.php:2657
1571
  msgid ""
1572
  "Maximum number of impressions of this block for each visitor. Empty means no "
1573
  "impression limit."
1574
  msgstr ""
1575
 
1576
  #: includes/functions-check-now.php:2691 includes/functions.old.php:2616
1577
- #: includes/functions.php:2666
1578
  msgid ""
1579
  "Maximum number of impressions per time period for each visitor. Empty means "
1580
  "no impression limit per time period for visitors."
@@ -1582,60 +1582,60 @@ msgstr ""
1582
 
1583
  #: includes/functions-check-now.php:2698 includes/functions-check-now.php:2725
1584
  #: includes/functions.old.php:2623 includes/functions.old.php:2650
1585
- #: includes/functions.php:2673 includes/functions.php:2700
1586
  msgid ""
1587
  "Time period in days. Use decimal value (with decimal point) for shorter "
1588
  "periods. Empty means no time limit."
1589
  msgstr ""
1590
 
1591
  #: includes/functions-check-now.php:2709 includes/functions.old.php:2634
1592
- #: includes/functions.php:2684
1593
  msgid ""
1594
  "Maximum number of clicks on this block for each visitor. Empty means no "
1595
  "click limit."
1596
  msgstr ""
1597
 
1598
  #: includes/functions-check-now.php:2718 includes/functions.old.php:2643
1599
- #: includes/functions.php:2693
1600
  msgid ""
1601
  "Maximum number of clicks per time period for each visitor. Empty means no "
1602
  "click limit per time period for visitors."
1603
  msgstr ""
1604
 
1605
  #: includes/functions-check-now.php:2744 includes/functions.old.php:2669
1606
- #: includes/functions.php:2719
1607
  msgid "When ad blocking is detected"
1608
  msgstr ""
1609
 
1610
  #: includes/functions-check-now.php:2753 includes/functions.old.php:2678
1611
- #: includes/functions.php:2728
1612
  msgid "replacement"
1613
  msgstr ""
1614
 
1615
  #: includes/functions-check-now.php:2754 includes/functions.old.php:2679
1616
- #: includes/functions.php:2729
1617
  msgid "Block to be shown when ad blocking is detected"
1618
  msgstr ""
1619
 
1620
  #: includes/functions-check-now.php:2755 includes/functions.old.php:2680
1621
- #: includes/functions.php:2730
1622
  msgctxt "replacement"
1623
  msgid "None"
1624
  msgstr ""
1625
 
1626
  #: includes/functions-check-now.php:2772 includes/functions-check-now.php:5612
1627
  #: includes/functions.old.php:2697 includes/functions.old.php:5484
1628
- #: includes/functions.php:2747 includes/functions.php:5587
1629
  msgid "Close button"
1630
  msgstr ""
1631
 
1632
  #: includes/functions-check-now.php:2824 includes/functions.old.php:2749
1633
- #: includes/functions.php:2799
1634
  msgid "Auto close after"
1635
  msgstr ""
1636
 
1637
  #: includes/functions-check-now.php:2825 includes/functions.old.php:2750
1638
- #: includes/functions.php:2800
1639
  msgid ""
1640
  "Time in seconds in which the ad will automatically close. Leave empty to "
1641
  "disable auto closing."
@@ -1643,12 +1643,12 @@ msgstr ""
1643
 
1644
  #. Translators: Don't show for x days
1645
  #: includes/functions-check-now.php:2830 includes/functions.old.php:2755
1646
- #: includes/functions.php:2805
1647
  msgid "Don't show for"
1648
  msgstr ""
1649
 
1650
  #: includes/functions-check-now.php:2831 includes/functions.old.php:2756
1651
- #: includes/functions.php:2806
1652
  msgid ""
1653
  "Time in days in which closed ad will not be shown again. Use decimal value "
1654
  "(with decimal point) for shorter time period or leave empty to show it again "
@@ -1657,12 +1657,12 @@ msgstr ""
1657
 
1658
  #. Translators: Delay showing for x pageviews
1659
  #: includes/functions-check-now.php:2851 includes/functions.old.php:2776
1660
- #: includes/functions.php:2826
1661
  msgid "Delay showing for"
1662
  msgstr ""
1663
 
1664
  #: includes/functions-check-now.php:2852 includes/functions.old.php:2777
1665
- #: includes/functions.php:2827
1666
  msgid ""
1667
  "Number of pageviews before the code is inserted (and ad displayed). Leave "
1668
  "empty to insert the code for the first pageview."
@@ -1672,7 +1672,7 @@ msgstr ""
1672
  #. Translators: Show every x pageviews
1673
  #: includes/functions-check-now.php:2854 includes/functions-check-now.php:2861
1674
  #: includes/functions.old.php:2779 includes/functions.old.php:2786
1675
- #: includes/functions.php:2829 includes/functions.php:2836
1676
  msgid "pageview"
1677
  msgid_plural "pageviews"
1678
  msgstr[0] ""
@@ -1680,59 +1680,59 @@ msgstr[1] ""
1680
 
1681
  #. Translators: Show every x pageviews
1682
  #: includes/functions-check-now.php:2858 includes/functions.old.php:2783
1683
- #: includes/functions.php:2833
1684
  msgid "Show every"
1685
  msgid_plural "Show every"
1686
  msgstr[0] ""
1687
  msgstr[1] ""
1688
 
1689
  #: includes/functions-check-now.php:2859 includes/functions.old.php:2784
1690
- #: includes/functions.php:2834
1691
  msgid ""
1692
  "Number of pageviews to insert the code again. Leave empty to insert the code "
1693
  "for every pageview."
1694
  msgstr ""
1695
 
1696
  #: includes/functions-check-now.php:2878 includes/functions.old.php:2803
1697
- #: includes/functions.php:2853
1698
  msgid "Lazy loading"
1699
  msgstr ""
1700
 
1701
  #. Translators: %s MaxMind
1702
  #: includes/functions-check-now.php:2935 includes/functions.old.php:2860
1703
- #: includes/functions.php:2910
1704
  msgid "This product includes GeoLite2 data created by %s"
1705
  msgstr ""
1706
 
1707
  #: includes/functions-check-now.php:2946 includes/functions.old.php:2871
1708
- #: includes/functions.php:2921
1709
  msgid "IP geolocation database"
1710
  msgstr ""
1711
 
1712
  #: includes/functions-check-now.php:2949 includes/functions.old.php:2874
1713
- #: includes/functions.php:2924
1714
  msgid "Select IP geolocation database."
1715
  msgstr ""
1716
 
1717
  #: includes/functions-check-now.php:2960 includes/functions.old.php:2885
1718
- #: includes/functions.php:2935
1719
  msgid "Automatic database updates"
1720
  msgstr ""
1721
 
1722
  #: includes/functions-check-now.php:2963 includes/functions.old.php:2888
1723
- #: includes/functions.php:2938
1724
  msgid ""
1725
  "Automatically download and update free GeoLite2 IP geolocation database by "
1726
  "MaxMind"
1727
  msgstr ""
1728
 
1729
  #: includes/functions-check-now.php:2971 includes/functions.old.php:2896
1730
- #: includes/functions.php:2946
1731
  msgid "Database"
1732
  msgstr ""
1733
 
1734
  #: includes/functions-check-now.php:2974 includes/functions.old.php:2899
1735
- #: includes/functions.php:2949
1736
  msgid ""
1737
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1738
  "file"
@@ -1740,121 +1740,121 @@ msgstr ""
1740
 
1741
  #. translators: %d: group number
1742
  #: includes/functions-check-now.php:2992 includes/functions.old.php:2917
1743
- #: includes/functions.php:2967
1744
  msgid "Group %d"
1745
  msgstr ""
1746
 
1747
  #: includes/functions-check-now.php:2998 includes/functions.old.php:2923
1748
- #: includes/functions.php:2973
1749
  msgid "countries"
1750
  msgstr ""
1751
 
1752
  #: includes/functions-check-now.php:3043 includes/functions.old.php:2968
1753
- #: includes/functions.php:3018
1754
  msgid ""
1755
  "Enable impression and click tracking. You also need to enable tracking for "
1756
  "each block you want to track."
1757
  msgstr ""
1758
 
1759
  #: includes/functions-check-now.php:3050 includes/functions.old.php:2975
1760
- #: includes/functions.php:3025
1761
  msgid "Generate report"
1762
  msgstr ""
1763
 
1764
  #: includes/functions-check-now.php:3058 includes/functions.old.php:2983
1765
- #: includes/functions.php:3033
1766
  msgid "Impression and Click Tracking"
1767
  msgstr ""
1768
 
1769
  #: includes/functions-check-now.php:3059 includes/functions.old.php:2984
1770
- #: includes/functions.php:3034 settings.php:2662
1771
  msgctxt "ad blocking detection"
1772
  msgid "NOT ENABLED"
1773
  msgstr ""
1774
 
1775
  #: includes/functions-check-now.php:3075 includes/functions.old.php:3000
1776
- #: includes/functions.php:3050
1777
  msgid "Internal"
1778
  msgstr ""
1779
 
1780
  #: includes/functions-check-now.php:3079 includes/functions.old.php:3004
1781
- #: includes/functions.php:3054
1782
  msgid "Track impressions and clicks with internal tracking and statistics"
1783
  msgstr ""
1784
 
1785
  #: includes/functions-check-now.php:3084 includes/functions.old.php:3009
1786
- #: includes/functions.php:3059
1787
  msgid "External"
1788
  msgstr ""
1789
 
1790
  #: includes/functions-check-now.php:3088 includes/functions.old.php:3013
1791
- #: includes/functions.php:3063
1792
  msgid ""
1793
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1794
  "code installed)"
1795
  msgstr ""
1796
 
1797
  #: includes/functions-check-now.php:3093 includes/functions.old.php:3018
1798
- #: includes/functions.php:3068
1799
  msgid "Track Pageviews"
1800
  msgstr ""
1801
 
1802
  #: includes/functions-check-now.php:3099 includes/functions.old.php:3024
1803
- #: includes/functions.php:3074
1804
  msgid "Track Pageviews by Device (as configured for viewports)"
1805
  msgstr ""
1806
 
1807
  #: includes/functions-check-now.php:3109 includes/functions.old.php:3034
1808
- #: includes/functions.php:3084
1809
  msgid "Track for Logged in Users"
1810
  msgstr ""
1811
 
1812
  #: includes/functions-check-now.php:3115 includes/functions.old.php:3040
1813
- #: includes/functions.php:3090
1814
  msgid "Track impressions and clicks from logged in users"
1815
  msgstr ""
1816
 
1817
  #: includes/functions-check-now.php:3125 includes/functions.old.php:3050
1818
- #: includes/functions.php:3100
1819
  msgid "Click Detection"
1820
  msgstr ""
1821
 
1822
  #: includes/functions-check-now.php:3131 includes/functions.old.php:3056
1823
- #: includes/functions.php:3106
1824
  msgid ""
1825
  "Standard method detects clicks only on banners with links, Advanced method "
1826
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1827
  msgstr ""
1828
 
1829
  #: includes/functions-check-now.php:3150 includes/functions.old.php:3075
1830
- #: includes/functions.php:3125
1831
  msgid "Click fraud protection"
1832
  msgstr ""
1833
 
1834
  #: includes/functions-check-now.php:3154 includes/functions.old.php:3079
1835
- #: includes/functions.php:3129
1836
  msgid "Globally enable click fraud protection for selected blocks."
1837
  msgstr ""
1838
 
1839
  #: includes/functions-check-now.php:3160 includes/functions.old.php:3085
1840
- #: includes/functions.php:3135
1841
  msgid "Protection time"
1842
  msgstr ""
1843
 
1844
  #: includes/functions-check-now.php:3161 includes/functions.old.php:3086
1845
- #: includes/functions.php:3136
1846
  msgid ""
1847
  "Time period in days in which blocks with enabled click fraud protection will "
1848
  "be hidden. Use decimal value (with decimal point) for shorter periods."
1849
  msgstr ""
1850
 
1851
  #: includes/functions-check-now.php:3180 includes/functions.old.php:3105
1852
- #: includes/functions.php:3155
1853
  msgid "Report header image"
1854
  msgstr ""
1855
 
1856
  #: includes/functions-check-now.php:3183 includes/functions.old.php:3108
1857
- #: includes/functions.php:3158
1858
  msgid ""
1859
  "Image or logo to be displayed in the header of the statistins report. "
1860
  "Aabsolute path starting with '/' or relative path to the image file. Clear "
@@ -1862,177 +1862,177 @@ msgid ""
1862
  msgstr ""
1863
 
1864
  #: includes/functions-check-now.php:3184 includes/functions.old.php:3109
1865
- #: includes/functions.php:3159 strings.php:230
1866
  msgid "Select or upload header image"
1867
  msgstr ""
1868
 
1869
  #: includes/functions-check-now.php:3189 includes/functions.old.php:3114
1870
- #: includes/functions.php:3164
1871
  msgid "Report header title"
1872
  msgstr ""
1873
 
1874
  #: includes/functions-check-now.php:3192 includes/functions.old.php:3117
1875
- #: includes/functions.php:3167
1876
  msgid ""
1877
  "Title to be displayed in the header of the statistics report. Text or HTML "
1878
  "code, clear to reset to default text."
1879
  msgstr ""
1880
 
1881
  #: includes/functions-check-now.php:3197 includes/functions.old.php:3122
1882
- #: includes/functions.php:3172
1883
  msgid "Report header description"
1884
  msgstr ""
1885
 
1886
  #: includes/functions-check-now.php:3200 includes/functions.old.php:3125
1887
- #: includes/functions.php:3175
1888
  msgid ""
1889
  "Description to be displayed in the header of the statistics report. Text or "
1890
  "HTML code, clear to reset to default text."
1891
  msgstr ""
1892
 
1893
  #: includes/functions-check-now.php:3205 includes/functions.old.php:3130
1894
- #: includes/functions.php:3180
1895
  msgid "Report footer"
1896
  msgstr ""
1897
 
1898
  #: includes/functions-check-now.php:3208 includes/functions.old.php:3133
1899
- #: includes/functions.php:3183
1900
  msgid ""
1901
  "Text to be displayed in the footer of the statistics report. Clear to reset "
1902
  "to default text."
1903
  msgstr ""
1904
 
1905
  #: includes/functions-check-now.php:3213 includes/functions.old.php:3138
1906
- #: includes/functions.php:3188
1907
  msgid "Public report key"
1908
  msgstr ""
1909
 
1910
  #: includes/functions-check-now.php:3216 includes/functions.old.php:3141
1911
- #: includes/functions.php:3191
1912
  msgid "String to generate unique report IDs. Clear to reset to default value."
1913
  msgstr ""
1914
 
1915
  #: includes/functions-check-now.php:3248 includes/functions.old.php:3173
1916
- #: includes/functions.php:3223
1917
  msgid "Are you sure you want to clear all exceptions for block"
1918
  msgstr ""
1919
 
1920
  #: includes/functions-check-now.php:3249 includes/functions.old.php:3174
1921
- #: includes/functions.php:3224 settings.php:1162
1922
  msgid "Clear all exceptions for block"
1923
  msgstr ""
1924
 
1925
  #: includes/functions-check-now.php:3256 includes/functions.old.php:3181
1926
- #: includes/functions.php:3231
1927
  msgid "Are you sure you want to clear all exceptions?"
1928
  msgstr ""
1929
 
1930
  #: includes/functions-check-now.php:3256 includes/functions.old.php:3181
1931
- #: includes/functions.php:3231
1932
  msgid "Clear all exceptions for all blocks"
1933
  msgstr ""
1934
 
1935
  #: includes/functions-check-now.php:3261 includes/functions.old.php:3186
1936
- #: includes/functions.php:3236 settings.php:3745 settings.php:4176
1937
  msgid "Type"
1938
  msgstr ""
1939
 
1940
  #: includes/functions-check-now.php:3279 includes/functions.old.php:3204
1941
- #: includes/functions.php:3254
1942
  msgid "View"
1943
  msgstr ""
1944
 
1945
  #: includes/functions-check-now.php:3280 includes/functions-check-now.php:3287
1946
  #: includes/functions-check-now.php:3291 includes/functions.old.php:3205
1947
  #: includes/functions.old.php:3212 includes/functions.old.php:3216
1948
- #: includes/functions.php:3255 includes/functions.php:3262
1949
- #: includes/functions.php:3266 includes/placeholders.php:353
1950
- #: includes/preview.php:2281 settings.php:1296 settings.php:3505
1951
  msgid "Edit"
1952
  msgstr ""
1953
 
1954
  #: includes/functions-check-now.php:3310 includes/functions.old.php:3235
1955
- #: includes/functions.php:3285
1956
  msgid "Are you sure you want to clear all exceptions for"
1957
  msgstr ""
1958
 
1959
  #: includes/functions-check-now.php:3311 includes/functions.old.php:3236
1960
- #: includes/functions.php:3286
1961
  msgid "Clear all exceptions for"
1962
  msgstr ""
1963
 
1964
  #: includes/functions-check-now.php:3324 includes/functions.old.php:3249
1965
- #: includes/functions.php:3299
1966
  msgid "No exceptions"
1967
  msgstr ""
1968
 
1969
  #. translators: %s: Ad Inserter Pro
1970
  #: includes/functions-check-now.php:3335 includes/functions.old.php:3260
1971
- #: includes/functions.php:3310
1972
  msgid "%s options for network blogs"
1973
  msgstr ""
1974
 
1975
  #. translators: %s: Ad Inserter Pro
1976
  #: includes/functions-check-now.php:3340 includes/functions.old.php:3265
1977
- #: includes/functions.php:3315
1978
  msgid "Enable %s widgets for sub-sites"
1979
  msgstr ""
1980
 
1981
  #: includes/functions-check-now.php:3340 includes/functions.old.php:3265
1982
- #: includes/functions.php:3315
1983
  msgid "Widgets"
1984
  msgstr ""
1985
 
1986
  #: includes/functions-check-now.php:3345 includes/functions.old.php:3270
1987
- #: includes/functions.php:3320
1988
  msgid "Enable PHP code processing for sub-sites"
1989
  msgstr ""
1990
 
1991
  #: includes/functions-check-now.php:3345 includes/functions.old.php:3270
1992
- #: includes/functions.php:3320
1993
  msgid "PHP Processing"
1994
  msgstr ""
1995
 
1996
  #. translators: %s: Ad Inserter Pro
1997
  #: includes/functions-check-now.php:3350 includes/functions.old.php:3275
1998
- #: includes/functions.php:3325
1999
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
2000
  msgstr ""
2001
 
2002
  #: includes/functions-check-now.php:3350 includes/functions.old.php:3275
2003
- #: includes/functions.php:3325
2004
  msgid "Post/Page exceptions"
2005
  msgstr ""
2006
 
2007
  #. translators: %s: Ad Inserter Pro
2008
  #: includes/functions-check-now.php:3355 includes/functions.old.php:3280
2009
- #: includes/functions.php:3330
2010
  msgid "Enable %s settings page for sub-sites"
2011
  msgstr ""
2012
 
2013
  #: includes/functions-check-now.php:3355 includes/functions.old.php:3280
2014
- #: includes/functions.php:3330
2015
  msgid "Settings page"
2016
  msgstr ""
2017
 
2018
  #. translators: %s: Ad Inserter Pro
2019
  #: includes/functions-check-now.php:3360 includes/functions.old.php:3285
2020
- #: includes/functions.php:3335
2021
  msgid "Enable %s settings of main site to be used for all blogs"
2022
  msgstr ""
2023
 
2024
  #: includes/functions-check-now.php:3360 includes/functions.old.php:3285
2025
- #: includes/functions.php:3335
2026
  msgid "Main site settings used for all blogs"
2027
  msgstr ""
2028
 
2029
  #: includes/functions-check-now.php:3371 includes/functions.old.php:3296
2030
- #: includes/functions.php:3346 settings.php:2661
2031
  msgid "Ad Blocking Detection"
2032
  msgstr ""
2033
 
2034
  #: includes/functions-check-now.php:3377 includes/functions.old.php:3302
2035
- #: includes/functions.php:3352
2036
  msgid ""
2037
  "Standard method is reliable but should be used only if Advanced method does "
2038
  "not work. Advanced method recreates files used for detection with random "
@@ -2043,8 +2043,8 @@ msgstr ""
2043
  #: includes/functions-check-now.php:4029 includes/functions-check-now.php:4119
2044
  #: includes/functions-check-now.php:4139 includes/functions.old.php:3929
2045
  #: includes/functions.old.php:4019 includes/functions.old.php:4039
2046
- #: includes/functions.php:4004 includes/functions.php:4094
2047
- #: includes/functions.php:4114
2048
  msgid "AD BLOCKING"
2049
  msgstr ""
2050
 
@@ -2052,119 +2052,119 @@ msgstr ""
2052
  #: includes/functions-check-now.php:4113 includes/functions-check-now.php:4140
2053
  #: includes/functions.old.php:3930 includes/functions.old.php:3970
2054
  #: includes/functions.old.php:4013 includes/functions.old.php:4040
2055
- #: includes/functions.php:4005 includes/functions.php:4045
2056
- #: includes/functions.php:4088 includes/functions.php:4115
2057
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
2058
  msgstr ""
2059
 
2060
  #: includes/functions-check-now.php:4033 includes/functions-check-now.php:4112
2061
  #: includes/functions-check-now.php:4146 includes/functions.old.php:3933
2062
  #: includes/functions.old.php:4012 includes/functions.old.php:4046
2063
- #: includes/functions.php:4008 includes/functions.php:4087
2064
- #: includes/functions.php:4121
2065
  msgid "NO AD BLOCKING"
2066
  msgstr ""
2067
 
2068
  #: includes/functions-check-now.php:4069 includes/functions-check-now.php:4076
2069
  #: includes/functions.old.php:3969 includes/functions.old.php:3976
2070
- #: includes/functions.php:4044 includes/functions.php:4051
2071
  msgid "AD BLOCKING REPLACEMENT"
2072
  msgstr ""
2073
 
2074
  #: includes/functions-check-now.php:4219 includes/functions-check-now.php:4428
2075
  #: includes/functions.old.php:4119 includes/functions.old.php:4328
2076
- #: includes/functions.php:4194 includes/functions.php:4403
2077
  msgid "Pageviews"
2078
  msgstr ""
2079
 
2080
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2081
- #: includes/functions.php:4340
2082
  msgctxt "Version"
2083
  msgid "Unknown"
2084
  msgstr ""
2085
 
2086
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2087
- #: includes/functions.php:4340
2088
  msgctxt "Times"
2089
  msgid "DISPLAYED"
2090
  msgstr ""
2091
 
2092
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2093
- #: includes/functions.php:4340
2094
  msgid "No version"
2095
  msgstr ""
2096
 
2097
  #: includes/functions-check-now.php:4366 includes/functions.old.php:4266
2098
- #: includes/functions.php:4341
2099
  msgctxt "Times"
2100
  msgid "BLOCKED"
2101
  msgstr ""
2102
 
2103
  #: includes/functions-check-now.php:4428 includes/functions.old.php:4328
2104
- #: includes/functions.php:4403
2105
  msgid "Impressions"
2106
  msgstr ""
2107
 
2108
  #: includes/functions-check-now.php:4429 includes/functions-check-now.php:4430
2109
  #: includes/functions-check-now.php:4485 includes/functions.old.php:4329
2110
  #: includes/functions.old.php:4330 includes/functions.old.php:4385
2111
- #: includes/functions.php:4404 includes/functions.php:4405
2112
- #: includes/functions.php:4460
2113
  msgid "Clicks"
2114
  msgstr ""
2115
 
2116
  #: includes/functions-check-now.php:4430 includes/functions.old.php:4330
2117
- #: includes/functions.php:4405
2118
  msgid "events"
2119
  msgstr ""
2120
 
2121
  #: includes/functions-check-now.php:4431 includes/functions.old.php:4331
2122
- #: includes/functions.php:4406
2123
  msgid "Ad Blocking Share"
2124
  msgstr ""
2125
 
2126
  #. translators: CTR as Click Through Rate
2127
  #: includes/functions-check-now.php:4431 includes/functions-check-now.php:4491
2128
  #: includes/functions.old.php:4331 includes/functions.old.php:4391
2129
- #: includes/functions.php:4406 includes/functions.php:4466
2130
  msgid "CTR"
2131
  msgstr ""
2132
 
2133
  #: includes/functions-check-now.php:4573 includes/functions.old.php:4473
2134
- #: includes/functions.php:4548
2135
  msgid "pageviews"
2136
  msgid_plural "pageviews"
2137
  msgstr[0] ""
2138
  msgstr[1] ""
2139
 
2140
  #: includes/functions-check-now.php:4573 includes/functions.old.php:4473
2141
- #: includes/functions.php:4548
2142
  msgid "impressions"
2143
  msgid_plural "impressions"
2144
  msgstr[0] ""
2145
  msgstr[1] ""
2146
 
2147
  #: includes/functions-check-now.php:4577 includes/functions.old.php:4477
2148
- #: includes/functions.php:4552
2149
  msgid "event"
2150
  msgid_plural "events"
2151
  msgstr[0] ""
2152
  msgstr[1] ""
2153
 
2154
  #: includes/functions-check-now.php:4672 includes/functions.old.php:4572
2155
- #: includes/functions.php:4647
2156
  msgctxt "Pageviews / Impressions"
2157
  msgid "Average"
2158
  msgstr ""
2159
 
2160
  #: includes/functions-check-now.php:4693 includes/functions.old.php:4593
2161
- #: includes/functions.php:4668
2162
  msgctxt "Ad Blocking / Clicks"
2163
  msgid "Average"
2164
  msgstr ""
2165
 
2166
  #: includes/functions-check-now.php:4717 includes/functions.old.php:4617
2167
- #: includes/functions.php:4692
2168
  msgctxt "Ad Blocking Share / CTR"
2169
  msgid "Average"
2170
  msgstr ""
@@ -2173,51 +2173,55 @@ msgstr ""
2173
  #: includes/functions-check-now.php:4899 includes/functions-check-now.php:4991
2174
  #: includes/functions-check-now.php:5334 includes/functions.old.php:4799
2175
  #: includes/functions.old.php:4891 includes/functions.old.php:5207
2176
- #: includes/functions.php:4874 includes/functions.php:4966
2177
- #: includes/functions.php:5309 strings.php:184
2178
  msgid "%s Report"
2179
  msgstr ""
2180
 
2181
  #: includes/functions-check-now.php:5240 includes/functions.old.php:5113
2182
- #: includes/functions.php:5215
2183
  msgid "for last month"
2184
  msgstr ""
2185
 
2186
  #: includes/functions-check-now.php:5245 includes/functions.old.php:5118
2187
- #: includes/functions.php:5220
2188
  msgid "for this month"
2189
  msgstr ""
2190
 
2191
  #: includes/functions-check-now.php:5250 includes/functions.old.php:5123
2192
- #: includes/functions.php:5225
2193
  msgid "for this year"
2194
  msgstr ""
2195
 
2196
  #: includes/functions-check-now.php:5255 includes/functions.old.php:5128
2197
- #: includes/functions.php:5230
2198
  msgid "for the last 15 days"
2199
  msgstr ""
2200
 
2201
  #: includes/functions-check-now.php:5260 includes/functions.old.php:5133
2202
- #: includes/functions.php:5235
2203
  msgid "for the last 30 days"
2204
  msgstr ""
2205
 
2206
  #: includes/functions-check-now.php:5265 includes/functions.old.php:5138
2207
- #: includes/functions.php:5240
2208
  msgid "for the last 90 days"
2209
  msgstr ""
2210
 
2211
  #: includes/functions-check-now.php:5270 includes/functions.old.php:5143
2212
- #: includes/functions.php:5245
2213
  msgid "for the last 180 days"
2214
  msgstr ""
2215
 
2216
  #: includes/functions-check-now.php:5275 includes/functions.old.php:5148
2217
- #: includes/functions.php:5250
2218
  msgid "for the last 365 days"
2219
  msgstr ""
2220
 
 
 
 
 
2221
  #: includes/placeholders.php:20
2222
  msgid "Custom"
2223
  msgstr ""
@@ -2242,7 +2246,7 @@ msgstr ""
2242
  msgid "Placeholder"
2243
  msgstr ""
2244
 
2245
- #: includes/placeholders.php:363 settings.php:906 settings.php:4177
2246
  msgid "Size"
2247
  msgstr ""
2248
 
@@ -2350,11 +2354,11 @@ msgstr ""
2350
  msgid "Ad Blocking Detected Message Preview"
2351
  msgstr ""
2352
 
2353
- #: includes/preview-adb.php:348 settings.php:2787
2354
  msgid "Message CSS"
2355
  msgstr ""
2356
 
2357
- #: includes/preview-adb.php:353 settings.php:2795
2358
  msgid "Overlay CSS"
2359
  msgstr ""
2360
 
@@ -2394,7 +2398,7 @@ msgstr ""
2394
  msgid "background"
2395
  msgstr ""
2396
 
2397
- #: includes/preview.php:2085 includes/preview.php:2236 settings.php:1257
2398
  msgid "Alignment"
2399
  msgstr ""
2400
 
@@ -2492,445 +2496,445 @@ msgid ""
2492
  "the values to those of the current block."
2493
  msgstr ""
2494
 
2495
- #: settings.php:174 settings.php:1146
2496
  msgid ""
2497
  "Settings for individual exceptions have been updated. Please check all "
2498
  "blocks that have exceptions and and then save settings."
2499
  msgstr ""
2500
 
2501
- #: settings.php:216
2502
  msgid "Online documentation"
2503
  msgstr ""
2504
 
2505
- #: settings.php:220 settings.php:742 settings.php:2183
2506
  msgid "Show AdSense ad units"
2507
  msgstr ""
2508
 
2509
- #: settings.php:225
2510
  msgid "Edit ads.txt file"
2511
  msgstr ""
2512
 
2513
- #: settings.php:228 settings.php:1089
2514
  msgid "Check theme for available positions for automatic insertion"
2515
  msgstr ""
2516
 
2517
- #: settings.php:230
2518
  msgid "List all blocks"
2519
  msgstr ""
2520
 
2521
- #: settings.php:237
2522
  msgid "Loaded plugin JavaScript file version"
2523
  msgstr ""
2524
 
2525
  #. translators: %s: HTML tags
2526
- #: settings.php:239
2527
  msgid ""
2528
  "Wrong or %s missing version parameter %s of the JavaScript file, probably "
2529
  "due to inappropriate caching."
2530
  msgstr ""
2531
 
2532
- #: settings.php:240
2533
  msgid ""
2534
  "Missing version parameter of the JavaScript file, probably due to "
2535
  "inappropriate caching."
2536
  msgstr ""
2537
 
2538
- #: settings.php:241
2539
  msgid ""
2540
  "Incompatible (old) JavaScript file loaded, probably due to inappropriate "
2541
  "caching."
2542
  msgstr ""
2543
 
2544
- #: settings.php:242 settings.php:253
2545
  msgid ""
2546
  "Please delete browser's cache and all other caches used and then reload this "
2547
  "page."
2548
  msgstr ""
2549
 
2550
- #: settings.php:248
2551
  msgid "Loaded plugin CSS file version"
2552
  msgstr ""
2553
 
2554
  #. translators: %s: HTML tags
2555
- #: settings.php:250
2556
  msgid ""
2557
  "Wrong or %s missing version parameter %s of the CSS file, probably due to "
2558
  "inappropriate caching."
2559
  msgstr ""
2560
 
2561
- #: settings.php:251
2562
  msgid ""
2563
  "Missing version parameter of the CSS file, probably due to inappropriate "
2564
  "caching."
2565
  msgstr ""
2566
 
2567
- #: settings.php:252
2568
  msgid ""
2569
  "Incompatible (old) CSS file loaded, probably due to inappropriate caching."
2570
  msgstr ""
2571
 
2572
- #: settings.php:259 settings.php:271
2573
  msgid "WARNING"
2574
  msgstr ""
2575
 
2576
  #. translators: %s: HTML tags
2577
- #: settings.php:261
2578
  msgid "Page may %s not be loaded properly. %s"
2579
  msgstr ""
2580
 
2581
- #: settings.php:262
2582
  msgid ""
2583
  "Check ad blocking software that may block CSS, JavaScript or image files."
2584
  msgstr ""
2585
 
2586
- #: settings.php:271
2587
  msgid ""
2588
  "To disable debugging functions and to enable insertions go to tab [*] / tab "
2589
  "Debugging"
2590
  msgstr ""
2591
 
2592
- #: settings.php:273
2593
  msgid "Debugging functions enabled - some code is not inserted"
2594
  msgstr ""
2595
 
2596
- #: settings.php:290
2597
  msgid "Group name"
2598
  msgstr ""
2599
 
2600
- #: settings.php:291
2601
  msgid "Option name"
2602
  msgstr ""
2603
 
2604
- #: settings.php:297
2605
  msgid "Share"
2606
  msgstr ""
2607
 
2608
- #: settings.php:300
2609
  msgid ""
2610
  "Option share in percents - 0 means option is disabled, if share for one "
2611
  "option is not defined it will be calculated automatically. Leave all share "
2612
  "fields empty for equal option shares."
2613
  msgstr ""
2614
 
2615
- #: settings.php:303
2616
  msgid "Time"
2617
  msgstr ""
2618
 
2619
- #: settings.php:306
2620
  msgid ""
2621
  "Option time in seconds - 0 means option is disabled and will be skipped. "
2622
  "Leave all time fields empty for no timed rotation."
2623
  msgstr ""
2624
 
2625
- #: settings.php:458
2626
  msgid "General Settings"
2627
  msgstr ""
2628
 
2629
- #: settings.php:690 settings.php:2514 settings.php:2581 settings.php:2767
2630
  msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
2631
  msgstr ""
2632
 
2633
- #: settings.php:697
2634
  msgid "Toggle tools"
2635
  msgstr ""
2636
 
2637
- #: settings.php:705
2638
  msgid "Process PHP code in block"
2639
  msgstr ""
2640
 
2641
- #: settings.php:712
2642
  msgid "Disable insertion of this block"
2643
  msgstr ""
2644
 
2645
- #: settings.php:724
2646
  msgid "Toggle code generator"
2647
  msgstr ""
2648
 
2649
- #: settings.php:728
2650
  msgid "Toggle rotation editor"
2651
  msgstr ""
2652
 
2653
- #: settings.php:732
2654
  msgid "Open visual HTML editor"
2655
  msgstr ""
2656
 
2657
- #: settings.php:751
2658
  msgid "Clear block"
2659
  msgstr ""
2660
 
2661
- #: settings.php:756 settings.php:4049
2662
  msgid "Copy block"
2663
  msgstr ""
2664
 
2665
- #: settings.php:760
2666
  msgid "Paste name"
2667
  msgstr ""
2668
 
2669
- #: settings.php:764
2670
  msgid "Paste code"
2671
  msgstr ""
2672
 
2673
- #: settings.php:768
2674
  msgid "Paste settings"
2675
  msgstr ""
2676
 
2677
- #: settings.php:772
2678
  msgid "Paste block (name, code and settings)"
2679
  msgstr ""
2680
 
2681
- #: settings.php:791
2682
  msgid "Rotation groups"
2683
  msgstr ""
2684
 
2685
- #: settings.php:795
2686
  msgid "Remove option"
2687
  msgstr ""
2688
 
2689
- #: settings.php:799
2690
  msgid "Add option"
2691
  msgstr ""
2692
 
2693
- #: settings.php:814
2694
  msgid "Import code"
2695
  msgstr ""
2696
 
2697
- #: settings.php:818
2698
  msgid "Generate code"
2699
  msgstr ""
2700
 
2701
- #: settings.php:823
2702
  msgid "Banner"
2703
  msgstr ""
2704
 
2705
- #: settings.php:834
2706
  msgid "Image"
2707
  msgstr ""
2708
 
2709
- #: settings.php:842
2710
  msgid "Link"
2711
  msgstr ""
2712
 
2713
- #: settings.php:853
2714
  msgid "Open link in a new tab"
2715
  msgstr ""
2716
 
2717
- #: settings.php:854
2718
  msgid "Select Image"
2719
  msgstr ""
2720
 
2721
- #: settings.php:855
2722
  msgid "Select Placeholder"
2723
  msgstr ""
2724
 
2725
- #: settings.php:867
2726
  msgid "Comment"
2727
  msgstr ""
2728
 
2729
- #: settings.php:876
2730
  msgctxt "AdSense"
2731
  msgid "Publisher ID"
2732
  msgstr ""
2733
 
2734
- #: settings.php:885
2735
  msgctxt "AdSense"
2736
  msgid "Ad Slot ID"
2737
  msgstr ""
2738
 
2739
- #: settings.php:894
2740
  msgid "Ad Type"
2741
  msgstr ""
2742
 
2743
- #: settings.php:918
2744
  msgid "AMP Ad"
2745
  msgstr ""
2746
 
2747
- #: settings.php:935
2748
  msgid "Show ad units from your AdSense account"
2749
  msgstr ""
2750
 
2751
- #: settings.php:935
2752
  msgid "AdSense ad units"
2753
  msgstr ""
2754
 
2755
- #: settings.php:952
2756
  msgctxt "AdSense"
2757
  msgid "Layout"
2758
  msgstr ""
2759
 
2760
- #: settings.php:961
2761
  msgctxt "AdSense"
2762
  msgid "Layout Key"
2763
  msgstr ""
2764
 
2765
- #: settings.php:971
2766
  msgid "Full width"
2767
  msgstr ""
2768
 
2769
- #: settings.php:973
2770
  msgctxt "Full width"
2771
  msgid "Enabled"
2772
  msgstr ""
2773
 
2774
- #: settings.php:974
2775
  msgctxt "Full width"
2776
  msgid "Disabled"
2777
  msgstr ""
2778
 
2779
- #: settings.php:1055
2780
  msgid ""
2781
  "White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
2782
  "Cookie or Referer (domain)"
2783
  msgstr ""
2784
 
2785
- #: settings.php:1055
2786
  msgid "Lists"
2787
  msgstr ""
2788
 
2789
- #: settings.php:1056
2790
  msgid "Widget, Shortcode and PHP function call"
2791
  msgstr ""
2792
 
2793
- #: settings.php:1056
2794
  msgid "Manual"
2795
  msgstr ""
2796
 
2797
- #: settings.php:1057
2798
  msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
2799
  msgstr ""
2800
 
2801
- #: settings.php:1057
2802
  msgid "Devices"
2803
  msgstr ""
2804
 
2805
- #: settings.php:1058
2806
  msgid ""
2807
  "Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
2808
  "feeds), Filter, Scheduling, General tag"
2809
  msgstr ""
2810
 
2811
- #: settings.php:1058
2812
  msgid "Misc"
2813
  msgstr ""
2814
 
2815
- #: settings.php:1059
2816
  msgid "Preview code and alignment"
2817
  msgstr ""
2818
 
2819
- #: settings.php:1062 settings.php:2167
2820
  msgid ""
2821
  "Rotation editor active - rotation code not generated! Make sure no rotation "
2822
  "editor is active before saving settings."
2823
  msgstr ""
2824
 
2825
- #: settings.php:1075 settings.php:1076
2826
  msgid "Enable insertion on posts"
2827
  msgstr ""
2828
 
2829
- #: settings.php:1076 settings.php:3317
2830
  msgid "Posts"
2831
  msgstr ""
2832
 
2833
- #: settings.php:1080 settings.php:1081
2834
  msgid ""
2835
  "Enable insertion on homepage: latest posts (including on sub-pages), static "
2836
  "page or theme homepage (available positions may depend on hooks used by the "
2837
  "theme)"
2838
  msgstr ""
2839
 
2840
- #: settings.php:1081 settings.php:3319
2841
  msgid "Homepage"
2842
  msgstr ""
2843
 
2844
- #: settings.php:1085 settings.php:1086
2845
  msgid "Enable insertion on category blog pages (including sub-pages)"
2846
  msgstr ""
2847
 
2848
- #: settings.php:1086 settings.php:3320
2849
  msgid "Category pages"
2850
  msgstr ""
2851
 
2852
- #: settings.php:1096 settings.php:1097
2853
  msgid "Enable insertion on static pages"
2854
  msgstr ""
2855
 
2856
- #: settings.php:1097 settings.php:3318
2857
  msgid "Static pages"
2858
  msgstr ""
2859
 
2860
- #: settings.php:1101 settings.php:1102
2861
  msgid "Enable insertion on search blog pages"
2862
  msgstr ""
2863
 
2864
- #: settings.php:1102 settings.php:3322
2865
  msgid "Search pages"
2866
  msgstr ""
2867
 
2868
- #: settings.php:1106 settings.php:1107
2869
  msgid "Enable insertion on tag or archive blog pages"
2870
  msgstr ""
2871
 
2872
- #: settings.php:1110
2873
  msgid "Toggle settings for default insertion and list of individual exceptions"
2874
  msgstr ""
2875
 
2876
- #: settings.php:1122
2877
  msgid ""
2878
  "Enable individual post/page exceptions for insertion of this block. They can "
2879
  "be configured on the individual post/page editor page (in the settings below "
2880
  "the editor)."
2881
  msgstr ""
2882
 
2883
- #: settings.php:1123
2884
  msgid ""
2885
  "Enable individual post/page exceptions for insertion of this block. When "
2886
  "enabled they can be configured on the individual post/page editor page (in "
2887
  "the settings below the editor)."
2888
  msgstr ""
2889
 
2890
- #: settings.php:1123
2891
  msgid "Use exceptions for individual posts or pages to change insertion"
2892
  msgstr ""
2893
 
2894
  #. Translators: Enabled means...
2895
- #: settings.php:1131
2896
  msgid ""
2897
  "means the insertion for this block is enabled by default and disabled for "
2898
  "exceptions."
2899
  msgstr ""
2900
 
2901
  #. Translators: Disabled means...
2902
- #: settings.php:1132
2903
  msgid ""
2904
  "means the insertion for this block is disabled by default and enabled for "
2905
  "exceptions."
2906
  msgstr ""
2907
 
2908
- #: settings.php:1133
2909
  msgid ""
2910
  "When individual post/page exceptions are enabled they can be configured on "
2911
  "the individual post/page editor page (in the settings below the editor)."
2912
  msgstr ""
2913
 
2914
- #: settings.php:1141
2915
  msgid ""
2916
  "No exception for post or static page defined. Block will not be inserted."
2917
  msgstr ""
2918
 
2919
- #: settings.php:1159
2920
  msgctxt "post"
2921
  msgid "Type"
2922
  msgstr ""
2923
 
2924
  #. translators: %d: block number
2925
- #: settings.php:1161
2926
  msgid "Are you sure you want to clear all exceptions for block %d?"
2927
  msgstr ""
2928
 
2929
- #: settings.php:1188 settings.php:1336 settings.php:1959
2930
  msgid "Insertion"
2931
  msgstr ""
2932
 
2933
- #: settings.php:1226
2934
  msgid ""
2935
  "Paragraph number or comma separated paragraph numbers: 1 to N means "
2936
  "paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
@@ -2940,7 +2944,7 @@ msgid ""
2940
  "negative number means counting from the opposite direction"
2941
  msgstr ""
2942
 
2943
- #: settings.php:1227
2944
  msgid ""
2945
  "Image number or comma separated image numbers: 1 to N means image number, %N "
2946
  "means every N images, empty means all images, 0 means random image, value "
@@ -2950,286 +2954,286 @@ msgid ""
2950
  "direction"
2951
  msgstr ""
2952
 
2953
- #: settings.php:1240
2954
  msgid ""
2955
  "Insertion Filter Mirror Setting | Excerpt number or comma separated excerpt "
2956
  "numbers, %N means every N excerpts, empty means all excerpts"
2957
  msgstr ""
2958
 
2959
- #: settings.php:1241
2960
  msgid ""
2961
  "Insertion Filter Mirror Setting | Post number or comma separated post "
2962
  "numbers, %N means every N posts, empty means all posts"
2963
  msgstr ""
2964
 
2965
- #: settings.php:1242
2966
  msgid ""
2967
  "Insertion Filter Mirror Setting | Comment number or comma separated comment "
2968
  "numbers, %N means every N comments, empty means all comments"
2969
  msgstr ""
2970
 
2971
- #: settings.php:1249
2972
  msgid "Toggle paragraph counting settings"
2973
  msgstr ""
2974
 
2975
- #: settings.php:1250
2976
  msgid "Toggle paragraph clearance settings"
2977
  msgstr ""
2978
 
2979
- #: settings.php:1253
2980
  msgid "Toggle insertion filter settings"
2981
  msgstr ""
2982
 
2983
- #: settings.php:1271
2984
  msgid "Toggle insertion and alignment icons"
2985
  msgstr ""
2986
 
2987
- #: settings.php:1285
2988
  msgid "Custom CSS code for the wrapping div"
2989
  msgstr ""
2990
 
2991
- #: settings.php:1288 settings.php:1289 settings.php:1290 settings.php:1291
2992
- #: settings.php:1292 settings.php:1293
2993
  msgid "CSS code for the wrapping div, click to edit"
2994
  msgstr ""
2995
 
2996
- #: settings.php:1306
2997
  msgid "HTML element"
2998
  msgstr ""
2999
 
3000
- #: settings.php:1319
3001
  msgid "HTML element selector or comma separated list of selectors"
3002
  msgstr ""
3003
 
3004
- #: settings.php:1325 settings.php:2672
3005
  msgid "Action"
3006
  msgstr ""
3007
 
3008
- #: settings.php:1337
3009
  msgid ""
3010
  "Client-side insertion uses JavaScript to insert block when the page loads. "
3011
  "Server-side insertion inserts block when the page is generated but needs "
3012
  "Output buffering enabled."
3013
  msgstr ""
3014
 
3015
- #: settings.php:1347
3016
  msgid "JavaScript code position"
3017
  msgstr ""
3018
 
3019
- #: settings.php:1348
3020
  msgid ""
3021
  "Page position where the JavaScript code for client-side insertion will be "
3022
  "inserted. Should be after the HTML element if not waiting for DOM ready."
3023
  msgstr ""
3024
 
3025
- #: settings.php:1363
3026
  msgid "Count"
3027
  msgstr ""
3028
 
3029
- #: settings.php:1369
3030
  msgid "paragraphs with tags"
3031
  msgstr ""
3032
 
3033
- #: settings.php:1375
3034
  msgid "Comma separated HTML tag names, usually only 'p' tags are used"
3035
  msgstr ""
3036
 
3037
- #: settings.php:1384
3038
  msgid "that have between"
3039
  msgstr ""
3040
 
3041
- #: settings.php:1390
3042
  msgid "Minimum number of paragraph words, leave empty for no limit"
3043
  msgstr ""
3044
 
3045
- #: settings.php:1399
3046
  msgid "Maximum number of paragraph words, leave empty for no limit"
3047
  msgstr ""
3048
 
3049
- #: settings.php:1402
3050
  msgid "words"
3051
  msgstr ""
3052
 
3053
- #: settings.php:1417 settings.php:1476 settings.php:1546 settings.php:1572
3054
  msgid "Comma separated texts"
3055
  msgstr ""
3056
 
3057
- #: settings.php:1430
3058
  msgid ""
3059
  "Count also paragraphs inside these elements - defined on general plugin "
3060
  "settings page - tab [*] / tab General"
3061
  msgstr ""
3062
 
3063
  #. Translators: %s: HTML tags
3064
- #: settings.php:1436
3065
  msgid "Count inside %s elements"
3066
  msgstr ""
3067
 
3068
  #. translators: inside [HTML tags] elements that contain
3069
- #: settings.php:1448
3070
  msgid "inside"
3071
  msgstr ""
3072
 
3073
- #: settings.php:1454
3074
  msgid "Comma separated HTML tag names of container elements"
3075
  msgstr ""
3076
 
3077
  #. translators: inside [HTML tags] elements that contain
3078
- #: settings.php:1463
3079
  msgid "elements that"
3080
  msgstr ""
3081
 
3082
- #: settings.php:1489 settings.php:2082
3083
  msgid "Post/Static page must have between"
3084
  msgstr ""
3085
 
3086
- #: settings.php:1495
3087
  msgid "Minimum number of paragraphs, leave empty for no limit"
3088
  msgstr ""
3089
 
3090
- #: settings.php:1504
3091
  msgid "Maximum number of paragraphs, leave empty for no limit"
3092
  msgstr ""
3093
 
3094
  #. Translators: Post/Static page must have between X and Y paragraphs
3095
- #: settings.php:1507
3096
  msgid "paragraph"
3097
  msgid_plural "paragraphs"
3098
  msgstr[0] ""
3099
  msgstr[1] ""
3100
 
3101
- #: settings.php:1515
3102
  msgid "Minimum number of words in paragraphs above"
3103
  msgstr ""
3104
 
3105
- #: settings.php:1521
3106
  msgid ""
3107
  "Used only with automatic insertion After paragraph and empty paragraph "
3108
  "numbers"
3109
  msgstr ""
3110
 
3111
- #: settings.php:1531 settings.php:1557
3112
  msgid "In"
3113
  msgstr ""
3114
 
3115
- #: settings.php:1537
3116
  msgid "Number of paragraphs above to check, leave empty to disable checking"
3117
  msgstr ""
3118
 
3119
- #: settings.php:1540
3120
  msgid "paragraphs above avoid"
3121
  msgstr ""
3122
 
3123
- #: settings.php:1563
3124
  msgid "Number of paragraphs below to check, leave empty to disable checking"
3125
  msgstr ""
3126
 
3127
- #: settings.php:1566
3128
  msgid "paragraphs below avoid"
3129
  msgstr ""
3130
 
3131
- #: settings.php:1582
3132
  msgid "If text is found"
3133
  msgstr ""
3134
 
3135
- #: settings.php:1589
3136
  msgid "check up to"
3137
  msgstr ""
3138
 
3139
- #: settings.php:1597
3140
  msgctxt "check up to"
3141
  msgid "paragraphs"
3142
  msgstr ""
3143
 
3144
- #: settings.php:1613
3145
  msgid "Categories"
3146
  msgstr ""
3147
 
3148
- #: settings.php:1616
3149
  msgid "Toggle category editor"
3150
  msgstr ""
3151
 
3152
- #: settings.php:1619
3153
  msgid "Comma separated category slugs"
3154
  msgstr ""
3155
 
3156
- #: settings.php:1623
3157
  msgid "Blacklist categories"
3158
  msgstr ""
3159
 
3160
- #: settings.php:1627
3161
  msgid "Whitelist categories"
3162
  msgstr ""
3163
 
3164
- #: settings.php:1639
3165
  msgid "Tags"
3166
  msgstr ""
3167
 
3168
- #: settings.php:1642
3169
  msgid "Toggle tag editor"
3170
  msgstr ""
3171
 
3172
- #: settings.php:1645
3173
  msgid "Comma separated tag slugs"
3174
  msgstr ""
3175
 
3176
- #: settings.php:1649
3177
  msgid "Blacklist tags"
3178
  msgstr ""
3179
 
3180
- #: settings.php:1653
3181
  msgid "Whitelist tags"
3182
  msgstr ""
3183
 
3184
- #: settings.php:1665
3185
  msgid "Taxonomies"
3186
  msgstr ""
3187
 
3188
- #: settings.php:1668
3189
  msgid "Toggle taxonomy editor"
3190
  msgstr ""
3191
 
3192
- #: settings.php:1671
3193
  msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
3194
  msgstr ""
3195
 
3196
- #: settings.php:1675
3197
  msgid "Blacklist taxonomies"
3198
  msgstr ""
3199
 
3200
- #: settings.php:1679
3201
  msgid "Whitelist taxonomies"
3202
  msgstr ""
3203
 
3204
- #: settings.php:1691
3205
  msgid "Post IDs"
3206
  msgstr ""
3207
 
3208
- #: settings.php:1694
3209
  msgid "Toggle post/page ID editor"
3210
  msgstr ""
3211
 
3212
- #: settings.php:1697
3213
  msgid "Comma separated post/page IDs"
3214
  msgstr ""
3215
 
3216
- #: settings.php:1701
3217
  msgid "Blacklist IDs"
3218
  msgstr ""
3219
 
3220
- #: settings.php:1705
3221
  msgid "Whitelist IDs"
3222
  msgstr ""
3223
 
3224
- #: settings.php:1717
3225
  msgid "Urls"
3226
  msgstr ""
3227
 
3228
- #: settings.php:1720
3229
  msgid "Toggle url editor"
3230
  msgstr ""
3231
 
3232
- #: settings.php:1723
3233
  msgid ""
3234
  "Comma separated urls (page addresses) starting with / after domain name (e."
3235
  "g. /permalink-url, use only when you need to taget a specific url not "
@@ -3237,236 +3241,236 @@ msgid ""
3237
  "start*. *url-pattern*, *url-end)"
3238
  msgstr ""
3239
 
3240
- #: settings.php:1727
3241
  msgid "Blacklist urls"
3242
  msgstr ""
3243
 
3244
- #: settings.php:1731
3245
  msgid "Whitelist urls"
3246
  msgstr ""
3247
 
3248
- #: settings.php:1742
3249
  msgid "Url parameters"
3250
  msgstr ""
3251
 
3252
- #: settings.php:1746
3253
  msgid "Toggle url parameter and cookie editor"
3254
  msgstr ""
3255
 
3256
- #: settings.php:1749
3257
  msgid ""
3258
  "Comma separated url query parameters or cookies with optional values (use "
3259
  "'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
3260
  msgstr ""
3261
 
3262
- #: settings.php:1753
3263
  msgid "Blacklist url parameters"
3264
  msgstr ""
3265
 
3266
- #: settings.php:1757
3267
  msgid "Whitelist url parameters"
3268
  msgstr ""
3269
 
3270
- #: settings.php:1768
3271
  msgid "Referrers"
3272
  msgstr ""
3273
 
3274
- #: settings.php:1771
3275
  msgid "Toggle referer editor"
3276
  msgstr ""
3277
 
3278
- #: settings.php:1774
3279
  msgid ""
3280
  "Comma separated domains, use # for no referrer, you can also use partial "
3281
  "domains with * (domain-start*. *domain-pattern*, *domain-end)"
3282
  msgstr ""
3283
 
3284
- #: settings.php:1778
3285
  msgid "Blacklist referers"
3286
  msgstr ""
3287
 
3288
- #: settings.php:1782
3289
  msgid "Whitelist referers"
3290
  msgstr ""
3291
 
3292
- #: settings.php:1793
3293
  msgid "Clients"
3294
  msgstr ""
3295
 
3296
- #: settings.php:1796
3297
  msgid "Toggle client editor"
3298
  msgstr ""
3299
 
3300
- #: settings.php:1799
3301
  msgid "Comma separated names (operating systems, browsers, devices)"
3302
  msgstr ""
3303
 
3304
- #: settings.php:1803
3305
  msgid "Blacklist clients"
3306
  msgstr ""
3307
 
3308
- #: settings.php:1807
3309
  msgid "Whitelist clients"
3310
  msgstr ""
3311
 
3312
- #: settings.php:1828
3313
  msgid "Enable widget for this block"
3314
  msgstr ""
3315
 
3316
- #: settings.php:1840
3317
  msgid "Enable shortcode for manual insertion of this block in posts and pages"
3318
  msgstr ""
3319
 
3320
- #: settings.php:1841 settings.php:4105
3321
  msgid "Shortcode"
3322
  msgstr ""
3323
 
3324
- #: settings.php:1856
3325
  msgid ""
3326
  "Enable PHP function call to insert this block at any position in theme file. "
3327
  "If function is disabled for block it will return empty string."
3328
  msgstr ""
3329
 
3330
- #: settings.php:1857
3331
  msgid "PHP function"
3332
  msgstr ""
3333
 
3334
- #: settings.php:1872
3335
  msgid "Client-side device detection"
3336
  msgstr ""
3337
 
3338
- #: settings.php:1873
3339
  msgid "Server-side device detection"
3340
  msgstr ""
3341
 
3342
- #: settings.php:1880
3343
  msgid "Use client-side detection to"
3344
  msgstr ""
3345
 
3346
- #: settings.php:1882
3347
  msgid "Either show/hide or insert when the page is loaded on wanted viewports"
3348
  msgstr ""
3349
 
3350
  #. Translators: only on (the following devices): viewport names (devices)
3351
  #. listed
3352
- #: settings.php:1887
3353
  msgid "only on"
3354
  msgstr ""
3355
 
3356
- #: settings.php:1915
3357
  msgid "Device min width %s px"
3358
  msgstr ""
3359
 
3360
- #: settings.php:1941
3361
  msgid "Use server-side detection to insert block only for"
3362
  msgstr ""
3363
 
3364
- #: settings.php:1960
3365
  msgid "Filter"
3366
  msgstr ""
3367
 
3368
- #: settings.php:1961
3369
  msgid "Word Count"
3370
  msgstr ""
3371
 
3372
- #: settings.php:1962 settings.php:4095
3373
  msgid "Scheduling"
3374
  msgstr ""
3375
 
3376
- #: settings.php:1963
3377
  msgid "Display"
3378
  msgstr ""
3379
 
3380
- #: settings.php:1965 settings.php:2209
3381
  msgid "General"
3382
  msgstr ""
3383
 
3384
- #: settings.php:1977
3385
  msgid "Old settings for AMP pages detected"
3386
  msgstr ""
3387
 
3388
- #: settings.php:1977
3389
  msgid ""
3390
  "To insert different codes on normal and AMP pages separate them with "
3391
  "[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
3392
  "when you need to insert THE SAME CODE also on AMP pages (no AMP separator)."
3393
  msgstr ""
3394
 
3395
- #: settings.php:1977
3396
  msgid "AMP pages"
3397
  msgstr ""
3398
 
3399
- #: settings.php:1982
3400
  msgid "Enable insertion for Ajax requests"
3401
  msgstr ""
3402
 
3403
- #: settings.php:1982
3404
  msgid "Ajax requests"
3405
  msgstr ""
3406
 
3407
- #: settings.php:1987
3408
  msgid "Enable insertion in RSS feeds"
3409
  msgstr ""
3410
 
3411
- #: settings.php:1987
3412
  msgid "RSS Feed"
3413
  msgstr ""
3414
 
3415
- #: settings.php:1992
3416
  msgid "Enable insertion on page for Error 404: Page not found"
3417
  msgstr ""
3418
 
3419
- #: settings.php:1992
3420
  msgid "Error 404 page"
3421
  msgstr ""
3422
 
3423
- #: settings.php:2004
3424
  msgid "Maximum number of insertions of this block. Empty or 0 means no limit."
3425
  msgstr ""
3426
 
3427
- #: settings.php:2005
3428
  msgid "insertions"
3429
  msgstr ""
3430
 
3431
- #: settings.php:2007
3432
  msgid ""
3433
  "Count this block for Max blocks per page limit (defined on the tab [*] / tab "
3434
  "General)"
3435
  msgstr ""
3436
 
3437
- #: settings.php:2010 settings.php:2378
3438
  msgid "Max blocks per page"
3439
  msgstr ""
3440
 
3441
- #: settings.php:2022
3442
  msgid "Insert for"
3443
  msgstr ""
3444
 
3445
- #: settings.php:2030
3446
  msgid ""
3447
  "Insert block only when WP function in_the_loop () returns true (WP loop is "
3448
  "currently active). Might speed up insertion on content pages when "
3449
  "the_content filter is called multiple times."
3450
  msgstr ""
3451
 
3452
- #: settings.php:2033
3453
  msgid "Insert only in the loop"
3454
  msgstr ""
3455
 
3456
- #: settings.php:2039
3457
  msgid ""
3458
  "Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
3459
  msgstr ""
3460
 
3461
- #: settings.php:2039
3462
  msgid "Disable caching"
3463
  msgstr ""
3464
 
3465
- #: settings.php:2051
3466
  msgid "Filter insertions"
3467
  msgstr ""
3468
 
3469
- #: settings.php:2054
3470
  msgid ""
3471
  "Filter multiple insertions by specifying wanted insertions for this block - "
3472
  "single number, comma separated numbers or %N for every N insertions - empty "
@@ -3474,212 +3478,204 @@ msgid ""
3474
  "using only one insertion type."
3475
  msgstr ""
3476
 
3477
- #: settings.php:2057
3478
  msgid "using"
3479
  msgstr ""
3480
 
3481
- #: settings.php:2076
3482
  msgid "Checked means specified calls are unwanted"
3483
  msgstr ""
3484
 
3485
- #: settings.php:2076
3486
  msgid "Invert filter"
3487
  msgstr ""
3488
 
3489
- #: settings.php:2083
3490
  msgid "Minimum number of post/static page words, leave empty for no limit"
3491
  msgstr ""
3492
 
3493
- #: settings.php:2085
3494
  msgid "Maximum number of post/static page words, leave empty for no limit"
3495
  msgstr ""
3496
 
3497
- #: settings.php:2098
3498
  msgid "for"
3499
  msgstr ""
3500
 
3501
- #: settings.php:2098
3502
  msgid "days after publishing"
3503
  msgstr ""
3504
 
3505
- #: settings.php:2100
3506
  msgid "Not available"
3507
  msgstr ""
3508
 
3509
- #: settings.php:2113 settings.php:2370
3510
  msgid "Ad label"
3511
  msgstr ""
3512
 
3513
- #: settings.php:2133
3514
  msgid "General tag"
3515
  msgstr ""
3516
 
3517
- #: settings.php:2137
3518
  msgid "Used for [adinserter data=''] shortcodes when no data is found"
3519
  msgstr ""
3520
 
3521
  #. translators: %s: HTML tags
3522
- #: settings.php:2146
3523
  msgid ""
3524
  "%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
3525
  "side device detection!"
3526
  msgstr ""
3527
 
3528
- #: settings.php:2158
3529
  msgid "Settings"
3530
  msgstr ""
3531
 
3532
- #: settings.php:2161
3533
  msgid "Settings timestamp"
3534
  msgstr ""
3535
 
3536
- #: settings.php:2174
3537
  msgid "Are you sure you want to reset all settings?"
3538
  msgstr ""
3539
 
3540
- #: settings.php:2174
3541
  msgid "Reset All Settings"
3542
  msgstr ""
3543
 
3544
- #: settings.php:2210
3545
  msgid "Viewports"
3546
  msgstr ""
3547
 
3548
- #: settings.php:2211
3549
  msgid "Hooks"
3550
  msgstr ""
3551
 
3552
- #: settings.php:2212
3553
  msgid "Header"
3554
  msgstr ""
3555
 
3556
- #: settings.php:2213 strings.php:30
3557
  msgid "Footer"
3558
  msgstr ""
3559
 
3560
- #: settings.php:2218
3561
  msgid "Debugging"
3562
  msgstr ""
3563
 
3564
- #: settings.php:2228
3565
  msgid "Plugin priority"
3566
  msgstr ""
3567
 
3568
- #: settings.php:2236
3569
  msgid "Output buffering"
3570
  msgstr ""
3571
 
3572
- #: settings.php:2239
3573
  msgid "Needed for position Above header but may not work with all themes"
3574
  msgstr ""
3575
 
3576
- #: settings.php:2247
3577
  msgid "Syntax highlighting theme"
3578
  msgstr ""
3579
 
3580
- #: settings.php:2254
3581
  msgctxt "no syntax highlighting themes"
3582
  msgid "None"
3583
  msgstr ""
3584
 
3585
- #: settings.php:2255
3586
  msgid "No Syntax Highlighting"
3587
  msgstr ""
3588
 
3589
- #: settings.php:2257
3590
  msgctxt "syntax highlighting themes"
3591
  msgid "Light"
3592
  msgstr ""
3593
 
3594
- #: settings.php:2272
3595
  msgctxt "syntax highlighting themes"
3596
  msgid "Dark"
3597
  msgstr ""
3598
 
3599
- #: settings.php:2298
3600
  msgid "Min. user role for ind. exceptions editing"
3601
  msgstr ""
3602
 
3603
- #: settings.php:2308
3604
  msgid "Disable caching for logged in administrators"
3605
  msgstr ""
3606
 
3607
- #: settings.php:2311
3608
  msgid ""
3609
  "Enabled means that logged in administrators will see non-cached (live) pages "
3610
  "(applies to WP Super Cache, W3 Total Cache and WP Rocket plugins)"
3611
  msgstr ""
3612
 
3613
- #: settings.php:2319
3614
  msgid "Sticky widget mode"
3615
  msgstr ""
3616
 
3617
- #: settings.php:2322
3618
  msgid ""
3619
  "CSS mode is the best approach but may not work with all themes. JavaScript "
3620
  "mode works with most themes but may reload ads on page load."
3621
  msgstr ""
3622
 
3623
- #: settings.php:2330
3624
  msgid "Sticky widget top margin"
3625
  msgstr ""
3626
 
3627
- #: settings.php:2338
3628
  msgid "Dynamic blocks"
3629
  msgstr ""
3630
 
3631
- #: settings.php:2351
3632
  msgid "Functions for paragraph counting"
3633
  msgstr ""
3634
 
3635
- #: settings.php:2354
3636
  msgid ""
3637
  "Standard PHP functions are faster and work in most cases, use Multibyte "
3638
  "functions if paragraphs are not counted properly on non-english pages."
3639
  msgstr ""
3640
 
3641
- #: settings.php:2362
3642
  msgid "No paragraph counting inside"
3643
  msgstr ""
3644
 
3645
- #: settings.php:2373
3646
  msgid "Label text or HTML code"
3647
  msgstr ""
3648
 
3649
- #: settings.php:2381
3650
  msgid ""
3651
  "Maximum number of inserted blocks per page. You need to enable Max page "
3652
  "insertions (button Misc / tab Insertion) to count block for this limit."
3653
  msgstr ""
3654
 
3655
- #: settings.php:2395
3656
  msgid "Plugin usage tracking"
3657
  msgstr ""
3658
 
3659
  #. translators: %s: Ad Inserter
3660
- #: settings.php:2398
3661
  msgid ""
3662
  "Enable tracking of %s usage and help us to make improvements to the plugin. "
3663
  "Only information regarding the WordPress environment and %s usage is "
3664
  "recorded (once per month and on events like plugin activation/deactivation)."
3665
  msgstr ""
3666
 
3667
- #: settings.php:2416
3668
  msgid "CSS class name for the wrapping div"
3669
  msgstr ""
3670
 
3671
- #: settings.php:2416
3672
  msgid "Block class name"
3673
  msgstr ""
3674
 
3675
- #: settings.php:2420
3676
- msgid "Include general plugin block class"
3677
- msgstr ""
3678
-
3679
- #: settings.php:2420
3680
- msgid "Block class"
3681
- msgstr ""
3682
-
3683
  #: settings.php:2425
3684
  msgid "Include block number class"
3685
  msgstr ""
@@ -3689,316 +3685,324 @@ msgid "Block number class"
3689
  msgstr ""
3690
 
3691
  #: settings.php:2430
 
 
 
 
 
 
 
 
3692
  msgid ""
3693
  "Instead of alignment classes generate inline alignment styles for blocks"
3694
  msgstr ""
3695
 
3696
- #: settings.php:2430
3697
  msgid "Inline styles"
3698
  msgstr ""
3699
 
3700
- #: settings.php:2436
3701
  msgid "Preview of the block wrapping code"
3702
  msgstr ""
3703
 
3704
- #: settings.php:2437
3705
  msgid "Wrapping div"
3706
  msgstr ""
3707
 
3708
- #: settings.php:2438 settings.php:2878
3709
  msgid "BLOCK CODE"
3710
  msgstr ""
3711
 
3712
- #: settings.php:2446
3713
  msgid "Viewport Settings used for client-side device detection"
3714
  msgstr ""
3715
 
3716
  #. Translators: %d: viewport number
3717
- #: settings.php:2454
3718
  msgid "Viewport %d name"
3719
  msgstr ""
3720
 
3721
- #: settings.php:2457
3722
  msgid "min width"
3723
  msgstr ""
3724
 
3725
- #: settings.php:2468
3726
  msgid "Custom Hooks"
3727
  msgstr ""
3728
 
3729
- #: settings.php:2480 settings.php:2483
3730
  msgid "Enable hook"
3731
  msgstr ""
3732
 
3733
  #. translators: %d: hook number
3734
- #: settings.php:2483
3735
  msgid "Hook %d name"
3736
  msgstr ""
3737
 
3738
- #: settings.php:2486
3739
  msgid "Hook name for automatic insertion selection"
3740
  msgstr ""
3741
 
3742
- #: settings.php:2489
3743
  msgid "action"
3744
  msgstr ""
3745
 
3746
- #: settings.php:2492
3747
  msgid "Action name as used in the do_action () function"
3748
  msgstr ""
3749
 
3750
- #: settings.php:2495
3751
  msgid "priority"
3752
  msgstr ""
3753
 
3754
- #: settings.php:2498
3755
  msgid "Priority for the hook (default is 10)"
3756
  msgstr ""
3757
 
3758
- #: settings.php:2519
3759
  msgid "Enable insertion of this code into HTML page header"
3760
  msgstr ""
3761
 
3762
- #: settings.php:2523 settings.php:2590 settings.php:2772
3763
  msgid "Process PHP code"
3764
  msgstr ""
3765
 
3766
- #: settings.php:2527
3767
  msgid "HTML Page Header Code"
3768
  msgstr ""
3769
 
3770
- #: settings.php:2535
3771
  msgid "Code in the %s section of the HTML page"
3772
  msgstr ""
3773
 
3774
- #: settings.php:2536
3775
  msgctxt "code in the header"
3776
  msgid "NOT ENABLED"
3777
  msgstr ""
3778
 
3779
- #: settings.php:2553 settings.php:2621
3780
  msgid "Use server-side detection to insert code only for"
3781
  msgstr ""
3782
 
3783
- #: settings.php:2568
3784
  msgid ""
3785
  "Enable insertion of this code into HTML page header on page for Error 404: "
3786
  "Page not found"
3787
  msgstr ""
3788
 
3789
- #: settings.php:2568 settings.php:2636
3790
  msgid "Insert on Error 404 page"
3791
  msgstr ""
3792
 
3793
- #: settings.php:2586
3794
  msgid "Enable insertion of this code into HTML page footer"
3795
  msgstr ""
3796
 
3797
- #: settings.php:2594
3798
  msgid "HTML Page Footer Code"
3799
  msgstr ""
3800
 
3801
  #. translators: %s: HTML tags
3802
- #: settings.php:2602
3803
  msgid "Code before the %s tag of the the HTML page"
3804
  msgstr ""
3805
 
3806
- #: settings.php:2603
3807
  msgctxt "code in the footer"
3808
  msgid "NOT ENABLED"
3809
  msgstr ""
3810
 
3811
- #: settings.php:2636
3812
  msgid ""
3813
  "Enable insertion of this code into HTML page footer on page for Error 404: "
3814
  "Page not found"
3815
  msgstr ""
3816
 
3817
- #: settings.php:2652
3818
  msgid "Code for ad blocking detection inserted. Click for details."
3819
  msgstr ""
3820
 
3821
- #: settings.php:2657
3822
  msgid "Enable detection of ad blocking"
3823
  msgstr ""
3824
 
3825
- #: settings.php:2675
3826
  msgid "Global action when ad blocking is detected"
3827
  msgstr ""
3828
 
3829
- #: settings.php:2681
3830
  msgid "No action for"
3831
  msgstr ""
3832
 
3833
- #: settings.php:2682
3834
  msgid "Exceptions for global action when ad blocking is detected."
3835
  msgstr ""
3836
 
3837
- #: settings.php:2692
3838
  msgid "Delay Action"
3839
  msgstr ""
3840
 
3841
- #: settings.php:2695
3842
  msgid ""
3843
  "Number of page views to delay action when ad blocking is detected. Leave "
3844
  "empty for no delay (action fires on first page view). Sets cookie."
3845
  msgstr ""
3846
 
3847
- #: settings.php:2695
3848
  msgctxt "Delay Action for x "
3849
  msgid "page views"
3850
  msgstr ""
3851
 
3852
- #: settings.php:2700
3853
  msgid "No Action Period"
3854
  msgstr ""
3855
 
3856
- #: settings.php:2703
3857
  msgid ""
3858
  "Number of days to supress action when ad blocking is detected. Leave empty "
3859
  "for no no-action period (action fires always after defined page view delay). "
3860
  "Sets cookie."
3861
  msgstr ""
3862
 
3863
- #: settings.php:2703
3864
  msgctxt "no action period"
3865
  msgid "days"
3866
  msgstr ""
3867
 
3868
- #: settings.php:2708
3869
  msgid "Custom Selectors"
3870
  msgstr ""
3871
 
3872
- #: settings.php:2711
3873
  msgid ""
3874
  "Comma seprarated list of selectors (.class, #id) used for additional ad "
3875
  "blocking detection. Invisible element or element with zero height means ad "
3876
  "blocking is present."
3877
  msgstr ""
3878
 
3879
- #: settings.php:2723
3880
  msgid "Redirection Page"
3881
  msgstr ""
3882
 
3883
- #: settings.php:2735
3884
  msgid "Custom Url"
3885
  msgstr ""
3886
 
3887
- #: settings.php:2740
3888
  msgid ""
3889
  "Static page for redirection when ad blocking is detected. For other pages "
3890
  "select Custom url and set it below."
3891
  msgstr ""
3892
 
3893
- #: settings.php:2749
3894
  msgid "Custom Redirection Url"
3895
  msgstr ""
3896
 
3897
- #: settings.php:2761
3898
  msgid "Message HTML code"
3899
  msgstr ""
3900
 
3901
- #: settings.php:2774
3902
  msgid "Preview message when ad blocking is detected"
3903
  msgstr ""
3904
 
3905
- #: settings.php:2803
3906
  msgid "Prevent visitors from closing the warning message"
3907
  msgstr ""
3908
 
3909
- #: settings.php:2803
3910
  msgid "Undismissible Message"
3911
  msgstr ""
3912
 
3913
- #: settings.php:2809
3914
  msgid "Not undismissible for"
3915
  msgstr ""
3916
 
3917
- #: settings.php:2810
3918
  msgid "Users which can close the warning message."
3919
  msgstr ""
3920
 
3921
- #: settings.php:2824
3922
  msgid ""
3923
  "Force showing admin toolbar for administrators when viewing site. Enable "
3924
  "this option when you are logged in as admin and you don't see admin toolbar."
3925
  msgstr ""
3926
 
3927
- #: settings.php:2832
3928
  msgid "Disable header code (Header tab)"
3929
  msgstr ""
3930
 
3931
- #: settings.php:2836
3932
  msgid "Disable footer code (Footer tab)"
3933
  msgstr ""
3934
 
3935
  #. translators: %s: Ad Inserter
3936
- #: settings.php:2840
3937
  msgid "Disable %s JavaScript code"
3938
  msgstr ""
3939
 
3940
  #. translators: %s: Ad Inserter
3941
- #: settings.php:2844
3942
  msgid "Disable %s CSS code"
3943
  msgstr ""
3944
 
3945
- #: settings.php:2848
3946
  msgid ""
3947
  "Disable PHP code processing (in all blocks including header and footer code)"
3948
  msgstr ""
3949
 
3950
- #: settings.php:2852
3951
  msgid "Disable insertion of all blocks"
3952
  msgstr ""
3953
 
3954
- #: settings.php:2856
3955
  msgid "Disable insertions"
3956
  msgstr ""
3957
 
3958
  #. translators: %s: Ad Inserter
3959
- #: settings.php:2868
3960
  msgid "%s CSS CODE"
3961
  msgstr ""
3962
 
3963
- #: settings.php:2871
3964
  msgid "HEADER CODE"
3965
  msgstr ""
3966
 
3967
  #. translators: %s: PHP tags
3968
- #: settings.php:2877
3969
  msgid "BLOCK PHP CODE"
3970
  msgstr ""
3971
 
3972
  #. translators: %s: Ad Inserter
3973
- #: settings.php:2883
3974
  msgid "%s JS CODE"
3975
  msgstr ""
3976
 
3977
- #: settings.php:2886
3978
  msgid "FOOTER CODE"
3979
  msgstr ""
3980
 
3981
- #: settings.php:2895
3982
  msgid "Force showing admin toolbar when viewing site"
3983
  msgstr ""
3984
 
3985
- #: settings.php:2902
3986
  msgid "Enable debugging functions in admin toolbar"
3987
  msgstr ""
3988
 
3989
- #: settings.php:2904
3990
  msgid "Debugging functions in admin toolbar"
3991
  msgstr ""
3992
 
3993
- #: settings.php:2911
3994
  msgid "Enable debugging functions in admin toolbar on mobile screens"
3995
  msgstr ""
3996
 
3997
- #: settings.php:2913
3998
  msgid "Debugging functions on mobile screens"
3999
  msgstr ""
4000
 
4001
- #: settings.php:2920
4002
  msgid ""
4003
  "Enable Debugger widget and code insertion debugging (blocks, positions, "
4004
  "tags, processing) by url parameters for non-logged in users. Enable this "
@@ -4007,228 +4011,228 @@ msgid ""
4007
  "administrators debugging is always enabled."
4008
  msgstr ""
4009
 
4010
- #: settings.php:2922
4011
  msgid "Remote debugging"
4012
  msgstr ""
4013
 
4014
- #: settings.php:2929
4015
  msgid ""
4016
  "Disable translation to see original texts for the settings and messages in "
4017
  "English"
4018
  msgstr ""
4019
 
4020
- #: settings.php:2931
4021
  msgid "Disable translation"
4022
  msgstr ""
4023
 
4024
- #: settings.php:3305
4025
  msgid "Available positions for current theme"
4026
  msgstr ""
4027
 
4028
- #: settings.php:3306
4029
  msgid "Error checking pages"
4030
  msgstr ""
4031
 
4032
- #: settings.php:3309
4033
  msgid "Toggle theme checker for available positions for automatic insertion"
4034
  msgstr ""
4035
 
4036
- #: settings.php:3309
4037
  msgctxt "Button"
4038
  msgid "Check"
4039
  msgstr ""
4040
 
4041
- #: settings.php:3316
4042
  msgid "Position"
4043
  msgstr ""
4044
 
4045
- #: settings.php:3321
4046
  msgid "Archive pages"
4047
  msgstr ""
4048
 
4049
- #: settings.php:3380
4050
  msgid ""
4051
  "Position not available because output buffering (tab [*]) is not enabled"
4052
  msgstr ""
4053
 
4054
- #: settings.php:3383 strings.php:226
4055
  msgid "Position not checked yet"
4056
  msgstr ""
4057
 
4058
- #: settings.php:3419
4059
  msgid "Toggle active/all blocks"
4060
  msgstr ""
4061
 
4062
- #: settings.php:3423 strings.php:213
4063
  msgid "Rearrange block order"
4064
  msgstr ""
4065
 
4066
- #: settings.php:3428
4067
  msgid "Save new block order"
4068
  msgstr ""
4069
 
4070
- #: settings.php:3454
4071
  msgid "Toggle active/all ad units"
4072
  msgstr ""
4073
 
4074
- #: settings.php:3458
4075
  msgid "Reload AdSense ad units"
4076
  msgstr ""
4077
 
4078
- #: settings.php:3462
4079
  msgid "Clear authorization to access AdSense account"
4080
  msgstr ""
4081
 
4082
- #: settings.php:3466 settings.php:4262 settings.php:4329 strings.php:221
4083
  msgid "Google AdSense Homepage"
4084
  msgstr ""
4085
 
4086
- #: settings.php:3482
4087
  msgid "Switch to physical ads.txt file"
4088
  msgstr ""
4089
 
4090
- #: settings.php:3483
4091
  msgid "Switch to virtual ads.txt file"
4092
  msgstr ""
4093
 
4094
  #. translators: %s: ads.txt
4095
- #: settings.php:3493
4096
  msgid "Open %s"
4097
  msgstr ""
4098
 
4099
- #: settings.php:3501
4100
  msgid "Reload ads.txt file"
4101
  msgstr ""
4102
 
4103
- #: settings.php:3505 settings.php:4389
4104
  msgid "Save"
4105
  msgstr ""
4106
 
4107
  #. translators: %s: Ad Inserter
4108
- #: settings.php:3680
4109
  msgid "ads.txt file: %s virtual ads.txt file"
4110
  msgstr ""
4111
 
4112
- #: settings.php:3685 settings.php:3705 strings.php:205
4113
  msgid "Warning"
4114
  msgstr ""
4115
 
4116
  #. translators: %s: Ad Inserter
4117
- #: settings.php:3685
4118
  msgid "%s virtual file ads.txt not found"
4119
  msgstr ""
4120
 
4121
- #: settings.php:3693
4122
  msgid "IMPORTANT"
4123
  msgstr ""
4124
 
4125
- #: settings.php:3693
4126
  msgid "ads.txt file must be placed on the root domain"
4127
  msgstr ""
4128
 
4129
- #: settings.php:3698
4130
  msgid "ads.txt file"
4131
  msgstr ""
4132
 
4133
- #: settings.php:3698
4134
  msgid "NOT WRITABLE"
4135
  msgstr ""
4136
 
4137
- #: settings.php:3705
4138
  msgid "file %s not found"
4139
  msgstr ""
4140
 
4141
- #: settings.php:3715
4142
  msgid "Account IDs found in blocks but not present in the ads.txt file"
4143
  msgstr ""
4144
 
4145
  #. translators: %s: Ad Inserter
4146
- #: settings.php:3721
4147
  msgid "%s virtual ads.txt file"
4148
  msgstr ""
4149
 
4150
- #: settings.php:3743
4151
  msgid "Advertising system"
4152
  msgstr ""
4153
 
4154
- #: settings.php:3744
4155
  msgid "Account ID"
4156
  msgstr ""
4157
 
4158
- #: settings.php:3746
4159
  msgid "Certification authority ID"
4160
  msgstr ""
4161
 
4162
- #: settings.php:3761
4163
  msgid "Account ID found in block and present in ads.txt"
4164
  msgstr ""
4165
 
4166
- #: settings.php:3765
4167
  msgid "Account ID found in block but not present in ads.txt"
4168
  msgstr ""
4169
 
4170
- #: settings.php:4052
4171
  msgid "Preview block"
4172
  msgstr ""
4173
 
4174
- #: settings.php:4061
4175
  msgid "Insertion disabled"
4176
  msgstr ""
4177
 
4178
- #: settings.php:4091
4179
  msgid "Automatic insertion"
4180
  msgstr ""
4181
 
4182
  #. translators: %s HTML tags
4183
- #: settings.php:4092 settings.php:5077
4184
  msgid "PHP code processing"
4185
  msgstr ""
4186
 
4187
- #: settings.php:4094
4188
  msgid "Device detection"
4189
  msgstr ""
4190
 
4191
- #: settings.php:4107
4192
  msgid "Widget positions"
4193
  msgstr ""
4194
 
4195
- #: settings.php:4173
4196
  msgid "Ad unit"
4197
  msgstr ""
4198
 
4199
- #: settings.php:4175
4200
  msgid "Slot ID"
4201
  msgstr ""
4202
 
4203
- #: settings.php:4201
4204
  msgid "Copy AdSense code"
4205
  msgstr ""
4206
 
4207
- #: settings.php:4204
4208
  msgid "Preview AdSense ad"
4209
  msgstr ""
4210
 
4211
- #: settings.php:4207
4212
  msgid "Get AdSense code"
4213
  msgstr ""
4214
 
4215
  #. translators: %s: HTML tags
4216
- #: settings.php:4239
4217
  msgid ""
4218
  "Please %s clear authorization %s with the button %s above and once again "
4219
  "authorize access to your AdSense account."
4220
  msgstr ""
4221
 
4222
- #: settings.php:4258
4223
  msgid "AdSense Integration"
4224
  msgstr ""
4225
 
4226
- #: settings.php:4260
4227
  msgid "AdSense Integration - Step 2"
4228
  msgstr ""
4229
 
4230
  #. translators: %s: HTML tags
4231
- #: settings.php:4266
4232
  msgid ""
4233
  "Authorize %s to access your AdSense account. Click on the %s Get "
4234
  "Authorization Code %s button to open a new window where you can allow "
@@ -4237,7 +4241,7 @@ msgid ""
4237
  msgstr ""
4238
 
4239
  #. translators: %s: HTML tags
4240
- #: settings.php:4273
4241
  msgid ""
4242
  "If you get error, can't access ad units or would like to use own Google API "
4243
  "IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
@@ -4245,7 +4249,7 @@ msgid ""
4245
  msgstr ""
4246
 
4247
  #. translators: %s: HTML tags
4248
- #: settings.php:4275
4249
  msgid ""
4250
  "Now you can authorize %s to access your AdSense account. Click on the %s Get "
4251
  "Authorization Code %s button to open a new window where you can allow "
@@ -4254,38 +4258,38 @@ msgid ""
4254
  msgstr ""
4255
 
4256
  #. translators: %s: HTML tags
4257
- #: settings.php:4282
4258
  msgid ""
4259
  "If you get error %s invalid client %s click on the button %s Clear and "
4260
  "return to Step 1 %s to re-enter Client ID and Client Secret."
4261
  msgstr ""
4262
 
4263
- #: settings.php:4293
4264
  msgid "Get Authorization Code"
4265
  msgstr ""
4266
 
4267
- #: settings.php:4296
4268
  msgid "Enter Authorization Code"
4269
  msgstr ""
4270
 
4271
- #: settings.php:4306
4272
  msgid "Use own API IDs"
4273
  msgstr ""
4274
 
4275
- #: settings.php:4308
4276
  msgid "Clear and return to Step 1"
4277
  msgstr ""
4278
 
4279
- #: settings.php:4312
4280
  msgid "Authorize"
4281
  msgstr ""
4282
 
4283
- #: settings.php:4328
4284
  msgid "AdSense Integration - Step 1"
4285
  msgstr ""
4286
 
4287
  #. translators: %s: Ad Inserter
4288
- #: settings.php:4332
4289
  msgid ""
4290
  "Here can %s list configured AdSense ad units and get code for AdSense ads. "
4291
  "To do this you need to authorize %s to access your AdSense account. The "
@@ -4294,197 +4298,197 @@ msgid ""
4294
  msgstr ""
4295
 
4296
  #. translators: %s: HTML tags
4297
- #: settings.php:4341
4298
  msgid "Go to %s Google APIs and Services console %s"
4299
  msgstr ""
4300
 
4301
  #. translators: %1: Ad Inserter, 2, 3: HTML tags
4302
- #: settings.php:4342
4303
  msgid ""
4304
  "Create %1$s project - if the project and IDs are already created click on "
4305
  "the %2$s Credentials %3$s in the sidebar and go to step 16"
4306
  msgstr ""
4307
 
4308
  #. translators: %s: HTML tags
4309
- #: settings.php:4343
4310
  msgid ""
4311
  "Click on project selection and then click on the %s NEW PROJECT %s button to "
4312
  "create a new project"
4313
  msgstr ""
4314
 
4315
  #. translators: 1: Ad Inserter, 2, 3: HTML tags
4316
- #: settings.php:4344
4317
  msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
4318
  msgstr ""
4319
 
4320
  #. translators: %s: HTML tags
4321
- #: settings.php:4345
4322
  msgid ""
4323
  "Click on project selection, wait for the project to be created and then and "
4324
  "select %s as the current project"
4325
  msgstr ""
4326
 
4327
  #. translators: %s: HTML tags
4328
- #: settings.php:4346
4329
  msgid "Click on %s ENABLE APIS AND SERVICES %s"
4330
  msgstr ""
4331
 
4332
  #. translators: %s: HTML tags
4333
- #: settings.php:4347
4334
  msgid "Search for adsense and enable %s"
4335
  msgstr ""
4336
 
4337
  #. translators: %s: HTML tags
4338
- #: settings.php:4348
4339
  msgid "Click on %s CREATE CREDENTIALS %s"
4340
  msgstr ""
4341
 
4342
  #. translators: %s: HTML tags
4343
- #: settings.php:4349
4344
  msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
4345
  msgstr ""
4346
 
4347
  #. translators: %s: HTML tags
4348
- #: settings.php:4350
4349
  msgid "For %s What data will you be accessing? %s select %s User data %s"
4350
  msgstr ""
4351
 
4352
  #. translators: %s: HTML tags
4353
- #: settings.php:4351
4354
  msgid "Click on %s What credentials do I need? %s"
4355
  msgstr ""
4356
 
4357
  #. translators: %s: HTML tags
4358
- #: settings.php:4352
4359
  msgid ""
4360
  "Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
4361
  "Ad Inserter client %s"
4362
  msgstr ""
4363
 
4364
  #. translators: %s: HTML tags
4365
- #: settings.php:4353
4366
  msgid ""
4367
  "Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
4368
  "enter %s"
4369
  msgstr ""
4370
 
4371
  #. translators: %s: HTML tags
4372
- #: settings.php:4354
4373
  msgid "Click on %s Continue %s"
4374
  msgstr ""
4375
 
4376
  #. translators: %s: HTML tags
4377
- #: settings.php:4355
4378
  msgid "Click on %s Done %s"
4379
  msgstr ""
4380
 
4381
  #. translators: %s: HTML tags
4382
- #: settings.php:4356
4383
  msgid ""
4384
  "Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
4385
  "secret %s"
4386
  msgstr ""
4387
 
4388
- #: settings.php:4357
4389
  msgid "Copy them to the appropriate fields below"
4390
  msgstr ""
4391
 
4392
- #: settings.php:4363
4393
  msgid "Client ID"
4394
  msgstr ""
4395
 
4396
- #: settings.php:4366
4397
  msgid "Enter Client ID"
4398
  msgstr ""
4399
 
4400
- #: settings.php:4371
4401
  msgid "Client secret"
4402
  msgstr ""
4403
 
4404
- #: settings.php:4374
4405
  msgid "Enter Client secret"
4406
  msgstr ""
4407
 
4408
- #: settings.php:4384
4409
  msgid "Use default API IDs"
4410
  msgstr ""
4411
 
4412
- #: settings.php:4537
4413
  msgid "All posts"
4414
  msgstr ""
4415
 
4416
- #: settings.php:4538
4417
  msgid "All static pages"
4418
  msgstr ""
4419
 
4420
- #: settings.php:4689 settings.php:4702 settings.php:4716 settings.php:4732
4421
  msgid "Blank ad blocks? Looking for AdSense alternative?"
4422
  msgstr ""
4423
 
4424
- #: settings.php:4694 settings.php:4707 settings.php:4721 settings.php:4737
4425
- #: settings.php:4967 settings.php:4969 settings.php:4986 settings.php:4990
4426
- #: settings.php:4998 settings.php:4999 settings.php:5002 settings.php:5008
4427
- #: settings.php:5018 settings.php:5022
4428
  msgid "Looking for AdSense alternative?"
4429
  msgstr ""
4430
 
4431
- #: settings.php:4749
4432
  msgid "Try Infolinks Ads with Adsense or Media.net ads"
4433
  msgstr ""
4434
 
4435
- #: settings.php:4754 settings.php:4965 settings.php:4977 settings.php:5005
4436
- #: settings.php:5032
4437
  msgid "Use Infolinks ads with Adsense to earn more"
4438
  msgstr ""
4439
 
4440
- #: settings.php:4764 settings.php:4769 settings.php:4779 settings.php:4784
4441
- #: settings.php:4963 settings.php:4982 settings.php:5009 settings.php:5027
4442
  msgid "Maximize your revenue!"
4443
  msgstr ""
4444
 
4445
- #: settings.php:4805 settings.php:4856
4446
  msgid "Support plugin development"
4447
  msgstr ""
4448
 
4449
- #: settings.php:4810 settings.php:4857
4450
  msgid ""
4451
  "If you like Ad Inserter and have a moment, please help me spread the word by "
4452
  "reviewing the plugin on WordPres"
4453
  msgstr ""
4454
 
4455
- #: settings.php:4810
4456
  msgctxt "Review Ad Inserter"
4457
  msgid "Review"
4458
  msgstr ""
4459
 
4460
- #: settings.php:4815
4461
  msgid ""
4462
  "If you like Ad Inserter and have a moment, please help me spread the word by "
4463
  "rating the plugin on WordPres"
4464
  msgstr ""
4465
 
4466
- #: settings.php:4815
4467
  msgctxt "Rate Ad Inserter"
4468
  msgid "Rate"
4469
  msgstr ""
4470
 
4471
- #: settings.php:4820
4472
  msgid ""
4473
  "Support free Ad Inserter development. If you are making money with Ad "
4474
  "Inserter consider donating some small amount. Even 1 dollar counts. Thank "
4475
  "you!"
4476
  msgstr ""
4477
 
4478
- #: settings.php:4820
4479
  msgid "Donate"
4480
  msgstr ""
4481
 
4482
- #: settings.php:4827 settings.php:4872
4483
  msgid "Average rating of the plugin - Thank you!"
4484
  msgstr ""
4485
 
4486
  #. translators: %s: Ad Inserter, HTML tags
4487
- #: settings.php:4838
4488
  msgid ""
4489
  "You've been using %s for a while now, and I hope you're happy with it. "
4490
  "Positive %s reviews %s are a great way to show your appreciation for my "
@@ -4493,31 +4497,31 @@ msgid ""
4493
  "your website. %s Thank you!"
4494
  msgstr ""
4495
 
4496
- #: settings.php:4857
4497
  msgid "Review"
4498
  msgstr ""
4499
 
4500
- #: settings.php:4861
4501
  msgid "Ad Inserter on Twitter"
4502
  msgstr ""
4503
 
4504
- #: settings.php:4862
4505
  msgid "Ad Inserter on Facebook"
4506
  msgstr ""
4507
 
4508
- #: settings.php:4865
4509
  msgid "Follow Ad Inserter"
4510
  msgstr ""
4511
 
4512
  #. translators: %s: HTML tags
4513
- #: settings.php:4892
4514
  msgid ""
4515
  "Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
4516
  "and %s Common Settings %s pages"
4517
  msgstr ""
4518
 
4519
  #. translators: %s: HTML tags
4520
- #: settings.php:4904
4521
  msgid ""
4522
  "%s New to %s AdSense? %s %s %s Connect your site %s - %s In-feed ads, %s %s "
4523
  "Auto ads, %s %s AMP ads %s &mdash; How to %s integrate %s Infolinks %s ad "
@@ -4525,330 +4529,330 @@ msgid ""
4525
  msgstr ""
4526
 
4527
  #. translators: %s: HTML tags
4528
- #: settings.php:4925
4529
  msgid ""
4530
  "Become an %s affiliate %s for Ad Inserter Pro and earn commission for each "
4531
  "purchase you refer to us"
4532
  msgstr ""
4533
 
4534
  #. translators: %s: HTML tags
4535
- #: settings.php:4932
4536
  msgid ""
4537
  "Ads are not showing? Check %s troubleshooting guide %s to find out how to "
4538
  "diagnose and fix the problem."
4539
  msgstr ""
4540
 
4541
  #. translators: %s: HTML tags
4542
- #: settings.php:4936
4543
  msgid ""
4544
  "If you need any kind of help or support, please do not hesitate to open a "
4545
  "thread on the %s support forum. %s"
4546
  msgstr ""
4547
 
4548
- #: settings.php:4962 settings.php:5031
4549
  msgid "Code preview with visual CSS editor"
4550
  msgstr ""
4551
 
4552
- #: settings.php:4981 settings.php:5026
4553
  msgid "A/B testing - Track ad impressions and clicks"
4554
  msgstr ""
4555
 
4556
- #: settings.php:5040
4557
  msgid "Looking for Pro Ad Management plugin?"
4558
  msgstr ""
4559
 
4560
- #: settings.php:5041
4561
  msgid "To Optimally Monetize your WordPress website?"
4562
  msgstr ""
4563
 
4564
  #. Translators: %s: price of Ad Inserter Pro
4565
- #: settings.php:5042
4566
  msgid "Different license types starting from %s"
4567
  msgstr ""
4568
 
4569
  #. translators: %s HTML tags
4570
- #: settings.php:5045
4571
  msgid "%s AdSense Integration %s"
4572
  msgstr ""
4573
 
4574
  #. translators: %s HTML tags
4575
- #: settings.php:5046
4576
  msgid "Syntax highlighting %s editor %s"
4577
  msgstr ""
4578
 
4579
  #. translators: %s HTML tags
4580
- #: settings.php:5047
4581
  msgid "%s Code preview %s with visual CSS editor"
4582
  msgstr ""
4583
 
4584
  #. translators: %s HTML tags
4585
- #: settings.php:5048
4586
  msgid "Simple user interface - all settings on a single page"
4587
  msgstr ""
4588
 
4589
  #. translators: %s HTML tags
4590
- #: settings.php:5049
4591
  msgid ""
4592
  "%s Automatic insertion %s before or after post / content / %s paragraph %s / "
4593
  "image / excerpt"
4594
  msgstr ""
4595
 
4596
  #. translators: %s HTML tags
4597
- #: settings.php:5050
4598
  msgid "%s Automatic insertion %s between posts on blog pages"
4599
  msgstr ""
4600
 
4601
  #. translators: %s HTML tags
4602
- #: settings.php:5051
4603
  msgid "%s Automatic insertion %s before, between and after comments"
4604
  msgstr ""
4605
 
4606
  #. translators: %s HTML tags
4607
- #: settings.php:5052
4608
  msgid "%s Automatic insertion %s after %s or before %s tag"
4609
  msgstr ""
4610
 
4611
  #. translators: %s HTML tags
4612
- #: settings.php:5053
4613
  msgid "Automatic insertion at %s custom hook positions %s"
4614
  msgstr ""
4615
 
4616
  #. translators: %s HTML tags
4617
- #: settings.php:5054
4618
  msgid ""
4619
  "Insertion %s before or after any HTML element on the page %s (using CSS "
4620
  "selectors)"
4621
  msgstr ""
4622
 
4623
  #. translators: %s HTML tags
4624
- #: settings.php:5055
4625
  msgid "%s Insertion exceptions %s for individual posts and pages"
4626
  msgstr ""
4627
 
4628
  #. translators: %s HTML tags
4629
- #: settings.php:5056
4630
  msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
4631
  msgstr ""
4632
 
4633
  #. translators: %s HTML tags
4634
- #: settings.php:5057
4635
  msgid ""
4636
  "%s Sticky ads %s with optional close button (ads stay fixed when the page "
4637
  "scrolls)"
4638
  msgstr ""
4639
 
4640
  #. translators: %s HTML tags
4641
- #: settings.php:5058
4642
  msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
4643
  msgstr ""
4644
 
4645
  #. translators: %s HTML tags
4646
- #: settings.php:5059
4647
  msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
4648
  msgstr ""
4649
 
4650
  #. translators: %s HTML tags
4651
- #: settings.php:5060
4652
  msgid ""
4653
  "%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
4654
  "visible)"
4655
  msgstr ""
4656
 
4657
  #. translators: %s HTML tags
4658
- #: settings.php:5061
4659
  msgid ""
4660
  "%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
4661
  msgstr ""
4662
 
4663
  #. translators: %s HTML tags
4664
- #: settings.php:5062
4665
  msgid "Block %s alignment and style %s customizations"
4666
  msgstr ""
4667
 
4668
  #. translators: %s HTML tags
4669
- #: settings.php:5063
4670
  msgid ""
4671
  "%s Clearance %s options to avoid insertion near images or headers (AdSense "
4672
  "TOS)"
4673
  msgstr ""
4674
 
4675
  #. translators: %s HTML tags
4676
- #: settings.php:5064
4677
  msgid ""
4678
  "Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
4679
  "feeds"
4680
  msgstr ""
4681
 
4682
  #. translators: %s HTML tags
4683
- #: settings.php:5065
4684
  msgid "%s Ad rotation %s (works also with caching)"
4685
  msgstr ""
4686
 
4687
  #. translators: %s HTML tags
4688
- #: settings.php:5066
4689
  msgid "Create, edit and check %s ads.txt %s file"
4690
  msgstr ""
4691
 
4692
  #. translators: %s HTML tags
4693
- #: settings.php:5067
4694
  msgid ""
4695
  "Ad impression and click %s tracking %s (works also with Javascript ads like "
4696
  "AdSense)"
4697
  msgstr ""
4698
 
4699
  #. translators: %s HTML tags
4700
- #: settings.php:5068
4701
  msgid "Internal or external %s tracking %s (via Google Analytics or Matomo)"
4702
  msgstr ""
4703
 
4704
  #. translators: %s HTML tags
4705
- #: settings.php:5069
4706
  msgid "%s Public web reports %s for clients, export to PDF"
4707
  msgstr ""
4708
 
4709
  #. translators: %s HTML tags
4710
- #: settings.php:5070
4711
  msgid "Support for %s A/B testing %s"
4712
  msgstr ""
4713
 
4714
  #. translators: %s HTML tags
4715
- #: settings.php:5071
4716
  msgid "Frequency capping - %s limit impressions or clicks %s"
4717
  msgstr ""
4718
 
4719
  #. translators: %s HTML tags
4720
- #: settings.php:5072
4721
  msgid "Click fraud %s protection %s"
4722
  msgstr ""
4723
 
4724
  #. translators: %s HTML tags
4725
- #: settings.php:5073
4726
  msgid "Support for %s lazy loading %s"
4727
  msgstr ""
4728
 
4729
  #. translators: %s HTML tags
4730
- #: settings.php:5074
4731
  msgid "Support for ads on %s AMP pages %s"
4732
  msgstr ""
4733
 
4734
  #. translators: %s HTML tags
4735
- #: settings.php:5075
4736
  msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
4737
  msgstr ""
4738
 
4739
  #. translators: %s HTML tags
4740
- #: settings.php:5076
4741
  msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
4742
  msgstr ""
4743
 
4744
  #. translators: %s HTML tags
4745
- #: settings.php:5078
4746
  msgid "%s Banner %s code generator"
4747
  msgstr ""
4748
 
4749
  #. translators: %s HTML tags
4750
- #: settings.php:5079
4751
  msgid "Support for %s header and footer %s code"
4752
  msgstr ""
4753
 
4754
  #. translators: %s HTML tags
4755
- #: settings.php:5080
4756
  msgid "Support for Google Analytics, Matomo or any other web analytics code"
4757
  msgstr ""
4758
 
4759
  #. translators: %s HTML tags
4760
- #: settings.php:5081
4761
  msgid "Desktop, tablet and phone server-side %s device detection %s"
4762
  msgstr ""
4763
 
4764
  #. translators: %s HTML tags
4765
- #: settings.php:5082
4766
  msgid "Client-side %s mobile device detection %s (works with caching)"
4767
  msgstr ""
4768
 
4769
  #. translators: %s HTML tags
4770
- #: settings.php:5083
4771
  msgid ""
4772
  "%s Ad blocking detection %s - popup message, ad replacement, content "
4773
  "protection"
4774
  msgstr ""
4775
 
4776
  #. translators: %s HTML tags
4777
- #: settings.php:5084
4778
  msgid "%s Ad blocking statistics %s"
4779
  msgstr ""
4780
 
4781
  #. translators: %s HTML tags
4782
- #: settings.php:5085
4783
  msgid ""
4784
  "%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
4785
  "referrers, operating systems, browsers"
4786
  msgstr ""
4787
 
4788
  #. translators: %s HTML tags
4789
- #: settings.php:5086
4790
  msgid ""
4791
  "%s Black/White-list %s IP addresses or countries (works also with caching)"
4792
  msgstr ""
4793
 
4794
  #. translators: %s HTML tags
4795
- #: settings.php:5087
4796
  msgid "%s Multisite options %s to limit settings on the sites"
4797
  msgstr ""
4798
 
4799
  #. translators: %s HTML tags
4800
- #: settings.php:5088
4801
  msgid "%s Import/Export %s block or plugin settings"
4802
  msgstr ""
4803
 
4804
  #. translators: %s HTML tags
4805
- #: settings.php:5089
4806
  msgid "%s Insertion scheduling %s with fallback option"
4807
  msgstr ""
4808
 
4809
  #. translators: %s HTML tags
4810
- #: settings.php:5090
4811
  msgid "Country-level %s GEO targeting %s (works also with caching)"
4812
  msgstr ""
4813
 
4814
  #. translators: %s HTML tags
4815
- #: settings.php:5091
4816
  msgid "Simple troubleshooting with many %s debugging functions %s"
4817
  msgstr ""
4818
 
4819
  #. translators: %s HTML tags
4820
- #: settings.php:5092
4821
  msgid "%s Visualization %s of inserted blocks or ads for easier placement"
4822
  msgstr ""
4823
 
4824
  #. translators: %s HTML tags
4825
- #: settings.php:5093
4826
  msgid "%s Visualization %s of available positions for automatic ad insertion"
4827
  msgstr ""
4828
 
4829
  #. translators: %s HTML tags
4830
- #: settings.php:5094
4831
  msgid ""
4832
  "%s Visualization %s of HTML tags for easier ad placement between paragraphs"
4833
  msgstr ""
4834
 
4835
  #. translators: %s HTML tags
4836
- #: settings.php:5095
4837
  msgid "%s Clipboard support %s to easily copy blocks or settings"
4838
  msgstr ""
4839
 
4840
  #. translators: %s HTML tags
4841
- #: settings.php:5096
4842
  msgid "No ads on the settings page"
4843
  msgstr ""
4844
 
4845
  #. translators: %s HTML tags
4846
- #: settings.php:5097
4847
  msgid "Premium support"
4848
  msgstr ""
4849
 
4850
  #. translators: %s HTML tags
4851
- #: settings.php:5100
4852
  msgid ""
4853
  "Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
4854
  "website with many advertising features to automatically insert adverts on "
@@ -4863,82 +4867,82 @@ msgid ""
4863
  msgstr ""
4864
 
4865
  #. translators: %s HTML tags
4866
- #: settings.php:5113
4867
  msgid "Looking for %s Pro Ad Management plugin? %s"
4868
  msgstr ""
4869
 
4870
  #. translators: %s HTML tags
4871
- #: settings.php:5118
4872
  msgid "Ads between posts"
4873
  msgstr ""
4874
 
4875
  #. translators: %s HTML tags
4876
- #: settings.php:5119
4877
  msgid "Ads between comments"
4878
  msgstr ""
4879
 
4880
  #. translators: %s HTML tags
4881
- #: settings.php:5120
4882
  msgid "Support via email"
4883
  msgstr ""
4884
 
4885
  #. translators: %s HTML tags
4886
- #: settings.php:5126
4887
  msgid "%s Sticky positions %s"
4888
  msgstr ""
4889
 
4890
  #. translators: %s HTML tags
4891
- #: settings.php:5127
4892
  msgid "%s Limit insertions %s"
4893
  msgstr ""
4894
 
4895
  #. translators: %s HTML tags
4896
- #: settings.php:5128
4897
  msgid "%s Clearance %s options"
4898
  msgstr ""
4899
 
4900
  #. translators: %s HTML tags
4901
- #: settings.php:5134
4902
  msgid "Ad rotation"
4903
  msgstr ""
4904
 
4905
  #. translators: %s HTML tags
4906
- #: settings.php:5135
4907
  msgid "%s A/B testing %s"
4908
  msgstr ""
4909
 
4910
  #. translators: %s HTML tags
4911
- #: settings.php:5136
4912
  msgid "%s Ad tracking %s"
4913
  msgstr ""
4914
 
4915
  #. translators: %s HTML tags
4916
- #: settings.php:5142
4917
  msgid "Support for %s AMP pages %s"
4918
  msgstr ""
4919
 
4920
  #. translators: %s HTML tags
4921
- #: settings.php:5143
4922
  msgid "%s Ad blocking detection %s"
4923
  msgstr ""
4924
 
4925
  #. translators: %s HTML tags
4926
- #: settings.php:5144
4927
  msgid "%s Mobile device detection %s"
4928
  msgstr ""
4929
 
4930
  #. translators: %s HTML tags
4931
- #: settings.php:5151
4932
  msgid "64 code blocks"
4933
  msgstr ""
4934
 
4935
  #. translators: %s HTML tags
4936
- #: settings.php:5152
4937
  msgid "%s GEO targeting %s"
4938
  msgstr ""
4939
 
4940
  #. translators: %s HTML tags
4941
- #: settings.php:5153
4942
  msgid "%s Scheduling %s"
4943
  msgstr ""
4944
 
@@ -5516,204 +5520,214 @@ msgctxt "AdSense Ad Type"
5516
  msgid "Auto Ads"
5517
  msgstr ""
5518
 
5519
- #: strings.php:175
 
 
 
 
 
5520
  msgctxt "AMP ad"
5521
  msgid "Disabled"
5522
  msgstr ""
5523
 
5524
- #: strings.php:176
5525
  msgid "Above the fold"
5526
  msgstr ""
5527
 
5528
- #: strings.php:177
5529
  msgid "Below the fold"
5530
  msgstr ""
5531
 
5532
  #: strings.php:179
 
 
 
 
 
5533
  msgctxt "size"
5534
  msgid "Fixed"
5535
  msgstr ""
5536
 
5537
- #: strings.php:180
5538
  msgctxt "size"
5539
  msgid "Responsive"
5540
  msgstr ""
5541
 
5542
- #: strings.php:181
5543
  msgctxt "size"
5544
  msgid "Fixed by viewport"
5545
  msgstr ""
5546
 
5547
- #: strings.php:185
5548
  msgid "Impressions and clicks"
5549
  msgstr ""
5550
 
5551
- #: strings.php:186
5552
  msgid "Advanced WordPress Ad Management Plugin"
5553
  msgstr ""
5554
 
5555
- #: strings.php:192
5556
  msgctxt "Button"
5557
  msgid "Hide"
5558
  msgstr ""
5559
 
5560
- #: strings.php:193
5561
  msgctxt "Button"
5562
  msgid "Show"
5563
  msgstr ""
5564
 
5565
- #: strings.php:194
5566
  msgid "Insertion expired"
5567
  msgstr ""
5568
 
5569
- #: strings.php:195
5570
  msgid "Duration"
5571
  msgstr ""
5572
 
5573
- #: strings.php:196
5574
  msgid "Invalid end date - must be after start date"
5575
  msgstr ""
5576
 
5577
- #: strings.php:197
5578
  msgid "Invalid start date - only data for 1 year back is available"
5579
  msgstr ""
5580
 
5581
- #: strings.php:198
5582
  msgid "Invalid date range - only data for 1 year can be displayed"
5583
  msgstr ""
5584
 
5585
- #: strings.php:206
5586
  msgid "Delete"
5587
  msgstr ""
5588
 
5589
- #: strings.php:207
5590
  msgid "Switch"
5591
  msgstr ""
5592
 
5593
- #: strings.php:209
5594
  msgid "Delete all statistics data?"
5595
  msgstr ""
5596
 
5597
  #. translators: %s: dates
5598
- #: strings.php:211
5599
  msgid "Delete statistics data between %s and %s?"
5600
  msgstr ""
5601
 
5602
- #: strings.php:212
5603
  msgid "Cancel block order rearrangement"
5604
  msgstr ""
5605
 
5606
- #: strings.php:214
5607
  msgid "downloading..."
5608
  msgstr ""
5609
 
5610
- #: strings.php:215
5611
  msgid "download error"
5612
  msgstr ""
5613
 
5614
- #: strings.php:216
5615
  msgid "update error"
5616
  msgstr ""
5617
 
5618
- #: strings.php:217
5619
  msgid "Updating..."
5620
  msgstr ""
5621
 
5622
- #: strings.php:219
5623
  msgid "ERROR"
5624
  msgstr ""
5625
 
5626
- #: strings.php:220
5627
  msgid "Error reloading settings"
5628
  msgstr ""
5629
 
5630
- #: strings.php:222
5631
  msgctxt "Search field placeholder"
5632
  msgid "Search..."
5633
  msgstr ""
5634
 
5635
- #: strings.php:223
5636
  msgctxt "Search field placeholder"
5637
  msgid "Filter..."
5638
  msgstr ""
5639
 
5640
- #: strings.php:224
5641
  msgid "Use filter to limit names in the list"
5642
  msgstr ""
5643
 
5644
- #: strings.php:225
5645
  msgctxt "Button"
5646
  msgid "Filter"
5647
  msgstr ""
5648
 
5649
- #: strings.php:227
5650
  msgid "Position not available"
5651
  msgstr ""
5652
 
5653
- #: strings.php:228
5654
  msgid ""
5655
  "Theme check | Selected position for automatic insertion might not be not "
5656
  "available on this page type"
5657
  msgstr ""
5658
 
5659
- #: strings.php:229
5660
  msgid "Position available"
5661
  msgstr ""
5662
 
5663
- #: strings.php:231
5664
  msgid "Select or upload banner image"
5665
  msgstr ""
5666
 
5667
- #: strings.php:232
5668
  msgid "Use this image"
5669
  msgstr ""
5670
 
5671
- #: strings.php:233
5672
  msgid "Switching to physical ads.txt file will delete virtual ads.txt file."
5673
  msgstr ""
5674
 
5675
- #: strings.php:247
5676
  msgid "Add"
5677
  msgstr ""
5678
 
5679
- #: strings.php:248
5680
  msgid "Parent"
5681
  msgstr ""
5682
 
5683
- #: strings.php:249
5684
  msgid "Cancel element selection"
5685
  msgstr ""
5686
 
5687
- #: strings.php:250
5688
  msgid "Select parent element"
5689
  msgstr ""
5690
 
5691
- #: strings.php:251
5692
  msgid "CSS selector"
5693
  msgstr ""
5694
 
5695
- #: strings.php:252
5696
  msgid "Use current selector"
5697
  msgstr ""
5698
 
5699
- #: strings.php:253
5700
  msgid "ELEMENT"
5701
  msgstr ""
5702
 
5703
- #: strings.php:254
5704
  msgid "PATH"
5705
  msgstr ""
5706
 
5707
- #: strings.php:255
5708
  msgid "SELECTOR"
5709
  msgstr ""
5710
 
5711
- #: strings.php:256
5712
  msgctxt "Block"
5713
  msgid "VISIBLE"
5714
  msgstr ""
5715
 
5716
- #: strings.php:257
5717
  msgctxt "Block"
5718
  msgid "HIDDEN"
5719
  msgstr ""
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.5.9\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
+ "POT-Creation-Date: 2019-11-19 17:04:10+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: ad-inserter.php:311
16
  msgctxt "Menu item"
17
  msgid "Debugging DEMO"
18
  msgstr ""
19
 
20
+ #: ad-inserter.php:327
21
  msgctxt "Menu item"
22
  msgid "Label Blocks"
23
  msgstr ""
24
 
25
+ #: ad-inserter.php:334
26
  msgctxt "Menu item"
27
  msgid "Show Positions"
28
  msgstr ""
29
 
30
+ #: ad-inserter.php:419
31
  msgctxt "Menu item"
32
  msgid "Show HTML Tags"
33
  msgstr ""
34
 
35
+ #: ad-inserter.php:426
36
  msgctxt "Menu item"
37
  msgid "Disable Insertion"
38
  msgstr ""
39
 
40
+ #: ad-inserter.php:435
41
  msgctxt "Menu item"
42
  msgid "Ad Blocking Status"
43
  msgstr ""
44
 
45
+ #: ad-inserter.php:442
46
  msgctxt "Menu item"
47
  msgid "Simulate Ad Blocking"
48
  msgstr ""
49
 
50
+ #: ad-inserter.php:452
51
  msgctxt "Menu item"
52
  msgid "Log Processing"
53
  msgstr ""
54
 
55
  #. translators: Debugging position name Before HTML element
56
+ #: ad-inserter.php:1059
57
  msgid "Before"
58
  msgstr ""
59
 
60
  #. translators: Debugging position name After HTML element
61
+ #: ad-inserter.php:1064
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:1069 strings.php:103
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:1074 strings.php:104
74
  msgid "Append content"
75
  msgstr ""
76
 
77
  #. translators: Debugging position name Replace content of HTML element
78
+ #: ad-inserter.php:1079 strings.php:105
79
  msgid "Replace content"
80
  msgstr ""
81
 
82
  #. translators: Debugging position name Replace HTML element
83
+ #: ad-inserter.php:1084 strings.php:155
84
  msgid "Replace"
85
  msgstr ""
86
 
87
  #. translators: Debugging message when output buffering is enabled
88
+ #: ad-inserter.php:1131
89
  msgid "OUTPUT BUFFERING"
90
  msgstr ""
91
 
92
  #. translators: Debugging position
93
+ #: ad-inserter.php:1135
94
  msgid "Above Header"
95
  msgstr ""
96
 
97
+ #: ad-inserter.php:1367
98
  msgctxt "Menu item"
99
  msgid "Log In"
100
  msgstr ""
101
 
102
  #. translators: %s: Ad Inserter
103
+ #: ad-inserter.php:1701 ad-inserter.php:2654
104
  msgid "%s Settings"
105
  msgstr ""
106
 
107
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
108
+ #: ad-inserter.php:2162
109
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
110
  msgstr ""
111
 
112
+ #: ad-inserter.php:2162
113
  msgid "NO ACTION"
114
  msgstr ""
115
 
116
+ #: ad-inserter.php:2163
117
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
118
  msgstr ""
119
 
120
+ #: ad-inserter.php:2164
121
  msgid "AD BLOCKING DETECTED - ACTION"
122
  msgstr ""
123
 
124
+ #: ad-inserter.php:2165
125
  msgid "AD BLOCKING NOT DETECTED"
126
  msgstr ""
127
 
128
+ #: ad-inserter.php:2166
129
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
130
  msgstr ""
131
 
132
+ #: ad-inserter.php:2167
133
  msgid "AD BLOCKING DETECTED - NO ACTION"
134
  msgstr ""
135
 
136
  #. Translators: 1: number of blocks, 2: Ad Inserter
137
+ #: ad-inserter.php:2377
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:2378 includes/functions-check-now.php:1725
144
+ #: includes/functions.old.php:1652 includes/functions.php:1709
145
  msgid "No, thank you."
146
  msgstr ""
147
 
148
  #. Translators: %s: Ad Inserter
149
+ #: ad-inserter.php:2381
150
  msgid ""
151
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
152
  msgstr ""
153
 
154
+ #: ad-inserter.php:2382 includes/functions-check-now.php:1728
155
+ #: includes/functions.old.php:1655 includes/functions.php:1712
156
  msgid "Not now, maybe later."
157
  msgstr ""
158
 
159
+ #: ad-inserter.php:2392
160
  msgid "I would really appreciate if you could rate the plugin on WordPres."
161
  msgstr ""
162
 
163
+ #: ad-inserter.php:2394
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:2400
171
  msgid "Rate %s"
172
  msgstr ""
173
 
174
+ #: ad-inserter.php:2405
175
  msgid "I already did."
176
  msgstr ""
177
 
178
  #. translators: 1: AMPforWP Plugin Manager, 2: Ad Inserter
179
  #. translators: 1: AMPforWP Plugin Manager, 2: Ad Inserter, 3, 4: HTML tags
180
+ #: ad-inserter.php:2418 ad-inserter.php:2445
181
  msgid "Warning: %1$s %3$s disabled %4$s %2$s on AMP pages."
182
  msgstr ""
183
 
184
+ #: ad-inserter.php:2427
185
  msgctxt "Menu item"
186
  msgid "Settings"
187
  msgstr ""
188
 
189
  #. translators: %s: Ad Inserter
190
+ #: ad-inserter.php:2545
191
  msgctxt "Meta box name"
192
  msgid "%s Individual Exceptions"
193
  msgstr ""
194
 
195
+ #: ad-inserter.php:2574 ad-inserter.php:8847 class.php:2082
196
  #: includes/preview.php:1976 includes/preview.php:2020
197
+ #: includes/preview.php:2057 settings.php:4093 strings.php:3
198
  msgid "Block"
199
  msgstr ""
200
 
201
+ #: ad-inserter.php:2575 settings.php:4094 settings.php:4179
202
  msgid "Name"
203
  msgstr ""
204
 
205
+ #: ad-inserter.php:2578 settings.php:1132
206
  msgid "Default insertion"
207
  msgstr ""
208
 
209
  #. translators: For this post or page
210
+ #: ad-inserter.php:2581
211
  msgctxt "Page"
212
  msgid "For this"
213
  msgstr ""
214
 
215
+ #: ad-inserter.php:2582
216
  msgctxt "Post"
217
  msgid "For this"
218
  msgstr ""
219
 
220
+ #: ad-inserter.php:2594
221
  msgctxt "Enabled/disabled on all"
222
  msgid "pages"
223
  msgstr ""
224
 
225
+ #: ad-inserter.php:2597
226
  msgctxt "Enabled/disabled on all"
227
  msgid "posts"
228
  msgstr ""
229
 
230
+ #: ad-inserter.php:2615 ad-inserter.php:2627 strings.php:161
231
  msgid "Enabled"
232
  msgstr ""
233
 
234
  #. translators: Menu items
235
+ #: ad-inserter.php:2615 ad-inserter.php:2627
236
  #: includes/functions-check-now.php:2401 includes/functions.old.php:2326
237
+ #: includes/functions.php:2385 strings.php:16
238
  msgid "Disabled"
239
  msgstr ""
240
 
241
+ #: ad-inserter.php:2617
242
  msgid "No individual exceptions"
243
  msgstr ""
244
 
245
  #. translators: Not enabled for pages or posts
246
+ #: ad-inserter.php:2619
247
  msgid "Not enabled for"
248
  msgstr ""
249
 
250
  #. translators: No individual exceptions enabled for pages or posts
251
+ #: ad-inserter.php:2647
252
  msgid "No block has individual exceptions enabled"
253
  msgstr ""
254
 
255
  #. translators: 1: Ad Inserter Settings (page), 2: Tag / Archive pages
256
+ #: ad-inserter.php:2652
257
  msgid ""
258
  "Default insertion can be configured for each block on %1$s page - button "
259
  "next to %2$s checkbox."
260
  msgstr ""
261
 
262
+ #: ad-inserter.php:2655 settings.php:1110
263
  msgid "Tag / Archive pages"
264
  msgstr ""
265
 
266
+ #: ad-inserter.php:2657
267
  msgid ""
268
  "When individual exceptions for a block are enabled, a checkbox will be "
269
  "listed here to change default insertion for this post or page."
270
  msgstr ""
271
 
272
+ #: ad-inserter.php:2658
273
  msgid ""
274
  "This way you can individually enable or disable blocks on specific posts or "
275
  "pages."
276
  msgstr ""
277
 
278
+ #: ad-inserter.php:2660
279
  msgid "For more information check page %s"
280
  msgstr ""
281
 
282
  #. translators: Ad Inserter Exceptions documentation page
283
+ #: ad-inserter.php:2662
284
  msgid "Individual Exceptions"
285
  msgstr ""
286
 
287
+ #: ad-inserter.php:2709
288
  msgid "STATIC PAGE"
289
  msgstr ""
290
 
291
+ #: ad-inserter.php:2712
292
  msgid "POST"
293
  msgstr ""
294
 
295
+ #: ad-inserter.php:2715
296
  msgid "HOMEPAGE"
297
  msgstr ""
298
 
299
+ #: ad-inserter.php:2718
300
  msgid "CATEGORY PAGE"
301
  msgstr ""
302
 
303
+ #: ad-inserter.php:2721
304
  msgid "SEARCH PAGE"
305
  msgstr ""
306
 
307
+ #: ad-inserter.php:2724
308
  msgid "ARCHIVE PAGE"
309
  msgstr ""
310
 
311
+ #: ad-inserter.php:2727
312
  msgid "ERROR 404 PAGE"
313
  msgstr ""
314
 
315
+ #: ad-inserter.php:2730
316
  msgid "AJAX CALL"
317
  msgstr ""
318
 
319
+ #: ad-inserter.php:2733
320
  msgid "UNKNOWN PAGE TYPE"
321
  msgstr ""
322
 
323
+ #: ad-inserter.php:2750
324
  msgid "Click to delete ad blocking detection cokies"
325
  msgstr ""
326
 
327
+ #: ad-inserter.php:2751
328
  msgid "AD BLOCKING STATUS UNKNOWN"
329
  msgstr ""
330
 
331
  #. translators: %s: AdSense Auto Ads
332
+ #: ad-inserter.php:2780
333
  msgid ""
334
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
335
  "positions"
336
  msgstr ""
337
 
338
+ #: ad-inserter.php:2919
339
  msgid "Code for insertion"
340
  msgstr ""
341
 
342
+ #: ad-inserter.php:2919
343
  msgid "character"
344
  msgid_plural "characters"
345
  msgstr[0] ""
346
  msgstr[1] ""
347
 
348
+ #: ad-inserter.php:2962
349
  msgid "Header code"
350
  msgstr ""
351
 
352
+ #: ad-inserter.php:2962
353
  msgctxt "Header code"
354
  msgid "DISABLED"
355
  msgstr ""
356
 
357
+ #: ad-inserter.php:2962 ad-inserter.php:3200
358
  msgid "character inserted"
359
  msgid_plural "characters inserted"
360
  msgstr[0] ""
361
  msgstr[1] ""
362
 
363
+ #: ad-inserter.php:2996
364
  msgid "Automatically placed by AdSense Auto ads code"
365
  msgstr ""
366
 
367
+ #: ad-inserter.php:3200
368
  msgid "Footer code"
369
  msgstr ""
370
 
371
+ #: ad-inserter.php:3200
372
  msgctxt "Footer code"
373
  msgid "DISABLED"
374
  msgstr ""
375
 
376
+ #: ad-inserter.php:3206
377
  msgid "JAVASCRIPT NOT WORKING"
378
  msgstr ""
379
 
380
+ #: ad-inserter.php:3206
381
  msgid "NO JAVASCRIPT ERRORS"
382
  msgstr ""
383
 
384
+ #: ad-inserter.php:3206
385
  msgid "JAVASCRIPT ERRORS"
386
  msgstr ""
387
 
388
  #. translators: block name (block with default settings)
389
+ #: ad-inserter.php:5527
390
  msgctxt "Block name"
391
  msgid "Default"
392
  msgstr ""
393
 
394
  #. translators: %s: Ad Inserter
395
+ #: ad-inserter.php:6170
396
  msgid "Error importing %s settings."
397
  msgstr ""
398
 
399
+ #: ad-inserter.php:6171
400
  msgid "Error importing settings for block"
401
  msgid_plural "Error importing settings for blocks:"
402
  msgstr[0] ""
403
  msgstr[1] ""
404
 
405
+ #: ad-inserter.php:6224
406
  msgid "Settings saved."
407
  msgstr ""
408
 
409
  #. translators: %s: Ad Inserter
410
+ #: ad-inserter.php:6226
411
  msgid "Invalid data received - %s settings not saved."
412
  msgstr ""
413
 
414
+ #: ad-inserter.php:6320
415
  msgid "Settings cleared."
416
  msgstr ""
417
 
418
  #. Translators: Post/Static page must have between X and Y words
419
+ #: ad-inserter.php:6682 ad-inserter.php:6684 ad-inserter.php:6707
420
+ #: settings.php:2089
421
  msgid "word"
422
  msgid_plural "words"
423
  msgstr[0] ""
424
  msgstr[1] ""
425
 
426
+ #: ad-inserter.php:6721 ad-inserter.php:6833
427
  msgid "HTML TAGS REMOVED"
428
  msgstr ""
429
 
430
+ #: ad-inserter.php:6909
431
  msgid "BEFORE COMMENTS"
432
  msgstr ""
433
 
434
+ #: ad-inserter.php:7017
435
  msgid "AFTER COMMENTS"
436
  msgstr ""
437
 
438
+ #: ad-inserter.php:7080
439
  msgid "BETWEEN COMMENTS"
440
  msgstr ""
441
 
442
+ #: ad-inserter.php:8479
443
  msgid "requires WordPress 4.6 or newer"
444
  msgstr ""
445
 
446
+ #: ad-inserter.php:8479
447
  msgid "Please update!"
448
  msgstr ""
449
 
450
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
451
  #. name with HTML tags will be added)
452
+ #: ad-inserter.php:8720
453
  msgid "Thank you for installing"
454
  msgstr ""
455
 
456
  #. translators: Opt-in message: %s: HTML tags
457
+ #: ad-inserter.php:8722
458
  msgid ""
459
  "We would like to %s track its usage %s on your site. This is completely "
460
  "optional and can be disabled at any time."
461
  msgstr ""
462
 
463
+ #: ad-inserter.php:8724
464
  msgid ""
465
  "We don't record any sensitive data, only information regarding the WordPress "
466
  "environment and plugin usage, which will help us to make improvements to the "
468
  msgstr ""
469
 
470
  #. translators: Deactivation message: %s: HTML tags
471
+ #: ad-inserter.php:8761
472
  msgid ""
473
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
474
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
476
  msgstr ""
477
 
478
  #. translators: %s: Ad Inserter
479
+ #: ad-inserter.php:8804
480
  msgid "%s block."
481
  msgstr ""
482
 
483
  #. translators: widget title
484
+ #: ad-inserter.php:8820 ad-inserter.php:8856
485
  msgid "Processing log"
486
  msgstr ""
487
 
488
  #. translators: widget title
489
+ #: ad-inserter.php:8822 ad-inserter.php:8857
490
  msgid "Dummy widget"
491
  msgstr ""
492
 
493
  #. translators: widget title
494
+ #: ad-inserter.php:8824 ad-inserter.php:8855
495
  msgid "Debugging tools"
496
  msgstr ""
497
 
498
  #. translators: block status (widget title)
499
+ #: ad-inserter.php:8831
500
  msgctxt "block"
501
  msgid "PAUSED"
502
  msgstr ""
503
 
504
+ #: ad-inserter.php:8832
505
  msgid "WIDGET DISABLED"
506
  msgstr ""
507
 
508
+ #: ad-inserter.php:8833
509
  msgid "Unknown block"
510
  msgstr ""
511
 
512
+ #: ad-inserter.php:8842 includes/functions-check-now.php:3261
513
+ #: includes/functions.old.php:3186 includes/functions.php:3244
514
+ #: settings.php:1162
515
  msgid "Title"
516
  msgstr ""
517
 
518
+ #: ad-inserter.php:8864
519
  msgctxt "Widget"
520
  msgid "Sticky"
521
  msgstr ""
522
 
523
+ #: ad-inserter.php:8913
524
  msgid ""
525
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
526
  "Inserter you need to first deactivate Ad Inserter Pro."
527
  msgstr ""
528
 
529
+ #: ad-inserter.php:8914
530
  msgid ""
531
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
532
  "will clear all settings that are available only in the Pro version "
534
  msgstr ""
535
 
536
  #. translators: %s: Ad Inserter
537
+ #: class.php:507 class.php:516 class.php:519
538
  msgid "PHP error in %s block"
539
  msgstr ""
540
 
541
+ #: class.php:2032
542
  msgid "Counters"
543
  msgstr ""
544
 
545
+ #: class.php:2036
546
  msgid "Content"
547
  msgstr ""
548
 
549
+ #: class.php:2041
550
  msgid "Excerpt"
551
  msgstr ""
552
 
553
+ #: class.php:2046 strings.php:17
554
  msgid "Before post"
555
  msgstr ""
556
 
557
+ #: class.php:2051 strings.php:18
558
  msgid "After post"
559
  msgstr ""
560
 
561
+ #: class.php:2056 strings.php:25
562
  msgid "Between posts"
563
  msgstr ""
564
 
565
+ #: class.php:2061 settings.php:1832 settings.php:4111
566
  msgid "Widget"
567
  msgstr ""
568
 
569
+ #: class.php:2066 settings.php:4109
570
  msgid "PHP function call"
571
  msgstr ""
572
 
573
  #. Translators: %s: custom hook name
574
+ #: class.php:2076
575
  msgid "Custom hook %s call"
576
  msgstr ""
577
 
578
+ #: class.php:2112
579
  msgid "AJAX REQUEST"
580
  msgstr ""
581
 
582
+ #: class.php:2115
583
  msgid "Ajax request for block in iframe"
584
  msgstr ""
585
 
586
+ #: class.php:2145
587
  msgid "Ajax request url, click to open it in a new tab"
588
  msgstr ""
589
 
590
+ #: class.php:2148
591
  msgid "IN THE LOOP"
592
  msgstr ""
593
 
594
+ #: class.php:2148
595
  msgid "YES"
596
  msgstr ""
597
 
598
+ #: class.php:2148
599
  msgid "NO"
600
  msgstr ""
601
 
602
+ #: class.php:2184
603
  msgid "BLOCK"
604
  msgstr ""
605
 
606
+ #: class.php:2184
607
  msgctxt "block or widget"
608
  msgid "INSERTED BUT NOT VISIBLE"
609
  msgstr ""
610
 
611
+ #: class.php:2633 class.php:2696
612
  msgid "ACTIVE GROUPS"
613
  msgstr ""
614
 
615
  #. translators: %s: list parameters and type
616
+ #: class.php:2887
617
  msgid "parameters='%s' type='%s'"
618
  msgstr ""
619
 
620
  #. translators: %s: list parameters and type
621
+ #: class.php:2889
622
  msgid "referers='%s' type='%s'"
623
  msgstr ""
624
 
625
  #. translators: %s: list parameters and type
626
+ #: class.php:2891
627
  msgid "clients='%s' type='%s'"
628
  msgstr ""
629
 
630
  #. translators: %s: list parameters and type
631
+ #: class.php:2962
632
  msgid "countries='%s' type='%s'"
633
  msgstr ""
634
 
635
  #. translators: %s: list parameters and type
636
+ #: class.php:2964
637
  msgid "ip addresses='%s' type='%s'"
638
  msgstr ""
639
 
640
+ #: class.php:3237 strings.php:241
641
  msgid "BEFORE"
642
  msgstr ""
643
 
644
+ #: class.php:3245 strings.php:243
645
  msgid "PREPEND CONTENT"
646
  msgstr ""
647
 
648
+ #: class.php:3249 strings.php:244
649
  msgid "APPEND CONTENT"
650
  msgstr ""
651
 
652
+ #: class.php:3253 strings.php:245
653
  msgid "REPLACE CONTENT"
654
  msgstr ""
655
 
656
+ #: class.php:3257 strings.php:246
657
  msgid "REPLACE ELEMENT"
658
  msgstr ""
659
 
660
+ #: class.php:3268 strings.php:242
661
  msgid "AFTER"
662
  msgstr ""
663
 
664
+ #: class.php:3335
665
  msgctxt "JavaScript"
666
  msgid "script"
667
  msgstr ""
668
 
669
+ #: class.php:3338
670
  msgid "for block"
671
  msgstr ""
672
 
673
+ #: class.php:6422 class.php:6474
674
  msgctxt "category name"
675
  msgid "Uncategorized"
676
  msgstr ""
677
 
678
+ #: class.php:7007
679
  msgid ""
680
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
681
  "extension for PHP."
682
  msgstr ""
683
 
684
  #: includes/editor.php:7 includes/placeholders.php:352
685
+ #: includes/preview.php:1962 strings.php:248
686
  msgid "Use"
687
  msgstr ""
688
 
691
  msgstr ""
692
 
693
  #: includes/editor.php:9 includes/placeholders.php:354
694
+ #: includes/preview.php:1965 settings.php:3506 strings.php:210 strings.php:247
695
  msgid "Cancel"
696
  msgstr ""
697
 
706
  "blockers."
707
  msgstr ""
708
 
709
+ #: includes/editor.php:264 settings.php:260
710
  msgid "Error loading page"
711
  msgstr ""
712
 
782
  msgstr ""
783
 
784
  #: includes/functions-check-now.php:451 includes/functions.old.php:440
785
+ #: includes/functions.php:442 settings.php:1313 settings.php:2717
786
  msgid "Open HTML element selector"
787
  msgstr ""
788
 
828
 
829
  #: includes/functions-check-now.php:519 includes/functions-check-now.php:3035
830
  #: includes/functions.old.php:508 includes/functions.old.php:2960
831
+ #: includes/functions.php:510 includes/functions.php:3018
832
  msgid "Toggle Statistics"
833
  msgstr ""
834
 
855
  msgstr ""
856
 
857
  #: includes/functions-check-now.php:555 includes/functions.old.php:536
858
+ #: includes/functions.php:546 settings.php:1067 settings.php:2172
859
  msgid "Save Settings"
860
  msgstr ""
861
 
933
  #: includes/functions-check-now.php:769 includes/functions-check-now.php:2528
934
  #: includes/functions-check-now.php:2545 includes/functions.old.php:750
935
  #: includes/functions.old.php:2453 includes/functions.old.php:2470
936
+ #: includes/functions.php:760 includes/functions.php:2512
937
+ #: includes/functions.php:2528
938
  msgid "Tracking is globally disabled"
939
  msgstr ""
940
 
941
  #: includes/functions-check-now.php:773 includes/functions-check-now.php:2532
942
  #: includes/functions-check-now.php:2549 includes/functions.old.php:754
943
  #: includes/functions.old.php:2457 includes/functions.old.php:2474
944
+ #: includes/functions.php:764 includes/functions.php:2516
945
+ #: includes/functions.php:2532
946
  msgid "Tracking for this block is disabled"
947
  msgstr ""
948
 
952
  msgstr ""
953
 
954
  #: includes/functions-check-now.php:786 includes/functions.old.php:767
955
+ #: includes/functions.php:777 settings.php:3441 settings.php:3477
956
+ #: settings.php:3519 strings.php:220
957
  msgid "Loading..."
958
  msgstr ""
959
 
971
 
972
  #: includes/functions-check-now.php:814 includes/functions-check-now.php:5389
973
  #: includes/functions.old.php:795 includes/functions.old.php:5262
974
+ #: includes/functions.php:805 includes/functions.php:5380
975
  msgid "Load data for last month"
976
  msgstr ""
977
 
978
  #: includes/functions-check-now.php:814 includes/functions-check-now.php:5389
979
  #: includes/functions.old.php:795 includes/functions.old.php:5262
980
+ #: includes/functions.php:805 includes/functions.php:5380
981
  msgid "Last Month"
982
  msgstr ""
983
 
984
  #: includes/functions-check-now.php:817 includes/functions-check-now.php:5392
985
  #: includes/functions.old.php:798 includes/functions.old.php:5265
986
+ #: includes/functions.php:808 includes/functions.php:5383
987
  msgid "Load data for this month"
988
  msgstr ""
989
 
990
  #: includes/functions-check-now.php:817 includes/functions-check-now.php:5392
991
  #: includes/functions.old.php:798 includes/functions.old.php:5265
992
+ #: includes/functions.php:808 includes/functions.php:5383
993
  msgid "This Month"
994
  msgstr ""
995
 
996
  #: includes/functions-check-now.php:820 includes/functions-check-now.php:5395
997
  #: includes/functions.old.php:801 includes/functions.old.php:5268
998
+ #: includes/functions.php:811 includes/functions.php:5386
999
  msgid "Load data for this year"
1000
  msgstr ""
1001
 
1002
  #: includes/functions-check-now.php:820 includes/functions-check-now.php:5395
1003
  #: includes/functions.old.php:801 includes/functions.old.php:5268
1004
+ #: includes/functions.php:811 includes/functions.php:5386
1005
  msgid "This Year"
1006
  msgstr ""
1007
 
1008
  #: includes/functions-check-now.php:823 includes/functions-check-now.php:5398
1009
  #: includes/functions.old.php:804 includes/functions.old.php:5271
1010
+ #: includes/functions.php:814 includes/functions.php:5389
1011
  msgid "Load data for the last 15 days"
1012
  msgstr ""
1013
 
1014
  #: includes/functions-check-now.php:826 includes/functions-check-now.php:5401
1015
  #: includes/functions.old.php:807 includes/functions.old.php:5274
1016
+ #: includes/functions.php:817 includes/functions.php:5392
1017
  msgid "Load data for the last 30 days"
1018
  msgstr ""
1019
 
1020
  #: includes/functions-check-now.php:829 includes/functions-check-now.php:5404
1021
  #: includes/functions.old.php:810 includes/functions.old.php:5277
1022
+ #: includes/functions.php:820 includes/functions.php:5395
1023
  msgid "Load data for the last 90 days"
1024
  msgstr ""
1025
 
1026
  #: includes/functions-check-now.php:832 includes/functions-check-now.php:5407
1027
  #: includes/functions.old.php:813 includes/functions.old.php:5280
1028
+ #: includes/functions.php:823 includes/functions.php:5398
1029
  msgid "Load data for the last 180 days"
1030
  msgstr ""
1031
 
1032
  #: includes/functions-check-now.php:835 includes/functions-check-now.php:5410
1033
  #: includes/functions.old.php:816 includes/functions.old.php:5283
1034
+ #: includes/functions.php:826 includes/functions.php:5401
1035
  msgid "Load data for the last 365 days"
1036
  msgstr ""
1037
 
1038
  #: includes/functions-check-now.php:845 includes/functions-check-now.php:5420
1039
  #: includes/functions.old.php:826 includes/functions.old.php:5293
1040
+ #: includes/functions.php:836 includes/functions.php:5411
1041
  msgid "Load data for the selected range"
1042
  msgstr ""
1043
 
1130
 
1131
  #: includes/functions-check-now.php:957 includes/functions-check-now.php:3000
1132
  #: includes/functions.old.php:938 includes/functions.old.php:2925
1133
+ #: includes/functions.php:948 includes/functions.php:2983
1134
  msgid "Toggle country editor"
1135
  msgstr ""
1136
 
1141
 
1142
  #: includes/functions-check-now.php:964 includes/functions-check-now.php:3003
1143
  #: includes/functions.old.php:945 includes/functions.old.php:2928
1144
+ #: includes/functions.php:955 includes/functions.php:2986
1145
  msgid "Comma separated country ISO Alpha-2 codes"
1146
  msgstr ""
1147
 
1157
 
1158
  #: includes/functions-check-now.php:1382 includes/functions-check-now.php:1681
1159
  #: includes/functions.old.php:1361 includes/functions.old.php:1608
1160
+ #: includes/functions.php:1373 includes/functions.php:1665
1161
  msgid "Enter license key"
1162
  msgstr ""
1163
 
1186
 
1187
  #: includes/functions-check-now.php:1411 includes/functions-check-now.php:1690
1188
  #: includes/functions.old.php:1379 includes/functions.old.php:1617
1189
+ #: includes/functions.php:1402 includes/functions.php:1674
1190
  msgid "Check license key"
1191
  msgstr ""
1192
 
1225
 
1226
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1227
  #: includes/functions-check-now.php:1683 includes/functions.old.php:1610
1228
+ #: includes/functions.php:1667
1229
  msgid ""
1230
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1231
  "limited and updates are disabled."
1233
 
1234
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1235
  #: includes/functions-check-now.php:1692 includes/functions.old.php:1619
1236
+ #: includes/functions.php:1676
1237
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1238
  msgstr ""
1239
 
1240
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1241
  #: includes/functions-check-now.php:1708 includes/functions.old.php:1635
1242
+ #: includes/functions.php:1692
1243
  msgid ""
1244
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1245
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1247
 
1248
  #. translators: 1, 3: HTML tags, 2: percentage
1249
  #: includes/functions-check-now.php:1715 includes/functions.old.php:1642
1250
+ #: includes/functions.php:1699
1251
  msgid ""
1252
  "During the license period and 30 days after the license has expired we offer "
1253
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1254
  msgstr ""
1255
 
1256
  #: includes/functions-check-now.php:1742 includes/functions.old.php:1669
1257
+ #: includes/functions.php:1726
1258
  msgid "Renew the licence"
1259
  msgstr ""
1260
 
1261
  #: includes/functions-check-now.php:1744 includes/functions.old.php:1671
1262
+ #: includes/functions.php:1728
1263
  msgid "Update license status"
1264
  msgstr ""
1265
 
1266
  #. translators: 1, 2, 4, 5, 6, 7: HTML tags, 3: Ad Inserter Pro
1267
  #: includes/functions-check-now.php:1755 includes/functions.old.php:1682
1268
+ #: includes/functions.php:1739
1269
  msgid ""
1270
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1271
  "Manage licenses %5$s &mdash; %6$s Upgrade license %7$s"
1273
 
1274
  #. Translators: %s: HTML tag
1275
  #: includes/functions-check-now.php:1777 includes/functions.old.php:1704
1276
+ #: includes/functions.php:1761
1277
  msgid "Warning: %s MaxMind IP geolocation database not found."
1278
  msgstr ""
1279
 
1280
  #: includes/functions-check-now.php:2330 includes/functions.old.php:2255
1281
+ #: includes/functions.php:2314
1282
  msgid "Geolocation"
1283
  msgstr ""
1284
 
1285
  #: includes/functions-check-now.php:2334 includes/functions.old.php:2259
1286
+ #: includes/functions.php:2318 settings.php:4098
1287
  msgid "Exceptions"
1288
  msgstr ""
1289
 
1290
  #: includes/functions-check-now.php:2339 includes/functions.old.php:2264
1291
+ #: includes/functions.php:2323
1292
  msgid "Multisite"
1293
  msgstr ""
1294
 
1295
  #: includes/functions-check-now.php:2344 includes/functions.old.php:2269
1296
+ #: includes/functions.php:2328 settings.php:4104
1297
  msgid "Tracking"
1298
  msgstr ""
1299
 
1300
  #. translators: %d: days, hours, minutes
1301
  #: includes/functions-check-now.php:2375 includes/functions.old.php:2300
1302
+ #: includes/functions.php:2359
1303
  msgid "Scheduled in %d days %d hours %d minutes"
1304
  msgstr ""
1305
 
1306
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1307
  #. HTML code for long dash separator
1308
  #: includes/functions-check-now.php:2384 includes/functions.old.php:2309
1309
+ #: includes/functions.php:2368
1310
  msgid "Active %s expires in %d days %d hours %d minutes"
1311
  msgstr ""
1312
 
1313
  #: includes/functions-check-now.php:2388 includes/functions.old.php:2313
1314
+ #: includes/functions.php:2372
1315
  msgid "Expired"
1316
  msgstr ""
1317
 
1318
  #: includes/functions-check-now.php:2396 includes/functions.old.php:2321
1319
+ #: includes/functions.php:2380 settings.php:1396 settings.php:1411
1320
+ #: settings.php:1501 settings.php:2087
1321
  msgid "and"
1322
  msgstr ""
1323
 
1324
  #: includes/functions-check-now.php:2399 includes/functions.old.php:2324
1325
+ #: includes/functions.php:2383
1326
  msgid "fallback"
1327
  msgstr ""
1328
 
1329
  #: includes/functions-check-now.php:2400 includes/functions.old.php:2325
1330
+ #: includes/functions.php:2384
1331
  msgid "Block to be used when scheduling expires"
1332
  msgstr ""
1333
 
1334
  #: includes/functions-check-now.php:2425 includes/functions.old.php:2350
1335
+ #: includes/functions.php:2409
1336
  msgid "Load in iframe"
1337
  msgstr ""
1338
 
1339
  #: includes/functions-check-now.php:2429 includes/functions.old.php:2354
1340
+ #: includes/functions.php:2413 includes/placeholders.php:389
1341
  msgid "Width"
1342
  msgstr ""
1343
 
1344
  #: includes/functions-check-now.php:2430 includes/functions.old.php:2355
1345
+ #: includes/functions.php:2414
1346
  msgid "iframe width, empty means full width (100%)"
1347
  msgstr ""
1348
 
1349
  #: includes/functions-check-now.php:2436 includes/functions.old.php:2361
1350
+ #: includes/functions.php:2420 includes/placeholders.php:384
1351
  msgid "Height"
1352
  msgstr ""
1353
 
1354
  #: includes/functions-check-now.php:2437 includes/functions.old.php:2362
1355
+ #: includes/functions.php:2421
1356
  msgid "iframe height, empty means adjust it to iframe content height"
1357
  msgstr ""
1358
 
1359
  #: includes/functions-check-now.php:2444 includes/functions.old.php:2369
1360
+ #: includes/functions.php:2428
1361
  msgid "Ad label in iframe"
1362
  msgstr ""
1363
 
1364
  #: includes/functions-check-now.php:2449 includes/functions.old.php:2374
1365
+ #: includes/functions.php:2433
1366
  msgid "Preview iframe code"
1367
  msgstr ""
1368
 
1369
  #: includes/functions-check-now.php:2449 includes/functions.old.php:2374
1370
+ #: includes/functions.php:2433 includes/preview.php:1974 settings.php:1062
1371
+ #: settings.php:2779
1372
  msgid "Preview"
1373
  msgstr ""
1374
 
1375
  #: includes/functions-check-now.php:2463 includes/functions.old.php:2388
1376
+ #: includes/functions.php:2447 settings.php:4105
1377
  msgid "Limits"
1378
  msgstr ""
1379
 
1380
  #: includes/functions-check-now.php:2468 includes/functions-check-now.php:4366
1381
  #: includes/functions-check-now.php:4429 includes/functions.old.php:2393
1382
  #: includes/functions.old.php:4266 includes/functions.old.php:4329
1383
+ #: includes/functions.php:2452 includes/functions.php:4357
1384
+ #: includes/functions.php:4420 settings.php:2219
1385
  msgid "Ad Blocking"
1386
  msgstr ""
1387
 
1388
  #. translators: 1, 2 and 3, 4: HTML tags
1389
  #: includes/functions-check-now.php:2477 includes/functions.old.php:2402
1390
+ #: includes/functions.php:2461
1391
  msgid ""
1392
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1393
  "for tracking!"
1396
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1397
  #. header
1398
  #: includes/functions-check-now.php:2486 includes/functions.old.php:2411
1399
+ #: includes/functions.php:2470
1400
  msgid ""
1401
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1402
  "enabled and automatic insertion %6$s!"
1403
  msgstr ""
1404
 
1405
  #: includes/functions-check-now.php:2553 includes/functions.old.php:2478
1406
+ #: includes/functions.php:2536
1407
  msgid "Click fraud protection is globally disabled"
1408
  msgstr ""
1409
 
1410
  #: includes/functions-check-now.php:2557 includes/functions.old.php:2482
1411
+ #: includes/functions.php:2540
1412
  msgid "Max clicks per time period are not defined"
1413
  msgstr ""
1414
 
1415
  #. Translators: Max n impressions
1416
  #: includes/functions-check-now.php:2571 includes/functions.old.php:2496
1417
+ #: includes/functions.php:2554
1418
  msgid "General limits"
1419
  msgstr ""
1420
 
1422
  #: includes/functions-check-now.php:2577 includes/functions-check-now.php:2589
1423
  #: includes/functions-check-now.php:2674 includes/functions.old.php:2502
1424
  #: includes/functions.old.php:2514 includes/functions.old.php:2599
1425
+ #: includes/functions.php:2560 includes/functions.php:2572
1426
+ #: includes/functions.php:2657
1427
  msgid "Current value"
1428
  msgstr ""
1429
 
1443
  #: includes/functions.old.php:2550 includes/functions.old.php:2560
1444
  #: includes/functions.old.php:2606 includes/functions.old.php:2615
1445
  #: includes/functions.old.php:2633 includes/functions.old.php:2642
1446
+ #: includes/functions.php:2579 includes/functions.php:2589
1447
+ #: includes/functions.php:2608 includes/functions.php:2618
1448
+ #: includes/functions.php:2664 includes/functions.php:2673
1449
+ #: includes/functions.php:2691 includes/functions.php:2700 settings.php:2008
1450
  msgid "Max"
1451
  msgstr ""
1452
 
1453
  #: includes/functions-check-now.php:2597 includes/functions.old.php:2522
1454
+ #: includes/functions.php:2580
1455
  msgid ""
1456
  "Maximum number of impressions for this block. Empty means no general "
1457
  "impression limit."
1465
  #: includes/functions-check-now.php:2684 includes/functions-check-now.php:2693
1466
  #: includes/functions.old.php:2524 includes/functions.old.php:2534
1467
  #: includes/functions.old.php:2609 includes/functions.old.php:2618
1468
+ #: includes/functions.php:2582 includes/functions.php:2592
1469
+ #: includes/functions.php:2667 includes/functions.php:2676
1470
  msgid "impression"
1471
  msgid_plural "impressions"
1472
  msgstr[0] ""
1473
  msgstr[1] ""
1474
 
1475
  #: includes/functions-check-now.php:2607 includes/functions.old.php:2532
1476
+ #: includes/functions.php:2590
1477
  msgid ""
1478
  "Maximum number of impressions per time period. Empty means no time limit."
1479
  msgstr ""
1486
  #: includes/functions-check-now.php:2697 includes/functions-check-now.php:2724
1487
  #: includes/functions.old.php:2538 includes/functions.old.php:2567
1488
  #: includes/functions.old.php:2622 includes/functions.old.php:2649
1489
+ #: includes/functions.php:2596 includes/functions.php:2625
1490
+ #: includes/functions.php:2680 includes/functions.php:2707
1491
  msgid "per"
1492
  msgstr ""
1493
 
1494
  #: includes/functions-check-now.php:2614 includes/functions-check-now.php:2643
1495
  #: includes/functions.old.php:2539 includes/functions.old.php:2568
1496
+ #: includes/functions.php:2597 includes/functions.php:2626
1497
  msgid "Time period in days. Empty means no time limit."
1498
  msgstr ""
1499
 
1508
  #: includes/functions.old.php:2541 includes/functions.old.php:2570
1509
  #: includes/functions.old.php:2625 includes/functions.old.php:2652
1510
  #: includes/functions.old.php:2758 includes/functions.old.php:3086
1511
+ #: includes/functions.php:2599 includes/functions.php:2628
1512
+ #: includes/functions.php:2683 includes/functions.php:2710
1513
+ #: includes/functions.php:2816 includes/functions.php:3144 strings.php:201
1514
+ #: strings.php:202 strings.php:203 strings.php:204 strings.php:205
1515
+ #: strings.php:206
1516
  msgid "day"
1517
  msgid_plural "days"
1518
  msgstr[0] ""
1519
  msgstr[1] ""
1520
 
1521
  #: includes/functions-check-now.php:2626 includes/functions.old.php:2551
1522
+ #: includes/functions.php:2609
1523
  msgid ""
1524
  "Maximum number of clicks on this block. Empty means no general click limit."
1525
  msgstr ""
1533
  #: includes/functions-check-now.php:4577 includes/functions.old.php:2553
1534
  #: includes/functions.old.php:2563 includes/functions.old.php:2636
1535
  #: includes/functions.old.php:2645 includes/functions.old.php:4477
1536
+ #: includes/functions.php:2611 includes/functions.php:2621
1537
+ #: includes/functions.php:2694 includes/functions.php:2703
1538
+ #: includes/functions.php:4568
1539
  msgid "click"
1540
  msgid_plural "clicks"
1541
  msgstr[0] ""
1542
  msgstr[1] ""
1543
 
1544
  #: includes/functions-check-now.php:2636 includes/functions.old.php:2561
1545
+ #: includes/functions.php:2619
1546
  msgid "Maximum number of clicks per time period. Empty means no time limit."
1547
  msgstr ""
1548
 
1549
  #: includes/functions-check-now.php:2661 includes/functions.old.php:2586
1550
+ #: includes/functions.php:2644
1551
  msgid "Individual visitor limits"
1552
  msgstr ""
1553
 
1554
  #: includes/functions-check-now.php:2665 includes/functions-check-now.php:2667
1555
  #: includes/functions.old.php:2590 includes/functions.old.php:2592
1556
+ #: includes/functions.php:2648 includes/functions.php:2650
1557
  msgid ""
1558
  "When specified number of clicks on this block for a visitor will be reached "
1559
  "in the specified time period, all blocks that have click fraud protection "
1562
  msgstr ""
1563
 
1564
  #: includes/functions-check-now.php:2667 includes/functions.old.php:2592
1565
+ #: includes/functions.php:2650
1566
  msgid "Trigger click fraud protection"
1567
  msgstr ""
1568
 
1569
  #: includes/functions-check-now.php:2682 includes/functions.old.php:2607
1570
+ #: includes/functions.php:2665
1571
  msgid ""
1572
  "Maximum number of impressions of this block for each visitor. Empty means no "
1573
  "impression limit."
1574
  msgstr ""
1575
 
1576
  #: includes/functions-check-now.php:2691 includes/functions.old.php:2616
1577
+ #: includes/functions.php:2674
1578
  msgid ""
1579
  "Maximum number of impressions per time period for each visitor. Empty means "
1580
  "no impression limit per time period for visitors."
1582
 
1583
  #: includes/functions-check-now.php:2698 includes/functions-check-now.php:2725
1584
  #: includes/functions.old.php:2623 includes/functions.old.php:2650
1585
+ #: includes/functions.php:2681 includes/functions.php:2708
1586
  msgid ""
1587
  "Time period in days. Use decimal value (with decimal point) for shorter "
1588
  "periods. Empty means no time limit."
1589
  msgstr ""
1590
 
1591
  #: includes/functions-check-now.php:2709 includes/functions.old.php:2634
1592
+ #: includes/functions.php:2692
1593
  msgid ""
1594
  "Maximum number of clicks on this block for each visitor. Empty means no "
1595
  "click limit."
1596
  msgstr ""
1597
 
1598
  #: includes/functions-check-now.php:2718 includes/functions.old.php:2643
1599
+ #: includes/functions.php:2701
1600
  msgid ""
1601
  "Maximum number of clicks per time period for each visitor. Empty means no "
1602
  "click limit per time period for visitors."
1603
  msgstr ""
1604
 
1605
  #: includes/functions-check-now.php:2744 includes/functions.old.php:2669
1606
+ #: includes/functions.php:2727
1607
  msgid "When ad blocking is detected"
1608
  msgstr ""
1609
 
1610
  #: includes/functions-check-now.php:2753 includes/functions.old.php:2678
1611
+ #: includes/functions.php:2736
1612
  msgid "replacement"
1613
  msgstr ""
1614
 
1615
  #: includes/functions-check-now.php:2754 includes/functions.old.php:2679
1616
+ #: includes/functions.php:2737
1617
  msgid "Block to be shown when ad blocking is detected"
1618
  msgstr ""
1619
 
1620
  #: includes/functions-check-now.php:2755 includes/functions.old.php:2680
1621
+ #: includes/functions.php:2738
1622
  msgctxt "replacement"
1623
  msgid "None"
1624
  msgstr ""
1625
 
1626
  #: includes/functions-check-now.php:2772 includes/functions-check-now.php:5612
1627
  #: includes/functions.old.php:2697 includes/functions.old.php:5484
1628
+ #: includes/functions.php:2755 includes/functions.php:5603
1629
  msgid "Close button"
1630
  msgstr ""
1631
 
1632
  #: includes/functions-check-now.php:2824 includes/functions.old.php:2749
1633
+ #: includes/functions.php:2807
1634
  msgid "Auto close after"
1635
  msgstr ""
1636
 
1637
  #: includes/functions-check-now.php:2825 includes/functions.old.php:2750
1638
+ #: includes/functions.php:2808
1639
  msgid ""
1640
  "Time in seconds in which the ad will automatically close. Leave empty to "
1641
  "disable auto closing."
1643
 
1644
  #. Translators: Don't show for x days
1645
  #: includes/functions-check-now.php:2830 includes/functions.old.php:2755
1646
+ #: includes/functions.php:2813
1647
  msgid "Don't show for"
1648
  msgstr ""
1649
 
1650
  #: includes/functions-check-now.php:2831 includes/functions.old.php:2756
1651
+ #: includes/functions.php:2814
1652
  msgid ""
1653
  "Time in days in which closed ad will not be shown again. Use decimal value "
1654
  "(with decimal point) for shorter time period or leave empty to show it again "
1657
 
1658
  #. Translators: Delay showing for x pageviews
1659
  #: includes/functions-check-now.php:2851 includes/functions.old.php:2776
1660
+ #: includes/functions.php:2834
1661
  msgid "Delay showing for"
1662
  msgstr ""
1663
 
1664
  #: includes/functions-check-now.php:2852 includes/functions.old.php:2777
1665
+ #: includes/functions.php:2835
1666
  msgid ""
1667
  "Number of pageviews before the code is inserted (and ad displayed). Leave "
1668
  "empty to insert the code for the first pageview."
1672
  #. Translators: Show every x pageviews
1673
  #: includes/functions-check-now.php:2854 includes/functions-check-now.php:2861
1674
  #: includes/functions.old.php:2779 includes/functions.old.php:2786
1675
+ #: includes/functions.php:2837 includes/functions.php:2844
1676
  msgid "pageview"
1677
  msgid_plural "pageviews"
1678
  msgstr[0] ""
1680
 
1681
  #. Translators: Show every x pageviews
1682
  #: includes/functions-check-now.php:2858 includes/functions.old.php:2783
1683
+ #: includes/functions.php:2841
1684
  msgid "Show every"
1685
  msgid_plural "Show every"
1686
  msgstr[0] ""
1687
  msgstr[1] ""
1688
 
1689
  #: includes/functions-check-now.php:2859 includes/functions.old.php:2784
1690
+ #: includes/functions.php:2842
1691
  msgid ""
1692
  "Number of pageviews to insert the code again. Leave empty to insert the code "
1693
  "for every pageview."
1694
  msgstr ""
1695
 
1696
  #: includes/functions-check-now.php:2878 includes/functions.old.php:2803
1697
+ #: includes/functions.php:2861
1698
  msgid "Lazy loading"
1699
  msgstr ""
1700
 
1701
  #. Translators: %s MaxMind
1702
  #: includes/functions-check-now.php:2935 includes/functions.old.php:2860
1703
+ #: includes/functions.php:2918
1704
  msgid "This product includes GeoLite2 data created by %s"
1705
  msgstr ""
1706
 
1707
  #: includes/functions-check-now.php:2946 includes/functions.old.php:2871
1708
+ #: includes/functions.php:2929
1709
  msgid "IP geolocation database"
1710
  msgstr ""
1711
 
1712
  #: includes/functions-check-now.php:2949 includes/functions.old.php:2874
1713
+ #: includes/functions.php:2932
1714
  msgid "Select IP geolocation database."
1715
  msgstr ""
1716
 
1717
  #: includes/functions-check-now.php:2960 includes/functions.old.php:2885
1718
+ #: includes/functions.php:2943
1719
  msgid "Automatic database updates"
1720
  msgstr ""
1721
 
1722
  #: includes/functions-check-now.php:2963 includes/functions.old.php:2888
1723
+ #: includes/functions.php:2946
1724
  msgid ""
1725
  "Automatically download and update free GeoLite2 IP geolocation database by "
1726
  "MaxMind"
1727
  msgstr ""
1728
 
1729
  #: includes/functions-check-now.php:2971 includes/functions.old.php:2896
1730
+ #: includes/functions.php:2954
1731
  msgid "Database"
1732
  msgstr ""
1733
 
1734
  #: includes/functions-check-now.php:2974 includes/functions.old.php:2899
1735
+ #: includes/functions.php:2957
1736
  msgid ""
1737
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1738
  "file"
1740
 
1741
  #. translators: %d: group number
1742
  #: includes/functions-check-now.php:2992 includes/functions.old.php:2917
1743
+ #: includes/functions.php:2975
1744
  msgid "Group %d"
1745
  msgstr ""
1746
 
1747
  #: includes/functions-check-now.php:2998 includes/functions.old.php:2923
1748
+ #: includes/functions.php:2981
1749
  msgid "countries"
1750
  msgstr ""
1751
 
1752
  #: includes/functions-check-now.php:3043 includes/functions.old.php:2968
1753
+ #: includes/functions.php:3026
1754
  msgid ""
1755
  "Enable impression and click tracking. You also need to enable tracking for "
1756
  "each block you want to track."
1757
  msgstr ""
1758
 
1759
  #: includes/functions-check-now.php:3050 includes/functions.old.php:2975
1760
+ #: includes/functions.php:3033
1761
  msgid "Generate report"
1762
  msgstr ""
1763
 
1764
  #: includes/functions-check-now.php:3058 includes/functions.old.php:2983
1765
+ #: includes/functions.php:3041
1766
  msgid "Impression and Click Tracking"
1767
  msgstr ""
1768
 
1769
  #: includes/functions-check-now.php:3059 includes/functions.old.php:2984
1770
+ #: includes/functions.php:3042 settings.php:2667
1771
  msgctxt "ad blocking detection"
1772
  msgid "NOT ENABLED"
1773
  msgstr ""
1774
 
1775
  #: includes/functions-check-now.php:3075 includes/functions.old.php:3000
1776
+ #: includes/functions.php:3058
1777
  msgid "Internal"
1778
  msgstr ""
1779
 
1780
  #: includes/functions-check-now.php:3079 includes/functions.old.php:3004
1781
+ #: includes/functions.php:3062
1782
  msgid "Track impressions and clicks with internal tracking and statistics"
1783
  msgstr ""
1784
 
1785
  #: includes/functions-check-now.php:3084 includes/functions.old.php:3009
1786
+ #: includes/functions.php:3067
1787
  msgid "External"
1788
  msgstr ""
1789
 
1790
  #: includes/functions-check-now.php:3088 includes/functions.old.php:3013
1791
+ #: includes/functions.php:3071
1792
  msgid ""
1793
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1794
  "code installed)"
1795
  msgstr ""
1796
 
1797
  #: includes/functions-check-now.php:3093 includes/functions.old.php:3018
1798
+ #: includes/functions.php:3076
1799
  msgid "Track Pageviews"
1800
  msgstr ""
1801
 
1802
  #: includes/functions-check-now.php:3099 includes/functions.old.php:3024
1803
+ #: includes/functions.php:3082
1804
  msgid "Track Pageviews by Device (as configured for viewports)"
1805
  msgstr ""
1806
 
1807
  #: includes/functions-check-now.php:3109 includes/functions.old.php:3034
1808
+ #: includes/functions.php:3092
1809
  msgid "Track for Logged in Users"
1810
  msgstr ""
1811
 
1812
  #: includes/functions-check-now.php:3115 includes/functions.old.php:3040
1813
+ #: includes/functions.php:3098
1814
  msgid "Track impressions and clicks from logged in users"
1815
  msgstr ""
1816
 
1817
  #: includes/functions-check-now.php:3125 includes/functions.old.php:3050
1818
+ #: includes/functions.php:3108
1819
  msgid "Click Detection"
1820
  msgstr ""
1821
 
1822
  #: includes/functions-check-now.php:3131 includes/functions.old.php:3056
1823
+ #: includes/functions.php:3114
1824
  msgid ""
1825
  "Standard method detects clicks only on banners with links, Advanced method "
1826
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1827
  msgstr ""
1828
 
1829
  #: includes/functions-check-now.php:3150 includes/functions.old.php:3075
1830
+ #: includes/functions.php:3133
1831
  msgid "Click fraud protection"
1832
  msgstr ""
1833
 
1834
  #: includes/functions-check-now.php:3154 includes/functions.old.php:3079
1835
+ #: includes/functions.php:3137
1836
  msgid "Globally enable click fraud protection for selected blocks."
1837
  msgstr ""
1838
 
1839
  #: includes/functions-check-now.php:3160 includes/functions.old.php:3085
1840
+ #: includes/functions.php:3143
1841
  msgid "Protection time"
1842
  msgstr ""
1843
 
1844
  #: includes/functions-check-now.php:3161 includes/functions.old.php:3086
1845
+ #: includes/functions.php:3144
1846
  msgid ""
1847
  "Time period in days in which blocks with enabled click fraud protection will "
1848
  "be hidden. Use decimal value (with decimal point) for shorter periods."
1849
  msgstr ""
1850
 
1851
  #: includes/functions-check-now.php:3180 includes/functions.old.php:3105
1852
+ #: includes/functions.php:3163
1853
  msgid "Report header image"
1854
  msgstr ""
1855
 
1856
  #: includes/functions-check-now.php:3183 includes/functions.old.php:3108
1857
+ #: includes/functions.php:3166
1858
  msgid ""
1859
  "Image or logo to be displayed in the header of the statistins report. "
1860
  "Aabsolute path starting with '/' or relative path to the image file. Clear "
1862
  msgstr ""
1863
 
1864
  #: includes/functions-check-now.php:3184 includes/functions.old.php:3109
1865
+ #: includes/functions.php:3167 strings.php:232
1866
  msgid "Select or upload header image"
1867
  msgstr ""
1868
 
1869
  #: includes/functions-check-now.php:3189 includes/functions.old.php:3114
1870
+ #: includes/functions.php:3172
1871
  msgid "Report header title"
1872
  msgstr ""
1873
 
1874
  #: includes/functions-check-now.php:3192 includes/functions.old.php:3117
1875
+ #: includes/functions.php:3175
1876
  msgid ""
1877
  "Title to be displayed in the header of the statistics report. Text or HTML "
1878
  "code, clear to reset to default text."
1879
  msgstr ""
1880
 
1881
  #: includes/functions-check-now.php:3197 includes/functions.old.php:3122
1882
+ #: includes/functions.php:3180
1883
  msgid "Report header description"
1884
  msgstr ""
1885
 
1886
  #: includes/functions-check-now.php:3200 includes/functions.old.php:3125
1887
+ #: includes/functions.php:3183
1888
  msgid ""
1889
  "Description to be displayed in the header of the statistics report. Text or "
1890
  "HTML code, clear to reset to default text."
1891
  msgstr ""
1892
 
1893
  #: includes/functions-check-now.php:3205 includes/functions.old.php:3130
1894
+ #: includes/functions.php:3188
1895
  msgid "Report footer"
1896
  msgstr ""
1897
 
1898
  #: includes/functions-check-now.php:3208 includes/functions.old.php:3133
1899
+ #: includes/functions.php:3191
1900
  msgid ""
1901
  "Text to be displayed in the footer of the statistics report. Clear to reset "
1902
  "to default text."
1903
  msgstr ""
1904
 
1905
  #: includes/functions-check-now.php:3213 includes/functions.old.php:3138
1906
+ #: includes/functions.php:3196
1907
  msgid "Public report key"
1908
  msgstr ""
1909
 
1910
  #: includes/functions-check-now.php:3216 includes/functions.old.php:3141
1911
+ #: includes/functions.php:3199
1912
  msgid "String to generate unique report IDs. Clear to reset to default value."
1913
  msgstr ""
1914
 
1915
  #: includes/functions-check-now.php:3248 includes/functions.old.php:3173
1916
+ #: includes/functions.php:3231
1917
  msgid "Are you sure you want to clear all exceptions for block"
1918
  msgstr ""
1919
 
1920
  #: includes/functions-check-now.php:3249 includes/functions.old.php:3174
1921
+ #: includes/functions.php:3232 settings.php:1165
1922
  msgid "Clear all exceptions for block"
1923
  msgstr ""
1924
 
1925
  #: includes/functions-check-now.php:3256 includes/functions.old.php:3181
1926
+ #: includes/functions.php:3239
1927
  msgid "Are you sure you want to clear all exceptions?"
1928
  msgstr ""
1929
 
1930
  #: includes/functions-check-now.php:3256 includes/functions.old.php:3181
1931
+ #: includes/functions.php:3239
1932
  msgid "Clear all exceptions for all blocks"
1933
  msgstr ""
1934
 
1935
  #: includes/functions-check-now.php:3261 includes/functions.old.php:3186
1936
+ #: includes/functions.php:3244 settings.php:3750 settings.php:4181
1937
  msgid "Type"
1938
  msgstr ""
1939
 
1940
  #: includes/functions-check-now.php:3279 includes/functions.old.php:3204
1941
+ #: includes/functions.php:3262
1942
  msgid "View"
1943
  msgstr ""
1944
 
1945
  #: includes/functions-check-now.php:3280 includes/functions-check-now.php:3287
1946
  #: includes/functions-check-now.php:3291 includes/functions.old.php:3205
1947
  #: includes/functions.old.php:3212 includes/functions.old.php:3216
1948
+ #: includes/functions.php:3263 includes/functions.php:3270
1949
+ #: includes/functions.php:3274 includes/placeholders.php:353
1950
+ #: includes/preview.php:2281 settings.php:1299 settings.php:3510
1951
  msgid "Edit"
1952
  msgstr ""
1953
 
1954
  #: includes/functions-check-now.php:3310 includes/functions.old.php:3235
1955
+ #: includes/functions.php:3293
1956
  msgid "Are you sure you want to clear all exceptions for"
1957
  msgstr ""
1958
 
1959
  #: includes/functions-check-now.php:3311 includes/functions.old.php:3236
1960
+ #: includes/functions.php:3294
1961
  msgid "Clear all exceptions for"
1962
  msgstr ""
1963
 
1964
  #: includes/functions-check-now.php:3324 includes/functions.old.php:3249
1965
+ #: includes/functions.php:3307
1966
  msgid "No exceptions"
1967
  msgstr ""
1968
 
1969
  #. translators: %s: Ad Inserter Pro
1970
  #: includes/functions-check-now.php:3335 includes/functions.old.php:3260
1971
+ #: includes/functions.php:3318
1972
  msgid "%s options for network blogs"
1973
  msgstr ""
1974
 
1975
  #. translators: %s: Ad Inserter Pro
1976
  #: includes/functions-check-now.php:3340 includes/functions.old.php:3265
1977
+ #: includes/functions.php:3323
1978
  msgid "Enable %s widgets for sub-sites"
1979
  msgstr ""
1980
 
1981
  #: includes/functions-check-now.php:3340 includes/functions.old.php:3265
1982
+ #: includes/functions.php:3323
1983
  msgid "Widgets"
1984
  msgstr ""
1985
 
1986
  #: includes/functions-check-now.php:3345 includes/functions.old.php:3270
1987
+ #: includes/functions.php:3328
1988
  msgid "Enable PHP code processing for sub-sites"
1989
  msgstr ""
1990
 
1991
  #: includes/functions-check-now.php:3345 includes/functions.old.php:3270
1992
+ #: includes/functions.php:3328
1993
  msgid "PHP Processing"
1994
  msgstr ""
1995
 
1996
  #. translators: %s: Ad Inserter Pro
1997
  #: includes/functions-check-now.php:3350 includes/functions.old.php:3275
1998
+ #: includes/functions.php:3333
1999
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
2000
  msgstr ""
2001
 
2002
  #: includes/functions-check-now.php:3350 includes/functions.old.php:3275
2003
+ #: includes/functions.php:3333
2004
  msgid "Post/Page exceptions"
2005
  msgstr ""
2006
 
2007
  #. translators: %s: Ad Inserter Pro
2008
  #: includes/functions-check-now.php:3355 includes/functions.old.php:3280
2009
+ #: includes/functions.php:3338
2010
  msgid "Enable %s settings page for sub-sites"
2011
  msgstr ""
2012
 
2013
  #: includes/functions-check-now.php:3355 includes/functions.old.php:3280
2014
+ #: includes/functions.php:3338
2015
  msgid "Settings page"
2016
  msgstr ""
2017
 
2018
  #. translators: %s: Ad Inserter Pro
2019
  #: includes/functions-check-now.php:3360 includes/functions.old.php:3285
2020
+ #: includes/functions.php:3343
2021
  msgid "Enable %s settings of main site to be used for all blogs"
2022
  msgstr ""
2023
 
2024
  #: includes/functions-check-now.php:3360 includes/functions.old.php:3285
2025
+ #: includes/functions.php:3343
2026
  msgid "Main site settings used for all blogs"
2027
  msgstr ""
2028
 
2029
  #: includes/functions-check-now.php:3371 includes/functions.old.php:3296
2030
+ #: includes/functions.php:3354 settings.php:2666
2031
  msgid "Ad Blocking Detection"
2032
  msgstr ""
2033
 
2034
  #: includes/functions-check-now.php:3377 includes/functions.old.php:3302
2035
+ #: includes/functions.php:3360
2036
  msgid ""
2037
  "Standard method is reliable but should be used only if Advanced method does "
2038
  "not work. Advanced method recreates files used for detection with random "
2043
  #: includes/functions-check-now.php:4029 includes/functions-check-now.php:4119
2044
  #: includes/functions-check-now.php:4139 includes/functions.old.php:3929
2045
  #: includes/functions.old.php:4019 includes/functions.old.php:4039
2046
+ #: includes/functions.php:4020 includes/functions.php:4110
2047
+ #: includes/functions.php:4130
2048
  msgid "AD BLOCKING"
2049
  msgstr ""
2050
 
2052
  #: includes/functions-check-now.php:4113 includes/functions-check-now.php:4140
2053
  #: includes/functions.old.php:3930 includes/functions.old.php:3970
2054
  #: includes/functions.old.php:4013 includes/functions.old.php:4040
2055
+ #: includes/functions.php:4021 includes/functions.php:4061
2056
+ #: includes/functions.php:4104 includes/functions.php:4131
2057
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
2058
  msgstr ""
2059
 
2060
  #: includes/functions-check-now.php:4033 includes/functions-check-now.php:4112
2061
  #: includes/functions-check-now.php:4146 includes/functions.old.php:3933
2062
  #: includes/functions.old.php:4012 includes/functions.old.php:4046
2063
+ #: includes/functions.php:4024 includes/functions.php:4103
2064
+ #: includes/functions.php:4137
2065
  msgid "NO AD BLOCKING"
2066
  msgstr ""
2067
 
2068
  #: includes/functions-check-now.php:4069 includes/functions-check-now.php:4076
2069
  #: includes/functions.old.php:3969 includes/functions.old.php:3976
2070
+ #: includes/functions.php:4060 includes/functions.php:4067
2071
  msgid "AD BLOCKING REPLACEMENT"
2072
  msgstr ""
2073
 
2074
  #: includes/functions-check-now.php:4219 includes/functions-check-now.php:4428
2075
  #: includes/functions.old.php:4119 includes/functions.old.php:4328
2076
+ #: includes/functions.php:4210 includes/functions.php:4419
2077
  msgid "Pageviews"
2078
  msgstr ""
2079
 
2080
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2081
+ #: includes/functions.php:4356
2082
  msgctxt "Version"
2083
  msgid "Unknown"
2084
  msgstr ""
2085
 
2086
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2087
+ #: includes/functions.php:4356
2088
  msgctxt "Times"
2089
  msgid "DISPLAYED"
2090
  msgstr ""
2091
 
2092
  #: includes/functions-check-now.php:4365 includes/functions.old.php:4265
2093
+ #: includes/functions.php:4356
2094
  msgid "No version"
2095
  msgstr ""
2096
 
2097
  #: includes/functions-check-now.php:4366 includes/functions.old.php:4266
2098
+ #: includes/functions.php:4357
2099
  msgctxt "Times"
2100
  msgid "BLOCKED"
2101
  msgstr ""
2102
 
2103
  #: includes/functions-check-now.php:4428 includes/functions.old.php:4328
2104
+ #: includes/functions.php:4419
2105
  msgid "Impressions"
2106
  msgstr ""
2107
 
2108
  #: includes/functions-check-now.php:4429 includes/functions-check-now.php:4430
2109
  #: includes/functions-check-now.php:4485 includes/functions.old.php:4329
2110
  #: includes/functions.old.php:4330 includes/functions.old.php:4385
2111
+ #: includes/functions.php:4420 includes/functions.php:4421
2112
+ #: includes/functions.php:4476
2113
  msgid "Clicks"
2114
  msgstr ""
2115
 
2116
  #: includes/functions-check-now.php:4430 includes/functions.old.php:4330
2117
+ #: includes/functions.php:4421
2118
  msgid "events"
2119
  msgstr ""
2120
 
2121
  #: includes/functions-check-now.php:4431 includes/functions.old.php:4331
2122
+ #: includes/functions.php:4422
2123
  msgid "Ad Blocking Share"
2124
  msgstr ""
2125
 
2126
  #. translators: CTR as Click Through Rate
2127
  #: includes/functions-check-now.php:4431 includes/functions-check-now.php:4491
2128
  #: includes/functions.old.php:4331 includes/functions.old.php:4391
2129
+ #: includes/functions.php:4422 includes/functions.php:4482
2130
  msgid "CTR"
2131
  msgstr ""
2132
 
2133
  #: includes/functions-check-now.php:4573 includes/functions.old.php:4473
2134
+ #: includes/functions.php:4564
2135
  msgid "pageviews"
2136
  msgid_plural "pageviews"
2137
  msgstr[0] ""
2138
  msgstr[1] ""
2139
 
2140
  #: includes/functions-check-now.php:4573 includes/functions.old.php:4473
2141
+ #: includes/functions.php:4564
2142
  msgid "impressions"
2143
  msgid_plural "impressions"
2144
  msgstr[0] ""
2145
  msgstr[1] ""
2146
 
2147
  #: includes/functions-check-now.php:4577 includes/functions.old.php:4477
2148
+ #: includes/functions.php:4568
2149
  msgid "event"
2150
  msgid_plural "events"
2151
  msgstr[0] ""
2152
  msgstr[1] ""
2153
 
2154
  #: includes/functions-check-now.php:4672 includes/functions.old.php:4572
2155
+ #: includes/functions.php:4663
2156
  msgctxt "Pageviews / Impressions"
2157
  msgid "Average"
2158
  msgstr ""
2159
 
2160
  #: includes/functions-check-now.php:4693 includes/functions.old.php:4593
2161
+ #: includes/functions.php:4684
2162
  msgctxt "Ad Blocking / Clicks"
2163
  msgid "Average"
2164
  msgstr ""
2165
 
2166
  #: includes/functions-check-now.php:4717 includes/functions.old.php:4617
2167
+ #: includes/functions.php:4708
2168
  msgctxt "Ad Blocking Share / CTR"
2169
  msgid "Average"
2170
  msgstr ""
2173
  #: includes/functions-check-now.php:4899 includes/functions-check-now.php:4991
2174
  #: includes/functions-check-now.php:5334 includes/functions.old.php:4799
2175
  #: includes/functions.old.php:4891 includes/functions.old.php:5207
2176
+ #: includes/functions.php:4890 includes/functions.php:4982
2177
+ #: includes/functions.php:5325 strings.php:186
2178
  msgid "%s Report"
2179
  msgstr ""
2180
 
2181
  #: includes/functions-check-now.php:5240 includes/functions.old.php:5113
2182
+ #: includes/functions.php:5231
2183
  msgid "for last month"
2184
  msgstr ""
2185
 
2186
  #: includes/functions-check-now.php:5245 includes/functions.old.php:5118
2187
+ #: includes/functions.php:5236
2188
  msgid "for this month"
2189
  msgstr ""
2190
 
2191
  #: includes/functions-check-now.php:5250 includes/functions.old.php:5123
2192
+ #: includes/functions.php:5241
2193
  msgid "for this year"
2194
  msgstr ""
2195
 
2196
  #: includes/functions-check-now.php:5255 includes/functions.old.php:5128
2197
+ #: includes/functions.php:5246
2198
  msgid "for the last 15 days"
2199
  msgstr ""
2200
 
2201
  #: includes/functions-check-now.php:5260 includes/functions.old.php:5133
2202
+ #: includes/functions.php:5251
2203
  msgid "for the last 30 days"
2204
  msgstr ""
2205
 
2206
  #: includes/functions-check-now.php:5265 includes/functions.old.php:5138
2207
+ #: includes/functions.php:5256
2208
  msgid "for the last 90 days"
2209
  msgstr ""
2210
 
2211
  #: includes/functions-check-now.php:5270 includes/functions.old.php:5143
2212
+ #: includes/functions.php:5261
2213
  msgid "for the last 180 days"
2214
  msgstr ""
2215
 
2216
  #: includes/functions-check-now.php:5275 includes/functions.old.php:5148
2217
+ #: includes/functions.php:5266
2218
  msgid "for the last 365 days"
2219
  msgstr ""
2220
 
2221
+ #: includes/functions.php:1439
2222
+ msgid "License"
2223
+ msgstr ""
2224
+
2225
  #: includes/placeholders.php:20
2226
  msgid "Custom"
2227
  msgstr ""
2246
  msgid "Placeholder"
2247
  msgstr ""
2248
 
2249
+ #: includes/placeholders.php:363 settings.php:908 settings.php:4182
2250
  msgid "Size"
2251
  msgstr ""
2252
 
2354
  msgid "Ad Blocking Detected Message Preview"
2355
  msgstr ""
2356
 
2357
+ #: includes/preview-adb.php:348 settings.php:2792
2358
  msgid "Message CSS"
2359
  msgstr ""
2360
 
2361
+ #: includes/preview-adb.php:353 settings.php:2800
2362
  msgid "Overlay CSS"
2363
  msgstr ""
2364
 
2398
  msgid "background"
2399
  msgstr ""
2400
 
2401
+ #: includes/preview.php:2085 includes/preview.php:2236 settings.php:1260
2402
  msgid "Alignment"
2403
  msgstr ""
2404
 
2496
  "the values to those of the current block."
2497
  msgstr ""
2498
 
2499
+ #: settings.php:175 settings.php:1149
2500
  msgid ""
2501
  "Settings for individual exceptions have been updated. Please check all "
2502
  "blocks that have exceptions and and then save settings."
2503
  msgstr ""
2504
 
2505
+ #: settings.php:217
2506
  msgid "Online documentation"
2507
  msgstr ""
2508
 
2509
+ #: settings.php:221 settings.php:743 settings.php:2186
2510
  msgid "Show AdSense ad units"
2511
  msgstr ""
2512
 
2513
+ #: settings.php:226
2514
  msgid "Edit ads.txt file"
2515
  msgstr ""
2516
 
2517
+ #: settings.php:229 settings.php:1092
2518
  msgid "Check theme for available positions for automatic insertion"
2519
  msgstr ""
2520
 
2521
+ #: settings.php:231
2522
  msgid "List all blocks"
2523
  msgstr ""
2524
 
2525
+ #: settings.php:238
2526
  msgid "Loaded plugin JavaScript file version"
2527
  msgstr ""
2528
 
2529
  #. translators: %s: HTML tags
2530
+ #: settings.php:240
2531
  msgid ""
2532
  "Wrong or %s missing version parameter %s of the JavaScript file, probably "
2533
  "due to inappropriate caching."
2534
  msgstr ""
2535
 
2536
+ #: settings.php:241
2537
  msgid ""
2538
  "Missing version parameter of the JavaScript file, probably due to "
2539
  "inappropriate caching."
2540
  msgstr ""
2541
 
2542
+ #: settings.php:242
2543
  msgid ""
2544
  "Incompatible (old) JavaScript file loaded, probably due to inappropriate "
2545
  "caching."
2546
  msgstr ""
2547
 
2548
+ #: settings.php:243 settings.php:254
2549
  msgid ""
2550
  "Please delete browser's cache and all other caches used and then reload this "
2551
  "page."
2552
  msgstr ""
2553
 
2554
+ #: settings.php:249
2555
  msgid "Loaded plugin CSS file version"
2556
  msgstr ""
2557
 
2558
  #. translators: %s: HTML tags
2559
+ #: settings.php:251
2560
  msgid ""
2561
  "Wrong or %s missing version parameter %s of the CSS file, probably due to "
2562
  "inappropriate caching."
2563
  msgstr ""
2564
 
2565
+ #: settings.php:252
2566
  msgid ""
2567
  "Missing version parameter of the CSS file, probably due to inappropriate "
2568
  "caching."
2569
  msgstr ""
2570
 
2571
+ #: settings.php:253
2572
  msgid ""
2573
  "Incompatible (old) CSS file loaded, probably due to inappropriate caching."
2574
  msgstr ""
2575
 
2576
+ #: settings.php:260 settings.php:272
2577
  msgid "WARNING"
2578
  msgstr ""
2579
 
2580
  #. translators: %s: HTML tags
2581
+ #: settings.php:262
2582
  msgid "Page may %s not be loaded properly. %s"
2583
  msgstr ""
2584
 
2585
+ #: settings.php:263
2586
  msgid ""
2587
  "Check ad blocking software that may block CSS, JavaScript or image files."
2588
  msgstr ""
2589
 
2590
+ #: settings.php:272
2591
  msgid ""
2592
  "To disable debugging functions and to enable insertions go to tab [*] / tab "
2593
  "Debugging"
2594
  msgstr ""
2595
 
2596
+ #: settings.php:274
2597
  msgid "Debugging functions enabled - some code is not inserted"
2598
  msgstr ""
2599
 
2600
+ #: settings.php:291
2601
  msgid "Group name"
2602
  msgstr ""
2603
 
2604
+ #: settings.php:292
2605
  msgid "Option name"
2606
  msgstr ""
2607
 
2608
+ #: settings.php:298
2609
  msgid "Share"
2610
  msgstr ""
2611
 
2612
+ #: settings.php:301
2613
  msgid ""
2614
  "Option share in percents - 0 means option is disabled, if share for one "
2615
  "option is not defined it will be calculated automatically. Leave all share "
2616
  "fields empty for equal option shares."
2617
  msgstr ""
2618
 
2619
+ #: settings.php:304
2620
  msgid "Time"
2621
  msgstr ""
2622
 
2623
+ #: settings.php:307
2624
  msgid ""
2625
  "Option time in seconds - 0 means option is disabled and will be skipped. "
2626
  "Leave all time fields empty for no timed rotation."
2627
  msgstr ""
2628
 
2629
+ #: settings.php:459
2630
  msgid "General Settings"
2631
  msgstr ""
2632
 
2633
+ #: settings.php:691 settings.php:2519 settings.php:2586 settings.php:2772
2634
  msgid "Toggle Syntax Highlighting / Simple editor for mobile devices"
2635
  msgstr ""
2636
 
2637
+ #: settings.php:698
2638
  msgid "Toggle tools"
2639
  msgstr ""
2640
 
2641
+ #: settings.php:706
2642
  msgid "Process PHP code in block"
2643
  msgstr ""
2644
 
2645
+ #: settings.php:713
2646
  msgid "Disable insertion of this block"
2647
  msgstr ""
2648
 
2649
+ #: settings.php:725
2650
  msgid "Toggle code generator"
2651
  msgstr ""
2652
 
2653
+ #: settings.php:729
2654
  msgid "Toggle rotation editor"
2655
  msgstr ""
2656
 
2657
+ #: settings.php:733
2658
  msgid "Open visual HTML editor"
2659
  msgstr ""
2660
 
2661
+ #: settings.php:752
2662
  msgid "Clear block"
2663
  msgstr ""
2664
 
2665
+ #: settings.php:757 settings.php:4054
2666
  msgid "Copy block"
2667
  msgstr ""
2668
 
2669
+ #: settings.php:761
2670
  msgid "Paste name"
2671
  msgstr ""
2672
 
2673
+ #: settings.php:765
2674
  msgid "Paste code"
2675
  msgstr ""
2676
 
2677
+ #: settings.php:769
2678
  msgid "Paste settings"
2679
  msgstr ""
2680
 
2681
+ #: settings.php:773
2682
  msgid "Paste block (name, code and settings)"
2683
  msgstr ""
2684
 
2685
+ #: settings.php:792
2686
  msgid "Rotation groups"
2687
  msgstr ""
2688
 
2689
+ #: settings.php:796
2690
  msgid "Remove option"
2691
  msgstr ""
2692
 
2693
+ #: settings.php:800
2694
  msgid "Add option"
2695
  msgstr ""
2696
 
2697
+ #: settings.php:815
2698
  msgid "Import code"
2699
  msgstr ""
2700
 
2701
+ #: settings.php:819
2702
  msgid "Generate code"
2703
  msgstr ""
2704
 
2705
+ #: settings.php:824
2706
  msgid "Banner"
2707
  msgstr ""
2708
 
2709
+ #: settings.php:835
2710
  msgid "Image"
2711
  msgstr ""
2712
 
2713
+ #: settings.php:843
2714
  msgid "Link"
2715
  msgstr ""
2716
 
2717
+ #: settings.php:854
2718
  msgid "Open link in a new tab"
2719
  msgstr ""
2720
 
2721
+ #: settings.php:855
2722
  msgid "Select Image"
2723
  msgstr ""
2724
 
2725
+ #: settings.php:856
2726
  msgid "Select Placeholder"
2727
  msgstr ""
2728
 
2729
+ #: settings.php:868
2730
  msgid "Comment"
2731
  msgstr ""
2732
 
2733
+ #: settings.php:877
2734
  msgctxt "AdSense"
2735
  msgid "Publisher ID"
2736
  msgstr ""
2737
 
2738
+ #: settings.php:886
2739
  msgctxt "AdSense"
2740
  msgid "Ad Slot ID"
2741
  msgstr ""
2742
 
2743
+ #: settings.php:895
2744
  msgid "Ad Type"
2745
  msgstr ""
2746
 
2747
+ #: settings.php:920
2748
  msgid "AMP Ad"
2749
  msgstr ""
2750
 
2751
+ #: settings.php:938
2752
  msgid "Show ad units from your AdSense account"
2753
  msgstr ""
2754
 
2755
+ #: settings.php:938
2756
  msgid "AdSense ad units"
2757
  msgstr ""
2758
 
2759
+ #: settings.php:955
2760
  msgctxt "AdSense"
2761
  msgid "Layout"
2762
  msgstr ""
2763
 
2764
+ #: settings.php:964
2765
  msgctxt "AdSense"
2766
  msgid "Layout Key"
2767
  msgstr ""
2768
 
2769
+ #: settings.php:974
2770
  msgid "Full width"
2771
  msgstr ""
2772
 
2773
+ #: settings.php:976
2774
  msgctxt "Full width"
2775
  msgid "Enabled"
2776
  msgstr ""
2777
 
2778
+ #: settings.php:977
2779
  msgctxt "Full width"
2780
  msgid "Disabled"
2781
  msgstr ""
2782
 
2783
+ #: settings.php:1058
2784
  msgid ""
2785
  "White/Black-list Category, Tag, Taxonomy, Post ID, Url, Url parameter, "
2786
  "Cookie or Referer (domain)"
2787
  msgstr ""
2788
 
2789
+ #: settings.php:1058
2790
  msgid "Lists"
2791
  msgstr ""
2792
 
2793
+ #: settings.php:1059
2794
  msgid "Widget, Shortcode and PHP function call"
2795
  msgstr ""
2796
 
2797
+ #: settings.php:1059
2798
  msgid "Manual"
2799
  msgstr ""
2800
 
2801
+ #: settings.php:1060
2802
  msgid "Client/Server-side Device Detection (Desktop, Tablet, Phone,...)"
2803
  msgstr ""
2804
 
2805
+ #: settings.php:1060
2806
  msgid "Devices"
2807
  msgstr ""
2808
 
2809
+ #: settings.php:1061
2810
  msgid ""
2811
  "Check for user status, Limit insertions (error 404 page, Ajax requests, RSS "
2812
  "feeds), Filter, Scheduling, General tag"
2813
  msgstr ""
2814
 
2815
+ #: settings.php:1061
2816
  msgid "Misc"
2817
  msgstr ""
2818
 
2819
+ #: settings.php:1062
2820
  msgid "Preview code and alignment"
2821
  msgstr ""
2822
 
2823
+ #: settings.php:1065 settings.php:2170
2824
  msgid ""
2825
  "Rotation editor active - rotation code not generated! Make sure no rotation "
2826
  "editor is active before saving settings."
2827
  msgstr ""
2828
 
2829
+ #: settings.php:1078 settings.php:1079
2830
  msgid "Enable insertion on posts"
2831
  msgstr ""
2832
 
2833
+ #: settings.php:1079 settings.php:3322
2834
  msgid "Posts"
2835
  msgstr ""
2836
 
2837
+ #: settings.php:1083 settings.php:1084
2838
  msgid ""
2839
  "Enable insertion on homepage: latest posts (including on sub-pages), static "
2840
  "page or theme homepage (available positions may depend on hooks used by the "
2841
  "theme)"
2842
  msgstr ""
2843
 
2844
+ #: settings.php:1084 settings.php:3324
2845
  msgid "Homepage"
2846
  msgstr ""
2847
 
2848
+ #: settings.php:1088 settings.php:1089
2849
  msgid "Enable insertion on category blog pages (including sub-pages)"
2850
  msgstr ""
2851
 
2852
+ #: settings.php:1089 settings.php:3325
2853
  msgid "Category pages"
2854
  msgstr ""
2855
 
2856
+ #: settings.php:1099 settings.php:1100
2857
  msgid "Enable insertion on static pages"
2858
  msgstr ""
2859
 
2860
+ #: settings.php:1100 settings.php:3323
2861
  msgid "Static pages"
2862
  msgstr ""
2863
 
2864
+ #: settings.php:1104 settings.php:1105
2865
  msgid "Enable insertion on search blog pages"
2866
  msgstr ""
2867
 
2868
+ #: settings.php:1105 settings.php:3327
2869
  msgid "Search pages"
2870
  msgstr ""
2871
 
2872
+ #: settings.php:1109 settings.php:1110
2873
  msgid "Enable insertion on tag or archive blog pages"
2874
  msgstr ""
2875
 
2876
+ #: settings.php:1113
2877
  msgid "Toggle settings for default insertion and list of individual exceptions"
2878
  msgstr ""
2879
 
2880
+ #: settings.php:1125
2881
  msgid ""
2882
  "Enable individual post/page exceptions for insertion of this block. They can "
2883
  "be configured on the individual post/page editor page (in the settings below "
2884
  "the editor)."
2885
  msgstr ""
2886
 
2887
+ #: settings.php:1126
2888
  msgid ""
2889
  "Enable individual post/page exceptions for insertion of this block. When "
2890
  "enabled they can be configured on the individual post/page editor page (in "
2891
  "the settings below the editor)."
2892
  msgstr ""
2893
 
2894
+ #: settings.php:1126
2895
  msgid "Use exceptions for individual posts or pages to change insertion"
2896
  msgstr ""
2897
 
2898
  #. Translators: Enabled means...
2899
+ #: settings.php:1134
2900
  msgid ""
2901
  "means the insertion for this block is enabled by default and disabled for "
2902
  "exceptions."
2903
  msgstr ""
2904
 
2905
  #. Translators: Disabled means...
2906
+ #: settings.php:1135
2907
  msgid ""
2908
  "means the insertion for this block is disabled by default and enabled for "
2909
  "exceptions."
2910
  msgstr ""
2911
 
2912
+ #: settings.php:1136
2913
  msgid ""
2914
  "When individual post/page exceptions are enabled they can be configured on "
2915
  "the individual post/page editor page (in the settings below the editor)."
2916
  msgstr ""
2917
 
2918
+ #: settings.php:1144
2919
  msgid ""
2920
  "No exception for post or static page defined. Block will not be inserted."
2921
  msgstr ""
2922
 
2923
+ #: settings.php:1162
2924
  msgctxt "post"
2925
  msgid "Type"
2926
  msgstr ""
2927
 
2928
  #. translators: %d: block number
2929
+ #: settings.php:1164
2930
  msgid "Are you sure you want to clear all exceptions for block %d?"
2931
  msgstr ""
2932
 
2933
+ #: settings.php:1191 settings.php:1339 settings.php:1962
2934
  msgid "Insertion"
2935
  msgstr ""
2936
 
2937
+ #: settings.php:1229
2938
  msgid ""
2939
  "Paragraph number or comma separated paragraph numbers: 1 to N means "
2940
  "paragraph number, %N means every N paragraphs, empty means all paragraphs, 0 "
2944
  "negative number means counting from the opposite direction"
2945
  msgstr ""
2946
 
2947
+ #: settings.php:1230
2948
  msgid ""
2949
  "Image number or comma separated image numbers: 1 to N means image number, %N "
2950
  "means every N images, empty means all images, 0 means random image, value "
2954
  "direction"
2955
  msgstr ""
2956
 
2957
+ #: settings.php:1243
2958
  msgid ""
2959
  "Insertion Filter Mirror Setting | Excerpt number or comma separated excerpt "
2960
  "numbers, %N means every N excerpts, empty means all excerpts"
2961
  msgstr ""
2962
 
2963
+ #: settings.php:1244
2964
  msgid ""
2965
  "Insertion Filter Mirror Setting | Post number or comma separated post "
2966
  "numbers, %N means every N posts, empty means all posts"
2967
  msgstr ""
2968
 
2969
+ #: settings.php:1245
2970
  msgid ""
2971
  "Insertion Filter Mirror Setting | Comment number or comma separated comment "
2972
  "numbers, %N means every N comments, empty means all comments"
2973
  msgstr ""
2974
 
2975
+ #: settings.php:1252
2976
  msgid "Toggle paragraph counting settings"
2977
  msgstr ""
2978
 
2979
+ #: settings.php:1253
2980
  msgid "Toggle paragraph clearance settings"
2981
  msgstr ""
2982
 
2983
+ #: settings.php:1256
2984
  msgid "Toggle insertion filter settings"
2985
  msgstr ""
2986
 
2987
+ #: settings.php:1274
2988
  msgid "Toggle insertion and alignment icons"
2989
  msgstr ""
2990
 
2991
+ #: settings.php:1288
2992
  msgid "Custom CSS code for the wrapping div"
2993
  msgstr ""
2994
 
2995
+ #: settings.php:1291 settings.php:1292 settings.php:1293 settings.php:1294
2996
+ #: settings.php:1295 settings.php:1296
2997
  msgid "CSS code for the wrapping div, click to edit"
2998
  msgstr ""
2999
 
3000
+ #: settings.php:1309
3001
  msgid "HTML element"
3002
  msgstr ""
3003
 
3004
+ #: settings.php:1322
3005
  msgid "HTML element selector or comma separated list of selectors"
3006
  msgstr ""
3007
 
3008
+ #: settings.php:1328 settings.php:2677
3009
  msgid "Action"
3010
  msgstr ""
3011
 
3012
+ #: settings.php:1340
3013
  msgid ""
3014
  "Client-side insertion uses JavaScript to insert block when the page loads. "
3015
  "Server-side insertion inserts block when the page is generated but needs "
3016
  "Output buffering enabled."
3017
  msgstr ""
3018
 
3019
+ #: settings.php:1350
3020
  msgid "JavaScript code position"
3021
  msgstr ""
3022
 
3023
+ #: settings.php:1351
3024
  msgid ""
3025
  "Page position where the JavaScript code for client-side insertion will be "
3026
  "inserted. Should be after the HTML element if not waiting for DOM ready."
3027
  msgstr ""
3028
 
3029
+ #: settings.php:1366
3030
  msgid "Count"
3031
  msgstr ""
3032
 
3033
+ #: settings.php:1372
3034
  msgid "paragraphs with tags"
3035
  msgstr ""
3036
 
3037
+ #: settings.php:1378
3038
  msgid "Comma separated HTML tag names, usually only 'p' tags are used"
3039
  msgstr ""
3040
 
3041
+ #: settings.php:1387
3042
  msgid "that have between"
3043
  msgstr ""
3044
 
3045
+ #: settings.php:1393
3046
  msgid "Minimum number of paragraph words, leave empty for no limit"
3047
  msgstr ""
3048
 
3049
+ #: settings.php:1402
3050
  msgid "Maximum number of paragraph words, leave empty for no limit"
3051
  msgstr ""
3052
 
3053
+ #: settings.php:1405
3054
  msgid "words"
3055
  msgstr ""
3056
 
3057
+ #: settings.php:1420 settings.php:1479 settings.php:1549 settings.php:1575
3058
  msgid "Comma separated texts"
3059
  msgstr ""
3060
 
3061
+ #: settings.php:1433
3062
  msgid ""
3063
  "Count also paragraphs inside these elements - defined on general plugin "
3064
  "settings page - tab [*] / tab General"
3065
  msgstr ""
3066
 
3067
  #. Translators: %s: HTML tags
3068
+ #: settings.php:1439
3069
  msgid "Count inside %s elements"
3070
  msgstr ""
3071
 
3072
  #. translators: inside [HTML tags] elements that contain
3073
+ #: settings.php:1451
3074
  msgid "inside"
3075
  msgstr ""
3076
 
3077
+ #: settings.php:1457
3078
  msgid "Comma separated HTML tag names of container elements"
3079
  msgstr ""
3080
 
3081
  #. translators: inside [HTML tags] elements that contain
3082
+ #: settings.php:1466
3083
  msgid "elements that"
3084
  msgstr ""
3085
 
3086
+ #: settings.php:1492 settings.php:2085
3087
  msgid "Post/Static page must have between"
3088
  msgstr ""
3089
 
3090
+ #: settings.php:1498
3091
  msgid "Minimum number of paragraphs, leave empty for no limit"
3092
  msgstr ""
3093
 
3094
+ #: settings.php:1507
3095
  msgid "Maximum number of paragraphs, leave empty for no limit"
3096
  msgstr ""
3097
 
3098
  #. Translators: Post/Static page must have between X and Y paragraphs
3099
+ #: settings.php:1510
3100
  msgid "paragraph"
3101
  msgid_plural "paragraphs"
3102
  msgstr[0] ""
3103
  msgstr[1] ""
3104
 
3105
+ #: settings.php:1518
3106
  msgid "Minimum number of words in paragraphs above"
3107
  msgstr ""
3108
 
3109
+ #: settings.php:1524
3110
  msgid ""
3111
  "Used only with automatic insertion After paragraph and empty paragraph "
3112
  "numbers"
3113
  msgstr ""
3114
 
3115
+ #: settings.php:1534 settings.php:1560
3116
  msgid "In"
3117
  msgstr ""
3118
 
3119
+ #: settings.php:1540
3120
  msgid "Number of paragraphs above to check, leave empty to disable checking"
3121
  msgstr ""
3122
 
3123
+ #: settings.php:1543
3124
  msgid "paragraphs above avoid"
3125
  msgstr ""
3126
 
3127
+ #: settings.php:1566
3128
  msgid "Number of paragraphs below to check, leave empty to disable checking"
3129
  msgstr ""
3130
 
3131
+ #: settings.php:1569
3132
  msgid "paragraphs below avoid"
3133
  msgstr ""
3134
 
3135
+ #: settings.php:1585
3136
  msgid "If text is found"
3137
  msgstr ""
3138
 
3139
+ #: settings.php:1592
3140
  msgid "check up to"
3141
  msgstr ""
3142
 
3143
+ #: settings.php:1600
3144
  msgctxt "check up to"
3145
  msgid "paragraphs"
3146
  msgstr ""
3147
 
3148
+ #: settings.php:1616
3149
  msgid "Categories"
3150
  msgstr ""
3151
 
3152
+ #: settings.php:1619
3153
  msgid "Toggle category editor"
3154
  msgstr ""
3155
 
3156
+ #: settings.php:1622
3157
  msgid "Comma separated category slugs"
3158
  msgstr ""
3159
 
3160
+ #: settings.php:1626
3161
  msgid "Blacklist categories"
3162
  msgstr ""
3163
 
3164
+ #: settings.php:1630
3165
  msgid "Whitelist categories"
3166
  msgstr ""
3167
 
3168
+ #: settings.php:1642
3169
  msgid "Tags"
3170
  msgstr ""
3171
 
3172
+ #: settings.php:1645
3173
  msgid "Toggle tag editor"
3174
  msgstr ""
3175
 
3176
+ #: settings.php:1648
3177
  msgid "Comma separated tag slugs"
3178
  msgstr ""
3179
 
3180
+ #: settings.php:1652
3181
  msgid "Blacklist tags"
3182
  msgstr ""
3183
 
3184
+ #: settings.php:1656
3185
  msgid "Whitelist tags"
3186
  msgstr ""
3187
 
3188
+ #: settings.php:1668
3189
  msgid "Taxonomies"
3190
  msgstr ""
3191
 
3192
+ #: settings.php:1671
3193
  msgid "Toggle taxonomy editor"
3194
  msgstr ""
3195
 
3196
+ #: settings.php:1674
3197
  msgid "Comma separated slugs: taxonomy, term or taxonomy:term"
3198
  msgstr ""
3199
 
3200
+ #: settings.php:1678
3201
  msgid "Blacklist taxonomies"
3202
  msgstr ""
3203
 
3204
+ #: settings.php:1682
3205
  msgid "Whitelist taxonomies"
3206
  msgstr ""
3207
 
3208
+ #: settings.php:1694
3209
  msgid "Post IDs"
3210
  msgstr ""
3211
 
3212
+ #: settings.php:1697
3213
  msgid "Toggle post/page ID editor"
3214
  msgstr ""
3215
 
3216
+ #: settings.php:1700
3217
  msgid "Comma separated post/page IDs"
3218
  msgstr ""
3219
 
3220
+ #: settings.php:1704
3221
  msgid "Blacklist IDs"
3222
  msgstr ""
3223
 
3224
+ #: settings.php:1708
3225
  msgid "Whitelist IDs"
3226
  msgstr ""
3227
 
3228
+ #: settings.php:1720
3229
  msgid "Urls"
3230
  msgstr ""
3231
 
3232
+ #: settings.php:1723
3233
  msgid "Toggle url editor"
3234
  msgstr ""
3235
 
3236
+ #: settings.php:1726
3237
  msgid ""
3238
  "Comma separated urls (page addresses) starting with / after domain name (e."
3239
  "g. /permalink-url, use only when you need to taget a specific url not "
3241
  "start*. *url-pattern*, *url-end)"
3242
  msgstr ""
3243
 
3244
+ #: settings.php:1730
3245
  msgid "Blacklist urls"
3246
  msgstr ""
3247
 
3248
+ #: settings.php:1734
3249
  msgid "Whitelist urls"
3250
  msgstr ""
3251
 
3252
+ #: settings.php:1745
3253
  msgid "Url parameters"
3254
  msgstr ""
3255
 
3256
+ #: settings.php:1749
3257
  msgid "Toggle url parameter and cookie editor"
3258
  msgstr ""
3259
 
3260
+ #: settings.php:1752
3261
  msgid ""
3262
  "Comma separated url query parameters or cookies with optional values (use "
3263
  "'prameter', 'prameter=value', 'cookie' or 'cookie=value')"
3264
  msgstr ""
3265
 
3266
+ #: settings.php:1756
3267
  msgid "Blacklist url parameters"
3268
  msgstr ""
3269
 
3270
+ #: settings.php:1760
3271
  msgid "Whitelist url parameters"
3272
  msgstr ""
3273
 
3274
+ #: settings.php:1771
3275
  msgid "Referrers"
3276
  msgstr ""
3277
 
3278
+ #: settings.php:1774
3279
  msgid "Toggle referer editor"
3280
  msgstr ""
3281
 
3282
+ #: settings.php:1777
3283
  msgid ""
3284
  "Comma separated domains, use # for no referrer, you can also use partial "
3285
  "domains with * (domain-start*. *domain-pattern*, *domain-end)"
3286
  msgstr ""
3287
 
3288
+ #: settings.php:1781
3289
  msgid "Blacklist referers"
3290
  msgstr ""
3291
 
3292
+ #: settings.php:1785
3293
  msgid "Whitelist referers"
3294
  msgstr ""
3295
 
3296
+ #: settings.php:1796
3297
  msgid "Clients"
3298
  msgstr ""
3299
 
3300
+ #: settings.php:1799
3301
  msgid "Toggle client editor"
3302
  msgstr ""
3303
 
3304
+ #: settings.php:1802
3305
  msgid "Comma separated names (operating systems, browsers, devices)"
3306
  msgstr ""
3307
 
3308
+ #: settings.php:1806
3309
  msgid "Blacklist clients"
3310
  msgstr ""
3311
 
3312
+ #: settings.php:1810
3313
  msgid "Whitelist clients"
3314
  msgstr ""
3315
 
3316
+ #: settings.php:1831
3317
  msgid "Enable widget for this block"
3318
  msgstr ""
3319
 
3320
+ #: settings.php:1843
3321
  msgid "Enable shortcode for manual insertion of this block in posts and pages"
3322
  msgstr ""
3323
 
3324
+ #: settings.php:1844 settings.php:4110
3325
  msgid "Shortcode"
3326
  msgstr ""
3327
 
3328
+ #: settings.php:1859
3329
  msgid ""
3330
  "Enable PHP function call to insert this block at any position in theme file. "
3331
  "If function is disabled for block it will return empty string."
3332
  msgstr ""
3333
 
3334
+ #: settings.php:1860
3335
  msgid "PHP function"
3336
  msgstr ""
3337
 
3338
+ #: settings.php:1875
3339
  msgid "Client-side device detection"
3340
  msgstr ""
3341
 
3342
+ #: settings.php:1876
3343
  msgid "Server-side device detection"
3344
  msgstr ""
3345
 
3346
+ #: settings.php:1883
3347
  msgid "Use client-side detection to"
3348
  msgstr ""
3349
 
3350
+ #: settings.php:1885
3351
  msgid "Either show/hide or insert when the page is loaded on wanted viewports"
3352
  msgstr ""
3353
 
3354
  #. Translators: only on (the following devices): viewport names (devices)
3355
  #. listed
3356
+ #: settings.php:1890
3357
  msgid "only on"
3358
  msgstr ""
3359
 
3360
+ #: settings.php:1918
3361
  msgid "Device min width %s px"
3362
  msgstr ""
3363
 
3364
+ #: settings.php:1944
3365
  msgid "Use server-side detection to insert block only for"
3366
  msgstr ""
3367
 
3368
+ #: settings.php:1963
3369
  msgid "Filter"
3370
  msgstr ""
3371
 
3372
+ #: settings.php:1964
3373
  msgid "Word Count"
3374
  msgstr ""
3375
 
3376
+ #: settings.php:1965 settings.php:4100
3377
  msgid "Scheduling"
3378
  msgstr ""
3379
 
3380
+ #: settings.php:1966
3381
  msgid "Display"
3382
  msgstr ""
3383
 
3384
+ #: settings.php:1968 settings.php:2212
3385
  msgid "General"
3386
  msgstr ""
3387
 
3388
+ #: settings.php:1980
3389
  msgid "Old settings for AMP pages detected"
3390
  msgstr ""
3391
 
3392
+ #: settings.php:1980
3393
  msgid ""
3394
  "To insert different codes on normal and AMP pages separate them with "
3395
  "[ADINSERTER AMP] separator. Here you can enable insertion on AMP pages only "
3396
  "when you need to insert THE SAME CODE also on AMP pages (no AMP separator)."
3397
  msgstr ""
3398
 
3399
+ #: settings.php:1980
3400
  msgid "AMP pages"
3401
  msgstr ""
3402
 
3403
+ #: settings.php:1985
3404
  msgid "Enable insertion for Ajax requests"
3405
  msgstr ""
3406
 
3407
+ #: settings.php:1985
3408
  msgid "Ajax requests"
3409
  msgstr ""
3410
 
3411
+ #: settings.php:1990
3412
  msgid "Enable insertion in RSS feeds"
3413
  msgstr ""
3414
 
3415
+ #: settings.php:1990
3416
  msgid "RSS Feed"
3417
  msgstr ""
3418
 
3419
+ #: settings.php:1995
3420
  msgid "Enable insertion on page for Error 404: Page not found"
3421
  msgstr ""
3422
 
3423
+ #: settings.php:1995
3424
  msgid "Error 404 page"
3425
  msgstr ""
3426
 
3427
+ #: settings.php:2007
3428
  msgid "Maximum number of insertions of this block. Empty or 0 means no limit."
3429
  msgstr ""
3430
 
3431
+ #: settings.php:2008
3432
  msgid "insertions"
3433
  msgstr ""
3434
 
3435
+ #: settings.php:2010
3436
  msgid ""
3437
  "Count this block for Max blocks per page limit (defined on the tab [*] / tab "
3438
  "General)"
3439
  msgstr ""
3440
 
3441
+ #: settings.php:2013 settings.php:2381
3442
  msgid "Max blocks per page"
3443
  msgstr ""
3444
 
3445
+ #: settings.php:2025
3446
  msgid "Insert for"
3447
  msgstr ""
3448
 
3449
+ #: settings.php:2033
3450
  msgid ""
3451
  "Insert block only when WP function in_the_loop () returns true (WP loop is "
3452
  "currently active). Might speed up insertion on content pages when "
3453
  "the_content filter is called multiple times."
3454
  msgstr ""
3455
 
3456
+ #: settings.php:2036
3457
  msgid "Insert only in the loop"
3458
  msgstr ""
3459
 
3460
+ #: settings.php:2042
3461
  msgid ""
3462
  "Disable caching for WP Super Cache, W3 Total Cache and WP Rocket plugins"
3463
  msgstr ""
3464
 
3465
+ #: settings.php:2042
3466
  msgid "Disable caching"
3467
  msgstr ""
3468
 
3469
+ #: settings.php:2054
3470
  msgid "Filter insertions"
3471
  msgstr ""
3472
 
3473
+ #: settings.php:2057
3474
  msgid ""
3475
  "Filter multiple insertions by specifying wanted insertions for this block - "
3476
  "single number, comma separated numbers or %N for every N insertions - empty "
3478
  "using only one insertion type."
3479
  msgstr ""
3480
 
3481
+ #: settings.php:2060
3482
  msgid "using"
3483
  msgstr ""
3484
 
3485
+ #: settings.php:2079
3486
  msgid "Checked means specified calls are unwanted"
3487
  msgstr ""
3488
 
3489
+ #: settings.php:2079
3490
  msgid "Invert filter"
3491
  msgstr ""
3492
 
3493
+ #: settings.php:2086
3494
  msgid "Minimum number of post/static page words, leave empty for no limit"
3495
  msgstr ""
3496
 
3497
+ #: settings.php:2088
3498
  msgid "Maximum number of post/static page words, leave empty for no limit"
3499
  msgstr ""
3500
 
3501
+ #: settings.php:2101
3502
  msgid "for"
3503
  msgstr ""
3504
 
3505
+ #: settings.php:2101
3506
  msgid "days after publishing"
3507
  msgstr ""
3508
 
3509
+ #: settings.php:2103
3510
  msgid "Not available"
3511
  msgstr ""
3512
 
3513
+ #: settings.php:2116 settings.php:2373
3514
  msgid "Ad label"
3515
  msgstr ""
3516
 
3517
+ #: settings.php:2136
3518
  msgid "General tag"
3519
  msgstr ""
3520
 
3521
+ #: settings.php:2140
3522
  msgid "Used for [adinserter data=''] shortcodes when no data is found"
3523
  msgstr ""
3524
 
3525
  #. translators: %s: HTML tags
3526
+ #: settings.php:2149
3527
  msgid ""
3528
  "%s WARNING: %s No Wrapping %s style has no wrapping code needed for client-"
3529
  "side device detection!"
3530
  msgstr ""
3531
 
3532
+ #: settings.php:2161
3533
  msgid "Settings"
3534
  msgstr ""
3535
 
3536
+ #: settings.php:2164
3537
  msgid "Settings timestamp"
3538
  msgstr ""
3539
 
3540
+ #: settings.php:2177
3541
  msgid "Are you sure you want to reset all settings?"
3542
  msgstr ""
3543
 
3544
+ #: settings.php:2177
3545
  msgid "Reset All Settings"
3546
  msgstr ""
3547
 
3548
+ #: settings.php:2213
3549
  msgid "Viewports"
3550
  msgstr ""
3551
 
3552
+ #: settings.php:2214
3553
  msgid "Hooks"
3554
  msgstr ""
3555
 
3556
+ #: settings.php:2215
3557
  msgid "Header"
3558
  msgstr ""
3559
 
3560
+ #: settings.php:2216 strings.php:30
3561
  msgid "Footer"
3562
  msgstr ""
3563
 
3564
+ #: settings.php:2221
3565
  msgid "Debugging"
3566
  msgstr ""
3567
 
3568
+ #: settings.php:2231
3569
  msgid "Plugin priority"
3570
  msgstr ""
3571
 
3572
+ #: settings.php:2239
3573
  msgid "Output buffering"
3574
  msgstr ""
3575
 
3576
+ #: settings.php:2242
3577
  msgid "Needed for position Above header but may not work with all themes"
3578
  msgstr ""
3579
 
3580
+ #: settings.php:2250
3581
  msgid "Syntax highlighting theme"
3582
  msgstr ""
3583
 
3584
+ #: settings.php:2257
3585
  msgctxt "no syntax highlighting themes"
3586
  msgid "None"
3587
  msgstr ""
3588
 
3589
+ #: settings.php:2258
3590
  msgid "No Syntax Highlighting"
3591
  msgstr ""
3592
 
3593
+ #: settings.php:2260
3594
  msgctxt "syntax highlighting themes"
3595
  msgid "Light"
3596
  msgstr ""
3597
 
3598
+ #: settings.php:2275
3599
  msgctxt "syntax highlighting themes"
3600
  msgid "Dark"
3601
  msgstr ""
3602
 
3603
+ #: settings.php:2301
3604
  msgid "Min. user role for ind. exceptions editing"
3605
  msgstr ""
3606
 
3607
+ #: settings.php:2311
3608
  msgid "Disable caching for logged in administrators"
3609
  msgstr ""
3610
 
3611
+ #: settings.php:2314
3612
  msgid ""
3613
  "Enabled means that logged in administrators will see non-cached (live) pages "
3614
  "(applies to WP Super Cache, W3 Total Cache and WP Rocket plugins)"
3615
  msgstr ""
3616
 
3617
+ #: settings.php:2322
3618
  msgid "Sticky widget mode"
3619
  msgstr ""
3620
 
3621
+ #: settings.php:2325
3622
  msgid ""
3623
  "CSS mode is the best approach but may not work with all themes. JavaScript "
3624
  "mode works with most themes but may reload ads on page load."
3625
  msgstr ""
3626
 
3627
+ #: settings.php:2333
3628
  msgid "Sticky widget top margin"
3629
  msgstr ""
3630
 
3631
+ #: settings.php:2341
3632
  msgid "Dynamic blocks"
3633
  msgstr ""
3634
 
3635
+ #: settings.php:2354
3636
  msgid "Functions for paragraph counting"
3637
  msgstr ""
3638
 
3639
+ #: settings.php:2357
3640
  msgid ""
3641
  "Standard PHP functions are faster and work in most cases, use Multibyte "
3642
  "functions if paragraphs are not counted properly on non-english pages."
3643
  msgstr ""
3644
 
3645
+ #: settings.php:2365
3646
  msgid "No paragraph counting inside"
3647
  msgstr ""
3648
 
3649
+ #: settings.php:2376
3650
  msgid "Label text or HTML code"
3651
  msgstr ""
3652
 
3653
+ #: settings.php:2384
3654
  msgid ""
3655
  "Maximum number of inserted blocks per page. You need to enable Max page "
3656
  "insertions (button Misc / tab Insertion) to count block for this limit."
3657
  msgstr ""
3658
 
3659
+ #: settings.php:2398
3660
  msgid "Plugin usage tracking"
3661
  msgstr ""
3662
 
3663
  #. translators: %s: Ad Inserter
3664
+ #: settings.php:2401
3665
  msgid ""
3666
  "Enable tracking of %s usage and help us to make improvements to the plugin. "
3667
  "Only information regarding the WordPress environment and %s usage is "
3668
  "recorded (once per month and on events like plugin activation/deactivation)."
3669
  msgstr ""
3670
 
3671
+ #: settings.php:2419
3672
  msgid "CSS class name for the wrapping div"
3673
  msgstr ""
3674
 
3675
+ #: settings.php:2419
3676
  msgid "Block class name"
3677
  msgstr ""
3678
 
 
 
 
 
 
 
 
 
3679
  #: settings.php:2425
3680
  msgid "Include block number class"
3681
  msgstr ""
3685
  msgstr ""
3686
 
3687
  #: settings.php:2430
3688
+ msgid "Include block name class"
3689
+ msgstr ""
3690
+
3691
+ #: settings.php:2430
3692
+ msgid "Block name class"
3693
+ msgstr ""
3694
+
3695
+ #: settings.php:2435
3696
  msgid ""
3697
  "Instead of alignment classes generate inline alignment styles for blocks"
3698
  msgstr ""
3699
 
3700
+ #: settings.php:2435
3701
  msgid "Inline styles"
3702
  msgstr ""
3703
 
3704
+ #: settings.php:2441
3705
  msgid "Preview of the block wrapping code"
3706
  msgstr ""
3707
 
3708
+ #: settings.php:2442
3709
  msgid "Wrapping div"
3710
  msgstr ""
3711
 
3712
+ #: settings.php:2443 settings.php:2883
3713
  msgid "BLOCK CODE"
3714
  msgstr ""
3715
 
3716
+ #: settings.php:2451
3717
  msgid "Viewport Settings used for client-side device detection"
3718
  msgstr ""
3719
 
3720
  #. Translators: %d: viewport number
3721
+ #: settings.php:2459
3722
  msgid "Viewport %d name"
3723
  msgstr ""
3724
 
3725
+ #: settings.php:2462
3726
  msgid "min width"
3727
  msgstr ""
3728
 
3729
+ #: settings.php:2473
3730
  msgid "Custom Hooks"
3731
  msgstr ""
3732
 
3733
+ #: settings.php:2485 settings.php:2488
3734
  msgid "Enable hook"
3735
  msgstr ""
3736
 
3737
  #. translators: %d: hook number
3738
+ #: settings.php:2488
3739
  msgid "Hook %d name"
3740
  msgstr ""
3741
 
3742
+ #: settings.php:2491
3743
  msgid "Hook name for automatic insertion selection"
3744
  msgstr ""
3745
 
3746
+ #: settings.php:2494
3747
  msgid "action"
3748
  msgstr ""
3749
 
3750
+ #: settings.php:2497
3751
  msgid "Action name as used in the do_action () function"
3752
  msgstr ""
3753
 
3754
+ #: settings.php:2500
3755
  msgid "priority"
3756
  msgstr ""
3757
 
3758
+ #: settings.php:2503
3759
  msgid "Priority for the hook (default is 10)"
3760
  msgstr ""
3761
 
3762
+ #: settings.php:2524
3763
  msgid "Enable insertion of this code into HTML page header"
3764
  msgstr ""
3765
 
3766
+ #: settings.php:2528 settings.php:2595 settings.php:2777
3767
  msgid "Process PHP code"
3768
  msgstr ""
3769
 
3770
+ #: settings.php:2532
3771
  msgid "HTML Page Header Code"
3772
  msgstr ""
3773
 
3774
+ #: settings.php:2540
3775
  msgid "Code in the %s section of the HTML page"
3776
  msgstr ""
3777
 
3778
+ #: settings.php:2541
3779
  msgctxt "code in the header"
3780
  msgid "NOT ENABLED"
3781
  msgstr ""
3782
 
3783
+ #: settings.php:2558 settings.php:2626
3784
  msgid "Use server-side detection to insert code only for"
3785
  msgstr ""
3786
 
3787
+ #: settings.php:2573
3788
  msgid ""
3789
  "Enable insertion of this code into HTML page header on page for Error 404: "
3790
  "Page not found"
3791
  msgstr ""
3792
 
3793
+ #: settings.php:2573 settings.php:2641
3794
  msgid "Insert on Error 404 page"
3795
  msgstr ""
3796
 
3797
+ #: settings.php:2591
3798
  msgid "Enable insertion of this code into HTML page footer"
3799
  msgstr ""
3800
 
3801
+ #: settings.php:2599
3802
  msgid "HTML Page Footer Code"
3803
  msgstr ""
3804
 
3805
  #. translators: %s: HTML tags
3806
+ #: settings.php:2607
3807
  msgid "Code before the %s tag of the the HTML page"
3808
  msgstr ""
3809
 
3810
+ #: settings.php:2608
3811
  msgctxt "code in the footer"
3812
  msgid "NOT ENABLED"
3813
  msgstr ""
3814
 
3815
+ #: settings.php:2641
3816
  msgid ""
3817
  "Enable insertion of this code into HTML page footer on page for Error 404: "
3818
  "Page not found"
3819
  msgstr ""
3820
 
3821
+ #: settings.php:2657
3822
  msgid "Code for ad blocking detection inserted. Click for details."
3823
  msgstr ""
3824
 
3825
+ #: settings.php:2662
3826
  msgid "Enable detection of ad blocking"
3827
  msgstr ""
3828
 
3829
+ #: settings.php:2680
3830
  msgid "Global action when ad blocking is detected"
3831
  msgstr ""
3832
 
3833
+ #: settings.php:2686
3834
  msgid "No action for"
3835
  msgstr ""
3836
 
3837
+ #: settings.php:2687
3838
  msgid "Exceptions for global action when ad blocking is detected."
3839
  msgstr ""
3840
 
3841
+ #: settings.php:2697
3842
  msgid "Delay Action"
3843
  msgstr ""
3844
 
3845
+ #: settings.php:2700
3846
  msgid ""
3847
  "Number of page views to delay action when ad blocking is detected. Leave "
3848
  "empty for no delay (action fires on first page view). Sets cookie."
3849
  msgstr ""
3850
 
3851
+ #: settings.php:2700
3852
  msgctxt "Delay Action for x "
3853
  msgid "page views"
3854
  msgstr ""
3855
 
3856
+ #: settings.php:2705
3857
  msgid "No Action Period"
3858
  msgstr ""
3859
 
3860
+ #: settings.php:2708
3861
  msgid ""
3862
  "Number of days to supress action when ad blocking is detected. Leave empty "
3863
  "for no no-action period (action fires always after defined page view delay). "
3864
  "Sets cookie."
3865
  msgstr ""
3866
 
3867
+ #: settings.php:2708
3868
  msgctxt "no action period"
3869
  msgid "days"
3870
  msgstr ""
3871
 
3872
+ #: settings.php:2713
3873
  msgid "Custom Selectors"
3874
  msgstr ""
3875
 
3876
+ #: settings.php:2716
3877
  msgid ""
3878
  "Comma seprarated list of selectors (.class, #id) used for additional ad "
3879
  "blocking detection. Invisible element or element with zero height means ad "
3880
  "blocking is present."
3881
  msgstr ""
3882
 
3883
+ #: settings.php:2728
3884
  msgid "Redirection Page"
3885
  msgstr ""
3886
 
3887
+ #: settings.php:2740
3888
  msgid "Custom Url"
3889
  msgstr ""
3890
 
3891
+ #: settings.php:2745
3892
  msgid ""
3893
  "Static page for redirection when ad blocking is detected. For other pages "
3894
  "select Custom url and set it below."
3895
  msgstr ""
3896
 
3897
+ #: settings.php:2754
3898
  msgid "Custom Redirection Url"
3899
  msgstr ""
3900
 
3901
+ #: settings.php:2766
3902
  msgid "Message HTML code"
3903
  msgstr ""
3904
 
3905
+ #: settings.php:2779
3906
  msgid "Preview message when ad blocking is detected"
3907
  msgstr ""
3908
 
3909
+ #: settings.php:2808
3910
  msgid "Prevent visitors from closing the warning message"
3911
  msgstr ""
3912
 
3913
+ #: settings.php:2808
3914
  msgid "Undismissible Message"
3915
  msgstr ""
3916
 
3917
+ #: settings.php:2814
3918
  msgid "Not undismissible for"
3919
  msgstr ""
3920
 
3921
+ #: settings.php:2815
3922
  msgid "Users which can close the warning message."
3923
  msgstr ""
3924
 
3925
+ #: settings.php:2829
3926
  msgid ""
3927
  "Force showing admin toolbar for administrators when viewing site. Enable "
3928
  "this option when you are logged in as admin and you don't see admin toolbar."
3929
  msgstr ""
3930
 
3931
+ #: settings.php:2837
3932
  msgid "Disable header code (Header tab)"
3933
  msgstr ""
3934
 
3935
+ #: settings.php:2841
3936
  msgid "Disable footer code (Footer tab)"
3937
  msgstr ""
3938
 
3939
  #. translators: %s: Ad Inserter
3940
+ #: settings.php:2845
3941
  msgid "Disable %s JavaScript code"
3942
  msgstr ""
3943
 
3944
  #. translators: %s: Ad Inserter
3945
+ #: settings.php:2849
3946
  msgid "Disable %s CSS code"
3947
  msgstr ""
3948
 
3949
+ #: settings.php:2853
3950
  msgid ""
3951
  "Disable PHP code processing (in all blocks including header and footer code)"
3952
  msgstr ""
3953
 
3954
+ #: settings.php:2857
3955
  msgid "Disable insertion of all blocks"
3956
  msgstr ""
3957
 
3958
+ #: settings.php:2861
3959
  msgid "Disable insertions"
3960
  msgstr ""
3961
 
3962
  #. translators: %s: Ad Inserter
3963
+ #: settings.php:2873
3964
  msgid "%s CSS CODE"
3965
  msgstr ""
3966
 
3967
+ #: settings.php:2876
3968
  msgid "HEADER CODE"
3969
  msgstr ""
3970
 
3971
  #. translators: %s: PHP tags
3972
+ #: settings.php:2882
3973
  msgid "BLOCK PHP CODE"
3974
  msgstr ""
3975
 
3976
  #. translators: %s: Ad Inserter
3977
+ #: settings.php:2888
3978
  msgid "%s JS CODE"
3979
  msgstr ""
3980
 
3981
+ #: settings.php:2891
3982
  msgid "FOOTER CODE"
3983
  msgstr ""
3984
 
3985
+ #: settings.php:2900
3986
  msgid "Force showing admin toolbar when viewing site"
3987
  msgstr ""
3988
 
3989
+ #: settings.php:2907
3990
  msgid "Enable debugging functions in admin toolbar"
3991
  msgstr ""
3992
 
3993
+ #: settings.php:2909
3994
  msgid "Debugging functions in admin toolbar"
3995
  msgstr ""
3996
 
3997
+ #: settings.php:2916
3998
  msgid "Enable debugging functions in admin toolbar on mobile screens"
3999
  msgstr ""
4000
 
4001
+ #: settings.php:2918
4002
  msgid "Debugging functions on mobile screens"
4003
  msgstr ""
4004
 
4005
+ #: settings.php:2925
4006
  msgid ""
4007
  "Enable Debugger widget and code insertion debugging (blocks, positions, "
4008
  "tags, processing) by url parameters for non-logged in users. Enable this "
4011
  "administrators debugging is always enabled."
4012
  msgstr ""
4013
 
4014
+ #: settings.php:2927
4015
  msgid "Remote debugging"
4016
  msgstr ""
4017
 
4018
+ #: settings.php:2934
4019
  msgid ""
4020
  "Disable translation to see original texts for the settings and messages in "
4021
  "English"
4022
  msgstr ""
4023
 
4024
+ #: settings.php:2936
4025
  msgid "Disable translation"
4026
  msgstr ""
4027
 
4028
+ #: settings.php:3310
4029
  msgid "Available positions for current theme"
4030
  msgstr ""
4031
 
4032
+ #: settings.php:3311
4033
  msgid "Error checking pages"
4034
  msgstr ""
4035
 
4036
+ #: settings.php:3314
4037
  msgid "Toggle theme checker for available positions for automatic insertion"
4038
  msgstr ""
4039
 
4040
+ #: settings.php:3314
4041
  msgctxt "Button"
4042
  msgid "Check"
4043
  msgstr ""
4044
 
4045
+ #: settings.php:3321
4046
  msgid "Position"
4047
  msgstr ""
4048
 
4049
+ #: settings.php:3326
4050
  msgid "Archive pages"
4051
  msgstr ""
4052
 
4053
+ #: settings.php:3385
4054
  msgid ""
4055
  "Position not available because output buffering (tab [*]) is not enabled"
4056
  msgstr ""
4057
 
4058
+ #: settings.php:3388 strings.php:228
4059
  msgid "Position not checked yet"
4060
  msgstr ""
4061
 
4062
+ #: settings.php:3424
4063
  msgid "Toggle active/all blocks"
4064
  msgstr ""
4065
 
4066
+ #: settings.php:3428 strings.php:215
4067
  msgid "Rearrange block order"
4068
  msgstr ""
4069
 
4070
+ #: settings.php:3433
4071
  msgid "Save new block order"
4072
  msgstr ""
4073
 
4074
+ #: settings.php:3459
4075
  msgid "Toggle active/all ad units"
4076
  msgstr ""
4077
 
4078
+ #: settings.php:3463
4079
  msgid "Reload AdSense ad units"
4080
  msgstr ""
4081
 
4082
+ #: settings.php:3467
4083
  msgid "Clear authorization to access AdSense account"
4084
  msgstr ""
4085
 
4086
+ #: settings.php:3471 settings.php:4267 settings.php:4334 strings.php:223
4087
  msgid "Google AdSense Homepage"
4088
  msgstr ""
4089
 
4090
+ #: settings.php:3487
4091
  msgid "Switch to physical ads.txt file"
4092
  msgstr ""
4093
 
4094
+ #: settings.php:3488
4095
  msgid "Switch to virtual ads.txt file"
4096
  msgstr ""
4097
 
4098
  #. translators: %s: ads.txt
4099
+ #: settings.php:3498
4100
  msgid "Open %s"
4101
  msgstr ""
4102
 
4103
+ #: settings.php:3506
4104
  msgid "Reload ads.txt file"
4105
  msgstr ""
4106
 
4107
+ #: settings.php:3510 settings.php:4394
4108
  msgid "Save"
4109
  msgstr ""
4110
 
4111
  #. translators: %s: Ad Inserter
4112
+ #: settings.php:3685
4113
  msgid "ads.txt file: %s virtual ads.txt file"
4114
  msgstr ""
4115
 
4116
+ #: settings.php:3690 settings.php:3710 strings.php:207
4117
  msgid "Warning"
4118
  msgstr ""
4119
 
4120
  #. translators: %s: Ad Inserter
4121
+ #: settings.php:3690
4122
  msgid "%s virtual file ads.txt not found"
4123
  msgstr ""
4124
 
4125
+ #: settings.php:3698
4126
  msgid "IMPORTANT"
4127
  msgstr ""
4128
 
4129
+ #: settings.php:3698
4130
  msgid "ads.txt file must be placed on the root domain"
4131
  msgstr ""
4132
 
4133
+ #: settings.php:3703
4134
  msgid "ads.txt file"
4135
  msgstr ""
4136
 
4137
+ #: settings.php:3703
4138
  msgid "NOT WRITABLE"
4139
  msgstr ""
4140
 
4141
+ #: settings.php:3710
4142
  msgid "file %s not found"
4143
  msgstr ""
4144
 
4145
+ #: settings.php:3720
4146
  msgid "Account IDs found in blocks but not present in the ads.txt file"
4147
  msgstr ""
4148
 
4149
  #. translators: %s: Ad Inserter
4150
+ #: settings.php:3726
4151
  msgid "%s virtual ads.txt file"
4152
  msgstr ""
4153
 
4154
+ #: settings.php:3748
4155
  msgid "Advertising system"
4156
  msgstr ""
4157
 
4158
+ #: settings.php:3749
4159
  msgid "Account ID"
4160
  msgstr ""
4161
 
4162
+ #: settings.php:3751
4163
  msgid "Certification authority ID"
4164
  msgstr ""
4165
 
4166
+ #: settings.php:3766
4167
  msgid "Account ID found in block and present in ads.txt"
4168
  msgstr ""
4169
 
4170
+ #: settings.php:3770
4171
  msgid "Account ID found in block but not present in ads.txt"
4172
  msgstr ""
4173
 
4174
+ #: settings.php:4057
4175
  msgid "Preview block"
4176
  msgstr ""
4177
 
4178
+ #: settings.php:4066
4179
  msgid "Insertion disabled"
4180
  msgstr ""
4181
 
4182
+ #: settings.php:4096
4183
  msgid "Automatic insertion"
4184
  msgstr ""
4185
 
4186
  #. translators: %s HTML tags
4187
+ #: settings.php:4097 settings.php:5082
4188
  msgid "PHP code processing"
4189
  msgstr ""
4190
 
4191
+ #: settings.php:4099
4192
  msgid "Device detection"
4193
  msgstr ""
4194
 
4195
+ #: settings.php:4112
4196
  msgid "Widget positions"
4197
  msgstr ""
4198
 
4199
+ #: settings.php:4178
4200
  msgid "Ad unit"
4201
  msgstr ""
4202
 
4203
+ #: settings.php:4180
4204
  msgid "Slot ID"
4205
  msgstr ""
4206
 
4207
+ #: settings.php:4206
4208
  msgid "Copy AdSense code"
4209
  msgstr ""
4210
 
4211
+ #: settings.php:4209
4212
  msgid "Preview AdSense ad"
4213
  msgstr ""
4214
 
4215
+ #: settings.php:4212
4216
  msgid "Get AdSense code"
4217
  msgstr ""
4218
 
4219
  #. translators: %s: HTML tags
4220
+ #: settings.php:4244
4221
  msgid ""
4222
  "Please %s clear authorization %s with the button %s above and once again "
4223
  "authorize access to your AdSense account."
4224
  msgstr ""
4225
 
4226
+ #: settings.php:4263
4227
  msgid "AdSense Integration"
4228
  msgstr ""
4229
 
4230
+ #: settings.php:4265
4231
  msgid "AdSense Integration - Step 2"
4232
  msgstr ""
4233
 
4234
  #. translators: %s: HTML tags
4235
+ #: settings.php:4271
4236
  msgid ""
4237
  "Authorize %s to access your AdSense account. Click on the %s Get "
4238
  "Authorization Code %s button to open a new window where you can allow "
4241
  msgstr ""
4242
 
4243
  #. translators: %s: HTML tags
4244
+ #: settings.php:4278
4245
  msgid ""
4246
  "If you get error, can't access ad units or would like to use own Google API "
4247
  "IDs click on the button %s Use own API IDs %s to enter Client ID and Client "
4249
  msgstr ""
4250
 
4251
  #. translators: %s: HTML tags
4252
+ #: settings.php:4280
4253
  msgid ""
4254
  "Now you can authorize %s to access your AdSense account. Click on the %s Get "
4255
  "Authorization Code %s button to open a new window where you can allow "
4258
  msgstr ""
4259
 
4260
  #. translators: %s: HTML tags
4261
+ #: settings.php:4287
4262
  msgid ""
4263
  "If you get error %s invalid client %s click on the button %s Clear and "
4264
  "return to Step 1 %s to re-enter Client ID and Client Secret."
4265
  msgstr ""
4266
 
4267
+ #: settings.php:4298
4268
  msgid "Get Authorization Code"
4269
  msgstr ""
4270
 
4271
+ #: settings.php:4301
4272
  msgid "Enter Authorization Code"
4273
  msgstr ""
4274
 
4275
+ #: settings.php:4311
4276
  msgid "Use own API IDs"
4277
  msgstr ""
4278
 
4279
+ #: settings.php:4313
4280
  msgid "Clear and return to Step 1"
4281
  msgstr ""
4282
 
4283
+ #: settings.php:4317
4284
  msgid "Authorize"
4285
  msgstr ""
4286
 
4287
+ #: settings.php:4333
4288
  msgid "AdSense Integration - Step 1"
4289
  msgstr ""
4290
 
4291
  #. translators: %s: Ad Inserter
4292
+ #: settings.php:4337
4293
  msgid ""
4294
  "Here can %s list configured AdSense ad units and get code for AdSense ads. "
4295
  "To do this you need to authorize %s to access your AdSense account. The "
4298
  msgstr ""
4299
 
4300
  #. translators: %s: HTML tags
4301
+ #: settings.php:4346
4302
  msgid "Go to %s Google APIs and Services console %s"
4303
  msgstr ""
4304
 
4305
  #. translators: %1: Ad Inserter, 2, 3: HTML tags
4306
+ #: settings.php:4347
4307
  msgid ""
4308
  "Create %1$s project - if the project and IDs are already created click on "
4309
  "the %2$s Credentials %3$s in the sidebar and go to step 16"
4310
  msgstr ""
4311
 
4312
  #. translators: %s: HTML tags
4313
+ #: settings.php:4348
4314
  msgid ""
4315
  "Click on project selection and then click on the %s NEW PROJECT %s button to "
4316
  "create a new project"
4317
  msgstr ""
4318
 
4319
  #. translators: 1: Ad Inserter, 2, 3: HTML tags
4320
+ #: settings.php:4349
4321
  msgid "Enter %1$s for project name and click on the %2$s Create %3$s button"
4322
  msgstr ""
4323
 
4324
  #. translators: %s: HTML tags
4325
+ #: settings.php:4350
4326
  msgid ""
4327
  "Click on project selection, wait for the project to be created and then and "
4328
  "select %s as the current project"
4329
  msgstr ""
4330
 
4331
  #. translators: %s: HTML tags
4332
+ #: settings.php:4351
4333
  msgid "Click on %s ENABLE APIS AND SERVICES %s"
4334
  msgstr ""
4335
 
4336
  #. translators: %s: HTML tags
4337
+ #: settings.php:4352
4338
  msgid "Search for adsense and enable %s"
4339
  msgstr ""
4340
 
4341
  #. translators: %s: HTML tags
4342
+ #: settings.php:4353
4343
  msgid "Click on %s CREATE CREDENTIALS %s"
4344
  msgstr ""
4345
 
4346
  #. translators: %s: HTML tags
4347
+ #: settings.php:4354
4348
  msgid "For %s Where will you be calling the API from? %s select %s Other UI %s"
4349
  msgstr ""
4350
 
4351
  #. translators: %s: HTML tags
4352
+ #: settings.php:4355
4353
  msgid "For %s What data will you be accessing? %s select %s User data %s"
4354
  msgstr ""
4355
 
4356
  #. translators: %s: HTML tags
4357
+ #: settings.php:4356
4358
  msgid "Click on %s What credentials do I need? %s"
4359
  msgstr ""
4360
 
4361
  #. translators: %s: HTML tags
4362
+ #: settings.php:4357
4363
  msgid ""
4364
  "Create an OAuth 2.0 client ID: For %s OAuth 2.0 client ID %s name enter %s "
4365
  "Ad Inserter client %s"
4366
  msgstr ""
4367
 
4368
  #. translators: %s: HTML tags
4369
+ #: settings.php:4358
4370
  msgid ""
4371
  "Set up the OAuth 2.0 consent screen: For %s Product name shown to users %s "
4372
  "enter %s"
4373
  msgstr ""
4374
 
4375
  #. translators: %s: HTML tags
4376
+ #: settings.php:4359
4377
  msgid "Click on %s Continue %s"
4378
  msgstr ""
4379
 
4380
  #. translators: %s: HTML tags
4381
+ #: settings.php:4360
4382
  msgid "Click on %s Done %s"
4383
  msgstr ""
4384
 
4385
  #. translators: %s: HTML tags
4386
+ #: settings.php:4361
4387
  msgid ""
4388
  "Click on %s Ad Inserter client %s to get %s Client ID %s and %s Client "
4389
  "secret %s"
4390
  msgstr ""
4391
 
4392
+ #: settings.php:4362
4393
  msgid "Copy them to the appropriate fields below"
4394
  msgstr ""
4395
 
4396
+ #: settings.php:4368
4397
  msgid "Client ID"
4398
  msgstr ""
4399
 
4400
+ #: settings.php:4371
4401
  msgid "Enter Client ID"
4402
  msgstr ""
4403
 
4404
+ #: settings.php:4376
4405
  msgid "Client secret"
4406
  msgstr ""
4407
 
4408
+ #: settings.php:4379
4409
  msgid "Enter Client secret"
4410
  msgstr ""
4411
 
4412
+ #: settings.php:4389
4413
  msgid "Use default API IDs"
4414
  msgstr ""
4415
 
4416
+ #: settings.php:4542
4417
  msgid "All posts"
4418
  msgstr ""
4419
 
4420
+ #: settings.php:4543
4421
  msgid "All static pages"
4422
  msgstr ""
4423
 
4424
+ #: settings.php:4694 settings.php:4707 settings.php:4721 settings.php:4737
4425
  msgid "Blank ad blocks? Looking for AdSense alternative?"
4426
  msgstr ""
4427
 
4428
+ #: settings.php:4699 settings.php:4712 settings.php:4726 settings.php:4742
4429
+ #: settings.php:4972 settings.php:4974 settings.php:4991 settings.php:4995
4430
+ #: settings.php:5003 settings.php:5004 settings.php:5007 settings.php:5013
4431
+ #: settings.php:5023 settings.php:5027
4432
  msgid "Looking for AdSense alternative?"
4433
  msgstr ""
4434
 
4435
+ #: settings.php:4754
4436
  msgid "Try Infolinks Ads with Adsense or Media.net ads"
4437
  msgstr ""
4438
 
4439
+ #: settings.php:4759 settings.php:4970 settings.php:4982 settings.php:5010
4440
+ #: settings.php:5037
4441
  msgid "Use Infolinks ads with Adsense to earn more"
4442
  msgstr ""
4443
 
4444
+ #: settings.php:4769 settings.php:4774 settings.php:4784 settings.php:4789
4445
+ #: settings.php:4968 settings.php:4987 settings.php:5014 settings.php:5032
4446
  msgid "Maximize your revenue!"
4447
  msgstr ""
4448
 
4449
+ #: settings.php:4810 settings.php:4861
4450
  msgid "Support plugin development"
4451
  msgstr ""
4452
 
4453
+ #: settings.php:4815 settings.php:4862
4454
  msgid ""
4455
  "If you like Ad Inserter and have a moment, please help me spread the word by "
4456
  "reviewing the plugin on WordPres"
4457
  msgstr ""
4458
 
4459
+ #: settings.php:4815
4460
  msgctxt "Review Ad Inserter"
4461
  msgid "Review"
4462
  msgstr ""
4463
 
4464
+ #: settings.php:4820
4465
  msgid ""
4466
  "If you like Ad Inserter and have a moment, please help me spread the word by "
4467
  "rating the plugin on WordPres"
4468
  msgstr ""
4469
 
4470
+ #: settings.php:4820
4471
  msgctxt "Rate Ad Inserter"
4472
  msgid "Rate"
4473
  msgstr ""
4474
 
4475
+ #: settings.php:4825
4476
  msgid ""
4477
  "Support free Ad Inserter development. If you are making money with Ad "
4478
  "Inserter consider donating some small amount. Even 1 dollar counts. Thank "
4479
  "you!"
4480
  msgstr ""
4481
 
4482
+ #: settings.php:4825
4483
  msgid "Donate"
4484
  msgstr ""
4485
 
4486
+ #: settings.php:4832 settings.php:4877
4487
  msgid "Average rating of the plugin - Thank you!"
4488
  msgstr ""
4489
 
4490
  #. translators: %s: Ad Inserter, HTML tags
4491
+ #: settings.php:4843
4492
  msgid ""
4493
  "You've been using %s for a while now, and I hope you're happy with it. "
4494
  "Positive %s reviews %s are a great way to show your appreciation for my "
4497
  "your website. %s Thank you!"
4498
  msgstr ""
4499
 
4500
+ #: settings.php:4862
4501
  msgid "Review"
4502
  msgstr ""
4503
 
4504
+ #: settings.php:4866
4505
  msgid "Ad Inserter on Twitter"
4506
  msgstr ""
4507
 
4508
+ #: settings.php:4867
4509
  msgid "Ad Inserter on Facebook"
4510
  msgstr ""
4511
 
4512
+ #: settings.php:4870
4513
  msgid "Follow Ad Inserter"
4514
  msgstr ""
4515
 
4516
  #. translators: %s: HTML tags
4517
+ #: settings.php:4897
4518
  msgid ""
4519
  "Need help with %s settings? %s Check %s Quick Start, %s %s Code Editing %s "
4520
  "and %s Common Settings %s pages"
4521
  msgstr ""
4522
 
4523
  #. translators: %s: HTML tags
4524
+ #: settings.php:4909
4525
  msgid ""
4526
  "%s New to %s AdSense? %s %s %s Connect your site %s - %s In-feed ads, %s %s "
4527
  "Auto ads, %s %s AMP ads %s &mdash; How to %s integrate %s Infolinks %s ad "
4529
  msgstr ""
4530
 
4531
  #. translators: %s: HTML tags
4532
+ #: settings.php:4930
4533
  msgid ""
4534
  "Become an %s affiliate %s for Ad Inserter Pro and earn commission for each "
4535
  "purchase you refer to us"
4536
  msgstr ""
4537
 
4538
  #. translators: %s: HTML tags
4539
+ #: settings.php:4937
4540
  msgid ""
4541
  "Ads are not showing? Check %s troubleshooting guide %s to find out how to "
4542
  "diagnose and fix the problem."
4543
  msgstr ""
4544
 
4545
  #. translators: %s: HTML tags
4546
+ #: settings.php:4941
4547
  msgid ""
4548
  "If you need any kind of help or support, please do not hesitate to open a "
4549
  "thread on the %s support forum. %s"
4550
  msgstr ""
4551
 
4552
+ #: settings.php:4967 settings.php:5036
4553
  msgid "Code preview with visual CSS editor"
4554
  msgstr ""
4555
 
4556
+ #: settings.php:4986 settings.php:5031
4557
  msgid "A/B testing - Track ad impressions and clicks"
4558
  msgstr ""
4559
 
4560
+ #: settings.php:5045
4561
  msgid "Looking for Pro Ad Management plugin?"
4562
  msgstr ""
4563
 
4564
+ #: settings.php:5046
4565
  msgid "To Optimally Monetize your WordPress website?"
4566
  msgstr ""
4567
 
4568
  #. Translators: %s: price of Ad Inserter Pro
4569
+ #: settings.php:5047
4570
  msgid "Different license types starting from %s"
4571
  msgstr ""
4572
 
4573
  #. translators: %s HTML tags
4574
+ #: settings.php:5050
4575
  msgid "%s AdSense Integration %s"
4576
  msgstr ""
4577
 
4578
  #. translators: %s HTML tags
4579
+ #: settings.php:5051
4580
  msgid "Syntax highlighting %s editor %s"
4581
  msgstr ""
4582
 
4583
  #. translators: %s HTML tags
4584
+ #: settings.php:5052
4585
  msgid "%s Code preview %s with visual CSS editor"
4586
  msgstr ""
4587
 
4588
  #. translators: %s HTML tags
4589
+ #: settings.php:5053
4590
  msgid "Simple user interface - all settings on a single page"
4591
  msgstr ""
4592
 
4593
  #. translators: %s HTML tags
4594
+ #: settings.php:5054
4595
  msgid ""
4596
  "%s Automatic insertion %s before or after post / content / %s paragraph %s / "
4597
  "image / excerpt"
4598
  msgstr ""
4599
 
4600
  #. translators: %s HTML tags
4601
+ #: settings.php:5055
4602
  msgid "%s Automatic insertion %s between posts on blog pages"
4603
  msgstr ""
4604
 
4605
  #. translators: %s HTML tags
4606
+ #: settings.php:5056
4607
  msgid "%s Automatic insertion %s before, between and after comments"
4608
  msgstr ""
4609
 
4610
  #. translators: %s HTML tags
4611
+ #: settings.php:5057
4612
  msgid "%s Automatic insertion %s after %s or before %s tag"
4613
  msgstr ""
4614
 
4615
  #. translators: %s HTML tags
4616
+ #: settings.php:5058
4617
  msgid "Automatic insertion at %s custom hook positions %s"
4618
  msgstr ""
4619
 
4620
  #. translators: %s HTML tags
4621
+ #: settings.php:5059
4622
  msgid ""
4623
  "Insertion %s before or after any HTML element on the page %s (using CSS "
4624
  "selectors)"
4625
  msgstr ""
4626
 
4627
  #. translators: %s HTML tags
4628
+ #: settings.php:5060
4629
  msgid "%s Insertion exceptions %s for individual posts and pages"
4630
  msgstr ""
4631
 
4632
  #. translators: %s HTML tags
4633
+ #: settings.php:5061
4634
  msgid "%s Manual insertion: %s widgets, shortcodes, PHP function call"
4635
  msgstr ""
4636
 
4637
  #. translators: %s HTML tags
4638
+ #: settings.php:5062
4639
  msgid ""
4640
  "%s Sticky ads %s with optional close button (ads stay fixed when the page "
4641
  "scrolls)"
4642
  msgstr ""
4643
 
4644
  #. translators: %s HTML tags
4645
+ #: settings.php:5063
4646
  msgid "%s Sticky sidebar ads %s (stick to the screen or to the content)"
4647
  msgstr ""
4648
 
4649
  #. translators: %s HTML tags
4650
+ #: settings.php:5064
4651
  msgid "%s Sticky ad animations %s (fade, slide, turn, flip, zoom)"
4652
  msgstr ""
4653
 
4654
  #. translators: %s HTML tags
4655
+ #: settings.php:5065
4656
  msgid ""
4657
  "%s Sticky ad trigger %s (page scroll in %% or px, HTML element becomes "
4658
  "visible)"
4659
  msgstr ""
4660
 
4661
  #. translators: %s HTML tags
4662
+ #: settings.php:5066
4663
  msgid ""
4664
  "%s Sticky (fixed) widgets %s (sidebar does not move when the page scrolls)"
4665
  msgstr ""
4666
 
4667
  #. translators: %s HTML tags
4668
+ #: settings.php:5067
4669
  msgid "Block %s alignment and style %s customizations"
4670
  msgstr ""
4671
 
4672
  #. translators: %s HTML tags
4673
+ #: settings.php:5068
4674
  msgid ""
4675
  "%s Clearance %s options to avoid insertion near images or headers (AdSense "
4676
  "TOS)"
4677
  msgstr ""
4678
 
4679
  #. translators: %s HTML tags
4680
+ #: settings.php:5069
4681
  msgid ""
4682
  "Options to %s disable insertion %s on Ajax calls, 404 error pages or in RSS "
4683
  "feeds"
4684
  msgstr ""
4685
 
4686
  #. translators: %s HTML tags
4687
+ #: settings.php:5070
4688
  msgid "%s Ad rotation %s (works also with caching)"
4689
  msgstr ""
4690
 
4691
  #. translators: %s HTML tags
4692
+ #: settings.php:5071
4693
  msgid "Create, edit and check %s ads.txt %s file"
4694
  msgstr ""
4695
 
4696
  #. translators: %s HTML tags
4697
+ #: settings.php:5072
4698
  msgid ""
4699
  "Ad impression and click %s tracking %s (works also with Javascript ads like "
4700
  "AdSense)"
4701
  msgstr ""
4702
 
4703
  #. translators: %s HTML tags
4704
+ #: settings.php:5073
4705
  msgid "Internal or external %s tracking %s (via Google Analytics or Matomo)"
4706
  msgstr ""
4707
 
4708
  #. translators: %s HTML tags
4709
+ #: settings.php:5074
4710
  msgid "%s Public web reports %s for clients, export to PDF"
4711
  msgstr ""
4712
 
4713
  #. translators: %s HTML tags
4714
+ #: settings.php:5075
4715
  msgid "Support for %s A/B testing %s"
4716
  msgstr ""
4717
 
4718
  #. translators: %s HTML tags
4719
+ #: settings.php:5076
4720
  msgid "Frequency capping - %s limit impressions or clicks %s"
4721
  msgstr ""
4722
 
4723
  #. translators: %s HTML tags
4724
+ #: settings.php:5077
4725
  msgid "Click fraud %s protection %s"
4726
  msgstr ""
4727
 
4728
  #. translators: %s HTML tags
4729
+ #: settings.php:5078
4730
  msgid "Support for %s lazy loading %s"
4731
  msgstr ""
4732
 
4733
  #. translators: %s HTML tags
4734
+ #: settings.php:5079
4735
  msgid "Support for ads on %s AMP pages %s"
4736
  msgstr ""
4737
 
4738
  #. translators: %s HTML tags
4739
+ #: settings.php:5080
4740
  msgid "Support for contextual %s Amazon Native Shopping Ads %s (responsive)"
4741
  msgstr ""
4742
 
4743
  #. translators: %s HTML tags
4744
+ #: settings.php:5081
4745
  msgid "Custom CSS class name for wrapping divs to avoid ad blockers"
4746
  msgstr ""
4747
 
4748
  #. translators: %s HTML tags
4749
+ #: settings.php:5083
4750
  msgid "%s Banner %s code generator"
4751
  msgstr ""
4752
 
4753
  #. translators: %s HTML tags
4754
+ #: settings.php:5084
4755
  msgid "Support for %s header and footer %s code"
4756
  msgstr ""
4757
 
4758
  #. translators: %s HTML tags
4759
+ #: settings.php:5085
4760
  msgid "Support for Google Analytics, Matomo or any other web analytics code"
4761
  msgstr ""
4762
 
4763
  #. translators: %s HTML tags
4764
+ #: settings.php:5086
4765
  msgid "Desktop, tablet and phone server-side %s device detection %s"
4766
  msgstr ""
4767
 
4768
  #. translators: %s HTML tags
4769
+ #: settings.php:5087
4770
  msgid "Client-side %s mobile device detection %s (works with caching)"
4771
  msgstr ""
4772
 
4773
  #. translators: %s HTML tags
4774
+ #: settings.php:5088
4775
  msgid ""
4776
  "%s Ad blocking detection %s - popup message, ad replacement, content "
4777
  "protection"
4778
  msgstr ""
4779
 
4780
  #. translators: %s HTML tags
4781
+ #: settings.php:5089
4782
  msgid "%s Ad blocking statistics %s"
4783
  msgstr ""
4784
 
4785
  #. translators: %s HTML tags
4786
+ #: settings.php:5090
4787
  msgid ""
4788
  "%s Black/White-list %s categories, tags, taxonomies, users, post IDs, urls, "
4789
  "referrers, operating systems, browsers"
4790
  msgstr ""
4791
 
4792
  #. translators: %s HTML tags
4793
+ #: settings.php:5091
4794
  msgid ""
4795
  "%s Black/White-list %s IP addresses or countries (works also with caching)"
4796
  msgstr ""
4797
 
4798
  #. translators: %s HTML tags
4799
+ #: settings.php:5092
4800
  msgid "%s Multisite options %s to limit settings on the sites"
4801
  msgstr ""
4802
 
4803
  #. translators: %s HTML tags
4804
+ #: settings.php:5093
4805
  msgid "%s Import/Export %s block or plugin settings"
4806
  msgstr ""
4807
 
4808
  #. translators: %s HTML tags
4809
+ #: settings.php:5094
4810
  msgid "%s Insertion scheduling %s with fallback option"
4811
  msgstr ""
4812
 
4813
  #. translators: %s HTML tags
4814
+ #: settings.php:5095
4815
  msgid "Country-level %s GEO targeting %s (works also with caching)"
4816
  msgstr ""
4817
 
4818
  #. translators: %s HTML tags
4819
+ #: settings.php:5096
4820
  msgid "Simple troubleshooting with many %s debugging functions %s"
4821
  msgstr ""
4822
 
4823
  #. translators: %s HTML tags
4824
+ #: settings.php:5097
4825
  msgid "%s Visualization %s of inserted blocks or ads for easier placement"
4826
  msgstr ""
4827
 
4828
  #. translators: %s HTML tags
4829
+ #: settings.php:5098
4830
  msgid "%s Visualization %s of available positions for automatic ad insertion"
4831
  msgstr ""
4832
 
4833
  #. translators: %s HTML tags
4834
+ #: settings.php:5099
4835
  msgid ""
4836
  "%s Visualization %s of HTML tags for easier ad placement between paragraphs"
4837
  msgstr ""
4838
 
4839
  #. translators: %s HTML tags
4840
+ #: settings.php:5100
4841
  msgid "%s Clipboard support %s to easily copy blocks or settings"
4842
  msgstr ""
4843
 
4844
  #. translators: %s HTML tags
4845
+ #: settings.php:5101
4846
  msgid "No ads on the settings page"
4847
  msgstr ""
4848
 
4849
  #. translators: %s HTML tags
4850
+ #: settings.php:5102
4851
  msgid "Premium support"
4852
  msgstr ""
4853
 
4854
  #. translators: %s HTML tags
4855
+ #: settings.php:5105
4856
  msgid ""
4857
  "Ad Inserter Pro is a complete all-in-one ad management plugin for WordPress "
4858
  "website with many advertising features to automatically insert adverts on "
4867
  msgstr ""
4868
 
4869
  #. translators: %s HTML tags
4870
+ #: settings.php:5118
4871
  msgid "Looking for %s Pro Ad Management plugin? %s"
4872
  msgstr ""
4873
 
4874
  #. translators: %s HTML tags
4875
+ #: settings.php:5123
4876
  msgid "Ads between posts"
4877
  msgstr ""
4878
 
4879
  #. translators: %s HTML tags
4880
+ #: settings.php:5124
4881
  msgid "Ads between comments"
4882
  msgstr ""
4883
 
4884
  #. translators: %s HTML tags
4885
+ #: settings.php:5125
4886
  msgid "Support via email"
4887
  msgstr ""
4888
 
4889
  #. translators: %s HTML tags
4890
+ #: settings.php:5131
4891
  msgid "%s Sticky positions %s"
4892
  msgstr ""
4893
 
4894
  #. translators: %s HTML tags
4895
+ #: settings.php:5132
4896
  msgid "%s Limit insertions %s"
4897
  msgstr ""
4898
 
4899
  #. translators: %s HTML tags
4900
+ #: settings.php:5133
4901
  msgid "%s Clearance %s options"
4902
  msgstr ""
4903
 
4904
  #. translators: %s HTML tags
4905
+ #: settings.php:5139
4906
  msgid "Ad rotation"
4907
  msgstr ""
4908
 
4909
  #. translators: %s HTML tags
4910
+ #: settings.php:5140
4911
  msgid "%s A/B testing %s"
4912
  msgstr ""
4913
 
4914
  #. translators: %s HTML tags
4915
+ #: settings.php:5141
4916
  msgid "%s Ad tracking %s"
4917
  msgstr ""
4918
 
4919
  #. translators: %s HTML tags
4920
+ #: settings.php:5147
4921
  msgid "Support for %s AMP pages %s"
4922
  msgstr ""
4923
 
4924
  #. translators: %s HTML tags
4925
+ #: settings.php:5148
4926
  msgid "%s Ad blocking detection %s"
4927
  msgstr ""
4928
 
4929
  #. translators: %s HTML tags
4930
+ #: settings.php:5149
4931
  msgid "%s Mobile device detection %s"
4932
  msgstr ""
4933
 
4934
  #. translators: %s HTML tags
4935
+ #: settings.php:5156
4936
  msgid "64 code blocks"
4937
  msgstr ""
4938
 
4939
  #. translators: %s HTML tags
4940
+ #: settings.php:5157
4941
  msgid "%s GEO targeting %s"
4942
  msgstr ""
4943
 
4944
  #. translators: %s HTML tags
4945
+ #: settings.php:5158
4946
  msgid "%s Scheduling %s"
4947
  msgstr ""
4948
 
5520
  msgid "Auto Ads"
5521
  msgstr ""
5522
 
5523
+ #: strings.php:174
5524
+ msgctxt "AdSense Ad Type"
5525
+ msgid "AMP Only"
5526
+ msgstr ""
5527
+
5528
+ #: strings.php:176
5529
  msgctxt "AMP ad"
5530
  msgid "Disabled"
5531
  msgstr ""
5532
 
5533
+ #: strings.php:177
5534
  msgid "Above the fold"
5535
  msgstr ""
5536
 
5537
+ #: strings.php:178
5538
  msgid "Below the fold"
5539
  msgstr ""
5540
 
5541
  #: strings.php:179
5542
+ msgctxt "AMP ad"
5543
+ msgid "Sticky"
5544
+ msgstr ""
5545
+
5546
+ #: strings.php:181
5547
  msgctxt "size"
5548
  msgid "Fixed"
5549
  msgstr ""
5550
 
5551
+ #: strings.php:182
5552
  msgctxt "size"
5553
  msgid "Responsive"
5554
  msgstr ""
5555
 
5556
+ #: strings.php:183
5557
  msgctxt "size"
5558
  msgid "Fixed by viewport"
5559
  msgstr ""
5560
 
5561
+ #: strings.php:187
5562
  msgid "Impressions and clicks"
5563
  msgstr ""
5564
 
5565
+ #: strings.php:188
5566
  msgid "Advanced WordPress Ad Management Plugin"
5567
  msgstr ""
5568
 
5569
+ #: strings.php:194
5570
  msgctxt "Button"
5571
  msgid "Hide"
5572
  msgstr ""
5573
 
5574
+ #: strings.php:195
5575
  msgctxt "Button"
5576
  msgid "Show"
5577
  msgstr ""
5578
 
5579
+ #: strings.php:196
5580
  msgid "Insertion expired"
5581
  msgstr ""
5582
 
5583
+ #: strings.php:197
5584
  msgid "Duration"
5585
  msgstr ""
5586
 
5587
+ #: strings.php:198
5588
  msgid "Invalid end date - must be after start date"
5589
  msgstr ""
5590
 
5591
+ #: strings.php:199
5592
  msgid "Invalid start date - only data for 1 year back is available"
5593
  msgstr ""
5594
 
5595
+ #: strings.php:200
5596
  msgid "Invalid date range - only data for 1 year can be displayed"
5597
  msgstr ""
5598
 
5599
+ #: strings.php:208
5600
  msgid "Delete"
5601
  msgstr ""
5602
 
5603
+ #: strings.php:209
5604
  msgid "Switch"
5605
  msgstr ""
5606
 
5607
+ #: strings.php:211
5608
  msgid "Delete all statistics data?"
5609
  msgstr ""
5610
 
5611
  #. translators: %s: dates
5612
+ #: strings.php:213
5613
  msgid "Delete statistics data between %s and %s?"
5614
  msgstr ""
5615
 
5616
+ #: strings.php:214
5617
  msgid "Cancel block order rearrangement"
5618
  msgstr ""
5619
 
5620
+ #: strings.php:216
5621
  msgid "downloading..."
5622
  msgstr ""
5623
 
5624
+ #: strings.php:217
5625
  msgid "download error"
5626
  msgstr ""
5627
 
5628
+ #: strings.php:218
5629
  msgid "update error"
5630
  msgstr ""
5631
 
5632
+ #: strings.php:219
5633
  msgid "Updating..."
5634
  msgstr ""
5635
 
5636
+ #: strings.php:221
5637
  msgid "ERROR"
5638
  msgstr ""
5639
 
5640
+ #: strings.php:222
5641
  msgid "Error reloading settings"
5642
  msgstr ""
5643
 
5644
+ #: strings.php:224
5645
  msgctxt "Search field placeholder"
5646
  msgid "Search..."
5647
  msgstr ""
5648
 
5649
+ #: strings.php:225
5650
  msgctxt "Search field placeholder"
5651
  msgid "Filter..."
5652
  msgstr ""
5653
 
5654
+ #: strings.php:226
5655
  msgid "Use filter to limit names in the list"
5656
  msgstr ""
5657
 
5658
+ #: strings.php:227
5659
  msgctxt "Button"
5660
  msgid "Filter"
5661
  msgstr ""
5662
 
5663
+ #: strings.php:229
5664
  msgid "Position not available"
5665
  msgstr ""
5666
 
5667
+ #: strings.php:230
5668
  msgid ""
5669
  "Theme check | Selected position for automatic insertion might not be not "
5670
  "available on this page type"
5671
  msgstr ""
5672
 
5673
+ #: strings.php:231
5674
  msgid "Position available"
5675
  msgstr ""
5676
 
5677
+ #: strings.php:233
5678
  msgid "Select or upload banner image"
5679
  msgstr ""
5680
 
5681
+ #: strings.php:234
5682
  msgid "Use this image"
5683
  msgstr ""
5684
 
5685
+ #: strings.php:235
5686
  msgid "Switching to physical ads.txt file will delete virtual ads.txt file."
5687
  msgstr ""
5688
 
5689
+ #: strings.php:249
5690
  msgid "Add"
5691
  msgstr ""
5692
 
5693
+ #: strings.php:250
5694
  msgid "Parent"
5695
  msgstr ""
5696
 
5697
+ #: strings.php:251
5698
  msgid "Cancel element selection"
5699
  msgstr ""
5700
 
5701
+ #: strings.php:252
5702
  msgid "Select parent element"
5703
  msgstr ""
5704
 
5705
+ #: strings.php:253
5706
  msgid "CSS selector"
5707
  msgstr ""
5708
 
5709
+ #: strings.php:254
5710
  msgid "Use current selector"
5711
  msgstr ""
5712
 
5713
+ #: strings.php:255
5714
  msgid "ELEMENT"
5715
  msgstr ""
5716
 
5717
+ #: strings.php:256
5718
  msgid "PATH"
5719
  msgstr ""
5720
 
5721
+ #: strings.php:257
5722
  msgid "SELECTOR"
5723
  msgstr ""
5724
 
5725
+ #: strings.php:258
5726
  msgctxt "Block"
5727
  msgid "VISIBLE"
5728
  msgstr ""
5729
 
5730
+ #: strings.php:259
5731
  msgctxt "Block"
5732
  msgid "HIDDEN"
5733
  msgstr ""
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: ads, adsense, ad rotation, ad manager, amp, amazon, ad blocking detection,
6
  Requires at least: 4.6
7
  Tested up to: 5.3
8
  Requires PHP: 5.6
9
- Stable tag: 2.5.8
10
  License: GPLv3
11
 
12
  Manage Google AdSense, Media.net, Amazon banners, ads.txt, ad rotation, sticky widgets, AMP ads, DFP, tracking, AdSense header and footer code
@@ -315,6 +315,12 @@ If you are not happy to reveal this information and you have opted in, simply di
315
 
316
  == Changelog ==
317
 
 
 
 
 
 
 
318
  = 2.5.8 =
319
  - Added support to call function adinserter () with block name
320
  - Added support to insert header code with HEAD separator only once
@@ -512,6 +518,12 @@ For the changelog of earlier versions, please refer to the separate changelog.tx
512
 
513
  == Upgrade Notice ==
514
 
 
 
 
 
 
 
515
  = 2.5.8 =
516
  Added support to call function adinserter () with block name;
517
  Added support to insert header code with HEAD separator only once;
6
  Requires at least: 4.6
7
  Tested up to: 5.3
8
  Requires PHP: 5.6
9
+ Stable tag: 2.5.9
10
  License: GPLv3
11
 
12
  Manage Google AdSense, Media.net, Amazon banners, ads.txt, ad rotation, sticky widgets, AMP ads, DFP, tracking, AdSense header and footer code
315
 
316
  == Changelog ==
317
 
318
+ = 2.5.9 =
319
+ - Added support for block name class
320
+ - Added support for code generator for AdSense sticky AMP ads
321
+ - Fix for paragraph clearance issues
322
+ - Few minor bug fixes, cosmetic changes and code improvements
323
+
324
  = 2.5.8 =
325
  - Added support to call function adinserter () with block name
326
  - Added support to insert header code with HEAD separator only once
518
 
519
  == Upgrade Notice ==
520
 
521
+ = 2.5.9 =
522
+ Added support for block name class;
523
+ Added support for code generator for AdSense sticky AMP ads;
524
+ Fix for paragraph clearance issues;
525
+ Few minor bug fixes, cosmetic changes and code improvements
526
+
527
  = 2.5.8 =
528
  Added support to call function adinserter () with block name;
529
  Added support to insert header code with HEAD separator only once;
settings.php CHANGED
@@ -97,6 +97,7 @@ function generate_settings_form (){
97
  $block_class_name = get_block_class_name ();
98
  $block_class = get_block_class ();
99
  $block_number_class = get_block_number_class ();
 
100
  $inline_styles = get_inline_styles ();
101
 
102
  $default = $block_object [0];
@@ -901,6 +902,7 @@ function generate_settings_form (){
901
  <option value="<?php echo AI_ADSENSE_IN_FEED; ?>"><?php echo AI_TEXT_IN_FEED; ?></option>
902
  <option value="<?php echo AI_ADSENSE_MATCHED_CONTENT; ?>"><?php echo AI_TEXT_MATCHED_CONTENT; ?></option>
903
  <option value="<?php echo AI_ADSENSE_AUTO; ?>"><?php echo AI_TEXT_ADSENSE_AUTO; ?></option>
 
904
  </select>
905
  <div class="adsense-size" style="float: right;">
906
  <?php _e ('Size', 'ad-inserter'); ?>
@@ -922,6 +924,7 @@ function generate_settings_form (){
922
  <option value="<?php echo AI_ADSENSE_AMP_DISABLED; ?>" selected><?php echo AI_TEXT_ADSENSE_DISABLED; ?></option>
923
  <option value="<?php echo AI_ADSENSE_AMP_ABOVE_THE_FOLD; ?>"><?php echo AI_TEXT_ABOVE_THE_FOLD; ?></option>
924
  <option value="<?php echo AI_ADSENSE_AMP_BELOW_THE_FOLD; ?>"><?php echo AI_TEXT_BELOW_THE_FOLD; ?></option>
 
925
  </select>
926
  </td>
927
  </tr>
@@ -2414,10 +2417,7 @@ function generate_settings_form (){
2414
  <tr>
2415
  <td>
2416
  <span title="<?php _e ('CSS class name for the wrapping div', 'ad-inserter'); ?>"><?php _e ('Block class name', 'ad-inserter'); ?></span>
2417
- <input id="block-class-name" class="ai-block-code-demo" style="margin-left: 5px;" type="text" name="block-class-name" value="<?php echo $block_class_name; ?>" default="<?php echo DEFAULT_BLOCK_CLASS_NAME; ?>" size="15" maxlength="40" />
2418
- </td>
2419
- <td>
2420
- <span title="<?php _e ('Include general plugin block class', 'ad-inserter'); ?>"><?php _e ('Block class', 'ad-inserter'); ?></span>
2421
  <input type="hidden" name="block-class" value="0" />
2422
  <input id="block-class" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="block-class" value="1" default="<?php echo DEFAULT_BLOCK_CLASS; ?>" <?php if ($block_class == AI_ENABLED) echo 'checked '; ?> />
2423
  </td>
@@ -2426,6 +2426,11 @@ function generate_settings_form (){
2426
  <input type="hidden" name="block-number-class" value="0" />
2427
  <input id="block-number-class" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="block-number-class" value="1" default="<?php echo DEFAULT_BLOCK_NUMBER_CLASS; ?>" <?php if ($block_number_class == AI_ENABLED) echo 'checked '; ?> />
2428
  </td>
 
 
 
 
 
2429
  <td>
2430
  <span title="<?php _e ('Instead of alignment classes generate inline alignment styles for blocks', 'ad-inserter'); ?>"><?php _e ('Inline styles', 'ad-inserter'); ?></span>
2431
  <input type="hidden" name="inline-styles" value="0" />
@@ -2434,7 +2439,7 @@ function generate_settings_form (){
2434
  </tr>
2435
  </table>
2436
  <div style="margin-top: 8px;"><?php _e ('Preview of the block wrapping code', 'ad-inserter'); ?></div>
2437
- <pre class="ai-page-code" title="<?php _e ('Wrapping div', 'ad-inserter'); ?>"><span id="ai-block-code-demo" ><?php echo ai_block_code_demo ($block_class_name, $block_class, $block_number_class, $inline_styles); ?></span>
2438
  <span style="color: #222;"><?php _e ('BLOCK CODE', 'ad-inserter'); ?></span>
2439
  &lt;/div&gt;</pre>
2440
  </div>
@@ -2872,7 +2877,7 @@ function generate_settings_form (){
2872
  &lt;/head&gt;
2873
  &lt;body&gt;
2874
  ...
2875
- <span id="ai-page-block"<?php if ($disable_block_insertions) echo ' class="ai-page-code-disabled"'; ?>><?php echo ai_block_code_demo ($block_class_name, $block_class, $block_number_class, $inline_styles); ?>
2876
 
2877
  <span id="ai-page-php"<?php if ($disable_php_processing) echo ' class="ai-page-code-disabled"'; ?>>&lt;?php <?php /* translators: %s: PHP tags */ printf (__ ('BLOCK PHP CODE', 'ad-inserter'), '', ''); ?> ?&gt;</span>
2878
  <?php _e ('BLOCK CODE', 'ad-inserter'); ?>
@@ -5162,7 +5167,7 @@ function sidebar_pro_small () { ?>
5162
  <?php
5163
  }
5164
 
5165
- function ai_block_code_demo ($block_class_name, $block_class, $block_number_class, $inline_styles) {
5166
  global $block_object;
5167
  $default = $block_object [0];
5168
 
@@ -5172,6 +5177,7 @@ function ai_block_code_demo ($block_class_name, $block_class, $block_number_clas
5172
  if ($block_class_name != '' && $block_class) $classes []= $block_class_name;
5173
  if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !$inline_styles) $classes []= $default->generate_alignment_class ($block_class_name);
5174
  if ($block_class_name != '' && $block_number_class) $classes []= $block_class_name . '-n';
 
5175
 
5176
  $class = count ($classes) ? ' class="' . implode (' ', $classes) . '"' : '';
5177
  $style = $inline_styles || !defined ('AI_NORMAL_HEADER_STYLES') ? ' style="' . AI_ALIGNMENT_CSS_DEFAULT . '"' : '';
97
  $block_class_name = get_block_class_name ();
98
  $block_class = get_block_class ();
99
  $block_number_class = get_block_number_class ();
100
+ $block_name_class = get_block_name_class ();
101
  $inline_styles = get_inline_styles ();
102
 
103
  $default = $block_object [0];
902
  <option value="<?php echo AI_ADSENSE_IN_FEED; ?>"><?php echo AI_TEXT_IN_FEED; ?></option>
903
  <option value="<?php echo AI_ADSENSE_MATCHED_CONTENT; ?>"><?php echo AI_TEXT_MATCHED_CONTENT; ?></option>
904
  <option value="<?php echo AI_ADSENSE_AUTO; ?>"><?php echo AI_TEXT_ADSENSE_AUTO; ?></option>
905
+ <option value="<?php echo AI_ADSENSE_AMP_ONLY; ?>"><?php echo AI_TEXT_ADSENSE_AMP_ONLY; ?></option>
906
  </select>
907
  <div class="adsense-size" style="float: right;">
908
  <?php _e ('Size', 'ad-inserter'); ?>
924
  <option value="<?php echo AI_ADSENSE_AMP_DISABLED; ?>" selected><?php echo AI_TEXT_ADSENSE_DISABLED; ?></option>
925
  <option value="<?php echo AI_ADSENSE_AMP_ABOVE_THE_FOLD; ?>"><?php echo AI_TEXT_ABOVE_THE_FOLD; ?></option>
926
  <option value="<?php echo AI_ADSENSE_AMP_BELOW_THE_FOLD; ?>"><?php echo AI_TEXT_BELOW_THE_FOLD; ?></option>
927
+ <option value="<?php echo AI_ADSENSE_AMP_STICKY; ?>"><?php echo AI_TEXT_STICKY_AMP; ?></option>
928
  </select>
929
  </td>
930
  </tr>
2417
  <tr>
2418
  <td>
2419
  <span title="<?php _e ('CSS class name for the wrapping div', 'ad-inserter'); ?>"><?php _e ('Block class name', 'ad-inserter'); ?></span>
2420
+ <input id="block-class-name" class="ai-block-code-demo" style="margin-left: 5px;" type="text" name="block-class-name" value="<?php echo $block_class_name; ?>" default="<?php echo DEFAULT_BLOCK_CLASS_NAME; ?>" size="12" maxlength="40" />
 
 
 
2421
  <input type="hidden" name="block-class" value="0" />
2422
  <input id="block-class" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="block-class" value="1" default="<?php echo DEFAULT_BLOCK_CLASS; ?>" <?php if ($block_class == AI_ENABLED) echo 'checked '; ?> />
2423
  </td>
2426
  <input type="hidden" name="block-number-class" value="0" />
2427
  <input id="block-number-class" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="block-number-class" value="1" default="<?php echo DEFAULT_BLOCK_NUMBER_CLASS; ?>" <?php if ($block_number_class == AI_ENABLED) echo 'checked '; ?> />
2428
  </td>
2429
+ <td>
2430
+ <span title="<?php _e ('Include block name class', 'ad-inserter'); ?>"><?php _e ('Block name class', 'ad-inserter'); ?></span>
2431
+ <input type="hidden" name="block-name-class" value="0" />
2432
+ <input id="block-name-class" class="ai-block-code-demo" style="margin-left: 5px;" type="checkbox" name="block-name-class" value="1" default="<?php echo DEFAULT_BLOCK_NAME_CLASS; ?>" <?php if ($block_name_class == AI_ENABLED) echo 'checked '; ?> />
2433
+ </td>
2434
  <td>
2435
  <span title="<?php _e ('Instead of alignment classes generate inline alignment styles for blocks', 'ad-inserter'); ?>"><?php _e ('Inline styles', 'ad-inserter'); ?></span>
2436
  <input type="hidden" name="inline-styles" value="0" />
2439
  </tr>
2440
  </table>
2441
  <div style="margin-top: 8px;"><?php _e ('Preview of the block wrapping code', 'ad-inserter'); ?></div>
2442
+ <pre class="ai-page-code" title="<?php _e ('Wrapping div', 'ad-inserter'); ?>"><span id="ai-block-code-demo" ><?php echo ai_block_code_demo ($block_class_name, $block_class, $block_number_class, $block_name_class, $inline_styles); ?></span>
2443
  <span style="color: #222;"><?php _e ('BLOCK CODE', 'ad-inserter'); ?></span>
2444
  &lt;/div&gt;</pre>
2445
  </div>
2877
  &lt;/head&gt;
2878
  &lt;body&gt;
2879
  ...
2880
+ <span id="ai-page-block"<?php if ($disable_block_insertions) echo ' class="ai-page-code-disabled"'; ?>><?php echo ai_block_code_demo ($block_class_name, $block_class, $block_number_class, $block_name_class, $inline_styles); ?>
2881
 
2882
  <span id="ai-page-php"<?php if ($disable_php_processing) echo ' class="ai-page-code-disabled"'; ?>>&lt;?php <?php /* translators: %s: PHP tags */ printf (__ ('BLOCK PHP CODE', 'ad-inserter'), '', ''); ?> ?&gt;</span>
2883
  <?php _e ('BLOCK CODE', 'ad-inserter'); ?>
5167
  <?php
5168
  }
5169
 
5170
+ function ai_block_code_demo ($block_class_name, $block_class, $block_number_class, $block_name_class, $inline_styles) {
5171
  global $block_object;
5172
  $default = $block_object [0];
5173
 
5177
  if ($block_class_name != '' && $block_class) $classes []= $block_class_name;
5178
  if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !$inline_styles) $classes []= $default->generate_alignment_class ($block_class_name);
5179
  if ($block_class_name != '' && $block_number_class) $classes []= $block_class_name . '-n';
5180
+ if ($block_class_name != '' && $block_name_class) $classes []= $block_class_name . '-name';
5181
 
5182
  $class = count ($classes) ? ' class="' . implode (' ', $classes) . '"' : '';
5183
  $style = $inline_styles || !defined ('AI_NORMAL_HEADER_STYLES') ? ' style="' . AI_ALIGNMENT_CSS_DEFAULT . '"' : '';
strings.php CHANGED
@@ -171,10 +171,12 @@ define ('AI_TEXT_IN_ARTICLE', _x('In-article', 'AdSense Ad Type', 'a
171
  define ('AI_TEXT_IN_FEED', _x('In-feed', 'AdSense Ad Type', 'ad-inserter'));
172
  define ('AI_TEXT_MATCHED_CONTENT', _x('Matched content', 'AdSense Ad Type', 'ad-inserter'));
173
  define ('AI_TEXT_ADSENSE_AUTO', _x('Auto Ads', 'AdSense Ad Type', 'ad-inserter'));
 
174
 
175
  define ('AI_TEXT_ADSENSE_DISABLED', _x('Disabled', 'AMP ad', 'ad-inserter'));
176
  define ('AI_TEXT_ABOVE_THE_FOLD', __('Above the fold', 'ad-inserter'));
177
  define ('AI_TEXT_BELOW_THE_FOLD', __('Below the fold', 'ad-inserter'));
 
178
 
179
  define ('AI_TEXT_FIXED', _x('Fixed', 'size', 'ad-inserter'));
180
  define ('AI_TEXT_RESPONSIVE', _x('Responsive', 'size', 'ad-inserter'));
171
  define ('AI_TEXT_IN_FEED', _x('In-feed', 'AdSense Ad Type', 'ad-inserter'));
172
  define ('AI_TEXT_MATCHED_CONTENT', _x('Matched content', 'AdSense Ad Type', 'ad-inserter'));
173
  define ('AI_TEXT_ADSENSE_AUTO', _x('Auto Ads', 'AdSense Ad Type', 'ad-inserter'));
174
+ define ('AI_TEXT_ADSENSE_AMP_ONLY', _x('AMP Only', 'AdSense Ad Type', 'ad-inserter'));
175
 
176
  define ('AI_TEXT_ADSENSE_DISABLED', _x('Disabled', 'AMP ad', 'ad-inserter'));
177
  define ('AI_TEXT_ABOVE_THE_FOLD', __('Above the fold', 'ad-inserter'));
178
  define ('AI_TEXT_BELOW_THE_FOLD', __('Below the fold', 'ad-inserter'));
179
+ define ('AI_TEXT_STICKY_AMP', _x('Sticky', 'AMP ad', 'ad-inserter'));
180
 
181
  define ('AI_TEXT_FIXED', _x('Fixed', 'size', 'ad-inserter'));
182
  define ('AI_TEXT_RESPONSIVE', _x('Responsive', 'size', 'ad-inserter'));