Theme My Login - Version 6.3.11

Version Description

  • Fix interim login
  • Fix partial translations
  • Fix toolbar disappearing when updating a themed profile
Download this release

Release Info

Developer jfarthing84
Plugin Icon 128x128 Theme My Login
Version 6.3.11
Comparing to
See all releases

Code changes from version 6.3.10 to 6.3.11

admin/class-theme-my-login-admin.php CHANGED
@@ -52,6 +52,7 @@ class Theme_My_Login_Admin extends Theme_My_Login_Abstract {
52
  protected function load() {
53
  add_action( 'admin_init', array( &$this, 'admin_init' ) );
54
  add_action( 'admin_menu', array( &$this, 'admin_menu' ), 8 );
 
55
 
56
  register_uninstall_hook( WP_PLUGIN_DIR . '/theme-my-login/theme-my-login.php', array( 'Theme_My_Login_Admin', 'uninstall' ) );
57
  }
@@ -105,6 +106,19 @@ class Theme_My_Login_Admin extends Theme_My_Login_Abstract {
105
  $this->install();
106
  }
107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  /**
109
  * Renders the settings page
110
  *
@@ -335,7 +349,7 @@ class Theme_My_Login_Admin extends Theme_My_Login_Abstract {
335
  }
336
  restore_current_blog();
337
  return;
338
- }
339
  }
340
  self::_uninstall();
341
  }
52
  protected function load() {
53
  add_action( 'admin_init', array( &$this, 'admin_init' ) );
54
  add_action( 'admin_menu', array( &$this, 'admin_menu' ), 8 );
55
+ add_action( 'admin_enqueue_scripts', array( &$this, 'admin_enqueue_scripts' ), 11 );
56
 
57
  register_uninstall_hook( WP_PLUGIN_DIR . '/theme-my-login/theme-my-login.php', array( 'Theme_My_Login_Admin', 'uninstall' ) );
58
  }
106
  $this->install();
107
  }
108
 
109
+ /**
110
+ * Enqueues TML scripts
111
+ *
112
+ * @since 6.3.11
113
+ * @access public
114
+ */
115
+ public function admin_enqueue_scripts() {
116
+ wp_enqueue_script( 'theme-my-login-admin', WP_PLUGIN_URL . '/theme-my-login/admin/js/theme-my-login-admin.js', array( 'jquery' ), Theme_My_Login::version, true );
117
+ wp_localize_script( 'theme-my-login-admin', 'tmlAdmin', array(
118
+ 'interim_login_url' => site_url( 'wp-login.php?interim-login=1', 'login' )
119
+ ) );
120
+ }
121
+
122
  /**
123
  * Renders the settings page
124
  *
349
  }
350
  restore_current_blog();
351
  return;
352
+ }
353
  }
354
  self::_uninstall();
355
  }
admin/js/theme-my-login-admin.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ (function($) {
2
+ var form = $('#wp-auth-check-form');
3
+
4
+ if (form.length)
5
+ form.data('src', tmlAdmin.interim_login_url);
6
+ })(jQuery);
includes/class-theme-my-login-ms-signup.php CHANGED
@@ -112,15 +112,15 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
112
  $i18n_signup['user'] = _x( 'user', 'Multisite active signup type' );
113
 
114
  if ( is_super_admin() )
115
- echo '<p class="message">' . sprintf( __( 'Greetings Site Administrator! You are currently allowing &#8220;%s&#8221; registrations. To change or disable registration go to your <a href="%s">Options page</a>.' ), $i18n_signup[$active_signup], esc_url( network_admin_url( 'ms-options.php' ) ) ) . '</p>';
116
 
117
  $newblogname = isset( $_GET['new'] ) ? strtolower( preg_replace( '/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'] ) ) : null;
118
 
119
  $current_user = wp_get_current_user();
120
  if ( $active_signup == "none" ) {
121
- _e( 'Registration has been disabled.' );
122
  } elseif ( $active_signup == 'blog' && ! is_user_logged_in() ) {
123
- printf( __( 'You must first <a href="%s">log in</a>, and then you can create a new site.' ), wp_login_url( Theme_My_Login_Common::get_current_url() ) );
124
  } else {
125
  $stage = isset( $_POST['stage'] ) ? $_POST['stage'] : 'default';
126
  switch ( $stage ) {
@@ -144,14 +144,14 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
144
  wpmu_signup_user( $user_name, $user_email, apply_filters( 'add_signup_meta', array() ) );
145
 
146
  ?>
147
- <h2><?php printf( __( '%s is your new username' ), $user_name) ?></h2>
148
- <p><?php _e( 'But, before you can start using your new username, <strong>you must activate it</strong>.' ) ?></p>
149
- <p><?php printf(__( 'Check your inbox at <strong>%1$s</strong> and click the link given.' ), $user_email) ?></p>
150
- <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p>
151
  <?php
152
  do_action( 'signup_finished' );
153
  } else {
154
- _e( 'User registration has been disabled.' );
155
  }
156
  break;
157
  case 'validate-blog-signup':
@@ -183,24 +183,24 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
183
 
184
  wpmu_signup_blog( $domain, $path, $blog_title, $user_name, $user_email, $meta );
185
  ?>
186
- <h2><?php printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2>
187
 
188
- <p><?php _e( 'But, before you can start using your site, <strong>you must activate it</strong>.' ) ?></p>
189
- <p><?php printf( __( 'Check your inbox at <strong>%s</strong> and click the link given.' ), $user_email) ?></p>
190
- <p><?php _e( 'If you do not activate your site within two days, you will have to sign up again.' ); ?></p>
191
- <h2><?php _e( 'Still waiting for your email?' ); ?></h2>
192
  <p>
193
- <?php _e( 'If you haven&#8217;t received your email yet, there are a number of things you can do:' ) ?>
194
  <ul id="noemail-tips">
195
- <li><p><strong><?php _e( 'Wait a little longer. Sometimes delivery of email can be delayed by processes outside of our control.' ) ?></strong></p></li>
196
- <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ) ?></p></li>
197
- <li><?php printf( __( 'Have you entered your email correctly? You have entered %s, if it&#8217;s incorrect, you will not receive your email.' ), $user_email ) ?></li>
198
  </ul>
199
  </p>
200
  <?php
201
  do_action( 'signup_finished' );
202
  } else {
203
- _e( 'Site registration has been disabled.' );
204
  }
205
  break;
206
  case 'gimmeanotherblog':
@@ -224,9 +224,9 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
224
 
225
  wpmu_create_blog( $domain, $path, $blog_title, $current_user->ID, $meta, $wpdb->siteid );
226
  ?>
227
- <h2><?php printf( __( 'The site %s is yours.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2>
228
  <p>
229
- <?php printf( __( '<a href="http://%1$s">http://%2$s</a> is your new site. <a href="%3$s">Log in</a> as &#8220;%4$s&#8221; using your existing password.' ), $domain.$path, $domain.$path, "http://" . $domain.$path . "wp-login.php", $current_user->user_login ) ?>
230
  </p>
231
  <?php
232
  do_action( 'signup_finished' );
@@ -242,17 +242,17 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
242
  elseif ( is_user_logged_in() == false && ( $active_signup == 'all' || $active_signup == 'user' ) )
243
  $this->signup_user( $newblogname, $user_email );
244
  elseif ( is_user_logged_in() == false && ( $active_signup == 'blog' ) )
245
- _e( 'Sorry, new registrations are not allowed at this time.' );
246
  else
247
- _e( 'You are logged in already. No need to register again!' );
248
 
249
  if ( $newblogname ) {
250
  $newblog = get_blogaddress_by_name( $newblogname );
251
 
252
  if ( $active_signup == 'blog' || $active_signup == 'all' )
253
- printf( __( '<p><em>The site you were looking for, <strong>%s</strong> does not exist, but you can create it now!</em></p>' ), $newblog );
254
  else
255
- printf( __( '<p><em>The site you were looking for, <strong>%s</strong>, does not exist.</em></p>' ), $newblog );
256
  }
257
  break;
258
  }
@@ -285,7 +285,7 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
285
 
286
  $theme_my_login = Theme_My_Login::get_object();
287
 
288
- $template =& $theme_my_login->get_active_instance();
289
 
290
  // allow definition of default variables
291
  $filtered_results = apply_filters( 'signup_user_init', array( 'user_name' => $user_name, 'user_email' => $user_email, 'errors' => $theme_my_login->errors ) );
@@ -315,7 +315,7 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
315
 
316
  $theme_my_login = Theme_My_Login::get_object();
317
 
318
- $template =& $theme_my_login->get_active_instance();
319
 
320
  // allow definition of default variables
321
  $filtered_results = apply_filters( 'signup_blog_init', array( 'user_name' => $user_name, 'user_email' => $user_email, 'blogname' => $blogname, 'blog_title' => $blog_title, 'errors' => $theme_my_login->errors ) );
@@ -348,7 +348,7 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
348
 
349
  $theme_my_login = Theme_My_Login::get_object();
350
 
351
- $template =& $theme_my_login->get_active_instance();
352
 
353
  // allow definition of default variables
354
  $filtered_results = apply_filters( 'signup_another_blog_init', array( 'blogname' => $blogname, 'blog_title' => $blog_title, 'errors' => $theme_my_login->errors ) );
@@ -394,14 +394,14 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
394
 
395
  if ( empty( $_GET['key'] ) && empty( $_POST['key'] ) ) { ?>
396
 
397
- <h2><?php _e( 'Activation Key Required' ) ?></h2>
398
  <form name="activateform" id="activateform" method="post" action="<?php $template->the_action_url( 'activate' ); ?>">
399
  <p>
400
- <label for="key<?php $template->the_instance(); ?>"><?php _e( 'Activation Key:' ) ?></label>
401
  <br /><input type="text" name="key<?php $template->the_instance(); ?>" id="key" value="" size="50" />
402
  </p>
403
  <p class="submit">
404
- <input id="submit<?php $template->the_instance(); ?>" type="submit" name="Submit" class="submit" value="<?php esc_attr_e( 'Activate' ) ?>" />
405
  </p>
406
  </form>
407
 
@@ -413,18 +413,18 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
413
  if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) {
414
  $signup = $result->get_error_data();
415
  ?>
416
- <h2><?php _e( 'Your account is now active!' ); ?></h2>
417
  <?php
418
  echo '<p class="lead-in">';
419
  if ( $signup->domain . $signup->path == '' ) {
420
- printf( __( 'Your account has been activated. You may now <a href="%1$s">login</a> to the site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ), network_site_url( 'wp-login.php', 'login' ), $signup->user_login, $signup->user_email, network_site_url( 'wp-login.php?action=lostpassword', 'login' ) );
421
  } else {
422
- printf( __( 'Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of &#8220;%3$s&#8221;. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.' ), 'http://' . $signup->domain, $signup->domain, $signup->user_login, $signup->user_email, network_site_url( 'wp-login.php?action=lostpassword' ) );
423
  }
424
  echo '</p>';
425
  } else {
426
  ?>
427
- <h2><?php _e( 'An error occurred during the activation' ); ?></h2>
428
  <?php
429
  echo '<p>' . $result->get_error_message() . '</p>';
430
  }
@@ -433,17 +433,17 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
433
  $url = get_blogaddress_by_id( (int) $blog_id );
434
  $user = new WP_User( (int) $user_id );
435
  ?>
436
- <h2><?php _e( 'Your account is now active!' ); ?></h2>
437
 
438
  <div id="signup-welcome">
439
- <p><span class="h3"><?php _e( 'Username:' ); ?></span> <?php echo $user->user_login ?></p>
440
- <p><span class="h3"><?php _e( 'Password:' ); ?></span> <?php echo $password; ?></p>
441
  </div>
442
 
443
  <?php if ( $url != network_home_url( '', 'http' ) ) : switch_to_blog( (int) $blog_id ); ?>
444
- <p class="view"><?php printf( __( 'Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Login</a>' ), $url, wp_login_url() ); ?></p>
445
  <?php restore_current_blog(); else: ?>
446
- <p class="view"><?php printf( __( 'Your account is now activated. <a href="%1$s">Login</a> or go back to the <a href="%2$s">homepage</a>.' ), network_site_url( 'wp-login.php', 'login' ), network_home_url() ); ?></p>
447
  <?php endif;
448
  }
449
  }
@@ -473,7 +473,7 @@ class Theme_My_Login_MS_Signup extends Theme_My_Login_Abstract {
473
  */
474
  public function tml_title( $title, $action ) {
475
  if ( 'activate' == $action )
476
- $title = __( 'Activate' );
477
  return $title;
478
  }
479
 
112
  $i18n_signup['user'] = _x( 'user', 'Multisite active signup type' );
113
 
114
  if ( is_super_admin() )
115
+ echo '<p class="message">' . sprintf( __( 'Greetings Site Administrator! You are currently allowing &#8220;%s&#8221; registrations. To change or disable registration go to your <a href="%s">Options page</a>.', 'theme-my-login' ), $i18n_signup[$active_signup], esc_url( network_admin_url( 'ms-options.php' ) ) ) . '</p>';
116
 
117
  $newblogname = isset( $_GET['new'] ) ? strtolower( preg_replace( '/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'] ) ) : null;
118
 
119
  $current_user = wp_get_current_user();
120
  if ( $active_signup == "none" ) {
121
+ _e( 'Registration has been disabled.', 'theme-my-login' );
122
  } elseif ( $active_signup == 'blog' && ! is_user_logged_in() ) {
123
+ printf( __( 'You must first <a href="%s">log in</a>, and then you can create a new site.', 'theme-my-login' ), wp_login_url( Theme_My_Login_Common::get_current_url() ) );
124
  } else {
125
  $stage = isset( $_POST['stage'] ) ? $_POST['stage'] : 'default';
126
  switch ( $stage ) {
144
  wpmu_signup_user( $user_name, $user_email, apply_filters( 'add_signup_meta', array() ) );
145
 
146
  ?>
147
+ <h2><?php printf( __( '%s is your new username', 'theme-my-login' ), $user_name) ?></h2>
148
+ <p><?php _e( 'But, before you can start using your new username, <strong>you must activate it</strong>.', 'theme-my-login' ) ?></p>
149
+ <p><?php printf(__( 'Check your inbox at <strong>%1$s</strong> and click the link given.', 'theme-my-login' ), $user_email) ?></p>
150
+ <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.', 'theme-my-login' ); ?></p>
151
  <?php
152
  do_action( 'signup_finished' );
153
  } else {
154
+ _e( 'User registration has been disabled.', 'theme-my-login' );
155
  }
156
  break;
157
  case 'validate-blog-signup':
183
 
184
  wpmu_signup_blog( $domain, $path, $blog_title, $user_name, $user_email, $meta );
185
  ?>
186
+ <h2><?php printf( __( 'Congratulations! Your new site, %s, is almost ready.', 'theme-my-login' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2>
187
 
188
+ <p><?php _e( 'But, before you can start using your site, <strong>you must activate it</strong>.', 'theme-my-login' ) ?></p>
189
+ <p><?php printf( __( 'Check your inbox at <strong>%s</strong> and click the link given.', 'theme-my-login' ), $user_email) ?></p>
190
+ <p><?php _e( 'If you do not activate your site within two days, you will have to sign up again.', 'theme-my-login' ); ?></p>
191
+ <h2><?php _e( 'Still waiting for your email?', 'theme-my-login' ); ?></h2>
192
  <p>
193
+ <?php _e( 'If you haven&#8217;t received your email yet, there are a number of things you can do:', 'theme-my-login' ) ?>
194
  <ul id="noemail-tips">
195
+ <li><p><strong><?php _e( 'Wait a little longer. Sometimes delivery of email can be delayed by processes outside of our control.', 'theme-my-login' ) ?></strong></p></li>
196
+ <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.', 'theme-my-login' ) ?></p></li>
197
+ <li><?php printf( __( 'Have you entered your email correctly? You have entered %s, if it&#8217;s incorrect, you will not receive your email.', 'theme-my-login' ), $user_email ) ?></li>
198
  </ul>
199
  </p>
200
  <?php
201
  do_action( 'signup_finished' );
202
  } else {
203
+ _e( 'Site registration has been disabled.', 'theme-my-login' );
204
  }
205
  break;
206
  case 'gimmeanotherblog':
224
 
225
  wpmu_create_blog( $domain, $path, $blog_title, $current_user->ID, $meta, $wpdb->siteid );
226
  ?>
227
+ <h2><?php printf( __( 'The site %s is yours.', 'theme-my-login' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2>
228
  <p>
229
+ <?php printf( __( '<a href="http://%1$s">http://%2$s</a> is your new site. <a href="%3$s">Log in</a> as &#8220;%4$s&#8221; using your existing password.', 'theme-my-login' ), $domain.$path, $domain.$path, "http://" . $domain.$path . "wp-login.php", $current_user->user_login ) ?>
230
  </p>
231
  <?php
232
  do_action( 'signup_finished' );
242
  elseif ( is_user_logged_in() == false && ( $active_signup == 'all' || $active_signup == 'user' ) )
243
  $this->signup_user( $newblogname, $user_email );
244
  elseif ( is_user_logged_in() == false && ( $active_signup == 'blog' ) )
245
+ _e( 'Sorry, new registrations are not allowed at this time.', 'theme-my-login' );
246
  else
247
+ _e( 'You are logged in already. No need to register again!', 'theme-my-login' );
248
 
249
  if ( $newblogname ) {
250
  $newblog = get_blogaddress_by_name( $newblogname );
251
 
252
  if ( $active_signup == 'blog' || $active_signup == 'all' )
253
+ printf( __( '<p><em>The site you were looking for, <strong>%s</strong> does not exist, but you can create it now!</em></p>', 'theme-my-login' ), $newblog );
254
  else
255
+ printf( __( '<p><em>The site you were looking for, <strong>%s</strong>, does not exist.</em></p>', 'theme-my-login' ), $newblog );
256
  }
257
  break;
258
  }
285
 
286
  $theme_my_login = Theme_My_Login::get_object();
287
 
288
+ $template = $theme_my_login->get_active_instance();
289
 
290
  // allow definition of default variables
291
  $filtered_results = apply_filters( 'signup_user_init', array( 'user_name' => $user_name, 'user_email' => $user_email, 'errors' => $theme_my_login->errors ) );
315
 
316
  $theme_my_login = Theme_My_Login::get_object();
317
 
318
+ $template = $theme_my_login->get_active_instance();
319
 
320
  // allow definition of default variables
321
  $filtered_results = apply_filters( 'signup_blog_init', array( 'user_name' => $user_name, 'user_email' => $user_email, 'blogname' => $blogname, 'blog_title' => $blog_title, 'errors' => $theme_my_login->errors ) );
348
 
349
  $theme_my_login = Theme_My_Login::get_object();
350
 
351
+ $template = $theme_my_login->get_active_instance();
352
 
353
  // allow definition of default variables
354
  $filtered_results = apply_filters( 'signup_another_blog_init', array( 'blogname' => $blogname, 'blog_title' => $blog_title, 'errors' => $theme_my_login->errors ) );
394
 
395
  if ( empty( $_GET['key'] ) && empty( $_POST['key'] ) ) { ?>
396
 
397
+ <h2><?php _e( 'Activation Key Required', 'theme-my-login' ) ?></h2>
398
  <form name="activateform" id="activateform" method="post" action="<?php $template->the_action_url( 'activate' ); ?>">
399
  <p>
400
+ <label for="key<?php $template->the_instance(); ?>"><?php _e( 'Activation Key:', 'theme-my-login' ) ?></label>
401
  <br /><input type="text" name="key<?php $template->the_instance(); ?>" id="key" value="" size="50" />
402
  </p>
403
  <p class="submit">
404
+ <input id="submit<?php $template->the_instance(); ?>" type="submit" name="Submit" class="submit" value="<?php esc_attr_e( 'Activate', 'theme-my-login' ) ?>" />
405
  </p>
406
  </form>
407
 
413
  if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) {
414
  $signup = $result->get_error_data();
415
  ?>
416
+ <h2><?php _e( 'Your account is now active!', 'theme-my-login' ); ?></h2>
417
  <?php
418
  echo '<p class="lead-in">';
419
  if ( $signup->domain . $signup->path == '' ) {
420
+ printf( __( 'Your account has been activated. You may now <a href="%1$s">login</a> to the site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.', 'theme-my-login' ), network_site_url( 'wp-login.php', 'login' ), $signup->user_login, $signup->user_email, network_site_url( 'wp-login.php?action=lostpassword', 'login' ) );
421
  } else {
422
+ printf( __( 'Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of &#8220;%3$s&#8221;. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.', 'theme-my-login' ), 'http://' . $signup->domain, $signup->domain, $signup->user_login, $signup->user_email, network_site_url( 'wp-login.php?action=lostpassword' ) );
423
  }
424
  echo '</p>';
425
  } else {
426
  ?>
427
+ <h2><?php _e( 'An error occurred during the activation', 'theme-my-login' ); ?></h2>
428
  <?php
429
  echo '<p>' . $result->get_error_message() . '</p>';
430
  }
433
  $url = get_blogaddress_by_id( (int) $blog_id );
434
  $user = new WP_User( (int) $user_id );
435
  ?>
436
+ <h2><?php _e( 'Your account is now active!', 'theme-my-login' ); ?></h2>
437
 
438
  <div id="signup-welcome">
439
+ <p><span class="h3"><?php _e( 'Username:', 'theme-my-login' ); ?></span> <?php echo $user->user_login ?></p>
440
+ <p><span class="h3"><?php _e( 'Password:', 'theme-my-login' ); ?></span> <?php echo $password; ?></p>
441
  </div>
442
 
443
  <?php if ( $url != network_home_url( '', 'http' ) ) : switch_to_blog( (int) $blog_id ); ?>
444
+ <p class="view"><?php printf( __( 'Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Login</a>', 'theme-my-login' ), $url, wp_login_url() ); ?></p>
445
  <?php restore_current_blog(); else: ?>
446
+ <p class="view"><?php printf( __( 'Your account is now activated. <a href="%1$s">Login</a> or go back to the <a href="%2$s">homepage</a>.', 'theme-my-login' ), network_site_url( 'wp-login.php', 'login' ), network_home_url() ); ?></p>
447
  <?php endif;
448
  }
449
  }
473
  */
474
  public function tml_title( $title, $action ) {
475
  if ( 'activate' == $action )
476
+ $title = __( 'Activate', 'theme-my-login' );
477
  return $title;
478
  }
479
 
includes/class-theme-my-login-template.php CHANGED
@@ -154,17 +154,17 @@ class Theme_My_Login_Template extends Theme_My_Login_Abstract {
154
  } else {
155
  switch ( $action ) {
156
  case 'register':
157
- $title = __( 'Register' );
158
  break;
159
  case 'lostpassword':
160
  case 'retrievepassword':
161
  case 'resetpass':
162
  case 'rp':
163
- $title = __( 'Lost Password' );
164
  break;
165
  case 'login':
166
  default:
167
- $title = __( 'Log In' );
168
  }
169
  }
170
  }
@@ -194,7 +194,7 @@ class Theme_My_Login_Template extends Theme_My_Login_Abstract {
194
 
195
  $theme_my_login = Theme_My_Login::get_object();
196
 
197
- $wp_error =& $theme_my_login->errors;
198
 
199
  if ( empty( $wp_error ) )
200
  $wp_error = new WP_Error();
@@ -293,7 +293,7 @@ class Theme_My_Login_Template extends Theme_My_Login_Abstract {
293
  'register' => true,
294
  'lostpassword' => true
295
  ) );
296
-
297
  $action_links = array();
