Make WordPress Core

Ticket #6517: 6517.diff

File 6517.diff, 2.2 KB (added by andy, 16 years ago)

move original filename to front and move Crunching to right

  • wp-admin/css/media.css

     
    9191        max-height: 40px;
    9292}
    9393
    94 .filename {
    95         display: none;
     94.filename.original {
     95        z-index: 10;
     96        position: absolute;
    9697}
     98.crunching {
     99        display: block;
     100        line-height: 32px;
     101        text-align: right;
     102        margin-right: 5px;
     103}
    97104button.dismiss {
    98105        position: absolute;
    99106        top: 5px;
     
    216223        position: relative;
    217224        min-height: 36px;
    218225}
    219 #media-upload .filename {
     226.filename {
    220227        display: block;
    221228        line-height: 36px;
    222229        margin-left: 50px;
  • wp-includes/js/swfupload/handlers.js

     
    2424        // Lengthen the progress bar
    2525        jQuery('#media-item-' + fileObj.id + ' .bar').width(620*bytesDone/bytesTotal);
    2626
    27         if ( bytesDone== bytesTotal )
    28                 jQuery('#media-item-' + fileObj.id + ' .bar').html('<strong style="display: block; padding-top: 9px; padding-left: 1em;">' + swfuploadL10n.crunching + '</strong>');
     27        if ( bytesDone == bytesTotal )
     28                jQuery('#media-item-' + fileObj.id + ' .bar').html('<strong class="crunching">' + swfuploadL10n.crunching + '</strong>');
    2929}
    3030
    3131function prepareMediaItem(fileObj, serverData) {
  • wp-includes/script-loader.php

     
    8787                        'is_lighttpd_before_150' => is_lighttpd_before_150(),
    8888                ) );
    8989                $this->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2.0.2');
    90                 $this->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.0.2-20080301');
     90                $this->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.0.2-20080331');
    9191                // these error messages came from the sample swfupload js, they might need changing.
    9292                $this->localize( 'swfupload-handlers', 'swfuploadL10n', array(
    9393                                'queue_limit_exceeded' => __('You have attempted to queue too many files.'),