first import
218
sites/all/libraries/plupload/changelog.txt
Normal file
@@ -0,0 +1,218 @@
|
||||
Version 1.5.4 (2012-04-12)
|
||||
Flash: Disable scripting if swf was loaded from another domain.
|
||||
Version 1.5.3 (2012-04-05)
|
||||
HTML5: Check if xhr object is initialized, before calling abort() on it.
|
||||
HTML4: Postpone form removal until uploaders state changes, to avoid error on resuming stopped uploads.
|
||||
BrowserPlus: Fix mechanical typo, that caused error during mime type check.
|
||||
BrowserPlus: browserPlus.Uploader.Cancel() has two required parameters, dies with the error if not passed.
|
||||
Flash: Improve runtime's behaviour during upload cancellation.
|
||||
Flash: Survive the case when GPSVersionID contains unexpected value.
|
||||
Flash: Fix random freeze in Chrome's bundled Flash Player.
|
||||
Flash: Avoid the silent break when URLStream not yet open, but close is called on it.
|
||||
Flash: Move Destroy handler out of Flash:Init handler, since it might be called not only after Flash:Init but also before it.
|
||||
Flash: Avoid warning during build with mxmlc.
|
||||
Try removeEventListener first in IE and only if it fails - detachEvent.
|
||||
Fix plupload.getPos to return proper value in IE8+.
|
||||
Do not initiate plupload.STARTED state, if file queue is empty.
|
||||
Additional language packs: Estonian, Polish, Korean, French-Canadian, Greek, Persian/Farsi.
|
||||
Version 1.5.2 (2012-01-06)
|
||||
UI Widget: Do not show UI if no runtime can be initialized.
|
||||
UI Widget: Timely update file size and total size if resize in action.
|
||||
UI Widget: Constrain renaming feature to queued files only.
|
||||
UI Widget: Disable Add button properly, if requested, rather then just hide.
|
||||
HTML4/HTML5/BrowserPlus: Avoid adding mime type twice to dialog trigger.
|
||||
HTML5: fix regression, when unresized images were failing on FF3.6.
|
||||
HTML5: Constrain Gecko 2,5,6 workaround to multipart mode only.
|
||||
HTML5/Flash: Take into account weird possibilities of ExifVersion being a string, rather then standard Undefined.
|
||||
Flash: Simplify event dispatching in BitmapDataUnlimited class, in order to avoid freezing on resizing in FP11.
|
||||
Add ability to disable file dialog trigger on request (uploader.disableBrowse(true/false)).
|
||||
Support for immediate abort of upload process, be it chunked upload or regular one.
|
||||
Abort all activity, before destroying uploader.
|
||||
Revive temporary file removal logic in upload.php.
|
||||
Fix potential vulnerability in dump.php and upload.php.
|
||||
Additional MIME types: application/vnd.openxmlformats-officedocument.*, application/x-javascript, application/json, text/css,css, application/vnd.oasis.opendocument.formula-templat.
|
||||
Additional language packs: Hungarian, Croatian, Serbian, Romanian.
|
||||
Version 1.5.1.1 (2011-09-27)
|
||||
HTML5: Fix mechanical typo, that successfully broke drag and drop, wherever could.
|
||||
Version 1.5.1 (2011-09-26)
|
||||
HTML4: Add support for server responses in HTML format.
|
||||
HTML5: Disable multiple file selection in Safari 5.x for Windows (see #363).
|
||||
HTML5: Gecko 2/5/6 should upload chunks as binary strings when in chunking mode and client side resize is requested.
|
||||
Flash: Enforce URLStream mode when custom headers are passed.
|
||||
Flash: Fix embedding problems in IE9 (and all other IEs).
|
||||
Flash/Gears/BrowserPlus/SilverLight: Expose multi_selection feature, to be used in required_features (mainly to overcome Safari for Windows problem).
|
||||
SilverLight: Properly handle custom and null headers.
|
||||
UploadComplete moved to fire after the last StateChanged event.
|
||||
Additional language packs: Finnish.
|
||||
Version 1.5b (2011-09-11)
|
||||
UI Widget: Fix sortable logic.
|
||||
UI Widget: Fix bug, when message was displayed simultaneously across all Plupload UI instances on the page.
|
||||
UI Widget: notify() method is now public - users can throw their own messages into the widget header.
|
||||
HTML4/HTML5: Revise input[type=file] placement logic to support cursor styling on Geko 2+.
|
||||
HTML5: Revise Drag'n'Drop detection logic.
|
||||
HTML5: Make Exif and GPS information available to user, introduce two new events: ExifData and GpsData.
|
||||
HTML5: Add support for File.prototype.slice() method (mozSlice/webkitSlice) in order to be able to upload files in chunks without preloading.
|
||||
HTML5: Remove any JPEG headers before restoring them, 'cause user agent (like Chrome), might be inserting it's own.
|
||||
Flash: Remove a limit on the depth of image header check, since it still fails in some cases and performance gain is negligible.
|
||||
Flash: Fix regression, when runtime hanged when not images where passed in as images.
|
||||
SilverLight: Fix bug, when JSON serializer was failing on null.
|
||||
SilverLight: Remove cast to integer for chunk boundary, which resulted in a wrong size for last chunks on huge files.
|
||||
SilverLight: Increase read buffer, add disposal of ImageStream and FileStream, optimize for performance.
|
||||
Updated build.xml to include language packs in release package under js/ folder.
|
||||
Gears/BrowserPlus: Add support for * file filter.
|
||||
BeforeUpload now can cancel upload if required.
|
||||
Additional MIME types: text/csv, image/photoshop, video/x-ms-wmv, video/avi, video/webm support
|
||||
Additional language packs: Japanese
|
||||
Cleaned examples.
|
||||
Version 1.4.3.2 (2011-04-13)
|
||||
Fixed bug in HTML5 runtime, when was reduced by a factor of 100 after every upload.
|
||||
Version 1.4.3.1 (2011-04-12)
|
||||
Fixed build script, mistakenly populating jquery.plupload.queue directory from jquery.ui.plupload sources.
|
||||
Fixed script urls in all examples, build script now will alter them automatically from dev to release when needed.
|
||||
Fixed isEmptyObj undefined error in HTML4 runtime.
|
||||
Fixed bug in UI Widget preventing UploadComplete from triggering.
|
||||
Version 1.4.3 (2011-04-11)
|
||||
Added Latvian language pack and updated French.
|
||||
Fixed bug in Flash runtime when JPEG header was not investigated deep enough to reach SOFn marker in large images.
|
||||
Fixed bug, when PNGs were cropped to width in Flash runtimes, rather then resized.
|
||||
Fixed Flash to allow multiple uploading of the same file, with different settings.
|
||||
Fixed Flash runtime to clean anonymous listeners properly.
|
||||
Fixed HTML5 runtime to resolve to mimeType in case-insensitive way.
|
||||
Fixed HTML5/Flash/SilverLight/Gears runtimes for inconsistency in naming of chunks feature, comparing to other runtimes.
|
||||
Fixed HTML4/HTML5 runtimes for input[type=file] to outsize contaner effectively enough to fill the whole click area.
|
||||
Fixed all runtimes to preserve position (relative/absolute) rule on containers that already have it.
|
||||
Fixed SilverLight runtime to support large files (over 2GB).
|
||||
Restructured the examples, src and build scripts to make it more clear that jQuery is optional.
|
||||
Added support for *.* filter.
|
||||
Added support for preserving ICC and IPTC headers when resizing JPEGs.
|
||||
Added Image.onerror/onabort handlers to HTML5 in order to gracefully bypass faulty images.
|
||||
Added ability to drop image size (by lowering quality), while preserving original dimension (HTML5/Flash/Gears).
|
||||
Ported EXIF, ICC, IPTC preservation code to Flash runtime.
|
||||
Version 1.4.2 (2011-02-20)
|
||||
Added Brazilian Portuguese, German, Russian and Spanish translations.
|
||||
Added support for file_data_name option to SilverLight runtime.
|
||||
Added support for better quality image resizing to Flash runtime.
|
||||
Added support for properly handling images with dimensions up to 8191x8191 pixels to Flash runtime.
|
||||
Added 'updatelist' event to UI Widget, which will be triggered every time file list will get redrawn.
|
||||
Added support for dynamically changing options to UI Widget.
|
||||
Fixed HTML4 runtime bug, when UploadFile handler was attached twice.
|
||||
Fixed HTML5 to use FileReader.readAsBinaryString() instead of File.getAsBinary() on newer WebKit browsers (like Chrome 9).
|
||||
Fixed Flash runtime from sending duplicate Filename param, when using FileReference.upload().
|
||||
Updated S3 example to illustrate support for a proper progress indication.
|
||||
Version 1.4.1 (2011-02-01)
|
||||
Added an example on how to use Plupload with Amazon S3 written in PHP but can easily be ported to other languages.
|
||||
Fixed bug where hidden input elements wasn't created when the multiple_queues option wasn't used.
|
||||
Fixed bug where FF4 would produce an exception about missing BlobBuilder.
|
||||
Version 1.4.0 (2011-01-26)
|
||||
Added removeEvent and removeAllEvents methods and modified addEvent accordingly, in order to support dynamic unload.
|
||||
Added unbindAll method.
|
||||
Added UploadComplete event, which fires when internal iterator reaches the end of the queue.
|
||||
Added public destroy method to plupload object, new event - Destroy, and corresponding handlers to all runtimes.
|
||||
Added Czech, Italian, French, Dutch translations.
|
||||
Added support for translatable error messages.
|
||||
Added two new options: browse_button_hover and browse_button_active, in order to support browse_button interactivity.
|
||||
Added support for 'multi_selection: false' to Silverlight runtime.
|
||||
Added support for video/mp4, video/x-m4v and audio/mp4 MIME Types.
|
||||
Added artificial sendAsBinary method to XMLHttpRequest.prototype for browsers that have support for BlobBuilder and typed arrays.
|
||||
Added version tracking variable into plupload object and version comment to the header of every file.
|
||||
Fixed measurements of browse_button element in order to size and position input[type=file] element to fit it fully.
|
||||
Fixed Flash runtime behavior for multiple_select=false and other simpleUpload usage cases: basically new FileReference has to be created for every select dialog.
|
||||
Fixed browser sniffer to match only Safari, for fakeSafariDragDrop (seems like Safari on Mac doesn't require it either).
|
||||
Fixed so that ExternalInterface escapes strings properly, before passing them to JS.
|
||||
Fixed eventual reinitialization of flash/silverlight runtimes, especially for cases when object wrapper needed to be programmatically hidden and then shown again.
|
||||
Fixed so that Plupload will now ignore files with duplicate names when adding to the queue, in one set. Mainly introduced to work around Safari on Windows bug (https://bugs.webkit.org/show_bug.cgi?id=37957).
|
||||
Fixed bug, when final UploadProgress was firing after FileUploaded for Flash simpleUpload.
|
||||
Fixed bug where upload would fail if an error was produced inside the FilesAdded event.
|
||||
Fixed bug in Flash runtime when it used a wrong size when resizing, but not chunking.
|
||||
Fixed bug in Silverlight runtime that would keep sending 0 byte packages when a picture was chunked before resized.
|
||||
Disabled blur filter (is going to be replaced with some bilinear resampling in next release).
|
||||
Completely revised UI Widget, to be more jQuery UI oriented. Optionally depends on UI Button, UI Sortable, UI ProgressBar.
|
||||
Version 1.3.0 (2010-11-24)
|
||||
Added new jQuery UI widget that supports jQuery UI themes.
|
||||
Added new multiple_queues option that enables you to upload multiple times in the queue widgets.
|
||||
Added support for crossdomain loading of the XAP and SWF files and crossdomain upload.
|
||||
Added new multiple_queues option that enables you to upload multiple times in the queue widgets.
|
||||
Added support for crossdomain loading of the XAP and SWF files and crossdomain upload.
|
||||
Added preinit/init options to to ease up the binding of custom events to queueWidget and the Uploader class.
|
||||
Added drag/drop support for Safari until they fix the broken drag/drop support on Windows.
|
||||
Added events example file that show how to bind all events and display event specific data.
|
||||
Added support for retaining Exif data on images when they where resized using the HTML5 runtime.
|
||||
Fixed logic issue with the upload.php example file. Chunking wasn't working correctly.
|
||||
Fixed issue with HTML4 not handling the form encoding correctly on older IE versions. Patch contributed by jinxdone.
|
||||
Fixed so the HTML4 runtime only submits the defined multipart_params arguments.
|
||||
Fixes issue where it wasn't possible to dynamically override url or mutlipart_params for the HTML4 runtime.
|
||||
Fixed so all runtimes pass the name, chunk and chunks parameters as multipart parameters instead of querystring parameters.
|
||||
Fixed so files are read using the newer FileReader class if it's available if not it tries the older getAsXXX on Gecko.
|
||||
Fixed bug where IE 9 beta 1 wouldn't render Silverlight properly.
|
||||
Fixed bug where Flash would do extra empty requests if images below a specific size would be uploaded.
|
||||
Fixed bug where Google Gears would resize and re-encode images even if the it wasn't changed in scale.
|
||||
Fixed bug where the HTML5 runtime wouldn't free memory after each request on Gecko.
|
||||
Version 1.2.4 (2010-09-08)
|
||||
Added new BeforeUpload event to make it easier to override settings before a file is uploaded.
|
||||
Added new automatic usage of FileReference in Flash if it's possible. Contributed by Marcel Jackwerth.
|
||||
Added new chunking support for Chrome 5 and Firefox 3.6 using the HTML 5 runtime.
|
||||
Added new multipart upload support for WebKit using the HTML 5 runtime and the FormData object.
|
||||
Added new image scaling method for the Flash runtime contributed by rcoopman.
|
||||
Added new alert error message if the user selected invalid files.
|
||||
Added new automatic unique name generation to the example.php script. Contributed by Brandon Kelly.
|
||||
Changed so the default upload method is multipart and the default chunk size is 0.
|
||||
Fixed progress issue with the HTML5 runtime running on Gecko.
|
||||
Fixed so longer extensions can be used such as .tar.gz.
|
||||
Fixed so the file extension is retained when using the unique_names option.
|
||||
Version 1.2.3 (2010-05-27)
|
||||
Added new drag/drop support for HTML5 running on Chrome beta.
|
||||
Added new multipart state for the features object. It's now possible to detect multipart support.
|
||||
Added new getFeatures function to all runtime. Basic concept by Javier Martinez Fernandez.
|
||||
Fixed bug where runtimes where initialized even if they didn't match the required_features setting.
|
||||
Version 1.2.2.1 (2010-05-04)
|
||||
Added new headers option, enables you to set custom headers for the upload requests.
|
||||
Fixed bug where the file extension checking was case sensitive.
|
||||
Version 1.2.2 (2010-04-26)
|
||||
Added new file_data_name option that enables you to set the multipart file data param. Patch contributed by Alex Ganov.
|
||||
Added new FILE_SIZE_ERROR type that will be triggered if the user selected a file that is to large or zero bytes.
|
||||
Added new FILE_EXTENSION_ERROR type that will be triggered if you add a file with an invalid file extension.
|
||||
Added new required_features setting, enables you to specify a list of required features that the runtime must have.
|
||||
Fixed so the plupload.buildUrl function uses the UTF compatible encodeURIComponent method instead of escape.
|
||||
Fixed so that all file types can be selected if you don't specify a filter setting.
|
||||
Fixed so more valid HTTP status codes are accepted as valid responses.
|
||||
Fixed so all runtimes fills the features object with available features.
|
||||
Fixed some issues with the HTML4 runtime if there wasn't any existing forms on the page.
|
||||
Fixed some conflict issues with HTML4 runtime and forms with the input names of action or target.
|
||||
Fixed bug where some Gecko versions would produce exceptions when checking the HTTP status of a XHR.
|
||||
Version 1.2.1 (2010-03-22)
|
||||
Fixed bug with incorrect aspect ratio in Flash image scaling.
|
||||
Fixed bug where chunked uploads could get scrambled in the Flash runtime. Patch contributed by Grady Werner.
|
||||
Fixed bug where a beta version of Chrome wouldn't handle drag/drop correctly because of missing drag effect.
|
||||
Fixed so the HTML 4 runtime displays N/A for file sizes and the progress is based on uploaded files instead of bytes.
|
||||
Fixed so chunking can be disabled properly in Flash but that will affect the progress bar.
|
||||
Fixed so queue widget displays the drag/drop message if file queue is emptied.
|
||||
Fixed small files are uploaded as one single chunk and not forced into 4 chunks in the Flash runtime.
|
||||
Version 1.2 (2010-03-09)
|
||||
Added new rename file support for jQuery queue widget, click on a file name to rename it if it's enabled.
|
||||
Added official ChunkUploaded event, it similar to FileUploaded but executed for each chunk.
|
||||
Added bytes per second support to total queue progress.
|
||||
Added better error handling to core API using the new Error event.
|
||||
Added better error handling to jQuery queue widget.
|
||||
Fixed so chunking uploads is dispatch from JS not from inside Flash/Silverlight.
|
||||
Version 1.1.1 (2010-02-25)
|
||||
Added new setup setting to queue widget. Makes it easier to bind custom events to uploader instance.
|
||||
Fixed so it's possible to disable chunking compleatly. It's now disabled by default.
|
||||
Fixed bug where multipart mode was enabled all the time in the Flash runtime.
|
||||
Fixed bug where chunked uploading in Silverlight would fail.
|
||||
Fixed bug where the delete button was visible while uploading.
|
||||
Fixed bug where unique_names setting wasn't working when the core API was used.
|
||||
Fixed bug where the queue widget wouldn't display the currently uploaded file if the unique_names was enabled.
|
||||
Version 1.1 (2010-02-24)
|
||||
Added new multipart and multipart_params support.
|
||||
Added new container option, enables you to specify where flash/silverlight objects would be added.
|
||||
Added chunking support to BrowserPlus runtime, contributed by Steve Spencer.
|
||||
Added FileUploaded event that fires when a file is uploaded.
|
||||
Added more easily understandable buttons to queue widget.
|
||||
Added html4 runtime, contributed by Ryan Demmer.
|
||||
Fixed issues with i18n support and added a Swedish and Danish language pack.
|
||||
Fixed bug where the Flash runtime could do empty requests if the image was scaled down.
|
||||
Fixed bug where uploading small images in Silverlight would produce an exception.
|
||||
Fixed so the runtime list can include whitespace or missing runtimes. Patch contributed by <20>yvind Sean Kinsey.
|
||||
Fixed so to large files are ignored and never dispatched to the FilesAdded event.
|
||||
Version 1.0 (2010-02-03)
|
||||
First official release of Plupload.
|
194
sites/all/libraries/plupload/docs/api/class_plupload.File.html
Normal file
@@ -0,0 +1,194 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.File</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.File</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">File</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">File instance.
|
||||
</div>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Properties</h2>
|
||||
<table class="Properties summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Property</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.File.html#id">id</a> : String</div>
|
||||
<div class="summary">File id this is a globally unique id for the specific file.</div>
|
||||
</td>
|
||||
<td class="last">File</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.File.html#loaded">loaded</a> : Number</div>
|
||||
<div class="summary">Number of bytes uploaded of the files total size.</div>
|
||||
</td>
|
||||
<td class="last">File</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.File.html#name">name</a> : String</div>
|
||||
<div class="summary">File name for example "myfile.</div>
|
||||
</td>
|
||||
<td class="last">File</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.File.html#percent">percent</a> : Number</div>
|
||||
<div class="summary">Number of percentage uploaded of the file.</div>
|
||||
</td>
|
||||
<td class="last">File</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.File.html#size">size</a> : Number</div>
|
||||
<div class="summary">File size in bytes.</div>
|
||||
</td>
|
||||
<td class="last">File</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.File.html#status">status</a> : Number</div>
|
||||
<div class="summary">Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.</div>
|
||||
</td>
|
||||
<td class="last">File</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.File.html#File">File</a>(id:String, name:String, size:Number)</div>
|
||||
<div class="summary">Constructs a new file instance.</div>
|
||||
</td>
|
||||
<td class="last">File</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Property details</h2>
|
||||
<div class="memberDetails" id="id">
|
||||
<h3>id<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public id : String</code>
|
||||
<div class="memberDescription">File id this is a globally unique id for the specific file.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="loaded">
|
||||
<h3>loaded<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public loaded : Number</code>
|
||||
<div class="memberDescription">Number of bytes uploaded of the files total size.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="name">
|
||||
<h3>name<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public name : String</code>
|
||||
<div class="memberDescription">File name for example "myfile.gif".
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="percent">
|
||||
<h3>percent<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public percent : Number</code>
|
||||
<div class="memberDescription">Number of percentage uploaded of the file.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="size">
|
||||
<h3>size<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public size : Number</code>
|
||||
<div class="memberDescription">File size in bytes.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails last" id="status">
|
||||
<h3>status<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public status : Number</code>
|
||||
<div class="memberDescription">Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.
|
||||
</div>
|
||||
<h4>See Also</h4>
|
||||
<ul class="see">
|
||||
<li>
|
||||
<a href="class_plupload.html">plupload</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails last" id="File">
|
||||
<h3>File<span class="memberType">constructor</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function File(id:String, name:String, size:Number)</code>
|
||||
<div class="memberDescription">Constructs a new file instance.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">id:String</td>
|
||||
<td class="last">Unique file id.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">name:String</td>
|
||||
<td class="last">File name.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">size:Number</td>
|
||||
<td class="last">File size in bytes.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,204 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.QueueProgress</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.QueueProgress</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">Runtime class gets implemented by each upload runtime.
|
||||
</div>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Properties</h2>
|
||||
<table class="Properties summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Property</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.QueueProgress.html#bytesPerSec">bytesPerSec</a> : Number</div>
|
||||
<div class="summary">Bytes uploaded per second.</div>
|
||||
</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.QueueProgress.html#failed">failed</a> : Number</div>
|
||||
<div class="summary">Number of files failed to upload.</div>
|
||||
</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.QueueProgress.html#loaded">loaded</a> : Number</div>
|
||||
<div class="summary">Total bytes uploaded.</div>
|
||||
</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.QueueProgress.html#percent">percent</a> : Number</div>
|
||||
<div class="summary">Total percent of the uploaded bytes.</div>
|
||||
</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.QueueProgress.html#queued">queued</a> : Number</div>
|
||||
<div class="summary">Number of files yet to be uploaded.</div>
|
||||
</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.QueueProgress.html#size">size</a> : Number</div>
|
||||
<div class="summary">Total queue file size.</div>
|
||||
</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.QueueProgress.html#uploaded">uploaded</a> : Number</div>
|
||||
<div class="summary">Number of files uploaded.</div>
|
||||
</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.QueueProgress.html#QueueProgress">QueueProgress</a>()</div>
|
||||
<div class="summary">Constructs a queue progress.</div>
|
||||
</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.QueueProgress.html#reset">reset</a>():void</div>
|
||||
<div class="summary">Resets the progress to it's initial values.</div>
|
||||
</td>
|
||||
<td class="last">QueueProgress</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Property details</h2>
|
||||
<div class="memberDetails" id="bytesPerSec">
|
||||
<h3>bytesPerSec<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public bytesPerSec : Number</code>
|
||||
<div class="memberDescription">Bytes uploaded per second.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="failed">
|
||||
<h3>failed<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public failed : Number</code>
|
||||
<div class="memberDescription">Number of files failed to upload.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="loaded">
|
||||
<h3>loaded<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public loaded : Number</code>
|
||||
<div class="memberDescription">Total bytes uploaded.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="percent">
|
||||
<h3>percent<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public percent : Number</code>
|
||||
<div class="memberDescription">Total percent of the uploaded bytes.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="queued">
|
||||
<h3>queued<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public queued : Number</code>
|
||||
<div class="memberDescription">Number of files yet to be uploaded.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="size">
|
||||
<h3>size<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public size : Number</code>
|
||||
<div class="memberDescription">Total queue file size.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails last" id="uploaded">
|
||||
<h3>uploaded<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public uploaded : Number</code>
|
||||
<div class="memberDescription">Number of files uploaded.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails" id="QueueProgress">
|
||||
<h3>QueueProgress<span class="memberType">constructor</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function QueueProgress()</code>
|
||||
<div class="memberDescription">Constructs a queue progress.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails last" id="reset">
|
||||
<h3>reset<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function reset():void</code>
|
||||
<div class="memberDescription">Resets the progress to it's initial values.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,92 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.Runtime</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.Runtime</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">Runtime</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Type</td>
|
||||
<td class="last">Singleton</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Subclasses</td>
|
||||
<td class="last subClassList">
|
||||
<a href="class_plupload.runtimes.BrowserPlus.html">BrowserPlus</a>, <a href="class_plupload.runtimes.Flash.html">Flash</a>, <a href="class_plupload.runtimes.Gears.html">Gears</a>, <a href="class_plupload.runtimes.Html4.html">Html4</a>, <a href="class_plupload.runtimes.Html5.html">Html5</a>, <a href="class_plupload.runtimes.Silverlight.html">Silverlight</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">Runtime class gets implemented by each upload runtime.
|
||||
</div>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Runtime.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Initializes the upload runtime.</div>
|
||||
</td>
|
||||
<td class="last">Runtime</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails last" id="init">
|
||||
<h3>init<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</code>
|
||||
<div class="memberDescription">Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance that needs to be initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">callback:function</td>
|
||||
<td class="last">Callback function to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,913 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.Uploader</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.Uploader</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">Uploader class, an instance of this class will be created for each upload field.
|
||||
</div>
|
||||
<h4>Example</h4>
|
||||
<pre class="brush: js;">var uploader = new plupload.Uploader({
|
||||
runtimes : 'gears,html5,flash',
|
||||
browse_button : 'button_id'
|
||||
});
|
||||
|
||||
uploader.bind('Init', function(up) {
|
||||
alert('Supports drag/drop: ' + (!!up.features.dragdrop));
|
||||
});
|
||||
|
||||
uploader.bind('FilesAdded', function(up, files) {
|
||||
alert('Selected files: ' + files.length);
|
||||
});
|
||||
|
||||
uploader.bind('QueueChanged', function(up) {
|
||||
alert('Queued files: ' + uploader.files.length);
|
||||
});
|
||||
|
||||
uploader.init();</pre>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Properties</h2>
|
||||
<table class="Properties summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Property</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#features">features</a> : Object</div>
|
||||
<div class="summary">Map of features that are available for the uploader runtime.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#files">files</a> : Array</div>
|
||||
<div class="summary">Current upload queue, an array of File instances.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#id">id</a> : String</div>
|
||||
<div class="summary">Unique id for the Uploader instance.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#runtime">runtime</a> : String</div>
|
||||
<div class="summary">Current runtime name.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#settings">settings</a> : Object</div>
|
||||
<div class="summary">Object with name/value settings.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#state">state</a> : Number</div>
|
||||
<div class="summary">Current state of the total uploading progress.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#total">total</a> : <a href="class_plupload.QueueProgress.html">QueueProgress</a>
|
||||
</div>
|
||||
<div class="summary">Total progess information.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#Uploader">Uploader</a>(settings:Object)</div>
|
||||
<div class="summary">Constructs a new uploader instance.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#bind">bind</a>(name:String, func:function, scope:Object):void</div>
|
||||
<div class="summary">Adds an event listener by name.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#destroy">destroy</a>():void</div>
|
||||
<div class="summary">Destroys Plupload instance and cleans after itself.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#getFile">getFile</a>(id:String):<a href="class_plupload.File.html">File</a>
|
||||
</div>
|
||||
<div class="summary">Returns the specified file object by id.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#init">init</a>():void</div>
|
||||
<div class="summary">Initializes the Uploader instance and adds internal event listeners.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#refresh">refresh</a>():void</div>
|
||||
<div class="summary">Refreshes the upload instance by dispatching out a refresh event to all runtimes.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#removeFile">removeFile</a>(file:<a href="class_plupload.File.html">File</a>):void</div>
|
||||
<div class="summary">Removes a specific file.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#splice">splice</a>(start:Number, length:Number):Array</div>
|
||||
<div class="summary">Removes part of the queue and returns the files removed.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#start">start</a>():void</div>
|
||||
<div class="summary">Starts uploading the queued files.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#stop">stop</a>():void</div>
|
||||
<div class="summary">Stops the upload of the queued files.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#trigger">trigger</a>(name:String, Multiple:Object..):void</div>
|
||||
<div class="summary">Dispatches the specified event name and it's arguments to all listeners.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#unbind">unbind</a>(name:String, func:function):void</div>
|
||||
<div class="summary">Removes the specified event listener.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#unbindAll">unbindAll</a>():void</div>
|
||||
<div class="summary">Removes all event listeners.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>Public Events</h2>
|
||||
<table class="Events summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Event</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#BeforeUpload">BeforeUpload</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>)</div>
|
||||
<div class="summary">Fires when just before a file is uploaded.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#ChunkUploaded">ChunkUploaded</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>, response:Object)</div>
|
||||
<div class="summary">Fires when file chunk is uploaded.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#Destroy">Destroy</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</div>
|
||||
<div class="summary">Fires when destroy method is called.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#Error">Error</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, error:Object)</div>
|
||||
<div class="summary">Fires when a error occurs.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#FilesAdded">FilesAdded</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, files:Array)</div>
|
||||
<div class="summary">Fires while when the user selects files to upload.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#FilesRemoved">FilesRemoved</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, files:Array)</div>
|
||||
<div class="summary">Fires while a file was removed from queue.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#FileUploaded">FileUploaded</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>, response:Object)</div>
|
||||
<div class="summary">Fires when a file is successfully uploaded.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#Init">Init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</div>
|
||||
<div class="summary">Fires when the current RunTime has been initialized.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#PostInit">PostInit</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</div>
|
||||
<div class="summary">Fires after the init event incase you need to perform actions there.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#QueueChanged">QueueChanged</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</div>
|
||||
<div class="summary">Fires when the file queue is changed.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#Refresh">Refresh</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</div>
|
||||
<div class="summary">Fires when the silverlight/flash or other shim needs to move.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#StateChanged">StateChanged</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</div>
|
||||
<div class="summary">Fires when the overall state is being changed for the upload queue.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#UploadComplete">UploadComplete</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, files:Array)</div>
|
||||
<div class="summary">Fires when all files in a queue are uploaded.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#UploadFile">UploadFile</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>)</div>
|
||||
<div class="summary">Fires when a file is to be uploaded by the runtime.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.Uploader.html#UploadProgress">UploadProgress</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>)</div>
|
||||
<div class="summary">Fires while a file is being uploaded.</div>
|
||||
</td>
|
||||
<td class="last">Uploader</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Property details</h2>
|
||||
<div class="memberDetails" id="features">
|
||||
<h3>features<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public features : Object</code>
|
||||
<div class="memberDescription">Map of features that are available for the uploader runtime. Features will be filled
|
||||
before the init event is called, these features can then be used to alter the UI for the end user.
|
||||
Some of the current features that might be in this map is: dragdrop, chunks, jpgresize, pngresize.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="files">
|
||||
<h3>files<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public files : Array</code>
|
||||
<div class="memberDescription">Current upload queue, an array of File instances.
|
||||
</div>
|
||||
<h4>See Also</h4>
|
||||
<ul class="see">
|
||||
<li>
|
||||
<a href="class_plupload.File.html">File</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="memberDetails" id="id">
|
||||
<h3>id<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public id : String</code>
|
||||
<div class="memberDescription">Unique id for the Uploader instance.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="runtime">
|
||||
<h3>runtime<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public runtime : String</code>
|
||||
<div class="memberDescription">Current runtime name.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="settings">
|
||||
<h3>settings<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public settings : Object</code>
|
||||
<div class="memberDescription">Object with name/value settings.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="state">
|
||||
<h3>state<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public state : Number</code>
|
||||
<div class="memberDescription">Current state of the total uploading progress. This one can either be plupload.STARTED or plupload.STOPPED.
|
||||
These states are controlled by the stop/start methods. The default value is STOPPED.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails last" id="total">
|
||||
<h3>total<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public total : <a href="class_plupload.QueueProgress.html">QueueProgress</a>
|
||||
</code>
|
||||
<div class="memberDescription">Total progess information. How many files has been uploaded, total percent etc.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails" id="Uploader">
|
||||
<h3>Uploader<span class="memberType">constructor</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function Uploader(settings:Object)</code>
|
||||
<div class="memberDescription">Constructs a new uploader instance.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">settings:Object</td>
|
||||
<td class="last">Initialization settings, to be used by the uploader instance and runtimes.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="bind">
|
||||
<h3>bind<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function bind(name:String, func:function, scope:Object):void</code>
|
||||
<div class="memberDescription">Adds an event listener by name.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">name:String</td>
|
||||
<td class="last">Event name to listen for.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">func:function</td>
|
||||
<td class="last">Function to call ones the event gets fired.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">scope:Object</td>
|
||||
<td class="last">Optional scope to execute the specified function in.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="destroy">
|
||||
<h3>destroy<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function destroy():void</code>
|
||||
<div class="memberDescription">Destroys Plupload instance and cleans after itself.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="getFile">
|
||||
<h3>getFile<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function getFile(id:String):<a href="class_plupload.File.html">File</a>
|
||||
</code>
|
||||
<div class="memberDescription">Returns the specified file object by id.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">id:String</td>
|
||||
<td class="last">File id to look for.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">
|
||||
<a href="class_plupload.File.html">File</a> - File object or undefined if it wasn't found;</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="init">
|
||||
<h3>init<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function init():void</code>
|
||||
<div class="memberDescription">Initializes the Uploader instance and adds internal event listeners.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="refresh">
|
||||
<h3>refresh<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function refresh():void</code>
|
||||
<div class="memberDescription">Refreshes the upload instance by dispatching out a refresh event to all runtimes.
|
||||
This would for example reposition flash/silverlight shims on the page.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="removeFile">
|
||||
<h3>removeFile<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function removeFile(file:<a href="class_plupload.File.html">File</a>):void</code>
|
||||
<div class="memberDescription">Removes a specific file.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">file:<a href="class_plupload.File.html">File</a>
|
||||
</td>
|
||||
<td class="last">File to remove from queue.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="splice">
|
||||
<h3>splice<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function splice(start:Number, length:Number):Array</code>
|
||||
<div class="memberDescription">Removes part of the queue and returns the files removed. This will also trigger the FilesRemoved and QueueChanged events.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">start:Number</td>
|
||||
<td class="last">(Optional) Start index to remove from.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">length:Number</td>
|
||||
<td class="last">(Optional) Lengh of items to remove.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">Array - Array of files that was removed.</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="start">
|
||||
<h3>start<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function start():void</code>
|
||||
<div class="memberDescription">Starts uploading the queued files.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="stop">
|
||||
<h3>stop<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function stop():void</code>
|
||||
<div class="memberDescription">Stops the upload of the queued files.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="trigger">
|
||||
<h3>trigger<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function trigger(name:String, Multiple:Object..):void</code>
|
||||
<div class="memberDescription">Dispatches the specified event name and it's arguments to all listeners.
|
||||
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">name:String</td>
|
||||
<td class="last">Event name to fire.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Multiple:Object..</td>
|
||||
<td class="last">arguments to pass along to the listener functions.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="unbind">
|
||||
<h3>unbind<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function unbind(name:String, func:function):void</code>
|
||||
<div class="memberDescription">Removes the specified event listener.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">name:String</td>
|
||||
<td class="last">Name of event to remove.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">func:function</td>
|
||||
<td class="last">Function to remove from listener.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails last" id="unbindAll">
|
||||
<h3>unbindAll<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
function unbindAll():void</code>
|
||||
<div class="memberDescription">Removes all event listeners.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="details">
|
||||
<h2>Event details</h2>
|
||||
<div class="memberDetails" id="BeforeUpload">
|
||||
<h3>BeforeUpload<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event BeforeUpload(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>)</code>
|
||||
<div class="memberDescription">Fires when just before a file is uploaded. This event enables you to override settings
|
||||
on the uploader instance before the file is uploaded.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">file:<a href="class_plupload.File.html">File</a>
|
||||
</td>
|
||||
<td class="last">File to be uploaded.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="ChunkUploaded">
|
||||
<h3>ChunkUploaded<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event ChunkUploaded(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>, response:Object)</code>
|
||||
<div class="memberDescription">Fires when file chunk is uploaded.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">file:<a href="class_plupload.File.html">File</a>
|
||||
</td>
|
||||
<td class="last">File that the chunk was uploaded for.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">response:Object</td>
|
||||
<td class="last">Object with response properties.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="Destroy">
|
||||
<h3>Destroy<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event Destroy(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</code>
|
||||
<div class="memberDescription">Fires when destroy method is called.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="Error">
|
||||
<h3>Error<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event Error(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, error:Object)</code>
|
||||
<div class="memberDescription">Fires when a error occurs.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">error:Object</td>
|
||||
<td class="last">Contains code, message and sometimes file and other details.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="FilesAdded">
|
||||
<h3>FilesAdded<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event FilesAdded(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, files:Array)</code>
|
||||
<div class="memberDescription">Fires while when the user selects files to upload.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">files:Array</td>
|
||||
<td class="last">Array of file objects that was added to queue/selected by the user.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="FilesRemoved">
|
||||
<h3>FilesRemoved<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event FilesRemoved(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, files:Array)</code>
|
||||
<div class="memberDescription">Fires while a file was removed from queue.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">files:Array</td>
|
||||
<td class="last">Array of files that got removed.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="FileUploaded">
|
||||
<h3>FileUploaded<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event FileUploaded(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>, response:Object)</code>
|
||||
<div class="memberDescription">Fires when a file is successfully uploaded.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">file:<a href="class_plupload.File.html">File</a>
|
||||
</td>
|
||||
<td class="last">File that was uploaded.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">response:Object</td>
|
||||
<td class="last">Object with response properties.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="Init">
|
||||
<h3>Init<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event Init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</code>
|
||||
<div class="memberDescription">Fires when the current RunTime has been initialized.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="PostInit">
|
||||
<h3>PostInit<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event PostInit(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</code>
|
||||
<div class="memberDescription">Fires after the init event incase you need to perform actions there.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="QueueChanged">
|
||||
<h3>QueueChanged<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event QueueChanged(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</code>
|
||||
<div class="memberDescription">Fires when the file queue is changed. In other words when files are added/removed to the files array of the uploader instance.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="Refresh">
|
||||
<h3>Refresh<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event Refresh(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</code>
|
||||
<div class="memberDescription">Fires when the silverlight/flash or other shim needs to move.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="StateChanged">
|
||||
<h3>StateChanged<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event StateChanged(uploader:<a href="class_plupload.Uploader.html">Uploader</a>)</code>
|
||||
<div class="memberDescription">Fires when the overall state is being changed for the upload queue.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="UploadComplete">
|
||||
<h3>UploadComplete<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event UploadComplete(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, files:Array)</code>
|
||||
<div class="memberDescription">Fires when all files in a queue are uploaded.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">files:Array</td>
|
||||
<td class="last">Array of file objects that was added to queue/selected by the user.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="UploadFile">
|
||||
<h3>UploadFile<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event UploadFile(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>)</code>
|
||||
<div class="memberDescription">Fires when a file is to be uploaded by the runtime.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">file:<a href="class_plupload.File.html">File</a>
|
||||
</td>
|
||||
<td class="last">File to be uploaded.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails last" id="UploadProgress">
|
||||
<h3>UploadProgress<span class="memberType">event</span>
|
||||
</h3>
|
||||
<code class="syntax">public
|
||||
event UploadProgress(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>)</code>
|
||||
<div class="memberDescription">Fires while a file is being uploaded. Use this event to update the current file upload progress.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance sending the event.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">file:<a href="class_plupload.File.html">File</a>
|
||||
</td>
|
||||
<td class="last">File that is currently being uploaded.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
538
sites/all/libraries/plupload/docs/api/class_plupload.html
Normal file
@@ -0,0 +1,538 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Type</td>
|
||||
<td class="last">Singleton</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">Plupload class with some global constants and functions.
|
||||
</div>
|
||||
<h4>Example</h4>
|
||||
<pre class="brush: js;">// Encode entities
|
||||
console.log(plupload.xmlEncode("My string <>"));
|
||||
|
||||
// Generate unique id
|
||||
console.log(plupload.guid());</pre>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Properties</h2>
|
||||
<table class="Properties summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Property</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#DONE">DONE</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>File has been uploaded successfully</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#FAILED">FAILED</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>File has failed to be uploaded</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#FILE_EXTENSION_ERROR">FILE_EXTENSION_ERROR</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>File extension error.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#FILE_SIZE_ERROR">FILE_SIZE_ERROR</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>File size error.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#GENERIC_ERROR">GENERIC_ERROR</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Generic error for example if an exception is thrown inside Silverlight.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#HTTP_ERROR">HTTP_ERROR</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>HTTP transport error.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#INIT_ERROR">INIT_ERROR</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Initialization error.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#IO_ERROR">IO_ERROR</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Generic I/O error.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#mimeTypes">mimeTypes</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Mime type lookup table.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#QUEUED">QUEUED</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>File is queued for upload</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#SECURITY_ERROR">SECURITY_ERROR</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Generic I/O error.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#STARTED">STARTED</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Upload process is running</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#STOPPED">STOPPED</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Inital state of the queue and also the state ones it's finished all it's uploads.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#UPLOADING">UPLOADING</a> : Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>File is being uploaded</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#addRuntime">addRuntime</a>(name:String, obj:Object):void</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Adds a specific upload runtime like for example flash or gears.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#cleanName">cleanName</a>(s:String):String</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Cleans the specified name from national characters (diacritics).</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#extend">extend</a>(target:Object, obj:Object..):Object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Extends the specified object with another object.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#formatSize">formatSize</a>(size:Number):String</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Formats the specified number as a size string for example 1024 becomes 1 KB.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#getPos">getPos</a>(node:Element, root:Element):object</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Returns the absolute x, y position of an Element.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#guid">guid</a>():String</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Generates an unique ID.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#parseSize">parseSize</a>(size:String/Number):Number</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Parses the specified size string into a byte value.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#toArray">toArray</a>(obj:Object):Array</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Forces anything into an array.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.html#xmlEncode">xmlEncode</a>(s:String):String</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Encodes the specified string.</div>
|
||||
</td>
|
||||
<td class="last">plupload</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Property details</h2>
|
||||
<div class="memberDetails" id="DONE">
|
||||
<h3>DONE<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static DONE : Object</code>
|
||||
<div class="memberDescription">File has been uploaded successfully
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="FAILED">
|
||||
<h3>FAILED<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static FAILED : Object</code>
|
||||
<div class="memberDescription">File has failed to be uploaded
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="FILE_EXTENSION_ERROR">
|
||||
<h3>FILE_EXTENSION_ERROR<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static FILE_EXTENSION_ERROR : Object</code>
|
||||
<div class="memberDescription">File extension error. If the user selects a file that isn't valid according to the filters setting.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="FILE_SIZE_ERROR">
|
||||
<h3>FILE_SIZE_ERROR<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static FILE_SIZE_ERROR : Object</code>
|
||||
<div class="memberDescription">File size error. If the user selects a file that is to large it will be blocked and an error of this type will be triggered.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="GENERIC_ERROR">
|
||||
<h3>GENERIC_ERROR<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static GENERIC_ERROR : Object</code>
|
||||
<div class="memberDescription">Generic error for example if an exception is thrown inside Silverlight.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="HTTP_ERROR">
|
||||
<h3>HTTP_ERROR<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static HTTP_ERROR : Object</code>
|
||||
<div class="memberDescription">HTTP transport error. For example if the server produces a HTTP status other than 200.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="INIT_ERROR">
|
||||
<h3>INIT_ERROR<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static INIT_ERROR : Object</code>
|
||||
<div class="memberDescription">Initialization error. Will be triggered if no runtime was initialized.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="IO_ERROR">
|
||||
<h3>IO_ERROR<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static IO_ERROR : Object</code>
|
||||
<div class="memberDescription">Generic I/O error. For exampe if it wasn't possible to open the file stream on local machine.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="mimeTypes">
|
||||
<h3>mimeTypes<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static mimeTypes : Object</code>
|
||||
<div class="memberDescription">Mime type lookup table.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="QUEUED">
|
||||
<h3>QUEUED<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static QUEUED : Object</code>
|
||||
<div class="memberDescription">File is queued for upload
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="SECURITY_ERROR">
|
||||
<h3>SECURITY_ERROR<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static SECURITY_ERROR : Object</code>
|
||||
<div class="memberDescription">Generic I/O error. For exampe if it wasn't possible to open the file stream on local machine.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="STARTED">
|
||||
<h3>STARTED<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static STARTED : Object</code>
|
||||
<div class="memberDescription">Upload process is running
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="STOPPED">
|
||||
<h3>STOPPED<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static STOPPED : Object</code>
|
||||
<div class="memberDescription">Inital state of the queue and also the state ones it's finished all it's uploads.
|
||||
</div>
|
||||
</div>
|
||||
<div class="memberDetails last" id="UPLOADING">
|
||||
<h3>UPLOADING<span class="memberType">property</span>
|
||||
</h3>
|
||||
<code class="syntax">public static UPLOADING : Object</code>
|
||||
<div class="memberDescription">File is being uploaded
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails" id="addRuntime">
|
||||
<h3>addRuntime<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function addRuntime(name:String, obj:Object):void</code>
|
||||
<div class="memberDescription">Adds a specific upload runtime like for example flash or gears.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">name:String</td>
|
||||
<td class="last">Runtime name for example flash.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">obj:Object</td>
|
||||
<td class="last">Object containing init/destroy method.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memberDetails" id="cleanName">
|
||||
<h3>cleanName<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function cleanName(s:String):String</code>
|
||||
<div class="memberDescription">Cleans the specified name from national characters (diacritics). The result will be a name with only a-z, 0-9 and _.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">s:String</td>
|
||||
<td class="last">String to clean up.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">String - Cleaned string.</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="extend">
|
||||
<h3>extend<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function extend(target:Object, obj:Object..):Object</code>
|
||||
<div class="memberDescription">Extends the specified object with another object.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">target:Object</td>
|
||||
<td class="last">Object to extend.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">obj:Object..</td>
|
||||
<td class="last">Multiple objects to extend with.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">Object - Same as target, the extended object.</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="formatSize">
|
||||
<h3>formatSize<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function formatSize(size:Number):String</code>
|
||||
<div class="memberDescription">Formats the specified number as a size string for example 1024 becomes 1 KB.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">size:Number</td>
|
||||
<td class="last">Size to format as string.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">String - Formatted size string.</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="getPos">
|
||||
<h3>getPos<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function getPos(node:Element, root:Element):object</code>
|
||||
<div class="memberDescription">Returns the absolute x, y position of an Element. The position will be returned in a object with x, y fields.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">node:Element</td>
|
||||
<td class="last">HTML element or element id to get x, y position from.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">root:Element</td>
|
||||
<td class="last">Optional root element to stop calculations at.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">object - Absolute position of the specified element object with x, y fields.</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="guid">
|
||||
<h3>guid<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function guid():String</code>
|
||||
<div class="memberDescription">Generates an unique ID. This is 99.99% unique since it takes the current time and 5 random numbers.
|
||||
The only way a user would be able to get the same ID is if the two persons at the same exact milisecond manages
|
||||
to get 5 the same random numbers between 0-65535 it also uses a counter so each call will be guaranteed to be page unique.
|
||||
It's more probable for the earth to be hit with an ansteriod. You can also if you want to be 100% sure set the plupload.guidPrefix property
|
||||
to an user unique key.
|
||||
</div>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">String - Virtually unique id.</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="parseSize">
|
||||
<h3>parseSize<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function parseSize(size:String/Number):Number</code>
|
||||
<div class="memberDescription">Parses the specified size string into a byte value. For example 10kb becomes 10240.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">size:String/Number</td>
|
||||
<td class="last">String to parse or number to just pass through.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">Number - Size in bytes.</div>
|
||||
</div>
|
||||
<div class="memberDetails" id="toArray">
|
||||
<h3>toArray<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function toArray(obj:Object):Array</code>
|
||||
<div class="memberDescription">Forces anything into an array.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">obj:Object</td>
|
||||
<td class="last">Object with length field.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">Array - Array object containing all items.</div>
|
||||
</div>
|
||||
<div class="memberDetails last" id="xmlEncode">
|
||||
<h3>xmlEncode<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function xmlEncode(s:String):String</code>
|
||||
<div class="memberDescription">Encodes the specified string.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">s:String</td>
|
||||
<td class="last">String to encode.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h4>Returns</h4>
|
||||
<div class="returns">String - Encoded string.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.runtimes.BrowserPlus</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.runtimes.BrowserPlus</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload.runtimes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">BrowserPlus</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Type</td>
|
||||
<td class="last">Singleton</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Inheritance</td>
|
||||
<td class="last inheritageList">
|
||||
<span>BrowserPlus</span>
|
||||
<span class="last">
|
||||
<a href="class_plupload.Runtime.html">Runtime</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">Yahoo BrowserPlus implementation. This runtime supports these features: dragdrop, jpgresize, pngresize.
|
||||
</div>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.runtimes.BrowserPlus.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Initializes the browserplus runtime.</div>
|
||||
</td>
|
||||
<td class="last">BrowserPlus</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails last" id="init">
|
||||
<h3>init<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</code>
|
||||
<div class="memberDescription">Initializes the browserplus runtime.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance that needs to be initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">callback:function</td>
|
||||
<td class="last">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.runtimes.Flash</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.runtimes.Flash</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload.runtimes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">Flash</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Type</td>
|
||||
<td class="last">Singleton</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Inheritance</td>
|
||||
<td class="last inheritageList">
|
||||
<span>Flash</span>
|
||||
<span class="last">
|
||||
<a href="class_plupload.Runtime.html">Runtime</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">FlashRuntime implementation. This runtime supports these features: jpgresize, pngresize, chunks.
|
||||
</div>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.runtimes.Flash.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Initializes the upload runtime.</div>
|
||||
</td>
|
||||
<td class="last">Flash</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails last" id="init">
|
||||
<h3>init<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</code>
|
||||
<div class="memberDescription">Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance that needs to be initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">callback:function</td>
|
||||
<td class="last">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.runtimes.Gears</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.runtimes.Gears</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload.runtimes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">Gears</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Type</td>
|
||||
<td class="last">Singleton</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Inheritance</td>
|
||||
<td class="last inheritageList">
|
||||
<span>Gears</span>
|
||||
<span class="last">
|
||||
<a href="class_plupload.Runtime.html">Runtime</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">Gears implementation. This runtime supports these features: dragdrop, jpgresize, pngresize, chunks.
|
||||
</div>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.runtimes.Gears.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Initializes the upload runtime.</div>
|
||||
</td>
|
||||
<td class="last">Gears</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails last" id="init">
|
||||
<h3>init<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</code>
|
||||
<div class="memberDescription">Initializes the upload runtime.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance that needs to be initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">callback:function</td>
|
||||
<td class="last">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.runtimes.Html4</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.runtimes.Html4</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload.runtimes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">Html4</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Type</td>
|
||||
<td class="last">Singleton</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Inheritance</td>
|
||||
<td class="last inheritageList">
|
||||
<span>Html4</span>
|
||||
<span class="last">
|
||||
<a href="class_plupload.Runtime.html">Runtime</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">HTML4 implementation. This runtime has no special features it uses an form that posts files into an hidden iframe.
|
||||
</div>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.runtimes.Html4.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Initializes the upload runtime.</div>
|
||||
</td>
|
||||
<td class="last">Html4</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails last" id="init">
|
||||
<h3>init<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</code>
|
||||
<div class="memberDescription">Initializes the upload runtime.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance that needs to be initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">callback:function</td>
|
||||
<td class="last">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.runtimes.Html5</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.runtimes.Html5</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload.runtimes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">Html5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Type</td>
|
||||
<td class="last">Singleton</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Inheritance</td>
|
||||
<td class="last inheritageList">
|
||||
<span>Html5</span>
|
||||
<span class="last">
|
||||
<a href="class_plupload.Runtime.html">Runtime</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">HMTL5 implementation. This runtime supports these features: dragdrop, jpgresize, pngresize.
|
||||
</div>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.runtimes.Html5.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Initializes the upload runtime.</div>
|
||||
</td>
|
||||
<td class="last">Html5</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails last" id="init">
|
||||
<h3>init<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</code>
|
||||
<div class="memberDescription">Initializes the upload runtime.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance that needs to be initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">callback:function</td>
|
||||
<td class="last">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Class: plupload.runtimes.Silverlight</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="classDetailsContent">
|
||||
<h1>plupload.runtimes.Silverlight</h1>
|
||||
<table class="classDetails">
|
||||
<tr>
|
||||
<td class="first">Namespace</td>
|
||||
<td class="last">plupload.runtimes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Class</td>
|
||||
<td class="last">Silverlight</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Type</td>
|
||||
<td class="last">Singleton</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">Inheritance</td>
|
||||
<td class="last inheritageList">
|
||||
<span>Silverlight</span>
|
||||
<span class="last">
|
||||
<a href="class_plupload.Runtime.html">Runtime</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="classDescription">Silverlight implementation. This runtime supports these features: jpgresize, pngresize, chunks.
|
||||
</div>
|
||||
<div class="summaryLists">
|
||||
<h2>Public Methods</h2>
|
||||
<table class="Methods summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Defined By</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div>
|
||||
<a class="memberName" href="class_plupload.runtimes.Silverlight.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</div>
|
||||
<div class="summary">
|
||||
<span class="static">[static] </span>Initializes the upload runtime.</div>
|
||||
</td>
|
||||
<td class="last">Silverlight</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="detailsList">
|
||||
<div class="details">
|
||||
<h2>Method details</h2>
|
||||
<div class="memberDetails last" id="init">
|
||||
<h3>init<span class="memberType">method</span>
|
||||
</h3>
|
||||
<code class="syntax">public static
|
||||
function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, callback:function):void</code>
|
||||
<div class="memberDescription">Initializes the upload runtime. This runtime supports these features: jpgresize, pngresize, chunks.
|
||||
</div>
|
||||
<h4>Parameters</h4>
|
||||
<table class="params">
|
||||
<tr>
|
||||
<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</td>
|
||||
<td class="last">Uploader instance that needs to be initialized.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first">callback:function</td>
|
||||
<td class="last">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
235
sites/all/libraries/plupload/docs/api/css/general.css
Normal file
@@ -0,0 +1,235 @@
|
||||
body, html {
|
||||
overflow: hidden;
|
||||
background-color: #DFE8F6;
|
||||
}
|
||||
|
||||
#doc3 {
|
||||
margin: 0;
|
||||
|
||||
/* Fix for scrolling issue on Gecko */
|
||||
position: fixed; width: 100%; top: 0; left: 0;
|
||||
}
|
||||
|
||||
#bd, #bd, #yui-main, #detailsView, #classView {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#hd {
|
||||
background: #1E4176;
|
||||
border-bottom: 1px solid #99BBE8;
|
||||
}
|
||||
|
||||
#hd h1 {
|
||||
font-family:Verdana,Arial,Helvetica,sans-serif;
|
||||
font-size: 16px;
|
||||
padding: 4px 0 4px 8px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#yui-main #detailsView {
|
||||
overflow: auto;
|
||||
margin: 4px;
|
||||
margin-left: 260px;
|
||||
border: 1px solid #99BBE8;
|
||||
background: #FFF;
|
||||
}
|
||||
|
||||
#bd #classView {
|
||||
overflow: auto;
|
||||
width: 250px;
|
||||
margin: 4px;
|
||||
border: 1px solid #99BBE8;
|
||||
background: #FFF;
|
||||
}
|
||||
|
||||
.classDetailsContent, .memberDetailsContent {
|
||||
margin: 10px;
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
body, td, th {
|
||||
font-family: "Trebuchet MS", "Bitstream Vera Sans", Tahoma,Verdana,Arial,Helvetica,sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
margin-bottom: 3px;
|
||||
margin-top: 3px;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
a, a:visited, a:active, a:link {
|
||||
color: #0000CC;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
table.summary {
|
||||
border: 1px solid #999999;
|
||||
margin-bottom: 20px;
|
||||
margin-right: 10px;
|
||||
margin-top: 10px;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table.summary th {
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
vertical-align: bottom;
|
||||
background-color: #627C9D;
|
||||
color: #FFFFFF;
|
||||
white-space: nowrap;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
table.summary td {
|
||||
border: 1px solid #999999;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
table.summary a.memberName {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table.summary tr.even {
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
table.summary td.first div {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
table.summary td.first {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
table.summary td.last {
|
||||
width: 5%;
|
||||
}
|
||||
|
||||
table.summary .deprecated {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.params, .returns, .see {
|
||||
margin-left: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.params td.last {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.classDescription, .memberDescription, .deprecated {
|
||||
margin: 10px 0 10px 0;
|
||||
}
|
||||
|
||||
.inherited td.first {
|
||||
background: url(../img/inherited.gif) no-repeat 10px 5px;
|
||||
}
|
||||
|
||||
.inheritageList span {
|
||||
padding-right: 20px;
|
||||
margin-right: 5px;
|
||||
background: url(../img/inherit-arrow.gif) no-repeat center right;
|
||||
}
|
||||
|
||||
.inheritageList span.last {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.classDetails .first {
|
||||
font-weight: bold;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.memberDetails {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #F2F2F2;
|
||||
font-family: "Lucida Console","Courier New",Courier,monospace;
|
||||
font-size: 12px;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 10px;
|
||||
overflow: auto;
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
.memberType {
|
||||
padding-left: 10px;
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.selected {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.memberDetails {
|
||||
border-bottom: 1px solid gray;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.details {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.details .last {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.details h2 {
|
||||
width: 100%;
|
||||
background-color: #627C9D;
|
||||
color: #FFF;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.memberDetails {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
code.syntax {
|
||||
background-color: #F2F2F2;
|
||||
}
|
||||
|
||||
.deprecated {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.static {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.version span, .author span {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#yui-main #detailsView.loading {
|
||||
background: #FFF url('../img/loader.gif') no-repeat center center;
|
||||
}
|
467
sites/all/libraries/plupload/docs/api/css/grids.css
Normal file
@@ -0,0 +1,467 @@
|
||||
/*
|
||||
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.7.0
|
||||
*/
|
||||
/**
|
||||
* YUI Grids
|
||||
* @module grids
|
||||
* @namespace yui-
|
||||
* @requires reset, fonts
|
||||
*/
|
||||
|
||||
/**
|
||||
* Note: Throughout this file, the *property (star-property) filter is used
|
||||
* to give a value to IE that other browsers do not see. _property is only seen
|
||||
* by IE7, so the combo of *prop and _prop can target between IE6 and IE7.
|
||||
*
|
||||
* More information on these filters and related validation errors:
|
||||
* http://tech.groups.yahoo.com/group/ydn-javascript/message/40059
|
||||
*/
|
||||
|
||||
/**
|
||||
* Section: General Rules
|
||||
*/
|
||||
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/**
|
||||
* Section: Page Width Rules (#doc, #doc2, #doc3, #doc4)
|
||||
*/
|
||||
|
||||
#doc,#doc2,#doc3,#doc4,
|
||||
.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7 {
|
||||
margin: auto;
|
||||
text-align: left;
|
||||
width: 57.69em;
|
||||
*width: 56.25em;
|
||||
}
|
||||
|
||||
/* 950 Centered (doc2) */
|
||||
#doc2 {
|
||||
width: 73.076em;
|
||||
*width: 71.25em;
|
||||
}
|
||||
|
||||
/* 100% (doc3) */
|
||||
#doc3 {
|
||||
/**
|
||||
* Left and Right margins are not a structural part of Grids. Without them
|
||||
* Grids works fine, but content bleeds to the very edge of the document, which
|
||||
* often impairs readability and usability. They are provided because they
|
||||
* prevent the content from "bleeding" into the browser's chrome.
|
||||
*/
|
||||
margin: auto 10px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* 974 Centered (doc4) */
|
||||
#doc4 {
|
||||
width: 74.923em;
|
||||
*width: 73.05em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Section: Preset Template Rules (.yui-t[1-6])
|
||||
*/
|
||||
|
||||
|
||||
.yui-b {
|
||||
/* to preserve source-order independence for Gecko */
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.yui-b {
|
||||
/* to preserve source-order independence for IE */
|
||||
_position: static;
|
||||
}
|
||||
|
||||
#yui-main .yui-b {
|
||||
/* to preserve source-order independence for Gecko */
|
||||
position: static;
|
||||
}
|
||||
|
||||
#yui-main,
|
||||
.yui-g .yui-u .yui-g {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.yui-t1 #yui-main,
|
||||
.yui-t2 #yui-main,
|
||||
.yui-t3 #yui-main {
|
||||
float: right;
|
||||
/* IE: preserve layout at narrow widths */
|
||||
margin-left: -25em;
|
||||
}
|
||||
|
||||
.yui-t4 #yui-main,
|
||||
.yui-t5 #yui-main,
|
||||
.yui-t6 #yui-main {
|
||||
float: left;
|
||||
/* IE: preserve layout at narrow widths */
|
||||
margin-right: -25em;
|
||||
}
|
||||
|
||||
/**
|
||||
* For Specific Template Presets
|
||||
*/
|
||||
|
||||
.yui-t1 .yui-b {
|
||||
float: left;
|
||||
width: 12.30769em;
|
||||
*width: 12.00em;
|
||||
}
|
||||
|
||||
.yui-t1 #yui-main .yui-b {
|
||||
margin-left: 13.30769em;
|
||||
*margin-left: 13.05em;
|
||||
}
|
||||
|
||||
.yui-t2 .yui-b {
|
||||
float: left;
|
||||
width: 13.8461em;
|
||||
*width: 13.50em;
|
||||
}
|
||||
|
||||
.yui-t2 #yui-main .yui-b {
|
||||
margin-left: 14.8461em;
|
||||
*margin-left: 14.55em;
|
||||
}
|
||||
|
||||
.yui-t3 .yui-b {
|
||||
float: left;
|
||||
width: 23.0769em;
|
||||
*width: 22.50em;
|
||||
}
|
||||
|
||||
.yui-t3 #yui-main .yui-b {
|
||||
margin-left: 24.0769em;
|
||||
*margin-left: 23.62em;
|
||||
}
|
||||
|
||||
.yui-t4 .yui-b {
|
||||
float: right;
|
||||
width: 13.8456em;
|
||||
*width: 13.50em;
|
||||
}
|
||||
|
||||
.yui-t4 #yui-main .yui-b {
|
||||
margin-right: 14.8456em;
|
||||
*margin-right: 14.55em;
|
||||
}
|
||||
|
||||
.yui-t5 .yui-b {
|
||||
float: right;
|
||||
width: 18.4615em;
|
||||
*width: 18.00em;
|
||||
}
|
||||
|
||||
.yui-t5 #yui-main .yui-b {
|
||||
margin-right: 19.4615em;
|
||||
*margin-right: 19.125em;
|
||||
}
|
||||
|
||||
.yui-t6 .yui-b {
|
||||
float: right;
|
||||
width: 23.0769em;
|
||||
*width: 22.50em;
|
||||
}
|
||||
|
||||
.yui-t6 #yui-main .yui-b {
|
||||
margin-right: 24.0769em;
|
||||
*margin-right: 23.62em;
|
||||
}
|
||||
|
||||
.yui-t7 #yui-main .yui-b {
|
||||
display: block;
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
|
||||
#yui-main .yui-b {
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Section: Grids and Nesting Grids
|
||||
*/
|
||||
|
||||
/* Children generally take half the available space */
|
||||
.yui-gb .yui-u,
|
||||
.yui-g .yui-gb .yui-u,
|
||||
.yui-gb .yui-g,
|
||||
.yui-gb .yui-gb,
|
||||
.yui-gb .yui-gc,
|
||||
.yui-gb .yui-gd,
|
||||
.yui-gb .yui-ge,
|
||||
.yui-gb .yui-gf,
|
||||
.yui-gc .yui-u,
|
||||
.yui-gc .yui-g,
|
||||
.yui-gd .yui-u {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* Float units (and sub grids) to the right */
|
||||
.yui-g .yui-u,
|
||||
.yui-g .yui-g,
|
||||
.yui-g .yui-gb,
|
||||
.yui-g .yui-gc,
|
||||
.yui-g .yui-gd,
|
||||
.yui-g .yui-ge,
|
||||
.yui-g .yui-gf,
|
||||
.yui-gc .yui-u,
|
||||
.yui-gd .yui-g,
|
||||
.yui-g .yui-gc .yui-u,
|
||||
.yui-ge .yui-u,
|
||||
.yui-ge .yui-g,
|
||||
.yui-gf .yui-g,
|
||||
.yui-gf .yui-u {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/*Float units (and sub grids) to the left */
|
||||
.yui-g div.first,
|
||||
.yui-gb div.first,
|
||||
.yui-gc div.first,
|
||||
.yui-gd div.first,
|
||||
.yui-ge div.first,
|
||||
.yui-gf div.first,
|
||||
.yui-g .yui-gc div.first,
|
||||
.yui-g .yui-ge div.first,
|
||||
.yui-gc div.first div.first {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.yui-g .yui-u,
|
||||
.yui-g .yui-g,
|
||||
.yui-g .yui-gb,
|
||||
.yui-g .yui-gc,
|
||||
.yui-g .yui-gd,
|
||||
.yui-g .yui-ge,
|
||||
.yui-g .yui-gf {
|
||||
width: 49.1%;
|
||||
}
|
||||
|
||||
.yui-gb .yui-u,
|
||||
.yui-g .yui-gb .yui-u,
|
||||
.yui-gb .yui-g,
|
||||
.yui-gb .yui-gb,
|
||||
.yui-gb .yui-gc,
|
||||
.yui-gb .yui-gd,
|
||||
.yui-gb .yui-ge,
|
||||
.yui-gb .yui-gf,
|
||||
.yui-gc .yui-u,
|
||||
.yui-gc .yui-g,
|
||||
.yui-gd .yui-u {
|
||||
width: 32%;
|
||||
margin-left: 1.99%;
|
||||
}
|
||||
|
||||
/* Give IE some extra breathing room for 1/3-based rounding issues */
|
||||
.yui-gb .yui-u {
|
||||
*margin-left: 1.9%;
|
||||
*width: 31.9%;
|
||||
}
|
||||
|
||||
.yui-gc div.first,
|
||||
.yui-gd .yui-u {
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
.yui-gd div.first {
|
||||
width: 32%;
|
||||
}
|
||||
|
||||
.yui-ge div.first,
|
||||
.yui-gf .yui-u {
|
||||
width: 74.2%;
|
||||
}
|
||||
|
||||
.yui-ge .yui-u,
|
||||
.yui-gf div.first {
|
||||
width: 24%;
|
||||
}
|
||||
|
||||
.yui-g .yui-gb div.first,
|
||||
.yui-gb div.first,
|
||||
.yui-gc div.first,
|
||||
.yui-gd div.first {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Section: Deep Nesting
|
||||
*/
|
||||
|
||||
.yui-g .yui-g .yui-u,
|
||||
.yui-gb .yui-g .yui-u,
|
||||
.yui-gc .yui-g .yui-u,
|
||||
.yui-gd .yui-g .yui-u,
|
||||
.yui-ge .yui-g .yui-u,
|
||||
.yui-gf .yui-g .yui-u {
|
||||
width: 49%;
|
||||
*width: 48.1%;
|
||||
*margin-left: 0;
|
||||
}
|
||||
|
||||
.yui-g .yui-g .yui-u {
|
||||
width: 48.1%;
|
||||
}
|
||||
|
||||
/*SF 1927599 from 1.14 to 2.6.0*/
|
||||
.yui-g .yui-gb div.first,
|
||||
.yui-gb .yui-gb div.first {
|
||||
*margin-right: 0;
|
||||
*width: 32%;
|
||||
_width: 31.7%;
|
||||
}
|
||||
|
||||
.yui-g .yui-gc div.first,
|
||||
.yui-gd .yui-g {
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
.yui-gb .yui-g div.first {
|
||||
*margin-right: 4%;
|
||||
_margin-right: 1.3%;
|
||||
}
|
||||
|
||||
.yui-gb .yui-gc div.first,
|
||||
.yui-gb .yui-gd div.first {
|
||||
*margin-right: 0;
|
||||
}
|
||||
|
||||
.yui-gb .yui-gb .yui-u,
|
||||
.yui-gb .yui-gc .yui-u {
|
||||
*margin-left: 1.8%;
|
||||
_margin-left: 4%;
|
||||
}
|
||||
|
||||
.yui-g .yui-gb .yui-u {
|
||||
_margin-left: 1.0%;
|
||||
}
|
||||
|
||||
.yui-gb .yui-gd .yui-u {
|
||||
*width: 66%;
|
||||
_width: 61.2%;
|
||||
}
|
||||
|
||||
.yui-gb .yui-gd div.first {
|
||||
*width: 31%;
|
||||
_width: 29.5%;
|
||||
}
|
||||
|
||||
.yui-g .yui-gc .yui-u,
|
||||
.yui-gb .yui-gc .yui-u {
|
||||
width: 32%;
|
||||
_float: right;
|
||||
margin-right: 0;
|
||||
_margin-left: 0;
|
||||
}
|
||||
|
||||
.yui-gb .yui-gc div.first {
|
||||
width: 66%;
|
||||
*float: left;
|
||||
*margin-left: 0;
|
||||
}
|
||||
|
||||
.yui-gb .yui-ge .yui-u,
|
||||
.yui-gb .yui-gf .yui-u {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.yui-gb .yui-gb .yui-u {
|
||||
_margin-left: .7%;
|
||||
}
|
||||
|
||||
.yui-gb .yui-g div.first,
|
||||
.yui-gb .yui-gb div.first {
|
||||
*margin-left: 0;
|
||||
}
|
||||
|
||||
.yui-gc .yui-g .yui-u,
|
||||
.yui-gd .yui-g .yui-u {
|
||||
*width: 48.1%;
|
||||
*margin-left: 0;
|
||||
}
|
||||
|
||||
.yui-gb .yui-gd div.first {
|
||||
width: 32%;
|
||||
}
|
||||
|
||||
.yui-g .yui-gd div.first {
|
||||
_width: 29.9%;
|
||||
}
|
||||
|
||||
.yui-ge .yui-g {
|
||||
width: 24%;
|
||||
}
|
||||
|
||||
.yui-gf .yui-g {
|
||||
width: 74.2%;
|
||||
}
|
||||
|
||||
.yui-gb .yui-ge div.yui-u,
|
||||
.yui-gb .yui-gf div.yui-u {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.yui-gb .yui-ge div.first,
|
||||
.yui-gb .yui-gf div.first {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* Width Accommodation for Nested Contexts */
|
||||
.yui-gb .yui-ge .yui-u,
|
||||
.yui-gb .yui-gf div.first {
|
||||
*width: 24%;
|
||||
_width: 20%;
|
||||
}
|
||||
|
||||
/* Width Accommodation for Nested Contexts */
|
||||
.yui-gb .yui-ge div.first,
|
||||
.yui-gb .yui-gf .yui-u {
|
||||
*width: 73.5%;
|
||||
_width: 65.5%;
|
||||
}
|
||||
|
||||
/* Patch for GD within GE */
|
||||
.yui-ge div.first .yui-gd .yui-u {
|
||||
width: 65%;
|
||||
}
|
||||
|
||||
.yui-ge div.first .yui-gd div.first {
|
||||
width: 32%;
|
||||
}
|
||||
|
||||
/* @group Clearing */
|
||||
#hd:after,
|
||||
#bd:after,
|
||||
#ft:after,
|
||||
.yui-g:after,
|
||||
.yui-gb:after,
|
||||
.yui-gc:after,
|
||||
.yui-gd:after,
|
||||
.yui-ge:after,
|
||||
.yui-gf:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#hd,
|
||||
#bd,
|
||||
#ft,
|
||||
.yui-g,
|
||||
.yui-gb,
|
||||
.yui-gc,
|
||||
.yui-gd,
|
||||
.yui-ge,
|
||||
.yui-gf {
|
||||
zoom: 1;
|
||||
}
|
@@ -0,0 +1,75 @@
|
||||
.treeview, .treeview ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.treeview ul {
|
||||
background-color: white;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.treeview .hitarea {
|
||||
background: transparent -64px -25px no-repeat;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
margin-left: -16px;
|
||||
float: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
/* fix for IE6 */
|
||||
* html .hitarea {
|
||||
display: inline;
|
||||
float: none;
|
||||
|
||||
}
|
||||
|
||||
.treeview li {
|
||||
margin: 0;
|
||||
padding: 3px 0pt 3px 16px;
|
||||
}
|
||||
|
||||
.treeview a.selected {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
#treecontrol { margin: 1em 0; display: none; }
|
||||
|
||||
.treeview li { background: transparent 0 0 no-repeat; }
|
||||
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
|
||||
|
||||
.treeview .expandable-hitarea { background-position: -80px -3px; }
|
||||
|
||||
.treeview li.last { background-position: 0 -1766px }
|
||||
|
||||
.treeview li.lastCollapsable { background-position: 0 -111px }
|
||||
|
||||
.treeview li.lastExpandable { background-position: -32px -67px }
|
||||
|
||||
.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
|
||||
|
||||
.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(../img/treeview-famfamfam.gif); }
|
||||
|
||||
.classtree li {
|
||||
font-family: arial,tahoma,helvetica,sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.classtree li { padding: 3px 0 2px 16px; }
|
||||
|
||||
.classtree span {
|
||||
padding: 1px 0 1px 18px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.classtree span.root { background: url(../img/root.gif) 0 3px no-repeat;}
|
||||
.classtree span.namespace { background: url(../img/namespace.gif) 0 0 no-repeat;}
|
||||
.classtree span.class { background: url(../img/class.gif) 0 0 no-repeat; }
|
||||
.classtree span.property { background: url(../img/property.gif) 0 0 no-repeat; }
|
||||
.classtree span.method { background: url(../img/method.gif) 0 0 no-repeat; }
|
||||
.classtree span.event { background: url(../img/event.gif) 0 0 no-repeat; }
|
||||
.classtree span.singleton { background: url(../img/static.gif) 0 0 no-repeat; }
|
142
sites/all/libraries/plupload/docs/api/css/reset.css
Normal file
@@ -0,0 +1,142 @@
|
||||
/*
|
||||
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.7.0
|
||||
*/
|
||||
/**
|
||||
* YUI Reset
|
||||
* @module reset
|
||||
* @namespace
|
||||
* @requires
|
||||
*/
|
||||
html {
|
||||
color: #000;
|
||||
background: #FFF;
|
||||
}
|
||||
|
||||
body,
|
||||
div,
|
||||
dl,
|
||||
dt,
|
||||
dd,
|
||||
ul,
|
||||
ol,
|
||||
li,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
pre,
|
||||
code,
|
||||
form,
|
||||
fieldset,
|
||||
legend,
|
||||
input,
|
||||
button,
|
||||
textarea,
|
||||
p,
|
||||
blockquote,
|
||||
th,
|
||||
td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
fieldset,
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
address,
|
||||
caption,
|
||||
cite,
|
||||
code,
|
||||
dfn,
|
||||
em,
|
||||
strong,
|
||||
th,
|
||||
var,
|
||||
optgroup {
|
||||
font-style: inherit;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
del,
|
||||
ins {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
caption,
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-size: 100%;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
q:before,
|
||||
q:after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
abbr,
|
||||
acronym {
|
||||
border: 0;
|
||||
font-variant: normal;
|
||||
}
|
||||
|
||||
sup {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
/*because legend doesn't inherit in IE */
|
||||
legend {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
textarea,
|
||||
select,
|
||||
optgroup,
|
||||
option {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
font-style: inherit;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
/*@purpose To enable resizing for IE */
|
||||
/*@branch For IE6-Win, IE7-Win */
|
||||
input,
|
||||
button,
|
||||
textarea,
|
||||
select {
|
||||
*font-size: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
342
sites/all/libraries/plupload/docs/api/css/shCore.css
Normal file
@@ -0,0 +1,342 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.0.320 (May 03 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
.syntaxhighlighter,
|
||||
.syntaxhighlighter div,
|
||||
.syntaxhighlighter code,
|
||||
.syntaxhighlighter span
|
||||
{
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
outline: 0 !important;
|
||||
background: none !important;
|
||||
text-align: left !important;
|
||||
float: none !important;
|
||||
vertical-align: baseline !important;
|
||||
position: static !important;
|
||||
left: auto !important;
|
||||
top: auto !important;
|
||||
right: auto !important;
|
||||
bottom: auto !important;
|
||||
height: auto !important;
|
||||
width: auto !important;
|
||||
line-height: 1.1em !important;
|
||||
font-family: "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
||||
font-weight: normal !important;
|
||||
font-style: normal !important;
|
||||
font-size: 1em !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
width: 100% !important;
|
||||
margin: 1em 0 1em 0 !important;
|
||||
padding: 1px !important; /* adds a little border on top and bottom */
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter code {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .bold {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .italic {
|
||||
font-style: italic !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
float: left !important;
|
||||
width: 3em !important;
|
||||
padding-right: .3em !important;
|
||||
text-align: right !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* Disable numbers when no gutter option is set */
|
||||
.syntaxhighlighter.nogutter .line .number
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
margin-left: 3.3em !important;
|
||||
padding-left: .5em !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line .content .block
|
||||
{
|
||||
display: block !important;
|
||||
padding-left: 1.5em !important;
|
||||
text-indent: -1.5em !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line .content .spaces
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Disable border and margin on the lines when no gutter option is set */
|
||||
.syntaxhighlighter.nogutter .line .content
|
||||
{
|
||||
margin-left: 0 !important;
|
||||
border-left: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .bar
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .bar.show
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.collapsed .bar
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.nogutter .ruler
|
||||
{
|
||||
margin-left: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .ruler
|
||||
{
|
||||
padding: 0 0 .5em .5em !important;
|
||||
margin-left: 3.3em !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
/* Adjust some properties when collapsed */
|
||||
|
||||
.syntaxhighlighter.collapsed .lines,
|
||||
.syntaxhighlighter.collapsed .ruler
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .lines.no-wrap
|
||||
{
|
||||
overflow: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
/* Styles for the toolbar */
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
position: absolute !important;
|
||||
right: 0px !important;
|
||||
top: 0px !important;
|
||||
font-size: 1px !important;
|
||||
padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */
|
||||
}
|
||||
|
||||
.syntaxhighlighter.collapsed .toolbar
|
||||
{
|
||||
font-size: 80% !important;
|
||||
padding: .2em 0 .5em .5em !important;
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a.item,
|
||||
.syntaxhighlighter .toolbar .item
|
||||
{
|
||||
display: block !important;
|
||||
float: left !important;
|
||||
margin-left: 8px !important;
|
||||
background-repeat: no-repeat !important;
|
||||
overflow: hidden !important;
|
||||
text-indent: -5000px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.collapsed .toolbar .item
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.collapsed .toolbar .item.expandSource
|
||||
{
|
||||
background-image: url(../img/magnifier.png) !important;
|
||||
display: inline !important;
|
||||
text-indent: 0 !important;
|
||||
width: auto !important;
|
||||
float: none !important;
|
||||
height: 16px !important;
|
||||
padding-left: 20px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar .item.viewSource
|
||||
{
|
||||
background-image: url(../img/page_white_code.png) !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar .item.printSource
|
||||
{
|
||||
background-image: url(../img/printer.png) !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar .item.copyToClipboard
|
||||
{
|
||||
text-indent: 0 !important;
|
||||
background: none !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar .item.about
|
||||
{
|
||||
background-image: url(../img/help.png) !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Print view.
|
||||
* Colors are based on the default theme without background.
|
||||
*/
|
||||
|
||||
.syntaxhighlighter.printing,
|
||||
.syntaxhighlighter.printing .line.alt1 .content,
|
||||
.syntaxhighlighter.printing .line.alt2 .content,
|
||||
.syntaxhighlighter.printing .line.highlighted .number,
|
||||
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
||||
.syntaxhighlighter.printing .line.highlighted.alt2 .content,
|
||||
.syntaxhighlighter.printing .line .content .block
|
||||
{
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .no-wrap .line .content .block
|
||||
{
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter.printing .line .number
|
||||
{
|
||||
color: #bbb !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
/* Toolbar when visible */
|
||||
.syntaxhighlighter.printing .toolbar,
|
||||
.syntaxhighlighter.printing .ruler
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing a
|
||||
{
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .plain,
|
||||
.syntaxhighlighter.printing .plain a
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .comments,
|
||||
.syntaxhighlighter.printing .comments a
|
||||
{
|
||||
color: #008200 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .string,
|
||||
.syntaxhighlighter.printing .string a
|
||||
{
|
||||
color: blue !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .keyword
|
||||
{
|
||||
color: #069 !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .preprocessor
|
||||
{
|
||||
color: gray !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .variable
|
||||
{
|
||||
color: #a70 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .functions
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .constants
|
||||
{
|
||||
color: #0066CC !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .script
|
||||
{
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .color1,
|
||||
.syntaxhighlighter.printing .color1 a
|
||||
{
|
||||
color: #808080 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .color2,
|
||||
.syntaxhighlighter.printing .color2 a
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .color3,
|
||||
.syntaxhighlighter.printing .color3 a
|
||||
{
|
||||
color: red !important;
|
||||
}
|
191
sites/all/libraries/plupload/docs/api/css/shThemeMoxieDoc.css
Normal file
@@ -0,0 +1,191 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.0.320 (May 03 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
/************************************
|
||||
* Default Syntax Highlighter theme.
|
||||
*
|
||||
* Interface elements.
|
||||
************************************/
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: #E7E5DC !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
background-color: #6CE26C !important;
|
||||
color: black !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1 .content,
|
||||
.syntaxhighlighter .line.highlighted.alt2 .content
|
||||
{
|
||||
background-color: #6CE26C !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #5C5C5C !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 3px solid #99BBE8 !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1 .content
|
||||
{
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2 .content
|
||||
{
|
||||
background-color: #F8F8F8 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line .content .block
|
||||
{
|
||||
background: url(../img/wrapping.png) 0 1.1em no-repeat !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .ruler
|
||||
{
|
||||
color: silver !important;
|
||||
background-color: #F8F8F8 !important;
|
||||
border-left: 3px solid #6CE26C !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.nogutter .ruler
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #F8F8F8 !important;
|
||||
border: #E7E5DC solid 1px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #a0a0a0 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: #008200 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: blue !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword
|
||||
{
|
||||
color: #069 !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: gray !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #a70 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #0066CC !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: yellow !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #808080 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: red !important;
|
||||
}
|
BIN
sites/all/libraries/plupload/docs/api/img/class.gif
Normal file
After Width: | Height: | Size: 658 B |
BIN
sites/all/libraries/plupload/docs/api/img/event.gif
Normal file
After Width: | Height: | Size: 179 B |
BIN
sites/all/libraries/plupload/docs/api/img/help.png
Normal file
After Width: | Height: | Size: 786 B |
BIN
sites/all/libraries/plupload/docs/api/img/inherit-arrow.gif
Normal file
After Width: | Height: | Size: 66 B |
BIN
sites/all/libraries/plupload/docs/api/img/inherited.gif
Normal file
After Width: | Height: | Size: 144 B |
BIN
sites/all/libraries/plupload/docs/api/img/loader.gif
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
sites/all/libraries/plupload/docs/api/img/magnifier.png
Normal file
After Width: | Height: | Size: 615 B |
BIN
sites/all/libraries/plupload/docs/api/img/method.gif
Normal file
After Width: | Height: | Size: 191 B |
BIN
sites/all/libraries/plupload/docs/api/img/namespace.gif
Normal file
After Width: | Height: | Size: 75 B |
BIN
sites/all/libraries/plupload/docs/api/img/page_white_code.png
Normal file
After Width: | Height: | Size: 603 B |
BIN
sites/all/libraries/plupload/docs/api/img/page_white_copy.png
Normal file
After Width: | Height: | Size: 309 B |
BIN
sites/all/libraries/plupload/docs/api/img/printer.png
Normal file
After Width: | Height: | Size: 731 B |
BIN
sites/all/libraries/plupload/docs/api/img/property.gif
Normal file
After Width: | Height: | Size: 119 B |
BIN
sites/all/libraries/plupload/docs/api/img/root.gif
Normal file
After Width: | Height: | Size: 580 B |
BIN
sites/all/libraries/plupload/docs/api/img/static.gif
Normal file
After Width: | Height: | Size: 662 B |
BIN
sites/all/libraries/plupload/docs/api/img/treeview-famfamfam.gif
Normal file
After Width: | Height: | Size: 671 B |
BIN
sites/all/libraries/plupload/docs/api/img/wrapping.png
Normal file
After Width: | Height: | Size: 631 B |
115
sites/all/libraries/plupload/docs/api/index.html
Normal file
@@ -0,0 +1,115 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Plupload API</title>
|
||||
<meta name="generator" content="MoxieDoc" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/grids.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/general.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/jquery.treeview.css" />
|
||||
<link type="text/css" rel="stylesheet" href="css/shCore.css" />
|
||||
<link type="text/css" rel="stylesheet" href="css/shThemeMoxieDoc.css" />
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("jquery", "1.3");
|
||||
</script>
|
||||
<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
|
||||
<script type="text/javascript" src="js/general.js"></script>
|
||||
<script type="text/javascript" src="js/shCore.js"></script>
|
||||
<script type="text/javascript" src="js/shBrushJScript.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="doc3" class="yui-t1" style="height:500px">
|
||||
<div id="hd">
|
||||
<h1>Plupload API</h1>
|
||||
</div>
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div id="detailsView" class="yui-b">
|
||||
<!--Gets filled using Ajax-->
|
||||
</div>
|
||||
</div>
|
||||
<div id="classView" class="yui-b">
|
||||
<ul id="browser" class="classtree treeview-famfamfam">
|
||||
<li>
|
||||
<span class="root">API Documentation</span>
|
||||
<ul>
|
||||
<li class="closed">
|
||||
<span class="namespace" title="Namespace">
|
||||
<a href="#">plupload</a>
|
||||
</span>
|
||||
<ul>
|
||||
<li class="closed">
|
||||
<span class="namespace" title="Namespace">
|
||||
<a href="#">runtimes</a>
|
||||
</span>
|
||||
<ul>
|
||||
<li>
|
||||
<span class="singleton" title="Singleton class">
|
||||
<a href="class_plupload.runtimes.BrowserPlus.html">BrowserPlus</a>
|
||||
</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="singleton" title="Singleton class">
|
||||
<a href="class_plupload.runtimes.Flash.html">Flash</a>
|
||||
</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="singleton" title="Singleton class">
|
||||
<a href="class_plupload.runtimes.Gears.html">Gears</a>
|
||||
</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="singleton" title="Singleton class">
|
||||
<a href="class_plupload.runtimes.Html4.html">Html4</a>
|
||||
</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="singleton" title="Singleton class">
|
||||
<a href="class_plupload.runtimes.Html5.html">Html5</a>
|
||||
</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="singleton" title="Singleton class">
|
||||
<a href="class_plupload.runtimes.Silverlight.html">Silverlight</a>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<span class="class" title="Class">
|
||||
<a href="class_plupload.Uploader.html">Uploader</a>
|
||||
</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="class" title="Class">
|
||||
<a href="class_plupload.File.html">File</a>
|
||||
</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="singleton" title="Singleton class">
|
||||
<a href="class_plupload.Runtime.html">Runtime</a>
|
||||
</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="class" title="Class">
|
||||
<a href="class_plupload.QueueProgress.html">QueueProgress</a>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<span class="singleton" title="Singleton class">
|
||||
<a href="class_plupload.html">plupload</a>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
sites/all/libraries/plupload/docs/api/js/clipboard.swf
Normal file
96
sites/all/libraries/plupload/docs/api/js/general.js
Normal file
@@ -0,0 +1,96 @@
|
||||
(function($){
|
||||
var currentPage, currentHash;
|
||||
|
||||
function resizeUI() {
|
||||
$('#doc3').css('height', (window.innerHeight || document.documentElement.clientHeight) - $('#hd').height() - 12);
|
||||
}
|
||||
|
||||
function scrollToHash(hash) {
|
||||
if (hash) {
|
||||
$(hash).each(function() {
|
||||
$(this)[0].scrollIntoView();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function loadURL(url) {
|
||||
var parts, hash;
|
||||
|
||||
// Trim away everything but the file name
|
||||
url = /([^\/]+)$/.exec(url)[0];
|
||||
|
||||
// Parse out parts
|
||||
parts = /^([^#]+)(#.+)?$/.exec(url);
|
||||
hash = parts[2];
|
||||
|
||||
// In page link, no need to load anything
|
||||
if (parts[1] == currentPage) {
|
||||
if (hash)
|
||||
scrollToHash(hash);
|
||||
else
|
||||
$('#detailsView')[0].scrollTop = 0;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
currentPage = parts[1];
|
||||
|
||||
$("#classView a.selected").removeClass('selected');
|
||||
$("#classView a[href='" + currentPage.replace(/^.*\/([^\/]+)$/, '$1') + "']").addClass('selected').focus().parents("li.expandable").each(function() {
|
||||
var li = $(this).removeClass("expandable").addClass("collapsable");
|
||||
|
||||
li.find("> div.expandable-hitarea").removeClass("expandable-hitarea").addClass("collapsable-hitarea");
|
||||
li.find("> ul").show();
|
||||
});
|
||||
|
||||
$('#detailsView').find("div.page").hide();
|
||||
|
||||
// Check if the page has been loaded before
|
||||
if ($("#detailsView div[url='" + currentPage + "']").show().length == 0) {
|
||||
$('#detailsView').addClass("loading");
|
||||
|
||||
// Load page and cache it in a div
|
||||
$.get(currentPage, "", function(data) {
|
||||
data = /<body[^>]*>([\s\S]+)<\/body>/.exec(data);
|
||||
|
||||
if (data) {
|
||||
$('#detailsView').removeClass("loading").append('<div url="' + currentPage + '" class="page">' + data[1] + '</div>')[0].scrollTop = 0;
|
||||
|
||||
SyntaxHighlighter.config.clipboardSwf = 'js/clipboard.swf';
|
||||
SyntaxHighlighter.highlight({gutter : false});
|
||||
|
||||
scrollToHash(hash);
|
||||
}
|
||||
});
|
||||
} else
|
||||
scrollToHash(hash);
|
||||
}
|
||||
|
||||
$().ready(function(){
|
||||
$("#browser").treeview();
|
||||
$(window).resize(resizeUI).trigger('resize');
|
||||
|
||||
window.setInterval(function() {
|
||||
var hash = document.location.hash;
|
||||
|
||||
if (hash != currentHash && hash) {
|
||||
loadURL(hash.replace(/\-/g, '#').substring(1));
|
||||
currentHash = hash;
|
||||
}
|
||||
}, 100);
|
||||
|
||||
$("a").live("click", function(e) {
|
||||
var url = e.target.href;
|
||||
|
||||
if (e.button == 0) {
|
||||
if (url.indexOf('class_') != -1 || url.indexOf('alias_') != -1 || url.indexOf('member_') != -1) {
|
||||
document.location.hash = e.target.href.replace(/^.*\/([^\/]+)/, '$1').replace(/#/g, '-');
|
||||
|
||||
loadURL(url);
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
15
sites/all/libraries/plupload/docs/api/js/jquery.treeview.min.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Treeview 1.4 - jQuery plugin to hide and show branches of a tree
|
||||
*
|
||||
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
|
||||
* http://docs.jquery.com/Plugins/Treeview
|
||||
*
|
||||
* Copyright (c) 2007 Jörn Zaefferer
|
||||
*
|
||||
* Dual licensed under the MIT and GPL licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $
|
||||
*
|
||||
*/;(function($){$.extend($.fn,{swapClass:function(c1,c2){var c1Elements=this.filter('.'+c1);this.filter('.'+c2).removeClass(c2).addClass(c1);c1Elements.removeClass(c1).addClass(c2);return this;},replaceClass:function(c1,c2){return this.filter('.'+c1).removeClass(c1).addClass(c2).end();},hoverClass:function(className){className=className||"hover";return this.hover(function(){$(this).addClass(className);},function(){$(this).removeClass(className);});},heightToggle:function(animated,callback){animated?this.animate({height:"toggle"},animated,callback):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();if(callback)callback.apply(this,arguments);});},heightHide:function(animated,callback){if(animated){this.animate({height:"hide"},animated,callback);}else{this.hide();if(callback)this.each(callback);}},prepareBranches:function(settings){if(!settings.prerendered){this.filter(":last-child:not(ul)").addClass(CLASSES.last);this.filter((settings.collapsed?"":"."+CLASSES.closed)+":not(."+CLASSES.open+")").find(">ul").hide();}return this.filter(":has(>ul)");},applyClasses:function(settings,toggler){this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event){toggler.apply($(this).next());}).add($("a",this)).hoverClass();if(!settings.prerendered){this.filter(":has(>ul:hidden)").addClass(CLASSES.expandable).replaceClass(CLASSES.last,CLASSES.lastExpandable);this.not(":has(>ul:hidden)").addClass(CLASSES.collapsable).replaceClass(CLASSES.last,CLASSES.lastCollapsable);this.prepend("<div class=\""+CLASSES.hitarea+"\"/>").find("div."+CLASSES.hitarea).each(function(){var classes="";$.each($(this).parent().attr("class").split(" "),function(){classes+=this+"-hitarea ";});$(this).addClass(classes);});}this.find("div."+CLASSES.hitarea).click(toggler);},treeview:function(settings){settings=$.extend({cookieId:"treeview"},settings);if(settings.add){return this.trigger("add",[settings.add]);}if(settings.toggle){var callback=settings.toggle;settings.toggle=function(){return callback.apply($(this).parent()[0],arguments);};}function treeController(tree,control){function handler(filter){return function(){toggler.apply($("div."+CLASSES.hitarea,tree).filter(function(){return filter?$(this).parent("."+filter).length:true;}));return false;};}$("a:eq(0)",control).click(handler(CLASSES.collapsable));$("a:eq(1)",control).click(handler(CLASSES.expandable));$("a:eq(2)",control).click(handler());}function toggler(){$(this).parent().find(">.hitarea").swapClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).swapClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().swapClass(CLASSES.collapsable,CLASSES.expandable).swapClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightToggle(settings.animated,settings.toggle);if(settings.unique){$(this).parent().siblings().find(">.hitarea").replaceClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).replaceClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().replaceClass(CLASSES.collapsable,CLASSES.expandable).replaceClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightHide(settings.animated,settings.toggle);}}function serialize(){function binary(arg){return arg?1:0;}var data=[];branches.each(function(i,e){data[i]=$(e).is(":has(>ul:visible)")?1:0;});$.cookie(settings.cookieId,data.join(""));}function deserialize(){var stored=$.cookie(settings.cookieId);if(stored){var data=stored.split("");branches.each(function(i,e){$(e).find(">ul")[parseInt(data[i])?"show":"hide"]();});}}this.addClass("treeview");var branches=this.find("li").prepareBranches(settings);switch(settings.persist){case"cookie":var toggleCallback=settings.toggle;settings.toggle=function(){serialize();if(toggleCallback){toggleCallback.apply(this,arguments);}};deserialize();break;case"location":var current=this.find("a").filter(function(){return this.href.toLowerCase()==location.href.toLowerCase();});if(current.length){current.addClass("selected").parents("ul, li").add(current.next()).show();}break;}branches.applyClasses(settings,toggler);if(settings.control){treeController(this,settings.control);$(settings.control).show();}return this.bind("add",function(event,branches){$(branches).prev().removeClass(CLASSES.last).removeClass(CLASSES.lastCollapsable).removeClass(CLASSES.lastExpandable).find(">.hitarea").removeClass(CLASSES.lastCollapsableHitarea).removeClass(CLASSES.lastExpandableHitarea);$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings,toggler);});}});var CLASSES=$.fn.treeview.classes={open:"open",closed:"closed",expandable:"expandable",expandableHitarea:"expandable-hitarea",lastExpandableHitarea:"lastExpandable-hitarea",collapsable:"collapsable",collapsableHitarea:"collapsable-hitarea",lastCollapsableHitarea:"lastCollapsable-hitarea",lastCollapsable:"lastCollapsable",lastExpandable:"lastExpandable",last:"last",hitarea:"hitarea"};$.fn.Treeview=$.fn.treeview;})(jQuery);
|
52
sites/all/libraries/plupload/docs/api/js/shBrushJScript.js
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.0.320 (May 03 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.JScript = function()
|
||||
{
|
||||
var keywords = 'break case catch continue ' +
|
||||
'default delete do else false ' +
|
||||
'for function if in instanceof ' +
|
||||
'new null return super switch ' +
|
||||
'this throw true try typeof var while with'
|
||||
;
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.JScript.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.JScript.aliases = ['js', 'jscript', 'javascript'];
|
30
sites/all/libraries/plupload/docs/api/js/shCore.js
vendored
Normal file
690
sites/all/libraries/plupload/docs/api/model.xml
Normal file
@@ -0,0 +1,690 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<model>
|
||||
<namespace fullname="plupload" name="plupload">
|
||||
<namespace fullname="plupload.runtimes" name="runtimes">
|
||||
<class extends="plupload.Runtime" fullname="plupload.runtimes.BrowserPlus" name="BrowserPlus" static="true" summary="Yahoo BrowserPlus implementation.">
|
||||
<description>Yahoo BrowserPlus implementation. This runtime supports these features: dragdrop, jpgresize, pngresize.
|
||||
</description>
|
||||
<members>
|
||||
<method name="init" static="true" summary="Initializes the browserplus runtime.">
|
||||
<description>Initializes the browserplus runtime.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance that needs to be initialized.</description>
|
||||
</param>
|
||||
<param name="callback" type="function">
|
||||
<description>Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</description>
|
||||
</param>
|
||||
</method>
|
||||
</members>
|
||||
<super-classes>
|
||||
<class-ref class="plupload.Runtime"/>
|
||||
</super-classes>
|
||||
</class>
|
||||
<class extends="plupload.Runtime" fullname="plupload.runtimes.Flash" name="Flash" static="true" summary="FlashRuntime implementation.">
|
||||
<description>FlashRuntime implementation. This runtime supports these features: jpgresize, pngresize, chunks.
|
||||
</description>
|
||||
<members>
|
||||
<method name="init" static="true" summary="Initializes the upload runtime.">
|
||||
<description>Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance that needs to be initialized.</description>
|
||||
</param>
|
||||
<param name="callback" type="function">
|
||||
<description>Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</description>
|
||||
</param>
|
||||
</method>
|
||||
</members>
|
||||
<super-classes>
|
||||
<class-ref class="plupload.Runtime"/>
|
||||
</super-classes>
|
||||
</class>
|
||||
<class extends="plupload.Runtime" fullname="plupload.runtimes.Gears" name="Gears" static="true" summary="Gears implementation.">
|
||||
<description>Gears implementation. This runtime supports these features: dragdrop, jpgresize, pngresize, chunks.
|
||||
</description>
|
||||
<members>
|
||||
<method name="init" static="true" summary="Initializes the upload runtime.">
|
||||
<description>Initializes the upload runtime.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance that needs to be initialized.</description>
|
||||
</param>
|
||||
<param name="callback" type="function">
|
||||
<description>Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</description>
|
||||
</param>
|
||||
</method>
|
||||
</members>
|
||||
<super-classes>
|
||||
<class-ref class="plupload.Runtime"/>
|
||||
</super-classes>
|
||||
</class>
|
||||
<class extends="plupload.Runtime" fullname="plupload.runtimes.Html4" name="Html4" static="true" summary="HTML4 implementation.">
|
||||
<description>HTML4 implementation. This runtime has no special features it uses an form that posts files into an hidden iframe.
|
||||
</description>
|
||||
<members>
|
||||
<method name="init" static="true" summary="Initializes the upload runtime.">
|
||||
<description>Initializes the upload runtime.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance that needs to be initialized.</description>
|
||||
</param>
|
||||
<param name="callback" type="function">
|
||||
<description>Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</description>
|
||||
</param>
|
||||
</method>
|
||||
</members>
|
||||
<super-classes>
|
||||
<class-ref class="plupload.Runtime"/>
|
||||
</super-classes>
|
||||
</class>
|
||||
<class extends="plupload.Runtime" fullname="plupload.runtimes.Html5" name="Html5" static="true" summary="HMTL5 implementation.">
|
||||
<description>HMTL5 implementation. This runtime supports these features: dragdrop, jpgresize, pngresize.
|
||||
</description>
|
||||
<members>
|
||||
<method name="init" static="true" summary="Initializes the upload runtime.">
|
||||
<description>Initializes the upload runtime.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance that needs to be initialized.</description>
|
||||
</param>
|
||||
<param name="callback" type="function">
|
||||
<description>Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</description>
|
||||
</param>
|
||||
</method>
|
||||
</members>
|
||||
<super-classes>
|
||||
<class-ref class="plupload.Runtime"/>
|
||||
</super-classes>
|
||||
</class>
|
||||
<class extends="plupload.Runtime" fullname="plupload.runtimes.Silverlight" name="Silverlight" static="true" summary="Silverlight implementation.">
|
||||
<description>Silverlight implementation. This runtime supports these features: jpgresize, pngresize, chunks.
|
||||
</description>
|
||||
<members>
|
||||
<method name="init" static="true" summary="Initializes the upload runtime.">
|
||||
<description>Initializes the upload runtime. This runtime supports these features: jpgresize, pngresize, chunks.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance that needs to be initialized.</description>
|
||||
</param>
|
||||
<param name="callback" type="function">
|
||||
<description>Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</description>
|
||||
</param>
|
||||
</method>
|
||||
</members>
|
||||
<super-classes>
|
||||
<class-ref class="plupload.Runtime"/>
|
||||
</super-classes>
|
||||
</class>
|
||||
</namespace>
|
||||
<class fullname="plupload.Uploader" name="Uploader" summary="Uploader class, an instance of this class will be created for each upload field.">
|
||||
<description>Uploader class, an instance of this class will be created for each upload field.
|
||||
</description>
|
||||
<example>
|
||||
<example>var uploader = new plupload.Uploader({
|
||||
runtimes : 'gears,html5,flash',
|
||||
browse_button : 'button_id'
|
||||
});
|
||||
|
||||
uploader.bind('Init', function(up) {
|
||||
alert('Supports drag/drop: ' + (!!up.features.dragdrop));
|
||||
});
|
||||
|
||||
uploader.bind('FilesAdded', function(up, files) {
|
||||
alert('Selected files: ' + files.length);
|
||||
});
|
||||
|
||||
uploader.bind('QueueChanged', function(up) {
|
||||
alert('Queued files: ' + uploader.files.length);
|
||||
});
|
||||
|
||||
uploader.init();</example>
|
||||
</example>
|
||||
<members>
|
||||
<method constructor="true" name="Uploader" summary="Constructs a new uploader instance.">
|
||||
<description>Constructs a new uploader instance.
|
||||
</description>
|
||||
<param name="settings" type="Object">
|
||||
<description>Initialization settings, to be used by the uploader instance and runtimes.</description>
|
||||
</param>
|
||||
</method>
|
||||
<property name="state" summary="Current state of the total uploading progress." type="Number">
|
||||
<description>Current state of the total uploading progress. This one can either be plupload.STARTED or plupload.STOPPED.
|
||||
These states are controlled by the stop/start methods. The default value is STOPPED.
|
||||
</description>
|
||||
</property>
|
||||
<property name="runtime" summary="Current runtime name." type="String">
|
||||
<description>Current runtime name.
|
||||
</description>
|
||||
</property>
|
||||
<property name="features" summary="Map of features that are available for the uploader runtime." type="Object">
|
||||
<description>Map of features that are available for the uploader runtime. Features will be filled
|
||||
before the init event is called, these features can then be used to alter the UI for the end user.
|
||||
Some of the current features that might be in this map is: dragdrop, chunks, jpgresize, pngresize.
|
||||
</description>
|
||||
</property>
|
||||
<property name="files" summary="Current upload queue, an array of File instances." type="Array">
|
||||
<description>Current upload queue, an array of File instances.
|
||||
</description>
|
||||
<see class="plupload.File"/>
|
||||
</property>
|
||||
<property name="settings" summary="Object with name/value settings." type="Object">
|
||||
<description>Object with name/value settings.
|
||||
</description>
|
||||
</property>
|
||||
<property name="total" summary="Total progess information." type="plupload.QueueProgress">
|
||||
<description>Total progess information. How many files has been uploaded, total percent etc.
|
||||
</description>
|
||||
</property>
|
||||
<property name="id" summary="Unique id for the Uploader instance." type="String">
|
||||
<description>Unique id for the Uploader instance.
|
||||
</description>
|
||||
</property>
|
||||
<method name="init" summary="Initializes the Uploader instance and adds internal event listeners.">
|
||||
<description>Initializes the Uploader instance and adds internal event listeners.
|
||||
</description>
|
||||
</method>
|
||||
<method name="refresh" summary="Refreshes the upload instance by dispatching out a refresh event to all runtimes.">
|
||||
<description>Refreshes the upload instance by dispatching out a refresh event to all runtimes.
|
||||
This would for example reposition flash/silverlight shims on the page.
|
||||
</description>
|
||||
</method>
|
||||
<method name="start" summary="Starts uploading the queued files.">
|
||||
<description>Starts uploading the queued files.
|
||||
</description>
|
||||
</method>
|
||||
<method name="stop" summary="Stops the upload of the queued files.">
|
||||
<description>Stops the upload of the queued files.
|
||||
</description>
|
||||
</method>
|
||||
<method name="getFile" summary="Returns the specified file object by id.">
|
||||
<description>Returns the specified file object by id.
|
||||
</description>
|
||||
<param name="id" type="String">
|
||||
<description>File id to look for.</description>
|
||||
</param>
|
||||
<return type="plupload.File">
|
||||
<description>File object or undefined if it wasn't found;</description>
|
||||
</return>
|
||||
</method>
|
||||
<method name="removeFile" summary="Removes a specific file.">
|
||||
<description>Removes a specific file.
|
||||
</description>
|
||||
<param name="file" type="plupload.File">
|
||||
<description>File to remove from queue.</description>
|
||||
</param>
|
||||
</method>
|
||||
<method name="splice" summary="Removes part of the queue and returns the files removed.">
|
||||
<description>Removes part of the queue and returns the files removed. This will also trigger the FilesRemoved and QueueChanged events.
|
||||
</description>
|
||||
<param name="start" type="Number">
|
||||
<description>(Optional) Start index to remove from.</description>
|
||||
</param>
|
||||
<param name="length" type="Number">
|
||||
<description>(Optional) Lengh of items to remove.</description>
|
||||
</param>
|
||||
<return type="Array">
|
||||
<description>Array of files that was removed.</description>
|
||||
</return>
|
||||
</method>
|
||||
<method name="trigger" summary="Dispatches the specified event name and it's arguments to all listeners.">
|
||||
<description>Dispatches the specified event name and it's arguments to all listeners.
|
||||
|
||||
</description>
|
||||
<param name="name" type="String">
|
||||
<description>Event name to fire.</description>
|
||||
</param>
|
||||
<param name="Multiple" type="Object..">
|
||||
<description>arguments to pass along to the listener functions.</description>
|
||||
</param>
|
||||
</method>
|
||||
<method name="bind" summary="Adds an event listener by name.">
|
||||
<description>Adds an event listener by name.
|
||||
</description>
|
||||
<param name="name" type="String">
|
||||
<description>Event name to listen for.</description>
|
||||
</param>
|
||||
<param name="func" type="function">
|
||||
<description>Function to call ones the event gets fired.</description>
|
||||
</param>
|
||||
<param name="scope" type="Object">
|
||||
<description>Optional scope to execute the specified function in.</description>
|
||||
</param>
|
||||
</method>
|
||||
<method name="unbind" summary="Removes the specified event listener.">
|
||||
<description>Removes the specified event listener.
|
||||
</description>
|
||||
<param name="name" type="String">
|
||||
<description>Name of event to remove.</description>
|
||||
</param>
|
||||
<param name="func" type="function">
|
||||
<description>Function to remove from listener.</description>
|
||||
</param>
|
||||
</method>
|
||||
<method name="unbindAll" summary="Removes all event listeners.">
|
||||
<description>Removes all event listeners.
|
||||
</description>
|
||||
</method>
|
||||
<method name="destroy" summary="Destroys Plupload instance and cleans after itself.">
|
||||
<description>Destroys Plupload instance and cleans after itself.
|
||||
</description>
|
||||
</method>
|
||||
<event name="Init" summary="Fires when the current RunTime has been initialized.">
|
||||
<description>Fires when the current RunTime has been initialized.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="PostInit" summary="Fires after the init event incase you need to perform actions there.">
|
||||
<description>Fires after the init event incase you need to perform actions there.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="Refresh" summary="Fires when the silverlight/flash or other shim needs to move.">
|
||||
<description>Fires when the silverlight/flash or other shim needs to move.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="StateChanged" summary="Fires when the overall state is being changed for the upload queue.">
|
||||
<description>Fires when the overall state is being changed for the upload queue.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="UploadFile" summary="Fires when a file is to be uploaded by the runtime.">
|
||||
<description>Fires when a file is to be uploaded by the runtime.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
<param name="file" type="plupload.File">
|
||||
<description>File to be uploaded.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="BeforeUpload" summary="Fires when just before a file is uploaded.">
|
||||
<description>Fires when just before a file is uploaded. This event enables you to override settings
|
||||
on the uploader instance before the file is uploaded.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
<param name="file" type="plupload.File">
|
||||
<description>File to be uploaded.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="QueueChanged" summary="Fires when the file queue is changed.">
|
||||
<description>Fires when the file queue is changed. In other words when files are added/removed to the files array of the uploader instance.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="UploadProgress" summary="Fires while a file is being uploaded.">
|
||||
<description>Fires while a file is being uploaded. Use this event to update the current file upload progress.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
<param name="file" type="plupload.File">
|
||||
<description>File that is currently being uploaded.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="FilesRemoved" summary="Fires while a file was removed from queue.">
|
||||
<description>Fires while a file was removed from queue.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
<param name="files" type="Array">
|
||||
<description>Array of files that got removed.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="FilesAdded" summary="Fires while when the user selects files to upload.">
|
||||
<description>Fires while when the user selects files to upload.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
<param name="files" type="Array">
|
||||
<description>Array of file objects that was added to queue/selected by the user.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="FileUploaded" summary="Fires when a file is successfully uploaded.">
|
||||
<description>Fires when a file is successfully uploaded.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
<param name="file" type="plupload.File">
|
||||
<description>File that was uploaded.</description>
|
||||
</param>
|
||||
<param name="response" type="Object">
|
||||
<description>Object with response properties.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="ChunkUploaded" summary="Fires when file chunk is uploaded.">
|
||||
<description>Fires when file chunk is uploaded.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
<param name="file" type="plupload.File">
|
||||
<description>File that the chunk was uploaded for.</description>
|
||||
</param>
|
||||
<param name="response" type="Object">
|
||||
<description>Object with response properties.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="UploadComplete" summary="Fires when all files in a queue are uploaded.">
|
||||
<description>Fires when all files in a queue are uploaded.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
<param name="files" type="Array">
|
||||
<description>Array of file objects that was added to queue/selected by the user.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="Error" summary="Fires when a error occurs.">
|
||||
<description>Fires when a error occurs.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
<param name="error" type="Object">
|
||||
<description>Contains code, message and sometimes file and other details.</description>
|
||||
</param>
|
||||
</event>
|
||||
<event name="Destroy" summary="Fires when destroy method is called.">
|
||||
<description>Fires when destroy method is called.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance sending the event.</description>
|
||||
</param>
|
||||
</event>
|
||||
</members>
|
||||
</class>
|
||||
<class fullname="plupload.File" name="File" summary="File instance.">
|
||||
<description>File instance.
|
||||
</description>
|
||||
<param name="name" type="String">
|
||||
<description>Name of the file.</description>
|
||||
</param>
|
||||
<param name="size" type="Number">
|
||||
<description>File size.</description>
|
||||
</param>
|
||||
<members>
|
||||
<method constructor="true" name="File" summary="Constructs a new file instance.">
|
||||
<description>Constructs a new file instance.
|
||||
</description>
|
||||
<param name="id" type="String">
|
||||
<description>Unique file id.</description>
|
||||
</param>
|
||||
<param name="name" type="String">
|
||||
<description>File name.</description>
|
||||
</param>
|
||||
<param name="size" type="Number">
|
||||
<description>File size in bytes.</description>
|
||||
</param>
|
||||
</method>
|
||||
<property name="id" summary="File id this is a globally unique id for the specific file." type="String">
|
||||
<description>File id this is a globally unique id for the specific file.
|
||||
</description>
|
||||
</property>
|
||||
<property name="name" summary="File name for example "myfile." type="String">
|
||||
<description>File name for example "myfile.gif".
|
||||
</description>
|
||||
</property>
|
||||
<property name="size" summary="File size in bytes." type="Number">
|
||||
<description>File size in bytes.
|
||||
</description>
|
||||
</property>
|
||||
<property name="loaded" summary="Number of bytes uploaded of the files total size." type="Number">
|
||||
<description>Number of bytes uploaded of the files total size.
|
||||
</description>
|
||||
</property>
|
||||
<property name="percent" summary="Number of percentage uploaded of the file." type="Number">
|
||||
<description>Number of percentage uploaded of the file.
|
||||
</description>
|
||||
</property>
|
||||
<property name="status" summary="Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE." type="Number">
|
||||
<description>Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.
|
||||
</description>
|
||||
<see class="plupload"/>
|
||||
</property>
|
||||
</members>
|
||||
</class>
|
||||
<class fullname="plupload.Runtime" name="Runtime" static="true" summary="Runtime class gets implemented by each upload runtime.">
|
||||
<description>Runtime class gets implemented by each upload runtime.
|
||||
</description>
|
||||
<members>
|
||||
<method name="init" static="true" summary="Initializes the upload runtime.">
|
||||
<description>Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
|
||||
</description>
|
||||
<param name="uploader" type="plupload.Uploader">
|
||||
<description>Uploader instance that needs to be initialized.</description>
|
||||
</param>
|
||||
<param name="callback" type="function">
|
||||
<description>Callback function to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</description>
|
||||
</param>
|
||||
</method>
|
||||
</members>
|
||||
</class>
|
||||
<class fullname="plupload.QueueProgress" name="QueueProgress" summary="Runtime class gets implemented by each upload runtime.">
|
||||
<description>Runtime class gets implemented by each upload runtime.
|
||||
</description>
|
||||
<members>
|
||||
<method constructor="true" name="QueueProgress" summary="Constructs a queue progress.">
|
||||
<description>Constructs a queue progress.
|
||||
</description>
|
||||
</method>
|
||||
<property name="size" summary="Total queue file size." type="Number">
|
||||
<description>Total queue file size.
|
||||
</description>
|
||||
</property>
|
||||
<property name="loaded" summary="Total bytes uploaded." type="Number">
|
||||
<description>Total bytes uploaded.
|
||||
</description>
|
||||
</property>
|
||||
<property name="uploaded" summary="Number of files uploaded." type="Number">
|
||||
<description>Number of files uploaded.
|
||||
</description>
|
||||
</property>
|
||||
<property name="failed" summary="Number of files failed to upload." type="Number">
|
||||
<description>Number of files failed to upload.
|
||||
</description>
|
||||
</property>
|
||||
<property name="queued" summary="Number of files yet to be uploaded." type="Number">
|
||||
<description>Number of files yet to be uploaded.
|
||||
</description>
|
||||
</property>
|
||||
<property name="percent" summary="Total percent of the uploaded bytes." type="Number">
|
||||
<description>Total percent of the uploaded bytes.
|
||||
</description>
|
||||
</property>
|
||||
<property name="bytesPerSec" summary="Bytes uploaded per second." type="Number">
|
||||
<description>Bytes uploaded per second.
|
||||
</description>
|
||||
</property>
|
||||
<method name="reset" summary="Resets the progress to it's initial values.">
|
||||
<description>Resets the progress to it's initial values.
|
||||
</description>
|
||||
</method>
|
||||
</members>
|
||||
</class>
|
||||
</namespace>
|
||||
<class fullname="plupload" name="plupload" static="true" summary="Plupload class with some global constants and functions.">
|
||||
<description>Plupload class with some global constants and functions.
|
||||
</description>
|
||||
<example>
|
||||
<example>// Encode entities
|
||||
console.log(plupload.xmlEncode("My string &lt;&gt;"));
|
||||
|
||||
// Generate unique id
|
||||
console.log(plupload.guid());</example>
|
||||
</example>
|
||||
<members>
|
||||
<property final="true" name="STOPPED" static="true" summary="Inital state of the queue and also the state ones it's finished all it's uploads." type="Object">
|
||||
<description>Inital state of the queue and also the state ones it's finished all it's uploads.
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="STARTED" static="true" summary="Upload process is running" type="Object">
|
||||
<description>Upload process is running
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="QUEUED" static="true" summary="File is queued for upload" type="Object">
|
||||
<description>File is queued for upload
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="UPLOADING" static="true" summary="File is being uploaded" type="Object">
|
||||
<description>File is being uploaded
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="FAILED" static="true" summary="File has failed to be uploaded" type="Object">
|
||||
<description>File has failed to be uploaded
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="DONE" static="true" summary="File has been uploaded successfully" type="Object">
|
||||
<description>File has been uploaded successfully
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="GENERIC_ERROR" static="true" summary="Generic error for example if an exception is thrown inside Silverlight." type="Object">
|
||||
<description>Generic error for example if an exception is thrown inside Silverlight.
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="HTTP_ERROR" static="true" summary="HTTP transport error." type="Object">
|
||||
<description>HTTP transport error. For example if the server produces a HTTP status other than 200.
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="IO_ERROR" static="true" summary="Generic I/O error." type="Object">
|
||||
<description>Generic I/O error. For exampe if it wasn't possible to open the file stream on local machine.
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="SECURITY_ERROR" static="true" summary="Generic I/O error." type="Object">
|
||||
<description>Generic I/O error. For exampe if it wasn't possible to open the file stream on local machine.
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="INIT_ERROR" static="true" summary="Initialization error." type="Object">
|
||||
<description>Initialization error. Will be triggered if no runtime was initialized.
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="FILE_SIZE_ERROR" static="true" summary="File size error." type="Object">
|
||||
<description>File size error. If the user selects a file that is to large it will be blocked and an error of this type will be triggered.
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="FILE_EXTENSION_ERROR" static="true" summary="File extension error." type="Object">
|
||||
<description>File extension error. If the user selects a file that isn't valid according to the filters setting.
|
||||
</description>
|
||||
</property>
|
||||
<property final="true" name="mimeTypes" static="true" summary="Mime type lookup table." type="Object">
|
||||
<description>Mime type lookup table.
|
||||
</description>
|
||||
</property>
|
||||
<method name="extend" static="true" summary="Extends the specified object with another object.">
|
||||
<description>Extends the specified object with another object.
|
||||
</description>
|
||||
<param name="target" type="Object">
|
||||
<description>Object to extend.</description>
|
||||
</param>
|
||||
<param name="obj" type="Object..">
|
||||
<description>Multiple objects to extend with.</description>
|
||||
</param>
|
||||
<return type="Object">
|
||||
<description>Same as target, the extended object.</description>
|
||||
</return>
|
||||
</method>
|
||||
<method name="cleanName" static="true" summary="Cleans the specified name from national characters (diacritics).">
|
||||
<description>Cleans the specified name from national characters (diacritics). The result will be a name with only a-z, 0-9 and _.
|
||||
</description>
|
||||
<param name="s" type="String">
|
||||
<description>String to clean up.</description>
|
||||
</param>
|
||||
<return type="String">
|
||||
<description>Cleaned string.</description>
|
||||
</return>
|
||||
</method>
|
||||
<method name="addRuntime" static="true" summary="Adds a specific upload runtime like for example flash or gears.">
|
||||
<description>Adds a specific upload runtime like for example flash or gears.
|
||||
</description>
|
||||
<param name="name" type="String">
|
||||
<description>Runtime name for example flash.</description>
|
||||
</param>
|
||||
<param name="obj" type="Object">
|
||||
<description>Object containing init/destroy method.</description>
|
||||
</param>
|
||||
</method>
|
||||
<method name="guid" static="true" summary="Generates an unique ID.">
|
||||
<description>Generates an unique ID. This is 99.99% unique since it takes the current time and 5 random numbers.
|
||||
The only way a user would be able to get the same ID is if the two persons at the same exact milisecond manages
|
||||
to get 5 the same random numbers between 0-65535 it also uses a counter so each call will be guaranteed to be page unique.
|
||||
It's more probable for the earth to be hit with an ansteriod. You can also if you want to be 100% sure set the plupload.guidPrefix property
|
||||
to an user unique key.
|
||||
</description>
|
||||
<return type="String">
|
||||
<description>Virtually unique id.</description>
|
||||
</return>
|
||||
</method>
|
||||
<method name="formatSize" static="true" summary="Formats the specified number as a size string for example 1024 becomes 1 KB.">
|
||||
<description>Formats the specified number as a size string for example 1024 becomes 1 KB.
|
||||
</description>
|
||||
<param name="size" type="Number">
|
||||
<description>Size to format as string.</description>
|
||||
</param>
|
||||
<return type="String">
|
||||
<description>Formatted size string.</description>
|
||||
</return>
|
||||
</method>
|
||||
<method name="getPos" static="true" summary="Returns the absolute x, y position of an Element.">
|
||||
<description>Returns the absolute x, y position of an Element. The position will be returned in a object with x, y fields.
|
||||
</description>
|
||||
<param name="node" type="Element">
|
||||
<description>HTML element or element id to get x, y position from.</description>
|
||||
</param>
|
||||
<param name="root" type="Element">
|
||||
<description>Optional root element to stop calculations at.</description>
|
||||
</param>
|
||||
<return type="object">
|
||||
<description>Absolute position of the specified element object with x, y fields.</description>
|
||||
</return>
|
||||
</method>
|
||||
<method name="parseSize" static="true" summary="Parses the specified size string into a byte value.">
|
||||
<description>Parses the specified size string into a byte value. For example 10kb becomes 10240.
|
||||
</description>
|
||||
<param name="size">
|
||||
<type fullname="String"/>
|
||||
<type fullname="Number"/>
|
||||
<description>String to parse or number to just pass through.</description>
|
||||
</param>
|
||||
<return type="Number">
|
||||
<description>Size in bytes.</description>
|
||||
</return>
|
||||
</method>
|
||||
<method name="xmlEncode" static="true" summary="Encodes the specified string.">
|
||||
<description>Encodes the specified string.
|
||||
</description>
|
||||
<param name="s" type="String">
|
||||
<description>String to encode.</description>
|
||||
</param>
|
||||
<return type="String">
|
||||
<description>Encoded string.</description>
|
||||
</return>
|
||||
</method>
|
||||
<method name="toArray" static="true" summary="Forces anything into an array.">
|
||||
<description>Forces anything into an array.
|
||||
</description>
|
||||
<param name="obj" type="Object">
|
||||
<description>Object with length field.</description>
|
||||
</param>
|
||||
<return type="Array">
|
||||
<description>Array object containing all items.</description>
|
||||
</return>
|
||||
</method>
|
||||
</members>
|
||||
</class>
|
||||
</model>
|
246
sites/all/libraries/plupload/docs/api/plupload.vsdoc.js
Normal file
@@ -0,0 +1,246 @@
|
||||
// Namespaces
|
||||
plupload = {}
|
||||
plupload.runtimes = {}
|
||||
|
||||
// Classes
|
||||
plupload.runtimes.BrowserPlus = function() {
|
||||
/// <summary>Yahoo BrowserPlus implementation.</summary>
|
||||
}
|
||||
|
||||
plupload.runtimes.BrowserPlus.init = function(uploader, callback) {
|
||||
/// <summary>Initializes the browserplus runtime.</summary>
|
||||
/// <param name="uploader" type="plupload.Uploader">Uploader instance that needs to be initialized.</param>
|
||||
/// <param name="callback" type="function">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</param>
|
||||
}
|
||||
|
||||
plupload.runtimes.Flash = function() {
|
||||
/// <summary>FlashRuntime implementation.</summary>
|
||||
}
|
||||
|
||||
plupload.runtimes.Flash.init = function(uploader, callback) {
|
||||
/// <summary>Initializes the upload runtime.</summary>
|
||||
/// <param name="uploader" type="plupload.Uploader">Uploader instance that needs to be initialized.</param>
|
||||
/// <param name="callback" type="function">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</param>
|
||||
}
|
||||
|
||||
plupload.runtimes.Gears = function() {
|
||||
/// <summary>Gears implementation.</summary>
|
||||
}
|
||||
|
||||
plupload.runtimes.Gears.init = function(uploader, callback) {
|
||||
/// <summary>Initializes the upload runtime.</summary>
|
||||
/// <param name="uploader" type="plupload.Uploader">Uploader instance that needs to be initialized.</param>
|
||||
/// <param name="callback" type="function">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</param>
|
||||
}
|
||||
|
||||
plupload.runtimes.Html4 = function() {
|
||||
/// <summary>HTML4 implementation.</summary>
|
||||
}
|
||||
|
||||
plupload.runtimes.Html4.init = function(uploader, callback) {
|
||||
/// <summary>Initializes the upload runtime.</summary>
|
||||
/// <param name="uploader" type="plupload.Uploader">Uploader instance that needs to be initialized.</param>
|
||||
/// <param name="callback" type="function">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</param>
|
||||
}
|
||||
|
||||
plupload.runtimes.Html5 = function() {
|
||||
/// <summary>HMTL5 implementation.</summary>
|
||||
}
|
||||
|
||||
plupload.runtimes.Html5.init = function(uploader, callback) {
|
||||
/// <summary>Initializes the upload runtime.</summary>
|
||||
/// <param name="uploader" type="plupload.Uploader">Uploader instance that needs to be initialized.</param>
|
||||
/// <param name="callback" type="function">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</param>
|
||||
}
|
||||
|
||||
plupload.runtimes.Silverlight = function() {
|
||||
/// <summary>Silverlight implementation.</summary>
|
||||
}
|
||||
|
||||
plupload.runtimes.Silverlight.init = function(uploader, callback) {
|
||||
/// <summary>Initializes the upload runtime.</summary>
|
||||
/// <param name="uploader" type="plupload.Uploader">Uploader instance that needs to be initialized.</param>
|
||||
/// <param name="callback" type="function">Callback to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</param>
|
||||
}
|
||||
|
||||
plupload.Uploader = function(settings) {
|
||||
/// <summary>Uploader class, an instance of this class will be created for each upload field.</summary>
|
||||
/// <param name="settings" type="Object">Initialization settings, to be used by the uploader instance and runtimes.</param>
|
||||
/// <field name="state" type="Number">Current state of the total uploading progress. This one can either be plupload.STARTED or plupload.STOPPED. These states are controlled by the stop/start methods. The default value is STOPPED.</field>
|
||||
/// <field name="runtime" type="String">Current runtime name.</field>
|
||||
/// <field name="features" type="Object">Map of features that are available for the uploader runtime. Features will be filled before the init event is called, these features can then be used to alter the UI for the end user. Some of the current features that might be in this map is: dragdrop, chunks, jpgresize, pngresize.</field>
|
||||
/// <field name="files" type="Array">Current upload queue, an array of File instances.</field>
|
||||
/// <field name="settings" type="Object">Object with name/value settings.</field>
|
||||
/// <field name="total" type="plupload.QueueProgress">Total progess information. How many files has been uploaded, total percent etc.</field>
|
||||
/// <field name="id" type="String">Unique id for the Uploader instance.</field>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.init = function() {
|
||||
/// <summary>Initializes the Uploader instance and adds internal event listeners.</summary>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.refresh = function() {
|
||||
/// <summary>Refreshes the upload instance by dispatching out a refresh event to all runtimes.</summary>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.start = function() {
|
||||
/// <summary>Starts uploading the queued files.</summary>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.stop = function() {
|
||||
/// <summary>Stops the upload of the queued files.</summary>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.getFile = function(id) {
|
||||
/// <summary>Returns the specified file object by id.</summary>
|
||||
/// <param name="id" type="String">File id to look for.</param>
|
||||
/// <returns type="plupload.File">File object or undefined if it wasn't found;</returns>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.removeFile = function(file) {
|
||||
/// <summary>Removes a specific file.</summary>
|
||||
/// <param name="file" type="plupload.File">File to remove from queue.</param>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.splice = function(start, length) {
|
||||
/// <summary>Removes part of the queue and returns the files removed.</summary>
|
||||
/// <param name="start" type="Number" integer="true">(Optional) Start index to remove from.</param>
|
||||
/// <param name="length" type="Number" integer="true">(Optional) Lengh of items to remove.</param>
|
||||
/// <returns type="Array">Array of files that was removed.</returns>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.trigger = function(name, Multiple) {
|
||||
/// <summary>Dispatches the specified event name and it's arguments to all listeners.</summary>
|
||||
/// <param name="name" type="String">Event name to fire.</param>
|
||||
/// <param name="Multiple" type="Object..">arguments to pass along to the listener functions.</param>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.bind = function(name, func, scope) {
|
||||
/// <summary>Adds an event listener by name.</summary>
|
||||
/// <param name="name" type="String">Event name to listen for.</param>
|
||||
/// <param name="func" type="function">Function to call ones the event gets fired.</param>
|
||||
/// <param name="scope" type="Object">Optional scope to execute the specified function in.</param>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.unbind = function(name, func) {
|
||||
/// <summary>Removes the specified event listener.</summary>
|
||||
/// <param name="name" type="String">Name of event to remove.</param>
|
||||
/// <param name="func" type="function">Function to remove from listener.</param>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.unbindAll = function() {
|
||||
/// <summary>Removes all event listeners.</summary>
|
||||
}
|
||||
|
||||
plupload.Uploader.prototype.destroy = function() {
|
||||
/// <summary>Destroys Plupload instance and cleans after itself.</summary>
|
||||
}
|
||||
|
||||
plupload.File = function(id, name, size) {
|
||||
/// <summary>File instance.</summary>
|
||||
/// <param name="id" type="String">Unique file id.</param>
|
||||
/// <param name="name" type="String">File name.</param>
|
||||
/// <param name="size" type="Number" integer="true">File size in bytes.</param>
|
||||
/// <field name="id" type="String">File id this is a globally unique id for the specific file.</field>
|
||||
/// <field name="name" type="String">File name for example "myfile.gif".</field>
|
||||
/// <field name="size" type="Number">File size in bytes.</field>
|
||||
/// <field name="loaded" type="Number">Number of bytes uploaded of the files total size.</field>
|
||||
/// <field name="percent" type="Number">Number of percentage uploaded of the file.</field>
|
||||
/// <field name="status" type="Number">Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.</field>
|
||||
}
|
||||
|
||||
plupload.Runtime = function() {
|
||||
/// <summary>Runtime class gets implemented by each upload runtime.</summary>
|
||||
}
|
||||
|
||||
plupload.Runtime.init = function(uploader, callback) {
|
||||
/// <summary>Initializes the upload runtime.</summary>
|
||||
/// <param name="uploader" type="plupload.Uploader">Uploader instance that needs to be initialized.</param>
|
||||
/// <param name="callback" type="function">Callback function to execute when the runtime initializes or fails to initialize. If it succeeds an object with a parameter name success will be set to true.</param>
|
||||
}
|
||||
|
||||
plupload.QueueProgress = function() {
|
||||
/// <summary>Runtime class gets implemented by each upload runtime.</summary>
|
||||
/// <field name="size" type="Number">Total queue file size.</field>
|
||||
/// <field name="loaded" type="Number">Total bytes uploaded.</field>
|
||||
/// <field name="uploaded" type="Number">Number of files uploaded.</field>
|
||||
/// <field name="failed" type="Number">Number of files failed to upload.</field>
|
||||
/// <field name="queued" type="Number">Number of files yet to be uploaded.</field>
|
||||
/// <field name="percent" type="Number">Total percent of the uploaded bytes.</field>
|
||||
/// <field name="bytesPerSec" type="Number">Bytes uploaded per second.</field>
|
||||
}
|
||||
|
||||
plupload.QueueProgress.prototype.reset = function() {
|
||||
/// <summary>Resets the progress to it's initial values.</summary>
|
||||
}
|
||||
|
||||
// Namespaces
|
||||
plupload.STOPPED = new Object();
|
||||
plupload.STARTED = new Object();
|
||||
plupload.QUEUED = new Object();
|
||||
plupload.UPLOADING = new Object();
|
||||
plupload.FAILED = new Object();
|
||||
plupload.DONE = new Object();
|
||||
plupload.GENERIC_ERROR = new Object();
|
||||
plupload.HTTP_ERROR = new Object();
|
||||
plupload.IO_ERROR = new Object();
|
||||
plupload.SECURITY_ERROR = new Object();
|
||||
plupload.INIT_ERROR = new Object();
|
||||
plupload.FILE_SIZE_ERROR = new Object();
|
||||
plupload.FILE_EXTENSION_ERROR = new Object();
|
||||
plupload.mimeTypes = new Object();
|
||||
plupload.extend = function(target, obj) {
|
||||
/// <summary>Extends the specified object with another object.</summary>
|
||||
/// <param name="target" type="Object">Object to extend.</param>
|
||||
/// <param name="obj" type="Object..">Multiple objects to extend with.</param>
|
||||
/// <returns type="Object">Same as target, the extended object.</returns>
|
||||
}
|
||||
|
||||
plupload.cleanName = function(s) {
|
||||
/// <summary>Cleans the specified name from national characters (diacritics).</summary>
|
||||
/// <param name="s" type="String">String to clean up.</param>
|
||||
/// <returns type="String">Cleaned string.</returns>
|
||||
}
|
||||
|
||||
plupload.addRuntime = function(name, obj) {
|
||||
/// <summary>Adds a specific upload runtime like for example flash or gears.</summary>
|
||||
/// <param name="name" type="String">Runtime name for example flash.</param>
|
||||
/// <param name="obj" type="Object">Object containing init/destroy method.</param>
|
||||
}
|
||||
|
||||
plupload.guid = function() {
|
||||
/// <summary>Generates an unique ID.</summary>
|
||||
/// <returns type="String">Virtually unique id.</returns>
|
||||
}
|
||||
|
||||
plupload.formatSize = function(size) {
|
||||
/// <summary>Formats the specified number as a size string for example 1024 becomes 1 KB.</summary>
|
||||
/// <param name="size" type="Number" integer="true">Size to format as string.</param>
|
||||
/// <returns type="String">Formatted size string.</returns>
|
||||
}
|
||||
|
||||
plupload.getPos = function(node, root) {
|
||||
/// <summary>Returns the absolute x, y position of an Element.</summary>
|
||||
/// <param name="node" type="Element" domElement="true">HTML element or element id to get x, y position from.</param>
|
||||
/// <param name="root" type="Element" domElement="true">Optional root element to stop calculations at.</param>
|
||||
/// <returns type="object">Absolute position of the specified element object with x, y fields.</returns>
|
||||
}
|
||||
|
||||
plupload.parseSize = function(size) {
|
||||
/// <summary>Parses the specified size string into a byte value.</summary>
|
||||
/// <param name="size" type="">String to parse or number to just pass through.</param>
|
||||
/// <returns type="Number" integer="true">Size in bytes.</returns>
|
||||
}
|
||||
|
||||
plupload.xmlEncode = function(s) {
|
||||
/// <summary>Encodes the specified string.</summary>
|
||||
/// <param name="s" type="String">String to encode.</param>
|
||||
/// <returns type="String">Encoded string.</returns>
|
||||
}
|
||||
|
||||
plupload.toArray = function(obj) {
|
||||
/// <summary>Forces anything into an array.</summary>
|
||||
/// <param name="obj" type="Object">Object with length field.</param>
|
||||
/// <returns type="Array">Array object containing all items.</returns>
|
||||
}
|
||||
|
14
sites/all/libraries/plupload/js/i18n/cs.js
Normal file
@@ -0,0 +1,14 @@
|
||||
// .po file like language pack
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Vyberte soubory',
|
||||
'Add files to the upload queue and click the start button.' : 'Přidejte soubory do fronty a pak spusťte nahrávání.',
|
||||
'Filename' : 'Název souboru',
|
||||
'Status' : 'Status',
|
||||
'Size' : 'Velikost',
|
||||
'Add Files' : 'Přidat soubory',
|
||||
'Stop current upload' : 'Zastavit nahrávání',
|
||||
'Start uploading queue' : 'Spustit frontu nahrávání',
|
||||
'Drag files here.' : 'Sem přetáhněte soubory.',
|
||||
'Start Upload': 'Spustit nahrávání',
|
||||
'Uploaded %d/%d files': 'Nahráno %d/%d souborů'
|
||||
});
|
12
sites/all/libraries/plupload/js/i18n/da.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// .po file like language pack
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Vælg filer',
|
||||
'Add files to the upload queue and click the start button.' : 'Tilføj filer til køen, og tryk på start.',
|
||||
'Filename' : 'Filnavn',
|
||||
'Status' : 'Status',
|
||||
'Size' : 'Størrelse',
|
||||
'Add files' : 'Tilføj filer',
|
||||
'Stop current upload' : 'Stop upload',
|
||||
'Start uploading queue' : 'Start upload',
|
||||
'Drag files here.' : 'Træk filer her.'
|
||||
});
|
24
sites/all/libraries/plupload/js/i18n/de.js
Normal file
@@ -0,0 +1,24 @@
|
||||
// German
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Dateien hochladen',
|
||||
'Add files to the upload queue and click the start button.' : 'Dateien hinzufügen und auf \'Hochladen\' klicken.',
|
||||
'Filename' : 'Dateiname',
|
||||
'Status' : 'Status',
|
||||
'Size' : 'Größe',
|
||||
'Add files' : 'Dateien', // hinzufügen',
|
||||
'Stop current upload' : 'Aktuelles Hochladen stoppen',
|
||||
'Start uploading queue' : 'Hochladen starten',
|
||||
'Uploaded %d/%d files': '%d/%d Dateien sind hochgeladen',
|
||||
'N/A' : 'Nicht verfügbar',
|
||||
'Drag files here.' : 'Ziehen Sie die Dateien hier hin',
|
||||
'File extension error.': 'Fehler bei Dateiendung',
|
||||
'File size error.': 'Fehler bei Dateigröße',
|
||||
'Init error.': 'Initialisierungsfehler',
|
||||
'HTTP Error.': 'HTTP-Fehler',
|
||||
'Security error.': 'Sicherheitsfehler',
|
||||
'Generic error.': 'Typischer Fehler',
|
||||
'IO error.': 'Ein/Ausgabe-Fehler',
|
||||
'Stop Upload': 'Hochladen stoppen',
|
||||
'Start upload': 'Hochladen',
|
||||
'%d files queued': '%d Dateien in der Warteschlange'
|
||||
});
|
14
sites/all/libraries/plupload/js/i18n/el.js
Normal file
@@ -0,0 +1,14 @@
|
||||
// Greek
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Επιλέξτε Αρχεία',
|
||||
'Add files to the upload queue and click the start button.' : 'Προσθήκη αρχείων στην ουρά μεταφόρτωσης',
|
||||
'Filename' : 'Όνομα αρχείου',
|
||||
'Status' : 'Κατάσταση',
|
||||
'Size' : 'Μέγεθος',
|
||||
'Add Files' : 'Προσθέστε αρχεία',
|
||||
'Stop current upload' : 'Διακοπή τρέχουσας μεταφόρτωσης',
|
||||
'Start uploading queue' : 'Εκκίνηση μεταφόρτωσης ουράς αρχείων',
|
||||
'Drag files here.' : 'Σύρετε αρχεία εδώ',
|
||||
'Start Upload': 'Εκκίνηση μεταφόρτωσης',
|
||||
'Uploaded %d/%d files': 'Ανέβηκαν %d/%d αρχεία'
|
||||
});
|
25
sites/all/libraries/plupload/js/i18n/es.js
Normal file
@@ -0,0 +1,25 @@
|
||||
// Spanish
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Elija archivos:',
|
||||
'Add files to the upload queue and click the start button.' : 'Agregue archivos a la cola de subida y haga click en el boton de iniciar.',
|
||||
'Filename' : 'Nombre de archivo',
|
||||
'Status' : 'Estado',
|
||||
'Size' : 'Tamaño',
|
||||
'Add files' : 'Agregue archivos',
|
||||
'Stop current upload' : 'Detener subida actual',
|
||||
'Start uploading queue' : 'Iniciar subida de cola',
|
||||
'Uploaded %d/%d files': 'Subidos %d/%d archivos',
|
||||
'N/A' : 'No disponible',
|
||||
'Drag files here.' : 'Arrastre archivos aquí',
|
||||
'File extension error.': 'Error de extensión de archivo.',
|
||||
'File size error.': 'Error de tamaño de archivo.',
|
||||
'Init error.': 'Error de inicialización.',
|
||||
'HTTP Error.': 'Error de HTTP.',
|
||||
'Security error.': 'Error de seguridad.',
|
||||
'Generic error.': 'Error genérico.',
|
||||
'IO error.': 'Error de entrada/salida.',
|
||||
'Stop Upload': 'Detener Subida.',
|
||||
'Add Files': 'Agregar Archivos',
|
||||
'Start Upload': 'Comenzar Subida.',
|
||||
'%d files queued': '%d archivos en cola.'
|
||||
});
|
33
sites/all/libraries/plupload/js/i18n/et.js
Normal file
@@ -0,0 +1,33 @@
|
||||
// Estonian translation, et.js
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Vali faile',
|
||||
'Add files to the upload queue and click the start button.' : 'Lisa failid üleslaadimise järjekorda ja klõpsa alustamise nupule.',
|
||||
'Filename' : 'Failinimi',
|
||||
'Status' : 'Olek',
|
||||
'Size' : 'Suurus',
|
||||
'Add files' : 'Lisa faile',
|
||||
'Stop current upload' : 'Praeguse üleslaadimise peatamine',
|
||||
'Start uploading queue' : 'Järjekorras ootavate failide üleslaadimise alustamine',
|
||||
'Drag files here.' : 'Lohista failid siia.',
|
||||
'Start upload' : 'Alusta üleslaadimist',
|
||||
'Uploaded %d/%d files': 'Üles laaditud %d/%d',
|
||||
'Stop upload': 'Peata üleslaadimine',
|
||||
'Start upload': 'Alusta üleslaadimist',
|
||||
'%d files queued': 'Järjekorras on %d faili',
|
||||
'File: %s': 'Fail: %s',
|
||||
'Close': 'Sulge',
|
||||
'Using runtime: ': 'Kasutatakse varianti: ',
|
||||
'File: %f, size: %s, max file size: %m': 'Fail: %f, suurus: %s, suurim failisuurus: %m',
|
||||
'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'Üleslaadimise element saab vastu võtta ainult %d faili ühe korraga. Ülejäänud failid jäetakse laadimata.',
|
||||
'Upload URL might be wrong or doesn\'t exist': 'Üleslaadimise URL võib olla vale või seda pole',
|
||||
'Error: File too large: ': 'Viga: fail on liiga suur: ',
|
||||
'Error: Invalid file extension: ': 'Viga: sobimatu faililaiend: ',
|
||||
'File extension error.': 'Faililaiendi viga.',
|
||||
'File size error.': 'Failisuuruse viga.',
|
||||
'File count error.': 'Failide arvu viga.',
|
||||
'Init error.': 'Lähtestamise viga.',
|
||||
'HTTP Error.': 'HTTP ühenduse viga.',
|
||||
'Security error.': 'Turvaviga.',
|
||||
'Generic error.': 'Üldine viga.',
|
||||
'IO error.': 'S/V (I/O) viga.'
|
||||
});
|
37
sites/all/libraries/plupload/js/i18n/fa.js
Normal file
@@ -0,0 +1,37 @@
|
||||
// Persian
|
||||
plupload.addI18n({
|
||||
'Select files' : 'انتخاب فایل',
|
||||
'Add files to the upload queue and click the start button.' : 'اضافه کنید فایل ها را به صف آپلود و دکمه شروع را کلیک کنید.',
|
||||
'Filename' : 'نام فایل',
|
||||
'Status' : 'وضعیت',
|
||||
'Size' : 'سایز',
|
||||
'Add Files' : 'افزودن فایل',
|
||||
'Stop Upload' : 'توقف انتقال',
|
||||
'Start Upload' : 'شروع انتقال',
|
||||
'Add files' : 'افزودن فایل',
|
||||
'Add files.' : 'افزودن فایل',
|
||||
'Stop current upload' : 'توقف انتقال جاری',
|
||||
'Start uploading queue' : 'شروع صف انتقال',
|
||||
'Stop upload' : 'توقف انتقال',
|
||||
'Start upload' : 'شروع انتقال',
|
||||
'Uploaded %d/%d files': 'منتقل شد %d/%d از فایلها',
|
||||
'N/A' : 'N/A',
|
||||
'Drag files here.' : 'بکشید فایل ها رو به اینجا',
|
||||
'File extension error.': 'خطا پیشوند فایل',
|
||||
'File size error.': 'خطای سایز فایل',
|
||||
'File count error.': 'خطای تعداد فایل',
|
||||
'Init error.': 'خطا در استارت اسکریپت',
|
||||
'HTTP Error.': 'HTTP خطای',
|
||||
'Security error.': 'خطای امنیتی',
|
||||
'Generic error.': 'خطای عمومی',
|
||||
'IO error.': 'IO خطای',
|
||||
'File: %s': ' فایل ها : %s',
|
||||
'Close': 'بستن',
|
||||
'%d files queued': '%d فایل در صف',
|
||||
'Using runtime: ': 'استفاده میکنید از : ',
|
||||
'File: %f, size: %s, max file size: %m': فایل: %f, سایز: %s, بزرگترین سایز فایل: %m',
|
||||
'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'عنصر بارگذار فقط %d فایل رو در یک زمان می پذیرد. سایر فایل ها مجرد از این موضوع هستند.',
|
||||
'Upload URL might be wrong or doesn\'t exist': 'آدرس آپلود اشتباه می باشد یا وجود ندارد',
|
||||
'Error: File too large: ': 'خطا: فایل حجیم است :: ',
|
||||
'Error: Invalid file extension: ': 'خطا پسوند فایل معتبر نمی باشد : '
|
||||
});
|
33
sites/all/libraries/plupload/js/i18n/fi.js
Normal file
@@ -0,0 +1,33 @@
|
||||
// .fi file like language pack
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Valitse tiedostoja',
|
||||
'Add files to the upload queue and click the start button.' : 'Lisää tiedostoja latausjonoon ja klikkaa aloita-nappia.',
|
||||
'Filename' : 'Tiedostonimi',
|
||||
'Status' : 'Tila',
|
||||
'Size' : 'Koko',
|
||||
'Add files' : 'Lisää tiedostoja',
|
||||
'Stop current upload' : 'Pysäytä nykyinen lataus',
|
||||
'Start uploading queue' : 'Aloita jonon lataus',
|
||||
'Drag files here.' : 'Raahaa tiedostot tänne.',
|
||||
'Start upload' : 'Aloita lataus',
|
||||
'Uploaded %d/%d files': 'Ladattu %d/%d tiedostoa',
|
||||
'Stop upload': 'Pysäytä lataus',
|
||||
'Start upload': 'Aloita lataus',
|
||||
'%d files queued': '%d tiedostoa jonossa',
|
||||
'File: %s': 'Tiedosto: %s',
|
||||
'Close': 'Sulje',
|
||||
'Using runtime: ': 'Käytetään ajonaikaista: ',
|
||||
'File: %f, size: %s, max file size: %m': 'Tiedosto: %f, koko: %s, maksimi tiedostokoko: %m',
|
||||
'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'Latauselementti sallii ladata vain %d tiedosto(a) kerrallaan. Ylimääräiset tiedostot ohitettiin.',
|
||||
'Upload URL might be wrong or doesn\'t exist': 'Lataus URL saattaa olla väärin tai ei ole olemassa',
|
||||
'Error: File too large: ': 'Virhe: Tiedosto liian suuri: ',
|
||||
'Error: Invalid file extension: ': 'Virhe: Kelpaamaton tiedostopääte: ',
|
||||
'File extension error.': 'Tiedostopäätevirhe.',
|
||||
'File size error.': 'Tiedostokokovirhe.',
|
||||
'File count error.': 'Tiedostolaskentavirhe.',
|
||||
'Init error.': 'Init virhe.',
|
||||
'HTTP Error.': 'HTTP virhe.',
|
||||
'Security error.': 'Tietoturvavirhe.',
|
||||
'Generic error.': 'Yleinen virhe.',
|
||||
'IO error.': 'I/O virhe.'
|
||||
});
|
35
sites/all/libraries/plupload/js/i18n/fr-ca.js
Normal file
@@ -0,0 +1,35 @@
|
||||
// French-Canadian
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Sélectionnez les fichiers',
|
||||
'Add files to the upload queue and click the start button.' : 'Ajoutez des fichiers à la file d\'attente et appuyez sur le bouton démarrer.',
|
||||
'Filename' : 'Nom du fichier',
|
||||
'Status' : 'Statut',
|
||||
'Size' : 'Taille',
|
||||
'Add files' : 'Ajouter Fichiers',
|
||||
'Stop current upload' : 'Arrêter le téléversement actuel',
|
||||
'Start uploading queue' : 'Démarrer le téléversement',
|
||||
'Uploaded %d/%d files': '%d/%d fichiers envoyés',
|
||||
'N/A' : 'Non applicable',
|
||||
'Drag files here.' : 'Glisser-déposer les fichiers ici',
|
||||
'File extension error.': 'Erreur d\'extension de fichier',
|
||||
'File size error.': 'Erreur de taille de fichier',
|
||||
'Init error.': 'Erreur d\'initialisation',
|
||||
'HTTP Error.': 'Erreur HTTP',
|
||||
'Security error.': 'Erreur de sécurité',
|
||||
'Generic error.': 'Erreur commune',
|
||||
'IO error.': 'Erreur E/S',
|
||||
'Stop Upload': 'Arrêter le téléversement',
|
||||
'Add Files': 'Ajouter des fichiers',
|
||||
'Start upload': 'Démarrer le téléversement',
|
||||
'%d files queued': '%d fichiers en attente',
|
||||
'File: %s':'Fichier: %s',
|
||||
'Close':'Fermer',
|
||||
'Using runtime:':'Moteur logiciel:',
|
||||
'File: %f, size: %s, max file size: %m':'Fichier: %f, poids: %s, poids maximal: %m',
|
||||
'Upload element accepts only %d file(s) at a time. Extra files were stripped.':'La file accepte %d fichier(s) à la fois. Les fichiers en trop sont ignorés',
|
||||
'Upload URL might be wrong or doesn\'t exist':'L\'URL de téléversement est erroné ou inexistant',
|
||||
'Error: File to large: ':'Fichier trop volumineux: ',
|
||||
'Error: Invalid file extension: ':'Extension de fichier invalide: ',
|
||||
'File size error.':'Erreur de taile de fichier',
|
||||
'File count error.':'Erreur de décompte des fichiers'
|
||||
});
|
25
sites/all/libraries/plupload/js/i18n/fr.js
Normal file
@@ -0,0 +1,25 @@
|
||||
// French
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Sélectionnez les fichiers',
|
||||
'Add files to the upload queue and click the start button.' : 'Ajoutez des fichiers à la file et appuyez sur le bouton démarrer.',
|
||||
'Filename' : 'Nom de fichier',
|
||||
'Status' : 'Status',
|
||||
'Size' : 'Taille',
|
||||
'Add files' : 'Ajouter Fichiers',
|
||||
'Stop current upload' : 'Arrêter l\'envoi en cours',
|
||||
'Start uploading queue' : 'Démarrer l\'envoi',
|
||||
'Uploaded %d/%d files': '%d/%d fichiers envoyés',
|
||||
'N/A' : 'Non applicable',
|
||||
'Drag files here.' : 'Déposer les fichiers ici.',
|
||||
'File extension error.': 'Erreur extension fichier',
|
||||
'File size error.': 'Erreur taille fichier.',
|
||||
'Init error.': 'Erreur d\'initialisation.',
|
||||
'HTTP Error.': 'Erreur HTTP.',
|
||||
'Security error.': 'Erreur de sécurité.',
|
||||
'Generic error.': 'Erreur générique.',
|
||||
'IO error.': 'Erreur E/S.',
|
||||
'Stop Upload': 'Arrêter les envois.',
|
||||
'Add Files': 'Ajouter des fichiers',
|
||||
'Start Upload': 'Démarrer les envois.',
|
||||
'%d files queued': '%d fichiers en attente.'
|
||||
});
|
25
sites/all/libraries/plupload/js/i18n/hr.js
Normal file
@@ -0,0 +1,25 @@
|
||||
// Croatian
|
||||
plupload.addI18n({
|
||||
'Select files': 'Izaberite datoteke:',
|
||||
'Add files to the upload queue and click the start button.': 'Dodajte datoteke u listu i kliknite Upload.',
|
||||
'Filename': 'Ime datoteke',
|
||||
'Status': 'Status',
|
||||
'Size': 'Veličina',
|
||||
'Add files': 'Dodajte datoteke',
|
||||
'Stop current upload': 'Zaustavi trenutan upload',
|
||||
'Start uploading queue': 'Pokreni Upload',
|
||||
'Uploaded %d/%d files': 'Uploadano %d/%d datoteka',
|
||||
'N/A': 'N/A',
|
||||
'Drag files here.': 'Dovucite datoteke ovdje',
|
||||
'File extension error.': 'Greška ekstenzije datoteke.',
|
||||
'File size error.': 'Greška veličine datoteke.',
|
||||
'Init error.': 'Greška inicijalizacije.',
|
||||
'HTTP Error.': 'HTTP greška.',
|
||||
'Security error.': 'Sigurnosna greška.',
|
||||
'Generic error.': 'Generička greška.',
|
||||
'IO error.': 'I/O greška.',
|
||||
'Stop Upload': 'Zaustavi upload.',
|
||||
'Add Files': 'Dodaj datoteke',
|
||||
'Start Upload': 'Pokreni upload.',
|
||||
'%d files queued': '%d datoteka na čekanju.'
|
||||
});
|
33
sites/all/libraries/plupload/js/i18n/hu.js
Normal file
@@ -0,0 +1,33 @@
|
||||
// Hungarian
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Fájlok kiválasztása',
|
||||
'Add files to the upload queue and click the start button.' : 'Válaszd ki a fájlokat, majd kattints az Indítás gombra.',
|
||||
'Filename' : 'Fájlnév',
|
||||
'Status' : 'Állapot',
|
||||
'Size' : 'Méret',
|
||||
'Add files' : 'Hozzáadás',
|
||||
'Stop current upload' : 'Jelenlegi feltöltés megszakítása',
|
||||
'Start uploading queue' : 'Várakozási sor feltöltésének indítása',
|
||||
'Uploaded %d/%d files': 'Feltöltött fájlok: %d/%d',
|
||||
'N/A': 'Nem elérhető',
|
||||
'Drag files here.' : 'Húzd ide a fájlokat.',
|
||||
'Stop upload': 'Feltöltés megszakítása',
|
||||
'Start upload': 'Indítás',
|
||||
'%d files queued': '%d fájl sorbaállítva',
|
||||
'File: %s': 'Fájl: %s',
|
||||
'Close': 'Bezárás',
|
||||
'Using runtime: ': 'Használt runtime: ',
|
||||
'File: %f, size: %s, max file size: %m': 'Fájl: %f, méret: %s, maximális fájlméret: %m',
|
||||
'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'A feltöltés egyszerre csak %d fájlt fogad el, a többi fájl nem lesz feltöltve.',
|
||||
'Upload URL might be wrong or doesn\'t exist': 'A megadott URL hibás vagy nem létezik',
|
||||
'Error: File too large: ': 'Hiba: A fájl túl nagy: ',
|
||||
'Error: Invalid file extension: ': 'Hiba: Érvénytelen fájlkiterjesztés: ',
|
||||
'File extension error.': 'Hibás fájlkiterjesztés.',
|
||||
'File size error.': 'Hibás fájlméret.',
|
||||
'File count error.': 'A fájlok számával kapcsolatos hiba.',
|
||||
'Init error.': 'Init hiba.',
|
||||
'HTTP Error.': 'HTTP hiba.',
|
||||
'Security error.': 'Biztonsági hiba.',
|
||||
'Generic error.': 'Általános hiba.',
|
||||
'IO error.': 'I/O hiba.'
|
||||
});
|
24
sites/all/libraries/plupload/js/i18n/it.js
Normal file
@@ -0,0 +1,24 @@
|
||||
// Italian
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Seleziona i files',
|
||||
'Add files to the upload queue and click the start button.' : 'Aggiungi i file alla coda di caricamento e clicca il pulsante di avvio.',
|
||||
'Filename' : 'Nome file',
|
||||
'Status' : 'Stato',
|
||||
'Size' : 'Dimensione',
|
||||
'Add Files' : 'Aggiungi file',
|
||||
'Stop current upload' : 'Interrompi il caricamento',
|
||||
'Start uploading queue' : 'Avvia il caricamento',
|
||||
'Uploaded %d/%d files': 'Caricati %d/%d file',
|
||||
'N/A' : 'N/D',
|
||||
'Drag files here.' : 'Trascina i file qui.',
|
||||
'File extension error.': 'Errore estensione file.',
|
||||
'File size error.': 'Errore dimensione file.',
|
||||
'Init error.': 'Errore inizializzazione.',
|
||||
'HTTP Error.': 'Errore HTTP.',
|
||||
'Security error.': 'Errore sicurezza.',
|
||||
'Generic error.': 'Errore generico.',
|
||||
'IO error.': 'Errore IO.',
|
||||
'Stop Upload': 'Ferma Upload',
|
||||
'Start Upload': 'Inizia Upload',
|
||||
'%d files queued': '%d file in lista'
|
||||
});
|
37
sites/all/libraries/plupload/js/i18n/ja.js
Normal file
@@ -0,0 +1,37 @@
|
||||
// Japanese
|
||||
plupload.addI18n({
|
||||
'Select files' : 'ファイル選択',
|
||||
'Add files to the upload queue and click the start button.' : 'ファイルをアップロードキューに追加してスタートボタンをクリックしてください',
|
||||
'Filename' : 'ファイル名',
|
||||
'Status' : 'ステータス',
|
||||
'Size' : 'サイズ',
|
||||
'Add Files' : 'ファイルを追加',
|
||||
'Stop Upload' : 'アップロード停止',
|
||||
'Start Upload' : 'アップロード',
|
||||
'Add files' : 'ファイルを追加',
|
||||
'Add files.' : 'ファイルを追加',
|
||||
'Stop current upload' : '現在のアップロードを停止',
|
||||
'Start uploading queue' : 'アップロード',
|
||||
'Stop upload' : 'アップロード停止',
|
||||
'Start upload' : 'アップロード',
|
||||
'Uploaded %d/%d files': 'アップロード中 %d/%d ファイル',
|
||||
'N/A' : 'N/A',
|
||||
'Drag files here.' : 'ここにファイルをドラッグ',
|
||||
'File extension error.': 'ファイル拡張子エラー',
|
||||
'File size error.': 'ファイルサイズエラー',
|
||||
'File count error.': 'ファイル数エラー',
|
||||
'Init error.': 'イニシャライズエラー',
|
||||
'HTTP Error.': 'HTTP エラー',
|
||||
'Security error.': 'セキュリティエラー',
|
||||
'Generic error.': 'エラー',
|
||||
'IO error.': 'IO エラー',
|
||||
'File: %s': 'ファイル: %s',
|
||||
'Close': '閉じる',
|
||||
'%d files queued': '%d ファイルが追加されました',
|
||||
'Using runtime: ': 'モード: ',
|
||||
'File: %f, size: %s, max file size: %m': 'ファイル: %f, サイズ: %s, 最大ファイルサイズ: %m',
|
||||
'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'アップロード可能なファイル数は %d です。余分なファイルは削除されました',
|
||||
'Upload URL might be wrong or doesn\'t exist': 'アップロード先の URL が存在しません',
|
||||
'Error: File too large: ': 'エラー: サイズが大きすぎます: ',
|
||||
'Error: Invalid file extension: ': 'エラー: 拡張子が許可されていません: '
|
||||
});
|
36
sites/all/libraries/plupload/js/i18n/ko.js
Normal file
@@ -0,0 +1,36 @@
|
||||
// Republic of Korea
|
||||
plupload.addI18n({
|
||||
'Select files' : '파일 선택',
|
||||
'Add files to the upload queue and click the start button.' : '파일을 업로드 큐에 추가하여 시작 버튼을 클릭하십시오.',
|
||||
'Filename' : '파일 이름',
|
||||
'Status' : '상태',
|
||||
'Size' : '크기',
|
||||
'Add Files' : '파일 추가',
|
||||
'Stop Upload': '업로드 중지',
|
||||
'Start Upload': '업로드',
|
||||
'Add files': '파일 추가',
|
||||
'Stop current upload': '현재 업로드를 정지',
|
||||
'Start uploading queue': '업로드',
|
||||
'Stop upload': '업로드 중지',
|
||||
'Start upload': '업로드',
|
||||
'Uploaded % d / % d files': '업로드 중 % d / % d 파일',
|
||||
'N / A': 'N / A',
|
||||
'Drag files here': '여기에 파일을 드래그',
|
||||
'File extension error': '파일 확장자 오류',
|
||||
'File size error': '파일 크기 오류',
|
||||
'File count error': '이미지 : 오류',
|
||||
'Init error': '초기화 오류',
|
||||
'HTTP Error': 'HTTP 오류',
|
||||
'Security error': '보안 오류',
|
||||
'Generic error': '오류',
|
||||
'IO error': 'IO 오류',
|
||||
'File : % s': '파일 % s',
|
||||
'Close': '닫기',
|
||||
'% d files queued': '% d 파일이 추가되었습니다',
|
||||
'Using runtime :': '모드',
|
||||
'File : % f, size : % s, max file size : % m': '파일 : % f, 크기 : % s, 최대 파일 크기 : % m',
|
||||
'Upload element accepts only % d file (s) at a time. Extra files were stripped': '업로드 가능한 파일의 수는 % d입니다. 불필요한 파일은 삭제되었습니다 ',
|
||||
'Upload URL might be wrong or doesn \'t exist ':'업로드할 URL이 존재하지 않습니다 ',
|
||||
'Error : File too large :': '오류 : 크기가 너무 큽니다',
|
||||
'Error : Invalid file extension :': '오류 : 확장자가 허용되지 않습니다 :'
|
||||
});
|
33
sites/all/libraries/plupload/js/i18n/lv.js
Normal file
@@ -0,0 +1,33 @@
|
||||
// .lv file like language pack
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Izvēlieties failus',
|
||||
'Add files to the upload queue and click the start button.' : 'Pieveinojiet failus rindai un klikšķiniet uz "Sākt augšupielādi" pogas.',
|
||||
'Filename' : 'Faila nosaukums',
|
||||
'Status' : 'Statuss',
|
||||
'Size' : 'Izmērs',
|
||||
'Add files' : 'Pievienot failus',
|
||||
'Stop current upload' : 'Apturēt pašreizējo augšupielādi',
|
||||
'Start uploading queue' : 'Sākt augšupielādi',
|
||||
'Drag files here.' : 'Ievelciet failus šeit',
|
||||
'Start upload' : 'Sākt augšupielādi',
|
||||
'Uploaded %d/%d files': 'Augšupielādēti %d/%d faili',
|
||||
'Stop upload': 'Pārtraukt augšupielādi',
|
||||
'Start upload': 'Sākt augšupielādi',
|
||||
'%d files queued': '%d faili pievienoti rindai',
|
||||
'File: %s': 'Fails: %s',
|
||||
'Close': 'Aizvērt',
|
||||
'Using runtime: ': 'Lieto saskarni: ',
|
||||
'File: %f, size: %s, max file size: %m': 'Fails: %f, izmērs: %s, maksimālais faila izmērs: %m',
|
||||
'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'Iespējams ielādēt tikai %d failus vienā reizē. Atlikušie faili netika pievienoti',
|
||||
'Upload URL might be wrong or doesn\'t exist': 'Augšupielādes URL varētu būt nepareizs vai neeksistē',
|
||||
'Error: File too large: ': 'Kļūda: Fails pārāk liels: ',
|
||||
'Error: Invalid file extension: ': 'Kļūda: Nekorekts faila paplašinājums:',
|
||||
'File extension error.': 'Faila paplašinājuma kļūda.',
|
||||
'File size error.': 'Faila izmēra kļūda.',
|
||||
'File count error.': 'Failu skaita kļūda',
|
||||
'Init error.': 'Inicializācijas kļūda.',
|
||||
'HTTP Error.': 'HTTP kļūda.',
|
||||
'Security error.': 'Drošības kļūda.',
|
||||
'Generic error.': 'Vispārēja rakstura kļūda.',
|
||||
'IO error.': 'Ievades/Izvades kļūda.'
|
||||
});
|
21
sites/all/libraries/plupload/js/i18n/nl.js
Normal file
@@ -0,0 +1,21 @@
|
||||
// Dutch
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Selecteer bestand(en):',
|
||||
'Add files to the upload queue and click the start button.' : 'Voeg bestanden toe aan de wachtrij en druk op \'Start\'.',
|
||||
'Filename' : 'Bestandsnaam',
|
||||
'Status' : 'Status',
|
||||
'Size' : 'Grootte',
|
||||
'Add files' : 'Voeg bestanden toe',
|
||||
'Stop current upload' : 'Stop upload',
|
||||
'Start uploading queue' : 'Start upload',
|
||||
'Uploaded %d/%d files': '%d/%d bestanden ge-upload',
|
||||
'N/A' : 'Niet beschikbaar',
|
||||
'Drag files here.' : 'Sleep bestanden hierheen.',
|
||||
'File extension error.': 'Ongeldig bestandstype.',
|
||||
'File size error.': 'Bestandsgrootte Error.',
|
||||
'Init error.': 'Initialisatie error.',
|
||||
'HTTP Error.': 'HTTP Error.',
|
||||
'Security error.': 'Beveiliging error.',
|
||||
'Generic error.': 'Onbekende error.',
|
||||
'IO error.': 'IO error.'
|
||||
});
|
24
sites/all/libraries/plupload/js/i18n/pl.js
Normal file
@@ -0,0 +1,24 @@
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Wybierz pliki:',
|
||||
'Add files to the upload queue and click the start button.' : 'Dodaj pliki i kliknij \'Rozpocznij transfer\'.',
|
||||
'Filename' : 'Nazwa pliku',
|
||||
'Status' : 'Status',
|
||||
'Size' : 'Rozmiar',
|
||||
'Add files' : 'Dodaj pliki',
|
||||
'Stop current upload' : 'Przerwij aktualny transfer',
|
||||
'Start uploading queue' : 'Rozpocznij wysyłanie',
|
||||
'Uploaded %d/%d files': 'Wysłano %d/%d plików',
|
||||
'N/A' : 'Nie dostępne',
|
||||
'Drag files here.' : 'Przeciągnij tu pliki',
|
||||
'File extension error.': 'Nieobsługiwany format pliku.',
|
||||
'File size error.': 'Plik jest zbyt duży.',
|
||||
'Init error.': 'Błąd inicjalizacji.',
|
||||
'HTTP Error.': 'Błąd HTTP.',
|
||||
'Security error.': 'Błąd bezpieczeństwa.',
|
||||
'Generic error.': 'Błąd ogólny.',
|
||||
'IO error.': 'Błąd IO.',
|
||||
'Stop Upload': 'Przerwij transfer.',
|
||||
'Add Files': 'Dodaj pliki',
|
||||
'Start upload': 'Rozpocznij transfer.',
|
||||
'%d files queued': '%d plików w kolejce.'
|
||||
});
|
35
sites/all/libraries/plupload/js/i18n/pt-br.js
Normal file
@@ -0,0 +1,35 @@
|
||||
// Brazilian Portuguese
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Escolha os arquivos',
|
||||
'Add files to the upload queue and click the start button.' : 'Adicione os arquivos abaixo e clique no botão "Iniciar o envio".',
|
||||
'Filename' : 'Nome do arquivo',
|
||||
'Status' : 'Status',
|
||||
'Size' : 'Tamanho',
|
||||
'Add Files' : 'Adicionar arquivo(s)',
|
||||
'Stop Upload' : 'Parar o envio',
|
||||
'Start Upload' : 'Iniciar o envio',
|
||||
'Add files' : 'Adicionar arquivo(s)',
|
||||
'Add files.' : 'Adicionar arquivo(s)',
|
||||
'Stop upload' : 'Parar o envio',
|
||||
'Start upload' : 'Iniciar o envio',
|
||||
'Uploaded %d/%d files': 'Enviado(s) %d/%d arquivo(s)',
|
||||
'N/A' : 'N/D',
|
||||
'Drag files here.' : 'Arraste os arquivos pra cá',
|
||||
'File extension error.': 'Tipo de arquivo não permitido.',
|
||||
'File size error.': 'Tamanho de arquivo não permitido.',
|
||||
'File count error.': 'Erro na contagem dos arquivos',
|
||||
'Init error.': 'Erro inicializando.',
|
||||
'HTTP Error.': 'Erro HTTP.',
|
||||
'Security error.': 'Erro de segurança.',
|
||||
'Generic error.': 'Erro genérico.',
|
||||
'IO error.': 'Erro de E/S.',
|
||||
'File: %s': 'Arquivo: %s',
|
||||
'Close': 'Fechar',
|
||||
'%d files queued': '%d arquivo(s)',
|
||||
'Using runtime: ': 'Usando: ',
|
||||
'File: %f, size: %s, max file size: %m': 'Arquivo: %f, tamanho: %s, máximo: %m',
|
||||
'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'Só são aceitos %d arquivos por vez. O que passou disso foi descartado.',
|
||||
'Upload URL might be wrong or doesn\'t exist': 'URL de envio está errada ou não existe',
|
||||
'Error: File too large: ': 'Erro: Arquivo muito grande: ',
|
||||
'Error: Invalid file extension: ': 'Erro: Tipo de arquivo não permitido: '
|
||||
});
|
24
sites/all/libraries/plupload/js/i18n/ro.js
Normal file
@@ -0,0 +1,24 @@
|
||||
// Romanian
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Selectare fişiere',
|
||||
'Add files to the upload queue and click the start button.' : 'Adaugă fişiere în lista apoi apasă butonul \'Începe încărcare\'.',
|
||||
'Filename' : 'Nume fişier',
|
||||
'Status' : 'Stare',
|
||||
'Size' : 'Mărime',
|
||||
'Add files' : 'Adăugare fişiere',
|
||||
'Stop current upload' : 'Întrerupe încărcarea curentă',
|
||||
'Start uploading queue' : 'Începe incărcarea',
|
||||
'Uploaded %d/%d files': 'Fişiere încărcate %d/%d',
|
||||
'N/A' : 'N/A',
|
||||
'Drag files here.' : 'Trage aici fişierele',
|
||||
'File extension error.': 'Extensie fişier eronată',
|
||||
'File size error.': 'Eroare dimensiune fişier',
|
||||
'Init error.': 'Eroare iniţializare',
|
||||
'HTTP Error.': 'Eroare HTTP',
|
||||
'Security error.': 'Eroare securitate',
|
||||
'Generic error.': 'Eroare generică',
|
||||
'IO error.': 'Eroare Intrare/Ieşire',
|
||||
'Stop Upload': 'Oprire încărcare',
|
||||
'Start upload': 'Începe încărcare',
|
||||
'%d files queued': '%d fişiere listate'
|
||||
});
|
21
sites/all/libraries/plupload/js/i18n/ru.js
Normal file
@@ -0,0 +1,21 @@
|
||||
// Russian
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Выберите файлы',
|
||||
'Add files to the upload queue and click the start button.' : 'Добавьте файлы в очередь и нажмите кнопку "Загрузить файлы".',
|
||||
'Filename' : 'Имя файла',
|
||||
'Status' : 'Статус',
|
||||
'Size' : 'Размер',
|
||||
'Add files' : 'Добавить файлы',
|
||||
'Stop current upload' : 'Остановить загрузку',
|
||||
'Start uploading queue' : 'Загрузить файлы',
|
||||
'Uploaded %d/%d files': 'Загружено %d из %d файлов',
|
||||
'N/A' : 'N/D',
|
||||
'Drag files here.' : 'Перетащите файлы сюда.',
|
||||
'File extension error.': 'Неправильное расширение файла.',
|
||||
'File size error.': 'Неправильный размер файла.',
|
||||
'Init error.': 'Ошибка инициализации.',
|
||||
'HTTP Error.': 'Ошибка HTTP.',
|
||||
'Security error.': 'Ошибка безопасности.',
|
||||
'Generic error.': 'Общая ошибка.',
|
||||
'IO error.': 'Ошибка ввода-вывода.'
|
||||
});
|
14
sites/all/libraries/plupload/js/i18n/sr.js
Normal file
@@ -0,0 +1,14 @@
|
||||
// Serbian
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Izaberite fajlove',
|
||||
'Add files to the upload queue and click the start button.' : 'Dodajte fajlove u listu i kliknite na dugme Start.',
|
||||
'Filename' : 'Naziv fajla',
|
||||
'Status' : 'Status',
|
||||
'Size' : 'Veličina',
|
||||
'Add Files' : 'Dodaj fajlove',
|
||||
'Stop current upload' : 'Zaustavi upload',
|
||||
'Start uploading queue' : 'Počni upload',
|
||||
'Drag files here.' : 'Prevucite fajlove ovde.',
|
||||
'Start Upload': 'Počni upload',
|
||||
'Uploaded %d/%d files': 'Snimljeno %d/%d fajlova'
|
||||
});
|
12
sites/all/libraries/plupload/js/i18n/sv.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// .po file like language pack
|
||||
plupload.addI18n({
|
||||
'Select files' : 'Välj filer',
|
||||
'Add files to the upload queue and click the start button.' : 'Lägg till filer till kön och tryck på start.',
|
||||
'Filename' : 'Filnamn',
|
||||
'Status' : 'Status',
|
||||
'Size' : 'Storlek',
|
||||
'Add files' : 'Lägg till filer',
|
||||
'Stop current upload' : 'Stoppa uppladdningen',
|
||||
'Start uploading queue' : 'Starta uppladdningen',
|
||||
'Drag files here.' : 'Dra filer hit'
|
||||
});
|
@@ -0,0 +1,177 @@
|
||||
/*
|
||||
Plupload
|
||||
------------------------------------------------------------------- */
|
||||
|
||||
.plupload_button {
|
||||
display: -moz-inline-box; /* FF < 3*/
|
||||
display: inline-block;
|
||||
font: normal 12px sans-serif;
|
||||
text-decoration: none;
|
||||
color: #42454a;
|
||||
border: 1px solid #bababa;
|
||||
padding: 2px 8px 3px 20px;
|
||||
margin-right: 4px;
|
||||
background: #f3f3f3 url('../img/buttons.png') no-repeat 0 center;
|
||||
outline: 0;
|
||||
|
||||
/* Optional rounded corners for browsers that support it */
|
||||
-moz-border-radius: 3px;
|
||||
-khtml-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.plupload_button:hover {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.plupload_disabled, a.plupload_disabled:hover {
|
||||
color: #737373;
|
||||
border-color: #c5c5c5;
|
||||
background: #ededed url('../img/buttons-disabled.png') no-repeat 0 center;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.plupload_add {
|
||||
background-position: -181px center;
|
||||
}
|
||||
|
||||
.plupload_wrapper {
|
||||
font: normal 11px Verdana,sans-serif;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.plupload_container {
|
||||
padding: 8px;
|
||||
background: url('../img/transp50.png');
|
||||
/*-moz-border-radius: 5px;*/
|
||||
}
|
||||
|
||||
.plupload_container input {
|
||||
border: 1px solid #DDD;
|
||||
font: normal 11px Verdana,sans-serif;
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
.plupload_header {background: #2A2C2E url('../img/backgrounds.gif') repeat-x;}
|
||||
.plupload_header_content {
|
||||
background: url('../img/backgrounds.gif') no-repeat 0 -317px;
|
||||
min-height: 56px;
|
||||
padding-left: 60px;
|
||||
color: #FFF;
|
||||
}
|
||||
.plupload_header_title {
|
||||
font: normal 18px sans-serif;
|
||||
padding: 6px 0 3px;
|
||||
}
|
||||
.plupload_header_text {
|
||||
font: normal 12px sans-serif;
|
||||
}
|
||||
|
||||
.plupload_filelist {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.plupload_scroll .plupload_filelist {
|
||||
height: 185px;
|
||||
background: #F5F5F5;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.plupload_filelist li {
|
||||
padding: 10px 8px;
|
||||
background: #F5F5F5 url('../img/backgrounds.gif') repeat-x 0 -156px;
|
||||
border-bottom: 1px solid #DDD;
|
||||
}
|
||||
|
||||
.plupload_filelist_header, .plupload_filelist_footer {
|
||||
background: #DFDFDF;
|
||||
padding: 8px 8px;
|
||||
color: #42454A;
|
||||
}
|
||||
.plupload_filelist_header {
|
||||
border-top: 1px solid #EEE;
|
||||
border-bottom: 1px solid #CDCDCD;
|
||||
}
|
||||
|
||||
.plupload_filelist_footer {border-top: 1px solid #FFF; height: 22px; line-height: 20px; vertical-align: middle;}
|
||||
.plupload_file_name {float: left; overflow: hidden}
|
||||
.plupload_file_status {color: #777;}
|
||||
.plupload_file_status span {color: #42454A;}
|
||||
.plupload_file_size, .plupload_file_status, .plupload_progress {
|
||||
float: right;
|
||||
width: 80px;
|
||||
}
|
||||
.plupload_file_size, .plupload_file_status, .plupload_file_action {text-align: right;}
|
||||
|
||||
.plupload_filelist .plupload_file_name {width: 205px}
|
||||
|
||||
.plupload_file_action {
|
||||
float: right;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.plupload_file_action * {
|
||||
display: none;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
li.plupload_uploading {background: #ECF3DC url('../img/backgrounds.gif') repeat-x 0 -238px;}
|
||||
li.plupload_done {color:#AAA}
|
||||
|
||||
li.plupload_delete a {
|
||||
background: url('../img/delete.gif');
|
||||
}
|
||||
|
||||
li.plupload_failed a {
|
||||
background: url('../img/error.gif');
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
li.plupload_done a {
|
||||
background: url('../img/done.gif');
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.plupload_progress, .plupload_upload_status {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.plupload_progress_container {
|
||||
margin-top: 3px;
|
||||
border: 1px solid #CCC;
|
||||
background: #FFF;
|
||||
padding: 1px;
|
||||
}
|
||||
.plupload_progress_bar {
|
||||
width: 0px;
|
||||
height: 7px;
|
||||
background: #CDEB8B;
|
||||
}
|
||||
|
||||
.plupload_scroll .plupload_filelist_header .plupload_file_action, .plupload_scroll .plupload_filelist_footer .plupload_file_action {
|
||||
margin-right: 17px;
|
||||
}
|
||||
|
||||
/* Floats */
|
||||
|
||||
.plupload_clear,.plupload_clearer {clear: both;}
|
||||
.plupload_clearer, .plupload_progress_bar {
|
||||
display: block;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
li.plupload_droptext {
|
||||
background: transparent;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
line-height: 165px;
|
||||
}
|
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 994 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 399 B |
147
sites/all/libraries/plupload/js/jquery.ui.plupload/css/jquery.ui.plupload.css
vendored
Normal file
@@ -0,0 +1,147 @@
|
||||
/*
|
||||
Plupload
|
||||
------------------------------------------------------------------- */
|
||||
|
||||
.plupload_button {cursor: pointer;}
|
||||
|
||||
.plupload_wrapper {
|
||||
font: normal 11px Verdana,sans-serif;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.plupload .plupload_container input {width: 98%;}
|
||||
.plupload .plupload_filelist_footer {border-width: 1px 0 0 0}
|
||||
.plupload .plupload_filelist_header {border-width: 0 0 1px 0}
|
||||
div.plupload .plupload_file {border-width: 0 0 1px 0}
|
||||
div.plupload div.plupload_header {border-width: 0 0 1px 0; position: relative;}
|
||||
|
||||
.plupload_file .ui-icon {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.plupload_header_content {
|
||||
background-image: url('../img/plupload.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: 8px center;
|
||||
min-height: 56px;
|
||||
padding-left: 60px;
|
||||
position:relative;
|
||||
}
|
||||
.plupload_header_content_bw {background-image: url('../img/plupload-bw.png');}
|
||||
.plupload_header_title {
|
||||
font: normal 18px sans-serif;
|
||||
padding: 6px 0 3px;
|
||||
}
|
||||
.plupload_header_text {font: normal 12px sans-serif;}
|
||||
|
||||
.plupload_filelist,
|
||||
.plupload_filelist_content {
|
||||
border-collapse: collapse;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
-moz-user-select:none;
|
||||
-webkit-user-select:none;
|
||||
user-select:none;
|
||||
}
|
||||
|
||||
.plupload_cell {padding: 8px 6px;}
|
||||
|
||||
.plupload_file {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.plupload .ui-sortable-helper,
|
||||
.plupload .ui-sortable .plupload_file {
|
||||
cursor:move;
|
||||
}
|
||||
|
||||
.plupload_scroll {
|
||||
max-height: 180px;
|
||||
min-height: 168px;
|
||||
_height: 168px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.plupload_file_size, .plupload_file_status {text-align: right;}
|
||||
.plupload_file_size, .plupload_file_status {width: 52px;}
|
||||
.plupload_file_action {width: 16px;}
|
||||
.plupload_file_name {
|
||||
overflow: hidden;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.plupload_file_rename {
|
||||
width:95%;
|
||||
}
|
||||
|
||||
.plupload_progress {width: 60px;}
|
||||
.plupload_progress_container {padding: 1px;}
|
||||
|
||||
|
||||
/* Floats */
|
||||
|
||||
.plupload_right {float: right;}
|
||||
.plupload_left {float: left;}
|
||||
.plupload_clear,.plupload_clearer {clear: both;}
|
||||
.plupload_clearer, .plupload_progress_bar {
|
||||
display: block;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
.plupload_clearer {height: 0;}
|
||||
|
||||
/* Misc */
|
||||
.plupload_hidden {display: none;}
|
||||
.plupload_droptext {
|
||||
background: transparent;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
line-height: 165px;
|
||||
}
|
||||
|
||||
.plupload_buttons, .plupload_upload_status {float: left}
|
||||
|
||||
.plupload_message {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.plupload_message p {
|
||||
padding:0.7em;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.plupload_message strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
plupload_message i {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.plupload_message p span.ui-icon {
|
||||
float: left;
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
.plupload_header_content .ui-state-error,
|
||||
.plupload_header_content .ui-state-highlight {
|
||||
border:none;
|
||||
}
|
||||
|
||||
.plupload_message_close {
|
||||
position:absolute;
|
||||
top:5px;
|
||||
right:5px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.plupload .ui-sortable-placeholder {
|
||||
height:35px;
|
||||
}
|
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 3.6 KiB |
1
sites/all/libraries/plupload/js/jquery.ui.plupload/jquery.ui.plupload.js
vendored
Normal file
1
sites/all/libraries/plupload/js/plupload.browserplus.js
Normal file
@@ -0,0 +1 @@
|
||||
(function(a){a.runtimes.BrowserPlus=a.addRuntime("browserplus",{getFeatures:function(){return{dragdrop:true,jpgresize:true,pngresize:true,chunks:true,progress:true,multipart:true,multi_selection:true}},init:function(g,i){var e=window.BrowserPlus,h={},d=g.settings,c=d.resize;function f(n){var m,l,j=[],k,o;for(l=0;l<n.length;l++){k=n[l];o=a.guid();h[o]=k;j.push(new a.File(o,k.name,k.size))}if(l){g.trigger("FilesAdded",j)}}function b(){var j=false;g.bind("PostInit",function(){var n,l=d.drop_element,p=g.id+"_droptarget",k=document.getElementById(l),m;function q(s,r){e.DragAndDrop.AddDropTarget({id:s},function(t){e.DragAndDrop.AttachCallbacks({id:s,hover:function(u){if(!u&&r){r()}},drop:function(u){if(r){r()}f(u)}},function(){})})}function o(){document.getElementById(p).style.top="-1000px"}if(k){if(document.attachEvent&&(/MSIE/gi).test(navigator.userAgent)){n=document.createElement("div");n.setAttribute("id",p);a.extend(n.style,{position:"absolute",top:"-1000px",background:"red",filter:"alpha(opacity=0)",opacity:0});document.body.appendChild(n);a.addEvent(k,"dragenter",function(s){var r,t;r=document.getElementById(l);t=a.getPos(r);a.extend(document.getElementById(p).style,{top:t.y+"px",left:t.x+"px",width:r.offsetWidth+"px",height:r.offsetHeight+"px"})});q(p,o)}else{q(l)}}a.addEvent(document.getElementById(d.browse_button),"click",function(x){var r=[],t,s,w=d.filters,v,u;x.preventDefault();if(j){return}no_type_restriction:for(t=0;t<w.length;t++){v=w[t].extensions.split(",");for(s=0;s<v.length;s++){if(v[s]==="*"){r=[];break no_type_restriction}u=a.mimeTypes[v[s]];if(u&&a.inArray(u,r)===-1){r.push(a.mimeTypes[v[s]])}}}e.FileBrowse.OpenBrowseDialog({mimeTypes:r},function(y){if(y.success){f(y.value)}})});k=n=null});g.bind("CancelUpload",function(){e.Uploader.cancel({},function(){})});g.bind("DisableBrowse",function(k,l){j=l});g.bind("UploadFile",function(n,k){var m=h[k.id],s={},l=n.settings.chunk_size,o,p=[];function r(t,v){var u;if(k.status==a.FAILED){return}s.name=k.target_name||k.name;if(l){s.chunk=""+t;s.chunks=""+v}u=p.shift();e.Uploader.upload({url:n.settings.url,files:{file:u},cookies:document.cookies,postvars:a.extend(s,n.settings.multipart_params),progressCallback:function(y){var x,w=0;o[t]=parseInt(y.filePercent*u.size/100,10);for(x=0;x<o.length;x++){w+=o[x]}k.loaded=w;n.trigger("UploadProgress",k)}},function(x){var w,y;if(x.success){w=x.value.statusCode;if(l){n.trigger("ChunkUploaded",k,{chunk:t,chunks:v,response:x.value.body,status:w})}if(p.length>0){r(++t,v)}else{k.status=a.DONE;n.trigger("FileUploaded",k,{response:x.value.body,status:w});if(w>=400){n.trigger("Error",{code:a.HTTP_ERROR,message:a.translate("HTTP Error."),file:k,status:w})}}}else{n.trigger("Error",{code:a.GENERIC_ERROR,message:a.translate("Generic Error."),file:k,details:x.error})}})}function q(t){k.size=t.size;if(l){e.FileAccess.chunk({file:t,chunkSize:l},function(w){if(w.success){var x=w.value,u=x.length;o=Array(u);for(var v=0;v<u;v++){o[v]=0;p.push(x[v])}r(0,u)}})}else{o=Array(1);p.push(t);r(0,1)}}if(c&&/\.(png|jpg|jpeg)$/i.test(k.name)){BrowserPlus.ImageAlter.transform({file:m,quality:c.quality||90,actions:[{scale:{maxwidth:c.width,maxheight:c.height}}]},function(t){if(t.success){q(t.value.file)}})}else{q(m)}});i({success:true})}if(e){e.init(function(k){var j=[{service:"Uploader",version:"3"},{service:"DragAndDrop",version:"1"},{service:"FileBrowse",version:"1"},{service:"FileAccess",version:"2"}];if(c){j.push({service:"ImageAlter",version:"4"})}if(k.success){e.require({services:j},function(l){if(l.success){b()}else{i()}})}else{i()}})}else{i()}}})})(plupload);
|
1
sites/all/libraries/plupload/js/plupload.flash.js
Normal file
BIN
sites/all/libraries/plupload/js/plupload.flash.swf
Normal file
2
sites/all/libraries/plupload/js/plupload.full.js
Normal file
1
sites/all/libraries/plupload/js/plupload.gears.js
Normal file
@@ -0,0 +1 @@
|
||||
(function(){if(window.google&&google.gears){return}var a=null;if(typeof GearsFactory!="undefined"){a=new GearsFactory()}else{try{a=new ActiveXObject("Gears.Factory");if(a.getBuildInfo().indexOf("ie_mobile")!=-1){a.privateSetGlobalObject(this)}}catch(b){if((typeof navigator.mimeTypes!="undefined")&&navigator.mimeTypes["application/x-googlegears"]){a=document.createElement("object");a.style.display="none";a.width=0;a.height=0;a.type="application/x-googlegears";document.documentElement.appendChild(a)}}}if(!a){return}if(!window.google){window.google={}}if(!google.gears){google.gears={factory:a}}})();(function(e,b,c,d){var f={};function a(h,j,l){var g,i,k,n;i=google.gears.factory.create("beta.canvas");try{i.decode(h);if(!j.width){j.width=i.width}if(!j.height){j.height=i.height}n=Math.min(width/i.width,height/i.height);if(n<1||(n===1&&l==="image/jpeg")){i.resize(Math.round(i.width*n),Math.round(i.height*n));if(j.quality){return i.encode(l,{quality:j.quality/100})}return i.encode(l)}}catch(m){}return h}c.runtimes.Gears=c.addRuntime("gears",{getFeatures:function(){return{dragdrop:true,jpgresize:true,pngresize:true,chunks:true,progress:true,multipart:true,multi_selection:true}},init:function(k,m){var l,h,g=false;if(!e.google||!google.gears){return m({success:false})}try{l=google.gears.factory.create("beta.desktop")}catch(j){return m({success:false})}function i(p){var o,n,q=[],r;for(n=0;n<p.length;n++){o=p[n];r=c.guid();f[r]=o.blob;q.push(new c.File(r,o.name,o.blob.length))}k.trigger("FilesAdded",q)}k.bind("PostInit",function(){var o=k.settings,n=b.getElementById(o.drop_element);if(n){c.addEvent(n,"dragover",function(p){l.setDropEffect(p,"copy");p.preventDefault()},k.id);c.addEvent(n,"drop",function(q){var p=l.getDragData(q,"application/x-gears-files");if(p){i(p.files)}q.preventDefault()},k.id);n=0}c.addEvent(b.getElementById(o.browse_button),"click",function(t){var s=[],q,p,r;t.preventDefault();if(g){return}no_type_restriction:for(q=0;q<o.filters.length;q++){r=o.filters[q].extensions.split(",");for(p=0;p<r.length;p++){if(r[p]==="*"){s=[];break no_type_restriction}s.push("."+r[p])}}l.openFiles(i,{singleFile:!o.multi_selection,filter:s})},k.id)});k.bind("CancelUpload",function(){if(h.abort){h.abort()}});k.bind("UploadFile",function(t,q){var v=0,u,r,s=0,p=t.settings.resize,n;if(p&&/\.(png|jpg|jpeg)$/i.test(q.name)){f[q.id]=a(f[q.id],p,/\.png$/i.test(q.name)?"image/png":"image/jpeg")}q.size=f[q.id].length;r=t.settings.chunk_size;n=r>0;u=Math.ceil(q.size/r);if(!n){r=q.size;u=1}function o(){var B,x=t.settings.multipart,w=0,A={name:q.target_name||q.name},y=t.settings.url;function z(D){var C,I="----pluploadboundary"+c.guid(),F="--",H="\r\n",E,G;if(x){h.setRequestHeader("Content-Type","multipart/form-data; boundary="+I);C=google.gears.factory.create("beta.blobbuilder");c.each(c.extend(A,t.settings.multipart_params),function(K,J){C.append(F+I+H+'Content-Disposition: form-data; name="'+J+'"'+H+H);C.append(K+H)});G=c.mimeTypes[q.name.replace(/^.+\.([^.]+)/,"$1").toLowerCase()]||"application/octet-stream";C.append(F+I+H+'Content-Disposition: form-data; name="'+t.settings.file_data_name+'"; filename="'+q.name+'"'+H+"Content-Type: "+G+H+H);C.append(D);C.append(H+F+I+F+H);E=C.getAsBlob();w=E.length-D.length;D=E}h.send(D)}if(q.status==c.DONE||q.status==c.FAILED||t.state==c.STOPPED){return}if(n){A.chunk=v;A.chunks=u}B=Math.min(r,q.size-(v*r));if(!x){y=c.buildUrl(t.settings.url,A)}h=google.gears.factory.create("beta.httprequest");h.open("POST",y);if(!x){h.setRequestHeader("Content-Disposition",'attachment; filename="'+q.name+'"');h.setRequestHeader("Content-Type","application/octet-stream")}c.each(t.settings.headers,function(D,C){h.setRequestHeader(C,D)});h.upload.onprogress=function(C){q.loaded=s+C.loaded-w;t.trigger("UploadProgress",q)};h.onreadystatechange=function(){var C;if(h.readyState==4&&t.state!==c.STOPPED){if(h.status==200){C={chunk:v,chunks:u,response:h.responseText,status:h.status};t.trigger("ChunkUploaded",q,C);if(C.cancelled){q.status=c.FAILED;return}s+=B;if(++v>=u){q.status=c.DONE;t.trigger("FileUploaded",q,{response:h.responseText,status:h.status})}else{o()}}else{t.trigger("Error",{code:c.HTTP_ERROR,message:c.translate("HTTP Error."),file:q,chunk:v,chunks:u,status:h.status})}}};if(v<u){z(f[q.id].slice(v*r,B))}}o()});k.bind("DisableBrowse",function(n,o){g=o});k.bind("Destroy",function(n){var o,p,q={browseButton:n.settings.browse_button,dropElm:n.settings.drop_element};for(o in q){p=b.getElementById(q[o]);if(p){c.removeAllEvents(p,n.id)}}});m({success:true})}})})(window,document,plupload);
|
1
sites/all/libraries/plupload/js/plupload.html4.js
Normal file
@@ -0,0 +1 @@
|
||||
(function(d,a,b,c){function e(f){return a.getElementById(f)}b.runtimes.Html4=b.addRuntime("html4",{getFeatures:function(){return{multipart:true,triggerDialog:(b.ua.gecko&&d.FormData||b.ua.webkit)}},init:function(f,g){f.bind("Init",function(p){var j=a.body,n,h="javascript",k,x,q,z=[],r=/MSIE/.test(navigator.userAgent),t=[],m=p.settings.filters,o,l,s,w;no_type_restriction:for(o=0;o<m.length;o++){l=m[o].extensions.split(/,/);for(w=0;w<l.length;w++){if(l[w]==="*"){t=[];break no_type_restriction}s=b.mimeTypes[l[w]];if(s&&b.inArray(s,t)===-1){t.push(s)}}}t=t.join(",");function v(){var B,y,i,A;q=b.guid();z.push(q);B=a.createElement("form");B.setAttribute("id","form_"+q);B.setAttribute("method","post");B.setAttribute("enctype","multipart/form-data");B.setAttribute("encoding","multipart/form-data");B.setAttribute("target",p.id+"_iframe");B.style.position="absolute";y=a.createElement("input");y.setAttribute("id","input_"+q);y.setAttribute("type","file");y.setAttribute("accept",t);y.setAttribute("size",1);A=e(p.settings.browse_button);if(p.features.triggerDialog&&A){b.addEvent(e(p.settings.browse_button),"click",function(C){if(!y.disabled){y.click()}C.preventDefault()},p.id)}b.extend(y.style,{width:"100%",height:"100%",opacity:0,fontSize:"99px",cursor:"pointer"});b.extend(B.style,{overflow:"hidden"});i=p.settings.shim_bgcolor;if(i){B.style.background=i}if(r){b.extend(y.style,{filter:"alpha(opacity=0)"})}b.addEvent(y,"change",function(F){var D=F.target,C,E=[],G;if(D.value){e("form_"+q).style.top=-1048575+"px";C=D.value.replace(/\\/g,"/");C=C.substring(C.length,C.lastIndexOf("/")+1);E.push(new b.File(q,C));if(!p.features.triggerDialog){b.removeAllEvents(B,p.id)}else{b.removeEvent(A,"click",p.id)}b.removeEvent(y,"change",p.id);v();if(E.length){f.trigger("FilesAdded",E)}}},p.id);B.appendChild(y);j.appendChild(B);p.refresh()}function u(){var i=a.createElement("div");i.innerHTML='<iframe id="'+p.id+'_iframe" name="'+p.id+'_iframe" src="'+h+':""" style="display:none"></iframe>';n=i.firstChild;j.appendChild(n);b.addEvent(n,"load",function(C){var D=C.target,B,y;if(!k){return}try{B=D.contentWindow.document||D.contentDocument||d.frames[D.id].document}catch(A){p.trigger("Error",{code:b.SECURITY_ERROR,message:b.translate("Security error."),file:k});return}y=B.body.innerHTML;if(y){k.status=b.DONE;k.loaded=1025;k.percent=100;p.trigger("UploadProgress",k);p.trigger("FileUploaded",k,{response:y})}},p.id)}if(p.settings.container){j=e(p.settings.container);if(b.getStyle(j,"position")==="static"){j.style.position="relative"}}p.bind("UploadFile",function(i,A){var B,y;if(A.status==b.DONE||A.status==b.FAILED||i.state==b.STOPPED){return}B=e("form_"+A.id);y=e("input_"+A.id);y.setAttribute("name",i.settings.file_data_name);B.setAttribute("action",i.settings.url);b.each(b.extend({name:A.target_name||A.name},i.settings.multipart_params),function(E,C){var D=a.createElement("input");b.extend(D,{type:"hidden",name:C,value:E});B.insertBefore(D,B.firstChild)});k=A;e("form_"+q).style.top=-1048575+"px";B.submit()});p.bind("FileUploaded",function(i){i.refresh()});p.bind("StateChanged",function(i){if(i.state==b.STARTED){u()}else{if(i.state==b.STOPPED){d.setTimeout(function(){b.removeEvent(n,"load",i.id);if(n.parentNode){n.parentNode.removeChild(n)}},0)}}b.each(i.files,function(A,y){if(A.status===b.DONE||A.status===b.FAILED){var B=e("form_"+A.id);if(B){B.parentNode.removeChild(B)}}})});p.bind("Refresh",function(y){var F,A,B,C,i,G,H,E,D;F=e(y.settings.browse_button);if(F){i=b.getPos(F,e(y.settings.container));G=b.getSize(F);H=e("form_"+q);E=e("input_"+q);b.extend(H.style,{top:i.y+"px",left:i.x+"px",width:G.w+"px",height:G.h+"px"});if(y.features.triggerDialog){if(b.getStyle(F,"position")==="static"){b.extend(F.style,{position:"relative"})}D=parseInt(F.style.zIndex,10);if(isNaN(D)){D=0}b.extend(F.style,{zIndex:D});b.extend(H.style,{zIndex:D-1})}B=y.settings.browse_button_hover;C=y.settings.browse_button_active;A=y.features.triggerDialog?F:H;if(B){b.addEvent(A,"mouseover",function(){b.addClass(F,B)},y.id);b.addEvent(A,"mouseout",function(){b.removeClass(F,B)},y.id)}if(C){b.addEvent(A,"mousedown",function(){b.addClass(F,C)},y.id);b.addEvent(a.body,"mouseup",function(){b.removeClass(F,C)},y.id)}}});f.bind("FilesRemoved",function(y,B){var A,C;for(A=0;A<B.length;A++){C=e("form_"+B[A].id);if(C){C.parentNode.removeChild(C)}}});f.bind("DisableBrowse",function(i,A){var y=a.getElementById("input_"+q);if(y){y.disabled=A}});f.bind("Destroy",function(i){var y,A,B,C={inputContainer:"form_"+q,inputFile:"input_"+q,browseButton:i.settings.browse_button};for(y in C){A=e(C[y]);if(A){b.removeAllEvents(A,i.id)}}b.removeAllEvents(a.body,i.id);b.each(z,function(E,D){B=e("form_"+E);if(B){j.removeChild(B)}})});v()});g({success:true})}})})(window,document,plupload);
|
1
sites/all/libraries/plupload/js/plupload.html5.js
Normal file
2
sites/all/libraries/plupload/js/plupload.js
Normal file
1
sites/all/libraries/plupload/js/plupload.silverlight.js
Normal file
BIN
sites/all/libraries/plupload/js/plupload.silverlight.xap
Normal file
339
sites/all/libraries/plupload/license.txt
Normal file
@@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
46
sites/all/libraries/plupload/readme.md
Normal file
@@ -0,0 +1,46 @@
|
||||
Plupload - Cross browser and platform uploader API
|
||||
===================================================
|
||||
|
||||
What is Plupload
|
||||
-----------------
|
||||
Plupload is a JavaScript API for dealing with file uploads it supports features like multiple file selection, file type filtering,
|
||||
request chunking, client side image scaling and it uses different runtimes to achieve this such as HTML 5, Silverlight, Flash, Gears and BrowserPlus.
|
||||
|
||||
What you need to build Plupload
|
||||
-------------------------------
|
||||
* Install the Java JDK or JRE packages you can find it at: [http://java.sun.com/javase/downloads/index.jsp](http://java.sun.com/javase/downloads/index.jsp)
|
||||
* Install Apache Ant you can find it at: [http://ant.apache.org/](http://ant.apache.org/)
|
||||
* Add Apache Ant to your systems path environment variable, this is not required but makes it easier to issue commands to Ant without having to type the full path for it.
|
||||
|
||||
How to build Plupload
|
||||
----------------------
|
||||
|
||||
In the root directory of Plupload where the build.xml file is you can run ant against different targets.
|
||||
|
||||
`ant`
|
||||
|
||||
Will combine, preprocess and minify the Plupload classes into the js directory. It will not build the Silverlight and Flash .xap and .swf files.
|
||||
|
||||
`ant moxiedoc`
|
||||
|
||||
Will generate API Documentation for the project using the Moxiedoc tool. The docs will be generated to the docs/api directory.
|
||||
|
||||
`ant release`
|
||||
|
||||
Will produce release packages. The release packages will be placed in the tmp directory.
|
||||
|
||||
How to build Flash runtime
|
||||
---------------------------
|
||||
The Flash runtime uses a .swf file that can be built using the Flex SDK. This SDK can be downloaded from Adobe. [http://www.adobe.com/products/flex/flexdownloads/](http://www.adobe.com/products/flex/flexdownloads/)
|
||||
|
||||
How to build Silverlight runtime
|
||||
---------------------------------
|
||||
The Silverlight runtime uses a .xap file that can be built using the Silverlight SDK or Visual Studio. [http://silverlight.net/getstarted/](http://silverlight.net/getstarted/)
|
||||
|
||||
Running the development version
|
||||
--------------------------------
|
||||
The unminified development version of the javascript files can be executed by opening the examples/queue_widget_dev.html file running on a Web Server.
|
||||
|
||||
Contributing to the Plupload project
|
||||
-------------------------------------
|
||||
You can read more about how to contribute to this project at [http://www.plupload.com/contributing](http://www.plupload.com/contributing)
|