Validation fixes for uploader. Props sambauers. fixes #6659 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@7654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-04-14 16:33:37 +00:00
parent b83563f368
commit 1d67896b70
2 changed files with 8 additions and 7 deletions

View File

@ -137,15 +137,15 @@ button.dismiss {
max-width: 40px;
}
tbody.media-item-info tr {
thead.media-item-info tr {
background-color: transparent;
}
tbody.media-item-info th, tbody.media-item-info td {
thead.media-item-info th, thead.media-item-info td {
border: none;
margin: 0;
}
.form-table tbody.media-item-info {
.form-table thead.media-item-info {
border: 8px solid #fff;
}

View File

@ -666,15 +666,15 @@ function get_media_item( $attachment_id, $args = null ) {
$toggle_links
<div class='filename new'>$display_title</div>
<table class='slidetoggle describe $class'>
<tbody class='media-item-info'>
<thead class='media-item-info'>
<tr>
<td class='A1B1' rowspan='4'><img class='thumbnail' src='$thumb_url' alt='' /></td>
<td>$filename</td>
</tr>
<td>$post->post_mime_type</td></tr>
<tr><td>$post->post_mime_type</td></tr>
<tr><td>" . mysql2date($post->post_date, get_option('time_format')) . "</td></tr>
<tr><td>" . apply_filters('media_meta', '', $post) . "</tr></td>
</tbody>
<tr><td>" . apply_filters('media_meta', '', $post) . "</td></tr>
</thead>
<tbody>\n";
$defaults = array(
@ -745,6 +745,7 @@ function get_media_item( $attachment_id, $args = null ) {
if ( !empty($form_fields['_final']) )
$item .= "\t\t<tr class='final'><td colspan='2'>{$form_fields['_final']}</td></tr>\n";
$item .= "\t</tbody>\n";
$item .= "\t</table>\n";
foreach ( $hidden_fields as $name => $value )