Sidebar Login - Version 2.2.10

Version Description

  • Moved settings to appearance menu
  • Changed min user level to capilbilty 'manage_options'
  • Fixed menu showing in wordpress 3.0
  • Added %USERID% for links
  • Fixed white space bug for link options
Download this release

Release Info

Developer jolley_small
Plugin Icon 128x128 Sidebar Login
Version 2.2.10
Comparing to
See all releases

Code changes from version 2.2.9 to 2.2.10

langs/alternate/lang_HU_old/sblogin-hu_HU.mo ADDED
Binary file
langs/alternate/lang_HU_old/sblogin-hu_HU.po ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hungarian translation of sidebar-login.
2
+ # Laszlo Dvornik <dvornik@gnome.hu>, 2009.
3
+ #
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: sidebar-login (magázó)\n"
7
+ "Report-Msgid-Bugs-To: \n"
8
+ "POT-Creation-Date: 2009-06-03 11:43+0100\n"
9
+ "PO-Revision-Date: 2010-01-26 14:20+0100\n"
10
+ "Last-Translator: Vereskuti Balint <balint@vereskuti.eu>\n"
11
+ "Language-Team: Balint Vereskuti <balint@vereskuti.eu>\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Poedit-Language: Hungarian\n"
16
+
17
+ #: sidebar-login.php:14
18
+ #: sidebar-login.php:57
19
+ msgid "Sidebar Login"
20
+ msgstr "Sidebar Login"
21
+
22
+ #: sidebar-login.php:46
23
+ msgid "<p>Changes saved</p>"
24
+ msgstr "<p>Változások mentve</p>"
25
+
26
+ #: sidebar-login.php:62
27
+ msgid "Login redirect URL"
28
+ msgstr "Bejelentkezés átirányítása"
29
+
30
+ #: sidebar-login.php:63
31
+ msgid "Url to redirect the user to after login. Leave blank to use their current page."
32
+ msgstr "A megadott linkre ugrik bejelentkezés után. Hagyja üresen az aktuális oldalhoz való visszatéréshez."
33
+
34
+ #: sidebar-login.php:66
35
+ msgid "Logout redirect URL"
36
+ msgstr "Kijelentkezés átirányítása"
37
+
38
+ #: sidebar-login.php:67
39
+ msgid "Url to redirect the user to after logout. Leave blank to use their current page."
40
+ msgstr "A megadott linkre ugrik kijelentkezés után. Hagyja üresen az aktuális oldalhoz való visszatéréshez."
41
+
42
+ #: sidebar-login.php:70
43
+ msgid "Show Register Link"
44
+ msgstr "Regisztrációs link megjelenítése"
45
+
46
+ #: sidebar-login.php:72
47
+ #: sidebar-login.php:79
48
+ msgid "Yes"
49
+ msgstr "Igen"
50
+
51
+ #: sidebar-login.php:73
52
+ #: sidebar-login.php:80
53
+ msgid "No"
54
+ msgstr "Nem"
55
+
56
+ #: sidebar-login.php:74
57
+ msgid "User registrations must also be turned on for this to work ('Anyone can register' checkbox in settings)."
58
+ msgstr "Ennek működéséhez engedélyezze a felhasználói regisztrációt!('Bárki regisztrálhat' jelölőnégyzet a beállításoknál)."
59
+
60
+ #: sidebar-login.php:77
61
+ msgid "Show Lost Password Link"
62
+ msgstr "Elfelejtett jelszó link megjelenítése"
63
+
64
+ #: sidebar-login.php:84
65
+ msgid "Logged in links"
66
+ msgstr "Bejelentkezve látható linkek"
67
+
68
+ #: sidebar-login.php:85
69
+ 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/>&lt;a href=\""
70
+ msgstr "Soronként egy hivatkozás. Figyelem: a kijelentkezési hivatkozás ezeken kívül is meg fog jelenni. Tipp: ahhoz, hogy egy hivatkozás csak az admin jogosultságú felhasználóknak jelenjen meg, adja a <code>|true</code> kódot a hivatkozás után. Alapértelmezés: <br/>&lt;a href=\""
71
+
72
+ #: sidebar-login.php:89
73
+ msgid "Save Changes"
74
+ msgstr "Változások mentése"
75
+
76
+ #: sidebar-login.php:120
77
+ msgid "Login"
78
+ msgstr "Bejelentkezés"
79
+
80
+ #: sidebar-login.php:121
81
+ msgid "Welcome"
82
+ msgstr "Üdv"
83
+
84
+ #: sidebar-login.php:122
85
+ msgid "Username:"
86
+ msgstr "Felhasználónév:"
87
+
88
+ #: sidebar-login.php:123
89
+ msgid "Password:"
90
+ msgstr "Jelszó:"
91
+
92
+ #: sidebar-login.php:124
93
+ msgid "Remember me"
94
+ msgstr "Emlékezzen rám"
95
+
96
+ #: sidebar-login.php:125
97
+ msgid "Register"
98
+ msgstr "Regisztráció"
99
+
100
+ #: sidebar-login.php:126
101
+ msgid "Password Lost and Found"
102
+ msgstr "Elfelejtett jelszó"
103
+
104
+ #: sidebar-login.php:127
105
+ msgid "Lost your password?"
106
+ msgstr "Elfelejtette a jelszavát?"
107
+
108
+ #: sidebar-login.php:128
109
+ msgid "Logout"
110
+ msgstr "Kijelentkezés"
111
+
112
+ #: sidebar-login.php:246
113
+ msgid "Dashboard"
114
+ msgstr "Vezérlőpult"
115
+
116
+ #: sidebar-login.php:246
117
+ msgid "Profile"
118
+ msgstr "Profil"
119
+
120
+ #: sidebar-login.php:292
121
+ 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."
122
+ msgstr "<strong>HIBA</strong>: A sütik blokkolva vannak, vagy a böngészője nem támogatja őket. Engedélyeznie kell a <a href='http://www.google.com/cookies.html'>sütiket</a> a WordPress használatához."
123
+
124
+ #: sidebar-login.php:300
125
+ msgid "<strong>ERROR</strong>: Please enter a username & password."
126
+ msgstr "<strong>HIBA</strong>: Adja meg a felhasználónevét és a hozzá tartozó jelszavát!"
127
+
langs/alternate/lang_HU_young/sblogin-hu_HU_2.mo ADDED
Binary file
langs/alternate/lang_HU_young/sblogin-hu_HU_2.po ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hungarian translation of sidebar-login.
2
+ # Laszlo Dvornik <dvornik@gnome.hu>, 2009.
3
+ #
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: sidebar-login (tegező)\n"
7
+ "Report-Msgid-Bugs-To: \n"
8
+ "POT-Creation-Date: 2009-06-03 11:43+0100\n"
9
+ "PO-Revision-Date: 2010-01-26 14:20+0100\n"
10
+ "Last-Translator: Vereskuti Balint <balint@vereskuti.eu>\n"
11
+ "Language-Team: Balint Vereskuti <balint@vereskuti.eu>\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Poedit-Language: Hungarian\n"
16
+
17
+ #: sidebar-login.php:14
18
+ #: sidebar-login.php:57
19
+ msgid "Sidebar Login"
20
+ msgstr "Sidebar Login"
21
+
22
+ #: sidebar-login.php:46
23
+ msgid "<p>Changes saved</p>"
24
+ msgstr "<p>Változások mentve</p>"
25
+
26
+ #: sidebar-login.php:62
27
+ msgid "Login redirect URL"
28
+ msgstr "Bejelentkezés átirányítása"
29
+
30
+ #: sidebar-login.php:63
31
+ msgid "Url to redirect the user to after login. Leave blank to use their current page."
32
+ msgstr "A megadott linkre ugrik bejelentkezés után. Hagyd üresen az aktuális oldalhoz való visszatéréshez."
33
+
34
+ #: sidebar-login.php:66
35
+ msgid "Logout redirect URL"
36
+ msgstr "Kijelentkezés átirányítása"
37
+
38
+ #: sidebar-login.php:67
39
+ msgid "Url to redirect the user to after logout. Leave blank to use their current page."
40
+ msgstr "A megadott linkre ugrik kijelentkezés után. Hagyd üresen az aktuális oldalhoz való visszatéréshez."
41
+
42
+ #: sidebar-login.php:70
43
+ msgid "Show Register Link"
44
+ msgstr "Regisztrációs link megjelenítése"
45
+
46
+ #: sidebar-login.php:72
47
+ #: sidebar-login.php:79
48
+ msgid "Yes"
49
+ msgstr "Igen"
50
+
51
+ #: sidebar-login.php:73
52
+ #: sidebar-login.php:80
53
+ msgid "No"
54
+ msgstr "Nem"
55
+
56
+ #: sidebar-login.php:74
57
+ msgid "User registrations must also be turned on for this to work ('Anyone can register' checkbox in settings)."
58
+ msgstr "Ennek működéséhez engedélyezd a felhasználói regisztrációt!('Bárki regisztrálhat' jelölőnégyzet a beállításoknál)."
59
+
60
+ #: sidebar-login.php:77
61
+ msgid "Show Lost Password Link"
62
+ msgstr "Elfelejtett jelszó link megjelenítése"
63
+
64
+ #: sidebar-login.php:84
65
+ msgid "Logged in links"
66
+ msgstr "Bejelentkezve látható linkek"
67
+
68
+ #: sidebar-login.php:85
69
+ 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/>&lt;a href=\""
70
+ msgstr "Soronként egy hivatkozás. Figyelem: a kijelentkezési hivatkozás ezeken kívül is meg fog jelenni. Tipp: ahhoz, hogy egy hivatkozás csak az admin jogosultságú felhasználóknak jelenjen meg, add a <code>|true</code> kódot a hivatkozás után. Alapértelmezés: <br/>&lt;a href=\""
71
+
72
+ #: sidebar-login.php:89
73
+ msgid "Save Changes"
74
+ msgstr "Változások mentése"
75
+
76
+ #: sidebar-login.php:120
77
+ msgid "Login"
78
+ msgstr "Bejelentkezés"
79
+
80
+ #: sidebar-login.php:121
81
+ msgid "Welcome"
82
+ msgstr "Üdv"
83
+
84
+ #: sidebar-login.php:122
85
+ msgid "Username:"
86
+ msgstr "Felhasználónév:"
87
+
88
+ #: sidebar-login.php:123
89
+ msgid "Password:"
90
+ msgstr "Jelszó:"
91
+
92
+ #: sidebar-login.php:124
93
+ msgid "Remember me"
94
+ msgstr "Emlékezz rám"
95
+
96
+ #: sidebar-login.php:125
97
+ msgid "Register"
98
+ msgstr "Regisztráció"
99
+
100
+ #: sidebar-login.php:126
101
+ msgid "Password Lost and Found"
102
+ msgstr "Elfelejtett jelszó"
103
+
104
+ #: sidebar-login.php:127
105
+ msgid "Lost your password?"
106
+ msgstr "Elfelejtetted a jelszavad?"
107
+
108
+ #: sidebar-login.php:128
109
+ msgid "Logout"
110
+ msgstr "Kijelentkezés"
111
+
112
+ #: sidebar-login.php:246
113
+ msgid "Dashboard"
114
+ msgstr "Vezérlőpult"
115
+
116
+ #: sidebar-login.php:246
117
+ msgid "Profile"
118
+ msgstr "Profil"
119
+
120
+ #: sidebar-login.php:292
121
+ 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."
122
+ msgstr "<strong>HIBA</strong>: A sütik blokkolva vannak, vagy a böngésződ nem támogatja őket. Engedélyezd a <a href='http://www.google.com/cookies.html'>sütiket</a> a WordPress használatához."
123
+
124
+ #: sidebar-login.php:300
125
+ msgid "<strong>ERROR</strong>: Please enter a username & password."
126
+ msgstr "<strong>HIBA</strong>: Add meg a felhasználóneved és a hozzá tartozó jelszavad!"
127
+
langs/alternate/sblogin-hu_HU.mo DELETED
Binary file
langs/alternate/sblogin-hu_HU.po DELETED
@@ -1,166 +0,0 @@
1
- msgid ""
2
- 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: Balint Vereskuti <balint@vereskuti.info>\n"
8
- "Language-Team: kopasz <balint@vereskuti.info>\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: Hungarian\n"
13
- "X-Poedit-Country: HUNGARY\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
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
- #: sidebar-login.php:14
21
- #: sidebar-login.php:57
22
- #: sidebar-login_2_2_1.php:14
23
- #: sidebar-login_2_2_1.php:57
24
- msgid "Sidebar Login"
25
- msgstr ""
26
-
27
- #: sidebar-login.php:46
28
- #: sidebar-login_2_2_1.php:46
29
- msgid "<p>Changes saved</p>"
30
- msgstr "<p>Beállítások elmentve</p>"
31
-
32
- #: sidebar-login.php:62
33
- #: sidebar-login_2_2_1.php:62
34
- msgid "Login redirect URL"
35
- msgstr "Bejelentkezés átirányítása: "
36
-
37
- #: sidebar-login.php:63
38
- #: sidebar-login_2_2_1.php:63
39
- msgid "Url to redirect the user to after login. Leave blank to use their current page."
40
- msgstr "A megadott linkre ugrik bejelentkezés után. Hagyja üresen az aktuális oldalhoz való visszatéréshez."
41
-
42
- #: sidebar-login.php:66
43
- #: sidebar-login_2_2_1.php:66
44
- msgid "Logout redirect URL"
45
- msgstr "Kijelentkezés átirányítása: "
46
-
47
- #: sidebar-login.php:67
48
- #: sidebar-login_2_2_1.php:67
49
- msgid "Url to redirect the user to after logout. Leave blank to use their current page."
50
- msgstr "A megadott linkre ugrik kijelentkezés után. Hagyja üresen az aktuális oldalhoz való visszatéréshez."
51
-
52
- #: sidebar-login.php:70
53
- #: sidebar-login_2_2_1.php:70
54
- msgid "Show Register Link"
55
- msgstr "Regisztráció(s link) engedélyezése"
56
-
57
- #: sidebar-login.php:72
58
- #: sidebar-login.php:79
59
- #: sidebar-login_2_2_1.php:72
60
- #: sidebar-login_2_2_1.php:79
61
- msgid "Yes"
62
- msgstr "Igen"
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 "Nem"
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 "A felhasználók regisztrációját engedélyeznie kell! (Wordpress beállításaiban \"Bárki regisztrálhat\")"
75
-
76
- #: sidebar-login.php:77
77
- #: sidebar-login_2_2_1.php:77
78
- msgid "Show Lost Password Link"
79
- msgstr "Elfelejtett jelszó"
80
-
81
- #: sidebar-login.php:84
82
- #: sidebar-login_2_2_1.php:84
83
- msgid "Logged in links"
84
- msgstr "Bejelentkezve"
85
-
86
- #: sidebar-login.php:85
87
- 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/>&lt;a href=\""
88
- msgstr "Csak egy linket adjon meg soronként. Figyelem: a kijelentezési linket mindig megjeleníti! Tipp: írja be a <code>|true</code> részletet a link után, így csak az adminisztrátor felhasználók láthatják. Alapérték: <br/>&lt;a href=\""
89
-
90
- #: sidebar-login.php:88
91
- #: sidebar-login_2_2_1.php:88
92
- msgid "Save Changes"
93
- msgstr "Változások mentése"
94
-
95
- #: sidebar-login.php:119
96
- #: sidebar-login_2_2_1.php:119
97
- msgid "Login"
98
- msgstr "Bejelentkezés"
99
-
100
- #: sidebar-login.php:120
101
- msgid "Welcome"
102
- msgstr "Üdvözöljük"
103
-
104
- #: sidebar-login.php:121
105
- #: sidebar-login_2_2_1.php:121
106
- msgid "Username:"
107
- msgstr "Felhasználónév:"
108
-
109
- #: sidebar-login.php:122
110
- #: sidebar-login_2_2_1.php:122
111
- msgid "Password:"
112
- msgstr "Jelszó:"
113
-
114
- #: sidebar-login.php:123
115
- #: sidebar-login_2_2_1.php:123
116
- msgid "Remember me"
117
- msgstr "Jegyezzen meg"
118
-
119
- #: sidebar-login.php:124
120
- #: sidebar-login_2_2_1.php:124
121
- msgid "Register"
122
- msgstr "Regisztráció"
123
-
124
- #: sidebar-login.php:125
125
- #: sidebar-login_2_2_1.php:125
126
- msgid "Password Lost and Found"
127
- msgstr "Elfelejtett jelszó"
128
-
129
- #: sidebar-login.php:126
130
- #: sidebar-login_2_2_1.php:126
131
- msgid "Lost your password?"
132
- msgstr "Elfelejtette a jelszavát?"
133
-
134
- #: sidebar-login.php:127
135
- #: sidebar-login_2_2_1.php:127
136
- msgid "Logout"
137
- msgstr "Kijelentkezés"
138
-
139
- #: sidebar-login.php:245
140
- #: sidebar-login_2_2_1.php:242
141
- msgid "Dashboard"
142
- msgstr "Vezérlőpult"
143
-
144
- #: sidebar-login.php:245
145
- #: sidebar-login_2_2_1.php:242
146
- msgid "Profile"
147
- msgstr "Adatok"
148
-
149
- #: sidebar-login.php:291
150
- #: sidebar-login_2_2_1.php:288
151
- 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."
152
- msgstr "<strong>HIBA</strong>: A cookie-k használata nem engedélyezett a böngészőjében. Kérjük, <a href='http://www.google.com/cookies.html'>engedélyezze őket</a> a WordPress használatához!"
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>HIBA</strong>: Adja meg felhasználónevét és a hozzá tartozó jelszót!"
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/>&lt;a href=\"http://localhost:8888/wordpress27/wp-admin/\"&gt;Dashboard&lt;/a&gt;<br/>&lt;a href=\"http://localhost:8888/wordpress27/wp-admin/profile.php\"&gt;Profile&lt;/a&gt;"
161
- msgstr "Egy link soronként. Figyelem:a kijelentezési linket mindig megjeleníti! Tipp: írja be a <code>|true</code> részletet a link után, így csak az adminisztrátorok felhasználók láthatják. Alapérték: <br/>&lt;a href=\"http://localhost:8888/wordpress27/wp-admin/\"&gt;Dashboard&lt;/a&gt;<br/>&lt;a href=\"http://localhost:8888/wordpress27/wp-admin/profile.php\"&gt;Profile&lt;/a&gt;"
162
-
163
- #: sidebar-login_2_2_1.php:120
164
- msgid "Bienvenue"
165
- msgstr "Üdvözöljük"
166
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: jolley_small
3
  Donate link: http://blue-anvil.com/archives/wordpress-sidebar-login-2-optimised-for-wordpress-26
