Official MailerLite Sign Up Forms - Version 1.1.3

Version Description

  • some problem with version number
Download this release

Release Info

Developer mailerlite
Plugin Icon 128x128 Official MailerLite Sign Up Forms
Version 1.1.3
Comparing to
See all releases

Code changes from version 1.1.2 to 1.1.3

Files changed (80) hide show
  1. include/templates/forms/custom_form.php +21 -18
  2. mailerlite.php +3 -3
  3. readme.txt +7 -3
  4. trunk/assets/css/mailerlite.css +0 -38
  5. trunk/assets/css/mailerlite_forms.css +0 -44
  6. trunk/assets/image/header.png +0 -0
  7. trunk/assets/image/icon.png +0 -0
  8. trunk/assets/image/shortcode.png +0 -0
  9. trunk/assets/js/localization/jquery.validate/messages_ar.js +0 -23
  10. trunk/assets/js/localization/jquery.validate/messages_bg.js +0 -23
  11. trunk/assets/js/localization/jquery.validate/messages_ca.js +0 -23
  12. trunk/assets/js/localization/jquery.validate/messages_cs.js +0 -23
  13. trunk/assets/js/localization/jquery.validate/messages_da.js +0 -20
  14. trunk/assets/js/localization/jquery.validate/messages_de.js +0 -20
  15. trunk/assets/js/localization/jquery.validate/messages_el.js +0 -23
  16. trunk/assets/js/localization/jquery.validate/messages_es.js +0 -23
  17. trunk/assets/js/localization/jquery.validate/messages_eu.js +0 -23
  18. trunk/assets/js/localization/jquery.validate/messages_fa.js +0 -23
  19. trunk/assets/js/localization/jquery.validate/messages_fi.js +0 -21
  20. trunk/assets/js/localization/jquery.validate/messages_fr.js +0 -23
  21. trunk/assets/js/localization/jquery.validate/messages_he.js +0 -23
  22. trunk/assets/js/localization/jquery.validate/messages_hu.js +0 -20
  23. trunk/assets/js/localization/jquery.validate/messages_it.js +0 -23
  24. trunk/assets/js/localization/jquery.validate/messages_ja.js +0 -23
  25. trunk/assets/js/localization/jquery.validate/messages_kk.js +0 -23
  26. trunk/assets/js/localization/jquery.validate/messages_lt.js +0 -23
  27. trunk/assets/js/localization/jquery.validate/messages_lv.js +0 -23
  28. trunk/assets/js/localization/jquery.validate/messages_nl.js +0 -23
  29. trunk/assets/js/localization/jquery.validate/messages_no.js +0 -23
  30. trunk/assets/js/localization/jquery.validate/messages_pl.js +0 -23
  31. trunk/assets/js/localization/jquery.validate/messages_ro.js +0 -23
  32. trunk/assets/js/localization/jquery.validate/messages_ru.js +0 -23
  33. trunk/assets/js/localization/jquery.validate/messages_si.js +0 -23
  34. trunk/assets/js/localization/jquery.validate/messages_sk.js +0 -20
  35. trunk/assets/js/localization/jquery.validate/messages_sl.js +0 -23
  36. trunk/assets/js/localization/jquery.validate/messages_th.js +0 -23
  37. trunk/assets/js/localization/jquery.validate/messages_vi.js +0 -23
  38. trunk/assets/js/mailerlite_shortcode.js +0 -28
  39. trunk/include/mailerlite-admin.php +0 -422
  40. trunk/include/mailerlite-form.php +0 -214
  41. trunk/include/mailerlite-shortcode.php +0 -110
  42. trunk/include/mailerlite-widget.php +0 -126
  43. trunk/include/settings/languages.php +0 -35
  44. trunk/include/templates/admin/api_key.php +0 -39
  45. trunk/include/templates/admin/create.php +0 -46
  46. trunk/include/templates/admin/edit_custom.php +0 -178
  47. trunk/include/templates/admin/edit_embedded.php +0 -82
  48. trunk/include/templates/admin/header.php +0 -2
  49. trunk/include/templates/admin/main.php +0 -58
  50. trunk/include/templates/admin/settings.php +0 -43
  51. trunk/include/templates/admin/sidebar.php +0 -13
  52. trunk/include/templates/common/tiny_mce.php +0 -40
  53. trunk/include/templates/forms/custom_form.php +0 -67
  54. trunk/include/templates/forms/embedded_form.php +0 -1
  55. trunk/languages/mailerlite-fi_FI.mo +0 -0
  56. trunk/languages/mailerlite-fi_FI.po +0 -401
  57. trunk/languages/mailerlite-it_IT.mo +0 -0
  58. trunk/languages/mailerlite-it_IT.po +0 -401
  59. trunk/languages/mailerlite-lt_LT.mo +0 -0
  60. trunk/languages/mailerlite-lt_LT.po +0 -408
  61. trunk/languages/mailerlite-ru_RU.mo +0 -0
  62. trunk/languages/mailerlite-ru_RU.po +0 -401
  63. trunk/languages/mailerlite-sv_SE.mo +0 -0
  64. trunk/languages/mailerlite-sv_SE.po +0 -401
  65. trunk/languages/mailerlite-uk_UA.mo +0 -0
  66. trunk/languages/mailerlite-uk_UA.po +0 -401
  67. trunk/libs/mailerlite_rest/ML_Campaigns.php +0 -55
  68. trunk/libs/mailerlite_rest/ML_Lists.php +0 -40
  69. trunk/libs/mailerlite_rest/ML_Subscribers.php +0 -57
  70. trunk/libs/mailerlite_rest/ML_Webforms.php +0 -13
  71. trunk/libs/mailerlite_rest/base/ML_Rest.php +0 -59
  72. trunk/libs/mailerlite_rest/base/ML_Rest_Base.php +0 -226
  73. trunk/mailerlite.php +0 -128
  74. trunk/readme.txt +0 -222
  75. trunk/screenshot-1.jpg +0 -0
  76. trunk/screenshot-2.jpg +0 -0
  77. trunk/screenshot-3.jpg +0 -0
  78. trunk/screenshot-4.jpg +0 -0
  79. trunk/screenshot-5.jpg +0 -0
  80. trunk/screenshot-6.jpg +0 -0
include/templates/forms/custom_form.php CHANGED
@@ -37,28 +37,31 @@
37
  <? endif; ?>
38
 
39
  <script type="text/javascript">
 
 
40
 
41
- jQuery(document).ready(function () {
42
- var form_container = jQuery("#mailerlite-form_<?php echo $form_id; ?>[data-temp-id=<?php echo $unique_id; ?>] form");
43
- form_container.submit(function (e) {
44
- e.preventDefault();
45
- }).validate({
46
- submitHandler: function (form) {
47
 
48
- jQuery(this.submitButton).prop('disabled', true);
49
 
50
- form_container.find('.mailerlite-subscribe-button-container').fadeOut(function () {
51
- form_container.find('.mailerlite-form-loader').fadeIn()
52
- });
53
 
54
- var data = jQuery(form).serialize();
55
 
56
- jQuery.post('<?php echo admin_url( 'admin-ajax.php' ); ?>', data, function (response) {
57
- form_container.find('.mailerlite-form-inputs').fadeOut(function () {
58
- form_container.find('.mailerlite-form-response').fadeIn()
59
- });
60
- });
61
- }
 
62
  });
63
- });
64
  </script>
37
  <? endif; ?>
38
 
39
  <script type="text/javascript">
40
+ (function() {
41
+ var jQuery = jQueryWP || jQuery;
42
 
43
+ jQuery(document).ready(function () {
44
+ var form_container = jQuery("#mailerlite-form_<?php echo $form_id; ?>[data-temp-id=<?php echo $unique_id; ?>] form");
45
+ form_container.submit(function (e) {
46
+ e.preventDefault();
47
+ }).validate({
48
+ submitHandler: function (form) {
49
 
50
+ jQuery(this.submitButton).prop('disabled', true);
51
 
52
+ form_container.find('.mailerlite-subscribe-button-container').fadeOut(function () {
53
+ form_container.find('.mailerlite-form-loader').fadeIn()
54
+ });
55
 
56
+ var data = jQuery(form).serialize();
57
 
58
+ jQuery.post('<?php echo admin_url( 'admin-ajax.php' ); ?>', data, function (response) {
59
+ form_container.find('.mailerlite-form-inputs').fadeOut(function () {
60
+ form_container.find('.mailerlite-form-response').fadeIn()
61
+ });
62
+ });
63
+ }
64
+ });
65
  });
66
+ })();
67
  </script>
mailerlite.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Official MailerLite Sign Up Forms
5
  * Description: Official MailerLite Sign Up Forms plugin for WordPress. Ability
6
  * to embed MailerLite webforms and create custom ones just with few clicks.
7
- * Version: 1.1.2
8
  * Author: MailerGroup
9
  * Author URI: https://www.mailerlite.com
10
  * License: GPLv2 or later
@@ -28,7 +28,7 @@
28
  define('MAILERLITE_PLUGIN_DIR', plugin_dir_path(__FILE__));
29
  define('MAILERLITE_PLUGIN_URL', plugins_url('', __FILE__));
30
 
31
- define('MAILERLITE_VERSION', '1.1.2');
32
 
33
  define('MAILERLITE_PHP_VERSION', '5.0.1');
34
  define('MAILERLITE_WP_VERSION', '3.0.1');
@@ -125,4 +125,4 @@ require_once(MAILERLITE_PLUGIN_DIR . 'include/mailerlite-widget.php');
125
  require_once(MAILERLITE_PLUGIN_DIR . 'include/mailerlite-shortcode.php');
126
 
127
  add_action('init', array('MailerLite_Shortcode', 'init'));
128
- add_action('init', array('MailerLite_Form', 'init'));
4
  * Plugin Name: Official MailerLite Sign Up Forms
5
  * Description: Official MailerLite Sign Up Forms plugin for WordPress. Ability
6
  * to embed MailerLite webforms and create custom ones just with few clicks.
7
+ * Version: 1.1.3
8
  * Author: MailerGroup
9
  * Author URI: https://www.mailerlite.com
10
  * License: GPLv2 or later
28
  define('MAILERLITE_PLUGIN_DIR', plugin_dir_path(__FILE__));
29
  define('MAILERLITE_PLUGIN_URL', plugins_url('', __FILE__));
30
 
31
+ define('MAILERLITE_VERSION', '1.1.3');
32
 
33
  define('MAILERLITE_PHP_VERSION', '5.0.1');
34
  define('MAILERLITE_WP_VERSION', '3.0.1');
125
  require_once(MAILERLITE_PLUGIN_DIR . 'include/mailerlite-shortcode.php');
126
 
127
  add_action('init', array('MailerLite_Shortcode', 'init'));
128
+ add_action('init', array('MailerLite_Form', 'init'));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.mailerlite.com/
4
  Tags: mailerlite, newsletter, subscribe, form, webform
5
  Requires at least: 3.0.1
6
  Tested up to: 4.5.1
7
- Stable tag: 1.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -127,8 +127,10 @@ Add your custom CSS rules to the end of your theme stylesheet, /wp-content/theme
127
 
128
  == Changelog ==
129
 
 
 
130
  = 1.1.2 =
131
- * just number update
132
  = 1.1.1 =
133
  * updated readme and version constants
134
  = 1.1 =
@@ -174,8 +176,10 @@ Add your custom CSS rules to the end of your theme stylesheet, /wp-content/theme
174
 
175
  == Upgrade Notice ==
176
 
 
 
177
  = 1.1.2 =
178
- * just number update
179
  = 1.1.1 =
180
  * updated readme and version constants
181
  = 1.1 =
4
  Tags: mailerlite, newsletter, subscribe, form, webform
5
  Requires at least: 3.0.1
6
  Tested up to: 4.5.1
7
+ Stable tag: 1.1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
127
 
128
  == Changelog ==
129
 
130
+ = 1.1.3 =
131
+ * some problem with version number
132
  = 1.1.2 =
133
+ * wordpress issue bug fix
134
  = 1.1.1 =
135
  * updated readme and version constants
136
  = 1.1 =
176
 
177
  == Upgrade Notice ==
178
 
179
+ = 1.1.3 =
180
+ * problem with number
181
  = 1.1.2 =
182
+ * wordpress issue bug fix
183
  = 1.1.1 =
184
  * updated readme and version constants
185
  = 1.1 =
