<?php
// @codingStandardsIgnoreFile
/**
- * Html form for user login (since 1.22 with VForm appearance).
+ * HTML form for user login (since 1.22 with VForm appearance).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
<?php if ( $this->data['formheader'] ) { ?>
<div class="mw-form-formheader">
- <?php $this->html( 'formheader' ); /* extensions such as MobileFrontend add html here */ ?>
+ <?php $this->html( 'formheader' ); /* extensions such as MobileFrontend add HTML here */ ?>
</div>
<?php } ?>
<div class="mw-ui-vform-field">
- <label for='wpName1'>
+ <label for="wpName1">
<?php
$this->msg( 'userlogin-yourname' );
</div>
<div class="mw-ui-vform-field">
- <label for='wpPassword1'>
+ <label for="wpPassword1">
<?php
$this->msg( 'userlogin-yourpassword' );
?>
}
?>
<div class="mw-ui-vform-field" id="mw-user-domain-section">
- <label for='wpDomain'><?php $this->msg( 'yourdomainname' ); ?></label>
+ <label for="wpDomain"><?php $this->msg( 'yourdomainname' ); ?></label>
<?php echo $select->getHTML(); ?>
</div>
<?php } ?>
'tabindex' => '6',
);
$modifiers = array(
- 'mw-ui-constructive',
+ 'mw-ui-progressive',
);
echo Html::submitButton( $this->getMsg( 'pt-login-button' )->text(), $attrs, $modifiers );
?>
<a href="<?php $this->text( 'createOrLoginHref' ); ?>" id="mw-createaccount-join" tabindex="7"><?php $this->msg( 'userlogin-createanother' ); ?></a>
</div>
<?php } else { ?>
- <div id="mw-createaccount-cta" class="mw-form-related-link-container mw-ui-vform-field">
- <?php $this->msg( 'userlogin-noaccount' ); ?><a href="<?php $this->text( 'createOrLoginHref' ); ?>" id="mw-createaccount-join" tabindex="7" class="mw-ui-button mw-ui-progressive"><?php $this->msg( 'userlogin-joinproject' ); ?></a>
+ <div id="mw-createaccount-cta" class="mw-ui-vform-field">
+ <?php $this->msg( 'userlogin-noaccount' ); ?><a href="<?php $this->text( 'createOrLoginHref' ); ?>" id="mw-createaccount-join" tabindex="7" class="mw-ui-button"><?php $this->msg( 'userlogin-joinproject' ); ?></a>
</div>
<?php
}
/* Styles for user login and signup forms */
.mw-form-related-link-container {
+ margin-bottom: 0.5em;
text-align: center;
}
.mw-ui-vform .mw-secure {
/* @embed */
- background: url(images/icon-lock.png) no-repeat scroll left center transparent;
+ background: url( images/icon-lock.png ) no-repeat left center;
margin: 0 0 0 1px;
padding: 0 0 0 11px;
}
/* Other display formats end up too wide */
display: table-cell;
width: 270px;
- background-color: #FFF;
+ background-color: #fff;
}
/* Make the fancycaptcha-image-container full-width within its parent. */