4
  Tags: login, sidebar, widget, sidebar login, meta, form, register
5
  Requires at least: 2.5
6
- Tested up to: 2.9
7
- Stable tag: 2.2.9
8
 
9
  Adds a sidebar widget to let users login. Displayed links can be changed from the <a href="options-general.php?page=Sidebar%20Login">settings page</a>.
10
 
@@ -14,32 +14,32 @@ Sidebar-Login has both a widget and a template tag to allow you to have a login
14
 
15
  It lets users login, and then redirects them back to the page they logged in from rather than the backend, it also shows error messages.
16
 
17
- You can configure the plugin in <code>Admin > Tools > Sidebar Login</code> after installing it.
18
 
19
  = Localization Files =
20
 
21
- Czech Translation - http://wordpress.blog.mantlik.cz/plugins/sblogin-cs/
22
- Catalan Translation by Marc Vinyals
23
- French Translation by Andy
24
- Estonian Translation by Marko Punnar
25
- Dutch Translation by Ruben Janssen
26
- German Translation by GhostLyrics
27
- Italian Translation by Alessandro Spadavecchia
28
- Hungarian translation by Laszlo Dvornik
29
- Hungarian (2) translation by Balint Vereskuti
30
- Russian translation by Fat Cow (http://www.fatcow.com)
31
- Romanian translation by Victor Osorhan
32
- Spanish translation by Tribak (http://blog.tribak.org/sidebar-login-es_es/)
33
- Spanish (2) translation by Ricardo Vilella (http://www.ifconfig.com.ar/general/traduccion-al-espanol-del-plugin-sidebar-login-para-wordpress/)
34
- Danish translation by Per Bovbjerg
35
- Portuguese translation by Alvaro Becker
36
- Polish translation by merito
37
- Polish (2) translation by Darek Wapinski
38
- Icelandic translation by Hákon Ásgeirsson
39
- Arabic translation by khalid
40
- Persian(farsi) translation Amir Beitollahi
41
- Turkish translation by Muzo B
42
- Chinese translation by seven - http://www.anchuang.org
43
 
44
  Note: Those with more than one translation are found in langs/alternate/. To use the alternatives move them from /alternate/ into /langs/.
45
 
@@ -61,7 +61,14 @@ You will find a config page in tools/settings > Sidebar Login. Here you can set
61
  1. Login Form
62
  2. After Login
63
 
64
- == Changelog ==
 
 
 
 
 
 
 
65
 
66
  = 2.2.8 =
67
  * Min level setting for links. Add user level after |true when defining the logged in links.
3
  Donate link: http://blue-anvil.com/archives/wordpress-sidebar-login-2-optimised-for-wordpress-26
4
  Tags: login, sidebar, widget, sidebar login, meta, form, register
5
  Requires at least: 2.5
6
+ Tested up to: 3.0
7
+ Stable tag: 2.2.10
8
 
9
  Adds a sidebar widget to let users login. Displayed links can be changed from the <a href="options-general.php?page=Sidebar%20Login">settings page</a>.
10
 
14
 
15
  It lets users login, and then redirects them back to the page they logged in from rather than the backend, it also shows error messages.
16
 
17
+ You can configure the plugin in <code>Admin > Appearance > Sidebar Login</code> after installing it.
18
 
19
  = Localization Files =
20
 
21
+ * Czech Translation - http://wordpress.blog.mantlik.cz/plugins/sblogin-cs/
22
+ * Catalan Translation by Marc Vinyals
23
+ * French Translation by Andy
24
+ * Estonian Translation by Marko Punnar
25
+ * Dutch Translation by Ruben Janssen
26
+ * German Translation by GhostLyrics
27
+ * Italian Translation by Alessandro Spadavecchia
28
+ * Hungarian translation by Laszlo Dvornik
29
+ * Hungarian (2) translation by Balint Vereskuti
30
+ * Russian translation by Fat Cow (http://www.fatcow.com)
31
+ * Romanian translation by Victor Osorhan
32
+ * Spanish translation by Tribak (http://blog.tribak.org/sidebar-login-es_es/)
33
+ * Spanish (2) translation by Ricardo Vilella (http://www.ifconfig.com.ar/general/traduccion-al-espanol-del-plugin-sidebar-login-para-wordpress/)
34
+ * Danish translation by Per Bovbjerg
35
+ * Portuguese translation by Alvaro Becker
36
+ * Polish translation by merito
37
+ * Polish (2) translation by Darek Wapinski
38
+ * Icelandic translation by Hákon Ásgeirsson
39
+ * Arabic translation by khalid
40
+ * Persian(farsi) translation Amir Beitollahi
41
+ * Turkish translation by Muzo B
42
+ * Chinese translation by seven - http://www.anchuang.org
43
 
44
  Note: Those with more than one translation are found in langs/alternate/. To use the alternatives move them from /alternate/ into /langs/.
45
 
61
  1. Login Form
62
  2. After Login
63
 
64
+ == Changelog ==
65
+
66
+ = 2.2.10 =
67
+ * Moved settings to appearance menu
68
+ * Changed min user level to capilbilty 'manage_options'
69
+ * Fixed menu showing in wordpress 3.0
70
+ * Added %USERID% for links
71
+ * Fixed white space bug for link options
72
 
73
  = 2.2.8 =
74
  * Min level setting for links. Add user level after |true when defining the logged in links.
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: Adds a sidebar widget to let users login
6
- Version: 2.2.9
7
  Author: Mike Jolley
8
  Author URI: http://blue-anvil.com
9
  */
@@ -15,10 +15,11 @@ if ( ! defined( 'WP_CONTENT_URL' ) ) {
15
  }
16
  if ( ! defined( 'WP_PLUGIN_URL' ) ) define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
17
 
18
- load_plugin_textdomain('sblogin', WP_PLUGIN_URL.'/sidebar-login/langs/', 'sidebar-login/langs/');
 
19
 
20
  function wp_sidebarlogin_menu() {
21
- add_submenu_page('options-general.php', __('Sidebar Login','sblogin'), __('Sidebar Login','sblogin'), 9,'Sidebar Login', 'wp_sidebarlogin_admin');
22
  }
23
 
24
  if (!function_exists('is_ssl')) :
@@ -49,7 +50,7 @@ function wp_sidebarlogin_admin(){
49
  <div class="wrap alternate">
50
  <h2><?php _e('Sidebar Login',"sblogin"); ?></h2>
51
  <br class="a_break" style="clear: both;"/>
52
- <form action="options-general.php?page=Sidebar%20Login" method="post">
53
  <table class="niceblue form-table">
54
  <tr>
55
  <th scope="col"><?php _e('Login redirect URL',"sblogin"); ?>:</th>
@@ -75,7 +76,7 @@ function wp_sidebarlogin_admin(){
75
  </tr>
76
  <tr>
77
  <th scope="col"><?php _e('Logged in links',"sblogin"); ?>:</th>
78
- <td><textarea name="sidebarlogin_logged_in_links" rows="3" cols="80" /><?php echo $sidebarlogin_logged_in_links; ?></textarea><br/><span class="setting-description"><?php _e("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. If you add a further <code>|USER LEVEL</code> the link will only be shown to users with levels equal to or greater than those defined. See <a href='http://codex.wordpress.org/Roles_and_Capabilities' target='_blank'>http://codex.wordpress.org/Roles_and_Capabilities</a> for more info on roles and Capabilities.<br/> You can also type <code>%USERNAME%</code> which will be replaced by the user's username. Default:",'sblogin');
79
  echo '<br/>&lt;a href="'.get_bloginfo('wpurl').'/wp-admin/"&gt;Dashboard&lt;/a&gt;<br/>&lt;a href="'.get_bloginfo('wpurl').'/wp-admin/profile.php"&gt;Profile&lt;/a&gt;'; ?></span></td>
80
  </tr>
81
  </table>
@@ -140,23 +141,29 @@ function widget_wp_sidebarlogin($args) {
140
 
141
  if(isset($current_user->user_level) && $current_user->user_level) $level = $current_user->user_level;
142
 
143
- $links = do_shortcode(get_option('sidebarlogin_logged_in_links'));
144
 
145
  $links = explode("\n", $links);
146
  if (sizeof($links)>0)
147
- foreach ($links as $l) {
148
- $link = explode('|',$l);
149
- if (isset($link[2]) && is_numeric(intval(trim($link[2]))) && intval(trim($link[2])) <= 10 ) { // Thanks to John from http://www.area-europa.es/
150
- $req_level = intval(trim($link[2]));
151
- } else {
152
- $req_level=10;
153
- }
154
- if (isset($link[1]) && strtolower(trim($link[1]))=='true' && $level < $req_level) continue;
155
- else {
156
- // Parse %USERNAME%
157
- $link[0] = str_replace('%USERNAME%',$current_user->user_login,$link[0]);
158
- $link[0] = str_replace('%username%',$current_user->user_login,$link[0]);
159
- echo '<li class="page_item">'.$link[0].'</li>';
 
 
 
 
 
 
160
  }
161
  }
162
 
3
  Plugin Name: Sidebar Login
4
  Plugin URI: http://wordpress.org/extend/plugins/sidebar-login/
5
  Description: Adds a sidebar widget to let users login
6
+ Version: 2.2.10
7
  Author: Mike Jolley
8
  Author URI: http://blue-anvil.com
9
  */
15
  }
16
  if ( ! defined( 'WP_PLUGIN_URL' ) ) define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
17
 
18
+ load_plugin_textdomain('sblogin', WP_PLUGIN_URL.'/sidebar-login/langs/', 'sidebar-login/langs/');
19
+
20
 
21
  function wp_sidebarlogin_menu() {
22
+ add_submenu_page('themes.php', __('Sidebar Login','sblogin'), __('Sidebar Login','sblogin'), 'manage_options','sidebar-login', 'wp_sidebarlogin_admin');
23
  }
24
 
25
  if (!function_exists('is_ssl')) :
50
  <div class="wrap alternate">
51
  <h2><?php _e('Sidebar Login',"sblogin"); ?></h2>
52
  <br class="a_break" style="clear: both;"/>
53
+ <form action="themes.php?page=sidebar-login" method="post">
54
  <table class="niceblue form-table">
55
  <tr>
56
  <th scope="col"><?php _e('Login redirect URL',"sblogin"); ?>:</th>
76
  </tr>
77
  <tr>
78
  <th scope="col"><?php _e('Logged in links',"sblogin"); ?>:</th>
79
+ <td><textarea name="sidebarlogin_logged_in_links" rows="3" cols="80" /><?php echo $sidebarlogin_logged_in_links; ?></textarea><br/><span class="setting-description"><?php _e("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. If you add a further <code>|USER LEVEL</code> the link will only be shown to users with levels equal to or greater than those defined. See <a href='http://codex.wordpress.org/Roles_and_Capabilities' target='_blank'>http://codex.wordpress.org/Roles_and_Capabilities</a> for more info on roles and Capabilities.<br/> You can also type <code>%USERNAME%</code> and <code>%USERID%</code> which will be replaced by the user info. Default:",'sblogin');
80
  echo '<br/>&lt;a href="'.get_bloginfo('wpurl').'/wp-admin/"&gt;Dashboard&lt;/a&gt;<br/>&lt;a href="'.get_bloginfo('wpurl').'/wp-admin/profile.php"&gt;Profile&lt;/a&gt;'; ?></span></td>
81
  </tr>
82
  </table>
141
 
142
  if(isset($current_user->user_level) && $current_user->user_level) $level = $current_user->user_level;
143
 
144
+ $links = do_shortcode(trim(get_option('sidebarlogin_logged_in_links')));
145
 
146
  $links = explode("\n", $links);
147
  if (sizeof($links)>0)
148
+ foreach ($links as $l) {
149
+ $l = trim($l);
150
+ if (!empty($l)) {
151
+ $link = explode('|',$l);
152
+ if (isset($link[2]) && is_numeric(intval(trim($link[2]))) && intval(trim($link[2])) <= 10 ) { // Thanks to John from http://www.area-europa.es/
153
+ $req_level = intval(trim($link[2]));
154
+ } else {
155
+ $req_level=10;
156
+ }
157
+ if (isset($link[1]) && strtolower(trim($link[1]))=='true' && $level < $req_level) continue;
158
+ else {
159
+ // Parse %USERNAME%
160
+ $link[0] = str_replace('%USERNAME%',$current_user->user_login,$link[0]);
161
+ $link[0] = str_replace('%username%',$current_user->user_login,$link[0]);
162
+ // Parse %USERID%
163
+ $link[0] = str_replace('%USERID%',$current_user->ID,$link[0]);
164
+ $link[0] = str_replace('%userid%',$current_user->ID,$link[0]);
165
+ echo '<li class="page_item">'.$link[0].'</li>';
166
+ }
167
  }
168
  }
169
 
sidebar-login.pot ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin Sidebar Login 2.2.10 by Mike Jolley.
2
+ # Copyright (C) 2010 Mike Jolley
3
+ # This file is distributed under the same license as the Sidebar Login package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: Sidebar Login 2.2.10\n"
10
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/sidebar-login\n"
11
+ "POT-Creation-Date: 2010-05-16 10:55+0000\n"
12
+ "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=utf-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+
19
+ #. #-#-#-#-# plugin.pot (Sidebar Login 2.2.10) #-#-#-#-#
20
+ #. Plugin Name of the plugin/theme
21
+ #: sidebar-login.php:22 sidebar-login.php:51 sidebar-login.php:289
22
+ msgid "Sidebar Login"
23
+ msgstr ""
24
+
25
+ #: sidebar-login.php:40
26
+ msgid "<p>Changes saved</p>"
27
+ msgstr ""
28
+
29
+ #: sidebar-login.php:56
30
+ msgid "Login redirect URL"
31
+ msgstr ""
32
+
33
+ #: sidebar-login.php:57
34
+ msgid ""
35
+ "Url to redirect the user to after login. Leave blank to use their current "
36
+ "page."
37
+ msgstr ""
38
+
39
+ #: sidebar-login.php:60
40
+ msgid "Logout redirect URL"
41
+ msgstr ""
42
+
43
+ #: sidebar-login.php:61
44
+ msgid ""
45
+ "Url to redirect the user to after logout. Leave blank to use their current "
46
+ "page."
47
+ msgstr ""
48
+
49
+ #: sidebar-login.php:64
50
+ msgid "Show Register Link"
51
+ msgstr ""
52
+
53
+ #: sidebar-login.php:66 sidebar-login.php:73
54
+ msgid "Yes"
55
+ msgstr ""
56
+
57
+ #: sidebar-login.php:67 sidebar-login.php:74
58
+ msgid "No"
59
+ msgstr ""
60
+
61
+ #: sidebar-login.php:68
62
+ msgid ""
63
+ "User registrations must also be turned on for this to work ('Anyone can "
64
+ "register' checkbox in settings)."
65
+ msgstr ""
66
+
67
+ #: sidebar-login.php:71
68
+ msgid "Show Lost Password Link"
69
+ msgstr ""
70
+
71
+ #: sidebar-login.php:78
72
+ msgid "Logged in links"
73
+ msgstr ""
74
+
75
+ #: sidebar-login.php:79
76
+ msgid ""
77
+ "One link per line. Note: Logout link will always show regardless. Tip: Add "
78
+ "<code>|true</code> after a link to only show it to admin users. If you add a "
79
+ "further <code>|USER LEVEL</code> the link will only be shown to users with "
80
+ "levels equal to or greater than those defined. See <a href='http://codex."
81
+ "wordpress.org/Roles_and_Capabilities' target='_blank'>http://codex.wordpress."
82
+ "org/Roles_and_Capabilities</a> for more info on roles and Capabilities.<br/> "
83
+ "You can also type <code>%USERNAME%</code> and <code>%USERID%</code> which "
84
+ "will be replaced by the user info. Default:"
85
+ msgstr ""
86
+
87
+ #: sidebar-login.php:83
88
+ msgid "Save Changes"
89
+ msgstr ""
90
+
91
+ #: sidebar-login.php:114
92
+ msgid "Login"
93
+ msgstr ""
94
+
95
+ #: sidebar-login.php:115
96
+ msgid "Welcome"
97
+ msgstr ""
98
+
99
+ #: sidebar-login.php:116
100
+ msgid "Username:"
101
+ msgstr ""
102
+
103
+ #: sidebar-login.php:117
104
+ msgid "Password:"
105
+ msgstr ""
106
+
107
+ #: sidebar-login.php:118
108
+ msgid "Remember me"
109
+ msgstr ""
110
+
111
+ #: sidebar-login.php:119
112
+ msgid "Register"
113
+ msgstr ""
114
+
115
+ #: sidebar-login.php:120
116
+ msgid "Password Lost and Found"
117
+ msgstr ""
118
+
119
+ #: sidebar-login.php:121
120
+ msgid "Lost your password?"
121
+ msgstr ""
122
+
123
+ #: sidebar-login.php:122
124
+ msgid "Logout"
125
+ msgstr ""
126
+
127
+ #: sidebar-login.php:188
128
+ msgid ""
129
+ "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
130
+ "browser. You must <a href='http://www.google.com/cookies.html'>enable "
131
+ "cookies</a> to use WordPress."
132
+ msgstr ""
133
+
134
+ #: sidebar-login.php:227
135
+ msgid ""
136
+ "Or login using an <a href=\"http://openid.net/what/\" title=\"Learn about "
137
+ "OpenID\">OpenID</a>"
138
+ msgstr ""
139
+
140
+ #: sidebar-login.php:288
141
+ msgid "Sidebar Login."
142
+ msgstr ""
143
+
144
+ #: sidebar-login.php:318
145
+ msgid "Dashboard"
146
+ msgstr ""
147
+
148
+ #: sidebar-login.php:318
149
+ msgid "Profile"
150
+ msgstr ""
151
+
152
+ #: sidebar-login.php:368
153
+ msgid "<strong>ERROR</strong>: Please enter a username & password."
154
+ msgstr ""
155
+
156
+ #. Plugin URI of the plugin/theme
157
+ msgid "http://wordpress.org/extend/plugins/sidebar-login/"
158
+ msgstr ""
159
+
160
+ #. Description of the plugin/theme
161
+ msgid "Adds a sidebar widget to let users login"
162
+ msgstr ""
163
+
164
+ #. Author of the plugin/theme
165
+ msgid "Mike Jolley"
166
+ msgstr ""
167
+
168
+ #. Author URI of the plugin/theme
169
+ msgid "http://blue-anvil.com"
170
+ msgstr ""
style.css CHANGED
@@ -6,6 +6,9 @@
6
  .widget_wp_sidebarlogin .avatar_container, #sidebar-login .avatar_container {
7
  float:left;
8
  }
 
 
 
9
  .widget_wp_sidebarlogin .avatar_container img, #sidebar-login .avatar_container img {
10
  padding: 3px;
11
  border: 1px solid #ddd;
6
  .widget_wp_sidebarlogin .avatar_container, #sidebar-login .avatar_container {
7
  float:left;
8
  }
9
+ .widget_wp_sidebarlogin ul {
10
+ list-style: none outside !important;
11
+ }
12
  .widget_wp_sidebarlogin .avatar_container img, #sidebar-login .avatar_container img {
13
  padding: 3px;
14
  border: 1px solid #ddd;