trunk/assets/css/mailerlite.css DELETED
@@ -1,38 +0,0 @@
1
- .mailerlite-activate {
2
- background: #FFF;
3
- max-width: 750px;
4
- padding: 30px;
5
- border-radius: 5px;
6
- }
7
-
8
- .mailerlite-activate .description-block {
9
- float: left;
10
- }
11
-
12
- .mailerlite-activate .description-block .title {
13
- font-size: 16px;
14
- font-weight: bold;
15
- }
16
-
17
- .mailerlite-activate .input-block {
18
- float: right;
19
- padding-top: 25px;
20
- }
21
-
22
- .mailerlite-empty-list {
23
- padding: 30px;
24
- }
25
-
26
- .mailerlite-text-center {
27
- text-align: center;
28
- }
29
-
30
- .mailerlite-pull-right {
31
- float: right;
32
- }
33
-
34
- .mailerlite-header {
35
- height: 100px;
36
- background: url('../image/header.png');
37
- margin: 0px 0px 20px -20px;
38
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/css/mailerlite_forms.css DELETED
@@ -1,44 +0,0 @@
1
- /* Global forms style */
2
-
3
- .mailerlite-form {
4
-
5
- }
6
-
7
- .mailerlite-form .mailerlite-form-description {
8
- margin-bottom: 10px;
9
- }
10
-
11
- .mailerlite-form .mailerlite-form-field {
12
- margin-bottom: 10px;
13
- }
14
-
15
- .mailerlite-form .mailerlite-form-field label {
16
- display: block;
17
- }
18
-
19
- .mailerlite-form .mailerlite-subscribe-button-container {
20
- text-align: center;
21
- }
22
-
23
- .mailerlite-form input.error {
24
- color: #ff0000;
25
- border-color: #ff0000;
26
- }
27
-
28
- .mailerlite-form label.error {
29
- color: #ff0000;
30
- }
31
-
32
- .mailerlite-form-response {
33
- margin-top: 20px;
34
- display: none;
35
- text-align: center;
36
- color: #00a154;
37
- }
38
-
39
- .mailerlite-form-loader {
40
- display:none;
41
- text-align: center;
42
- font-weight: bold;
43
- margin: 0 20px;
44
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/image/header.png DELETED
Binary file
trunk/assets/image/icon.png DELETED
Binary file
trunk/assets/image/shortcode.png DELETED
Binary file
trunk/assets/js/localization/jquery.validate/messages_ar.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin into arabic.
3
- * Locale: AR
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "هذا الحقل إلزامي",
7
- remote: "يرجى تصحيح هذا الحقل للمتابعة",
8
- email: "رجاء إدخال عنوان بريد إلكتروني صحيح",
9
- url: "رجاء إدخال عنوان موقع إلكتروني صحيح",
10
- date: "رجاء إدخال تاريخ صحيح",
11
- dateISO: "رجاء إدخال تاريخ صحيح (ISO)",
12
- number: "رجاء إدخال عدد بطريقة صحيحة",
13
- digits: "رجاء إدخال أرقام فقط",
14
- creditcard: "رجاء إدخال رقم بطاقة ائتمان صحيح",
15
- equalTo: "رجاء إدخال نفس القيمة",
16
- accept: "رجاء إدخال ملف بامتداد موافق عليه",
17
- maxlength: jQuery.validator.format("الحد الأقصى لعدد الحروف هو {0}"),
18
- minlength: jQuery.validator.format("الحد الأدنى لعدد الحروف هو {0}"),
19
- rangelength: jQuery.validator.format("عدد الحروف يجب أن يكون بين {0} و {1}"),
20
- range: jQuery.validator.format("رجاء إدخال عدد قيمته بين {0} و {1}"),
21
- max: jQuery.validator.format("رجاء إدخال عدد أقل من أو يساوي (0}"),
22
- min: jQuery.validator.format("رجاء إدخال عدد أكبر من أو يساوي (0}")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_bg.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: BG
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Полето е задължително.",
7
- remote: "Моля, въведете правилната стойност.",
8
- email: "Моля, въведете валиден email.",
9
- url: "Моля, въведете валидно URL.",
10
- date: "Моля, въведете валидна дата.",
11
- dateISO: "Моля, въведете валидна дата (ISO).",
12
- number: "Моля, въведете валиден номер.",
13
- digits: "Моля, въведете само цифри",
14
- creditcard: "Моля, въведете валиден номер на кредитна карта.",
15
- equalTo: "Моля, въведете същата стойност отново.",
16
- accept: "Моля, въведете стойност с валидно разширение.",
17
- maxlength: $.validator.format("Моля, въведете повече от {0} символа."),
18
- minlength: $.validator.format("Моля, въведете поне {0} символа."),
19
- rangelength: $.validator.format("Моля, въведете стойност с дължина между {0} и {1} символа."),
20
- range: $.validator.format("Моля, въведете стойност между {0} и {1}."),
21
- max: $.validator.format("Моля, въведете стойност по-малка или равна на {0}."),
22
- min: $.validator.format("Моля, въведете стойност по-голяма или равна на {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_ca.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: CA
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Aquest camp és obligatori.",
7
- remote: "Si us plau, omple aquest camp.",
8
- email: "Si us plau, escriu una adreça de correu-e vàlida",
9
- url: "Si us plau, escriu una URL vàlida.",
10
- date: "Si us plau, escriu una data vàlida.",
11
- dateISO: "Si us plau, escriu una data (ISO) vàlida.",
12
- number: "Si us plau, escriu un número enter vàlid.",
13
- digits: "Si us plau, escriu només dígits.",
14
- creditcard: "Si us plau, escriu un número de tarjeta vàlid.",
15
- equalTo: "Si us plau, escriu el maateix valor de nou.",
16
- accept: "Si us plau, escriu un valor amb una extensió acceptada.",
17
- maxlength: jQuery.validator.format("Si us plau, no escriguis més de {0} caracters."),
18
- minlength: jQuery.validator.format("Si us plau, no escriguis menys de {0} caracters."),
19
- rangelength: jQuery.validator.format("Si us plau, escriu un valor entre {0} i {1} caracters."),
20
- range: jQuery.validator.format("Si us plau, escriu un valor entre {0} i {1}."),
21
- max: jQuery.validator.format("Si us plau, escriu un valor menor o igual a {0}."),
22
- min: jQuery.validator.format("Si us plau, escriu un valor major o igual a {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_cs.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: CS
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Tento údaj je povinný.",
7
- remote: "Prosím, opravte tento údaj.",
8
- email: "Prosím, zadejte platný e-mail.",
9
- url: "Prosím, zadejte platné URL.",
10
- date: "Prosím, zadejte platné datum.",
11
- dateISO: "Prosím, zadejte platné datum (ISO).",
12
- number: "Prosím, zadejte číslo.",
13
- digits: "Prosím, zadávejte pouze číslice.",
14
- creditcard: "Prosím, zadejte číslo kreditní karty.",
15
- equalTo: "Prosím, zadejte znovu stejnou hodnotu.",
16
- accept: "Prosím, zadejte soubor se správnou příponou.",
17
- maxlength: jQuery.validator.format("Prosím, zadejte nejvíce {0} znaků."),
18
- minlength: jQuery.validator.format("Prosím, zadejte nejméně {0} znaků."),
19
- rangelength: jQuery.validator.format("Prosím, zadejte od {0} do {1} znaků."),
20
- range: jQuery.validator.format("Prosím, zadejte hodnotu od {0} do {1}."),
21
- max: jQuery.validator.format("Prosím, zadejte hodnotu menší nebo rovnu {0}."),
22
- min: jQuery.validator.format("Prosím, zadejte hodnotu větší nebo rovnu {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_da.js DELETED
@@ -1,20 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: DA
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Dette felt er påkrævet.",
7
- maxlength: jQuery.validator.format("Indtast højst {0} tegn."),
8
- minlength: jQuery.validator.format("Indtast mindst {0} tegn."),
9
- rangelength: jQuery.validator.format("Indtast mindst {0} og højst {1} tegn."),
10
- email: "Indtast en gyldig email-adresse.",
11
- url: "Indtast en gyldig URL.",
12
- date: "Indtast en gyldig dato.",
13
- number: "Indtast et tal.",
14
- digits: "Indtast kun cifre.",
15
- equalTo: "Indtast den samme værdi igen.",
16
- range: jQuery.validator.format("Angiv en værdi mellem {0} og {1}."),
17
- max: jQuery.validator.format("Angiv en værdi der højst er {0}."),
18
- min: jQuery.validator.format("Angiv en værdi der mindst er {0}."),
19
- creditcard: "Indtast et gyldigt kreditkortnummer."
20
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_de.js DELETED
@@ -1,20 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: DE
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Dieses Feld ist ein Pflichtfeld.",
7
- maxlength: jQuery.validator.format("Geben Sie bitte maximal {0} Zeichen ein."),
8
- minlength: jQuery.validator.format("Geben Sie bitte mindestens {0} Zeichen ein."),
9
- rangelength: jQuery.validator.format("Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein."),
10
- email: "Geben Sie bitte eine gültige E-Mail Adresse ein.",
11
- url: "Geben Sie bitte eine gültige URL ein.",
12
- date: "Bitte geben Sie ein gültiges Datum ein.",
13
- number: "Geben Sie bitte eine Nummer ein.",
14
- digits: "Geben Sie bitte nur Ziffern ein.",
15
- equalTo: "Bitte denselben Wert wiederholen.",
16
- range: jQuery.validator.format("Geben Sie bitten einen Wert zwischen {0} und {1}."),
17
- max: jQuery.validator.format("Geben Sie bitte einen Wert kleiner oder gleich {0} ein."),
18
- min: jQuery.validator.format("Geben Sie bitte einen Wert größer oder gleich {0} ein."),
19
- creditcard: "Geben Sie bitte ein gültige Kreditkarten-Nummer ein."
20
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_el.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: EL
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Αυτό το πεδίο είναι υποχρεωτικό.",
7
- remote: "Παρακαλώ διορθώστε αυτό το πεδίο.",
8
- email: "Παρακαλώ εισάγετε μια έγκυρη διεύθυνση email.",
9
- url: "Παρακαλώ εισάγετε ένα έγκυρο URL.",
10
- date: "Παρακαλώ εισάγετε μια έγκυρη ημερομηνία.",
11
- dateISO: "Παρακαλώ εισάγετε μια έγκυρη ημερομηνία (ISO).",
12
- number: "Παρακαλώ εισάγετε έναν έγκυρο αριθμό.",
13
- digits: "Παρακαλώ εισάγετε μόνο αριθμητικά ψηφία.",
14
- creditcard: "Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας.",
15
- equalTo: "Παρακαλώ εισάγετε την ίδια τιμή ξανά.",
16
- accept: "Παρακαλώ εισάγετε μια τιμή με έγκυρη επέκταση αρχείου.",
17
- maxlength: jQuery.validator.format("Παρακαλώ εισάγετε μέχρι και {0} χαρακτήρες."),
18
- minlength: jQuery.validator.format("Παρακαλώ εισάγετε τουλάχιστον {0} χαρακτήρες."),
19
- rangelength: jQuery.validator.format("Παρακαλώ εισάγετε μια τιμή με μήκος μεταξύ {0} και {1} χαρακτήρων."),
20
- range: jQuery.validator.format("Παρακαλώ εισάγετε μια τιμή μεταξύ {0} και {1}."),
21
- max: jQuery.validator.format("Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση του {0}."),
22
- min: jQuery.validator.format("Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση του {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_es.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: ES
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Este campo es obligatorio.",
7
- remote: "Por favor, rellena este campo.",
8
- email: "Por favor, escribe una dirección de correo válida",
9
- url: "Por favor, escribe una URL válida.",
10
- date: "Por favor, escribe una fecha válida.",
11
- dateISO: "Por favor, escribe una fecha (ISO) válida.",
12
- number: "Por favor, escribe un número entero válido.",
13
- digits: "Por favor, escribe sólo dígitos.",
14
- creditcard: "Por favor, escribe un número de tarjeta válido.",
15
- equalTo: "Por favor, escribe el mismo valor de nuevo.",
16
- accept: "Por favor, escribe un valor con una extensión aceptada.",
17
- maxlength: jQuery.validator.format("Por favor, no escribas más de {0} caracteres."),
18
- minlength: jQuery.validator.format("Por favor, no escribas menos de {0} caracteres."),
19
- rangelength: jQuery.validator.format("Por favor, escribe un valor entre {0} y {1} caracteres."),
20
- range: jQuery.validator.format("Por favor, escribe un valor entre {0} y {1}."),
21
- max: jQuery.validator.format("Por favor, escribe un valor menor o igual a {0}."),
22
- min: jQuery.validator.format("Por favor, escribe un valor mayor o igual a {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_eu.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: EU (Basque)
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Eremu hau beharrezkoa da.",
7
- remote: "Mesedez, bete eremu hau.",
8
- email: "Mesedez, idatzi baliozko posta helbide bat.",
9
- url: "Mesedez, idatzi baliozko URL bat.",
10
- date: "Mesedez, idatzi baliozko data bat.",
11
- dateISO: "Mesedez, idatzi baliozko (ISO) data bat.",
12
- number: "Mesedez, idatzi baliozko zenbaki oso bat.",
13
- digits: "Mesedez, idatzi digituak soilik.",
14
- creditcard: "Mesedez, idatzi baliozko txartel zenbaki bat.",
15
- equalTo: "Mesedez, idatzi berdina berriro ere.",
16
- accept: "Mesedez, idatzi onartutako luzapena duen balio bat.",
17
- maxlength: jQuery.validator.format("Mesedez, ez idatzi {0} karaktere baino gehiago."),
18
- minlength: jQuery.validator.format("Mesedez, ez idatzi {0} karaktere baino gutxiago."),
19
- rangelength: jQuery.validator.format("Mesedez, idatzi {0} eta {1} karaktere arteko balio bat."),
20
- range: jQuery.validator.format("Mesedez, idatzi {0} eta {1} arteko balio bat."),
21
- max: jQuery.validator.format("Mesedez, idatzi {0} edo txikiagoa den balio bat."),
22
- min: jQuery.validator.format("Mesedez, idatzi {0} edo handiagoa den balio bat.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_fa.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: FA
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "تکمیل این فیلد اجباری است.",
7
- remote: "لطفا این فیلد را تصحیح کنید.",
8
- email: ".لطفا یک ایمیل صحیح وارد کنید",
9
- url: "لطفا آدرس صحیح وارد کنید.",
10
- date: "لطفا یک تاریخ صحیح وارد کنید",
11
- dateISO: "لطفا تاریخ صحیح وارد کنید (ISO).",
12
- number: "لطفا عدد صحیح وارد کنید.",
13
- digits: "لطفا تنها رقم وارد کنید",
14
- creditcard: "لطفا کریدیت کارت صحیح وارد کنید.",
15
- equalTo: "لطفا مقدار برابری وارد کنید",
16
- accept: "لطفا مقداری وارد کنید که ",
17
- maxlength: jQuery.validator.format("لطفا بیشتر از {0} حرف وارد نکنید."),
18
- minlength: jQuery.validator.format("لطفا کمتر از {0} حرف وارد نکنید."),
19
- rangelength: jQuery.validator.format("لطفا مقداری بین {0} تا {1} حرف وارد کنید."),
20
- range: jQuery.validator.format("لطفا مقداری بین {0} تا {1} حرف وارد کنید."),
21
- max: jQuery.validator.format("لطفا مقداری کمتر از {0} حرف وارد کنید."),
22
- min: jQuery.validator.format("لطفا مقداری بیشتر از {0} حرف وارد کنید.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_fi.js DELETED
@@ -1,21 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: FI
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "T&auml;m&auml; kentt&auml; on pakollinen.",
7
- maxlength: jQuery.validator.format("Voit sy&ouml;tt&auml;&auml; enint&auml;&auml;n {0} merkki&auml;."),
8
- minlength: jQuery.validator.format("V&auml;hint&auml;&auml;n {0} merkki&auml;."),
9
- rangelength: jQuery.validator.format("Sy&ouml;t&auml; v&auml;hint&auml;&auml;n {0} ja enint&auml;&auml;n {1} merkki&auml;."),
10
- email: "Sy&ouml;t&auml; oikea s&auml;hk&ouml;postiosoite.",
11
- url: "Sy&ouml;t&auml; oikea URL osoite.",
12
- date: "Sy&ouml;t&auml; oike p&auml;iv&auml;m&auml;&auml;r&auml;.",
13
- dateISO: "Sy&ouml;t&auml; oike p&auml;iv&auml;m&auml;&auml;r&auml; (VVVV-MM-DD).",
14
- number: "Sy&ouml;t&auml; numero.",
15
- digits: "Sy&ouml;t&auml; pelk&auml;st&auml;&auml;n numeroita.",
16
- equalTo: "Sy&ouml;t&auml; sama arvo uudestaan.",
17
- range: jQuery.validator.format("Sy&ouml;t&auml; arvo {0} ja {1} v&auml;lilt&auml;."),
18
- max: jQuery.validator.format("Sy&ouml;t&auml; arvo joka on yht&auml; suuri tai suurempi kuin {0}."),
19
- min: jQuery.validator.format("Sy&ouml;t&auml; arvo joka on pienempi tai yht&auml; suuri kuin {0}."),
20
- creditcard: "Sy&ouml;t&auml; voimassa oleva luottokorttinumero."
21
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_fr.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: FR
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Ce champ est requis.",
7
- remote: "Veuillez remplir ce champ pour continuer.",
8
- email: "Veuillez entrer une adresse email valide.",
9
- url: "Veuillez entrer une URL valide.",
10
- date: "Veuillez entrer une date valide.",
11
- dateISO: "Veuillez entrer une date valide (ISO).",
12
- number: "Veuillez entrer un nombre valide.",
13
- digits: "Veuillez entrer (seulement) une valeur numérique.",
14
- creditcard: "Veuillez entrer un numéro de carte de crédit valide.",
15
- equalTo: "Veuillez entrer une nouvelle fois la même valeur.",
16
- accept: "Veuillez entrer une valeur avec une extension valide.",
17
- maxlength: jQuery.validator.format("Veuillez ne pas entrer plus de {0} caractères."),
18
- minlength: jQuery.validator.format("Veuillez entrer au moins {0} caractères."),
19
- rangelength: jQuery.validator.format("Veuillez entrer entre {0} et {1} caractères."),
20
- range: jQuery.validator.format("Veuillez entrer une valeur entre {0} et {1}."),
21
- max: jQuery.validator.format("Veuillez entrer une valeur inférieure ou égale à {0}."),
22
- min: jQuery.validator.format("Veuillez entrer une valeur supérieure ou égale à {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_he.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: HE
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: ".השדה הזה הינו שדה חובה",
7
- remote: "נא לתקן שדה זה.",
8
- email: "נא למלא כתובת דוא\"ל חוקית",
9
- url: "נא למלא כתובת אינטרנט חוקית.",
10
- date: "נא למלא תאריך חוקי",
11
- dateISO: "נא למלא תאריך חוקי (ISO).",
12
- number: "נא למלא מספר.",
13
- digits: ".נא למלא רק מספרים",
14
- creditcard: "נא למלא מספר כרטיס אשראי חוקי.",
15
- equalTo: "נא למלא את אותו ערך שוב.",
16
- accept: "נא למלא ערך עם סיומת חוקית.",
17
- maxlength: jQuery.validator.format(".נא לא למלא יותר מ- {0} תווים"),
18
- minlength: jQuery.validator.format("נא למלא לפחות {0} תווים."),
19
- rangelength: jQuery.validator.format("נא למלא ערך בין {0} ל- {1} תווים."),
20
- range: jQuery.validator.format("נא למלא ערך בין {0} ל- {1}."),
21
- max: jQuery.validator.format("נא למלא ערך קטן או שווה ל- {0}."),
22
- min: jQuery.validator.format("נא למלא ערך גדול או שווה ל- {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_hu.js DELETED
@@ -1,20 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: HU
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Kötelező megadni.",
7
- maxlength: jQuery.validator.format("Legfeljebb {0} karakter hosszú legyen."),
8
- minlength: jQuery.validator.format("Legalább {0} karakter hosszú legyen."),
9
- rangelength: jQuery.validator.format("Legalább {0} és legfeljebb {1} karakter hosszú legyen."),
10
- email: "Érvényes e-mail címnek kell lennie.",
11
- url: "Érvényes URL-nek kell lennie.",
12
- date: "Dátumnak kell lennie.",
13
- number: "Számnak kell lennie.",
14
- digits: "Csak számjegyek lehetnek.",
15
- equalTo: "Meg kell egyeznie a két értéknek.",
16
- range: jQuery.validator.format("{0} és {1} közé kell esnie."),
17
- max: jQuery.validator.format("Nem lehet nagyobb, mint {0}."),
18
- min: jQuery.validator.format("Nem lehet kisebb, mint {0}."),
19
- creditcard: "Érvényes hitelkártyaszámnak kell lennie."
20
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_it.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: IT
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Campo obbligatorio.",
7
- remote: "Controlla questo campo.",
8
- email: "Inserisci un indirizzo email valido.",
9
- url: "Inserisci un indirizzo web valido.",
10
- date: "Inserisci una data valida.",
11
- dateISO: "Inserisci una data valida (ISO).",
12
- number: "Inserisci un numero valido.",
13
- digits: "Inserisci solo numeri.",
14
- creditcard: "Inserisci un numero di carta di credito valido.",
15
- equalTo: "Il valore non corrisponde.",
16
- accept: "Inserisci un valore con un&apos;estensione valida.",
17
- maxlength: jQuery.validator.format("Non inserire pi&ugrave; di {0} caratteri."),
18
- minlength: jQuery.validator.format("Inserisci almeno {0} caratteri."),
19
- rangelength: jQuery.validator.format("Inserisci un valore compreso tra {0} e {1} caratteri."),
20
- range: jQuery.validator.format("Inserisci un valore compreso tra {0} e {1}."),
21
- max: jQuery.validator.format("Inserisci un valore minore o uguale a {0}."),
22
- min: jQuery.validator.format("Inserisci un valore maggiore o uguale a {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_ja.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: JA (Japanese)
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "このフィールドは必須です。",
7
- remote: "このフィールドを修正してください。",
8
- email: "有効なEメールアドレスを入力してください。",
9
- url: "有効なURLを入力してください。",
10
- date: "有効な日付を入力してください。",
11
- dateISO: "有効な日付(ISO)を入力してください。",
12
- number: "有効な数字を入力してください。",
13
- digits: "数字のみを入力してください。",
14
- creditcard: "有効なクレジットカード番号を入力してください。",
15
- equalTo: "同じ値をもう一度入力してください。",
16
- accept: "有効な拡張子を含む値を入力してください。",
17
- maxlength: jQuery.validator.format("{0} 文字以内で入力してください。"),
18
- minlength: jQuery.validator.format("{0} 文字以上で入力してください。"),
19
- rangelength: jQuery.validator.format("{0} 文字から {1} 文字までの値を入力してください。"),
20
- range: jQuery.validator.format("{0} から {1} までの値を入力してください。"),
21
- max: jQuery.validator.format("{0} 以下の値を入力してください。"),
22
- min: jQuery.validator.format("{1} 以上の値を入力してください。")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_kk.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: KK
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Бұл өрісті міндетті түрде толтырыңыз.",
7
- remote: "Дұрыс мағына енгізуіңізді сұраймыз.",
8
- email: "Нақты электронды поштаңызды енгізуіңізді сұраймыз.",
9
- url: "Нақты URL-ды енгізуіңізді сұраймыз.",
10
- date: "Нақты URL-ды енгізуіңізді сұраймыз.",
11
- dateISO: "Нақты ISO форматымен сәйкес датасын енгізуіңізді сұраймыз.",
12
- number: "Күнді енгізуіңізді сұраймыз.",
13
- digits: "Тек қана сандарды енгізуіңізді сұраймыз.",
14
- creditcard: "Несие картасының нөмірін дұрыс енгізуіңізді сұраймыз.",
15
- equalTo: "Осы мәнді қайта енгізуіңізді сұраймыз.",
16
- accept: "Файлдың кеңейтуін дұрыс таңдаңыз.",
17
- maxlength: jQuery.validator.format("Ұзындығы {0} символдан көр болмасын."),
18
- minlength: jQuery.validator.format("Ұзындығы {0} символдан аз болмасын."),
19
- rangelength: jQuery.validator.format("Ұзындығы {0}-{1} дейін мән енгізуіңізді сұраймыз."),
20
- range: jQuery.validator.format("Пожалуйста, введите число от {0} до {1}. - {0} - {1} санын енгізуіңізді сұраймыз."),
21
- max: jQuery.validator.format("{0} аз немесе тең санын енгізуіңіді сұраймыз."),
22
- min: jQuery.validator.format("{0} көп немесе тең санын енгізуіңізді сұраймыз.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_lt.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin in lithuanian.
3
- * Locale: LT
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Šis laukas yra privalomas.",
7
- remote: "Prašau pataisyti šį lauką.",
8
- email: "Prašau įvesti teisingą elektroninio pašto adresą.",
9
- url: "Prašau įvesti teisingą URL.",
10
- date: "Prašau įvesti teisingą datą.",
11
- dateISO: "Prašau įvesti teisingą datą (ISO).",
12
- number: "Prašau įvesti teisingą skaičių.",
13
- digits: "Prašau naudoti tik skaitmenis.",
14
- creditcard: "Prašau įvesti teisingą kreditinės kortelės numerį.",
15
- equalTo: "Prašau įvestį tą pačią reikšmę dar kartą.",
16
- accept: "Prašau įvesti reikšmę su teisingu plėtiniu.",
17
- maxlength: jQuery.validator.format("Prašau įvesti ne daugiau kaip {0} simbolių."),
18
- minlength: jQuery.validator.format("Prašau įvesti bent {0} simbolius."),
19
- rangelength: jQuery.validator.format("Prašau įvesti reikšmes, kurių ilgis nuo {0} iki {1} simbolių."),
20
- range: jQuery.validator.format("Prašau įvesti reikšmę intervale nuo {0} iki {1}."),
21
- max: jQuery.validator.format("Prašau įvesti reikšmę mažesnę arba lygią {0}."),
22
- min: jQuery.validator.format("Prašau įvesti reikšmę didesnę arba lygią {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_lv.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: LV
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Šis lauks ir obligāts.",
7
- remote: "Lūdzu, pārbaudiet šo lauku.",
8
- email: "Lūdzu, ievadiet derīgu e-pasta adresi.",
9
- url: "Lūdzu, ievadiet derīgu URL adresi.",
10
- date: "Lūdzu, ievadiet derīgu datumu.",
11
- dateISO: "Lūdzu, ievadiet derīgu datumu (ISO).",
12
- number: "Lūdzu, ievadiet derīgu numuru.",
13
- digits: "Lūdzu, ievadiet tikai ciparus.",
14
- creditcard: "Lūdzu, ievadiet derīgu kredītkartes numuru.",
15
- equalTo: "Lūdzu, ievadiet to pašu vēlreiz.",
16
- accept: "Lūdzu, ievadiet vērtību ar derīgu paplašinājumu.",
17
- maxlength: jQuery.validator.format("Lūdzu, ievadiet ne vairāk kā {0} rakstzīmes."),
18
- minlength: jQuery.validator.format("Lūdzu, ievadiet vismaz {0} rakstzīmes."),
19
- rangelength: jQuery.validator.format("Lūdzu ievadiet {0} līdz {1} rakstzīmes."),
20
- range: jQuery.validator.format("Lūdzu, ievadiet skaitli no {0} līdz {1}."),
21
- max: jQuery.validator.format("Lūdzu, ievadiet skaitli, kurš ir mazāks vai vienāds ar {0}."),
22
- min: jQuery.validator.format("Lūdzu, ievadiet skaitli, kurš ir lielāks vai vienāds ar {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_nl.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: NL
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Dit is een verplicht veld.",
7
- remote: "Controleer dit veld.",
8
- email: "Vul hier een geldig e-mailadres in.",
9
- url: "Vul hier een geldige URL in.",
10
- date: "Vul hier een geldige datum in.",
11
- dateISO: "Vul hier een geldige datum in (ISO-formaat).",
12
- number: "Vul hier een geldig getal in.",
13
- digits: "Vul hier alleen getallen in.",
14
- creditcard: "Vul hier een geldig creditcardnummer in.",
15
- equalTo: "Vul hier dezelfde waarde in.",
16
- accept: "Vul hier een waarde in met een geldige extensie.",
17
- maxlength: jQuery.validator.format("Vul hier maximaal {0} tekens in."),
18
- minlength: jQuery.validator.format("Vul hier minimaal {0} tekens in."),
19
- rangelength: jQuery.validator.format("Vul hier een waarde in van minimaal {0} en maximaal {1} tekens."),
20
- range: jQuery.validator.format("Vul hier een waarde in van minimaal {0} en maximaal {1}."),
21
- max: jQuery.validator.format("Vul hier een waarde in kleiner dan of gelijk aan {0}."),
22
- min: jQuery.validator.format("Vul hier een waarde in groter dan of gelijk aan {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_no.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: NO (Norwegian)
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Dette feltet er obligatorisk.",
7
- maxlength: jQuery.validator.format("Maksimalt {0} tegn."),
8
- minlength: jQuery.validator.format("Minimum {0} tegn."),
9
- rangelength: jQuery.validator.format("Angi minimum {0} og maksimum {1} tegn."),
10
- email: "Oppgi en gyldig epostadresse.",
11
- url: "Angi en gyldig URL.",
12
- date: "Angi en gyldig dato.",
13
- dateISO: "Angi en gyldig dato (&ARING;&ARING;&ARING;&ARING;-MM-DD).",
14
- dateSE: "Angi en gyldig dato.",
15
- number: "Angi et gyldig nummer.",
16
- numberSE: "Angi et gyldig nummer.",
17
- digits: "Skriv kun tall.",
18
- equalTo: "Skriv samme verdi igjen.",
19
- range: jQuery.validator.format("Angi en verdi mellom {0} og {1}."),
20
- max: jQuery.validator.format("Angi en verdi som er mindre eller lik {0}."),
21
- min: jQuery.validator.format("Angi en verdi som er st&oslash;rre eller lik {0}."),
22
- creditcard: "Angi et gyldig kredittkortnummer."
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_pl.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: PL
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "To pole jest wymagane.",
7
- remote: "Proszę o wypełnienie tego pola.",
8
- email: "Proszę o podanie prawidłowego adresu email.",
9
- url: "Proszę o podanie prawidłowego URL.",
10
- date: "Proszę o podanie prawidłowej daty.",
11
- dateISO: "Proszę o podanie prawidłowej daty (ISO).",
12
- number: "Proszę o podanie prawidłowej liczby.",
13
- digits: "Proszę o podanie samych cyfr.",
14
- creditcard: "Proszę o podanie prawidłowej karty kredytowej.",
15
- equalTo: "Proszę o podanie tej samej wartości ponownie.",
16
- accept: "Proszę o podanie wartości z prawidłowym rozszerzeniem.",
17
- maxlength: jQuery.validator.format("Proszę o podanie nie więcej niż {0} znaków."),
18
- minlength: jQuery.validator.format("Proszę o podanie przynajmniej {0} znaków."),
19
- rangelength: jQuery.validator.format("Proszę o podanie wartości o długości od {0} do {1} znaków."),
20
- range: jQuery.validator.format("Proszę o podanie wartości z przedziału od {0} do {1}."),
21
- max: jQuery.validator.format("Proszę o podanie wartości mniejszej bądź równej {0}."),
22
- min: jQuery.validator.format("Proszę o podanie wartości większej bądź równej {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_ro.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: RO
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Acest câmp este obligatoriu.",
7
- remote: "Te rugăm să completezi acest câmp.",
8
- email: "Te rugăm să introduci o adresă de email validă",
9
- url: "Te rugăm sa introduci o adresă URL validă.",
10
- date: "Te rugăm să introduci o dată corectă.",
11
- dateISO: "Te rugăm să introduci o dată (ISO) corectă.",
12
- number: "Te rugăm să introduci un număr întreg valid.",
13
- digits: "Te rugăm să introduci doar cifre.",
14
- creditcard: "Te rugăm să introduci un numar de carte de credit valid.",
15
- equalTo: "Te rugăm să reintroduci valoarea.",
16
- accept: "Te rugăm să introduci o valoare cu o extensie validă.",
17
- maxlength: jQuery.validator.format("Te rugăm să nu introduci mai mult de {0} caractere."),
18
- minlength: jQuery.validator.format("Te rugăm să introduci cel puțin {0} caractere."),
19
- rangelength: jQuery.validator.format("Te rugăm să introduci o valoare între {0} și {1} caractere."),
20
- range: jQuery.validator.format("Te rugăm să introduci o valoare între {0} și {1}."),
21
- max: jQuery.validator.format("Te rugăm să introduci o valoare egal sau mai mică decât {0}."),
22
- min: jQuery.validator.format("Te rugăm să introduci o valoare egal sau mai mare decât {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_ru.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: RU
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Это поле необходимо заполнить.",
7
- remote: "Пожалуйста, введите правильное значение.",
8
- email: "Пожалуйста, введите корректный адрес электронной почты.",
9
- url: "Пожалуйста, введите корректный URL.",
10
- date: "Пожалуйста, введите корректную дату.",
11
- dateISO: "Пожалуйста, введите корректную дату в формате ISO.",
12
- number: "Пожалуйста, введите число.",
13
- digits: "Пожалуйста, вводите только цифры.",
14
- creditcard: "Пожалуйста, введите правильный номер кредитной карты.",
15
- equalTo: "Пожалуйста, введите такое же значение ещё раз.",
16
- accept: "Пожалуйста, выберите файл с правильным расширением.",
17
- maxlength: jQuery.validator.format("Пожалуйста, введите не больше {0} символов."),
18
- minlength: jQuery.validator.format("Пожалуйста, введите не меньше {0} символов."),
19
- rangelength: jQuery.validator.format("Пожалуйста, введите значение длиной от {0} до {1} символов."),
20
- range: jQuery.validator.format("Пожалуйста, введите число от {0} до {1}."),
21
- max: jQuery.validator.format("Пожалуйста, введите число, меньшее или равное {0}."),
22
- min: jQuery.validator.format("Пожалуйста, введите число, большее или равное {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_si.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: SI (Slovenian)
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "To polje je obvezno.",
7
- remote: "Vpis v tem polju ni v pravi obliki.",
8
- email: "Prosimo, vnesite pravi email naslov.",
9
- url: "Prosimo, vnesite pravi URL.",
10
- date: "Prosimo, vnesite pravi datum.",
11
- dateISO: "Prosimo, vnesite pravi datum (ISO).",
12
- number: "Prosimo, vnesite pravo številko.",
13
- digits: "Prosimo, vnesite samo številke.",
14
- creditcard: "Prosimo, vnesite pravo številko kreditne kartice.",
15
- equalTo: "Prosimo, ponovno vnesite enako vsebino.",
16
- accept: "Prosimo, vnesite vsebino z pravo končnico.",
17
- maxlength: jQuery.validator.format("Prosimo, da ne vnašate več kot {0} znakov."),
18
- minlength: jQuery.validator.format("Prosimo, vnesite vsaj {0} znakov."),
19
- rangelength: jQuery.validator.format("Prosimo, vnesite od {0} do {1} znakov."),
20
- range: jQuery.validator.format("Prosimo, vnesite vrednost med {0} in {1}."),
21
- max: jQuery.validator.format("Prosimo, vnesite vrednost manjšo ali enako {0}."),
22
- min: jQuery.validator.format("Prosimo, vnesite vrednost večjo ali enako {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_sk.js DELETED
@@ -1,20 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: SK
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Povinné zadať.",
7
- maxlength: jQuery.validator.format("Maximálne {0} znakov."),
8
- minlength: jQuery.validator.format("Minimálne {0} znakov."),
9
- rangelength: jQuery.validator.format("Minimálne {0} a Maximálne {0} znakov."),
10
- email: "E-mailová adresa musí byť platná.",
11
- url: "URL musí byť platný.",
12
- date: "Musí byť dátum.",
13
- number: "Musí byť číslo.",
14
- digits: "Môže obsahovať iba číslice.",
15
- equalTo: "Dva hodnoty sa musia rovnať.",
16
- range: jQuery.validator.format("Musí byť medzi {0} a {1}."),
17
- max: jQuery.validator.format("Nemôže byť viac ako{0}."),
18
- min: jQuery.validator.format("Nemôže byť menej ako{0}."),
19
- creditcard: "Číslo platobnej karty musí byť platné."
20
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_sl.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Language: SL
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "To polje je obvezno.",
7
- remote: "Prosimo popravite to polje.",
8
- email: "Prosimo vnesite veljaven email naslov.",
9
- url: "Prosimo vnesite veljaven URL naslov.",
10
- date: "Prosimo vnesite veljaven datum.",
11
- dateISO: "Prosimo vnesite veljaven ISO datum.",
12
- number: "Prosimo vnesite veljavno število.",
13
- digits: "Prosimo vnesite samo števila.",
14
- creditcard: "Prosimo vnesite veljavno številko kreditne kartice.",
15
- equalTo: "Prosimo ponovno vnesite vrednost.",
16
- accept: "Prosimo vnesite vrednost z veljavno končnico.",
17
- maxlength: jQuery.validator.format("Prosimo vnesite največ {0} znakov."),
18
- minlength: jQuery.validator.format("Prosimo vnesite najmanj {0} znakov."),
19
- rangelength: jQuery.validator.format("Prosimo vnesite najmanj {0} in največ {1} znakov."),
20
- range: jQuery.validator.format("Prosimo vnesite vrednost med {0} in {1}."),
21
- max: jQuery.validator.format("Prosimo vnesite vrednost manjše ali enako {0}."),
22
- min: jQuery.validator.format("Prosimo vnesite vrednost večje ali enako {0}.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_th.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: TH (Thai)
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "โปรดระบุ",
7
- remote: "โปรดแก้ไขให้ถูกต้อง",
8
- email: "โปรดระบุที่อยู่อีเมล์ที่ถูกต้อง",
9
- url: "โปรดระบุ URL ที่ถูกต้อง",
10
- date: "โปรดระบุวันที่ ที่ถูกต้อง",
11
- dateISO: "โปรดระบุวันที่ ที่ถูกต้อง (ระบบ ISO).",
12
- number: "โปรดระบุทศนิยมที่ถูกต้อง",
13
- digits: "โปรดระบุจำนวนเต็มที่ถูกต้อง",
14
- creditcard: "โปรดระบุรหัสบัตรเครดิตที่ถูกต้อง",
15
- equalTo: "โปรดระบุค่าเดิมอีกครั้ง",
16
- accept: "โปรดระบุค่าที่มีส่วนขยายที่ถูกต้อง",
17
- maxlength: jQuery.validator.format("โปรดอย่าระบุค่าที่ยาวกว่า {0} อักขระ"),
18
- minlength: jQuery.validator.format("โปรดอย่าระบุค่าที่สั้นกว่า {0} อักขระ"),
19
- rangelength: jQuery.validator.format("โปรดอย่าระบุค่าความยาวระหว่าง {0} ถึง {1} อักขระ"),
20
- range: jQuery.validator.format("โปรดระบุค่าระหว่าง {0} และ {1}"),
21
- max: jQuery.validator.format("โปรดระบุค่าน้อยกว่าหรือเท่ากับ {0}"),
22
- min: jQuery.validator.format("โปรดระบุค่ามากกว่าหรือเท่ากับ {0}")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/localization/jquery.validate/messages_vi.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: VI (Vietnamese)
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Hãy nhập.",
7
- remote: "Hãy sửa cho đúng.",
8
- email: "Hãy nhập email.",
9
- url: "Hãy nhập URL.",
10
- date: "Hãy nhập ngày.",
11
- dateISO: "Hãy nhập ngày (ISO).",
12
- number: "Hãy nhập số.",
13
- digits: "Hãy nhập chữ số.",
14
- creditcard: "Hãy nhập số thẻ tín dụng.",
15
- equalTo: "Hãy nhập thêm lần nữa.",
16
- accept: "Phần mở rộng không đúng.",
17
- maxlength: jQuery.validator.format("Hãy nhập từ {0} kí tự trở xuống."),
18
- minlength: jQuery.validator.format("Hãy nhập từ {0} kí tự trở lên."),
19
- rangelength: jQuery.validator.format("Hãy nhập từ {0} đến {1} kí tự."),
20
- range: jQuery.validator.format("Hãy nhập từ {0} đến {1}."),
21
- max: jQuery.validator.format("Hãy nhập từ {0} trở xuống."),
22
- min: jQuery.validator.format("Hãy nhập từ {1} trở lên.")
23
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/assets/js/mailerlite_shortcode.js DELETED
@@ -1,28 +0,0 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.mailerlite_shortcode', {
3
- init : function(ed, url) {
4
- ed.addCommand('mailerlite_shortcode_popup', function() {
5
- ed.windowManager.open({
6
- file: ajaxurl + '?action=mailerlite_tinymce_window',
7
- width : 400 + ed.getLang('example.delta_width', 0),
8
- height : 400 + ed.getLang('example.delta_height', 0),
9
- inline : 1
10
- }, {
11
- plugin_url : url
12
- }
13
- );
14
- }
15
- );
16
- ed.addButton('mailerlite_shortcode', {
17
- title : 'Add a MailerLite sign-up form',
18
- image : url+'/../image/shortcode.png',
19
- cmd : 'mailerlite_shortcode_popup'
20
- }
21
- );
22
- },
23
- createControl : function(n, ml) {
24
- return null;
25
- }
26
- });
27
- tinymce.PluginManager.add('mailerlite_shortcode', tinymce.plugins.mailerlite_shortcode);
28
- })();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/mailerlite-admin.php DELETED
@@ -1,422 +0,0 @@
1
- <?php defined('ABSPATH') or die("No direct access allowed!");
2
-
3
- require_once MAILERLITE_PLUGIN_DIR . "libs/mailerlite_rest/ML_Lists.php";
4
- require_once MAILERLITE_PLUGIN_DIR . "libs/mailerlite_rest/ML_Webforms.php";
5
-
6
- class MailerLite_Admin
7
- {
8
-
9
- private static $initiated = false;
10
- private static $api_key = false;
11
-
12
- /**
13
- * Initialization method
14
- */
15
- public static function init()
16
- {
17
-
18
- global $mailerlite_error;
19
-
20
- $mailerlite_error = false;
21
-
22
- self::$api_key = get_option('mailerlite_api_key');
23
-
24
- if (!self::$initiated) {
25
- self::init_hooks();
26
- }
27
-
28
- if (isset($_POST['action'])
29
- && $_POST['action'] == 'enter-mailerlite-key'
30
- ) {
31
- self::set_api_key();
32
- }
33
- }
34
-
35
- /**
36
- * Adds admin stuff
37
- */
38
- private static function init_hooks()
39
- {
40
-
41
- self::$initiated = true;
42
-
43
- add_action(
44
- 'admin_init',
45
- array('MailerLite_Admin', 'mailerlite_admin_init_setting')
46
- );
47
- add_action(
48
- 'admin_menu', array(
49
- 'MailerLite_Admin',
50
- 'mailerlite_admin_generate_menu_link'
51
- )
52
- );
53
-
54
- wp_register_style(
55
- 'mailerlite.css',
56
- MAILERLITE_PLUGIN_URL . '/assets/css/mailerlite.css', array(),
57
- MAILERLITE_VERSION
58
- );
59
- wp_enqueue_style('mailerlite.css');
60
- }
61
-
62
- /**
63
- * Generates admin menu links
64
- */
65
- public static function mailerlite_admin_generate_menu_link()
66
- {
67
-
68
- add_menu_page(
69
- 'MailerLite', 'MailerLite', 'manage_options', 'mailerlite_main',
70
- null, MAILERLITE_PLUGIN_URL . '/assets/image/icon.png'
71
- );
72
-
73
- add_submenu_page(
74
- 'mailerlite_main', __('Forms', 'mailerlite'),
75
- __('Signup forms', 'mailerlite'), 'manage_options',
76
- 'mailerlite_main', array('MailerLite_Admin', 'mailerlite_main')
77
- );
78
- add_submenu_page(
79
- 'mailerlite_main', __('Settings', 'mailerlite'),
80
- __('Settings', 'mailerlite'), 'manage_options',
81
- 'mailerlite_settings',
82
- array('MailerLite_Admin', 'mailerlite_settings')
83
- );
84
- }
85
-
86
- public static function mailerlite_admin_init_setting()
87
- {
88
-
89
- }
90
-
91
- /**
92
- * Checks if there is API key set
93
- */
94
- private static function mailerlite_api_key_require()
95
- {
96
- global $mailerlite_error;
97
-
98
- if (self::$api_key == false) {
99
- include(MAILERLITE_PLUGIN_DIR
100
- . 'include/templates/admin/api_key.php');
101
- exit;
102
- }
103
-
104
- }
105
-
106
- /**
107
- * Create, edit, list pages method
108
- */
109
- public static function mailerlite_main()
110
- {
111
- global $fields, $lists, $form, $forms_data, $webforms, $mailerlite_error, $result, $wpdb;
112
-
113
- //Check for api key
114
- self::mailerlite_api_key_require();
115
-
116
- $api_key = self::$api_key;
117
- $result = '';
118
-
119
- //Create new signup form view
120
- if (isset($_GET['view']) && $_GET['view'] == 'create') {
121
- if (isset($_POST['create_signup_form'])) {
122
- self::create_new_form($_POST);
123
- wp_redirect(
124
- 'admin.php?page=mailerlite_main&view=edit&id='
125
- . $wpdb->insert_id
126
- );
127
- } else {
128
- if (isset($_GET['noheader'])) {
129
- require_once(ABSPATH . 'wp-admin/admin-header.php');
130
- }
131
- }
132
-
133
- $ML_Webforms = new ML_Webforms($api_key);
134
- $webforms = $ML_Webforms->getAll();
135
- $webforms = json_decode($webforms);
136
-
137
- include(MAILERLITE_PLUGIN_DIR
138
- . 'include/templates/admin/create.php');
139
-
140
-
141
- } //Edit signup form view
142
- else if (isset($_GET['view']) && isset($_GET['id'])
143
- && $_GET['view'] == 'edit'
144
- && absint($_GET['id'])
145
- ) {
146
- $form_id = absint($_GET['id']);
147
-
148
- $form = $wpdb->get_row(
149
- "SELECT * FROM " . $wpdb->prefix
150
- . "mailerlite_forms WHERE id = " . $form_id
151
- );
152
-
153
- if (isset($form->data)) {
154
- $form->data = unserialize($form->data);
155
-
156
- if ($form->type == 1) {
157
- add_filter(
158
- 'wp_default_editor',
159
- create_function('', 'return "tinymce";')
160
- );
161
-
162
- $ML_Lists = new ML_Lists($api_key);
163
- $lists = $ML_Lists->getAll();
164
- $lists = json_decode($lists);
165
-
166
- $fields = $ML_Lists->setId($lists->Results[0]->id)
167
- ->getFields();
168
- $fields = json_decode($fields);
169
-
170
- if (isset($_POST['save_custom_signup_form'])) {
171
- $form_name = isset($_POST['form_name'])
172
- && $_POST['form_name'] != ''
173
- ? sanitize_text_field($_POST['form_name'])
174
- : __(
175
- 'Subscribe for newsletter!', 'mailerlite'
176
- );
177
- $form_title = isset($_POST['form_title'])
178
- && $_POST['form_title'] != ''
179
- ? sanitize_text_field($_POST['form_title'])
180
- : __(
181
- 'Newsletter signup', 'mailerlite'
182
- );
183
- $form_description = isset($_POST['form_description'])
184
- ? $_POST['form_description']
185
- : __(
186
- 'Just simple MailerLite form!', 'mailerlite'
187
- );
188
- $button_name = isset($_POST['button_name'])
189
- && $_POST['button_name'] != ''
190
- ? sanitize_text_field($_POST['button_name'])
191
- : __(
192
- 'Subscribe', 'mailerlite'
193
- );
194
-
195
- $language = isset($_POST['language'])
196
- && $_POST['language'] != ''
197
- ? sanitize_text_field($_POST['language'])
198
- : '';
199
-
200
- $selected_fields = isset($_POST['form_selected_field'])
201
- && is_array(
202
- $_POST['form_selected_field']
203
- ) ? $_POST['form_selected_field'] : array();
204
- $field_titles = isset($_POST['form_field'])
205
- && is_array(
206
- $_POST['form_field']
207
- ) ? $_POST['form_field'] : array();
208
-
209
- if (!isset($field_titles['email'])
210
- || $field_titles['email'] == ''
211
- ) {
212
- $field_titles['email'] = __('Email', 'mailerlite');
213
- }
214
-
215
- $form_lists = isset($_POST['form_lists'])
216
- && is_array(
217
- $_POST['form_lists']
218
- ) ? $_POST['form_lists'] : array();
219
-
220
- $prepared_fields = array();
221
-
222
- //Force to use email
223
- $prepared_fields['email'] = $field_titles['email'];
224
-
225
- foreach ($selected_fields as $field) {
226
- if (isset($field_titles[$field])) {
227
- $prepared_fields[$field]
228
- = $field_titles[$field];
229
- }
230
- }
231
-
232
- $form_data = array(
233
- 'title' => $form_title,
234
- 'description' => wpautop($form_description, true),
235
- 'button' => $button_name,
236
- 'language' => $language,
237
- 'lists' => $form_lists,
238
- 'fields' => $prepared_fields
239
- );
240
-
241
- $wpdb->update(
242
- $wpdb->prefix . 'mailerlite_forms',
243
- array(
244
- 'name' => $form_name,
245
- 'data' => serialize($form_data)
246
- ),
247
- array('id' => $form_id),
248
- array(),
249
- array('%d')
250
- );
251
-
252
- $form->data = $form_data;
253
-
254
- $result = 'success';
255
- }
256
-
257
- include(MAILERLITE_PLUGIN_DIR
258
- . 'include/settings/languages.php');
259
-
260
- include(MAILERLITE_PLUGIN_DIR
261
- . 'include/templates/admin/edit_custom.php');
262
- } else if ($form->type == 2) {
263
- $ML_Webforms = new ML_Webforms($api_key);
264
- $webforms = $ML_Webforms->getAll();
265
- $webforms = json_decode($webforms);
266
-
267
- $parsed_webforms = array();
268
-
269
- foreach ($webforms->Results as $webform) {
270
- $parsed_webforms[$webform->id] = $webform->code;
271
- }
272
-
273
- if (isset($_POST['save_embedded_signup_form'])) {
274
- $form_name = isset($_POST['form_name'])
275
- && $_POST['form_name'] != ''
276
- ? sanitize_text_field($_POST['form_name'])
277
- : __(
278
- 'Embedded webform', 'mailerlite'
279
- );
280
- $form_webform_id = isset($_POST['form_webform_id'])
281
- && isset($parsed_webforms[$_POST['form_webform_id']])
282
- ? $_POST['form_webform_id'] : 0;
283
-
284
- $form_data = array(
285
- 'id' => $form_webform_id,
286
- 'code' => $parsed_webforms[$form_webform_id]
287
- );
288
-
289
- $wpdb->update(
290
- $wpdb->prefix . 'mailerlite_forms',
291
- array(
292
- 'name' => $form_name,
293
- 'data' => serialize($form_data)
294
- ),
295
- array('id' => $form_id),
296
- array(),
297
- array('%d')
298
- );
299
-
300
- $form->data = $form_data;
301
-
302
- $result = 'success';
303
- }
304
-
305
- include(MAILERLITE_PLUGIN_DIR
306
- . 'include/templates/admin/edit_embedded.php');
307
- }
308
- } else {
309
- $forms_data = $wpdb->get_results(
310
- "SELECT * FROM " . $wpdb->prefix
311
- . "mailerlite_forms ORDER BY time DESC"
312
- );
313
-
314
- include(MAILERLITE_PLUGIN_DIR
315
- . 'include/templates/admin/main.php');
316
- }
317
- } //Delete signup form view
318
- else if (isset($_GET['view']) && isset($_GET['id'])
319
- && $_GET['view'] == 'delete'
320
- && absint($_GET['id'])
321
- ) {
322
- $wpdb->delete(
323
- $wpdb->prefix . 'mailerlite_forms', array('id' => $_GET['id'])
324
- );
325
- wp_redirect('admin.php?page=mailerlite_main');
326
- } //Signup forms list
327
- else {
328
- $forms_data = $wpdb->get_results(
329
- "SELECT * FROM " . $wpdb->prefix
330
- . "mailerlite_forms ORDER BY time DESC"
331
- );
332
-
333
- include(MAILERLITE_PLUGIN_DIR . 'include/templates/admin/main.php');
334
- }
335
- }
336
-
337
- /**
338
- * Settings page method
339
- */
340
- public static function mailerlite_settings()
341
- {
342
- global $api_key, $mailerlite_error;
343
-
344
- self::mailerlite_api_key_require();
345
-
346
- $api_key = self::$api_key;
347
-
348
- include(MAILERLITE_PLUGIN_DIR . 'include/templates/admin/settings.php');
349
- }
350
-
351
- /**
352
- * Checks and sets API key
353
- */
354
- private static function set_api_key()
355
- {
356
- global $mailerlite_error;
357
-
358
- if (function_exists('current_user_can')
359
- && !current_user_can(
360
- 'manage_options'
361
- )
362
- ) {
363
- die(__('You not allowed to do that', 'mailerlite'));
364
- }
365
-
366
- $key = preg_replace('/[^a-z0-9]/i', '', $_POST['mailerlite_key']);
367
-
368
- $ML_Lists = new ML_Lists($key);
369
- $ML_Lists->getAll();
370
- $response = $ML_Lists->getResponseInfo();
371
-
372
- if ($response['http_code'] == 401) {
373
- $mailerlite_error = __('Wrong MailerLite API key', 'mailerlite');
374
- } else {
375
- update_option('mailerlite_api_key', $key);
376
- update_option('mailerlite_enabled', true);
377
- self::$api_key = $key;
378
- }
379
- }
380
-
381
- /**
382
- * Create new signup form
383
- *
384
- * @param $data
385
- */
386
- private static function create_new_form($data)
387
- {
388
- global $wpdb;
389
-
390
- $form_type = in_array($data['form_type'], array(1, 2))
391
- ? $data['form_type'] : 1;
392
-
393
- if ($form_type == 1) {
394
- $form_name = __('New custom signup form', 'mailerlite');
395
- $form_data = array(
396
- 'title' => __('Newsletter signup', 'mailerlite'),
397
- 'description' => __(
398
- 'Just simple MailerLite form!', 'mailerlite'
399
- ),
400
- 'button' => __('Subscribe', 'mailerlite'),
401
- 'lists' => array(),
402
- 'fields' => array('email' => __('Email', 'mailerlite'))
403
- );
404
- } else {
405
- $form_name = __('New embedded signup form', 'mailerlite');
406
- $form_data = array(
407
- 'id' => 0,
408
- 'code' => 0
409
- );
410
- }
411
-
412
- $wpdb->insert(
413
- $wpdb->prefix . 'mailerlite_forms',
414
- array(
415
- 'name' => $form_name,
416
- 'time' => date('Y-m-d h:i:s'),
417
- 'type' => $form_type,
418
- 'data' => serialize($form_data)
419
- )
420
- );
421
- }
422
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/mailerlite-form.php DELETED
@@ -1,214 +0,0 @@
1
- <?php
2
-
3
- require_once MAILERLITE_PLUGIN_DIR . "libs/mailerlite_rest/ML_Subscribers.php";
4
-
5
- class MailerLite_Form
6
- {
7
- public $form_id;
8
- public $form_type;
9
- public $form_name;
10
- public $form_data;
11
-
12
- /**
13
- *
14
- * Sets form data for class
15
- */
16
- public static function init()
17
- {
18
- add_action(
19
- 'wp_enqueue_scripts',
20
- array('MailerLite_Form', 'add_jquery_validation_libraries')
21
- );
22
- }
23
-
24
- /**
25
- * Generates form by type
26
- *
27
- * @param $form_id
28
- * @param $form_type
29
- * @param $form_name
30
- * @param $form_data
31
- */
32
- public function generate_form($form_id, $form_type, $form_name, $form_data)
33
- {
34
-
35
- $this->form_id = $form_id;
36
- $this->form_type = $form_type;
37
- $this->form_name = $form_name;
38
- $this->form_data = $form_data;
39
-
40
- if ($this->form_type == 1) {
41
- $this->generate_custom_form();
42
- } else {
43
- $this->generate_embedded_form();
44
- }
45
- }
46
-
47
- /**
48
- * Saves form data
49
- */
50
- public static function save_form_data()
51
- {
52
- global $wpdb;
53
-
54
- $form_id = isset($_POST['form_id']) ? absint($_POST['form_id']) : 0;
55
- $form_fields = isset($_POST['form_fields']) ? $_POST['form_fields']
56
- : array();
57
-
58
- $api_key = get_option('mailerlite_api_key');
59
-
60
- if ($form_id > 0 && isset($form_fields['email'])) {
61
- $form = $wpdb->get_row(
62
- "SELECT * FROM " . $wpdb->prefix
63
- . "mailerlite_forms WHERE id = " . $form_id
64
- );
65
-
66
- if (isset($form->data)) {
67
-
68
- $form->data = unserialize($form->data);
69
-
70
- $ML_Subscribers = new ML_Subscribers($api_key);
71
-
72
- $form_email = $form_fields['email'];
73
- unset($form_fields['email']);
74
-
75
- $fields = array();
76
-
77
- foreach ($form_fields as $field => $value) {
78
- $fields[] = array('name' => $field, 'value' => $value);
79
- }
80
-
81
- $subscriber = array(
82
- 'email' => $form_email,
83
- 'fields' => $fields
84
- );
85
-
86
- foreach ($form->data['lists'] as $list) {
87
- $ML_Subscribers->setId($list)->add($subscriber, 1);
88
- }
89
-
90
- echo json_encode(
91
- array('status' => 'success', 'message' => __(
92
- 'Subscriber successfully saved', 'mailerlite'
93
- ))
94
- );
95
- } else {
96
- echo json_encode(
97
- array('status' => 'error',
98
- 'message' => __('Form not found', 'mailerlite'))
99
- );
100
- }
101
- } else {
102
- echo json_encode(
103
- array('status' => 'error',
104
- 'message' => __('Wrong data provided', 'mailerlite'))
105
- );
106
- }
107
-
108
- exit;
109
- }
110
-
111
- /**
112
- * Method to generate custom form
113
- */
114
- private function generate_custom_form()
115
- {
116
- global $form_id, $form_name, $form_data;
117
-
118
- $form_id = $this->form_id;
119
- $form_name = $this->form_name;
120
- $form_data = $this->form_data;
121
-
122
- include(MAILERLITE_PLUGIN_DIR
123
- . 'include/templates/forms/custom_form.php');
124
-
125
- }
126
-
127
- /**
128
- * Method to generate embedded form
129
- */
130
- private function generate_embedded_form()
131
- {
132
- global $form_data;
133
-
134
- $form_data = $this->form_data;
135
-
136
- include(MAILERLITE_PLUGIN_DIR
137
- . 'include/templates/forms/embedded_form.php');
138
- }
139
-
140
- /**
141
- * Register jQuery validation library
142
- */
143
- public static function add_jquery_validation_libraries()
144
- {
145
-
146
- if (!wp_script_is('jquery') && !wp_script_is('google-hosted-jquery')) {
147
- wp_register_script(
148
- 'google-hosted-jquery',
149
- '//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js',
150
- false
151
- );
152
- wp_enqueue_script('google-hosted-jquery');
153
- }
154
-
155
- if (!wp_script_is('jquery-validation-plugin')
156
- && wp_script_is(
157
- 'jquery'
158
- )
159
- ) {
160
- wp_register_script(
161
- 'jquery-validation-plugin',
162
- 'https://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.0/jquery.validate.min.js',
163
- array('jquery')
164
- );
165
- } else if (!wp_script_is('jquery-validation-plugin')
166
- && wp_script_is(
167
- 'google-hosted-jquery'
168
- )
169
- ) {
170
- wp_register_script(
171
- 'jquery-validation-plugin',
172
- 'https://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.0/jquery.validate.min.js',
173
- array('google-hosted-jquery')
174
- );
175
- }
176
-
177
- wp_enqueue_script('jquery-validation-plugin');
178
-
179
- }
180
- }
181
-
182
- add_action(
183
- 'wp_ajax_nopriv_mailerlite_subscribe_form',
184
- array('MailerLite_Form', 'save_form_data')
185
- );
186
- add_action(
187
- 'wp_ajax_mailerlite_subscribe_form',
188
- array('MailerLite_Form', 'save_form_data')
189
- );
190
-
191
-
192
- /**
193
- * Loads MailerLite form
194
- *
195
- * @param $form_id
196
- */
197
- function load_mailerlite_form($form_id)
198
- {
199
- global $wpdb;
200
-
201
- $form = $wpdb->get_row(
202
- "SELECT * FROM " . $wpdb->prefix . "mailerlite_forms WHERE id = "
203
- . $form_id
204
- );
205
-
206
- if (isset($form->data)) {
207
- $form_data = unserialize($form->data);
208
-
209
- $MailerLite_form = new Mailerlite_Form();
210
- $MailerLite_form->generate_form(
211
- $form_id, $form->type, $form->name, $form_data
212
- );
213
- }
214
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/mailerlite-shortcode.php DELETED
@@ -1,110 +0,0 @@
1
- <?php
2
-
3
- class MailerLite_Shortcode
4
- {
5
-
6
- /**
7
- * WordPress' init() hook
8
- */
9
- public static function init()
10
- {
11
-
12
- add_shortcode(
13
- 'mailerlite_form', array('MailerLite_Shortcode',
14
- 'mailerlite_generate_shortcode')
15
- );
16
-
17
- add_action(
18
- 'wp_ajax_nopriv_mailerlite_tinymce_window',
19
- array('MailerLite_Shortcode', 'mailerlite_tinymce_window')
20
- );
21
- add_action(
22
- 'wp_ajax_mailerlite_tinymce_window',
23
- array('MailerLite_Shortcode', 'mailerlite_tinymce_window')
24
- );
25
-
26
- if (get_user_option('rich_editing')) {
27
- add_filter(
28
- 'mce_buttons', array('MailerLite_Shortcode',
29
- 'mailerlite_register_button')
30
- );
31
- add_filter(
32
- 'mce_external_plugins', array('MailerLite_Shortcode',
33
- 'mailerlite_add_tinymce_plugin')
34
- );
35
- }
36
-
37
- }
38
-
39
- /**
40
- * Add tinymce button to toolbar
41
- *
42
- * @param $buttons
43
- * @return mixed
44
- */
45
- public static function mailerlite_register_button($buttons)
46
- {
47
-
48
- array_push($buttons, "mailerlite_shortcode");
49
-
50
- return $buttons;
51
-
52
- }
53
-
54
- /**
55
- * Register tinymce plugin
56
- *
57
- * @param $plugin_array
58
- * @return mixed
59
- */
60
- public static function mailerlite_add_tinymce_plugin($plugin_array)
61
- {
62
- $plugin_array['mailerlite_shortcode']
63
- = MAILERLITE_PLUGIN_URL . '/assets/js/mailerlite_shortcode.js';
64
-
65
- return $plugin_array;
66
- }
67
-
68
- /**
69
- * Returns selection of forms
70
- */
71
- public static function mailerlite_tinymce_window()
72
- {
73
- global $wpdb, $forms;
74
-
75
- if (!current_user_can('edit_posts')) {
76
- return;
77
- }
78
-
79
- $forms = $wpdb->get_results(
80
- "SELECT * FROM " . $wpdb->prefix . "mailerlite_forms"
81
- );
82
-
83
- include(MAILERLITE_PLUGIN_DIR
84
- . 'include/templates/common/tiny_mce.php');
85
-
86
- exit;
87
- }
88
-
89
- /**
90
- *
91
- * Converts shortcode into html
92
- *
93
- * @param $attributes
94
- *
95
- * @return string
96
- */
97
- public static function mailerlite_generate_shortcode($attributes)
98
- {
99
- $form_attributes = shortcode_atts(
100
- array(
101
- 'form_id' => '1'
102
- ), $attributes
103
- );
104
-
105
- ob_start();
106
- load_mailerlite_form($form_attributes['form_id']);
107
-
108
- return ob_get_clean();
109
- }
110
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/mailerlite-widget.php DELETED
@@ -1,126 +0,0 @@
1
- <?php
2
-
3
- require_once MAILERLITE_PLUGIN_DIR . "include/mailerlite-form.php";
4
-
5
- class MailerLite_Widget extends WP_Widget
6
- {
7
-
8
- /**
9
- * Sets up the widgets name etc
10
- */
11
- public function __construct()
12
- {
13
- parent::__construct(
14
- 'mailerlite_widget', // Base ID
15
- __('Mailerlite sign up form', 'mailerlite'), // Name
16
- array('description' => __(
17
- 'MailerLite sign up form Widget', 'mailerlite'
18
- ),) // Args
19
- );
20
- }
21
-
22
- /**
23
- * Front-end display of widget.
24
- *
25
- * @see WP_Widget::widget()
26
- *
27
- * @param array $args Widget arguments.
28
- * @param array $instance Saved values from database.
29
- */
30
- public function widget($args, $instance)
31
- {
32
- global $wpdb;
33
-
34
- $form_id = isset($instance['mailerlite_form_id'])
35
- && intval(
36
- $instance['mailerlite_form_id']
37
- ) ? $instance['mailerlite_form_id'] : 0;
38
- $form = $wpdb->get_row(
39
- "SELECT * FROM " . $wpdb->prefix . "mailerlite_forms WHERE id = "
40
- . $form_id
41
- );
42
-
43
- if (isset($form->data)) {
44
- $form_data = unserialize($form->data);
45
-
46
- echo $args['before_widget'];
47
-
48
- $MailerLite_form = new Mailerlite_Form();
49
- $MailerLite_form->generate_form(
50
- $form_id, $form->type, $form->name, $form_data
51
- );
52
-
53
- echo $args['after_widget'];
54
- }
55
- }
56
-
57
- /**
58
- * Back-end widget form.
59
- *
60
- * @see WP_Widget::form()
61
- *
62
- * @param array $instance Previously saved values from database.
63
- *
64
- * @return void
65
- */
66
- public function form($instance)
67
- {
68
- global $wpdb;
69
-
70
- $forms_data = $wpdb->get_results(
71
- "SELECT * FROM " . $wpdb->prefix
72
- . "mailerlite_forms ORDER BY time DESC"
73
- );
74
-
75
- if (isset($instance['mailerlite_form_id'])) {
76
- $id = $instance['mailerlite_form_id'];
77
- } else {
78
- $id = 0;
79
- }
80
- ?>
81
- <p>
82
- <label for="<?php echo $this->get_field_id(
83
- 'mailerlite_form_id'
84
- ); ?>"><?php echo __('Select form:', 'mailerlite'); ?></label>
85
- <select class="widefat" id="<?php echo $this->get_field_id(
86
- 'mailerlite_form_id'
87
- ); ?>" name="<?php echo $this->get_field_name(
88
- 'mailerlite_form_id'
89
- ); ?>">
90
- <?php foreach ($forms_data as $form): ?>
91
- <option value="<?php echo $form->id; ?>"<?php echo
92
- $form->id == $id ? ' selected="selected"'
93
- : ''; ?>><?php echo $form->name; ?></option>
94
- <?php endforeach; ?>
95
- </select>
96
- </p>
97
- <?php
98
- }
99
-
100
- /**
101
- * Sanitize widget form values as they are saved.
102
- *
103
- * @see WP_Widget::update()
104
- *
105
- * @param array $new_instance Values just sent to be saved.
106
- * @param array $old_instance Previously saved values from database.
107
- *
108
- * @return array Updated safe values to be saved.
109
- */
110
- public function update($new_instance, $old_instance)
111
- {
112
- $instance = array();
113
- $instance['mailerlite_form_id']
114
- = (!empty($new_instance['mailerlite_form_id']))
115
- ? strip_tags($new_instance['mailerlite_form_id']) : '';
116
-
117
- return $instance;
118
- }
119
- }
120
-
121
- function register_mailerlite_widget()
122
- {
123
- register_widget('Mailerlite_Widget');
124
- }
125
-
126
- add_action('widgets_init', 'register_mailerlite_widget');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/settings/languages.php DELETED
@@ -1,35 +0,0 @@
1
- <?php
2
-
3
- $languages = array(
4
- '' => '-Default (English)-',
5
- 'ar' => 'Arabic',
6
- 'bg' => 'Bulgarian',
7
- 'ca' => 'Catalan',
8
- 'cs' => 'Czech',
9
- 'da' => 'Danish',
10
- 'de' => 'German',
11
- 'el' => 'Greek',
12
- 'es' => 'Spanish',
13
- 'eu' => 'Basque',
14
- 'fa' => 'Farsi',
15
- 'fi' => 'Finnish',
16
- 'fr' => 'French',
17
- 'he' => 'Hebrew',
18
- 'hu' => 'Hungarian',
19
- 'it' => 'Italian',
20
- 'ja' => 'Japanese',
21
- 'kk' => 'Kazakh',
22
- 'lt' => 'Lietuvių',
23
- 'lv' => 'Latvian',
24
- 'nl' => 'Dutch',
25
- 'no' => 'Norwegian',
26
- 'pl' => 'Polish',
27
- 'ro' => 'Romanian',
28
- 'ru' => 'Russian',
29
- 'si' => 'Sinhala',
30
- 'sk' => 'Slovak',
31
- 'sl' => 'Slovenian',
32
- 'th' => 'Thai',
33
- 'vi' => 'Vietnamese',
34
-
35
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/admin/api_key.php DELETED
@@ -1,39 +0,0 @@
1
- <?php defined('ABSPATH') or die("No direct access allowed!"); ?>
2
- <?php include("header.php"); ?>
3
- <div class="wrap columns-2 dd-wrap">
4
- <div id="poststuff" class="metabox-holder has-right-sidebar">
5
- <?php include("sidebar.php"); ?>
6
- <div id="post-body">
7
- <div id="post-body-content">
8
- <p><?php echo __('Hi there! You will be able to create awesome signup forms, but first we need your MailerLite API key!', 'mailerlite'); ?></p>
9
- <?php if ($mailerlite_error): ?>
10
- <div class="error">
11
- <p><?php echo $mailerlite_error; ?></p>
12
- </div>
13
-
14
- <?php endif; ?>
15
- <div class="mailerlite-activate">
16
- <div class="description-block">
17
- <p class="title"><?php echo __('Enter an API key', 'mailerlite'); ?></p>
18
-
19
- <p><?php echo __("Don't know where to find it?", 'mailerlite'); ?> <a
20
- href="https://kb.mailerlite.com/does-mailerlite-offer-an-api/"
21
- target="_blank"><?php echo __('Check it here!', 'mailerlite'); ?></a></p>
22
- </div>
23
- <div class="input-block">
24
- <form action="" method="post" id="enter-mailerlite-key">
25
- <input type="text" name="mailerlite_key" class="regular-text" placeholder="API-key"/>
26
- <input type="submit" name="submit" id="submit" class="button button-primary"
27
- value="<?php echo __('Save this key', 'mailerlite'); ?>">
28
- <input type="hidden" name="action" value="enter-mailerlite-key">
29
- </form>
30
- </div>
31
- <div class="clear"></div>
32
- </div>
33
- <p><strong><?php echo __("Don't have an account?", 'mailerlite'); ?></strong></p>
34
- <a href="https://www.mailerlite.com/signup" target="_blank"
35
- class="button button-secondary"><?php echo __('Register!', 'mailerlite'); ?></a>
36
- </div>
37
- </div>
38
- </div>
39
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/admin/create.php DELETED
@@ -1,46 +0,0 @@
1
- <?php defined('ABSPATH') or die("No direct access allowed!"); ?>
2
- <?php include_once('header.php'); ?>
3
-
4
- <div class="wrap columns-2 dd-wrap">
5
- <h2><?php echo __('Create new signup form', 'mailerlite'); ?></h2>
6
-
7
- <div id="poststuff" class="metabox-holder has-right-sidebar">
8
- <?php include("sidebar.php"); ?>
9
- <div id="post-body">
10
- <div id="post-body-content">
11
- <div class="stuffbox">
12
- <h3><span><?php echo __('Form type', 'mailerlite'); ?></span></h3>
13
-
14
- <form action="<?php echo admin_url('admin.php?page=mailerlite_main&view=create&noheader=true'); ?>"
15
- method="post">
16
- <div class="inside">
17
- <p>
18
- <label for="form_type_custom" class="selectit">
19
- <input id="form_type_custom" type="radio" name="form_type" value="1"
20
- checked="checked">
21
- <?php echo __('Custom signup form', 'mailerlite'); ?>
22
- </label>
23
- </p>
24
-
25
- <p>
26
- <label for="form_type_webform" class="selectit">
27
- <input id="form_type_webform" type="radio" name="form_type"
28
- value="2"<?php echo $webforms->RecordsOnPage == 0 ? ' disabled="disabled"' : ''; ?>>
29
- <?php echo __('Webforms created using MailerLite', 'mailerlite'); ?>
30
- </label>
31
- </p>
32
-
33
- <div class="submit">
34
- <input class="button-primary mailerlite-pull-right"
35
- value="<?php echo __('Create form', 'mailerlite'); ?>" name="create_signup_form"
36
- type="submit">
37
- <a class="button-secondary"
38
- href="<?php echo admin_url('admin.php?page=mailerlite_main'); ?>"><?php echo __('Back', 'mailerlite'); ?></a>
39
- </div>
40
- </div>
41
- </form>
42
- </div>
43
- </div>
44
- </div>
45
- </div>
46
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/admin/edit_custom.php DELETED
@@ -1,178 +0,0 @@
1
- <?php defined('ABSPATH') or die("No direct access allowed!"); ?>
2
- <?php include_once('header.php'); ?>
3
-
4
- <div class="wrap columns-2 dd-wrap">
5
- <h2><?php _e('Edit custom signup form', 'mailerlite'); ?></h2>
6
- <?php if (isset($result) && $result == 'success'): ?>
7
- <div id="message" class="updated below-h2"><p><?php _e('Form saved.', 'mailerlite'); ?> <a
8
- href="<?php echo admin_url('admin.php?page=mailerlite_main'); ?>"><?php _e('Back to forms list', 'mailerlite'); ?></a>
9
- </p></div>
10
- <?php endif; ?>
11
- <div id="poststuff" class="metabox-holder has-right-sidebar">
12
- <?php include("sidebar.php"); ?>
13
- <div id="post-body">
14
- <div id="post-body-content">
15
- <form
16
- action="<?php echo admin_url('admin.php?page=mailerlite_main&view=edit&id=' . (isset($_GET['id']) ? $_GET['id'] : 0)); ?>"
17
- method="post">
18
- <div class="postbox">
19
- <h3><span><?php _e('Main information', 'mailerlite'); ?></span></h3>
20
-
21
- <div class="inside">
22
- <table class="form-table">
23
- <tbody>
24
- <tr>
25
- <th><label for="form_name"><?php _e('Form name', 'mailerlite'); ?></label></th>
26
- <td><input type="text" name="form_name" size="30" maxlength="255"
27
- value="<?php echo $form->name; ?>" id="form_name"> <span
28
- class="description"><strong><?php echo __('Tip:', 'mailerlite'); ?></strong> <?php echo __("This title won't be displayed in public!", 'mailerlite'); ?></span>
29
- </td>
30
- </tr>
31
- </tbody>
32
- </table>
33
- </div>
34
- </div>
35
- <div class="postbox">
36
- <h3><span><?php _e('Form details', 'mailerlite'); ?></span></h3>
37
-
38
- <div class="inside">
39
- <table class="form-table">
40
- <tbody>
41
- <tr>
42
- <th><label for="form_title"><?php _e('Form title', 'mailerlite'); ?></label>
43
- </th>
44
- <td><input type="text" name="form_title" size="30" maxlength="255"
45
- value="<?php echo $form->data['title']; ?>" id="form_title"> <span
46
- class="description"><strong><?php echo __('Example:', 'mailerlite'); ?></strong> <?php echo __("Newsletter signup!", 'mailerlite'); ?></span>
47
- </td>
48
- </tr>
49
- <tr>
50
- <th><label
51
- for="form_description"><?php _e('Form description', 'mailerlite'); ?></label>
52
- </th>
53
- <td>
54
- <?php
55
- $settings = array(
56
- 'media_buttons' => false,
57
- 'textarea_rows' => 4,
58
- 'tinymce' => array(
59
- 'toolbar1' => 'bold,italic,underline,bullist,numlist,link,unlink,forecolor,alignleft,aligncenter,alignright,undo,redo',
60
- 'toolbar2' => ''
61
- )
62
- );
63
-
64
- wp_editor(stripslashes($form->data['description']), 'form_description', $settings);
65
- ?>
66
- </td>
67
- </tr>
68
- <tr>
69
- <th><label for="button_name"><?php _e('Button title', 'mailerlite'); ?></label>
70
- </th>
71
- <td><input type="text" name="button_name" size="30" maxlength="255"
72
- value="<?php echo $form->data['button']; ?>" id="button_name"> <span
73
- class="description"><strong><?php _e('Example:'); ?></strong> <?php _e('Subscribe'); ?></span>
74
- </td>
75
- </tr>
76
-
77
- <tr>
78
- <th><label for="language"><?php _e('Validation messages', 'mailerlite'); ?></label>
79
- </th>
80
- <td>
81
- <select id="language" name="language">
82
- <?php foreach ($languages as $langKey => $langName): ?>
83
- <option data-code="<?php echo $langKey; ?>"
84
- value="<?php echo $langKey; ?>"<?php echo $langKey == $form->data['language'] ? ' selected="selected"' : ''; ?>><?php echo $langName; ?></option>
85
- <?php endforeach; ?>
86
- </select>
87
-
88
- </td>
89
- </tr>
90
- </tbody>
91
- </table>
92
- </div>
93
- </div>
94
- <div class="postbox">
95
- <h3><span><?php _e('Form fields and lists', 'mailerlite'); ?></span></h3>
96
-
97
- <div class="inside">
98
- <table class="form-table">
99
- <tr>
100
- <td style="vertical-align: top;">
101
- <h2><?php _e('Fields', 'mailerlite'); ?></h2>
102
- <table class="form-table">
103
- <tbody>
104
- <?php foreach ($fields->Fields as $field): ?>
105
- <tr>
106
- <th style="width:1%;"><input type="checkbox"
107
- class="input_control"
108
- name="form_selected_field[]"
109
- value="<?php echo $field->field; ?>"<?php echo $field->field == 'email' || array_key_exists($field->field, $form->data['fields']) ? ' checked="checked"' : '';
110
- echo $field->field == 'email' ? ' disabled="disabled"' : ''; ?>>
111
- </th>
112
- <td><input type="text" id="field_<?php echo $field->field; ?>"
113
- name="form_field[<?php echo $field->field; ?>]"
114
- size="30" maxlength="255"
115
- value="<?php echo array_key_exists($field->field, $form->data['fields']) ? $form->data['fields'][$field->field] : $field->title; ?>"<?php echo $field->field == 'email' || array_key_exists($field->field, $form->data['fields']) ? '' : ' disabled="disabled"'; ?>>
116
- </td>
117
- </tr>
118
- <?php endforeach; ?>
119
- </tbody>
120
- </table>
121
- </td>
122
- <td style="vertical-align: top;">
123
- <h2><?php _e('Lists', 'mailerlite'); ?></h2>
124
- <table class="form-table">
125
- <tbody>
126
- <?php foreach ($lists->Results as $list): ?>
127
- <tr>
128
- <th style="width:1%;"><input id="list_<?php echo $list->id; ?>"
129
- type="checkbox"
130
- class="input_control"
131
- name="form_lists[]"
132
- value="<?php echo $list->id; ?>"<?php echo in_array($list->id, $form->data['lists']) ? ' checked="checked"' : ''; ?>>
133
- </th>
134
- <td><label
135
- for="list_<?php echo $list->id; ?>"><?php echo $list->name; ?></label>
136
- </td>
137
- </tr>
138
- <?php endforeach; ?>
139
- </tbody>
140
- </table>
141
- </td>
142
- </tr>
143
- </table>
144
- <div class="submit">
145
- <input class="button-primary mailerlite-pull-right"
146
- value="<?php _e('Save form', 'mailerlite'); ?>"
147
- name="save_custom_signup_form" type="submit">
148
- <a class="button-secondary"
149
- href="<?php echo admin_url('admin.php?page=mailerlite_main'); ?>"><?php echo __('Back', 'mailerlite'); ?></a>
150
- </div>
151
- </div>
152
- </div>
153
- </form>
154
- </div>
155
- </div>
156
- </div>
157
- </div>
158
-
159
- <script type="text/javascript">
160
- jQuery(document).ready(function ($) {
161
- $(".wp-editor-tabs").remove();
162
-
163
- var checkbox_class = $('.input_control');
164
-
165
- checkbox_class.click(function () {
166
- var input = $('input#field_' + $(this).attr('value'));
167
-
168
- if ($(this).prop('checked') == false) {
169
- input.attr('disabled', true);
170
- }
171
- else {
172
- input.attr('disabled', false);
173
- }
174
- });
175
- });
176
- </script>
177
-
178
- <?php /**/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/admin/edit_embedded.php DELETED
@@ -1,82 +0,0 @@
1
- <?php defined('ABSPATH') or die("No direct access allowed!"); ?>
2
- <?php include_once('header.php'); ?>
3
-
4
- <div class="wrap columns-2 dd-wrap">
5
- <h2><?php echo __('Edit webform', 'mailerlite'); ?></h2>
6
- <?php if (isset($result) && $result == 'success'): ?>
7
- <div id="message" class="updated below-h2"><p><?php _e('Form saved.', 'mailerlite'); ?> <a
8
- href="<?php echo admin_url('admin.php?page=mailerlite_main'); ?>"><?php _e('Back to forms list', 'mailerlite'); ?></a>
9
- </p></div>
10
- <?php endif; ?>
11
- <div id="poststuff" class="metabox-holder has-right-sidebar">
12
- <?php include("sidebar.php"); ?>
13
- <div id="post-body">
14
- <div id="post-body-content">
15
- <form
16
- action="<?php echo admin_url('admin.php?page=mailerlite_main&view=edit&id=' . (isset($_GET['id']) ? $_GET['id'] : 0)); ?>"
17
- method="post">
18
- <div class="postbox">
19
- <h3><span><?php echo __('Webform details', 'mailerlite'); ?></span></h3>
20
-
21
- <div class="inside">
22
- <table class="form-table">
23
- <tbody>
24
- <tr>
25
- <th><label for="form_name"><?php echo __('Form title', 'mailerlite'); ?></label>
26
- </th>
27
- <td><input type="text" name="form_name" size="30" maxlength="255"
28
- value="<?php echo $form->name; ?>" id="form_name"> <span
29
- class="description"><strong><?php echo __('Tip:', 'mailerlite'); ?></strong> <?php echo __("This title won't be displayed in public!", 'mailerlite'); ?></span>
30
- </td>
31
- </tr>
32
- <tr>
33
- <th><label for="form_webform_id"><?php _e('Webform', 'mailerlite'); ?></label></th>
34
- <td>
35
- <select id="form_webform_id" name="form_webform_id">
36
- <?php foreach ($webforms->Results as $webform): ?>
37
- <option data-code="<?php echo $webform->code; ?>"
38
- value="<?php echo $webform->id; ?>"<?php echo $webform->id == $form->data['id'] ? ' selected="selected"' : ''; ?>><?php echo $webform->name; ?></option>
39
- <?php endforeach; ?>
40
- </select>
41
- </td>
42
- </tr>
43
- <tr>
44
- <td colspan="2">
45
- <div id="webform_example">​</div>
46
- ​​​​​​​
47
- </td>
48
- </tr>
49
- </tbody>
50
- </table>
51
- <div class="submit">
52
- <input class="button-primary mailerlite-pull-right"
53
- value="<?php _e('Save form', 'mailerlite'); ?>" name="save_embedded_signup_form"
54
- type="submit">
55
- <a class="button-secondary"
56
- href="<?php echo admin_url('admin.php?page=mailerlite_main'); ?>"><?php echo __('Back', 'mailerlite'); ?></a>
57
- </div>
58
- </div>
59
- </div>
60
- </form>
61
- </div>
62
- </div>
63
- </div>
64
- </div>
65
-
66
- <script type="text/javascript">
67
- jQuery(window).load(function () {
68
- var select = jQuery("#form_webform_id");
69
- loadIframe(select.children("option:selected").attr('data-code'));
70
- select.change(function () {
71
- loadIframe(jQuery("option:selected", this).attr('data-code'));
72
- });
73
- });
74
-
75
- function loadIframe(code) {
76
- jQuery('#webform_example').html(jQuery('<iframe></iframe>', {
77
- id: 'webform_example_iframe',
78
- src: "https://app.mailerlite.com/webforms/submit/" + code + "/",
79
- style: 'width:100%;height:350px;'
80
- }));
81
- }
82
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/admin/header.php DELETED
@@ -1,2 +0,0 @@
1
- <?php defined('ABSPATH') or die("No direct access allowed!"); ?>
2
- <div class="mailerlite-header"></div>
 
 
trunk/include/templates/admin/main.php DELETED
@@ -1,58 +0,0 @@
1
- <?php defined('ABSPATH') or die("No direct access allowed!"); ?>
2
- <?php include_once('header.php'); ?>
3
-
4
- <div class="wrap columns-2 dd-wrap">
5
- <h2><?php echo __('Signup forms', 'mailerlite'); ?> <a
6
- href="<?php echo admin_url('admin.php?page=mailerlite_main&view=create'); ?>"
7
- class="add-new-h2"><?php _e('Add New', 'mailerlite'); ?></a></h2>
8
-
9
- <div id="poststuff" class="metabox-holder has-right-sidebar">
10
- <?php include("sidebar.php"); ?>
11
- <div id="post-body">
12
- <div id="post-body-content">
13
- <?php if (!empty($forms_data)): ?>
14
- <table class="wp-list-table widefat fixed forms">
15
- <thead>
16
- <tr>
17
- <th class="column-posts num"><?php _e('ID', 'mailerlite'); ?></th>
18
- <th><?php _e('Name', 'mailerlite'); ?></th>
19
- <th class="column-author"><?php _e('Type', 'mailerlite'); ?></th>
20
- <th class="column-date"><?php _e('Date', 'mailerlite'); ?></th>
21
- </tr>
22
- </thead>
23
- <tbody id="the-list">
24
- <?php $i = 1; ?>
25
- <?php foreach ($forms_data as $form): ?>
26
- <?php $i++; ?>
27
- <tr<?php echo $i % 2 == 0 ? ' class="alternate"' : ''; ?>>
28
- <td class="column-posts num"><?php echo $form->id; ?></td>
29
- <td>
30
- <strong><a class="row-title"
31
- href="<?php echo admin_url('admin.php?page=mailerlite_main&view=edit&id=' . $form->id); ?>"><?php echo $form->name; ?></a></strong>
32
-
33
- <div class="row-actions">
34
- <span class="edit"><a
35
- href="<?php echo admin_url('admin.php?page=mailerlite_main&view=edit&id=' . $form->id); ?>"><?php _e('Edit', 'mailerlite'); ?></a> | </span>
36
- <span class="trash"><a
37
- onclick="return confirm('<?php _e("Are you sure you want to delete this form?", 'mailerlite'); ?>')"
38
- href="<?php echo admin_url('admin.php?page=mailerlite_main&view=delete&noheader=true&id=' . $form->id); ?>"><?php _e('Delete', 'mailerlite'); ?></a></span>
39
- </div>
40
- </td>
41
- <td><?php echo $form->type == 1 ? __('Custom form', 'mailerlite') : __('Embedded form', 'mailerlite'); ?></td>
42
- <td><?php echo $form->time; ?></td>
43
- </tr>
44
- <?php endforeach; ?>
45
- </tbody>
46
- </table>
47
- <?php else: ?>
48
- <div class="postbox mailerlite-empty-list">
49
- <div class="inside mailerlite-text-center">
50
- <a href="<?php echo admin_url('admin.php?page=mailerlite_main&view=create'); ?>"
51
- class="button-large button-primary"><?php _e('Add signup form', 'mailerlite'); ?></a>
52
- </div>
53
- </div>
54
- <?php endif; ?>
55
- </div>
56
- </div>
57
- </div>
58
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/admin/settings.php DELETED
@@ -1,43 +0,0 @@
1
- <?php defined('ABSPATH') or die("No direct access allowed!"); ?>
2
- <?php include_once('header.php'); ?>
3
-
4
- <div class="wrap columns-2 dd-wrap">
5
- <h2><?php _e('Plugin settings', 'mailerlite'); ?></h2>
6
-
7
- <div id="poststuff" class="metabox-holder has-right-sidebar">
8
- <?php include("sidebar.php"); ?>
9
- <div id="post-body">
10
- <div id="post-body-content">
11
- <p><?php _e('Here you able to change your API key!', 'mailerlite'); ?></p>
12
- <?php if ($mailerlite_error): ?>
13
- <div class="error">
14
- <p><?php echo $mailerlite_error; ?></p>
15
- </div>
16
-
17
- <?php endif; ?>
18
- <div class="mailerlite-activate">
19
- <div class="description-block">
20
- <p class="title"><?php _e('Enter an API key', 'mailerlite'); ?></p>
21
-
22
- <p><?php _e("Don't know where to find it?", 'mailerlite'); ?> <a
23
- href="https://kb.mailerlite.com/does-mailerlite-offer-an-api/"
24
- target="_blank"><?php _e("Check it here!", 'mailerlite'); ?></a></p>
25
- </div>
26
- <div class="input-block">
27
- <form action="" method="post" id="enter-mailerlite-key">
28
- <input type="text" name="mailerlite_key" class="regular-text" placeholder="API-key"
29
- value="<?php echo $api_key; ?>"/>
30
- <input type="submit" name="submit" id="submit" class="button button-primary"
31
- value="<?php _e('Save this key', 'mailerlite'); ?>">
32
- <input type="hidden" name="action" value="enter-mailerlite-key">
33
- </form>
34
- </div>
35
- <div class="clear"></div>
36
- </div>
37
- <p><strong><?php _e("Don't have an account?", 'mailerlite'); ?></strong></p>
38
- <a href="https://www.mailerlite.com/signup" target="_blank"
39
- class="button button-secondary"><?php _e('Register!', 'mailerlite'); ?></a>
40
- </div>
41
- </div>
42
- </div>
43
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/admin/sidebar.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="side-info-column" class="inner-sidebar">
2
-
3
- <div class="postbox">
4
- <h3><?php echo _e('Need help?', 'mailerlite'); ?></h3>
5
-
6
- <div class="inside">
7
- <p><?php echo _e('Have any questions? Stuck on something or found bug? Feel free to contact us!', 'mailerlite'); ?></p>
8
-
9
- <p><a href="mailto:info@mailerlite.com">info@mailerlite.com</a></p>
10
- </div>
11
- </div>
12
-
13
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/common/tiny_mce.php DELETED
@@ -1,40 +0,0 @@
1
- <html>
2
- <head>
3
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
4
- <script type="text/javascript"
5
- src="<?php echo site_url() . '/wp-includes/js/tinymce/tiny_mce_popup.js'; ?>"></script>
6
- </head>
7
-
8
- <body>
9
-
10
- <h2>Add form</h2>
11
-
12
- <form id="mailerlite_tinymce_form" action="" method="post">
13
-
14
- <p><?php _e('Select form from list below, and hit "Add Shortcode" to add the shortcode to your post!', 'mailerlite'); ?></p>
15
-
16
- <p>
17
- <label for="mailerlite_form_id">Form</label><br/>
18
- <select class="widefat" id="mailerlite_form_id" name="mailerlite_form_id">
19
- <?php foreach ($forms as $form): ?>
20
- <option value="<?php echo $form->id; ?>"><?php echo $form->name; ?></option>
21
- <?php endforeach; ?>
22
- </select>
23
- </p>
24
-
25
- <input type="button" name="<?php _e('Add Shortcode', 'mailerlite'); ?>" value="Add Shortcode">
26
-
27
- </form>
28
- <script type="text/javascript">
29
- jQuery(document).ready(function () {
30
- jQuery('form#mailerlite_tinymce_form input:button').click(function () {
31
- var form_id = jQuery('form#mailerlite_tinymce_form #mailerlite_form_id').val();
32
- var shortcode = '[mailerlite_form form_id=' + form_id + ']';
33
- tinyMCEPopup.execCommand("mceInsertContent", false, shortcode);
34
- tinyMCEPopup.close();
35
- return false;
36
- });
37
- });
38
- </script>
39
- </body>
40
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/forms/custom_form.php DELETED
@@ -1,67 +0,0 @@
1
- <?php $unique_id = uniqid(); ?>
2
-
3
- <div id="mailerlite-form_<?php echo $form_id; ?>" data-temp-id="<?php echo $unique_id; ?>">
4
- <div class="mailerlite-form">
5
- <form action="" method="post">
6
- <div class="mailerlite-form-title"><h3><?php echo $form_data['title']; ?></h3></div>
7
- <div class="mailerlite-form-description"><?php echo stripslashes($form_data['description']); ?></div>
8
- <div class="mailerlite-form-inputs">
9
- <?php foreach ($form_data['fields'] as $field => $title): ?>
10
- <?php if ($field == 'email') {
11
- $input_type = 'email';
12
- } else {
13
- $input_type = 'text';
14
- } ?>
15
- <div class="mailerlite-form-field">
16
- <label for="mailerlite-<?php echo $form_id; ?>-field-<?php echo $field; ?>"><?php echo $title; ?></label>
17
- <input id="mailerlite-<?php echo $form_id; ?>-field-<?php echo $field; ?>" type="<?php echo $input_type; ?>" required="required" name="form_fields[<?php echo $field; ?>]"/>
18
- </div>
19
- <?php endforeach; ?>
20
- <div class="mailerlite-form-loader"><?php _e('Please wait...', 'mailerlite'); ?></div>
21
- <div class="mailerlite-subscribe-button-container">
22
- <input class="mailerlite-subscribe-submit" type="submit"
23
- value="<?php echo $form_data['button']; ?>"/>
24
- </div>
25
- <input type="hidden" name="form_id" value="<?php echo $form_id; ?>"/>
26
- <input type="hidden" name="action" value="mailerlite_subscribe_form"/>
27
- </div>
28
- <div class="mailerlite-form-response">
29
- <h4><?php _e('Thank you for sign up!', 'mailerlite'); ?></h4>
30
- </div>
31
- </form>
32
- </div>
33
- </div>
34
-
35
- <? if (!empty($form_data['language'])):?>
36
- <script type='text/javascript' src='<?=MAILERLITE_PLUGIN_URL?>/assets/js/localization/jquery.validate/messages_<?=strtolower($form_data['language'])?>.js'></script>
37
- <? endif; ?>
38
-
39
- <script type="text/javascript">
40
- (function() {
41
- var jQuery = jQueryWP || jQuery;
42
-
43
- jQuery(document).ready(function () {
44
- var form_container = jQuery("#mailerlite-form_<?php echo $form_id; ?>[data-temp-id=<?php echo $unique_id; ?>] form");
45
- form_container.submit(function (e) {
46
- e.preventDefault();
47
- }).validate({
48
- submitHandler: function (form) {
49
-
50
- jQuery(this.submitButton).prop('disabled', true);
51
-
52
- form_container.find('.mailerlite-subscribe-button-container').fadeOut(function () {
53
- form_container.find('.mailerlite-form-loader').fadeIn()
54
- });
55
-
56
- var data = jQuery(form).serialize();
57
-
58
- jQuery.post('<?php echo admin_url( 'admin-ajax.php' ); ?>', data, function (response) {
59
- form_container.find('.mailerlite-form-inputs').fadeOut(function () {
60
- form_container.find('.mailerlite-form-response').fadeIn()
61
- });
62
- });
63
- }
64
- });
65
- });
66
- })();
67
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/include/templates/forms/embedded_form.php DELETED
@@ -1 +0,0 @@
1
- <script type="text/javascript" src="//app.mailerlite.com/data/webforms/<?php echo $form_data['id']; ?>/<?php echo $form_data['code']; ?>.js?v=<?php echo time(); ?>"></script>
 
trunk/languages/mailerlite-fi_FI.mo DELETED
Binary file
trunk/languages/mailerlite-fi_FI.po DELETED
@@ -1,401 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "MIME-Version: 1.0\n"
4
- "Content-Type: text/plain; charset=UTF-8\n"
5
- "Content-Transfer-Encoding: 8bit\n"
6
- "X-Generator: Poedit 1.6.7\n"
7
- "Project-Id-Version: MailerLite wordpress plugin\n"
8
- "Language: fi\n"
9
- "POT-Creation-Date: \n"
10
- "PO-Revision-Date: \n"
11
- "Last-Translator: \n"
12
- "Language-Team: \n"
13
-
14
- #. mailerlite
15
- #: include/mailerlite-admin.php:52
16
- msgid "Forms"
17
- msgstr "Lomakkeet"
18
-
19
- #. mailerlite
20
- #: include/mailerlite-admin.php:52 include/templates/admin/main.php:5
21
- msgid "Signup forms"
22
- msgstr "Tilauslomake"
23
-
24
- #. mailerlite
25
- #: include/mailerlite-admin.php:53
26
- msgid "Settings"
27
- msgstr "Asetukset"
28
-
29
- #. mailerlite
30
- #: include/mailerlite-admin.php:133
31
- msgid "Subscribe for newsletter!"
32
- msgstr "Tilaa uutiskirje"
33
-
34
- #. mailerlite
35
- #: include/mailerlite-admin.php:134 include/mailerlite-admin.php:301
36
- msgid "Newsletter signup"
37
- msgstr "Uutiskirjeen tilaus"
38
-
39
- #. mailerlite
40
- #: include/mailerlite-admin.php:135 include/mailerlite-admin.php:302
41
- msgid "Just simple MailerLite form!"
42
- msgstr "Helppo MailerLite lomake!"
43
-
44
- #. mailerlite
45
- #. default
46
- #: include/mailerlite-admin.php:136 include/mailerlite-admin.php:303
47
- #: include/templates/admin/edit_custom.php:55
48
- msgid "Subscribe"
49
- msgstr "Tilaa"
50
-
51
- #. mailerlite
52
- #: include/mailerlite-admin.php:142 include/mailerlite-admin.php:305
53
- msgid "Email"
54
- msgstr "Sähköposti"
55
-
56
- #. mailerlite
57
- #: include/mailerlite-admin.php:198
58
- msgid "Embedded webform"
59
- msgstr "Upotettu nettilomake"
60
-
61
- #. mailerlite
62
- #: include/mailerlite-admin.php:267
63
- msgid "You not allowed to do that"
64
- msgstr "Sinulla ei ole lupaa tehdä noin"
65
-
66
- #. mailerlite
67
- #: include/mailerlite-admin.php:277
68
- msgid "Wrong MailerLite API key"
69
- msgstr "Väärä MailerLIte API-avain"
70
-
71
- #. mailerlite
72
- #: include/mailerlite-admin.php:299
73
- msgid "New custom signup form"
74
- msgstr "Uusi rekisteröintilomake"
75
-
76
- #. mailerlite
77
- #: include/mailerlite-admin.php:310
78
- msgid "New embedded signup form"
79
- msgstr "Uusi upotettu rekisteröintilomake"
80
-
81
- #. mailerlite
82
- #: include/mailerlite-form.php:75
83
- msgid "Subscriber successfully saved"
84
- msgstr "Tilaaja tallennettu onnistuneesti"
85
-
86
- #. mailerlite
87
- #: include/mailerlite-form.php:79
88
- msgid "Form not found"
89
- msgstr "Lomaketta ei löydy"
90
-
91
- #. mailerlite
92
- #: include/mailerlite-form.php:84
93
- msgid "Wrong data provided"
94
- msgstr "Väärä tieto syötetty"
95
-
96
- #. mailerlite
97
- #: include/mailerlite-widget.php:13
98
- msgid "Mailerlite sign up form"
99
- msgstr "MailerLiten rekisteröintilomake"
100
-
101
- #. mailerlite
102
- #: include/mailerlite-widget.php:14
103
- msgid "MailerLite sign up form Widget"
104
- msgstr "MailerLiten rekisteröintilomake Widgetiltä"
105
-
106
- #. mailerlite
107
- #: include/mailerlite-widget.php:66
108
- msgid "Select form:"
109
- msgstr "Valitse lomake"
110
-
111
- #. mailerlite
112
- #: include/templates/admin/api_key.php:8
113
- msgid ""
114
- "Hi there! You will be able to create awesome signup forms, but first we need "
115
- "your MailerLite API key!"
116
- msgstr ""
117
- "Hei siellä! Voit nyt luoda hienoja tilauslomakkeita, mutta ensin tarvitsemme "
118
- "sinun MailerLite API-avaimesi!"
119
-
120
- #. mailerlite
121
- #: include/templates/admin/api_key.php:17
122
- #: include/templates/admin/settings.php:19
123
- msgid "Enter an API key"
124
- msgstr "Syötä API-avain"
125
-
126
- #. mailerlite
127
- #: include/templates/admin/api_key.php:18
128
- #: include/templates/admin/settings.php:20
129
- msgid "Don't know where to find it?"
130
- msgstr "Etkö tiedä mistä löytäisit sen?"
131
-
132
- #. mailerlite
133
- #: include/templates/admin/api_key.php:18
134
- #: include/templates/admin/settings.php:20
135
- msgid "Check it here!"
136
- msgstr "Katso tästä!"
137
-
138
- #. mailerlite
139
- #: include/templates/admin/api_key.php:23
140
- #: include/templates/admin/settings.php:25
141
- msgid "Save this key"
142
- msgstr "Tallenna tämä avain"
143
-
144
- #. mailerlite
145
- #: include/templates/admin/api_key.php:29
146
- #: include/templates/admin/settings.php:31
147
- msgid "Don't have an account?"
148
- msgstr "Eikö sinulla ole tiliä?"
149
-
150
- #. mailerlite
151
- #: include/templates/admin/api_key.php:30
152
- #: include/templates/admin/settings.php:32
153
- msgid "Register!"
154
- msgstr "Rekisteröidy!"
155
-
156
- #. mailerlite
157
- #: include/templates/admin/create.php:5
158
- msgid "Create new signup form"
159
- msgstr "Luo uusi rekisteröintilomake"
160
-
161
- #. mailerlite
162
- #: include/templates/admin/create.php:11
163
- msgid "Form type"
164
- msgstr "Lomaketyyppi"
165
-
166
- #. mailerlite
167
- #: include/templates/admin/create.php:17
168
- msgid "Custom signup form"
169
- msgstr "Mukautettu tilauslomake"
170
-
171
- #. mailerlite
172
- #: include/templates/admin/create.php:23
173
- msgid "Webforms created using MailerLite"
174
- msgstr "MailerLitellä tehtyjä tilauslomakkeita"
175
-
176
- #. mailerlite
177
- #: include/templates/admin/create.php:28
178
- msgid "Create form"
179
- msgstr "Luo lomake"
180
-
181
- #. mailerlite
182
- #: include/templates/admin/create.php:29
183
- #: include/templates/admin/edit_custom.php:96
184
- #: include/templates/admin/edit_embedded.php:42
185
- msgid "Back"
186
- msgstr "Takaisin"
187
-
188
- #. mailerlite
189
- #: include/templates/admin/edit_custom.php:5
190
- msgid "Edit custom signup form"
191
- msgstr "Editoi mukautettua lomaketta"
192
-
193
- #. mailerlite
194
- #: include/templates/admin/edit_custom.php:7
195
- #: include/templates/admin/edit_embedded.php:7
196
- msgid "Form saved."
197
- msgstr "Lomake tallennettu"
198
-
199
- #. mailerlite
200
- #: include/templates/admin/edit_custom.php:7
201
- #: include/templates/admin/edit_embedded.php:7
202
- msgid "Back to forms list"
203
- msgstr "Takaisin lomakelistaan"
204
-
205
- #. mailerlite
206
- #: include/templates/admin/edit_custom.php:15
207
- msgid "Main information"
208
- msgstr "Tärkeää tietoa"
209
-
210
- #. default
211
- #: include/templates/admin/edit_custom.php:20
212
- msgid "Form name"
213
- msgstr "Lomakkeen nimi"
214
-
215
- #. mailerlite
216
- #: include/templates/admin/edit_custom.php:21
217
- #: include/templates/admin/edit_embedded.php:21
218
- msgid "Tip:"
219
- msgstr "Vinkki:"
220
-
221
- #. mailerlite
222
- #: include/templates/admin/edit_custom.php:21
223
- #: include/templates/admin/edit_embedded.php:21
224
- msgid "This title won't be displayed in public!"
225
- msgstr "Tätä nimeä ei näytetä julkisesti!"
226
-
227
- #. mailerlite
228
- #: include/templates/admin/edit_custom.php:28
229
- msgid "Form details"
230
- msgstr "Lomakkeen tiedot"
231
-
232
- #. mailerlite
233
- #: include/templates/admin/edit_custom.php:33
234
- #: include/templates/admin/edit_embedded.php:20
235
- msgid "Form title"
236
- msgstr "Lomakkeen otsikko"
237
-
238
- #. mailerlite
239
- #. default
240
- #: include/templates/admin/edit_custom.php:34
241
- #: include/templates/admin/edit_custom.php:55
242
- msgid "Example:"
243
- msgstr "Esimerkki:"
244
-
245
- #. mailerlite
246
- #: include/templates/admin/edit_custom.php:34
247
- msgid "Newsletter signup!"
248
- msgstr "Uutiskirjeen tilaus!"
249
-
250
- #. mailerlite
251
- #: include/templates/admin/edit_custom.php:37
252
- msgid "Form description"
253
- msgstr "Lomakkeen kuvaus"
254
-
255
- #. mailerlite
256
- #: include/templates/admin/edit_custom.php:54
257
- msgid "Button title"
258
- msgstr "Painikkeen otsikko"
259
-
260
- #. mailerlite
261
- #: include/templates/admin/edit_custom.php:62
262
- msgid "Form fields and lists"
263
- msgstr "Lomakkeen kentät ja listat"
264
-
265
- #. mailerlite
266
- #: include/templates/admin/edit_custom.php:67
267
- msgid "Fields"
268
- msgstr "Kentät"
269
-
270
- #. mailerlite
271
- #: include/templates/admin/edit_custom.php:80
272
- msgid "Lists"
273
- msgstr "Listat"
274
-
275
- #. mailerlite
276
- #: include/templates/admin/edit_custom.php:95
277
- #: include/templates/admin/edit_embedded.php:41
278
- msgid "Save form"
279
- msgstr "Tallenna lomake"
280
-
281
- #. mailerlite
282
- #: include/templates/admin/edit_embedded.php:5
283
- msgid "Edit webform"
284
- msgstr "Editoi nettilomaketta"
285
-
286
- #. mailerlite
287
- #: include/templates/admin/edit_embedded.php:15
288
- msgid "Webform details"
289
- msgstr "Nettilomakkeen yksityiskohdat"
290
-
291
- #. mailerlite
292
- #: include/templates/admin/edit_embedded.php:24
293
- msgid "Webform"
294
- msgstr "Nettilomake"
295
-
296
- #. mailerlite
297
- #: include/templates/admin/main.php:5
298
- msgid "Add New"
299
- msgstr "Lisää uusi"
300
-
301
- #. mailerlite
302
- #: include/templates/admin/main.php:14
303
- msgid "ID"
304
- msgstr "ID"
305
-
306
- #. mailerlite
307
- #: include/templates/admin/main.php:15
308
- msgid "Name"
309
- msgstr "Nimi"
310
-
311
- #. mailerlite
312
- #: include/templates/admin/main.php:16
313
- msgid "Type"
314
- msgstr "Tyyppi"
315
-
316
- #. mailerlite
317
- #: include/templates/admin/main.php:17
318
- msgid "Date"
319
- msgstr "Päivä"
320
-
321
- #. mailerlite
322
- #: include/templates/admin/main.php:29
323
- msgid "Edit"
324
- msgstr "Editoi"
325
-
326
- #. mailerlite
327
- #: include/templates/admin/main.php:30
328
- msgid "Are you sure you want to delete this form?"
329
- msgstr "Haluatko varmasti poistaa tämän lomakkeen?"
330
-
331
- #. mailerlite
332
- #: include/templates/admin/main.php:30
333
- msgid "Delete"
334
- msgstr "Poista"
335
-
336
- #. mailerlite
337
- #: include/templates/admin/main.php:33
338
- msgid "Custom form"
339
- msgstr "Mukautettu lomake"
340
-
341
- #. mailerlite
342
- #: include/templates/admin/main.php:33
343
- msgid "Embedded form"
344
- msgstr "Upotettu lomake"
345
-
346
- #. mailerlite
347
- #: include/templates/admin/main.php:42
348
- msgid "There is no signup forms created yet!"
349
- msgstr "Tilauslomake puuttuu vielä!"
350
-
351
- #. mailerlite
352
- #: include/templates/admin/main.php:43
353
- msgid "Add signup form"
354
- msgstr "Luo tilauslomake"
355
-
356
- #. mailerlite
357
- #: include/templates/admin/settings.php:5
358
- msgid "Plugin settings"
359
- msgstr "Liitännäisen asetukset"
360
-
361
- #. mailerlite
362
- #: include/templates/admin/settings.php:10
363
- msgid "Here you able to change your API key!"
364
- msgstr "Tässä voit muuttaa API-avaintasi!"
365
-
366
- #. mailerlite
367
- #: include/templates/admin/sidebar.php:4
368
- msgid "Need help?"
369
- msgstr "Tarvitsetko apua?"
370
-
371
- #. mailerlite
372
- #: include/templates/admin/sidebar.php:6
373
- msgid ""
374
- "Have any questions? Stuck on something or found bug? Feel free to contact us!"
375
- msgstr ""
376
- "Onko sinulla kysymyksiä? Oletko jumissa tai löysitkö bugin? Ole hyvä ja ole "
377
- "meihin yhteydessä!"
378
-
379
- #. mailerlite
380
- #: include/templates/common/tiny_mce.php:13
381
- msgid ""
382
- "Select form from list below, and hit \"Add Shortcode\" to add the shortcode "
383
- "to your post!"
384
- msgstr ""
385
- "Valitse lomake allaolevasta listasta ja klikkaa \"Lisää Shortkoodi\" "
386
- "lisätäksesi lyhenteen artikkeliisi."
387
-
388
- #. mailerlite
389
- #: include/templates/common/tiny_mce.php:24
390
- msgid "Add Shortcode"
391
- msgstr "Lisää Shortkoodi"
392
-
393
- #. mailerlite
394
- #: include/templates/forms/custom_form.php:19
395
- msgid "Please wait..."
396
- msgstr "Ole hyvä ja odota..."
397
-
398
- #. mailerlite
399
- #: include/templates/forms/custom_form.php:27
400
- msgid "Thank you for signup!"
401
- msgstr "Kiitos tilauksestasi!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/mailerlite-it_IT.mo DELETED
Binary file
trunk/languages/mailerlite-it_IT.po DELETED
@@ -1,401 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "MIME-Version: 1.0\n"
4
- "Content-Type: text/plain; charset=UTF-8\n"
5
- "Content-Transfer-Encoding: 8bit\n"
6
- "X-Generator: Poedit 1.6.7\n"
7
- "Project-Id-Version: MailerLite wordpress plugin\n"
8
- "Language: it\n"
9
- "POT-Creation-Date: \n"
10
- "PO-Revision-Date: \n"
11
- "Last-Translator: \n"
12
- "Language-Team: \n"
13
-
14
- #. mailerlite
15
- #: include/mailerlite-admin.php:52
16
- msgid "Forms"
17
- msgstr "Moduli"
18
-
19
- #. mailerlite
20
- #: include/mailerlite-admin.php:52 include/templates/admin/main.php:5
21
- msgid "Signup forms"
22
- msgstr "Form d'iscrizione"
23
-
24
- #. mailerlite
25
- #: include/mailerlite-admin.php:53
26
- msgid "Settings"
27
- msgstr "Impostazioni"
28
-
29
- #. mailerlite
30
- #: include/mailerlite-admin.php:133
31
- msgid "Subscribe for newsletter!"
32
- msgstr "Iscriviti alla newsletter!"
33
-
34
- #. mailerlite
35
- #: include/mailerlite-admin.php:134 include/mailerlite-admin.php:301
36
- msgid "Newsletter signup"
37
- msgstr "Iscrizione alla newsletter"
38
-
39
- #. mailerlite
40
- #: include/mailerlite-admin.php:135 include/mailerlite-admin.php:302
41
- msgid "Just simple MailerLite form!"
42
- msgstr "Un semplice form MailerLite!"
43
-
44
- #. mailerlite
45
- #. default
46
- #: include/mailerlite-admin.php:136 include/mailerlite-admin.php:303
47
- #: include/templates/admin/edit_custom.php:55
48
- msgid "Subscribe"
49
- msgstr "Iscriviti"
50
-
51
- #. mailerlite
52
- #: include/mailerlite-admin.php:142 include/mailerlite-admin.php:305
53
- msgid "Email"
54
- msgstr "Email"
55
-
56
- #. mailerlite
57
- #: include/mailerlite-admin.php:198
58
- msgid "Embedded webform"
59
- msgstr "Form incorporato"
60
-
61
- #. mailerlite
62
- #: include/mailerlite-admin.php:267
63
- msgid "You not allowed to do that"
64
- msgstr "Non puoi fare questo"
65
-
66
- #. mailerlite
67
- #: include/mailerlite-admin.php:277
68
- msgid "Wrong MailerLite API key"
69
- msgstr "API key di MailerLite errata"
70
-
71
- #. mailerlite
72
- #: include/mailerlite-admin.php:299
73
- msgid "New custom signup form"
74
- msgstr "Nuovo form d'iscrizione personalizzato"
75
-
76
- #. mailerlite
77
- #: include/mailerlite-admin.php:310
78
- msgid "New embedded signup form"
79
- msgstr "Nuovo form d'iscrizione incorporato"
80
-
81
- #. mailerlite
82
- #: include/mailerlite-form.php:75
83
- msgid "Subscriber successfully saved"
84
- msgstr "Il destinatario è stato salvato"
85
-
86
- #. mailerlite
87
- #: include/mailerlite-form.php:79
88
- msgid "Form not found"
89
- msgstr "Form non trovato"
90
-
91
- #. mailerlite
92
- #: include/mailerlite-form.php:84
93
- msgid "Wrong data provided"
94
- msgstr "Dati forniti sono errati"
95
-
96
- #. mailerlite
97
- #: include/mailerlite-widget.php:13
98
- msgid "Mailerlite sign up form"
99
- msgstr "Form d'iscrizione MailerLite"
100
-
101
- #. mailerlite
102
- #: include/mailerlite-widget.php:14
103
- msgid "MailerLite sign up form Widget"
104
- msgstr "Widget per form d'iscrizione MailerLite"
105
-
106
- #. mailerlite
107
- #: include/mailerlite-widget.php:66
108
- msgid "Select form:"
109
- msgstr "Scegli il form:"
110
-
111
- #. mailerlite
112
- #: include/templates/admin/api_key.php:8
113
- msgid ""
114
- "Hi there! You will be able to create awesome signup forms, but first we need "
115
- "your MailerLite API key!"
116
- msgstr ""
117
- "Ciao! Potrai creare form d'iscrizione fantastici, ma prim devi fornire la "
118
- "tua API key MailerLite!"
119
-
120
- #. mailerlite
121
- #: include/templates/admin/api_key.php:17
122
- #: include/templates/admin/settings.php:19
123
- msgid "Enter an API key"
124
- msgstr "Inserisci API key"
125
-
126
- #. mailerlite
127
- #: include/templates/admin/api_key.php:18
128
- #: include/templates/admin/settings.php:20
129
- msgid "Don't know where to find it?"
130
- msgstr "Non sai dove si trova?"
131
-
132
- #. mailerlite
133
- #: include/templates/admin/api_key.php:18
134
- #: include/templates/admin/settings.php:20
135
- msgid "Check it here!"
136
- msgstr "Clicca qui!"
137
-
138
- #. mailerlite
139
- #: include/templates/admin/api_key.php:23
140
- #: include/templates/admin/settings.php:25
141
- msgid "Save this key"
142
- msgstr "Salva questa key"
143
-
144
- #. mailerlite
145
- #: include/templates/admin/api_key.php:29
146
- #: include/templates/admin/settings.php:31
147
- msgid "Don't have an account?"
148
- msgstr "Non hai un account?"
149
-
150
- #. mailerlite
151
- #: include/templates/admin/api_key.php:30
152
- #: include/templates/admin/settings.php:32
153
- msgid "Register!"
154
- msgstr "Registrati!"
155
-
156
- #. mailerlite
157
- #: include/templates/admin/create.php:5
158
- msgid "Create new signup form"
159
- msgstr "Crea un nuovo form d'iscrizione"
160
-
161
- #. mailerlite
162
- #: include/templates/admin/create.php:11
163
- msgid "Form type"
164
- msgstr "Tipo di form"
165
-
166
- #. mailerlite
167
- #: include/templates/admin/create.php:17
168
- msgid "Custom signup form"
169
- msgstr "Forma d'iscrizione"
170
-
171
- #. mailerlite
172
- #: include/templates/admin/create.php:23
173
- msgid "Webforms created using MailerLite"
174
- msgstr "Form d'iscrizione creati usando MailerLite"
175
-
176
- #. mailerlite
177
- #: include/templates/admin/create.php:28
178
- msgid "Create form"
179
- msgstr "Crea un form"
180
-
181
- #. mailerlite
182
- #: include/templates/admin/create.php:29
183
- #: include/templates/admin/edit_custom.php:96
184
- #: include/templates/admin/edit_embedded.php:42
185
- msgid "Back"
186
- msgstr "Indietro"
187
-
188
- #. mailerlite
189
- #: include/templates/admin/edit_custom.php:5
190
- msgid "Edit custom signup form"
191
- msgstr "Modifica form d'iscrizione personalizzati"
192
-
193
- #. mailerlite
194
- #: include/templates/admin/edit_custom.php:7
195
- #: include/templates/admin/edit_embedded.php:7
196
- msgid "Form saved."
197
- msgstr "Form salvato."
198
-
199
- #. mailerlite
200
- #: include/templates/admin/edit_custom.php:7
201
- #: include/templates/admin/edit_embedded.php:7
202
- msgid "Back to forms list"
203
- msgstr "Torna alla lista dei moduli"
204
-
205
- #. mailerlite
206
- #: include/templates/admin/edit_custom.php:15
207
- msgid "Main information"
208
- msgstr "Informazioni principali"
209
-
210
- #. default
211
- #: include/templates/admin/edit_custom.php:20
212
- msgid "Form name"
213
- msgstr "Nome del form"
214
-
215
- #. mailerlite
216
- #: include/templates/admin/edit_custom.php:21
217
- #: include/templates/admin/edit_embedded.php:21
218
- msgid "Tip:"
219
- msgstr "Consiglio:"
220
-
221
- #. mailerlite
222
- #: include/templates/admin/edit_custom.php:21
223
- #: include/templates/admin/edit_embedded.php:21
224
- msgid "This title won't be displayed in public!"
225
- msgstr "Questo titolo non sarà visualizzato al pubblico!"
226
-
227
- #. mailerlite
228
- #: include/templates/admin/edit_custom.php:28
229
- msgid "Form details"
230
- msgstr "Dettagli del form"
231
-
232
- #. mailerlite
233
- #: include/templates/admin/edit_custom.php:33
234
- #: include/templates/admin/edit_embedded.php:20
235
- msgid "Form title"
236
- msgstr "Titolo del form"
237
-
238
- #. mailerlite
239
- #. default
240
- #: include/templates/admin/edit_custom.php:34
241
- #: include/templates/admin/edit_custom.php:55
242
- msgid "Example:"
243
- msgstr "Esempi:"
244
-
245
- #. mailerlite
246
- #: include/templates/admin/edit_custom.php:34
247
- msgid "Newsletter signup!"
248
- msgstr "Iscrizione alla newsletter!"
249
-
250
- #. mailerlite
251
- #: include/templates/admin/edit_custom.php:37
252
- msgid "Form description"
253
- msgstr "Descrizione del form"
254
-
255
- #. mailerlite
256
- #: include/templates/admin/edit_custom.php:54
257
- msgid "Button title"
258
- msgstr "Nome del pulsante"
259
-
260
- #. mailerlite
261
- #: include/templates/admin/edit_custom.php:62
262
- msgid "Form fields and lists"
263
- msgstr "Campi del form e liste"
264
-
265
- #. mailerlite
266
- #: include/templates/admin/edit_custom.php:67
267
- msgid "Fields"
268
- msgstr "Campi"
269
-
270
- #. mailerlite
271
- #: include/templates/admin/edit_custom.php:80
272
- msgid "Lists"
273
- msgstr "Liste"
274
-
275
- #. mailerlite
276
- #: include/templates/admin/edit_custom.php:95
277
- #: include/templates/admin/edit_embedded.php:41
278
- msgid "Save form"
279
- msgstr "Salva form"
280
-
281
- #. mailerlite
282
- #: include/templates/admin/edit_embedded.php:5
283
- msgid "Edit webform"
284
- msgstr "Modifica webform"
285
-
286
- #. mailerlite
287
- #: include/templates/admin/edit_embedded.php:15
288
- msgid "Webform details"
289
- msgstr "Dettagli webform"
290
-
291
- #. mailerlite
292
- #: include/templates/admin/edit_embedded.php:24
293
- msgid "Webform"
294
- msgstr "Webform"
295
-
296
- #. mailerlite
297
- #: include/templates/admin/main.php:5
298
- msgid "Add New"
299
- msgstr "Aggiungi nuovo"
300
-
301
- #. mailerlite
302
- #: include/templates/admin/main.php:14
303
- msgid "ID"
304
- msgstr "ID"
305
-
306
- #. mailerlite
307
- #: include/templates/admin/main.php:15
308
- msgid "Name"
309
- msgstr "Nome"
310
-
311
- #. mailerlite
312
- #: include/templates/admin/main.php:16
313
- msgid "Type"
314
- msgstr "Tipo"
315
-
316
- #. mailerlite
317
- #: include/templates/admin/main.php:17
318
- msgid "Date"
319
- msgstr "Data"
320
-
321
- #. mailerlite
322
- #: include/templates/admin/main.php:29
323
- msgid "Edit"
324
- msgstr "Modifica"
325
-
326
- #. mailerlite
327
- #: include/templates/admin/main.php:30
328
- msgid "Are you sure you want to delete this form?"
329
- msgstr "Vuoi davvero eliminare questo form?"
330
-
331
- #. mailerlite
332
- #: include/templates/admin/main.php:30
333
- msgid "Delete"
334
- msgstr "Elimina"
335
-
336
- #. mailerlite
337
- #: include/templates/admin/main.php:33
338
- msgid "Custom form"
339
- msgstr "Form personalizzato"
340
-
341
- #. mailerlite
342
- #: include/templates/admin/main.php:33
343
- msgid "Embedded form"
344
- msgstr "Form incorporato"
345
-
346
- #. mailerlite
347
- #: include/templates/admin/main.php:42
348
- msgid "There is no signup forms created yet!"
349
- msgstr "Non ci sono form d'iscrizione!"
350
-
351
- #. mailerlite
352
- #: include/templates/admin/main.php:43
353
- msgid "Add signup form"
354
- msgstr "Crea form d'iscrizione"
355
-
356
- #. mailerlite
357
- #: include/templates/admin/settings.php:5
358
- msgid "Plugin settings"
359
- msgstr "Impostazioni plugin"
360
-
361
- #. mailerlite
362
- #: include/templates/admin/settings.php:10
363
- msgid "Here you able to change your API key!"
364
- msgstr "Qui puoi cambiare la tua API key!"
365
-
366
- #. mailerlite
367
- #: include/templates/admin/sidebar.php:4
368
- msgid "Need help?"
369
- msgstr "Serve aiuto?"
370
-
371
- #. mailerlite
372
- #: include/templates/admin/sidebar.php:6
373
- msgid ""
374
- "Have any questions? Stuck on something or found bug? Feel free to contact us!"
375
- msgstr ""
376
- "Hai delle domande? Ti sei bloccato s o hai trovato un bug? Non esitare a "
377
- "contattarci!"
378
-
379
- #. mailerlite
380
- #: include/templates/common/tiny_mce.php:13
381
- msgid ""
382
- "Select form from list below, and hit \"Add Shortcode\" to add the shortcode "
383
- "to your post!"
384
- msgstr ""
385
- "Scegli il form dalla lista e clicca \"Aggiungi Shortcode\" per aggiungere il "
386
- "shortcode ai tuoi post!"
387
-
388
- #. mailerlite
389
- #: include/templates/common/tiny_mce.php:24
390
- msgid "Add Shortcode"
391
- msgstr "Aggiungi Shortcode"
392
-
393
- #. mailerlite
394
- #: include/templates/forms/custom_form.php:19
395
- msgid "Please wait..."
396
- msgstr "Aspetta..."
397
-
398
- #. mailerlite
399
- #: include/templates/forms/custom_form.php:27
400
- msgid "Thank you for signup!"
401
- msgstr "Grazie per la tua iscrizione!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/mailerlite-lt_LT.mo DELETED
Binary file
trunk/languages/mailerlite-lt_LT.po DELETED
@@ -1,408 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Official MailerLite sign up forms v1.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-08-11 11:25+0200\n"
7
- "Last-Translator: admin <ignas@mailerlite.com>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
13
- "%100<10 || n%100>=20) ? 1 : 2;\n"
14
- "X-Generator: Poedit 1.6.7\n"
15
- "X-Poedit-SourceCharset: utf-8\n"
16
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
- "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
- "X-Textdomain-Support: yes\n"
19
- "Language: lt_LT\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
-
22
- # @ mailerlite
23
- #: include/mailerlite-admin.php:133
24
- msgid "Subscribe for newsletter!"
25
- msgstr "Užsisakyti naujienlaiškį!"
26
-
27
- # @ mailerlite
28
- #: include/mailerlite-admin.php:134 include/mailerlite-admin.php:301
29
- msgid "Newsletter signup"
30
- msgstr "Naujienlaiškio prenumerata."
31
-
32
- # @ mailerlite
33
- #: include/mailerlite-admin.php:135 include/mailerlite-admin.php:302
34
- msgid "Just simple MailerLite form!"
35
- msgstr "Tai pavizdinė MailerLite prenumeratos forma!"
36
-
37
- # @ mailerlite
38
- # @ default
39
- #: include/mailerlite-admin.php:136 include/mailerlite-admin.php:303
40
- #: include/templates/admin/edit_custom.php:55
41
- msgid "Subscribe"
42
- msgstr "Prenumeruoti"
43
-
44
- # @ mailerlite
45
- #: include/mailerlite-admin.php:142 include/mailerlite-admin.php:305
46
- msgid "Email"
47
- msgstr "El. paštas"
48
-
49
- # @ mailerlite
50
- #: include/mailerlite-admin.php:198
51
- msgid "Embedded webform"
52
- msgstr "Sugeneruota forma"
53
-
54
- # @ mailerlite
55
- #: include/mailerlite-admin.php:267
56
- msgid "You not allowed to do that"
57
- msgstr "Šis veiksmas draudžiamas"
58
-
59
- # @ mailerlite
60
- #: include/mailerlite-admin.php:277
61
- msgid "Wrong MailerLite API key"
62
- msgstr "Netesingas MailerLite API raktas"
63
-
64
- # @ mailerlite
65
- #: include/mailerlite-admin.php:299
66
- msgid "New custom signup form"
67
- msgstr "Nauja naujienlaiškio forma"
68
-
69
- # @ mailerlite
70
- #: include/mailerlite-admin.php:310
71
- msgid "New embedded signup form"
72
- msgstr "Nauja integruojama naujienlaiškio forma"
73
-
74
- # @ mailerlite
75
- #: include/mailerlite-widget.php:13
76
- msgid "Mailerlite sign up form"
77
- msgstr "Mailerlite naujienlaiškio forma"
78
-
79
- # @ mailerlite
80
- #: include/mailerlite-widget.php:14
81
- msgid "MailerLite sign up form Widget"
82
- msgstr "MailerLite naujienlaiškio formos skydelis"
83
-
84
- # @ mailerlite
85
- #: include/mailerlite-widget.php:66
86
- msgid "Select form:"
87
- msgstr "Pasirinkite formą:"
88
-
89
- # @ mailerlite
90
- #: include/templates/admin/api_key.php:19
91
- #: include/templates/admin/settings.php:19
92
- msgid "Enter an API key"
93
- msgstr "Įvesti API raktą"
94
-
95
- # @ mailerlite
96
- #: include/templates/admin/api_key.php:20
97
- #: include/templates/admin/settings.php:20
98
- msgid "Don't know where to find it?"
99
- msgstr "Nežinote kur jį rasti?"
100
-
101
- # @ mailerlite
102
- #: include/templates/admin/api_key.php:20
103
- #: include/templates/admin/settings.php:20
104
- msgid "Check it here!"
105
- msgstr "Pažiūrėkite!"
106
-
107
- # @ mailerlite
108
- #: include/templates/admin/api_key.php:25
109
- #: include/templates/admin/settings.php:25
110
- msgid "Save this key"
111
- msgstr "Išsaugoti raktą"
112
-
113
- # @ mailerlite
114
- #: include/templates/admin/api_key.php:31
115
- #: include/templates/admin/settings.php:31
116
- msgid "Don't have an account?"
117
- msgstr "Neturite paskiros?"
118
-
119
- # @ mailerlite
120
- #: include/templates/admin/api_key.php:32
121
- #: include/templates/admin/settings.php:32
122
- msgid "Register!"
123
- msgstr "Užsiregistruokite!"
124
-
125
- # @ mailerlite
126
- #: include/templates/admin/create.php:11
127
- msgid "Form type"
128
- msgstr "Formos tipas"
129
-
130
- # @ mailerlite
131
- #: include/templates/admin/create.php:23
132
- msgid "Webforms created using MailerLite"
133
- msgstr "Formos sukurtos naudojantis MailerLite"
134
-
135
- # @ mailerlite
136
- #: include/templates/admin/create.php:28
137
- msgid "Create form"
138
- msgstr "Sukurti formą"
139
-
140
- # @ mailerlite
141
- #: include/templates/admin/create.php:29
142
- #: include/templates/admin/edit_custom.php:96
143
- #: include/templates/admin/edit_embedded.php:42
144
- msgid "Back"
145
- msgstr "Atgal"
146
-
147
- # @ mailerlite
148
- #: include/templates/admin/edit_custom.php:21
149
- #: include/templates/admin/edit_embedded.php:21
150
- msgid "Tip:"
151
- msgstr "Pastaba:"
152
-
153
- # @ mailerlite
154
- #: include/templates/admin/edit_custom.php:21
155
- #: include/templates/admin/edit_embedded.php:21
156
- msgid "This title won't be displayed in public!"
157
- msgstr "Šio pavadinimo niekas nematys"
158
-
159
- # @ mailerlite
160
- # @ default
161
- #: include/templates/admin/edit_custom.php:34
162
- #: include/templates/admin/edit_custom.php:55
163
- msgid "Example:"
164
- msgstr "Pavizdys:"
165
-
166
- # @ mailerlite
167
- #: include/templates/admin/edit_custom.php:34
168
- msgid "Newsletter signup!"
169
- msgstr "Naujienlaiškio prenumerata!"
170
-
171
- # @ mailerlite
172
- #: include/templates/admin/edit_embedded.php:15
173
- msgid "Webform details"
174
- msgstr "Formos informacija"
175
-
176
- # @ mailerlite
177
- #: include/templates/admin/edit_custom.php:33
178
- #: include/templates/admin/edit_embedded.php:20
179
- msgid "Form title"
180
- msgstr "Formos pavadinimas"
181
-
182
- # @ mailerlite
183
- #: include/templates/admin/main.php:30
184
- msgid "Are you sure you want to delete this form?"
185
- msgstr "Ar tikrai norite ištrinti šią formą?"
186
-
187
- # @ mailerlite
188
- #: include/templates/admin/settings.php:10
189
- msgid "Here you able to change your API key!"
190
- msgstr "Čia jūs galite pasikeisti API raktą!"
191
-
192
- # @ mailerlite
193
- #: include/templates/admin/sidebar.php:4
194
- msgid "Need help?"
195
- msgstr "Reikia pagalbos?"
196
-
197
- # @ mailerlite
198
- #: include/templates/admin/sidebar.php:6
199
- msgid ""
200
- "Have any questions? Stuck on something or found bug? Feel free to contact us!"
201
- msgstr ""
202
- "Turite klausimų? Kažko nesuprantate ar radote klaidą? Susisiekite su mumis!"
203
-
204
- # @ mailerlite
205
- #: include/templates/admin/api_key.php:10
206
- msgid ""
207
- "Hi there! You will be able to create awesome signup forms, but first we need "
208
- "your MailerLite API key!"
209
- msgstr ""
210
- "Sveiki! Čia galėsite susikurti nuostabias naujienlaiškių prenumeratos "
211
- "formas, bet prieš tai turite įvesti MailerLite API raktą!"
212
-
213
- # @ mailerlite
214
- #: include/templates/admin/create.php:17
215
- msgid "Custom signup form"
216
- msgstr "Pritaikyta prenumeratos forma"
217
-
218
- # @ mailerlite
219
- #: include/templates/admin/main.php:14
220
- msgid "ID"
221
- msgstr "ID"
222
-
223
- # @ mailerlite
224
- #: include/templates/admin/main.php:16
225
- msgid "Type"
226
- msgstr "Tipas"
227
-
228
- # @ mailerlite
229
- #: include/templates/admin/main.php:17
230
- msgid "Date"
231
- msgstr "Data"
232
-
233
- # @ mailerlite
234
- #: include/templates/admin/main.php:33
235
- msgid "Custom form"
236
- msgstr "Pritaikyta forma"
237
-
238
- # @ mailerlite
239
- #: include/templates/admin/main.php:33
240
- msgid "Embedded form"
241
- msgstr "Integruojama forma"
242
-
243
- # @ mailerlite
244
- #: include/templates/admin/main.php:42
245
- msgid "There is no signup forms created yet!"
246
- msgstr "Nėra sukurtų prenumeratos formų!"
247
-
248
- # @ mailerlite
249
- #: include/templates/admin/main.php:43
250
- msgid "Create signup form"
251
- msgstr "Sukurti prenumeratos formą"
252
-
253
- # @ mailerlite
254
- #: include/templates/admin/edit_custom.php:7
255
- #: include/templates/admin/edit_embedded.php:7
256
- msgid "Form saved."
257
- msgstr "Forma išsaugota."
258
-
259
- # @ mailerlite
260
- #: include/templates/admin/edit_custom.php:7
261
- #: include/templates/admin/edit_embedded.php:7
262
- msgid "Back to forms list"
263
- msgstr "Grįšti į formų sąrašą"
264
-
265
- # @ mailerlite
266
- #: include/templates/admin/edit_custom.php:15
267
- msgid "Main information"
268
- msgstr "Pagrindinė informacija"
269
-
270
- # @ default
271
- #: include/templates/admin/edit_custom.php:20
272
- msgid "Form name"
273
- msgstr "Formos pavadinimas"
274
-
275
- # @ mailerlite
276
- #: include/templates/admin/edit_custom.php:28
277
- msgid "Form details"
278
- msgstr "Formos detalės"
279
-
280
- # @ mailerlite
281
- #: include/templates/admin/edit_custom.php:37
282
- msgid "Form description"
283
- msgstr "Formos aprašymas"
284
-
285
- # @ mailerlite
286
- #: include/templates/admin/edit_custom.php:54
287
- msgid "Button title"
288
- msgstr "Mygtuko antraštė"
289
-
290
- # @ mailerlite
291
- #: include/templates/admin/edit_custom.php:62
292
- msgid "Form fields and lists"
293
- msgstr "Formos laukeliai ir sąrašai"
294
-
295
- # @ mailerlite
296
- #: include/templates/admin/edit_custom.php:67
297
- msgid "Fields"
298
- msgstr "Laukeliai"
299
-
300
- # @ mailerlite
301
- #: include/templates/admin/edit_custom.php:80
302
- msgid "Lists"
303
- msgstr "Sąrašai"
304
-
305
- # @ mailerlite
306
- #: include/templates/admin/edit_custom.php:95
307
- #: include/templates/admin/edit_embedded.php:41
308
- msgid "Save form"
309
- msgstr "Išsaugoti formą"
310
-
311
- # @ mailerlite
312
- #: include/templates/admin/edit_embedded.php:24
313
- msgid "Webform"
314
- msgstr "Forma"
315
-
316
- # @ mailerlite
317
- #: include/templates/admin/main.php:15
318
- msgid "Name"
319
- msgstr "Pavadinimas"
320
-
321
- # @ mailerlite
322
- #: include/templates/admin/main.php:29
323
- msgid "Edit"
324
- msgstr "Redaguoti"
325
-
326
- # @ mailerlite
327
- #: include/templates/admin/main.php:30
328
- msgid "Delete"
329
- msgstr "Ištrinti"
330
-
331
- # @ mailerlite
332
- #: include/mailerlite-admin.php:52
333
- msgid "Forms"
334
- msgstr "Formos"
335
-
336
- # @ mailerlite
337
- #: include/mailerlite-admin.php:52 include/templates/admin/main.php:5
338
- msgid "Signup forms"
339
- msgstr "Prenumeratos formos"
340
-
341
- # @ mailerlite
342
- #: include/mailerlite-admin.php:53
343
- msgid "Settings"
344
- msgstr "Nustatymai"
345
-
346
- # @ mailerlite
347
- #: include/templates/admin/main.php:5
348
- msgid "Add New"
349
- msgstr "Pridėti naują"
350
-
351
- # @ mailerlite
352
- #: include/mailerlite-form.php:75
353
- msgid "Subscriber successfully saved"
354
- msgstr "Sėkmingai užprenumruota."
355
-
356
- # @ mailerlite
357
- #: include/mailerlite-form.php:79
358
- msgid "Form not found"
359
- msgstr "Forma nerasta"
360
-
361
- # @ mailerlite
362
- #: include/mailerlite-form.php:84
363
- msgid "Wrong data provided"
364
- msgstr "Neteisinga informacija"
365
-
366
- # @ mailerlite
367
- #: include/templates/admin/create.php:5
368
- msgid "Add signup form"
369
- msgstr "Sukurti naują prenumeratos formą"
370
-
371
- # @ mailerlite
372
- #: include/templates/admin/edit_custom.php:5
373
- msgid "Edit custom signup form"
374
- msgstr "Redaguoti pritaikomą prenumeratos formą"
375
-
376
- # @ mailerlite
377
- #: include/templates/admin/edit_embedded.php:5
378
- msgid "Edit webform"
379
- msgstr "Redaguoti integruojamą formą"
380
-
381
- # @ mailerlite
382
- #: include/templates/admin/settings.php:5
383
- msgid "Plugin settings"
384
- msgstr "Įskiepio nustatymai"
385
-
386
- # @ mailerlite
387
- #: include/templates/common/tiny_mce.php:13
388
- msgid ""
389
- "Select form from list below, and hit \"Add Shortcode\" to add the shortcode "
390
- "to your post!"
391
- msgstr ""
392
- "Pasirinkite formą iš žemiau esančio sąrašo ir paspauskite \"Pridėti trumpinį"
393
- "\"."
394
-
395
- # @ mailerlite
396
- #: include/templates/forms/custom_form.php:20
397
- msgid "Please wait..."
398
- msgstr "Palaukite..."
399
-
400
- # @ mailerlite
401
- #: include/templates/forms/custom_form.php:28
402
- msgid "Thank you for signup!"
403
- msgstr "Dekojame už prenumeratą!"
404
-
405
- # @ mailerlite
406
- #: include/templates/common/tiny_mce.php:24
407
- msgid "Add Shortcode"
408
- msgstr "Pridėti trumpinį"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/mailerlite-ru_RU.mo DELETED
Binary file
trunk/languages/mailerlite-ru_RU.po DELETED
@@ -1,401 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "MIME-Version: 1.0\n"
4
- "Content-Type: text/plain; charset=UTF-8\n"
5
- "Content-Transfer-Encoding: 8bit\n"
6
- "X-Generator: Poedit 1.6.7\n"
7
- "Project-Id-Version: MailerLite wordpress plugin\n"
8
- "Language: ru\n"
9
- "POT-Creation-Date: \n"
10
- "PO-Revision-Date: \n"
11
- "Last-Translator: \n"
12
- "Language-Team: \n"
13
-
14
- #. mailerlite
15
- #: include/mailerlite-admin.php:52
16
- msgid "Forms"
17
- msgstr "Формы"
18
-
19
- #. mailerlite
20
- #: include/mailerlite-admin.php:52 include/templates/admin/main.php:5
21
- msgid "Signup forms"
22
- msgstr "Формы подписки"
23
-
24
- #. mailerlite
25
- #: include/mailerlite-admin.php:53
26
- msgid "Settings"
27
- msgstr "Настройки"
28
-
29
- #. mailerlite
30
- #: include/mailerlite-admin.php:133
31
- msgid "Subscribe for newsletter!"
32
- msgstr "Подпишитесь на новости!"
33
-
34
- #. mailerlite
35
- #: include/mailerlite-admin.php:134 include/mailerlite-admin.php:301
36
- msgid "Newsletter signup"
37
- msgstr "Подписка на новости"
38
-
39
- #. mailerlite
40
- #: include/mailerlite-admin.php:135 include/mailerlite-admin.php:302
41
- msgid "Just simple MailerLite form!"
42
- msgstr "Простая форма подписки MailerLite!"
43
-
44
- #. mailerlite
45
- #. default
46
- #: include/mailerlite-admin.php:136 include/mailerlite-admin.php:303
47
- #: include/templates/admin/edit_custom.php:55
48
- msgid "Subscribe"
49
- msgstr "Подписаться"
50
-
51
- #. mailerlite
52
- #: include/mailerlite-admin.php:142 include/mailerlite-admin.php:305
53
- msgid "Email"
54
- msgstr "Email"
55
-
56
- #. mailerlite
57
- #: include/mailerlite-admin.php:198
58
- msgid "Embedded webform"
59
- msgstr "Встроенная веб-форма"
60
-
61
- #. mailerlite
62
- #: include/mailerlite-admin.php:267
63
- msgid "You not allowed to do that"
64
- msgstr "Запрещенное действие"
65
-
66
- #. mailerlite
67
- #: include/mailerlite-admin.php:277
68
- msgid "Wrong MailerLite API key"
69
- msgstr "Некорректный MailerLite API ключ"
70
-
71
- #. mailerlite
72
- #: include/mailerlite-admin.php:299
73
- msgid "New custom signup form"
74
- msgstr "Новая пользовательская форма подписки"
75
-
76
- #. mailerlite
77
- #: include/mailerlite-admin.php:310
78
- msgid "New embedded signup form"
79
- msgstr "Новая встроенная веб-форма"
80
-
81
- #. mailerlite
82
- #: include/mailerlite-form.php:75
83
- msgid "Subscriber successfully saved"
84
- msgstr "Информация успешно сохранена"
85
-
86
- #. mailerlite
87
- #: include/mailerlite-form.php:79
88
- msgid "Form not found"
89
- msgstr "Форма не найдена"
90
-
91
- #. mailerlite
92
- #: include/mailerlite-form.php:84
93
- msgid "Wrong data provided"
94
- msgstr "Предоставлены некорректные данные"
95
-
96
- #. mailerlite
97
- #: include/mailerlite-widget.php:13
98
- msgid "Mailerlite sign up form"
99
- msgstr "Форма подписки Mailerlite"
100
-
101
- #. mailerlite
102
- #: include/mailerlite-widget.php:14
103
- msgid "MailerLite sign up form Widget"
104
- msgstr "Виджет формы подписки Mailerlite"
105
-
106
- #. mailerlite
107
- #: include/mailerlite-widget.php:66
108
- msgid "Select form:"
109
- msgstr "Выберите форму:"
110
-
111
- #. mailerlite
112
- #: include/templates/admin/api_key.php:8
113
- msgid ""
114
- "Hi there! You will be able to create awesome signup forms, but first we need "
115
- "your MailerLite API key!"
116
- msgstr ""
117
- "Приветствуем! Вы сможете создавать красивые формы подписки, но сначала "
118
- "просим предоставить ваш ​​MailerLite API ключ!"
119
-
120
- #. mailerlite
121
- #: include/templates/admin/api_key.php:17
122
- #: include/templates/admin/settings.php:19
123
- msgid "Enter an API key"
124
- msgstr "Введите ключ API"
125
-
126
- #. mailerlite
127
- #: include/templates/admin/api_key.php:18
128
- #: include/templates/admin/settings.php:20
129
- msgid "Don't know where to find it?"
130
- msgstr "Не знаете, где его найти?"
131
-
132
- #. mailerlite
133
- #: include/templates/admin/api_key.php:18
134
- #: include/templates/admin/settings.php:20
135
- msgid "Check it here!"
136
- msgstr "Проверьте здесь!"
137
-
138
- #. mailerlite
139
- #: include/templates/admin/api_key.php:23
140
- #: include/templates/admin/settings.php:25
141
- msgid "Save this key"
142
- msgstr "Сохранить ключ"
143
-
144
- #. mailerlite
145
- #: include/templates/admin/api_key.php:29
146
- #: include/templates/admin/settings.php:31
147
- msgid "Don't have an account?"
148
- msgstr "У вас нет аккаунта?"
149
-
150
- #. mailerlite
151
- #: include/templates/admin/api_key.php:30
152
- #: include/templates/admin/settings.php:32
153
- msgid "Register!"
154
- msgstr "Зарегистрироваться!"
155
-
156
- #. mailerlite
157
- #: include/templates/admin/create.php:5
158
- msgid "Create new signup form"
159
- msgstr "Создать новую форму подписки"
160
-
161
- #. mailerlite
162
- #: include/templates/admin/create.php:11
163
- msgid "Form type"
164
- msgstr "Тип формы"
165
-
166
- #. mailerlite
167
- #: include/templates/admin/create.php:17
168
- msgid "Add signup form"
169
- msgstr "Пользовательская форма подписки"
170
-
171
- #. mailerlite
172
- #: include/templates/admin/create.php:23
173
- msgid "Webforms created using MailerLite"
174
- msgstr "Веб-формы, созданные с помощью MailerLite"
175
-
176
- #. mailerlite
177
- #: include/templates/admin/create.php:28
178
- msgid "Create form"
179
- msgstr "Создать форму"
180
-
181
- #. mailerlite
182
- #: include/templates/admin/create.php:29
183
- #: include/templates/admin/edit_custom.php:96
184
- #: include/templates/admin/edit_embedded.php:42
185
- msgid "Back"
186
- msgstr "Назад"
187
-
188
- #. mailerlite
189
- #: include/templates/admin/edit_custom.php:5
190
- msgid "Edit custom signup form"
191
- msgstr "Редактировать пользовательскую форму подписки"
192
-
193
- #. mailerlite
194
- #: include/templates/admin/edit_custom.php:7
195
- #: include/templates/admin/edit_embedded.php:7
196
- msgid "Form saved."
197
- msgstr "Форма сохранена."
198
-
199
- #. mailerlite
200
- #: include/templates/admin/edit_custom.php:7
201
- #: include/templates/admin/edit_embedded.php:7
202
- msgid "Back to forms list"
203
- msgstr "Вернуться к списку форм"
204
-
205
- #. mailerlite
206
- #: include/templates/admin/edit_custom.php:15
207
- msgid "Main information"
208
- msgstr "Основная информация"
209
-
210
- #. default
211
- #: include/templates/admin/edit_custom.php:20
212
- msgid "Form name"
213
- msgstr "Название формы"
214
-
215
- #. mailerlite
216
- #: include/templates/admin/edit_custom.php:21
217
- #: include/templates/admin/edit_embedded.php:21
218
- msgid "Tip:"
219
- msgstr "Подсказка:"
220
-
221
- #. mailerlite
222
- #: include/templates/admin/edit_custom.php:21
223
- #: include/templates/admin/edit_embedded.php:21
224
- msgid "This title won't be displayed in public!"
225
- msgstr "Это название не будет отображаться публично!"
226
-
227
- #. mailerlite
228
- #: include/templates/admin/edit_custom.php:28
229
- msgid "Form details"
230
- msgstr "Детали формы"
231
-
232
- #. mailerlite
233
- #: include/templates/admin/edit_custom.php:33
234
- #: include/templates/admin/edit_embedded.php:20
235
- msgid "Form title"
236
- msgstr "Название формы"
237
-
238
- #. mailerlite
239
- #. default
240
- #: include/templates/admin/edit_custom.php:34
241
- #: include/templates/admin/edit_custom.php:55
242
- msgid "Example:"
243
- msgstr "Пример:"
244
-
245
- #. mailerlite
246
- #: include/templates/admin/edit_custom.php:34
247
- msgid "Newsletter signup!"
248
- msgstr "Подписка на рассылку!"
249
-
250
- #. mailerlite
251
- #: include/templates/admin/edit_custom.php:37
252
- msgid "Form description"
253
- msgstr "Описание формы"
254
-
255
- #. mailerlite
256
- #: include/templates/admin/edit_custom.php:54
257
- msgid "Button title"
258
- msgstr "Название кнопки"
259
-
260
- #. mailerlite
261
- #: include/templates/admin/edit_custom.php:62
262
- msgid "Form fields and lists"
263
- msgstr "Поля формы и списки"
264
-
265
- #. mailerlite
266
- #: include/templates/admin/edit_custom.php:67
267
- msgid "Fields"
268
- msgstr "Поля"
269
-
270
- #. mailerlite
271
- #: include/templates/admin/edit_custom.php:80
272
- msgid "Lists"
273
- msgstr "Списки"
274
-
275
- #. mailerlite
276
- #: include/templates/admin/edit_custom.php:95
277
- #: include/templates/admin/edit_embedded.php:41
278
- msgid "Save form"
279
- msgstr "Сохранить форму"
280
-
281
- #. mailerlite
282
- #: include/templates/admin/edit_embedded.php:5
283
- msgid "Edit webform"
284
- msgstr "Редактировать веб-форму"
285
-
286
- #. mailerlite
287
- #: include/templates/admin/edit_embedded.php:15
288
- msgid "Webform details"
289
- msgstr "Детали веб-формы"
290
-
291
- #. mailerlite
292
- #: include/templates/admin/edit_embedded.php:24
293
- msgid "Webform"
294
- msgstr "Веб-форма"
295
-
296
- #. mailerlite
297
- #: include/templates/admin/main.php:5
298
- msgid "Add New"
299
- msgstr "Добавить новую"
300
-
301
- #. mailerlite
302
- #: include/templates/admin/main.php:14
303
- msgid "ID"
304
- msgstr "ID"
305
-
306
- #. mailerlite
307
- #: include/templates/admin/main.php:15
308
- msgid "Name"
309
- msgstr "Наименование"
310
-
311
- #. mailerlite
312
- #: include/templates/admin/main.php:16
313
- msgid "Type"
314
- msgstr "Тип"
315
-
316
- #. mailerlite
317
- #: include/templates/admin/main.php:17
318
- msgid "Date"
319
- msgstr "Дата"
320
-
321
- #. mailerlite
322
- #: include/templates/admin/main.php:29
323
- msgid "Edit"
324
- msgstr "Редактировать"
325
-
326
- #. mailerlite
327
- #: include/templates/admin/main.php:30
328
- msgid "Are you sure you want to delete this form?"
329
- msgstr "Вы уверены, что хотите удалить эту форму?"
330
-
331
- #. mailerlite
332
- #: include/templates/admin/main.php:30
333
- msgid "Delete"
334
- msgstr "Удалить"
335
-
336
- #. mailerlite
337
- #: include/templates/admin/main.php:33
338
- msgid "Custom form"
339
- msgstr "Пользовательская форма"
340
-
341
- #. mailerlite
342
- #: include/templates/admin/main.php:33
343
- msgid "Embedded form"
344
- msgstr "Встроенная форма"
345
-
346
- #. mailerlite
347
- #: include/templates/admin/main.php:42
348
- msgid "There is no signup forms created yet!"
349
- msgstr "Нет созданных форм подписки!"
350
-
351
- #. mailerlite
352
- #: include/templates/admin/main.php:43
353
- msgid "Create signup form"
354
- msgstr "Создать форму подписки"
355
-
356
- #. mailerlite
357
- #: include/templates/admin/settings.php:5
358
- msgid "Plugin settings"
359
- msgstr "Настройки плагина"
360
-
361
- #. mailerlite
362
- #: include/templates/admin/settings.php:10
363
- msgid "Here you able to change your API key!"
364
- msgstr "Здесь вы можете изменить свой ключ API!"
365
-
366
- #. mailerlite
367
- #: include/templates/admin/sidebar.php:4
368
- msgid "Need help?"
369
- msgstr "Нужна помощь?"
370
-
371
- #. mailerlite
372
- #: include/templates/admin/sidebar.php:6
373
- msgid ""
374
- "Have any questions? Stuck on something or found bug? Feel free to contact us!"
375
- msgstr ""
376
- "Есть вопросы? Застряли на каком-то моменте или нашли ошибку? Не стесняйтесь "
377
- "обратиться к нам!"
378
-
379
- #. mailerlite
380
- #: include/templates/common/tiny_mce.php:13
381
- msgid ""
382
- "Select form from list below, and hit \"Add Shortcode\" to add the shortcode "
383
- "to your post!"
384
- msgstr ""
385
- "Выберите форму из списка и нажмите \"Добавить короткий код\" для его "
386
- "добавления в свой пост!"
387
-
388
- #. mailerlite
389
- #: include/templates/common/tiny_mce.php:24
390
- msgid "Add Shortcode"
391
- msgstr "Добавить короткий код"
392
-
393
- #. mailerlite
394
- #: include/templates/forms/custom_form.php:19
395
- msgid "Please wait..."
396
- msgstr "Пожалуйста, подождите..."
397
-
398
- #. mailerlite
399
- #: include/templates/forms/custom_form.php:27
400
- msgid "Thank you for signup!"
401
- msgstr "Спасибо за подписку!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/mailerlite-sv_SE.mo DELETED
Binary file
trunk/languages/mailerlite-sv_SE.po DELETED
@@ -1,401 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "MIME-Version: 1.0\n"
4
- "Content-Type: text/plain; charset=UTF-8\n"
5
- "Content-Transfer-Encoding: 8bit\n"
6
- "X-Generator: Poedit 1.6.7\n"
7
- "Project-Id-Version: MailerLite wordpress plugin\n"
8
- "Language: sv\n"
9
- "POT-Creation-Date: \n"
10
- "PO-Revision-Date: \n"
11
- "Last-Translator: \n"
12
- "Language-Team: \n"
13
-
14
- #. mailerlite
15
- #: include/mailerlite-admin.php:52
16
- msgid "Forms"
17
- msgstr "Formulär"
18
-
19
- #. mailerlite
20
- #: include/mailerlite-admin.php:52 include/templates/admin/main.php:5
21
- msgid "Signup forms"
22
- msgstr "Prenumerationsformulär"
23
-
24
- #. mailerlite
25
- #: include/mailerlite-admin.php:53
26
- msgid "Settings"
27
- msgstr "Inställningar"
28
-
29
- #. mailerlite
30
- #: include/mailerlite-admin.php:133
31
- msgid "Subscribe for newsletter!"
32
- msgstr "Prenumerera på nyhetsbrev!"
33
-
34
- #. mailerlite
35
- #: include/mailerlite-admin.php:134 include/mailerlite-admin.php:301
36
- msgid "Newsletter signup"
37
- msgstr "Prenumeration på nyhetsbrev "
38
-
39
- #. mailerlite
40
- #: include/mailerlite-admin.php:135 include/mailerlite-admin.php:302
41
- msgid "Just simple MailerLite form!"
42
- msgstr "Enkelt Mailerlite formulär"
43
-
44
- #. mailerlite
45
- #. default
46
- #: include/mailerlite-admin.php:136 include/mailerlite-admin.php:303
47
- #: include/templates/admin/edit_custom.php:55
48
- msgid "Subscribe"
49
- msgstr "Prenumerera "
50
-
51
- #. mailerlite
52
- #: include/mailerlite-admin.php:142 include/mailerlite-admin.php:305
53
- msgid "Email"
54
- msgstr "Epost"
55
-
56
- #. mailerlite
57
- #: include/mailerlite-admin.php:198
58
- msgid "Embedded webform"
59
- msgstr "Inbäddat webbformulär"
60
-
61
- #. mailerlite
62
- #: include/mailerlite-admin.php:267
63
- msgid "You not allowed to do that"
64
- msgstr "Detta är inte tillåtet "
65
-
66
- #. mailerlite
67
- #: include/mailerlite-admin.php:277
68
- msgid "Wrong MailerLite API key"
69
- msgstr "Felaktig MailerLite API nyckel"
70
-
71
- #. mailerlite
72
- #: include/mailerlite-admin.php:299
73
- msgid "New custom signup form"
74
- msgstr "Nytt anpassat registreringsformulär"
75
-
76
- #. mailerlite
77
- #: include/mailerlite-admin.php:310
78
- msgid "New embedded signup form"
79
- msgstr "Nytt inbäddat registreringsformulär"
80
-
81
- #. mailerlite
82
- #: include/mailerlite-form.php:75
83
- msgid "Subscriber successfully saved"
84
- msgstr "Prenumerant har sparats"
85
-
86
- #. mailerlite
87
- #: include/mailerlite-form.php:79
88
- msgid "Form not found"
89
- msgstr "Formuläret hittades inte"
90
-
91
- #. mailerlite
92
- #: include/mailerlite-form.php:84
93
- msgid "Wrong data provided"
94
- msgstr "Felaktiga uppgifter har lämnats"
95
-
96
- #. mailerlite
97
- #: include/mailerlite-widget.php:13
98
- msgid "Mailerlite sign up form"
99
- msgstr "Mailerlite registreringsformulär"
100
-
101
- #. mailerlite
102
- #: include/mailerlite-widget.php:14
103
- msgid "MailerLite sign up form Widget"
104
- msgstr "Mailerlite registreringsformulär Widget"
105
-
106
- #. mailerlite
107
- #: include/mailerlite-widget.php:66
108
- msgid "Select form:"
109
- msgstr "Välj formulär:"
110
-
111
- #. mailerlite
112
- #: include/templates/admin/api_key.php:8
113
- msgid ""
114
- "Hi there! You will be able to create awesome signup forms, but first we need "
115
- "your MailerLite API key!"
116
- msgstr ""
117
- "Hej där! Du kommer att kunna skapa fantastiska registreringsformulär, men "
118
- "först behöver vi din MailerLite API-nyckel!"
119
-
120
- #. mailerlite
121
- #: include/templates/admin/api_key.php:17
122
- #: include/templates/admin/settings.php:19
123
- msgid "Enter an API key"
124
- msgstr "Ange en API nyckel"
125
-
126
- #. mailerlite
127
- #: include/templates/admin/api_key.php:18
128
- #: include/templates/admin/settings.php:20
129
- msgid "Don't know where to find it?"
130
- msgstr "Vet du inte var den finns?"
131
-
132
- #. mailerlite
133
- #: include/templates/admin/api_key.php:18
134
- #: include/templates/admin/settings.php:20
135
- msgid "Check it here!"
136
- msgstr "Kolla här!"
137
-
138
- #. mailerlite
139
- #: include/templates/admin/api_key.php:23
140
- #: include/templates/admin/settings.php:25
141
- msgid "Save this key"
142
- msgstr "Spara den här nyckeln"
143
-
144
- #. mailerlite
145
- #: include/templates/admin/api_key.php:29
146
- #: include/templates/admin/settings.php:31
147
- msgid "Don't have an account?"
148
- msgstr "Har du inget konto?"
149
-
150
- #. mailerlite
151
- #: include/templates/admin/api_key.php:30
152
- #: include/templates/admin/settings.php:32
153
- msgid "Register!"
154
- msgstr "Registrera!"
155
-
156
- #. mailerlite
157
- #: include/templates/admin/create.php:5
158
- msgid "Create new signup form"
159
- msgstr "Skapa ett nytt registreringsformulär"
160
-
161
- #. mailerlite
162
- #: include/templates/admin/create.php:11
163
- msgid "Form type"
164
- msgstr "Typ av formulär"
165
-
166
- #. mailerlite
167
- #: include/templates/admin/create.php:17
168
- msgid "Custom signup form"
169
- msgstr "Anpassat registreringsformulär"
170
-
171
- #. mailerlite
172
- #: include/templates/admin/create.php:23
173
- msgid "Webforms created using MailerLite"
174
- msgstr "Webbformulär som skapats med MailerLite"
175
-
176
- #. mailerlite
177
- #: include/templates/admin/create.php:28
178
- msgid "Create form"
179
- msgstr "Skapa formulär"
180
-
181
- #. mailerlite
182
- #: include/templates/admin/create.php:29
183
- #: include/templates/admin/edit_custom.php:96
184
- #: include/templates/admin/edit_embedded.php:42
185
- msgid "Back"
186
- msgstr "Tillbaka"
187
-
188
- #. mailerlite
189
- #: include/templates/admin/edit_custom.php:5
190
- msgid "Edit custom signup form"
191
- msgstr "Redigera anpassat registreringsformulär"
192
-
193
- #. mailerlite
194
- #: include/templates/admin/edit_custom.php:7
195
- #: include/templates/admin/edit_embedded.php:7
196
- msgid "Form saved."
197
- msgstr "Formuläret är sparat."
198
-
199
- #. mailerlite
200
- #: include/templates/admin/edit_custom.php:7
201
- #: include/templates/admin/edit_embedded.php:7
202
- msgid "Back to forms list"
203
- msgstr "Tillbaka till lista över formulär"
204
-
205
- #. mailerlite
206
- #: include/templates/admin/edit_custom.php:15
207
- msgid "Main information"
208
- msgstr "Huvudinformation"
209
-
210
- #. default
211
- #: include/templates/admin/edit_custom.php:20
212
- msgid "Form name"
213
- msgstr "Formulärets namn"
214
-
215
- #. mailerlite
216
- #: include/templates/admin/edit_custom.php:21
217
- #: include/templates/admin/edit_embedded.php:21
218
- msgid "Tip:"
219
- msgstr "Tips:"
220
-
221
- #. mailerlite
222
- #: include/templates/admin/edit_custom.php:21
223
- #: include/templates/admin/edit_embedded.php:21
224
- msgid "This title won't be displayed in public!"
225
- msgstr "Den här rubriken kommer inte att visas offentligt!"
226
-
227
- #. mailerlite
228
- #: include/templates/admin/edit_custom.php:28
229
- msgid "Form details"
230
- msgstr "Formulärets detaljer"
231
-
232
- #. mailerlite
233
- #: include/templates/admin/edit_custom.php:33
234
- #: include/templates/admin/edit_embedded.php:20
235
- msgid "Form title"
236
- msgstr "Formulärets rubrik"
237
-
238
- #. mailerlite
239
- #. default
240
- #: include/templates/admin/edit_custom.php:34
241
- #: include/templates/admin/edit_custom.php:55
242
- msgid "Example:"
243
- msgstr "Exempel:"
244
-
245
- #. mailerlite
246
- #: include/templates/admin/edit_custom.php:34
247
- msgid "Newsletter signup!"
248
- msgstr "Prenumeration av nyhetsbrev!"
249
-
250
- #. mailerlite
251
- #: include/templates/admin/edit_custom.php:37
252
- msgid "Form description"
253
- msgstr "Beskrivning av formulär"
254
-
255
- #. mailerlite
256
- #: include/templates/admin/edit_custom.php:54
257
- msgid "Button title"
258
- msgstr "Knappens rubrik"
259
-
260
- #. mailerlite
261
- #: include/templates/admin/edit_custom.php:62
262
- msgid "Form fields and lists"
263
- msgstr "Formulärfält och listor"
264
-
265
- #. mailerlite
266
- #: include/templates/admin/edit_custom.php:67
267
- msgid "Fields"
268
- msgstr "Fält"
269
-
270
- #. mailerlite
271
- #: include/templates/admin/edit_custom.php:80
272
- msgid "Lists"
273
- msgstr "Listor"
274
-
275
- #. mailerlite
276
- #: include/templates/admin/edit_custom.php:95
277
- #: include/templates/admin/edit_embedded.php:41
278
- msgid "Save form"
279
- msgstr "Spara formulär"
280
-
281
- #. mailerlite
282
- #: include/templates/admin/edit_embedded.php:5
283
- msgid "Edit webform"
284
- msgstr "Redigera webb-formulär"
285
-
286
- #. mailerlite
287
- #: include/templates/admin/edit_embedded.php:15
288
- msgid "Webform details"
289
- msgstr "Webb-formulärets detaljer"
290
-
291
- #. mailerlite
292
- #: include/templates/admin/edit_embedded.php:24
293
- msgid "Webform"
294
- msgstr "Webb-formulär"
295
-
296
- #. mailerlite
297
- #: include/templates/admin/main.php:5
298
- msgid "Add New"
299
- msgstr "Lägg till nytt"
300
-
301
- #. mailerlite
302
- #: include/templates/admin/main.php:14
303
- msgid "ID"
304
- msgstr "ID"
305
-
306
- #. mailerlite
307
- #: include/templates/admin/main.php:15
308
- msgid "Name"
309
- msgstr "Namn"
310
-
311
- #. mailerlite
312
- #: include/templates/admin/main.php:16
313
- msgid "Type"
314
- msgstr "Typ"
315
-
316
- #. mailerlite
317
- #: include/templates/admin/main.php:17
318
- msgid "Date"
319
- msgstr "Datum"
320
-
321
- #. mailerlite
322
- #: include/templates/admin/main.php:29
323
- msgid "Edit"
324
- msgstr "Redigera"
325
-
326
- #. mailerlite
327
- #: include/templates/admin/main.php:30
328
- msgid "Are you sure you want to delete this form?"
329
- msgstr "Är du säker på att du vill radera det här formuläret?"
330
-
331
- #. mailerlite
332
- #: include/templates/admin/main.php:30
333
- msgid "Delete"
334
- msgstr "Radera"
335
-
336
- #. mailerlite
337
- #: include/templates/admin/main.php:33
338
- msgid "Custom form"
339
- msgstr "Anpassat formulär"
340
-
341
- #. mailerlite
342
- #: include/templates/admin/main.php:33
343
- msgid "Embedded form"
344
- msgstr "Inbäddat formulär"
345
-
346
- #. mailerlite
347
- #: include/templates/admin/main.php:42
348
- msgid "There is no signup forms created yet!"
349
- msgstr "Det finns inget registreringsformulär skapat ännu"
350
-
351
- #. mailerlite
352
- #: include/templates/admin/main.php:43
353
- msgid "Create signup form"
354
- msgstr "Skapa registreringsformulär "
355
-
356
- #. mailerlite
357
- #: include/templates/admin/settings.php:5
358
- msgid "Plugin settings"
359
- msgstr "Inställningar för Plugin"
360
-
361
- #. mailerlite
362
- #: include/templates/admin/settings.php:10
363
- msgid "Here you able to change your API key!"
364
- msgstr "Här kan du ändra din API nyckel"
365
-
366
- #. mailerlite
367
- #: include/templates/admin/sidebar.php:4
368
- msgid "Need help?"
369
- msgstr "Behöver du hjälp?"
370
-
371
- #. mailerlite
372
- #: include/templates/admin/sidebar.php:6
373
- msgid ""
374
- "Have any questions? Stuck on something or found bug? Feel free to contact us!"
375
- msgstr ""
376
- "Har du några frågor? Fastnat på något eller hittat en bugg? Tveka inte att "
377
- "kontakta oss!"
378
-
379
- #. mailerlite
380
- #: include/templates/common/tiny_mce.php:13
381
- msgid ""
382
- "Select form from list below, and hit \"Add Shortcode\" to add the shortcode "
383
- "to your post!"
384
- msgstr ""
385
- "Välj formuläret från listan nedan, och tryck på \"Lägg till shortkod \" för "
386
- "att lägga in shortkoden i ditt inlägg!"
387
-
388
- #. mailerlite
389
- #: include/templates/common/tiny_mce.php:24
390
- msgid "Add Shortcode"
391
- msgstr "Lägg till shortkod"
392
-
393
- #. mailerlite
394
- #: include/templates/forms/custom_form.php:19
395
- msgid "Please wait..."
396
- msgstr "Vänligen vänta..."
397
-
398
- #. mailerlite
399
- #: include/templates/forms/custom_form.php:27
400
- msgid "Thank you for signup!"
401
- msgstr "Tack för din prenumeration!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/mailerlite-uk_UA.mo DELETED
Binary file
trunk/languages/mailerlite-uk_UA.po DELETED
@@ -1,401 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "MIME-Version: 1.0\n"
4
- "Content-Type: text/plain; charset=UTF-8\n"
5
- "Content-Transfer-Encoding: 8bit\n"
6
- "X-Generator: Poedit 1.6.7\n"
7
- "Project-Id-Version: MailerLite wordpress plugin\n"
8
- "Language: uk\n"
9
- "POT-Creation-Date: \n"
10
- "PO-Revision-Date: \n"
11
- "Last-Translator: \n"
12
- "Language-Team: \n"
13
-
14
- #. mailerlite
15
- #: include/mailerlite-admin.php:52
16
- msgid "Forms"
17
- msgstr "Форми"
18
-
19
- #. mailerlite
20
- #: include/mailerlite-admin.php:52 include/templates/admin/main.php:5
21
- msgid "Signup forms"
22
- msgstr "Форми підписки"
23
-
24
- #. mailerlite
25
- #: include/mailerlite-admin.php:53
26
- msgid "Settings"
27
- msgstr "Налаштування"
28
-
29
- #. mailerlite
30
- #: include/mailerlite-admin.php:133
31
- msgid "Subscribe for newsletter!"
32
- msgstr "Підпишіться на новини!"
33
-
34
- #. mailerlite
35
- #: include/mailerlite-admin.php:134 include/mailerlite-admin.php:301
36
- msgid "Newsletter signup"
37
- msgstr "Підписка на новини"
38
-
39
- #. mailerlite
40
- #: include/mailerlite-admin.php:135 include/mailerlite-admin.php:302
41
- msgid "Just simple MailerLite form!"
42
- msgstr "Проста форма підписки MailerLite!"
43
-
44
- #. mailerlite
45
- #. default
46
- #: include/mailerlite-admin.php:136 include/mailerlite-admin.php:303
47
- #: include/templates/admin/edit_custom.php:55
48
- msgid "Subscribe"
49
- msgstr "Підписатися"
50
-
51
- #. mailerlite
52
- #: include/mailerlite-admin.php:142 include/mailerlite-admin.php:305
53
- msgid "Email"
54
- msgstr "Email"
55
-
56
- #. mailerlite
57
- #: include/mailerlite-admin.php:198
58
- msgid "Embedded webform"
59
- msgstr "Вбудована веб-форма"
60
-
61
- #. mailerlite
62
- #: include/mailerlite-admin.php:267
63
- msgid "You not allowed to do that"
64
- msgstr "Заборонена дія"
65
-
66
- #. mailerlite
67
- #: include/mailerlite-admin.php:277
68
- msgid "Wrong MailerLite API key"
69
- msgstr "Некоректний MailerLite API ключ"
70
-
71
- #. mailerlite
72
- #: include/mailerlite-admin.php:299
73
- msgid "New custom signup form"
74
- msgstr "Нова форма підписки користувача"
75
-
76
- #. mailerlite
77
- #: include/mailerlite-admin.php:310
78
- msgid "New embedded signup form"
79
- msgstr "Нова вбудована веб-форма"
80
-
81
- #. mailerlite
82
- #: include/mailerlite-form.php:75
83
- msgid "Subscriber successfully saved"
84
- msgstr "Інформація успішно збережена"
85
-
86
- #. mailerlite
87
- #: include/mailerlite-form.php:79
88
- msgid "Form not found"
89
- msgstr "Форма не знайдена"
90
-
91
- #. mailerlite
92
- #: include/mailerlite-form.php:84
93
- msgid "Wrong data provided"
94
- msgstr "Надані некоректні дані"
95
-
96
- #. mailerlite
97
- #: include/mailerlite-widget.php:13
98
- msgid "Mailerlite sign up form"
99
- msgstr "Форма підписки Mailerlite"
100
-
101
- #. mailerlite
102
- #: include/mailerlite-widget.php:14
103
- msgid "MailerLite sign up form Widget"
104
- msgstr "Віджет форми підписки Mailerlite"
105
-
106
- #. mailerlite
107
- #: include/mailerlite-widget.php:66
108
- msgid "Select form:"
109
- msgstr "Виберіть форму:"
110
-
111
- #. mailerlite
112
- #: include/templates/admin/api_key.php:8
113
- msgid ""
114
- "Hi there! You will be able to create awesome signup forms, but first we need "
115
- "your MailerLite API key!"
116
- msgstr ""
117
- "Вітаємо! Ви зможете створювати красиві форми підписки, але спочатку просимо "
118
- "надати ваш MailerLite API ключ!"
119
-
120
- #. mailerlite
121
- #: include/templates/admin/api_key.php:17
122
- #: include/templates/admin/settings.php:19
123
- msgid "Enter an API key"
124
- msgstr "Введіть ключ API"
125
-
126
- #. mailerlite
127
- #: include/templates/admin/api_key.php:18
128
- #: include/templates/admin/settings.php:20
129
- msgid "Don't know where to find it?"
130
- msgstr "Не знаєте, де його знайти?"
131
-
132
- #. mailerlite
133
- #: include/templates/admin/api_key.php:18
134
- #: include/templates/admin/settings.php:20
135
- msgid "Check it here!"
136
- msgstr "Перевірте тут!"
137
-
138
- #. mailerlite
139
- #: include/templates/admin/api_key.php:23
140
- #: include/templates/admin/settings.php:25
141
- msgid "Save this key"
142
- msgstr "Зберегти ключ"
143
-
144
- #. mailerlite
145
- #: include/templates/admin/api_key.php:29
146
- #: include/templates/admin/settings.php:31
147
- msgid "Don't have an account?"
148
- msgstr "У вас немає аккаунта?"
149
-
150
- #. mailerlite
151
- #: include/templates/admin/api_key.php:30
152
- #: include/templates/admin/settings.php:32
153
- msgid "Register!"
154
- msgstr "Зареєструватися!"
155
-
156
- #. mailerlite
157
- #: include/templates/admin/create.php:5
158
- msgid "Create new signup form"
159
- msgstr "Створити нову форму підписки"
160
-
161
- #. mailerlite
162
- #: include/templates/admin/create.php:11
163
- msgid "Form type"
164
- msgstr "Тип форми"
165
-
166
- #. mailerlite
167
- #: include/templates/admin/create.php:17
168
- msgid "Custom signup form"
169
- msgstr "Форма підписки користувача"
170
-
171
- #. mailerlite
172
- #: include/templates/admin/create.php:23
173
- msgid "Webforms created using MailerLite"
174
- msgstr "Веб-форми, створені за допомогою MailerLite"
175
-
176
- #. mailerlite
177
- #: include/templates/admin/create.php:28
178
- msgid "Create form"
179
- msgstr "Створити форму"
180
-
181
- #. mailerlite
182
- #: include/templates/admin/create.php:29
183
- #: include/templates/admin/edit_custom.php:96
184
- #: include/templates/admin/edit_embedded.php:42
185
- msgid "Back"
186
- msgstr "Назад"
187
-
188
- #. mailerlite
189
- #: include/templates/admin/edit_custom.php:5
190
- msgid "Edit custom signup form"
191
- msgstr "Редагувати форму підписки користувача"
192
-
193
- #. mailerlite
194
- #: include/templates/admin/edit_custom.php:7
195
- #: include/templates/admin/edit_embedded.php:7
196
- msgid "Form saved."
197
- msgstr "Форма збережена."
198
-
199
- #. mailerlite
200
- #: include/templates/admin/edit_custom.php:7
201
- #: include/templates/admin/edit_embedded.php:7
202
- msgid "Back to forms list"
203
- msgstr "Повернутися до списку форм"
204
-
205
- #. mailerlite
206
- #: include/templates/admin/edit_custom.php:15
207
- msgid "Main information"
208
- msgstr "Основна інформація"
209
-
210
- #. default
211
- #: include/templates/admin/edit_custom.php:20
212
- msgid "Form name"
213
- msgstr "Назва форми"
214
-
215
- #. mailerlite
216
- #: include/templates/admin/edit_custom.php:21
217
- #: include/templates/admin/edit_embedded.php:21
218
- msgid "Tip:"
219
- msgstr "Підказка:"
220
-
221
- #. mailerlite
222
- #: include/templates/admin/edit_custom.php:21
223
- #: include/templates/admin/edit_embedded.php:21
224
- msgid "This title won't be displayed in public!"
225
- msgstr "Ця назва не буде відображатися публічно!"
226
-
227
- #. mailerlite
228
- #: include/templates/admin/edit_custom.php:28
229
- msgid "Form details"
230
- msgstr "Деталі форми"
231
-
232
- #. mailerlite
233
- #: include/templates/admin/edit_custom.php:33
234
- #: include/templates/admin/edit_embedded.php:20
235
- msgid "Form title"
236
- msgstr "Назва форми"
237
-
238
- #. mailerlite
239
- #. default
240
- #: include/templates/admin/edit_custom.php:34
241
- #: include/templates/admin/edit_custom.php:55
242
- msgid "Example:"
243
- msgstr "Приклад"
244
-
245
- #. mailerlite
246
- #: include/templates/admin/edit_custom.php:34
247
- msgid "Newsletter signup!"
248
- msgstr "Підписка на розсилку!"
249
-
250
- #. mailerlite
251
- #: include/templates/admin/edit_custom.php:37
252
- msgid "Form description"
253
- msgstr "Опис форми"
254
-
255
- #. mailerlite
256
- #: include/templates/admin/edit_custom.php:54
257
- msgid "Button title"
258
- msgstr "Назва кнопки"
259
-
260
- #. mailerlite
261
- #: include/templates/admin/edit_custom.php:62
262
- msgid "Form fields and lists"
263
- msgstr "Поля форми і списки"
264
-
265
- #. mailerlite
266
- #: include/templates/admin/edit_custom.php:67
267
- msgid "Fields"
268
- msgstr "Поля"
269
-
270
- #. mailerlite
271
- #: include/templates/admin/edit_custom.php:80
272
- msgid "Lists"
273
- msgstr "Списки"
274
-
275
- #. mailerlite
276
- #: include/templates/admin/edit_custom.php:95
277
- #: include/templates/admin/edit_embedded.php:41
278
- msgid "Save form"
279
- msgstr "Зберегти форму"
280
-
281
- #. mailerlite
282
- #: include/templates/admin/edit_embedded.php:5
283
- msgid "Edit webform"
284
- msgstr "Редагувати веб-форму"
285
-
286
- #. mailerlite
287
- #: include/templates/admin/edit_embedded.php:15
288
- msgid "Webform details"
289
- msgstr "Деталі веб-форми"
290
-
291
- #. mailerlite
292
- #: include/templates/admin/edit_embedded.php:24
293
- msgid "Webform"
294
- msgstr "Веб-форма"
295
-
296
- #. mailerlite
297
- #: include/templates/admin/main.php:5
298
- msgid "Add New"
299
- msgstr "Додати нову"
300
-
301
- #. mailerlite
302
- #: include/templates/admin/main.php:14
303
- msgid "ID"
304
- msgstr "ID"
305
-
306
- #. mailerlite
307
- #: include/templates/admin/main.php:15
308
- msgid "Name"
309
- msgstr "Назва"
310
-
311
- #. mailerlite
312
- #: include/templates/admin/main.php:16
313
- msgid "Type"
314
- msgstr "Тип"
315
-
316
- #. mailerlite
317
- #: include/templates/admin/main.php:17
318
- msgid "Date"
319
- msgstr "Дата"
320
-
321
- #. mailerlite
322
- #: include/templates/admin/main.php:29
323
- msgid "Edit"
324
- msgstr "Редагувати"
325
-
326
- #. mailerlite
327
- #: include/templates/admin/main.php:30
328
- msgid "Are you sure you want to delete this form?"
329
- msgstr "Ви впевнені, що хочете видалити цю форму?"
330
-
331
- #. mailerlite
332
- #: include/templates/admin/main.php:30
333
- msgid "Delete"
334
- msgstr "Видалити"
335
-
336
- #. mailerlite
337
- #: include/templates/admin/main.php:33
338
- msgid "Custom form"
339
- msgstr "Форма користувача"
340
-
341
- #. mailerlite
342
- #: include/templates/admin/main.php:33
343
- msgid "Embedded form"
344
- msgstr "Вбудована форма"
345
-
346
- #. mailerlite
347
- #: include/templates/admin/main.php:42
348
- msgid "There is no signup forms created yet!"
349
- msgstr "Немає створених форм підписки!"
350
-
351
- #. mailerlite
352
- #: include/templates/admin/main.php:43
353
- msgid "Add signup form"
354
- msgstr "Створити форму підписки"
355
-
356
- #. mailerlite
357
- #: include/templates/admin/settings.php:5
358
- msgid "Plugin settings"
359
- msgstr "Налаштування плагіна"
360
-
361
- #. mailerlite
362
- #: include/templates/admin/settings.php:10
363
- msgid "Here you able to change your API key!"
364
- msgstr "Тут ви можете змінити свій ключ API!"
365
-
366
- #. mailerlite
367
- #: include/templates/admin/sidebar.php:4
368
- msgid "Need help?"
369
- msgstr "Потрібна допомога?"
370
-
371
- #. mailerlite
372
- #: include/templates/admin/sidebar.php:6
373
- msgid ""
374
- "Have any questions? Stuck on something or found bug? Feel free to contact us!"
375
- msgstr ""
376
- "З'явилися питання? Застрягли на якомусь моменті або знайшли помилку? Не "
377
- "соромтеся звернутися до нас!"
378
-
379
- #. mailerlite
380
- #: include/templates/common/tiny_mce.php:13
381
- msgid ""
382
- "Select form from list below, and hit \"Add Shortcode\" to add the shortcode "
383
- "to your post!"
384
- msgstr ""
385
- "Виберіть форму зі списку і натисніть «Додати короткий код\", щоб додати його "
386
- "до свого посту!"
387
-
388
- #. mailerlite
389
- #: include/templates/common/tiny_mce.php:24
390
- msgid "Add Shortcode"
391
- msgstr "Додати короткий код"
392
-
393
- #. mailerlite
394
- #: include/templates/forms/custom_form.php:19
395
- msgid "Please wait..."
396
- msgstr "Будь ласка, зачекайте..."
397
-
398
- #. mailerlite
399
- #: include/templates/forms/custom_form.php:27
400
- msgid "Thank you for signup!"
401
- msgstr "Дякуємо за підписку!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/libs/mailerlite_rest/ML_Campaigns.php DELETED
@@ -1,55 +0,0 @@
1
- <?php
2
-
3
- require_once dirname(__FILE__) . '/base/ML_Rest.php';
4
-
5
- class ML_Campaigns extends ML_Rest
6
- {
7
- function ML_Campaigns($api_key)
8
- {
9
- $this->name = 'campaigns';
10
-
11
- parent::__construct($api_key);
12
- }
13
-
14
- function getRecipients()
15
- {
16
- $this->path .= 'recipients/';
17
-
18
- return $this->execute('GET');
19
- }
20
-
21
- function getOpens()
22
- {
23
- $this->path .= 'opens/';
24
-
25
- return $this->execute('GET');
26
- }
27
-
28
- function getClicks()
29
- {
30
- $this->path .= 'clicks/';
31
-
32
- return $this->execute('GET');
33
- }
34
-
35
- function getUnsubscribes()
36
- {
37
- $this->path .= 'unsubscribes/';
38
-
39
- return $this->execute('GET');
40
- }
41
-
42
- function getBounces()
43
- {
44
- $this->path .= 'bounces/';
45
-
46
- return $this->execute('GET');
47
- }
48
-
49
- function getJunk()
50
- {
51
- $this->path .= 'junks/';
52
-
53
- return $this->execute('GET');
54
- }
55
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/libs/mailerlite_rest/ML_Lists.php DELETED
@@ -1,40 +0,0 @@
1
- <?php
2
-
3
- require_once dirname(__FILE__) . '/base/ML_Rest.php';
4
-
5
- class ML_Lists extends ML_Rest
6
- {
7
- function ML_Lists($api_key)
8
- {
9
- $this->name = 'lists';
10
-
11
- parent::__construct($api_key);
12
- }
13
-
14
- function getActive()
15
- {
16
- $this->path .= 'active/';
17
-
18
- return $this->execute('GET');
19
- }
20
-
21
- function getUnsubscribed()
22
- {
23
- $this->path .= 'unsubscribed/';
24
-
25
- return $this->execute('GET');
26
- }
27
-
28
- function getBounced()
29
- {
30
- $this->path .= 'bounced/';
31
-
32
- return $this->execute('GET');
33
- }
34
-
35
- function getFields()
36
- {
37
- $this->path .= 'fields/';
38
- return $this->execute('GET');
39
- }
40
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/libs/mailerlite_rest/ML_Subscribers.php DELETED
@@ -1,57 +0,0 @@
1
- <?php
2
-
3
- require_once dirname(__FILE__) . '/base/ML_Rest.php';
4
-
5
- class ML_Subscribers extends ML_Rest
6
- {
7
- public function ML_Subscribers($api_key)
8
- {
9
- $this->name = 'subscribers';
10
-
11
- parent::__construct($api_key);
12
- }
13
-
14
- function add($subscriber = null, $resubscribe = 0)
15
- {
16
- $subscriber['resubscribe'] = $resubscribe;
17
-
18
- return $this->execute('POST', $subscriber);
19
- }
20
-
21
- function addAll($subscribers, $resubscribe = 0)
22
- {
23
- $data['resubscribe'] = $resubscribe;
24
-
25
- $data['subscribers'] = $subscribers;
26
-
27
- $this->path .= 'import/';
28
-
29
- return $this->execute('POST', $data);
30
- }
31
-
32
- function get($email = null, $history = 0)
33
- {
34
- $this->setId(null);
35
-
36
- $this->path .= '?email=' . urlencode($email);
37
-
38
- if ($history)
39
- $this->path .= '&history=1';
40
-
41
- return $this->execute('GET');
42
- }
43
-
44
- function remove($email = null)
45
- {
46
- $this->path .= '?email=' . urlencode($email);
47
-
48
- return $this->execute('DELETE');
49
- }
50
-
51
- function unsubscribe($email)
52
- {
53
- $this->path .= 'unsubscribe/?email=' . urlencode($email);
54
-
55
- return $this->execute('POST');
56
- }
57
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/libs/mailerlite_rest/ML_Webforms.php DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
-
3
- require_once dirname(__FILE__) . '/base/ML_Rest.php';
4
-
5
- class ML_Webforms extends ML_Rest
6
- {
7
- function ML_Webforms($api_key)
8
- {
9
- $this->name = 'webforms';
10
-
11
- parent::__construct($api_key);
12
- }
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/libs/mailerlite_rest/base/ML_Rest.php DELETED
@@ -1,59 +0,0 @@
1
- <?php
2
-
3
- require_once dirname(__FILE__) . '/ML_Rest_Base.php';
4
-
5
- class ML_Rest extends ML_Rest_Base
6
- {
7
- var $name = '';
8
-
9
- var $id = null;
10
-
11
- function __construct($api_key)
12
- {
13
- parent::__construct();
14
-
15
- $this->apiKey = $api_key;
16
-
17
- $this->path = $this->url . $this->name . '/';
18
- }
19
-
20
- function setId($id)
21
- {
22
- $this->id = $id;
23
-
24
- if ($this->id)
25
- $this->path = $this->url . $this->name . '/' . $id . '/';
26
- else
27
- $this->path = $this->url . $this->name . '/';
28
-
29
- return $this;
30
- }
31
-
32
- function getAll()
33
- {
34
- return $this->execute('GET');
35
- }
36
-
37
- function get($data = null)
38
- {
39
- if (!$this->id)
40
- throw new InvalidArgumentException('ID is not set.');
41
-
42
- return $this->execute('GET');
43
- }
44
-
45
- function add($data = null)
46
- {
47
- return $this->execute('POST', $data);
48
- }
49
-
50
- function put($data = null)
51
- {
52
- return $this->execute('PUT', $data);
53
- }
54
-
55
- function remove($data = null)
56
- {
57
- return $this->execute('DELETE');
58
- }
59
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/libs/mailerlite_rest/base/ML_Rest_Base.php DELETED
@@ -1,226 +0,0 @@
1
- <?php
2
-
3
- class ML_Rest_Base
4
- {
5
- protected $url;
6
- protected $verb;
7
- protected $requestBody;
8
- protected $requestLength;
9
- protected $username;
10
- protected $password;
11
- protected $acceptType;
12
- protected $responseBody;
13
- protected $responseInfo;
14
-
15
- protected $apiKey = '';
16
- protected $path = '';
17
-
18
- public function __construct($url = 'https://app.mailerlite.com/api/v1/', $verb = 'GET')
19
- {
20
- $this->url = $url;
21
- $this->verb = $verb;
22
- $this->requestLength = 0;
23
- $this->username = null;
24
- $this->password = null;
25
- $this->acceptType = 'application/json';
26
- $this->responseBody = null;
27
- $this->responseInfo = null;
28
- }
29
-
30
- public function flush()
31
- {
32
- $this->requestBody = null;
33
- $this->requestLength = 0;
34
- $this->verb = 'GET';
35
- $this->responseBody = null;
36
- $this->responseInfo = null;
37
- }
38
-
39
- public function execute($method = null, $data = null)
40
- {
41
- $ch = curl_init();
42
- $this->setAuth($ch);
43
-
44
- if ($method)
45
- $this->verb = $method;
46
-
47
- $this->requestBody = $data;
48
-
49
- $this->buildPostBody();
50
-
51
- try {
52
- switch (strtoupper($this->verb)) {
53
- case 'GET':
54
- $this->executeGet($ch);
55
- break;
56
- case 'POST':
57
- $this->executePost($ch);
58
- break;
59
- case 'PUT':
60
- $this->executePut($ch);
61
- break;
62
- case 'DELETE':
63
- $this->executeDelete($ch);
64
- break;
65
- default:
66
- throw new InvalidArgumentException('Current verb (' . $this->verb . ') is an invalid REST verb.');
67
- }
68
- } catch (InvalidArgumentException $e) {
69
- curl_close($ch);
70
- throw $e;
71
- } catch (Exception $e) {
72
- curl_close($ch);
73
- throw $e;
74
- }
75
-
76
- return $this->responseBody;
77
- }
78
-
79
- public function buildPostBody()
80
- {
81
- $data = $this->requestBody;
82
-
83
- $data['apiKey'] = $this->apiKey;
84
-
85
- if (!is_array($data)) {
86
- throw new InvalidArgumentException('Invalid data input for postBody. Array expected');
87
- }
88
-
89
- $data = http_build_query($data, '', '&');
90
- $this->requestBody = $data;
91
- }
92
-
93
- protected function executeGet($ch)
94
- {
95
- $this->path .= (strpos($this->path, '?') === false ? '?' : '&') . $this->requestBody;
96
-
97
- $this->doExecute($ch);
98
- }
99
-
100
- protected function executePost($ch)
101
- {
102
- curl_setopt($ch, CURLOPT_POSTFIELDS, $this->requestBody);
103
- curl_setopt($ch, CURLOPT_POST, 1);
104
-
105
- $this->doExecute($ch);
106
- }
107
-
108
- protected function executePut($ch)
109
- {
110
- $this->requestLength = strlen($this->requestBody);
111
-
112
- $fh = fopen('php://memory', 'rw');
113
- fwrite($fh, $this->requestBody);
114
- rewind($fh);
115
-
116
- curl_setopt($ch, CURLOPT_INFILE, $fh);
117
- curl_setopt($ch, CURLOPT_INFILESIZE, $this->requestLength);
118
- curl_setopt($ch, CURLOPT_PUT, true);
119
-
120
- $this->doExecute($ch);
121
-
122
- fclose($fh);
123
- }
124
-
125
- protected function executeDelete($ch)
126
- {
127
- $this->path .= (strpos($this->path, '?') === false ? '?' : '&') . $this->requestBody;
128
-
129
- curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
130
-
131
- $this->doExecute($ch);
132
- }
133
-
134
- protected function doExecute(&$curlHandle)
135
- {
136
- $this->setCurlOpts($curlHandle);
137
- $this->responseBody = curl_exec($curlHandle);
138
-
139
- $this->responseInfo = curl_getinfo($curlHandle);
140
-
141
- curl_close($curlHandle);
142
- }
143
-
144
- protected function setCurlOpts(&$curlHandle)
145
- {
146
- curl_setopt($curlHandle, CURLOPT_TIMEOUT, 10);
147
- curl_setopt($curlHandle, CURLOPT_URL, $this->path);
148
- curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, true);
149
- curl_setopt($curlHandle, CURLOPT_HTTPHEADER, array('Accept: ' . $this->acceptType));
150
-
151
- curl_setopt($curlHandle, CURLOPT_SSL_VERIFYHOST, false);
152
- curl_setopt($curlHandle, CURLOPT_SSL_VERIFYPEER, false);
153
-
154
- if (!ini_get('open_basedir') && !ini_get('safe_mode')) {
155
- curl_setopt($curlHandle, CURLOPT_FOLLOWLOCATION, true);
156
- }
157
- }
158
-
159
- protected function setAuth(&$curlHandle)
160
- {
161
- if ($this->username !== null && $this->password !== null) {
162
- curl_setopt($curlHandle, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);
163
- curl_setopt($curlHandle, CURLOPT_USERPWD, $this->username . ':' . $this->password);
164
- }
165
- }
166
-
167
- public function getAcceptType()
168
- {
169
- return $this->acceptType;
170
- }
171
-
172
- public function setAcceptType($acceptType)
173
- {
174
- $this->acceptType = $acceptType;
175
- }
176
-
177
- public function getPassword()
178
- {
179
- return $this->password;
180
- }
181
-
182
- public function setPassword($password)
183
- {
184
- $this->password = $password;
185
- }
186
-
187
- public function getResponseBody()
188
- {
189
- return $this->responseBody;
190
- }
191
-
192
- public function getResponseInfo()
193
- {
194
- return $this->responseInfo;
195
- }
196
-
197
- public function getUrl()
198
- {
199
- return $this->url;
200
- }
201
-
202
- public function setUrl($url)
203
- {
204
- $this->url = $url;
205
- }
206
-
207
- public function getUsername()
208
- {
209
- return $this->username;
210
- }
211
-
212
- public function setUsername($username)
213
- {
214
- $this->username = $username;
215
- }
216
-
217
- public function getVerb()
218
- {
219
- return $this->verb;
220
- }
221
-
222
- public function setVerb($verb)
223
- {
224
- $this->verb = $verb;
225
- }
226
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/mailerlite.php DELETED
@@ -1,128 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Plugin Name: Official MailerLite Sign Up Forms
5
- * Description: Official MailerLite Sign Up Forms plugin for WordPress. Ability
6
- * to embed MailerLite webforms and create custom ones just with few clicks.
7
- * Version: 1.1.2
8
- * Author: MailerGroup
9
- * Author URI: https://www.mailerlite.com
10
- * License: GPLv2 or later
11
- *
12
- * This program is free software; you can redistribute it and/or
13
- * modify it under the terms of the GNU General Public License
14
- * as published by the Free Software Foundation; either version 2
15
- * of the License, or (at your option) any later version.
16
- *
17
- * This program is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU General Public License
23
- * along with this program; if not, write to the Free Software
24
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
25
- * USA.
26
- */
27
-
28
- define('MAILERLITE_PLUGIN_DIR', plugin_dir_path(__FILE__));
29
- define('MAILERLITE_PLUGIN_URL', plugins_url('', __FILE__));
30
-
31
- define('MAILERLITE_VERSION', '1.1.2');
32
-
33
- define('MAILERLITE_PHP_VERSION', '5.0.1');
34
- define('MAILERLITE_WP_VERSION', '3.0.1');
35
-
36
- function mailerlite_load_plugin_textdomain()
37
- {
38
-
39
- $domain = 'mailerlite';
40
- load_plugin_textdomain(
41
- $domain, false, basename(dirname(__FILE__)) . '/languages/'
42
- );
43
-
44
- }
45
-
46
- add_action('init', 'mailerlite_load_plugin_textdomain');
47
-
48
- function mailerlite_install()
49
- {
50
- global $wp_version;
51
- global $wpdb;
52
-
53
- $message = '';
54
-
55
- if ( version_compare( PHP_VERSION, MAILERLITE_PHP_VERSION, '<' ) )
56
- {
57
- $message = '<p> The <strong>MailerLite</strong> plugin requires PHP version '.MAILERLITE_PHP_VERSION.' or greater.</p>';
58
- }
59
-
60
- if (version_compare( $wp_version, MAILERLITE_WP_VERSION, '<' ))
61
- {
62
- $message = '<p> The <strong>MailerLite</strong> plugin requires WordPress version '.MAILERLITE_WP_VERSION.' or greater.</p>';
63
- }
64
-
65
- if (!function_exists('curl_version'))
66
- {
67
- $message = '<p> The <strong>MailerLite</strong> plugin requires <strong>php-curl</strong> library. Please visit <a target="_blank" href="http://php.net/curl">php.net/curl</a></p>';
68
- }
69
-
70
- if ($message)
71
- {
72
- deactivate_plugins( basename( __FILE__ ) );
73
- wp_die($message, 'Plugin Activation Error', array('response' => 200, 'back_link' => TRUE));
74
- }
75
-
76
- $table_name = $wpdb->prefix . "mailerlite_forms";
77
-
78
- //$charset_collate = $wpdb->get_charset_collate();
79
-
80
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
81
-
82
- $charset_collate = ' CHARACTER SET utf8 COLLATE utf8_bin';
83
-
84
- $sql = "CREATE TABLE IF NOT EXISTS " . $table_name . " (
85
- id mediumint(9) NOT NULL AUTO_INCREMENT,
86
- time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
87
- name tinytext NOT NULL,
88
- type tinyint(1) default '1' NOT NULL,
89
- data text NOT NULL,
90
- PRIMARY KEY (id)
91
- ) DEFAULT ".$charset_collate. ";";
92
- dbDelta($sql);
93
-
94
- $sql = "ALTER TABLE " . $table_name . " " . $charset_collate . ";";
95
- $wpdb->query($sql);
96
-
97
- $sql = "ALTER TABLE " . $table_name . " CHANGE `name` `name` TINYTEXT " . $charset_collate . ";";
98
- $wpdb->query($sql);
99
-
100
- $sql = "ALTER TABLE " . $table_name . " CHANGE `data` `data` TEXT " . $charset_collate . ";";
101
- $wpdb->query($sql);
102
- }
103
-
104
- register_activation_hook(__FILE__, 'mailerlite_install');
105
-
106
- function register_mailerlite_styles()
107
- {
108
- wp_register_style(
109
- 'mailerlite_forms.css', MAILERLITE_PLUGIN_URL
110
- . '/assets/css/mailerlite_forms.css', array(),
111
- MAILERLITE_VERSION
112
- );
113
- wp_enqueue_style('mailerlite_forms.css');
114
- }
115
-
116
- add_action('wp_enqueue_scripts', 'register_mailerlite_styles');
117
-
118
- if (is_admin()) {
119
- require_once(MAILERLITE_PLUGIN_DIR . 'include/mailerlite-admin.php');
120
- add_action('init', array('MailerLite_Admin', 'init'));
121
- }
122
-
123
-
124
- require_once(MAILERLITE_PLUGIN_DIR . 'include/mailerlite-widget.php');
125
- require_once(MAILERLITE_PLUGIN_DIR . 'include/mailerlite-shortcode.php');
126
-
127
- add_action('init', array('MailerLite_Shortcode', 'init'));
128
- add_action('init', array('MailerLite_Form', 'init'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/readme.txt DELETED
@@ -1,222 +0,0 @@
1
- === Plugin Name ===
2
- Contributors: mailerlite
3
- Donate link: https://www.mailerlite.com/
4
- Tags: mailerlite, newsletter, subscribe, form, webform
5
- Requires at least: 3.0.1
6
- Tested up to: 4.5.1
7
- Stable tag: 1.1.2
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
- Add newsletter sign up forms to your WordPress site. Subscribers will be saved directly to your MailerLite account. Super easy to set up!
12
-
13
- == Description ==
14
-
15
- = Official MailerLite WordPress plugin =
16
-
17
- The Official MailerLite Sign Up Form plugin makes it easy to grow your newsletter subscriber list. Use the plugin to add newsletter sign up form to your Wordpress blog or website and automatically integrate it with your MailerLite account.
18
-
19
- If you don't have MailerLite account yet, [you can signup for a FREE trial here](https://www.mailerlite.com/).
20
-
21
- Once you activate the plugin, you'll be able to select and add any of webforms you have in your MailerLite account or create a new webform. Place the webform in the sidebar using widget or put it enywhere in your post with a shortcode.
22
-
23
- Setup is fast and easy! You just need to enter your MailerLite account API code and you're all set.
24
-
25
- Plugin features:
26
-
27
- * Add webforms from your MailerLite account to your Wordpress blog or website
28
- * Create new webforms
29
- * Save subscribers automatically to your MailerLite account
30
- * Place webforms using widget or shortcode
31
- * Double opt-in signup
32
- * Setup welcome emails in your MailerLite account
33
-
34
- == Installation ==
35
-
36
- = Method 1 =
37
-
38
- 1. Login to your WordPress admin panel.
39
- 2. Open Plugins in the left sidebar, click Add New, and search for MailerLite plugin.
40
- 3. Install the plugin and activate it.
41
-
42
- = Method 2 =
43
-
44
- 1. Download the MailerLite plugin.
45
- 2. Unzip the downloaded file and upload to your /wp-content/plugins/ folder.
46
- 3. Activate the plugin in Wordpress admin panel.
47
-
48
- = Setup =
49
-
50
- 1. After successful installation you will see MailerLite icon on the left sidebar. Click it.
51
- 2. Enter your MailerLite account API key. You can find it in your MailerLite account by clicking "Developer API" link in the bottom of the page.
52
- 3. Click "Add New Signup Form" .
53
- 4. Choose "Webforms created using MailerLite" if you wan't to use a sign up form that you already created in your MailerLite account or "Custom sign up form" if you want to create it now.
54
- 5. If you want to include sign up form in the sidebar of your blog or website, go to Appearance > Widgets and drag "MailerLite sign up form" to the sidebar. Choose which signup form to display.
55
- 6. If you want to include sign up form inside your post or page, use shortcodes. You will see MailerLite icon in your content editor, click it and choose which form to display. It will put a shortcode (for example [mailerlite_form form_id=1]) and your visitors will see signup form in that place.
56
-
57
-
58
- == Frequently Asked Questions ==
59
-
60
- = Requirements =
61
-
62
- * Requires PHP5 and CURL.
63
-
64
- = What is the plugin license? =
65
-
66
- * This plugin is released under a GPL license.
67
-
68
- = What is MailerLite? =
69
- MailerLite is easy to use web-based email marketing software. It can help you create and send email newsletters, manage subscribers, track and analyze results.
70
-
71
- = Do I need a MailerLite account to use this plugin? =
72
- Yes, you can easily register at www.mailerlite.com
73
-
74
- = How to display a form in posts or pages? =
75
- Use shortcode with form id which you created [mailerlite form_id=0].
76
-
77
- = How to display a form in widget areas like a sidebar? =
78
- Just add "Mailerlite sign up form widget" and select form you have created
79
-
80
- = How to display a form in my template files? =
81
-
82
- Use the load_mailerlite_form($id) function.
83
-
84
- `
85
- <?php
86
- if( function_exists( 'load_mailerlite_form' ) ) {
87
- load_mailerlite_form(0);
88
- }
89
- `
90
-
91
- = How can I style the sign-up form? =
92
-
93
- You can use CSS rules to style the sign-up form, use the following CSS selectors to target the various form elements.
94
-
95
- Every form can be different, because element ID of form is:
96
-
97
- `#mailerlite-form_(your_form_id)`
98
-
99
- Elements of form can be styled.
100
-
101
- `
102
- .mailerlite-form .mailerlite-form-title {} /* the form title */
103
- .mailerlite-form .mailerlite-form-description {} /* the form description */
104
- .mailerlite-form .mailerlite-form-field label {} /* the form input label */
105
- .mailerlite-form .mailerlite-form-field input {} /* the form inputs */
106
- .mailerlite-form .mailerlite-form-loader {} /* the form loading text */
107
- .mailerlite-form .mailerlite-subscribe-button-container {} /* the form button container */
108
- .mailerlite-form .mailerlite-subscribe-button-container .mailerlite-subscribe-submit {} /* the form submit button */
109
- .mailerlite-form .mailerlite-form-response {} /* the form response message */
110
- `
111
-
112
- Add your custom CSS rules to the end of your theme stylesheet, /wp-content/themes/your-theme-name/style.css. Do not add them to the plugin stylesheet as they will be automatically overwritten on the next plugin update.
113
-
114
- = Where can I find my MailerLite API key? =
115
-
116
- [Check it here!](https://kb.mailerlite.com/does-mailerlite-offer-an-api/ "Check it here!")
117
-
118
- == Screenshots ==
119
-
120
- 1. screenshot-1.jpg
121
- 2. screenshot-2.jpg
122
- 3. screenshot-3.jpg
123
- 4. screenshot-4.jpg
124
- 5. screenshot-5.jpg
125
- 6. screenshot-6.jpg
126
-
127
-
128
- == Changelog ==
129
-
130
- = 1.1.2 =
131
- * wordpress issue bug fix
132
- = 1.1.1 =
133
- * updated readme and version constants
134
- = 1.1 =
135
- * tested with up to 4.5.1 wordpress. version. Added list of languages for validation messages. Fixed mistype "sign up"
136
- = 1.0.18 =
137
- * added php,wordpress and curl version checks before activation
138
- = 1.0.17 =
139
- * fix db queries for update
140
- = 1.0.16 =
141
- * links to https, db update charset
142
- = 1.0.15 =
143
- * Updated links to knowledge base about api key, changed db charset for table - utf8_bin
144
- = 1.0.14 =
145
- * Removed new lines for some cases
146
- = 1.0.13 =
147
- * Empty form description allowed
148
- = 1.0.12 =
149
- * Fix mistype in curl method
150
- = 1.0.11 =
151
- * Version fix
152
- = 1.0.10 =
153
- * Some code refactor, array fixes for PHP older than 5.4
154
- = 1.0.9 =
155
- * Curl safe mode fix
156
- = 1.0.8 =
157
- * Fix shortcode popup
158
- = 1.0.7 =
159
- * Fix shortcode
160
- = 1.0.6 =
161
- * Fix embedded form cache
162
- = 1.0.5 =
163
- * Fix for WP 4.0
164
- = 1.0.4 =
165
- * Subscribe button update
166
- = 1.0.3 =
167
- * jQuery load update
168
- = 1.0.2 =
169
- * Small changes
170
- = 1.0.1 =
171
- * Added translations
172
- = 1.0 =
173
- * First release
174
-
175
- == Upgrade Notice ==
176
-
177
- = 1.1.2 =
178
- * wordpress issue bug fix
179
- = 1.1.1 =
180
- * updated readme and version constants
181
- = 1.1 =
182
- * tested with up to 4.5.1 wordpress. version. Added list of languages for validation messages. Fixed mistype "sign up"
183
- = 1.0.18 =
184
- * added php,wordpress and curl version checks before activation
185
- = 1.0.17 =
186
- * fix db queries for update
187
- = 1.0.16 =
188
- * links to https, db update charset
189
- = 1.0.15 =
190
- * Updated links to knowledge base about api key, changed db charset for table - utf8_bin
191
- = 1.0.14 =
192
- * Removed new lines for some cases
193
- = 1.0.13 =
194
- * Empty form description allowed
195
- = 1.0.12 =
196
- * Fix mistype in curl method
197
- = 1.0.11 =
198
- * Version fix
199
- = 1.0.10 =
200
- * Some code refactor, array fixes for PHP older than 5.4
201
- = 1.0.9 =
202
- * Curl safe mode fix
203
- = 1.0.8 =
204
- * Fix shortcode popup
205
- = 1.0.7 =
206
- * Fix shortcode
207
- = 1.0.6 =
208
- * Fix embedded form cache
209
- = 1.0.5 =
210
- * Fix for WP 4.0
211
- = 1.0.4 =
212
- * Subscribe button update
213
- = 1.0.3 =
214
- * jQuery load update
215
- = 1.0.2 =
216
- * Small changes
217
- = 1.0.1 =
218
- * Added translations
219
- = 1.0 =
220
- * First release
221
-
222
- == Arbitrary section ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/screenshot-1.jpg DELETED
Binary file
trunk/screenshot-2.jpg DELETED
Binary file
trunk/screenshot-3.jpg DELETED
Binary file
trunk/screenshot-4.jpg DELETED
Binary file
trunk/screenshot-5.jpg DELETED
Binary file
trunk/screenshot-6.jpg DELETED
Binary file