Version Description
- Use jsonp to enable login from http to https
- Fixed remember me logic (in js)
- Sanitize redirect url
- Removed esc_attr from username and password to prevent breaking login
- Updated french and italian langs
- Added Swedish lang by Ove Kaufeldt
Download this release
Release Info
Developer | jolley_small |
Plugin | Sidebar Login |
Version | 2.3.5 |
Comparing to | |
See all releases |
Code changes from version 2.3.4 to 2.3.5
- js/sidebar-login.js +23 -12
- langs/sblogin-cs_CZ.mo +0 -0
- langs/sblogin-cs_CZ.po +198 -0
- langs/sblogin-fr_FR.mo +0 -0
- langs/sblogin-fr_FR.po +162 -110
- langs/sblogin-it_IT.mo +0 -0
- langs/sblogin-it_IT.po +160 -107
- langs/sblogin-sv_SE.mo +0 -0
- langs/sblogin-sv_SE.po +125 -0
- readme.txt +9 -1
- sidebar-login.php +22 -16
js/sidebar-login.js
CHANGED
@@ -10,28 +10,39 @@ jQuery(function(){
|
|
10 |
opacity: 0.6
|
11 |
} });
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
var data = {
|
14 |
action: 'sidebar_login_process',
|
15 |
security: sidebar_login_params.login_nonce,
|
16 |
user_login: jQuery('input[name="log"]', thisform).val(),
|
17 |
user_password: jQuery('input[name="pwd"]', thisform).val(),
|
18 |
-
remember:
|
19 |
redirect_to: jQuery('.redirect_to:eq(0)', thisform).val()
|
20 |
};
|
21 |
|
22 |
// Ajax action
|
23 |
-
jQuery.
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
-
|
|
|
35 |
|
36 |
return false;
|
37 |
});
|
10 |
opacity: 0.6
|
11 |
} });
|
12 |
|
13 |
+
if ( jQuery('input[name="rememberme"]:checked', thisform ).size() > 0 ) {
|
14 |
+
remember = jQuery('input[name="rememberme"]:checked', thisform ).val();
|
15 |
+
} else {
|
16 |
+
remember = '';
|
17 |
+
}
|
18 |
+
|
19 |
var data = {
|
20 |
action: 'sidebar_login_process',
|
21 |
security: sidebar_login_params.login_nonce,
|
22 |
user_login: jQuery('input[name="log"]', thisform).val(),
|
23 |
user_password: jQuery('input[name="pwd"]', thisform).val(),
|
24 |
+
remember: remember,
|
25 |
redirect_to: jQuery('.redirect_to:eq(0)', thisform).val()
|
26 |
};
|
27 |
|
28 |
// Ajax action
|
29 |
+
jQuery.ajax({
|
30 |
+
url: sidebar_login_params.ajax_url,
|
31 |
+
data: data,
|
32 |
+
type: 'GET',
|
33 |
+
dataType: 'jsonp',
|
34 |
+
success: function( result ) {
|
35 |
+
jQuery('.login_error').remove();
|
36 |
+
|
37 |
+
if (result.success==1) {
|
38 |
+
window.location = result.redirect;
|
39 |
+
} else {
|
40 |
+
jQuery(thisform).prepend('<p class="login_error">' + result.error + '</p>');
|
41 |
+
jQuery(thisform).unblock();
|
42 |
+
}
|
43 |
}
|
44 |
+
|
45 |
+
});
|
46 |
|
47 |
return false;
|
48 |
});
|
langs/sblogin-cs_CZ.mo
ADDED
Binary file
|
langs/sblogin-cs_CZ.po
ADDED
@@ -0,0 +1,198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Sidebar Login\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/sidebar-login\n"
|
5 |
+
"POT-Creation-Date: 2011-02-23 19:11:19+00:00\n"
|
6 |
+
"PO-Revision-Date: 2012-02-16 23:27+0100\n"
|
7 |
+
"Last-Translator: Jan Kovalsky <kovalja@centrum.cz>\n"
|
8 |
+
"Language-Team: kovalja <kovalja@centrum.cz>\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-Poedit-SourceCharset: utf-8\n"
|
14 |
+
"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"
|
15 |
+
"X-Textdomain-Support: yes\n"
|
16 |
+
"X-Poedit-Language: Czech\n"
|
17 |
+
"X-Poedit-Country: CZECH REPUBLIC\n"
|
18 |
+
"X-Poedit-Basepath: .\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
#@ sblogin
|
22 |
+
#: admin.php:106
|
23 |
+
#: sidebar-login.php:210
|
24 |
+
msgid "Sidebar Login"
|
25 |
+
msgstr "Přihlášení Sidebar"
|
26 |
+
|
27 |
+
#@ sblogin
|
28 |
+
#: admin.php:55
|
29 |
+
msgid "Show Register Link"
|
30 |
+
msgstr "Zobrazit odkaz \"Registrovat\""
|
31 |
+
|
32 |
+
#@ sblogin
|
33 |
+
#: admin.php:62
|
34 |
+
msgid "Show Lost Password Link"
|
35 |
+
msgstr "Zobrazit odkaz \"Zapomenuté heslo\""
|
36 |
+
|
37 |
+
#@ sblogin
|
38 |
+
#: admin.php:76
|
39 |
+
msgid "Logged in links"
|
40 |
+
msgstr "Odkazy v přihlášeném stavu"
|
41 |
+
|
42 |
+
#@ sblogin
|
43 |
+
#: admin.php:75
|
44 |
+
msgid "Dashboard"
|
45 |
+
msgstr "Nástěnka"
|
46 |
+
|
47 |
+
#@ sblogin
|
48 |
+
#: admin.php:75
|
49 |
+
msgid "Profile"
|
50 |
+
msgstr "Profil"
|
51 |
+
|
52 |
+
#@ sblogin
|
53 |
+
#: admin.php:69
|
54 |
+
msgid "Show Logged in Avatar"
|
55 |
+
msgstr "Zobraz avatar uživatele v přihlášeném stavu"
|
56 |
+
|
57 |
+
#@ sblogin
|
58 |
+
#: sidebar-login.php:39
|
59 |
+
msgid "Username:"
|
60 |
+
msgstr "Přihlašovací jméno:"
|
61 |
+
|
62 |
+
#@ sblogin
|
63 |
+
#: sidebar-login.php:40
|
64 |
+
msgid "Password:"
|
65 |
+
msgstr "Heslo:"
|
66 |
+
|
67 |
+
#@ sblogin
|
68 |
+
#: sidebar-login.php:41
|
69 |
+
msgid "Remember me"
|
70 |
+
msgstr "Zapamatovat přihlášení"
|
71 |
+
|
72 |
+
#@ sblogin
|
73 |
+
#: sidebar-login.php:42
|
74 |
+
msgid "Register"
|
75 |
+
msgstr "Registrovat"
|
76 |
+
|
77 |
+
#@ sblogin
|
78 |
+
#: sidebar-login.php:43
|
79 |
+
msgid "Password Lost and Found"
|
80 |
+
msgstr "Heslo obnoveno"
|
81 |
+
|
82 |
+
#@ sblogin
|
83 |
+
#: sidebar-login.php:44
|
84 |
+
msgid "Lost your password?"
|
85 |
+
msgstr "Zapomenuté heslo?"
|
86 |
+
|
87 |
+
#@ sblogin
|
88 |
+
#: sidebar-login.php:45
|
89 |
+
msgid "Logout"
|
90 |
+
msgstr "Odhlásit"
|
91 |
+
|
92 |
+
#@ sblogin
|
93 |
+
#: sidebar-login.php:144
|
94 |
+
msgid "Or login using an <a href=\"http://openid.net/what/\" title=\"Learn about OpenID\">OpenID</a>"
|
95 |
+
msgstr "Nebo se přihlaste na <a href=\"http://openid.net/what/\" title=\"Learn about OpenID\">OpenID</a>"
|
96 |
+
|
97 |
+
#@ sblogin
|
98 |
+
#: sidebar-login.php:209
|
99 |
+
msgid "Sidebar Login."
|
100 |
+
msgstr "Sidebar Přihlášení."
|
101 |
+
|
102 |
+
#@ sblogin
|
103 |
+
#: admin.php:18
|
104 |
+
msgid "Login"
|
105 |
+
msgstr "Přihlásit"
|
106 |
+
|
107 |
+
#@ sblogin
|
108 |
+
#: admin.php:19
|
109 |
+
msgid "Logged out heading"
|
110 |
+
msgstr "Nadpis při odhlášeném stavu"
|
111 |
+
|
112 |
+
#@ sblogin
|
113 |
+
#: admin.php:20
|
114 |
+
msgid "Heading for the widget when the user is logged out."
|
115 |
+
msgstr "Nadpis widgetu, který se používá, je-li uživatel odhlášen."
|
116 |
+
|
117 |
+
#@ sblogin
|
118 |
+
#: admin.php:24
|
119 |
+
#, php-format
|
120 |
+
msgid "Welcome %username%"
|
121 |
+
msgstr "Vítejte %username%"
|
122 |
+
|
123 |
+
#@ sblogin
|
124 |
+
#: admin.php:25
|
125 |
+
msgid "Logged in heading"
|
126 |
+
msgstr "Nadpis při přihlášeném stavu"
|
127 |
+
|
128 |
+
#@ sblogin
|
129 |
+
#: admin.php:26
|
130 |
+
msgid "Heading for the widget when the user is logged in."
|
131 |
+
msgstr "Nadpis widgetu, který se používá, je-li uživatel přihlášen. <code>%username%</code> zobrazí uživatelské jméno uživatele."
|
132 |
+
|
133 |
+
#@ sblogin
|
134 |
+
#: admin.php:31
|
135 |
+
msgid "Redirects"
|
136 |
+
msgstr "Přesměrování"
|
137 |
+
|
138 |
+
#@ sblogin
|
139 |
+
#: admin.php:36
|
140 |
+
msgid "Login redirect"
|
141 |
+
msgstr "URL pro přesměrování po přihlášení"
|
142 |
+
|
143 |
+
#@ sblogin
|
144 |
+
#: admin.php:37
|
145 |
+
msgid "Url to redirect the user to after login. Leave blank to use the current page."
|
146 |
+
msgstr "URL adresa kam má být uživatel přesměrován po přihlášení. Pokud není adresa vyplněna, uživatel zůstane na současné stránce."
|
147 |
+
|
148 |
+
#@ sblogin
|
149 |
+
#: admin.php:43
|
150 |
+
msgid "Logout redirect"
|
151 |
+
msgstr "URL pro přesměrování po odhlášení"
|
152 |
+
|
153 |
+
#@ sblogin
|
154 |
+
#: admin.php:44
|
155 |
+
msgid "Url to redirect the user to after logout. Leave blank to use the current page."
|
156 |
+
msgstr "URL adresa kam má být uživatel přesměrován po odhlášení. Pokud není adresa vyplněna, uživatel zůstane na současné stránce."
|
157 |
+
|
158 |
+
#@ sblogin
|
159 |
+
#: admin.php:50
|
160 |
+
msgid "Links"
|
161 |
+
msgstr "Odkazy"
|
162 |
+
|
163 |
+
#@ sblogin
|
164 |
+
#: admin.php:56
|
165 |
+
#, php-format
|
166 |
+
msgid "The <a href=\"%s\" target=\"_blank\">'Anyone can register'</a> setting must be turned on for this option to work."
|
167 |
+
msgstr "Aby toto nastavení fungovalo, musí být zaškrtnuto <a href=\"%s\" target=\"_blank\">'Zaregistrovat se může kdokoliv'</a> v globálním nastavení WordPress."
|
168 |
+
|
169 |
+
#@ sblogin
|
170 |
+
#: admin.php:77
|
171 |
+
msgid "One link per line. Note: Logout link will always show regardless. Tip: Add <code>|true</code> after a link to only show it to admin users or alternatively use a <code>|user_capability</code> and the link will only be shown to users with that capability (see <a href='http://codex.wordpress.org/Roles_and_Capabilities' target='_blank'>Roles and Capabilities</a>).<br/> You can also type <code>%%USERNAME%%</code> and <code>%%USERID%%</code> which will be replaced by the user's info. Default: <br/><a href=\"%s/wp-admin/\">Dashboard</a><br/><a href=\"%s/wp-admin/profile.php\">Profile</a>"
|
172 |
+
msgstr "Pouze jeden odkaz na řádek. Pozn. Odkaz odhlášení je zobrazen vždy. Tip: Dodej <code>|true</code> za definici odkazu, aby byl zobrazen jen uživatelům s administrátorskými právy nebo použij <code>|user_capability</code> a odkaz bude zobrazen jen uživatelům s definovanou vlastností. Více informaci na <a href='http://codex.wordpress.org/Roles_and_Capabilities' target='_blank'>Roles and Capabilities</a>.<br/> Také můžeš použít <code>%%USERNAME%%</code> a <code>%%USERID%%</code>, které budou nahrazeny informacemi o uživateli. Základní nastavení: <br/><a href=\"%s/wp-admin/\">Nástěnka</a><br/><a href=\"%s/wp-admin/profile.php\">Profil</a>"
|
173 |
+
|
174 |
+
#@ sblogin
|
175 |
+
#: admin.php:119
|
176 |
+
msgid "Sidebar Login Options"
|
177 |
+
msgstr "Nastavení Sidebar Přihlášení"
|
178 |
+
|
179 |
+
#@ sblogin
|
180 |
+
#: admin.php:175
|
181 |
+
msgid "Save Options"
|
182 |
+
msgstr "Uložit nastavení"
|
183 |
+
|
184 |
+
#@ sblogin
|
185 |
+
#: sidebar-login.php:154
|
186 |
+
msgid "Login »"
|
187 |
+
msgstr "Příhlášení »"
|
188 |
+
|
189 |
+
#@ sblogin
|
190 |
+
#: sidebar-login.php:254
|
191 |
+
msgid "<strong>ERROR</strong>: Please enter a username."
|
192 |
+
msgstr "<strong>ERROR</strong>: Vložte, prosím, uživatelské jméno."
|
193 |
+
|
194 |
+
#@ sblogin
|
195 |
+
#: sidebar-login.php:257
|
196 |
+
msgid "<strong>ERROR</strong>: Please enter your password."
|
197 |
+
msgstr "<strong>ERROR</strong>: Vložte, prosím, uživatelské jméno a heslo."
|
198 |
+
|
langs/sblogin-fr_FR.mo
CHANGED
Binary file
|
langs/sblogin-fr_FR.po
CHANGED
@@ -3,8 +3,8 @@ msgstr ""
|
|
3 |
"Project-Id-Version: sidebar_login\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2009-06-15 18:37+0100\n"
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: Andy <andy@funnell.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -15,152 +15,204 @@ msgstr ""
|
|
15 |
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
-
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#:
|
21 |
-
|
22 |
-
|
23 |
-
#: sidebar-login_2_2_1.php:57
|
24 |
-
msgid "Sidebar Login"
|
25 |
-
msgstr ""
|
26 |
|
27 |
-
#:
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
#:
|
44 |
-
msgid "
|
45 |
-
msgstr "
|
46 |
-
|
47 |
-
#:
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
msgstr "Lien vers lequel l'utilisateur sera renvoyé après sa déconnexion. Laisser vide pour revenir à la page actuelle."
|
51 |
|
52 |
-
#:
|
53 |
-
|
|
|
|
|
|
|
54 |
msgid "Show Register Link"
|
55 |
msgstr "Afficher un lien \"Enregistrement\" (nouveaux utilisateurs)"
|
56 |
|
57 |
-
#:
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
#: sidebar-login.php:73
|
65 |
-
#: sidebar-login.php:80
|
66 |
-
#: sidebar-login_2_2_1.php:73
|
67 |
-
#: sidebar-login_2_2_1.php:80
|
68 |
-
msgid "No"
|
69 |
-
msgstr "Non"
|
70 |
-
|
71 |
-
#: sidebar-login.php:74
|
72 |
-
#: sidebar-login_2_2_1.php:74
|
73 |
-
msgid "User registrations must also be turned on for this to work ('Anyone can register' checkbox in settings)."
|
74 |
-
msgstr "L'enregistrement de nouveaux utilisateurs doit être activé dans les réglages générales (Cocher 'Tout le monde peut s'enregistrer')"
|
75 |
-
|
76 |
-
#: sidebar-login.php:77
|
77 |
-
#: sidebar-login_2_2_1.php:77
|
78 |
msgid "Show Lost Password Link"
|
79 |
msgstr "Afficher un lien pour les mots de passe perdus"
|
80 |
|
81 |
-
#:
|
82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
msgid "Logged in links"
|
84 |
msgstr "Liens 'Enregistrés'"
|
85 |
|
86 |
-
#:
|
87 |
-
|
88 |
-
|
|
|
89 |
|
90 |
-
#:
|
91 |
-
#: sidebar-
|
92 |
-
msgid "
|
93 |
-
msgstr "
|
94 |
|
95 |
-
#:
|
96 |
-
|
97 |
-
|
98 |
-
msgstr "Se connecter"
|
99 |
|
100 |
-
#:
|
101 |
-
msgid "
|
102 |
-
msgstr "
|
103 |
|
104 |
-
#: sidebar-login.php:
|
105 |
-
#: sidebar-login_2_2_1.php:121
|
106 |
msgid "Username:"
|
107 |
msgstr "Nom d'utilisateur :"
|
108 |
|
109 |
-
#: sidebar-login.php:
|
110 |
-
#: sidebar-login_2_2_1.php:122
|
111 |
msgid "Password:"
|
112 |
msgstr "Mot de passe :"
|
113 |
|
114 |
-
#: sidebar-login.php:
|
115 |
-
#: sidebar-login_2_2_1.php:123
|
116 |
msgid "Remember me"
|
117 |
msgstr "Se souvenir de moi"
|
118 |
|
119 |
-
#: sidebar-login.php:
|
120 |
-
#: sidebar-login_2_2_1.php:124
|
121 |
msgid "Register"
|
122 |
msgstr "Enregistrement"
|
123 |
|
124 |
-
#: sidebar-login.php:
|
125 |
-
#: sidebar-login_2_2_1.php:125
|
126 |
msgid "Password Lost and Found"
|
127 |
msgstr "Mot de passe perdu/trouvé"
|
128 |
|
129 |
-
#: sidebar-login.php:
|
130 |
-
#: sidebar-login_2_2_1.php:126
|
131 |
msgid "Lost your password?"
|
132 |
msgstr "Perdu votre mot de passe ?"
|
133 |
|
134 |
-
#: sidebar-login.php:
|
135 |
-
#: sidebar-login_2_2_1.php:127
|
136 |
msgid "Logout"
|
137 |
msgstr "Déconnexion"
|
138 |
|
139 |
-
#: sidebar-login.php:
|
140 |
-
|
141 |
-
|
142 |
-
msgstr "Tableau de bord"
|
143 |
|
144 |
-
#: sidebar-login.php:
|
145 |
-
|
146 |
-
|
147 |
-
msgstr "Profil"
|
148 |
|
149 |
-
#: sidebar-login.php:
|
150 |
-
|
151 |
-
|
152 |
-
msgstr "<strong>ERREUR</strong>: Les cookies sont bloqués ou ne sont pas autorisés par votre navigateur. Vous devrez <a href='http://www.google.com/cookies.html'>activer les cookies</a> pour utiliser WordPress."
|
153 |
-
|
154 |
-
#: sidebar-login.php:299
|
155 |
-
#: sidebar-login_2_2_1.php:296
|
156 |
-
msgid "<strong>ERROR</strong>: Please enter a username & password."
|
157 |
-
msgstr "<strong>ERREUR</strong>: Veuillez saisir un nom d'utilisateur et un mot de passe."
|
158 |
-
|
159 |
-
#: sidebar-login_2_2_1.php:85
|
160 |
-
msgid "One link per line. Note: Logout link will always show regardless. Tip: Add <code>|true</code> after a link to only show it to admin users. Default: <br/><a href=\"http://localhost:8888/wordpress27/wp-admin/\">Dashboard</a><br/><a href=\"http://localhost:8888/wordpress27/wp-admin/profile.php\">Profile</a>"
|
161 |
-
msgstr "Un lien par ligne. N.B. : Le lien de déconnexion sera toujours affiché. A savoir : Ajouter <code>|true</code> après un lien pour qu'il ne soit visible que des administrateurs. Par défaut: <br/><a href=\"http://localhost:8888/wordpress27/wp-admin/\">Dashboard</a><br/><a href=\"http://localhost:8888/wordpress27/wp-admin/profile.php\">Profile</a>"
|
162 |
-
|
163 |
-
#: sidebar-login_2_2_1.php:120
|
164 |
-
msgid "Bienvenue"
|
165 |
-
msgstr "Bienvenue"
|
166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"Project-Id-Version: sidebar_login\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2009-06-15 18:37+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-04-05 14:53-0500\n"
|
7 |
+
"Last-Translator: Sébastien Lavoie <sebastien@lavoie.sl>\n"
|
8 |
"Language-Team: Andy <andy@funnell.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
|
|
18 |
|
19 |
+
#: admin.php:18
|
20 |
+
msgid "Login"
|
21 |
+
msgstr "Se connecter"
|
|
|
|
|
|
|
22 |
|
23 |
+
#: admin.php:19
|
24 |
+
msgid "Logged out heading"
|
25 |
+
msgstr "En-tête déconnecté"
|
26 |
+
|
27 |
+
#: admin.php:20
|
28 |
+
msgid "Heading for the widget when the user is logged out."
|
29 |
+
msgstr "En-tête pour le widget lorsque l’utilisateur est déconnecté."
|
30 |
+
|
31 |
+
#: admin.php:24
|
32 |
+
msgid "Welcome %username%"
|
33 |
+
msgstr "Bienvenue %username%"
|
34 |
+
|
35 |
+
#: admin.php:25
|
36 |
+
msgid "Logged in heading"
|
37 |
+
msgstr "En-tête connecté"
|
38 |
+
|
39 |
+
#: admin.php:26
|
40 |
+
msgid "Heading for the widget when the user is logged in."
|
41 |
+
msgstr "En-tête pour le widget lorsque l’utilisateur est connecté."
|
42 |
+
|
43 |
+
#: admin.php:31
|
44 |
+
msgid "Redirects"
|
45 |
+
msgstr "Redirections"
|
46 |
+
|
47 |
+
#: admin.php:36
|
48 |
+
msgid "Login redirect"
|
49 |
+
msgstr "URL de redirection après connexion"
|
50 |
+
|
51 |
+
#: admin.php:37
|
52 |
+
msgid "Url to redirect the user to after login. Leave blank to use the current page."
|
53 |
+
msgstr "Lien vers lequel l'utilisateur sera renvoyé après connexion. Laisser vide pour revenir à la page actuelle."
|
54 |
+
|
55 |
+
#: admin.php:43
|
56 |
+
msgid "Logout redirect"
|
57 |
+
msgstr "URL de redirection après déconnexion"
|
58 |
+
|
59 |
+
#: admin.php:44
|
60 |
+
#, fuzzy
|
61 |
+
msgid "Url to redirect the user to after logout. Leave blank to use the current page."
|
62 |
msgstr "Lien vers lequel l'utilisateur sera renvoyé après sa déconnexion. Laisser vide pour revenir à la page actuelle."
|
63 |
|
64 |
+
#: admin.php:50
|
65 |
+
msgid "Links"
|
66 |
+
msgstr "Liens"
|
67 |
+
|
68 |
+
#: admin.php:55
|
69 |
msgid "Show Register Link"
|
70 |
msgstr "Afficher un lien \"Enregistrement\" (nouveaux utilisateurs)"
|
71 |
|
72 |
+
#: admin.php:56
|
73 |
+
#, php-format
|
74 |
+
msgid "The <a href=\"%s\" target=\"_blank\">'Anyone can register'</a> setting must be turned on for this option to work."
|
75 |
+
msgstr "La configuration <a href=\"%s\" target=\"_blank\">'Tout le monde peut s’enregistrer'</a> doit être activée pour que cette option soit disponible."
|
76 |
+
|
77 |
+
#: admin.php:62
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
msgid "Show Lost Password Link"
|
79 |
msgstr "Afficher un lien pour les mots de passe perdus"
|
80 |
|
81 |
+
#: admin.php:69
|
82 |
+
msgid "Show Logged in Avatar"
|
83 |
+
msgstr "Montrer les avatars des utilisateurs connectés"
|
84 |
+
|
85 |
+
#: admin.php:75
|
86 |
+
msgid "Dashboard"
|
87 |
+
msgstr "Tableau de bord"
|
88 |
+
|
89 |
+
#: admin.php:75
|
90 |
+
msgid "Profile"
|
91 |
+
msgstr "Profil"
|
92 |
+
|
93 |
+
#: admin.php:76
|
94 |
msgid "Logged in links"
|
95 |
msgstr "Liens 'Enregistrés'"
|
96 |
|
97 |
+
#: admin.php:77
|
98 |
+
#, php-format
|
99 |
+
msgid "One link per line. Note: Logout link will always show regardless. Tip: Add <code>|true</code> after a link to only show it to admin users or alternatively use a <code>|user_capability</code> and the link will only be shown to users with that capability (see <a href='http://codex.wordpress.org/Roles_and_Capabilities' target='_blank'>Roles and Capabilities</a>).<br/> You can also type <code>%%USERNAME%%</code> and <code>%%USERID%%</code> which will be replaced by the user's info. Default: <br/><a href=\"%s/wp-admin/\">Dashboard</a><br/><a href=\"%s/wp-admin/profile.php\">Profile</a>"
|
100 |
+
msgstr ""
|
101 |
|
102 |
+
#: admin.php:106
|
103 |
+
#: sidebar-login.php:228
|
104 |
+
msgid "Sidebar Login"
|
105 |
+
msgstr ""
|
106 |
|
107 |
+
#: admin.php:119
|
108 |
+
msgid "Sidebar Login Options"
|
109 |
+
msgstr "Options de Sidebar Login"
|
|
|
110 |
|
111 |
+
#: admin.php:175
|
112 |
+
msgid "Save Options"
|
113 |
+
msgstr "Sauvegarder les options"
|
114 |
|
115 |
+
#: sidebar-login.php:41
|
|
|
116 |
msgid "Username:"
|
117 |
msgstr "Nom d'utilisateur :"
|
118 |
|
119 |
+
#: sidebar-login.php:42
|
|
|
120 |
msgid "Password:"
|
121 |
msgstr "Mot de passe :"
|
122 |
|
123 |
+
#: sidebar-login.php:43
|
|
|
124 |
msgid "Remember me"
|
125 |
msgstr "Se souvenir de moi"
|
126 |
|
127 |
+
#: sidebar-login.php:44
|
|
|
128 |
msgid "Register"
|
129 |
msgstr "Enregistrement"
|
130 |
|
131 |
+
#: sidebar-login.php:45
|
|
|
132 |
msgid "Password Lost and Found"
|
133 |
msgstr "Mot de passe perdu/trouvé"
|
134 |
|
135 |
+
#: sidebar-login.php:46
|
|
|
136 |
msgid "Lost your password?"
|
137 |
msgstr "Perdu votre mot de passe ?"
|
138 |
|
139 |
+
#: sidebar-login.php:47
|
|
|
140 |
msgid "Logout"
|
141 |
msgstr "Déconnexion"
|
142 |
|
143 |
+
#: sidebar-login.php:150
|
144 |
+
msgid "Or login using an <a href=\"http://openid.net/what/\" title=\"Learn about OpenID\">OpenID</a>"
|
145 |
+
msgstr "Ou se connecter en utilisant <a href=\"http://openid.net/what/\" title=\"Learn about OpenID\">OpenID</a>"
|
|
|
146 |
|
147 |
+
#: sidebar-login.php:160
|
148 |
+
msgid "Login »"
|
149 |
+
msgstr "Se connecter »"
|
|
|
150 |
|
151 |
+
#: sidebar-login.php:227
|
152 |
+
msgid "Sidebar Login."
|
153 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
|
155 |
+
#: sidebar-login.php:284
|
156 |
+
msgid "<strong>ERROR</strong>: Please enter a username."
|
157 |
+
msgstr "<strong>ERREUR</strong>: Veuillez saisir un nom d'utilisateur."
|
158 |
+
|
159 |
+
#: sidebar-login.php:287
|
160 |
+
msgid "<strong>ERROR</strong>: Please enter your password."
|
161 |
+
msgstr "<strong>ERREUR</strong>: Veuillez saisir un mot de passe."
|
162 |
+
|
163 |
+
#~ msgid "<p>Changes saved</p>"
|
164 |
+
#~ msgstr "<p>Changements sauvegardés</p>"
|
165 |
+
|
166 |
+
#~ msgid "Yes"
|
167 |
+
#~ msgstr "Oui"
|
168 |
+
|
169 |
+
#~ msgid "No"
|
170 |
+
#~ msgstr "Non"
|
171 |
+
|
172 |
+
#~ msgid ""
|
173 |
+
#~ "User registrations must also be turned on for this to work ('Anyone can "
|
174 |
+
#~ "register' checkbox in settings)."
|
175 |
+
#~ msgstr ""
|
176 |
+
#~ "L'enregistrement de nouveaux utilisateurs doit être activé dans les "
|
177 |
+
#~ "réglages générales (Cocher 'Tout le monde peut s'enregistrer')"
|
178 |
+
|
179 |
+
#~ msgid ""
|
180 |
+
#~ "One link per line. Note: Logout link will always show regardless. Tip: "
|
181 |
+
#~ "Add <code>|true</code> after a link to only show it to admin users. "
|
182 |
+
#~ "Default: <br/><a href=\""
|
183 |
+
#~ msgstr ""
|
184 |
+
#~ "Un lien par ligne. N.B. Un lien de déconnexion sera toujours affiché. A "
|
185 |
+
#~ "savoir : Ajouter <code>|true</code> après un lien pour qu'il ne soit "
|
186 |
+
#~ "visible qu'aux administrateurs. Par défaut: <br/><a href=\""
|
187 |
+
|
188 |
+
#~ msgid "Save Changes"
|
189 |
+
#~ msgstr "Sauvegarder les changements"
|
190 |
+
|
191 |
+
#~ msgid "Welcome"
|
192 |
+
#~ msgstr "Bienvenue"
|
193 |
+
|
194 |
+
#~ msgid ""
|
195 |
+
#~ "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
|
196 |
+
#~ "browser. You must <a href='http://www.google.com/cookies.html'>enable "
|
197 |
+
#~ "cookies</a> to use WordPress."
|
198 |
+
#~ msgstr ""
|
199 |
+
#~ "<strong>ERREUR</strong>: Les cookies sont bloqués ou ne sont pas "
|
200 |
+
#~ "autorisés par votre navigateur. Vous devrez <a href='http://www.google."
|
201 |
+
#~ "com/cookies.html'>activer les cookies</a> pour utiliser WordPress."
|
202 |
+
|
203 |
+
#~ msgid ""
|
204 |
+
#~ "One link per line. Note: Logout link will always show regardless. Tip: "
|
205 |
+
#~ "Add <code>|true</code> after a link to only show it to admin users. "
|
206 |
+
#~ "Default: <br/><a href=\"http://localhost:8888/wordpress27/wp-admin/"
|
207 |
+
#~ "\">Dashboard</a><br/><a href=\"http://localhost:8888/"
|
208 |
+
#~ "wordpress27/wp-admin/profile.php\">Profile</a>"
|
209 |
+
#~ msgstr ""
|
210 |
+
#~ "Un lien par ligne. N.B. : Le lien de déconnexion sera toujours affiché. A "
|
211 |
+
#~ "savoir : Ajouter <code>|true</code> après un lien pour qu'il ne soit "
|
212 |
+
#~ "visible que des administrateurs. Par défaut: <br/><a href=\"http://"
|
213 |
+
#~ "localhost:8888/wordpress27/wp-admin/\">Dashboard</a><br/><a "
|
214 |
+
#~ "href=\"http://localhost:8888/wordpress27/wp-admin/profile.php\">"
|
215 |
+
#~ "Profile</a>"
|
216 |
+
|
217 |
+
#~ msgid "Bienvenue"
|
218 |
+
#~ msgstr "Bienvenue"
|
langs/sblogin-it_IT.mo
CHANGED
Binary file
|
langs/sblogin-it_IT.po
CHANGED
@@ -2,10 +2,10 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: sidebar_login\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator:
|
8 |
-
"Language-Team:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -17,150 +17,203 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#:
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
-
#:
|
28 |
-
|
29 |
-
|
30 |
-
msgstr "<p>Cambiamenti salvati</p>"
|
31 |
|
32 |
-
#:
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
35 |
msgstr "URL di ridirezionamento per la connessione"
|
36 |
|
37 |
-
#:
|
38 |
-
|
39 |
-
msgid "Url to redirect the user to after login. Leave blank to use their current page."
|
40 |
msgstr "Url per ridirezionare l'utente dopo la connessione. Lascia vuoto per usare la pagina corrente."
|
41 |
|
42 |
-
#:
|
43 |
-
|
44 |
-
msgid "Logout redirect URL"
|
45 |
msgstr "URL di ridirezionamento della disconnessione"
|
46 |
|
47 |
-
#:
|
48 |
-
|
49 |
-
msgid "Url to redirect the user to after logout. Leave blank to use their current page."
|
50 |
msgstr "Url per ridirezionare l'utente dopo la disconnessione. Lascia vuoto per usare la pagina corrente."
|
51 |
|
52 |
-
#:
|
53 |
-
|
|
|
|
|
|
|
54 |
msgid "Show Register Link"
|
55 |
msgstr "Mostra il collegamento per la registrazione"
|
56 |
|
57 |
-
#:
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
#: sidebar-login.php:73
|
65 |
-
#: sidebar-login.php:80
|
66 |
-
#: sidebar-login_2_2_1.php:73
|
67 |
-
#: sidebar-login_2_2_1.php:80
|
68 |
-
msgid "No"
|
69 |
-
msgstr "No"
|
70 |
-
|
71 |
-
#: sidebar-login.php:74
|
72 |
-
#: sidebar-login_2_2_1.php:74
|
73 |
-
msgid "User registrations must also be turned on for this to work ('Anyone can register' checkbox in settings)."
|
74 |
-
msgstr "Le registrazioni dell'utente devono essere abilitate affinché funzioni (funzione 'Tutti possono registrarsi' abilitata) "
|
75 |
-
|
76 |
-
#: sidebar-login.php:77
|
77 |
-
#: sidebar-login_2_2_1.php:77
|
78 |
msgid "Show Lost Password Link"
|
79 |
msgstr "Mostra collegamento per il recupero della parola chiave"
|
80 |
|
81 |
-
#:
|
82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
msgid "Logged in links"
|
84 |
msgstr "Collegamento registrati"
|
85 |
|
86 |
-
#:
|
87 |
-
|
88 |
-
|
|
|
89 |
|
90 |
-
#:
|
91 |
-
#: sidebar-
|
92 |
-
msgid "
|
93 |
-
msgstr "
|
94 |
|
95 |
-
#:
|
96 |
-
|
97 |
-
|
98 |
-
msgstr "Connettiti"
|
99 |
|
100 |
-
#:
|
101 |
-
msgid "
|
102 |
-
msgstr "
|
103 |
|
104 |
-
#: sidebar-login.php:
|
105 |
-
#: sidebar-login_2_2_1.php:121
|
106 |
msgid "Username:"
|
107 |
msgstr "Nome utente:"
|
108 |
|
109 |
-
#: sidebar-login.php:
|
110 |
-
#: sidebar-login_2_2_1.php:122
|
111 |
msgid "Password:"
|
112 |
-
msgstr "
|
113 |
|
114 |
-
#: sidebar-login.php:
|
115 |
-
#: sidebar-login_2_2_1.php:123
|
116 |
msgid "Remember me"
|
117 |
msgstr "Ricordami"
|
118 |
|
119 |
-
#: sidebar-login.php:
|
120 |
-
#: sidebar-login_2_2_1.php:124
|
121 |
msgid "Register"
|
122 |
msgstr "Registrati"
|
123 |
|
124 |
-
#: sidebar-login.php:
|
125 |
-
#: sidebar-login_2_2_1.php:125
|
126 |
msgid "Password Lost and Found"
|
127 |
msgstr "Parola chiave persa e recuperata"
|
128 |
|
129 |
-
#: sidebar-login.php:
|
130 |
-
#: sidebar-login_2_2_1.php:126
|
131 |
msgid "Lost your password?"
|
132 |
msgstr "Hai perso la parola chiave ?"
|
133 |
|
134 |
-
#: sidebar-login.php:
|
135 |
-
#: sidebar-login_2_2_1.php:127
|
136 |
msgid "Logout"
|
137 |
msgstr "Disconnettiti"
|
138 |
|
139 |
-
#: sidebar-login.php:
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
#: sidebar-
|
156 |
-
msgid "<strong>ERROR</strong>: Please enter
|
157 |
-
msgstr "<strong>
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: sidebar_login\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-03-05 10:44+0100\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Marco Solazzi - Intesys Srl <marco.solazzi@intesys.it>\n"
|
8 |
+
"Language-Team: Marco Solazzi - Intesys Srl <marco.solazzi@intesys.it>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: admin.php:18
|
21 |
+
msgid "Login"
|
22 |
+
msgstr "Connettiti"
|
23 |
+
|
24 |
+
#: admin.php:19
|
25 |
+
msgid "Logged out heading"
|
26 |
+
msgstr "Intestazione da sloggato"
|
27 |
+
|
28 |
+
#: admin.php:20
|
29 |
+
msgid "Heading for the widget when the user is logged out."
|
30 |
+
msgstr "Intestazione per il widget quando l'utente è sloggato."
|
31 |
+
|
32 |
+
#: admin.php:24
|
33 |
+
msgid "Welcome %username%"
|
34 |
+
msgstr "Benvenuto %username%"
|
35 |
+
|
36 |
+
#: admin.php:25
|
37 |
+
msgid "Logged in heading"
|
38 |
+
msgstr "Intestazione da loggato"
|
39 |
|
40 |
+
#: admin.php:26
|
41 |
+
msgid "Heading for the widget when the user is logged in."
|
42 |
+
msgstr "Intestazione per il widget quando l'utente è loggato."
|
|
|
43 |
|
44 |
+
#: admin.php:31
|
45 |
+
msgid "Redirects"
|
46 |
+
msgstr "Redirects"
|
47 |
+
|
48 |
+
#: admin.php:36
|
49 |
+
msgid "Login redirect"
|
50 |
msgstr "URL di ridirezionamento per la connessione"
|
51 |
|
52 |
+
#: admin.php:37
|
53 |
+
msgid "Url to redirect the user to after login. Leave blank to use the current page."
|
|
|
54 |
msgstr "Url per ridirezionare l'utente dopo la connessione. Lascia vuoto per usare la pagina corrente."
|
55 |
|
56 |
+
#: admin.php:43
|
57 |
+
msgid "Logout redirect"
|
|
|
58 |
msgstr "URL di ridirezionamento della disconnessione"
|
59 |
|
60 |
+
#: admin.php:44
|
61 |
+
msgid "Url to redirect the user to after logout. Leave blank to use the current page."
|
|
|
62 |
msgstr "Url per ridirezionare l'utente dopo la disconnessione. Lascia vuoto per usare la pagina corrente."
|
63 |
|
64 |
+
#: admin.php:50
|
65 |
+
msgid "Links"
|
66 |
+
msgstr "Collegamenti"
|
67 |
+
|
68 |
+
#: admin.php:55
|
69 |
msgid "Show Register Link"
|
70 |
msgstr "Mostra il collegamento per la registrazione"
|
71 |
|
72 |
+
#: admin.php:56
|
73 |
+
#, php-format
|
74 |
+
msgid "The <a href=\"%s\" target=\"_blank\">'Anyone can register'</a> setting must be turned on for this option to work."
|
75 |
+
msgstr "L'impostazione <a href=\"%s\" target=\"_blank\">'Chiunque può registrarsi'</a> deve essere abilitata affinché questa opzione funzioni."
|
76 |
+
|
77 |
+
#: admin.php:62
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
msgid "Show Lost Password Link"
|
79 |
msgstr "Mostra collegamento per il recupero della parola chiave"
|
80 |
|
81 |
+
#: admin.php:69
|
82 |
+
msgid "Show Logged in Avatar"
|
83 |
+
msgstr "Mostra l'avatar dell'utente loggato"
|
84 |
+
|
85 |
+
#: admin.php:75
|
86 |
+
msgid "Dashboard"
|
87 |
+
msgstr "Pannello di controllo"
|
88 |
+
|
89 |
+
#: admin.php:75
|
90 |
+
msgid "Profile"
|
91 |
+
msgstr "Profilo"
|
92 |
+
|
93 |
+
#: admin.php:76
|
94 |
msgid "Logged in links"
|
95 |
msgstr "Collegamento registrati"
|
96 |
|
97 |
+
#: admin.php:77
|
98 |
+
#, php-format
|
99 |
+
msgid "One link per line. Note: Logout link will always show regardless. Tip: Add <code>|true</code> after a link to only show it to admin users or alternatively use a <code>|user_capability</code> and the link will only be shown to users with that capability (see <a href='http://codex.wordpress.org/Roles_and_Capabilities' target='_blank'>Roles and Capabilities</a>).<br/> You can also type <code>%%USERNAME%%</code> and <code>%%USERID%%</code> which will be replaced by the user's info. Default: <br/><a href=\"%s/wp-admin/\">Dashboard</a><br/><a href=\"%s/wp-admin/profile.php\">Profile</a>"
|
100 |
+
msgstr "Un link per riga. Nota: il link di logout viene comunque mostrato. Tip: aggiungi <code>|true</code> dopo un link per mostrarlo solo agli amministratori o, in alternativa, usa <code>|user_capability</code> per mostrare il link solo agli utenti con la cabapility corrispondente (vedi <a href='http://codex.wordpress.org/Roles_and_Capabilities' target='_blank'>Roles and Capabilities</a>).<br/> Puoi anche scrivere<code>%%USERNAME%%</code> e <code>%%USERID%%</code> che verranno sostituiti con i dati dell'utente. Default: <br/><a href=\"%s/wp-admin/\">Dashboard</a><br/><a href=\"%s/wp-admin/profile.php\">Profile</a>"
|
101 |
|
102 |
+
#: admin.php:106
|
103 |
+
#: sidebar-login.php:217
|
104 |
+
msgid "Sidebar Login"
|
105 |
+
msgstr "Sidebar Login"
|
106 |
|
107 |
+
#: admin.php:119
|
108 |
+
msgid "Sidebar Login Options"
|
109 |
+
msgstr "Opzioni Sidebar Login"
|
|
|
110 |
|
111 |
+
#: admin.php:175
|
112 |
+
msgid "Save Options"
|
113 |
+
msgstr "Salva le opzioni"
|
114 |
|
115 |
+
#: sidebar-login.php:39
|
|
|
116 |
msgid "Username:"
|
117 |
msgstr "Nome utente:"
|
118 |
|
119 |
+
#: sidebar-login.php:40
|
|
|
120 |
msgid "Password:"
|
121 |
+
msgstr "Password:"
|
122 |
|
123 |
+
#: sidebar-login.php:41
|
|
|
124 |
msgid "Remember me"
|
125 |
msgstr "Ricordami"
|
126 |
|
127 |
+
#: sidebar-login.php:42
|
|
|
128 |
msgid "Register"
|
129 |
msgstr "Registrati"
|
130 |
|
131 |
+
#: sidebar-login.php:43
|
|
|
132 |
msgid "Password Lost and Found"
|
133 |
msgstr "Parola chiave persa e recuperata"
|
134 |
|
135 |
+
#: sidebar-login.php:44
|
|
|
136 |
msgid "Lost your password?"
|
137 |
msgstr "Hai perso la parola chiave ?"
|
138 |
|
139 |
+
#: sidebar-login.php:45
|
|
|
140 |
msgid "Logout"
|
141 |
msgstr "Disconnettiti"
|
142 |
|
143 |
+
#: sidebar-login.php:144
|
144 |
+
msgid "Or login using an <a href=\"http://openid.net/what/\" title=\"Learn about OpenID\">OpenID</a>"
|
145 |
+
msgstr "O entra usando un <a href=\"http://openid.net/what/\" title=\"Learn about OpenID\">OpenID</a>"
|
146 |
+
|
147 |
+
#: sidebar-login.php:154
|
148 |
+
msgid "Login »"
|
149 |
+
msgstr "Login »"
|
150 |
+
|
151 |
+
#: sidebar-login.php:216
|
152 |
+
msgid "Sidebar Login."
|
153 |
+
msgstr "Sidebar Login."
|
154 |
+
|
155 |
+
#: sidebar-login.php:273
|
156 |
+
msgid "<strong>ERROR</strong>: Please enter a username."
|
157 |
+
msgstr "<strong>ERRORE</strong>: Inserisci il nome utente."
|
158 |
+
|
159 |
+
#: sidebar-login.php:276
|
160 |
+
msgid "<strong>ERROR</strong>: Please enter your password."
|
161 |
+
msgstr "<strong>ERRORE</strong>: Inserisci la tua password."
|
162 |
+
|
163 |
+
#~ msgid "<p>Changes saved</p>"
|
164 |
+
#~ msgstr "<p>Cambiamenti salvati</p>"
|
165 |
+
|
166 |
+
#~ msgid "Yes"
|
167 |
+
#~ msgstr "Sì"
|
168 |
+
|
169 |
+
#~ msgid "No"
|
170 |
+
#~ msgstr "No"
|
171 |
+
|
172 |
+
#~ msgid ""
|
173 |
+
#~ "User registrations must also be turned on for this to work ('Anyone can "
|
174 |
+
#~ "register' checkbox in settings)."
|
175 |
+
#~ msgstr ""
|
176 |
+
#~ "Le registrazioni dell'utente devono essere abilitate affinché funzioni "
|
177 |
+
#~ "(funzione 'Tutti possono registrarsi' abilitata) "
|
178 |
+
|
179 |
+
#~ msgid ""
|
180 |
+
#~ "One link per line. Note: Logout link will always show regardless. Tip: "
|
181 |
+
#~ "Add <code>|true</code> after a link to only show it to admin users. "
|
182 |
+
#~ "Default: <br/><a href=\""
|
183 |
+
#~ msgstr ""
|
184 |
+
#~ "Un collegamento per linea. Nota : Il collegamento per la disconnessione "
|
185 |
+
#~ "sarà sempre mostrato. Un suggerimento : Aggiungi <code>|true</code> dopo "
|
186 |
+
#~ "un collegamento da mostrare solo agli amministratori. Impostazione "
|
187 |
+
#~ "predefinita: <br/><a href=\""
|
188 |
+
|
189 |
+
#~ msgid "Save Changes"
|
190 |
+
#~ msgstr "Salva i cambiamenti"
|
191 |
+
|
192 |
+
#~ msgid "Welcome"
|
193 |
+
#~ msgstr "Benvenuto/a"
|
194 |
+
|
195 |
+
#~ msgid ""
|
196 |
+
#~ "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
|
197 |
+
#~ "browser. You must <a href='http://www.google.com/cookies.html'>enable "
|
198 |
+
#~ "cookies</a> to use WordPress."
|
199 |
+
#~ msgstr ""
|
200 |
+
#~ "<strong>ERREUR</strong>: I <i>cookies</i> sono bloccati o non supportati. "
|
201 |
+
#~ "Devi <a href='http://www.google.com/cookies.html'>abilitare i "
|
202 |
+
#~ "<i>cookies</i></a> per usare WordPress."
|
203 |
+
|
204 |
+
#~ msgid ""
|
205 |
+
#~ "One link per line. Note: Logout link will always show regardless. Tip: "
|
206 |
+
#~ "Add <code>|true</code> after a link to only show it to admin users. "
|
207 |
+
#~ "Default: <br/><a href=\"http://localhost:8888/wordpress27/wp-admin/"
|
208 |
+
#~ "\">Dashboard</a><br/><a href=\"http://localhost:8888/"
|
209 |
+
#~ "wordpress27/wp-admin/profile.php\">Profile</a>"
|
210 |
+
#~ msgstr ""
|
211 |
+
#~ "Un collegamento per linea. Nota: Il collegamento per la disconnessione "
|
212 |
+
#~ "sarà sempre mostrato. Un suggerimento : Aggiungi <code>|true</code> dopo "
|
213 |
+
#~ "un collegamento da mostrare solo agli amministratori. Impostazione "
|
214 |
+
#~ "predefinita: <br/><a href=\"http://localhost:8888/wordpress27/wp-admin/"
|
215 |
+
#~ "\">Dashboard</a><br/><a href=\"http://localhost:8888/"
|
216 |
+
#~ "wordpress27/wp-admin/profile.php\">Profile</a>"
|
217 |
+
|
218 |
+
#~ msgid "Bienvenue"
|
219 |
+
#~ msgstr "Benvenuto/a"
|
langs/sblogin-sv_SE.mo
ADDED
Binary file
|
langs/sblogin-sv_SE.po
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: sidebar-login\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-06-03 11:43+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-04-04 08:50+0100\n"
|
7 |
+
"Last-Translator: Ove Kaufeldt <ove.kaufeldt@shin-ken.se>\n"
|
8 |
+
"Language-Team: Shin-ken Media\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-Language: Swedish\n"
|
13 |
+
"X-Poedit-Country: SWEDEN\n"
|
14 |
+
|
15 |
+
#: sidebar-login.php:14
|
16 |
+
#: sidebar-login.php:57
|
17 |
+
msgid "Sidebar Login"
|
18 |
+
msgstr "Sidebar Login"
|
19 |
+
|
20 |
+
#: sidebar-login.php:46
|
21 |
+
msgid "<p>Changes saved</p>"
|
22 |
+
msgstr "<p>Ändringarna har sparats</p>"
|
23 |
+
|
24 |
+
#: sidebar-login.php:62
|
25 |
+
msgid "Login redirect URL"
|
26 |
+
msgstr "Adress vid inloggning"
|
27 |
+
|
28 |
+
#: sidebar-login.php:63
|
29 |
+
msgid "Url to redirect the user to after login. Leave blank to use their current page."
|
30 |
+
msgstr "Den adress (URL) som användaren ska skickas vidare till efter inloggning. Lämna rutan tom för att använda den befintliga sidan."
|
31 |
+
|
32 |
+
#: sidebar-login.php:66
|
33 |
+
msgid "Logout redirect URL"
|
34 |
+
msgstr "Adress vid utloggning"
|
35 |
+
|
36 |
+
#: sidebar-login.php:67
|
37 |
+
msgid "Url to redirect the user to after logout. Leave blank to use their current page."
|
38 |
+
msgstr "Den adress (URL) som användaren ska skickas vidare till efter utloggning. Lämna rutan tom för att använda den befintliga sidan."
|
39 |
+
|
40 |
+
#: sidebar-login.php:70
|
41 |
+
msgid "Show Register Link"
|
42 |
+
msgstr "Visa länk för att registrera nya medlemmar"
|
43 |
+
|
44 |
+
#: sidebar-login.php:72
|
45 |
+
#: sidebar-login.php:79
|
46 |
+
msgid "Yes"
|
47 |
+
msgstr "Ja"
|
48 |
+
|
49 |
+
#: sidebar-login.php:73
|
50 |
+
#: sidebar-login.php:80
|
51 |
+
msgid "No"
|
52 |
+
msgstr "Nej"
|
53 |
+
|
54 |
+
#: sidebar-login.php:74
|
55 |
+
msgid "User registrations must also be turned on for this to work ('Anyone can register' checkbox in settings)."
|
56 |
+
msgstr "User registrations must also be turned on for this to work ('Anyone can register' checkbox in settings)."
|
57 |
+
|
58 |
+
#: sidebar-login.php:77
|
59 |
+
msgid "Show Lost Password Link"
|
60 |
+
msgstr "Visa länk för flröorat lösenord"
|
61 |
+
|
62 |
+
#: sidebar-login.php:84
|
63 |
+
msgid "Logged in links"
|
64 |
+
msgstr "Länkar för inloggade"
|
65 |
+
|
66 |
+
#: sidebar-login.php:85
|
67 |
+
msgid "One link per line. Note: Logout link will always show regardless. Tip: Add <code>|true</code> after a link to only show it to admin users. Default: <br/><a href=\""
|
68 |
+
msgstr "En länk per rad. Obs: Länk för utloggning visas alltid. Tips: Lägg till <code>|true</code> efter en länk för att enbart visa den för administratörer. Standard: <br/><a href=\""
|
69 |
+
|
70 |
+
#: sidebar-login.php:89
|
71 |
+
msgid "Save Changes"
|
72 |
+
msgstr "Spara ändringar"
|
73 |
+
|
74 |
+
#: sidebar-login.php:120
|
75 |
+
msgid "Login"
|
76 |
+
msgstr "Logga in"
|
77 |
+
|
78 |
+
#: sidebar-login.php:121
|
79 |
+
msgid "Welcome"
|
80 |
+
msgstr "Välkommen"
|
81 |
+
|
82 |
+
#: sidebar-login.php:122
|
83 |
+
msgid "Username:"
|
84 |
+
msgstr "Användarnamn:"
|
85 |
+
|
86 |
+
#: sidebar-login.php:123
|
87 |
+
msgid "Password:"
|
88 |
+
msgstr "Lösenord:"
|
89 |
+
|
90 |
+
#: sidebar-login.php:124
|
91 |
+
msgid "Remember me"
|
92 |
+
msgstr "Kom ihåg mig"
|
93 |
+
|
94 |
+
#: sidebar-login.php:125
|
95 |
+
msgid "Register"
|
96 |
+
msgstr "Registrera"
|
97 |
+
|
98 |
+
#: sidebar-login.php:126
|
99 |
+
msgid "Password Lost and Found"
|
100 |
+
msgstr "tappat bort lösenordet"
|
101 |
+
|
102 |
+
#: sidebar-login.php:127
|
103 |
+
msgid "Lost your password?"
|
104 |
+
msgstr "Har du förlorat ditt lösenord?"
|
105 |
+
|
106 |
+
#: sidebar-login.php:128
|
107 |
+
msgid "Logout"
|
108 |
+
msgstr "Logga ut"
|
109 |
+
|
110 |
+
#: sidebar-login.php:246
|
111 |
+
msgid "Dashboard"
|
112 |
+
msgstr "Adminpanel"
|
113 |
+
|
114 |
+
#: sidebar-login.php:246
|
115 |
+
msgid "Profile"
|
116 |
+
msgstr "Profil"
|
117 |
+
|
118 |
+
#: sidebar-login.php:292
|
119 |
+
msgid "<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href='http://www.google.com/cookies.html'>enable cookies</a> to use WordPress."
|
120 |
+
msgstr "<strong>FEL</strong>: Cookies har blockerats eller stöds inte av din webbläsare. Du måste <a href='http://www.google.com/cookies.html'>aktivera cookies</a> För att använda WordPress."
|
121 |
+
|
122 |
+
#: sidebar-login.php:300
|
123 |
+
msgid "<strong>ERROR</strong>: Please enter a username & password."
|
124 |
+
msgstr "<strong>FEL</strong>: Skriv in inloggningsnamn och lösenord."
|
125 |
+
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://mikejolley.com/projects/sidebar-login-for-wordpress/
|
|
4 |
Tags: login, sidebar, widget, sidebar login, meta, form, register
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.3
|
7 |
-
Stable tag: 2.3.
|
8 |
|
9 |
Easily add an ajax-enhanced login widget to your site's sidebar.
|
10 |
|
@@ -77,6 +77,14 @@ You will find a config page in tools/settings > Sidebar Login. Here you can set
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
= 2.3.4 =
|
81 |
* SSL URL tweak
|
82 |
* Better handling for force_ssl_login and force_ssl_admin
|
4 |
Tags: login, sidebar, widget, sidebar login, meta, form, register
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.3
|
7 |
+
Stable tag: 2.3.5
|
8 |
|
9 |
Easily add an ajax-enhanced login widget to your site's sidebar.
|
10 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 2.3.5 =
|
81 |
+
* Use jsonp to enable login from http to https
|
82 |
+
* Fixed remember me logic (in js)
|
83 |
+
* Sanitize redirect url
|
84 |
+
* Removed esc_attr from username and password to prevent breaking login
|
85 |
+
* Updated french and italian langs
|
86 |
+
* Added Swedish lang by Ove Kaufeldt
|
87 |
+
|
88 |
= 2.3.4 =
|
89 |
* SSL URL tweak
|
90 |
* Better handling for force_ssl_login and force_ssl_admin
|
sidebar-login.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Sidebar Login
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/sidebar-login/
|
5 |
Description: Easily add an ajax-enhanced login widget to your site's sidebar.
|
6 |
-
Version: 2.3.
|
7 |
Author: Mike Jolley
|
8 |
Author URI: http://mikejolley.com
|
9 |
*/
|
@@ -122,7 +122,7 @@ function widget_wp_sidebarlogin($args) {
|
|
122 |
|
123 |
if (empty($redirect_to)) :
|
124 |
if (isset($_REQUEST['redirect_to']))
|
125 |
-
$redirect_to = $_REQUEST['redirect_to'];
|
126 |
else
|
127 |
$redirect_to = sidebar_login_current_url('nologout');
|
128 |
endif;
|
@@ -211,7 +211,7 @@ function widget_wp_sidebarlogin_init() {
|
|
211 |
|
212 |
// Pass variables to script
|
213 |
$sidebar_login_params = array(
|
214 |
-
'ajax_url' => (is_ssl()) ? str_replace('http:', 'https:', admin_url('admin-ajax.php')) : str_replace('https:', 'http:', admin_url('admin-ajax.php')),
|
215 |
'login_nonce' => wp_create_nonce("sidebar-login-action")
|
216 |
);
|
217 |
wp_localize_script( 'sidebar-login', 'sidebar_login_params', $sidebar_login_params );
|
@@ -245,7 +245,7 @@ function widget_wp_sidebarlogin_check() {
|
|
245 |
|
246 |
if (empty($redirect_to)) :
|
247 |
if (isset($_REQUEST['redirect_to']))
|
248 |
-
$redirect_to = $_REQUEST['redirect_to'];
|
249 |
else
|
250 |
$redirect_to = sidebar_login_current_url('nologout');
|
251 |
endif;
|
@@ -256,7 +256,7 @@ function widget_wp_sidebarlogin_check() {
|
|
256 |
// If the user wants ssl but the session is not ssl, force a secure cookie.
|
257 |
if ( !empty($_POST['log']) && !force_ssl_admin() ) {
|
258 |
$user_name = sanitize_user($_POST['log']);
|
259 |
-
if ( $user =
|
260 |
if ( get_user_option('use_ssl', $user->ID) ) {
|
261 |
$secure_cookie = true;
|
262 |
force_ssl_admin(true);
|
@@ -307,18 +307,18 @@ function sidebar_login_ajax_process() {
|
|
307 |
|
308 |
// Get post data
|
309 |
$creds = array();
|
310 |
-
$creds['user_login'] =
|
311 |
-
$creds['user_password'] =
|
312 |
-
$creds['remember'] = esc_attr($
|
313 |
-
$redirect_to = esc_attr($
|
314 |
|
315 |
// Check for Secure Cookie
|
316 |
$secure_cookie = '';
|
317 |
|
318 |
// If the user wants ssl but the session is not ssl, force a secure cookie.
|
319 |
-
if ( !
|
320 |
-
$user_name = sanitize_user($
|
321 |
-
if ( $user =
|
322 |
if ( get_user_option('use_ssl', $user->ID) ) {
|
323 |
$secure_cookie = true;
|
324 |
force_ssl_admin(true);
|
@@ -343,13 +343,19 @@ function sidebar_login_ajax_process() {
|
|
343 |
$result['redirect'] = $redirect_to;
|
344 |
else :
|
345 |
$result['success'] = 0;
|
346 |
-
|
347 |
-
$
|
348 |
-
|
|
|
|
|
|
|
|
|
349 |
}
|
350 |
endif;
|
351 |
|
352 |
-
|
|
|
|
|
353 |
|
354 |
die();
|
355 |
}
|
3 |
Plugin Name: Sidebar Login
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/sidebar-login/
|
5 |
Description: Easily add an ajax-enhanced login widget to your site's sidebar.
|
6 |
+
Version: 2.3.5
|
7 |
Author: Mike Jolley
|
8 |
Author URI: http://mikejolley.com
|
9 |
*/
|
122 |
|
123 |
if (empty($redirect_to)) :
|
124 |
if (isset($_REQUEST['redirect_to']))
|
125 |
+
$redirect_to = esc_url( $_REQUEST['redirect_to'] );
|
126 |
else
|
127 |
$redirect_to = sidebar_login_current_url('nologout');
|
128 |
endif;
|
211 |
|
212 |
// Pass variables to script
|
213 |
$sidebar_login_params = array(
|
214 |
+
'ajax_url' => ( is_ssl() || force_ssl_admin() || force_ssl_login() ) ? str_replace('http:', 'https:', admin_url('admin-ajax.php')) : str_replace('https:', 'http:', admin_url('admin-ajax.php')),
|
215 |
'login_nonce' => wp_create_nonce("sidebar-login-action")
|
216 |
);
|
217 |
wp_localize_script( 'sidebar-login', 'sidebar_login_params', $sidebar_login_params );
|
245 |
|
246 |
if (empty($redirect_to)) :
|
247 |
if (isset($_REQUEST['redirect_to']))
|
248 |
+
$redirect_to = esc_attr( $_REQUEST['redirect_to'] );
|
249 |
else
|
250 |
$redirect_to = sidebar_login_current_url('nologout');
|
251 |
endif;
|
256 |
// If the user wants ssl but the session is not ssl, force a secure cookie.
|
257 |
if ( !empty($_POST['log']) && !force_ssl_admin() ) {
|
258 |
$user_name = sanitize_user($_POST['log']);
|
259 |
+
if ( $user = get_user_by('login', $user_name) ) {
|
260 |
if ( get_user_option('use_ssl', $user->ID) ) {
|
261 |
$secure_cookie = true;
|
262 |
force_ssl_admin(true);
|
307 |
|
308 |
// Get post data
|
309 |
$creds = array();
|
310 |
+
$creds['user_login'] = $_REQUEST['user_login'];
|
311 |
+
$creds['user_password'] = $_REQUEST['user_password'];
|
312 |
+
$creds['remember'] = esc_attr($_REQUEST['remember']);
|
313 |
+
$redirect_to = esc_attr($_REQUEST['redirect_to']);
|
314 |
|
315 |
// Check for Secure Cookie
|
316 |
$secure_cookie = '';
|
317 |
|
318 |
// If the user wants ssl but the session is not ssl, force a secure cookie.
|
319 |
+
if ( ! force_ssl_admin() ) {
|
320 |
+
$user_name = sanitize_user( $_REQUEST['user_login'] );
|
321 |
+
if ( $user = get_user_by('login', $user_name ) ) {
|
322 |
if ( get_user_option('use_ssl', $user->ID) ) {
|
323 |
$secure_cookie = true;
|
324 |
force_ssl_admin(true);
|
343 |
$result['redirect'] = $redirect_to;
|
344 |
else :
|
345 |
$result['success'] = 0;
|
346 |
+
if ( $user->errors ) {
|
347 |
+
foreach ($user->errors as $error) {
|
348 |
+
$result['error'] = $error[0];
|
349 |
+
break;
|
350 |
+
}
|
351 |
+
} else {
|
352 |
+
$result['error'] = __('Please enter your username and password to login.', 'sblogin');
|
353 |
}
|
354 |
endif;
|
355 |
|
356 |
+
header('content-type: application/json; charset=utf-8');
|
357 |
+
|
358 |
+
echo $_GET['callback'] . '(' . json_encode($result) . ')';
|
359 |
|
360 |
die();
|
361 |
}
|