Index: trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaigns.php |
— | — | @@ -157,18 +157,20 @@ |
158 | 158 | |
159 | 159 | $out->addHTML( Xml::openElement( |
160 | 160 | 'table', |
161 | | - array( 'class' => 'wikitable', 'style' => 'width:400px' ) |
| 161 | + array( 'class' => 'wikitable sortable', 'style' => 'width:400px' ) |
162 | 162 | ) ); |
163 | 163 | |
164 | 164 | $out->addHTML( |
165 | | - '<tr>' . |
| 165 | + '<thead><tr>' . |
166 | 166 | Html::element( 'th', array(), wfMsg( 'mwe-upwiz-campaigns-name' ) ) . |
167 | 167 | Html::element( 'th', array(), wfMsg( 'mwe-upwiz-campaigns-status' ) ) . |
168 | 168 | Html::element( 'th', array(), wfMsg( 'mwe-upwiz-campaigns-edit' ) ) . |
169 | 169 | Html::element( 'th', array(), wfMsg( 'mwe-upwiz-campaigns-delete' ) ) . |
170 | | - '</tr>' |
| 170 | + '</tr></thead>' |
171 | 171 | ); |
172 | 172 | |
| 173 | + $out->addHTML( '<tbody>' ); |
| 174 | + |
173 | 175 | foreach ( $campaigns as $campaign ) { |
174 | 176 | $out->addHTML( |
175 | 177 | '<tr>' . |
— | — | @@ -205,6 +207,7 @@ |
206 | 208 | ); |
207 | 209 | } |
208 | 210 | |
| 211 | + $out->addHTML( '</tbody>' ); |
209 | 212 | $out->addHTML( '</table>' ); |
210 | 213 | } |
211 | 214 | |