Multimedia uploader styling from andy. see #5824

git-svn-id: https://develop.svn.wordpress.org/trunk@6795 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-12 04:47:31 +00:00
parent fa8e0c1a62
commit 92fc095456
2 changed files with 13 additions and 7 deletions
+3 -1
View File
@@ -444,6 +444,8 @@ function get_multimedia_item( $attachment_id ) {
$thumb_url = wp_get_attachment_thumb_url( $attachment_id );
if ( empty($thumb_url) )
$thumb_url = wp_mime_type_icon( $attachment_id );
if ( empty($thumb_url) && ( $post =& get_post( $attachment_id ) ) && substr($post->post_mime_type, 0, 5) == 'image' )
$thumb_url = wp_get_attachment_url( $attachment_id );
$title_label = __('Title');
$description_label = __('Description');
@@ -493,7 +495,7 @@ function get_multimedia_item( $attachment_id ) {
$item .= "
</fieldset>
<p><a id='del$attachment_id' class='delete' href='$delete_href'>$delete</a></p>
<p class='delete'><a id='del$attachment_id' class='delete' href='$delete_href'>$delete</a></p>
</div>
";