Hi, when "Only site administrators can create new user accounts" the link text should be only "Login".

Comments

mrtoner’s picture

Yup, I was about to report this myself.

hunmonk’s picture

Status: Active » Fixed

we now have this, committed to 5.x, and 6.x:

/**
 * Custom theme function for the login/register link.
 */
function theme_lt_login_link() {
  // Only display register text if registration is allowed.
  if (variable_get('user_register', 1)) {
    return t('Login/Register');
  }
  else {
    return t('Login');
  }
}
senpai’s picture

Title: Login/Register text when user registration disabled » 'Login/Register' should read 'Login' when user registration is disabled

Dammit hunmonk. I already did that over the weekend. I just, umm, didn't actually upload the patch. Good job, mate!

senpai’s picture

Version: 5.x-1.0 » 7.x-1.x-dev

Changing the Version to 6.x dev

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.