Version Description
Download this release
Release Info
Developer | netweblogic |
Plugin | Login With Ajax |
Version | 3.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.1 to 3.1.1
- langs/login-with-ajax-ru_RU.mo +0 -0
- langs/login-with-ajax-ru_RU.po +115 -78
- langs/login-with-ajax-sk_SK.mo +0 -0
- langs/login-with-ajax-sk_SK.po +402 -0
- langs/login-with-ajax.pot +320 -201
- login-with-ajax-admin.php +1 -2
- login-with-ajax-widget.php +7 -1
- login-with-ajax.php +23 -16
- readme.txt +31 -15
- widget/default/widget_in.php +6 -6
- widget/default/widget_out.php +5 -1
- widget/divs-only/widget_out.php +7 -2
- widget/jquery.reveal.js +0 -163
- widget/login-with-ajax.js +1 -2
- widget/login-with-ajax.source.js +167 -2
- widget/modal/widget_out.php +11 -11
- widget/widget.css +1 -0
langs/login-with-ajax-ru_RU.mo
CHANGED
Binary file
|
langs/login-with-ajax-ru_RU.po
CHANGED
@@ -3,59 +3,78 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Login With Ajax\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2011-01-08 22:17+0300\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: kowack <kowack@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_p;_e\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
-
"X-Poedit-Language: Russian\n"
|
15 |
-
"X-Poedit-Country: UKRAINE\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
|
|
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPath-1: ..\n"
|
19 |
|
20 |
#: ../login-with-ajax-admin.php:44
|
21 |
-
msgid "
|
22 |
-
|
|
|
|
|
|
|
|
|
23 |
|
24 |
#: ../login-with-ajax-admin.php:46
|
25 |
msgid "Dismiss"
|
26 |
-
msgstr "
|
27 |
|
28 |
#: ../login-with-ajax-admin.php:92
|
29 |
msgid "Changes saved."
|
30 |
-
msgstr "Изменения сохранены
|
31 |
|
32 |
#: ../login-with-ajax-admin.php:135
|
33 |
msgid "General Settings"
|
34 |
-
msgstr "
|
35 |
|
36 |
#: ../login-with-ajax-admin.php:141
|
37 |
msgid "Default Template"
|
38 |
-
msgstr "Шаблон по
|
39 |
|
40 |
#: ../login-with-ajax-admin.php:150
|
41 |
-
msgid "
|
42 |
-
|
|
|
|
|
|
|
|
|
43 |
|
44 |
#: ../login-with-ajax-admin.php:151
|
45 |
msgid "Further documentation for this feature coming soon..."
|
46 |
-
msgstr "Документация по этой функции
|
47 |
|
48 |
#: ../login-with-ajax-admin.php:157
|
49 |
msgid "Disable refresh upon login?"
|
50 |
msgstr "Выключить обновление страницы при входе?"
|
51 |
|
52 |
#: ../login-with-ajax-admin.php:162
|
53 |
-
msgid "
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
#: ../login-with-ajax-admin.php:163
|
57 |
-
msgid "
|
58 |
-
|
|
|
|
|
|
|
|
|
59 |
|
60 |
#: ../login-with-ajax-admin.php:168
|
61 |
msgid "Redirection Settings"
|
@@ -63,47 +82,64 @@ msgstr "Настройки редиректа"
|
|
63 |
|
64 |
#: ../login-with-ajax-admin.php:173
|
65 |
msgid "Global Login Redirect"
|
66 |
-
msgstr "
|
67 |
|
68 |
#: ../login-with-ajax-admin.php:177
|
69 |
-
msgid "
|
70 |
-
|
|
|
|
|
|
|
|
|
71 |
|
72 |
-
#: ../login-with-ajax-admin.php:178
|
73 |
-
#: ../login-with-ajax-admin.php:188
|
74 |
msgid "New!"
|
75 |
msgstr "Новинка!"
|
76 |
|
77 |
#: ../login-with-ajax-admin.php:178
|
78 |
-
msgid "
|
79 |
-
|
|
|
|
|
80 |
|
81 |
#: ../login-with-ajax-admin.php:183
|
82 |
msgid "Global Logout Redirect"
|
83 |
msgstr "Переадресация при выходе"
|
84 |
|
85 |
#: ../login-with-ajax-admin.php:187
|
86 |
-
msgid "
|
87 |
-
|
|
|
|
|
|
|
|
|
88 |
|
89 |
#: ../login-with-ajax-admin.php:188
|
90 |
-
msgid "
|
91 |
-
|
|
|
|
|
92 |
|
93 |
#: ../login-with-ajax-admin.php:193
|
94 |
msgid "Role-Based Custom Login Redirects"
|
95 |
msgstr "Переадресация по группам при входе "
|
96 |
|
97 |
#: ../login-with-ajax-admin.php:196
|
98 |
-
msgid "
|
99 |
-
|
|
|
|
|
|
|
|
|
100 |
|
101 |
#: ../login-with-ajax-admin.php:216
|
102 |
msgid "Role-Based Custom Logout Redirects"
|
103 |
msgstr "Переадресация по группам при выходе"
|
104 |
|
105 |
#: ../login-with-ajax-admin.php:219
|
106 |
-
msgid "
|
|
|
|
|
107 |
msgstr "Редрект по ролям"
|
108 |
|
109 |
#: ../login-with-ajax-admin.php:239
|
@@ -111,16 +147,26 @@ msgid "Notification Settings"
|
|
111 |
msgstr "Настройки оповещений"
|
112 |
|
113 |
#: ../login-with-ajax-admin.php:241
|
114 |
-
msgid "
|
115 |
-
|
|
|
|
|
|
|
|
|
|
|
116 |
|
117 |
#: ../login-with-ajax-admin.php:242
|
118 |
-
msgid "
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
120 |
|
121 |
#: ../login-with-ajax-admin.php:248
|
122 |
msgid "Override Default Email?"
|
123 |
-
msgstr "Перезапись
|
124 |
|
125 |
#: ../login-with-ajax-admin.php:256
|
126 |
msgid "Subject"
|
@@ -132,21 +178,19 @@ msgstr "Успешная регистрация на %BLOGNAME%"
|
|
132 |
|
133 |
#: ../login-with-ajax-admin.php:265
|
134 |
msgid "<code>%USERNAME%</code> will be replaced with a username."
|
135 |
-
msgstr "<code>%USERNAME%</code> логин."
|
136 |
|
137 |
#: ../login-with-ajax-admin.php:266
|
138 |
msgid "<code>%PASSWORD%</code> will be replaced with the user's password."
|
139 |
-
msgstr "<code>%PASSWORD%</code> пароль."
|
140 |
|
141 |
-
#: ../login-with-ajax-admin.php:267
|
142 |
-
#: ../login-with-ajax-admin.php:291
|
143 |
msgid "<code>%BLOGNAME%</code> will be replaced with the name of your blog."
|
144 |
-
msgstr "<code>%BLOGNAME%</code> название блога."
|
145 |
|
146 |
-
#: ../login-with-ajax-admin.php:268
|
147 |
-
#: ../login-with-ajax-admin.php:292
|
148 |
msgid "<code>%BLOGURL%</code> will be replaced with the url of your blog."
|
149 |
-
msgstr "<br /><code>%BLOGURL%</code>
|
150 |
|
151 |
#: ../login-with-ajax-admin.php:273
|
152 |
msgid "Message"
|
@@ -165,15 +209,15 @@ msgid ""
|
|
165 |
"\n"
|
166 |
"The team at %BLOGNAME%"
|
167 |
msgstr ""
|
168 |
-
"
|
169 |
"\n"
|
170 |
-
"Краткая
|
171 |
-
"
|
172 |
-
"
|
173 |
"\n"
|
174 |
-
"С нетерпением
|
175 |
"\n"
|
176 |
-
"
|
177 |
|
178 |
#: ../login-with-ajax-admin.php:301
|
179 |
msgid "Save Changes"
|
@@ -189,7 +233,7 @@ msgstr "Вкл. Profile link"
|
|
189 |
|
190 |
#: ../login-with-ajax-widget.php:32
|
191 |
msgid "AJAX Registration?"
|
192 |
-
msgstr "Вкл. AJAX
|
193 |
|
194 |
#: ../login-with-ajax-widget.php:37
|
195 |
msgid "Template"
|
@@ -203,10 +247,9 @@ msgstr "Вошли, переходим..."
|
|
203 |
msgid "Login successful, updating..."
|
204 |
msgstr "Вошли, обновляемся..."
|
205 |
|
206 |
-
#: ../login-with-ajax.php:199
|
207 |
-
#: ../login-with-ajax.php:251
|
208 |
msgid "An undefined error has ocurred"
|
209 |
-
msgstr "
|
210 |
|
211 |
#: ../login-with-ajax.php:203
|
212 |
msgid "Please supply your username and password."
|
@@ -214,19 +257,18 @@ msgstr "Нужно ввести логин и пароль."
|
|
214 |
|
215 |
#: ../login-with-ajax.php:222
|
216 |
msgid "Registration complete. Please check your e-mail."
|
217 |
-
msgstr "Вот и вся регистрация.
|
218 |
|
219 |
#: ../login-with-ajax.php:242
|
220 |
msgid "We have sent you an email"
|
221 |
-
msgstr "
|
222 |
|
223 |
#: ../pluggable.php:25
|
224 |
#, php-format
|
225 |
msgid "New user registration on your blog %s:"
|
226 |
-
msgstr "Новый пользователь
|
227 |
|
228 |
-
#: ../pluggable.php:26
|
229 |
-
#: ../pluggable.php:40
|
230 |
#, php-format
|
231 |
msgid "Username: %s"
|
232 |
msgstr "Логин: %s"
|
@@ -249,15 +291,13 @@ msgstr "Пароль: %s"
|
|
249 |
#: ../pluggable.php:44
|
250 |
#, php-format
|
251 |
msgid "[%s] Your username and password"
|
252 |
-
msgstr "[%s]
|
253 |
|
254 |
-
#: ../widget/default/widget_in.php:11
|
255 |
-
#: ../widget/default/widget_in.php:14
|
256 |
msgid "Hi"
|
257 |
-
msgstr "
|
258 |
|
259 |
-
#: ../widget/default/widget_in.php:35
|
260 |
-
#: ../widget/default/widget_in.php:39
|
261 |
msgid "Profile"
|
262 |
msgstr "<br />Профиль"
|
263 |
|
@@ -267,15 +307,13 @@ msgstr "<br />Выйти"
|
|
267 |
|
268 |
#: ../widget/default/widget_in.php:50
|
269 |
msgid "blog admin"
|
270 |
-
msgstr "<br
|
271 |
|
272 |
-
#: ../widget/default/widget_out.php:10
|
273 |
-
#: ../widget/default/widget_out.php:36
|
274 |
msgid "Log In"
|
275 |
msgstr "Войти"
|
276 |
|
277 |
-
#: ../widget/default/widget_out.php:19
|
278 |
-
#: ../widget/default/widget_out.php:94
|
279 |
msgid "Username"
|
280 |
msgstr "Логин"
|
281 |
|
@@ -289,11 +327,11 @@ msgstr "Запомнить меня"
|
|
289 |
|
290 |
#: ../widget/default/widget_out.php:44
|
291 |
msgid "Password Lost and Found"
|
292 |
-
msgstr ""
|
293 |
|
294 |
#: ../widget/default/widget_out.php:44
|
295 |
msgid "Lost your password?"
|
296 |
-
msgstr "
|
297 |
|
298 |
#: ../widget/default/widget_out.php:57
|
299 |
msgid "Register"
|
@@ -301,11 +339,11 @@ msgstr "Регистрация"
|
|
301 |
|
302 |
#: ../widget/default/widget_out.php:69
|
303 |
msgid "Forgotten Password"
|
304 |
-
msgstr "
|
305 |
|
306 |
#: ../widget/default/widget_out.php:74
|
307 |
msgid "Enter username or email"
|
308 |
-
msgstr "
|
309 |
|
310 |
#: ../widget/default/widget_out.php:80
|
311 |
msgid "Get New Password"
|
@@ -313,11 +351,11 @@ msgstr "Получить новый пароль"
|
|
313 |
|
314 |
#: ../widget/default/widget_out.php:81
|
315 |
msgid "Cancel"
|
316 |
-
msgstr "
|
317 |
|
318 |
#: ../widget/default/widget_out.php:91
|
319 |
msgid "Register For This Site"
|
320 |
-
msgstr ""
|
321 |
|
322 |
#: ../widget/default/widget_out.php:98
|
323 |
msgid "E-mail"
|
@@ -325,5 +363,4 @@ msgstr ""
|
|
325 |
|
326 |
#: ../widget/default/widget_out.php:102
|
327 |
msgid "A password will be e-mailed to you."
|
328 |
-
msgstr "Пароль будет отправлен
|
329 |
-
|
3 |
"Project-Id-Version: Login With Ajax\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2011-01-08 22:17+0300\n"
|
6 |
+
"PO-Revision-Date: 2013-05-06 19:53+0100\n"
|
7 |
+
"Last-Translator: Marcus Sykes <wp.plugins@netweblogic.com>\n"
|
8 |
"Language-Team: kowack <kowack@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_p;_e\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
|
|
|
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
+
"Language: ru_UA\n"
|
16 |
+
"X-Generator: Poedit 1.5.5\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPath-1: ..\n"
|
19 |
|
20 |
#: ../login-with-ajax-admin.php:44
|
21 |
+
msgid ""
|
22 |
+
"New features in Login With AJAX (including registration!), check out the "
|
23 |
+
"settings and widget pages!"
|
24 |
+
msgstr ""
|
25 |
+
"Появились новые приколы у Login With AJAX (включая регистрацию!), так что "
|
26 |
+
"проверьте настройки и страницу виджетов!"
|
27 |
|
28 |
#: ../login-with-ajax-admin.php:46
|
29 |
msgid "Dismiss"
|
30 |
+
msgstr "Отменить"
|
31 |
|
32 |
#: ../login-with-ajax-admin.php:92
|
33 |
msgid "Changes saved."
|
34 |
+
msgstr "Изменения сохранены успешно."
|
35 |
|
36 |
#: ../login-with-ajax-admin.php:135
|
37 |
msgid "General Settings"
|
38 |
+
msgstr "Общие настройки"
|
39 |
|
40 |
#: ../login-with-ajax-admin.php:141
|
41 |
msgid "Default Template"
|
42 |
+
msgstr "Шаблон по умолчанию"
|
43 |
|
44 |
#: ../login-with-ajax-admin.php:150
|
45 |
+
msgid ""
|
46 |
+
"Choose the default theme you'd like to use. This can be overriden in the "
|
47 |
+
"widget, shortcode and template tags."
|
48 |
+
msgstr ""
|
49 |
+
"Выберите тему по умолчанию которуую хотите использовать. Она может быть "
|
50 |
+
"изменена виджетами, shortcode и шаблоном тегов."
|
51 |
|
52 |
#: ../login-with-ajax-admin.php:151
|
53 |
msgid "Further documentation for this feature coming soon..."
|
54 |
+
msgstr "Документация по этой функции не готова и пока на подходе..."
|
55 |
|
56 |
#: ../login-with-ajax-admin.php:157
|
57 |
msgid "Disable refresh upon login?"
|
58 |
msgstr "Выключить обновление страницы при входе?"
|
59 |
|
60 |
#: ../login-with-ajax-admin.php:162
|
61 |
+
msgid ""
|
62 |
+
"If the user logs in and you check the button above, only the login widget "
|
63 |
+
"will update itself without refreshing the page. Not a good idea if your site "
|
64 |
+
"shows different content to users once logged in, as a refresh would be "
|
65 |
+
"needed."
|
66 |
+
msgstr ""
|
67 |
+
"Обновить виджет без обновления всей страницы. Осторожно используй, если на "
|
68 |
+
"странице есть елементы, что отображаются в зависимости от входа "
|
69 |
+
"пользователя. "
|
70 |
|
71 |
#: ../login-with-ajax-admin.php:163
|
72 |
+
msgid ""
|
73 |
+
"<strong>Experimental and not fully tested!</strong> please test and report "
|
74 |
+
"any bugs on our forum."
|
75 |
+
msgstr ""
|
76 |
+
"<strong>Эксперементально и не тестилось!</strong> сообщайте о проблемах на "
|
77 |
+
"наш форум."
|
78 |
|
79 |
#: ../login-with-ajax-admin.php:168
|
80 |
msgid "Redirection Settings"
|
82 |
|
83 |
#: ../login-with-ajax-admin.php:173
|
84 |
msgid "Global Login Redirect"
|
85 |
+
msgstr "Переадресация при входе"
|
86 |
|
87 |
#: ../login-with-ajax-admin.php:177
|
88 |
+
msgid ""
|
89 |
+
"If you'd like to send the user to a specific URL after login, enter it here "
|
90 |
+
"(e.g. http://wordpress.org/)"
|
91 |
+
msgstr ""
|
92 |
+
"Если хотите отправить пользователя на определённый URL после входа, введите "
|
93 |
+
"его здесь (например, http://wordpress.org/)"
|
94 |
|
95 |
+
#: ../login-with-ajax-admin.php:178 ../login-with-ajax-admin.php:188
|
|
|
96 |
msgid "New!"
|
97 |
msgstr "Новинка!"
|
98 |
|
99 |
#: ../login-with-ajax-admin.php:178
|
100 |
+
msgid ""
|
101 |
+
"Use %USERNAME% and it will be replaced with the username of person logging "
|
102 |
+
"in."
|
103 |
+
msgstr "Используйте %USERNAME% и он будет изменён на логин вошедшего."
|
104 |
|
105 |
#: ../login-with-ajax-admin.php:183
|
106 |
msgid "Global Logout Redirect"
|
107 |
msgstr "Переадресация при выходе"
|
108 |
|
109 |
#: ../login-with-ajax-admin.php:187
|
110 |
+
msgid ""
|
111 |
+
"If you'd like to send the user to a specific URL after logout, enter it here "
|
112 |
+
"(e.g. http://wordpress.org/)"
|
113 |
+
msgstr ""
|
114 |
+
"Если хотите отправить пользователя на определённый URL после выхода, введите "
|
115 |
+
"его здесь (например, http://wordpress.org/)"
|
116 |
|
117 |
#: ../login-with-ajax-admin.php:188
|
118 |
+
msgid ""
|
119 |
+
"Enter %LASTURL% to send the user back to the page they were previously on."
|
120 |
+
msgstr ""
|
121 |
+
"Введите %LASTURL% и пользователь будет направлен на предыдущую страницу."
|
122 |
|
123 |
#: ../login-with-ajax-admin.php:193
|
124 |
msgid "Role-Based Custom Login Redirects"
|
125 |
msgstr "Переадресация по группам при входе "
|
126 |
|
127 |
#: ../login-with-ajax-admin.php:196
|
128 |
+
msgid ""
|
129 |
+
"If you would like a specific user role to be redirected to a custom URL upon "
|
130 |
+
"login, place it here (blank value will default to the global redirect)"
|
131 |
+
msgstr ""
|
132 |
+
"Определённая группа пользователей будет переадресована на определённый адрес "
|
133 |
+
"(по умолчанию глобальное правило)"
|
134 |
|
135 |
#: ../login-with-ajax-admin.php:216
|
136 |
msgid "Role-Based Custom Logout Redirects"
|
137 |
msgstr "Переадресация по группам при выходе"
|
138 |
|
139 |
#: ../login-with-ajax-admin.php:219
|
140 |
+
msgid ""
|
141 |
+
"If you would like a specific user role to be redirected to a custom URL upon "
|
142 |
+
"logout, place it here (blank value will default to the global redirect)"
|
143 |
msgstr "Редрект по ролям"
|
144 |
|
145 |
#: ../login-with-ajax-admin.php:239
|
147 |
msgstr "Настройки оповещений"
|
148 |
|
149 |
#: ../login-with-ajax-admin.php:241
|
150 |
+
msgid ""
|
151 |
+
"If you'd like to override the default Wordpress email users receive once "
|
152 |
+
"registered, make sure you check the box below and enter a new email subject "
|
153 |
+
"and message"
|
154 |
+
msgstr ""
|
155 |
+
"Если хотите перезаписать сообщение что отправляет WordPress новым "
|
156 |
+
"пользователям, поставте галку ниже и редактируйте тему и само сообщение."
|
157 |
|
158 |
#: ../login-with-ajax-admin.php:242
|
159 |
+
msgid ""
|
160 |
+
"If this feature doesn't work, please make sure that you don't have another "
|
161 |
+
"plugin installed which also manages user registrations (e.g. BuddyPress and "
|
162 |
+
"MU)."
|
163 |
+
msgstr ""
|
164 |
+
"Если что-то не пашет попробуй вырубить плагины связаные с регистрацией (типо "
|
165 |
+
"там BuddyPress and MU)"
|
166 |
|
167 |
#: ../login-with-ajax-admin.php:248
|
168 |
msgid "Override Default Email?"
|
169 |
+
msgstr "Перезапись стандартного e-mail письма?"
|
170 |
|
171 |
#: ../login-with-ajax-admin.php:256
|
172 |
msgid "Subject"
|
178 |
|
179 |
#: ../login-with-ajax-admin.php:265
|
180 |
msgid "<code>%USERNAME%</code> will be replaced with a username."
|
181 |
+
msgstr "<code>%USERNAME%</code> будет заменено на логин."
|
182 |
|
183 |
#: ../login-with-ajax-admin.php:266
|
184 |
msgid "<code>%PASSWORD%</code> will be replaced with the user's password."
|
185 |
+
msgstr "<code>%PASSWORD%</code> будет заменён на пароль."
|
186 |
|
187 |
+
#: ../login-with-ajax-admin.php:267 ../login-with-ajax-admin.php:291
|
|
|
188 |
msgid "<code>%BLOGNAME%</code> will be replaced with the name of your blog."
|
189 |
+
msgstr "<code>%BLOGNAME%</code> будет заменён на название блога."
|
190 |
|
191 |
+
#: ../login-with-ajax-admin.php:268 ../login-with-ajax-admin.php:292
|
|
|
192 |
msgid "<code>%BLOGURL%</code> will be replaced with the url of your blog."
|
193 |
+
msgstr "<br /><code>%BLOGURL%</code> будет заменён на ссылку блога."
|
194 |
|
195 |
#: ../login-with-ajax-admin.php:273
|
196 |
msgid "Message"
|
209 |
"\n"
|
210 |
"The team at %BLOGNAME%"
|
211 |
msgstr ""
|
212 |
+
"Рады видеть вас на %BLOGURL%\n"
|
213 |
"\n"
|
214 |
+
"Краткая информация:\n"
|
215 |
+
"Ваш логин : %USERNAME%\n"
|
216 |
+
"Ваш пароль : %PASSWORD%\n"
|
217 |
"\n"
|
218 |
+
"С нетерпением ждём ваших новых визитов, комментариев, пожеланий!\n"
|
219 |
"\n"
|
220 |
+
"Команда %BLOGNAME%"
|
221 |
|
222 |
#: ../login-with-ajax-admin.php:301
|
223 |
msgid "Save Changes"
|
233 |
|
234 |
#: ../login-with-ajax-widget.php:32
|
235 |
msgid "AJAX Registration?"
|
236 |
+
msgstr "Вкл. AJAX-регистрацию"
|
237 |
|
238 |
#: ../login-with-ajax-widget.php:37
|
239 |
msgid "Template"
|
247 |
msgid "Login successful, updating..."
|
248 |
msgstr "Вошли, обновляемся..."
|
249 |
|
250 |
+
#: ../login-with-ajax.php:199 ../login-with-ajax.php:251
|
|
|
251 |
msgid "An undefined error has ocurred"
|
252 |
+
msgstr "Неизвестная ошибка"
|
253 |
|
254 |
#: ../login-with-ajax.php:203
|
255 |
msgid "Please supply your username and password."
|
257 |
|
258 |
#: ../login-with-ajax.php:222
|
259 |
msgid "Registration complete. Please check your e-mail."
|
260 |
+
msgstr "Вот и вся регистрация. Проверьте свой e-mail."
|
261 |
|
262 |
#: ../login-with-ajax.php:242
|
263 |
msgid "We have sent you an email"
|
264 |
+
msgstr "Мы отправили вам e-mail"
|
265 |
|
266 |
#: ../pluggable.php:25
|
267 |
#, php-format
|
268 |
msgid "New user registration on your blog %s:"
|
269 |
+
msgstr "Новый пользователь блога %s:"
|
270 |
|
271 |
+
#: ../pluggable.php:26 ../pluggable.php:40
|
|
|
272 |
#, php-format
|
273 |
msgid "Username: %s"
|
274 |
msgstr "Логин: %s"
|
291 |
#: ../pluggable.php:44
|
292 |
#, php-format
|
293 |
msgid "[%s] Your username and password"
|
294 |
+
msgstr "[%s] Ваш логин и пароль"
|
295 |
|
296 |
+
#: ../widget/default/widget_in.php:11 ../widget/default/widget_in.php:14
|
|
|
297 |
msgid "Hi"
|
298 |
+
msgstr "Добро пожаловать, "
|
299 |
|
300 |
+
#: ../widget/default/widget_in.php:35 ../widget/default/widget_in.php:39
|
|
|
301 |
msgid "Profile"
|
302 |
msgstr "<br />Профиль"
|
303 |
|
307 |
|
308 |
#: ../widget/default/widget_in.php:50
|
309 |
msgid "blog admin"
|
310 |
+
msgstr "<br />Администрирование"
|
311 |
|
312 |
+
#: ../widget/default/widget_out.php:10 ../widget/default/widget_out.php:36
|
|
|
313 |
msgid "Log In"
|
314 |
msgstr "Войти"
|
315 |
|
316 |
+
#: ../widget/default/widget_out.php:19 ../widget/default/widget_out.php:94
|
|
|
317 |
msgid "Username"
|
318 |
msgstr "Логин"
|
319 |
|
327 |
|
328 |
#: ../widget/default/widget_out.php:44
|
329 |
msgid "Password Lost and Found"
|
330 |
+
msgstr "Пароль был утерян и изменён"
|
331 |
|
332 |
#: ../widget/default/widget_out.php:44
|
333 |
msgid "Lost your password?"
|
334 |
+
msgstr "Забыли пароль?"
|
335 |
|
336 |
#: ../widget/default/widget_out.php:57
|
337 |
msgid "Register"
|
339 |
|
340 |
#: ../widget/default/widget_out.php:69
|
341 |
msgid "Forgotten Password"
|
342 |
+
msgstr "Потерянный пароль"
|
343 |
|
344 |
#: ../widget/default/widget_out.php:74
|
345 |
msgid "Enter username or email"
|
346 |
+
msgstr "Требуется ввести логин или e-mail"
|
347 |
|
348 |
#: ../widget/default/widget_out.php:80
|
349 |
msgid "Get New Password"
|
351 |
|
352 |
#: ../widget/default/widget_out.php:81
|
353 |
msgid "Cancel"
|
354 |
+
msgstr "Отмена"
|
355 |
|
356 |
#: ../widget/default/widget_out.php:91
|
357 |
msgid "Register For This Site"
|
358 |
+
msgstr "Зарегистрироваться"
|
359 |
|
360 |
#: ../widget/default/widget_out.php:98
|
361 |
msgid "E-mail"
|
363 |
|
364 |
#: ../widget/default/widget_out.php:102
|
365 |
msgid "A password will be e-mailed to you."
|
366 |
+
msgstr "Пароль будет отправлен на e-mail."
|
|
langs/login-with-ajax-sk_SK.mo
ADDED
Binary file
|
langs/login-with-ajax-sk_SK.po
ADDED
@@ -0,0 +1,402 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin Login With Ajax 3.0.2 by NetWebLogic.
|
2 |
+
# Copyright (C) 2010 NetWebLogic
|
3 |
+
# This file is distributed under the same license as the Login With Ajax package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: Login With Ajax 3.0.2\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/login-with-ajax\n"
|
10 |
+
"POT-Creation-Date: 2010-11-29 14:04+0000\n"
|
11 |
+
"PO-Revision-Date: 2013-05-06 20:14+0100\n"
|
12 |
+
"Last-Translator: Marcus Sykes <wp.plugins@netweblogic.com>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Generator: Poedit 1.5.5\n"
|
18 |
+
|
19 |
+
#: login-with-ajax-admin.php:44
|
20 |
+
msgid ""
|
21 |
+
"New features in Login With AJAX (including registration!), check out the "
|
22 |
+
"settings and widget pages!"
|
23 |
+
msgstr ""
|
24 |
+
"New features in Login With AJAX (including registration!), Check out the "
|
25 |
+
"settings and widget pages!"
|
26 |
+
|
27 |
+
#: login-with-ajax-admin.php:46
|
28 |
+
msgid "Dismiss"
|
29 |
+
msgstr "Zamietol"
|
30 |
+
|
31 |
+
#: login-with-ajax-admin.php:92
|
32 |
+
msgid "Changes saved."
|
33 |
+
msgstr "Zmeny uložili."
|
34 |
+
|
35 |
+
#: login-with-ajax-admin.php:135
|
36 |
+
msgid "General Settings"
|
37 |
+
msgstr "Všeobecné nastavenia"
|
38 |
+
|
39 |
+
#: login-with-ajax-admin.php:141
|
40 |
+
msgid "Default Template"
|
41 |
+
msgstr "Predvolená šablóna"
|
42 |
+
|
43 |
+
#: login-with-ajax-admin.php:150
|
44 |
+
msgid ""
|
45 |
+
"Choose the default theme you'd like to use. This can be overriden in the "
|
46 |
+
"widget, shortcode and template tags."
|
47 |
+
msgstr ""
|
48 |
+
"Choose the default theme you'd like to use. This can be overriden in the "
|
49 |
+
"widget, SHORTCODE and template tags."
|
50 |
+
|
51 |
+
#: login-with-ajax-admin.php:151
|
52 |
+
msgid "Further documentation for this feature coming soon..."
|
53 |
+
msgstr "Ďalšia dokumentácia pre túto funkciu už čoskoro..."
|
54 |
+
|
55 |
+
#: login-with-ajax-admin.php:157
|
56 |
+
msgid "Disable refresh upon login?"
|
57 |
+
msgstr "Vypnúť obnovenie po prihlasení?"
|
58 |
+
|
59 |
+
#: login-with-ajax-admin.php:162
|
60 |
+
msgid ""
|
61 |
+
"If the user logs in and you check the button above, only the login widget "
|
62 |
+
"will update itself without refreshing the page. Not a good idea if your site "
|
63 |
+
"shows different content to users once logged in, as a refresh would be "
|
64 |
+
"needed."
|
65 |
+
msgstr ""
|
66 |
+
"If the user logs in and you check the button above, only the login widget "
|
67 |
+
"will update itself without refreshing the page. Not a good idea if your site "
|
68 |
+
"shows different content to users once logged in as a refresh would be needed."
|
69 |
+
|
70 |
+
#: login-with-ajax-admin.php:163
|
71 |
+
msgid ""
|
72 |
+
"<strong>Experimental and not fully tested!</strong> please test and report "
|
73 |
+
"any bugs on our forum."
|
74 |
+
msgstr ""
|
75 |
+
"Experimental <strong> and not fully tested </ strong> please test and report "
|
76 |
+
"any bugs on our forum."
|
77 |
+
|
78 |
+
#: login-with-ajax-admin.php:168
|
79 |
+
msgid "Redirection Settings"
|
80 |
+
msgstr "Nastavenia presmerovania"
|
81 |
+
|
82 |
+
#: login-with-ajax-admin.php:173
|
83 |
+
msgid "Global Login Redirect"
|
84 |
+
msgstr "Globálne prihlásiť presmerovanie"
|
85 |
+
|
86 |
+
#: login-with-ajax-admin.php:177
|
87 |
+
msgid ""
|
88 |
+
"If you'd like to send the user to a specific URL after login, enter it here "
|
89 |
+
"(e.g. http://wordpress.org/)"
|
90 |
+
msgstr ""
|
91 |
+
"If you'd like to send the user to a specific URL after login, enter it here "
|
92 |
+
"(eg http://wordpress.org/)"
|
93 |
+
|
94 |
+
#: login-with-ajax-admin.php:178 login-with-ajax-admin.php:188
|
95 |
+
msgid "New!"
|
96 |
+
msgstr "Nové!"
|
97 |
+
|
98 |
+
#: login-with-ajax-admin.php:178
|
99 |
+
msgid ""
|
100 |
+
"Use %USERNAME% and it will be replaced with the username of person logging "
|
101 |
+
"in."
|
102 |
+
msgstr ""
|
103 |
+
"Use% USERNAME% and it will be replaced with the username of logging in "
|
104 |
+
"person."
|
105 |
+
|
106 |
+
#: login-with-ajax-admin.php:183
|
107 |
+
msgid "Global Logout Redirect"
|
108 |
+
msgstr "Globálne Logout presmerovanie"
|
109 |
+
|
110 |
+
#: login-with-ajax-admin.php:187
|
111 |
+
msgid ""
|
112 |
+
"If you'd like to send the user to a specific URL after logout, enter it here "
|
113 |
+
"(e.g. http://wordpress.org/)"
|
114 |
+
msgstr ""
|
115 |
+
"If you'd like to send the user to a specific URL after logout, enter it here "
|
116 |
+
"(eg http://wordpress.org/)"
|
117 |
+
|
118 |
+
#: login-with-ajax-admin.php:188
|
119 |
+
msgid ""
|
120 |
+
"Enter %LASTURL% to send the user back to the page they were previously on."
|
121 |
+
msgstr ""
|
122 |
+
"Enter LASTURL%% to send the user back to the page they were previously on."
|
123 |
+
|
124 |
+
#: login-with-ajax-admin.php:193
|
125 |
+
msgid "Role-Based Custom Login Redirects"
|
126 |
+
msgstr "Role-Based vlastné prihlásiť presmerovanie"
|
127 |
+
|
128 |
+
#: login-with-ajax-admin.php:196
|
129 |
+
msgid ""
|
130 |
+
"If you would like a specific user role to be redirected to a custom URL upon "
|
131 |
+
"login, place it here (blank value will default to the global redirect)"
|
132 |
+
msgstr ""
|
133 |
+
"If you would like a specific user role to be redirected to a custom URL upon "
|
134 |
+
"login, place it here (blank value will default to the global redirect)"
|
135 |
+
|
136 |
+
#: login-with-ajax-admin.php:216
|
137 |
+
msgid "Role-Based Custom Logout Redirects"
|
138 |
+
msgstr "Role-Based vlastné Logout presmerovanie"
|
139 |
+
|
140 |
+
#: login-with-ajax-admin.php:219
|
141 |
+
msgid ""
|
142 |
+
"If you would like a specific user role to be redirected to a custom URL upon "
|
143 |
+
"logout, place it here (blank value will default to the global redirect)"
|
144 |
+
msgstr ""
|
145 |
+
"If you would like a specific user role to be redirected to a custom URL upon "
|
146 |
+
"logout, place it here (blank value will default to the global redirect)"
|
147 |
+
|
148 |
+
#: login-with-ajax-admin.php:239
|
149 |
+
msgid "Notification Settings"
|
150 |
+
msgstr "Nastavenie oznámení"
|
151 |
+
|
152 |
+
#: login-with-ajax-admin.php:241
|
153 |
+
msgid ""
|
154 |
+
"If you'd like to override the default Wordpress email users receive once "
|
155 |
+
"registered, make sure you check the box below and enter a new email subject "
|
156 |
+
"and message"
|
157 |
+
msgstr ""
|
158 |
+
"If you'd like to override the default Wordpress users receive email once "
|
159 |
+
"registered, make sure you check the box below to enter a new email message "
|
160 |
+
"and subject"
|
161 |
+
|
162 |
+
#: login-with-ajax-admin.php:242
|
163 |
+
msgid ""
|
164 |
+
"If this feature doesn't work, please make sure that you don't have another "
|
165 |
+
"plugin installed which also manages user registrations (e.g. BuddyPress and "
|
166 |
+
"MU)."
|
167 |
+
msgstr ""
|
168 |
+
"If this feature does not work, please make sure that you do not have another "
|
169 |
+
"plugin installed Which also manages user registrations (eg BuddyPress and "
|
170 |
+
"MU)."
|
171 |
+
|
172 |
+
#: login-with-ajax-admin.php:248
|
173 |
+
msgid "Override Default Email?"
|
174 |
+
msgstr "Prepísať predvolené Email?"
|
175 |
+
|
176 |
+
#: login-with-ajax-admin.php:256
|
177 |
+
msgid "Subject"
|
178 |
+
msgstr "Predmet"
|
179 |
+
|
180 |
+
#: login-with-ajax-admin.php:261
|
181 |
+
msgid "Your registration at %BLOGNAME%"
|
182 |
+
msgstr "Vaša registrácia na % BLOGNAME %"
|
183 |
+
|
184 |
+
#: login-with-ajax-admin.php:265
|
185 |
+
msgid "<code>%USERNAME%</code> will be replaced with a username."
|
186 |
+
msgstr "<code>% USERNAME %</code> sa nahradí username."
|
187 |
+
|
188 |
+
#: login-with-ajax-admin.php:266
|
189 |
+
msgid "<code>%PASSWORD%</code> will be replaced with the user's password."
|
190 |
+
msgstr "<code>% Heslo</code> budú nahradené heslo používateľa."
|
191 |
+
|
192 |
+
#: login-with-ajax-admin.php:267 login-with-ajax-admin.php:291
|
193 |
+
msgid "<code>%BLOGNAME%</code> will be replaced with the name of your blog."
|
194 |
+
msgstr "<code>% BLOGNAME %</code> nahradí názov vášho blogu."
|
195 |
+
|
196 |
+
#: login-with-ajax-admin.php:268 login-with-ajax-admin.php:292
|
197 |
+
msgid "<code>%BLOGURL%</code> will be replaced with the url of your blog."
|
198 |
+
msgstr "<code>% BLOGURL %</code> budú nahradené url vášho blogu."
|
199 |
+
|
200 |
+
#: login-with-ajax-admin.php:273
|
201 |
+
msgid "Message"
|
202 |
+
msgstr "Správu"
|
203 |
+
|
204 |
+
#: login-with-ajax-admin.php:278
|
205 |
+
msgid ""
|
206 |
+
"Thanks for signing up to our blog. \r\n"
|
207 |
+
"\r\n"
|
208 |
+
"You can login with the following credentials by visiting %BLOGURL%\r\n"
|
209 |
+
"\r\n"
|
210 |
+
"Username : %USERNAME%\r\n"
|
211 |
+
"Password : %PASSWORD%\r\n"
|
212 |
+
"\r\n"
|
213 |
+
"We look forward to your next visit!\r\n"
|
214 |
+
"\r\n"
|
215 |
+
"The team at %BLOGNAME%"
|
216 |
+
msgstr ""
|
217 |
+
"Thanks for signing up to our blog. \r\n"
|
218 |
+
"\r\n"
|
219 |
+
"You can login with the following credentials by visiting %BLOGURL%\r\n"
|
220 |
+
"\r\n"
|
221 |
+
"Username : %USERNAME%\r\n"
|
222 |
+
"Password : %PASSWORD%\r\n"
|
223 |
+
"\r\n"
|
224 |
+
"We look forward to your next visit!\r\n"
|
225 |
+
"\r\n"
|
226 |
+
"The team at %BLOGNAME%"
|
227 |
+
|
228 |
+
#: login-with-ajax-admin.php:301
|
229 |
+
msgid "Save Changes"
|
230 |
+
msgstr "Uložiť zmeny"
|
231 |
+
|
232 |
+
#: login-with-ajax-widget.php:5
|
233 |
+
msgid "Login widget with AJAX capabilities."
|
234 |
+
msgstr "Prihlásenie widget s AJAX schopnosti."
|
235 |
+
|
236 |
+
#: login-with-ajax-widget.php:28
|
237 |
+
msgid "Show profile link?"
|
238 |
+
msgstr "Prepojenie Zobraziť profil?"
|
239 |
+
|
240 |
+
#: login-with-ajax-widget.php:32
|
241 |
+
msgid "AJAX Registration?"
|
242 |
+
msgstr "AJAX zápisu?"
|
243 |
+
|
244 |
+
#: login-with-ajax-widget.php:37
|
245 |
+
msgid "Template"
|
246 |
+
msgstr "Šablóna"
|
247 |
+
|
248 |
+
#: login-with-ajax.php:177
|
249 |
+
msgid "Login Successful, redirecting..."
|
250 |
+
msgstr "Prihlásenie úspešné, presmerovanie..."
|
251 |
+
|
252 |
+
#: login-with-ajax.php:189
|
253 |
+
msgid "Login successful, updating..."
|
254 |
+
msgstr "Prihlásenie úspešné, aktualizácia..."
|
255 |
+
|
256 |
+
#: login-with-ajax.php:199 login-with-ajax.php:251
|
257 |
+
msgid "An undefined error has ocurred"
|
258 |
+
msgstr "Nedefinovaný vyskytla sa chyba"
|
259 |
+
|
260 |
+
#: login-with-ajax.php:203
|
261 |
+
msgid "Please supply your username and password."
|
262 |
+
msgstr "Zadajte svoje užívateľské meno a heslo."
|
263 |
+
|
264 |
+
#: login-with-ajax.php:222
|
265 |
+
msgid "Registration complete. Please check your e-mail."
|
266 |
+
msgstr "Registrácia je dokončená. Skontrolujte svoj e-mail."
|
267 |
+
|
268 |
+
#: login-with-ajax.php:242
|
269 |
+
msgid "We have sent you an email"
|
270 |
+
msgstr "Zaslali sme vám overujúci email"
|
271 |
+
|
272 |
+
#: pluggable.php:25
|
273 |
+
#, php-format
|
274 |
+
msgid "New user registration on your blog %s:"
|
275 |
+
msgstr "Registrácia nového užívateľa na váš blog % s:"
|
276 |
+
|
277 |
+
#: pluggable.php:26 pluggable.php:40
|
278 |
+
#, php-format
|
279 |
+
msgid "Username: %s"
|
280 |
+
msgstr "Užívateľské meno: %s"
|
281 |
+
|
282 |
+
#: pluggable.php:27
|
283 |
+
#, php-format
|
284 |
+
msgid "E-mail: %s"
|
285 |
+
msgstr "E-mail: %s"
|
286 |
+
|
287 |
+
#: pluggable.php:29
|
288 |
+
#, php-format
|
289 |
+
msgid "[%s] New User Registration"
|
290 |
+
msgstr "[% s] Registrácia nového užívateľa"
|
291 |
+
|
292 |
+
#: pluggable.php:41
|
293 |
+
#, php-format
|
294 |
+
msgid "Password: %s"
|
295 |
+
msgstr "Heslo: %s"
|
296 |
+
|
297 |
+
#: pluggable.php:44
|
298 |
+
#, php-format
|
299 |
+
msgid "[%s] Your username and password"
|
300 |
+
msgstr "[% s] Vaše užívateľské meno a heslo"
|
301 |
+
|
302 |
+
#: widget/default/widget_in.php:11 widget/default/widget_in.php:14
|
303 |
+
msgid "Hi"
|
304 |
+
msgstr "ahoj"
|
305 |
+
|
306 |
+
#: widget/default/widget_in.php:35 widget/default/widget_in.php:39
|
307 |
+
msgid "Profile"
|
308 |
+
msgstr "Profil"
|
309 |
+
|
310 |
+
#: widget/default/widget_in.php:45
|
311 |
+
msgid "Log Out"
|
312 |
+
msgstr "Odhlásiť"
|
313 |
+
|
314 |
+
#: widget/default/widget_in.php:50
|
315 |
+
msgid "blog admin"
|
316 |
+
msgstr "blog admin"
|
317 |
+
|
318 |
+
#: widget/default/widget_out.php:10 widget/default/widget_out.php:35
|
319 |
+
msgid "Log In"
|
320 |
+
msgstr "prihlásiť sa"
|
321 |
+
|
322 |
+
#: widget/default/widget_out.php:19 widget/default/widget_out.php:93
|
323 |
+
msgid "Username"
|
324 |
+
msgstr "Užívateľské meno"
|
325 |
+
|
326 |
+
#: widget/default/widget_out.php:27
|
327 |
+
msgid "Password"
|
328 |
+
msgstr "Heslo"
|
329 |
+
|
330 |
+
#: widget/default/widget_out.php:41
|
331 |
+
msgid "Remember Me"
|
332 |
+
msgstr "Pamätaj si ma"
|
333 |
+
|
334 |
+
#: widget/default/widget_out.php:43
|
335 |
+
msgid "Password Lost and Found"
|
336 |
+
msgstr "Heslo straty a nálezy"
|
337 |
+
|
338 |
+
#: widget/default/widget_out.php:43
|
339 |
+
msgid "Lost your password?"
|
340 |
+
msgstr "Stratili ste heslo?"
|
341 |
+
|
342 |
+
#: widget/default/widget_out.php:56 widget/default/widget_out.php:102
|
343 |
+
msgid "Register"
|
344 |
+
msgstr "Zaregistrovať sa"
|
345 |
+
|
346 |
+
#: widget/default/widget_out.php:68
|
347 |
+
msgid "Forgotten Password"
|
348 |
+
msgstr "Zabudnuté heslo"
|
349 |
+
|
350 |
+
#: widget/default/widget_out.php:73
|
351 |
+
msgid "Enter username or email"
|
352 |
+
msgstr "Zadajte používateľské meno alebo e-mailom"
|
353 |
+
|
354 |
+
#: widget/default/widget_out.php:79
|
355 |
+
msgid "Get New Password"
|
356 |
+
msgstr "Získať nové heslo"
|
357 |
+
|
358 |
+
#: widget/default/widget_out.php:80
|
359 |
+
msgid "Cancel"
|
360 |
+
msgstr "Zrušiť"
|
361 |
+
|
362 |
+
#: widget/default/widget_out.php:90
|
363 |
+
msgid "Register For This Site"
|
364 |
+
msgstr "Zaregistrovať pre túto lokalitu"
|
365 |
+
|
366 |
+
#: widget/default/widget_out.php:97
|
367 |
+
msgid "E-mail"
|
368 |
+
msgstr "E-mail"
|
369 |
+
|
370 |
+
#: widget/default/widget_out.php:101
|
371 |
+
msgid "A password will be e-mailed to you."
|
372 |
+
msgstr "Heslo vám bude zaslané na vás."
|
373 |
+
|
374 |
+
#. Plugin Name of the plugin/theme
|
375 |
+
msgid "Login With Ajax"
|
376 |
+
msgstr "Prihlásenie s Ajax"
|
377 |
+
|
378 |
+
#. Plugin URI of the plugin/theme
|
379 |
+
msgid "http://netweblogic.com/wordpress/plugins/login-with-ajax/"
|
380 |
+
msgstr "http://netweblogic.com/Wordpress/plugins/login-with-AJAX/"
|
381 |
+
|
382 |
+
#. Description of the plugin/theme
|
383 |
+
msgid ""
|
384 |
+
"Ajax driven login widget. Customisable from within your template folder, and "
|
385 |
+
"advanced settings from the admin area."
|
386 |
+
msgstr ""
|
387 |
+
"Driven Ajax login widget. Customizable from within your template folder, and "
|
388 |
+
"advanced settings from the admin area."
|
389 |
+
|
390 |
+
#. Author of the plugin/theme
|
391 |
+
msgid "NetWebLogic"
|
392 |
+
msgstr "NetWebLogic"
|
393 |
+
|
394 |
+
#. Author URI of the plugin/theme
|
395 |
+
msgid "http://netweblogic.com/"
|
396 |
+
msgstr "http://netweblogic.com/"
|
397 |
+
|
398 |
+
#. Tags of the plugin/theme
|
399 |
+
msgid "Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget"
|
400 |
+
msgstr ""
|
401 |
+
"Prihlásenie, Ajax, presmerovanie, BuddyPress, MU, WPMU, sidebar, admin, "
|
402 |
+
"widget"
|
langs/login-with-ajax.pot
CHANGED
@@ -1,358 +1,477 @@
|
|
1 |
-
# Copyright (C) 2010 Login With Ajax
|
2 |
-
# This file is distributed under the same license as the Login With Ajax package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Login With Ajax
|
6 |
-
"Report-Msgid-Bugs-To:
|
7 |
-
"POT-Creation-Date:
|
|
|
|
|
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"Language
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
-
#: login-with-ajax-
|
16 |
-
|
|
|
17 |
msgstr ""
|
18 |
|
19 |
-
#: login-with-ajax-
|
20 |
-
|
|
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: login-with-ajax-
|
24 |
-
|
|
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: login-with-ajax-
|
28 |
-
|
|
|
29 |
msgstr ""
|
30 |
|
31 |
-
#:
|
32 |
-
|
|
|
33 |
msgstr ""
|
34 |
|
35 |
-
#:
|
36 |
-
|
|
|
37 |
msgstr ""
|
38 |
|
39 |
-
#:
|
40 |
-
|
|
|
41 |
msgstr ""
|
42 |
|
43 |
-
#:
|
44 |
-
|
|
|
45 |
msgstr ""
|
46 |
|
47 |
-
#:
|
48 |
-
|
|
|
49 |
msgstr ""
|
50 |
|
51 |
-
#:
|
52 |
-
|
|
|
53 |
msgstr ""
|
54 |
|
55 |
-
#:
|
56 |
-
|
|
|
57 |
msgstr ""
|
58 |
|
59 |
-
#:
|
60 |
-
|
|
|
61 |
msgstr ""
|
62 |
|
63 |
-
#:
|
64 |
-
|
|
|
|
|
65 |
msgstr ""
|
66 |
|
67 |
-
#:
|
68 |
-
|
|
|
|
|
69 |
msgstr ""
|
70 |
|
71 |
-
#:
|
72 |
-
|
|
|
73 |
msgstr ""
|
74 |
|
75 |
-
#:
|
76 |
-
|
|
|
77 |
msgstr ""
|
78 |
|
79 |
-
#:
|
80 |
-
|
|
|
|
|
81 |
msgstr ""
|
82 |
|
83 |
-
#:
|
84 |
-
|
|
|
85 |
msgstr ""
|
86 |
|
87 |
-
#:
|
88 |
-
|
|
|
89 |
msgstr ""
|
90 |
|
91 |
-
#:
|
92 |
-
|
|
|
93 |
msgstr ""
|
94 |
|
95 |
-
#:
|
96 |
-
|
|
|
97 |
msgstr ""
|
98 |
|
99 |
-
#:
|
100 |
-
|
|
|
101 |
msgstr ""
|
102 |
|
103 |
-
#:
|
104 |
-
|
|
|
105 |
msgstr ""
|
106 |
|
107 |
-
#:
|
108 |
-
|
|
|
109 |
msgstr ""
|
110 |
|
111 |
-
#:
|
112 |
-
|
|
|
113 |
msgstr ""
|
114 |
|
115 |
-
#:
|
116 |
-
|
|
|
117 |
msgstr ""
|
118 |
|
119 |
-
#:
|
120 |
-
|
|
|
|
|
121 |
msgstr ""
|
122 |
|
123 |
-
#:
|
124 |
-
|
|
|
|
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: login-with-ajax.php:
|
128 |
-
|
|
|
|
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: login-with-ajax.php:
|
132 |
-
|
|
|
|
|
|
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: login-with-ajax
|
136 |
-
|
|
|
|
|
|
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: login-with-ajax.php:
|
140 |
-
|
|
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: login-with-ajax.php:
|
144 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: login-with-ajax.php:
|
148 |
-
|
|
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: login-with-ajax-
|
152 |
-
|
153 |
-
|
154 |
-
|
|
|
|
|
|
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: login-with-ajax-
|
158 |
-
|
|
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: login-with-ajax-
|
162 |
-
|
|
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: login-with-ajax-
|
166 |
-
|
|
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: login-with-ajax-
|
170 |
-
|
|
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: login-with-ajax-
|
174 |
-
|
175 |
-
"
|
176 |
-
"widget, shortcode and template tags."
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: login-with-ajax-
|
180 |
-
|
|
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: login-with-ajax
|
184 |
-
|
|
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: login-with-ajax
|
188 |
-
|
189 |
-
"
|
190 |
-
"will update itself without refreshing the page. Not a good idea if your site "
|
191 |
-
"shows different content to users once logged in, as a refresh would be "
|
192 |
-
"needed."
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: login-with-ajax
|
196 |
-
|
197 |
-
|
198 |
-
"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: login-with-ajax
|
202 |
-
|
|
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: login-with-ajax
|
206 |
-
|
|
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: login-with-ajax
|
210 |
-
|
211 |
-
"
|
212 |
-
"(e.g. http://wordpress.org/)"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#:
|
216 |
-
|
|
|
|
|
217 |
msgstr ""
|
218 |
|
219 |
-
#:
|
220 |
-
|
221 |
-
|
222 |
-
|
|
|
223 |
msgstr ""
|
224 |
|
225 |
-
#:
|
226 |
-
|
227 |
-
|
228 |
-
"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#:
|
232 |
-
|
|
|
|
|
233 |
msgstr ""
|
234 |
|
235 |
-
#:
|
236 |
-
|
237 |
-
|
238 |
-
"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#:
|
242 |
-
|
243 |
-
|
|
|
244 |
msgstr ""
|
245 |
|
246 |
-
#:
|
247 |
-
|
|
|
248 |
msgstr ""
|
249 |
|
250 |
-
#:
|
251 |
-
|
252 |
-
"
|
253 |
-
"login, place it here (blank value will default to the global redirect)"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#:
|
257 |
-
|
|
|
258 |
msgstr ""
|
259 |
|
260 |
-
#:
|
261 |
-
|
262 |
-
"
|
263 |
-
"logout, place it here (blank value will default to the global redirect)"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#:
|
267 |
-
|
|
|
268 |
msgstr ""
|
269 |
|
270 |
-
#:
|
271 |
-
|
272 |
-
"
|
273 |
-
"registered, make sure you check the box below and enter a new email subject "
|
274 |
-
"and message"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#:
|
278 |
-
|
279 |
-
|
280 |
-
"
|
281 |
-
"MU)."
|
282 |
msgstr ""
|
283 |
|
284 |
-
#:
|
285 |
-
|
|
|
286 |
msgstr ""
|
287 |
|
288 |
-
#:
|
289 |
-
|
|
|
|
|
290 |
msgstr ""
|
291 |
|
292 |
-
#:
|
293 |
-
|
|
|
294 |
msgstr ""
|
295 |
|
296 |
-
#:
|
297 |
-
|
|
|
298 |
msgstr ""
|
299 |
|
300 |
-
#:
|
301 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
msgstr ""
|
303 |
|
304 |
-
#:
|
305 |
-
|
|
|
|
|
|
|
306 |
msgstr ""
|
307 |
|
308 |
-
#:
|
309 |
-
|
|
|
|
|
|
|
310 |
msgstr ""
|
311 |
|
312 |
-
#:
|
313 |
-
|
|
|
|
|
|
|
314 |
msgstr ""
|
315 |
|
316 |
-
#:
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
"
|
321 |
-
"\r\n"
|
322 |
-
"Username : %USERNAME%\r\n"
|
323 |
-
"Password : %PASSWORD%\r\n"
|
324 |
-
"\r\n"
|
325 |
-
"We look forward to your next visit!\r\n"
|
326 |
-
"\r\n"
|
327 |
-
"The team at %BLOGNAME%"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#:
|
331 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
msgstr ""
|
333 |
|
334 |
-
|
335 |
-
|
|
|
|
|
|
|
336 |
msgstr ""
|
337 |
|
338 |
-
|
339 |
-
|
|
|
|
|
|
|
340 |
msgstr ""
|
341 |
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
|
|
346 |
msgstr ""
|
347 |
|
348 |
-
|
349 |
-
|
|
|
|
|
|
|
|
|
|
|
350 |
msgstr ""
|
351 |
|
352 |
-
|
353 |
-
|
|
|
|
|
|
|
354 |
msgstr ""
|
355 |
|
356 |
-
|
357 |
-
|
|
|
|
|
|
|
|
|
358 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Login With Ajax v3.1.1\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2013-05-07 20:07:15+0000\n"
|
7 |
+
"Last-Translator: translate@netweblogic.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=2; plural=n != 1;\n"
|
13 |
+
"X-Generator: CSL v1.x\n"
|
14 |
+
"X-Poedit-Language: Afrikaans\n"
|
15 |
+
"X-Poedit-Country: SOUTH AFRICA\n"
|
16 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_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-Poedit-Basepath: ../\n"
|
19 |
+
"X-Poedit-Bookmarks: \n"
|
20 |
+
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
"X-Textdomain-Support: yes"
|
22 |
|
23 |
+
#: login-with-ajax-admin.php:44
|
24 |
+
#@ login-with-ajax
|
25 |
+
msgid "New features in Login With AJAX (including registration!), check out the settings and widget pages!"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: login-with-ajax-admin.php:46
|
29 |
+
#@ login-with-ajax
|
30 |
+
msgid "Dismiss"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: login-with-ajax-admin.php:92
|
34 |
+
#@ default
|
35 |
+
msgid "Changes saved."
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: login-with-ajax-admin.php:135
|
39 |
+
#@ login-with-ajax
|
40 |
+
msgid "General Settings"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: login-with-ajax-admin.php:140
|
44 |
+
#@ login-with-ajax
|
45 |
+
msgid "Default Template"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: login-with-ajax-admin.php:149
|
49 |
+
#@ login-with-ajax
|
50 |
+
msgid "Choose the default theme you'd like to use. This can be overriden in the widget, shortcode and template tags."
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: login-with-ajax-admin.php:150
|
54 |
+
#@ login-with-ajax
|
55 |
+
msgid "Further documentation for this feature coming soon..."
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: login-with-ajax-admin.php:156
|
59 |
+
#@ login-with-ajax
|
60 |
+
msgid "Disable refresh upon login?"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: login-with-ajax-admin.php:161
|
64 |
+
#@ login-with-ajax
|
65 |
+
msgid "If the user logs in and you check the button above, only the login widget will update itself without refreshing the page. Not a good idea if your site shows different content to users once logged in, as a refresh would be needed."
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: login-with-ajax-admin.php:167
|
69 |
+
#@ login-with-ajax
|
70 |
+
msgid "Redirection Settings"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: login-with-ajax-admin.php:171
|
74 |
+
#@ login-with-ajax
|
75 |
+
msgid "Global Login Redirect"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: login-with-ajax-admin.php:175
|
79 |
+
#@ login-with-ajax
|
80 |
+
msgid "If you'd like to send the user to a specific URL after login, enter it here (e.g. http://wordpress.org/)"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: login-with-ajax-admin.php:176
|
84 |
+
#, php-format
|
85 |
+
#@ login-with-ajax
|
86 |
+
msgid "Use %USERNAME% and it will be replaced with the username of person logging in."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: login-with-ajax-admin.php:198
|
90 |
+
#: login-with-ajax-admin.php:250
|
91 |
+
#@ login-with-ajax
|
92 |
+
msgid "With WPML enabled you can provide different redirection destinations based on language too."
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: login-with-ajax-admin.php:209
|
96 |
+
#@ login-with-ajax
|
97 |
+
msgid "Global Logout Redirect"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: login-with-ajax-admin.php:213
|
101 |
+
#@ login-with-ajax
|
102 |
+
msgid "If you'd like to send the user to a specific URL after logout, enter it here (e.g. http://wordpress.org/)"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: login-with-ajax-admin.php:214
|
106 |
+
#, php-format
|
107 |
+
#@ login-with-ajax
|
108 |
+
msgid "Enter %LASTURL% to send the user back to the page they were previously on."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: login-with-ajax-admin.php:222
|
112 |
+
#@ login-with-ajax
|
113 |
+
msgid "Role-Based Custom Login Redirects"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: login-with-ajax-admin.php:225
|
117 |
+
#@ login-with-ajax
|
118 |
+
msgid "If you would like a specific user role to be redirected to a custom URL upon login, place it here (blank value will default to the global redirect)"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: login-with-ajax-admin.php:275
|
122 |
+
#@ login-with-ajax
|
123 |
+
msgid "Role-Based Custom Logout Redirects"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: login-with-ajax-admin.php:278
|
127 |
+
#@ login-with-ajax
|
128 |
+
msgid "If you would like a specific user role to be redirected to a custom URL upon logout, place it here (blank value will default to the global redirect)"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: login-with-ajax-admin.php:301
|
132 |
+
#@ login-with-ajax
|
133 |
+
msgid "Notification Settings"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: login-with-ajax-admin.php:303
|
137 |
+
#@ login-with-ajax
|
138 |
+
msgid "If you'd like to override the default Wordpress email users receive once registered, make sure you check the box below and enter a new email subject and message."
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: login-with-ajax-admin.php:304
|
142 |
+
#@ login-with-ajax
|
143 |
+
msgid "If this feature doesn't work, please make sure that you don't have another plugin installed which also manages user registrations (e.g. BuddyPress and MU)."
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: login-with-ajax-admin.php:309
|
147 |
+
#@ login-with-ajax
|
148 |
+
msgid "Override Default Email?"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: login-with-ajax-admin.php:317
|
152 |
+
#@ login-with-ajax
|
153 |
+
msgid "Subject"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: login-with-ajax-admin.php:322
|
157 |
+
#, php-format
|
158 |
+
#@ login-with-ajax
|
159 |
+
msgid "Your registration at %BLOGNAME%"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: login-with-ajax-admin.php:326
|
163 |
+
#, php-format
|
164 |
+
#@ login-with-ajax
|
165 |
+
msgid "<code>%USERNAME%</code> will be replaced with a username."
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: login-with-ajax-admin.php:327
|
169 |
+
#, php-format
|
170 |
+
#@ login-with-ajax
|
171 |
+
msgid "<code>%PASSWORD%</code> will be replaced with the user's password."
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: login-with-ajax-admin.php:328
|
175 |
+
#: login-with-ajax-admin.php:352
|
176 |
+
#, php-format
|
177 |
+
#@ login-with-ajax
|
178 |
+
msgid "<code>%BLOGNAME%</code> will be replaced with the name of your blog."
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: login-with-ajax-admin.php:329
|
182 |
+
#: login-with-ajax-admin.php:353
|
183 |
+
#, php-format
|
184 |
+
#@ login-with-ajax
|
185 |
+
msgid "<code>%BLOGURL%</code> will be replaced with the url of your blog."
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: login-with-ajax-admin.php:334
|
189 |
+
#@ login-with-ajax
|
190 |
+
msgid "Message"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: login-with-ajax-admin.php:339
|
194 |
+
#, php-format
|
195 |
+
#@ login-with-ajax
|
196 |
+
msgid ""
|
197 |
+
"Thanks for signing up to our blog. \n"
|
198 |
+
"\n"
|
199 |
+
"You can login with the following credentials by visiting %BLOGURL%\n"
|
200 |
+
"\n"
|
201 |
+
"Username : %USERNAME%\n"
|
202 |
+
"Password : %PASSWORD%\n"
|
203 |
+
"\n"
|
204 |
+
"We look forward to your next visit!\n"
|
205 |
+
"\n"
|
206 |
+
"The team at %BLOGNAME%"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: login-with-ajax-admin.php:361
|
210 |
+
#@ default
|
211 |
+
msgid "Save Changes"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: login-with-ajax-widget.php:8
|
215 |
+
#: widget/default/widget_out.php:31
|
216 |
+
#: widget/divs-only/widget_out.php:22
|
217 |
+
#: widget/modal/widget_out.php:9
|
218 |
+
#: widget/modal/widget_out.php:35
|
219 |
+
#@ login-with-ajax
|
220 |
+
msgid "Log In"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: login-with-ajax-widget.php:14
|
224 |
+
#@ login-with-ajax
|
225 |
+
msgid "Login widget with AJAX capabilities."
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: login-with-ajax-widget.php:48
|
229 |
+
#@ dbem
|
230 |
+
msgid "Title"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: login-with-ajax-widget.php:52
|
234 |
+
#@ login-with-ajax
|
235 |
+
msgid "Show profile link?"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: login-with-ajax-widget.php:56
|
239 |
+
#@ login-with-ajax
|
240 |
+
msgid "Recover Password?"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: login-with-ajax-widget.php:60
|
244 |
+
#@ login-with-ajax
|
245 |
+
msgid "AJAX Registration?"
|
|
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: login-with-ajax-widget.php:65
|
249 |
+
#@ login-with-ajax
|
250 |
+
msgid "Template"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: login-with-ajax.php:157
|
254 |
+
#@ login-with-ajax
|
255 |
+
msgid "Login Successful, redirecting..."
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: login-with-ajax.php:169
|
259 |
+
#@ login-with-ajax
|
260 |
+
msgid "Login successful, updating..."
|
|
|
|
|
|
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: login-with-ajax.php:179
|
264 |
+
#: login-with-ajax.php:233
|
265 |
+
#@ login-with-ajax
|
266 |
+
msgid "An undefined error has ocurred"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: login-with-ajax.php:183
|
270 |
+
#@ login-with-ajax
|
271 |
+
msgid "Please supply your username and password."
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: login-with-ajax.php:203
|
275 |
+
#@ login-with-ajax
|
276 |
+
msgid "Registration complete. Please check your e-mail."
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: login-with-ajax.php:224
|
280 |
+
#@ login-with-ajax
|
281 |
+
msgid "We have sent you an email"
|
|
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: pluggable.php:25
|
285 |
+
#, php-format
|
286 |
+
#@ default
|
287 |
+
msgid "New user registration on your blog %s:"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: pluggable.php:26
|
291 |
+
#: pluggable.php:40
|
292 |
+
#, php-format
|
293 |
+
#@ default
|
294 |
+
msgid "Username: %s"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: pluggable.php:27
|
298 |
+
#, php-format
|
299 |
+
#@ default
|
300 |
+
msgid "E-mail: %s"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: pluggable.php:29
|
304 |
+
#, php-format
|
305 |
+
#@ default
|
306 |
+
msgid "[%s] New User Registration"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: pluggable.php:41
|
310 |
+
#, php-format
|
311 |
+
#@ default
|
312 |
+
msgid "Password: %s"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: pluggable.php:44
|
316 |
+
#, php-format
|
317 |
+
#@ default
|
318 |
+
msgid "[%s] Your username and password"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: registration.php:18
|
322 |
+
#@ default
|
323 |
+
msgid "<strong>ERROR</strong>: Please enter a username."
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: registration.php:20
|
327 |
+
#@ default
|
328 |
+
msgid "<strong>ERROR</strong>: This username is invalid because it uses illegal characters. Please enter a valid username."
|
|
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: registration.php:23
|
332 |
+
#@ default
|
333 |
+
msgid "<strong>ERROR</strong>: This username is already registered. Please choose another one."
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: registration.php:28
|
337 |
+
#@ default
|
338 |
+
msgid "<strong>ERROR</strong>: Please type your e-mail address."
|
|
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: registration.php:30
|
342 |
+
#@ default
|
343 |
+
msgid "<strong>ERROR</strong>: The email address isn’t correct."
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: registration.php:33
|
347 |
+
#@ default
|
348 |
+
msgid "<strong>ERROR</strong>: This email is already registered, please choose another one."
|
|
|
|
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: registration.php:46
|
352 |
+
#, php-format
|
353 |
+
#@ default
|
354 |
+
msgid "<strong>ERROR</strong>: Couldn’t register you... please contact the <a href=\"mailto:%s\">webmaster</a> !"
|
|
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: widget/default/widget_in.php:13
|
358 |
+
#@ login-with-ajax
|
359 |
+
msgid "Hi"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: widget/default/widget_in.php:25
|
363 |
+
#: widget/default/widget_in.php:29
|
364 |
+
#@ login-with-ajax
|
365 |
+
msgid "Profile"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: widget/default/widget_in.php:35
|
369 |
+
#@ login-with-ajax
|
370 |
+
msgid "Log Out"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: widget/default/widget_in.php:40
|
374 |
+
#@ login-with-ajax
|
375 |
+
msgid "blog admin"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: widget/default/widget_out.php:14
|
379 |
+
#: widget/default/widget_out.php:82
|
380 |
+
#: widget/divs-only/widget_out.php:12
|
381 |
+
#: widget/divs-only/widget_out.php:59
|
382 |
+
#: widget/modal/widget_out.php:19
|
383 |
+
#: widget/modal/widget_out.php:91
|
384 |
+
#@ login-with-ajax
|
385 |
+
msgid "Username"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: widget/default/widget_out.php:22
|
389 |
+
#: widget/divs-only/widget_out.php:17
|
390 |
+
#: widget/modal/widget_out.php:27
|
391 |
+
#@ login-with-ajax
|
392 |
+
msgid "Password"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: widget/default/widget_out.php:36
|
396 |
+
#: widget/divs-only/widget_out.php:28
|
397 |
+
#: widget/modal/widget_out.php:40
|
398 |
+
#@ login-with-ajax
|
399 |
+
msgid "Remember Me"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: widget/default/widget_out.php:39
|
403 |
+
#: widget/divs-only/widget_out.php:31
|
404 |
+
#: widget/modal/widget_out.php:43
|
405 |
+
#@ login-with-ajax
|
406 |
+
msgid "Password Lost and Found"
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: widget/default/widget_out.php:39
|
410 |
+
#: widget/divs-only/widget_out.php:31
|
411 |
+
#: widget/modal/widget_out.php:43
|
412 |
+
#@ login-with-ajax
|
413 |
+
msgid "Lost your password?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: widget/default/widget_out.php:43
|
417 |
+
#: widget/default/widget_out.php:92
|
418 |
+
#: widget/divs-only/widget_out.php:35
|
419 |
+
#: widget/divs-only/widget_out.php:72
|
420 |
+
#: widget/modal/widget_out.php:47
|
421 |
+
#: widget/modal/widget_out.php:112
|
422 |
+
#@ login-with-ajax
|
423 |
+
msgid "Register"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: widget/default/widget_out.php:55
|
427 |
+
#: widget/divs-only/widget_out.php:41
|
428 |
+
#: widget/modal/widget_out.php:59
|
429 |
+
#@ login-with-ajax
|
430 |
+
msgid "Forgotten Password"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: widget/default/widget_out.php:60
|
434 |
+
#: widget/divs-only/widget_out.php:43
|
435 |
+
#: widget/modal/widget_out.php:64
|
436 |
+
#@ login-with-ajax
|
437 |
+
msgid "Enter username or email"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: widget/default/widget_out.php:67
|
441 |
+
#: widget/divs-only/widget_out.php:48
|
442 |
+
#: widget/modal/widget_out.php:71
|
443 |
+
#@ login-with-ajax
|
444 |
+
msgid "Get New Password"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: widget/default/widget_out.php:68
|
448 |
+
#: widget/divs-only/widget_out.php:49
|
449 |
+
#: widget/divs-only/widget_out.php:73
|
450 |
+
#: widget/modal/widget_out.php:72
|
451 |
+
#: widget/modal/widget_out.php:113
|
452 |
+
#@ login-with-ajax
|
453 |
+
msgid "Cancel"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: widget/default/widget_out.php:77
|
457 |
+
#: widget/divs-only/widget_out.php:57
|
458 |
+
#: widget/modal/widget_out.php:86
|
459 |
+
#@ login-with-ajax
|
460 |
+
msgid "Register For This Site"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: widget/default/widget_out.php:78
|
464 |
+
#: widget/divs-only/widget_out.php:71
|
465 |
+
#: widget/modal/widget_out.php:111
|
466 |
+
#@ login-with-ajax
|
467 |
+
#@ default
|
468 |
+
msgid "A password will be e-mailed to you."
|
469 |
msgstr ""
|
470 |
+
|
471 |
+
#: widget/default/widget_out.php:86
|
472 |
+
#: widget/divs-only/widget_out.php:63
|
473 |
+
#: widget/modal/widget_out.php:97
|
474 |
+
#@ login-with-ajax
|
475 |
+
msgid "E-mail"
|
476 |
+
msgstr ""
|
477 |
+
|
login-with-ajax-admin.php
CHANGED
@@ -124,8 +124,7 @@ class LoginWithAjaxAdmin{
|
|
124 |
<div class="handlediv" title="Click to toggle"></div>
|
125 |
<h3 class="hndle">Translating</h3>
|
126 |
<div class="inside">
|
127 |
-
<p>
|
128 |
-
<p>Please email any translations to wp.plugins@netweblogic.com and we'll incorporate it into the plugin.</p>
|
129 |
</div>
|
130 |
</div>
|
131 |
</div>
|
124 |
<div class="handlediv" title="Click to toggle"></div>
|
125 |
<h3 class="hndle">Translating</h3>
|
126 |
<div class="inside">
|
127 |
+
<p>Translations are done by volunteers, see our new <a href="http://translate.netweblogic.com/projects/login-with-ajax">translation site</a> to join in or to add a new langauge!</p>
|
|
|
128 |
</div>
|
129 |
</div>
|
130 |
</div>
|
login-with-ajax-widget.php
CHANGED
@@ -9,6 +9,7 @@ class LoginWithAjaxWidget extends WP_Widget {
|
|
9 |
'template' => 'default',
|
10 |
'profile_link' => 1,
|
11 |
'registration' => 1,
|
|
|
12 |
);
|
13 |
$widget_ops = array('description' => __( "Login widget with AJAX capabilities.", 'login-with-ajax') );
|
14 |
parent::WP_Widget(false, $name = 'Login With Ajax', $widget_ops);
|
@@ -16,6 +17,7 @@ class LoginWithAjaxWidget extends WP_Widget {
|
|
16 |
|
17 |
/** @see WP_Widget::widget */
|
18 |
function widget($args, $instance) {
|
|
|
19 |
echo $args['before_widget'];
|
20 |
if( !empty($instance['title']) ){
|
21 |
echo $args['before_title'];
|
@@ -32,7 +34,7 @@ class LoginWithAjaxWidget extends WP_Widget {
|
|
32 |
function update($new_instance, $old_instance) {
|
33 |
foreach($this->defaults as $key => $value){
|
34 |
if( !isset($new_instance[$key]) ){
|
35 |
-
$new_instance[$key] =
|
36 |
}
|
37 |
}
|
38 |
return $new_instance;
|
@@ -50,6 +52,10 @@ class LoginWithAjaxWidget extends WP_Widget {
|
|
50 |
<label for="<?php echo $this->get_field_id('profile_link'); ?>"><?php _e('Show profile link?', 'login-with-ajax'); ?> </label>
|
51 |
<input id="<?php echo $this->get_field_id('profile_link'); ?>" name="<?php echo $this->get_field_name('profile_link'); ?>" type="checkbox" value="1" <?php echo !empty($instance['profile_link']) ? 'checked="checked"':""; ?> />
|
52 |
</p>
|
|
|
|
|
|
|
|
|
53 |
<p>
|
54 |
<label for="<?php echo $this->get_field_id('registration'); ?>"><?php _e('AJAX Registration?', 'login-with-ajax'); ?> </label>
|
55 |
<input id="<?php echo $this->get_field_id('registration'); ?>" name="<?php echo $this->get_field_name('registration'); ?>" type="checkbox" value="1" <?php echo !empty($instance['registration']) ? 'checked="checked"':""; ?> />
|
9 |
'template' => 'default',
|
10 |
'profile_link' => 1,
|
11 |
'registration' => 1,
|
12 |
+
'remember' => 1
|
13 |
);
|
14 |
$widget_ops = array('description' => __( "Login widget with AJAX capabilities.", 'login-with-ajax') );
|
15 |
parent::WP_Widget(false, $name = 'Login With Ajax', $widget_ops);
|
17 |
|
18 |
/** @see WP_Widget::widget */
|
19 |
function widget($args, $instance) {
|
20 |
+
$instance = array_merge($this->defaults, $instance);
|
21 |
echo $args['before_widget'];
|
22 |
if( !empty($instance['title']) ){
|
23 |
echo $args['before_title'];
|
34 |
function update($new_instance, $old_instance) {
|
35 |
foreach($this->defaults as $key => $value){
|
36 |
if( !isset($new_instance[$key]) ){
|
37 |
+
$new_instance[$key] = false;
|
38 |
}
|
39 |
}
|
40 |
return $new_instance;
|
52 |
<label for="<?php echo $this->get_field_id('profile_link'); ?>"><?php _e('Show profile link?', 'login-with-ajax'); ?> </label>
|
53 |
<input id="<?php echo $this->get_field_id('profile_link'); ?>" name="<?php echo $this->get_field_name('profile_link'); ?>" type="checkbox" value="1" <?php echo !empty($instance['profile_link']) ? 'checked="checked"':""; ?> />
|
54 |
</p>
|
55 |
+
<p>
|
56 |
+
<label for="<?php echo $this->get_field_id('remember'); ?>"><?php _e('Recover Password?', 'login-with-ajax'); ?> </label>
|
57 |
+
<input id="<?php echo $this->get_field_id('remember'); ?>" name="<?php echo $this->get_field_name('remember'); ?>" type="checkbox" value="1" <?php echo !empty($instance['remember']) ? 'checked="checked"':""; ?> />
|
58 |
+
</p>
|
59 |
<p>
|
60 |
<label for="<?php echo $this->get_field_id('registration'); ?>"><?php _e('AJAX Registration?', 'login-with-ajax'); ?> </label>
|
61 |
<input id="<?php echo $this->get_field_id('registration'); ?>" name="<?php echo $this->get_field_name('registration'); ?>" type="checkbox" value="1" <?php echo !empty($instance['registration']) ? 'checked="checked"':""; ?> />
|
login-with-ajax.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Login With Ajax
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/login-with-ajax/
|
5 |
Description: Ajax driven login widget. Customisable from within your template folder, and advanced settings from the admin area.
|
6 |
Author: Marcus Sykes
|
7 |
-
Version: 3.1
|
8 |
Author URI: http://msyk.es
|
9 |
Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
|
10 |
|
@@ -90,26 +90,21 @@ class LoginWithAjax {
|
|
90 |
self::$url_remember = self::template_link(site_url('wp-login.php?action=lostpassword', 'login_post'));
|
91 |
|
92 |
//Make decision on what to display
|
93 |
-
if ( !empty($_REQUEST["
|
94 |
-
|
95 |
-
self::ajax();
|
96 |
}elseif ( isset($_REQUEST["login-with-ajax-widget"]) ) { //Widget Request via AJAX
|
97 |
$instance = ( !empty($_REQUEST["template"]) ) ? array('template' => $_REQUEST["template"]) : array();
|
98 |
-
$instance['is_widget'] = false;
|
99 |
$instance['profile_link'] = ( !empty($_REQUEST["lwa_profile_link"]) ) ? $_REQUEST['lwa_profile_link']:0;
|
100 |
self::widget( $instance );
|
101 |
exit();
|
102 |
-
}
|
103 |
-
$plugin_url = path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) ));
|
104 |
//Enqueue scripts - Only one script enqueued here.... theme JS takes priority, then default JS
|
105 |
if( !is_admin() ) {
|
106 |
-
|
|
|
107 |
wp_enqueue_style( "login-with-ajax", self::locate_template_url('widget.css') );
|
108 |
}
|
109 |
|
110 |
-
//Register widget
|
111 |
-
register_widget("LoginWithAjaxWidget");
|
112 |
-
|
113 |
//Add logout/in redirection
|
114 |
add_action('wp_logout', 'LoginWithAjax::logoutRedirect');
|
115 |
add_action('logout_url', 'LoginWithAjax::logoutUrl');
|
@@ -118,6 +113,12 @@ class LoginWithAjax {
|
|
118 |
add_shortcode('lwa', 'LoginWithAjax::shortcode');
|
119 |
}
|
120 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
|
122 |
/*
|
123 |
* LOGIN OPERATIONS
|
@@ -134,6 +135,7 @@ class LoginWithAjax {
|
|
134 |
$return = self::remember();
|
135 |
break;
|
136 |
case 'register': //Remember the password
|
|
|
137 |
$return = self::register();
|
138 |
break;
|
139 |
}
|
@@ -387,7 +389,13 @@ class LoginWithAjax {
|
|
387 |
|
388 |
public static function shortcode($atts){
|
389 |
ob_start();
|
390 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
return ob_get_clean();
|
392 |
}
|
393 |
|
@@ -471,7 +479,8 @@ class LoginWithAjax {
|
|
471 |
}
|
472 |
}
|
473 |
//Set when to init this class
|
474 |
-
add_action( '
|
|
|
475 |
|
476 |
//Add translation
|
477 |
function lwa_load_plugin_textdomain(){
|
@@ -483,8 +492,6 @@ add_action('plugins_loaded','lwa_load_plugin_textdomain');
|
|
483 |
if(is_admin()){
|
484 |
include_once('login-with-ajax-admin.php');
|
485 |
}
|
486 |
-
//Include widget
|
487 |
-
include_once('login-with-ajax-widget.php');
|
488 |
|
489 |
//Include pluggable functions file if user specifies in settings
|
490 |
$lwa_data = get_option('lwa_data');
|
@@ -494,7 +501,7 @@ if( !empty($lwa_data['notification_override']) && $lwa_data['notification_overri
|
|
494 |
|
495 |
//Template Tag
|
496 |
function login_with_ajax($atts = ''){
|
497 |
-
|
498 |
echo LoginWithAjax::shortcode($atts);
|
499 |
}
|
500 |
?>
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/login-with-ajax/
|
5 |
Description: Ajax driven login widget. Customisable from within your template folder, and advanced settings from the admin area.
|
6 |
Author: Marcus Sykes
|
7 |
+
Version: 3.1.1
|
8 |
Author URI: http://msyk.es
|
9 |
Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
|
10 |
|
90 |
self::$url_remember = self::template_link(site_url('wp-login.php?action=lostpassword', 'login_post'));
|
91 |
|
92 |
//Make decision on what to display
|
93 |
+
if ( !empty($_REQUEST["lwa"]) ) { //AJAX Request
|
94 |
+
self::ajax();
|
|
|
95 |
}elseif ( isset($_REQUEST["login-with-ajax-widget"]) ) { //Widget Request via AJAX
|
96 |
$instance = ( !empty($_REQUEST["template"]) ) ? array('template' => $_REQUEST["template"]) : array();
|
|
|
97 |
$instance['profile_link'] = ( !empty($_REQUEST["lwa_profile_link"]) ) ? $_REQUEST['lwa_profile_link']:0;
|
98 |
self::widget( $instance );
|
99 |
exit();
|
100 |
+
}else{
|
|
|
101 |
//Enqueue scripts - Only one script enqueued here.... theme JS takes priority, then default JS
|
102 |
if( !is_admin() ) {
|
103 |
+
$js_url = defined('WP_DEBUG') && WP_DEBUG ? 'login-with-ajax.source.js':'login-with-ajax.js';
|
104 |
+
wp_enqueue_script( "login-with-ajax", self::locate_template_url($js_url), array( 'jquery' ) );
|
105 |
wp_enqueue_style( "login-with-ajax", self::locate_template_url('widget.css') );
|
106 |
}
|
107 |
|
|
|
|
|
|
|
108 |
//Add logout/in redirection
|
109 |
add_action('wp_logout', 'LoginWithAjax::logoutRedirect');
|
110 |
add_action('logout_url', 'LoginWithAjax::logoutUrl');
|
113 |
add_shortcode('lwa', 'LoginWithAjax::shortcode');
|
114 |
}
|
115 |
}
|
116 |
+
|
117 |
+
public static function widgets_init(){
|
118 |
+
//Include and register widget
|
119 |
+
include_once('login-with-ajax-widget.php');
|
120 |
+
register_widget("LoginWithAjaxWidget");
|
121 |
+
}
|
122 |
|
123 |
/*
|
124 |
* LOGIN OPERATIONS
|
135 |
$return = self::remember();
|
136 |
break;
|
137 |
case 'register': //Remember the password
|
138 |
+
default: // backwards-compatible with templates where lwa = registration
|
139 |
$return = self::register();
|
140 |
break;
|
141 |
}
|
389 |
|
390 |
public static function shortcode($atts){
|
391 |
ob_start();
|
392 |
+
$defaults = array(
|
393 |
+
'profile_link' => true,
|
394 |
+
'template' => 'default',
|
395 |
+
'registration' => true,
|
396 |
+
'remember' => true
|
397 |
+
);
|
398 |
+
self::widget(shortcode_atts($defaults, $atts));
|
399 |
return ob_get_clean();
|
400 |
}
|
401 |
|
479 |
}
|
480 |
}
|
481 |
//Set when to init this class
|
482 |
+
add_action( 'init', 'LoginWithAjax::init' );
|
483 |
+
add_action( 'widgets_init', 'LoginWithAjax::widgets_init' );
|
484 |
|
485 |
//Add translation
|
486 |
function lwa_load_plugin_textdomain(){
|
492 |
if(is_admin()){
|
493 |
include_once('login-with-ajax-admin.php');
|
494 |
}
|
|
|
|
|
495 |
|
496 |
//Include pluggable functions file if user specifies in settings
|
497 |
$lwa_data = get_option('lwa_data');
|
501 |
|
502 |
//Template Tag
|
503 |
function login_with_ajax($atts = ''){
|
504 |
+
if( !array($atts) ) $atts = shortcode_parse_atts($atts);
|
505 |
echo LoginWithAjax::shortcode($atts);
|
506 |
}
|
507 |
?>
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: netweblogic
|
|
3 |
Tags: login, ajax, ajax login, registration, redirect redirect, buddypress, multi site, sidebar, admin, widget
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 3.5.1
|
6 |
-
Stable tag: 3.1
|
7 |
|
8 |
-
Add smooth ajax login
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -32,10 +32,10 @@ If you have any problems with the plugin after reading the FAQ, Other Notes, etc
|
|
32 |
|
33 |
= Translated Languages Available =
|
34 |
|
35 |
-
Here's a list of currently translated languages. Translations that have been submitted are greatly appreciated and hopefully make this plugin a better one. If you'd like to contribute, please have a look at
|
36 |
|
37 |
* Finnish - Jaakko Kangosjärvi
|
38 |
-
* Russian - [
|
39 |
* French - [Geoffroy Deleury](http://wall.clan-zone.dk)
|
40 |
* German - Linus Metzler
|
41 |
* Chinese - [Simon Lau](http://fashion-bop.com)
|
@@ -53,6 +53,7 @@ Here's a list of currently translated languages. Translations that have been sub
|
|
53 |
* Japanese - [Ryuei Sasaki](http://riuiski.com)
|
54 |
* Arabic (SA) - Adel Madshel
|
55 |
* Persian - [Mohammad Hosein Ameri](http://khandoon.ir/)
|
|
|
56 |
|
57 |
== Installation ==
|
58 |
|
@@ -62,7 +63,7 @@ Here's a list of currently translated languages. Translations that have been sub
|
|
62 |
|
63 |
3. If you want login/logout redirections, go to Settings > Login With Ajax in the admin area and fill out the form.
|
64 |
|
65 |
-
4. Add the login with ajax widget to your sidebar, or use login_with_ajax() in your template.
|
66 |
|
67 |
5. Happy logging in!
|
68 |
|
@@ -86,10 +87,15 @@ We've tried to minimize potential conflicts arising from this, but you should co
|
|
86 |
|
87 |
You can use the shortcode [login-with-ajax] or [lwa] and template tag login_with_ajax() with these options :
|
88 |
|
89 |
-
*
|
90 |
-
*
|
91 |
-
*
|
92 |
-
|
|
|
|
|
|
|
|
|
|
|
93 |
= SSL Logins =
|
94 |
|
95 |
To force SSL, see [http://codex.wordpress.org/Administration_Over_SSL]("this page"). The plugin will automatically detect the wordpress settings.
|
@@ -106,18 +112,13 @@ You can customize the html widgets in an upgrade-safe manner. Firstly, you need
|
|
106 |
* These theme folders are located within :
|
107 |
* wp-content/themes/your-theme-or-child-theme/plugins/login-with-ajax/
|
108 |
* wp-content/plugins/login-with-ajax/widget/
|
109 |
-
* There is a zip file inside the widget folder with a few extra theme folders, they are not fully maintained each release, but should work.
|
110 |
* When a user is logged out, the widget_out.php will be shown, otherwise widget_in.php. These are located in the template folder.
|
111 |
|
112 |
For example, if you wanted to change some text on the default theme, you could simply copy wp-content/plugins/login-with-ajax/widget/default to wp-content/themes/yourtheme/plugins/login-with-ajax/default and then just edit the files as needed.
|
113 |
|
114 |
If you need to change the JS or CSS, copy the javascript file over to wp-content/themes/yourtheme/plugins/login-with-ajax/ (not within the template file) and edit accordingly.
|
115 |
|
116 |
-
The Javascript ajax magic relies on the
|
117 |
-
|
118 |
-
= Registration Incompatibilities =
|
119 |
-
|
120 |
-
*Note that registrations will not work on buddypress due to the customizations they make on the registration process, we will try to come up with a solution for this asap*
|
121 |
|
122 |
== Screenshots ==
|
123 |
|
@@ -152,6 +153,21 @@ For further questions and answers (or to submit one yourself) go to our [http://
|
|
152 |
|
153 |
|
154 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
|
156 |
= 3.1 =
|
157 |
* fixed json_encode issue
|
3 |
Tags: login, ajax, ajax login, registration, redirect redirect, buddypress, multi site, sidebar, admin, widget
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 3.5.1
|
6 |
+
Stable tag: 3.1.1
|
7 |
|
8 |
+
Add smooth ajax login/registration effects and choose where users get redirected upon log in/out. Supports SSL, MultiSite, and BuddyPress.
|
9 |
|
10 |
== Description ==
|
11 |
|
32 |
|
33 |
= Translated Languages Available =
|
34 |
|
35 |
+
Here's a list of currently translated languages. Translations that have been submitted are greatly appreciated and hopefully make this plugin a better one. If you'd like to contribute, please have a look at [our translation site](http://translate.netweblogic.com/projects/login-with-ajax), or let us know on the [support forums](http://wordpress.org/support/plugin/login-with-ajax).
|
36 |
|
37 |
* Finnish - Jaakko Kangosjärvi
|
38 |
+
* Russian - [xl32](http://wordpress.org/support/profile/xl32),
|
39 |
* French - [Geoffroy Deleury](http://wall.clan-zone.dk)
|
40 |
* German - Linus Metzler
|
41 |
* Chinese - [Simon Lau](http://fashion-bop.com)
|
53 |
* Japanese - [Ryuei Sasaki](http://riuiski.com)
|
54 |
* Arabic (SA) - Adel Madshel
|
55 |
* Persian - [Mohammad Hosein Ameri](http://khandoon.ir/)
|
56 |
+
* Slovak - Google :/
|
57 |
|
58 |
== Installation ==
|
59 |
|
63 |
|
64 |
3. If you want login/logout redirections, go to Settings > Login With Ajax in the admin area and fill out the form.
|
65 |
|
66 |
+
4. Add the login with ajax widget to your sidebar, [lwa] on your pages, or use login_with_ajax() in your template.
|
67 |
|
68 |
5. Happy logging in!
|
69 |
|
87 |
|
88 |
You can use the shortcode [login-with-ajax] or [lwa] and template tag login_with_ajax() with these options :
|
89 |
|
90 |
+
* profile_link - (1 or 0)
|
91 |
+
* If value is 1 (default), a profile link to wp-admin appears.
|
92 |
+
* registration - (1 or 0)
|
93 |
+
* If value is 1 (default), a registration link appears, providing you have registration enabled in your WP settings.
|
94 |
+
* template - (template name/directory)
|
95 |
+
* If this template directory exists, this template will be used. Default is 'default' template.
|
96 |
+
* remember - (1 or 0)
|
97 |
+
* If value is 1 (default), a remember password link appears for password recovery
|
98 |
+
|
99 |
= SSL Logins =
|
100 |
|
101 |
To force SSL, see [http://codex.wordpress.org/Administration_Over_SSL]("this page"). The plugin will automatically detect the wordpress settings.
|
112 |
* These theme folders are located within :
|
113 |
* wp-content/themes/your-theme-or-child-theme/plugins/login-with-ajax/
|
114 |
* wp-content/plugins/login-with-ajax/widget/
|
|
|
115 |
* When a user is logged out, the widget_out.php will be shown, otherwise widget_in.php. These are located in the template folder.
|
116 |
|
117 |
For example, if you wanted to change some text on the default theme, you could simply copy wp-content/plugins/login-with-ajax/widget/default to wp-content/themes/yourtheme/plugins/login-with-ajax/default and then just edit the files as needed.
|
118 |
|
119 |
If you need to change the JS or CSS, copy the javascript file over to wp-content/themes/yourtheme/plugins/login-with-ajax/ (not within the template file) and edit accordingly.
|
120 |
|
121 |
+
The Javascript ajax magic relies on the class names within the template files, if you want to modify the templates, make sure you keep these class names.
|
|
|
|
|
|
|
|
|
122 |
|
123 |
== Screenshots ==
|
124 |
|
153 |
|
154 |
|
155 |
== Changelog ==
|
156 |
+
= 3.1 =
|
157 |
+
* fixed graceful fallback for themes with broken JS
|
158 |
+
* added loading of source JS if WP_DEBUG is enabled
|
159 |
+
* moved reveal.js source code into source js file
|
160 |
+
* fixed shortcode php warning
|
161 |
+
* added template shortcode/template attribute
|
162 |
+
* profile_link and registration arguments are now considered true/1 by default, to avoid confusion with missing links
|
163 |
+
* added 'remember' argument which controls whether to show/hide password recovery link
|
164 |
+
* fixed widget settings not remembering unchecked checkboxes
|
165 |
+
* added Slovak
|
166 |
+
* removed strtolower and using CSS now in widget_in.php
|
167 |
+
* moved register_widget into own function called by widgets_init
|
168 |
+
* changed some lwa-... ids to classes in widget_in.php
|
169 |
+
* added Slovak, updated Russian languages
|
170 |
+
* updated the POT file
|
171 |
|
172 |
= 3.1 =
|
173 |
* fixed json_encode issue
|
widget/default/widget_in.php
CHANGED
@@ -13,31 +13,31 @@
|
|
13 |
<span class="lwa-title-sub" style="display:none"><?php echo __( 'Hi', 'login-with-ajax' ) . " " . $current_user->display_name ?></span>
|
14 |
<table>
|
15 |
<tr>
|
16 |
-
<td class="avatar"
|
17 |
<?php echo get_avatar( $current_user->ID, $size = '50' ); ?>
|
18 |
</td>
|
19 |
-
<td
|
20 |
<?php
|
21 |
//Admin URL
|
22 |
if ( $lwa_data['profile_link'] == '1' ) {
|
23 |
if( function_exists('bp_loggedin_user_link') ){
|
24 |
?>
|
25 |
-
<a href="<?php bp_loggedin_user_link(); ?>"><?php
|
26 |
<?php
|
27 |
}else{
|
28 |
?>
|
29 |
-
<a href="<?php echo trailingslashit(get_admin_url()); ?>profile.php"><?php
|
30 |
<?php
|
31 |
}
|
32 |
}
|
33 |
//Logout URL
|
34 |
?>
|
35 |
-
<a id="wp-logout" href="<?php echo wp_logout_url() ?>"><?php
|
36 |
<?php
|
37 |
//Blog Admin
|
38 |
if( current_user_can('list_users') ) {
|
39 |
?>
|
40 |
-
<a href="<?php echo get_admin_url(); ?>"><?php
|
41 |
<?php
|
42 |
}
|
43 |
?>
|
13 |
<span class="lwa-title-sub" style="display:none"><?php echo __( 'Hi', 'login-with-ajax' ) . " " . $current_user->display_name ?></span>
|
14 |
<table>
|
15 |
<tr>
|
16 |
+
<td class="avatar" class="lwa-avatar">
|
17 |
<?php echo get_avatar( $current_user->ID, $size = '50' ); ?>
|
18 |
</td>
|
19 |
+
<td class="lwa-info">
|
20 |
<?php
|
21 |
//Admin URL
|
22 |
if ( $lwa_data['profile_link'] == '1' ) {
|
23 |
if( function_exists('bp_loggedin_user_link') ){
|
24 |
?>
|
25 |
+
<a href="<?php bp_loggedin_user_link(); ?>"><?php esc_html_e('Profile','login-with-ajax') ?></a><br/>
|
26 |
<?php
|
27 |
}else{
|
28 |
?>
|
29 |
+
<a href="<?php echo trailingslashit(get_admin_url()); ?>profile.php"><?php esc_html_e('Profile','login-with-ajax') ?></a><br/>
|
30 |
<?php
|
31 |
}
|
32 |
}
|
33 |
//Logout URL
|
34 |
?>
|
35 |
+
<a id="wp-logout" href="<?php echo wp_logout_url() ?>"><?php esc_html_e( 'Log Out' ,'login-with-ajax') ?></a><br />
|
36 |
<?php
|
37 |
//Blog Admin
|
38 |
if( current_user_can('list_users') ) {
|
39 |
?>
|
40 |
+
<a href="<?php echo get_admin_url(); ?>"><?php esc_html_e("blog admin", 'login-with-ajax'); ?></a>
|
41 |
<?php
|
42 |
}
|
43 |
?>
|
widget/default/widget_out.php
CHANGED
@@ -35,7 +35,9 @@
|
|
35 |
<td class="lwa-submit-links">
|
36 |
<input name="rememberme" type="checkbox" class="lwa-rememberme" value="forever" /> <label><?php esc_html_e( 'Remember Me','login-with-ajax' ) ?></label>
|
37 |
<br />
|
38 |
-
|
|
|
|
|
39 |
<?php if ( get_option('users_can_register') && !empty($lwa_data['registration']) ) : ?>
|
40 |
<br />
|
41 |
<a href="<?php echo esc_attr(LoginWithAjax::$url_register); ?>" class="lwa-links-register lwa-links-modal"><?php esc_html_e('Register','login-with-ajax') ?></a>
|
@@ -44,6 +46,7 @@
|
|
44 |
</tr>
|
45 |
</table>
|
46 |
</form>
|
|
|
47 |
<form class="lwa-remember" action="<?php echo esc_attr(LoginWithAjax::$url_remember) ?>" method="post" style="display:none;">
|
48 |
<span class="lwa-status"></span>
|
49 |
<table>
|
@@ -68,6 +71,7 @@
|
|
68 |
</tr>
|
69 |
</table>
|
70 |
</form>
|
|
|
71 |
<?php if( get_option('users_can_register') && !empty($lwa_data['registration']) ): ?>
|
72 |
<div class="lwa-register lwa-register-default lwa-modal" style="display:none;">
|
73 |
<h4><?php esc_html_e('Register For This Site','login-with-ajax') ?></h4>
|
35 |
<td class="lwa-submit-links">
|
36 |
<input name="rememberme" type="checkbox" class="lwa-rememberme" value="forever" /> <label><?php esc_html_e( 'Remember Me','login-with-ajax' ) ?></label>
|
37 |
<br />
|
38 |
+
<?php if( !empty($lwa_data['remember']) ): ?>
|
39 |
+
<a class="lwa-links-remember" href="<?php echo esc_attr(LoginWithAjax::$url_remember); ?>" title="<?php esc_attr_e('Password Lost and Found','login-with-ajax') ?>"><?php esc_attr_e('Lost your password?','login-with-ajax') ?></a>
|
40 |
+
<?php endif; ?>
|
41 |
<?php if ( get_option('users_can_register') && !empty($lwa_data['registration']) ) : ?>
|
42 |
<br />
|
43 |
<a href="<?php echo esc_attr(LoginWithAjax::$url_register); ?>" class="lwa-links-register lwa-links-modal"><?php esc_html_e('Register','login-with-ajax') ?></a>
|
46 |
</tr>
|
47 |
</table>
|
48 |
</form>
|
49 |
+
<?php if( !empty($lwa_data['remember']) ): ?>
|
50 |
<form class="lwa-remember" action="<?php echo esc_attr(LoginWithAjax::$url_remember) ?>" method="post" style="display:none;">
|
51 |
<span class="lwa-status"></span>
|
52 |
<table>
|
71 |
</tr>
|
72 |
</table>
|
73 |
</form>
|
74 |
+
<?php endif; ?>
|
75 |
<?php if( get_option('users_can_register') && !empty($lwa_data['registration']) ): ?>
|
76 |
<div class="lwa-register lwa-register-default lwa-modal" style="display:none;">
|
77 |
<h4><?php esc_html_e('Register For This Site','login-with-ajax') ?></h4>
|
widget/divs-only/widget_out.php
CHANGED
@@ -27,18 +27,22 @@
|
|
27 |
<div class="lwa-links">
|
28 |
<input name="rememberme" type="checkbox" class="lwa-rememberme" value="forever" /> <label><?php esc_html_e( 'Remember Me','login-with-ajax' ) ?></label>
|
29 |
<br />
|
|
|
30 |
<a class="lwa-links-remember" href="<?php echo esc_attr(LoginWithAjax::$url_remember); ?>" title="<?php esc_attr_e('Password Lost and Found','login-with-ajax') ?>"><?php esc_attr_e('Lost your password?','login-with-ajax') ?></a>
|
31 |
-
<?php
|
|
|
32 |
<br />
|
33 |
<a href="<?php echo esc_attr(LoginWithAjax::$url_register); ?>" class="lwa-links-register-inline"><?php esc_html_e('Register','login-with-ajax'); ?></a>
|
34 |
<?php endif; ?>
|
35 |
</div>
|
36 |
</form>
|
|
|
37 |
<form name="lwa-remember" class="lwa-remember" action="<?php echo esc_attr(LoginWithAjax::$url_remember); ?>" method="post" style="display:none;">
|
38 |
<p><strong><?php esc_html_e("Forgotten Password",'login-with-ajax'); ?></strong></p>
|
39 |
<div class="lwa-remember-email">
|
40 |
<?php $msg = __("Enter username or email",'login-with-ajax'); ?>
|
41 |
-
<input type="text" name="user_login" id="lwa_user_remember" value="<?php echo esc_attr($msg); ?>" onfocus="if(this.value == '<?php echo esc_attr($msg); ?>'){this.value = '';}" onblur="if(this.value == ''){this.value = '<?php echo esc_attr($msg); ?>'}" />
|
|
|
42 |
</div>
|
43 |
<div class="lwa-submit-button">
|
44 |
<input type="submit" value="<?php esc_attr_e("Get New Password", 'login-with-ajax'); ?>" />
|
@@ -46,6 +50,7 @@
|
|
46 |
<input type="hidden" name="login-with-ajax" value="remember" />
|
47 |
</div>
|
48 |
</form>
|
|
|
49 |
<?php if ( $lwa_data['registration'] == true ) : ?>
|
50 |
<div class="lwa-register" style="display:none;" >
|
51 |
<form name="registerform" id="registerform" action="<?php echo esc_attr(LoginWithAjax::$url_register); ?>" method="post">
|
27 |
<div class="lwa-links">
|
28 |
<input name="rememberme" type="checkbox" class="lwa-rememberme" value="forever" /> <label><?php esc_html_e( 'Remember Me','login-with-ajax' ) ?></label>
|
29 |
<br />
|
30 |
+
<?php if( !empty($lwa_data['remember']) ): ?>
|
31 |
<a class="lwa-links-remember" href="<?php echo esc_attr(LoginWithAjax::$url_remember); ?>" title="<?php esc_attr_e('Password Lost and Found','login-with-ajax') ?>"><?php esc_attr_e('Lost your password?','login-with-ajax') ?></a>
|
32 |
+
<?php endif; ?>
|
33 |
+
<?php if ( get_option('users_can_register') && !empty($lwa_data['registration']) ) : ?>
|
34 |
<br />
|
35 |
<a href="<?php echo esc_attr(LoginWithAjax::$url_register); ?>" class="lwa-links-register-inline"><?php esc_html_e('Register','login-with-ajax'); ?></a>
|
36 |
<?php endif; ?>
|
37 |
</div>
|
38 |
</form>
|
39 |
+
<?php if( !empty($lwa_data['remember']) ): ?>
|
40 |
<form name="lwa-remember" class="lwa-remember" action="<?php echo esc_attr(LoginWithAjax::$url_remember); ?>" method="post" style="display:none;">
|
41 |
<p><strong><?php esc_html_e("Forgotten Password",'login-with-ajax'); ?></strong></p>
|
42 |
<div class="lwa-remember-email">
|
43 |
<?php $msg = __("Enter username or email",'login-with-ajax'); ?>
|
44 |
+
<input type="text" name="user_login" id="lwa_user_remember" value="<?php echo esc_attr($msg); ?>" onfocus="if(this.value == '<?php echo esc_attr($msg); ?>'){this.value = '';}" onblur="if(this.value == ''){this.value = '<?php echo esc_attr($msg); ?>'}" />
|
45 |
+
<?php do_action('lostpassword_form'); ?>
|
46 |
</div>
|
47 |
<div class="lwa-submit-button">
|
48 |
<input type="submit" value="<?php esc_attr_e("Get New Password", 'login-with-ajax'); ?>" />
|
50 |
<input type="hidden" name="login-with-ajax" value="remember" />
|
51 |
</div>
|
52 |
</form>
|
53 |
+
<?php endif; ?>
|
54 |
<?php if ( $lwa_data['registration'] == true ) : ?>
|
55 |
<div class="lwa-register" style="display:none;" >
|
56 |
<form name="registerform" id="registerform" action="<?php echo esc_attr(LoginWithAjax::$url_register); ?>" method="post">
|
widget/jquery.reveal.js
DELETED
@@ -1,163 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* jQuery Reveal Plugin 1.0
|
3 |
-
* www.ZURB.com
|
4 |
-
* Copyright 2010, ZURB
|
5 |
-
* Free to use under the MIT license.
|
6 |
-
* http://www.opensource.org/licenses/mit-license.php
|
7 |
-
*/
|
8 |
-
|
9 |
-
|
10 |
-
(function($) {
|
11 |
-
|
12 |
-
/*---------------------------
|
13 |
-
Defaults for Reveal
|
14 |
-
----------------------------*/
|
15 |
-
|
16 |
-
/*---------------------------
|
17 |
-
Listener for data-reveal-id attributes
|
18 |
-
----------------------------*/
|
19 |
-
|
20 |
-
$('a[data-reveal-id]').on('click', function(e) {
|
21 |
-
e.preventDefault();
|
22 |
-
var modalLocation = $(this).attr('data-reveal-id');
|
23 |
-
$('#'+modalLocation).reveal($(this).data());
|
24 |
-
});
|
25 |
-
|
26 |
-
/*---------------------------
|
27 |
-
Extend and Execute
|
28 |
-
----------------------------*/
|
29 |
-
|
30 |
-
$.fn.reveal = function(options) {
|
31 |
-
|
32 |
-
|
33 |
-
var defaults = {
|
34 |
-
animation: 'fadeAndPop', //fade, fadeAndPop, none
|
35 |
-
animationspeed: 300, //how fast animtions are
|
36 |
-
closeonbackgroundclick: true, //if you click background will modal close?
|
37 |
-
dismissmodalclass: 'close-reveal-modal', //the class of a button or element that will close an open modal
|
38 |
-
modalbgclass : 'reveal-modal-bg'
|
39 |
-
};
|
40 |
-
|
41 |
-
//Extend dem' options
|
42 |
-
var options = $.extend({}, defaults, options);
|
43 |
-
|
44 |
-
return this.each(function() {
|
45 |
-
|
46 |
-
/*---------------------------
|
47 |
-
Global Variables
|
48 |
-
----------------------------*/
|
49 |
-
var modal = $(this),
|
50 |
-
topMeasure = parseInt(modal.css('top')),
|
51 |
-
topOffset = modal.height() + topMeasure,
|
52 |
-
locked = false,
|
53 |
-
modalBG = $('.'+options.modalbgclass);
|
54 |
-
|
55 |
-
/*---------------------------
|
56 |
-
Create Modal BG
|
57 |
-
----------------------------*/
|
58 |
-
if(modalBG.length == 0) {
|
59 |
-
modalBG = $('<div class="'+options.modalbgclass+'" />').insertAfter(modal);
|
60 |
-
}
|
61 |
-
if( modal.find('.'+options.dismissmodalclass).length == 0 ){
|
62 |
-
modal.append('<a class="'+options.dismissmodalclass+'">×</a>');
|
63 |
-
}
|
64 |
-
|
65 |
-
/*---------------------------
|
66 |
-
Open & Close Animations
|
67 |
-
----------------------------*/
|
68 |
-
//Entrance Animations
|
69 |
-
modal.bind('reveal:open', function () {
|
70 |
-
modalBG.unbind('click.modalEvent');
|
71 |
-
$('.' + options.dismissmodalclass).unbind('click.modalEvent');
|
72 |
-
if(!locked) {
|
73 |
-
lockModal();
|
74 |
-
if(options.animation == "fadeAndPop") {
|
75 |
-
modal.css({'top': $(document).scrollTop()-topOffset, 'opacity' : 0, 'visibility' : 'visible', 'display':'block'});
|
76 |
-
modalBG.fadeIn(options.animationspeed/2);
|
77 |
-
modal.delay(options.animationspeed/2).animate({
|
78 |
-
"top": $(document).scrollTop()+topMeasure + 'px',
|
79 |
-
"opacity" : 1
|
80 |
-
}, options.animationspeed,unlockModal());
|
81 |
-
}
|
82 |
-
if(options.animation == "fade") {
|
83 |
-
modal.css({'opacity' : 0, 'visibility' : 'visible', 'top': $(document).scrollTop()+topMeasure, 'display':'block'});
|
84 |
-
modalBG.fadeIn(options.animationspeed/2);
|
85 |
-
modal.delay(options.animationspeed/2).animate({
|
86 |
-
"opacity" : 1
|
87 |
-
}, options.animationspeed,unlockModal());
|
88 |
-
}
|
89 |
-
if(options.animation == "none") {
|
90 |
-
modal.css({'visibility' : 'visible', 'top':$(document).scrollTop()+topMeasure, 'display':'block'});
|
91 |
-
modalBG.css({"display":"block"});
|
92 |
-
unlockModal()
|
93 |
-
}
|
94 |
-
}
|
95 |
-
modal.unbind('reveal:open');
|
96 |
-
});
|
97 |
-
|
98 |
-
//Closing Animation
|
99 |
-
modal.bind('reveal:close', function () {
|
100 |
-
if(!locked) {
|
101 |
-
lockModal();
|
102 |
-
if(options.animation == "fadeAndPop") {
|
103 |
-
modalBG.delay(options.animationspeed).fadeOut(options.animationspeed);
|
104 |
-
modal.animate({
|
105 |
-
"top": $(document).scrollTop()-topOffset + 'px',
|
106 |
-
"opacity" : 0
|
107 |
-
}, options.animationspeed/2, function() {
|
108 |
-
modal.css({'top':topMeasure, 'opacity' : 1, 'visibility' : 'hidden'});
|
109 |
-
unlockModal();
|
110 |
-
});
|
111 |
-
}
|
112 |
-
if(options.animation == "fade") {
|
113 |
-
modalBG.delay(options.animationspeed).fadeOut(options.animationspeed);
|
114 |
-
modal.animate({
|
115 |
-
"opacity" : 0
|
116 |
-
}, options.animationspeed, function() {
|
117 |
-
modal.css({'opacity' : 1, 'visibility' : 'hidden', 'top' : topMeasure});
|
118 |
-
unlockModal();
|
119 |
-
});
|
120 |
-
}
|
121 |
-
if(options.animation == "none") {
|
122 |
-
modal.css({'visibility' : 'hidden', 'top' : topMeasure});
|
123 |
-
modalBG.css({'display' : 'none'});
|
124 |
-
}
|
125 |
-
}
|
126 |
-
modal.unbind('reveal:close');
|
127 |
-
});
|
128 |
-
|
129 |
-
/*---------------------------
|
130 |
-
Open and add Closing Listeners
|
131 |
-
----------------------------*/
|
132 |
-
//Open Modal Immediately
|
133 |
-
modal.trigger('reveal:open')
|
134 |
-
|
135 |
-
//Close Modal Listeners
|
136 |
-
var closeButton = $('.' + options.dismissmodalclass).bind('click.modalEvent', function () {
|
137 |
-
modal.trigger('reveal:close')
|
138 |
-
});
|
139 |
-
|
140 |
-
if(options.closeonbackgroundclick) {
|
141 |
-
modalBG.css({"cursor":"pointer"})
|
142 |
-
modalBG.bind('click.modalEvent', function () {
|
143 |
-
modal.trigger('reveal:close')
|
144 |
-
});
|
145 |
-
}
|
146 |
-
$('body').keyup(function(e) {
|
147 |
-
if(e.which===27){ modal.trigger('reveal:close'); } // 27 is the keycode for the Escape key
|
148 |
-
});
|
149 |
-
|
150 |
-
|
151 |
-
/*---------------------------
|
152 |
-
Animations Locks
|
153 |
-
----------------------------*/
|
154 |
-
function unlockModal() {
|
155 |
-
locked = false;
|
156 |
-
}
|
157 |
-
function lockModal() {
|
158 |
-
locked = true;
|
159 |
-
}
|
160 |
-
|
161 |
-
});//each call
|
162 |
-
}//orbit plugin call
|
163 |
-
})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widget/login-with-ajax.js
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
jQuery(document).ready(function(e){function t(t,n){e(".lwa-loading").remove();n=e(n);if(t.result===true){n.attr("class","lwa-status lwa-status-confirm").html(t.message)}else if(t.result===false){n.attr("class","lwa-status lwa-status-invalid").html(t.error);n.find("a").click(function(t){t.preventDefault();e(this).parents(".lwa").find("form.lwa-remember").show("slow")})}else{n.attr("class","lwa-status lwa-status-invalid").html("An error has occured. Please try again.")}}if(e("#LoginWithAjax").length>0){e("#LoginWithAjax").addClass("lwa");e("#LoginWithAjax_Status").addClass("lwa-status");e("#LoginWithAjax_Register").addClass("lwa-register");e("#LoginWithAjax_Remember").addClass("lwa-remember");e("#LoginWithAjax_Links_Remember").addClass("lwa-links-remember");e("#LoginWithAjax_Links_Remember_Cancel").addClass("lwa-links-remember-cancel");e("#LoginWithAjax_Form").addClass("lwa-form")}e("form.lwa-form, form.lwa-remember, div.lwa-register form").submit(function(n){n.preventDefault();var r=e(this);var i=r.find(".lwa-status");if(i.length==0){i=e('<span class="lwa-status"></span>');r.prepend(i)}e('<div class="lwa-loading"></div>').prependTo(r);e.post(r.attr("action"),r.serialize(),function(n){t(n,i);e(document).trigger("lwa_"+n.action,[n,r])},"jsonp")});e(document).on("lwa_login",function(t,n,r){if(n.result===true){if(n.widget!=null){e.get(n.widget,function(t){var n=e(t);r.parent(".lwa").replaceWith(n);var i=n.find(".").show();var s=n.parent().find(".lwa-title");s.replaceWith(i)})}else{if(n.redirect==null){window.location.reload()}else{window.location=n.redirect}}}});e(".lwa-modal").each(function(t,n){var r=e(n);r.parents(".lwa").data("modal",r);e("body").append(e('<div class="lwa"></div>').append(r))});e(document).on("click",".lwa-links-modal",function(t){t.preventDefault();target=e(this).parents(".lwa").data("modal");target.reveal({modalbgclass:"lwa-modal-bg",dismissmodalclass:"lwa-modal-close"})});e(".lwa-links-register-inline").click(function(t){t.preventDefault();e(this).parents(".lwa").find(".lwa-register").show("slow")});e(".lwa-links-register-inline-cancel").click(function(t){t.preventDefault();e(this).parents(".lwa-register").hide("slow")});e(document).on("click",".lwa-links-remember",function(t){t.preventDefault();e(this).parents(".lwa").find(".lwa-remember").show("slow")});e(document).on("click",".lwa-links-remember-cancel",function(t){t.preventDefault();e(this).parents(".lwa-remember").hide("slow")})});
|
2 |
-
(function(e){e("a[data-reveal-id]").on("click",function(t){t.preventDefault();var n=e(this).attr("data-reveal-id");e("#"+n).reveal(e(this).data())});e.fn.reveal=function(t){var n={animation:"fadeAndPop",animationspeed:300,closeonbackgroundclick:true,dismissmodalclass:"close-reveal-modal",modalbgclass:"reveal-modal-bg"};var t=e.extend({},n,t);return this.each(function(){function a(){s=false}function f(){s=true}var n=e(this),r=parseInt(n.css("top")),i=n.height()+r,s=false,o=e("."+t.modalbgclass);if(o.length==0){o=e('<div class="'+t.modalbgclass+'" />').insertAfter(n)}if(n.find("."+t.dismissmodalclass).length==0){n.append('<a class="'+t.dismissmodalclass+'">×</a>')}n.bind("reveal:open",function(){o.unbind("click.modalEvent");e("."+t.dismissmodalclass).unbind("click.modalEvent");if(!s){f();if(t.animation=="fadeAndPop"){n.css({top:e(document).scrollTop()-i,opacity:0,visibility:"visible",display:"block"});o.fadeIn(t.animationspeed/2);n.delay(t.animationspeed/2).animate({top:e(document).scrollTop()+r+"px",opacity:1},t.animationspeed,a())}if(t.animation=="fade"){n.css({opacity:0,visibility:"visible",top:e(document).scrollTop()+r,display:"block"});o.fadeIn(t.animationspeed/2);n.delay(t.animationspeed/2).animate({opacity:1},t.animationspeed,a())}if(t.animation=="none"){n.css({visibility:"visible",top:e(document).scrollTop()+r,display:"block"});o.css({display:"block"});a()}}n.unbind("reveal:open")});n.bind("reveal:close",function(){if(!s){f();if(t.animation=="fadeAndPop"){o.delay(t.animationspeed).fadeOut(t.animationspeed);n.animate({top:e(document).scrollTop()-i+"px",opacity:0},t.animationspeed/2,function(){n.css({top:r,opacity:1,visibility:"hidden"});a()})}if(t.animation=="fade"){o.delay(t.animationspeed).fadeOut(t.animationspeed);n.animate({opacity:0},t.animationspeed,function(){n.css({opacity:1,visibility:"hidden",top:r});a()})}if(t.animation=="none"){n.css({visibility:"hidden",top:r});o.css({display:"none"})}}n.unbind("reveal:close")});n.trigger("reveal:open");var u=e("."+t.dismissmodalclass).bind("click.modalEvent",function(){n.trigger("reveal:close")});if(t.closeonbackgroundclick){o.css({cursor:"pointer"});o.bind("click.modalEvent",function(){n.trigger("reveal:close")})}e("body").keyup(function(e){if(e.which===27){n.trigger("reveal:close")}})})}})(jQuery)
|
1 |
+
jQuery(document).ready(function(e){function t(t,n){e(".lwa-loading").remove();n=e(n);if(t.result===true){n.attr("class","lwa-status lwa-status-confirm").html(t.message)}else if(t.result===false){n.attr("class","lwa-status lwa-status-invalid").html(t.error);n.find("a").click(function(t){t.preventDefault();e(this).parents(".lwa").find("form.lwa-remember").show("slow")})}else{n.attr("class","lwa-status lwa-status-invalid").html("An error has occured. Please try again.")}}if(e("#LoginWithAjax").length>0){e("#LoginWithAjax").addClass("lwa");e("#LoginWithAjax_Status").addClass("lwa-status");e("#LoginWithAjax_Register").addClass("lwa-register");e("#LoginWithAjax_Remember").addClass("lwa-remember");e("#LoginWithAjax_Links_Remember").addClass("lwa-links-remember");e("#LoginWithAjax_Links_Remember_Cancel").addClass("lwa-links-remember-cancel");e("#LoginWithAjax_Form").addClass("lwa-form")}e("form.lwa-form, form.lwa-remember, div.lwa-register form").submit(function(n){n.preventDefault();var r=e(this);var i=r.find(".lwa-status");if(i.length==0){i=e('<span class="lwa-status"></span>');r.prepend(i)}var s=r.find(".lwa-ajax");if(s.length==0){s=e('<input class="lwa-ajax" name="lwa" type="hidden" value="1" />');r.prepend(s)}e('<div class="lwa-loading"></div>').prependTo(r);e.post(r.attr("action"),r.serialize(),function(n){t(n,i);e(document).trigger("lwa_"+n.action,[n,r])},"jsonp")});e(document).on("lwa_login",function(t,n,r){if(n.result===true){if(n.widget!=null){e.get(n.widget,function(t){var n=e(t);r.parent(".lwa").replaceWith(n);var i=n.find(".").show();var s=n.parent().find(".lwa-title");s.replaceWith(i)})}else{if(n.redirect==null){window.location.reload()}else{window.location=n.redirect}}}});e(".lwa-modal").each(function(t,n){var r=e(n);r.parents(".lwa").data("modal",r);e("body").append(e('<div class="lwa"></div>').append(r))});e(document).on("click",".lwa-links-modal",function(t){t.preventDefault();target=e(this).parents(".lwa").data("modal");target.reveal({modalbgclass:"lwa-modal-bg",dismissmodalclass:"lwa-modal-close"})});e(".lwa-links-register-inline").click(function(t){t.preventDefault();e(this).parents(".lwa").find(".lwa-register").show("slow")});e(".lwa-links-register-inline-cancel").click(function(t){t.preventDefault();e(this).parents(".lwa-register").hide("slow")});e(document).on("click",".lwa-links-remember",function(t){t.preventDefault();e(this).parents(".lwa").find(".lwa-remember").show("slow")});e(document).on("click",".lwa-links-remember-cancel",function(t){t.preventDefault();e(this).parents(".lwa-remember").hide("slow")})});(function(e){e("a[data-reveal-id]").on("click",function(t){t.preventDefault();var n=e(this).attr("data-reveal-id");e("#"+n).reveal(e(this).data())});e.fn.reveal=function(t){var n={animation:"fadeAndPop",animationspeed:300,closeonbackgroundclick:true,dismissmodalclass:"close-reveal-modal",modalbgclass:"reveal-modal-bg"};var t=e.extend({},n,t);return this.each(function(){function a(){s=false}function f(){s=true}var n=e(this),r=parseInt(n.css("top")),i=n.height()+r,s=false,o=e("."+t.modalbgclass);if(o.length==0){o=e('<div class="'+t.modalbgclass+'" />').insertAfter(n)}if(n.find("."+t.dismissmodalclass).length==0){n.append('<a class="'+t.dismissmodalclass+'">×</a>')}n.bind("reveal:open",function(){o.unbind("click.modalEvent");e("."+t.dismissmodalclass).unbind("click.modalEvent");if(!s){f();if(t.animation=="fadeAndPop"){n.css({top:e(document).scrollTop()-i,opacity:0,visibility:"visible",display:"block"});o.fadeIn(t.animationspeed/2);n.delay(t.animationspeed/2).animate({top:e(document).scrollTop()+r+"px",opacity:1},t.animationspeed,a())}if(t.animation=="fade"){n.css({opacity:0,visibility:"visible",top:e(document).scrollTop()+r,display:"block"});o.fadeIn(t.animationspeed/2);n.delay(t.animationspeed/2).animate({opacity:1},t.animationspeed,a())}if(t.animation=="none"){n.css({visibility:"visible",top:e(document).scrollTop()+r,display:"block"});o.css({display:"block"});a()}}n.unbind("reveal:open")});n.bind("reveal:close",function(){if(!s){f();if(t.animation=="fadeAndPop"){o.delay(t.animationspeed).fadeOut(t.animationspeed);n.animate({top:e(document).scrollTop()-i+"px",opacity:0},t.animationspeed/2,function(){n.css({top:r,opacity:1,visibility:"hidden"});a()})}if(t.animation=="fade"){o.delay(t.animationspeed).fadeOut(t.animationspeed);n.animate({opacity:0},t.animationspeed,function(){n.css({opacity:1,visibility:"hidden",top:r});a()})}if(t.animation=="none"){n.css({visibility:"hidden",top:r});o.css({display:"none"})}}n.unbind("reveal:close")});n.trigger("reveal:open");var u=e("."+t.dismissmodalclass).bind("click.modalEvent",function(){n.trigger("reveal:close")});if(t.closeonbackgroundclick){o.css({cursor:"pointer"});o.bind("click.modalEvent",function(){n.trigger("reveal:close")})}e("body").keyup(function(e){if(e.which===27){n.trigger("reveal:close")}})})}})(jQuery)
|
|
widget/login-with-ajax.source.js
CHANGED
@@ -24,6 +24,11 @@ jQuery(document).ready( function($) {
|
|
24 |
statusElement = $('<span class="lwa-status"></span>');
|
25 |
form.prepend(statusElement);
|
26 |
}
|
|
|
|
|
|
|
|
|
|
|
27 |
$('<div class="lwa-loading"></div>').prependTo(form);
|
28 |
//Make Ajax Call
|
29 |
$.post(form.attr('action'), form.serialize(), function(data){
|
@@ -113,6 +118,166 @@ jQuery(document).ready( function($) {
|
|
113 |
|
114 |
});
|
115 |
|
116 |
-
/* Do not edit after here*/
|
117 |
/* http://zurb.com/playground/reveal-modal-plugin */
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
statusElement = $('<span class="lwa-status"></span>');
|
25 |
form.prepend(statusElement);
|
26 |
}
|
27 |
+
var ajaxFlag = form.find('.lwa-ajax');
|
28 |
+
if( ajaxFlag.length == 0 ){
|
29 |
+
ajaxFlag = $('<input class="lwa-ajax" name="lwa" type="hidden" value="1" />');
|
30 |
+
form.prepend(ajaxFlag);
|
31 |
+
}
|
32 |
$('<div class="lwa-loading"></div>').prependTo(form);
|
33 |
//Make Ajax Call
|
34 |
$.post(form.attr('action'), form.serialize(), function(data){
|
118 |
|
119 |
});
|
120 |
|
|
|
121 |
/* http://zurb.com/playground/reveal-modal-plugin */
|
122 |
+
/*
|
123 |
+
* jQuery Reveal Plugin 1.0
|
124 |
+
* www.ZURB.com
|
125 |
+
* Copyright 2010, ZURB
|
126 |
+
* Free to use under the MIT license.
|
127 |
+
* http://www.opensource.org/licenses/mit-license.php
|
128 |
+
*/
|
129 |
+
|
130 |
+
(function($) {
|
131 |
+
|
132 |
+
/*---------------------------
|
133 |
+
Defaults for Reveal
|
134 |
+
----------------------------*/
|
135 |
+
|
136 |
+
/*---------------------------
|
137 |
+
Listener for data-reveal-id attributes
|
138 |
+
----------------------------*/
|
139 |
+
|
140 |
+
$('a[data-reveal-id]').on('click', function(e) {
|
141 |
+
e.preventDefault();
|
142 |
+
var modalLocation = $(this).attr('data-reveal-id');
|
143 |
+
$('#'+modalLocation).reveal($(this).data());
|
144 |
+
});
|
145 |
+
|
146 |
+
/*---------------------------
|
147 |
+
Extend and Execute
|
148 |
+
----------------------------*/
|
149 |
+
|
150 |
+
$.fn.reveal = function(options) {
|
151 |
+
|
152 |
+
|
153 |
+
var defaults = {
|
154 |
+
animation: 'fadeAndPop', //fade, fadeAndPop, none
|
155 |
+
animationspeed: 300, //how fast animtions are
|
156 |
+
closeonbackgroundclick: true, //if you click background will modal close?
|
157 |
+
dismissmodalclass: 'close-reveal-modal', //the class of a button or element that will close an open modal
|
158 |
+
modalbgclass : 'reveal-modal-bg'
|
159 |
+
};
|
160 |
+
|
161 |
+
//Extend dem' options
|
162 |
+
var options = $.extend({}, defaults, options);
|
163 |
+
|
164 |
+
return this.each(function() {
|
165 |
+
|
166 |
+
/*---------------------------
|
167 |
+
Global Variables
|
168 |
+
----------------------------*/
|
169 |
+
var modal = $(this),
|
170 |
+
topMeasure = parseInt(modal.css('top')),
|
171 |
+
topOffset = modal.height() + topMeasure,
|
172 |
+
locked = false,
|
173 |
+
modalBG = $('.'+options.modalbgclass);
|
174 |
+
|
175 |
+
/*---------------------------
|
176 |
+
Create Modal BG
|
177 |
+
----------------------------*/
|
178 |
+
if(modalBG.length == 0) {
|
179 |
+
modalBG = $('<div class="'+options.modalbgclass+'" />').insertAfter(modal);
|
180 |
+
}
|
181 |
+
if( modal.find('.'+options.dismissmodalclass).length == 0 ){
|
182 |
+
modal.append('<a class="'+options.dismissmodalclass+'">×</a>');
|
183 |
+
}
|
184 |
+
|
185 |
+
/*---------------------------
|
186 |
+
Open & Close Animations
|
187 |
+
----------------------------*/
|
188 |
+
//Entrance Animations
|
189 |
+
modal.bind('reveal:open', function () {
|
190 |
+
modalBG.unbind('click.modalEvent');
|
191 |
+
$('.' + options.dismissmodalclass).unbind('click.modalEvent');
|
192 |
+
if(!locked) {
|
193 |
+
lockModal();
|
194 |
+
if(options.animation == "fadeAndPop") {
|
195 |
+
modal.css({'top': $(document).scrollTop()-topOffset, 'opacity' : 0, 'visibility' : 'visible', 'display':'block'});
|
196 |
+
modalBG.fadeIn(options.animationspeed/2);
|
197 |
+
modal.delay(options.animationspeed/2).animate({
|
198 |
+
"top": $(document).scrollTop()+topMeasure + 'px',
|
199 |
+
"opacity" : 1
|
200 |
+
}, options.animationspeed,unlockModal());
|
201 |
+
}
|
202 |
+
if(options.animation == "fade") {
|
203 |
+
modal.css({'opacity' : 0, 'visibility' : 'visible', 'top': $(document).scrollTop()+topMeasure, 'display':'block'});
|
204 |
+
modalBG.fadeIn(options.animationspeed/2);
|
205 |
+
modal.delay(options.animationspeed/2).animate({
|
206 |
+
"opacity" : 1
|
207 |
+
}, options.animationspeed,unlockModal());
|
208 |
+
}
|
209 |
+
if(options.animation == "none") {
|
210 |
+
modal.css({'visibility' : 'visible', 'top':$(document).scrollTop()+topMeasure, 'display':'block'});
|
211 |
+
modalBG.css({"display":"block"});
|
212 |
+
unlockModal()
|
213 |
+
}
|
214 |
+
}
|
215 |
+
modal.unbind('reveal:open');
|
216 |
+
});
|
217 |
+
|
218 |
+
//Closing Animation
|
219 |
+
modal.bind('reveal:close', function () {
|
220 |
+
if(!locked) {
|
221 |
+
lockModal();
|
222 |
+
if(options.animation == "fadeAndPop") {
|
223 |
+
modalBG.delay(options.animationspeed).fadeOut(options.animationspeed);
|
224 |
+
modal.animate({
|
225 |
+
"top": $(document).scrollTop()-topOffset + 'px',
|
226 |
+
"opacity" : 0
|
227 |
+
}, options.animationspeed/2, function() {
|
228 |
+
modal.css({'top':topMeasure, 'opacity' : 1, 'visibility' : 'hidden'});
|
229 |
+
unlockModal();
|
230 |
+
});
|
231 |
+
}
|
232 |
+
if(options.animation == "fade") {
|
233 |
+
modalBG.delay(options.animationspeed).fadeOut(options.animationspeed);
|
234 |
+
modal.animate({
|
235 |
+
"opacity" : 0
|
236 |
+
}, options.animationspeed, function() {
|
237 |
+
modal.css({'opacity' : 1, 'visibility' : 'hidden', 'top' : topMeasure});
|
238 |
+
unlockModal();
|
239 |
+
});
|
240 |
+
}
|
241 |
+
if(options.animation == "none") {
|
242 |
+
modal.css({'visibility' : 'hidden', 'top' : topMeasure});
|
243 |
+
modalBG.css({'display' : 'none'});
|
244 |
+
}
|
245 |
+
}
|
246 |
+
modal.unbind('reveal:close');
|
247 |
+
});
|
248 |
+
|
249 |
+
/*---------------------------
|
250 |
+
Open and add Closing Listeners
|
251 |
+
----------------------------*/
|
252 |
+
//Open Modal Immediately
|
253 |
+
modal.trigger('reveal:open')
|
254 |
+
|
255 |
+
//Close Modal Listeners
|
256 |
+
var closeButton = $('.' + options.dismissmodalclass).bind('click.modalEvent', function () {
|
257 |
+
modal.trigger('reveal:close')
|
258 |
+
});
|
259 |
+
|
260 |
+
if(options.closeonbackgroundclick) {
|
261 |
+
modalBG.css({"cursor":"pointer"})
|
262 |
+
modalBG.bind('click.modalEvent', function () {
|
263 |
+
modal.trigger('reveal:close')
|
264 |
+
});
|
265 |
+
}
|
266 |
+
$('body').keyup(function(e) {
|
267 |
+
if(e.which===27){ modal.trigger('reveal:close'); } // 27 is the keycode for the Escape key
|
268 |
+
});
|
269 |
+
|
270 |
+
|
271 |
+
/*---------------------------
|
272 |
+
Animations Locks
|
273 |
+
----------------------------*/
|
274 |
+
function unlockModal() {
|
275 |
+
locked = false;
|
276 |
+
}
|
277 |
+
function lockModal() {
|
278 |
+
locked = true;
|
279 |
+
}
|
280 |
+
|
281 |
+
});//each call
|
282 |
+
}//orbit plugin call
|
283 |
+
})(jQuery);
|
widget/modal/widget_out.php
CHANGED
@@ -39,20 +39,18 @@
|
|
39 |
<td class="lwa-links">
|
40 |
<input name="rememberme" type="checkbox" id="lwa_rememberme" value="forever" /> <label><?php esc_html_e( 'Remember Me','login-with-ajax' ) ?></label>
|
41 |
<br />
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
<?php
|
50 |
-
}
|
51 |
-
?>
|
52 |
</td>
|
53 |
</tr>
|
54 |
</table>
|
55 |
</form>
|
|
|
56 |
<form name="lwa-remember" class="lwa-remember" action="<?php echo esc_attr(LoginWithAjax::$url_remember); ?>" method="post" style="display:none;">
|
57 |
<span class="lwa-status"></span>
|
58 |
<table>
|
@@ -64,7 +62,8 @@
|
|
64 |
<tr class="lwa-remember-email">
|
65 |
<td>
|
66 |
<?php $msg = __("Enter username or email", 'login-with-ajax'); ?>
|
67 |
-
<input type="text" name="user_login" id="lwa_user_remember" value="<?php echo esc_attr($msg); ?>" onfocus="if(this.value == '<?php echo esc_attr($msg); ?>'){this.value = '';}" onblur="if(this.value == ''){this.value = '<?php echo esc_attr($msg); ?>'}" />
|
|
|
68 |
</td>
|
69 |
</tr>
|
70 |
<tr>
|
@@ -76,6 +75,7 @@
|
|
76 |
</tr>
|
77 |
</table>
|
78 |
</form>
|
|
|
79 |
<?php if ( get_option('users_can_register') && !empty($lwa_data['registration']) ) : //Taken from wp-login.php ?>
|
80 |
<div class="lwa-register" style="display:none;">
|
81 |
<form name="lwa-register" action="<?php echo esc_attr(LoginWithAjax::$url_register); ?>" method="post">
|
39 |
<td class="lwa-links">
|
40 |
<input name="rememberme" type="checkbox" id="lwa_rememberme" value="forever" /> <label><?php esc_html_e( 'Remember Me','login-with-ajax' ) ?></label>
|
41 |
<br />
|
42 |
+
<?php if( !empty($lwa_data['remember']) ): ?>
|
43 |
+
<a class="lwa-links-remember" href="<?php echo esc_attr(LoginWithAjax::$url_remember); ?>" title="<?php esc_attr_e('Password Lost and Found','login-with-ajax') ?>"><?php esc_attr_e('Lost your password?','login-with-ajax') ?></a>
|
44 |
+
<?php endif; ?>
|
45 |
+
<?php if ( get_option('users_can_register') && !empty($lwa_data['registration']) ) : ?>
|
46 |
+
<br />
|
47 |
+
<a href="<?php echo esc_attr(LoginWithAjax::$url_register); ?>" class="lwa-links-register-inline"><?php esc_html_e('Register','login-with-ajax'); ?></a>
|
48 |
+
<?php endif; ?>
|
|
|
|
|
|
|
49 |
</td>
|
50 |
</tr>
|
51 |
</table>
|
52 |
</form>
|
53 |
+
<?php if( !empty($lwa_data['remember']) ): ?>
|
54 |
<form name="lwa-remember" class="lwa-remember" action="<?php echo esc_attr(LoginWithAjax::$url_remember); ?>" method="post" style="display:none;">
|
55 |
<span class="lwa-status"></span>
|
56 |
<table>
|
62 |
<tr class="lwa-remember-email">
|
63 |
<td>
|
64 |
<?php $msg = __("Enter username or email", 'login-with-ajax'); ?>
|
65 |
+
<input type="text" name="user_login" id="lwa_user_remember" value="<?php echo esc_attr($msg); ?>" onfocus="if(this.value == '<?php echo esc_attr($msg); ?>'){this.value = '';}" onblur="if(this.value == ''){this.value = '<?php echo esc_attr($msg); ?>'}" />
|
66 |
+
<?php do_action('lostpassword_form'); ?>
|
67 |
</td>
|
68 |
</tr>
|
69 |
<tr>
|
75 |
</tr>
|
76 |
</table>
|
77 |
</form>
|
78 |
+
<?php endif; ?>
|
79 |
<?php if ( get_option('users_can_register') && !empty($lwa_data['registration']) ) : //Taken from wp-login.php ?>
|
80 |
<div class="lwa-register" style="display:none;">
|
81 |
<form name="lwa-register" action="<?php echo esc_attr(LoginWithAjax::$url_register); ?>" method="post">
|
widget/widget.css
CHANGED
@@ -19,6 +19,7 @@ form.lwa-form, form.lwa-remember, div.lwa-register form { position:relative; }
|
|
19 |
|
20 |
/*Logged In CSS*/
|
21 |
.lwa-avatar { width:60px; padding-right:10px; }
|
|
|
22 |
|
23 |
/*Forgotten password*/
|
24 |
.lwa-remember { margin-top:10px; display:none; }
|
19 |
|
20 |
/*Logged In CSS*/
|
21 |
.lwa-avatar { width:60px; padding-right:10px; }
|
22 |
+
.lwa-info { text-transform:lowercase; }
|
23 |
|
24 |
/*Forgotten password*/
|
25 |
.lwa-remember { margin-top:10px; display:none; }
|