<div class="mw-ui-vform-field">
<?php
- echo Html::input( 'wpLoginAttempt', $this->getMsg( 'pt-login-button' )->text(), 'submit', array(
+ $attrs = array(
'id' => 'wpLoginAttempt',
+ 'name' => 'wpLoginAttempt',
'tabindex' => '6',
- 'class' => 'mw-ui-button mw-ui-big mw-ui-block mw-ui-constructive'
- ) );
+ );
+ $modifiers = array(
+ 'mw-ui-big', 'mw-ui-block', 'mw-ui-constructive',
+ );
+ echo Html::submitButton( $this->getMsg( 'pt-login-button' )->text(), $attrs, $modifiers );
?>
</div>