From f3b12fca6602ec469876b0bf6f2eef0b212727b2 Mon Sep 17 00:00:00 2001 From: swalling Date: Mon, 21 Apr 2014 16:00:08 -0700 Subject: [PATCH] Remove unnecessary h2 element on create account We added these headings during the last account creation and login form redesign but on recollection I'm not sure they're needed. The messages are pretty much redundant with the h1 heading, and now h2 elements have a margin-top of 1em it adds too much whitespace. Change-Id: Ice5e8bf23cc00bf00835e7dc26acc33182654ec5 --- includes/templates/Usercreate.php | 3 --- languages/i18n/en.json | 2 -- 2 files changed, 5 deletions(-) diff --git a/includes/templates/Usercreate.php b/includes/templates/Usercreate.php index d1aef1d485..1c8bbd1151 100644 --- a/includes/templates/Usercreate.php +++ b/includes/templates/Usercreate.php @@ -51,9 +51,6 @@ class UsercreateTemplate extends BaseTemplate {
msgWiki( 'signupstart' ); ?>
-

- msg( $this->data['loggedin'] ? 'createacct-another-join' : 'createacct-join' ); ?> -

html( 'header' ); /* extensions such as ConfirmEdit add form HTML here */ ?> diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 67f374cfaf..783ce482e7 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -418,8 +418,6 @@ "userlogin-helplink2": "Help with logging in", "userlogin-loggedin": "You are already logged in as {{GENDER:$1|$1}}.\nUse the form below to log in as another user.", "userlogin-createanother": "Create another account", - "createacct-join": "Enter your information below.", - "createacct-another-join": "Enter the new account's information below.", "createacct-emailrequired": "Email address", "createacct-emailoptional": "Email address (optional)", "createacct-email-ph": "Enter your email address", -- 2.20.1