Version Description
- Fixed and updated many gettext calls for internationalization
Download this release
Release Info
Developer | jfarthing84 |
Plugin | Theme My Login |
Version | 3.2.3 |
Comparing to | |
See all releases |
Code changes from version 3.2.2 to 3.2.3
- includes/admin-page.php +3 -3
- includes/widget-new.php +11 -11
- includes/widget-old.php +4 -4
- includes/wp-login-forms.php +15 -15
- language/theme-my-login.pot +21 -25
- readme.txt +3 -0
- theme-my-login.php +9 -8
includes/admin-page.php
CHANGED
@@ -113,14 +113,14 @@ $profile_url = $this->GetOption('widget_profile_url');
|
|
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>
|
@@ -153,6 +153,6 @@ $profile_url = $this->GetOption('widget_profile_url');
|
|
153 |
<?php endforeach; ?>
|
154 |
</table>
|
155 |
|
156 |
-
<p class="submit"><input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes'
|
157 |
</form>
|
158 |
</div>
|
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', 'theme-my-login'); ?></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', 'theme-my-login'); ?></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>
|
153 |
<?php endforeach; ?>
|
154 |
</table>
|
155 |
|
156 |
+
<p class="submit"><input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes'); ?>" />
|
157 |
</form>
|
158 |
</div>
|
includes/widget-new.php
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
class ThemeMyLoginWidget extends WP_Widget {
|
4 |
|
5 |
function ThemeMyLoginWidget(){
|
6 |
-
$widget_ops = array('classname' => 'widget_theme_my_login', 'description' => __('A login form for your blog.') );
|
7 |
-
$this->WP_Widget('theme-my-login', __('Theme My Login'), $widget_ops);
|
8 |
}
|
9 |
|
10 |
function widget($args, $instance){
|
@@ -28,17 +28,17 @@ class ThemeMyLoginWidget extends WP_Widget {
|
|
28 |
do_action('theme_my_login_avatar', $current_user);
|
29 |
echo '<ul class="theme-my-login-links">' . "\n";
|
30 |
if ($instance['dashboard_link_' . $user_role]) :
|
31 |
-
echo '<li><a href="' . $user_dashboard_url . '">' . __('Dashboard'
|
32 |
endif;
|
33 |
if ($instance['profile_link_' . $user_role]) :
|
34 |
-
echo '<li><a href="' . $user_profile_url . '">' . __('Profile'
|
35 |
endif;
|
36 |
do_action('theme_my_login_links', $user_role);
|
37 |
$redirect = wp_guess_url();
|
38 |
if (version_compare($wp_version, '2.7', '>='))
|
39 |
-
echo '<li><a href="' . wp_logout_url($redirect) . '">' . __('
|
40 |
else
|
41 |
-
echo '<li><a href="' . site_url('wp-login.php?action=logout&redirect_to='.$redirect, 'login') . '">' . __('
|
42 |
echo '</ul>' . "\n";
|
43 |
echo $after_widget . "\n";
|
44 |
} elseif (empty($user_ID)) {
|
@@ -100,18 +100,18 @@ class ThemeMyLoginWidget extends WP_Widget {
|
|
100 |
$instance = wp_parse_args( (array) $instance, (array) $defaults );
|
101 |
|
102 |
$is_checked = (empty($instance['show_logged_in'])) ? '' : 'checked="checked" ';
|
103 |
-
echo '<p><input name="' . $this->get_field_name('show_logged_in') . '" type="checkbox" id="' . $this->get_field_id('show_logged_in') . '" value="1" ' . $is_checked . '/> <label for="' . $this->get_field_id('show_logged_in') . '">' . __('Show When Logged In') . '</label></p>' . "\n";
|
104 |
$is_checked = (empty($instance['show_gravatar'])) ? '' : 'checked="checked" ';
|
105 |
-
echo '<p><input name="' . $this->get_field_name('show_gravatar') . '" type="checkbox" id="' . $this->get_field_id('show_gravatar') . '" value="1" ' . $is_checked . '/> <label for="' . $this->get_field_id('show_gravatar') . '">' . __('Show Gravatar') . '</label></p>' . "\n";
|
106 |
-
echo '<p>' . __('Gravatar Size') . ': <input name="' . $this->get_field_name('gravatar_size') . '" type="text" id="' . $this->get_field_id('gravatar_size') . '" value="' . $instance['gravatar_size'] . '" size="3" /> <label for="' . $this->get_field_id('gravatar_size') . '"></label></p>' . "\n";
|
107 |
-
echo '<p>' . __('Dashboard Link') . ':<br />' . "\n";
|
108 |
foreach ($user_roles as $role => $value) {
|
109 |
$is_checked = (empty($instance['dashboard_link_' . $role])) ? '' : 'checked="checked" ';
|
110 |
echo '<input name="' . $this->get_field_name('dashboard_link_' . $role) . '" type="checkbox" id="' . $this->get_field_id('dashboard_link_' . $role) . '" value="1" ' . $is_checked . '/> ' . ucwords($role) . '<br />' . "\n";
|
111 |
//echo '<input name="' . $this->get_field_name('dashboard_url_' . $role) . '" type="text" id="' . $this->get_field_id('dashboard_url_' . $role) . '" value="' . $instance['dashboard_url_' . $role] . '" class="widefat" /><br />' . "\n";
|
112 |
}
|
113 |
echo '</p>';
|
114 |
-
echo '<p>' . __('Profile Link') . ':<br />' . "\n";
|
115 |
foreach ($user_roles as $role => $value) {
|
116 |
$is_checked = (empty($instance['profile_link_' . $role])) ? '' : 'checked="checked" ';
|
117 |
echo '<input name="' . $this->get_field_name('profile_link_' . $role) . '" type="checkbox" id="' . $this->get_field_id('profile_link_' . $role) . '" value="1" ' . $is_checked . '/> ' . ucwords($role) . '<br />' . "\n";
|
3 |
class ThemeMyLoginWidget extends WP_Widget {
|
4 |
|
5 |
function ThemeMyLoginWidget(){
|
6 |
+
$widget_ops = array('classname' => 'widget_theme_my_login', 'description' => __('A login form for your blog.', 'theme-my-login') );
|
7 |
+
$this->WP_Widget('theme-my-login', __('Theme My Login', 'theme-my-login'), $widget_ops);
|
8 |
}
|
9 |
|
10 |
function widget($args, $instance){
|
28 |
do_action('theme_my_login_avatar', $current_user);
|
29 |
echo '<ul class="theme-my-login-links">' . "\n";
|
30 |
if ($instance['dashboard_link_' . $user_role]) :
|
31 |
+
echo '<li><a href="' . $user_dashboard_url . '">' . __('Dashboard') . '</a></li>' . "\n";
|
32 |
endif;
|
33 |
if ($instance['profile_link_' . $user_role]) :
|
34 |
+
echo '<li><a href="' . $user_profile_url . '">' . __('Profile') . '</a></li>' . "\n";
|
35 |
endif;
|
36 |
do_action('theme_my_login_links', $user_role);
|
37 |
$redirect = wp_guess_url();
|
38 |
if (version_compare($wp_version, '2.7', '>='))
|
39 |
+
echo '<li><a href="' . wp_logout_url($redirect) . '">' . __('Log Out') . '</a></li>' . "\n";
|
40 |
else
|
41 |
+
echo '<li><a href="' . site_url('wp-login.php?action=logout&redirect_to='.$redirect, 'login') . '">' . __('Log Out') . '</a></li>' . "\n";
|
42 |
echo '</ul>' . "\n";
|
43 |
echo $after_widget . "\n";
|
44 |
} elseif (empty($user_ID)) {
|
100 |
$instance = wp_parse_args( (array) $instance, (array) $defaults );
|
101 |
|
102 |
$is_checked = (empty($instance['show_logged_in'])) ? '' : 'checked="checked" ';
|
103 |
+
echo '<p><input name="' . $this->get_field_name('show_logged_in') . '" type="checkbox" id="' . $this->get_field_id('show_logged_in') . '" value="1" ' . $is_checked . '/> <label for="' . $this->get_field_id('show_logged_in') . '">' . __('Show When Logged In', 'theme-my-login') . '</label></p>' . "\n";
|
104 |
$is_checked = (empty($instance['show_gravatar'])) ? '' : 'checked="checked" ';
|
105 |
+
echo '<p><input name="' . $this->get_field_name('show_gravatar') . '" type="checkbox" id="' . $this->get_field_id('show_gravatar') . '" value="1" ' . $is_checked . '/> <label for="' . $this->get_field_id('show_gravatar') . '">' . __('Show Gravatar', 'theme-my-login') . '</label></p>' . "\n";
|
106 |
+
echo '<p>' . __('Gravatar Size', 'theme-my-login') . ': <input name="' . $this->get_field_name('gravatar_size') . '" type="text" id="' . $this->get_field_id('gravatar_size') . '" value="' . $instance['gravatar_size'] . '" size="3" /> <label for="' . $this->get_field_id('gravatar_size') . '"></label></p>' . "\n";
|
107 |
+
echo '<p>' . __('Dashboard Link', 'theme-my-login') . ':<br />' . "\n";
|
108 |
foreach ($user_roles as $role => $value) {
|
109 |
$is_checked = (empty($instance['dashboard_link_' . $role])) ? '' : 'checked="checked" ';
|
110 |
echo '<input name="' . $this->get_field_name('dashboard_link_' . $role) . '" type="checkbox" id="' . $this->get_field_id('dashboard_link_' . $role) . '" value="1" ' . $is_checked . '/> ' . ucwords($role) . '<br />' . "\n";
|
111 |
//echo '<input name="' . $this->get_field_name('dashboard_url_' . $role) . '" type="text" id="' . $this->get_field_id('dashboard_url_' . $role) . '" value="' . $instance['dashboard_url_' . $role] . '" class="widefat" /><br />' . "\n";
|
112 |
}
|
113 |
echo '</p>';
|
114 |
+
echo '<p>' . __('Profile Link', 'theme-my-login') . ':<br />' . "\n";
|
115 |
foreach ($user_roles as $role => $value) {
|
116 |
$is_checked = (empty($instance['profile_link_' . $role])) ? '' : 'checked="checked" ';
|
117 |
echo '<input name="' . $this->get_field_name('profile_link_' . $role) . '" type="checkbox" id="' . $this->get_field_id('profile_link_' . $role) . '" value="1" ' . $is_checked . '/> ' . ucwords($role) . '<br />' . "\n";
|
includes/widget-old.php
CHANGED
@@ -34,17 +34,17 @@ class ThemeMyLoginWidget {
|
|
34 |
do_action('theme_my_login_avatar', $current_user);
|
35 |
echo '<ul class="theme-my-login-links">' . "\n";
|
36 |
if ($dashboard_link[$user_role] == true) :
|
37 |
-
echo '<li><a href="' . $user_dashboard_url . '">' . __('Dashboard'
|
38 |
endif;
|
39 |
if ($profile_link[$user_role] == true) :
|
40 |
-
echo '<li><a href="' . $user_profile_url . '">' . __('Profile'
|
41 |
endif;
|
42 |
do_action('theme_my_login_links', $user_role);
|
43 |
$redirect = wp_guess_url();
|
44 |
if (version_compare($wp_version, '2.7', '>='))
|
45 |
-
echo '<li><a href="' . wp_logout_url($redirect) . '">' . __('
|
46 |
else
|
47 |
-
echo '<li><a href="' . site_url('wp-login.php?action=logout&redirect_to='.$redirect, 'login') . '">' . __('
|
48 |
echo '</ul>' . "\n";
|
49 |
} elseif (empty($user_ID)) {
|
50 |
switch ($_GET['action']) {
|
34 |
do_action('theme_my_login_avatar', $current_user);
|
35 |
echo '<ul class="theme-my-login-links">' . "\n";
|
36 |
if ($dashboard_link[$user_role] == true) :
|
37 |
+
echo '<li><a href="' . $user_dashboard_url . '">' . __('Dashboard') . '</a></li>' . "\n";
|
38 |
endif;
|
39 |
if ($profile_link[$user_role] == true) :
|
40 |
+
echo '<li><a href="' . $user_profile_url . '">' . __('Profile') . '</a></li>' . "\n";
|
41 |
endif;
|
42 |
do_action('theme_my_login_links', $user_role);
|
43 |
$redirect = wp_guess_url();
|
44 |
if (version_compare($wp_version, '2.7', '>='))
|
45 |
+
echo '<li><a href="' . wp_logout_url($redirect) . '">' . __('Log Out') . '</a></li>' . "\n";
|
46 |
else
|
47 |
+
echo '<li><a href="' . site_url('wp-login.php?action=logout&redirect_to='.$redirect, 'login') . '">' . __('Log Out') . '</a></li>' . "\n";
|
48 |
echo '</ul>' . "\n";
|
49 |
} elseif (empty($user_ID)) {
|
50 |
switch ($_GET['action']) {
|
includes/wp-login-forms.php
CHANGED
@@ -22,14 +22,14 @@ case 'retrievepassword' :
|
|
22 |
|
23 |
<form name="lostpasswordform" id="lostpasswordform" action="" method="post">
|
24 |
<p>
|
25 |
-
<label><?php _e('Username or E-mail:'
|
26 |
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape($user_login); ?>" size="20" tabindex="10" /></label>
|
27 |
</p>
|
28 |
<?php do_action('lostpassword_form'); ?>
|
29 |
<p class="submit">
|
30 |
<input type="hidden" name="post-from" id="post-from" value="<?php echo $type; ?>" />
|
31 |
<input type="hidden" name="action" id="action" value="lostpassword" />
|
32 |
-
<input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Get New Password'
|
33 |
</p>
|
34 |
</form>
|
35 |
|
@@ -45,19 +45,19 @@ case 'register' :
|
|
45 |
|
46 |
<form name="registerform" id="registerform" action="" method="post">
|
47 |
<p>
|
48 |
-
<label><?php _e('Username'
|
49 |
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label>
|
50 |
</p>
|
51 |
<p>
|
52 |
-
<label><?php _e('E-mail'
|
53 |
<input type="text" name="user_email" id="user_email" class="input" value="<?php echo attribute_escape(stripslashes($user_email)); ?>" size="20" tabindex="20" /></label>
|
54 |
</p>
|
55 |
<?php do_action('register_form'); ?>
|
56 |
-
<p id="reg_passmail"><?php
|
57 |
<p class="submit">
|
58 |
<input type="hidden" name="post-from" id="post-from" value="<?php echo $type; ?>" />
|
59 |
<input type="hidden" name="action" id="action" value="register" />
|
60 |
-
<input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Register'
|
61 |
</p>
|
62 |
</form>
|
63 |
|
@@ -85,13 +85,13 @@ default :
|
|
85 |
|
86 |
// If cookies are disabled we can't log in even with a valid user+pass
|
87 |
if ( isset($_POST['testcookie']) && empty($_COOKIE[TEST_COOKIE]) )
|
88 |
-
$login_errors->add('test_cookie', __("<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."
|
89 |
|
90 |
// Some parts of this script use the main login form to display a message
|
91 |
-
if ( isset($_GET['loggedout']) && TRUE == $_GET['loggedout'] ) $login_errors->add('loggedout', __('You are now logged out.'
|
92 |
-
elseif ( isset($_GET['registration']) && 'disabled' == $_GET['registration'] ) $login_errors->add('registerdisabled', __('User registration is currently not allowed.'
|
93 |
-
elseif ( isset($_GET['checkemail']) && 'confirm' == $_GET['checkemail'] ) $login_errors->add('confirm', __('Check your e-mail for the confirmation link.'
|
94 |
-
elseif ( isset($_GET['checkemail']) && 'newpass' == $_GET['checkemail'] ) $login_errors->add('newpass', __('Check your e-mail for your new password.'
|
95 |
elseif ( isset($_GET['checkemail']) && 'registered' == $_GET['checkemail'] ) $login_errors->add('registered', $options['register_complete'], 'message');
|
96 |
|
97 |
login_header('', $login_errors);
|
@@ -102,19 +102,19 @@ default :
|
|
102 |
<?php if ( !isset($_GET['checkemail']) || !in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
|
103 |
<form name="loginform" id="loginform" action="" method="post">
|
104 |
<p>
|
105 |
-
<label><?php _e('Username'
|
106 |
<input type="text" name="log" id="user_login" class="input" value="<?php echo isset($user_login) ? $user_login : ''; ?>" size="20" tabindex="10" /></label>
|
107 |
</p>
|
108 |
<p>
|
109 |
-
<label><?php _e('Password'
|
110 |
<input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label>
|
111 |
</p>
|
112 |
<?php do_action('login_form'); ?>
|
113 |
-
<p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> <?php _e('Remember Me'
|
114 |
<p class="submit">
|
115 |
<input type="hidden" name="post-from" id="post-from" value="<?php echo $type; ?>" />
|
116 |
<input type="hidden" name="action" id="action" value="login" />
|
117 |
-
<input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Log In'
|
118 |
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" />
|
119 |
<input type="hidden" name="testcookie" value="1" />
|
120 |
</p>
|
22 |
|
23 |
<form name="lostpasswordform" id="lostpasswordform" action="" method="post">
|
24 |
<p>
|
25 |
+
<label><?php _e('Username or E-mail:') ?><br />
|
26 |
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape($user_login); ?>" size="20" tabindex="10" /></label>
|
27 |
</p>
|
28 |
<?php do_action('lostpassword_form'); ?>
|
29 |
<p class="submit">
|
30 |
<input type="hidden" name="post-from" id="post-from" value="<?php echo $type; ?>" />
|
31 |
<input type="hidden" name="action" id="action" value="lostpassword" />
|
32 |
+
<input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Get New Password'); ?>" tabindex="100" />
|
33 |
</p>
|
34 |
</form>
|
35 |
|
45 |
|
46 |
<form name="registerform" id="registerform" action="" method="post">
|
47 |
<p>
|
48 |
+
<label><?php _e('Username') ?><br />
|
49 |
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label>
|
50 |
</p>
|
51 |
<p>
|
52 |
+
<label><?php _e('E-mail') ?><br />
|
53 |
<input type="text" name="user_email" id="user_email" class="input" value="<?php echo attribute_escape(stripslashes($user_email)); ?>" size="20" tabindex="20" /></label>
|
54 |
</p>
|
55 |
<?php do_action('register_form'); ?>
|
56 |
+
<p id="reg_passmail"><?php echo $options['register_msg']; ?></p>
|
57 |
<p class="submit">
|
58 |
<input type="hidden" name="post-from" id="post-from" value="<?php echo $type; ?>" />
|
59 |
<input type="hidden" name="action" id="action" value="register" />
|
60 |
+
<input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Register'); ?>" tabindex="100" />
|
61 |
</p>
|
62 |
</form>
|
63 |
|
85 |
|
86 |
// If cookies are disabled we can't log in even with a valid user+pass
|
87 |
if ( isset($_POST['testcookie']) && empty($_COOKIE[TEST_COOKIE]) )
|
88 |
+
$login_errors->add('test_cookie', __("<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."));
|
89 |
|
90 |
// Some parts of this script use the main login form to display a message
|
91 |
+
if ( isset($_GET['loggedout']) && TRUE == $_GET['loggedout'] ) $login_errors->add('loggedout', __('You are now logged out.'), 'message');
|
92 |
+
elseif ( isset($_GET['registration']) && 'disabled' == $_GET['registration'] ) $login_errors->add('registerdisabled', __('User registration is currently not allowed.'));
|
93 |
+
elseif ( isset($_GET['checkemail']) && 'confirm' == $_GET['checkemail'] ) $login_errors->add('confirm', __('Check your e-mail for the confirmation link.'), 'message');
|
94 |
+
elseif ( isset($_GET['checkemail']) && 'newpass' == $_GET['checkemail'] ) $login_errors->add('newpass', __('Check your e-mail for your new password.'), 'message');
|
95 |
elseif ( isset($_GET['checkemail']) && 'registered' == $_GET['checkemail'] ) $login_errors->add('registered', $options['register_complete'], 'message');
|
96 |
|
97 |
login_header('', $login_errors);
|
102 |
<?php if ( !isset($_GET['checkemail']) || !in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
|
103 |
<form name="loginform" id="loginform" action="" method="post">
|
104 |
<p>
|
105 |
+
<label><?php _e('Username') ?><br />
|
106 |
<input type="text" name="log" id="user_login" class="input" value="<?php echo isset($user_login) ? $user_login : ''; ?>" size="20" tabindex="10" /></label>
|
107 |
</p>
|
108 |
<p>
|
109 |
+
<label><?php _e('Password') ?><br />
|
110 |
<input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label>
|
111 |
</p>
|
112 |
<?php do_action('login_form'); ?>
|
113 |
+
<p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> <?php _e('Remember Me'); ?></label></p>
|
114 |
<p class="submit">
|
115 |
<input type="hidden" name="post-from" id="post-from" value="<?php echo $type; ?>" />
|
116 |
<input type="hidden" name="action" id="action" value="login" />
|
117 |
+
<input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Log In'); ?>" tabindex="100" />
|
118 |
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" />
|
119 |
<input type="hidden" name="testcookie" value="1" />
|
120 |
</p>
|
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"
|
@@ -96,7 +96,7 @@ msgstr ""
|
|
96 |
msgid "Allow Registration in Widget"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: includes/admin-page.php:123 theme-my-login.php:
|
100 |
msgid "Lost Password"
|
101 |
msgstr ""
|
102 |
|
@@ -108,11 +108,11 @@ msgstr ""
|
|
108 |
msgid "Dashboard URL"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: includes/admin-page.php:
|
112 |
msgid "Profile URL"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: includes/admin-page.php:
|
116 |
msgid "Save Changes"
|
117 |
msgstr ""
|
118 |
|
@@ -132,44 +132,44 @@ msgstr ""
|
|
132 |
|
133 |
#. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
|
134 |
#. Plugin Name of an extension
|
135 |
-
#: includes/widget-new.php:7 theme-my-login.php:
|
136 |
msgid "Theme My Login"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: includes/widget-new.php:
|
140 |
msgid "Welcome"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: includes/widget-new.php:
|
144 |
msgid "Dashboard"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: includes/widget-new.php:
|
148 |
msgid "Profile"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: includes/widget-new.php:
|
152 |
-
#: includes/widget-old.php:
|
153 |
-
msgid "
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: includes/widget-new.php:
|
157 |
msgid "Show When Logged In"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: includes/widget-new.php:
|
161 |
msgid "Show Gravatar"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: includes/widget-new.php:
|
165 |
msgid "Gravatar Size"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: includes/widget-new.php:
|
169 |
msgid "Dashboard Link"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: includes/widget-new.php:
|
173 |
msgid "Profile Link"
|
174 |
msgstr ""
|
175 |
|
@@ -193,12 +193,8 @@ msgstr ""
|
|
193 |
msgid "E-mail"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: includes/wp-login-forms.php:56
|
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:
|
202 |
msgid "Register"
|
203 |
msgstr ""
|
204 |
|
@@ -233,7 +229,7 @@ msgstr ""
|
|
233 |
msgid "Remember Me"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: includes/wp-login-forms.php:117 theme-my-login.php:
|
237 |
msgid "Log In"
|
238 |
msgstr ""
|
239 |
|
@@ -346,15 +342,15 @@ msgid ""
|
|
346 |
"href=\"mailto:%s\">webmaster</a> !"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: theme-my-login.php:
|
350 |
msgid "A password will be e-mailed to you."
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: theme-my-login.php:
|
354 |
msgid "Registration complete. Please check your e-mail."
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: theme-my-login.php:
|
358 |
msgid ""
|
359 |
"Please enter your username or e-mail address. You will receive a new "
|
360 |
"password via e-mail."
|
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-23 23:24+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"
|
96 |
msgid "Allow Registration in Widget"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: includes/admin-page.php:123 theme-my-login.php:94
|
100 |
msgid "Lost Password"
|
101 |
msgstr ""
|
102 |
|
108 |
msgid "Dashboard URL"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: includes/admin-page.php:143
|
112 |
msgid "Profile URL"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: includes/admin-page.php:156
|
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:145
|
136 |
msgid "Theme My Login"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: includes/widget-new.php:24 includes/widget-old.php:30
|
140 |
msgid "Welcome"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: includes/widget-new.php:31 includes/widget-old.php:37
|
144 |
msgid "Dashboard"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: includes/widget-new.php:34 includes/widget-old.php:40
|
148 |
msgid "Profile"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: includes/widget-new.php:39 includes/widget-new.php:41
|
152 |
+
#: includes/widget-old.php:45 includes/widget-old.php:47
|
153 |
+
msgid "Log Out"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: includes/widget-new.php:103
|
157 |
msgid "Show When Logged In"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: includes/widget-new.php:105
|
161 |
msgid "Show Gravatar"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: includes/widget-new.php:106
|
165 |
msgid "Gravatar Size"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: includes/widget-new.php:107
|
169 |
msgid "Dashboard Link"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: includes/widget-new.php:114
|
173 |
msgid "Profile Link"
|
174 |
msgstr ""
|
175 |
|
193 |
msgid "E-mail"
|
194 |
msgstr ""
|
195 |
|
|
|
|
|
|
|
|
|
196 |
#: includes/wp-login-forms.php:60 includes/wp-login-functions.php:73
|
197 |
+
#: theme-my-login.php:91
|
198 |
msgid "Register"
|
199 |
msgstr ""
|
200 |
|
229 |
msgid "Remember Me"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: includes/wp-login-forms.php:117 theme-my-login.php:90
|
233 |
msgid "Log In"
|
234 |
msgstr ""
|
235 |
|
342 |
"href=\"mailto:%s\">webmaster</a> !"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: theme-my-login.php:92
|
346 |
msgid "A password will be e-mailed to you."
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: theme-my-login.php:93
|
350 |
msgid "Registration complete. Please check your e-mail."
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: theme-my-login.php:95
|
354 |
msgid ""
|
355 |
"Please enter your username or e-mail address. You will receive a new "
|
356 |
"password via e-mail."
|
readme.txt
CHANGED
@@ -27,6 +27,9 @@ None yet. Please visit http://www.jfarthing.com/forum for any support!
|
|
27 |
|
28 |
== Changelog ==
|
29 |
|
|
|
|
|
|
|
30 |
= 3.2.2 =
|
31 |
* Added the option to leave widget links blank for default handling
|
32 |
|
27 |
|
28 |
== Changelog ==
|
29 |
|
30 |
+
= 3.2.3 =
|
31 |
+
* Fixed and updated many gettext calls for internationalization
|
32 |
+
|
33 |
= 3.2.2 =
|
34 |
* Added the option to leave widget links blank for default handling
|
35 |
|
theme-my-login.php
CHANGED
@@ -3,9 +3,10 @@
|
|
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 |
*/
|
10 |
|
11 |
global $wp_version;
|
@@ -26,7 +27,7 @@ if ($wp_version < '2.7') {
|
|
26 |
if (!class_exists('ThemeMyLogin')) {
|
27 |
class ThemeMyLogin {
|
28 |
|
29 |
-
var $version = '3.2.
|
30 |
var $options = array();
|
31 |
var $permalink = '';
|
32 |
|
@@ -86,12 +87,12 @@ if (!class_exists('ThemeMyLogin')) {
|
|
86 |
$this->options['uninstall'] = 0;
|
87 |
$this->options['page_id'] = 0;
|
88 |
$this->options['show_page'] = 0;
|
89 |
-
$this->options['login_title'] = __('Log In'
|
90 |
-
$this->options['register_title'] = __('Register'
|
91 |
-
$this->options['register_msg'] = __('A password will be e-mailed to you.'
|
92 |
-
$this->options['register_complete'] = __('Registration complete. Please check your e-mail.'
|
93 |
-
$this->options['password_title'] = __('Lost Password'
|
94 |
-
$this->options['password_msg'] = __('Please enter your username or e-mail address. You will receive a new password via e-mail.'
|
95 |
|
96 |
// Widget options
|
97 |
$this->options['widget_allow_register'] = 1;
|
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.3
|
7 |
Author: Jeff Farthing
|
8 |
Author URI: http://www.jfarthing.com
|
9 |
+
Text Domain: theme-my-login
|
10 |
*/
|
11 |
|
12 |
global $wp_version;
|
27 |
if (!class_exists('ThemeMyLogin')) {
|
28 |
class ThemeMyLogin {
|
29 |
|
30 |
+
var $version = '3.2.3';
|
31 |
var $options = array();
|
32 |
var $permalink = '';
|
33 |
|
87 |
$this->options['uninstall'] = 0;
|
88 |
$this->options['page_id'] = 0;
|
89 |
$this->options['show_page'] = 0;
|
90 |
+
$this->options['login_title'] = __('Log In');
|
91 |
+
$this->options['register_title'] = __('Register');
|
92 |
+
$this->options['register_msg'] = __('A password will be e-mailed to you.');
|
93 |
+
$this->options['register_complete'] = __('Registration complete. Please check your e-mail.');
|
94 |
+
$this->options['password_title'] = __('Lost Password');
|
95 |
+
$this->options['password_msg'] = __('Please enter your username or e-mail address. You will receive a new password via e-mail.');
|
96 |
|
97 |
// Widget options
|
98 |
$this->options['widget_allow_register'] = 1;
|