WordPress.org

Make WordPress Core

Changeset 8427


Ignore:
Timestamp:
07/23/08 22:41:28 (6 years ago)
Author:
azaozz
Message:

crazyhorse: small fixes for the media uploader

Location:
branches/crazyhorse/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/crazyhorse/wp-admin/css/media.css

    r8422 r8427  
    325325    float:left; 
    326326    max-width:65px; 
    327     padding:7px; 
     327    padding:6px; 
    328328    text-align:center; 
    329329} 
     
    436436} 
    437437 
     438#media-upload  #att-info p.type-single { 
     439    background: url(../images/media-button-other.gif) no-repeat center left; 
     440} 
     441 
    438442.ml-submit .button { 
    439443    font-size: 11px; 
  • branches/crazyhorse/wp-admin/edit-form-advanced.php

    r8379 r8427  
    340340<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 
    341341 
    342 <div id="add-media-button"><a href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Add Media' ); ?></a></div> 
     342<div id="add-media-button"><a href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&amp;ins=1&amp;TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Add Media' ); ?></a></div> 
    343343 
    344344<h3><?php _e('Post') ?></h3> 
  • branches/crazyhorse/wp-admin/edit-page-form.php

    r8379 r8427  
    259259<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 
    260260 
    261 <div id="add-media-button"><a href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Add Media' ); ?></a></div> 
     261<div id="add-media-button"><a href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&amp;ins=1&amp;TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Add Media' ); ?></a></div> 
    262262 
    263263<h3><?php _e('Page') ?></h3> 
Note: See TracChangeset for help on using the changeset viewer.