Version Description
- Added the option to allow/disallow registration and password recovery within the widget
- Fixed a bug regarding color names within the CSS file that broke validation
Download this release
Release Info
Developer | jfarthing84 |
Plugin | Theme My Login |
Version | 3.2 |
Comparing to | |
See all releases |
Code changes from version 3.1.1 to 3.2
- includes/admin-page.php +22 -4
- includes/wp-login-functions.php +3 -2
- language/theme-my-login.pot +62 -50
- readme.txt +4 -0
- theme-my-login.css +4 -4
- theme-my-login.php +4 -2
includes/admin-page.php
CHANGED
@@ -15,6 +15,8 @@ if ( $_POST ) {
|
|
15 |
$this->SetOption('register_complete', stripslashes($_POST['register_complete']));
|
16 |
$this->SetOption('password_title', stripslashes($_POST['password_title']));
|
17 |
$this->SetOption('password_msg', stripslashes($_POST['password_msg']));
|
|
|
|
|
18 |
foreach ($user_roles as $role => $value) {
|
19 |
$dashboard_url[$role] = $_POST['widget_dashboard_url'][$role];
|
20 |
$profile_url[$role] = $_POST['widget_profile_url'][$role];
|
@@ -53,17 +55,17 @@ $profile_url = $this->GetOption('widget_profile_url');
|
|
53 |
<h3><?php _e('General Settings', 'theme-my-login'); ?></h3>
|
54 |
<table class="form-table">
|
55 |
<tr valign="top">
|
56 |
-
<th scope="row"
|
57 |
<td>
|
58 |
<input name="uninstall" type="checkbox" id="uninstall" value="1" <?php if ($this->GetOption('uninstall')) { echo 'checked="checked"'; } ?> />
|
59 |
-
|
60 |
</td>
|
61 |
</tr>
|
62 |
<tr valign="top">
|
63 |
-
<th scope="row"
|
64 |
<td>
|
65 |
<input name="show_page" type="checkbox" id="show_page" value="1" <?php if ($this->GetOption('show_page')) { echo 'checked="checked"'; } ?> />
|
66 |
-
|
67 |
</td>
|
68 |
</tr>
|
69 |
</table>
|
@@ -109,6 +111,22 @@ $profile_url = $this->GetOption('widget_profile_url');
|
|
109 |
</table>
|
110 |
|
111 |
<h3><?php _e('Widget Settings', 'theme-my-login'); ?></h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
<h4><?php _e('Dashboard URL'); ?></h4>
|
113 |
<table class="form-table">
|
114 |
<?php foreach ($user_roles as $role => $value) : ?>
|
15 |
$this->SetOption('register_complete', stripslashes($_POST['register_complete']));
|
16 |
$this->SetOption('password_title', stripslashes($_POST['password_title']));
|
17 |
$this->SetOption('password_msg', stripslashes($_POST['password_msg']));
|
18 |
+
$this->SetOption('widget_allow_register', $_POST['widget_allow_register']);
|
19 |
+
$this->SetOption('widget_allow_password', $_POST['widget_allow_password']);
|
20 |
foreach ($user_roles as $role => $value) {
|
21 |
$dashboard_url[$role] = $_POST['widget_dashboard_url'][$role];
|
22 |
$profile_url[$role] = $_POST['widget_profile_url'][$role];
|
55 |
<h3><?php _e('General Settings', 'theme-my-login'); ?></h3>
|
56 |
<table class="form-table">
|
57 |
<tr valign="top">
|
58 |
+
<th scope="row"><?php _e('Plugin', 'theme-my-login'); ?></th>
|
59 |
<td>
|
60 |
<input name="uninstall" type="checkbox" id="uninstall" value="1" <?php if ($this->GetOption('uninstall')) { echo 'checked="checked"'; } ?> />
|
61 |
+
<label for="uninstall"><?php _e('Uninstall', 'theme-my-login'); ?></label>
|
62 |
</td>
|
63 |
</tr>
|
64 |
<tr valign="top">
|
65 |
+
<th scope="row"><?php _e('Page List', 'theme-my-login'); ?></th>
|
66 |
<td>
|
67 |
<input name="show_page" type="checkbox" id="show_page" value="1" <?php if ($this->GetOption('show_page')) { echo 'checked="checked"'; } ?> />
|
68 |
+
<label for="show_page"><?php _e('Show Login Page', 'theme-my-login'); ?></label>
|
69 |
</td>
|
70 |
</tr>
|
71 |
</table>
|
111 |
</table>
|
112 |
|
113 |
<h3><?php _e('Widget Settings', 'theme-my-login'); ?></h3>
|
114 |
+
<table class="form-table">
|
115 |
+
<tr valign="top">
|
116 |
+
<th scope="row"><?php _e('Registration'); ?></th>
|
117 |
+
<td>
|
118 |
+
<input name="widget_allow_register" type="checkbox" id="widget_allow_register" value="1" <?php if ($this->GetOption('widget_allow_register')) { echo 'checked="checked"'; } ?> />
|
119 |
+
<label for="widget_allow_register"><?php _e('Allow Registration in Widget', 'theme-my-login'); ?></label>
|
120 |
+
</td>
|
121 |
+
</tr>
|
122 |
+
<tr valign="top">
|
123 |
+
<th scope="row"><?php _e('Lost Password'); ?></th>
|
124 |
+
<td>
|
125 |
+
<input name="widget_allow_password" type="checkbox" id="widget_allow_password" value="1" <?php if ($this->GetOption('widget_allow_password')) { echo 'checked="checked"'; } ?> />
|
126 |
+
<label for="widget_allow_password"><?php _e('Allow Password Recovery in Widget', 'theme-my-login'); ?></label>
|
127 |
+
</td>
|
128 |
+
</tr>
|
129 |
+
</table>
|
130 |
<h4><?php _e('Dashboard URL'); ?></h4>
|
131 |
<table class="form-table">
|
132 |
<?php foreach ($user_roles as $role => $value) : ?>
|
includes/wp-login-functions.php
CHANGED
@@ -61,6 +61,7 @@ endif;
|
|
61 |
|
62 |
if (!function_exists('login_footer')) :
|
63 |
function login_footer($type = 'page') {
|
|
|
64 |
$_GET['action'] = isset($_GET['action']) ? $_GET['action'] : 'login';
|
65 |
echo '<ul class="links">' . "\n";
|
66 |
if (in_array($_GET['action'], array('register', 'lostpassword')) || $_GET['action'] == 'login' && isset($_GET['checkemail']) && 'registered' != $_GET['checkemail']) {
|
@@ -68,11 +69,11 @@ function login_footer($type = 'page') {
|
|
68 |
echo '<li><a href="' . $url . '">' . __('Log in') . '</a></li>' . "\n";
|
69 |
}
|
70 |
if (get_option('users_can_register') && $_GET['action'] != 'register') {
|
71 |
-
$url = ($type == 'widget') ? add_query_arg('action', 'register', wp_guess_url()) : site_url('wp-login.php?action=register', 'login');
|
72 |
echo '<li><a href="' . $url . '">' . __('Register') . '</a></li>' . "\n";
|
73 |
}
|
74 |
if ($_GET['action'] != 'lostpassword') {
|
75 |
-
$url = ($type == 'widget') ? add_query_arg('action', 'lostpassword', wp_guess_url()) : site_url('wp-login.php?action=lostpassword', 'login');
|
76 |
echo '<li><a href="' . $url . '" title="' . __('Password Lost and Found') . '">' . __('Lost your password?') . '</a></li>' . "\n";
|
77 |
}
|
78 |
echo '</ul>' . "\n";
|
61 |
|
62 |
if (!function_exists('login_footer')) :
|
63 |
function login_footer($type = 'page') {
|
64 |
+
$options = get_option('theme_my_login');
|
65 |
$_GET['action'] = isset($_GET['action']) ? $_GET['action'] : 'login';
|
66 |
echo '<ul class="links">' . "\n";
|
67 |
if (in_array($_GET['action'], array('register', 'lostpassword')) || $_GET['action'] == 'login' && isset($_GET['checkemail']) && 'registered' != $_GET['checkemail']) {
|
69 |
echo '<li><a href="' . $url . '">' . __('Log in') . '</a></li>' . "\n";
|
70 |
}
|
71 |
if (get_option('users_can_register') && $_GET['action'] != 'register') {
|
72 |
+
$url = ($type == 'widget' && $options['widget_allow_register']) ? add_query_arg('action', 'register', wp_guess_url()) : site_url('wp-login.php?action=register', 'login');
|
73 |
echo '<li><a href="' . $url . '">' . __('Register') . '</a></li>' . "\n";
|
74 |
}
|
75 |
if ($_GET['action'] != 'lostpassword') {
|
76 |
+
$url = ($type == 'widget' && $options['widget_allow_password']) ? add_query_arg('action', 'lostpassword', wp_guess_url()) : site_url('wp-login.php?action=lostpassword', 'login');
|
77 |
echo '<li><a href="' . $url . '" title="' . __('Password Lost and Found') . '">' . __('Lost your password?') . '</a></li>' . "\n";
|
78 |
}
|
79 |
echo '</ul>' . "\n";
|
language/theme-my-login.pot
CHANGED
@@ -8,7 +8,7 @@ msgid ""
|
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/theme-my-login\n"
|
11 |
-
"POT-Creation-Date: 2009-07-
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -16,87 +16,103 @@ msgstr ""
|
|
16 |
"Content-Type: text/plain; charset=CHARSET\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
-
#: includes/admin-page.php:
|
20 |
msgid ""
|
21 |
"To complete uninstall, deactivate this plugin. If you do not wish to "
|
22 |
"uninstall, please uncheck the \"Complete Uninstall\" checkbox."
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/admin-page.php:
|
26 |
msgid "Settings saved."
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: includes/admin-page.php:
|
30 |
msgid ""
|
31 |
"If you like this plugin, please help keep it up to date by <a href=\"http://"
|
32 |
"www.jfarthing.com/donate\">donating through PayPal</a>!"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: includes/admin-page.php:
|
36 |
msgid "Theme My Login Settings"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: includes/admin-page.php:
|
40 |
msgid "General Settings"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: includes/admin-page.php:
|
44 |
msgid "Plugin"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: includes/admin-page.php:
|
48 |
msgid "Uninstall"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: includes/admin-page.php:
|
52 |
msgid "Page List"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/admin-page.php:
|
56 |
msgid "Show Login Page"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/admin-page.php:
|
60 |
msgid "Template Settings"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: includes/admin-page.php:
|
64 |
msgid "Register Title"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: includes/admin-page.php:
|
68 |
msgid "Register Message"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: includes/admin-page.php:
|
72 |
msgid "Registration Complete Message"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: includes/admin-page.php:
|
76 |
msgid "Login Title"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: includes/admin-page.php:
|
80 |
msgid "Lost Password Title"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: includes/admin-page.php:
|
84 |
msgid "Lost Password Message"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: includes/admin-page.php:
|
88 |
msgid "Widget Settings"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: includes/admin-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
msgid "Dashboard URL"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: includes/admin-page.php:
|
96 |
msgid "Profile URL"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: includes/admin-page.php:
|
100 |
msgid "Save Changes"
|
101 |
msgstr ""
|
102 |
|
@@ -116,7 +132,7 @@ msgstr ""
|
|
116 |
|
117 |
#. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
|
118 |
#. Plugin Name of an extension
|
119 |
-
#: includes/widget-new.php:7 theme-my-login.php:
|
120 |
msgid "Theme My Login"
|
121 |
msgstr ""
|
122 |
|
@@ -181,7 +197,7 @@ msgstr ""
|
|
181 |
msgid "register_msg"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: includes/wp-login-forms.php:60 includes/wp-login-functions.php:
|
185 |
#: theme-my-login.php:90
|
186 |
msgid "Register"
|
187 |
msgstr ""
|
@@ -221,109 +237,109 @@ msgstr ""
|
|
221 |
msgid "Log In"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: includes/wp-login-functions.php:
|
225 |
msgid "Log in"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: includes/wp-login-functions.php:
|
229 |
msgid "Password Lost and Found"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: includes/wp-login-functions.php:
|
233 |
msgid "Lost your password?"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: includes/wp-login-functions.php:
|
237 |
msgid "<strong>ERROR</strong>: Enter a username or e-mail address."
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: includes/wp-login-functions.php:
|
241 |
msgid ""
|
242 |
"<strong>ERROR</strong>: There is no user registered with that email address."
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: includes/wp-login-functions.php:
|
246 |
msgid "<strong>ERROR</strong>: Invalid username or e-mail."
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: includes/wp-login-functions.php:
|
250 |
msgid "Password reset is not allowed for this user"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: includes/wp-login-functions.php:
|
254 |
msgid ""
|
255 |
"Someone has asked to reset the password for the following site and username."
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: includes/wp-login-functions.php:
|
259 |
#, php-format
|
260 |
msgid "Username: %s"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: includes/wp-login-functions.php:
|
264 |
msgid ""
|
265 |
"To reset your password visit the following address, otherwise just ignore "
|
266 |
"this email and nothing will happen."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: includes/wp-login-functions.php:
|
270 |
#, php-format
|
271 |
msgid "[%s] Password Reset"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: includes/wp-login-functions.php:
|
275 |
msgid "The e-mail could not be sent."
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: includes/wp-login-functions.php:
|
279 |
msgid "Possible reason: your host may have disabled the mail() function..."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: includes/wp-login-functions.php:
|
283 |
msgid "Invalid key"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: includes/wp-login-functions.php:
|
287 |
#, php-format
|
288 |
msgid "Password: %s"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: includes/wp-login-functions.php:
|
292 |
#, php-format
|
293 |
msgid "[%s] Your new password"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: includes/wp-login-functions.php:
|
297 |
msgid "<strong>ERROR</strong>: Please enter a username."
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: includes/wp-login-functions.php:
|
301 |
msgid ""
|
302 |
"<strong>ERROR</strong>: This username is invalid. Please enter a valid "
|
303 |
"username."
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: includes/wp-login-functions.php:
|
307 |
msgid ""
|
308 |
"<strong>ERROR</strong>: This username is already registered, please choose "
|
309 |
"another one."
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: includes/wp-login-functions.php:
|
313 |
msgid "<strong>ERROR</strong>: Please type your e-mail address."
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: includes/wp-login-functions.php:
|
317 |
msgid "<strong>ERROR</strong>: The email address isn’t correct."
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: includes/wp-login-functions.php:
|
321 |
msgid ""
|
322 |
"<strong>ERROR</strong>: This email is already registered, please choose "
|
323 |
"another one."
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: includes/wp-login-functions.php:
|
327 |
#, php-format
|
328 |
msgid ""
|
329 |
"<strong>ERROR</strong>: Couldn’t register you... please contact the <a "
|
@@ -338,10 +354,6 @@ msgstr ""
|
|
338 |
msgid "Registration complete. Please check your e-mail."
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: theme-my-login.php:93
|
342 |
-
msgid "Lost Password"
|
343 |
-
msgstr ""
|
344 |
-
|
345 |
#: theme-my-login.php:94
|
346 |
msgid ""
|
347 |
"Please enter your username or e-mail address. You will receive a new "
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/theme-my-login\n"
|
11 |
+
"POT-Creation-Date: 2009-07-22 23:14+0000\n"
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
16 |
"Content-Type: text/plain; charset=CHARSET\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
+
#: includes/admin-page.php:29
|
20 |
msgid ""
|
21 |
"To complete uninstall, deactivate this plugin. If you do not wish to "
|
22 |
"uninstall, please uncheck the \"Complete Uninstall\" checkbox."
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: includes/admin-page.php:31
|
26 |
msgid "Settings saved."
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: includes/admin-page.php:40
|
30 |
msgid ""
|
31 |
"If you like this plugin, please help keep it up to date by <a href=\"http://"
|
32 |
"www.jfarthing.com/donate\">donating through PayPal</a>!"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: includes/admin-page.php:50
|
36 |
msgid "Theme My Login Settings"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: includes/admin-page.php:55
|
40 |
msgid "General Settings"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: includes/admin-page.php:58
|
44 |
msgid "Plugin"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: includes/admin-page.php:61
|
48 |
msgid "Uninstall"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: includes/admin-page.php:65
|
52 |
msgid "Page List"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: includes/admin-page.php:68
|
56 |
msgid "Show Login Page"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: includes/admin-page.php:73
|
60 |
msgid "Template Settings"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: includes/admin-page.php:76
|
64 |
msgid "Register Title"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: includes/admin-page.php:82
|
68 |
msgid "Register Message"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: includes/admin-page.php:88
|
72 |
msgid "Registration Complete Message"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: includes/admin-page.php:94
|
76 |
msgid "Login Title"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: includes/admin-page.php:100
|
80 |
msgid "Lost Password Title"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: includes/admin-page.php:106
|
84 |
msgid "Lost Password Message"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: includes/admin-page.php:113
|
88 |
msgid "Widget Settings"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: includes/admin-page.php:116
|
92 |
+
msgid "Registration"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: includes/admin-page.php:119
|
96 |
+
msgid "Allow Registration in Widget"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: includes/admin-page.php:123 theme-my-login.php:93
|
100 |
+
msgid "Lost Password"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: includes/admin-page.php:126
|
104 |
+
msgid "Allow Password Recovery in Widget"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: includes/admin-page.php:130
|
108 |
msgid "Dashboard URL"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: includes/admin-page.php:142
|
112 |
msgid "Profile URL"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: includes/admin-page.php:154
|
116 |
msgid "Save Changes"
|
117 |
msgstr ""
|
118 |
|
132 |
|
133 |
#. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
|
134 |
#. Plugin Name of an extension
|
135 |
+
#: includes/widget-new.php:7 theme-my-login.php:144
|
136 |
msgid "Theme My Login"
|
137 |
msgstr ""
|
138 |
|
197 |
msgid "register_msg"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: includes/wp-login-forms.php:60 includes/wp-login-functions.php:73
|
201 |
#: theme-my-login.php:90
|
202 |
msgid "Register"
|
203 |
msgstr ""
|
237 |
msgid "Log In"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: includes/wp-login-functions.php:69
|
241 |
msgid "Log in"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: includes/wp-login-functions.php:77
|
245 |
msgid "Password Lost and Found"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: includes/wp-login-functions.php:77
|
249 |
msgid "Lost your password?"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: includes/wp-login-functions.php:91
|
253 |
msgid "<strong>ERROR</strong>: Enter a username or e-mail address."
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: includes/wp-login-functions.php:96
|
257 |
msgid ""
|
258 |
"<strong>ERROR</strong>: There is no user registered with that email address."
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/wp-login-functions.php:108
|
262 |
msgid "<strong>ERROR</strong>: Invalid username or e-mail."
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/wp-login-functions.php:122
|
266 |
msgid "Password reset is not allowed for this user"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/wp-login-functions.php:134
|
270 |
msgid ""
|
271 |
"Someone has asked to reset the password for the following site and username."
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: includes/wp-login-functions.php:136 includes/wp-login-functions.php:165
|
275 |
#, php-format
|
276 |
msgid "Username: %s"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: includes/wp-login-functions.php:137
|
280 |
msgid ""
|
281 |
"To reset your password visit the following address, otherwise just ignore "
|
282 |
"this email and nothing will happen."
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: includes/wp-login-functions.php:140
|
286 |
#, php-format
|
287 |
msgid "[%s] Password Reset"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: includes/wp-login-functions.php:141 includes/wp-login-functions.php:170
|
291 |
msgid "The e-mail could not be sent."
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: includes/wp-login-functions.php:141 includes/wp-login-functions.php:170
|
295 |
msgid "Possible reason: your host may have disabled the mail() function..."
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: includes/wp-login-functions.php:154 includes/wp-login-functions.php:158
|
299 |
msgid "Invalid key"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: includes/wp-login-functions.php:166
|
303 |
#, php-format
|
304 |
msgid "Password: %s"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: includes/wp-login-functions.php:169
|
308 |
#, php-format
|
309 |
msgid "[%s] Your new password"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: includes/wp-login-functions.php:187
|
313 |
msgid "<strong>ERROR</strong>: Please enter a username."
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: includes/wp-login-functions.php:189
|
317 |
msgid ""
|
318 |
"<strong>ERROR</strong>: This username is invalid. Please enter a valid "
|
319 |
"username."
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: includes/wp-login-functions.php:192
|
323 |
msgid ""
|
324 |
"<strong>ERROR</strong>: This username is already registered, please choose "
|
325 |
"another one."
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: includes/wp-login-functions.php:196
|
329 |
msgid "<strong>ERROR</strong>: Please type your e-mail address."
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: includes/wp-login-functions.php:198
|
333 |
msgid "<strong>ERROR</strong>: The email address isn’t correct."
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: includes/wp-login-functions.php:201
|
337 |
msgid ""
|
338 |
"<strong>ERROR</strong>: This email is already registered, please choose "
|
339 |
"another one."
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: includes/wp-login-functions.php:213
|
343 |
#, php-format
|
344 |
msgid ""
|
345 |
"<strong>ERROR</strong>: Couldn’t register you... please contact the <a "
|
354 |
msgid "Registration complete. Please check your e-mail."
|
355 |
msgstr ""
|
356 |
|
|
|
|
|
|
|
|
|
357 |
#: theme-my-login.php:94
|
358 |
msgid ""
|
359 |
"Please enter your username or e-mail address. You will receive a new "
|
readme.txt
CHANGED
@@ -27,6 +27,10 @@ None yet. Please visit http://www.jfarthing.com/forum for any support!
|
|
27 |
|
28 |
== Changelog ==
|
29 |
|
|
|
|
|
|
|
|
|
30 |
= 3.1.1 =
|
31 |
* Fixed a bug that incorrectly determined current user role
|
32 |
|
27 |
|
28 |
== Changelog ==
|
29 |
|
30 |
+
= 3.2 =
|
31 |
+
* Added the option to allow/disallow registration and password recovery within the widget
|
32 |
+
* Fixed a bug regarding color names within the CSS file that broke validation
|
33 |
+
|
34 |
= 3.1.1 =
|
35 |
* Fixed a bug that incorrectly determined current user role
|
36 |
|
theme-my-login.css
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
|
5 |
#login .error {
|
6 |
padding: 5px;
|
7 |
-
border: 1px solid
|
8 |
-
background-color:
|
9 |
}
|
10 |
|
11 |
#login .message {
|
12 |
padding: 5px;
|
13 |
-
border: 1px solid
|
14 |
-
background-color:
|
15 |
}
|
4 |
|
5 |
#login .error {
|
6 |
padding: 5px;
|
7 |
+
border: 1px solid #ff0000;
|
8 |
+
background-color: #f08080;
|
9 |
}
|
10 |
|
11 |
#login .message {
|
12 |
padding: 5px;
|
13 |
+
border: 1px solid #ffff00;
|
14 |
+
background-color: #ffffe0;
|
15 |
}
|
theme-my-login.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Theme My Login
|
4 |
Plugin URI: http://www.jfarthing.com/wordpress-plugins/theme-my-login-plugin
|
5 |
Description: Themes the WordPress login, registration and forgot password pages according to your theme.
|
6 |
-
Version: 3.
|
7 |
Author: Jeff Farthing
|
8 |
Author URI: http://www.jfarthing.com
|
9 |
*/
|
@@ -26,7 +26,7 @@ if ($wp_version < '2.7') {
|
|
26 |
if (!class_exists('ThemeMyLogin')) {
|
27 |
class ThemeMyLogin {
|
28 |
|
29 |
-
var $version = '3.
|
30 |
var $options = array();
|
31 |
var $permalink = '';
|
32 |
|
@@ -94,6 +94,8 @@ if (!class_exists('ThemeMyLogin')) {
|
|
94 |
$this->options['password_msg'] = __('Please enter your username or e-mail address. You will receive a new password via e-mail.', 'theme-my-login');
|
95 |
|
96 |
// Widget options
|
|
|
|
|
97 |
$this->options['widget_show_logged_in'] = 1;
|
98 |
$this->options['widget_show_gravatar'] = 1;
|
99 |
$this->options['widget_gravatar_size'] = 50;
|
3 |
Plugin Name: Theme My Login
|
4 |
Plugin URI: http://www.jfarthing.com/wordpress-plugins/theme-my-login-plugin
|
5 |
Description: Themes the WordPress login, registration and forgot password pages according to your theme.
|
6 |
+
Version: 3.2
|
7 |
Author: Jeff Farthing
|
8 |
Author URI: http://www.jfarthing.com
|
9 |
*/
|
26 |
if (!class_exists('ThemeMyLogin')) {
|
27 |
class ThemeMyLogin {
|
28 |
|
29 |
+
var $version = '3.2';
|
30 |
var $options = array();
|
31 |
var $permalink = '';
|
32 |
|
94 |
$this->options['password_msg'] = __('Please enter your username or e-mail address. You will receive a new password via e-mail.', 'theme-my-login');
|
95 |
|
96 |
// Widget options
|
97 |
+
$this->options['widget_allow_register'] = 1;
|
98 |
+
$this->options['widget_allow_password'] = 1;
|
99 |
$this->options['widget_show_logged_in'] = 1;
|
100 |
$this->options['widget_show_gravatar'] = 1;
|
101 |
$this->options['widget_gravatar_size'] = 50;
|