From: swalling Date: Mon, 21 Apr 2014 23:00:08 +0000 (-0700) Subject: Remove unnecessary h2 element on create account X-Git-Tag: 1.31.0-rc.0~16114 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=f3b12fca6602ec469876b0bf6f2eef0b212727b2;p=lhc%2Fweb%2Fwiklou.git 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 --- 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",