add plupload and another update
53
Rakefile
|
@ -44,13 +44,17 @@ sources = {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
def process_zip_url(url, entries = {})
|
def open_zip_url(url, &block)
|
||||||
mkdir_p 'tmp'
|
mkdir_p 'tmp'
|
||||||
|
|
||||||
response = HTTParty.get(url)
|
response = HTTParty.get(url)
|
||||||
File.open(target = 'tmp/elastic.zip', 'wb') { |fh| fh.print response.body }
|
File.open(target = 'tmp/zip.zip', 'wb') { |fh| fh.print response.body }
|
||||||
|
|
||||||
Zip::ZipFile.foreach(target) do |entry|
|
Zip::ZipFile.foreach(target, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
def process_zip_url(url, entries = {})
|
||||||
|
open_zip_url(url) do |entry|
|
||||||
entries.each do |search_entry, target_filename|
|
entries.each do |search_entry, target_filename|
|
||||||
if entry.name[search_entry]
|
if entry.name[search_entry]
|
||||||
case File.extname(search_entry)
|
case File.extname(search_entry)
|
||||||
|
@ -68,7 +72,7 @@ def process_zip_url(url, entries = {})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Update verything'
|
desc 'Update everything'
|
||||||
task :update do
|
task :update do
|
||||||
rm_rf 'vendor/assets'
|
rm_rf 'vendor/assets'
|
||||||
|
|
||||||
|
@ -103,3 +107,44 @@ end
|
||||||
|
|
||||||
task :default => :update
|
task :default => :update
|
||||||
|
|
||||||
|
desc 'Update Plupload'
|
||||||
|
task :update_plupload do
|
||||||
|
js = 'vendor-special/javascripts/plupload'
|
||||||
|
css = 'vendor-special/stylesheets/plupload'
|
||||||
|
img = 'vendor-special/images/plupload'
|
||||||
|
|
||||||
|
[ js, css, img ].each do |dir|
|
||||||
|
rm_rf dir
|
||||||
|
mkdir_p dir
|
||||||
|
end
|
||||||
|
|
||||||
|
open_zip_url("https://github.com/downloads/moxiecode/plupload/plupload_1_5_4.zip") do |entry|
|
||||||
|
if entry.file?
|
||||||
|
target = case File.extname(entry.name)
|
||||||
|
when '.js'
|
||||||
|
js
|
||||||
|
when '.css'
|
||||||
|
css
|
||||||
|
else
|
||||||
|
img
|
||||||
|
end
|
||||||
|
|
||||||
|
[
|
||||||
|
[ 'plupload/js/jquery.plupload.queue/**/*', 'jquery.plupload.queue' ],
|
||||||
|
[ 'plupload/js/jquery.ui.plupload/**/*', 'jquery.ui.plupload' ],
|
||||||
|
[ 'plupload/js/*', '.' ],
|
||||||
|
].each do |glob, dir|
|
||||||
|
if File.fnmatch?(glob, entry.name)
|
||||||
|
target = File.expand_path(File.join(target, dir, File.basename(entry.name)))
|
||||||
|
|
||||||
|
FileUtils.mkdir_p File.dirname(target)
|
||||||
|
|
||||||
|
entry.extract(target)
|
||||||
|
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
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 |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 3.6 KiB |
|
@ -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ů'
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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'
|
||||||
|
});
|
|
@ -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 αρχεία'
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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: ': 'خطا پسوند فایل معتبر نمی باشد : '
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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'
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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'
|
||||||
|
});
|
|
@ -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: ': 'エラー: 拡張子が許可されていません: '
|
||||||
|
});
|
|
@ -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 :': '오류 : 확장자가 허용되지 않습니다 :'
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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.'
|
||||||
|
});
|
|
@ -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);
|
|
@ -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);
|
|
@ -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);
|
|
@ -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: '
|
||||||
|
});
|
|
@ -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'
|
||||||
|
});
|
|
@ -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.': 'Ошибка ввода-вывода.'
|
||||||
|
});
|
|
@ -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'
|
||||||
|
});
|
|
@ -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;
|
||||||
|
}
|
147
vendor-special/stylesheets/plupload/jquery.ui.plupload/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;
|
||||||
|
}
|
|
@ -86,6 +86,7 @@ jQuery.extend({
|
||||||
xml.responseText = io.contentDocument.document.body?io.contentDocument.document.body.innerHTML:null;
|
xml.responseText = io.contentDocument.document.body?io.contentDocument.document.body.innerHTML:null;
|
||||||
xml.responseXML = io.contentDocument.document.XMLDocument?io.contentDocument.document.XMLDocument:io.contentDocument.document;
|
xml.responseXML = io.contentDocument.document.XMLDocument?io.contentDocument.document.XMLDocument:io.contentDocument.document;
|
||||||
}
|
}
|
||||||
|
xml.responseText = xml.responseText.replace(/^<pre>(.*)<\/pre>$/, '$1');
|
||||||
}catch(e)
|
}catch(e)
|
||||||
{
|
{
|
||||||
jQuery.handleError(s, xml, null, e);
|
jQuery.handleError(s, xml, null, e);
|
||||||
|
|