Version Description
- fix db queries for update
Download this release
Release Info
Developer | mailerlite |
Plugin | Official MailerLite Sign Up Forms |
Version | 1.0.17 |
Comparing to | |
See all releases |
Code changes from version 1.0.16 to 1.0.17
- mailerlite.php +14 -13
- readme.txt +5 -1
- trunk/assets/css/mailerlite.css +0 -38
- trunk/assets/css/mailerlite_forms.css +0 -44
- trunk/assets/image/header.png +0 -0
- trunk/assets/image/icon.png +0 -0
- trunk/assets/image/shortcode.png +0 -0
- trunk/assets/js/mailerlite_shortcode.js +0 -28
- trunk/include/mailerlite-admin.php +0 -413
- trunk/include/mailerlite-form.php +0 -214
- trunk/include/mailerlite-shortcode.php +0 -110
- trunk/include/mailerlite-widget.php +0 -126
- trunk/include/templates/admin/api_key.php +0 -39
- trunk/include/templates/admin/create.php +0 -46
- trunk/include/templates/admin/edit_custom.php +0 -164
- trunk/include/templates/admin/edit_embedded.php +0 -82
- trunk/include/templates/admin/header.php +0 -2
- trunk/include/templates/admin/main.php +0 -58
- trunk/include/templates/admin/settings.php +0 -43
- trunk/include/templates/admin/sidebar.php +0 -13
- trunk/include/templates/common/tiny_mce.php +0 -40
- trunk/include/templates/forms/custom_form.php +0 -60
- trunk/include/templates/forms/embedded_form.php +0 -1
- trunk/languages/mailerlite-fi_FI.mo +0 -0
- trunk/languages/mailerlite-fi_FI.po +0 -401
- trunk/languages/mailerlite-it_IT.mo +0 -0
- trunk/languages/mailerlite-it_IT.po +0 -401
- trunk/languages/mailerlite-lt_LT.mo +0 -0
- trunk/languages/mailerlite-lt_LT.po +0 -408
- trunk/languages/mailerlite-ru_RU.mo +0 -0
- trunk/languages/mailerlite-ru_RU.po +0 -401
- trunk/languages/mailerlite-sv_SE.mo +0 -0
- trunk/languages/mailerlite-sv_SE.po +0 -401
- trunk/languages/mailerlite-uk_UA.mo +0 -0
- trunk/languages/mailerlite-uk_UA.po +0 -401
- trunk/libs/mailerlite_rest/ML_Campaigns.php +0 -55
- trunk/libs/mailerlite_rest/ML_Lists.php +0 -40
- trunk/libs/mailerlite_rest/ML_Subscribers.php +0 -57
- trunk/libs/mailerlite_rest/ML_Webforms.php +0 -13
- trunk/libs/mailerlite_rest/base/ML_Rest.php +0 -59
- trunk/libs/mailerlite_rest/base/ML_Rest_Base.php +0 -226
- trunk/mailerlite.php +0 -100
- trunk/readme.txt +0 -202
- trunk/screenshot-1.jpg +0 -0
- trunk/screenshot-2.jpg +0 -0
- trunk/screenshot-3.jpg +0 -0
- trunk/screenshot-4.jpg +0 -0
- trunk/screenshot-5.jpg +0 -0
- trunk/screenshot-6.jpg +0 -0
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.0.
|
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.0.
|
32 |
|
33 |
function mailerlite_load_plugin_textdomain()
|
34 |
{
|
@@ -49,28 +49,29 @@ function mailerlite_install()
|
|
49 |
$table_name = $wpdb->prefix . "mailerlite_forms";
|
50 |
|
51 |
//$charset_collate = $wpdb->get_charset_collate();
|
52 |
-
$charset_collate = 'utf8_bin';
|
53 |
|
54 |
-
|
|
|
|
|
|
|
|
|
55 |
id mediumint(9) NOT NULL AUTO_INCREMENT,
|
56 |
time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
|
57 |
name tinytext NOT NULL,
|
58 |
type tinyint(1) default '1' NOT NULL,
|
59 |
data text NOT NULL,
|
60 |
PRIMARY KEY (id)
|
61 |
-
) ".$charset_collate.";";
|
62 |
-
|
63 |
-
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
64 |
dbDelta($sql);
|
65 |
|
66 |
-
$sql = "ALTER TABLE " . $table_name . "
|
67 |
-
|
68 |
|
69 |
-
$sql = "ALTER TABLE " . $table_name . " CHANGE `name` `name` TINYTEXT
|
70 |
-
|
71 |
|
72 |
-
$sql = "ALTER TABLE " . $table_name . " CHANGE `data` `data`
|
73 |
-
|
74 |
}
|
75 |
|
76 |
register_activation_hook(__FILE__, 'mailerlite_install');
|
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.0.17
|
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.0.17');
|
32 |
|
33 |
function mailerlite_load_plugin_textdomain()
|
34 |
{
|
49 |
$table_name = $wpdb->prefix . "mailerlite_forms";
|
50 |
|
51 |
//$charset_collate = $wpdb->get_charset_collate();
|
|
|
52 |
|
53 |
+
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
54 |
+
|
55 |
+
$charset_collate = ' CHARACTER SET utf8 COLLATE utf8_bin';
|
56 |
+
|
57 |
+
$sql = "CREATE TABLE IF NOT EXISTS " . $table_name . " (
|
58 |
id mediumint(9) NOT NULL AUTO_INCREMENT,
|
59 |
time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
|
60 |
name tinytext NOT NULL,
|
61 |
type tinyint(1) default '1' NOT NULL,
|
62 |
data text NOT NULL,
|
63 |
PRIMARY KEY (id)
|
64 |
+
) DEFAULT ".$charset_collate. ";";
|
|
|
|
|
65 |
dbDelta($sql);
|
66 |
|
67 |
+
$sql = "ALTER TABLE " . $table_name . " " . $charset_collate . ";";
|
68 |
+
$wpdb->query($sql);
|
69 |
|
70 |
+
$sql = "ALTER TABLE " . $table_name . " CHANGE `name` `name` TINYTEXT " . $charset_collate . ";";
|
71 |
+
$wpdb->query($sql);
|
72 |
|
73 |
+
$sql = "ALTER TABLE " . $table_name . " CHANGE `data` `data` TEXT " . $charset_collate . ";";
|
74 |
+
$wpdb->query($sql);
|
75 |
}
|
76 |
|
77 |
register_activation_hook(__FILE__, 'mailerlite_install');
|
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.3.1
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -127,6 +127,8 @@ Add your custom CSS rules to the end of your theme stylesheet, /wp-content/theme
|
|
127 |
|
128 |
== Changelog ==
|
129 |
|
|
|
|
|
130 |
= 1.0.16 =
|
131 |
* links to https, db update charset
|
132 |
= 1.0.15 =
|
@@ -164,6 +166,8 @@ Add your custom CSS rules to the end of your theme stylesheet, /wp-content/theme
|
|
164 |
|
165 |
== Upgrade Notice ==
|
166 |
|
|
|
|
|
167 |
= 1.0.16 =
|
168 |
* links to https, db update charset
|
169 |
= 1.0.15 =
|
4 |
Tags: mailerlite, newsletter, subscribe, form, webform
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.3.1
|
7 |
+
Stable tag: 1.0.17
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
127 |
|
128 |
== Changelog ==
|
129 |
|
130 |
+
= 1.0.17 =
|
131 |
+
* fix db queries for update
|
132 |
= 1.0.16 =
|
133 |
* links to https, db update charset
|
134 |
= 1.0.15 =
|
166 |
|
167 |
== Upgrade Notice ==
|
168 |
|
169 |
+
= 1.0.17 =
|
170 |
+
* fix db queries for update
|
171 |
= 1.0.16 =
|
172 |
* links to https, db update charset
|
173 |
= 1.0.15 =
|
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/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,413 +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 |
-
$selected_fields = isset($_POST['form_selected_field'])
|
196 |
-
&& is_array(
|
197 |
-
$_POST['form_selected_field']
|
198 |
-
) ? $_POST['form_selected_field'] : array();
|
199 |
-
$field_titles = isset($_POST['form_field'])
|
200 |
-
&& is_array(
|
201 |
-
$_POST['form_field']
|
202 |
-
) ? $_POST['form_field'] : array();
|
203 |
-
|
204 |
-
if (!isset($field_titles['email'])
|
205 |
-
|| $field_titles['email'] == ''
|
206 |
-
) {
|
207 |
-
$field_titles['email'] = __('Email', 'mailerlite');
|
208 |
-
}
|
209 |
-
|
210 |
-
$form_lists = isset($_POST['form_lists'])
|
211 |
-
&& is_array(
|
212 |
-
$_POST['form_lists']
|
213 |
-
) ? $_POST['form_lists'] : array();
|
214 |
-
|
215 |
-
$prepared_fields = array();
|
216 |
-
|
217 |
-
//Force to use email
|
218 |
-
$prepared_fields['email'] = $field_titles['email'];
|
219 |
-
|
220 |
-
foreach ($selected_fields as $field) {
|
221 |
-
if (isset($field_titles[$field])) {
|
222 |
-
$prepared_fields[$field]
|
223 |
-
= $field_titles[$field];
|
224 |
-
}
|
225 |
-
}
|
226 |
-
|
227 |
-
$form_data = array(
|
228 |
-
'title' => $form_title,
|
229 |
-
'description' => wpautop($form_description, true),
|
230 |
-
'button' => $button_name,
|
231 |
-
'lists' => $form_lists,
|
232 |
-
'fields' => $prepared_fields
|
233 |
-
);
|
234 |
-
|
235 |
-
$wpdb->update(
|
236 |
-
$wpdb->prefix . 'mailerlite_forms',
|
237 |
-
array(
|
238 |
-
'name' => $form_name,
|
239 |
-
'data' => serialize($form_data)
|
240 |
-
),
|
241 |
-
array('id' => $form_id),
|
242 |
-
array(),
|
243 |
-
array('%d')
|
244 |
-
);
|
245 |
-
|
246 |
-
$form->data = $form_data;
|
247 |
-
|
248 |
-
$result = 'success';
|
249 |
-
}
|
250 |
-
|
251 |
-
include(MAILERLITE_PLUGIN_DIR
|
252 |
-
. 'include/templates/admin/edit_custom.php');
|
253 |
-
} else if ($form->type == 2) {
|
254 |
-
$ML_Webforms = new ML_Webforms($api_key);
|
255 |
-
$webforms = $ML_Webforms->getAll();
|
256 |
-
$webforms = json_decode($webforms);
|
257 |
-
|
258 |
-
$parsed_webforms = array();
|
259 |
-
|
260 |
-
foreach ($webforms->Results as $webform) {
|
261 |
-
$parsed_webforms[$webform->id] = $webform->code;
|
262 |
-
}
|
263 |
-
|
264 |
-
if (isset($_POST['save_embedded_signup_form'])) {
|
265 |
-
$form_name = isset($_POST['form_name'])
|
266 |
-
&& $_POST['form_name'] != ''
|
267 |
-
? sanitize_text_field($_POST['form_name'])
|
268 |
-
: __(
|
269 |
-
'Embedded webform', 'mailerlite'
|
270 |
-
);
|
271 |
-
$form_webform_id = isset($_POST['form_webform_id'])
|
272 |
-
&& isset($parsed_webforms[$_POST['form_webform_id']])
|
273 |
-
? $_POST['form_webform_id'] : 0;
|
274 |
-
|
275 |
-
$form_data = array(
|
276 |
-
'id' => $form_webform_id,
|
277 |
-
'code' => $parsed_webforms[$form_webform_id]
|
278 |
-
);
|
279 |
-
|
280 |
-
$wpdb->update(
|
281 |
-
$wpdb->prefix . 'mailerlite_forms',
|
282 |
-
array(
|
283 |
-
'name' => $form_name,
|
284 |
-
'data' => serialize($form_data)
|
285 |
-
),
|
286 |
-
array('id' => $form_id),
|
287 |
-
array(),
|
288 |
-
array('%d')
|
289 |
-
);
|
290 |
-
|
291 |
-
$form->data = $form_data;
|
292 |
-
|
293 |
-
$result = 'success';
|
294 |
-
}
|
295 |
-
|
296 |
-
include(MAILERLITE_PLUGIN_DIR
|
297 |
-
. 'include/templates/admin/edit_embedded.php');
|
298 |
-
}
|
299 |
-
} else {
|
300 |
-
$forms_data = $wpdb->get_results(
|
301 |
-
"SELECT * FROM " . $wpdb->prefix
|
302 |
-
. "mailerlite_forms ORDER BY time DESC"
|
303 |
-
);
|
304 |
-
|
305 |
-
include(MAILERLITE_PLUGIN_DIR
|
306 |
-
. 'include/templates/admin/main.php');
|
307 |
-
}
|
308 |
-
} //Delete signup form view
|
309 |
-
else if (isset($_GET['view']) && isset($_GET['id'])
|
310 |
-
&& $_GET['view'] == 'delete'
|
311 |
-
&& absint($_GET['id'])
|
312 |
-
) {
|
313 |
-
$wpdb->delete(
|
314 |
-
$wpdb->prefix . 'mailerlite_forms', array('id' => $_GET['id'])
|
315 |
-
);
|
316 |
-
wp_redirect('admin.php?page=mailerlite_main');
|
317 |
-
} //Signup forms list
|
318 |
-
else {
|
319 |
-
$forms_data = $wpdb->get_results(
|
320 |
-
"SELECT * FROM " . $wpdb->prefix
|
321 |
-
. "mailerlite_forms ORDER BY time DESC"
|
322 |
-
);
|
323 |
-
|
324 |
-
include(MAILERLITE_PLUGIN_DIR . 'include/templates/admin/main.php');
|
325 |
-
}
|
326 |
-
}
|
327 |
-
|
328 |
-
/**
|
329 |
-
* Settings page method
|
330 |
-
*/
|
331 |
-
public static function mailerlite_settings()
|
332 |
-
{
|
333 |
-
global $api_key, $mailerlite_error;
|
334 |
-
|
335 |
-
self::mailerlite_api_key_require();
|
336 |
-
|
337 |
-
$api_key = self::$api_key;
|
338 |
-
|
339 |
-
include(MAILERLITE_PLUGIN_DIR . 'include/templates/admin/settings.php');
|
340 |
-
}
|
341 |
-
|
342 |
-
/**
|
343 |
-
* Checks and sets API key
|
344 |
-
*/
|
345 |
-
private static function set_api_key()
|
346 |
-
{
|
347 |
-
global $mailerlite_error;
|
348 |
-
|
349 |
-
if (function_exists('current_user_can')
|
350 |
-
&& !current_user_can(
|
351 |
-
'manage_options'
|
352 |
-
)
|
353 |
-
) {
|
354 |
-
die(__('You not allowed to do that', 'mailerlite'));
|
355 |
-
}
|
356 |
-
|
357 |
-
$key = preg_replace('/[^a-z0-9]/i', '', $_POST['mailerlite_key']);
|
358 |
-
|
359 |
-
$ML_Lists = new ML_Lists($key);
|
360 |
-
$ML_Lists->getAll();
|
361 |
-
$response = $ML_Lists->getResponseInfo();
|
362 |
-
|
363 |
-
if ($response['http_code'] == 401) {
|
364 |
-
$mailerlite_error = __('Wrong MailerLite API key', 'mailerlite');
|
365 |
-
} else {
|
366 |
-
update_option('mailerlite_api_key', $key);
|
367 |
-
update_option('mailerlite_enabled', true);
|
368 |
-
self::$api_key = $key;
|
369 |
-
}
|
370 |
-
}
|
371 |
-
|
372 |
-
/**
|
373 |
-
* Create new signup form
|
374 |
-
*
|
375 |
-
* @param $data
|
376 |
-
*/
|
377 |
-
private static function create_new_form($data)
|
378 |
-
{
|
379 |
-
global $wpdb;
|
380 |
-
|
381 |
-
$form_type = in_array($data['form_type'], array(1, 2))
|
382 |
-
? $data['form_type'] : 1;
|
383 |
-
|
384 |
-
if ($form_type == 1) {
|
385 |
-
$form_name = __('New custom signup form', 'mailerlite');
|
386 |
-
$form_data = array(
|
387 |
-
'title' => __('Newsletter signup', 'mailerlite'),
|
388 |
-
'description' => __(
|
389 |
-
'Just simple MailerLite form!', 'mailerlite'
|
390 |
-
),
|
391 |
-
'button' => __('Subscribe', 'mailerlite'),
|
392 |
-
'lists' => array(),
|
393 |
-
'fields' => array('email' => __('Email', 'mailerlite'))
|
394 |
-
);
|
395 |
-
} else {
|
396 |
-
$form_name = __('New embedded signup form', 'mailerlite');
|
397 |
-
$form_data = array(
|
398 |
-
'id' => 0,
|
399 |
-
'code' => 0
|
400 |
-
);
|
401 |
-
}
|
402 |
-
|
403 |
-
$wpdb->insert(
|
404 |
-
$wpdb->prefix . 'mailerlite_forms',
|
405 |
-
array(
|
406 |
-
'name' => $form_name,
|
407 |
-
'time' => date('Y-m-d h:i:s'),
|
408 |
-
'type' => $form_type,
|
409 |
-
'data' => serialize($form_data)
|
410 |
-
)
|
411 |
-
);
|
412 |
-
}
|
413 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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/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,164 +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 |
-
</tbody>
|
77 |
-
</table>
|
78 |
-
</div>
|
79 |
-
</div>
|
80 |
-
<div class="postbox">
|
81 |
-
<h3><span><?php _e('Form fields and lists', 'mailerlite'); ?></span></h3>
|
82 |
-
|
83 |
-
<div class="inside">
|
84 |
-
<table class="form-table">
|
85 |
-
<tr>
|
86 |
-
<td style="vertical-align: top;">
|
87 |
-
<h2><?php _e('Fields', 'mailerlite'); ?></h2>
|
88 |
-
<table class="form-table">
|
89 |
-
<tbody>
|
90 |
-
<?php foreach ($fields->Fields as $field): ?>
|
91 |
-
<tr>
|
92 |
-
<th style="width:1%;"><input type="checkbox"
|
93 |
-
class="input_control"
|
94 |
-
name="form_selected_field[]"
|
95 |
-
value="<?php echo $field->field; ?>"<?php echo $field->field == 'email' || array_key_exists($field->field, $form->data['fields']) ? ' checked="checked"' : '';
|
96 |
-
echo $field->field == 'email' ? ' disabled="disabled"' : ''; ?>>
|
97 |
-
</th>
|
98 |
-
<td><input type="text" id="field_<?php echo $field->field; ?>"
|
99 |
-
name="form_field[<?php echo $field->field; ?>]"
|
100 |
-
size="30" maxlength="255"
|
101 |
-
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"'; ?>>
|
102 |
-
</td>
|
103 |
-
</tr>
|
104 |
-
<?php endforeach; ?>
|
105 |
-
</tbody>
|
106 |
-
</table>
|
107 |
-
</td>
|
108 |
-
<td style="vertical-align: top;">
|
109 |
-
<h2><?php _e('Lists', 'mailerlite'); ?></h2>
|
110 |
-
<table class="form-table">
|
111 |
-
<tbody>
|
112 |
-
<?php foreach ($lists->Results as $list): ?>
|
113 |
-
<tr>
|
114 |
-
<th style="width:1%;"><input id="list_<?php echo $list->id; ?>"
|
115 |
-
type="checkbox"
|
116 |
-
class="input_control"
|
117 |
-
name="form_lists[]"
|
118 |
-
value="<?php echo $list->id; ?>"<?php echo in_array($list->id, $form->data['lists']) ? ' checked="checked"' : ''; ?>>
|
119 |
-
</th>
|
120 |
-
<td><label
|
121 |
-
for="list_<?php echo $list->id; ?>"><?php echo $list->name; ?></label>
|
122 |
-
</td>
|
123 |
-
</tr>
|
124 |
-
<?php endforeach; ?>
|
125 |
-
</tbody>
|
126 |
-
</table>
|
127 |
-
</td>
|
128 |
-
</tr>
|
129 |
-
</table>
|
130 |
-
<div class="submit">
|
131 |
-
<input class="button-primary mailerlite-pull-right"
|
132 |
-
value="<?php _e('Save form', 'mailerlite'); ?>"
|
133 |
-
name="save_custom_signup_form" type="submit">
|
134 |
-
<a class="button-secondary"
|
135 |
-
href="<?php echo admin_url('admin.php?page=mailerlite_main'); ?>"><?php echo __('Back', 'mailerlite'); ?></a>
|
136 |
-
</div>
|
137 |
-
</div>
|
138 |
-
</div>
|
139 |
-
</form>
|
140 |
-
</div>
|
141 |
-
</div>
|
142 |
-
</div>
|
143 |
-
</div>
|
144 |
-
|
145 |
-
<script type="text/javascript">
|
146 |
-
jQuery(document).ready(function ($) {
|
147 |
-
$(".wp-editor-tabs").remove();
|
148 |
-
|
149 |
-
var checkbox_class = $('.input_control');
|
150 |
-
|
151 |
-
checkbox_class.click(function () {
|
152 |
-
var input = $('input#field_' + $(this).attr('value'));
|
153 |
-
|
154 |
-
if ($(this).prop('checked') == false) {
|
155 |
-
input.attr('disabled', true);
|
156 |
-
}
|
157 |
-
else {
|
158 |
-
input.attr('disabled', false);
|
159 |
-
}
|
160 |
-
});
|
161 |
-
});
|
162 |
-
</script>
|
163 |
-
|
164 |
-
<?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,60 +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 signup!', 'mailerlite'); ?></h4>
|
30 |
-
</div>
|
31 |
-
</form>
|
32 |
-
</div>
|
33 |
-
</div>
|
34 |
-
|
35 |
-
<script type="text/javascript">
|
36 |
-
|
37 |
-
jQuery(document).ready(function () {
|
38 |
-
var form_container = jQuery("#mailerlite-form_<?php echo $form_id; ?>[data-temp-id=<?php echo $unique_id; ?>] form");
|
39 |
-
form_container.submit(function (e) {
|
40 |
-
e.preventDefault();
|
41 |
-
}).validate({
|
42 |
-
submitHandler: function (form) {
|
43 |
-
|
44 |
-
jQuery(this.submitButton).prop('disabled', true);
|
45 |
-
|
46 |
-
form_container.find('.mailerlite-subscribe-button-container').fadeOut(function () {
|
47 |
-
form_container.find('.mailerlite-form-loader').fadeIn()
|
48 |
-
});
|
49 |
-
|
50 |
-
var data = jQuery(form).serialize();
|
51 |
-
|
52 |
-
jQuery.post('<?php echo admin_url( 'admin-ajax.php' ); ?>', data, function (response) {
|
53 |
-
form_container.find('.mailerlite-form-inputs').fadeOut(function () {
|
54 |
-
form_container.find('.mailerlite-form-response').fadeIn()
|
55 |
-
});
|
56 |
-
});
|
57 |
-
}
|
58 |
-
});
|
59 |
-
});
|
60 |
-
</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,100 +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.0.16
|
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.0.16');
|
32 |
-
|
33 |
-
function mailerlite_load_plugin_textdomain()
|
34 |
-
{
|
35 |
-
|
36 |
-
$domain = 'mailerlite';
|
37 |
-
load_plugin_textdomain(
|
38 |
-
$domain, false, basename(dirname(__FILE__)) . '/languages/'
|
39 |
-
);
|
40 |
-
|
41 |
-
}
|
42 |
-
|
43 |
-
add_action('init', 'mailerlite_load_plugin_textdomain');
|
44 |
-
|
45 |
-
function mailerlite_install()
|
46 |
-
{
|
47 |
-
global $wpdb;
|
48 |
-
|
49 |
-
$table_name = $wpdb->prefix . "mailerlite_forms";
|
50 |
-
|
51 |
-
//$charset_collate = $wpdb->get_charset_collate();
|
52 |
-
$charset_collate = 'utf8_bin';
|
53 |
-
|
54 |
-
$sql = "CREATE TABLE " . $table_name . " (
|
55 |
-
id mediumint(9) NOT NULL AUTO_INCREMENT,
|
56 |
-
time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
|
57 |
-
name tinytext NOT NULL,
|
58 |
-
type tinyint(1) default '1' NOT NULL,
|
59 |
-
data text NOT NULL,
|
60 |
-
PRIMARY KEY (id)
|
61 |
-
) ".$charset_collate.";";
|
62 |
-
|
63 |
-
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
64 |
-
dbDelta($sql);
|
65 |
-
|
66 |
-
$sql = "ALTER TABLE " . $table_name . " DEFAULT CHARACTER SET utf8 COLLATE " . $charset_collate;
|
67 |
-
dbDelta($sql);
|
68 |
-
|
69 |
-
$sql = "ALTER TABLE " . $table_name . " CHANGE `name` `name` TINYTEXT CHARACTER SET utf8 COLLATE " . $charset_collate;
|
70 |
-
dbDelta($sql);
|
71 |
-
|
72 |
-
$sql = "ALTER TABLE " . $table_name . " CHANGE `data` `data` TINYTEXT CHARACTER SET utf8 COLLATE " . $charset_collate;
|
73 |
-
dbDelta($sql);
|
74 |
-
}
|
75 |
-
|
76 |
-
register_activation_hook(__FILE__, 'mailerlite_install');
|
77 |
-
|
78 |
-
function register_mailerlite_styles()
|
79 |
-
{
|
80 |
-
wp_register_style(
|
81 |
-
'mailerlite_forms.css', MAILERLITE_PLUGIN_URL
|
82 |
-
. '/assets/css/mailerlite_forms.css', array(),
|
83 |
-
MAILERLITE_VERSION
|
84 |
-
);
|
85 |
-
wp_enqueue_style('mailerlite_forms.css');
|
86 |
-
}
|
87 |
-
|
88 |
-
add_action('wp_enqueue_scripts', 'register_mailerlite_styles');
|
89 |
-
|
90 |
-
if (is_admin()) {
|
91 |
-
require_once(MAILERLITE_PLUGIN_DIR . 'include/mailerlite-admin.php');
|
92 |
-
add_action('init', array('MailerLite_Admin', 'init'));
|
93 |
-
}
|
94 |
-
|
95 |
-
|
96 |
-
require_once(MAILERLITE_PLUGIN_DIR . 'include/mailerlite-widget.php');
|
97 |
-
require_once(MAILERLITE_PLUGIN_DIR . 'include/mailerlite-shortcode.php');
|
98 |
-
|
99 |
-
add_action('init', array('MailerLite_Shortcode', 'init'));
|
100 |
-
add_action('init', array('MailerLite_Form', 'init'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/readme.txt
DELETED
@@ -1,202 +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.3.1
|
7 |
-
Stable tag: 1.0.16
|
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.
|
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.0.16 =
|
131 |
-
* links to https, db update charset
|
132 |
-
= 1.0.15 =
|
133 |
-
* Updated links to knowledge base about api key, changed db charset for table - utf8_bin
|
134 |
-
= 1.0.14 =
|
135 |
-
* Removed new lines for some cases
|
136 |
-
= 1.0.13 =
|
137 |
-
* Empty form description allowed
|
138 |
-
= 1.0.12 =
|
139 |
-
* Fix mistype in curl method
|
140 |
-
= 1.0.11 =
|
141 |
-
* Version fix
|
142 |
-
= 1.0.10 =
|
143 |
-
* Some code refactor, array fixes for PHP older than 5.4
|
144 |
-
= 1.0.9 =
|
145 |
-
* Curl safe mode fix
|
146 |
-
= 1.0.8 =
|
147 |
-
* Fix shortcode popup
|
148 |
-
= 1.0.7 =
|
149 |
-
* Fix shortcode
|
150 |
-
= 1.0.6 =
|
151 |
-
* Fix embedded form cache
|
152 |
-
= 1.0.5 =
|
153 |
-
* Fix for WP 4.0
|
154 |
-
= 1.0.4 =
|
155 |
-
* Subscribe button update
|
156 |
-
= 1.0.3 =
|
157 |
-
* jQuery load update
|
158 |
-
= 1.0.2 =
|
159 |
-
* Small changes
|
160 |
-
= 1.0.1 =
|
161 |
-
* Added translations
|
162 |
-
= 1.0 =
|
163 |
-
* First release
|
164 |
-
|
165 |
-
== Upgrade Notice ==
|
166 |
-
|
167 |
-
= 1.0.16 =
|
168 |
-
* links to https, db update charset
|
169 |
-
= 1.0.15 =
|
170 |
-
* Updated links to knowledge base about api key, changed db charset for table - utf8_bin
|
171 |
-
= 1.0.14 =
|
172 |
-
* Removed new lines for some cases
|
173 |
-
= 1.0.13 =
|
174 |
-
* Empty form description allowed
|
175 |
-
= 1.0.12 =
|
176 |
-
* Fix mistype in curl method
|
177 |
-
= 1.0.11 =
|
178 |
-
* Version fix
|
179 |
-
= 1.0.10 =
|
180 |
-
* Some code refactor, array fixes for PHP older than 5.4
|
181 |
-
= 1.0.9 =
|
182 |
-
* Curl safe mode fix
|
183 |
-
= 1.0.8 =
|
184 |
-
* Fix shortcode popup
|
185 |
-
= 1.0.7 =
|
186 |
-
* Fix shortcode
|
187 |
-
= 1.0.6 =
|
188 |
-
* Fix embedded form cache
|
189 |
-
= 1.0.5 =
|
190 |
-
* Fix for WP 4.0
|
191 |
-
= 1.0.4 =
|
192 |
-
* Subscribe button update
|
193 |
-
= 1.0.3 =
|
194 |
-
* jQuery load update
|
195 |
-
= 1.0.2 =
|
196 |
-
* Small changes
|
197 |
-
= 1.0.1 =
|
198 |
-
* Added translations
|
199 |
-
= 1.0 =
|
200 |
-
* First release
|
201 |
-
|
202 |
-
== 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
|