Index: trunk/phase3/includes/specials/SpecialRecentchanges.php |
— | — | @@ -568,14 +568,14 @@ |
569 | 569 | $submit = ' ' . Xml::submitbutton( wfMsg( 'allpagessubmit' ) ); |
570 | 570 | |
571 | 571 | $out = Xml::openElement( 'table', array( 'class' => 'mw-recentchanges-table' ) ); |
572 | | - foreach( $extraOpts as $optionRow ) { |
| 572 | + foreach( $extraOpts as $name=>$optionRow ) { |
573 | 573 | # Add submit button to the last row only |
574 | 574 | ++$count; |
575 | | - $addSubmit = $count === $extraOptsCount ? $submit : ''; |
| 575 | + $addSubmit = ( $count === $extraOptsCount ) ? $submit : ''; |
576 | 576 | |
577 | 577 | $out .= Xml::openElement( 'tr' ); |
578 | 578 | if( is_array( $optionRow ) ) { |
579 | | - $out .= Xml::tags( 'td', array( 'class' => 'mw-label' ), $optionRow[0] ); |
| 579 | + $out .= Xml::tags( 'td', array( 'class' => 'mw-label ' . $name . '-label' ), $optionRow[0] ); |
580 | 580 | $out .= Xml::tags( 'td', array( 'class' => 'mw-input' ), $optionRow[1] . $addSubmit ); |
581 | 581 | } else { |
582 | 582 | $out .= Xml::tags( 'td', array( 'class' => 'mw-input', 'colspan' => 2 ), $optionRow . $addSubmit ); |
Index: trunk/phase3/includes/ChangeTags.php |
— | — | @@ -209,8 +209,8 @@ |
210 | 210 | if ( !$wgUseTagFilter || !count( self::listDefinedTags() ) ) |
211 | 211 | return $fullForm ? '' : array(); |
212 | 212 | |
213 | | - $data = array( Html::rawElement( 'label', array( 'for' => 'tagfilter' ), wfMsgExt( 'tag-filter', 'parseinline' ) ), |
214 | | - Xml::input( 'tagfilter', 20, $selected ) ); |
| 213 | + $data = array( Html::rawElement( 'label', array( 'for' => 'tagfilter' ), wfMsgExt( 'tag-filter', 'parseinline' ), |
| 214 | + Xml::input( 'tagfilter', 20, $selected, array( 'class' => 'tagfilter-input' ) ) ) ); |
215 | 215 | |
216 | 216 | if ( !$fullForm ) { |
217 | 217 | return $data; |
— | — | @@ -220,6 +220,7 @@ |
221 | 221 | $html .= "\n" . Xml::element( 'input', array( 'type' => 'submit', 'value' => wfMsg( 'tag-filter-submit' ) ) ); |
222 | 222 | $html .= "\n" . Html::hidden( 'title', $title->getPrefixedText() ); |
223 | 223 | $html = Xml::tags( 'form', array( 'action' => $title->getLocalURL(), 'method' => 'get' ), $html ); |
| 224 | + $html = Xml::tags( 'form', array( 'action' => $title->getLocalURL(), 'class' => 'tagfilter-form', 'method' => 'get' ), $html ); |
224 | 225 | |
225 | 226 | return $html; |
226 | 227 | } |
Index: trunk/phase3/CREDITS |
— | — | @@ -113,6 +113,7 @@ |
114 | 114 | * Harry Burt |
115 | 115 | * Ireas |
116 | 116 | * Jaska Zedlik |
| 117 | +* Jarry1250 |
117 | 118 | * Jeremy Baron |
118 | 119 | * Jidanni |
119 | 120 | * Jimmy Xu |