Version Description
- Fixed Languages not been translated
- Fixed 500 Error from ajax call
- Email validation bug fixed
Download this release
Release Info
Developer | WP-LiveChat |
Plugin | WP Live Chat Support |
Version | 3.08 |
Comparing to | |
See all releases |
Code changes from version 3.07 to 3.08
- ajax.php +5 -5
- css/font-awesome.min.css +0 -0
- fonts/FontAwesome.otf +0 -0
- fonts/fontawesome-webfont.eot +0 -0
- fonts/fontawesome-webfont.svg +0 -0
- fonts/fontawesome-webfont.ttf +0 -0
- fonts/fontawesome-webfont.woff +0 -0
- js/wplc_u.js +27 -12
- languages/wp-live-chat-support-default.mo +0 -0
- languages/wp-live-chat-support-default.po +0 -266
- languages/wplivechat-en_EN.mo +0 -0
- languages/wplivechat-en_EN.po +338 -0
- readme.txt +7 -1
- wp-live-chat-support.php +46 -13
ajax.php
CHANGED
@@ -4,15 +4,15 @@ ini_set('html_errors', 0);
|
|
4 |
define('SHORTINIT', true);
|
5 |
|
6 |
|
7 |
-
|
8 |
|
9 |
-
|
10 |
|
11 |
-
|
12 |
|
|
|
13 |
|
14 |
-
|
15 |
-
require_once( $path_to_wp.'/wp-load.php' );
|
16 |
|
17 |
|
18 |
require( ABSPATH . WPINC . '/l10n.php' );
|
4 |
define('SHORTINIT', true);
|
5 |
|
6 |
|
7 |
+
//$absolute_path = __FILE__;
|
8 |
|
9 |
+
//$path_to_file = explode( 'wp-content', $absolute_path );
|
10 |
|
11 |
+
//$path_to_wp = $path_to_file[0];
|
12 |
|
13 |
+
// changed the path to wp-load to get from post
|
14 |
|
15 |
+
require_once( $_POST['wplc_wp_load_url'] );
|
|
|
16 |
|
17 |
|
18 |
require( ABSPATH . WPINC . '/l10n.php' );
|
css/font-awesome.min.css
CHANGED
File without changes
|
fonts/FontAwesome.otf
CHANGED
File without changes
|
fonts/fontawesome-webfont.eot
CHANGED
File without changes
|
fonts/fontawesome-webfont.svg
CHANGED
File without changes
|
fonts/fontawesome-webfont.ttf
CHANGED
File without changes
|
fonts/fontawesome-webfont.woff
CHANGED
File without changes
|
js/wplc_u.js
CHANGED
@@ -48,16 +48,19 @@ jQuery(document).ready(function() {
|
|
48 |
action: 'wplc_relay_stage',
|
49 |
security: wplc_nonce,
|
50 |
stage: stage,
|
51 |
-
cid: cid
|
|
|
52 |
};
|
53 |
} else {
|
54 |
var data = {
|
55 |
action: 'wplc_relay_stage',
|
56 |
security: wplc_nonce,
|
57 |
-
stage: stage
|
|
|
58 |
};
|
59 |
}
|
60 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
|
|
61 |
//console.log("wplc_relay_stage");
|
62 |
});
|
63 |
}
|
@@ -103,7 +106,8 @@ jQuery(document).ready(function() {
|
|
103 |
var data = {
|
104 |
action: 'wplc_user_close_chat',
|
105 |
security: wplc_nonce,
|
106 |
-
cid: wplc_check_cookie_id
|
|
|
107 |
};
|
108 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
109 |
console.log(wplc_check_cookie_id);
|
@@ -143,7 +147,8 @@ jQuery(document).ready(function() {
|
|
143 |
var data = {
|
144 |
action: 'wplc_user_maximize_chat',
|
145 |
security: wplc_nonce,
|
146 |
-
cid: wplc_check_cookie_id
|
|
|
147 |
};
|
148 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
149 |
//log("user maximized chat success");
|
@@ -185,12 +190,16 @@ jQuery(document).ready(function() {
|
|
185 |
var wplc_email = jQuery("#wplc_email").val();
|
186 |
if (wplc_name.length <= 0) { alert("Please enter your name"); return false; }
|
187 |
if (wplc_email.length <= 0) { alert("Please enter your email address"); return false; }
|
|
|
|
|
|
|
|
|
188 |
|
189 |
jQuery("#wp-live-chat-2").hide();
|
190 |
jQuery("#wp-live-chat-3").show();
|
191 |
|
192 |
var date = new Date();
|
193 |
-
date.setTime(date.getTime() + (
|
194 |
jQuery.cookie('wplc_stage', 3, { expires: date, path: '/' });
|
195 |
|
196 |
wplc_check_cookie_id = jQuery.cookie('wplc_cid');
|
@@ -200,7 +209,8 @@ jQuery(document).ready(function() {
|
|
200 |
action: 'wplc_start_chat',
|
201 |
security: wplc_nonce,
|
202 |
name: wplc_name,
|
203 |
-
email: wplc_email
|
|
|
204 |
};
|
205 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
206 |
//console.log("wplc_start_chat");
|
@@ -215,7 +225,8 @@ jQuery(document).ready(function() {
|
|
215 |
var data = {
|
216 |
action: 'wplc_user_awaiting_chat',
|
217 |
security: wplc_nonce,
|
218 |
-
id: cid
|
|
|
219 |
};
|
220 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
221 |
//console.log("wplc_user_awaiting_chat");
|
@@ -225,7 +236,7 @@ jQuery(document).ready(function() {
|
|
225 |
jQuery("#wplc_cid").val(cid)
|
226 |
jQuery("#wp-live-chat-3").hide();
|
227 |
jQuery("#wp-live-chat-4").show();
|
228 |
-
|
229 |
|
230 |
// chat is now active
|
231 |
jQuery.cookie('wplc_cid', cid, { expires: 1, path: '/' });
|
@@ -264,7 +275,8 @@ jQuery(document).ready(function() {
|
|
264 |
action: 'wplc_user_send_msg',
|
265 |
security: wplc_nonce,
|
266 |
cid: wplc_cid,
|
267 |
-
msg: wplc_chat
|
|
|
268 |
};
|
269 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
270 |
//console.log("wplc_user_send_msg");
|
@@ -275,7 +287,8 @@ jQuery(document).ready(function() {
|
|
275 |
var data = {
|
276 |
action: 'wplc_update_user_chat_status',
|
277 |
cid: cid,
|
278 |
-
security: wplc_nonce
|
|
|
279 |
};
|
280 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
281 |
if (response === "1") {
|
@@ -299,7 +312,8 @@ jQuery(document).ready(function() {
|
|
299 |
var data = {
|
300 |
action: 'wplc_update_user_chat_boxes',
|
301 |
cid: cid,
|
302 |
-
security: wplc_nonce
|
|
|
303 |
};
|
304 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
305 |
//console.log("wplc_update_user_chat_boxes");
|
@@ -352,7 +366,8 @@ jQuery(document).ready(function() {
|
|
352 |
var data = {
|
353 |
action: 'wplc_user_reactivate_chat',
|
354 |
security: wplc_nonce,
|
355 |
-
cid: wplc_check_cookie_id
|
|
|
356 |
};
|
357 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
358 |
//console.log("wplc_user_reactivate_chat");
|
48 |
action: 'wplc_relay_stage',
|
49 |
security: wplc_nonce,
|
50 |
stage: stage,
|
51 |
+
cid: cid,
|
52 |
+
wplc_wp_load_url: wplc_wp_load_url
|
53 |
};
|
54 |
} else {
|
55 |
var data = {
|
56 |
action: 'wplc_relay_stage',
|
57 |
security: wplc_nonce,
|
58 |
+
stage: stage,
|
59 |
+
wplc_wp_load_url: wplc_wp_load_url
|
60 |
};
|
61 |
}
|
62 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
63 |
+
console.log(response);
|
64 |
//console.log("wplc_relay_stage");
|
65 |
});
|
66 |
}
|
106 |
var data = {
|
107 |
action: 'wplc_user_close_chat',
|
108 |
security: wplc_nonce,
|
109 |
+
cid: wplc_check_cookie_id,
|
110 |
+
wplc_wp_load_url: wplc_wp_load_url
|
111 |
};
|
112 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
113 |
console.log(wplc_check_cookie_id);
|
147 |
var data = {
|
148 |
action: 'wplc_user_maximize_chat',
|
149 |
security: wplc_nonce,
|
150 |
+
cid: wplc_check_cookie_id,
|
151 |
+
wplc_wp_load_url: wplc_wp_load_url
|
152 |
};
|
153 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
154 |
//log("user maximized chat success");
|
190 |
var wplc_email = jQuery("#wplc_email").val();
|
191 |
if (wplc_name.length <= 0) { alert("Please enter your name"); return false; }
|
192 |
if (wplc_email.length <= 0) { alert("Please enter your email address"); return false; }
|
193 |
+
var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i;
|
194 |
+
if (!testEmail.test(wplc_email)){
|
195 |
+
alert("Please Enter a Valid Email Address"); return false;
|
196 |
+
}
|
197 |
|
198 |
jQuery("#wp-live-chat-2").hide();
|
199 |
jQuery("#wp-live-chat-3").show();
|
200 |
|
201 |
var date = new Date();
|
202 |
+
date.setTime(date.getTime() + (2 * 60 * 1000));
|
203 |
jQuery.cookie('wplc_stage', 3, { expires: date, path: '/' });
|
204 |
|
205 |
wplc_check_cookie_id = jQuery.cookie('wplc_cid');
|
209 |
action: 'wplc_start_chat',
|
210 |
security: wplc_nonce,
|
211 |
name: wplc_name,
|
212 |
+
email: wplc_email,
|
213 |
+
wplc_wp_load_url: wplc_wp_load_url
|
214 |
};
|
215 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
216 |
//console.log("wplc_start_chat");
|
225 |
var data = {
|
226 |
action: 'wplc_user_awaiting_chat',
|
227 |
security: wplc_nonce,
|
228 |
+
id: cid,
|
229 |
+
wplc_wp_load_url: wplc_wp_load_url
|
230 |
};
|
231 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
232 |
//console.log("wplc_user_awaiting_chat");
|
236 |
jQuery("#wplc_cid").val(cid)
|
237 |
jQuery("#wp-live-chat-3").hide();
|
238 |
jQuery("#wp-live-chat-4").show();
|
239 |
+
jQuery("#wplc_chatmsg").focus();
|
240 |
|
241 |
// chat is now active
|
242 |
jQuery.cookie('wplc_cid', cid, { expires: 1, path: '/' });
|
275 |
action: 'wplc_user_send_msg',
|
276 |
security: wplc_nonce,
|
277 |
cid: wplc_cid,
|
278 |
+
msg: wplc_chat,
|
279 |
+
wplc_wp_load_url: wplc_wp_load_url
|
280 |
};
|
281 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
282 |
//console.log("wplc_user_send_msg");
|
287 |
var data = {
|
288 |
action: 'wplc_update_user_chat_status',
|
289 |
cid: cid,
|
290 |
+
security: wplc_nonce,
|
291 |
+
wplc_wp_load_url: wplc_wp_load_url
|
292 |
};
|
293 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
294 |
if (response === "1") {
|
312 |
var data = {
|
313 |
action: 'wplc_update_user_chat_boxes',
|
314 |
cid: cid,
|
315 |
+
security: wplc_nonce,
|
316 |
+
wplc_wp_load_url: wplc_wp_load_url
|
317 |
};
|
318 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
319 |
//console.log("wplc_update_user_chat_boxes");
|
366 |
var data = {
|
367 |
action: 'wplc_user_reactivate_chat',
|
368 |
security: wplc_nonce,
|
369 |
+
cid: wplc_check_cookie_id,
|
370 |
+
wplc_wp_load_url: wplc_wp_load_url
|
371 |
};
|
372 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
373 |
//console.log("wplc_user_reactivate_chat");
|
languages/wp-live-chat-support-default.mo
DELETED
Binary file
|
languages/wp-live-chat-support-default.po
DELETED
@@ -1,266 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: \n"
|
4 |
-
"POT-Creation-Date: 2014-02-17 15:00+0200\n"
|
5 |
-
"PO-Revision-Date: 2014-02-17 15:00+0200\n"
|
6 |
-
"Last-Translator: \n"
|
7 |
-
"Language-Team: \n"
|
8 |
-
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
-
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.5.7\n"
|
12 |
-
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
|
13 |
-
"X-Poedit-Basepath: .\n"
|
14 |
-
"X-Poedit-SearchPath-0: C:\\wamp\\www\\wordpress361\\wp-content\\plugins\\wp-"
|
15 |
-
"live-chat-support\n"
|
16 |
-
|
17 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/functions.php:131
|
18 |
-
msgid "IP"
|
19 |
-
msgstr ""
|
20 |
-
|
21 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/functions.php:132
|
22 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:152
|
23 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:70
|
24 |
-
msgid "Name"
|
25 |
-
msgstr ""
|
26 |
-
|
27 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/functions.php:133
|
28 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:156
|
29 |
-
msgid "Email"
|
30 |
-
msgstr ""
|
31 |
-
|
32 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/functions.php:134
|
33 |
-
msgid "URL"
|
34 |
-
msgstr ""
|
35 |
-
|
36 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/functions.php:135
|
37 |
-
msgid "Status"
|
38 |
-
msgstr ""
|
39 |
-
|
40 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/functions.php:136
|
41 |
-
msgid "Action"
|
42 |
-
msgstr ""
|
43 |
-
|
44 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/functions.php:143
|
45 |
-
msgid "No chat sessions available at the moment"
|
46 |
-
msgstr ""
|
47 |
-
|
48 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/functions.php:435
|
49 |
-
msgid "Get Pro Add-on to accept more chats"
|
50 |
-
msgstr ""
|
51 |
-
|
52 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:70
|
53 |
-
msgid "Live Chat"
|
54 |
-
msgstr ""
|
55 |
-
|
56 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:71
|
57 |
-
msgid "Settings"
|
58 |
-
msgstr ""
|
59 |
-
|
60 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:72
|
61 |
-
msgid "History"
|
62 |
-
msgstr ""
|
63 |
-
|
64 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:177
|
65 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:440
|
66 |
-
msgid "Send"
|
67 |
-
msgstr ""
|
68 |
-
|
69 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:385
|
70 |
-
msgid "With the Pro add-on of WP Live Chat Support, you can"
|
71 |
-
msgstr ""
|
72 |
-
|
73 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:385
|
74 |
-
msgid "see who's online and initiate chats"
|
75 |
-
msgstr ""
|
76 |
-
|
77 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:385
|
78 |
-
msgid "with your online visitors with the click of a button."
|
79 |
-
msgstr ""
|
80 |
-
|
81 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:385
|
82 |
-
msgid "Buy the Pro add-on now for only $24.95 once off. Free Updates FOREVER."
|
83 |
-
msgstr ""
|
84 |
-
|
85 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:385
|
86 |
-
msgid "Buy the Pro add-on now for only $24.95 once off. Free Updates Forever."
|
87 |
-
msgstr ""
|
88 |
-
|
89 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:430
|
90 |
-
msgid "End chat"
|
91 |
-
msgstr ""
|
92 |
-
|
93 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:577
|
94 |
-
msgid "User has minimized the chat window"
|
95 |
-
msgstr ""
|
96 |
-
|
97 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:583
|
98 |
-
msgid "User has opened the chat window"
|
99 |
-
msgstr ""
|
100 |
-
|
101 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:590
|
102 |
-
msgid "User has closed and ended the chat"
|
103 |
-
msgstr ""
|
104 |
-
|
105 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:697
|
106 |
-
msgid "WP Live Chat History"
|
107 |
-
msgstr ""
|
108 |
-
|
109 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:702
|
110 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:46
|
111 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:77
|
112 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:93
|
113 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:109
|
114 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:125
|
115 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:142
|
116 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:163
|
117 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:177
|
118 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:227
|
119 |
-
msgid "Pro Add-on"
|
120 |
-
msgstr ""
|
121 |
-
|
122 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/wp-live-chat-support.php:726
|
123 |
-
msgid "Your settings have been saved."
|
124 |
-
msgstr ""
|
125 |
-
|
126 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:6
|
127 |
-
msgid "WP Live Chat Support Settings"
|
128 |
-
msgstr ""
|
129 |
-
|
130 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:19
|
131 |
-
msgid "General Settings"
|
132 |
-
msgstr ""
|
133 |
-
|
134 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:20
|
135 |
-
msgid "Chat Box"
|
136 |
-
msgstr ""
|
137 |
-
|
138 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:21
|
139 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:152
|
140 |
-
msgid "Offline Messages"
|
141 |
-
msgstr ""
|
142 |
-
|
143 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:22
|
144 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:189
|
145 |
-
msgid "Styling"
|
146 |
-
msgstr ""
|
147 |
-
|
148 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:25
|
149 |
-
msgid "Main Settings"
|
150 |
-
msgstr ""
|
151 |
-
|
152 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:28
|
153 |
-
msgid "Chat enabled"
|
154 |
-
msgstr ""
|
155 |
-
|
156 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:31
|
157 |
-
msgid "Yes"
|
158 |
-
msgstr ""
|
159 |
-
|
160 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:32
|
161 |
-
msgid "No"
|
162 |
-
msgstr ""
|
163 |
-
|
164 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:38
|
165 |
-
msgid "Hide Chat"
|
166 |
-
msgstr ""
|
167 |
-
|
168 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:45
|
169 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:76
|
170 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:92
|
171 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:108
|
172 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:124
|
173 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:141
|
174 |
-
msgid "available in the"
|
175 |
-
msgstr ""
|
176 |
-
|
177 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:47
|
178 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:78
|
179 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:94
|
180 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:110
|
181 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:126
|
182 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:143
|
183 |
-
msgid "only"
|
184 |
-
msgstr ""
|
185 |
-
|
186 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:56
|
187 |
-
msgid "Chat Window Settings"
|
188 |
-
msgstr ""
|
189 |
-
|
190 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:59
|
191 |
-
msgid "Chat box alignment"
|
192 |
-
msgstr ""
|
193 |
-
|
194 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:62
|
195 |
-
msgid "Bottom left"
|
196 |
-
msgstr ""
|
197 |
-
|
198 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:63
|
199 |
-
msgid "Bottom right"
|
200 |
-
msgstr ""
|
201 |
-
|
202 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:86
|
203 |
-
msgid "Picture"
|
204 |
-
msgstr ""
|
205 |
-
|
206 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:89
|
207 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:105
|
208 |
-
msgid "Upload Image"
|
209 |
-
msgstr ""
|
210 |
-
|
211 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:102
|
212 |
-
msgid "Logo"
|
213 |
-
msgstr ""
|
214 |
-
|
215 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:118
|
216 |
-
msgid "Chat delay (seconds)"
|
217 |
-
msgstr ""
|
218 |
-
|
219 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:134
|
220 |
-
msgid "Chat notifications"
|
221 |
-
msgstr ""
|
222 |
-
|
223 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:138
|
224 |
-
msgid "Alert me via email as soon as someone wants to chat"
|
225 |
-
msgstr ""
|
226 |
-
|
227 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:156
|
228 |
-
msgid "Email Address"
|
229 |
-
msgstr ""
|
230 |
-
|
231 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:162
|
232 |
-
msgid "Get offline messages with the "
|
233 |
-
msgstr ""
|
234 |
-
|
235 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:171
|
236 |
-
msgid "Offline text"
|
237 |
-
msgstr ""
|
238 |
-
|
239 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:176
|
240 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:226
|
241 |
-
msgid "Edit these text fields using the "
|
242 |
-
msgstr ""
|
243 |
-
|
244 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:192
|
245 |
-
msgid "Chat box fill color"
|
246 |
-
msgstr ""
|
247 |
-
|
248 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:198
|
249 |
-
msgid "Chat box font color"
|
250 |
-
msgstr ""
|
251 |
-
|
252 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:205
|
253 |
-
msgid "First section text"
|
254 |
-
msgstr ""
|
255 |
-
|
256 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:212
|
257 |
-
msgid "Second section text"
|
258 |
-
msgstr ""
|
259 |
-
|
260 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:221
|
261 |
-
msgid "Reactivate chat section text"
|
262 |
-
msgstr ""
|
263 |
-
|
264 |
-
#: C:\wamp\www\wordpress361\wp-content\plugins\wp-live-chat-support/includes/settings_page.php:238
|
265 |
-
msgid "Save Settings"
|
266 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/wplivechat-en_EN.mo
ADDED
Binary file
|
languages/wplivechat-en_EN.po
ADDED
@@ -0,0 +1,338 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: wp live chat support\n"
|
4 |
+
"POT-Creation-Date: 2014-05-29 10:46+0200\n"
|
5 |
+
"PO-Revision-Date: 2014-05-29 10:46+0200\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.5.7\n"
|
12 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;_e;__\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-SearchPath-0: C:\\wamp\\www\\wordpress38\\wp-content\\plugins\\wp-"
|
15 |
+
"live-chat-support-pro\n"
|
16 |
+
|
17 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:25
|
18 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:94
|
19 |
+
msgid "IP"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:26
|
23 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:95
|
24 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:320
|
25 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:408
|
26 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:431
|
27 |
+
msgid "Name"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:27
|
31 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:96
|
32 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:321
|
33 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:412
|
34 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:434
|
35 |
+
msgid "Email"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:28
|
39 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:97
|
40 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:322
|
41 |
+
msgid "URL"
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:29
|
45 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:98
|
46 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:323
|
47 |
+
msgid "Status"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:30
|
51 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:99
|
52 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:324
|
53 |
+
msgid "Action"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:37
|
57 |
+
msgid "No visitors on-line at the moment"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:46
|
61 |
+
msgid "Initiate Chat"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/functions-pro.php:106
|
65 |
+
msgid "No chat sessions available at the moment"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:128
|
69 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:68
|
70 |
+
msgid "Name "
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:141
|
74 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:80
|
75 |
+
msgid "Picture"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:143
|
79 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:87
|
80 |
+
msgid "Upload Image"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:153
|
84 |
+
msgid "Chat Delay (seconds)"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:164
|
88 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:115
|
89 |
+
msgid "Chat notifications"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:167
|
93 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:119
|
94 |
+
msgid "Alert me via email as soon as someone wants to chat"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:167
|
98 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:120
|
99 |
+
msgid "(while online only)"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:176
|
103 |
+
msgid "Email address"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:179
|
107 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:135
|
108 |
+
msgid "Email address where offline messages are delivered to"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:191
|
112 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:93
|
113 |
+
msgid "Logo"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:193
|
117 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:100
|
118 |
+
msgid "Upload Logo"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:205
|
122 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:213
|
123 |
+
msgid "First Section Text"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:214
|
127 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:222
|
128 |
+
msgid "Intro Text"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:220
|
132 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:228
|
133 |
+
msgid "Second Section Text"
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:227
|
137 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:235
|
138 |
+
msgid "Reactivate Chat Section Text"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:235
|
142 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:243
|
143 |
+
msgid "User chat welcome"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:244
|
147 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:252
|
148 |
+
msgid "Other text"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:257
|
152 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:176
|
153 |
+
msgid "Offline Chat Box Title"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:265
|
157 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:184
|
158 |
+
msgid "Offline Text Fields"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:319
|
162 |
+
msgid "Date"
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:330
|
166 |
+
msgid "No chats available at the moment"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:437
|
170 |
+
msgid "Message"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:461
|
174 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:655
|
175 |
+
msgid "Send"
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:520
|
179 |
+
msgid "Your settings have been saved."
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:541
|
183 |
+
msgid "Chat sessions"
|
184 |
+
msgstr ""
|
185 |
+
|
186 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:559
|
187 |
+
msgid ""
|
188 |
+
"Please note: This window must be open in order to receive new chat "
|
189 |
+
"notifications."
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:564
|
193 |
+
msgid "Visitors on site"
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:638
|
197 |
+
msgid "Attempting to open the chat window... Please be patient."
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:643
|
201 |
+
msgid "End chat"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:652
|
205 |
+
msgid "Press ENTER to send your message"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:829
|
209 |
+
msgid "User has minimized the chat window"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:835
|
213 |
+
msgid "User has opened the chat window"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:841
|
217 |
+
msgid "User has closed and ended the chat"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1006
|
221 |
+
msgid ""
|
222 |
+
"An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
|
223 |
+
"\" onclick=\"document.location.reload(); return false;\">Try again</a>"
|
224 |
+
msgstr ""
|
225 |
+
|
226 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1011
|
227 |
+
msgid "An unknown error occurred"
|
228 |
+
msgstr ""
|
229 |
+
|
230 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1066
|
231 |
+
msgid "Live Chat"
|
232 |
+
msgstr ""
|
233 |
+
|
234 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1067
|
235 |
+
msgid "Settings"
|
236 |
+
msgstr ""
|
237 |
+
|
238 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1068
|
239 |
+
msgid "History"
|
240 |
+
msgstr ""
|
241 |
+
|
242 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/wp-live-chat-support-pro.php:1070
|
243 |
+
msgid "Error Log"
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:12
|
247 |
+
msgid "WP Live Chat Support Settings"
|
248 |
+
msgstr ""
|
249 |
+
|
250 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:24
|
251 |
+
msgid "General Settings"
|
252 |
+
msgstr ""
|
253 |
+
|
254 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:25
|
255 |
+
msgid "Chat Box"
|
256 |
+
msgstr ""
|
257 |
+
|
258 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:26
|
259 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:127
|
260 |
+
msgid "Offline Messages"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:27
|
264 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:198
|
265 |
+
msgid "Styling"
|
266 |
+
msgstr ""
|
267 |
+
|
268 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:30
|
269 |
+
msgid "Main Settings"
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:33
|
273 |
+
msgid "Chat enabled"
|
274 |
+
msgstr ""
|
275 |
+
|
276 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:36
|
277 |
+
msgid "Yes"
|
278 |
+
msgstr ""
|
279 |
+
|
280 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:37
|
281 |
+
msgid "No"
|
282 |
+
msgstr ""
|
283 |
+
|
284 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:43
|
285 |
+
msgid "Hide Chat"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:54
|
289 |
+
msgid "Chat Window Settings"
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:57
|
293 |
+
msgid "Chat box alignment"
|
294 |
+
msgstr ""
|
295 |
+
|
296 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:60
|
297 |
+
msgid "Bottom left"
|
298 |
+
msgstr ""
|
299 |
+
|
300 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:61
|
301 |
+
msgid "Bottom right"
|
302 |
+
msgstr ""
|
303 |
+
|
304 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:106
|
305 |
+
msgid "Chat delay (seconds)"
|
306 |
+
msgstr ""
|
307 |
+
|
308 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:131
|
309 |
+
msgid "Email Address"
|
310 |
+
msgstr ""
|
311 |
+
|
312 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:143
|
313 |
+
msgid "Host"
|
314 |
+
msgstr ""
|
315 |
+
|
316 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:151
|
317 |
+
msgid "Port"
|
318 |
+
msgstr ""
|
319 |
+
|
320 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:159
|
321 |
+
msgid "Username"
|
322 |
+
msgstr ""
|
323 |
+
|
324 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:167
|
325 |
+
msgid "Password"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:201
|
329 |
+
msgid "Chat box fill color"
|
330 |
+
msgstr ""
|
331 |
+
|
332 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:207
|
333 |
+
msgid "Chat box font color"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-live-chat-support-pro/includes/settings_page_pro.php:262
|
337 |
+
msgid "Save Settings"
|
338 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: WP-LiveChat
|
3 |
Donate link: http://www.wp-livechat.com
|
4 |
Tags: live chat, live support, chat plugin, live help, wordpress chat, customer support, chat, live chat plugin, live support plugin, live chat support plugin, chat plugin, support plugin, support, chat software, chat online, visitor chat, chat, free chat, free live chat, customer support, online support, live help, chat widget, customer help
|
5 |
-
Requires at least: 3.
|
6 |
Tested up to: 3.9.1
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2
|
@@ -84,6 +84,12 @@ Please review the live chat documentation on [our website](http://wp-livechat.co
|
|
84 |
|
85 |
== Changelog ==
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
= 3.07 =
|
88 |
|
89 |
* Fixed height issues with input boxes
|
2 |
Contributors: WP-LiveChat
|
3 |
Donate link: http://www.wp-livechat.com
|
4 |
Tags: live chat, live support, chat plugin, live help, wordpress chat, customer support, chat, live chat plugin, live support plugin, live chat support plugin, chat plugin, support plugin, support, chat software, chat online, visitor chat, chat, free chat, free live chat, customer support, online support, live help, chat widget, customer help
|
5 |
+
Requires at least: 3.6
|
6 |
Tested up to: 3.9.1
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2
|
84 |
|
85 |
== Changelog ==
|
86 |
|
87 |
+
= 3.08 =
|
88 |
+
|
89 |
+
* Fixed Languages not been translated
|
90 |
+
* Fixed 500 Error from ajax call
|
91 |
+
* Email validation bug fixed
|
92 |
+
|
93 |
= 3.07 =
|
94 |
|
95 |
* Fixed height issues with input boxes
|
wp-live-chat-support.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Live Chat Support
|
4 |
Plugin URI: http://www.wp-livechat.com
|
5 |
Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP Live Chat Support. No third party connection required!
|
6 |
-
Version: 3.
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
*/
|
@@ -17,13 +17,18 @@ global $wplc_tblname_chats;
|
|
17 |
global $wplc_tblname_msgs;
|
18 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
19 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
20 |
-
$wplc_version = "3.
|
|
|
|
|
|
|
|
|
21 |
|
22 |
require_once (plugin_dir_path( __FILE__ )."functions.php");
|
23 |
add_action('wp_ajax_wplc_admin_set_transient', 'wplc_action_callback');
|
24 |
|
25 |
add_action('wp_footer', 'wplc_display_box');
|
26 |
|
|
|
27 |
|
28 |
if (function_exists('wplc_head_pro')) {
|
29 |
add_action('admin_head', 'wplc_head_pro');
|
@@ -44,6 +49,10 @@ add_action('admin_head', 'wplc_superadmin_javascript');
|
|
44 |
register_activation_hook( __FILE__, 'wplc_activate' );
|
45 |
|
46 |
|
|
|
|
|
|
|
|
|
47 |
|
48 |
|
49 |
function wplc_action_callback() {
|
@@ -85,6 +94,7 @@ function wplc_user_top_js() {
|
|
85 |
<script type="text/javascript">
|
86 |
<?php if (!function_exists("wplc_register_pro_version")) { ?>
|
87 |
var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
|
|
|
88 |
<?php } ?>
|
89 |
var wplc_nonce = '<?php echo $ajax_nonce; ?>';
|
90 |
</script>
|
@@ -152,11 +162,11 @@ function wplc_output_box() {
|
|
152 |
<strong>Start Live Chat</strong>
|
153 |
</div>
|
154 |
|
155 |
-
<input type="text" name="wplc_name" id="wplc_name" value="" placeholder="<?php _e("Name","wplivechat"); ?>"/>
|
156 |
|
157 |
-
<input type="text" name="wplc_email" id="wplc_email" value="" placeholder="<?php _e("Email","wplivechat"); ?>"/>
|
158 |
|
159 |
-
<input id="wplc_start_chat_btn" type="button" value="Start Chat" style="background-color: <?php echo $wplc_settings_fill; ?> !important; color: <?php echo $wplc_settings_font; ?> !important;"/>
|
160 |
|
161 |
|
162 |
|
@@ -257,6 +267,7 @@ function wplc_superadmin_javascript() {
|
|
257 |
var data = {
|
258 |
action: 'wplc_admin_set_transient',
|
259 |
security: '<?php echo $ajax_nonce; ?>'
|
|
|
260 |
};
|
261 |
jQuery.post(ajaxurl, data, function(response) {
|
262 |
//console.log("wplc_admin_set_transient");
|
@@ -280,6 +291,7 @@ function wplc_admin_javascript() {
|
|
280 |
<script type="text/javascript">
|
281 |
jQuery(document).ready(function() {
|
282 |
var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
|
|
|
283 |
var wplc_autoLoad = null;
|
284 |
var wplc_refresh_chat_area = null;
|
285 |
var wplc_refresh_status = null;
|
@@ -291,7 +303,8 @@ function wplc_admin_javascript() {
|
|
291 |
function wpcl_admin_update_chats(cid) {
|
292 |
var data = {
|
293 |
action: 'wplc_update_admin_chat',
|
294 |
-
security: '<?php echo $ajax_nonce; ?>'
|
|
|
295 |
};
|
296 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
297 |
//console.log("wplc_update_admin_chat");
|
@@ -316,7 +329,8 @@ function wplc_admin_javascript() {
|
|
316 |
function wplc_update_statuses() {
|
317 |
var data = {
|
318 |
action: 'wplc_update_admin_status',
|
319 |
-
security: '<?php echo $ajax_nonce; ?>'
|
|
|
320 |
};
|
321 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
322 |
//console.log("wplc_update_admin_status");
|
@@ -492,6 +506,7 @@ function wplc_return_admin_chat_javascript($cid) {
|
|
492 |
|
493 |
var wplc_image = "<?php echo $image ?>";
|
494 |
var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
|
|
|
495 |
var wplc_nonce = '<?php echo $ajax_nonce; ?>';
|
496 |
var wplc_gcid = '<?php echo $cid; ?>';
|
497 |
|
@@ -507,7 +522,8 @@ function wplc_return_admin_chat_javascript($cid) {
|
|
507 |
var data = {
|
508 |
action: 'wplc_admin_accept_chat',
|
509 |
cid: cid,
|
510 |
-
security: wplc_nonce
|
|
|
511 |
};
|
512 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
513 |
//console.log("wplc_admin_accept_chat");
|
@@ -526,7 +542,8 @@ function wplc_return_admin_chat_javascript($cid) {
|
|
526 |
var data = {
|
527 |
action: 'wplc_admin_close_chat',
|
528 |
security: '<?php echo $ajax_nonce; ?>',
|
529 |
-
cid: wplc_cid
|
|
|
530 |
|
531 |
};
|
532 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
@@ -553,7 +570,8 @@ function wplc_return_admin_chat_javascript($cid) {
|
|
553 |
action: 'wplc_admin_send_msg',
|
554 |
security: wplc_nonce,
|
555 |
cid: wplc_cid,
|
556 |
-
msg: wplc_chat
|
|
|
557 |
};
|
558 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
559 |
//console.log("wplc_admin_send_msg");
|
@@ -572,7 +590,8 @@ function wplc_return_admin_chat_javascript($cid) {
|
|
572 |
var data = {
|
573 |
action: 'wplc_update_admin_chat_boxes',
|
574 |
cid: cid,
|
575 |
-
security: wplc_nonce
|
|
|
576 |
};
|
577 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
578 |
//console.log("wplc_update_admin_chat_boxes");
|
@@ -598,7 +617,8 @@ function wplc_return_admin_chat_javascript($cid) {
|
|
598 |
var data = {
|
599 |
action: 'wplc_update_admin_return_chat_status',
|
600 |
cid: <?php echo $cid; ?>,
|
601 |
-
security: '<?php echo $ajax_nonce; ?>'
|
|
|
602 |
};
|
603 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
604 |
//console.log("wplc_update_admin_return_chat_status");
|
@@ -775,5 +795,18 @@ function wplc_logout() {
|
|
775 |
}
|
776 |
add_action('wp_logout', 'wplc_logout');
|
777 |
|
778 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
779 |
|
3 |
Plugin Name: WP Live Chat Support
|
4 |
Plugin URI: http://www.wp-livechat.com
|
5 |
Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP Live Chat Support. No third party connection required!
|
6 |
+
Version: 3.08
|
7 |
Author: WP-LiveChat
|
8 |
Author URI: http://www.wp-livechat.com
|
9 |
*/
|
17 |
global $wplc_tblname_msgs;
|
18 |
$wplc_tblname_chats = $wpdb->prefix . "wplc_chat_sessions";
|
19 |
$wplc_tblname_msgs = $wpdb->prefix . "wplc_chat_msgs";
|
20 |
+
$wplc_version = "3.08";
|
21 |
+
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
|
26 |
require_once (plugin_dir_path( __FILE__ )."functions.php");
|
27 |
add_action('wp_ajax_wplc_admin_set_transient', 'wplc_action_callback');
|
28 |
|
29 |
add_action('wp_footer', 'wplc_display_box');
|
30 |
|
31 |
+
add_action('init','wplc_init');
|
32 |
|
33 |
if (function_exists('wplc_head_pro')) {
|
34 |
add_action('admin_head', 'wplc_head_pro');
|
49 |
register_activation_hook( __FILE__, 'wplc_activate' );
|
50 |
|
51 |
|
52 |
+
function wplc_init() {
|
53 |
+
$plugin_dir = basename(dirname(__FILE__))."/languages/";
|
54 |
+
load_plugin_textdomain( 'wplivechat', false, $plugin_dir );
|
55 |
+
}
|
56 |
|
57 |
|
58 |
function wplc_action_callback() {
|
94 |
<script type="text/javascript">
|
95 |
<?php if (!function_exists("wplc_register_pro_version")) { ?>
|
96 |
var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
|
97 |
+
var wplc_wp_load_url = '<?php echo wplc_get_home_path(); ?>wp-load.php';
|
98 |
<?php } ?>
|
99 |
var wplc_nonce = '<?php echo $ajax_nonce; ?>';
|
100 |
</script>
|
162 |
<strong>Start Live Chat</strong>
|
163 |
</div>
|
164 |
|
165 |
+
<input type="text" name="wplc_name" id="wplc_name" value="" placeholder="<?php _e("Name","wplivechat"); ?>" />
|
166 |
|
167 |
+
<input type="text" name="wplc_email" id="wplc_email" value="" placeholder="<?php _e("Email","wplivechat"); ?>" />
|
168 |
|
169 |
+
<input id="wplc_start_chat_btn" type="button" value="<?php _e("Start Chat","wplivechat"); ?>" style="background-color: <?php echo $wplc_settings_fill; ?> !important; color: <?php echo $wplc_settings_font; ?> !important;"/>
|
170 |
|
171 |
|
172 |
|
267 |
var data = {
|
268 |
action: 'wplc_admin_set_transient',
|
269 |
security: '<?php echo $ajax_nonce; ?>'
|
270 |
+
|
271 |
};
|
272 |
jQuery.post(ajaxurl, data, function(response) {
|
273 |
//console.log("wplc_admin_set_transient");
|
291 |
<script type="text/javascript">
|
292 |
jQuery(document).ready(function() {
|
293 |
var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
|
294 |
+
var wplc_wp_load_url = '<?php echo wplc_get_home_path(); ?>wp-load.php';
|
295 |
var wplc_autoLoad = null;
|
296 |
var wplc_refresh_chat_area = null;
|
297 |
var wplc_refresh_status = null;
|
303 |
function wpcl_admin_update_chats(cid) {
|
304 |
var data = {
|
305 |
action: 'wplc_update_admin_chat',
|
306 |
+
security: '<?php echo $ajax_nonce; ?>',
|
307 |
+
wplc_wp_load_url:wplc_wp_load_url
|
308 |
};
|
309 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
310 |
//console.log("wplc_update_admin_chat");
|
329 |
function wplc_update_statuses() {
|
330 |
var data = {
|
331 |
action: 'wplc_update_admin_status',
|
332 |
+
security: '<?php echo $ajax_nonce; ?>',
|
333 |
+
wplc_wp_load_url:wplc_wp_load_url
|
334 |
};
|
335 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
336 |
//console.log("wplc_update_admin_status");
|
506 |
|
507 |
var wplc_image = "<?php echo $image ?>";
|
508 |
var wplc_ajaxurl = '<?php echo plugins_url('/ajax.php', __FILE__); ?>';
|
509 |
+
var wplc_wp_load_url = '<?php echo wplc_get_home_path(); ?>wp-load.php';
|
510 |
var wplc_nonce = '<?php echo $ajax_nonce; ?>';
|
511 |
var wplc_gcid = '<?php echo $cid; ?>';
|
512 |
|
522 |
var data = {
|
523 |
action: 'wplc_admin_accept_chat',
|
524 |
cid: cid,
|
525 |
+
security: wplc_nonce,
|
526 |
+
wplc_wp_load_url:wplc_wp_load_url
|
527 |
};
|
528 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
529 |
//console.log("wplc_admin_accept_chat");
|
542 |
var data = {
|
543 |
action: 'wplc_admin_close_chat',
|
544 |
security: '<?php echo $ajax_nonce; ?>',
|
545 |
+
cid: wplc_cid,
|
546 |
+
wplc_wp_load_url:wplc_wp_load_url
|
547 |
|
548 |
};
|
549 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
570 |
action: 'wplc_admin_send_msg',
|
571 |
security: wplc_nonce,
|
572 |
cid: wplc_cid,
|
573 |
+
msg: wplc_chat,
|
574 |
+
wplc_wp_load_url:wplc_wp_load_url
|
575 |
};
|
576 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
577 |
//console.log("wplc_admin_send_msg");
|
590 |
var data = {
|
591 |
action: 'wplc_update_admin_chat_boxes',
|
592 |
cid: cid,
|
593 |
+
security: wplc_nonce,
|
594 |
+
wplc_wp_load_url:wplc_wp_load_url
|
595 |
};
|
596 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
597 |
//console.log("wplc_update_admin_chat_boxes");
|
617 |
var data = {
|
618 |
action: 'wplc_update_admin_return_chat_status',
|
619 |
cid: <?php echo $cid; ?>,
|
620 |
+
security: '<?php echo $ajax_nonce; ?>',
|
621 |
+
wplc_wp_load_url:wplc_wp_load_url
|
622 |
};
|
623 |
jQuery.post(wplc_ajaxurl, data, function(response) {
|
624 |
//console.log("wplc_update_admin_return_chat_status");
|
795 |
}
|
796 |
add_action('wp_logout', 'wplc_logout');
|
797 |
|
798 |
+
function wplc_get_home_path() {
|
799 |
+
$home = get_option( 'home' );
|
800 |
+
$siteurl = get_option( 'siteurl' );
|
801 |
+
if ( ! empty( $home ) && 0 !== strcasecmp( $home, $siteurl ) ) {
|
802 |
+
$wp_path_rel_to_home = str_ireplace( $home, '', $siteurl ); /* $siteurl - $home */
|
803 |
+
$pos = strripos( str_replace( '\\', '/', $_SERVER['SCRIPT_FILENAME'] ), trailingslashit( $wp_path_rel_to_home ) );
|
804 |
+
$home_path = substr( $_SERVER['SCRIPT_FILENAME'], 0, $pos );
|
805 |
+
$home_path = trailingslashit( $home_path );
|
806 |
+
} else {
|
807 |
+
$home_path = ABSPATH;
|
808 |
+
}
|
809 |
+
|
810 |
+
return str_replace( '\\', '/', $home_path );
|
811 |
+
}
|
812 |
|