WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/25/2008 07:21:11 PM (13 years ago)
Author:
matt
Message:

First pass at async upload, multi-upload, and gallery feature. Modified names from patch. Hat tip: tellyworth, skeltoac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r6649 r6659  
    8686        $this->add( 'schedule', '/wp-includes/js/jquery/jquery.schedule.js', array('jquery'), '20');
    8787        $this->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.js', array('jquery'), '3.1');
     88        $this->add( 'swfupload', '/wp-includes/js/swfupload/swfupload.js', false, '2.0.2');
     89        $this->add( 'swfupload-degrade', '/wp-includes/js/swfupload/plugins/swfupload.graceful_degradation.js', array('swfupload'), '2.0.2');
     90        $this->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2.0.2');
     91        $this->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.0.2');
     92        // these error messages came from the sample swfupload js, they might need changing.
     93        $this->localize( 'swfupload-handlers', 'swfuploadL10n', array(
     94                'queue_limit_exceeded' => 'You have attempted to queue too many files.',
     95                'file_exceeds_size_limit' => 'The file you have selected is too big.',
     96                'zero_byte_file' => 'The file you selected is empty.  Please select another file.',
     97                'invalid_filetype' => 'The file you choose is not an allowed file type.',
     98                'default_error' => 'An error occurred in the upload. Please try again later.',
     99                'missing_upload_url' => 'There was a configuration error.  Please contact the server administrator.',
     100                'upload_limit_exceeded' => 'You may only upload 1 file.',
     101                'http_error' => 'HTTP error.',
     102                'upload_failed' => 'Upload failed.',
     103                'io_error' => 'IO error.',
     104                'security_error' => 'Security error.',
     105                'file_cancelled' => 'File cancelled.',
     106                'upload_stopped' => 'Upload stopped.',
     107               
     108        ) );
    88109
    89110        $this->add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui.tabs.js', array('jquery'), '3' );
Note: See TracChangeset for help on using the changeset viewer.