Set taborder on Special:ActiveUsers
authorAlex Monk <krenair@gmail.com>
Mon, 1 Jul 2013 14:51:20 +0000 (15:51 +0100)
committerAlex Monk <krenair@gmail.com>
Mon, 1 Jul 2013 14:51:20 +0000 (15:51 +0100)
Order: 'Display users starting at' text box, hide bots checkbox, hide admins checkbox, go button

Bug: 43558
Change-Id: Ib32b43324abd0295b029f9b8e6c5af17b6570d4f

includes/specials/SpecialActiveusers.php

index 3885043..705dab5 100644 (file)
@@ -206,15 +206,15 @@ class ActiveUsersPager extends UsersPager {
                $out .= Html::hidden( 'title', $self->getPrefixedDBkey() ) . $limit . "\n";
 
                $out .= Xml::inputLabel( $this->msg( 'activeusers-from' )->text(),
-                       'username', 'offset', 20, $this->requestedUser ) . '<br />';# Username field
+                       'username', 'offset', 20, $this->requestedUser, array( 'tabindex' => 1 ) ) . '<br />';# Username field
 
                $out .= Xml::checkLabel( $this->msg( 'activeusers-hidebots' )->text(),
-                       'hidebots', 'hidebots', $this->opts->getValue( 'hidebots' ) );
+                       'hidebots', 'hidebots', $this->opts->getValue( 'hidebots' ), array( 'tabindex' => 2 ) );
 
                $out .= Xml::checkLabel( $this->msg( 'activeusers-hidesysops' )->text(),
-                       'hidesysops', 'hidesysops', $this->opts->getValue( 'hidesysops' ) ) . '<br />';
+                       'hidesysops', 'hidesysops', $this->opts->getValue( 'hidesysops' ), array( 'tabindex' => 3 ) ) . '<br />';
 
-               $out .= Xml::submitButton( $this->msg( 'allpagessubmit' )->text() ) . "\n";# Submit button and form bottom
+               $out .= Xml::submitButton( $this->msg( 'allpagessubmit' )->text(), array( 'tabindex' => 4 ) ) . "\n";# Submit button and form bottom
                $out .= Xml::closeElement( 'fieldset' );
                $out .= Xml::closeElement( 'form' );