Index: trunk/phase3/includes/SpecialPreferences.php |
— | — | @@ -888,10 +888,9 @@ |
889 | 889 | } else { |
890 | 890 | $formatted = $wgLang->timeanddate( $epoch, false, $key ); |
891 | 891 | } |
892 | | - $checked = ( $key == $this->mDate ) ? true : false; |
893 | 892 | $wgOut->addHTML( |
894 | 893 | Xml::tags( 'div', null, |
895 | | - Xml::radioLabel( $formatted, 'wpDate', $key, "wpDate$idCnt", $checked ) |
| 894 | + Xml::radioLabel( $formatted, 'wpDate', $key, "wpDate$idCnt", $key == $this->mDate ) |
896 | 895 | ) . "\n" |
897 | 896 | ); |
898 | 897 | $idCnt++; |
— | — | @@ -910,7 +909,7 @@ |
911 | 910 | $this->addRow( wfMsg( 'localtime' ), $nowlocal ) . |
912 | 911 | $this->addRow( |
913 | 912 | Xml::label( wfMsg( 'timezoneoffset' ), 'wpHourDiff' ), |
914 | | - Xml::input( 'wpHourDiff', 6, $this->mHourDiff, array( 'class' => 'wpHourDiff' ) ) ) . |
| 913 | + Xml::input( 'wpHourDiff', 6, $this->mHourDiff, array( 'id' => 'wpHourDiff' ) ) ) . |
915 | 914 | "<tr> |
916 | 915 | <td></td> |
917 | 916 | <td class='mw-submit'>" . |