Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -307,8 +307,9 @@ |
308 | 308 | if( $groupby ) $groupby = self::split( $groupby, ',' ); |
309 | 309 | |
310 | 310 | $type = $this->type; |
311 | | - $sortable = $sortable ? ' sortable' : ''; |
312 | | - $br = $sortable ? '<br />' : ''; |
| 311 | + $id = ($sortable && $sortable != 'yes') ? " id=\"$sortable\"" : ""; |
| 312 | + $sortable = $sortable ? " sortable" : ""; |
| 313 | + $br = $sortable ? "<br />" : ""; |
313 | 314 | $format = $wgRequest->getText( 'export' ); |
314 | 315 | |
315 | 316 | # If exporting as pdf, ensure the parser renders full URL's |
— | — | @@ -321,7 +322,7 @@ |
322 | 323 | } |
323 | 324 | |
324 | 325 | # Table header (col0-3 class atts are for backward compatibility, only use named from now on) |
325 | | - $table = "<table class='recordadmin$sortable $type-record'>\n<tr>"; |
| 326 | + $table = "<table$id class='recordadmin$sortable $type-record'>\n<tr>"; |
326 | 327 | $th = array( |
327 | 328 | 'select' => "<th class='col-select'>" . wfMsg( 'recordadmin-select' ) . "$br</th>", |
328 | 329 | 'title' => "<th class='col0 col-title'>" . wfMsg( 'recordadmin-title', $type ) . "$br</th>", |
Index: trunk/extensions/RecordAdmin/RecordAdmin.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | * @author Siebrand Mazeland |
12 | 12 | * @licence GNU General Public Licence 2.0 or later |
13 | 13 | */ |
14 | | -define( 'RECORDADMIN_VERSION', '1.3.3, 2011-08-18' ); |
| 14 | +define( 'RECORDADMIN_VERSION', '1.3.4, 2011-08-18' ); |
15 | 15 | |
16 | 16 | $wgRecordAdminExtPath = preg_replace( "|^.*(/extensions/.*$)|", "$wgScriptPath$1", dirname( __FILE__ ) ); |
17 | 17 | |