298
  if ( $args['login'] && $this->get_option( 'show_log_link' ) ) {
299
  $action_links[] = array(
@@ -345,10 +345,10 @@ class Theme_My_Login_Template extends Theme_My_Login_Abstract {
345
  public static function get_user_links() {
346
  $user_links = array(
347
  array(
348
- 'title' => __( 'Dashboard' ),
349
  'url' => admin_url() ),
350
  array(
351
- 'title' => __( 'Profile' ),
352
  'url' => admin_url( 'profile.php' )
353
  )
354
  );
@@ -397,13 +397,13 @@ class Theme_My_Login_Template extends Theme_My_Login_Abstract {
397
  public static function get_action_template_message( $action = '' ) {
398
  switch ( $action ) {
399
  case 'register':
400
- $message = __( 'Register For This Site' );
401
  break;
402
  case 'lostpassword':
403
- $message = __( 'Please enter your username or email address. You will receive a link to create a new password via email.' );
404
  break;
405
  case 'resetpass':
406
- $message = __( 'Enter your new password below.' );
407
  break;
408
  default:
409
  $message = '';
@@ -444,7 +444,7 @@ class Theme_My_Login_Template extends Theme_My_Login_Abstract {
444
  $theme_my_login = Theme_My_Login::get_object();
445
 
446
  // User friendly access to this
447
- $template =& $this;
448
 
449
  // Easy access to current user
450
  $current_user = wp_get_current_user();
154
  } else {
155
  switch ( $action ) {
156
  case 'register':
157
+ $title = __( 'Register', 'theme-my-login' );
158
  break;
159
  case 'lostpassword':
160
  case 'retrievepassword':
161
  case 'resetpass':
162
  case 'rp':
163
+ $title = __( 'Lost Password', 'theme-my-login' );
164
  break;
165
  case 'login':
166
  default:
167
+ $title = __( 'Log In', 'theme-my-login' );
168
  }
169
  }
170
  }
194
 
195
  $theme_my_login = Theme_My_Login::get_object();
196
 
197
+ $wp_error = $theme_my_login->errors;
198
 
199
  if ( empty( $wp_error ) )
200
  $wp_error = new WP_Error();
293
  'register' => true,
294
  'lostpassword' => true
295
  ) );
296
+
297
  $action_links = array();
298
  if ( $args['login'] && $this->get_option( 'show_log_link' ) ) {
299
  $action_links[] = array(
345
  public static function get_user_links() {
346
  $user_links = array(
347
  array(
348
+ 'title' => __( 'Dashboard', 'theme-my-login' ),
349
  'url' => admin_url() ),
350
  array(
351
+ 'title' => __( 'Profile', 'theme-my-login' ),
352
  'url' => admin_url( 'profile.php' )
353
  )
354
  );
397
  public static function get_action_template_message( $action = '' ) {
398
  switch ( $action ) {
399
  case 'register':
400
+ $message = __( 'Register For This Site', 'theme-my-login' );
401
  break;
402
  case 'lostpassword':
403
+ $message = __( 'Please enter your username or email address. You will receive a link to create a new password via email.', 'theme-my-login' );
404
  break;
405
  case 'resetpass':
406
+ $message = __( 'Enter your new password below.', 'theme-my-login' );
407
  break;
408
  default:
409
  $message = '';
444
  $theme_my_login = Theme_My_Login::get_object();
445
 
446
  // User friendly access to this
447
+ $template = $this;
448
 
449
  // Easy access to current user
450
  $current_user = wp_get_current_user();
includes/class-theme-my-login.php CHANGED
@@ -21,7 +21,7 @@ class Theme_My_Login extends Theme_My_Login_Abstract {
21
  * @since 6.3.2
22
  * @const string
23
  */
24
- const version = '6.3.8';
25
 
26
  /**
27
  * Holds options key
@@ -114,11 +114,11 @@ class Theme_My_Login extends Theme_My_Login_Abstract {
114
  */
115
  public static function default_pages() {
116
  return apply_filters( 'tml_default_pages', array(
117
- 'login' => __( 'Log In' ),
118
- 'logout' => __( 'Log Out' ),
119
- 'register' => __( 'Register' ),
120
- 'lostpassword' => __( 'Lost Password' ),
121
- 'resetpass' => __( 'Reset Password' )
122
  ) );
123
  }
124
 
@@ -299,7 +299,7 @@ class Theme_My_Login extends Theme_My_Login_Abstract {
299
  }
300
 
301
  if ( isset( $_REQUEST['error'] ) && 'invalidkey' == $_REQUEST['error'] )
302
- $this->errors->add( 'invalidkey', __( 'Sorry, that key does not appear to be valid.' ) );
303
 
304
  do_action( 'lost_password' );
305
  break;
@@ -314,7 +314,7 @@ class Theme_My_Login extends Theme_My_Login_Abstract {
314
  }
315
 
316
  if ( isset( $_POST['pass1'] ) && $_POST['pass1'] != $_POST['pass2'] ) {
317
- $this->errors->add( 'password_reset_mismatch', __( 'The passwords do not match.' ) );
318
  } elseif ( isset( $_POST['pass1'] ) && ! empty( $_POST['pass1'] ) ) {
319
  self::reset_password( $user, $_POST['pass1'] );
320
 
@@ -409,19 +409,19 @@ class Theme_My_Login extends Theme_My_Login_Abstract {
409
 
410
  // Some parts of this script use the main login form to display a message
411
  if ( isset( $_GET['loggedout'] ) && true == $_GET['loggedout'] )
412
- $this->errors->add( 'loggedout', __( 'You are now logged out.' ), 'message' );
413
  elseif ( isset( $_GET['registration'] ) && 'disabled' == $_GET['registration'] )
414
- $this->errors->add( 'registerdisabled', __( 'User registration is currently not allowed.' ) );
415
  elseif ( isset( $_GET['checkemail'] ) && 'confirm' == $_GET['checkemail'] )
416
- $this->errors->add( 'confirm', __( 'Check your e-mail for the confirmation link.' ), 'message' );
417
  elseif ( isset( $_GET['resetpass'] ) && 'complete' == $_GET['resetpass'] )
418
- $this->errors->add( 'password_reset', __( 'Your password has been reset.' ), 'message' );
419
  elseif ( isset( $_GET['checkemail'] ) && 'registered' == $_GET['checkemail'] )
420
- $this->errors->add( 'registered', __( 'Registration complete. Please check your e-mail.' ), 'message' );
421
  elseif ( $interim_login )
422
- $this->errors->add( 'expired', __( 'Your session has expired. Please log-in again.' ), 'message' );
423
  elseif ( strpos( $redirect_to, 'about.php?updated' ) )
424
- $this->errors->add('updated', __( '<strong>You have successfully updated WordPress!</strong> Please log back in to experience the awesomeness.' ), 'message' );
425
  elseif ( $reauth )
426
  $this->errors->add( 'reauth', __( 'Please log in to continue.', 'theme-my-login' ), 'message' );
427
 
@@ -573,16 +573,38 @@ if(typeof wpOnload=='function')wpOnload()
573
  public function site_url( $url, $path, $orig_scheme ) {
574
  global $pagenow;
575
 
576
- if ( 'wp-login.php' != $pagenow && false !== strpos( $url, 'wp-login.php' ) && ! isset( $_REQUEST['interim-login'] ) ) {
577
- parse_str( parse_url( $url, PHP_URL_QUERY ), $query );
 
578
 
579
- $action = isset( $query['action'] ) ? $query['action'] : 'login';
 
 
580
 
581
- $url = self::get_page_link( $action, $query );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
582
 
583
- if ( 'https' == strtolower( $orig_scheme ) )
584
- $url = preg_replace( '|^http://|', 'https://', $url );
585
- }
586
  return $url;
587
  }
588
 
@@ -929,7 +951,7 @@ if(typeof wpOnload=='function')wpOnload()
929
  * @param object $object Instance object
930
  */
931
  public function set_instance( $object ) {
932
- $this->loaded_instances[] =& $object;
933
  }
934
 
935
  /**
@@ -1004,11 +1026,11 @@ if(typeof wpOnload=='function')wpOnload()
1004
  $errors = new WP_Error();
1005
 
1006
  if ( empty( $_POST['user_login'] ) ) {
1007
- $errors->add( 'empty_username', __( '<strong>ERROR</strong>: Enter a username or e-mail address.' ) );
1008
  } else if ( strpos( $_POST['user_login'], '@' ) ) {
1009
  $user_data = get_user_by( 'email', trim( $_POST['user_login'] ) );
1010
  if ( empty( $user_data ) )
1011
- $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: There is no user registered with that email address.' ) );
1012
  } else {
1013
  $login = trim( $_POST['user_login'] );
1014
  $user_data = get_user_by( 'login', $login );
@@ -1020,7 +1042,7 @@ if(typeof wpOnload=='function')wpOnload()
1020
  return $errors;
1021
 
1022
  if ( ! $user_data ) {
1023
- $errors->add( 'invalidcombo', __( '<strong>ERROR</strong>: Invalid username or e-mail.' ) );
1024
  return $errors;
1025
  }
1026
 
@@ -1034,7 +1056,7 @@ if(typeof wpOnload=='function')wpOnload()
1034
  $allow = apply_filters( 'allow_password_reset', true, $user_data->ID );
1035
 
1036
  if ( ! $allow )
1037
- return new WP_Error( 'no_password_reset', __( 'Password reset is not allowed for this user' ) );
1038
  else if ( is_wp_error( $allow ) )
1039
  return $allow;
1040
 
@@ -1046,11 +1068,11 @@ if(typeof wpOnload=='function')wpOnload()
1046
  // Now insert the new md5 key into the db
1047
  $wpdb->update( $wpdb->users, array( 'user_activation_key' => $key ), array( 'user_login' => $user_login ) );
1048
  }
1049
- $message = __( 'Someone requested that the password be reset for the following account:' ) . "\r\n\r\n";
1050
  $message .= network_home_url( '/' ) . "\r\n\r\n";
1051
- $message .= sprintf( __( 'Username: %s' ), $user_login ) . "\r\n\r\n";
1052
- $message .= __( 'If this was a mistake, just ignore this email and nothing will happen.' ) . "\r\n\r\n";
1053
- $message .= __( 'To reset your password, visit the following address:' ) . "\r\n\r\n";
1054
  $message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";
1055
 
1056
  if ( is_multisite() ) {
@@ -1061,13 +1083,13 @@ if(typeof wpOnload=='function')wpOnload()
1061
  $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
1062
  }
1063
 
1064
- $title = sprintf( __( '[%s] Password Reset' ), $blogname );
1065
 
1066
  $title = apply_filters( 'retrieve_password_title', $title, $user_data->ID );
1067
  $message = apply_filters( 'retrieve_password_message', $message, $key, $user_data->ID );
1068
 
1069
  if ( $message && ! wp_mail( $user_email, $title, $message ) )
1070
- wp_die( __( 'The e-mail could not be sent.' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function...' ) );
1071
 
1072
  return true;
1073
  }
@@ -1090,15 +1112,15 @@ if(typeof wpOnload=='function')wpOnload()
1090
  $key = preg_replace( '/[^a-z0-9]/i', '', $key );
1091
 
1092
  if ( empty( $key ) || ! is_string( $key ) )
1093
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
1094
 
1095
  if ( empty( $login ) || ! is_string( $login ) )
1096
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
1097
 
1098
  $user = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->users WHERE user_activation_key = %s AND user_login = %s", $key, $login ) );
1099
 
1100
  if ( empty( $user ) )
1101
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
1102
 
1103
  return $user;
1104
  }
@@ -1138,22 +1160,22 @@ if(typeof wpOnload=='function')wpOnload()
1138
 
1139
  // Check the username
1140
  if ( $sanitized_user_login == '' ) {
1141
- $errors->add( 'empty_username', __( '<strong>ERROR</strong>: Please enter a username.' ) );
1142
  } elseif ( ! validate_username( $user_login ) ) {
1143
- $errors->add( 'invalid_username', __( '<strong>ERROR</strong>: This username is invalid because it uses illegal characters. Please enter a valid username.' ) );
1144
  $sanitized_user_login = '';
1145
  } elseif ( username_exists( $sanitized_user_login ) ) {
1146
- $errors->add( 'username_exists', __( '<strong>ERROR</strong>: This username is already registered, please choose another one.' ) );
1147
  }
1148
 
1149
  // Check the e-mail address
1150
  if ( '' == $user_email ) {
1151
- $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your e-mail address.' ) );
1152
  } elseif ( ! is_email( $user_email ) ) {
1153
- $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn&#8217;t correct.' ) );
1154
  $user_email = '';
1155
  } elseif ( email_exists( $user_email ) ) {
1156
- $errors->add( 'email_exists', __( '<strong>ERROR</strong>: This email is already registered, please choose another one.' ) );
1157
  }
1158
 
1159
  do_action( 'register_post', $sanitized_user_login, $user_email, $errors );
@@ -1166,7 +1188,7 @@ if(typeof wpOnload=='function')wpOnload()
1166
  $user_pass = apply_filters( 'tml_user_registration_pass', wp_generate_password( 12, false ) );
1167
  $user_id = wp_create_user( $sanitized_user_login, $user_pass, $user_email );
1168
  if ( ! $user_id ) {
1169
- $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) );
1170
  return $errors;
1171
  }
1172
 
21
  * @since 6.3.2
22
  * @const string
23
  */
24
+ const version = '6.3.11';
25
 
26
  /**
27
  * Holds options key
114
  */
115
  public static function default_pages() {
116
  return apply_filters( 'tml_default_pages', array(
117
+ 'login' => __( 'Log In' , 'theme-my-login' ),
118
+ 'logout' => __( 'Log Out' , 'theme-my-login' ),
119
+ 'register' => __( 'Register' , 'theme-my-login' ),
120
+ 'lostpassword' => __( 'Lost Password' , 'theme-my-login' ),
121
+ 'resetpass' => __( 'Reset Password', 'theme-my-login' )
122
  ) );
123
  }
124
 
299
  }
300
 
301
  if ( isset( $_REQUEST['error'] ) && 'invalidkey' == $_REQUEST['error'] )
302
+ $this->errors->add( 'invalidkey', __( 'Sorry, that key does not appear to be valid.', 'theme-my-login' ) );
303
 
304
  do_action( 'lost_password' );
305
  break;
314
  }
315
 
316
  if ( isset( $_POST['pass1'] ) && $_POST['pass1'] != $_POST['pass2'] ) {
317
+ $this->errors->add( 'password_reset_mismatch', __( 'The passwords do not match.', 'theme-my-login' ) );
318
  } elseif ( isset( $_POST['pass1'] ) && ! empty( $_POST['pass1'] ) ) {
319
  self::reset_password( $user, $_POST['pass1'] );
320
 
409
 
410
  // Some parts of this script use the main login form to display a message
411
  if ( isset( $_GET['loggedout'] ) && true == $_GET['loggedout'] )
412
+ $this->errors->add( 'loggedout', __( 'You are now logged out.', 'theme-my-login' ), 'message' );
413
  elseif ( isset( $_GET['registration'] ) && 'disabled' == $_GET['registration'] )
414
+ $this->errors->add( 'registerdisabled', __( 'User registration is currently not allowed.', 'theme-my-login' ) );
415
  elseif ( isset( $_GET['checkemail'] ) && 'confirm' == $_GET['checkemail'] )
416
+ $this->errors->add( 'confirm', __( 'Check your e-mail for the confirmation link.', 'theme-my-login' ), 'message' );
417
  elseif ( isset( $_GET['resetpass'] ) && 'complete' == $_GET['resetpass'] )
418
+ $this->errors->add( 'password_reset', __( 'Your password has been reset.', 'theme-my-login' ), 'message' );
419
  elseif ( isset( $_GET['checkemail'] ) && 'registered' == $_GET['checkemail'] )
420
+ $this->errors->add( 'registered', __( 'Registration complete. Please check your e-mail.', 'theme-my-login' ), 'message' );
421
  elseif ( $interim_login )
422
+ $this->errors->add( 'expired', __( 'Your session has expired. Please log-in again.', 'theme-my-login' ), 'message' );
423
  elseif ( strpos( $redirect_to, 'about.php?updated' ) )
424
+ $this->errors->add('updated', __( '<strong>You have successfully updated WordPress!</strong> Please log back in to experience the awesomeness.', 'theme-my-login' ), 'message' );
425
  elseif ( $reauth )
426
  $this->errors->add( 'reauth', __( 'Please log in to continue.', 'theme-my-login' ), 'message' );
427
 
573
  public function site_url( $url, $path, $orig_scheme ) {
574
  global $pagenow;
575
 
576
+ // Bail if currently viewing wp-login.php
577
+ if ( 'wp-login.php' == $pagenow )
578
+ return $url;
579
 
580
+ // Bail if the URL isn't a login URL
581
+ if ( false === strpos( $url, 'wp-login.php' ) )
582
+ return $url;
583
 
584
+ // Parse the query string from the URL
585
+ parse_str( parse_url( $url, PHP_URL_QUERY ), $query );
586
+
587
+ /**
588
+ * Bail if the URL is an interim-login URL
589
+ *
590
+ * This only works using the javascript workaround as implemented in
591
+ * admin/theme-my-login-admin.php and admin/js/theme-my-login-admin.js.
592
+ *
593
+ * @see http://core.trac.wordpress.org/ticket/31821
594
+ */
595
+ if ( isset( $query['interim-login'] ) )
596
+ return $url;
597
+
598
+ // Determine the action
599
+ $action = isset( $query['action'] ) ? $query['action'] : 'login';
600
+
601
+ // Get the action's page link
602
+ $url = self::get_page_link( $action, $query );
603
+
604
+ // Change the connection scheme to HTTPS, if needed
605
+ if ( 'https' == strtolower( $orig_scheme ) )
606
+ $url = preg_replace( '|^http://|', 'https://', $url );
607
 
 
 
 
608
  return $url;
609
  }
610
 
951
  * @param object $object Instance object
952
  */
953
  public function set_instance( $object ) {
954
+ $this->loaded_instances[] = $object;
955
  }
956
 
957
  /**
1026
  $errors = new WP_Error();
1027
 
1028
  if ( empty( $_POST['user_login'] ) ) {
1029
+ $errors->add( 'empty_username', __( '<strong>ERROR</strong>: Enter a username or e-mail address.', 'theme-my-login' ) );
1030
  } else if ( strpos( $_POST['user_login'], '@' ) ) {
1031
  $user_data = get_user_by( 'email', trim( $_POST['user_login'] ) );
1032
  if ( empty( $user_data ) )
1033
+ $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: There is no user registered with that email address.', 'theme-my-login' ) );
1034
  } else {
1035
  $login = trim( $_POST['user_login'] );
1036
  $user_data = get_user_by( 'login', $login );
1042
  return $errors;
1043
 
1044
  if ( ! $user_data ) {
1045
+ $errors->add( 'invalidcombo', __( '<strong>ERROR</strong>: Invalid username or e-mail.', 'theme-my-login' ) );
1046
  return $errors;
1047
  }
1048
 
1056
  $allow = apply_filters( 'allow_password_reset', true, $user_data->ID );
1057
 
1058
  if ( ! $allow )
1059
+ return new WP_Error( 'no_password_reset', __( 'Password reset is not allowed for this user', 'theme-my-login' ) );
1060
  else if ( is_wp_error( $allow ) )
1061
  return $allow;
1062
 
1068
  // Now insert the new md5 key into the db
1069
  $wpdb->update( $wpdb->users, array( 'user_activation_key' => $key ), array( 'user_login' => $user_login ) );
1070
  }
1071
+ $message = __( 'Someone requested that the password be reset for the following account:', 'theme-my-login' ) . "\r\n\r\n";
1072
  $message .= network_home_url( '/' ) . "\r\n\r\n";
1073
+ $message .= sprintf( __( 'Username: %s', 'theme-my-login' ), $user_login ) . "\r\n\r\n";
1074
+ $message .= __( 'If this was a mistake, just ignore this email and nothing will happen.', 'theme-my-login' ) . "\r\n\r\n";
1075
+ $message .= __( 'To reset your password, visit the following address:', 'theme-my-login' ) . "\r\n\r\n";
1076
  $message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";
1077
 
1078
  if ( is_multisite() ) {
1083
  $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
1084
  }
1085
 
1086
+ $title = sprintf( __( '[%s] Password Reset', 'theme-my-login' ), $blogname );
1087
 
1088
  $title = apply_filters( 'retrieve_password_title', $title, $user_data->ID );
1089
  $message = apply_filters( 'retrieve_password_message', $message, $key, $user_data->ID );
1090
 
1091
  if ( $message && ! wp_mail( $user_email, $title, $message ) )
1092
+ wp_die( __( 'The e-mail could not be sent.', 'theme-my-login' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function...', 'theme-my-login' ) );
1093
 
1094
  return true;
1095
  }
1112
  $key = preg_replace( '/[^a-z0-9]/i', '', $key );
1113
 
1114
  if ( empty( $key ) || ! is_string( $key ) )
1115
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
1116
 
1117
  if ( empty( $login ) || ! is_string( $login ) )
1118
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
1119
 
1120
  $user = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->users WHERE user_activation_key = %s AND user_login = %s", $key, $login ) );
1121
 
1122
  if ( empty( $user ) )
1123
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
1124
 
1125
  return $user;
1126
  }
1160
 
1161
  // Check the username
1162
  if ( $sanitized_user_login == '' ) {
1163
+ $errors->add( 'empty_username', __( '<strong>ERROR</strong>: Please enter a username.', 'theme-my-login' ) );
1164
  } elseif ( ! validate_username( $user_login ) ) {
1165
+ $errors->add( 'invalid_username', __( '<strong>ERROR</strong>: This username is invalid because it uses illegal characters. Please enter a valid username.', 'theme-my-login' ) );
1166
  $sanitized_user_login = '';
1167
  } elseif ( username_exists( $sanitized_user_login ) ) {
1168
+ $errors->add( 'username_exists', __( '<strong>ERROR</strong>: This username is already registered, please choose another one.', 'theme-my-login' ) );
1169
  }
1170
 
1171
  // Check the e-mail address
1172
  if ( '' == $user_email ) {
1173
+ $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your e-mail address.', 'theme-my-login' ) );
1174
  } elseif ( ! is_email( $user_email ) ) {
1175
+ $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn&#8217;t correct.', 'theme-my-login' ) );
1176
  $user_email = '';
1177
  } elseif ( email_exists( $user_email ) ) {
1178
+ $errors->add( 'email_exists', __( '<strong>ERROR</strong>: This email is already registered, please choose another one.', 'theme-my-login' ) );
1179
  }
1180
 
1181
  do_action( 'register_post', $sanitized_user_login, $user_email, $errors );
1188
  $user_pass = apply_filters( 'tml_user_registration_pass', wp_generate_password( 12, false ) );
1189
  $user_id = wp_create_user( $sanitized_user_login, $user_pass, $user_email );
1190
  if ( ! $user_id ) {
1191
+ $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a href="mailto:%s">webmaster</a> !', 'theme-my-login' ), get_option( 'admin_email' ) ) );
1192
  return $errors;
1193
  }
1194
 
language/theme-my-login.pot CHANGED
@@ -1,366 +1,229 @@
1
- # Copyright (C) 2012 Theme My Login
2
  # This file is distributed under the same license as the Theme My Login package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Theme My Login 6.2\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/theme-my-login\n"
7
- "POT-Creation-Date: 2012-03-08 16:19:05+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #. #-#-#-#-# plugin.pot (Theme My Login 6.2) #-#-#-#-#
16
- #. Plugin Name of the plugin/theme
17
- #: admin/class-theme-my-login-admin.php:42
18
- #: admin/class-theme-my-login-admin.php:43
19
- #: includes/class-theme-my-login-widget.php:24
20
- msgid "Theme My Login"
21
- msgstr ""
22
-
23
- #: admin/class-theme-my-login-admin.php:81
24
- msgid "ERROR: The module \"%1$s\" could not be activated (%2$s)."
25
- msgstr ""
26
-
27
- #: admin/class-theme-my-login-admin.php:103
28
- msgid "NOTICE:"
29
- msgstr ""
30
-
31
- #: admin/class-theme-my-login-admin.php:104
32
- msgid ""
33
- "Now that you have activated Theme My Login, please <a href=\"%s\">visit the "
34
- "settings page</a> and familiarize yourself with all of the available options."
35
- msgstr ""
36
-
37
- #: admin/class-theme-my-login-admin.php:106
38
- msgid "Take me to the settings page"
39
- msgstr ""
40
-
41
- #: admin/class-theme-my-login-admin.php:119
42
- msgid "You can now login with your e-mail address or username! Try it out!"
43
- msgstr ""
44
-
45
- #: admin/class-theme-my-login-admin.php:120
46
- msgid ""
47
- "Theme My Login now utilizes a module system. Modules are similar to "
48
- "WordPress plugins. Each module extends the default functionality of Theme My "
49
- "Login. <a rel=\"tml-options\" href=\"#tml-options-modules\">Click here</a> "
50
- "to get started with modules now."
51
- msgstr ""
52
-
53
- #: admin/class-theme-my-login-admin.php:121
54
- msgid ""
55
- "Theme My Login now allows custom forms. You can create your own form template"
56
- "(s) by copying the default version(s) from \"theme-my-login/templates\" to "
57
- "your current theme directory. Try it out!"
58
- msgstr ""
59
-
60
- #: admin/class-theme-my-login-admin.php:122
61
- msgid ""
62
- "You can maintain your stylesheet changes between upgrades. Just simply copy "
63
- "the file \"theme-my-login/theme-my-login.css\" to your current theme "
64
- "directory and edit it as you please!"
65
- msgstr ""
66
-
67
- #: admin/class-theme-my-login-admin.php:123
68
- msgid ""
69
- "Theme My Login provides a shortcode that you can use within your posts with "
70
- "multiple parameters to customize the form. Visit the <a href=\"http://www."
71
- "jfarthing.com/docs/theme-my-login/shortcode\" target=\"_blank\">Theme My "
72
- "Login Documentation</a> for usage instructions."
73
- msgstr ""
74
-
75
- #: admin/class-theme-my-login-admin.php:124
76
- msgid ""
77
- "Jeff is <a href=\"http://www.jfarthing.com/hire-me\" target=\"_blank"
78
- "\">available for hire</a>!"
79
  msgstr ""
80
 
81
- #: admin/class-theme-my-login-admin.php:128
82
- msgid "Did You Know?"
83
  msgstr ""
84
 
85
- #: admin/class-theme-my-login-admin.php:177
 
 
86
  msgid "General"
87
  msgstr ""
88
 
89
- #: admin/class-theme-my-login-admin.php:178
90
- msgid "Basic"
91
- msgstr ""
92
-
93
- #: admin/class-theme-my-login-admin.php:179
94
- #: admin/class-theme-my-login-admin.php:319
95
  msgid "Modules"
96
  msgstr ""
97
 
98
- #: admin/class-theme-my-login-admin.php:181
99
- msgid "Permalinks"
100
- msgstr ""
101
-
102
- #: admin/class-theme-my-login-admin.php:188
103
- msgid "Theme My Login Settings"
104
- msgstr ""
105
-
106
- #: admin/class-theme-my-login-admin.php:194
107
- #: admin/class-theme-my-login-admin.php:254
108
- msgid "Save Changes"
109
- msgstr ""
110
-
111
- #: admin/class-theme-my-login-admin.php:271
112
- msgid "Page ID"
113
- msgstr ""
114
-
115
- #: admin/class-theme-my-login-admin.php:274
116
- msgid ""
117
- "This should be the ID of the WordPress page that includes the [theme-my-"
118
- "login] shortcode. By default, this page is titled \"Login\"."
119
- msgstr ""
120
-
121
- #: admin/class-theme-my-login-admin.php:278
122
- msgid "Pagelist"
123
- msgstr ""
124
-
125
- #: admin/class-theme-my-login-admin.php:281
126
- msgid "Show Page In Pagelist"
127
- msgstr ""
128
-
129
- #: admin/class-theme-my-login-admin.php:282
130
- msgid ""
131
- "Enable this setting to add login/logout links to the pagelist generated by "
132
- "functions like wp_list_pages() and wp_page_menu()."
133
  msgstr ""
134
 
135
- #: admin/class-theme-my-login-admin.php:286
136
- msgid "Stylesheet"
137
  msgstr ""
138
 
139
- #: admin/class-theme-my-login-admin.php:289
140
  msgid "Enable \"theme-my-login.css\""
141
  msgstr ""
142
 
143
- #: admin/class-theme-my-login-admin.php:290
144
  msgid ""
145
  "In order to keep changes between upgrades, you can store your customized "
146
  "\"theme-my-login.css\" in your current theme directory."
147
  msgstr ""
148
 
149
- #: admin/class-theme-my-login-admin.php:294
150
- msgid "E-mail Login"
151
- msgstr ""
152
-
153
- #: admin/class-theme-my-login-admin.php:297
154
  msgid "Enable e-mail address login"
155
  msgstr ""
156
 
157
- #: admin/class-theme-my-login-admin.php:298
158
  msgid ""
159
  "Allows users to login using their e-mail address in place of their username."
160
  msgstr ""
161
 
162
- #: admin/class-theme-my-login-admin.php:323
163
  msgid "Enable %s"
164
  msgstr ""
165
 
166
- #: admin/class-theme-my-login-admin.php:325
167
- msgid "No modules found."
168
- msgstr ""
169
-
170
- #: admin/class-theme-my-login-admin.php:343
171
- #: includes/class-theme-my-login-widget.php:87
172
- msgid "Login"
173
- msgstr ""
174
-
175
- #: admin/class-theme-my-login-admin.php:344
176
- #: includes/class-theme-my-login-template.php:141
177
- #: includes/class-theme-my-login-widget.php:87 templates/register-form.php:25
178
- msgid "Register"
179
- msgstr ""
180
-
181
- #: admin/class-theme-my-login-admin.php:345
182
- #: includes/class-theme-my-login-template.php:147
183
- #: includes/class-theme-my-login-widget.php:87
184
- msgid "Lost Password"
185
- msgstr ""
186
-
187
- #: admin/class-theme-my-login-admin.php:475
188
- msgid "One of the modules is invalid."
189
- msgstr ""
190
-
191
- #: admin/class-theme-my-login-admin.php:531
192
- msgid "Invalid module path."
193
- msgstr ""
194
-
195
- #: admin/class-theme-my-login-admin.php:533
196
- msgid "Module file does not exist."
197
- msgstr ""
198
-
199
- #: admin/class-theme-my-login-admin.php:537
200
- msgid "The module does not have a valid header."
201
- msgstr ""
202
-
203
- #: includes/class-theme-my-login-ms-signup.php:117
204
  msgctxt "Multisite active signup type"
205
  msgid "all"
206
  msgstr ""
207
 
208
- #: includes/class-theme-my-login-ms-signup.php:118
209
  msgctxt "Multisite active signup type"
210
  msgid "none"
211
  msgstr ""
212
 
213
- #: includes/class-theme-my-login-ms-signup.php:119
214
  msgctxt "Multisite active signup type"
215
  msgid "blog"
216
  msgstr ""
217
 
218
- #: includes/class-theme-my-login-ms-signup.php:120
219
  msgctxt "Multisite active signup type"
220
  msgid "user"
221
  msgstr ""
222
 
223
- #: includes/class-theme-my-login-ms-signup.php:123
224
  msgid ""
225
  "Greetings Site Administrator! You are currently allowing &#8220;%s&#8221; "
226
  "registrations. To change or disable registration go to your <a href=\"%s"
227
  "\">Options page</a>."
228
  msgstr ""
229
 
230
- #: includes/class-theme-my-login-ms-signup.php:129
231
  msgid "Registration has been disabled."
232
  msgstr ""
233
 
234
- #: includes/class-theme-my-login-ms-signup.php:131
235
  msgid ""
236
  "You must first <a href=\"%s\">log in</a>, and then you can create a new site."
237
  msgstr ""
238
 
239
- #: includes/class-theme-my-login-ms-signup.php:155
240
  msgid "%s is your new username"
241
  msgstr ""
242
 
243
- #: includes/class-theme-my-login-ms-signup.php:156
244
  msgid ""
245
  "But, before you can start using your new username, <strong>you must activate "
246
  "it</strong>."
247
  msgstr ""
248
 
249
- #: includes/class-theme-my-login-ms-signup.php:157
250
  msgid "Check your inbox at <strong>%1$s</strong> and click the link given."
251
  msgstr ""
252
 
253
- #: includes/class-theme-my-login-ms-signup.php:158
254
  msgid ""
255
  "If you do not activate your username within two days, you will have to sign "
256
  "up again."
257
  msgstr ""
258
 
259
- #: includes/class-theme-my-login-ms-signup.php:162
260
  msgid "User registration has been disabled."
261
  msgstr ""
262
 
263
- #: includes/class-theme-my-login-ms-signup.php:194
264
  msgid "Congratulations! Your new site, %s, is almost ready."
265
  msgstr ""
266
 
267
- #: includes/class-theme-my-login-ms-signup.php:196
268
  msgid ""
269
  "But, before you can start using your site, <strong>you must activate it</"
270
  "strong>."
271
  msgstr ""
272
 
273
- #: includes/class-theme-my-login-ms-signup.php:197
274
  msgid "Check your inbox at <strong>%s</strong> and click the link given."
275
  msgstr ""
276
 
277
- #: includes/class-theme-my-login-ms-signup.php:198
278
  msgid ""
279
  "If you do not activate your site within two days, you will have to sign up "
280
  "again."
281
  msgstr ""
282
 
283
- #: includes/class-theme-my-login-ms-signup.php:199
284
  msgid "Still waiting for your email?"
285
  msgstr ""
286
 
287
- #: includes/class-theme-my-login-ms-signup.php:201
288
  msgid ""
289
  "If you haven&#8217;t received your email yet, there are a number of things "
290
  "you can do:"
291
  msgstr ""
292
 
293
- #: includes/class-theme-my-login-ms-signup.php:203
294
  msgid ""
295
  "Wait a little longer. Sometimes delivery of email can be delayed by "
296
  "processes outside of our control."
297
  msgstr ""
298
 
299
- #: includes/class-theme-my-login-ms-signup.php:204
300
  msgid ""
301
  "Check the junk or spam folder of your email client. Sometime emails wind up "
302
  "there by mistake."
303
  msgstr ""
304
 
305
- #: includes/class-theme-my-login-ms-signup.php:205
306
  msgid ""
307
  "Have you entered your email correctly? You have entered %s, if it&#8217;s "
308
  "incorrect, you will not receive your email."
309
  msgstr ""
310
 
311
- #: includes/class-theme-my-login-ms-signup.php:211
312
  msgid "Site registration has been disabled."
313
  msgstr ""
314
 
315
- #: includes/class-theme-my-login-ms-signup.php:235
316
  msgid "The site %s is yours."
317
  msgstr ""
318
 
319
- #: includes/class-theme-my-login-ms-signup.php:237
320
  msgid ""
321
  "<a href=\"http://%1$s\">http://%2$s</a> is your new site. <a href=\"%3$s"
322
  "\">Log in</a> as &#8220;%4$s&#8221; using your existing password."
323
  msgstr ""
324
 
325
- #: includes/class-theme-my-login-ms-signup.php:253
326
  msgid "Sorry, new registrations are not allowed at this time."
327
  msgstr ""
328
 
329
- #: includes/class-theme-my-login-ms-signup.php:255
330
  msgid "You are logged in already. No need to register again!"
331
  msgstr ""
332
 
333
- #: includes/class-theme-my-login-ms-signup.php:261
334
  msgid ""
335
  "<p><em>The site you were looking for, <strong>%s</strong> does not exist, "
336
  "but you can create it now!</em></p>"
337
  msgstr ""
338
 
339
- #: includes/class-theme-my-login-ms-signup.php:263
340
  msgid ""
341
  "<p><em>The site you were looking for, <strong>%s</strong>, does not exist.</"
342
  "em></p>"
343
  msgstr ""
344
 
345
- #: includes/class-theme-my-login-ms-signup.php:402
346
  msgid "Activation Key Required"
347
  msgstr ""
348
 
349
- #: includes/class-theme-my-login-ms-signup.php:405
350
  msgid "Activation Key:"
351
  msgstr ""
352
 
353
- #: includes/class-theme-my-login-ms-signup.php:409
354
- #: includes/class-theme-my-login-ms-signup.php:481
355
  msgid "Activate"
356
  msgstr ""
357
 
358
- #: includes/class-theme-my-login-ms-signup.php:421
359
- #: includes/class-theme-my-login-ms-signup.php:441
360
  msgid "Your account is now active!"
361
  msgstr ""
362
 
363
- #: includes/class-theme-my-login-ms-signup.php:425
364
  msgid ""
365
  "Your account has been activated. You may now <a href=\"%1$s\">login</a> to "
366
  "the site using your chosen username of &#8220;%2$s&#8221;. Please check "
@@ -370,7 +233,7 @@ msgid ""
370
  "password</a>."
371
  msgstr ""
372
 
373
- #: includes/class-theme-my-login-ms-signup.php:427
374
  msgid ""
375
  "Your site at <a href=\"%1$s\">%2$s</a> is active. You may now log in to your "
376
  "site using your chosen username of &#8220;%3$s&#8221;. Please check your "
@@ -380,911 +243,1020 @@ msgid ""
380
  "password</a>."
381
  msgstr ""
382
 
383
- #: includes/class-theme-my-login-ms-signup.php:432
384
  msgid "An error occurred during the activation"
385
  msgstr ""
386
 
387
- #: includes/class-theme-my-login-ms-signup.php:444
388
- #: templates/ms-signup-user-form.php:16
389
  msgid "Username:"
390
  msgstr ""
391
 
392
- #: includes/class-theme-my-login-ms-signup.php:445
393
- #: modules/custom-passwords/custom-passwords.php:29
394
- #: modules/custom-passwords/custom-passwords.php:56
395
  msgid "Password:"
396
  msgstr ""
397
 
398
- #: includes/class-theme-my-login-ms-signup.php:449
399
  msgid ""
400
  "Your account is now activated. <a href=\"%1$s\">View your site</a> or <a "
401
  "href=\"%2$s\">Login</a>"
402
  msgstr ""
403
 
404
- #: includes/class-theme-my-login-ms-signup.php:451
405
  msgid ""
406
  "Your account is now activated. <a href=\"%1$s\">Login</a> or go back to the "
407
  "<a href=\"%2$s\">homepage</a>."
408
  msgstr ""
409
 
410
- #: includes/class-theme-my-login-template.php:137
411
  msgid "Welcome, %s"
412
  msgstr ""
413
 
414
- #: includes/class-theme-my-login-template.php:151
415
- #: includes/class-theme-my-login.php:540 templates/login-form.php:28
 
 
 
 
 
 
 
 
 
 
 
 
416
  msgid "Log In"
417
  msgstr ""
418
 
419
- #: includes/class-theme-my-login-template.php:315
420
- #: modules/custom-user-links/custom-user-links.php:82
421
  msgid "Dashboard"
422
  msgstr ""
423
 
424
- #: includes/class-theme-my-login-template.php:316
425
- #: modules/custom-user-links/custom-user-links.php:83
426
- #: modules/themed-profiles/admin/themed-profiles-admin.php:66
427
  msgid "Profile"
428
  msgstr ""
429
 
430
- #: includes/class-theme-my-login-template.php:334
431
- #: modules/custom-redirection/custom-redirection.php:197
432
- msgid "Log out"
433
- msgstr ""
434
-
435
- #: includes/class-theme-my-login-template.php:363
436
  msgid "Register For This Site"
437
  msgstr ""
438
 
439
- #: includes/class-theme-my-login-template.php:366
440
  msgid ""
441
  "Please enter your username or email address. You will receive a link to "
442
  "create a new password via email."
443
  msgstr ""
444
 
445
- #: includes/class-theme-my-login-template.php:369
446
  msgid "Enter your new password below."
447
  msgstr ""
448
 
449
- #: includes/class-theme-my-login-widget.php:23
450
  msgid "A login form for your blog."
451
  msgstr ""
452
 
453
- #: includes/class-theme-my-login-widget.php:88
 
 
 
 
 
 
 
 
 
 
454
  msgid "Default Action"
455
  msgstr ""
456
 
457
- #: includes/class-theme-my-login-widget.php:95
458
  msgid "Show When Logged In"
459
  msgstr ""
460
 
461
- #: includes/class-theme-my-login-widget.php:97
 
 
 
 
462
  msgid "Show Title"
463
  msgstr ""
464
 
465
- #: includes/class-theme-my-login-widget.php:99
466
  msgid "Show Login Link"
467
  msgstr ""
468
 
469
- #: includes/class-theme-my-login-widget.php:101
470
  msgid "Show Register Link"
471
  msgstr ""
472
 
473
- #: includes/class-theme-my-login-widget.php:103
474
  msgid "Show Lost Password Link"
475
  msgstr ""
476
 
477
- #: includes/class-theme-my-login-widget.php:105
478
  msgid "Show Gravatar"
479
  msgstr ""
480
 
481
- #: includes/class-theme-my-login-widget.php:106
482
  msgid "Gravatar Size"
483
  msgstr ""
484
 
485
- #: includes/class-theme-my-login-widget.php:108
486
- msgid "Allow Registration"
487
  msgstr ""
488
 
489
- #: includes/class-theme-my-login-widget.php:110
490
- msgid "Allow Password Recovery"
 
 
491
  msgstr ""
492
 
493
- #: includes/class-theme-my-login.php:245
494
  msgid "Sorry, that key does not appear to be valid."
495
  msgstr ""
496
 
497
- #: includes/class-theme-my-login.php:261
498
  msgid "The passwords do not match."
499
  msgstr ""
500
 
501
- #: includes/class-theme-my-login.php:367
502
- msgid ""
503
- "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
504
- "browser. You must <a href=\"http://www.google.com/cookies.html\">enable "
505
- "cookies</a> to use WordPress."
506
- msgstr ""
507
-
508
- #: includes/class-theme-my-login.php:371
509
  msgid "You are now logged out."
510
  msgstr ""
511
 
512
- #: includes/class-theme-my-login.php:373
513
  msgid "User registration is currently not allowed."
514
  msgstr ""
515
 
516
- #: includes/class-theme-my-login.php:375
517
  msgid "Check your e-mail for the confirmation link."
518
  msgstr ""
519
 
520
- #: includes/class-theme-my-login.php:377
521
  msgid "Your password has been reset."
522
  msgstr ""
523
 
524
- #: includes/class-theme-my-login.php:379
525
  msgid "Registration complete. Please check your e-mail."
526
  msgstr ""
527
 
528
- #: includes/class-theme-my-login.php:381
529
  msgid "Your session has expired. Please log-in again."
530
  msgstr ""
531
 
532
- #: includes/class-theme-my-login.php:383
533
- msgid "Please log in to continue."
 
 
534
  msgstr ""
535
 
536
- #: includes/class-theme-my-login.php:540
537
- msgid "Log Out"
538
  msgstr ""
539
 
540
- #: includes/class-theme-my-login.php:925
541
  msgid "<strong>ERROR</strong>: Enter a username or e-mail address."
542
  msgstr ""
543
 
544
- #: includes/class-theme-my-login.php:929
545
  msgid ""
546
  "<strong>ERROR</strong>: There is no user registered with that email address."
547
  msgstr ""
548
 
549
- #: includes/class-theme-my-login.php:941
550
  msgid "<strong>ERROR</strong>: Invalid username or e-mail."
551
  msgstr ""
552
 
553
- #: includes/class-theme-my-login.php:955
554
  msgid "Password reset is not allowed for this user"
555
  msgstr ""
556
 
557
- #: includes/class-theme-my-login.php:967
558
  msgid "Someone requested that the password be reset for the following account:"
559
  msgstr ""
560
 
561
- #: includes/class-theme-my-login.php:969
562
- #: modules/custom-email/custom-email.php:692
563
- #: modules/custom-email/custom-email.php:709
564
- #: modules/user-moderation/admin/user-moderation-admin.php:164
565
- #: modules/user-moderation/user-moderation.php:365
566
  msgid "Username: %s"
567
  msgstr ""
568
 
569
- #: includes/class-theme-my-login.php:970
570
  msgid "If this was a mistake, just ignore this email and nothing will happen."
571
  msgstr ""
572
 
573
- #: includes/class-theme-my-login.php:971
574
  msgid "To reset your password, visit the following address:"
575
  msgstr ""
576
 
577
- #: includes/class-theme-my-login.php:982
578
  msgid "[%s] Password Reset"
579
  msgstr ""
580
 
581
- #: includes/class-theme-my-login.php:988
582
- #: modules/user-moderation/admin/user-moderation-admin.php:53
583
- #: modules/user-moderation/admin/user-moderation-admin.php:174
584
- #: modules/user-moderation/admin/user-moderation-admin.php:210
585
  msgid "The e-mail could not be sent."
586
  msgstr ""
587
 
588
- #: includes/class-theme-my-login.php:988
589
- #: modules/user-moderation/admin/user-moderation-admin.php:53
590
- #: modules/user-moderation/admin/user-moderation-admin.php:174
591
- #: modules/user-moderation/admin/user-moderation-admin.php:210
592
  msgid "Possible reason: your host may have disabled the mail() function..."
593
  msgstr ""
594
 
595
- #: includes/class-theme-my-login.php:1011
596
- #: includes/class-theme-my-login.php:1014
597
- #: includes/class-theme-my-login.php:1019
598
- #: modules/user-moderation/user-moderation.php:238
599
- #: modules/user-moderation/user-moderation.php:241
600
- #: modules/user-moderation/user-moderation.php:246
 
 
601
  msgid "Invalid key"
602
  msgstr ""
603
 
604
- #: includes/class-theme-my-login.php:1059
605
  msgid "<strong>ERROR</strong>: Please enter a username."
606
  msgstr ""
607
 
608
- #: includes/class-theme-my-login.php:1061
609
  msgid ""
610
  "<strong>ERROR</strong>: This username is invalid because it uses illegal "
611
  "characters. Please enter a valid username."
612
  msgstr ""
613
 
614
- #: includes/class-theme-my-login.php:1064
615
  msgid ""
616
  "<strong>ERROR</strong>: This username is already registered, please choose "
617
  "another one."
618
  msgstr ""
619
 
620
- #: includes/class-theme-my-login.php:1069
621
  msgid "<strong>ERROR</strong>: Please type your e-mail address."
622
  msgstr ""
623
 
624
- #: includes/class-theme-my-login.php:1071
625
  msgid "<strong>ERROR</strong>: The email address isn&#8217;t correct."
626
  msgstr ""
627
 
628
- #: includes/class-theme-my-login.php:1074
629
  msgid ""
630
  "<strong>ERROR</strong>: This email is already registered, please choose "
631
  "another one."
632
  msgstr ""
633
 
634
- #: includes/class-theme-my-login.php:1087
635
  msgid ""
636
  "<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a "
637
  "href=\"mailto:%s\">webmaster</a> !"
638
  msgstr ""
639
 
640
- #: modules/custom-email/admin/custom-email-admin.php:46
641
- #: modules/custom-email/admin/custom-email-admin.php:265
642
- msgid "User Notification"
 
 
 
 
 
 
 
 
 
643
  msgstr ""
644
 
645
- #: modules/custom-email/admin/custom-email-admin.php:49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
646
  msgid "This e-mail will be sent to a new user upon registration."
647
  msgstr ""
648
 
649
- #: modules/custom-email/admin/custom-email-admin.php:50
650
- #: modules/custom-email/admin/custom-email-admin.php:269
651
  msgid ""
652
  "Please be sure to include the variable %user_pass% if using default "
653
  "passwords or else the user will not know their password!"
654
  msgstr ""
655
 
656
- #: modules/custom-email/admin/custom-email-admin.php:51
657
- #: modules/custom-email/admin/custom-email-admin.php:81
658
- #: modules/custom-email/admin/custom-email-admin.php:130
659
- #: modules/custom-email/admin/custom-email-admin.php:175
660
- #: modules/custom-email/admin/custom-email-admin.php:224
661
- #: modules/custom-email/admin/custom-email-admin.php:270
662
- #: modules/custom-email/admin/custom-email-admin.php:300
663
- #: modules/custom-email/admin/custom-email-admin.php:348
664
  msgid "If any field is left empty, the default will be used instead."
665
  msgstr ""
666
 
667
- #: modules/custom-email/admin/custom-email-admin.php:54
668
- #: modules/custom-email/admin/custom-email-admin.php:87
669
- #: modules/custom-email/admin/custom-email-admin.php:133
670
- #: modules/custom-email/admin/custom-email-admin.php:181
671
- #: modules/custom-email/admin/custom-email-admin.php:227
672
- #: modules/custom-email/admin/custom-email-admin.php:273
673
- #: modules/custom-email/admin/custom-email-admin.php:306
674
- #: modules/custom-email/admin/custom-email-admin.php:351
675
  msgid "From Name"
676
  msgstr ""
677
 
678
- #: modules/custom-email/admin/custom-email-admin.php:57
679
- #: modules/custom-email/admin/custom-email-admin.php:90
680
- #: modules/custom-email/admin/custom-email-admin.php:136
681
- #: modules/custom-email/admin/custom-email-admin.php:184
682
- #: modules/custom-email/admin/custom-email-admin.php:230
683
- #: modules/custom-email/admin/custom-email-admin.php:276
684
- #: modules/custom-email/admin/custom-email-admin.php:309
685
- #: modules/custom-email/admin/custom-email-admin.php:354
686
  msgid "From E-mail"
687
  msgstr ""
688
 
689
- #: modules/custom-email/admin/custom-email-admin.php:60
690
- #: modules/custom-email/admin/custom-email-admin.php:93
691
- #: modules/custom-email/admin/custom-email-admin.php:139
692
- #: modules/custom-email/admin/custom-email-admin.php:187
693
- #: modules/custom-email/admin/custom-email-admin.php:233
694
- #: modules/custom-email/admin/custom-email-admin.php:279
695
- #: modules/custom-email/admin/custom-email-admin.php:312
696
- #: modules/custom-email/admin/custom-email-admin.php:357
697
  msgid "E-mail Format"
698
  msgstr ""
699
 
700
- #: modules/custom-email/admin/custom-email-admin.php:62
701
- #: modules/custom-email/admin/custom-email-admin.php:95
702
- #: modules/custom-email/admin/custom-email-admin.php:141
703
- #: modules/custom-email/admin/custom-email-admin.php:189
704
- #: modules/custom-email/admin/custom-email-admin.php:235
705
- #: modules/custom-email/admin/custom-email-admin.php:281
706
- #: modules/custom-email/admin/custom-email-admin.php:314
707
- #: modules/custom-email/admin/custom-email-admin.php:359
708
  msgid "Plain Text"
709
  msgstr ""
710
 
711
- #: modules/custom-email/admin/custom-email-admin.php:63
712
- #: modules/custom-email/admin/custom-email-admin.php:96
713
- #: modules/custom-email/admin/custom-email-admin.php:142
714
- #: modules/custom-email/admin/custom-email-admin.php:190
715
- #: modules/custom-email/admin/custom-email-admin.php:236
716
- #: modules/custom-email/admin/custom-email-admin.php:282
717
- #: modules/custom-email/admin/custom-email-admin.php:315
718
- #: modules/custom-email/admin/custom-email-admin.php:360
719
  msgid "HTML"
720
  msgstr ""
721
 
722
- #: modules/custom-email/admin/custom-email-admin.php:66
723
- #: modules/custom-email/admin/custom-email-admin.php:99
724
- #: modules/custom-email/admin/custom-email-admin.php:145
725
- #: modules/custom-email/admin/custom-email-admin.php:193
726
- #: modules/custom-email/admin/custom-email-admin.php:239
727
- #: modules/custom-email/admin/custom-email-admin.php:285
728
- #: modules/custom-email/admin/custom-email-admin.php:318
729
- #: modules/custom-email/admin/custom-email-admin.php:363
730
  msgid "Subject"
731
  msgstr ""
732
 
733
- #: modules/custom-email/admin/custom-email-admin.php:69
734
- #: modules/custom-email/admin/custom-email-admin.php:102
735
- #: modules/custom-email/admin/custom-email-admin.php:148
736
- #: modules/custom-email/admin/custom-email-admin.php:196
737
- #: modules/custom-email/admin/custom-email-admin.php:242
738
- #: modules/custom-email/admin/custom-email-admin.php:288
739
- #: modules/custom-email/admin/custom-email-admin.php:321
740
- #: modules/custom-email/admin/custom-email-admin.php:366
741
  msgid "Message"
742
  msgstr ""
743
 
744
- #: modules/custom-email/admin/custom-email-admin.php:72
745
- #: modules/custom-email/admin/custom-email-admin.php:105
746
- #: modules/custom-email/admin/custom-email-admin.php:151
747
- #: modules/custom-email/admin/custom-email-admin.php:199
748
- #: modules/custom-email/admin/custom-email-admin.php:245
749
- #: modules/custom-email/admin/custom-email-admin.php:291
750
- #: modules/custom-email/admin/custom-email-admin.php:324
751
- #: modules/custom-email/admin/custom-email-admin.php:369
752
  msgid "Available Variables"
753
  msgstr ""
754
 
755
- #: modules/custom-email/admin/custom-email-admin.php:77
756
- #: modules/custom-email/admin/custom-email-admin.php:171
757
- #: modules/custom-email/admin/custom-email-admin.php:296
758
- msgid "Admin Notification"
759
- msgstr ""
760
-
761
- #: modules/custom-email/admin/custom-email-admin.php:80
762
  msgid ""
763
  "This e-mail will be sent to the e-mail address or addresses (multiple "
764
  "addresses may be separated by commas) specified below, upon new user "
765
  "registration."
766
  msgstr ""
767
 
768
- #: modules/custom-email/admin/custom-email-admin.php:84
769
- #: modules/custom-email/admin/custom-email-admin.php:178
770
- #: modules/custom-email/admin/custom-email-admin.php:303
771
  msgid "To"
772
  msgstr ""
773
 
774
- #: modules/custom-email/admin/custom-email-admin.php:128
 
 
 
 
 
 
775
  msgid ""
776
  "This e-mail will be sent to a user when they attempt to recover their "
777
  "password."
778
  msgstr ""
779
 
780
- #: modules/custom-email/admin/custom-email-admin.php:129
781
  msgid ""
782
  "Please be sure to include the variable %reseturl% or else the user will not "
783
  "be able to recover their password!"
784
  msgstr ""
785
 
786
- #: modules/custom-email/admin/custom-email-admin.php:174
787
  msgid ""
788
  "This e-mail will be sent to the e-mail address or addresses (multiple "
789
  "addresses may be separated by commas) specified below, upon user password "
790
  "change."
791
  msgstr ""
792
 
793
- #: modules/custom-email/admin/custom-email-admin.php:201
794
- #: modules/custom-email/admin/custom-email-admin.php:326
795
- msgid "Disable Admin Notification"
796
- msgstr ""
797
-
798
- #: modules/custom-email/admin/custom-email-admin.php:222
799
  msgid ""
800
  "This e-mail will be sent to a new user upon registration when \"E-mail "
801
  "Confirmation\" is checked for \"User Moderation\"."
802
  msgstr ""
803
 
804
- #: modules/custom-email/admin/custom-email-admin.php:223
805
  msgid ""
806
  "Please be sure to include the variable %activateurl% or else the user will "
807
  "not be able to activate their account!"
808
  msgstr ""
809
 
810
- #: modules/custom-email/admin/custom-email-admin.php:268
811
  msgid ""
812
  "This e-mail will be sent to a new user upon admin approval when \"Admin "
813
  "Approval\" is checked for \"User Moderation\"."
814
  msgstr ""
815
 
816
- #: modules/custom-email/admin/custom-email-admin.php:299
817
  msgid ""
818
  "This e-mail will be sent to the e-mail address or addresses (multiple "
819
  "addresses may be separated by commas) specified below upon user registration "
820
  "when \"Admin Approval\" is checked for \"User Moderation\"."
821
  msgstr ""
822
 
823
- #: modules/custom-email/admin/custom-email-admin.php:347
824
  msgid ""
825
  "This e-mail will be sent to a user who is deleted/denied when \"Admin "
826
  "Approval\" is checked for \"User Moderation\" and the user's role is "
827
  "\"Pending\"."
828
  msgstr ""
829
 
830
- #: modules/custom-email/admin/custom-email-admin.php:390
831
- #: templates/profile-form.php:143 templates/register-form.php:16
832
- msgid "E-mail"
833
- msgstr ""
834
-
835
- #: modules/custom-email/admin/custom-email-admin.php:391
836
- msgid "New User"
837
- msgstr ""
838
-
839
- #: modules/custom-email/admin/custom-email-admin.php:392
840
- msgid "Retrieve Password"
841
- msgstr ""
842
-
843
- #: modules/custom-email/admin/custom-email-admin.php:393
844
- #: templates/resetpass-form.php:26
845
- msgid "Reset Password"
846
- msgstr ""
847
-
848
- #: modules/custom-email/admin/custom-email-admin.php:395
849
- msgid "User Activation"
850
- msgstr ""
851
-
852
- #: modules/custom-email/admin/custom-email-admin.php:396
853
- msgid "User Approval"
854
- msgstr ""
855
-
856
- #: modules/custom-email/admin/custom-email-admin.php:397
857
- msgid "User Denial"
858
- msgstr ""
859
-
860
- #: modules/custom-email/custom-email.php:691
861
  msgid "New user registration on your site %s:"
862
  msgstr ""
863
 
864
- #: modules/custom-email/custom-email.php:693
865
- #: modules/user-moderation/user-moderation.php:366
866
  msgid "E-mail: %s"
867
  msgstr ""
868
 
869
- #: modules/custom-email/custom-email.php:695
870
  msgid "[%s] New User Registration"
871
  msgstr ""
872
 
873
- #: modules/custom-email/custom-email.php:710
874
- #: modules/user-moderation/admin/user-moderation-admin.php:165
875
  msgid "Password: %s"
876
  msgstr ""
877
 
878
- #: modules/custom-email/custom-email.php:713
879
  msgid "[%s] Your username and password"
880
  msgstr ""
881
 
882
- #: modules/custom-email/custom-email.php:745
883
  msgid "[%s] Password Lost/Changed"
884
  msgstr ""
885
 
886
- #: modules/custom-email/custom-email.php:746
887
  msgid "Password Lost and Changed for user: %s"
888
  msgstr ""
889
 
890
- #: modules/custom-passwords/custom-passwords.php:31
891
- #: modules/custom-passwords/custom-passwords.php:63
892
- msgid "Confirm Password:"
893
  msgstr ""
894
 
895
- #: modules/custom-passwords/custom-passwords.php:61
 
 
 
 
896
  msgid "(Must be at least 6 characters.)"
897
  msgstr ""
898
 
899
- #: modules/custom-passwords/custom-passwords.php:65
 
 
 
 
900
  msgid "Confirm that you've typed your password correctly."
901
  msgstr ""
902
 
903
- #: modules/custom-passwords/custom-passwords.php:103
904
- msgid "<strong>ERROR</strong>: Please enter a password."
 
 
 
 
905
  msgstr ""
906
 
907
- #: modules/custom-passwords/custom-passwords.php:106
908
- msgid "<strong>ERROR</strong>: Your passwords do not match."
 
 
909
  msgstr ""
910
 
911
- #: modules/custom-passwords/custom-passwords.php:109
912
  msgid ""
913
  "<strong>ERROR</strong>: Your password must be at least 6 characters in "
914
  "length."
915
  msgstr ""
916
 
917
- #: modules/custom-passwords/custom-passwords.php:230
918
  msgid "Registration complete. You may now log in."
919
  msgstr ""
920
 
921
- #: modules/custom-redirection/custom-redirection.php:156
 
 
 
 
 
922
  msgid "Redirection"
923
  msgstr ""
924
 
925
- #: modules/custom-redirection/custom-redirection.php:185
926
  msgid "Log in"
927
  msgstr ""
928
 
929
- #: modules/custom-redirection/custom-redirection.php:187
930
- #: modules/custom-redirection/custom-redirection.php:199
931
  msgid "Default"
932
  msgstr ""
933
 
934
- #: modules/custom-redirection/custom-redirection.php:188
935
  msgid ""
936
  "Check this option to send the user to their WordPress Dashboard/Profile."
937
  msgstr ""
938
 
939
- #: modules/custom-redirection/custom-redirection.php:189
940
- #: modules/custom-redirection/custom-redirection.php:201
941
  msgid "Referer"
942
  msgstr ""
943
 
944
- #: modules/custom-redirection/custom-redirection.php:190
945
  msgid ""
946
  "Check this option to send the user back to the page they were visiting "
947
  "before logging in."
948
  msgstr ""
949
 
950
- #: modules/custom-redirection/custom-redirection.php:193
951
- #: modules/custom-redirection/custom-redirection.php:205
952
  msgid ""
953
  "Check this option to send the user to a custom location, specified by the "
954
  "textbox above."
955
  msgstr ""
956
 
957
- #: modules/custom-redirection/custom-redirection.php:200
 
 
 
 
958
  msgid ""
959
  "Check this option to send the user to the log in page, displaying a message "
960
  "that they have successfully logged out."
961
  msgstr ""
962
 
963
- #: modules/custom-redirection/custom-redirection.php:202
964
  msgid ""
965
  "Check this option to send the user back to the page they were visiting "
966
  "before logging out. (Note: If the previous page being visited was an admin "
967
  "page, this can have unexpected results.)"
968
  msgstr ""
969
 
970
- #: modules/custom-user-links/admin/custom-user-links-admin.php:140
 
 
 
 
 
971
  msgid "User Links"
972
  msgstr ""
973
 
 
974
  #: modules/custom-user-links/admin/custom-user-links-admin.php:232
975
- #: modules/custom-user-links/admin/custom-user-links-admin.php:255
976
- #: modules/custom-user-links/admin/custom-user-links-admin.php:300
977
  msgid "Title"
978
  msgstr ""
979
 
 
980
  #: modules/custom-user-links/admin/custom-user-links-admin.php:233
981
- #: modules/custom-user-links/admin/custom-user-links-admin.php:256
982
- #: modules/custom-user-links/admin/custom-user-links-admin.php:304
983
  msgid "URL"
984
  msgstr ""
985
 
986
- #: modules/custom-user-links/admin/custom-user-links-admin.php:250
987
- msgid "Add New link:"
988
- msgstr ""
989
-
990
- #: modules/custom-user-links/admin/custom-user-links-admin.php:266
991
- msgid "Add link"
992
  msgstr ""
993
 
994
- #: modules/custom-user-links/admin/custom-user-links-admin.php:306
995
  msgid "Delete"
996
  msgstr ""
997
 
998
- #: modules/custom-user-links/admin/custom-user-links-admin.php:307
999
  msgid "Update"
1000
  msgstr ""
1001
 
1002
- #: modules/security/admin/security-admin.php:32
1003
- #: modules/security/admin/security-admin.php:35
1004
- #: modules/user-moderation/admin/user-moderation-admin.php:34
1005
- #: modules/user-moderation/admin/user-moderation-admin.php:44
1006
- msgid "You can&#8217;t edit that user."
1007
  msgstr ""
1008
 
1009
- #: modules/security/admin/security-admin.php:67
1010
- msgid "User locked."
1011
  msgstr ""
1012
 
1013
- #: modules/security/admin/security-admin.php:69
1014
- msgid "User unlocked."
1015
  msgstr ""
1016
 
1017
- #: modules/security/admin/security-admin.php:92
1018
- msgid "Unlock"
1019
  msgstr ""
1020
 
1021
- #: modules/security/admin/security-admin.php:94
1022
- msgid "Lock"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1023
  msgstr ""
1024
 
1025
- #: modules/security/admin/security-admin.php:113
 
 
 
 
 
1026
  msgid "Security"
1027
  msgstr ""
1028
 
1029
- #: modules/security/admin/security-admin.php:132
1030
  msgid "Private Site"
1031
  msgstr ""
1032
 
 
 
 
 
 
 
 
 
1033
  #: modules/security/admin/security-admin.php:135
1034
  msgid "Require users to be logged in to view site"
1035
  msgstr ""
1036
 
1037
- #: modules/security/admin/security-admin.php:139
1038
- msgid "Login Attempts"
1039
  msgstr ""
1040
 
1041
- #: modules/security/admin/security-admin.php:144
1042
  msgid "minute(s)"
1043
  msgstr ""
1044
 
1045
- #: modules/security/admin/security-admin.php:145
1046
  msgid "hour(s)"
1047
  msgstr ""
1048
 
1049
- #: modules/security/admin/security-admin.php:146
1050
  msgid "day(s)"
1051
  msgstr ""
1052
 
1053
- #: modules/security/admin/security-admin.php:169
1054
  msgid ""
1055
- "After %1$s failed login attempts within %2$s %3$s, lockout the account for %4"
1056
- "$s %5$s."
1057
  msgstr ""
1058
 
1059
- #: modules/security/security.php:64 modules/security/security.php:90
1060
- msgid ""
1061
- "<strong>ERROR</strong>: This account has been locked because of too many "
1062
- "failed login attempts. You may try again in %s."
 
1063
  msgstr ""
1064
 
1065
- #: modules/security/security.php:66
1066
- msgid "<strong>ERROR</strong>: This account has been locked."
1067
  msgstr ""
1068
 
1069
- #: modules/security/security.php:126
1070
- msgid "Failed Login Attempts"
1071
  msgstr ""
1072
 
1073
- #: modules/security/security.php:130
1074
- msgid "IP Address"
1075
  msgstr ""
1076
 
1077
- #: modules/security/security.php:131
1078
- msgid "Date"
1079
  msgstr ""
1080
 
1081
- #: modules/security/security.php:134
1082
- msgid "Y/m/d g:i:s A"
1083
  msgstr ""
1084
 
1085
- #: modules/security/security.php:139
1086
- msgid "%s ago"
 
 
1087
  msgstr ""
1088
 
1089
- #: modules/security/security.php:141
1090
- msgid "Y/m/d"
1091
  msgstr ""
1092
 
1093
- #: modules/themed-profiles/admin/themed-profiles-admin.php:23
1094
- #: modules/themed-profiles/admin/themed-profiles-admin.php:42
1095
- msgid "Themed Profiles"
1096
  msgstr ""
1097
 
1098
- #: modules/themed-profiles/admin/themed-profiles-admin.php:51
1099
- msgid "Restrict Admin Access"
1100
  msgstr ""
1101
 
1102
- #: modules/themed-profiles/themed-profiles.php:123
1103
- #: templates/profile-form.php:182 templates/resetpass-form.php:19
1104
- msgid "Strength indicator"
1105
  msgstr ""
1106
 
1107
- #: modules/themed-profiles/themed-profiles.php:124
1108
- msgid "Very weak"
1109
  msgstr ""
1110
 
1111
- #: modules/themed-profiles/themed-profiles.php:125
1112
- msgid "Weak"
1113
  msgstr ""
1114
 
1115
- #. translators: password strength
1116
- #: modules/themed-profiles/themed-profiles.php:127
1117
- msgctxt "password strength"
1118
- msgid "Medium"
1119
  msgstr ""
1120
 
1121
- #: modules/themed-profiles/themed-profiles.php:128
1122
- msgid "Strong"
1123
  msgstr ""
1124
 
1125
- #: modules/themed-profiles/themed-profiles.php:138
1126
- msgid "You do not have permission to edit this user."
 
 
1127
  msgstr ""
1128
 
1129
- #: modules/themed-profiles/themed-profiles.php:154
1130
- msgid "Profile updated."
1131
  msgstr ""
1132
 
1133
- #: modules/themed-profiles/themed-profiles.php:243
1134
  msgid "Your Profile"
1135
  msgstr ""
1136
 
1137
- #: modules/user-moderation/admin/user-moderation-admin.php:75
1138
- msgid "User approved."
1139
- msgstr ""
1140
-
1141
- #: modules/user-moderation/admin/user-moderation-admin.php:77
1142
- msgid "Activation sent."
1143
  msgstr ""
1144
 
1145
- #: modules/user-moderation/admin/user-moderation-admin.php:105
1146
- msgid "Resend Activation"
 
1147
  msgstr ""
1148
 
1149
- #: modules/user-moderation/admin/user-moderation-admin.php:110
1150
- msgid "Approve"
1151
  msgstr ""
1152
 
1153
- #: modules/user-moderation/admin/user-moderation-admin.php:163
1154
- msgid "You have been approved access to %s"
1155
  msgstr ""
1156
 
1157
- #: modules/user-moderation/admin/user-moderation-admin.php:168
1158
- msgid "[%s] Registration Approved"
1159
  msgstr ""
1160
 
1161
- #: modules/user-moderation/admin/user-moderation-admin.php:203
1162
- msgid "You have been denied access to %s"
1163
  msgstr ""
1164
 
1165
- #: modules/user-moderation/admin/user-moderation-admin.php:204
1166
- msgid "[%s] Registration Denied"
 
1167
  msgstr ""
1168
 
1169
- #: modules/user-moderation/admin/user-moderation-admin.php:226
1170
  msgid "Moderation"
1171
  msgstr ""
1172
 
1173
- #: modules/user-moderation/admin/user-moderation-admin.php:242
1174
- msgid "User Moderation"
1175
  msgstr ""
1176
 
1177
- #: modules/user-moderation/admin/user-moderation-admin.php:245
1178
  msgid "None"
1179
  msgstr ""
1180
 
1181
- #: modules/user-moderation/admin/user-moderation-admin.php:246
1182
  msgid "Check this option to require no moderation."
1183
  msgstr ""
1184
 
1185
- #: modules/user-moderation/admin/user-moderation-admin.php:248
1186
  msgid "E-mail Confirmation"
1187
  msgstr ""
1188
 
1189
- #: modules/user-moderation/admin/user-moderation-admin.php:249
1190
  msgid ""
1191
  "Check this option to require new users to confirm their e-mail address "
1192
  "before they may log in."
1193
  msgstr ""
1194
 
1195
- #: modules/user-moderation/admin/user-moderation-admin.php:251
1196
  msgid "Admin Approval"
1197
  msgstr ""
1198
 
1199
- #: modules/user-moderation/admin/user-moderation-admin.php:252
1200
  msgid ""
1201
  "Check this option to require new users to be approved by an administrator "
1202
  "before they may log in."
1203
  msgstr ""
1204
 
1205
- #: modules/user-moderation/admin/user-moderation-admin.php:269
1206
- msgid "User Moderation is not currently compatible with multisite."
1207
  msgstr ""
1208
 
1209
- #: modules/user-moderation/user-moderation.php:163
1210
- msgid ""
1211
- "<strong>ERROR</strong>: You have not yet confirmed your e-mail address. <a "
1212
- "href=\"%s\">Resend activation</a>?"
1213
  msgstr ""
1214
 
1215
- #: modules/user-moderation/user-moderation.php:166
1216
- msgid "<strong>ERROR</strong>: Your registration has not yet been approved."
1217
  msgstr ""
1218
 
1219
- #: modules/user-moderation/user-moderation.php:328
1220
- msgid "[%s] Activate Your Account"
1221
  msgstr ""
1222
 
1223
- #: modules/user-moderation/user-moderation.php:329
1224
- msgid ""
1225
- "Thanks for registering at %s! To complete the activation of your account "
1226
- "please click the following link: "
1227
  msgstr ""
1228
 
1229
- #: modules/user-moderation/user-moderation.php:362
1230
- msgid "[%s] New User Awaiting Approval"
1231
  msgstr ""
1232
 
1233
- #: modules/user-moderation/user-moderation.php:364
1234
- msgid "New user requires approval on your blog %s:"
1235
  msgstr ""
1236
 
1237
- #: modules/user-moderation/user-moderation.php:367
1238
- msgid "To approve or deny this user:"
 
 
 
 
 
 
 
 
 
 
1239
  msgstr ""
1240
 
1241
- #: modules/user-moderation/user-moderation.php:388
1242
  msgid ""
1243
  "Your registration was successful but you must now confirm your email address "
1244
  "before you can log in. Please check your email and click on the link "
1245
  "provided."
1246
  msgstr ""
1247
 
1248
- #: modules/user-moderation/user-moderation.php:390
1249
  msgid ""
1250
  "Your registration was successful but you must now be approved by an "
1251
  "administrator before you can log in. You will be notified by e-mail once "
1252
  "your account has been reviewed."
1253
  msgstr ""
1254
 
1255
- #: modules/user-moderation/user-moderation.php:393
1256
  msgid "Your account has been activated. You may now log in."
1257
  msgstr ""
1258
 
1259
- #: modules/user-moderation/user-moderation.php:395
1260
  msgid ""
1261
  "Your account has been activated. Please check your e-mail for your password."
1262
  msgstr ""
1263
 
1264
- #: modules/user-moderation/user-moderation.php:397
1265
  msgid "<strong>ERROR</strong>: Sorry, that key does not appear to be valid."
1266
  msgstr ""
1267
 
1268
- #: modules/user-moderation/user-moderation.php:400
1269
  msgid "<strong>ERROR</strong>: Sorry, the activation e-mail could not be sent."
1270
  msgstr ""
1271
 
1272
- #: modules/user-moderation/user-moderation.php:402
1273
  msgid ""
1274
  "The activation e-mail has been sent to the e-mail address with which you "
1275
  "registered. Please check your email and click on the link provided."
1276
  msgstr ""
1277
 
1278
- #: templates/login-form.php:12 templates/profile-form.php:91
1279
- #: templates/register-form.php:12
1280
- msgid "Username"
1281
  msgstr ""
1282
 
1283
- #: templates/login-form.php:16
1284
- msgid "Password"
 
 
 
 
 
 
1285
  msgstr ""
1286
 
1287
- #: templates/login-form.php:25
 
 
 
 
 
 
 
 
 
 
 
 
 
1288
  msgid "Remember Me"
1289
  msgstr ""
1290
 
@@ -1292,7 +1264,7 @@ msgstr ""
1292
  msgid "Username or E-mail:"
1293
  msgstr ""
1294
 
1295
- #: templates/lostpassword-form.php:20
1296
  msgid "Get New Password"
1297
  msgstr ""
1298
 
@@ -1321,70 +1293,68 @@ msgid ""
1321
  "user. Now have at it!"
1322
  msgstr ""
1323
 
1324
- #: templates/ms-signup-another-blog-form.php:33
1325
- #: templates/ms-signup-blog-form.php:17
1326
  msgid "Site Name:"
1327
  msgstr ""
1328
 
1329
- #: templates/ms-signup-another-blog-form.php:35
1330
- #: templates/ms-signup-blog-form.php:19
1331
  msgid "Site Domain:"
1332
  msgstr ""
1333
 
1334
- #: templates/ms-signup-another-blog-form.php:52
1335
- #: templates/ms-signup-blog-form.php:36
1336
  msgid "sitename"
1337
  msgstr ""
1338
 
1339
- #: templates/ms-signup-another-blog-form.php:54
1340
- #: templates/ms-signup-blog-form.php:38
1341
  msgid "domain"
1342
  msgstr ""
1343
 
1344
- #: templates/ms-signup-another-blog-form.php:55
1345
- #: templates/ms-signup-blog-form.php:39
1346
  msgid "Your address will be %s."
1347
  msgstr ""
1348
 
1349
- #: templates/ms-signup-another-blog-form.php:55
1350
- #: templates/ms-signup-blog-form.php:39
1351
  msgid ""
1352
  "Must be at least 4 characters, letters and numbers only. It cannot be "
1353
  "changed, so choose carefully!"
1354
  msgstr ""
1355
 
1356
- #: templates/ms-signup-another-blog-form.php:58
1357
- #: templates/ms-signup-blog-form.php:42
1358
  msgid "Site Title:"
1359
  msgstr ""
1360
 
1361
- #: templates/ms-signup-another-blog-form.php:66
1362
- #: templates/ms-signup-blog-form.php:50
1363
  msgid "Privacy:"
1364
  msgstr ""
1365
 
1366
- #: templates/ms-signup-another-blog-form.php:67
1367
- #: templates/ms-signup-blog-form.php:51
1368
- msgid ""
1369
- "Allow my site to appear in search engines like Google, Technorati, and in "
1370
- "public listings around this network."
1371
  msgstr ""
1372
 
1373
- #: templates/ms-signup-another-blog-form.php:71
1374
- #: templates/ms-signup-blog-form.php:55
1375
  msgid "Yes"
1376
  msgstr ""
1377
 
1378
- #: templates/ms-signup-another-blog-form.php:75
1379
- #: templates/ms-signup-blog-form.php:59
1380
  msgid "No"
1381
  msgstr ""
1382
 
1383
- #: templates/ms-signup-another-blog-form.php:85
1384
  msgid "Create Site"
1385
  msgstr ""
1386
 
1387
- #: templates/ms-signup-blog-form.php:69
1388
  msgid "Signup"
1389
  msgstr ""
1390
 
@@ -1392,160 +1362,120 @@ msgstr ""
1392
  msgid "Get your own %s account in seconds"
1393
  msgstr ""
1394
 
1395
- #: templates/ms-signup-user-form.php:22
1396
  msgid "(Must be at least 4 characters, letters and numbers only.)"
1397
  msgstr ""
1398
 
1399
- #: templates/ms-signup-user-form.php:24
1400
  msgid "Email&nbsp;Address:"
1401
  msgstr ""
1402
 
1403
- #: templates/ms-signup-user-form.php:30
1404
  msgid ""
1405
  "We send your registration email to this address. (Double-check your email "
1406
  "address before continuing.)"
1407
  msgstr ""
1408
 
1409
- #: templates/ms-signup-user-form.php:47
1410
  msgid "Gimme a site!"
1411
  msgstr ""
1412
 
1413
- #: templates/ms-signup-user-form.php:50
1414
  msgid "Just a username, please."
1415
  msgstr ""
1416
 
1417
- #: templates/ms-signup-user-form.php:54
1418
  msgid "Next"
1419
  msgstr ""
1420
 
1421
- #: templates/profile-form.php:26
1422
  msgid "Personal Options"
1423
  msgstr ""
1424
 
1425
- #: templates/profile-form.php:31
1426
- msgid "Visual Editor"
1427
- msgstr ""
1428
-
1429
- #: templates/profile-form.php:32
1430
- msgid "Disable the visual editor when writing"
1431
- msgstr ""
1432
-
1433
- #: templates/profile-form.php:37
1434
- msgid "Admin Color Scheme"
1435
- msgstr ""
1436
-
1437
- #: templates/profile-form.php:44
1438
- msgid "Keyboard Shortcuts"
1439
- msgstr ""
1440
-
1441
- #: templates/profile-form.php:45
1442
- msgid "Enable keyboard shortcuts for comment moderation."
1443
- msgstr ""
1444
-
1445
- #: templates/profile-form.php:45
1446
- msgid ""
1447
- "<a href=\"http://codex.wordpress.org/Keyboard_Shortcuts\" target=\"_blank"
1448
- "\">More information</a>"
1449
- msgstr ""
1450
-
1451
- #: templates/profile-form.php:51 templates/profile-form.php:54
1452
  msgid "Toolbar"
1453
  msgstr ""
1454
 
1455
- #: templates/profile-form.php:57
1456
  msgid "Show Toolbar when viewing site"
1457
  msgstr ""
1458
 
1459
- #: templates/profile-form.php:63 templates/profile-form.php:66
1460
- msgid "Show Admin Bar"
1461
- msgstr ""
1462
-
1463
- #. translators: Show admin bar when viewing site
1464
- #: templates/profile-form.php:69
1465
- msgid "when viewing site"
1466
- msgstr ""
1467
-
1468
- #. translators: Show admin bar in dashboard
1469
- #: templates/profile-form.php:74
1470
- msgid "in dashboard"
1471
- msgstr ""
1472
-
1473
- #: templates/profile-form.php:87
1474
  msgid "Name"
1475
  msgstr ""
1476
 
1477
- #: templates/profile-form.php:92
1478
  msgid "Your username cannot be changed."
1479
  msgstr ""
1480
 
1481
- #: templates/profile-form.php:96
1482
- msgid "First name"
1483
  msgstr ""
1484
 
1485
- #: templates/profile-form.php:101
1486
- msgid "Last name"
1487
  msgstr ""
1488
 
1489
- #: templates/profile-form.php:106
1490
  msgid "Nickname"
1491
  msgstr ""
1492
 
1493
- #: templates/profile-form.php:106 templates/profile-form.php:143
1494
  msgid "(required)"
1495
  msgstr ""
1496
 
1497
- #: templates/profile-form.php:111
1498
  msgid "Display name publicly as"
1499
  msgstr ""
1500
 
1501
- #: templates/profile-form.php:139
1502
  msgid "Contact Info"
1503
  msgstr ""
1504
 
1505
- #: templates/profile-form.php:148
1506
  msgid "Website"
1507
  msgstr ""
1508
 
1509
- #: templates/profile-form.php:165
1510
  msgid "About Yourself"
1511
  msgstr ""
1512
 
1513
- #: templates/profile-form.php:169
1514
  msgid "Biographical Info"
1515
  msgstr ""
1516
 
1517
- #: templates/profile-form.php:171
1518
  msgid ""
1519
  "Share a little biographical information to fill out your profile. This may "
1520
  "be shown publicly."
1521
  msgstr ""
1522
 
1523
- #: templates/profile-form.php:179
1524
  msgid "New Password"
1525
  msgstr ""
1526
 
1527
- #: templates/profile-form.php:180
1528
  msgid ""
1529
  "If you would like to change the password type a new one. Otherwise leave "
1530
  "this blank."
1531
  msgstr ""
1532
 
1533
- #: templates/profile-form.php:181
1534
  msgid "Type your new password again."
1535
  msgstr ""
1536
 
1537
- #: templates/profile-form.php:183 templates/resetpass-form.php:20
 
 
 
 
1538
  msgid ""
1539
  "Hint: The password should be at least seven characters long. To make it "
1540
  "stronger, use upper and lower case letters, numbers and symbols like ! \" ? "
1541
  "$ % ^ &amp; )."
1542
  msgstr ""
1543
 
1544
- #: templates/profile-form.php:197
1545
- msgid "Additional Capabilities"
1546
- msgstr ""
1547
-
1548
- #: templates/profile-form.php:216
1549
  msgid "Update Profile"
1550
  msgstr ""
1551
 
@@ -1557,7 +1487,7 @@ msgstr ""
1557
  msgid "New password"
1558
  msgstr ""
1559
 
1560
- #: templates/resetpass-form.php:16
1561
  msgid "Confirm new password"
1562
  msgstr ""
1563
 
1
+ # Copyright (C) 2015 Theme My Login
2
  # This file is distributed under the same license as the Theme My Login package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Theme My Login 6.3.11\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/theme-my-login\n"
7
+ "POT-Creation-Date: 2015-03-31 17:39:01+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: admin/class-theme-my-login-admin.php:68
16
+ #: admin/class-theme-my-login-admin.php:130
17
+ msgid "Theme My Login Settings"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  msgstr ""
19
 
20
+ #: admin/class-theme-my-login-admin.php:69
21
+ msgid "TML"
22
  msgstr ""
23
 
24
+ #: admin/class-theme-my-login-admin.php:77
25
+ #: admin/class-theme-my-login-admin.php:78
26
+ #: admin/class-theme-my-login-admin.php:85
27
  msgid "General"
28
  msgstr ""
29
 
30
+ #: admin/class-theme-my-login-admin.php:86
31
+ #: admin/class-theme-my-login-admin.php:91
 
 
 
 
32
  msgid "Modules"
33
  msgstr ""
34
 
35
+ #: admin/class-theme-my-login-admin.php:89
36
+ msgid "Stylesheet"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  msgstr ""
38
 
39
+ #: admin/class-theme-my-login-admin.php:90
40
+ msgid "E-mail Login"
41
  msgstr ""
42
 
43
+ #: admin/class-theme-my-login-admin.php:159
44
  msgid "Enable \"theme-my-login.css\""
45
  msgstr ""
46
 
47
+ #: admin/class-theme-my-login-admin.php:160
48
  msgid ""
49
  "In order to keep changes between upgrades, you can store your customized "
50
  "\"theme-my-login.css\" in your current theme directory."
51
  msgstr ""
52
 
53
+ #: admin/class-theme-my-login-admin.php:173
 
 
 
 
54
  msgid "Enable e-mail address login"
55
  msgstr ""
56
 
57
+ #: admin/class-theme-my-login-admin.php:174
58
  msgid ""
59
  "Allows users to login using their e-mail address in place of their username."
60
  msgstr ""
61
 
62
+ #: admin/class-theme-my-login-admin.php:189
63
  msgid "Enable %s"
64
  msgstr ""
65
 
66
+ #: includes/class-theme-my-login-ms-signup.php:109
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  msgctxt "Multisite active signup type"
68
  msgid "all"
69
  msgstr ""
70
 
71
+ #: includes/class-theme-my-login-ms-signup.php:110
72
  msgctxt "Multisite active signup type"
73
  msgid "none"
74
  msgstr ""
75
 
76
+ #: includes/class-theme-my-login-ms-signup.php:111
77
  msgctxt "Multisite active signup type"
78
  msgid "blog"
79
  msgstr ""
80
 
81
+ #: includes/class-theme-my-login-ms-signup.php:112
82
  msgctxt "Multisite active signup type"
83
  msgid "user"
84
  msgstr ""
85
 
86
+ #: includes/class-theme-my-login-ms-signup.php:115
87
  msgid ""
88
  "Greetings Site Administrator! You are currently allowing &#8220;%s&#8221; "
89
  "registrations. To change or disable registration go to your <a href=\"%s"
90
  "\">Options page</a>."
91
  msgstr ""
92
 
93
+ #: includes/class-theme-my-login-ms-signup.php:121
94
  msgid "Registration has been disabled."
95
  msgstr ""
96
 
97
+ #: includes/class-theme-my-login-ms-signup.php:123
98
  msgid ""
99
  "You must first <a href=\"%s\">log in</a>, and then you can create a new site."
100
  msgstr ""
101
 
102
+ #: includes/class-theme-my-login-ms-signup.php:147
103
  msgid "%s is your new username"
104
  msgstr ""
105
 
106
+ #: includes/class-theme-my-login-ms-signup.php:148
107
  msgid ""
108
  "But, before you can start using your new username, <strong>you must activate "
109
  "it</strong>."
110
  msgstr ""
111
 
112
+ #: includes/class-theme-my-login-ms-signup.php:149
113
  msgid "Check your inbox at <strong>%1$s</strong> and click the link given."
114
  msgstr ""
115
 
116
+ #: includes/class-theme-my-login-ms-signup.php:150
117
  msgid ""
118
  "If you do not activate your username within two days, you will have to sign "
119
  "up again."
120
  msgstr ""
121
 
122
+ #: includes/class-theme-my-login-ms-signup.php:154
123
  msgid "User registration has been disabled."
124
  msgstr ""
125
 
126
+ #: includes/class-theme-my-login-ms-signup.php:186
127
  msgid "Congratulations! Your new site, %s, is almost ready."
128
  msgstr ""
129
 
130
+ #: includes/class-theme-my-login-ms-signup.php:188
131
  msgid ""
132
  "But, before you can start using your site, <strong>you must activate it</"
133
  "strong>."
134
  msgstr ""
135
 
136
+ #: includes/class-theme-my-login-ms-signup.php:189
137
  msgid "Check your inbox at <strong>%s</strong> and click the link given."
138
  msgstr ""
139
 
140
+ #: includes/class-theme-my-login-ms-signup.php:190
141
  msgid ""
142
  "If you do not activate your site within two days, you will have to sign up "
143
  "again."
144
  msgstr ""
145
 
146
+ #: includes/class-theme-my-login-ms-signup.php:191
147
  msgid "Still waiting for your email?"
148
  msgstr ""
149
 
150
+ #: includes/class-theme-my-login-ms-signup.php:193
151
  msgid ""
152
  "If you haven&#8217;t received your email yet, there are a number of things "
153
  "you can do:"
154
  msgstr ""
155
 
156
+ #: includes/class-theme-my-login-ms-signup.php:195
157
  msgid ""
158
  "Wait a little longer. Sometimes delivery of email can be delayed by "
159
  "processes outside of our control."
160
  msgstr ""
161
 
162
+ #: includes/class-theme-my-login-ms-signup.php:196
163
  msgid ""
164
  "Check the junk or spam folder of your email client. Sometime emails wind up "
165
  "there by mistake."
166
  msgstr ""
167
 
168
+ #: includes/class-theme-my-login-ms-signup.php:197
169
  msgid ""
170
  "Have you entered your email correctly? You have entered %s, if it&#8217;s "
171
  "incorrect, you will not receive your email."
172
  msgstr ""
173
 
174
+ #: includes/class-theme-my-login-ms-signup.php:203
175
  msgid "Site registration has been disabled."
176
  msgstr ""
177
 
178
+ #: includes/class-theme-my-login-ms-signup.php:227
179
  msgid "The site %s is yours."
180
  msgstr ""
181
 
182
+ #: includes/class-theme-my-login-ms-signup.php:229
183
  msgid ""
184
  "<a href=\"http://%1$s\">http://%2$s</a> is your new site. <a href=\"%3$s"
185
  "\">Log in</a> as &#8220;%4$s&#8221; using your existing password."
186
  msgstr ""
187
 
188
+ #: includes/class-theme-my-login-ms-signup.php:245
189
  msgid "Sorry, new registrations are not allowed at this time."
190
  msgstr ""
191
 
192
+ #: includes/class-theme-my-login-ms-signup.php:247
193
  msgid "You are logged in already. No need to register again!"
194
  msgstr ""
195
 
196
+ #: includes/class-theme-my-login-ms-signup.php:253
197
  msgid ""
198
  "<p><em>The site you were looking for, <strong>%s</strong> does not exist, "
199
  "but you can create it now!</em></p>"
200
  msgstr ""
201
 
202
+ #: includes/class-theme-my-login-ms-signup.php:255
203
  msgid ""
204
  "<p><em>The site you were looking for, <strong>%s</strong>, does not exist.</"
205
  "em></p>"
206
  msgstr ""
207
 
208
+ #: includes/class-theme-my-login-ms-signup.php:397
209
  msgid "Activation Key Required"
210
  msgstr ""
211
 
212
+ #: includes/class-theme-my-login-ms-signup.php:400
213
  msgid "Activation Key:"
214
  msgstr ""
215
 
216
+ #: includes/class-theme-my-login-ms-signup.php:404
217
+ #: includes/class-theme-my-login-ms-signup.php:476
218
  msgid "Activate"
219
  msgstr ""
220
 
221
+ #: includes/class-theme-my-login-ms-signup.php:416
222
+ #: includes/class-theme-my-login-ms-signup.php:436
223
  msgid "Your account is now active!"
224
  msgstr ""
225
 
226
+ #: includes/class-theme-my-login-ms-signup.php:420
227
  msgid ""
228
  "Your account has been activated. You may now <a href=\"%1$s\">login</a> to "
229
  "the site using your chosen username of &#8220;%2$s&#8221;. Please check "
233
  "password</a>."
234
  msgstr ""
235
 
236
+ #: includes/class-theme-my-login-ms-signup.php:422
237
  msgid ""
238
  "Your site at <a href=\"%1$s\">%2$s</a> is active. You may now log in to your "
239
  "site using your chosen username of &#8220;%3$s&#8221;. Please check your "
243
  "password</a>."
244
  msgstr ""
245
 
246
+ #: includes/class-theme-my-login-ms-signup.php:427
247
  msgid "An error occurred during the activation"
248
  msgstr ""
249
 
250
+ #: includes/class-theme-my-login-ms-signup.php:439
251
+ #: templates/ms-signup-user-form.php:14
252
  msgid "Username:"
253
  msgstr ""
254
 
255
+ #: includes/class-theme-my-login-ms-signup.php:440
256
+ #: modules/custom-passwords/custom-passwords.php:95
 
257
  msgid "Password:"
258
  msgstr ""
259
 
260
+ #: includes/class-theme-my-login-ms-signup.php:444
261
  msgid ""
262
  "Your account is now activated. <a href=\"%1$s\">View your site</a> or <a "
263
  "href=\"%2$s\">Login</a>"
264
  msgstr ""
265
 
266
+ #: includes/class-theme-my-login-ms-signup.php:446
267
  msgid ""
268
  "Your account is now activated. <a href=\"%1$s\">Login</a> or go back to the "
269
  "<a href=\"%2$s\">homepage</a>."
270
  msgstr ""
271
 
272
+ #: includes/class-theme-my-login-template.php:150
273
  msgid "Welcome, %s"
274
  msgstr ""
275
 
276
+ #: includes/class-theme-my-login-template.php:157
277
+ #: includes/class-theme-my-login-widget.php:111
278
+ #: includes/class-theme-my-login.php:119 templates/register-form.php:26
279
+ msgid "Register"
280
+ msgstr ""
281
+
282
+ #: includes/class-theme-my-login-template.php:163
283
+ #: includes/class-theme-my-login-widget.php:112
284
+ #: includes/class-theme-my-login.php:120
285
+ msgid "Lost Password"
286
+ msgstr ""
287
+
288
+ #: includes/class-theme-my-login-template.php:167
289
+ #: includes/class-theme-my-login.php:117 templates/login-form.php:27
290
  msgid "Log In"
291
  msgstr ""
292
 
293
+ #: includes/class-theme-my-login-template.php:348
294
+ #: modules/custom-user-links/custom-user-links.php:61
295
  msgid "Dashboard"
296
  msgstr ""
297
 
298
+ #: includes/class-theme-my-login-template.php:351
299
+ #: modules/custom-user-links/custom-user-links.php:65
 
300
  msgid "Profile"
301
  msgstr ""
302
 
303
+ #: includes/class-theme-my-login-template.php:400
 
 
 
 
 
304
  msgid "Register For This Site"
305
  msgstr ""
306
 
307
+ #: includes/class-theme-my-login-template.php:403
308
  msgid ""
309
  "Please enter your username or email address. You will receive a link to "
310
  "create a new password via email."
311
  msgstr ""
312
 
313
+ #: includes/class-theme-my-login-template.php:406
314
  msgid "Enter your new password below."
315
  msgstr ""
316
 
317
+ #: includes/class-theme-my-login-widget.php:24
318
  msgid "A login form for your blog."
319
  msgstr ""
320
 
321
+ #. #-#-#-#-# plugin.pot (Theme My Login 6.3.10) #-#-#-#-#
322
+ #. Plugin Name of the plugin/theme
323
+ #: includes/class-theme-my-login-widget.php:26
324
+ msgid "Theme My Login"
325
+ msgstr ""
326
+
327
+ #: includes/class-theme-my-login-widget.php:110
328
+ msgid "Login"
329
+ msgstr ""
330
+
331
+ #: includes/class-theme-my-login-widget.php:115
332
  msgid "Default Action"
333
  msgstr ""
334
 
335
+ #: includes/class-theme-my-login-widget.php:123
336
  msgid "Show When Logged In"
337
  msgstr ""
338
 
339
+ #: includes/class-theme-my-login-widget.php:126
340
+ msgid "Show When Logged Out"
341
+ msgstr ""
342
+
343
+ #: includes/class-theme-my-login-widget.php:129
344
  msgid "Show Title"
345
  msgstr ""
346
 
347
+ #: includes/class-theme-my-login-widget.php:132
348
  msgid "Show Login Link"
349
  msgstr ""
350
 
351
+ #: includes/class-theme-my-login-widget.php:135
352
  msgid "Show Register Link"
353
  msgstr ""
354
 
355
+ #: includes/class-theme-my-login-widget.php:138
356
  msgid "Show Lost Password Link"
357
  msgstr ""
358
 
359
+ #: includes/class-theme-my-login-widget.php:141
360
  msgid "Show Gravatar"
361
  msgstr ""
362
 
363
+ #: includes/class-theme-my-login-widget.php:143
364
  msgid "Gravatar Size"
365
  msgstr ""
366
 
367
+ #: includes/class-theme-my-login.php:118
368
+ msgid "Log Out"
369
  msgstr ""
370
 
371
+ #: includes/class-theme-my-login.php:121
372
+ #: modules/custom-email/admin/custom-email-admin.php:102
373
+ #: templates/resetpass-form.php:28
374
+ msgid "Reset Password"
375
  msgstr ""
376
 
377
+ #: includes/class-theme-my-login.php:302
378
  msgid "Sorry, that key does not appear to be valid."
379
  msgstr ""
380
 
381
+ #: includes/class-theme-my-login.php:317
382
  msgid "The passwords do not match."
383
  msgstr ""
384
 
385
+ #: includes/class-theme-my-login.php:412
 
 
 
 
 
 
 
386
  msgid "You are now logged out."
387
  msgstr ""
388
 
389
+ #: includes/class-theme-my-login.php:414
390
  msgid "User registration is currently not allowed."
391
  msgstr ""
392
 
393
+ #: includes/class-theme-my-login.php:416
394
  msgid "Check your e-mail for the confirmation link."
395
  msgstr ""
396
 
397
+ #: includes/class-theme-my-login.php:418
398
  msgid "Your password has been reset."
399
  msgstr ""
400
 
401
+ #: includes/class-theme-my-login.php:420
402
  msgid "Registration complete. Please check your e-mail."
403
  msgstr ""
404
 
405
+ #: includes/class-theme-my-login.php:422
406
  msgid "Your session has expired. Please log-in again."
407
  msgstr ""
408
 
409
+ #: includes/class-theme-my-login.php:424
410
+ msgid ""
411
+ "<strong>You have successfully updated WordPress!</strong> Please log back in "
412
+ "to experience the awesomeness."
413
  msgstr ""
414
 
415
+ #: includes/class-theme-my-login.php:426
416
+ msgid "Please log in to continue."
417
  msgstr ""
418
 
419
+ #: includes/class-theme-my-login.php:1029
420
  msgid "<strong>ERROR</strong>: Enter a username or e-mail address."
421
  msgstr ""
422
 
423
+ #: includes/class-theme-my-login.php:1033
424
  msgid ""
425
  "<strong>ERROR</strong>: There is no user registered with that email address."
426
  msgstr ""
427
 
428
+ #: includes/class-theme-my-login.php:1045
429
  msgid "<strong>ERROR</strong>: Invalid username or e-mail."
430
  msgstr ""
431
 
432
+ #: includes/class-theme-my-login.php:1059
433
  msgid "Password reset is not allowed for this user"
434
  msgstr ""
435
 
436
+ #: includes/class-theme-my-login.php:1071
437
  msgid "Someone requested that the password be reset for the following account:"
438
  msgstr ""
439
 
440
+ #: includes/class-theme-my-login.php:1073
441
+ #: modules/custom-email/custom-email.php:809
442
+ #: modules/custom-email/custom-email.php:826
443
+ #: modules/user-moderation/admin/user-moderation-admin.php:376
444
+ #: modules/user-moderation/user-moderation.php:480
445
  msgid "Username: %s"
446
  msgstr ""
447
 
448
+ #: includes/class-theme-my-login.php:1074
449
  msgid "If this was a mistake, just ignore this email and nothing will happen."
450
  msgstr ""
451
 
452
+ #: includes/class-theme-my-login.php:1075
453
  msgid "To reset your password, visit the following address:"
454
  msgstr ""
455
 
456
+ #: includes/class-theme-my-login.php:1086
457
  msgid "[%s] Password Reset"
458
  msgstr ""
459
 
460
+ #: includes/class-theme-my-login.php:1092
461
+ #: modules/user-moderation/admin/user-moderation-admin.php:252
462
+ #: modules/user-moderation/admin/user-moderation-admin.php:386
463
+ #: modules/user-moderation/admin/user-moderation-admin.php:425
464
  msgid "The e-mail could not be sent."
465
  msgstr ""
466
 
467
+ #: includes/class-theme-my-login.php:1092
468
+ #: modules/user-moderation/admin/user-moderation-admin.php:252
469
+ #: modules/user-moderation/admin/user-moderation-admin.php:386
470
+ #: modules/user-moderation/admin/user-moderation-admin.php:425
471
  msgid "Possible reason: your host may have disabled the mail() function..."
472
  msgstr ""
473
 
474
+ #: includes/class-theme-my-login.php:1115
475
+ #: includes/class-theme-my-login.php:1118
476
+ #: includes/class-theme-my-login.php:1123 modules/security/security.php:180
477
+ #: modules/security/security.php:183 modules/security/security.php:186
478
+ #: modules/security/security.php:189
479
+ #: modules/user-moderation/user-moderation.php:354
480
+ #: modules/user-moderation/user-moderation.php:357
481
+ #: modules/user-moderation/user-moderation.php:362
482
  msgid "Invalid key"
483
  msgstr ""
484
 
485
+ #: includes/class-theme-my-login.php:1163
486
  msgid "<strong>ERROR</strong>: Please enter a username."
487
  msgstr ""
488
 
489
+ #: includes/class-theme-my-login.php:1165
490
  msgid ""
491
  "<strong>ERROR</strong>: This username is invalid because it uses illegal "
492
  "characters. Please enter a valid username."
493
  msgstr ""
494
 
495
+ #: includes/class-theme-my-login.php:1168
496
  msgid ""
497
  "<strong>ERROR</strong>: This username is already registered, please choose "
498
  "another one."
499
  msgstr ""
500
 
501
+ #: includes/class-theme-my-login.php:1173
502
  msgid "<strong>ERROR</strong>: Please type your e-mail address."
503
  msgstr ""
504
 
505
+ #: includes/class-theme-my-login.php:1175
506
  msgid "<strong>ERROR</strong>: The email address isn&#8217;t correct."
507
  msgstr ""
508
 
509
+ #: includes/class-theme-my-login.php:1178
510
  msgid ""
511
  "<strong>ERROR</strong>: This email is already registered, please choose "
512
  "another one."
513
  msgstr ""
514
 
515
+ #: includes/class-theme-my-login.php:1191
516
  msgid ""
517
  "<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a "
518
  "href=\"mailto:%s\">webmaster</a> !"
519
  msgstr ""
520
 
521
+ #: modules/custom-email/admin/custom-email-admin.php:92
522
+ #: modules/custom-email/admin/custom-email-admin.php:150
523
+ msgid "Theme My Login Custom E-mail Settings"
524
+ msgstr ""
525
+
526
+ #: modules/custom-email/admin/custom-email-admin.php:93
527
+ #: templates/profile-form.php:97 templates/register-form.php:17
528
+ msgid "E-mail"
529
+ msgstr ""
530
+
531
+ #: modules/custom-email/admin/custom-email-admin.php:99
532
+ msgid "New User"
533
  msgstr ""
534
 
535
+ #: modules/custom-email/admin/custom-email-admin.php:100
536
+ msgid "New User Admin"
537
+ msgstr ""
538
+
539
+ #: modules/custom-email/admin/custom-email-admin.php:101
540
+ msgid "Retrieve Password"
541
+ msgstr ""
542
+
543
+ #: modules/custom-email/admin/custom-email-admin.php:106
544
+ msgid "User Activation"
545
+ msgstr ""
546
+
547
+ #: modules/custom-email/admin/custom-email-admin.php:107
548
+ msgid "User Approval"
549
+ msgstr ""
550
+
551
+ #: modules/custom-email/admin/custom-email-admin.php:108
552
+ msgid "User Approval Admin"
553
+ msgstr ""
554
+
555
+ #: modules/custom-email/admin/custom-email-admin.php:109
556
+ msgid "User Denial"
557
+ msgstr ""
558
+
559
+ #: modules/custom-email/admin/custom-email-admin.php:179
560
  msgid "This e-mail will be sent to a new user upon registration."
561
  msgstr ""
562
 
563
+ #: modules/custom-email/admin/custom-email-admin.php:180
564
+ #: modules/custom-email/admin/custom-email-admin.php:439
565
  msgid ""
566
  "Please be sure to include the variable %user_pass% if using default "
567
  "passwords or else the user will not know their password!"
568
  msgstr ""
569
 
570
+ #: modules/custom-email/admin/custom-email-admin.php:181
571
+ #: modules/custom-email/admin/custom-email-admin.php:228
572
+ #: modules/custom-email/admin/custom-email-admin.php:286
573
+ #: modules/custom-email/admin/custom-email-admin.php:333
574
+ #: modules/custom-email/admin/custom-email-admin.php:392
575
+ #: modules/custom-email/admin/custom-email-admin.php:440
576
+ #: modules/custom-email/admin/custom-email-admin.php:487
577
+ #: modules/custom-email/admin/custom-email-admin.php:545
578
  msgid "If any field is left empty, the default will be used instead."
579
  msgstr ""
580
 
581
+ #: modules/custom-email/admin/custom-email-admin.php:185
582
+ #: modules/custom-email/admin/custom-email-admin.php:236
583
+ #: modules/custom-email/admin/custom-email-admin.php:290
584
+ #: modules/custom-email/admin/custom-email-admin.php:341
585
+ #: modules/custom-email/admin/custom-email-admin.php:396
586
+ #: modules/custom-email/admin/custom-email-admin.php:444
587
+ #: modules/custom-email/admin/custom-email-admin.php:495
588
+ #: modules/custom-email/admin/custom-email-admin.php:549
589
  msgid "From Name"
590
  msgstr ""
591
 
592
+ #: modules/custom-email/admin/custom-email-admin.php:189
593
+ #: modules/custom-email/admin/custom-email-admin.php:240
594
+ #: modules/custom-email/admin/custom-email-admin.php:294
595
+ #: modules/custom-email/admin/custom-email-admin.php:345
596
+ #: modules/custom-email/admin/custom-email-admin.php:400
597
+ #: modules/custom-email/admin/custom-email-admin.php:448
598
+ #: modules/custom-email/admin/custom-email-admin.php:499
599
+ #: modules/custom-email/admin/custom-email-admin.php:553
600
  msgid "From E-mail"
601
  msgstr ""
602
 
603
+ #: modules/custom-email/admin/custom-email-admin.php:193
604
+ #: modules/custom-email/admin/custom-email-admin.php:244
605
+ #: modules/custom-email/admin/custom-email-admin.php:298
606
+ #: modules/custom-email/admin/custom-email-admin.php:349
607
+ #: modules/custom-email/admin/custom-email-admin.php:404
608
+ #: modules/custom-email/admin/custom-email-admin.php:452
609
+ #: modules/custom-email/admin/custom-email-admin.php:503
610
+ #: modules/custom-email/admin/custom-email-admin.php:557
611
  msgid "E-mail Format"
612
  msgstr ""
613
 
614
+ #: modules/custom-email/admin/custom-email-admin.php:196
615
+ #: modules/custom-email/admin/custom-email-admin.php:247
616
+ #: modules/custom-email/admin/custom-email-admin.php:301
617
+ #: modules/custom-email/admin/custom-email-admin.php:352
618
+ #: modules/custom-email/admin/custom-email-admin.php:407
619
+ #: modules/custom-email/admin/custom-email-admin.php:455
620
+ #: modules/custom-email/admin/custom-email-admin.php:506
621
+ #: modules/custom-email/admin/custom-email-admin.php:560
622
  msgid "Plain Text"
623
  msgstr ""
624
 
625
+ #: modules/custom-email/admin/custom-email-admin.php:197
626
+ #: modules/custom-email/admin/custom-email-admin.php:248
627
+ #: modules/custom-email/admin/custom-email-admin.php:302
628
+ #: modules/custom-email/admin/custom-email-admin.php:353
629
+ #: modules/custom-email/admin/custom-email-admin.php:408
630
+ #: modules/custom-email/admin/custom-email-admin.php:456
631
+ #: modules/custom-email/admin/custom-email-admin.php:507
632
+ #: modules/custom-email/admin/custom-email-admin.php:561
633
  msgid "HTML"
634
  msgstr ""
635
 
636
+ #: modules/custom-email/admin/custom-email-admin.php:202
637
+ #: modules/custom-email/admin/custom-email-admin.php:252
638
+ #: modules/custom-email/admin/custom-email-admin.php:307
639
+ #: modules/custom-email/admin/custom-email-admin.php:358
640
+ #: modules/custom-email/admin/custom-email-admin.php:413
641
+ #: modules/custom-email/admin/custom-email-admin.php:461
642
+ #: modules/custom-email/admin/custom-email-admin.php:512
643
+ #: modules/custom-email/admin/custom-email-admin.php:566
644
  msgid "Subject"
645
  msgstr ""
646
 
647
+ #: modules/custom-email/admin/custom-email-admin.php:206
648
+ #: modules/custom-email/admin/custom-email-admin.php:256
649
+ #: modules/custom-email/admin/custom-email-admin.php:311
650
+ #: modules/custom-email/admin/custom-email-admin.php:362
651
+ #: modules/custom-email/admin/custom-email-admin.php:417
652
+ #: modules/custom-email/admin/custom-email-admin.php:465
653
+ #: modules/custom-email/admin/custom-email-admin.php:516
654
+ #: modules/custom-email/admin/custom-email-admin.php:570
655
  msgid "Message"
656
  msgstr ""
657
 
658
+ #: modules/custom-email/admin/custom-email-admin.php:208
659
+ #: modules/custom-email/admin/custom-email-admin.php:258
660
+ #: modules/custom-email/admin/custom-email-admin.php:313
661
+ #: modules/custom-email/admin/custom-email-admin.php:364
662
+ #: modules/custom-email/admin/custom-email-admin.php:419
663
+ #: modules/custom-email/admin/custom-email-admin.php:467
664
+ #: modules/custom-email/admin/custom-email-admin.php:518
665
+ #: modules/custom-email/admin/custom-email-admin.php:572
666
  msgid "Available Variables"
667
  msgstr ""
668
 
669
+ #: modules/custom-email/admin/custom-email-admin.php:227
 
 
 
 
 
 
670
  msgid ""
671
  "This e-mail will be sent to the e-mail address or addresses (multiple "
672
  "addresses may be separated by commas) specified below, upon new user "
673
  "registration."
674
  msgstr ""
675
 
676
+ #: modules/custom-email/admin/custom-email-admin.php:232
677
+ #: modules/custom-email/admin/custom-email-admin.php:337
678
+ #: modules/custom-email/admin/custom-email-admin.php:491
679
  msgid "To"
680
  msgstr ""
681
 
682
+ #: modules/custom-email/admin/custom-email-admin.php:266
683
+ #: modules/custom-email/admin/custom-email-admin.php:372
684
+ #: modules/custom-email/admin/custom-email-admin.php:526
685
+ msgid "Disable Admin Notification"
686
+ msgstr ""
687
+
688
+ #: modules/custom-email/admin/custom-email-admin.php:284
689
  msgid ""
690
  "This e-mail will be sent to a user when they attempt to recover their "
691
  "password."
692
  msgstr ""
693
 
694
+ #: modules/custom-email/admin/custom-email-admin.php:285
695
  msgid ""
696
  "Please be sure to include the variable %reseturl% or else the user will not "
697
  "be able to recover their password!"
698
  msgstr ""
699
 
700
+ #: modules/custom-email/admin/custom-email-admin.php:332
701
  msgid ""
702
  "This e-mail will be sent to the e-mail address or addresses (multiple "
703
  "addresses may be separated by commas) specified below, upon user password "
704
  "change."
705
  msgstr ""
706
 
707
+ #: modules/custom-email/admin/custom-email-admin.php:390
 
 
 
 
 
708
  msgid ""
709
  "This e-mail will be sent to a new user upon registration when \"E-mail "
710
  "Confirmation\" is checked for \"User Moderation\"."
711
  msgstr ""
712
 
713
+ #: modules/custom-email/admin/custom-email-admin.php:391
714
  msgid ""
715
  "Please be sure to include the variable %activateurl% or else the user will "
716
  "not be able to activate their account!"
717
  msgstr ""
718
 
719
+ #: modules/custom-email/admin/custom-email-admin.php:438
720
  msgid ""
721
  "This e-mail will be sent to a new user upon admin approval when \"Admin "
722
  "Approval\" is checked for \"User Moderation\"."
723
  msgstr ""
724
 
725
+ #: modules/custom-email/admin/custom-email-admin.php:486
726
  msgid ""
727
  "This e-mail will be sent to the e-mail address or addresses (multiple "
728
  "addresses may be separated by commas) specified below upon user registration "
729
  "when \"Admin Approval\" is checked for \"User Moderation\"."
730
  msgstr ""
731
 
732
+ #: modules/custom-email/admin/custom-email-admin.php:544
733
  msgid ""
734
  "This e-mail will be sent to a user who is deleted/denied when \"Admin "
735
  "Approval\" is checked for \"User Moderation\" and the user's role is "
736
  "\"Pending\"."
737
  msgstr ""
738
 
739
+ #: modules/custom-email/custom-email.php:808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
740
  msgid "New user registration on your site %s:"
741
  msgstr ""
742
 
743
+ #: modules/custom-email/custom-email.php:810
744
+ #: modules/user-moderation/user-moderation.php:481
745
  msgid "E-mail: %s"
746
  msgstr ""
747
 
748
+ #: modules/custom-email/custom-email.php:812
749
  msgid "[%s] New User Registration"
750
  msgstr ""
751
 
752
+ #: modules/custom-email/custom-email.php:827
753
+ #: modules/user-moderation/admin/user-moderation-admin.php:377
754
  msgid "Password: %s"
755
  msgstr ""
756
 
757
+ #: modules/custom-email/custom-email.php:830
758
  msgid "[%s] Your username and password"
759
  msgstr ""
760
 
761
+ #: modules/custom-email/custom-email.php:862
762
  msgid "[%s] Password Lost/Changed"
763
  msgstr ""
764
 
765
+ #: modules/custom-email/custom-email.php:863
766
  msgid "Password Lost and Changed for user: %s"
767
  msgstr ""
768
 
769
+ #: modules/custom-passwords/custom-passwords.php:68
770
+ #: templates/login-form.php:16
771
+ msgid "Password"
772
  msgstr ""
773
 
774
+ #: modules/custom-passwords/custom-passwords.php:70
775
+ msgid "Confirm Password"
776
+ msgstr ""
777
+
778
+ #: modules/custom-passwords/custom-passwords.php:100
779
  msgid "(Must be at least 6 characters.)"
780
  msgstr ""
781
 
782
+ #: modules/custom-passwords/custom-passwords.php:102
783
+ msgid "Confirm Password:"
784
+ msgstr ""
785
+
786
+ #: modules/custom-passwords/custom-passwords.php:104
787
  msgid "Confirm that you've typed your password correctly."
788
  msgstr ""
789
 
790
+ #: modules/custom-passwords/custom-passwords.php:141
791
+ msgid "<strong>ERROR</strong>: Please enter your password twice."
792
+ msgstr ""
793
+
794
+ #: modules/custom-passwords/custom-passwords.php:145
795
+ msgid "<strong>ERROR</strong>: Passwords may not contain the character \"\\\"."
796
  msgstr ""
797
 
798
+ #: modules/custom-passwords/custom-passwords.php:149
799
+ msgid ""
800
+ "<strong>ERROR</strong>: Please enter the same password in the two password "
801
+ "fields."
802
  msgstr ""
803
 
804
+ #: modules/custom-passwords/custom-passwords.php:153
805
  msgid ""
806
  "<strong>ERROR</strong>: Your password must be at least 6 characters in "
807
  "length."
808
  msgstr ""
809
 
810
+ #: modules/custom-passwords/custom-passwords.php:282
811
  msgid "Registration complete. You may now log in."
812
  msgstr ""
813
 
814
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:86
815
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:134
816
+ msgid "Theme My Login Custom Redirection Settings"
817
+ msgstr ""
818
+
819
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:87
820
  msgid "Redirection"
821
  msgstr ""
822
 
823
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:167
824
  msgid "Log in"
825
  msgstr ""
826
 
827
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:169
828
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:183
829
  msgid "Default"
830
  msgstr ""
831
 
832
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:170
833
  msgid ""
834
  "Check this option to send the user to their WordPress Dashboard/Profile."
835
  msgstr ""
836
 
837
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:172
838
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:186
839
  msgid "Referer"
840
  msgstr ""
841
 
842
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:173
843
  msgid ""
844
  "Check this option to send the user back to the page they were visiting "
845
  "before logging in."
846
  msgstr ""
847
 
848
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:177
849
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:191
850
  msgid ""
851
  "Check this option to send the user to a custom location, specified by the "
852
  "textbox above."
853
  msgstr ""
854
 
855
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:181
856
+ msgid "Log out"
857
+ msgstr ""
858
+
859
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:184
860
  msgid ""
861
  "Check this option to send the user to the log in page, displaying a message "
862
  "that they have successfully logged out."
863
  msgstr ""
864
 
865
+ #: modules/custom-redirection/admin/custom-redirection-admin.php:187
866
  msgid ""
867
  "Check this option to send the user back to the page they were visiting "
868
  "before logging out. (Note: If the previous page being visited was an admin "
869
  "page, this can have unexpected results.)"
870
  msgstr ""
871
 
872
+ #: modules/custom-user-links/admin/custom-user-links-admin.php:94
873
+ #: modules/custom-user-links/admin/custom-user-links-admin.php:145
874
+ msgid "Theme My Login Custom User Links Settings"
875
+ msgstr ""
876
+
877
+ #: modules/custom-user-links/admin/custom-user-links-admin.php:95
878
  msgid "User Links"
879
  msgstr ""
880
 
881
+ #: modules/custom-user-links/admin/custom-user-links-admin.php:182
882
  #: modules/custom-user-links/admin/custom-user-links-admin.php:232
 
 
883
  msgid "Title"
884
  msgstr ""
885
 
886
+ #: modules/custom-user-links/admin/custom-user-links-admin.php:183
887
  #: modules/custom-user-links/admin/custom-user-links-admin.php:233
 
 
888
  msgid "URL"
889
  msgstr ""
890
 
891
+ #: modules/custom-user-links/admin/custom-user-links-admin.php:206
892
+ msgid "Add Link"
 
 
 
 
893
  msgstr ""
894
 
895
+ #: modules/custom-user-links/admin/custom-user-links-admin.php:236
896
  msgid "Delete"
897
  msgstr ""
898
 
899
+ #: modules/custom-user-links/admin/custom-user-links-admin.php:238
900
  msgid "Update"
901
  msgstr ""
902
 
903
+ #: modules/recaptcha/admin/recaptcha-admin.php:89
904
+ #: modules/recaptcha/admin/recaptcha-admin.php:141
905
+ msgid "Theme My Login reCAPTCHA Settings"
 
 
906
  msgstr ""
907
 
908
+ #: modules/recaptcha/admin/recaptcha-admin.php:90
909
+ msgid "reCAPTCHA"
910
  msgstr ""
911
 
912
+ #: modules/recaptcha/admin/recaptcha-admin.php:98
913
+ msgid "Public Key"
914
  msgstr ""
915
 
916
+ #: modules/recaptcha/admin/recaptcha-admin.php:99
917
+ msgid "Private Key"
918
  msgstr ""
919
 
920
+ #: modules/recaptcha/admin/recaptcha-admin.php:100
921
+ msgid "Theme"
922
+ msgstr ""
923
+
924
+ #: modules/recaptcha/admin/recaptcha-admin.php:123
925
+ msgctxt "recaptcha theme"
926
+ msgid "Red (Default)"
927
+ msgstr ""
928
+
929
+ #: modules/recaptcha/admin/recaptcha-admin.php:124
930
+ msgctxt "recaptcha theme"
931
+ msgid "White"
932
+ msgstr ""
933
+
934
+ #: modules/recaptcha/admin/recaptcha-admin.php:125
935
+ msgctxt "recaptcha theme"
936
+ msgid "Black Glass"
937
+ msgstr ""
938
+
939
+ #: modules/recaptcha/admin/recaptcha-admin.php:126
940
+ msgctxt "recaptcha theme"
941
+ msgid "Clean"
942
+ msgstr ""
943
+
944
+ #: modules/recaptcha/recaptcha.php:128
945
+ msgid "<strong>ERROR</strong>: Invalid reCAPTCHA private key."
946
+ msgstr ""
947
+
948
+ #: modules/recaptcha/recaptcha.php:131
949
+ msgid "<strong>ERROR</strong>: Invalid reCAPTCHA challenge parameter."
950
+ msgstr ""
951
+
952
+ #: modules/recaptcha/recaptcha.php:134
953
+ msgid "<strong>ERROR</strong>: Incorrect captcha code."
954
+ msgstr ""
955
+
956
+ #: modules/recaptcha/recaptcha.php:138
957
+ msgid "<strong>ERROR</strong>: Unable to reach the reCAPTCHA server."
958
  msgstr ""
959
 
960
+ #: modules/security/admin/security-admin.php:89
961
+ #: modules/security/admin/security-admin.php:121
962
+ msgid "Theme My Login Security Settings"
963
+ msgstr ""
964
+
965
+ #: modules/security/admin/security-admin.php:90
966
  msgid "Security"
967
  msgstr ""
968
 
969
+ #: modules/security/admin/security-admin.php:98
970
  msgid "Private Site"
971
  msgstr ""
972
 
973
+ #: modules/security/admin/security-admin.php:99
974
+ msgid "Private Login"
975
+ msgstr ""
976
+
977
+ #: modules/security/admin/security-admin.php:100
978
+ msgid "Login Attempts"
979
+ msgstr ""
980
+
981
  #: modules/security/admin/security-admin.php:135
982
  msgid "Require users to be logged in to view site"
983
  msgstr ""
984
 
985
+ #: modules/security/admin/security-admin.php:148
986
+ msgid "Disable <tt>wp-login.php</tt>"
987
  msgstr ""
988
 
989
+ #: modules/security/admin/security-admin.php:161
990
  msgid "minute(s)"
991
  msgstr ""
992
 
993
+ #: modules/security/admin/security-admin.php:162
994
  msgid "hour(s)"
995
  msgstr ""
996
 
997
+ #: modules/security/admin/security-admin.php:163
998
  msgid "day(s)"
999
  msgstr ""
1000
 
1001
+ #: modules/security/admin/security-admin.php:190
1002
  msgid ""
1003
+ "After %1$s failed login attempts within %2$s %3$s, lockout the account for "
1004
+ "%4$s %5$s."
1005
  msgstr ""
1006
 
1007
+ #: modules/security/admin/security-admin.php:241
1008
+ #: modules/security/admin/security-admin.php:244
1009
+ #: modules/user-moderation/admin/user-moderation-admin.php:232
1010
+ #: modules/user-moderation/admin/user-moderation-admin.php:242
1011
+ msgid "You can&#8217;t edit that user."
1012
  msgstr ""
1013
 
1014
+ #: modules/security/admin/security-admin.php:276
1015
+ msgid "User locked."
1016
  msgstr ""
1017
 
1018
+ #: modules/security/admin/security-admin.php:278
1019
+ msgid "User unlocked."
1020
  msgstr ""
1021
 
1022
+ #: modules/security/admin/security-admin.php:301
1023
+ msgid "Unlock"
1024
  msgstr ""
1025
 
1026
+ #: modules/security/admin/security-admin.php:303
1027
+ msgid "Lock"
1028
  msgstr ""
1029
 
1030
+ #: modules/security/security.php:162
1031
+ msgid "Your account has been unlocked. You may now log in."
1032
  msgstr ""
1033
 
1034
+ #: modules/security/security.php:221 modules/security/security.php:244
1035
+ msgid ""
1036
+ "<strong>ERROR</strong>: This account has been locked because of too many "
1037
+ "failed login attempts. You may try again in %s."
1038
  msgstr ""
1039
 
1040
+ #: modules/security/security.php:223
1041
+ msgid "<strong>ERROR</strong>: This account has been locked."
1042
  msgstr ""
1043
 
1044
+ #: modules/security/security.php:288
1045
+ msgid "Failed Login Attempts"
 
1046
  msgstr ""
1047
 
1048
+ #: modules/security/security.php:292
1049
+ msgid "IP Address"
1050
  msgstr ""
1051
 
1052
+ #: modules/security/security.php:293
1053
+ msgid "Date"
 
1054
  msgstr ""
1055
 
1056
+ #: modules/security/security.php:296 modules/security/security.php:599
1057
+ msgid "Y/m/d g:i:s A"
1058
  msgstr ""
1059
 
1060
+ #: modules/security/security.php:301
1061
+ msgid "%s ago"
1062
  msgstr ""
1063
 
1064
+ #: modules/security/security.php:303
1065
+ msgid "Y/m/d"
 
 
1066
  msgstr ""
1067
 
1068
+ #: modules/security/security.php:591
1069
+ msgid "[%s] Account Locked"
1070
  msgstr ""
1071
 
1072
+ #: modules/security/security.php:592
1073
+ msgid ""
1074
+ "For your security, your account has been locked because of too many failed "
1075
+ "login attempts. To unlock your account please click the following link: "
1076
  msgstr ""
1077
 
1078
+ #: modules/security/security.php:597
1079
+ msgid "The following attempts resulted in the lock:"
1080
  msgstr ""
1081
 
1082
+ #: modules/themed-profiles/admin/themed-profiles-admin.php:73
1083
  msgid "Your Profile"
1084
  msgstr ""
1085
 
1086
+ #: modules/themed-profiles/admin/themed-profiles-admin.php:108
1087
+ #: modules/themed-profiles/admin/themed-profiles-admin.php:143
1088
+ msgid "Theme My Login Themed Profiles Settings"
 
 
 
1089
  msgstr ""
1090
 
1091
+ #: modules/themed-profiles/admin/themed-profiles-admin.php:109
1092
+ #: modules/themed-profiles/admin/themed-profiles-admin.php:117
1093
+ msgid "Themed Profiles"
1094
  msgstr ""
1095
 
1096
+ #: modules/themed-profiles/admin/themed-profiles-admin.php:118
1097
+ msgid "Restrict Admin Access"
1098
  msgstr ""
1099
 
1100
+ #: modules/themed-profiles/themed-profiles.php:223
1101
+ msgid "You do not have permission to edit this user."
1102
  msgstr ""
1103
 
1104
+ #: modules/themed-profiles/themed-profiles.php:260
1105
+ msgid "Profile updated."
1106
  msgstr ""
1107
 
1108
+ #: modules/user-moderation/admin/user-moderation-admin.php:86
1109
+ msgid "User Moderation is not currently compatible with multisite."
1110
  msgstr ""
1111
 
1112
+ #: modules/user-moderation/admin/user-moderation-admin.php:136
1113
+ #: modules/user-moderation/admin/user-moderation-admin.php:168
1114
+ msgid "Theme My Login User Moderation Settings"
1115
  msgstr ""
1116
 
1117
+ #: modules/user-moderation/admin/user-moderation-admin.php:137
1118
  msgid "Moderation"
1119
  msgstr ""
1120
 
1121
+ #: modules/user-moderation/admin/user-moderation-admin.php:145
1122
+ msgid "Moderation Type"
1123
  msgstr ""
1124
 
1125
+ #: modules/user-moderation/admin/user-moderation-admin.php:182
1126
  msgid "None"
1127
  msgstr ""
1128
 
1129
+ #: modules/user-moderation/admin/user-moderation-admin.php:183
1130
  msgid "Check this option to require no moderation."
1131
  msgstr ""
1132
 
1133
+ #: modules/user-moderation/admin/user-moderation-admin.php:186
1134
  msgid "E-mail Confirmation"
1135
  msgstr ""
1136
 
1137
+ #: modules/user-moderation/admin/user-moderation-admin.php:187
1138
  msgid ""
1139
  "Check this option to require new users to confirm their e-mail address "
1140
  "before they may log in."
1141
  msgstr ""
1142
 
1143
+ #: modules/user-moderation/admin/user-moderation-admin.php:190
1144
  msgid "Admin Approval"
1145
  msgstr ""
1146
 
1147
+ #: modules/user-moderation/admin/user-moderation-admin.php:191
1148
  msgid ""
1149
  "Check this option to require new users to be approved by an administrator "
1150
  "before they may log in."
1151
  msgstr ""
1152
 
1153
+ #: modules/user-moderation/admin/user-moderation-admin.php:275
1154
+ msgid "User approved."
1155
  msgstr ""
1156
 
1157
+ #: modules/user-moderation/admin/user-moderation-admin.php:277
1158
+ msgid "Activation sent."
 
 
1159
  msgstr ""
1160
 
1161
+ #: modules/user-moderation/admin/user-moderation-admin.php:308
1162
+ msgid "Resend Activation"
1163
  msgstr ""
1164
 
1165
+ #: modules/user-moderation/admin/user-moderation-admin.php:318
1166
+ msgid "Approve"
1167
  msgstr ""
1168
 
1169
+ #: modules/user-moderation/admin/user-moderation-admin.php:375
1170
+ msgid "You have been approved access to %s"
 
 
1171
  msgstr ""
1172
 
1173
+ #: modules/user-moderation/admin/user-moderation-admin.php:380
1174
+ msgid "[%s] Registration Approved"
1175
  msgstr ""
1176
 
1177
+ #: modules/user-moderation/admin/user-moderation-admin.php:418
1178
+ msgid "You have been denied access to %s"
1179
  msgstr ""
1180
 
1181
+ #: modules/user-moderation/admin/user-moderation-admin.php:419
1182
+ msgid "[%s] Registration Denied"
1183
+ msgstr ""
1184
+
1185
+ #: modules/user-moderation/user-moderation.php:157
1186
+ msgid ""
1187
+ "<strong>ERROR</strong>: You have not yet confirmed your e-mail address. <a "
1188
+ "href=\"%s\">Resend activation</a>?"
1189
+ msgstr ""
1190
+
1191
+ #: modules/user-moderation/user-moderation.php:161
1192
+ msgid "<strong>ERROR</strong>: Your registration has not yet been approved."
1193
  msgstr ""
1194
 
1195
+ #: modules/user-moderation/user-moderation.php:200
1196
  msgid ""
1197
  "Your registration was successful but you must now confirm your email address "
1198
  "before you can log in. Please check your email and click on the link "
1199
  "provided."
1200
  msgstr ""
1201
 
1202
+ #: modules/user-moderation/user-moderation.php:203
1203
  msgid ""
1204
  "Your registration was successful but you must now be approved by an "
1205
  "administrator before you can log in. You will be notified by e-mail once "
1206
  "your account has been reviewed."
1207
  msgstr ""
1208
 
1209
+ #: modules/user-moderation/user-moderation.php:212
1210
  msgid "Your account has been activated. You may now log in."
1211
  msgstr ""
1212
 
1213
+ #: modules/user-moderation/user-moderation.php:214
1214
  msgid ""
1215
  "Your account has been activated. Please check your e-mail for your password."
1216
  msgstr ""
1217
 
1218
+ #: modules/user-moderation/user-moderation.php:217
1219
  msgid "<strong>ERROR</strong>: Sorry, that key does not appear to be valid."
1220
  msgstr ""
1221
 
1222
+ #: modules/user-moderation/user-moderation.php:225
1223
  msgid "<strong>ERROR</strong>: Sorry, the activation e-mail could not be sent."
1224
  msgstr ""
1225
 
1226
+ #: modules/user-moderation/user-moderation.php:228
1227
  msgid ""
1228
  "The activation e-mail has been sent to the e-mail address with which you "
1229
  "registered. Please check your email and click on the link provided."
1230
  msgstr ""
1231
 
1232
+ #: modules/user-moderation/user-moderation.php:443
1233
+ msgid "[%s] Activate Your Account"
 
1234
  msgstr ""
1235
 
1236
+ #: modules/user-moderation/user-moderation.php:444
1237
+ msgid ""
1238
+ "Thanks for registering at %s! To complete the activation of your account "
1239
+ "please click the following link: "
1240
+ msgstr ""
1241
+
1242
+ #: modules/user-moderation/user-moderation.php:477
1243
+ msgid "[%s] New User Awaiting Approval"
1244
  msgstr ""
1245
 
1246
+ #: modules/user-moderation/user-moderation.php:479
1247
+ msgid "New user requires approval on your blog %s:"
1248
+ msgstr ""
1249
+
1250
+ #: modules/user-moderation/user-moderation.php:482
1251
+ msgid "To approve or deny this user:"
1252
+ msgstr ""
1253
+
1254
+ #: templates/login-form.php:12 templates/profile-form.php:37
1255
+ #: templates/register-form.php:12
1256
+ msgid "Username"
1257
+ msgstr ""
1258
+
1259
+ #: templates/login-form.php:24
1260
  msgid "Remember Me"
1261
  msgstr ""
1262
 
1264
  msgid "Username or E-mail:"
1265
  msgstr ""
1266
 
1267
+ #: templates/lostpassword-form.php:19
1268
  msgid "Get New Password"
1269
  msgstr ""
1270
 
1293
  "user. Now have at it!"
1294
  msgstr ""
1295
 
1296
+ #: templates/ms-signup-another-blog-form.php:34
1297
+ #: templates/ms-signup-blog-form.php:15
1298
  msgid "Site Name:"
1299
  msgstr ""
1300
 
1301
+ #: templates/ms-signup-another-blog-form.php:36
1302
+ #: templates/ms-signup-blog-form.php:17
1303
  msgid "Site Domain:"
1304
  msgstr ""
1305
 
1306
+ #: templates/ms-signup-another-blog-form.php:53
1307
+ #: templates/ms-signup-blog-form.php:34
1308
  msgid "sitename"
1309
  msgstr ""
1310
 
1311
+ #: templates/ms-signup-another-blog-form.php:55
1312
+ #: templates/ms-signup-blog-form.php:36
1313
  msgid "domain"
1314
  msgstr ""
1315
 
1316
+ #: templates/ms-signup-another-blog-form.php:56
1317
+ #: templates/ms-signup-blog-form.php:37
1318
  msgid "Your address will be %s."
1319
  msgstr ""
1320
 
1321
+ #: templates/ms-signup-another-blog-form.php:56
1322
+ #: templates/ms-signup-blog-form.php:37
1323
  msgid ""
1324
  "Must be at least 4 characters, letters and numbers only. It cannot be "
1325
  "changed, so choose carefully!"
1326
  msgstr ""
1327
 
1328
+ #: templates/ms-signup-another-blog-form.php:59
1329
+ #: templates/ms-signup-blog-form.php:40
1330
  msgid "Site Title:"
1331
  msgstr ""
1332
 
1333
+ #: templates/ms-signup-another-blog-form.php:67
1334
+ #: templates/ms-signup-blog-form.php:48
1335
  msgid "Privacy:"
1336
  msgstr ""
1337
 
1338
+ #: templates/ms-signup-another-blog-form.php:68
1339
+ #: templates/ms-signup-blog-form.php:49
1340
+ msgid "Allow search engines to index this site."
 
 
1341
  msgstr ""
1342
 
1343
+ #: templates/ms-signup-another-blog-form.php:72
1344
+ #: templates/ms-signup-blog-form.php:53
1345
  msgid "Yes"
1346
  msgstr ""
1347
 
1348
+ #: templates/ms-signup-another-blog-form.php:76
1349
+ #: templates/ms-signup-blog-form.php:57
1350
  msgid "No"
1351
  msgstr ""
1352
 
1353
+ #: templates/ms-signup-another-blog-form.php:83
1354
  msgid "Create Site"
1355
  msgstr ""
1356
 
1357
+ #: templates/ms-signup-blog-form.php:64
1358
  msgid "Signup"
1359
  msgstr ""
1360
 
1362
  msgid "Get your own %s account in seconds"
1363
  msgstr ""
1364
 
1365
+ #: templates/ms-signup-user-form.php:20
1366
  msgid "(Must be at least 4 characters, letters and numbers only.)"
1367
  msgstr ""
1368
 
1369
+ #: templates/ms-signup-user-form.php:22
1370
  msgid "Email&nbsp;Address:"
1371
  msgstr ""
1372
 
1373
+ #: templates/ms-signup-user-form.php:28
1374
  msgid ""
1375
  "We send your registration email to this address. (Double-check your email "
1376
  "address before continuing.)"
1377
  msgstr ""
1378
 
1379
+ #: templates/ms-signup-user-form.php:42
1380
  msgid "Gimme a site!"
1381
  msgstr ""
1382
 
1383
+ #: templates/ms-signup-user-form.php:45
1384
  msgid "Just a username, please."
1385
  msgstr ""
1386
 
1387
+ #: templates/ms-signup-user-form.php:49
1388
  msgid "Next"
1389
  msgstr ""
1390
 
1391
+ #: templates/profile-form.php:18
1392
  msgid "Personal Options"
1393
  msgstr ""
1394
 
1395
+ #: templates/profile-form.php:22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1396
  msgid "Toolbar"
1397
  msgstr ""
1398
 
1399
+ #: templates/profile-form.php:25
1400
  msgid "Show Toolbar when viewing site"
1401
  msgstr ""
1402
 
1403
+ #: templates/profile-form.php:33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1404
  msgid "Name"
1405
  msgstr ""
1406
 
1407
+ #: templates/profile-form.php:38
1408
  msgid "Your username cannot be changed."
1409
  msgstr ""
1410
 
1411
+ #: templates/profile-form.php:42
1412
+ msgid "First Name"
1413
  msgstr ""
1414
 
1415
+ #: templates/profile-form.php:47
1416
+ msgid "Last Name"
1417
  msgstr ""
1418
 
1419
+ #: templates/profile-form.php:52
1420
  msgid "Nickname"
1421
  msgstr ""
1422
 
1423
+ #: templates/profile-form.php:52 templates/profile-form.php:97
1424
  msgid "(required)"
1425
  msgstr ""
1426
 
1427
+ #: templates/profile-form.php:57
1428
  msgid "Display name publicly as"
1429
  msgstr ""
1430
 
1431
+ #: templates/profile-form.php:93
1432
  msgid "Contact Info"
1433
  msgstr ""
1434
 
1435
+ #: templates/profile-form.php:102
1436
  msgid "Website"
1437
  msgstr ""
1438
 
1439
+ #: templates/profile-form.php:118
1440
  msgid "About Yourself"
1441
  msgstr ""
1442
 
1443
+ #: templates/profile-form.php:122
1444
  msgid "Biographical Info"
1445
  msgstr ""
1446
 
1447
+ #: templates/profile-form.php:124
1448
  msgid ""
1449
  "Share a little biographical information to fill out your profile. This may "
1450
  "be shown publicly."
1451
  msgstr ""
1452
 
1453
+ #: templates/profile-form.php:132
1454
  msgid "New Password"
1455
  msgstr ""
1456
 
1457
+ #: templates/profile-form.php:133
1458
  msgid ""
1459
  "If you would like to change the password type a new one. Otherwise leave "
1460
  "this blank."
1461
  msgstr ""
1462
 
1463
+ #: templates/profile-form.php:134
1464
  msgid "Type your new password again."
1465
  msgstr ""
1466
 
1467
+ #: templates/profile-form.php:135 templates/resetpass-form.php:21
1468
+ msgid "Strength indicator"
1469
+ msgstr ""
1470
+
1471
+ #: templates/profile-form.php:136 templates/resetpass-form.php:23
1472
  msgid ""
1473
  "Hint: The password should be at least seven characters long. To make it "
1474
  "stronger, use upper and lower case letters, numbers and symbols like ! \" ? "
1475
  "$ % ^ &amp; )."
1476
  msgstr ""
1477
 
1478
+ #: templates/profile-form.php:148
 
 
 
 
1479
  msgid "Update Profile"
1480
  msgstr ""
1481
 
1487
  msgid "New password"
1488
  msgstr ""
1489
 
1490
+ #: templates/resetpass-form.php:17
1491
  msgid "Confirm new password"
1492
  msgstr ""
1493
 
modules/ajax/ajax.php CHANGED
@@ -74,7 +74,7 @@ class Theme_My_Login_Ajax extends Theme_My_Login_Abstract {
74
  if ( Theme_My_Login::is_tml_page() && isset( $_GET['ajax'] ) ) {
75
  define( 'DOING_AJAX', true );
76
 
77
- $instance =& $theme_my_login->get_instance();
78
 
79
  $instance->set_option( 'default_action', ! empty( $theme_my_login->request_action ) ? $theme_my_login->request_action : 'login' );
80
  $instance->set_option( 'gravatar_size', 75 );
74
  if ( Theme_My_Login::is_tml_page() && isset( $_GET['ajax'] ) ) {
75
  define( 'DOING_AJAX', true );
76
 
77
+ $instance = $theme_my_login->get_instance();
78
 
79
  $instance->set_option( 'default_action', ! empty( $theme_my_login->request_action ) ? $theme_my_login->request_action : 'login' );
80
  $instance->set_option( 'gravatar_size', 75 );
modules/custom-email/custom-email.php CHANGED
@@ -805,29 +805,29 @@ class Theme_My_Login_Custom_Email extends Theme_My_Login_Abstract {
805
  }
806
 
807
  if ( apply_filters( 'send_new_user_admin_notification', true ) ) {
808
- $message = sprintf( __( 'New user registration on your site %s:' ), $blogname ) . "\r\n\r\n";
809
- $message .= sprintf( __( 'Username: %s' ), $user_login ) . "\r\n\r\n";
810
- $message .= sprintf( __( 'E-mail: %s' ), $user_email ) . "\r\n";
811
 
812
- $title = sprintf( __( '[%s] New User Registration' ), $blogname );
813
 
814
  $title = apply_filters( 'new_user_admin_notification_title', $title, $user_id );
815
  $message = apply_filters( 'new_user_admin_notification_message', $message, $user_id );
816
 
817
  $to = apply_filters( 'new_user_admin_notification_mail_to', get_option( 'admin_email' ) );
818
 
819
- @wp_mail( $to, $title, $message );
820
  }
821
 
822
  if ( empty( $plaintext_pass ) )
823
  return;
824
 
825
  if ( apply_filters( 'send_new_user_notification', true ) ) {
826
- $message = sprintf( __( 'Username: %s' ), $user_login ) . "\r\n";
827
- $message .= sprintf( __( 'Password: %s' ), $plaintext_pass ) . "\r\n";
828
  $message .= wp_login_url() . "\r\n";
829
 
830
- $title = sprintf( __( '[%s] Your username and password' ), $blogname );
831
 
832
  $title = apply_filters( 'new_user_notification_title', $title, $user_id );
833
  $message = apply_filters( 'new_user_notification_message', $message, $plaintext_pass, $user_id );
@@ -859,8 +859,8 @@ class Theme_My_Login_Custom_Email extends Theme_My_Login_Abstract {
859
  $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
860
  }
861
 
862
- $title = sprintf( __( '[%s] Password Lost/Changed' ), $blogname );
863
- $message = sprintf( __( 'Password Lost and Changed for user: %s' ), $user->user_login ) . "\r\n";
864
 
865
  $title = apply_filters( 'password_change_notification_title', $title, $user->ID );
866
  $message = apply_filters( 'password_change_notification_message', $message, $user->ID );
805
  }
806
 
807
  if ( apply_filters( 'send_new_user_admin_notification', true ) ) {
808
+ $message = sprintf( __( 'New user registration on your site %s:', 'theme-my-login' ), $blogname ) . "\r\n\r\n";
809
+ $message .= sprintf( __( 'Username: %s' , 'theme-my-login' ), $user_login ) . "\r\n\r\n";
810
+ $message .= sprintf( __( 'E-mail: %s' , 'theme-my-login' ), $user_email ) . "\r\n";
811
 
812
+ $title = sprintf( __( '[%s] New User Registration' , 'theme-my-login' ), $blogname );
813
 
814
  $title = apply_filters( 'new_user_admin_notification_title', $title, $user_id );
815
  $message = apply_filters( 'new_user_admin_notification_message', $message, $user_id );
816
 
817
  $to = apply_filters( 'new_user_admin_notification_mail_to', get_option( 'admin_email' ) );
818
 
819
+ @wp_mail( $to, $title, $message );
820
  }
821
 
822
  if ( empty( $plaintext_pass ) )
823
  return;
824
 
825
  if ( apply_filters( 'send_new_user_notification', true ) ) {
826
+ $message = sprintf( __( 'Username: %s', 'theme-my-login' ), $user_login ) . "\r\n";
827
+ $message .= sprintf( __( 'Password: %s', 'theme-my-login' ), $plaintext_pass ) . "\r\n";
828
  $message .= wp_login_url() . "\r\n";
829
 
830
+ $title = sprintf( __( '[%s] Your username and password', 'theme-my-login' ), $blogname );
831
 
832
  $title = apply_filters( 'new_user_notification_title', $title, $user_id );
833
  $message = apply_filters( 'new_user_notification_message', $message, $plaintext_pass, $user_id );
859
  $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
860
  }
861
 
862
+ $title = sprintf( __( '[%s] Password Lost/Changed' , 'theme-my-login' ), $blogname );
863
+ $message = sprintf( __( 'Password Lost and Changed for user: %s', 'theme-my-login' ), $user->user_login ) . "\r\n";
864
 
865
  $title = apply_filters( 'password_change_notification_title', $title, $user->ID );
866
  $message = apply_filters( 'password_change_notification_message', $message, $user->ID );
modules/custom-passwords/custom-passwords.php CHANGED
@@ -63,9 +63,9 @@ class Theme_My_Login_Custom_Passwords extends Theme_My_Login_Abstract {
63
  * @access public
64
  */
65
  public function password_fields() {
66
- $template =& Theme_My_Login::get_object()->get_active_instance();
67
  ?>
68
- <p><label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'Password' ); ?></label>
69
  <input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /></p>
70
  <p><label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm Password', 'theme-my-login' ); ?></label>
71
  <input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /></p>
@@ -84,7 +84,7 @@ class Theme_My_Login_Custom_Passwords extends Theme_My_Login_Abstract {
84
  public function ms_password_fields() {
85
  $theme_my_login = Theme_My_Login::get_object();
86
 
87
- $template =& $theme_my_login->get_active_instance();
88
 
89
  $errors = array();
90
  foreach ( $theme_my_login->errors->get_error_codes() as $code ) {
@@ -138,15 +138,15 @@ class Theme_My_Login_Custom_Passwords extends Theme_My_Login_Abstract {
138
 
139
  // Make sure passwords aren't empty
140
  if ( empty( $_POST['pass1'] ) || empty( $_POST['pass2'] ) ) {
141
- $errors->add( 'empty_password', __( '<strong>ERROR</strong>: Please enter your password twice.' ) );
142
 
143
  // Make sure there's no "\" in the password
144
  } elseif ( false !== strpos( stripslashes( $_POST['pass1'] ), "\\" ) ) {
145
- $errors->add( 'password_backslash', __( '<strong>ERROR</strong>: Passwords may not contain the character "\\".' ) );
146
 
147
  // Make sure passwords match
148
  } elseif ( $_POST['pass1'] != $_POST['pass2'] ) {
149
- $errors->add( 'password_mismatch', __( '<strong>ERROR</strong>: Please enter the same password in the two password fields.' ) );
150
 
151
  // Make sure password is long enough
152
  } elseif ( strlen( $_POST['pass1'] ) < 6 ) {
63
  * @access public
64
  */
65
  public function password_fields() {
66
+ $template = Theme_My_Login::get_object()->get_active_instance();
67
  ?>
68
+ <p><label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'Password', 'theme-my-login' ); ?></label>
69
  <input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /></p>
70
  <p><label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm Password', 'theme-my-login' ); ?></label>
71
  <input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /></p>
84
  public function ms_password_fields() {
85
  $theme_my_login = Theme_My_Login::get_object();
86
 
87
+ $template = $theme_my_login->get_active_instance();
88
 
89
  $errors = array();
90
  foreach ( $theme_my_login->errors->get_error_codes() as $code ) {
138
 
139
  // Make sure passwords aren't empty
140
  if ( empty( $_POST['pass1'] ) || empty( $_POST['pass2'] ) ) {
141
+ $errors->add( 'empty_password', __( '<strong>ERROR</strong>: Please enter your password twice.', 'theme-my-login' ) );
142
 
143
  // Make sure there's no "\" in the password
144
  } elseif ( false !== strpos( stripslashes( $_POST['pass1'] ), "\\" ) ) {
145
+ $errors->add( 'password_backslash', __( '<strong>ERROR</strong>: Passwords may not contain the character "\\".', 'theme-my-login' ) );
146
 
147
  // Make sure passwords match
148
  } elseif ( $_POST['pass1'] != $_POST['pass2'] ) {
149
+ $errors->add( 'password_mismatch', __( '<strong>ERROR</strong>: Please enter the same password in the two password fields.', 'theme-my-login' ) );
150
 
151
  // Make sure password is long enough
152
  } elseif ( strlen( $_POST['pass1'] ) < 6 ) {
modules/custom-redirection/custom-redirection.php CHANGED
@@ -89,7 +89,7 @@ class Theme_My_Login_Custom_Redirection extends Theme_My_Login_Abstract {
89
  * @access public
90
  */
91
  public function login_form() {
92
- $template =& Theme_My_Login::get_object()->get_active_instance();
93
  echo wp_original_referer_field( false, $template->get_option( 'instance' ) ? 'current' : 'previous' ) . "\n";
94
  }
95
 
89
  * @access public
90
  */
91
  public function login_form() {
92
+ $template = Theme_My_Login::get_object()->get_active_instance();
93
  echo wp_original_referer_field( false, $template->get_option( 'instance' ) ? 'current' : 'previous' ) . "\n";
94
  }
95
 
modules/custom-user-links/admin/custom-user-links-admin.php CHANGED
@@ -45,7 +45,7 @@ class Theme_My_Login_Custom_User_Links_Admin extends Theme_My_Login_Abstract {
45
  */
46
  protected function load() {
47
  add_action( 'tml_uninstall_custom-user-links/custom-user-links.php', array( &$this, 'uninstall' ) );
48
-
49
  add_action( 'admin_menu', array( &$this, 'admin_menu' ) );
50
  add_action( 'admin_init', array( &$this, 'admin_init' ) );
51
 
@@ -179,8 +179,8 @@ class Theme_My_Login_Custom_User_Links_Admin extends Theme_My_Login_Abstract {
179
  <table id="<?php echo $role; ?>-link-table"<?php if ( empty( $links ) ) echo ' style="display: none;"'; ?> class="sortable user-links">
180
  <thead>
181
  <tr>
182
- <th class="left"><?php _e( 'Title' ); ?></th>
183
- <th><?php _e( 'URL' ); ?></th>
184
  <th></th>
185
  </tr>
186
  </thead>
@@ -203,7 +203,7 @@ class Theme_My_Login_Custom_User_Links_Admin extends Theme_My_Login_Abstract {
203
  <td class="left"><input id="new_user_link[<?php echo $role; ?>][title]" name="new_user_link[<?php echo $role; ?>][title]" type="text" size="20" /></td>
204
  <td class="center"><input id="new_user_link[<?php echo $role; ?>][url]" name="new_user_link[<?php echo $role; ?>][url]" type="text" size="20" /></td>
205
  <td class="submit">
206
- <?php submit_button( __( 'Add Link' ), "add:$role-link-list:new-$role-link", "add_new_user_link[$role]", false, array( 'id' => "new-$role-link-submit", 'data-wp-lists' => "add:$role-link-list:new-$role-link" ) ); ?>
207
  <?php wp_nonce_field( 'add-user-link', '_ajax_nonce-add-user-link', false ); ?>
208
  </td>
209
  </tr>
@@ -229,13 +229,13 @@ class Theme_My_Login_Custom_User_Links_Admin extends Theme_My_Login_Abstract {
229
  $update_nonce = wp_create_nonce( 'add-user-link' );
230
 
231
  $r .= "\n\t\t<tr id='$role-link-{$link['id']}'>";
232
- $r .= "\n\t\t\t<td class='left'><label class='screen-reader-text' for='user_links[$role][{$link['id']}][title]'>" . __( 'Title' ) . "</label><input name='user_links[$role][{$link['id']}][title]' id='user_links[$role][{$link['id']}][title]' type='text' size='20' value='{$link['title']}' /></td>";
233
- $r .= "\n\t\t\t<td class='center'><label class='screen-reader-text' for='user_links[$role][{$link['id']}][url]'>" . __( 'URL' ) . "</label><input name='user_links[$role][{$link['id']}][url]' id='user_links[$role][{$link['id']}][url]' type='text' size='20' value='{$link['url']}' /></td>";
234
  $r .= "\n\t\t\t<td class='submit'>";
235
  $r .= "\n\t\t\t\t";
236
- $r .= get_submit_button( __( 'Delete' ), "delete:$role-link-list:$role-link-{$link['id']}::_ajax_nonce=$delete_nonce deletelink", "deletelink[{$link['id']}]", false, array( 'data-wp-lists' => "delete:$role-link-list:$role-link-{$link['id']}::_ajax_nonce=$delete_nonce" ) );
237
  $r .= "\n\t\t\t\t";
238
- $r .= get_submit_button( __( 'Update' ), "add:$role-link-list:$role-link-{$link['id']}::_ajax_nonce-add-user-link=$update_nonce updatelink", "$role-link-{$link['id']}-submit", false, array( 'data-wp-lists' => "add:$role-link-list:$role-link-{$link['id']}::_ajax_nonce-add-user-link=$update_nonce" ) );
239
  $r .= "\n\t\t\t\t";
240
  $r .= wp_nonce_field( 'change-user-link', '_ajax_nonce', false, false );
241
  $r .= "\n\t\t\t</td>";
45
  */
46
  protected function load() {
47
  add_action( 'tml_uninstall_custom-user-links/custom-user-links.php', array( &$this, 'uninstall' ) );
48
+
49
  add_action( 'admin_menu', array( &$this, 'admin_menu' ) );
50
  add_action( 'admin_init', array( &$this, 'admin_init' ) );
51
 
179
  <table id="<?php echo $role; ?>-link-table"<?php if ( empty( $links ) ) echo ' style="display: none;"'; ?> class="sortable user-links">
180
  <thead>
181
  <tr>
182
+ <th class="left"><?php _e( 'Title', 'theme-my-login' ); ?></th>
183
+ <th><?php _e( 'URL', 'theme-my-login' ); ?></th>
184
  <th></th>
185
  </tr>
186
  </thead>
203
  <td class="left"><input id="new_user_link[<?php echo $role; ?>][title]" name="new_user_link[<?php echo $role; ?>][title]" type="text" size="20" /></td>
204
  <td class="center"><input id="new_user_link[<?php echo $role; ?>][url]" name="new_user_link[<?php echo $role; ?>][url]" type="text" size="20" /></td>
205
  <td class="submit">
206
+ <?php submit_button( __( 'Add Link', 'theme-my-login' ), "add:$role-link-list:new-$role-link", "add_new_user_link[$role]", false, array( 'id' => "new-$role-link-submit", 'data-wp-lists' => "add:$role-link-list:new-$role-link" ) ); ?>
207
  <?php wp_nonce_field( 'add-user-link', '_ajax_nonce-add-user-link', false ); ?>
208
  </td>
209
  </tr>
229
  $update_nonce = wp_create_nonce( 'add-user-link' );
230
 
231
  $r .= "\n\t\t<tr id='$role-link-{$link['id']}'>";
232
+ $r .= "\n\t\t\t<td class='left'><label class='screen-reader-text' for='user_links[$role][{$link['id']}][title]'>" . __( 'Title', 'theme-my-login' ) . "</label><input name='user_links[$role][{$link['id']}][title]' id='user_links[$role][{$link['id']}][title]' type='text' size='20' value='{$link['title']}' /></td>";
233
+ $r .= "\n\t\t\t<td class='center'><label class='screen-reader-text' for='user_links[$role][{$link['id']}][url]'>" . __( 'URL', 'theme-my-login' ) . "</label><input name='user_links[$role][{$link['id']}][url]' id='user_links[$role][{$link['id']}][url]' type='text' size='20' value='{$link['url']}' /></td>";
234
  $r .= "\n\t\t\t<td class='submit'>";
235
  $r .= "\n\t\t\t\t";
236
+ $r .= get_submit_button( __( 'Delete', 'theme-my-login' ), "delete:$role-link-list:$role-link-{$link['id']}::_ajax_nonce=$delete_nonce deletelink", "deletelink[{$link['id']}]", false, array( 'data-wp-lists' => "delete:$role-link-list:$role-link-{$link['id']}::_ajax_nonce=$delete_nonce" ) );
237
  $r .= "\n\t\t\t\t";
238
+ $r .= get_submit_button( __( 'Update', 'theme-my-login' ), "add:$role-link-list:$role-link-{$link['id']}::_ajax_nonce-add-user-link=$update_nonce updatelink", "$role-link-{$link['id']}-submit", false, array( 'data-wp-lists' => "add:$role-link-list:$role-link-{$link['id']}::_ajax_nonce-add-user-link=$update_nonce" ) );
239
  $r .= "\n\t\t\t\t";
240
  $r .= wp_nonce_field( 'change-user-link', '_ajax_nonce', false, false );
241
  $r .= "\n\t\t\t</td>";
modules/custom-user-links/custom-user-links.php CHANGED
@@ -58,11 +58,11 @@ class Theme_My_Login_Custom_User_Links extends Theme_My_Login_Abstract {
58
  if ( 'pending' != $role ) {
59
  $options[$role] = array(
60
  array(
61
- 'title' => __( 'Dashboard' ),
62
  'url' => admin_url()
63
  ),
64
  array(
65
- 'title' => __( 'Profile' ),
66
  'url' => admin_url( 'profile.php' )
67
  )
68
  );
58
  if ( 'pending' != $role ) {
59
  $options[$role] = array(
60
  array(
61
+ 'title' => __( 'Dashboard', 'theme-my-login' ),
62
  'url' => admin_url()
63
  ),
64
  array(
65
+ 'title' => __( 'Profile', 'theme-my-login' ),
66
  'url' => admin_url( 'profile.php' )
67
  )
68
  );
modules/security/admin/security-admin.php CHANGED
@@ -238,10 +238,10 @@ class Theme_My_Login_Security_Admin extends Theme_My_Login_Abstract {
238
  $user = isset( $_GET['user'] ) ? $_GET['user'] : '';
239
 
240
  if ( ! $user || ! current_user_can( 'edit_user', $user ) )
241
- wp_die( __( 'You can&#8217;t edit that user.' ) );
242
 
243
  if ( ! $user = get_userdata( $user ) )
244
- wp_die( __( 'You can&#8217;t edit that user.' ) );
245
 
246
  if ( 'lock' == $_GET['action'] ) {
247
  check_admin_referer( 'lock-user_' . $user->ID );
238
  $user = isset( $_GET['user'] ) ? $_GET['user'] : '';
239
 
240
  if ( ! $user || ! current_user_can( 'edit_user', $user ) )
241
+ wp_die( __( 'You can&#8217;t edit that user.', 'theme-my-login' ) );
242
 
243
  if ( ! $user = get_userdata( $user ) )
244
+ wp_die( __( 'You can&#8217;t edit that user.', 'theme-my-login' ) );
245
 
246
  if ( 'lock' == $_GET['action'] ) {
247
  check_admin_referer( 'lock-user_' . $user->ID );
modules/security/security.php CHANGED
@@ -177,16 +177,16 @@ class Theme_My_Login_Security extends Theme_My_Login_Abstract {
177
  $key = preg_replace( '/[^a-z0-9]/i', '', $key );
178
 
179
  if ( empty( $key ) || ! is_string( $key ) )
180
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
181
 
182
  if ( empty( $login ) || ! is_string( $login ) )
183
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
184
 
185
  if ( ! $user = get_user_by( 'login', $login ) )
186
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
187
 
188
  if ( $key != self::get_user_unlock_key( $user->ID ) )
189
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
190
 
191
  return $user;
192
  }
@@ -290,17 +290,17 @@ class Theme_My_Login_Security extends Theme_My_Login_Abstract {
290
  <table class="form-table">
291
  <tr>
292
  <th scope="col"><?php _e( 'IP Address', 'theme-my-login' ); ?></th>
293
- <th scope="col"><?php _e( 'Date' ); ?></th>
294
  </tr>
295
  <?php foreach ( $failed_login_attempts as $attempt ) :
296
- $t_time = date_i18n( __( 'Y/m/d g:i:s A' ), $attempt['time'] );
297
 
298
  $time_diff = time() - $attempt['time'];
299
 
300
  if ( $time_diff > 0 && $time_diff < 24*60*60 )
301
- $h_time = sprintf( __( '%s ago' ), human_time_diff( $attempt['time'] ) );
302
  else
303
- $h_time = date_i18n( __( 'Y/m/d' ), $attempt['time'] );
304
  ?>
305
  <tr>
306
  <td><?php echo $attempt['ip']; ?></td>
@@ -584,7 +584,7 @@ class Theme_My_Login_Security extends Theme_My_Login_Abstract {
584
  // The blogname option is escaped with esc_html on the way into the database in sanitize_option
585
  // we want to reverse this for the plain text arena of emails.
586
  $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
587
- }
588
 
589
  $unlock_url = add_query_arg( array( 'action' => 'unlock', 'key' => self::get_user_unlock_key( $user->ID ), 'login' => rawurlencode( $user_login ) ), wp_login_url() );
590
 
@@ -596,7 +596,7 @@ class Theme_My_Login_Security extends Theme_My_Login_Abstract {
596
  $message .= "\r\n";
597
  $message .= __( 'The following attempts resulted in the lock:', 'theme-my-login' ) . "\r\n\r\n";
598
  foreach ( self::get_failed_login_attempts( $user->ID ) as $attempt ) {
599
- $time = date_i18n( __( 'Y/m/d g:i:s A' ), $attempt['time'] );
600
  $message .= $attempt['ip'] . "\t" . $time . "\r\n";
601
  }
602
  }
@@ -610,7 +610,7 @@ class Theme_My_Login_Security extends Theme_My_Login_Abstract {
610
  }
611
 
612
  Theme_My_Login_Security::get_object();
613
-
614
  endif;
615
 
616
  if ( is_admin() )
177
  $key = preg_replace( '/[^a-z0-9]/i', '', $key );
178
 
179
  if ( empty( $key ) || ! is_string( $key ) )
180
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
181
 
182
  if ( empty( $login ) || ! is_string( $login ) )
183
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
184
 
185
  if ( ! $user = get_user_by( 'login', $login ) )
186
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
187
 
188
  if ( $key != self::get_user_unlock_key( $user->ID ) )
189
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
190
 
191
  return $user;
192
  }
290
  <table class="form-table">
291
  <tr>
292
  <th scope="col"><?php _e( 'IP Address', 'theme-my-login' ); ?></th>
293
+ <th scope="col"><?php _e( 'Date', 'theme-my-login' ); ?></th>
294
  </tr>
295
  <?php foreach ( $failed_login_attempts as $attempt ) :
296
+ $t_time = date_i18n( __( 'Y/m/d g:i:s A', 'theme-my-login' ), $attempt['time'] );
297
 
298
  $time_diff = time() - $attempt['time'];
299
 
300
  if ( $time_diff > 0 && $time_diff < 24*60*60 )
301
+ $h_time = sprintf( __( '%s ago', 'theme-my-login' ), human_time_diff( $attempt['time'] ) );
302
  else
303
+ $h_time = date_i18n( __( 'Y/m/d', 'theme-my-login' ), $attempt['time'] );
304
  ?>
305
  <tr>
306
  <td><?php echo $attempt['ip']; ?></td>
584
  // The blogname option is escaped with esc_html on the way into the database in sanitize_option
585
  // we want to reverse this for the plain text arena of emails.
586
  $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
587
+ }
588
 
589
  $unlock_url = add_query_arg( array( 'action' => 'unlock', 'key' => self::get_user_unlock_key( $user->ID ), 'login' => rawurlencode( $user_login ) ), wp_login_url() );
590
 
596
  $message .= "\r\n";
597
  $message .= __( 'The following attempts resulted in the lock:', 'theme-my-login' ) . "\r\n\r\n";
598
  foreach ( self::get_failed_login_attempts( $user->ID ) as $attempt ) {
599
+ $time = date_i18n( __( 'Y/m/d g:i:s A', 'theme-my-login' ), $attempt['time'] );
600
  $message .= $attempt['ip'] . "\t" . $time . "\r\n";
601
  }
602
  }
610
  }
611
 
612
  Theme_My_Login_Security::get_object();
613
+
614
  endif;
615
 
616
  if ( is_admin() )
modules/themed-profiles/admin/themed-profiles-admin.php CHANGED
@@ -70,7 +70,7 @@ class Theme_My_Login_Themed_Profiles_Admin extends Theme_My_Login_Abstract {
70
  public function activate() {
71
  if ( ! $page_id = Theme_My_Login::get_page_id( 'profile' ) ) {
72
  $page_id = wp_insert_post( array(
73
- 'post_title' => __( 'Your Profile' ),
74
  'post_status' => 'publish',
75
  'post_type' => 'page',
76
  'post_content' => '[theme-my-login]',
@@ -160,7 +160,7 @@ class Theme_My_Login_Themed_Profiles_Admin extends Theme_My_Login_Abstract {
160
  ?>
161
  <input name="<?php echo $this->options_key; ?>[<?php echo $role; ?>][theme_profile]" type="checkbox" id="<?php echo $this->options_key; ?>_<?php echo $role; ?>_theme_profile" value="1"<?php checked( $this->get_option( array( $role, 'theme_profile' ) ) ); ?> />
162
  <label for="<?php echo $this->options_key; ?>_<?php echo $role; ?>_theme_profile"><?php echo $role_name; ?></label><br />
163
- <?php
164
  }
165
  }
166
 
70
  public function activate() {
71
  if ( ! $page_id = Theme_My_Login::get_page_id( 'profile' ) ) {
72
  $page_id = wp_insert_post( array(
73
+ 'post_title' => __( 'Your Profile', 'theme-my-login' ),
74
  'post_status' => 'publish',
75
  'post_type' => 'page',
76
  'post_content' => '[theme-my-login]',
160
  ?>
161
  <input name="<?php echo $this->options_key; ?>[<?php echo $role; ?>][theme_profile]" type="checkbox" id="<?php echo $this->options_key; ?>_<?php echo $role; ?>_theme_profile" value="1"<?php checked( $this->get_option( array( $role, 'theme_profile' ) ) ); ?> />
162
  <label for="<?php echo $this->options_key; ?>_<?php echo $role; ?>_theme_profile"><?php echo $role_name; ?></label><br />
163
+ <?php
164
  }
165
  }
166
 
modules/themed-profiles/themed-profiles.php CHANGED
@@ -220,7 +220,7 @@ class Theme_My_Login_Themed_Profiles extends Theme_My_Login_Abstract {
220
  check_admin_referer( 'update-user_' . $current_user->ID );
221
 
222
  if ( ! current_user_can( 'edit_user', $current_user->ID ) )
223
- wp_die( __( 'You do not have permission to edit this user.' ) );
224
 
225
  do_action( 'personal_options_update', $current_user->ID );
226
 
@@ -257,7 +257,7 @@ class Theme_My_Login_Themed_Profiles extends Theme_My_Login_Abstract {
257
  require_once( ABSPATH . 'wp-admin/includes/misc.php' );
258
 
259
  if ( isset( $_GET['updated'] ) && 'true' == $_GET['updated'] )
260
- Theme_My_Login::get_object()->errors->add( 'profile_updated', __( 'Profile updated.' ), 'message' );
261
 
262
  $current_user = wp_get_current_user();
263
  $profileuser = get_user_to_edit( $current_user->ID );
@@ -310,7 +310,7 @@ class Theme_My_Login_Themed_Profiles extends Theme_My_Login_Abstract {
310
 
311
  if ( $user_role && ! $this->get_option( array( $user_role, 'theme_profile' ) ) )
312
  return $url;
313
-
314
  $parsed_url = parse_url( $url );
315
 
316
  $url = Theme_My_Login::get_page_link( 'profile' );
220
  check_admin_referer( 'update-user_' . $current_user->ID );
221
 
222
  if ( ! current_user_can( 'edit_user', $current_user->ID ) )
223
+ wp_die( __( 'You do not have permission to edit this user.', 'theme-my-login' ) );
224
 
225
  do_action( 'personal_options_update', $current_user->ID );
226
 
257
  require_once( ABSPATH . 'wp-admin/includes/misc.php' );
258
 
259
  if ( isset( $_GET['updated'] ) && 'true' == $_GET['updated'] )
260
+ Theme_My_Login::get_object()->errors->add( 'profile_updated', __( 'Profile updated.', 'theme-my-login' ), 'message' );
261
 
262
  $current_user = wp_get_current_user();
263
  $profileuser = get_user_to_edit( $current_user->ID );
310
 
311
  if ( $user_role && ! $this->get_option( array( $user_role, 'theme_profile' ) ) )
312
  return $url;
313
+
314
  $parsed_url = parse_url( $url );
315
 
316
  $url = Theme_My_Login::get_page_link( 'profile' );
modules/user-moderation/admin/user-moderation-admin.php CHANGED
@@ -239,7 +239,7 @@ class Theme_My_Login_User_Moderation_Admin extends Theme_My_Login_Abstract {
239
  check_admin_referer( 'approve-user' );
240
 
241
  if ( ! self::approve_user( $user ) )
242
- wp_die( __( 'You can&#8217;t edit that user.' ) );
243
 
244
  $redirect_to = add_query_arg( 'update', 'approve', $redirect_to );
245
  break;
@@ -249,7 +249,7 @@ class Theme_My_Login_User_Moderation_Admin extends Theme_My_Login_Abstract {
249
  do_action( 'tml_user_activation_resend', $user );
250
 
251
  if ( ! Theme_My_Login_User_Moderation::new_user_activation_notification( $user ) )
252
- wp_die( __( 'The e-mail could not be sent.' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function...' ) );
253
 
254
  $redirect_to = add_query_arg( 'update', 'sendactivation', $redirect_to );
255
  break;
@@ -313,7 +313,7 @@ class Theme_My_Login_User_Moderation_Admin extends Theme_My_Login_Abstract {
313
  $actions['approve-user'] = sprintf( '<a href="%1$s">%2$s</a>',
314
  add_query_arg( 'wp_http_referer',
315
  urlencode( esc_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ),
316
- wp_nonce_url( "users.php?action=approve&amp;user=$user_object->ID", 'approve-user' )
317
  ),
318
  __( 'Approve', 'theme-my-login' )
319
  );
@@ -375,7 +375,7 @@ class Theme_My_Login_User_Moderation_Admin extends Theme_My_Login_Abstract {
375
  $message = sprintf( __( 'You have been approved access to %s', 'theme-my-login' ), $blogname ) . "\r\n\r\n";
376
  $message .= sprintf( __( 'Username: %s', 'theme-my-login' ), $user->user_login ) . "\r\n";
377
  $message .= sprintf( __( 'Password: %s', 'theme-my-login' ), $user_pass ) . "\r\n\r\n";
378
- $message .= site_url( 'wp-login.php', 'login' ) . "\r\n";
379
 
380
  $title = sprintf( __( '[%s] Registration Approved', 'theme-my-login' ), $blogname );
381
 
@@ -383,7 +383,7 @@ class Theme_My_Login_User_Moderation_Admin extends Theme_My_Login_Abstract {
383
  $message = apply_filters( 'user_approval_notification_message', $message, $user_pass, $user->ID );
384
 
385
  if ( $message && ! wp_mail( $user->user_email, $title, $message ) )
386
- die( '<p>' . __( 'The e-mail could not be sent.' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function...' ) . '</p>' );
387
 
388
  return true;
389
  }
@@ -422,7 +422,7 @@ class Theme_My_Login_User_Moderation_Admin extends Theme_My_Login_Abstract {
422
  $message = apply_filters( 'user_denial_notification_message', $message, $user_id );
423
 
424
  if ( $message && ! wp_mail( $user->user_email, $title, $message ) )
425
- die( '<p>' . __( 'The e-mail could not be sent.' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function...' ) . '</p>' );
426
  }
427
  }
428
 
239
  check_admin_referer( 'approve-user' );
240
 
241
  if ( ! self::approve_user( $user ) )
242
+ wp_die( __( 'You can&#8217;t edit that user.', 'theme-my-login' ) );
243
 
244
  $redirect_to = add_query_arg( 'update', 'approve', $redirect_to );
245
  break;
249
  do_action( 'tml_user_activation_resend', $user );
250
 
251
  if ( ! Theme_My_Login_User_Moderation::new_user_activation_notification( $user ) )
252
+ wp_die( __( 'The e-mail could not be sent.', 'theme-my-login' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function...', 'theme-my-login' ) );
253
 
254
  $redirect_to = add_query_arg( 'update', 'sendactivation', $redirect_to );
255
  break;
313
  $actions['approve-user'] = sprintf( '<a href="%1$s">%2$s</a>',
314
  add_query_arg( 'wp_http_referer',
315
  urlencode( esc_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ),
316
+ wp_nonce_url( "users.php?action=approve&amp;user=$user_object->ID", 'approve-user' )
317
  ),
318
  __( 'Approve', 'theme-my-login' )
319
  );
375
  $message = sprintf( __( 'You have been approved access to %s', 'theme-my-login' ), $blogname ) . "\r\n\r\n";
376
  $message .= sprintf( __( 'Username: %s', 'theme-my-login' ), $user->user_login ) . "\r\n";
377
  $message .= sprintf( __( 'Password: %s', 'theme-my-login' ), $user_pass ) . "\r\n\r\n";
378
+ $message .= site_url( 'wp-login.php', 'login' ) . "\r\n";
379
 
380
  $title = sprintf( __( '[%s] Registration Approved', 'theme-my-login' ), $blogname );
381
 
383
  $message = apply_filters( 'user_approval_notification_message', $message, $user_pass, $user->ID );
384
 
385
  if ( $message && ! wp_mail( $user->user_email, $title, $message ) )
386
+ die( '<p>' . __( 'The e-mail could not be sent.', 'theme-my-login' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function...', 'theme-my-login' ) . '</p>' );
387
 
388
  return true;
389
  }
422
  $message = apply_filters( 'user_denial_notification_message', $message, $user_id );
423
 
424
  if ( $message && ! wp_mail( $user->user_email, $title, $message ) )
425
+ die( '<p>' . __( 'The e-mail could not be sent.', 'theme-my-login' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function...', 'theme-my-login' ) . '</p>' );
426
  }
427
  }
428
 
modules/user-moderation/user-moderation.php CHANGED
@@ -351,15 +351,15 @@ class Theme_My_Login_User_Moderation extends Theme_My_Login_Abstract {
351
  $key = preg_replace( '/[^a-z0-9]/i', '', $key );
352
 
353
  if ( empty( $key ) || ! is_string( $key ) )
354
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
355
 
356
  if ( empty( $login ) || ! is_string( $login ) )
357
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
358
 
359
  // Validate activation key
360
  $user = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->users WHERE user_activation_key = %s AND user_login = %s", $key, $login ) );
361
  if ( empty( $user ) )
362
- return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
363
 
364
  do_action( 'tml_user_activation_post', $user->user_login, $user->user_email );
365
 
@@ -436,7 +436,7 @@ class Theme_My_Login_User_Moderation extends Theme_My_Login_Abstract {
436
  // The blogname option is escaped with esc_html on the way into the database in sanitize_option
437
  // we want to reverse this for the plain text arena of emails.
438
  $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
439
- }
440
 
441
  $activation_url = add_query_arg( array( 'action' => 'activate', 'key' => $key, 'login' => rawurlencode( $user_login ) ), wp_login_url() );
442
 
351
  $key = preg_replace( '/[^a-z0-9]/i', '', $key );
352
 
353
  if ( empty( $key ) || ! is_string( $key ) )
354
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
355
 
356
  if ( empty( $login ) || ! is_string( $login ) )
357
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
358
 
359
  // Validate activation key
360
  $user = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->users WHERE user_activation_key = %s AND user_login = %s", $key, $login ) );
361
  if ( empty( $user ) )
362
+ return new WP_Error( 'invalid_key', __( 'Invalid key', 'theme-my-login' ) );
363
 
364
  do_action( 'tml_user_activation_post', $user->user_login, $user->user_email );
365
 
436
  // The blogname option is escaped with esc_html on the way into the database in sanitize_option
437
  // we want to reverse this for the plain text arena of emails.
438
  $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
439
+ }
440
 
441
  $activation_url = add_query_arg( array( 'action' => 'activate', 'key' => $key, 'login' => rawurlencode( $user_login ) ), wp_login_url() );
442
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Theme My Login ===
2
  Contributors: jfarthing84
3
  Tags: widget, login, registration, theme, custom, log in, register, sidebar, gravatar, redirection, e-mail
4
- Requires at least: 3.1
5
- Tested up to: 3.9.1
6
- Stable tag: 6.3.10
7
 
8
  Themes the WordPress login pages according to your theme.
9
 
@@ -51,17 +51,22 @@ As of version 6.3, Theme My Login no longer ships with translation files. Transl
51
 
52
  = How do I obtain additional assistance? =
53
 
54
- Please visit http://www.jfarthing.com/development/theme-my-login first and then visit http://www.jfarthing.com/support if you have any questions, concerns, suggestions or problems.
55
 
56
 
57
  == Changelog ==
58
 
 
 
 
 
 
59
  = 6.3.10 =
60
- * Fix potential local file include vulnerability in templating system
61
 
62
  = 6.3.9 =
63
  * Fix strict standards errors
64
- * Replace deprecated functions
65
 
66
  = 6.3.8 =
67
  * Fix issue where pages would redirect to profile page with Themed Profiles active
@@ -378,7 +383,7 @@ Please visit http://www.jfarthing.com/development/theme-my-login first and then
378
  * Fixed the load_plugin_textdomain() call
379
  * Added 'login_head' action hook
380
 
381
- = 3.2.3 =
382
  * Fixed and updated many gettext calls for internationalization
383
 
384
  = 3.2.2 =
1
  === Theme My Login ===
2
  Contributors: jfarthing84
3
  Tags: widget, login, registration, theme, custom, log in, register, sidebar, gravatar, redirection, e-mail
4
+ Requires at least: 3.7
5
+ Tested up to: 4.2
6
+ Stable tag: 6.3.11
7
 
8
  Themes the WordPress login pages according to your theme.
9
 
51
 
52
  = How do I obtain additional assistance? =
53
 
54
+ Please visit http://www.jfarthing.com/development/theme-my-login.
55
 
56
 
57
  == Changelog ==
58
 
59
+ = 6.3.11 =
60
+ * Fix interim login
61
+ * Fix partial translations
62
+ * Fix toolbar disappearing when updating a themed profile
63
+
64
  = 6.3.10 =
65
+ * Fix local file include vulnerability in templating system
66
 
67
  = 6.3.9 =
68
  * Fix strict standards errors
69
+ * Fix deprecated function notices
70
 
71
  = 6.3.8 =
72
  * Fix issue where pages would redirect to profile page with Themed Profiles active
383
  * Fixed the load_plugin_textdomain() call
384
  * Added 'login_head' action hook
385
 
386
+ = 3.2.3 =
387
  * Fixed and updated many gettext calls for internationalization
388
 
389
  = 3.2.2 =
templates/login-form.php CHANGED
@@ -9,11 +9,11 @@ Theme My Login will always look in your theme's directory first, before using th
9
  <?php $template->the_errors(); ?>
10
  <form name="loginform" id="loginform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'login' ); ?>" method="post">
11
  <p>
12
- <label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username' ); ?></label>
13
  <input type="text" name="log" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'log' ); ?>" size="20" />
14
  </p>
15
  <p>
16
- <label for="user_pass<?php $template->the_instance(); ?>"><?php _e( 'Password' ); ?></label>
17
  <input type="password" name="pwd" id="user_pass<?php $template->the_instance(); ?>" class="input" value="" size="20" />
18
  </p>
19
 
@@ -21,10 +21,10 @@ Theme My Login will always look in your theme's directory first, before using th
21
 
22
  <p class="forgetmenot">
23
  <input name="rememberme" type="checkbox" id="rememberme<?php $template->the_instance(); ?>" value="forever" />
24
- <label for="rememberme<?php $template->the_instance(); ?>"><?php esc_attr_e( 'Remember Me' ); ?></label>
25
  </p>
26
  <p class="submit">
27
- <input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Log In' ); ?>" />
28
  <input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'login' ); ?>" />
29
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
30
  <input type="hidden" name="action" value="login" />
9
  <?php $template->the_errors(); ?>
10
  <form name="loginform" id="loginform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'login' ); ?>" method="post">
11
  <p>
12
+ <label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username', 'theme-my-login' ); ?></label>
13
  <input type="text" name="log" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'log' ); ?>" size="20" />
14
  </p>
15
  <p>
16
+ <label for="user_pass<?php $template->the_instance(); ?>"><?php _e( 'Password', 'theme-my-login' ); ?></label>
17
  <input type="password" name="pwd" id="user_pass<?php $template->the_instance(); ?>" class="input" value="" size="20" />
18
  </p>
19
 
21
 
22
  <p class="forgetmenot">
23
  <input name="rememberme" type="checkbox" id="rememberme<?php $template->the_instance(); ?>" value="forever" />
24
+ <label for="rememberme<?php $template->the_instance(); ?>"><?php esc_attr_e( 'Remember Me', 'theme-my-login' ); ?></label>
25
  </p>
26
  <p class="submit">
27
+ <input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Log In', 'theme-my-login' ); ?>" />
28
  <input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'login' ); ?>" />
29
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
30
  <input type="hidden" name="action" value="login" />
templates/lostpassword-form.php CHANGED
@@ -9,14 +9,14 @@ Theme My Login will always look in your theme's directory first, before using th
9
  <?php $template->the_errors(); ?>
10
  <form name="lostpasswordform" id="lostpasswordform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'lostpassword' ); ?>" method="post">
11
  <p>
12
- <label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username or E-mail:' ); ?></label>
13
  <input type="text" name="user_login" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_login' ); ?>" size="20" />
14
  </p>
15
 
16
  <?php do_action( 'lostpassword_form' ); ?>
17
 
18
  <p class="submit">
19
- <input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Get New Password' ); ?>" />
20
  <input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'lostpassword' ); ?>" />
21
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
22
  <input type="hidden" name="action" value="lostpassword" />
9
  <?php $template->the_errors(); ?>
10
  <form name="lostpasswordform" id="lostpasswordform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'lostpassword' ); ?>" method="post">
11
  <p>
12
+ <label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username or E-mail:', 'theme-my-login' ); ?></label>
13
  <input type="text" name="user_login" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_login' ); ?>" size="20" />
14
  </p>
15
 
16
  <?php do_action( 'lostpassword_form' ); ?>
17
 
18
  <p class="submit">
19
+ <input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Get New Password', 'theme-my-login' ); ?>" />
20
  <input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'lostpassword' ); ?>" />
21
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
22
  <input type="hidden" name="action" value="lostpassword" />
templates/ms-signup-another-blog-form.php CHANGED
@@ -4,18 +4,18 @@ If you would like to edit this file, copy it to your current theme's directory a
4
  Theme My Login will always look in your theme's directory first, before using this default template.
5
  */
6
  ?>
7
- <h2><?php printf( __( 'Get <em>another</em> %s site in seconds' ), $current_site->site_name ); ?></h2>
8
 
9
  <?php if ( $errors->get_error_code() ) { ?>
10
- <p><?php _e( 'There was a problem, please correct the form below and try again.' ); ?></p>
11
  <?php } ?>
12
 
13
- <p><?php printf( __( 'Welcome back, %s. By filling out the form below, you can <strong>add another site to your account</strong>. There is no limit to the number of sites you can have, so create to your heart&#8217;s content, but write responsibly!' ), $current_user->display_name ); ?></p>
14
 
15
  <?php
16
  $blogs = get_blogs_of_user( $current_user->ID );
17
  if ( ! empty( $blogs ) ) { ?>
18
- <p><?php _e( 'Sites you are already a member of:' ); ?></p>
19
  <ul>
20
  <?php foreach ( $blogs as $blog ) {
21
  $home_url = get_home_url( $blog->userblog_id );
@@ -24,16 +24,16 @@ if ( ! empty( $blogs ) ) { ?>
24
  </ul>
25
  <?php } ?>
26
 
27
- <p><?php _e( 'If you&#8217;re not going to use a great site domain, leave it for a new user. Now have at it!' ); ?></p>
28
  <form id="setupform" method="post" action="<?php $template->the_action_url( 'register' ); ?>">
29
  <input type="hidden" name="action" value="register" />
30
  <input type="hidden" name="stage" value="gimmeanotherblog" />
31
  <?php do_action( 'signup_hidden_fields' ); ?>
32
 
33
  <?php if ( ! is_subdomain_install() ) { ?>
34
- <label for="blogname<?php $template->the_instance(); ?>"><?php _e( 'Site Name:' ); ?></label>
35
  <?php } else { ?>
36
- <label for="blogname<?php $template->the_instance(); ?>"><?php _e( 'Site Domain:' ); ?></label>
37
  <?php } ?>
38
 
39
  <?php if ( $errmsg = $errors->get_error_message( 'blogname' ) ) { ?>
@@ -50,13 +50,13 @@ if ( ! empty( $blogs ) ) { ?>
50
 
51
  <?php if ( ! is_user_logged_in() ) {
52
  if ( ! is_subdomain_install() )
53
- $site = $current_site->domain . $current_site->path . __( 'sitename' );
54
  else
55
- $site = __( 'domain' ) . '.' . $site_domain . $current_site->path;
56
- echo '<p>(<strong>' . sprintf( __( 'Your address will be %s.' ), $site ) . '</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '</p>';
57
  } ?>
58
 
59
- <label for="blog_title<?php $template->the_instance(); ?>"><?php _e( 'Site Title:' ); ?></label>
60
  <?php if ( $errmsg = $errors->get_error_message( 'blog_title' ) ) { ?>
61
  <p class="error"><?php echo $errmsg; ?></p>
62
  <?php } ?>
@@ -64,21 +64,21 @@ if ( ! empty( $blogs ) ) { ?>
64
 
65
  <div id="privacy">
66
  <p class="privacy-intro">
67
- <label for="blog_public_on<?php $template->the_instance(); ?>"><?php _e( 'Privacy:' ); ?></label>
68
- <?php _e( 'Allow search engines to index this site.' ); ?>
69
  <br style="clear:both" />
70
  <label class="checkbox" for="blog_public_on<?php $template->the_instance(); ?>">
71
  <input type="radio" id="blog_public_on<?php $template->the_instance(); ?>" name="blog_public" value="1" <?php if ( ! isset( $_POST['blog_public'] ) || $_POST['blog_public'] == '1' ) { ?>checked="checked"<?php } ?> />
72
- <strong><?php _e( 'Yes' ); ?></strong>
73
  </label>
74
  <label class="checkbox" for="blog_public_off<?php $template->the_instance(); ?>">
75
  <input type="radio" id="blog_public_off<?php $template->the_instance(); ?>" name="blog_public" value="0" <?php if ( isset( $_POST['blog_public'] ) && $_POST['blog_public'] == '0' ) { ?>checked="checked"<?php } ?> />
76
- <strong><?php _e( 'No' ); ?></strong>
77
  </label>
78
  </p>
79
  </div>
80
 
81
  <?php do_action( 'signup_blogform', $errors ); ?>
82
 
83
- <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site' ); ?>" /></p>
84
  </form>
4
  Theme My Login will always look in your theme's directory first, before using this default template.
5
  */
6
  ?>
7
+ <h2><?php printf( __( 'Get <em>another</em> %s site in seconds', 'theme-my-login' ), $current_site->site_name ); ?></h2>
8
 
9
  <?php if ( $errors->get_error_code() ) { ?>
10
+ <p><?php _e( 'There was a problem, please correct the form below and try again.', 'theme-my-login' ); ?></p>
11
  <?php } ?>
12
 
13
+ <p><?php printf( __( 'Welcome back, %s. By filling out the form below, you can <strong>add another site to your account</strong>. There is no limit to the number of sites you can have, so create to your heart&#8217;s content, but write responsibly!', 'theme-my-login' ), $current_user->display_name ); ?></p>
14
 
15
  <?php
16
  $blogs = get_blogs_of_user( $current_user->ID );
17
  if ( ! empty( $blogs ) ) { ?>
18
+ <p><?php _e( 'Sites you are already a member of:', 'theme-my-login' ); ?></p>
19
  <ul>
20
  <?php foreach ( $blogs as $blog ) {
21
  $home_url = get_home_url( $blog->userblog_id );
24
  </ul>
25
  <?php } ?>
26
 
27
+ <p><?php _e( 'If you&#8217;re not going to use a great site domain, leave it for a new user. Now have at it!', 'theme-my-login' ); ?></p>
28
  <form id="setupform" method="post" action="<?php $template->the_action_url( 'register' ); ?>">
29
  <input type="hidden" name="action" value="register" />
30
  <input type="hidden" name="stage" value="gimmeanotherblog" />
31
  <?php do_action( 'signup_hidden_fields' ); ?>
32
 
33
  <?php if ( ! is_subdomain_install() ) { ?>
34
+ <label for="blogname<?php $template->the_instance(); ?>"><?php _e( 'Site Name:', 'theme-my-login' ); ?></label>
35
  <?php } else { ?>
36
+ <label for="blogname<?php $template->the_instance(); ?>"><?php _e( 'Site Domain:', 'theme-my-login' ); ?></label>
37
  <?php } ?>
38
 
39
  <?php if ( $errmsg = $errors->get_error_message( 'blogname' ) ) { ?>
50
 
51
  <?php if ( ! is_user_logged_in() ) {
52
  if ( ! is_subdomain_install() )
53
+ $site = $current_site->domain . $current_site->path . __( 'sitename', 'theme-my-login' );
54
  else
55
+ $site = __( 'domain', 'theme-my-login' ) . '.' . $site_domain . $current_site->path;
56
+ echo '<p>(<strong>' . sprintf( __( 'Your address will be %s.', 'theme-my-login' ), $site ) . '</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!', 'theme-my-login' ) . '</p>';
57
  } ?>
58
 
59
+ <label for="blog_title<?php $template->the_instance(); ?>"><?php _e( 'Site Title:', 'theme-my-login' ); ?></label>
60
  <?php if ( $errmsg = $errors->get_error_message( 'blog_title' ) ) { ?>
61
  <p class="error"><?php echo $errmsg; ?></p>
62
  <?php } ?>
64
 
65
  <div id="privacy">
66
  <p class="privacy-intro">
67
+ <label for="blog_public_on<?php $template->the_instance(); ?>"><?php _e( 'Privacy:', 'theme-my-login' ); ?></label>
68
+ <?php _e( 'Allow search engines to index this site.', 'theme-my-login' ); ?>
69
  <br style="clear:both" />
70
  <label class="checkbox" for="blog_public_on<?php $template->the_instance(); ?>">
71
  <input type="radio" id="blog_public_on<?php $template->the_instance(); ?>" name="blog_public" value="1" <?php if ( ! isset( $_POST['blog_public'] ) || $_POST['blog_public'] == '1' ) { ?>checked="checked"<?php } ?> />
72
+ <strong><?php _e( 'Yes', 'theme-my-login' ); ?></strong>
73
  </label>
74
  <label class="checkbox" for="blog_public_off<?php $template->the_instance(); ?>">
75
  <input type="radio" id="blog_public_off<?php $template->the_instance(); ?>" name="blog_public" value="0" <?php if ( isset( $_POST['blog_public'] ) && $_POST['blog_public'] == '0' ) { ?>checked="checked"<?php } ?> />
76
+ <strong><?php _e( 'No', 'theme-my-login' ); ?></strong>
77
  </label>
78
  </p>
79
  </div>
80
 
81
  <?php do_action( 'signup_blogform', $errors ); ?>
82
 
83
+ <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site', 'theme-my-login' ); ?>" /></p>
84
  </form>
templates/ms-signup-blog-form.php CHANGED
@@ -12,9 +12,9 @@ Theme My Login will always look in your theme's directory first, before using th
12
  <?php do_action( 'signup_hidden_fields' ); ?>
13
 
14
  <?php if ( ! is_subdomain_install() ) { ?>
15
- <label for="blogname<?php $template->the_instance(); ?>"><?php _e( 'Site Name:' ); ?></label>
16
  <?php } else { ?>
17
- <label for="blogname<?php $template->the_instance(); ?>"><?php _e( 'Site Domain:' ); ?></label>
18
  <?php } ?>
19
 
20
  <?php if ( $errmsg = $errors->get_error_message( 'blogname' ) ) { ?>
@@ -31,13 +31,13 @@ Theme My Login will always look in your theme's directory first, before using th
31
 
32
  <?php if ( ! is_user_logged_in() ) {
33
  if ( ! is_subdomain_install() )
34
- $site = $current_site->domain . $current_site->path . __( 'sitename' );
35
  else
36
- $site = __( 'domain' ) . '.' . $site_domain . $current_site->path;
37
- echo '<p>(<strong>' . sprintf( __( 'Your address will be %s.' ), $site ) . '</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '</p>';
38
  } ?>
39
 
40
- <label for="blog_title<?php $template->the_instance(); ?>"><?php _e( 'Site Title:' ); ?></label>
41
  <?php if ( $errmsg = $errors->get_error_message( 'blog_title' ) ) { ?>
42
  <p class="error"><?php echo $errmsg; ?></p>
43
  <?php } ?>
@@ -45,22 +45,22 @@ Theme My Login will always look in your theme's directory first, before using th
45
 
46
  <div id="privacy">
47
  <p class="privacy-intro">
48
- <label for="blog_public_on<?php $template->the_instance(); ?>"><?php _e( 'Privacy:' ); ?></label>
49
- <?php _e( 'Allow search engines to index this site.' ); ?>
50
  <br style="clear:both" />
51
  <label class="checkbox" for="blog_public_on<?php $template->the_instance(); ?>">
52
  <input type="radio" id="blog_public_on<?php $template->the_instance(); ?>" name="blog_public" value="1" <?php if ( ! isset( $_POST['blog_public'] ) || $_POST['blog_public'] == '1' ) { ?>checked="checked"<?php } ?> />
53
- <strong><?php _e( 'Yes' ); ?></strong>
54
  </label>
55
  <label class="checkbox" for="blog_public_off<?php $template->the_instance(); ?>">
56
  <input type="radio" id="blog_public_off<?php $template->the_instance(); ?>" name="blog_public" value="0" <?php if ( isset( $_POST['blog_public'] ) && $_POST['blog_public'] == '0' ) { ?>checked="checked"<?php } ?> />
57
- <strong><?php _e( 'No' ); ?></strong>
58
  </label>
59
  </p>
60
  </div>
61
 
62
  <?php do_action( 'signup_blogform', $errors ); ?>
63
 
64
- <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Signup' ); ?>" /></p>
65
  </form>
66
  <?php $template->the_action_links( array( 'register' => false ) ); ?>
12
  <?php do_action( 'signup_hidden_fields' ); ?>
13
 
14
  <?php if ( ! is_subdomain_install() ) { ?>
15
+ <label for="blogname<?php $template->the_instance(); ?>"><?php _e( 'Site Name:', 'theme-my-login' ); ?></label>
16
  <?php } else { ?>
17
+ <label for="blogname<?php $template->the_instance(); ?>"><?php _e( 'Site Domain:', 'theme-my-login' ); ?></label>
18
  <?php } ?>
19
 
20
  <?php if ( $errmsg = $errors->get_error_message( 'blogname' ) ) { ?>
31
 
32
  <?php if ( ! is_user_logged_in() ) {
33
  if ( ! is_subdomain_install() )
34
+ $site = $current_site->domain . $current_site->path . __( 'sitename', 'theme-my-login' );
35
  else
36
+ $site = __( 'domain', 'theme-my-login' ) . '.' . $site_domain . $current_site->path;
37
+ echo '<p>(<strong>' . sprintf( __( 'Your address will be %s.', 'theme-my-login' ), $site ) . '</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!', 'theme-my-login' ) . '</p>';
38
  } ?>
39
 
40
+ <label for="blog_title<?php $template->the_instance(); ?>"><?php _e( 'Site Title:', 'theme-my-login' ); ?></label>
41
  <?php if ( $errmsg = $errors->get_error_message( 'blog_title' ) ) { ?>
42
  <p class="error"><?php echo $errmsg; ?></p>
43
  <?php } ?>
45
 
46
  <div id="privacy">
47
  <p class="privacy-intro">
48
+ <label for="blog_public_on<?php $template->the_instance(); ?>"><?php _e( 'Privacy:', 'theme-my-login' ); ?></label>
49
+ <?php _e( 'Allow search engines to index this site.', 'theme-my-login' ); ?>
50
  <br style="clear:both" />
51
  <label class="checkbox" for="blog_public_on<?php $template->the_instance(); ?>">
52
  <input type="radio" id="blog_public_on<?php $template->the_instance(); ?>" name="blog_public" value="1" <?php if ( ! isset( $_POST['blog_public'] ) || $_POST['blog_public'] == '1' ) { ?>checked="checked"<?php } ?> />
53
+ <strong><?php _e( 'Yes', 'theme-my-login' ); ?></strong>
54
  </label>
55
  <label class="checkbox" for="blog_public_off<?php $template->the_instance(); ?>">
56
  <input type="radio" id="blog_public_off<?php $template->the_instance(); ?>" name="blog_public" value="0" <?php if ( isset( $_POST['blog_public'] ) && $_POST['blog_public'] == '0' ) { ?>checked="checked"<?php } ?> />
57
+ <strong><?php _e( 'No', 'theme-my-login' ); ?></strong>
58
  </label>
59
  </p>
60
  </div>
61
 
62
  <?php do_action( 'signup_blogform', $errors ); ?>
63
 
64
+ <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Signup', 'theme-my-login' ); ?>" /></p>
65
  </form>
66
  <?php $template->the_action_links( array( 'register' => false ) ); ?>
templates/ms-signup-user-form.php CHANGED
@@ -4,28 +4,28 @@ If you would like to edit this file, copy it to your current theme's directory a
4
  Theme My Login will always look in your theme's directory first, before using this default template.
5
  */
6
  ?>
7
- <h2><?php printf( __( 'Get your own %s account in seconds' ), $current_site->site_name ); ?></h2>
8
 
9
  <form id="setupform" method="post" action="<?php $template->the_action_url( 'register' ); ?>">
10
  <input type="hidden" name="action" value="register" />
11
  <input type="hidden" name="stage" value="validate-user-signup" />
12
  <?php do_action( 'signup_hidden_fields' ); ?>
13
 
14
- <label for="user_name<?php $template->the_instance(); ?>"><?php _e( 'Username:' ); ?></label>
15
  <?php if ( $errmsg = $errors->get_error_message( 'user_name' ) ) { ?>
16
  <p class="error"><?php echo $errmsg; ?></p>
17
  <?php } ?>
18
 
19
  <input name="user_name" type="text" id="user_name<?php $template->the_instance(); ?>" value="<?php echo esc_attr( $user_name ); ?>" maxlength="60" /><br />
20
- <span class="hint"><?php _e( '(Must be at least 4 characters, letters and numbers only.)' ); ?></span>
21
 
22
- <label for="user_email<?php $template->the_instance(); ?>"><?php _e( 'Email&nbsp;Address:' ); ?></label>
23
  <?php if ( $errmsg = $errors->get_error_message( 'user_email' ) ) { ?>
24
  <p class="error"><?php echo $errmsg; ?></p>
25
  <?php } ?>
26
-
27
  <input name="user_email" type="text" id="user_email<?php $template->the_instance(); ?>" value="<?php echo esc_attr( $user_email ); ?>" maxlength="200" /><br />
28
- <span class="hint"><?php _e( 'We send your registration email to this address. (Double-check your email address before continuing.)' ); ?></span>
29
  <?php if ( $errmsg = $errors->get_error_message( 'generic' ) ) { ?>
30
  <p class="error"><?php echo $errmsg; ?></p>
31
  <?php } ?>
@@ -39,13 +39,13 @@ Theme My Login will always look in your theme's directory first, before using th
39
  <input id="signupblog<?php $template->the_instance(); ?>" type="hidden" name="signup_for" value="user" />
40
  <?php } else { ?>
41
  <input id="signupblog<?php $template->the_instance(); ?>" type="radio" name="signup_for" value="blog" <?php if ( ! isset( $_POST['signup_for'] ) || $_POST['signup_for'] == 'blog' ) { ?>checked="checked"<?php } ?> />
42
- <label class="checkbox" for="signupblog"><?php _e( 'Gimme a site!' ); ?></label>
43
  <br />
44
  <input id="signupuser<?php $template->the_instance(); ?>" type="radio" name="signup_for" value="user" <?php if ( isset( $_POST['signup_for'] ) && $_POST['signup_for'] == 'user' ) { ?>checked="checked"<?php } ?> />
45
- <label class="checkbox" for="signupuser"><?php _e( 'Just a username, please.' ); ?></label>
46
  <?php } ?>
47
  </p>
48
 
49
- <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Next' ); ?>" /></p>
50
  </form>
51
  <?php $template->the_action_links( array( 'register' => false ) ); ?>
4
  Theme My Login will always look in your theme's directory first, before using this default template.
5
  */
6
  ?>
7
+ <h2><?php printf( __( 'Get your own %s account in seconds', 'theme-my-login' ), $current_site->site_name ); ?></h2>
8
 
9
  <form id="setupform" method="post" action="<?php $template->the_action_url( 'register' ); ?>">
10
  <input type="hidden" name="action" value="register" />
11
  <input type="hidden" name="stage" value="validate-user-signup" />
12
  <?php do_action( 'signup_hidden_fields' ); ?>
13
 
14
+ <label for="user_name<?php $template->the_instance(); ?>"><?php _e( 'Username:', 'theme-my-login' ); ?></label>
15
  <?php if ( $errmsg = $errors->get_error_message( 'user_name' ) ) { ?>
16
  <p class="error"><?php echo $errmsg; ?></p>
17
  <?php } ?>
18
 
19
  <input name="user_name" type="text" id="user_name<?php $template->the_instance(); ?>" value="<?php echo esc_attr( $user_name ); ?>" maxlength="60" /><br />
20
+ <span class="hint"><?php _e( '(Must be at least 4 characters, letters and numbers only.)', 'theme-my-login' ); ?></span>
21
 
22
+ <label for="user_email<?php $template->the_instance(); ?>"><?php _e( 'Email&nbsp;Address:', 'theme-my-login' ); ?></label>
23
  <?php if ( $errmsg = $errors->get_error_message( 'user_email' ) ) { ?>
24
  <p class="error"><?php echo $errmsg; ?></p>
25
  <?php } ?>
26
+
27
  <input name="user_email" type="text" id="user_email<?php $template->the_instance(); ?>" value="<?php echo esc_attr( $user_email ); ?>" maxlength="200" /><br />
28
+ <span class="hint"><?php _e( 'We send your registration email to this address. (Double-check your email address before continuing.)', 'theme-my-login' ); ?></span>
29
  <?php if ( $errmsg = $errors->get_error_message( 'generic' ) ) { ?>
30
  <p class="error"><?php echo $errmsg; ?></p>
31
  <?php } ?>
39
  <input id="signupblog<?php $template->the_instance(); ?>" type="hidden" name="signup_for" value="user" />
40
  <?php } else { ?>
41
  <input id="signupblog<?php $template->the_instance(); ?>" type="radio" name="signup_for" value="blog" <?php if ( ! isset( $_POST['signup_for'] ) || $_POST['signup_for'] == 'blog' ) { ?>checked="checked"<?php } ?> />
42
+ <label class="checkbox" for="signupblog"><?php _e( 'Gimme a site!', 'theme-my-login' ); ?></label>
43
  <br />
44
  <input id="signupuser<?php $template->the_instance(); ?>" type="radio" name="signup_for" value="user" <?php if ( isset( $_POST['signup_for'] ) && $_POST['signup_for'] == 'user' ) { ?>checked="checked"<?php } ?> />
45
+ <label class="checkbox" for="signupuser"><?php _e( 'Just a username, please.', 'theme-my-login' ); ?></label>
46
  <?php } ?>
47
  </p>
48
 
49
+ <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Next', 'theme-my-login' ); ?>" /></p>
50
  </form>
51
  <?php $template->the_action_links( array( 'register' => false ) ); ?>
templates/profile-form.php CHANGED
@@ -14,43 +14,47 @@ Theme My Login will always look in your theme's directory first, before using th
14
  <input type="hidden" name="checkuser_id" value="<?php echo $current_user->ID; ?>" />
15
  </p>
16
 
17
- <?php if ( has_action( 'personal_options' ) ) : ?>
18
 
19
- <h3><?php _e( 'Personal Options' ); ?></h3>
20
 
21
  <table class="form-table">
 
 
 
 
 
 
 
22
  <?php do_action( 'personal_options', $profileuser ); ?>
23
  </table>
24
 
25
- <?php endif; ?>
26
-
27
  <?php do_action( 'profile_personal_options', $profileuser ); ?>
28
 
29
- <h3><?php _e( 'Name' ); ?></h3>
30
 
31
  <table class="form-table">
32
  <tr>
33
- <th><label for="user_login"><?php _e( 'Username' ); ?></label></th>
34
  <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profileuser->user_login ); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e( 'Your username cannot be changed.', 'theme-my-login' ); ?></span></td>
35
  </tr>
36
 
37
  <tr>
38
- <th><label for="first_name"><?php _e( 'First Name' ); ?></label></th>
39
  <td><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr( $profileuser->first_name ); ?>" class="regular-text" /></td>
40
  </tr>
41
 
42
  <tr>
43
- <th><label for="last_name"><?php _e( 'Last Name' ); ?></label></th>
44
  <td><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr( $profileuser->last_name ); ?>" class="regular-text" /></td>
45
  </tr>
46
 
47
  <tr>
48
- <th><label for="nickname"><?php _e( 'Nickname' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th>
49
  <td><input type="text" name="nickname" id="nickname" value="<?php echo esc_attr( $profileuser->nickname ); ?>" class="regular-text" /></td>
50
  </tr>
51
 
52
  <tr>
53
- <th><label for="display_name"><?php _e( 'Display name publicly as' ); ?></label></th>
54
  <td>
55
  <select name="display_name" id="display_name">
56
  <?php
@@ -86,21 +90,21 @@ Theme My Login will always look in your theme's directory first, before using th
86
  </tr>
87
  </table>
88
 
89
- <h3><?php _e( 'Contact Info' ); ?></h3>
90
 
91
  <table class="form-table">
92
  <tr>
93
- <th><label for="email"><?php _e( 'E-mail' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th>
94
  <td><input type="text" name="email" id="email" value="<?php echo esc_attr( $profileuser->user_email ); ?>" class="regular-text" /></td>
95
  </tr>
96
 
97
  <tr>
98
- <th><label for="url"><?php _e( 'Website' ); ?></label></th>
99
  <td><input type="text" name="url" id="url" value="<?php echo esc_attr( $profileuser->user_url ); ?>" class="regular-text code" /></td>
100
  </tr>
101
 
102
  <?php
103
- foreach ( _wp_get_user_contactmethods() as $name => $desc ) {
104
  ?>
105
  <tr>
106
  <th><label for="<?php echo $name; ?>"><?php echo apply_filters( 'user_'.$name.'_label', $desc ); ?></label></th>
@@ -111,13 +115,13 @@ Theme My Login will always look in your theme's directory first, before using th
111
  ?>
112
  </table>
113
 
114
- <h3><?php _e( 'About Yourself' ); ?></h3>
115
 
116
  <table class="form-table">
117
  <tr>
118
- <th><label for="description"><?php _e( 'Biographical Info' ); ?></label></th>
119
  <td><textarea name="description" id="description" rows="5" cols="30"><?php echo esc_html( $profileuser->description ); ?></textarea><br />
120
- <span class="description"><?php _e( 'Share a little biographical information to fill out your profile. This may be shown publicly.' ); ?></span></td>
121
  </tr>
122
 
123
  <?php
@@ -125,11 +129,11 @@ Theme My Login will always look in your theme's directory first, before using th
125
  if ( $show_password_fields ) :
126
  ?>
127
  <tr id="password">
128
- <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th>
129
- <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.' ); ?></span><br />
130
- <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <span class="description"><?php _e( 'Type your new password again.' ); ?></span><br />
131
  <div id="pass-strength-result"><?php _e( 'Strength indicator', 'theme-my-login' ); ?></div>
132
- <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).' ); ?></p>
133
  </td>
134
  </tr>
135
  <?php endif; ?>
@@ -141,7 +145,7 @@ Theme My Login will always look in your theme's directory first, before using th
141
  <input type="hidden" name="action" value="profile" />
142
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
143
  <input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr( $current_user->ID ); ?>" />
144
- <input type="submit" class="button-primary" value="<?php esc_attr_e( 'Update Profile' ); ?>" name="submit" />
145
  </p>
146
  </form>
147
  </div>
14
  <input type="hidden" name="checkuser_id" value="<?php echo $current_user->ID; ?>" />
15
  </p>
16
 
 
17
 
18
+ <h3><?php _e( 'Personal Options', 'theme-my-login' ); ?></h3>
19
 
20
  <table class="form-table">
21
+ <tr class="show-admin-bar user-admin-bar-front-wrap">
22
+ <th><label for="admin_bar_front"><?php _e( 'Toolbar', 'theme-my-login' )?></label></th>
23
+ <td>
24
+ <label for="admin_bar_front"><input type="checkbox" name="admin_bar_front" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
25
+ <?php _e( 'Show Toolbar when viewing site', 'theme-my-login' ); ?></label>
26
+ </td>
27
+ </tr>
28
  <?php do_action( 'personal_options', $profileuser ); ?>
29
  </table>
30
 
 
 
31
  <?php do_action( 'profile_personal_options', $profileuser ); ?>
32
 
33
+ <h3><?php _e( 'Name', 'theme-my-login' ); ?></h3>
34
 
35
  <table class="form-table">
36
  <tr>
37
+ <th><label for="user_login"><?php _e( 'Username', 'theme-my-login' ); ?></label></th>
38
  <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profileuser->user_login ); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e( 'Your username cannot be changed.', 'theme-my-login' ); ?></span></td>
39
  </tr>
40
 
41
  <tr>
42
+ <th><label for="first_name"><?php _e( 'First Name', 'theme-my-login' ); ?></label></th>
43
  <td><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr( $profileuser->first_name ); ?>" class="regular-text" /></td>
44
  </tr>
45
 
46
  <tr>
47
+ <th><label for="last_name"><?php _e( 'Last Name', 'theme-my-login' ); ?></label></th>
48
  <td><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr( $profileuser->last_name ); ?>" class="regular-text" /></td>
49
  </tr>
50
 
51
  <tr>
52
+ <th><label for="nickname"><?php _e( 'Nickname', 'theme-my-login' ); ?> <span class="description"><?php _e( '(required)', 'theme-my-login' ); ?></span></label></th>
53
  <td><input type="text" name="nickname" id="nickname" value="<?php echo esc_attr( $profileuser->nickname ); ?>" class="regular-text" /></td>
54
  </tr>
55
 
56
  <tr>
57
+ <th><label for="display_name"><?php _e( 'Display name publicly as', 'theme-my-login' ); ?></label></th>
58
  <td>
59
  <select name="display_name" id="display_name">
60
  <?php
90
  </tr>
91
  </table>
92
 
93
+ <h3><?php _e( 'Contact Info', 'theme-my-login' ); ?></h3>
94
 
95
  <table class="form-table">
96
  <tr>
97
+ <th><label for="email"><?php _e( 'E-mail', 'theme-my-login' ); ?> <span class="description"><?php _e( '(required)', 'theme-my-login' ); ?></span></label></th>
98
  <td><input type="text" name="email" id="email" value="<?php echo esc_attr( $profileuser->user_email ); ?>" class="regular-text" /></td>
99
  </tr>
100
 
101
  <tr>
102
+ <th><label for="url"><?php _e( 'Website', 'theme-my-login' ); ?></label></th>
103
  <td><input type="text" name="url" id="url" value="<?php echo esc_attr( $profileuser->user_url ); ?>" class="regular-text code" /></td>
104
  </tr>
105
 
106
  <?php
107
+ foreach ( wp_get_user_contact_methods() as $name => $desc ) {
108
  ?>
109
  <tr>
110
  <th><label for="<?php echo $name; ?>"><?php echo apply_filters( 'user_'.$name.'_label', $desc ); ?></label></th>
115
  ?>
116
  </table>
117
 
118
+ <h3><?php _e( 'About Yourself', 'theme-my-login' ); ?></h3>
119
 
120
  <table class="form-table">
121
  <tr>
122
+ <th><label for="description"><?php _e( 'Biographical Info', 'theme-my-login' ); ?></label></th>
123
  <td><textarea name="description" id="description" rows="5" cols="30"><?php echo esc_html( $profileuser->description ); ?></textarea><br />
124
+ <span class="description"><?php _e( 'Share a little biographical information to fill out your profile. This may be shown publicly.', 'theme-my-login' ); ?></span></td>
125
  </tr>
126
 
127
  <?php
129
  if ( $show_password_fields ) :
130
  ?>
131
  <tr id="password">
132
+ <th><label for="pass1"><?php _e( 'New Password', 'theme-my-login' ); ?></label></th>
133
+ <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.', 'theme-my-login' ); ?></span><br />
134
+ <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <span class="description"><?php _e( 'Type your new password again.', 'theme-my-login' ); ?></span><br />
135
  <div id="pass-strength-result"><?php _e( 'Strength indicator', 'theme-my-login' ); ?></div>
136
+ <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).', 'theme-my-login' ); ?></p>
137
  </td>
138
  </tr>
139
  <?php endif; ?>
145
  <input type="hidden" name="action" value="profile" />
146
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
147
  <input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr( $current_user->ID ); ?>" />
148
+ <input type="submit" class="button-primary" value="<?php esc_attr_e( 'Update Profile', 'theme-my-login' ); ?>" name="submit" />
149
  </p>
150
  </form>
151
  </div>
templates/register-form.php CHANGED
@@ -9,21 +9,21 @@ Theme My Login will always look in your theme's directory first, before using th
9
  <?php $template->the_errors(); ?>
10
  <form name="registerform" id="registerform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'register' ); ?>" method="post">
11
  <p>
12
- <label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username' ); ?></label>
13
  <input type="text" name="user_login" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_login' ); ?>" size="20" />
14
  </p>
15
 
16
  <p>
17
- <label for="user_email<?php $template->the_instance(); ?>"><?php _e( 'E-mail' ); ?></label>
18
  <input type="text" name="user_email" id="user_email<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_email' ); ?>" size="20" />
19
  </p>
20
 
21
  <?php do_action( 'register_form' ); ?>
22
 
23
- <p id="reg_passmail<?php $template->the_instance(); ?>"><?php echo apply_filters( 'tml_register_passmail_template_message', __( 'A password will be e-mailed to you.' ) ); ?></p>
24
 
25
  <p class="submit">
26
- <input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Register' ); ?>" />
27
  <input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'register' ); ?>" />
28
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
29
  <input type="hidden" name="action" value="register" />
9
  <?php $template->the_errors(); ?>
10
  <form name="registerform" id="registerform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'register' ); ?>" method="post">
11
  <p>
12
+ <label for="user_login<?php $template->the_instance(); ?>"><?php _e( 'Username', 'theme-my-login' ); ?></label>
13
  <input type="text" name="user_login" id="user_login<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_login' ); ?>" size="20" />
14
  </p>
15
 
16
  <p>
17
+ <label for="user_email<?php $template->the_instance(); ?>"><?php _e( 'E-mail', 'theme-my-login' ); ?></label>
18
  <input type="text" name="user_email" id="user_email<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'user_email' ); ?>" size="20" />
19
  </p>
20
 
21
  <?php do_action( 'register_form' ); ?>
22
 
23
+ <p id="reg_passmail<?php $template->the_instance(); ?>"><?php echo apply_filters( 'tml_register_passmail_template_message', __( 'A password will be e-mailed to you.', 'theme-my-login' ) ); ?></p>
24
 
25
  <p class="submit">
26
+ <input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Register', 'theme-my-login' ); ?>" />
27
  <input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'register' ); ?>" />
28
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
29
  <input type="hidden" name="action" value="register" />
templates/resetpass-form.php CHANGED
@@ -9,23 +9,23 @@ Theme My Login will always look in your theme's directory first, before using th
9
  <?php $template->the_errors(); ?>
10
  <form name="resetpasswordform" id="resetpasswordform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'resetpass' ); ?>" method="post">
11
  <p>
12
- <label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'New password' ); ?></label>
13
  <input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" autocomplete="off" />
14
  </p>
15
 
16
  <p>
17
- <label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm new password' ); ?></label>
18
  <input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" autocomplete="off" />
19
  </p>
20
 
21
- <div id="pass-strength-result" class="hide-if-no-js"><?php _e( 'Strength indicator' ); ?></div>
22
 
23
- <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).' ); ?></p>
24
 
25
  <?php do_action( 'resetpassword_form' ); ?>
26
 
27
  <p class="submit">
28
- <input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Reset Password' ); ?>" />
29
  <input type="hidden" name="key" value="<?php $template->the_posted_value( 'key' ); ?>" />
30
  <input type="hidden" name="login" id="user_login" value="<?php $template->the_posted_value( 'login' ); ?>" />
31
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
9
  <?php $template->the_errors(); ?>
10
  <form name="resetpasswordform" id="resetpasswordform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'resetpass' ); ?>" method="post">
11
  <p>
12
+ <label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'New password', 'theme-my-login' ); ?></label>
13
  <input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" autocomplete="off" />
14
  </p>
15
 
16
  <p>
17
+ <label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm new password', 'theme-my-login' ); ?></label>
18
  <input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" autocomplete="off" />
19
  </p>
20
 
21
+ <div id="pass-strength-result" class="hide-if-no-js"><?php _e( 'Strength indicator', 'theme-my-login' ); ?></div>
22
 
23
+ <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).', 'theme-my-login' ); ?></p>
24
 
25
  <?php do_action( 'resetpassword_form' ); ?>
26
 
27
  <p class="submit">
28
+ <input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Reset Password', 'theme-my-login' ); ?>" />
29
  <input type="hidden" name="key" value="<?php $template->the_posted_value( 'key' ); ?>" />
30
  <input type="hidden" name="login" id="user_login" value="<?php $template->the_posted_value( 'login' ); ?>" />
31
  <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
theme-my-login.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Theme My Login
4
  Plugin URI: http://www.jfarthing.com/extend/wordpress-plugins/theme-my-login/
5
  Description: Themes the WordPress login, registration and forgot password pages according to your theme.
6
- Version: 6.3.10
7
  Author: Jeff Farthing
8
  Author URI: http://www.jfarthing.com
9
  Text Domain: theme-my-login
3
  Plugin Name: Theme My Login
4
  Plugin URI: http://www.jfarthing.com/extend/wordpress-plugins/theme-my-login/
5
  Description: Themes the WordPress login, registration and forgot password pages according to your theme.
6
+ Version: 6.3.11
7
  Author: Jeff Farthing
8
  Author URI: http://www.jfarthing.com
9
  Text Domain: theme-my-login