Merge "Restore Signupstart and Signupend messages for account creation"

This commit is contained in:
jenkins-bot 2013-12-06 22:57:08 +00:00 committed by Gerrit Code Review
commit da42257e35

View file

@ -46,6 +46,9 @@ class UsercreateTemplate extends BaseTemplate {
<div id="languagelinks">
<p><?php $this->html( 'languages' ); ?></p>
</div>
<?php }
if ( !wfMessage( 'signupstart' )->isDisabled() ) { ?>
<div id="signupstart"><?php $this->msgWiki( 'signupstart' ); ?></div>
<?php } ?>
<div id="userloginForm">
<h2 class="createaccount-join">
@ -261,6 +264,9 @@ class UsercreateTemplate extends BaseTemplate {
<?php if ( $this->haveData( 'uselang' ) ) { ?><input type="hidden" name="uselang" value="<?php $this->text( 'uselang' ); ?>" /><?php } ?>
<?php if ( $this->haveData( 'token' ) ) { ?><input type="hidden" name="wpCreateaccountToken" value="<?php $this->text( 'token' ); ?>" /><?php } ?>
</form>
<?php if ( !wfMessage( 'signupend' )->isDisabled() ) { ?>
<div id="signupend"><?php $this->html( 'signupend' ); ?></div>
<?php } ?>
</div>
<div class="mw-createacct-benefits-container">
<h2><?php $this->msg( 'createacct-benefit-heading' ); ?></h2>