Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -424,6 +424,7 @@ |
425 | 425 | $table .= "<tr>$r</tr>"; # Just add as HTML content if not a row |
426 | 426 | } else { |
427 | 427 | $table .= "<tr$stripe>"; |
| 428 | + $sel = "<input type='checkbox' name='{$name}[]' value='$col' checked />"; |
428 | 429 | if( $template ) { |
429 | 430 | $text = array_shift( $prows ); |
430 | 431 | $text = preg_replace( "|<(/?td.*?)>|", "<$1>", $text ); |
— | — | @@ -436,7 +437,6 @@ |
437 | 438 | $u = $t->getLocalURL(); |
438 | 439 | $col = $r['title']; |
439 | 440 | $ecol = urlencode( $col ); |
440 | | - $sel = "<input type='checkbox' name='{$name}[]' value='$col' checked />"; |
441 | 441 | $row = array( |
442 | 442 | 'select' => "<td class='col-select'>$sel</td>\n", |
443 | 443 | 'title' => "<td class='col0 col-title'><a href='$u'>$col</a></td>", |