From bd94aea49bf914e446aabb0e8a0b82edd4bff69c Mon Sep 17 00:00:00 2001
From: TheCoreDev
Date: Tue, 3 Aug 2021 08:43:40 +0200
Subject: [PATCH] Modif du nom de la BDD
---
local/config/database.yml | 2 +-
local/modules/Colissimo/Config/module.xml | 36 +-
local/modules/Colissimo/THELIA_INET.FMT | 46 +-
.../filemanager/include/mime_type_lib.php | 680 +++---
.../happyworm/jPlayer/ConnectManager.as | 590 ++---
.../happyworm/jPlayer/JplayerRtmp.as | 1964 ++++++++---------
.../happyworm/jPlayer/TraceOut.as | 124 +-
.../skin/blue.monday/jplayer.blue.monday.css | 1280 +++++------
.../blue.monday/jplayer.blue.monday.css | 1280 +++++------
.../js/tinymce/filemanager/lang/ca.php | 244 +-
.../js/tinymce/filemanager/lang/cs.php | 246 +--
.../js/tinymce/filemanager/lang/da.php | 246 +--
.../js/tinymce/filemanager/lang/es.php | 246 +--
.../js/tinymce/filemanager/lang/hu_HU.php | 246 +--
.../js/tinymce/filemanager/lang/mn_MN.php | 246 +--
.../js/tinymce/filemanager/lang/pt_BR.php | 246 +--
.../js/tinymce/filemanager/lang/ru.php | 244 +-
.../js/tinymce/filemanager/lang/sl.php | 246 +--
.../js/tinymce/filemanager/lang/uk_UA.php | 246 +--
.../js/tinymce/filemanager/uploader/index.php | 330 +--
.../tinymce/filemanager/uploader/jupload.php | 1544 ++++++-------
.../tinymce/filemanager/uploader/success.php | 36 +-
.../js/tinymce/plugins/youtube/langs/ru.js | 18 +-
.../js/tinymce/plugins/youtube/youtube.html | 4 +-
local/session/.gitkeep | 0
local/session/sess_dcejcpi07k2hfj328kc4ucau9h | Bin 0 -> 4982 bytes
local/session/sess_dtg3carrrrbjt61hkb7h56sh29 | Bin 0 -> 7787 bytes
local/session/sess_g4pff7fq2360h2gp15v6hdvm00 | Bin 0 -> 1465 bytes
local/session/sess_j0fl8ngs404vqtlsq5jf1g0324 | Bin 0 -> 10275 bytes
local/session/sess_ma2oto2q18iicqqidbudml3c4u | Bin 0 -> 5441 bytes
local/session/sess_r59hd4euiabrjq95t0ig3ipq7c | Bin 0 -> 1465 bytes
.../plugins/jqplot.BezierCurveRenderer.min.js | 4 +-
.../jqplot/plugins/jqplot.barRenderer.min.js | 4 +-
.../plugins/jqplot.blockRenderer.min.js | 4 +-
.../plugins/jqplot.bubbleRenderer.min.js | 4 +-
.../jqplot.canvasAxisLabelRenderer.min.js | 4 +-
.../jqplot.canvasAxisTickRenderer.min.js | 4 +-
.../plugins/jqplot.canvasOverlay.min.js | 4 +-
.../plugins/jqplot.canvasTextRenderer.min.js | 4 +-
.../jqplot.categoryAxisRenderer.min.js | 4 +-
.../js/jqplot/plugins/jqplot.ciParser.min.js | 4 +-
.../js/jqplot/plugins/jqplot.cursor.min.js | 4 +-
.../plugins/jqplot.dateAxisRenderer.min.js | 4 +-
.../plugins/jqplot.donutRenderer.min.js | 4 +-
.../js/jqplot/plugins/jqplot.dragable.min.js | 4 +-
.../jqplot.enhancedLegendRenderer.min.js | 4 +-
.../plugins/jqplot.funnelRenderer.min.js | 4 +-
.../jqplot/plugins/jqplot.highlighter.min.js | 4 +-
.../js/jqplot/plugins/jqplot.json2.min.js | 4 +-
.../plugins/jqplot.logAxisRenderer.min.js | 4 +-
.../plugins/jqplot.mekkoAxisRenderer.min.js | 4 +-
.../plugins/jqplot.mekkoRenderer.min.js | 4 +-
.../plugins/jqplot.meterGaugeRenderer.min.js | 4 +-
.../js/jqplot/plugins/jqplot.mobile.min.js | 4 +-
.../jqplot/plugins/jqplot.ohlcRenderer.min.js | 4 +-
.../jqplot/plugins/jqplot.pieRenderer.min.js | 4 +-
.../jqplot/plugins/jqplot.pointLabels.min.js | 4 +-
.../plugins/jqplot.pyramidAxisRenderer.min.js | 4 +-
.../plugins/jqplot.pyramidGridRenderer.min.js | 4 +-
.../plugins/jqplot.pyramidRenderer.min.js | 4 +-
.../js/jqplot/plugins/jqplot.trendline.min.js | 4 +-
.../backOffice/default/configuration.html | 844 +++----
.../default/includes/module-tab-content.html | 38 +-
templates/frontOffice/aomc/I18n/en_US.php | 8 +-
templates/frontOffice/default/I18n/en_US.php | 8 +-
templates/frontOffice/hooktest/layout.tpl | 220 +-
66 files changed, 5814 insertions(+), 5814 deletions(-)
create mode 100755 local/session/.gitkeep
create mode 100644 local/session/sess_dcejcpi07k2hfj328kc4ucau9h
create mode 100644 local/session/sess_dtg3carrrrbjt61hkb7h56sh29
create mode 100644 local/session/sess_g4pff7fq2360h2gp15v6hdvm00
create mode 100644 local/session/sess_j0fl8ngs404vqtlsq5jf1g0324
create mode 100644 local/session/sess_ma2oto2q18iicqqidbudml3c4u
create mode 100644 local/session/sess_r59hd4euiabrjq95t0ig3ipq7c
diff --git a/local/config/database.yml b/local/config/database.yml
index ca4f622f..e92c817c 100644
--- a/local/config/database.yml
+++ b/local/config/database.yml
@@ -1,6 +1,6 @@
database:
connection:
driver: mysql
- user: outilmagadm
+ user: outil82
password: J3M350uv13n5
dsn: mysql:host=localhost;dbname=outil82;port=3306
\ No newline at end of file
diff --git a/local/modules/Colissimo/Config/module.xml b/local/modules/Colissimo/Config/module.xml
index 2fb9e2ba..485948e5 100755
--- a/local/modules/Colissimo/Config/module.xml
+++ b/local/modules/Colissimo/Config/module.xml
@@ -1,18 +1,18 @@
-
-
- Colissimo\Colissimo
-
- Colissimo delivery
-
-
- Livraison par Colissimo
-
- 2.4.3
-
- Manuel Raynaud
- manu@raynaud.io
-
- delivery
- 2.4.3
- alpha
-
+
+
+ Colissimo\Colissimo
+
+ Colissimo delivery
+
+
+ Livraison par Colissimo
+
+ 2.4.3
+
+ Manuel Raynaud
+ manu@raynaud.io
+
+ delivery
+ 2.4.3
+ alpha
+
diff --git a/local/modules/Colissimo/THELIA_INET.FMT b/local/modules/Colissimo/THELIA_INET.FMT
index 2d3a67b6..97266648 100644
--- a/local/modules/Colissimo/THELIA_INET.FMT
+++ b/local/modules/Colissimo/THELIA_INET.FMT
@@ -1,23 +1,23 @@
-[GENERAL]
-DELIMITE=O
-SEPARATEUR=59
-DELIMITEUR=34
-FINDELIGNE=CRLF
-Unité poids=KG
-[CHAMPS]
-ReferenceExpedition=1
-NomDestinataire=2
-Prenom=3
-Adresse1=4
-Adresse2=5
-Adresse3=6
-CodePostal=7
-Commune=8
-CodePays=9
-Telephone=10
-Portable=11
-Poids=12
-Mail=13
-CodePointRetrait=14
-CodeProduit=15
-NomCommercialChargeur=16
+[GENERAL]
+DELIMITE=O
+SEPARATEUR=59
+DELIMITEUR=34
+FINDELIGNE=CRLF
+Unité poids=KG
+[CHAMPS]
+ReferenceExpedition=1
+NomDestinataire=2
+Prenom=3
+Adresse1=4
+Adresse2=5
+Adresse3=6
+CodePostal=7
+Commune=8
+CodePays=9
+Telephone=10
+Portable=11
+Poids=12
+Mail=13
+CodePointRetrait=14
+CodeProduit=15
+NomCommercialChargeur=16
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/include/mime_type_lib.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/include/mime_type_lib.php
index f8981b5c..3275af8b 100755
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/include/mime_type_lib.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/include/mime_type_lib.php
@@ -1,340 +1,340 @@
- 'application/postscript',
- 'aif' => 'audio/x-aiff',
- 'aifc' => 'audio/x-aiff',
- 'aiff' => 'audio/x-aiff',
- 'asc' => 'text/plain',
- 'asf' => 'video/x-ms-asf',
- 'asx' => 'video/x-ms-asf',
- 'au' => 'audio/basic',
- 'avi' => 'video/x-msvideo',
- 'bcpio' => 'application/x-bcpio',
- 'bin' => 'application/octet-stream',
- 'bmp' => 'image/bmp',
- 'bz2' => 'application/x-bzip2',
- 'cdf' => 'application/x-netcdf',
- 'chrt' => 'application/x-kchart',
- 'class' => 'application/octet-stream',
- 'cpio' => 'application/x-cpio',
- 'cpt' => 'application/mac-compactpro',
- 'csh' => 'application/x-csh',
- 'css' => 'text/css',
- 'dcr' => 'application/x-director',
- 'dir' => 'application/x-director',
- 'djv' => 'image/vnd.djvu',
- 'djvu' => 'image/vnd.djvu',
- 'dll' => 'application/octet-stream',
- 'dms' => 'application/octet-stream',
- 'dvi' => 'application/x-dvi',
- 'dwg' => 'image/vnd.dwg',
- 'dxr' => 'application/x-director',
- 'eps' => 'application/postscript',
- 'etx' => 'text/x-setext',
- 'exe' => 'application/octet-stream',
- 'ez' => 'application/andrew-inset',
- 'flv' => 'video/x-flv',
- 'gif' => 'image/gif',
- 'gtar' => 'application/x-gtar',
- 'gz' => 'application/x-gzip',
- 'hdf' => 'application/x-hdf',
- 'hqx' => 'application/mac-binhex40',
- 'htm' => 'text/html',
- 'html' => 'text/html',
- 'ice' => 'x-conference/x-cooltalk',
- 'ief' => 'image/ief',
- 'iges' => 'model/iges',
- 'igs' => 'model/iges',
- 'img' => 'application/octet-stream',
- 'iso' => 'application/octet-stream',
- 'jad' => 'text/vnd.sun.j2me.app-descriptor',
- 'jar' => 'application/x-java-archive',
- 'jnlp' => 'application/x-java-jnlp-file',
- 'jpe' => 'image/jpeg',
- 'jpeg' => 'image/jpeg',
- 'jpg' => 'image/jpeg',
- 'js' => 'application/x-javascript',
- 'kar' => 'audio/midi',
- 'kil' => 'application/x-killustrator',
- 'kpr' => 'application/x-kpresenter',
- 'kpt' => 'application/x-kpresenter',
- 'ksp' => 'application/x-kspread',
- 'kwd' => 'application/x-kword',
- 'kwt' => 'application/x-kword',
- 'kml' => 'application/vnd.google-earth.kml+xml',
- 'kmz' => 'application/vnd.google-earth.kmz',
- 'latex' => 'application/x-latex',
- 'lha' => 'application/octet-stream',
- 'lzh' => 'application/octet-stream',
- 'm3u' => 'audio/x-mpegurl',
- 'man' => 'application/x-troff-man',
- 'me' => 'application/x-troff-me',
- 'mesh' => 'model/mesh',
- 'mid' => 'audio/midi',
- 'midi' => 'audio/midi',
- 'mif' => 'application/vnd.mif',
- 'mov' => 'video/quicktime',
- 'movie' => 'video/x-sgi-movie',
- 'mp2' => 'audio/mpeg',
- 'mp3' => 'audio/mpeg',
- 'mp4' => 'video/mp4',
- 'mpe' => 'video/mpeg',
- 'mpg' => 'video/mpeg',
- 'mpeg' => 'video/mpeg',
- 'ms' => 'application/x-troff-ms',
- 'msh' => 'model/mesh',
- 'mxu' => 'video/vnd.mpegurl',
- 'nc' => 'application/x-netcdf',
- 'odb' => 'application/vnd.oasis.opendocument.database',
- 'odc' => 'application/vnd.oasis.opendocument.chart',
- 'odf' => 'application/vnd.oasis.opendocument.formula',
- 'odg' => 'application/vnd.oasis.opendocument.graphics',
- 'odi' => 'application/vnd.oasis.opendocument.image',
- 'odm' => 'application/vnd.oasis.opendocument.text-master',
- 'odp' => 'application/vnd.oasis.opendocument.presentation',
- 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
- 'odt' => 'application/vnd.oasis.opendocument.text',
- 'ogg' => 'application/ogg',
- 'otg' => 'application/vnd.oasis.opendocument.graphics-template',
- 'oth' => 'application/vnd.oasis.opendocument.text-web',
- 'otp' => 'application/vnd.oasis.opendocument.presentation-template',
- 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
- 'ott' => 'application/vnd.oasis.opendocument.text-template',
- 'pbm' => 'image/x-portable-bitmap',
- 'pdb' => 'chemical/x-pdb',
- 'pdf' => 'application/pdf',
- 'pgm' => 'image/x-portable-graymap',
- 'pgn' => 'application/x-chess-pgn',
- 'php' => 'text/x-php',
- 'png' => 'image/png',
- 'pnm' => 'image/x-portable-anymap',
- 'ppm' => 'image/x-portable-pixmap',
- 'ppt' => 'application/vnd.ms-powerpoint',
- 'ps' => 'application/postscript',
- 'qt' => 'video/quicktime',
- 'ra' => 'audio/x-realaudio',
- 'ram' => 'audio/x-pn-realaudio',
- 'ras' => 'image/x-cmu-raster',
- 'rgb' => 'image/x-rgb',
- 'rm' => 'audio/x-pn-realaudio',
- 'roff' => 'application/x-troff',
- 'rpm' => 'application/x-rpm',
- 'rtf' => 'text/rtf',
- 'rtx' => 'text/richtext',
- 'sgm' => 'text/sgml',
- 'sgml' => 'text/sgml',
- 'sh' => 'application/x-sh',
- 'shar' => 'application/x-shar',
- 'silo' => 'model/mesh',
- 'sis' => 'application/vnd.symbian.install',
- 'sit' => 'application/x-stuffit',
- 'skd' => 'application/x-koan',
- 'skm' => 'application/x-koan',
- 'skp' => 'application/x-koan',
- 'skt' => 'application/x-koan',
- 'smi' => 'application/smil',
- 'smil' => 'application/smil',
- 'snd' => 'audio/basic',
- 'svg' => 'image/svg+xml',
- 'so' => 'application/octet-stream',
- 'spl' => 'application/x-futuresplash',
- 'src' => 'application/x-wais-source',
- 'stc' => 'application/vnd.sun.xml.calc.template',
- 'std' => 'application/vnd.sun.xml.draw.template',
- 'sti' => 'application/vnd.sun.xml.impress.template',
- 'stw' => 'application/vnd.sun.xml.writer.template',
- 'sv4cpio' => 'application/x-sv4cpio',
- 'sv4crc' => 'application/x-sv4crc',
- 'swf' => 'application/x-shockwave-flash',
- 'sxc' => 'application/vnd.sun.xml.calc',
- 'sxd' => 'application/vnd.sun.xml.draw',
- 'sxg' => 'application/vnd.sun.xml.writer.global',
- 'sxi' => 'application/vnd.sun.xml.impress',
- 'sxm' => 'application/vnd.sun.xml.math',
- 'sxw' => 'application/vnd.sun.xml.writer',
- 't' => 'application/x-troff',
- 'tar' => 'application/x-tar',
- 'tcl' => 'application/x-tcl',
- 'tex' => 'application/x-tex',
- 'texi' => 'application/x-texinfo',
- 'texinfo' => 'application/x-texinfo',
- 'tgz' => 'application/x-gzip',
- 'tif' => 'image/tiff',
- 'tiff' => 'image/tiff',
- 'torrent' => 'application/x-bittorrent',
- 'tr' => 'application/x-troff',
- 'tsv' => 'text/tab-separated-values',
- 'txt' => 'text/plain',
- 'ustar' => 'application/x-ustar',
- 'vcd' => 'application/x-cdlink',
- 'vrml' => 'model/vrml',
- 'wav' => 'audio/x-wav',
- 'wax' => 'audio/x-ms-wax',
- 'wbmp' => 'image/vnd.wap.wbmp',
- 'wbxml' => 'application/vnd.wap.wbxml',
- 'wm' => 'video/x-ms-wm',
- 'wma' => 'audio/x-ms-wma',
- 'wml' => 'text/vnd.wap.wml',
- 'wmlc' => 'application/vnd.wap.wmlc',
- 'wmls' => 'text/vnd.wap.wmlscript',
- 'wmlsc' => 'application/vnd.wap.wmlscriptc',
- 'wmv' => 'video/x-ms-wmv',
- 'wmx' => 'video/x-ms-wmx',
- 'wrl' => 'model/vrml',
- 'wvx' => 'video/x-ms-wvx',
- 'xbm' => 'image/x-xbitmap',
- 'xht' => 'application/xhtml+xml',
- 'xhtml' => 'application/xhtml+xml',
- 'xml' => 'text/xml',
- 'xml' => 'application/xml',
- 'xpm' => 'image/x-xpixmap',
- 'xsl' => 'text/xsl',
- 'xwd' => 'image/x-xwindowdump',
- 'xyz' => 'chemical/x-xyz',
- 'zip' => 'application/zip',
- 'doc' => 'application/msword',
- 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
- 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
- 'docm' => 'application/vnd.ms-word.document.macroEnabled.12',
- 'xls' => 'application/vnd.ms-excel',
- 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
- 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
- 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
- 'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12',
- 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
- 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
- 'ppt' => 'application/vnd.ms-powerpoint',
- 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
- 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
- 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
- 'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12',
- 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
- 'potm' => 'application/vnd.ms-powerpoint.template.macroEnabled.12',
- 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
-);
-
-if ( ! function_exists('get_extension_from_mime'))
-{
- function get_extension_from_mime($mime){
- global $mime_types;
- if(strpos($mime, ';')!==FALSE){
- $mime = substr($mime, 0,strpos($mime, ';'));
- }
- $mime_types_conv = array_flip($mime_types);
- if(isset($mime_types_conv[$mime])){
- return $mime_types_conv[$mime];
- }
- return '';
- }
-}
-
-if ( ! function_exists('get_file_mime_type'))
-{
- function get_file_mime_type($filename, $debug = false)
- {
- if (function_exists('finfo_open') && function_exists('finfo_file') && function_exists('finfo_close'))
- {
- $fileinfo = finfo_open(FILEINFO_MIME_TYPE);
- $mime_type = finfo_file($fileinfo, $filename);
- finfo_close($fileinfo);
-
- if ( ! empty($mime_type))
- {
- if (true === $debug)
- {
- return array( 'mime_type' => $mime_type, 'method' => 'fileinfo' );
- }
-
- return $mime_type;
- }
- }
-
- if (function_exists('mime_content_type'))
- {
- $mime_type = mime_content_type($filename);
-
- if ( ! empty($mime_type))
- {
- if (true === $debug)
- {
- return array( 'mime_type' => $mime_type, 'method' => 'mime_content_type' );
- }
-
- return $mime_type;
- }
- }
-
- global $mime_types;
-
- $tmp_array = explode('.', $filename);
- $ext = strtolower(array_pop($tmp_array));
-
- if ( ! empty($mime_types[ $ext ]))
- {
- if (true === $debug)
- {
- return array( 'mime_type' => $mime_types[ $ext ], 'method' => 'from_array' );
- }
-
- return $mime_types[ $ext ];
- }
-
- if (true === $debug)
- {
- return array( 'mime_type' => 'application/octet-stream', 'method' => 'last_resort' );
- }
-
- return 'application/octet-stream';
- }
-}
-
-
-/********************
- * The following code can be used to test the function.
- * First put a plain text file named "test.txt" and a
- * JPEG image file named "image.jpg" in the same folder
- * as this file.
- *
- * Simply remove the "REMOVE ME TO TEST" lines below to have
- * the code run when this file runs.
- *
- * Run the code with this command:
- * php mime_type_lib.php
- ********************/
-
-
-/* REMOVE ME TO TEST
-echo get_file_mime_type( 'test.txt' ) . "\n";
-echo print_r( get_file_mime_type( 'image.jpg', true ), true ) . "\n";
-REMOVE ME TO TEST */
+ 'application/postscript',
+ 'aif' => 'audio/x-aiff',
+ 'aifc' => 'audio/x-aiff',
+ 'aiff' => 'audio/x-aiff',
+ 'asc' => 'text/plain',
+ 'asf' => 'video/x-ms-asf',
+ 'asx' => 'video/x-ms-asf',
+ 'au' => 'audio/basic',
+ 'avi' => 'video/x-msvideo',
+ 'bcpio' => 'application/x-bcpio',
+ 'bin' => 'application/octet-stream',
+ 'bmp' => 'image/bmp',
+ 'bz2' => 'application/x-bzip2',
+ 'cdf' => 'application/x-netcdf',
+ 'chrt' => 'application/x-kchart',
+ 'class' => 'application/octet-stream',
+ 'cpio' => 'application/x-cpio',
+ 'cpt' => 'application/mac-compactpro',
+ 'csh' => 'application/x-csh',
+ 'css' => 'text/css',
+ 'dcr' => 'application/x-director',
+ 'dir' => 'application/x-director',
+ 'djv' => 'image/vnd.djvu',
+ 'djvu' => 'image/vnd.djvu',
+ 'dll' => 'application/octet-stream',
+ 'dms' => 'application/octet-stream',
+ 'dvi' => 'application/x-dvi',
+ 'dwg' => 'image/vnd.dwg',
+ 'dxr' => 'application/x-director',
+ 'eps' => 'application/postscript',
+ 'etx' => 'text/x-setext',
+ 'exe' => 'application/octet-stream',
+ 'ez' => 'application/andrew-inset',
+ 'flv' => 'video/x-flv',
+ 'gif' => 'image/gif',
+ 'gtar' => 'application/x-gtar',
+ 'gz' => 'application/x-gzip',
+ 'hdf' => 'application/x-hdf',
+ 'hqx' => 'application/mac-binhex40',
+ 'htm' => 'text/html',
+ 'html' => 'text/html',
+ 'ice' => 'x-conference/x-cooltalk',
+ 'ief' => 'image/ief',
+ 'iges' => 'model/iges',
+ 'igs' => 'model/iges',
+ 'img' => 'application/octet-stream',
+ 'iso' => 'application/octet-stream',
+ 'jad' => 'text/vnd.sun.j2me.app-descriptor',
+ 'jar' => 'application/x-java-archive',
+ 'jnlp' => 'application/x-java-jnlp-file',
+ 'jpe' => 'image/jpeg',
+ 'jpeg' => 'image/jpeg',
+ 'jpg' => 'image/jpeg',
+ 'js' => 'application/x-javascript',
+ 'kar' => 'audio/midi',
+ 'kil' => 'application/x-killustrator',
+ 'kpr' => 'application/x-kpresenter',
+ 'kpt' => 'application/x-kpresenter',
+ 'ksp' => 'application/x-kspread',
+ 'kwd' => 'application/x-kword',
+ 'kwt' => 'application/x-kword',
+ 'kml' => 'application/vnd.google-earth.kml+xml',
+ 'kmz' => 'application/vnd.google-earth.kmz',
+ 'latex' => 'application/x-latex',
+ 'lha' => 'application/octet-stream',
+ 'lzh' => 'application/octet-stream',
+ 'm3u' => 'audio/x-mpegurl',
+ 'man' => 'application/x-troff-man',
+ 'me' => 'application/x-troff-me',
+ 'mesh' => 'model/mesh',
+ 'mid' => 'audio/midi',
+ 'midi' => 'audio/midi',
+ 'mif' => 'application/vnd.mif',
+ 'mov' => 'video/quicktime',
+ 'movie' => 'video/x-sgi-movie',
+ 'mp2' => 'audio/mpeg',
+ 'mp3' => 'audio/mpeg',
+ 'mp4' => 'video/mp4',
+ 'mpe' => 'video/mpeg',
+ 'mpg' => 'video/mpeg',
+ 'mpeg' => 'video/mpeg',
+ 'ms' => 'application/x-troff-ms',
+ 'msh' => 'model/mesh',
+ 'mxu' => 'video/vnd.mpegurl',
+ 'nc' => 'application/x-netcdf',
+ 'odb' => 'application/vnd.oasis.opendocument.database',
+ 'odc' => 'application/vnd.oasis.opendocument.chart',
+ 'odf' => 'application/vnd.oasis.opendocument.formula',
+ 'odg' => 'application/vnd.oasis.opendocument.graphics',
+ 'odi' => 'application/vnd.oasis.opendocument.image',
+ 'odm' => 'application/vnd.oasis.opendocument.text-master',
+ 'odp' => 'application/vnd.oasis.opendocument.presentation',
+ 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
+ 'odt' => 'application/vnd.oasis.opendocument.text',
+ 'ogg' => 'application/ogg',
+ 'otg' => 'application/vnd.oasis.opendocument.graphics-template',
+ 'oth' => 'application/vnd.oasis.opendocument.text-web',
+ 'otp' => 'application/vnd.oasis.opendocument.presentation-template',
+ 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
+ 'ott' => 'application/vnd.oasis.opendocument.text-template',
+ 'pbm' => 'image/x-portable-bitmap',
+ 'pdb' => 'chemical/x-pdb',
+ 'pdf' => 'application/pdf',
+ 'pgm' => 'image/x-portable-graymap',
+ 'pgn' => 'application/x-chess-pgn',
+ 'php' => 'text/x-php',
+ 'png' => 'image/png',
+ 'pnm' => 'image/x-portable-anymap',
+ 'ppm' => 'image/x-portable-pixmap',
+ 'ppt' => 'application/vnd.ms-powerpoint',
+ 'ps' => 'application/postscript',
+ 'qt' => 'video/quicktime',
+ 'ra' => 'audio/x-realaudio',
+ 'ram' => 'audio/x-pn-realaudio',
+ 'ras' => 'image/x-cmu-raster',
+ 'rgb' => 'image/x-rgb',
+ 'rm' => 'audio/x-pn-realaudio',
+ 'roff' => 'application/x-troff',
+ 'rpm' => 'application/x-rpm',
+ 'rtf' => 'text/rtf',
+ 'rtx' => 'text/richtext',
+ 'sgm' => 'text/sgml',
+ 'sgml' => 'text/sgml',
+ 'sh' => 'application/x-sh',
+ 'shar' => 'application/x-shar',
+ 'silo' => 'model/mesh',
+ 'sis' => 'application/vnd.symbian.install',
+ 'sit' => 'application/x-stuffit',
+ 'skd' => 'application/x-koan',
+ 'skm' => 'application/x-koan',
+ 'skp' => 'application/x-koan',
+ 'skt' => 'application/x-koan',
+ 'smi' => 'application/smil',
+ 'smil' => 'application/smil',
+ 'snd' => 'audio/basic',
+ 'svg' => 'image/svg+xml',
+ 'so' => 'application/octet-stream',
+ 'spl' => 'application/x-futuresplash',
+ 'src' => 'application/x-wais-source',
+ 'stc' => 'application/vnd.sun.xml.calc.template',
+ 'std' => 'application/vnd.sun.xml.draw.template',
+ 'sti' => 'application/vnd.sun.xml.impress.template',
+ 'stw' => 'application/vnd.sun.xml.writer.template',
+ 'sv4cpio' => 'application/x-sv4cpio',
+ 'sv4crc' => 'application/x-sv4crc',
+ 'swf' => 'application/x-shockwave-flash',
+ 'sxc' => 'application/vnd.sun.xml.calc',
+ 'sxd' => 'application/vnd.sun.xml.draw',
+ 'sxg' => 'application/vnd.sun.xml.writer.global',
+ 'sxi' => 'application/vnd.sun.xml.impress',
+ 'sxm' => 'application/vnd.sun.xml.math',
+ 'sxw' => 'application/vnd.sun.xml.writer',
+ 't' => 'application/x-troff',
+ 'tar' => 'application/x-tar',
+ 'tcl' => 'application/x-tcl',
+ 'tex' => 'application/x-tex',
+ 'texi' => 'application/x-texinfo',
+ 'texinfo' => 'application/x-texinfo',
+ 'tgz' => 'application/x-gzip',
+ 'tif' => 'image/tiff',
+ 'tiff' => 'image/tiff',
+ 'torrent' => 'application/x-bittorrent',
+ 'tr' => 'application/x-troff',
+ 'tsv' => 'text/tab-separated-values',
+ 'txt' => 'text/plain',
+ 'ustar' => 'application/x-ustar',
+ 'vcd' => 'application/x-cdlink',
+ 'vrml' => 'model/vrml',
+ 'wav' => 'audio/x-wav',
+ 'wax' => 'audio/x-ms-wax',
+ 'wbmp' => 'image/vnd.wap.wbmp',
+ 'wbxml' => 'application/vnd.wap.wbxml',
+ 'wm' => 'video/x-ms-wm',
+ 'wma' => 'audio/x-ms-wma',
+ 'wml' => 'text/vnd.wap.wml',
+ 'wmlc' => 'application/vnd.wap.wmlc',
+ 'wmls' => 'text/vnd.wap.wmlscript',
+ 'wmlsc' => 'application/vnd.wap.wmlscriptc',
+ 'wmv' => 'video/x-ms-wmv',
+ 'wmx' => 'video/x-ms-wmx',
+ 'wrl' => 'model/vrml',
+ 'wvx' => 'video/x-ms-wvx',
+ 'xbm' => 'image/x-xbitmap',
+ 'xht' => 'application/xhtml+xml',
+ 'xhtml' => 'application/xhtml+xml',
+ 'xml' => 'text/xml',
+ 'xml' => 'application/xml',
+ 'xpm' => 'image/x-xpixmap',
+ 'xsl' => 'text/xsl',
+ 'xwd' => 'image/x-xwindowdump',
+ 'xyz' => 'chemical/x-xyz',
+ 'zip' => 'application/zip',
+ 'doc' => 'application/msword',
+ 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+ 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
+ 'docm' => 'application/vnd.ms-word.document.macroEnabled.12',
+ 'xls' => 'application/vnd.ms-excel',
+ 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
+ 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
+ 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
+ 'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12',
+ 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
+ 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
+ 'ppt' => 'application/vnd.ms-powerpoint',
+ 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
+ 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
+ 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
+ 'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12',
+ 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
+ 'potm' => 'application/vnd.ms-powerpoint.template.macroEnabled.12',
+ 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
+);
+
+if ( ! function_exists('get_extension_from_mime'))
+{
+ function get_extension_from_mime($mime){
+ global $mime_types;
+ if(strpos($mime, ';')!==FALSE){
+ $mime = substr($mime, 0,strpos($mime, ';'));
+ }
+ $mime_types_conv = array_flip($mime_types);
+ if(isset($mime_types_conv[$mime])){
+ return $mime_types_conv[$mime];
+ }
+ return '';
+ }
+}
+
+if ( ! function_exists('get_file_mime_type'))
+{
+ function get_file_mime_type($filename, $debug = false)
+ {
+ if (function_exists('finfo_open') && function_exists('finfo_file') && function_exists('finfo_close'))
+ {
+ $fileinfo = finfo_open(FILEINFO_MIME_TYPE);
+ $mime_type = finfo_file($fileinfo, $filename);
+ finfo_close($fileinfo);
+
+ if ( ! empty($mime_type))
+ {
+ if (true === $debug)
+ {
+ return array( 'mime_type' => $mime_type, 'method' => 'fileinfo' );
+ }
+
+ return $mime_type;
+ }
+ }
+
+ if (function_exists('mime_content_type'))
+ {
+ $mime_type = mime_content_type($filename);
+
+ if ( ! empty($mime_type))
+ {
+ if (true === $debug)
+ {
+ return array( 'mime_type' => $mime_type, 'method' => 'mime_content_type' );
+ }
+
+ return $mime_type;
+ }
+ }
+
+ global $mime_types;
+
+ $tmp_array = explode('.', $filename);
+ $ext = strtolower(array_pop($tmp_array));
+
+ if ( ! empty($mime_types[ $ext ]))
+ {
+ if (true === $debug)
+ {
+ return array( 'mime_type' => $mime_types[ $ext ], 'method' => 'from_array' );
+ }
+
+ return $mime_types[ $ext ];
+ }
+
+ if (true === $debug)
+ {
+ return array( 'mime_type' => 'application/octet-stream', 'method' => 'last_resort' );
+ }
+
+ return 'application/octet-stream';
+ }
+}
+
+
+/********************
+ * The following code can be used to test the function.
+ * First put a plain text file named "test.txt" and a
+ * JPEG image file named "image.jpg" in the same folder
+ * as this file.
+ *
+ * Simply remove the "REMOVE ME TO TEST" lines below to have
+ * the code run when this file runs.
+ *
+ * Run the code with this command:
+ * php mime_type_lib.php
+ ********************/
+
+
+/* REMOVE ME TO TEST
+echo get_file_mime_type( 'test.txt' ) . "\n";
+echo print_r( get_file_mime_type( 'image.jpg', true ), true ) . "\n";
+REMOVE ME TO TEST */
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/actionscript/happyworm/jPlayer/ConnectManager.as b/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/actionscript/happyworm/jPlayer/ConnectManager.as
index 1baa0327..9ca1af39 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/actionscript/happyworm/jPlayer/ConnectManager.as
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/actionscript/happyworm/jPlayer/ConnectManager.as
@@ -1,295 +1,295 @@
-/*
- * jPlayer Plugin for jQuery JavaScript Library
- * http://www.jplayer.org
- *
- * Copyright (c) 2009 - 2013 Happyworm Ltd
- * Licensed under the MIT license.
- * http://opensource.org/licenses/MIT
- *
- * Author: Robert M. Hall
- * Date: 7th August 2012
- * Custom NetConnection Manager for more robust RTMP support
- * Based in part on work by Will Law for the old Akamai NCManager.as
- * and some of Will's new work in the OVP base classes (Open Video Player)
- * as well as similar approaches by many other NetConnection managers
- *
- */
-
- /*
- TODO LIST 08/18/2011:
- 1. Wired up errors to dispatch events to Jplayer events to allow them to bubble up to JS
- 2. Rework event dispatch to handoff netconnection instead of a passed in reference
- 3. Allow a customizeable list of protocols and ports to be used instead of entire list
- 4. Allow a specific port/protocol (1 connect type) to be used first, and then optionally fallback on a custom list or the default list
- 5. Remove some traces and check a few other items below where I've made notes
- */
-
-package happyworm.jPlayer {
-
- import flash.events.*;
- import flash.net.*;
-
- import flash.utils.Timer;
- import flash.utils.getTimer;
- import flash.utils.clearInterval;
- import flash.utils.setInterval;
-
- public class ConnectManager extends Object {
-
- private var protocols_arr:Array = new Array("rtmp","rtmpt","rtmpe","rtmpte","rtmps");
- private var ports_arr:Array = new Array("",":1935",":80",":443");
- private const protCount:Number = 5;
- private const portCount:Number = 4;
-
- private var _ncRef:Object;
-
- private var _aNC:Array;
-
- private var k_TIMEOUT:Number = 30000;
- private var k_startConns:Number;
- private var m_connList:Array = [];
- private var m_serverName:String;
- private var m_appName:String;
- private var m_streamName:String;
- private var m_connListCounter:Number;
- private var m_flashComConnectTimeOut:Number;
- private var m_validNetConnection:NetConnection;
-
- private var connectSuccess:Boolean=false;
-
- private var negotiating:Boolean=false;
- private var idleTimeOut:Boolean=false;
-
- public function ConnectManager() {
- trace ("ConnectManager Initialized Version: 1.00 DT");
- createPortsProtocolsArray();
- }
-
- private function createPortsProtocolsArray():void {
- var outerLoop:Number=0;
- var innerLoop:Number=0;
- for (outerLoop=0; outerLoop myStatus.duration)
- {
- // Illegal seek time
- seeking(false);
- pause(0);
- }
- }
- private function seekingEvent():void
- {
- myStatus.isSeeking = true;
- updateStatusValues();
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_SEEKING,myStatus));
- }
- private function seekedEvent():void
- {
- myStatus.isSeeking = false;
- updateStatusValues();
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_SEEKED,myStatus));
- }
-
-
- private function netStatusHandler(e:NetStatusEvent):void
- {
- trace(("netStatusHandler: " + e.info.code));
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"netStatusHandler: '" + e.info.code + "'"));
- //trace("BEFORE: bufferTime: "+myStream.bufferTime+" - bufferTimeMax: "+myStream.bufferTimeMax);
- switch (e.info.code)
- {
- case "NetConnection.Connect.Success" :
- // connectStream(); // This method did not do anything sensible anyway.
- // Do not think this case occurs. This was for the static file connection.
- // Which now seems to be handled by the Connection Manager.
- break;
- case "NetStream.Buffer.Full":
- if(connectString.streamTYPE == "LIVE") {
- myStream.bufferTime = startBuffer;
- } else {
- myStream.bufferTime = maxBuffer;
- }
- break;
- case "NetStream.Buffer.Flush":
- myStream.bufferTime = startBuffer;
- break;
- case "NetStream.Buffer.Empty":
- myStream.bufferTime = startBuffer;
- break;
- case "NetStream.Seek.Notify":
- myStream.bufferTime = startBuffer;
- break;
- case "NetStream.Play.Start" :
-
- if (firstTime) {
- firstTime = false; // Capture flag
-
- myStatus.loading();
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_LOADSTART,myStatus));
-
- // NB: With MP4 player both audio and video types get connected to myVideo.
- // NB: Had believed it was important for the audio too, otherwise what plays it?
- if(videoBinding) {
- myVideo.attachNetStream(myStream);
- }
-
- setVolume(myStatus.volume);
-
- // Really the progress event just needs to be generated once, and should probably happen before now.
- progressUpdates(true);
-
- // This is an ASSUMPTION! Made it so that the default GUI worked.
- // Hence why this part should be refactored.
- // Lots of commands sequences after setMedia would be corrupted by this assumption.
- // Bascally, we assume that after a setMedia, you will play it.
- // Doing setMedia and pause(15) cause the flag to be set incorrectly and the GUI locks up.
- myStatus.isPlaying = true; // Should be handled elsewhere.
- }
-
- // Under RTMP, this event code occurs every time the media starts playing and when a new position is seeked to, even when paused.
-
- // Since under RTMP the event behaviour is quite different, believe a refactor is best here.
- // ie., Under RTMP we should be able to know a lot more info about the stream.
-
- // See onMetaDataHandler() for other condition, since duration is vital.
- // See onResult() response handler too.
- // Appears to be some duplication between onMetaDataHandler() and onResult(), along with a race between them occuring.
-
- break;
- case "NetStream.Play.UnpublishNotify":
- myStream.bufferTime = startBuffer; // was 3
- case "NetStream.Play.Stop" :
- myStream.bufferTime = startBuffer; // was 3
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"NetStream.Play.Stop: getDuration() - getCurrentTime() = " + (getDuration() - getCurrentTime())));
-
- // Check if media is at the end (or close) otherwise this was due to download bandwidth stopping playback. ie., Download is not fast enough.
- if (Math.abs((getDuration() - getCurrentTime())) < 150)
- {// Testing found 150ms worked best for M4A files, where playHead(99.9) caused a stuck state due to firing with ~116ms left to play.
- //endedEvent();
- }
- break;
- case "NetStream.Seek.InvalidTime" :
- // Used for capturing invalid set times and clicks on the end of the progress bar.
- endedEvent();
- break;
- case "NetStream.Play.StreamNotFound" :
- myStatus.error();
- // Resets status except the src, and it sets srcError property.;
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_ERROR,myStatus));
- break;
- }
- //trace("AFTER: bufferTime: "+myStream.bufferTime+" - bufferTimeMax: "+myStream.bufferTimeMax);
- // "NetStream.Seek.Notify" event code is not very useful. It occurs after every seek(t) command issued and does not appear to wait for the media to be ready.
- }
- private function endedEvent():void
- {
- trace("ENDED STREAM EVENT");
- var wasPlaying:Boolean = myStatus.isPlaying;
-
- // timeUpdates(false);
- // timeUpdateEvent();
- pause(0);
-
- if (wasPlaying)
- {
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_ENDED,myStatus));
- }
- }
- private function securityErrorHandler(event:SecurityErrorEvent):void
- {
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"securityErrorHandler."));
- }
- public function connectStream():void
- {
- trace("CONNECTING");
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"connectStream."));
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_CANPLAY,myStatus));
-
- timeUpdates(true);
- progressUpdates(true);
- //myVideo.attachNetStream(myStream);
- //setVolume(myStatus.volume);
- }
-
- private function onResult(result:Object):void
- {
- trace("OnResult EVENT FIRED!");
- myStatus.duration = parseFloat(result.toString()) * 1000;
- trace((("The stream length is " + result) + " seconds"));
-
- if(!myConnection.connected) {
- load();
- } else {
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_CANPLAY,myStatus,"Rockit!"));
-
- //myStatus.loaded();
- //myStatus.isPlaying=true;
- if (! myStatus.metaDataReady)
- {
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"onMetaDataHandler: " + myStatus.duration));
-
- // Allow multiple onResult Handlers to affect size. As per PR #131 and #98.
- // myStatus.metaDataReady = true;
-
- /*var info:Object = new Object();
- info.duration=myStatus.duration
- info.width=undefined;
- info.height=undefined;
- myStatus.metaData = info;
- */
- if (myStatus.playOnLoad)
- {
- myStatus.playOnLoad = false;// Capture the flag
- if (myStatus.pausePosition > 0)
- {// Important for setMedia followed by play(time).
- play(myStatus.pausePosition);
- }
- else
- {
- play();// Not always sending pausePosition avoids the extra seek(0) for a normal play() command.
- }
-
- }
- else
- {
- pause(myStatus.pausePosition);// Always send the pausePosition. Important for setMedia() followed by pause(time). Deals with not reading stream.time with setMedia() and play() immediately followed by stop() or pause(0)
- }
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_LOADEDMETADATA,myStatus));
- }
- else
- {
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"onMetaDataHandler: Already read (NO EFFECT)"));
- }
-
- myStream.play(streamName);
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_PLAY,myStatus));
- // timeUpdates(false);
- }
-
- }
-
- private var overRideConnect:Boolean=false;
- public function doneYet():void {
- if(!myConnection.connected) {
- // try again
- ConnMgr.stopAll(true);
- overRideConnect=true;
- trace("Connected: "+myConnection.connected+" - "+myStatus.loadRequired());
- load();
- }
- }
-
- private var videoBinding:Boolean=false;
- public function setFile(src:String,videoSupport:Boolean=false):void
- {
- // videoSupport turns on/off video - by default no video, audio only
- videoBinding=videoSupport;
- /* Dont close the stream or netconnection here anymore so we can recycle if host/appname are the same
- if ((myStream != null))
- {
- myStream.close();
- myConnection.close();
- }
- */
- if(ConnMgr.getNegotiating() == true) {
- //ConnMgr.stopAll();
- ConnMgr.setNegotiating(false);
- }
-
- myVideo.clear();
-
- progressUpdates(false);
- timeUpdates(false);
-
- myStatus.reset();
- myStatus.src = src;
- myStatus.srcSet = true;
-
- firstTime = true;
-
- //myStatus.loaded();
-
- if(src != "") {
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_CANPLAY,myStatus));
- }
-
- //timeUpdateEvent();
- }
-
- public function shutDownNcNs():void {
- trace("Connections Closed");
- timeUpdates(false);
- progressUpdates(false);
- myStream.close();
- myConnection.close();
-
- myStatus.reset();
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_ENDED,myStatus));
- }
-
- public function clearFile():void
- {
- if (myStream != null)
- {
- myStream.close();
- // Dont close the netConnection here any longer, as we may recycle it later
- // may need an extra way to close manually if switching media types after an rtmp session - revisit
- // myConnection.close();
- myStatus.reset();
- }
- setFile("");
- myStatus.srcSet = false;
- }
-
- public function parseRTMPsrcConnect(rtmpSrc:String):Object
- {
- // rtmp://cp76372.live.edgefcs.net/live/Flash1Office@60204
- var appName:String = "";
- var streamFileName:String = "";
- var startIndex:uint = 2 + rtmpSrc.indexOf("//");
- var streamTYPE:String = "recorded";
- var host:String = rtmpSrc.substr(startIndex);
- var port:String = "";
- host = host.substr(0,host.indexOf("/"));
- var endHost:Number = startIndex + host.length + 1;
-
- // See if there is a host port specified
- if(host.indexOf(":") != -1) {
- port = host.substr(host.indexOf(":")+1);
- host = host.substr(0,host.indexOf(":"));
- }
-
- // Akamai specific live streams
- if (rtmpSrc.lastIndexOf("/live/") != -1)
- {
- trace("LIVE!");
-
-
- appName = rtmpSrc.substring(endHost,rtmpSrc.lastIndexOf("/live/") + 6);
- streamFileName = rtmpSrc.substr(rtmpSrc.lastIndexOf("/live/") + 6);
- streamTYPE="LIVE";
- } else {
- streamTYPE="RECORDED";
-
- }
-
- // Mp3 streams with standard appname/no instance name, mp3: prefix
- if (rtmpSrc.indexOf(".mp3") != -1)
- {
- appName = rtmpSrc.substring(endHost,rtmpSrc.indexOf("mp3:"));
- streamFileName = rtmpSrc.substr(rtmpSrc.indexOf("mp3:"));
- streamFileName = streamFileName.substr(0,streamFileName.length - 4);
- }
- // rtmp://cp83813.edgefcs.net/ondemand/rob_hall/bruce_campbell_oldspice.flv
-
- // Mp4 streams with standard appname/no instance name, mp4: prefix
- if (rtmpSrc.indexOf("mp4:") != -1)
- {
- appName = rtmpSrc.substring(endHost,rtmpSrc.indexOf("mp4:"));
- streamFileName = rtmpSrc.substr(rtmpSrc.indexOf("mp4:"));
- streamFileName = streamFileName.substr(0,streamFileName.length - 4);
- }
-
- // .f4v streams with standard appname/no instance name, .flv extension
- if (rtmpSrc.indexOf(".flv") != -1)
- {
- // allow use of ^ in rtmp string to indicate break point for an appname or instance name that
- // contains a / in it where it would require multiple connection attempts or manual configuratiom
- // of the appname/instancename
- var endApp:Number=0;
- if(rtmpSrc.indexOf("^") != -1) {
- endApp=rtmpSrc.indexOf("^");
- rtmpSrc.replace("^", "/");
- } else {
- endApp = rtmpSrc.indexOf("/",endHost);
- }
- appName = rtmpSrc.substring(endHost,endApp) + "/";
- streamFileName = rtmpSrc.substr(endApp+1);
- }
-
- if(port=="") {
- port="MULTI";
- }
- //rtmp, rtmpt, rtmps, rtmpe, rtmpte
-
-
- trace(("\n\n*** HOST: " + host));
- trace(("*** PORT: " + port));
- trace(("*** APPNAME: " + appName));
- trace(("*** StreamName: " + streamFileName));
-
- var streamParts:Object = new Object;
- streamParts.streamTYPE=streamTYPE;
- streamParts.appName = appName;
- streamParts.streamFileName = streamFileName;
- streamParts.hostName = host;
- streamName = streamFileName;
-
- return streamParts;
- }
-
- public function load():Boolean
- {
- //trace("LOAD: "+myStatus.src);
- if (myStatus.loadRequired() || overRideConnect==true)
- {
- overRideConnect=false;
- myStatus.startingDownload();
- var lastAppName:String;
- var lastHostName:String;
-
- try{
- // we do a try, as these properties might not exist yet
- if(connectString.appName != "" && connectString.appName != undefined) {
- trace("PREVIOUS APP/HOST INFO AVAILABLE");
- lastAppName = connectString.appName;
- lastHostName = connectString.hostName;
- trace("LAST: "+lastAppName,lastHostName);
- }
- } catch (error:Error) {
- //trace("*** Caught an error condition: "+error);
- }
-
- connectString = parseRTMPsrcConnect(myStatus.src);
-
-
-
- trace("**** LOAD :: CONNECT SOURCE: " +connectString.hostName +" "+ connectString.appName);
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_WAITING, myStatus));
-
- if((connectString.appName == lastAppName && connectString.hostName == lastHostName) && (myConnection.connected)) {
- // recycle the netConnection
- trace("RECYCLING NETCONNECTION");
- if ((myStream != null))
- {
- myStream.close();
- }
- connectStream();
- onBWDone(null,myConnection);
- } else {
- // myConnection.connect(connectString.appName);
- trace("NEW NetConnection Negotiation");
- if ((myStream != null))
- {
- myStream.close();
- myConnection.close();
- }
-
- ConnMgr.stopAll(true);
- ConnMgr.negotiateConnect(this,connectString.hostName,connectString.appName);
- }
-
- trace("**** LOAD2 :: CONNECT SOURCE: " +connectString.hostName +" "+ connectString.appName);
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_WAITING, myStatus));
- return true;
- }
- else
- {
- return false;
- }
- }
-
-
-
- public function onFCUnsubscribe(info:Object):void
- {
- trace(("onFCUnSubscribe worked" + info));
- }
-
- public function onFCSubscribe(info:Object):void
- {
- trace(("onFCSubscribe worked" + info));
- }
-
- public function onBWDone(info:Object,nc:NetConnection):void
- {
- if(nc.connected) {
- myConnection=nc;
- trace(((("onBWDone " + info) + " :: ") + myStatus.src));
-
- var customClient:Object = new Object ;
- customClient.onMetaData = onMetaDataHandler;
- customClient.onPlayStatus = onPlayStatusHandler;// According to the forums and my tests, onPlayStatus only works with FMS (Flash Media Server).
-
- myStream = null;
- myStream = new NetStream(myConnection);
- myStream.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
- myStream.client = customClient;
- if(connectString.streamTYPE == "LIVE") {
- myStream.bufferTime = 3; // was 3
- myStream.bufferTimeMax = 24;
- startBuffer = 3;
- maxBuffer = 12;
-
- } else {
- myStream.bufferTime = .2; // was 3
- myStream.bufferTimeMax = 0;
- startBuffer = .2;
- maxBuffer = 12;
- }
-
-
- //streamName="";
- //var connectString:Object = parseRTMPsrcConnect(myStatus.src);
- //streamName=connectString.streamFileName;
-
- responder = new Responder(onResult);
- myConnection.call("getStreamLength",responder,streamName);
- } else {
- connectStream();
- }
-
- trace("PLAY SOURCE: "+connectString);
-
- }
-
- public function play(time:Number = NaN):Boolean {
- //trace("PLAY: "+time+" - isPlaying: "+myStatus.isPlaying +" - myStatus.isStartingDownload:"+myStatus.isStartingDownload);
- var wasPlaying:Boolean = myStatus.isPlaying;
-
- if(!isNaN(time) && myStatus.srcSet) {
- if(myStatus.isPlaying) {
- myStream.pause();
- myStatus.isPlaying = false;
- }
- myStatus.pausePosition = time;
- }
-
- if(myStatus.isStartingDownload) {
- myStatus.playOnLoad = true; // Raise flag, captured in onMetaDataHandler()
- return true;
- } else if(myStatus.loadRequired()) {
- myStatus.playOnLoad = true; // Raise flag, captured in onMetaDataHandler()
- return load();
- } else if((myStatus.isLoading || myStatus.isLoaded) && !myStatus.isPlaying) {
- if(myStatus.metaDataReady && myStatus.pausePosition > myStatus.duration && connectString.streamTYPE != "LIVE") { // The time is invalid, ie., past the end.
- myStream.pause(); // Since it is playing by default at this point.
- myStatus.pausePosition = 0;
- trace("SEEKER!");
- myStream.seek(0);
- timeUpdates(false);
- timeUpdateEvent();
- if(wasPlaying) { // For when playing and then get a play(huge)
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_PAUSE, myStatus));
- }
- } else if(getSeekTimeRatio() > getLoadRatio()) { // Use an estimate based on the downloaded amount
- myStatus.playOnSeek = true;
- seeking(true);
- trace("SEEKER PAUSE!");
- myStream.pause(); // Since it is playing by default at this point.
- } else {
- if(!isNaN(time)) { // Avoid using seek() when it is already correct.
- trace("SEEKER3");
- myStream.seek(myStatus.pausePosition/1000); // Since time is in ms and seek() takes seconds
- }
- myStatus.isPlaying = true; // Set immediately before playing. Could affects events.
- trace("SHOULD GET RESUME!");
- myStream.resume();
- timeUpdates(true);
- if(!wasPlaying) {
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_PLAY, myStatus));
- }
- }
- return true;
- } else {
- return false;
- }
- }
-
- public function pause(time:Number=NaN):Boolean
- {
- //trace("PAUSE: "+time);
- myStatus.playOnLoad = false;// Reset flag in case load/play issued immediately before this command, ie., before onMetadata() event.
- myStatus.playOnSeek = false;// Reset flag in case play(time) issued before the command and is still seeking to time set.
-
- var wasPlaying:Boolean = myStatus.isPlaying;
-
-
- // To avoid possible loops with timeupdate and pause(time). A pause() does not have the problem.
- var alreadyPausedAtTime:Boolean = false;
- if(!isNaN(time) && myStatus.pausePosition == time) {
- alreadyPausedAtTime = true;
- }
-
- trace("!isNaN: "+!isNaN(time) +" isNaN: "+isNaN(time));
-
- // Need to wait for metadata to load before ever issuing a pause. The metadata handler will call this function if needed, when ready.
- if (((myStream != null) && myStatus.metaDataReady))
- {// myStream is a null until the 1st media is loaded. ie., The 1st ever setMedia being followed by a pause() or pause(t).
-
- if(connectString.streamTYPE == "LIVE") {
- trace("PAUSING LIVE");
- myStream.play(false)
- } else {
- trace("PAUSING RECORDED");
- myStream.pause();
- }
- }
- if (myStatus.isPlaying)
- {
- myStatus.isPlaying = false;
- myStatus.pausePosition = myStream.time * 1000;
- }
-
- if (! isNaN(time) && myStatus.srcSet)
- {
- myStatus.pausePosition = time;
- }
-
- if (wasPlaying)
- {
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_PAUSE,myStatus));
- }
-
- if (myStatus.isStartingDownload)
- {
- return true;
- }
- else if (myStatus.loadRequired())
- {
- if ((time > 0))
- {// We do not want the stop() command, which does pause(0), causing a load operation.
- return load();
- }
- else
- {
- return true;// Technically the pause(0) succeeded. ie., It did nothing, since nothing was required.
- }
- }
- else if (myStatus.isLoading || myStatus.isLoaded)
- {
- if (myStatus.metaDataReady && myStatus.pausePosition > myStatus.duration && connectString.streamTYPE != "LIVE" )
- {// The time is invalid, ie., past the end.
- myStatus.pausePosition = 0;
-
- trace("GOT HERE!");
- myStream.seek(0);
- seekedEvent();// Deals with seeking effect when using setMedia() then pause(huge). NB: There is no preceeding seeking event.
- }
- else if (! isNaN(time))
- {
- if ((getSeekTimeRatio() > getLoadRatio()))
- {// Use an estimate based on the downloaded amount
- seeking(true);
- }
- else
- {
- if (myStatus.metaDataReady && connectString.streamTYPE != "LIVE")
- {// Otherwise seek(0) will stop the metadata loading.
- trace("GOT HERE TOO!");
- myStream.seek(myStatus.pausePosition / 1000);
- }
- }
- }
- timeUpdates(false);
- // Need to be careful with timeupdate event, otherwise a pause in a timeupdate event can cause a loop.
- // Neither pause() nor pause(time) will cause a timeupdate loop.
- if(wasPlaying || !isNaN(time) && !alreadyPausedAtTime) {
- timeUpdateEvent();
- }
- return true;
- }
- else
- {
- return false;
- }
- }
- public function playHead(percent:Number):Boolean
- {
- var time:Number = percent * getDuration() * getLoadRatio() / 100;
- if (myStatus.isPlaying || myStatus.playOnLoad || myStatus.playOnSeek)
- {
- return play(time);
- }
- else
- {
- return pause(time);
- }
- }
- public function setVolume(v:Number):void
- {
- myStatus.volume = v;
- myTransform.volume = v;
- if ((myStream != null))
- {
- myStream.soundTransform = myTransform;
- }
- }
- private function updateStatusValues():void
- {
- //myStatus.seekPercent = 100 * getLoadRatio();
- myStatus.seekPercent = 100;
- myStatus.currentTime = getCurrentTime();
- myStatus.currentPercentRelative = 100 * getCurrentRatioRel();
- myStatus.currentPercentAbsolute = 100 * getCurrentRatioAbs();
- myStatus.duration = getDuration();
- }
- public function getLoadRatio():Number
- {
- return 1;
- /*trace("LoadRatio:"+myStream.bytesLoaded, myStream.bytesTotal);
- if((myStatus.isLoading || myStatus.isLoaded) && myStream.bytesTotal > 0) {
-
- return myStream.bytesLoaded / myStream.bytesTotal;
- } else {
- return 0;
- }
- */
-
- }
- public function getDuration():Number
- {
- return myStatus.duration;// Set from meta data.
- }
- public function getCurrentTime():Number
- {
- if (myStatus.isPlaying)
- {
- //trace(myStream.time * 1000);
- return myStream.time * 1000; // was +1000
- }
- else
- {
- return myStatus.pausePosition;
- }
- }
- public function getCurrentRatioRel():Number
- {
-
- if ((getCurrentRatioAbs() <= getLoadRatio()))
- {
- //if((getLoadRatio() > 0) && (getCurrentRatioAbs() <= getLoadRatio())) {
- return getCurrentRatioAbs() / getLoadRatio();
- }
- else
- {
- return 0;
- }
- }
- public function getCurrentRatioAbs():Number
- {
- if ((getDuration() > 0))
- {
- return getCurrentTime() / getDuration();
- }
- else
- {
- return 0;
- }
- }
- public function getSeekTimeRatio():Number
- {
- if ((getDuration() > 0))
- {
- return myStatus.pausePosition / getDuration();
- }
- else
- {
- return 1;
- }
- }
- public function onPlayStatusHandler(infoObject:Object):void
- {
- trace((("OnPlayStatusHandler called: (" + getTimer()) + " ms)"));
- for (var prop:* in infoObject)
- {
- trace(((("\t" + prop) + ":\t") + infoObject[prop]));
- }
- if (infoObject.code == "NetStream.Play.Complete")
- {
- endedEvent();
- }
- }
-
- public function onMetaDataHandler(info:Object):void
- {// Used in connectStream() in myStream.client object.
- // This event occurs when jumping to the start of static files! ie., seek(0) will cause this event to occur.
-
- if (! myStatus.metaDataReady)
- {
- trace("\n\n*** METADATA FIRED! ***\n\n");
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"onMetaDataHandler: " + info.duration + " | " + info.width + "x" + info.height));
-
- myStatus.metaDataReady = true;// Set flag so that this event only effects jPlayer the 1st time.
- myStatus.metaData = info;
- myStatus.duration = info.duration * 1000;// Only available via Meta Data.
- if (info.width != undefined)
- {
- myVideo.width = myStatus.videoWidth = info.width;
- }
- if (info.height != undefined)
- {
- myVideo.height = myStatus.videoHeight = info.height;
- }
-
- if (myStatus.playOnLoad)
- {
- myStatus.playOnLoad = false;// Capture the flag
- if (myStatus.pausePosition > 0)
- {// Important for setMedia followed by play(time).
- play(myStatus.pausePosition);
- }
- else
- {
- play();// Not always sending pausePosition avoids the extra seek(0) for a normal play() command.
- }
- }
- else
- {
- pause(myStatus.pausePosition);// Always send the pausePosition. Important for setMedia() followed by pause(time). Deals with not reading stream.time with setMedia() and play() immediately followed by stop() or pause(0)
- }
- this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_LOADEDMETADATA,myStatus));
- }
- else
- {
- //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"onMetaDataHandler: Already read (NO EFFECT)"));
- }
- }
-}
+/*
+ * jPlayer Plugin for jQuery JavaScript Library
+ * http://www.jplayer.org
+ *
+ * Copyright (c) 2009 - 2013 Happyworm Ltd
+ * Licensed under the MIT license.
+ * http://opensource.org/licenses/MIT
+ *
+ * Author: Robert M. Hall
+ * Date: 29th January 2013
+ * Based on JplayerMp4.as with modifications for rtmp
+ */
+
+package happyworm.jPlayer
+{
+ import flash.display.Sprite;
+
+ import flash.media.Video;
+ import flash.media.SoundTransform;
+
+ import flash.net.NetConnection;
+ import flash.net.NetStream;
+ import flash.net.Responder;
+
+ import flash.utils.Timer;
+ import flash.utils.getTimer;
+
+ import flash.events.NetStatusEvent;
+ import flash.events.SecurityErrorEvent;
+ import flash.events.TimerEvent;
+ import flash.events.ErrorEvent;
+ import flash.events.UncaughtErrorEvent;
+ import flash.utils.clearInterval;
+ import flash.utils.setInterval;
+ import happyworm.jPlayer.ConnectManager;
+
+ public class JplayerRtmp extends Sprite
+ {
+
+ public var myVideo:Video = new Video;
+ private var myConnection:NetConnection;
+ private var myStream:NetStream;
+
+ public var responder:Responder;
+
+ private var streamName:String;
+
+ private var connectString:Object;
+
+ private var firstTime:Boolean = true;
+
+ private var myTransform:SoundTransform = new SoundTransform ;
+
+ public var myStatus:JplayerStatus = new JplayerStatus ;
+
+ private var ConnMgr:ConnectManager=new ConnectManager();
+
+ private var timeUpdateTimer:Timer = new Timer(250,0);// Matched to HTML event freq
+ private var progressTimer:Timer = new Timer(250,0);// Matched to HTML event freq
+ private var seekingTimer:Timer = new Timer(100,0);// Internal: How often seeking is checked to see if it is over.
+
+ private var startBuffer:Number = 3;
+ private var maxBuffer:Number = 12;
+
+ public function JplayerRtmp(volume:Number)
+ {
+ myConnection = new NetConnection ;
+ myConnection.client = this;
+
+
+ // Moved the netconnection negotiation into the ConnectManager.as class - not needed for initial connection
+ // may need to add eventHandler back in for errors only or just dispatch from the ConnectManager..revisit...
+
+ // myConnection.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
+ // myConnection.addEventListener(SecurityErrorEvent.SECURITY_ERROR,securityErrorHandler);
+ myVideo.smoothing = true;
+ this.addChild(myVideo);
+
+ timeUpdateTimer.addEventListener(TimerEvent.TIMER,timeUpdateHandler);
+ progressTimer.addEventListener(TimerEvent.TIMER,progressHandler);
+ seekingTimer.addEventListener(TimerEvent.TIMER,seekingHandler);
+
+ myStatus.volume = volume;
+
+ addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, uncaughtErrorHandler);
+
+
+ }
+
+
+
+ private function uncaughtErrorHandler(event:UncaughtErrorEvent):void
+ {
+ trace("UNCAUGHT ERROR - try loading again");
+
+ if (event.error is Error)
+ {
+ var error:Error = event.error as Error;
+ trace(error);
+ // do something with the error
+ }
+ else if (event.error is ErrorEvent)
+ {
+ var errorEvent:ErrorEvent = event.error as ErrorEvent;
+ // do something with the error
+ trace(errorEvent);
+ }
+ else
+ {
+ // a non-Error, non-ErrorEvent type was thrown and uncaught
+ }
+ load();
+ }
+
+
+
+ private function progressUpdates(active:Boolean):void
+ {
+ if (active)
+ {
+ progressTimer.start();
+ }
+ else
+ {
+ progressTimer.stop();
+ }
+ }
+
+ private function progressHandler(e:TimerEvent):void
+ {
+ if (myStatus.isLoading)
+ {
+ if ((getLoadRatio() == 1))
+ {// Close as can get to a loadComplete event since client.onPlayStatus only works with FMS
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"progressHandler: loadComplete"));
+ myStatus.loaded();
+ progressUpdates(false);
+ }
+ }
+ progressEvent();
+ }
+
+ private function progressEvent():void
+ {
+ // temporarily disabled progress event dispatching - not really needed for rtmp
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"progressEvent:"));
+ updateStatusValues();
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_PROGRESS,myStatus));
+ }
+
+ private function timeUpdates(active:Boolean):void
+ {
+ if (active)
+ {
+ timeUpdateTimer.start();
+ }
+ else
+ {
+ timeUpdateTimer.stop();
+ }
+ }
+
+ private function timeUpdateHandler(e:TimerEvent):void
+ {
+ timeUpdateEvent();
+ }
+
+ private function timeUpdateEvent():void
+ {
+ updateStatusValues();
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_TIMEUPDATE,myStatus));
+ }
+ private function seeking(active:Boolean):void
+ {
+ if (active)
+ {
+ if (! myStatus.isSeeking)
+ {
+ seekingEvent();
+ }
+ seekingTimer.start();
+ }
+ else
+ {
+ if (myStatus.isSeeking)
+ {
+ seekedEvent();
+ }
+ seekingTimer.stop();
+ }
+ }
+ private function seekingHandler(e:TimerEvent):void
+ {
+ if ((getSeekTimeRatio() <= getLoadRatio()))
+ {
+ seeking(false);
+ if (myStatus.playOnSeek)
+ {
+ myStatus.playOnSeek = false;// Capture the flag.
+ play(myStatus.pausePosition);// Must pass time or the seek time is never set.
+ }
+ else
+ {
+ pause(myStatus.pausePosition);// Must pass time or the stream.time is read.
+ }
+ }
+ else if (myStatus.metaDataReady && myStatus.pausePosition > myStatus.duration)
+ {
+ // Illegal seek time
+ seeking(false);
+ pause(0);
+ }
+ }
+ private function seekingEvent():void
+ {
+ myStatus.isSeeking = true;
+ updateStatusValues();
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_SEEKING,myStatus));
+ }
+ private function seekedEvent():void
+ {
+ myStatus.isSeeking = false;
+ updateStatusValues();
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_SEEKED,myStatus));
+ }
+
+
+ private function netStatusHandler(e:NetStatusEvent):void
+ {
+ trace(("netStatusHandler: " + e.info.code));
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"netStatusHandler: '" + e.info.code + "'"));
+ //trace("BEFORE: bufferTime: "+myStream.bufferTime+" - bufferTimeMax: "+myStream.bufferTimeMax);
+ switch (e.info.code)
+ {
+ case "NetConnection.Connect.Success" :
+ // connectStream(); // This method did not do anything sensible anyway.
+ // Do not think this case occurs. This was for the static file connection.
+ // Which now seems to be handled by the Connection Manager.
+ break;
+ case "NetStream.Buffer.Full":
+ if(connectString.streamTYPE == "LIVE") {
+ myStream.bufferTime = startBuffer;
+ } else {
+ myStream.bufferTime = maxBuffer;
+ }
+ break;
+ case "NetStream.Buffer.Flush":
+ myStream.bufferTime = startBuffer;
+ break;
+ case "NetStream.Buffer.Empty":
+ myStream.bufferTime = startBuffer;
+ break;
+ case "NetStream.Seek.Notify":
+ myStream.bufferTime = startBuffer;
+ break;
+ case "NetStream.Play.Start" :
+
+ if (firstTime) {
+ firstTime = false; // Capture flag
+
+ myStatus.loading();
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_LOADSTART,myStatus));
+
+ // NB: With MP4 player both audio and video types get connected to myVideo.
+ // NB: Had believed it was important for the audio too, otherwise what plays it?
+ if(videoBinding) {
+ myVideo.attachNetStream(myStream);
+ }
+
+ setVolume(myStatus.volume);
+
+ // Really the progress event just needs to be generated once, and should probably happen before now.
+ progressUpdates(true);
+
+ // This is an ASSUMPTION! Made it so that the default GUI worked.
+ // Hence why this part should be refactored.
+ // Lots of commands sequences after setMedia would be corrupted by this assumption.
+ // Bascally, we assume that after a setMedia, you will play it.
+ // Doing setMedia and pause(15) cause the flag to be set incorrectly and the GUI locks up.
+ myStatus.isPlaying = true; // Should be handled elsewhere.
+ }
+
+ // Under RTMP, this event code occurs every time the media starts playing and when a new position is seeked to, even when paused.
+
+ // Since under RTMP the event behaviour is quite different, believe a refactor is best here.
+ // ie., Under RTMP we should be able to know a lot more info about the stream.
+
+ // See onMetaDataHandler() for other condition, since duration is vital.
+ // See onResult() response handler too.
+ // Appears to be some duplication between onMetaDataHandler() and onResult(), along with a race between them occuring.
+
+ break;
+ case "NetStream.Play.UnpublishNotify":
+ myStream.bufferTime = startBuffer; // was 3
+ case "NetStream.Play.Stop" :
+ myStream.bufferTime = startBuffer; // was 3
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"NetStream.Play.Stop: getDuration() - getCurrentTime() = " + (getDuration() - getCurrentTime())));
+
+ // Check if media is at the end (or close) otherwise this was due to download bandwidth stopping playback. ie., Download is not fast enough.
+ if (Math.abs((getDuration() - getCurrentTime())) < 150)
+ {// Testing found 150ms worked best for M4A files, where playHead(99.9) caused a stuck state due to firing with ~116ms left to play.
+ //endedEvent();
+ }
+ break;
+ case "NetStream.Seek.InvalidTime" :
+ // Used for capturing invalid set times and clicks on the end of the progress bar.
+ endedEvent();
+ break;
+ case "NetStream.Play.StreamNotFound" :
+ myStatus.error();
+ // Resets status except the src, and it sets srcError property.;
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_ERROR,myStatus));
+ break;
+ }
+ //trace("AFTER: bufferTime: "+myStream.bufferTime+" - bufferTimeMax: "+myStream.bufferTimeMax);
+ // "NetStream.Seek.Notify" event code is not very useful. It occurs after every seek(t) command issued and does not appear to wait for the media to be ready.
+ }
+ private function endedEvent():void
+ {
+ trace("ENDED STREAM EVENT");
+ var wasPlaying:Boolean = myStatus.isPlaying;
+
+ // timeUpdates(false);
+ // timeUpdateEvent();
+ pause(0);
+
+ if (wasPlaying)
+ {
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_ENDED,myStatus));
+ }
+ }
+ private function securityErrorHandler(event:SecurityErrorEvent):void
+ {
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"securityErrorHandler."));
+ }
+ public function connectStream():void
+ {
+ trace("CONNECTING");
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"connectStream."));
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_CANPLAY,myStatus));
+
+ timeUpdates(true);
+ progressUpdates(true);
+ //myVideo.attachNetStream(myStream);
+ //setVolume(myStatus.volume);
+ }
+
+ private function onResult(result:Object):void
+ {
+ trace("OnResult EVENT FIRED!");
+ myStatus.duration = parseFloat(result.toString()) * 1000;
+ trace((("The stream length is " + result) + " seconds"));
+
+ if(!myConnection.connected) {
+ load();
+ } else {
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_CANPLAY,myStatus,"Rockit!"));
+
+ //myStatus.loaded();
+ //myStatus.isPlaying=true;
+ if (! myStatus.metaDataReady)
+ {
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"onMetaDataHandler: " + myStatus.duration));
+
+ // Allow multiple onResult Handlers to affect size. As per PR #131 and #98.
+ // myStatus.metaDataReady = true;
+
+ /*var info:Object = new Object();
+ info.duration=myStatus.duration
+ info.width=undefined;
+ info.height=undefined;
+ myStatus.metaData = info;
+ */
+ if (myStatus.playOnLoad)
+ {
+ myStatus.playOnLoad = false;// Capture the flag
+ if (myStatus.pausePosition > 0)
+ {// Important for setMedia followed by play(time).
+ play(myStatus.pausePosition);
+ }
+ else
+ {
+ play();// Not always sending pausePosition avoids the extra seek(0) for a normal play() command.
+ }
+
+ }
+ else
+ {
+ pause(myStatus.pausePosition);// Always send the pausePosition. Important for setMedia() followed by pause(time). Deals with not reading stream.time with setMedia() and play() immediately followed by stop() or pause(0)
+ }
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_LOADEDMETADATA,myStatus));
+ }
+ else
+ {
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"onMetaDataHandler: Already read (NO EFFECT)"));
+ }
+
+ myStream.play(streamName);
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_PLAY,myStatus));
+ // timeUpdates(false);
+ }
+
+ }
+
+ private var overRideConnect:Boolean=false;
+ public function doneYet():void {
+ if(!myConnection.connected) {
+ // try again
+ ConnMgr.stopAll(true);
+ overRideConnect=true;
+ trace("Connected: "+myConnection.connected+" - "+myStatus.loadRequired());
+ load();
+ }
+ }
+
+ private var videoBinding:Boolean=false;
+ public function setFile(src:String,videoSupport:Boolean=false):void
+ {
+ // videoSupport turns on/off video - by default no video, audio only
+ videoBinding=videoSupport;
+ /* Dont close the stream or netconnection here anymore so we can recycle if host/appname are the same
+ if ((myStream != null))
+ {
+ myStream.close();
+ myConnection.close();
+ }
+ */
+ if(ConnMgr.getNegotiating() == true) {
+ //ConnMgr.stopAll();
+ ConnMgr.setNegotiating(false);
+ }
+
+ myVideo.clear();
+
+ progressUpdates(false);
+ timeUpdates(false);
+
+ myStatus.reset();
+ myStatus.src = src;
+ myStatus.srcSet = true;
+
+ firstTime = true;
+
+ //myStatus.loaded();
+
+ if(src != "") {
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_CANPLAY,myStatus));
+ }
+
+ //timeUpdateEvent();
+ }
+
+ public function shutDownNcNs():void {
+ trace("Connections Closed");
+ timeUpdates(false);
+ progressUpdates(false);
+ myStream.close();
+ myConnection.close();
+
+ myStatus.reset();
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_ENDED,myStatus));
+ }
+
+ public function clearFile():void
+ {
+ if (myStream != null)
+ {
+ myStream.close();
+ // Dont close the netConnection here any longer, as we may recycle it later
+ // may need an extra way to close manually if switching media types after an rtmp session - revisit
+ // myConnection.close();
+ myStatus.reset();
+ }
+ setFile("");
+ myStatus.srcSet = false;
+ }
+
+ public function parseRTMPsrcConnect(rtmpSrc:String):Object
+ {
+ // rtmp://cp76372.live.edgefcs.net/live/Flash1Office@60204
+ var appName:String = "";
+ var streamFileName:String = "";
+ var startIndex:uint = 2 + rtmpSrc.indexOf("//");
+ var streamTYPE:String = "recorded";
+ var host:String = rtmpSrc.substr(startIndex);
+ var port:String = "";
+ host = host.substr(0,host.indexOf("/"));
+ var endHost:Number = startIndex + host.length + 1;
+
+ // See if there is a host port specified
+ if(host.indexOf(":") != -1) {
+ port = host.substr(host.indexOf(":")+1);
+ host = host.substr(0,host.indexOf(":"));
+ }
+
+ // Akamai specific live streams
+ if (rtmpSrc.lastIndexOf("/live/") != -1)
+ {
+ trace("LIVE!");
+
+
+ appName = rtmpSrc.substring(endHost,rtmpSrc.lastIndexOf("/live/") + 6);
+ streamFileName = rtmpSrc.substr(rtmpSrc.lastIndexOf("/live/") + 6);
+ streamTYPE="LIVE";
+ } else {
+ streamTYPE="RECORDED";
+
+ }
+
+ // Mp3 streams with standard appname/no instance name, mp3: prefix
+ if (rtmpSrc.indexOf(".mp3") != -1)
+ {
+ appName = rtmpSrc.substring(endHost,rtmpSrc.indexOf("mp3:"));
+ streamFileName = rtmpSrc.substr(rtmpSrc.indexOf("mp3:"));
+ streamFileName = streamFileName.substr(0,streamFileName.length - 4);
+ }
+ // rtmp://cp83813.edgefcs.net/ondemand/rob_hall/bruce_campbell_oldspice.flv
+
+ // Mp4 streams with standard appname/no instance name, mp4: prefix
+ if (rtmpSrc.indexOf("mp4:") != -1)
+ {
+ appName = rtmpSrc.substring(endHost,rtmpSrc.indexOf("mp4:"));
+ streamFileName = rtmpSrc.substr(rtmpSrc.indexOf("mp4:"));
+ streamFileName = streamFileName.substr(0,streamFileName.length - 4);
+ }
+
+ // .f4v streams with standard appname/no instance name, .flv extension
+ if (rtmpSrc.indexOf(".flv") != -1)
+ {
+ // allow use of ^ in rtmp string to indicate break point for an appname or instance name that
+ // contains a / in it where it would require multiple connection attempts or manual configuratiom
+ // of the appname/instancename
+ var endApp:Number=0;
+ if(rtmpSrc.indexOf("^") != -1) {
+ endApp=rtmpSrc.indexOf("^");
+ rtmpSrc.replace("^", "/");
+ } else {
+ endApp = rtmpSrc.indexOf("/",endHost);
+ }
+ appName = rtmpSrc.substring(endHost,endApp) + "/";
+ streamFileName = rtmpSrc.substr(endApp+1);
+ }
+
+ if(port=="") {
+ port="MULTI";
+ }
+ //rtmp, rtmpt, rtmps, rtmpe, rtmpte
+
+
+ trace(("\n\n*** HOST: " + host));
+ trace(("*** PORT: " + port));
+ trace(("*** APPNAME: " + appName));
+ trace(("*** StreamName: " + streamFileName));
+
+ var streamParts:Object = new Object;
+ streamParts.streamTYPE=streamTYPE;
+ streamParts.appName = appName;
+ streamParts.streamFileName = streamFileName;
+ streamParts.hostName = host;
+ streamName = streamFileName;
+
+ return streamParts;
+ }
+
+ public function load():Boolean
+ {
+ //trace("LOAD: "+myStatus.src);
+ if (myStatus.loadRequired() || overRideConnect==true)
+ {
+ overRideConnect=false;
+ myStatus.startingDownload();
+ var lastAppName:String;
+ var lastHostName:String;
+
+ try{
+ // we do a try, as these properties might not exist yet
+ if(connectString.appName != "" && connectString.appName != undefined) {
+ trace("PREVIOUS APP/HOST INFO AVAILABLE");
+ lastAppName = connectString.appName;
+ lastHostName = connectString.hostName;
+ trace("LAST: "+lastAppName,lastHostName);
+ }
+ } catch (error:Error) {
+ //trace("*** Caught an error condition: "+error);
+ }
+
+ connectString = parseRTMPsrcConnect(myStatus.src);
+
+
+
+ trace("**** LOAD :: CONNECT SOURCE: " +connectString.hostName +" "+ connectString.appName);
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_WAITING, myStatus));
+
+ if((connectString.appName == lastAppName && connectString.hostName == lastHostName) && (myConnection.connected)) {
+ // recycle the netConnection
+ trace("RECYCLING NETCONNECTION");
+ if ((myStream != null))
+ {
+ myStream.close();
+ }
+ connectStream();
+ onBWDone(null,myConnection);
+ } else {
+ // myConnection.connect(connectString.appName);
+ trace("NEW NetConnection Negotiation");
+ if ((myStream != null))
+ {
+ myStream.close();
+ myConnection.close();
+ }
+
+ ConnMgr.stopAll(true);
+ ConnMgr.negotiateConnect(this,connectString.hostName,connectString.appName);
+ }
+
+ trace("**** LOAD2 :: CONNECT SOURCE: " +connectString.hostName +" "+ connectString.appName);
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_WAITING, myStatus));
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+ }
+
+
+
+ public function onFCUnsubscribe(info:Object):void
+ {
+ trace(("onFCUnSubscribe worked" + info));
+ }
+
+ public function onFCSubscribe(info:Object):void
+ {
+ trace(("onFCSubscribe worked" + info));
+ }
+
+ public function onBWDone(info:Object,nc:NetConnection):void
+ {
+ if(nc.connected) {
+ myConnection=nc;
+ trace(((("onBWDone " + info) + " :: ") + myStatus.src));
+
+ var customClient:Object = new Object ;
+ customClient.onMetaData = onMetaDataHandler;
+ customClient.onPlayStatus = onPlayStatusHandler;// According to the forums and my tests, onPlayStatus only works with FMS (Flash Media Server).
+
+ myStream = null;
+ myStream = new NetStream(myConnection);
+ myStream.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
+ myStream.client = customClient;
+ if(connectString.streamTYPE == "LIVE") {
+ myStream.bufferTime = 3; // was 3
+ myStream.bufferTimeMax = 24;
+ startBuffer = 3;
+ maxBuffer = 12;
+
+ } else {
+ myStream.bufferTime = .2; // was 3
+ myStream.bufferTimeMax = 0;
+ startBuffer = .2;
+ maxBuffer = 12;
+ }
+
+
+ //streamName="";
+ //var connectString:Object = parseRTMPsrcConnect(myStatus.src);
+ //streamName=connectString.streamFileName;
+
+ responder = new Responder(onResult);
+ myConnection.call("getStreamLength",responder,streamName);
+ } else {
+ connectStream();
+ }
+
+ trace("PLAY SOURCE: "+connectString);
+
+ }
+
+ public function play(time:Number = NaN):Boolean {
+ //trace("PLAY: "+time+" - isPlaying: "+myStatus.isPlaying +" - myStatus.isStartingDownload:"+myStatus.isStartingDownload);
+ var wasPlaying:Boolean = myStatus.isPlaying;
+
+ if(!isNaN(time) && myStatus.srcSet) {
+ if(myStatus.isPlaying) {
+ myStream.pause();
+ myStatus.isPlaying = false;
+ }
+ myStatus.pausePosition = time;
+ }
+
+ if(myStatus.isStartingDownload) {
+ myStatus.playOnLoad = true; // Raise flag, captured in onMetaDataHandler()
+ return true;
+ } else if(myStatus.loadRequired()) {
+ myStatus.playOnLoad = true; // Raise flag, captured in onMetaDataHandler()
+ return load();
+ } else if((myStatus.isLoading || myStatus.isLoaded) && !myStatus.isPlaying) {
+ if(myStatus.metaDataReady && myStatus.pausePosition > myStatus.duration && connectString.streamTYPE != "LIVE") { // The time is invalid, ie., past the end.
+ myStream.pause(); // Since it is playing by default at this point.
+ myStatus.pausePosition = 0;
+ trace("SEEKER!");
+ myStream.seek(0);
+ timeUpdates(false);
+ timeUpdateEvent();
+ if(wasPlaying) { // For when playing and then get a play(huge)
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_PAUSE, myStatus));
+ }
+ } else if(getSeekTimeRatio() > getLoadRatio()) { // Use an estimate based on the downloaded amount
+ myStatus.playOnSeek = true;
+ seeking(true);
+ trace("SEEKER PAUSE!");
+ myStream.pause(); // Since it is playing by default at this point.
+ } else {
+ if(!isNaN(time)) { // Avoid using seek() when it is already correct.
+ trace("SEEKER3");
+ myStream.seek(myStatus.pausePosition/1000); // Since time is in ms and seek() takes seconds
+ }
+ myStatus.isPlaying = true; // Set immediately before playing. Could affects events.
+ trace("SHOULD GET RESUME!");
+ myStream.resume();
+ timeUpdates(true);
+ if(!wasPlaying) {
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_PLAY, myStatus));
+ }
+ }
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ public function pause(time:Number=NaN):Boolean
+ {
+ //trace("PAUSE: "+time);
+ myStatus.playOnLoad = false;// Reset flag in case load/play issued immediately before this command, ie., before onMetadata() event.
+ myStatus.playOnSeek = false;// Reset flag in case play(time) issued before the command and is still seeking to time set.
+
+ var wasPlaying:Boolean = myStatus.isPlaying;
+
+
+ // To avoid possible loops with timeupdate and pause(time). A pause() does not have the problem.
+ var alreadyPausedAtTime:Boolean = false;
+ if(!isNaN(time) && myStatus.pausePosition == time) {
+ alreadyPausedAtTime = true;
+ }
+
+ trace("!isNaN: "+!isNaN(time) +" isNaN: "+isNaN(time));
+
+ // Need to wait for metadata to load before ever issuing a pause. The metadata handler will call this function if needed, when ready.
+ if (((myStream != null) && myStatus.metaDataReady))
+ {// myStream is a null until the 1st media is loaded. ie., The 1st ever setMedia being followed by a pause() or pause(t).
+
+ if(connectString.streamTYPE == "LIVE") {
+ trace("PAUSING LIVE");
+ myStream.play(false)
+ } else {
+ trace("PAUSING RECORDED");
+ myStream.pause();
+ }
+ }
+ if (myStatus.isPlaying)
+ {
+ myStatus.isPlaying = false;
+ myStatus.pausePosition = myStream.time * 1000;
+ }
+
+ if (! isNaN(time) && myStatus.srcSet)
+ {
+ myStatus.pausePosition = time;
+ }
+
+ if (wasPlaying)
+ {
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_PAUSE,myStatus));
+ }
+
+ if (myStatus.isStartingDownload)
+ {
+ return true;
+ }
+ else if (myStatus.loadRequired())
+ {
+ if ((time > 0))
+ {// We do not want the stop() command, which does pause(0), causing a load operation.
+ return load();
+ }
+ else
+ {
+ return true;// Technically the pause(0) succeeded. ie., It did nothing, since nothing was required.
+ }
+ }
+ else if (myStatus.isLoading || myStatus.isLoaded)
+ {
+ if (myStatus.metaDataReady && myStatus.pausePosition > myStatus.duration && connectString.streamTYPE != "LIVE" )
+ {// The time is invalid, ie., past the end.
+ myStatus.pausePosition = 0;
+
+ trace("GOT HERE!");
+ myStream.seek(0);
+ seekedEvent();// Deals with seeking effect when using setMedia() then pause(huge). NB: There is no preceeding seeking event.
+ }
+ else if (! isNaN(time))
+ {
+ if ((getSeekTimeRatio() > getLoadRatio()))
+ {// Use an estimate based on the downloaded amount
+ seeking(true);
+ }
+ else
+ {
+ if (myStatus.metaDataReady && connectString.streamTYPE != "LIVE")
+ {// Otherwise seek(0) will stop the metadata loading.
+ trace("GOT HERE TOO!");
+ myStream.seek(myStatus.pausePosition / 1000);
+ }
+ }
+ }
+ timeUpdates(false);
+ // Need to be careful with timeupdate event, otherwise a pause in a timeupdate event can cause a loop.
+ // Neither pause() nor pause(time) will cause a timeupdate loop.
+ if(wasPlaying || !isNaN(time) && !alreadyPausedAtTime) {
+ timeUpdateEvent();
+ }
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+ }
+ public function playHead(percent:Number):Boolean
+ {
+ var time:Number = percent * getDuration() * getLoadRatio() / 100;
+ if (myStatus.isPlaying || myStatus.playOnLoad || myStatus.playOnSeek)
+ {
+ return play(time);
+ }
+ else
+ {
+ return pause(time);
+ }
+ }
+ public function setVolume(v:Number):void
+ {
+ myStatus.volume = v;
+ myTransform.volume = v;
+ if ((myStream != null))
+ {
+ myStream.soundTransform = myTransform;
+ }
+ }
+ private function updateStatusValues():void
+ {
+ //myStatus.seekPercent = 100 * getLoadRatio();
+ myStatus.seekPercent = 100;
+ myStatus.currentTime = getCurrentTime();
+ myStatus.currentPercentRelative = 100 * getCurrentRatioRel();
+ myStatus.currentPercentAbsolute = 100 * getCurrentRatioAbs();
+ myStatus.duration = getDuration();
+ }
+ public function getLoadRatio():Number
+ {
+ return 1;
+ /*trace("LoadRatio:"+myStream.bytesLoaded, myStream.bytesTotal);
+ if((myStatus.isLoading || myStatus.isLoaded) && myStream.bytesTotal > 0) {
+
+ return myStream.bytesLoaded / myStream.bytesTotal;
+ } else {
+ return 0;
+ }
+ */
+
+ }
+ public function getDuration():Number
+ {
+ return myStatus.duration;// Set from meta data.
+ }
+ public function getCurrentTime():Number
+ {
+ if (myStatus.isPlaying)
+ {
+ //trace(myStream.time * 1000);
+ return myStream.time * 1000; // was +1000
+ }
+ else
+ {
+ return myStatus.pausePosition;
+ }
+ }
+ public function getCurrentRatioRel():Number
+ {
+
+ if ((getCurrentRatioAbs() <= getLoadRatio()))
+ {
+ //if((getLoadRatio() > 0) && (getCurrentRatioAbs() <= getLoadRatio())) {
+ return getCurrentRatioAbs() / getLoadRatio();
+ }
+ else
+ {
+ return 0;
+ }
+ }
+ public function getCurrentRatioAbs():Number
+ {
+ if ((getDuration() > 0))
+ {
+ return getCurrentTime() / getDuration();
+ }
+ else
+ {
+ return 0;
+ }
+ }
+ public function getSeekTimeRatio():Number
+ {
+ if ((getDuration() > 0))
+ {
+ return myStatus.pausePosition / getDuration();
+ }
+ else
+ {
+ return 1;
+ }
+ }
+ public function onPlayStatusHandler(infoObject:Object):void
+ {
+ trace((("OnPlayStatusHandler called: (" + getTimer()) + " ms)"));
+ for (var prop:* in infoObject)
+ {
+ trace(((("\t" + prop) + ":\t") + infoObject[prop]));
+ }
+ if (infoObject.code == "NetStream.Play.Complete")
+ {
+ endedEvent();
+ }
+ }
+
+ public function onMetaDataHandler(info:Object):void
+ {// Used in connectStream() in myStream.client object.
+ // This event occurs when jumping to the start of static files! ie., seek(0) will cause this event to occur.
+
+ if (! myStatus.metaDataReady)
+ {
+ trace("\n\n*** METADATA FIRED! ***\n\n");
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"onMetaDataHandler: " + info.duration + " | " + info.width + "x" + info.height));
+
+ myStatus.metaDataReady = true;// Set flag so that this event only effects jPlayer the 1st time.
+ myStatus.metaData = info;
+ myStatus.duration = info.duration * 1000;// Only available via Meta Data.
+ if (info.width != undefined)
+ {
+ myVideo.width = myStatus.videoWidth = info.width;
+ }
+ if (info.height != undefined)
+ {
+ myVideo.height = myStatus.videoHeight = info.height;
+ }
+
+ if (myStatus.playOnLoad)
+ {
+ myStatus.playOnLoad = false;// Capture the flag
+ if (myStatus.pausePosition > 0)
+ {// Important for setMedia followed by play(time).
+ play(myStatus.pausePosition);
+ }
+ else
+ {
+ play();// Not always sending pausePosition avoids the extra seek(0) for a normal play() command.
+ }
+ }
+ else
+ {
+ pause(myStatus.pausePosition);// Always send the pausePosition. Important for setMedia() followed by pause(time). Deals with not reading stream.time with setMedia() and play() immediately followed by stop() or pause(0)
+ }
+ this.dispatchEvent(new JplayerEvent(JplayerEvent.JPLAYER_LOADEDMETADATA,myStatus));
+ }
+ else
+ {
+ //this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG,myStatus,"onMetaDataHandler: Already read (NO EFFECT)"));
+ }
+ }
+}
}
\ No newline at end of file
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/actionscript/happyworm/jPlayer/TraceOut.as b/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/actionscript/happyworm/jPlayer/TraceOut.as
index 75be070f..dcb14350 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/actionscript/happyworm/jPlayer/TraceOut.as
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/actionscript/happyworm/jPlayer/TraceOut.as
@@ -1,62 +1,62 @@
-/*
- * jPlayer Plugin for jQuery JavaScript Library
- * http://www.jplayer.org
- *
- * Copyright (c) 2009 - 2013 Happyworm Ltd
- * Licensed under the MIT license.
- * http://opensource.org/licenses/MIT
- *
- * Author: Robert M. Hall
- * Date: 7th August 2012
- */
-
-package happyworm.jPlayer
-{
- import flash.net.LocalConnection;
- import flash.events.StatusEvent;
- import flash.system.Capabilities;
- import flash.utils.getTimer;
-
- public class TraceOut
- {
-
- private var outgoing_lc:LocalConnection = new LocalConnection ();
- private var firstEvent:Boolean = true;
- private var _localAIRDebug:Boolean = false;
-
- public function TraceOut()
- {
- outgoing_lc.addEventListener(StatusEvent.STATUS, lcListener);
- outgoing_lc.send("_log_output","startLogging","");
- }
-
- private function lcListener(event:StatusEvent):void
- {
- // Must have this listener to avoid errors
- if (event.level == "error")
- {
- _localAIRDebug = false;
- }
- else if(event.level =="status" && firstEvent==true)
- {
- firstEvent = false;
- tracer("<< Successful Connection To Event Logger >>");
- tracer("DEBUG INFO: \n<"+Capabilities.serverString + ">\nFlash Player Version: " + Capabilities.version + "\n");
- _localAIRDebug = true;
- }
- }
-
- public function localAIRDebug():Boolean
- {
- return _localAIRDebug;
- }
-
- public function tracer(msg:String):void
- {
- trace(msg);
- var outMsg:String = "[" + getTimer() + "ms] " + msg;
- outgoing_lc.send("_log_output","displayMsg",outMsg);
-
- }
- }
-}
+/*
+ * jPlayer Plugin for jQuery JavaScript Library
+ * http://www.jplayer.org
+ *
+ * Copyright (c) 2009 - 2013 Happyworm Ltd
+ * Licensed under the MIT license.
+ * http://opensource.org/licenses/MIT
+ *
+ * Author: Robert M. Hall
+ * Date: 7th August 2012
+ */
+
+package happyworm.jPlayer
+{
+ import flash.net.LocalConnection;
+ import flash.events.StatusEvent;
+ import flash.system.Capabilities;
+ import flash.utils.getTimer;
+
+ public class TraceOut
+ {
+
+ private var outgoing_lc:LocalConnection = new LocalConnection ();
+ private var firstEvent:Boolean = true;
+ private var _localAIRDebug:Boolean = false;
+
+ public function TraceOut()
+ {
+ outgoing_lc.addEventListener(StatusEvent.STATUS, lcListener);
+ outgoing_lc.send("_log_output","startLogging","");
+ }
+
+ private function lcListener(event:StatusEvent):void
+ {
+ // Must have this listener to avoid errors
+ if (event.level == "error")
+ {
+ _localAIRDebug = false;
+ }
+ else if(event.level =="status" && firstEvent==true)
+ {
+ firstEvent = false;
+ tracer("<< Successful Connection To Event Logger >>");
+ tracer("DEBUG INFO: \n<"+Capabilities.serverString + ">\nFlash Player Version: " + Capabilities.version + "\n");
+ _localAIRDebug = true;
+ }
+ }
+
+ public function localAIRDebug():Boolean
+ {
+ return _localAIRDebug;
+ }
+
+ public function tracer(msg:String):void
+ {
+ trace(msg);
+ var outMsg:String = "[" + getTimer() + "ms] " + msg;
+ outgoing_lc.send("_log_output","displayMsg",outMsg);
+
+ }
+ }
+}
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/skin/blue.monday/jplayer.blue.monday.css b/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/skin/blue.monday/jplayer.blue.monday.css
index 1a5da65e..fa07bc51 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/skin/blue.monday/jplayer.blue.monday.css
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/skin/blue.monday/jplayer.blue.monday.css
@@ -1,640 +1,640 @@
-/*
- * Skin for jPlayer Plugin (jQuery JavaScript Library)
- * http://www.jplayer.org
- *
- * Skin Name: Blue Monday
- *
- * Copyright (c) 2010-2012 Happyworm Ltd
- * Dual licensed under the MIT and GPL licenses.
- * - http://www.opensource.org/licenses/mit-license.php
- * - http://www.gnu.org/copyleft/gpl.html
- *
- * Author: Silvia Benvenuti
- * Skin Version: 4.3 (jPlayer 2.2.0)
- * Date: 19th November 2012
- */
-
-div.jp-audio,
-div.jp-audio-stream,
-div.jp-video {
-
- /* Edit the font-size to counteract inherited font sizing.
- * Eg. 1.25em = 1 / 0.8em
- */
-
- font-size:1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */
-
- font-family:Verdana, Arial, sans-serif;
- line-height:1.6;
- color: #666;
- border:1px solid #009be3;
- background-color:#eee;
-}
-div.jp-audio {
- width:420px;
-}
-div.jp-audio-stream {
- width:182px;
-}
-div.jp-video-270p {
- width:480px;
-}
-div.jp-video-360p {
- width:640px;
-}
-div.jp-video-full {
- /* Rules for IE6 (full-screen) */
- width:480px;
- height:270px;
- /* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */
- position:static !important; position:relative;
-}
-
-/* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */
-div.jp-video-full div div {
- z-index:1000;
-}
-
-div.jp-video-full div.jp-jplayer {
- top: 0;
- left: 0;
- position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */
- overflow: hidden;
-}
-
-div.jp-video-full div.jp-gui {
- position: fixed !important; position: static; /* Rules for IE6 (full-screen) */
- top: 0;
- left: 0;
- width:100%;
- height:100%;
- z-index:1001; /* 1 layer above the others. */
-}
-
-div.jp-video-full div.jp-interface {
- position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */
- bottom: 0;
- left: 0;
-}
-
-div.jp-interface {
- position: relative;
- background-color:#eee;
- width:100%;
-}
-
-div.jp-audio div.jp-type-single div.jp-interface {
- height:80px;
-}
-div.jp-audio div.jp-type-playlist div.jp-interface {
- height:80px;
-}
-
-div.jp-audio-stream div.jp-type-single div.jp-interface {
- height:80px;
-}
-
-div.jp-video div.jp-interface {
- border-top:1px solid #009be3;
-}
-
-/* @group CONTROLS */
-
-div.jp-controls-holder {
- clear: both;
- width:440px;
- margin:0 auto;
- position: relative;
- overflow:hidden;
- top:-8px; /* This negative value depends on the size of the text in jp-currentTime and jp-duration */
-}
-
-div.jp-interface ul.jp-controls {
- list-style-type:none;
- margin:0;
- padding: 0;
- overflow:hidden;
-}
-
-div.jp-audio ul.jp-controls {
- width: 380px;
- padding:20px 20px 0 20px;
-}
-
-div.jp-audio-stream ul.jp-controls {
- width: 142px;
- padding:20px 20px 0 20px;
-}
-
-div.jp-video div.jp-type-single ul.jp-controls {
- width: 78px;
- margin-left: 200px;
-}
-
-div.jp-video div.jp-type-playlist ul.jp-controls {
- width: 134px;
- margin-left: 172px;
-}
-div.jp-video ul.jp-controls,
-div.jp-interface ul.jp-controls li {
- display:inline;
- float: left;
-}
-
-div.jp-interface ul.jp-controls a {
- display:block;
- overflow:hidden;
- text-indent:-9999px;
-}
-a.jp-play,
-a.jp-pause {
- width:40px;
- height:40px;
-}
-
-a.jp-play {
- background: url("jplayer.blue.monday.jpg") 0 0 no-repeat;
-}
-a.jp-play:hover {
- background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat;
-}
-a.jp-pause {
- background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat;
- display: none;
-}
-a.jp-pause:hover {
- background: url("jplayer.blue.monday.jpg") -41px -42px no-repeat;
-}
-
-a.jp-stop, a.jp-previous, a.jp-next {
- width:28px;
- height:28px;
- margin-top:6px;
-}
-
-a.jp-stop {
- background: url("jplayer.blue.monday.jpg") 0 -83px no-repeat;
- margin-left:10px;
-}
-
-a.jp-stop:hover {
- background: url("jplayer.blue.monday.jpg") -29px -83px no-repeat;
-}
-
-a.jp-previous {
- background: url("jplayer.blue.monday.jpg") 0 -112px no-repeat;
-}
-a.jp-previous:hover {
- background: url("jplayer.blue.monday.jpg") -29px -112px no-repeat;
-}
-
-a.jp-next {
- background: url("jplayer.blue.monday.jpg") 0 -141px no-repeat;
-}
-a.jp-next:hover {
- background: url("jplayer.blue.monday.jpg") -29px -141px no-repeat;
-}
-
-/* @end */
-
-/* @group progress bar */
-
-div.jp-progress {
- overflow:hidden;
- background-color: #ddd;
-}
-div.jp-audio div.jp-progress {
- position: absolute;
- top:32px;
- height:15px;
-}
-div.jp-audio div.jp-type-single div.jp-progress {
- left:110px;
- width:186px;
-}
-div.jp-audio div.jp-type-playlist div.jp-progress {
- left:166px;
- width:130px;
-}
-div.jp-video div.jp-progress {
- top:0px;
- left:0px;
- width:100%;
- height:10px;
-}
-div.jp-seek-bar {
- background: url("jplayer.blue.monday.jpg") 0 -202px repeat-x;
- width:0px;
- height:100%;
- cursor: pointer;
-}
-div.jp-play-bar {
- background: url("jplayer.blue.monday.jpg") 0 -218px repeat-x ;
- width:0px;
- height:100%;
-}
-
-/* The seeking class is added/removed inside jPlayer */
-div.jp-seeking-bg {
- background: url("jplayer.blue.monday.seeking.gif");
-}
-
-/* @end */
-
-/* @group volume controls */
-
-
-a.jp-mute,
-a.jp-unmute,
-a.jp-volume-max {
- width:18px;
- height:15px;
- margin-top:12px;
-}
-
-div.jp-audio div.jp-type-single a.jp-mute,
-div.jp-audio div.jp-type-single a.jp-unmute {
- margin-left: 210px;
-}
-div.jp-audio div.jp-type-playlist a.jp-mute,
-div.jp-audio div.jp-type-playlist a.jp-unmute {
- margin-left: 154px;
-}
-
-div.jp-audio-stream div.jp-type-single a.jp-mute,
-div.jp-audio-stream div.jp-type-single a.jp-unmute {
- margin-left:10px;
-}
-
-div.jp-audio a.jp-volume-max,
-div.jp-audio-stream a.jp-volume-max {
- margin-left: 56px;
-}
-
-div.jp-video a.jp-mute,
-div.jp-video a.jp-unmute,
-div.jp-video a.jp-volume-max {
- position: absolute;
- top:12px;
- margin-top:0;
-}
-
-div.jp-video a.jp-mute,
-div.jp-video a.jp-unmute {
- left: 50px;
-}
-
-div.jp-video a.jp-volume-max {
- left: 134px;
-}
-
-a.jp-mute {
- background: url("jplayer.blue.monday.jpg") 0 -170px no-repeat;
-}
-a.jp-mute:hover {
- background: url("jplayer.blue.monday.jpg") -19px -170px no-repeat;
-}
-a.jp-unmute {
- background: url("jplayer.blue.monday.jpg") -60px -170px no-repeat;
- display: none;
-}
-a.jp-unmute:hover {
- background: url("jplayer.blue.monday.jpg") -79px -170px no-repeat;
-}
-a.jp-volume-max {
- background: url("jplayer.blue.monday.jpg") 0 -186px no-repeat;
-}
-a.jp-volume-max:hover {
- background: url("jplayer.blue.monday.jpg") -19px -186px no-repeat;
-}
-
-div.jp-volume-bar {
- position: absolute;
- overflow:hidden;
- background: url("jplayer.blue.monday.jpg") 0 -250px repeat-x;
- width:46px;
- height:5px;
- cursor: pointer;
-}
-div.jp-audio div.jp-volume-bar {
- top:37px;
- left:330px;
-}
-div.jp-audio-stream div.jp-volume-bar {
- top:37px;
- left:92px;
-}
-div.jp-video div.jp-volume-bar {
- top:17px;
- left:72px;
-}
-div.jp-volume-bar-value {
- background: url("jplayer.blue.monday.jpg") 0 -256px repeat-x;
- width:0px;
- height:5px;
-}
-
-/* @end */
-
-/* @group current time and duration */
-
-div.jp-audio div.jp-time-holder {
- position:absolute;
- top:50px;
-}
-div.jp-audio div.jp-type-single div.jp-time-holder {
- left:110px;
- width:186px;
-}
-div.jp-audio div.jp-type-playlist div.jp-time-holder {
- left:166px;
- width:130px;
-}
-
-div.jp-current-time,
-div.jp-duration {
- width:60px;
- font-size:.64em;
- font-style:oblique;
-}
-div.jp-current-time {
- float: left;
- display:inline;
-}
-div.jp-duration {
- float: right;
- display:inline;
- text-align: right;
-}
-
-div.jp-video div.jp-current-time {
- margin-left:20px;
-}
-div.jp-video div.jp-duration {
- margin-right:20px;
-}
-
-/* @end */
-
-/* @group playlist */
-
-div.jp-title {
- font-weight:bold;
- text-align:center;
-}
-
-div.jp-title,
-div.jp-playlist {
- width:100%;
- background-color:#ccc;
- border-top:1px solid #009be3;
-}
-div.jp-type-single div.jp-title,
-div.jp-type-playlist div.jp-title,
-div.jp-type-single div.jp-playlist {
- border-top:none;
-}
-div.jp-title ul,
-div.jp-playlist ul {
- list-style-type:none;
- margin:0;
- padding:0 20px;
- font-size:.72em;
-}
-
-div.jp-title li {
- padding:5px 0;
- font-weight:bold;
-}
-div.jp-playlist li {
- padding:5px 0 4px 20px;
- border-bottom:1px solid #eee;
-}
-
-div.jp-playlist li div {
- display:inline;
-}
-
-/* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */
-
-div.jp-type-playlist div.jp-playlist li:last-child {
- padding:5px 0 5px 20px;
- border-bottom:none;
-}
-div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
- list-style-type:square;
- list-style-position:inside;
- padding-left:7px;
-}
-div.jp-type-playlist div.jp-playlist a {
- color: #333;
- text-decoration: none;
-}
-div.jp-type-playlist div.jp-playlist a:hover {
- color:#0d88c1;
-}
-div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
- color:#0d88c1;
-}
-
-div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove {
- float:right;
- display:inline;
- text-align:right;
- margin-right:10px;
- font-weight:bold;
- color:#666;
-}
-div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover {
- color:#0d88c1;
-}
-div.jp-type-playlist div.jp-playlist span.jp-free-media {
- float:right;
- display:inline;
- text-align:right;
- margin-right:10px;
-}
-div.jp-type-playlist div.jp-playlist span.jp-free-media a{
- color:#666;
-}
-div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{
- color:#0d88c1;
-}
-span.jp-artist {
- font-size:.8em;
- color:#666;
-}
-
-/* @end */
-
-div.jp-video-play {
- width:100%;
- overflow:hidden; /* Important for nested negative margins to work in modern browsers */
- cursor:pointer;
- background-color:rgba(0,0,0,0); /* Makes IE9 work with the active area over the whole video area. IE6/7/8 only have the button as active area. */
-}
-div.jp-video-270p div.jp-video-play {
- margin-top:-270px;
- height:270px;
-}
-div.jp-video-360p div.jp-video-play {
- margin-top:-360px;
- height:360px;
-}
-div.jp-video-full div.jp-video-play {
- height:100%;
-}
-a.jp-video-play-icon {
- position:relative;
- display:block;
- width: 112px;
- height: 100px;
-
- margin-left:-56px;
- margin-top:-50px;
- left:50%;
- top:50%;
-
- background: url("jplayer.blue.monday.video.play.png") 0 0 no-repeat;
- text-indent:-9999px;
-}
-div.jp-video-play:hover a.jp-video-play-icon {
- background: url("jplayer.blue.monday.video.play.png") 0 -100px no-repeat;
-}
-
-
-
-
-
-div.jp-jplayer audio,
-div.jp-jplayer {
- width:0px;
- height:0px;
-}
-
-div.jp-jplayer {
- background-color: #000000;
-}
-
-
-
-
-
-/* @group TOGGLES */
-
-/* The audio toggles are nested inside jp-time-holder */
-
-ul.jp-toggles {
- list-style-type:none;
- padding:0;
- margin:0 auto;
- overflow:hidden;
-}
-
-div.jp-audio .jp-type-single ul.jp-toggles {
- width:25px;
-}
-div.jp-audio .jp-type-playlist ul.jp-toggles {
- width:55px;
- margin: 0;
- position: absolute;
- left: 325px;
- top: 50px;
-}
-
-div.jp-video ul.jp-toggles {
- margin-top:10px;
- width:100px;
-}
-
-ul.jp-toggles li {
- display:block;
- float:right;
-}
-
-ul.jp-toggles li a {
- display:block;
- width:25px;
- height:18px;
- text-indent:-9999px;
- line-height:100%; /* need this for IE6 */
-}
-
-a.jp-full-screen {
- background: url("jplayer.blue.monday.jpg") 0 -310px no-repeat;
- margin-left: 20px;
-}
-
-a.jp-full-screen:hover {
- background: url("jplayer.blue.monday.jpg") -30px -310px no-repeat;
-}
-
-a.jp-restore-screen {
- background: url("jplayer.blue.monday.jpg") -60px -310px no-repeat;
- margin-left: 20px;
-}
-
-a.jp-restore-screen:hover {
- background: url("jplayer.blue.monday.jpg") -90px -310px no-repeat;
-}
-
-a.jp-repeat {
- background: url("jplayer.blue.monday.jpg") 0 -290px no-repeat;
-}
-
-a.jp-repeat:hover {
- background: url("jplayer.blue.monday.jpg") -30px -290px no-repeat;
-}
-
-a.jp-repeat-off {
- background: url("jplayer.blue.monday.jpg") -60px -290px no-repeat;
-}
-
-a.jp-repeat-off:hover {
- background: url("jplayer.blue.monday.jpg") -90px -290px no-repeat;
-}
-
-a.jp-shuffle {
- background: url("jplayer.blue.monday.jpg") 0 -270px no-repeat;
- margin-left: 5px;
-}
-
-a.jp-shuffle:hover {
- background: url("jplayer.blue.monday.jpg") -30px -270px no-repeat;
-}
-
-a.jp-shuffle-off {
- background: url("jplayer.blue.monday.jpg") -60px -270px no-repeat;
- margin-left: 5px;
-}
-
-a.jp-shuffle-off:hover {
- background: url("jplayer.blue.monday.jpg") -90px -270px no-repeat;
-}
-
-
-/* @end */
-
-/* @group NO SOLUTION error feedback */
-
-.jp-no-solution {
- padding:5px;
- font-size:.8em;
- background-color:#eee;
- border:2px solid #009be3;
- color:#000;
- display:none;
-}
-
-.jp-no-solution a {
- color:#000;
-}
-
-.jp-no-solution span {
- font-size:1em;
- display:block;
- text-align:center;
- font-weight:bold;
-}
-
-/* @end */
+/*
+ * Skin for jPlayer Plugin (jQuery JavaScript Library)
+ * http://www.jplayer.org
+ *
+ * Skin Name: Blue Monday
+ *
+ * Copyright (c) 2010-2012 Happyworm Ltd
+ * Dual licensed under the MIT and GPL licenses.
+ * - http://www.opensource.org/licenses/mit-license.php
+ * - http://www.gnu.org/copyleft/gpl.html
+ *
+ * Author: Silvia Benvenuti
+ * Skin Version: 4.3 (jPlayer 2.2.0)
+ * Date: 19th November 2012
+ */
+
+div.jp-audio,
+div.jp-audio-stream,
+div.jp-video {
+
+ /* Edit the font-size to counteract inherited font sizing.
+ * Eg. 1.25em = 1 / 0.8em
+ */
+
+ font-size:1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */
+
+ font-family:Verdana, Arial, sans-serif;
+ line-height:1.6;
+ color: #666;
+ border:1px solid #009be3;
+ background-color:#eee;
+}
+div.jp-audio {
+ width:420px;
+}
+div.jp-audio-stream {
+ width:182px;
+}
+div.jp-video-270p {
+ width:480px;
+}
+div.jp-video-360p {
+ width:640px;
+}
+div.jp-video-full {
+ /* Rules for IE6 (full-screen) */
+ width:480px;
+ height:270px;
+ /* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */
+ position:static !important; position:relative;
+}
+
+/* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */
+div.jp-video-full div div {
+ z-index:1000;
+}
+
+div.jp-video-full div.jp-jplayer {
+ top: 0;
+ left: 0;
+ position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */
+ overflow: hidden;
+}
+
+div.jp-video-full div.jp-gui {
+ position: fixed !important; position: static; /* Rules for IE6 (full-screen) */
+ top: 0;
+ left: 0;
+ width:100%;
+ height:100%;
+ z-index:1001; /* 1 layer above the others. */
+}
+
+div.jp-video-full div.jp-interface {
+ position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */
+ bottom: 0;
+ left: 0;
+}
+
+div.jp-interface {
+ position: relative;
+ background-color:#eee;
+ width:100%;
+}
+
+div.jp-audio div.jp-type-single div.jp-interface {
+ height:80px;
+}
+div.jp-audio div.jp-type-playlist div.jp-interface {
+ height:80px;
+}
+
+div.jp-audio-stream div.jp-type-single div.jp-interface {
+ height:80px;
+}
+
+div.jp-video div.jp-interface {
+ border-top:1px solid #009be3;
+}
+
+/* @group CONTROLS */
+
+div.jp-controls-holder {
+ clear: both;
+ width:440px;
+ margin:0 auto;
+ position: relative;
+ overflow:hidden;
+ top:-8px; /* This negative value depends on the size of the text in jp-currentTime and jp-duration */
+}
+
+div.jp-interface ul.jp-controls {
+ list-style-type:none;
+ margin:0;
+ padding: 0;
+ overflow:hidden;
+}
+
+div.jp-audio ul.jp-controls {
+ width: 380px;
+ padding:20px 20px 0 20px;
+}
+
+div.jp-audio-stream ul.jp-controls {
+ width: 142px;
+ padding:20px 20px 0 20px;
+}
+
+div.jp-video div.jp-type-single ul.jp-controls {
+ width: 78px;
+ margin-left: 200px;
+}
+
+div.jp-video div.jp-type-playlist ul.jp-controls {
+ width: 134px;
+ margin-left: 172px;
+}
+div.jp-video ul.jp-controls,
+div.jp-interface ul.jp-controls li {
+ display:inline;
+ float: left;
+}
+
+div.jp-interface ul.jp-controls a {
+ display:block;
+ overflow:hidden;
+ text-indent:-9999px;
+}
+a.jp-play,
+a.jp-pause {
+ width:40px;
+ height:40px;
+}
+
+a.jp-play {
+ background: url("jplayer.blue.monday.jpg") 0 0 no-repeat;
+}
+a.jp-play:hover {
+ background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat;
+}
+a.jp-pause {
+ background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat;
+ display: none;
+}
+a.jp-pause:hover {
+ background: url("jplayer.blue.monday.jpg") -41px -42px no-repeat;
+}
+
+a.jp-stop, a.jp-previous, a.jp-next {
+ width:28px;
+ height:28px;
+ margin-top:6px;
+}
+
+a.jp-stop {
+ background: url("jplayer.blue.monday.jpg") 0 -83px no-repeat;
+ margin-left:10px;
+}
+
+a.jp-stop:hover {
+ background: url("jplayer.blue.monday.jpg") -29px -83px no-repeat;
+}
+
+a.jp-previous {
+ background: url("jplayer.blue.monday.jpg") 0 -112px no-repeat;
+}
+a.jp-previous:hover {
+ background: url("jplayer.blue.monday.jpg") -29px -112px no-repeat;
+}
+
+a.jp-next {
+ background: url("jplayer.blue.monday.jpg") 0 -141px no-repeat;
+}
+a.jp-next:hover {
+ background: url("jplayer.blue.monday.jpg") -29px -141px no-repeat;
+}
+
+/* @end */
+
+/* @group progress bar */
+
+div.jp-progress {
+ overflow:hidden;
+ background-color: #ddd;
+}
+div.jp-audio div.jp-progress {
+ position: absolute;
+ top:32px;
+ height:15px;
+}
+div.jp-audio div.jp-type-single div.jp-progress {
+ left:110px;
+ width:186px;
+}
+div.jp-audio div.jp-type-playlist div.jp-progress {
+ left:166px;
+ width:130px;
+}
+div.jp-video div.jp-progress {
+ top:0px;
+ left:0px;
+ width:100%;
+ height:10px;
+}
+div.jp-seek-bar {
+ background: url("jplayer.blue.monday.jpg") 0 -202px repeat-x;
+ width:0px;
+ height:100%;
+ cursor: pointer;
+}
+div.jp-play-bar {
+ background: url("jplayer.blue.monday.jpg") 0 -218px repeat-x ;
+ width:0px;
+ height:100%;
+}
+
+/* The seeking class is added/removed inside jPlayer */
+div.jp-seeking-bg {
+ background: url("jplayer.blue.monday.seeking.gif");
+}
+
+/* @end */
+
+/* @group volume controls */
+
+
+a.jp-mute,
+a.jp-unmute,
+a.jp-volume-max {
+ width:18px;
+ height:15px;
+ margin-top:12px;
+}
+
+div.jp-audio div.jp-type-single a.jp-mute,
+div.jp-audio div.jp-type-single a.jp-unmute {
+ margin-left: 210px;
+}
+div.jp-audio div.jp-type-playlist a.jp-mute,
+div.jp-audio div.jp-type-playlist a.jp-unmute {
+ margin-left: 154px;
+}
+
+div.jp-audio-stream div.jp-type-single a.jp-mute,
+div.jp-audio-stream div.jp-type-single a.jp-unmute {
+ margin-left:10px;
+}
+
+div.jp-audio a.jp-volume-max,
+div.jp-audio-stream a.jp-volume-max {
+ margin-left: 56px;
+}
+
+div.jp-video a.jp-mute,
+div.jp-video a.jp-unmute,
+div.jp-video a.jp-volume-max {
+ position: absolute;
+ top:12px;
+ margin-top:0;
+}
+
+div.jp-video a.jp-mute,
+div.jp-video a.jp-unmute {
+ left: 50px;
+}
+
+div.jp-video a.jp-volume-max {
+ left: 134px;
+}
+
+a.jp-mute {
+ background: url("jplayer.blue.monday.jpg") 0 -170px no-repeat;
+}
+a.jp-mute:hover {
+ background: url("jplayer.blue.monday.jpg") -19px -170px no-repeat;
+}
+a.jp-unmute {
+ background: url("jplayer.blue.monday.jpg") -60px -170px no-repeat;
+ display: none;
+}
+a.jp-unmute:hover {
+ background: url("jplayer.blue.monday.jpg") -79px -170px no-repeat;
+}
+a.jp-volume-max {
+ background: url("jplayer.blue.monday.jpg") 0 -186px no-repeat;
+}
+a.jp-volume-max:hover {
+ background: url("jplayer.blue.monday.jpg") -19px -186px no-repeat;
+}
+
+div.jp-volume-bar {
+ position: absolute;
+ overflow:hidden;
+ background: url("jplayer.blue.monday.jpg") 0 -250px repeat-x;
+ width:46px;
+ height:5px;
+ cursor: pointer;
+}
+div.jp-audio div.jp-volume-bar {
+ top:37px;
+ left:330px;
+}
+div.jp-audio-stream div.jp-volume-bar {
+ top:37px;
+ left:92px;
+}
+div.jp-video div.jp-volume-bar {
+ top:17px;
+ left:72px;
+}
+div.jp-volume-bar-value {
+ background: url("jplayer.blue.monday.jpg") 0 -256px repeat-x;
+ width:0px;
+ height:5px;
+}
+
+/* @end */
+
+/* @group current time and duration */
+
+div.jp-audio div.jp-time-holder {
+ position:absolute;
+ top:50px;
+}
+div.jp-audio div.jp-type-single div.jp-time-holder {
+ left:110px;
+ width:186px;
+}
+div.jp-audio div.jp-type-playlist div.jp-time-holder {
+ left:166px;
+ width:130px;
+}
+
+div.jp-current-time,
+div.jp-duration {
+ width:60px;
+ font-size:.64em;
+ font-style:oblique;
+}
+div.jp-current-time {
+ float: left;
+ display:inline;
+}
+div.jp-duration {
+ float: right;
+ display:inline;
+ text-align: right;
+}
+
+div.jp-video div.jp-current-time {
+ margin-left:20px;
+}
+div.jp-video div.jp-duration {
+ margin-right:20px;
+}
+
+/* @end */
+
+/* @group playlist */
+
+div.jp-title {
+ font-weight:bold;
+ text-align:center;
+}
+
+div.jp-title,
+div.jp-playlist {
+ width:100%;
+ background-color:#ccc;
+ border-top:1px solid #009be3;
+}
+div.jp-type-single div.jp-title,
+div.jp-type-playlist div.jp-title,
+div.jp-type-single div.jp-playlist {
+ border-top:none;
+}
+div.jp-title ul,
+div.jp-playlist ul {
+ list-style-type:none;
+ margin:0;
+ padding:0 20px;
+ font-size:.72em;
+}
+
+div.jp-title li {
+ padding:5px 0;
+ font-weight:bold;
+}
+div.jp-playlist li {
+ padding:5px 0 4px 20px;
+ border-bottom:1px solid #eee;
+}
+
+div.jp-playlist li div {
+ display:inline;
+}
+
+/* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */
+
+div.jp-type-playlist div.jp-playlist li:last-child {
+ padding:5px 0 5px 20px;
+ border-bottom:none;
+}
+div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
+ list-style-type:square;
+ list-style-position:inside;
+ padding-left:7px;
+}
+div.jp-type-playlist div.jp-playlist a {
+ color: #333;
+ text-decoration: none;
+}
+div.jp-type-playlist div.jp-playlist a:hover {
+ color:#0d88c1;
+}
+div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
+ color:#0d88c1;
+}
+
+div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove {
+ float:right;
+ display:inline;
+ text-align:right;
+ margin-right:10px;
+ font-weight:bold;
+ color:#666;
+}
+div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover {
+ color:#0d88c1;
+}
+div.jp-type-playlist div.jp-playlist span.jp-free-media {
+ float:right;
+ display:inline;
+ text-align:right;
+ margin-right:10px;
+}
+div.jp-type-playlist div.jp-playlist span.jp-free-media a{
+ color:#666;
+}
+div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{
+ color:#0d88c1;
+}
+span.jp-artist {
+ font-size:.8em;
+ color:#666;
+}
+
+/* @end */
+
+div.jp-video-play {
+ width:100%;
+ overflow:hidden; /* Important for nested negative margins to work in modern browsers */
+ cursor:pointer;
+ background-color:rgba(0,0,0,0); /* Makes IE9 work with the active area over the whole video area. IE6/7/8 only have the button as active area. */
+}
+div.jp-video-270p div.jp-video-play {
+ margin-top:-270px;
+ height:270px;
+}
+div.jp-video-360p div.jp-video-play {
+ margin-top:-360px;
+ height:360px;
+}
+div.jp-video-full div.jp-video-play {
+ height:100%;
+}
+a.jp-video-play-icon {
+ position:relative;
+ display:block;
+ width: 112px;
+ height: 100px;
+
+ margin-left:-56px;
+ margin-top:-50px;
+ left:50%;
+ top:50%;
+
+ background: url("jplayer.blue.monday.video.play.png") 0 0 no-repeat;
+ text-indent:-9999px;
+}
+div.jp-video-play:hover a.jp-video-play-icon {
+ background: url("jplayer.blue.monday.video.play.png") 0 -100px no-repeat;
+}
+
+
+
+
+
+div.jp-jplayer audio,
+div.jp-jplayer {
+ width:0px;
+ height:0px;
+}
+
+div.jp-jplayer {
+ background-color: #000000;
+}
+
+
+
+
+
+/* @group TOGGLES */
+
+/* The audio toggles are nested inside jp-time-holder */
+
+ul.jp-toggles {
+ list-style-type:none;
+ padding:0;
+ margin:0 auto;
+ overflow:hidden;
+}
+
+div.jp-audio .jp-type-single ul.jp-toggles {
+ width:25px;
+}
+div.jp-audio .jp-type-playlist ul.jp-toggles {
+ width:55px;
+ margin: 0;
+ position: absolute;
+ left: 325px;
+ top: 50px;
+}
+
+div.jp-video ul.jp-toggles {
+ margin-top:10px;
+ width:100px;
+}
+
+ul.jp-toggles li {
+ display:block;
+ float:right;
+}
+
+ul.jp-toggles li a {
+ display:block;
+ width:25px;
+ height:18px;
+ text-indent:-9999px;
+ line-height:100%; /* need this for IE6 */
+}
+
+a.jp-full-screen {
+ background: url("jplayer.blue.monday.jpg") 0 -310px no-repeat;
+ margin-left: 20px;
+}
+
+a.jp-full-screen:hover {
+ background: url("jplayer.blue.monday.jpg") -30px -310px no-repeat;
+}
+
+a.jp-restore-screen {
+ background: url("jplayer.blue.monday.jpg") -60px -310px no-repeat;
+ margin-left: 20px;
+}
+
+a.jp-restore-screen:hover {
+ background: url("jplayer.blue.monday.jpg") -90px -310px no-repeat;
+}
+
+a.jp-repeat {
+ background: url("jplayer.blue.monday.jpg") 0 -290px no-repeat;
+}
+
+a.jp-repeat:hover {
+ background: url("jplayer.blue.monday.jpg") -30px -290px no-repeat;
+}
+
+a.jp-repeat-off {
+ background: url("jplayer.blue.monday.jpg") -60px -290px no-repeat;
+}
+
+a.jp-repeat-off:hover {
+ background: url("jplayer.blue.monday.jpg") -90px -290px no-repeat;
+}
+
+a.jp-shuffle {
+ background: url("jplayer.blue.monday.jpg") 0 -270px no-repeat;
+ margin-left: 5px;
+}
+
+a.jp-shuffle:hover {
+ background: url("jplayer.blue.monday.jpg") -30px -270px no-repeat;
+}
+
+a.jp-shuffle-off {
+ background: url("jplayer.blue.monday.jpg") -60px -270px no-repeat;
+ margin-left: 5px;
+}
+
+a.jp-shuffle-off:hover {
+ background: url("jplayer.blue.monday.jpg") -90px -270px no-repeat;
+}
+
+
+/* @end */
+
+/* @group NO SOLUTION error feedback */
+
+.jp-no-solution {
+ padding:5px;
+ font-size:.8em;
+ background-color:#eee;
+ border:2px solid #009be3;
+ color:#000;
+ display:none;
+}
+
+.jp-no-solution a {
+ color:#000;
+}
+
+.jp-no-solution span {
+ font-size:1em;
+ display:block;
+ text-align:center;
+ font-weight:bold;
+}
+
+/* @end */
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/skin_ol/blue.monday/jplayer.blue.monday.css b/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/skin_ol/blue.monday/jplayer.blue.monday.css
index 1a5da65e..fa07bc51 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/skin_ol/blue.monday/jplayer.blue.monday.css
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/js/jPlayer/skin_ol/blue.monday/jplayer.blue.monday.css
@@ -1,640 +1,640 @@
-/*
- * Skin for jPlayer Plugin (jQuery JavaScript Library)
- * http://www.jplayer.org
- *
- * Skin Name: Blue Monday
- *
- * Copyright (c) 2010-2012 Happyworm Ltd
- * Dual licensed under the MIT and GPL licenses.
- * - http://www.opensource.org/licenses/mit-license.php
- * - http://www.gnu.org/copyleft/gpl.html
- *
- * Author: Silvia Benvenuti
- * Skin Version: 4.3 (jPlayer 2.2.0)
- * Date: 19th November 2012
- */
-
-div.jp-audio,
-div.jp-audio-stream,
-div.jp-video {
-
- /* Edit the font-size to counteract inherited font sizing.
- * Eg. 1.25em = 1 / 0.8em
- */
-
- font-size:1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */
-
- font-family:Verdana, Arial, sans-serif;
- line-height:1.6;
- color: #666;
- border:1px solid #009be3;
- background-color:#eee;
-}
-div.jp-audio {
- width:420px;
-}
-div.jp-audio-stream {
- width:182px;
-}
-div.jp-video-270p {
- width:480px;
-}
-div.jp-video-360p {
- width:640px;
-}
-div.jp-video-full {
- /* Rules for IE6 (full-screen) */
- width:480px;
- height:270px;
- /* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */
- position:static !important; position:relative;
-}
-
-/* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */
-div.jp-video-full div div {
- z-index:1000;
-}
-
-div.jp-video-full div.jp-jplayer {
- top: 0;
- left: 0;
- position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */
- overflow: hidden;
-}
-
-div.jp-video-full div.jp-gui {
- position: fixed !important; position: static; /* Rules for IE6 (full-screen) */
- top: 0;
- left: 0;
- width:100%;
- height:100%;
- z-index:1001; /* 1 layer above the others. */
-}
-
-div.jp-video-full div.jp-interface {
- position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */
- bottom: 0;
- left: 0;
-}
-
-div.jp-interface {
- position: relative;
- background-color:#eee;
- width:100%;
-}
-
-div.jp-audio div.jp-type-single div.jp-interface {
- height:80px;
-}
-div.jp-audio div.jp-type-playlist div.jp-interface {
- height:80px;
-}
-
-div.jp-audio-stream div.jp-type-single div.jp-interface {
- height:80px;
-}
-
-div.jp-video div.jp-interface {
- border-top:1px solid #009be3;
-}
-
-/* @group CONTROLS */
-
-div.jp-controls-holder {
- clear: both;
- width:440px;
- margin:0 auto;
- position: relative;
- overflow:hidden;
- top:-8px; /* This negative value depends on the size of the text in jp-currentTime and jp-duration */
-}
-
-div.jp-interface ul.jp-controls {
- list-style-type:none;
- margin:0;
- padding: 0;
- overflow:hidden;
-}
-
-div.jp-audio ul.jp-controls {
- width: 380px;
- padding:20px 20px 0 20px;
-}
-
-div.jp-audio-stream ul.jp-controls {
- width: 142px;
- padding:20px 20px 0 20px;
-}
-
-div.jp-video div.jp-type-single ul.jp-controls {
- width: 78px;
- margin-left: 200px;
-}
-
-div.jp-video div.jp-type-playlist ul.jp-controls {
- width: 134px;
- margin-left: 172px;
-}
-div.jp-video ul.jp-controls,
-div.jp-interface ul.jp-controls li {
- display:inline;
- float: left;
-}
-
-div.jp-interface ul.jp-controls a {
- display:block;
- overflow:hidden;
- text-indent:-9999px;
-}
-a.jp-play,
-a.jp-pause {
- width:40px;
- height:40px;
-}
-
-a.jp-play {
- background: url("jplayer.blue.monday.jpg") 0 0 no-repeat;
-}
-a.jp-play:hover {
- background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat;
-}
-a.jp-pause {
- background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat;
- display: none;
-}
-a.jp-pause:hover {
- background: url("jplayer.blue.monday.jpg") -41px -42px no-repeat;
-}
-
-a.jp-stop, a.jp-previous, a.jp-next {
- width:28px;
- height:28px;
- margin-top:6px;
-}
-
-a.jp-stop {
- background: url("jplayer.blue.monday.jpg") 0 -83px no-repeat;
- margin-left:10px;
-}
-
-a.jp-stop:hover {
- background: url("jplayer.blue.monday.jpg") -29px -83px no-repeat;
-}
-
-a.jp-previous {
- background: url("jplayer.blue.monday.jpg") 0 -112px no-repeat;
-}
-a.jp-previous:hover {
- background: url("jplayer.blue.monday.jpg") -29px -112px no-repeat;
-}
-
-a.jp-next {
- background: url("jplayer.blue.monday.jpg") 0 -141px no-repeat;
-}
-a.jp-next:hover {
- background: url("jplayer.blue.monday.jpg") -29px -141px no-repeat;
-}
-
-/* @end */
-
-/* @group progress bar */
-
-div.jp-progress {
- overflow:hidden;
- background-color: #ddd;
-}
-div.jp-audio div.jp-progress {
- position: absolute;
- top:32px;
- height:15px;
-}
-div.jp-audio div.jp-type-single div.jp-progress {
- left:110px;
- width:186px;
-}
-div.jp-audio div.jp-type-playlist div.jp-progress {
- left:166px;
- width:130px;
-}
-div.jp-video div.jp-progress {
- top:0px;
- left:0px;
- width:100%;
- height:10px;
-}
-div.jp-seek-bar {
- background: url("jplayer.blue.monday.jpg") 0 -202px repeat-x;
- width:0px;
- height:100%;
- cursor: pointer;
-}
-div.jp-play-bar {
- background: url("jplayer.blue.monday.jpg") 0 -218px repeat-x ;
- width:0px;
- height:100%;
-}
-
-/* The seeking class is added/removed inside jPlayer */
-div.jp-seeking-bg {
- background: url("jplayer.blue.monday.seeking.gif");
-}
-
-/* @end */
-
-/* @group volume controls */
-
-
-a.jp-mute,
-a.jp-unmute,
-a.jp-volume-max {
- width:18px;
- height:15px;
- margin-top:12px;
-}
-
-div.jp-audio div.jp-type-single a.jp-mute,
-div.jp-audio div.jp-type-single a.jp-unmute {
- margin-left: 210px;
-}
-div.jp-audio div.jp-type-playlist a.jp-mute,
-div.jp-audio div.jp-type-playlist a.jp-unmute {
- margin-left: 154px;
-}
-
-div.jp-audio-stream div.jp-type-single a.jp-mute,
-div.jp-audio-stream div.jp-type-single a.jp-unmute {
- margin-left:10px;
-}
-
-div.jp-audio a.jp-volume-max,
-div.jp-audio-stream a.jp-volume-max {
- margin-left: 56px;
-}
-
-div.jp-video a.jp-mute,
-div.jp-video a.jp-unmute,
-div.jp-video a.jp-volume-max {
- position: absolute;
- top:12px;
- margin-top:0;
-}
-
-div.jp-video a.jp-mute,
-div.jp-video a.jp-unmute {
- left: 50px;
-}
-
-div.jp-video a.jp-volume-max {
- left: 134px;
-}
-
-a.jp-mute {
- background: url("jplayer.blue.monday.jpg") 0 -170px no-repeat;
-}
-a.jp-mute:hover {
- background: url("jplayer.blue.monday.jpg") -19px -170px no-repeat;
-}
-a.jp-unmute {
- background: url("jplayer.blue.monday.jpg") -60px -170px no-repeat;
- display: none;
-}
-a.jp-unmute:hover {
- background: url("jplayer.blue.monday.jpg") -79px -170px no-repeat;
-}
-a.jp-volume-max {
- background: url("jplayer.blue.monday.jpg") 0 -186px no-repeat;
-}
-a.jp-volume-max:hover {
- background: url("jplayer.blue.monday.jpg") -19px -186px no-repeat;
-}
-
-div.jp-volume-bar {
- position: absolute;
- overflow:hidden;
- background: url("jplayer.blue.monday.jpg") 0 -250px repeat-x;
- width:46px;
- height:5px;
- cursor: pointer;
-}
-div.jp-audio div.jp-volume-bar {
- top:37px;
- left:330px;
-}
-div.jp-audio-stream div.jp-volume-bar {
- top:37px;
- left:92px;
-}
-div.jp-video div.jp-volume-bar {
- top:17px;
- left:72px;
-}
-div.jp-volume-bar-value {
- background: url("jplayer.blue.monday.jpg") 0 -256px repeat-x;
- width:0px;
- height:5px;
-}
-
-/* @end */
-
-/* @group current time and duration */
-
-div.jp-audio div.jp-time-holder {
- position:absolute;
- top:50px;
-}
-div.jp-audio div.jp-type-single div.jp-time-holder {
- left:110px;
- width:186px;
-}
-div.jp-audio div.jp-type-playlist div.jp-time-holder {
- left:166px;
- width:130px;
-}
-
-div.jp-current-time,
-div.jp-duration {
- width:60px;
- font-size:.64em;
- font-style:oblique;
-}
-div.jp-current-time {
- float: left;
- display:inline;
-}
-div.jp-duration {
- float: right;
- display:inline;
- text-align: right;
-}
-
-div.jp-video div.jp-current-time {
- margin-left:20px;
-}
-div.jp-video div.jp-duration {
- margin-right:20px;
-}
-
-/* @end */
-
-/* @group playlist */
-
-div.jp-title {
- font-weight:bold;
- text-align:center;
-}
-
-div.jp-title,
-div.jp-playlist {
- width:100%;
- background-color:#ccc;
- border-top:1px solid #009be3;
-}
-div.jp-type-single div.jp-title,
-div.jp-type-playlist div.jp-title,
-div.jp-type-single div.jp-playlist {
- border-top:none;
-}
-div.jp-title ul,
-div.jp-playlist ul {
- list-style-type:none;
- margin:0;
- padding:0 20px;
- font-size:.72em;
-}
-
-div.jp-title li {
- padding:5px 0;
- font-weight:bold;
-}
-div.jp-playlist li {
- padding:5px 0 4px 20px;
- border-bottom:1px solid #eee;
-}
-
-div.jp-playlist li div {
- display:inline;
-}
-
-/* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */
-
-div.jp-type-playlist div.jp-playlist li:last-child {
- padding:5px 0 5px 20px;
- border-bottom:none;
-}
-div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
- list-style-type:square;
- list-style-position:inside;
- padding-left:7px;
-}
-div.jp-type-playlist div.jp-playlist a {
- color: #333;
- text-decoration: none;
-}
-div.jp-type-playlist div.jp-playlist a:hover {
- color:#0d88c1;
-}
-div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
- color:#0d88c1;
-}
-
-div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove {
- float:right;
- display:inline;
- text-align:right;
- margin-right:10px;
- font-weight:bold;
- color:#666;
-}
-div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover {
- color:#0d88c1;
-}
-div.jp-type-playlist div.jp-playlist span.jp-free-media {
- float:right;
- display:inline;
- text-align:right;
- margin-right:10px;
-}
-div.jp-type-playlist div.jp-playlist span.jp-free-media a{
- color:#666;
-}
-div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{
- color:#0d88c1;
-}
-span.jp-artist {
- font-size:.8em;
- color:#666;
-}
-
-/* @end */
-
-div.jp-video-play {
- width:100%;
- overflow:hidden; /* Important for nested negative margins to work in modern browsers */
- cursor:pointer;
- background-color:rgba(0,0,0,0); /* Makes IE9 work with the active area over the whole video area. IE6/7/8 only have the button as active area. */
-}
-div.jp-video-270p div.jp-video-play {
- margin-top:-270px;
- height:270px;
-}
-div.jp-video-360p div.jp-video-play {
- margin-top:-360px;
- height:360px;
-}
-div.jp-video-full div.jp-video-play {
- height:100%;
-}
-a.jp-video-play-icon {
- position:relative;
- display:block;
- width: 112px;
- height: 100px;
-
- margin-left:-56px;
- margin-top:-50px;
- left:50%;
- top:50%;
-
- background: url("jplayer.blue.monday.video.play.png") 0 0 no-repeat;
- text-indent:-9999px;
-}
-div.jp-video-play:hover a.jp-video-play-icon {
- background: url("jplayer.blue.monday.video.play.png") 0 -100px no-repeat;
-}
-
-
-
-
-
-div.jp-jplayer audio,
-div.jp-jplayer {
- width:0px;
- height:0px;
-}
-
-div.jp-jplayer {
- background-color: #000000;
-}
-
-
-
-
-
-/* @group TOGGLES */
-
-/* The audio toggles are nested inside jp-time-holder */
-
-ul.jp-toggles {
- list-style-type:none;
- padding:0;
- margin:0 auto;
- overflow:hidden;
-}
-
-div.jp-audio .jp-type-single ul.jp-toggles {
- width:25px;
-}
-div.jp-audio .jp-type-playlist ul.jp-toggles {
- width:55px;
- margin: 0;
- position: absolute;
- left: 325px;
- top: 50px;
-}
-
-div.jp-video ul.jp-toggles {
- margin-top:10px;
- width:100px;
-}
-
-ul.jp-toggles li {
- display:block;
- float:right;
-}
-
-ul.jp-toggles li a {
- display:block;
- width:25px;
- height:18px;
- text-indent:-9999px;
- line-height:100%; /* need this for IE6 */
-}
-
-a.jp-full-screen {
- background: url("jplayer.blue.monday.jpg") 0 -310px no-repeat;
- margin-left: 20px;
-}
-
-a.jp-full-screen:hover {
- background: url("jplayer.blue.monday.jpg") -30px -310px no-repeat;
-}
-
-a.jp-restore-screen {
- background: url("jplayer.blue.monday.jpg") -60px -310px no-repeat;
- margin-left: 20px;
-}
-
-a.jp-restore-screen:hover {
- background: url("jplayer.blue.monday.jpg") -90px -310px no-repeat;
-}
-
-a.jp-repeat {
- background: url("jplayer.blue.monday.jpg") 0 -290px no-repeat;
-}
-
-a.jp-repeat:hover {
- background: url("jplayer.blue.monday.jpg") -30px -290px no-repeat;
-}
-
-a.jp-repeat-off {
- background: url("jplayer.blue.monday.jpg") -60px -290px no-repeat;
-}
-
-a.jp-repeat-off:hover {
- background: url("jplayer.blue.monday.jpg") -90px -290px no-repeat;
-}
-
-a.jp-shuffle {
- background: url("jplayer.blue.monday.jpg") 0 -270px no-repeat;
- margin-left: 5px;
-}
-
-a.jp-shuffle:hover {
- background: url("jplayer.blue.monday.jpg") -30px -270px no-repeat;
-}
-
-a.jp-shuffle-off {
- background: url("jplayer.blue.monday.jpg") -60px -270px no-repeat;
- margin-left: 5px;
-}
-
-a.jp-shuffle-off:hover {
- background: url("jplayer.blue.monday.jpg") -90px -270px no-repeat;
-}
-
-
-/* @end */
-
-/* @group NO SOLUTION error feedback */
-
-.jp-no-solution {
- padding:5px;
- font-size:.8em;
- background-color:#eee;
- border:2px solid #009be3;
- color:#000;
- display:none;
-}
-
-.jp-no-solution a {
- color:#000;
-}
-
-.jp-no-solution span {
- font-size:1em;
- display:block;
- text-align:center;
- font-weight:bold;
-}
-
-/* @end */
+/*
+ * Skin for jPlayer Plugin (jQuery JavaScript Library)
+ * http://www.jplayer.org
+ *
+ * Skin Name: Blue Monday
+ *
+ * Copyright (c) 2010-2012 Happyworm Ltd
+ * Dual licensed under the MIT and GPL licenses.
+ * - http://www.opensource.org/licenses/mit-license.php
+ * - http://www.gnu.org/copyleft/gpl.html
+ *
+ * Author: Silvia Benvenuti
+ * Skin Version: 4.3 (jPlayer 2.2.0)
+ * Date: 19th November 2012
+ */
+
+div.jp-audio,
+div.jp-audio-stream,
+div.jp-video {
+
+ /* Edit the font-size to counteract inherited font sizing.
+ * Eg. 1.25em = 1 / 0.8em
+ */
+
+ font-size:1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */
+
+ font-family:Verdana, Arial, sans-serif;
+ line-height:1.6;
+ color: #666;
+ border:1px solid #009be3;
+ background-color:#eee;
+}
+div.jp-audio {
+ width:420px;
+}
+div.jp-audio-stream {
+ width:182px;
+}
+div.jp-video-270p {
+ width:480px;
+}
+div.jp-video-360p {
+ width:640px;
+}
+div.jp-video-full {
+ /* Rules for IE6 (full-screen) */
+ width:480px;
+ height:270px;
+ /* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */
+ position:static !important; position:relative;
+}
+
+/* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */
+div.jp-video-full div div {
+ z-index:1000;
+}
+
+div.jp-video-full div.jp-jplayer {
+ top: 0;
+ left: 0;
+ position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */
+ overflow: hidden;
+}
+
+div.jp-video-full div.jp-gui {
+ position: fixed !important; position: static; /* Rules for IE6 (full-screen) */
+ top: 0;
+ left: 0;
+ width:100%;
+ height:100%;
+ z-index:1001; /* 1 layer above the others. */
+}
+
+div.jp-video-full div.jp-interface {
+ position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */
+ bottom: 0;
+ left: 0;
+}
+
+div.jp-interface {
+ position: relative;
+ background-color:#eee;
+ width:100%;
+}
+
+div.jp-audio div.jp-type-single div.jp-interface {
+ height:80px;
+}
+div.jp-audio div.jp-type-playlist div.jp-interface {
+ height:80px;
+}
+
+div.jp-audio-stream div.jp-type-single div.jp-interface {
+ height:80px;
+}
+
+div.jp-video div.jp-interface {
+ border-top:1px solid #009be3;
+}
+
+/* @group CONTROLS */
+
+div.jp-controls-holder {
+ clear: both;
+ width:440px;
+ margin:0 auto;
+ position: relative;
+ overflow:hidden;
+ top:-8px; /* This negative value depends on the size of the text in jp-currentTime and jp-duration */
+}
+
+div.jp-interface ul.jp-controls {
+ list-style-type:none;
+ margin:0;
+ padding: 0;
+ overflow:hidden;
+}
+
+div.jp-audio ul.jp-controls {
+ width: 380px;
+ padding:20px 20px 0 20px;
+}
+
+div.jp-audio-stream ul.jp-controls {
+ width: 142px;
+ padding:20px 20px 0 20px;
+}
+
+div.jp-video div.jp-type-single ul.jp-controls {
+ width: 78px;
+ margin-left: 200px;
+}
+
+div.jp-video div.jp-type-playlist ul.jp-controls {
+ width: 134px;
+ margin-left: 172px;
+}
+div.jp-video ul.jp-controls,
+div.jp-interface ul.jp-controls li {
+ display:inline;
+ float: left;
+}
+
+div.jp-interface ul.jp-controls a {
+ display:block;
+ overflow:hidden;
+ text-indent:-9999px;
+}
+a.jp-play,
+a.jp-pause {
+ width:40px;
+ height:40px;
+}
+
+a.jp-play {
+ background: url("jplayer.blue.monday.jpg") 0 0 no-repeat;
+}
+a.jp-play:hover {
+ background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat;
+}
+a.jp-pause {
+ background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat;
+ display: none;
+}
+a.jp-pause:hover {
+ background: url("jplayer.blue.monday.jpg") -41px -42px no-repeat;
+}
+
+a.jp-stop, a.jp-previous, a.jp-next {
+ width:28px;
+ height:28px;
+ margin-top:6px;
+}
+
+a.jp-stop {
+ background: url("jplayer.blue.monday.jpg") 0 -83px no-repeat;
+ margin-left:10px;
+}
+
+a.jp-stop:hover {
+ background: url("jplayer.blue.monday.jpg") -29px -83px no-repeat;
+}
+
+a.jp-previous {
+ background: url("jplayer.blue.monday.jpg") 0 -112px no-repeat;
+}
+a.jp-previous:hover {
+ background: url("jplayer.blue.monday.jpg") -29px -112px no-repeat;
+}
+
+a.jp-next {
+ background: url("jplayer.blue.monday.jpg") 0 -141px no-repeat;
+}
+a.jp-next:hover {
+ background: url("jplayer.blue.monday.jpg") -29px -141px no-repeat;
+}
+
+/* @end */
+
+/* @group progress bar */
+
+div.jp-progress {
+ overflow:hidden;
+ background-color: #ddd;
+}
+div.jp-audio div.jp-progress {
+ position: absolute;
+ top:32px;
+ height:15px;
+}
+div.jp-audio div.jp-type-single div.jp-progress {
+ left:110px;
+ width:186px;
+}
+div.jp-audio div.jp-type-playlist div.jp-progress {
+ left:166px;
+ width:130px;
+}
+div.jp-video div.jp-progress {
+ top:0px;
+ left:0px;
+ width:100%;
+ height:10px;
+}
+div.jp-seek-bar {
+ background: url("jplayer.blue.monday.jpg") 0 -202px repeat-x;
+ width:0px;
+ height:100%;
+ cursor: pointer;
+}
+div.jp-play-bar {
+ background: url("jplayer.blue.monday.jpg") 0 -218px repeat-x ;
+ width:0px;
+ height:100%;
+}
+
+/* The seeking class is added/removed inside jPlayer */
+div.jp-seeking-bg {
+ background: url("jplayer.blue.monday.seeking.gif");
+}
+
+/* @end */
+
+/* @group volume controls */
+
+
+a.jp-mute,
+a.jp-unmute,
+a.jp-volume-max {
+ width:18px;
+ height:15px;
+ margin-top:12px;
+}
+
+div.jp-audio div.jp-type-single a.jp-mute,
+div.jp-audio div.jp-type-single a.jp-unmute {
+ margin-left: 210px;
+}
+div.jp-audio div.jp-type-playlist a.jp-mute,
+div.jp-audio div.jp-type-playlist a.jp-unmute {
+ margin-left: 154px;
+}
+
+div.jp-audio-stream div.jp-type-single a.jp-mute,
+div.jp-audio-stream div.jp-type-single a.jp-unmute {
+ margin-left:10px;
+}
+
+div.jp-audio a.jp-volume-max,
+div.jp-audio-stream a.jp-volume-max {
+ margin-left: 56px;
+}
+
+div.jp-video a.jp-mute,
+div.jp-video a.jp-unmute,
+div.jp-video a.jp-volume-max {
+ position: absolute;
+ top:12px;
+ margin-top:0;
+}
+
+div.jp-video a.jp-mute,
+div.jp-video a.jp-unmute {
+ left: 50px;
+}
+
+div.jp-video a.jp-volume-max {
+ left: 134px;
+}
+
+a.jp-mute {
+ background: url("jplayer.blue.monday.jpg") 0 -170px no-repeat;
+}
+a.jp-mute:hover {
+ background: url("jplayer.blue.monday.jpg") -19px -170px no-repeat;
+}
+a.jp-unmute {
+ background: url("jplayer.blue.monday.jpg") -60px -170px no-repeat;
+ display: none;
+}
+a.jp-unmute:hover {
+ background: url("jplayer.blue.monday.jpg") -79px -170px no-repeat;
+}
+a.jp-volume-max {
+ background: url("jplayer.blue.monday.jpg") 0 -186px no-repeat;
+}
+a.jp-volume-max:hover {
+ background: url("jplayer.blue.monday.jpg") -19px -186px no-repeat;
+}
+
+div.jp-volume-bar {
+ position: absolute;
+ overflow:hidden;
+ background: url("jplayer.blue.monday.jpg") 0 -250px repeat-x;
+ width:46px;
+ height:5px;
+ cursor: pointer;
+}
+div.jp-audio div.jp-volume-bar {
+ top:37px;
+ left:330px;
+}
+div.jp-audio-stream div.jp-volume-bar {
+ top:37px;
+ left:92px;
+}
+div.jp-video div.jp-volume-bar {
+ top:17px;
+ left:72px;
+}
+div.jp-volume-bar-value {
+ background: url("jplayer.blue.monday.jpg") 0 -256px repeat-x;
+ width:0px;
+ height:5px;
+}
+
+/* @end */
+
+/* @group current time and duration */
+
+div.jp-audio div.jp-time-holder {
+ position:absolute;
+ top:50px;
+}
+div.jp-audio div.jp-type-single div.jp-time-holder {
+ left:110px;
+ width:186px;
+}
+div.jp-audio div.jp-type-playlist div.jp-time-holder {
+ left:166px;
+ width:130px;
+}
+
+div.jp-current-time,
+div.jp-duration {
+ width:60px;
+ font-size:.64em;
+ font-style:oblique;
+}
+div.jp-current-time {
+ float: left;
+ display:inline;
+}
+div.jp-duration {
+ float: right;
+ display:inline;
+ text-align: right;
+}
+
+div.jp-video div.jp-current-time {
+ margin-left:20px;
+}
+div.jp-video div.jp-duration {
+ margin-right:20px;
+}
+
+/* @end */
+
+/* @group playlist */
+
+div.jp-title {
+ font-weight:bold;
+ text-align:center;
+}
+
+div.jp-title,
+div.jp-playlist {
+ width:100%;
+ background-color:#ccc;
+ border-top:1px solid #009be3;
+}
+div.jp-type-single div.jp-title,
+div.jp-type-playlist div.jp-title,
+div.jp-type-single div.jp-playlist {
+ border-top:none;
+}
+div.jp-title ul,
+div.jp-playlist ul {
+ list-style-type:none;
+ margin:0;
+ padding:0 20px;
+ font-size:.72em;
+}
+
+div.jp-title li {
+ padding:5px 0;
+ font-weight:bold;
+}
+div.jp-playlist li {
+ padding:5px 0 4px 20px;
+ border-bottom:1px solid #eee;
+}
+
+div.jp-playlist li div {
+ display:inline;
+}
+
+/* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */
+
+div.jp-type-playlist div.jp-playlist li:last-child {
+ padding:5px 0 5px 20px;
+ border-bottom:none;
+}
+div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
+ list-style-type:square;
+ list-style-position:inside;
+ padding-left:7px;
+}
+div.jp-type-playlist div.jp-playlist a {
+ color: #333;
+ text-decoration: none;
+}
+div.jp-type-playlist div.jp-playlist a:hover {
+ color:#0d88c1;
+}
+div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
+ color:#0d88c1;
+}
+
+div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove {
+ float:right;
+ display:inline;
+ text-align:right;
+ margin-right:10px;
+ font-weight:bold;
+ color:#666;
+}
+div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover {
+ color:#0d88c1;
+}
+div.jp-type-playlist div.jp-playlist span.jp-free-media {
+ float:right;
+ display:inline;
+ text-align:right;
+ margin-right:10px;
+}
+div.jp-type-playlist div.jp-playlist span.jp-free-media a{
+ color:#666;
+}
+div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{
+ color:#0d88c1;
+}
+span.jp-artist {
+ font-size:.8em;
+ color:#666;
+}
+
+/* @end */
+
+div.jp-video-play {
+ width:100%;
+ overflow:hidden; /* Important for nested negative margins to work in modern browsers */
+ cursor:pointer;
+ background-color:rgba(0,0,0,0); /* Makes IE9 work with the active area over the whole video area. IE6/7/8 only have the button as active area. */
+}
+div.jp-video-270p div.jp-video-play {
+ margin-top:-270px;
+ height:270px;
+}
+div.jp-video-360p div.jp-video-play {
+ margin-top:-360px;
+ height:360px;
+}
+div.jp-video-full div.jp-video-play {
+ height:100%;
+}
+a.jp-video-play-icon {
+ position:relative;
+ display:block;
+ width: 112px;
+ height: 100px;
+
+ margin-left:-56px;
+ margin-top:-50px;
+ left:50%;
+ top:50%;
+
+ background: url("jplayer.blue.monday.video.play.png") 0 0 no-repeat;
+ text-indent:-9999px;
+}
+div.jp-video-play:hover a.jp-video-play-icon {
+ background: url("jplayer.blue.monday.video.play.png") 0 -100px no-repeat;
+}
+
+
+
+
+
+div.jp-jplayer audio,
+div.jp-jplayer {
+ width:0px;
+ height:0px;
+}
+
+div.jp-jplayer {
+ background-color: #000000;
+}
+
+
+
+
+
+/* @group TOGGLES */
+
+/* The audio toggles are nested inside jp-time-holder */
+
+ul.jp-toggles {
+ list-style-type:none;
+ padding:0;
+ margin:0 auto;
+ overflow:hidden;
+}
+
+div.jp-audio .jp-type-single ul.jp-toggles {
+ width:25px;
+}
+div.jp-audio .jp-type-playlist ul.jp-toggles {
+ width:55px;
+ margin: 0;
+ position: absolute;
+ left: 325px;
+ top: 50px;
+}
+
+div.jp-video ul.jp-toggles {
+ margin-top:10px;
+ width:100px;
+}
+
+ul.jp-toggles li {
+ display:block;
+ float:right;
+}
+
+ul.jp-toggles li a {
+ display:block;
+ width:25px;
+ height:18px;
+ text-indent:-9999px;
+ line-height:100%; /* need this for IE6 */
+}
+
+a.jp-full-screen {
+ background: url("jplayer.blue.monday.jpg") 0 -310px no-repeat;
+ margin-left: 20px;
+}
+
+a.jp-full-screen:hover {
+ background: url("jplayer.blue.monday.jpg") -30px -310px no-repeat;
+}
+
+a.jp-restore-screen {
+ background: url("jplayer.blue.monday.jpg") -60px -310px no-repeat;
+ margin-left: 20px;
+}
+
+a.jp-restore-screen:hover {
+ background: url("jplayer.blue.monday.jpg") -90px -310px no-repeat;
+}
+
+a.jp-repeat {
+ background: url("jplayer.blue.monday.jpg") 0 -290px no-repeat;
+}
+
+a.jp-repeat:hover {
+ background: url("jplayer.blue.monday.jpg") -30px -290px no-repeat;
+}
+
+a.jp-repeat-off {
+ background: url("jplayer.blue.monday.jpg") -60px -290px no-repeat;
+}
+
+a.jp-repeat-off:hover {
+ background: url("jplayer.blue.monday.jpg") -90px -290px no-repeat;
+}
+
+a.jp-shuffle {
+ background: url("jplayer.blue.monday.jpg") 0 -270px no-repeat;
+ margin-left: 5px;
+}
+
+a.jp-shuffle:hover {
+ background: url("jplayer.blue.monday.jpg") -30px -270px no-repeat;
+}
+
+a.jp-shuffle-off {
+ background: url("jplayer.blue.monday.jpg") -60px -270px no-repeat;
+ margin-left: 5px;
+}
+
+a.jp-shuffle-off:hover {
+ background: url("jplayer.blue.monday.jpg") -90px -270px no-repeat;
+}
+
+
+/* @end */
+
+/* @group NO SOLUTION error feedback */
+
+.jp-no-solution {
+ padding:5px;
+ font-size:.8em;
+ background-color:#eee;
+ border:2px solid #009be3;
+ color:#000;
+ display:none;
+}
+
+.jp-no-solution a {
+ color:#000;
+}
+
+.jp-no-solution span {
+ font-size:1em;
+ display:block;
+ text-align:center;
+ font-weight:bold;
+}
+
+/* @end */
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/ca.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/ca.php
index 723e14a9..f5046bee 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/ca.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/ca.php
@@ -1,122 +1,122 @@
- 'Seleccionar',
- 'Erase' => 'Eliminar',
- 'Open' => 'Obrir',
- 'Confirm_del' => 'Segur que desitges eliminar aquest arxiu?',
- 'All' => 'Tots',
- 'Files' => 'Arxius',
- 'Images' => 'Imatges',
- 'Archives' => 'Fitxers',
- 'Error_Upload' => 'L\'arxiu que intenta pujar excedeix el màxim permès.',
- 'Error_extension' => 'L\'extensió de l\'arxiu no està permesa.',
- 'Upload_file' => 'Pujar',
- 'Filters' => 'Filtres',
- 'Videos' => 'Vídeos',
- 'Music' => 'Musica',
- 'New_Folder' => 'Nova carpeta',
- 'Folder_Created' => 'La carpeta ha estat creada exitosament.',
- 'Existing_Folder' => 'Carpeta existent',
- 'Confirm_Folder_del' => 'Segur que desitges eliminar la carpeta i tots els elements que conté?',
- 'Return_Files_List' => 'Tornar a la llista d\'arxius',
- 'Preview' => 'Vista prèvia',
- 'Download' => 'Descarregar',
- 'Insert_Folder_Name' => 'Nom de la carpeta:',
- 'Root' => 'arrel',
- 'Rename' => 'Renombrar',
- 'Back' => 'enrere',
- 'View' => 'Vista',
- 'View_list' => 'Vista de llista',
- 'View_columns_list' => 'Vista de columnes',
- 'View_boxes' => 'Vista de miniatures',
- 'Toolbar' => 'Barra d\'eines',
- 'Actions' => 'Accions',
- 'Rename_existing_file' => 'L\'arxiu ja existeix',
- 'Rename_existing_folder' => 'La carpeta ja existeix',
- 'Empty_name' => 'El nom es troba buit',
- 'Text_filter' => 'filtre de text',
- 'Swipe_help' => 'Deslize el nom de l\'arxiu/carpeta per mostrar les opcions',
- 'Upload_base' => 'Pujada d\'arxius SIMPLE',
- 'Upload_java' => 'Pujada d\'arxius JAVA (para arxius pesats)',
- 'Upload_url' => 'URL',
- 'Upload_java_help' => "Si el applet no carrega: 1. Assegura't de tenir Java instal·lat; sinó descarrega-ho i instal·la-ho des d'aquí 2. Assegura't que el teu firewall no estigui bloquejant res.",
- 'Upload_base_help' => "Arrossega i deixa anar els arxius dins d'aquesta àrea o faci clic en ella (per a navegadors moderns) en cas contrari, seleccioni l'arxiu i faci clic en el botó. Quan finalitzi la pujada, faci clic en el botó superior per tornar.",
- 'Type_dir' => 'Carpeta',
- 'Type' => 'Tipus',
- 'Dimension' => 'Dimensions',
- 'Size' => 'Pes',
- 'Date' => 'Data',
- 'Filename' => 'Nom',
- 'Operations' => 'Operacions',
- 'Date_type' => 'd-m-y',
- 'OK' => 'OK',
- 'Cancel' => 'Cancel·lar',
- 'Sorting' => 'Ordenar',
- 'Show_url' => 'Mostrar URL',
- 'Extract' => 'Extreure aquí',
- 'File_info' => 'Informació',
- 'Edit_image' => 'Editar imatge',
- 'Duplicate' => 'Duplicar',
- 'Folders' => 'Folders',
- 'Copy' => 'Copy',
- 'Cut' => 'Cut',
- 'Paste' => 'Paste',
- 'CB' => 'CB', // clipboard
- 'Paste_Here' => 'Paste to this directory',
- 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
- 'Paste_Failed' => 'Failed to paste file(s)',
- 'Clear_Clipboard' => 'Clear clipboard',
- 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
- 'Files_ON_Clipboard' => 'There are files on the clipboard.',
- 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'Could not save image',
- 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
- 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
- 'Dir_No_Write' => 'The directory you selected is not writable.',
- 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
- 'File_Permission' => 'File permission',
- 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
- 'File_Permission_Recursive' => 'Apply recursively?',
- 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
- 'User' => 'User',
- 'Group' => 'Group',
- 'Yes' => 'Yes',
- 'No' => 'No',
- 'Lang_Not_Found' => 'Could not find language.',
- 'Lang_Change' => 'Change the language',
- 'File_Not_Found' => 'Could not find the file.',
- 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
- 'Edit' => 'Edit',
- 'Edit_File' => "Edit file's content",
- 'File_Save_OK' => "File successfully saved.",
- 'File_Save_Error' => "There was an error while saving the file.",
- 'New_File' => 'New File',
- 'No_Extension' => 'You have to add a file extension.',
- 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
- 'Upload_message' => "Drop file here to upload",
-
- 'SERVER ERROR' => "SERVER ERROR",
- 'forbiden' => "Forbiden",
- 'wrong path' => "Wrong path",
- 'wrong name' => "Wrong name",
- 'wrong extension' => "Wrong extension",
- 'wrong option' => "Wrong option",
- 'wrong data' => "Wrong data",
- 'wrong action' => "Wrong action",
- 'wrong sub-action' => "Wrong sub-actio",
- 'no action passed' => "No action passed",
- 'no path' => "No path",
- 'no file' => "No file",
- 'view type number missing' => "View type number missing",
- 'Not enought Memory' => "Not enought Memory",
- 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
- 'B' => "B",
- 'KB' => "KB",
- 'MB' => "MB",
- 'GB' => "GB",
- 'TB' => "TB",
- 'total size' => "Total size",
-);
+ 'Seleccionar',
+ 'Erase' => 'Eliminar',
+ 'Open' => 'Obrir',
+ 'Confirm_del' => 'Segur que desitges eliminar aquest arxiu?',
+ 'All' => 'Tots',
+ 'Files' => 'Arxius',
+ 'Images' => 'Imatges',
+ 'Archives' => 'Fitxers',
+ 'Error_Upload' => 'L\'arxiu que intenta pujar excedeix el màxim permès.',
+ 'Error_extension' => 'L\'extensió de l\'arxiu no està permesa.',
+ 'Upload_file' => 'Pujar',
+ 'Filters' => 'Filtres',
+ 'Videos' => 'Vídeos',
+ 'Music' => 'Musica',
+ 'New_Folder' => 'Nova carpeta',
+ 'Folder_Created' => 'La carpeta ha estat creada exitosament.',
+ 'Existing_Folder' => 'Carpeta existent',
+ 'Confirm_Folder_del' => 'Segur que desitges eliminar la carpeta i tots els elements que conté?',
+ 'Return_Files_List' => 'Tornar a la llista d\'arxius',
+ 'Preview' => 'Vista prèvia',
+ 'Download' => 'Descarregar',
+ 'Insert_Folder_Name' => 'Nom de la carpeta:',
+ 'Root' => 'arrel',
+ 'Rename' => 'Renombrar',
+ 'Back' => 'enrere',
+ 'View' => 'Vista',
+ 'View_list' => 'Vista de llista',
+ 'View_columns_list' => 'Vista de columnes',
+ 'View_boxes' => 'Vista de miniatures',
+ 'Toolbar' => 'Barra d\'eines',
+ 'Actions' => 'Accions',
+ 'Rename_existing_file' => 'L\'arxiu ja existeix',
+ 'Rename_existing_folder' => 'La carpeta ja existeix',
+ 'Empty_name' => 'El nom es troba buit',
+ 'Text_filter' => 'filtre de text',
+ 'Swipe_help' => 'Deslize el nom de l\'arxiu/carpeta per mostrar les opcions',
+ 'Upload_base' => 'Pujada d\'arxius SIMPLE',
+ 'Upload_java' => 'Pujada d\'arxius JAVA (para arxius pesats)',
+ 'Upload_url' => 'URL',
+ 'Upload_java_help' => "Si el applet no carrega: 1. Assegura't de tenir Java instal·lat; sinó descarrega-ho i instal·la-ho des d'aquí 2. Assegura't que el teu firewall no estigui bloquejant res.",
+ 'Upload_base_help' => "Arrossega i deixa anar els arxius dins d'aquesta àrea o faci clic en ella (per a navegadors moderns) en cas contrari, seleccioni l'arxiu i faci clic en el botó. Quan finalitzi la pujada, faci clic en el botó superior per tornar.",
+ 'Type_dir' => 'Carpeta',
+ 'Type' => 'Tipus',
+ 'Dimension' => 'Dimensions',
+ 'Size' => 'Pes',
+ 'Date' => 'Data',
+ 'Filename' => 'Nom',
+ 'Operations' => 'Operacions',
+ 'Date_type' => 'd-m-y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Cancel·lar',
+ 'Sorting' => 'Ordenar',
+ 'Show_url' => 'Mostrar URL',
+ 'Extract' => 'Extreure aquí',
+ 'File_info' => 'Informació',
+ 'Edit_image' => 'Editar imatge',
+ 'Duplicate' => 'Duplicar',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste to this directory',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'Clear clipboard',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enought Memory' => "Not enought Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/cs.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/cs.php
index 129d149d..06be56c8 100755
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/cs.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/cs.php
@@ -1,123 +1,123 @@
- 'Vybrat',
- 'Erase' => 'Smazat',
- 'Open' => 'Otevřít',
- 'Confirm_del' => 'Opravdu chcete smazat tento soubor?',
- 'All' => 'Vše',
- 'Files' => 'Soubory',
- 'Images' => 'Obrázky',
- 'Archives' => 'Archivy',
- 'Error_Upload' => 'Nahrávaný soubor je příliš velký.',
- 'Error_extension' => 'Nahrávání souborů s touto příponou není povoleno.',
- 'Upload_file' => 'Nahrát soubor',
- 'Filters' => 'Filtr',
- 'Videos' => 'Videa',
- 'Music' => 'Hudba',
- 'New_Folder' => 'Nová složka',
- 'Folder_Created' => 'Složka vytvořena',
- 'Existing_Folder' => 'Existující složka',
- 'Confirm_Folder_del' => 'Opravdu chcete smazat tuto složku a její obsah?',
- 'Return_Files_List' => 'Zpět k seznamu souborů',
- 'Preview' => 'Náhled',
- 'Download' => 'Stáhnout',
- 'Insert_Folder_Name' => 'Vložte název složky:',
- 'Root' => 'root',
- 'Rename' => 'Přejmenovat',
- 'Back' => 'zpět',
- 'View' => 'Zobrazení',
- 'View_list' => 'Seznam souborů',
- 'View_columns_list' => 'Dvousloupcový seznam souborů',
- 'View_boxes' => 'Dlaždicové zobrazení',
- 'Toolbar' => 'Panel nástrojů',
- 'Actions' => 'Akce',
- 'Rename_existing_file' => 'Tento soubor již existuje',
- 'Rename_existing_folder' => 'Tato složka již existuje',
- 'Empty_name' => 'Zadali jste prázdný název',
- 'Text_filter' => 'textový filtr',
- 'Swipe_help' => 'Pro zobrazení možností klikněte na název souboru/složky.',
- 'Upload_base' => 'Základní nahrávání',
- 'Upload_url' => 'URL',
- 'Upload_java' => 'JAVA upload (pro velké soubory)',
- 'Upload_java_help' => "Pokud se Java Applet nenačítá, ujistěte se, že: 1. je ve vašem počítači nainstalována Java [odkaz pro stažení] 2. nic není blokováno firewallem",
- 'Upload_base_help' => "Přetáhněte soubor(y) do prostoru výše nebo do něj klikněte myší (moderní prohlížeče) a vyberte soubory. Po dokončení nahrávání klikněte na tlačítko 'Zpět k seznamu souborů'.",
- 'Type_dir' => 'složka',
- 'Type' => 'Typ',
- 'Dimension' => 'Rozměr',
- 'Size' => 'Velikost',
- 'Date' => 'Datum',
- 'Filename' => 'Název',
- 'Operations' => 'Operace',
- 'Date_type' => 'd.m.Y',
- 'OK' => 'OK',
- 'Cancel' => 'Zrušit',
- 'Sorting' => 'Řazení',
- 'Show_url' => 'Zobrazit URL adresu',
- 'Extract' => 'Rozbalit zde',
- 'File_info' => 'Informace o souboru',
- 'Edit_image' => 'Upravit obrázek',
- 'Duplicate' => 'Duplikovat',
- 'Folders' => 'Složky',
- 'Copy' => 'Kopírovat',
- 'Cut' => 'Vyjmout',
- 'Paste' => 'Vložit',
- 'CB' => 'Schránka', // clipboard
- 'Paste_Here' => 'Vložit do této složky',
- 'Paste_Confirm' => 'Skutečně chcete vložit obsah schránky do této složky? Existující soubory či složky budou přepsány.',
- 'Paste_Failed' => 'Vložení selhalo',
- 'Clear_Clipboard' => 'Vymazat schránku',
- 'Clear_Clipboard_Confirm' => 'Skutečně chcete vymazat obsah schránky?',
- 'Files_ON_Clipboard' => 'Ve schránce jsou soubory.',
- 'Copy_Cut_Size_Limit' => 'Zvolené soubory/složky jsou příliš velké pro operaci %s. Limit: %d MB/operace', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'Zvolili jste příliš mnoho souborů/složek pro operaci %s. Limit: %d souborů/operace', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'Nemáte oprávnění %s.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'Obrázek nelze uložit',
- 'Zip_No_Extract' => 'Archív nelze rozbalit. Soubor může být poškozen.',
- 'Zip_Invalid' => 'Přípona není podporována. Povolené: zip, gz, tar.',
- 'Dir_No_Write' => 'Vybraná složka není zapisovatelná.',
- 'Function_Disabled' => 'Funkce %s byla zamítnuta serverem.', // %s = cut or copy
- 'File_Permission' => 'Práva souboru',
- 'File_Permission_Not_Allowed' => 'Změna oprávnění pro %s není povolena.', // %s = files or folders
- 'File_Permission_Recursive' => 'Použít rekurzivně?',
- 'File_Permission_Wrong_Mode' => "Zadaný kód oprávnění není platný.",
- 'User' => 'Uživatel',
- 'Group' => 'Skupina',
- 'Yes' => 'Ano',
- 'No' => 'Ne',
- 'Lang_Not_Found' => 'Jazyk nebyl nalezen.',
- 'Lang_Change' => 'Změnit jazyk',
- 'File_Not_Found' => 'Soubor nebyl nalezen.',
- 'File_Open_Edit_Not_Allowed' => 'Nemáte oprávnění %s tento soubor.', // %s = open or edit
- 'Edit' => 'Upravit',
- 'Edit_File' => "Upravit obsah souboru",
- 'File_Save_OK' => "Soubor byl úspěšně uložen.",
- 'File_Save_Error' => "Došlo k chybě při ukládání souboru.",
- 'New_File' => 'Nový soubor',
- 'No_Extension' => 'Musíte doplnit příponu souboru.',
- 'Valid_Extensions' => 'Povolené přípony: %s', // %s = txt,log etc.
- 'Upload_message' => "Pro nahrání přetáhněte soubor(y) sem",
-
- 'SERVER ERROR' => "CHYBA SERVERU",
- 'forbiden' => "Zakázáno",
- 'wrong path' => "Neplatná cesta",
- 'wrong name' => "Neplatná název",
- 'wrong extension' => "Neplatná přípona",
- 'wrong option' => "Neplatná volba",
- 'wrong data' => "Neplatná data",
- 'wrong action' => "Neplatná akce",
- 'wrong sub-action' => "Neplatná podakce",
- 'no action passed' => "Nebyla předána žádná akce",
- 'no path' => "Žádná cesta",
- 'no file' => "Žádný soubor",
- 'view type number missing' => "Chybí číslo typu pro zobrazení",
- 'Not enought Memory' => "Nedostatek paměti",
- 'max_size_reached' => "Vaše složka s obrázky dosáhla maximální velikosti %d MB.", //%d = max overall size
- 'B' => "B",
- 'KB' => "KB",
- 'MB' => "MB",
- 'GB' => "GB",
- 'TB' => "TB",
- 'total size' => "Celková velikost",
-);
+ 'Vybrat',
+ 'Erase' => 'Smazat',
+ 'Open' => 'Otevřít',
+ 'Confirm_del' => 'Opravdu chcete smazat tento soubor?',
+ 'All' => 'Vše',
+ 'Files' => 'Soubory',
+ 'Images' => 'Obrázky',
+ 'Archives' => 'Archivy',
+ 'Error_Upload' => 'Nahrávaný soubor je příliš velký.',
+ 'Error_extension' => 'Nahrávání souborů s touto příponou není povoleno.',
+ 'Upload_file' => 'Nahrát soubor',
+ 'Filters' => 'Filtr',
+ 'Videos' => 'Videa',
+ 'Music' => 'Hudba',
+ 'New_Folder' => 'Nová složka',
+ 'Folder_Created' => 'Složka vytvořena',
+ 'Existing_Folder' => 'Existující složka',
+ 'Confirm_Folder_del' => 'Opravdu chcete smazat tuto složku a její obsah?',
+ 'Return_Files_List' => 'Zpět k seznamu souborů',
+ 'Preview' => 'Náhled',
+ 'Download' => 'Stáhnout',
+ 'Insert_Folder_Name' => 'Vložte název složky:',
+ 'Root' => 'root',
+ 'Rename' => 'Přejmenovat',
+ 'Back' => 'zpět',
+ 'View' => 'Zobrazení',
+ 'View_list' => 'Seznam souborů',
+ 'View_columns_list' => 'Dvousloupcový seznam souborů',
+ 'View_boxes' => 'Dlaždicové zobrazení',
+ 'Toolbar' => 'Panel nástrojů',
+ 'Actions' => 'Akce',
+ 'Rename_existing_file' => 'Tento soubor již existuje',
+ 'Rename_existing_folder' => 'Tato složka již existuje',
+ 'Empty_name' => 'Zadali jste prázdný název',
+ 'Text_filter' => 'textový filtr',
+ 'Swipe_help' => 'Pro zobrazení možností klikněte na název souboru/složky.',
+ 'Upload_base' => 'Základní nahrávání',
+ 'Upload_url' => 'URL',
+ 'Upload_java' => 'JAVA upload (pro velké soubory)',
+ 'Upload_java_help' => "Pokud se Java Applet nenačítá, ujistěte se, že: 1. je ve vašem počítači nainstalována Java [odkaz pro stažení] 2. nic není blokováno firewallem",
+ 'Upload_base_help' => "Přetáhněte soubor(y) do prostoru výše nebo do něj klikněte myší (moderní prohlížeče) a vyberte soubory. Po dokončení nahrávání klikněte na tlačítko 'Zpět k seznamu souborů'.",
+ 'Type_dir' => 'složka',
+ 'Type' => 'Typ',
+ 'Dimension' => 'Rozměr',
+ 'Size' => 'Velikost',
+ 'Date' => 'Datum',
+ 'Filename' => 'Název',
+ 'Operations' => 'Operace',
+ 'Date_type' => 'd.m.Y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Zrušit',
+ 'Sorting' => 'Řazení',
+ 'Show_url' => 'Zobrazit URL adresu',
+ 'Extract' => 'Rozbalit zde',
+ 'File_info' => 'Informace o souboru',
+ 'Edit_image' => 'Upravit obrázek',
+ 'Duplicate' => 'Duplikovat',
+ 'Folders' => 'Složky',
+ 'Copy' => 'Kopírovat',
+ 'Cut' => 'Vyjmout',
+ 'Paste' => 'Vložit',
+ 'CB' => 'Schránka', // clipboard
+ 'Paste_Here' => 'Vložit do této složky',
+ 'Paste_Confirm' => 'Skutečně chcete vložit obsah schránky do této složky? Existující soubory či složky budou přepsány.',
+ 'Paste_Failed' => 'Vložení selhalo',
+ 'Clear_Clipboard' => 'Vymazat schránku',
+ 'Clear_Clipboard_Confirm' => 'Skutečně chcete vymazat obsah schránky?',
+ 'Files_ON_Clipboard' => 'Ve schránce jsou soubory.',
+ 'Copy_Cut_Size_Limit' => 'Zvolené soubory/složky jsou příliš velké pro operaci %s. Limit: %d MB/operace', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Zvolili jste příliš mnoho souborů/složek pro operaci %s. Limit: %d souborů/operace', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Nemáte oprávnění %s.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Obrázek nelze uložit',
+ 'Zip_No_Extract' => 'Archív nelze rozbalit. Soubor může být poškozen.',
+ 'Zip_Invalid' => 'Přípona není podporována. Povolené: zip, gz, tar.',
+ 'Dir_No_Write' => 'Vybraná složka není zapisovatelná.',
+ 'Function_Disabled' => 'Funkce %s byla zamítnuta serverem.', // %s = cut or copy
+ 'File_Permission' => 'Práva souboru',
+ 'File_Permission_Not_Allowed' => 'Změna oprávnění pro %s není povolena.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Použít rekurzivně?',
+ 'File_Permission_Wrong_Mode' => "Zadaný kód oprávnění není platný.",
+ 'User' => 'Uživatel',
+ 'Group' => 'Skupina',
+ 'Yes' => 'Ano',
+ 'No' => 'Ne',
+ 'Lang_Not_Found' => 'Jazyk nebyl nalezen.',
+ 'Lang_Change' => 'Změnit jazyk',
+ 'File_Not_Found' => 'Soubor nebyl nalezen.',
+ 'File_Open_Edit_Not_Allowed' => 'Nemáte oprávnění %s tento soubor.', // %s = open or edit
+ 'Edit' => 'Upravit',
+ 'Edit_File' => "Upravit obsah souboru",
+ 'File_Save_OK' => "Soubor byl úspěšně uložen.",
+ 'File_Save_Error' => "Došlo k chybě při ukládání souboru.",
+ 'New_File' => 'Nový soubor',
+ 'No_Extension' => 'Musíte doplnit příponu souboru.',
+ 'Valid_Extensions' => 'Povolené přípony: %s', // %s = txt,log etc.
+ 'Upload_message' => "Pro nahrání přetáhněte soubor(y) sem",
+
+ 'SERVER ERROR' => "CHYBA SERVERU",
+ 'forbiden' => "Zakázáno",
+ 'wrong path' => "Neplatná cesta",
+ 'wrong name' => "Neplatná název",
+ 'wrong extension' => "Neplatná přípona",
+ 'wrong option' => "Neplatná volba",
+ 'wrong data' => "Neplatná data",
+ 'wrong action' => "Neplatná akce",
+ 'wrong sub-action' => "Neplatná podakce",
+ 'no action passed' => "Nebyla předána žádná akce",
+ 'no path' => "Žádná cesta",
+ 'no file' => "Žádný soubor",
+ 'view type number missing' => "Chybí číslo typu pro zobrazení",
+ 'Not enought Memory' => "Nedostatek paměti",
+ 'max_size_reached' => "Vaše složka s obrázky dosáhla maximální velikosti %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Celková velikost",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/da.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/da.php
index 7a651d49..9e05c8bd 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/da.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/da.php
@@ -1,123 +1,123 @@
- 'Vælg',
- 'Erase' => 'Slet',
- 'Open' => 'Åbn',
- 'Confirm_del' => 'Er du sikker på at du vil slette denne fil?',
- 'All' => 'Alle',
- 'Files' => 'Filer',
- 'Images' => 'Billeder',
- 'Archives' => 'Mapper',
- 'Error_Upload' => 'Den uploadede fil er større end tilladt (100MB).',
- 'Error_extension' => 'Fil typen er ikke tilladt.',
- 'Upload_file' => 'Upload',
- 'Filters' => 'Filter',
- 'Videos' => 'Videoer',
- 'Music' => 'Musik',
- 'New_Folder' => 'Ny mappe',
- 'Folder_Created' => 'Mappen er oprettet korrekt',
- 'Existing_Folder' => 'Mappen findes allerede',
- 'Confirm_Folder_del' => 'Er du sikker på at du vil slette mappen og alt dens indhold?',
- 'Return_Files_List' => 'Tilbage til fil oversigten',
- 'Preview' => 'Preview',
- 'Download' => 'Download',
- 'Insert_Folder_Name' => 'Indsæt mappe navn:',
- 'Root' => 'rod',
- 'Rename' => 'Omdøb',
- 'Back' => 'tilbage',
- 'View' => 'Se',
- 'View_list' => 'Vis liste',
- 'View_columns_list' => 'Søjle liste',
- 'View_boxes' => 'Box list',
- 'Toolbar' => 'Toolbar',
- 'Actions' => 'Handlinger',
- 'Rename_existing_file' => 'Filen findes allerede',
- 'Rename_existing_folder' => 'Mappen findes allerede',
- 'Empty_name' => 'Indsæt et navn',
- 'Text_filter' => 'tekst filter',
- 'Swipe_help' => 'Swipe over navnet på fil/mappe for at se muligheder',
- 'Upload_base' => 'Basis upload',
- 'Upload_url' => 'URL',
- 'Upload_java' => 'JAVA upload (store filer)',
- 'Upload_java_help' => "Hvis Java Appletten ikke starter, så: 1. sørg for at sikre dig at du har Java installeret, alternativt [download link] 2. sørg for at sikre dig at der ikke er noget der blokeres af din firewall",
- 'Upload_base_help' => "Drag & Drop filer eller klik i området herover (moderne browsers) og vælg fil(erne). Når upload er færdigt, så tryk på 'Vend tilbage til filoversigt' knappen.",
- 'Type_dir' => 'dir',
- 'Type' => 'Type',
- 'Dimension' => 'Dimensioner',
- 'Size' => 'Størrelse',
- 'Date' => 'Dato',
- 'Filename' => 'Filenavn',
- 'Operations' => 'Operationer',
- 'Date_type' => 'år-måned-dag',
- 'OK' => 'OK',
- 'Cancel' => 'Afbryd',
- 'Sorting' => 'sortering',
- 'Show_url' => 'Vis sti',
- 'Extract' => 'Fold ud her',
- 'File_info' => 'fil info',
- 'Edit_image' => 'Redigér billede',
- 'Duplicate' => 'Kopiér',
- 'Folders' => 'Mapper',
- 'Copy' => 'Kopiér',
- 'Cut' => 'Klip',
- 'Paste' => 'Indsæt',
- 'CB' => 'UKH', // clipboard
- 'Paste_Here' => 'Indsæt i denne mappe',
- 'Paste_Confirm' => 'Er du sikker på at du vil indsætte i denne mappe? Det vil overkrive allerede eksisterende filer/mapper, hvis der findes nogen.',
- 'Paste_Failed' => 'Det lykkedes ikke at indsætte fil(en/erne)',
- 'Clear_Clipboard' => 'Slet indholdet af udklipsholderen',
- 'Clear_Clipboard_Confirm' => 'Er du sikker på at du vil slette indholdet af udklipsholderen?',
- 'Files_ON_Clipboard' => 'Der findes filer i udklipsholderen.',
- 'Copy_Cut_Size_Limit' => 'De valgte filer/mapper er for store til at %s. Max.: %d MB/operation', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'Du har valgt for mange filer/mapper til at %s. Max.: %d filer/operation', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'Du har ikke tilladelse til at %s filer. Tal med din administrator.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'Det var ikke muligt at gemme billedet',
- 'Zip_No_Extract' => 'Det var ikke muligt at hente. Filen er muligvis ødelagt.',
- 'Zip_Invalid' => 'Denne filtype understøttes ikke. De mulige filtyper er: zip, gz, tar.',
- 'Dir_No_Write' => 'Der kan ikke skrives til den valgte mappe. Kontakt din administrator.',
- 'Function_Disabled' => 'Denne %s funktion er slået fra af serveren.', // %s = cut or copy
- 'File_Permission' => 'Fil tilladelser',
- 'File_Permission_Not_Allowed' => 'Det er ikke tilladt at ændre tilladelsen for %s.', // %s = files or folders
- 'File_Permission_Recursive' => 'Gøres ved alle mapper og filer (rekursivt)?',
- 'File_Permission_Wrong_Mode' => "Den anvendte indstilling for tilladelse er ikke korrekt.",
- 'User' => 'Bruger',
- 'Group' => 'Gruppe',
- 'Yes' => 'Ja',
- 'No' => 'Nej',
- 'Lang_Not_Found' => 'Cet var ikke muligt at finde sprog-filen.',
- 'Lang_Change' => 'Andet sprog',
- 'File_Not_Found' => 'Det var ikke muligt at finde filen.',
- 'File_Open_Edit_Not_Allowed' => 'Du har ikke tiladelse til at %s denne fil.', // %s = open or edit
- 'Edit' => 'Redigér',
- 'Edit_File' => "Redigér filens indhold",
- 'File_Save_OK' => "Filen blev gemt.",
- 'File_Save_Error' => "Der opstod en fejl i forsøget på at gemme filen.",
- 'New_File' => 'Opret ny fil',
- 'No_Extension' => 'Husk at tilføje filtype.',
- 'Valid_Extensions' => 'Gyldige filtyper er: %s', // %s = txt,log etc.
- 'Upload_message' => "Drop file here to upload",
-
- 'SERVER ERROR' => "SERVER ERROR",
- 'forbiden' => "Forbiden",
- 'wrong path' => "Wrong path",
- 'wrong name' => "Wrong name",
- 'wrong extension' => "Wrong extension",
- 'wrong option' => "Wrong option",
- 'wrong data' => "Wrong data",
- 'wrong action' => "Wrong action",
- 'wrong sub-action' => "Wrong sub-actio",
- 'no action passed' => "No action passed",
- 'no path' => "No path",
- 'no file' => "No file",
- 'view type number missing' => "View type number missing",
- 'Not enought Memory' => "Not enought Memory",
- 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
- 'B' => "B",
- 'KB' => "KB",
- 'MB' => "MB",
- 'GB' => "GB",
- 'TB' => "TB",
- 'total size' => "Total size",
-);
+ 'Vælg',
+ 'Erase' => 'Slet',
+ 'Open' => 'Åbn',
+ 'Confirm_del' => 'Er du sikker på at du vil slette denne fil?',
+ 'All' => 'Alle',
+ 'Files' => 'Filer',
+ 'Images' => 'Billeder',
+ 'Archives' => 'Mapper',
+ 'Error_Upload' => 'Den uploadede fil er større end tilladt (100MB).',
+ 'Error_extension' => 'Fil typen er ikke tilladt.',
+ 'Upload_file' => 'Upload',
+ 'Filters' => 'Filter',
+ 'Videos' => 'Videoer',
+ 'Music' => 'Musik',
+ 'New_Folder' => 'Ny mappe',
+ 'Folder_Created' => 'Mappen er oprettet korrekt',
+ 'Existing_Folder' => 'Mappen findes allerede',
+ 'Confirm_Folder_del' => 'Er du sikker på at du vil slette mappen og alt dens indhold?',
+ 'Return_Files_List' => 'Tilbage til fil oversigten',
+ 'Preview' => 'Preview',
+ 'Download' => 'Download',
+ 'Insert_Folder_Name' => 'Indsæt mappe navn:',
+ 'Root' => 'rod',
+ 'Rename' => 'Omdøb',
+ 'Back' => 'tilbage',
+ 'View' => 'Se',
+ 'View_list' => 'Vis liste',
+ 'View_columns_list' => 'Søjle liste',
+ 'View_boxes' => 'Box list',
+ 'Toolbar' => 'Toolbar',
+ 'Actions' => 'Handlinger',
+ 'Rename_existing_file' => 'Filen findes allerede',
+ 'Rename_existing_folder' => 'Mappen findes allerede',
+ 'Empty_name' => 'Indsæt et navn',
+ 'Text_filter' => 'tekst filter',
+ 'Swipe_help' => 'Swipe over navnet på fil/mappe for at se muligheder',
+ 'Upload_base' => 'Basis upload',
+ 'Upload_url' => 'URL',
+ 'Upload_java' => 'JAVA upload (store filer)',
+ 'Upload_java_help' => "Hvis Java Appletten ikke starter, så: 1. sørg for at sikre dig at du har Java installeret, alternativt [download link] 2. sørg for at sikre dig at der ikke er noget der blokeres af din firewall",
+ 'Upload_base_help' => "Drag & Drop filer eller klik i området herover (moderne browsers) og vælg fil(erne). Når upload er færdigt, så tryk på 'Vend tilbage til filoversigt' knappen.",
+ 'Type_dir' => 'dir',
+ 'Type' => 'Type',
+ 'Dimension' => 'Dimensioner',
+ 'Size' => 'Størrelse',
+ 'Date' => 'Dato',
+ 'Filename' => 'Filenavn',
+ 'Operations' => 'Operationer',
+ 'Date_type' => 'år-måned-dag',
+ 'OK' => 'OK',
+ 'Cancel' => 'Afbryd',
+ 'Sorting' => 'sortering',
+ 'Show_url' => 'Vis sti',
+ 'Extract' => 'Fold ud her',
+ 'File_info' => 'fil info',
+ 'Edit_image' => 'Redigér billede',
+ 'Duplicate' => 'Kopiér',
+ 'Folders' => 'Mapper',
+ 'Copy' => 'Kopiér',
+ 'Cut' => 'Klip',
+ 'Paste' => 'Indsæt',
+ 'CB' => 'UKH', // clipboard
+ 'Paste_Here' => 'Indsæt i denne mappe',
+ 'Paste_Confirm' => 'Er du sikker på at du vil indsætte i denne mappe? Det vil overkrive allerede eksisterende filer/mapper, hvis der findes nogen.',
+ 'Paste_Failed' => 'Det lykkedes ikke at indsætte fil(en/erne)',
+ 'Clear_Clipboard' => 'Slet indholdet af udklipsholderen',
+ 'Clear_Clipboard_Confirm' => 'Er du sikker på at du vil slette indholdet af udklipsholderen?',
+ 'Files_ON_Clipboard' => 'Der findes filer i udklipsholderen.',
+ 'Copy_Cut_Size_Limit' => 'De valgte filer/mapper er for store til at %s. Max.: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Du har valgt for mange filer/mapper til at %s. Max.: %d filer/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Du har ikke tilladelse til at %s filer. Tal med din administrator.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Det var ikke muligt at gemme billedet',
+ 'Zip_No_Extract' => 'Det var ikke muligt at hente. Filen er muligvis ødelagt.',
+ 'Zip_Invalid' => 'Denne filtype understøttes ikke. De mulige filtyper er: zip, gz, tar.',
+ 'Dir_No_Write' => 'Der kan ikke skrives til den valgte mappe. Kontakt din administrator.',
+ 'Function_Disabled' => 'Denne %s funktion er slået fra af serveren.', // %s = cut or copy
+ 'File_Permission' => 'Fil tilladelser',
+ 'File_Permission_Not_Allowed' => 'Det er ikke tilladt at ændre tilladelsen for %s.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Gøres ved alle mapper og filer (rekursivt)?',
+ 'File_Permission_Wrong_Mode' => "Den anvendte indstilling for tilladelse er ikke korrekt.",
+ 'User' => 'Bruger',
+ 'Group' => 'Gruppe',
+ 'Yes' => 'Ja',
+ 'No' => 'Nej',
+ 'Lang_Not_Found' => 'Cet var ikke muligt at finde sprog-filen.',
+ 'Lang_Change' => 'Andet sprog',
+ 'File_Not_Found' => 'Det var ikke muligt at finde filen.',
+ 'File_Open_Edit_Not_Allowed' => 'Du har ikke tiladelse til at %s denne fil.', // %s = open or edit
+ 'Edit' => 'Redigér',
+ 'Edit_File' => "Redigér filens indhold",
+ 'File_Save_OK' => "Filen blev gemt.",
+ 'File_Save_Error' => "Der opstod en fejl i forsøget på at gemme filen.",
+ 'New_File' => 'Opret ny fil',
+ 'No_Extension' => 'Husk at tilføje filtype.',
+ 'Valid_Extensions' => 'Gyldige filtyper er: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enought Memory' => "Not enought Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/es.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/es.php
index 4bb7fa8b..6306cf87 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/es.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/es.php
@@ -1,123 +1,123 @@
- 'Seleccionar',
- 'Erase' => 'Eliminar',
- 'Open' => 'Abrir',
- 'Confirm_del' => '¿Seguro que deseas eliminar este archivo?',
- 'All' => 'Todos',
- 'Files' => 'Archivos',
- 'Images' => 'Imágenes',
- 'Archives' => 'Ficheros',
- 'Error_Upload' => 'El archivo que intenta subir excede el máximo permitido.',
- 'Error_extension' => 'La extensión del archivo no está permitida.',
- 'Upload_file' => 'Subir',
- 'Filters' => 'Filtros',
- 'Videos' => 'Videos',
- 'Music' => 'Música',
- 'New_Folder' => 'Nueva carpeta',
- 'Folder_Created' => 'La carpeta ha sido creada exitosamente.',
- 'Existing_Folder' => 'Carpeta existente',
- 'Confirm_Folder_del' => '¿Seguro que deseas eliminar la carpeta y todos los elementos que contiene?',
- 'Return_Files_List' => 'Regresar a la lista de archivos',
- 'Preview' => 'Vista previa',
- 'Download' => 'Descargar',
- 'Insert_Folder_Name' => 'Nombre de la carpeta:',
- 'Root' => 'raíz',
- 'Rename' => 'Renombrar',
- 'Back' => 'Atrás',
- 'View' => 'Vista',
- 'View_list' => 'Vista de lista',
- 'View_columns_list' => 'Vista de columnas',
- 'View_boxes' => 'Vista de miniaturas',
- 'Toolbar' => 'Barra de herramientas',
- 'Actions' => 'Acciones',
- 'Rename_existing_file' => 'El archivo ya existe',
- 'Rename_existing_folder' => 'La carpeta ya existe',
- 'Empty_name' => 'El nombre se encuentra vacío',
- 'Text_filter' => 'filtro de texto',
- 'Swipe_help' => 'Deslize el nombre del archivo/carpeta para mostrar las opciones',
- 'Upload_base' => 'Subida de archivos SIMPLE',
- 'Upload_url' => 'URL',
- 'Upload_java' => 'Subida de archivos JAVA (para archivos pesados)',
- 'Upload_java_help' => "Si el applet no carga: 1. Asegúrate de tener Java instalado; sino descárgalo e instálalo desde aquí 2. Asegúrate que tu firewall no esté bloqueando nada.",
- 'Upload_base_help' => "Arrastra y suelta los archivos dentro de esta área o haga clic en ella (para navegadores modernos) de lo contrario, seleccione el archivo y haga clic en el botón. Cuando finalice la subida, haga clic en el botón superior para regresar.",
- 'Type_dir' => 'Carpeta',
- 'Type' => 'Tipo',
- 'Dimension' => 'Dimensiones',
- 'Size' => 'Peso',
- 'Date' => 'Fecha',
- 'Filename' => 'Nombre',
- 'Operations' => 'Operaciones',
- 'Date_type' => 'y-m-d',
- 'OK' => 'OK',
- 'Cancel' => 'Cancelar',
- 'Sorting' => 'Ordenar',
- 'Show_url' => 'Mostrar URL',
- 'Extract' => 'Extraer aquí',
- 'File_info' => 'Información',
- 'Edit_image' => 'Editar imagen',
- 'Duplicate' => 'Duplicar',
- 'Folders' => 'Carpetas',
- 'Copy' => 'Copiar',
- 'Cut' => 'Cortar',
- 'Paste' => 'Pegar',
- 'CB' => 'Portapapeles', // clipboard
- 'Paste_Here' => 'Pegar en esta carpeta',
- 'Paste_Confirm' => '¿Está seguro de pegar el contenido en esta carpeta? Esta acción sobreescribirá los archivos y carpetas existentes.',
- 'Paste_Failed' => 'Error al pegar los archivos',
- 'Clear_Clipboard' => 'Limpiar el portapapeles',
- 'Clear_Clipboard_Confirm' => '¿Está seguro que desea limpiar el portapapeles?',
- 'Files_ON_Clipboard' => 'Existen archivos en el portapapeles',
- 'Copy_Cut_Size_Limit' => 'Los archivos/carpetas seleccionados son demasiado grandes para %s. Límite: %d MB/operación', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'Ha seleccionado demasiados archivos/carpetas para %s. Límite: %d archivos/operación', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'No está permitido de %s archivos.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'No fue posible guardar la imagen',
- 'Zip_No_Extract' => 'No fue posible extraer los archivos. Es posible que el archivo esté corrupto.',
- 'Zip_Invalid' => 'Esta extensión no es soportada. Extensiones válidas: zip, gz, tar.',
- 'Dir_No_Write' => 'El directorio que ha seleccionado no tiene permisos de escritura.',
- 'Function_Disabled' => 'La función %s ha sido deshabilitada en el servidor.', // %s = cut or copy
- 'File_Permission' => 'File permission',
- 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
- 'File_Permission_Recursive' => 'Apply recursively?',
- 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
- 'User' => 'User',
- 'Group' => 'Group',
- 'Yes' => 'Yes',
- 'No' => 'No',
- 'Lang_Not_Found' => 'Could not find language.',
- 'Lang_Change' => 'Change the language',
- 'File_Not_Found' => 'Could not find the file.',
- 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
- 'Edit' => 'Edit',
- 'Edit_File' => "Edit file's content",
- 'File_Save_OK' => "File successfully saved.",
- 'File_Save_Error' => "There was an error while saving the file.",
- 'New_File' => 'New File',
- 'No_Extension' => 'You have to add a file extension.',
- 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
- 'Upload_message' => "Drop file here to upload",
-
- 'SERVER ERROR' => "SERVER ERROR",
- 'forbiden' => "Forbiden",
- 'wrong path' => "Wrong path",
- 'wrong name' => "Wrong name",
- 'wrong extension' => "Wrong extension",
- 'wrong option' => "Wrong option",
- 'wrong data' => "Wrong data",
- 'wrong action' => "Wrong action",
- 'wrong sub-action' => "Wrong sub-actio",
- 'no action passed' => "No action passed",
- 'no path' => "No path",
- 'no file' => "No file",
- 'view type number missing' => "View type number missing",
- 'Not enought Memory' => "Not enought Memory",
- 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
- 'B' => "B",
- 'KB' => "KB",
- 'MB' => "MB",
- 'GB' => "GB",
- 'TB' => "TB",
- 'total size' => "Total size",
-);
+ 'Seleccionar',
+ 'Erase' => 'Eliminar',
+ 'Open' => 'Abrir',
+ 'Confirm_del' => '¿Seguro que deseas eliminar este archivo?',
+ 'All' => 'Todos',
+ 'Files' => 'Archivos',
+ 'Images' => 'Imágenes',
+ 'Archives' => 'Ficheros',
+ 'Error_Upload' => 'El archivo que intenta subir excede el máximo permitido.',
+ 'Error_extension' => 'La extensión del archivo no está permitida.',
+ 'Upload_file' => 'Subir',
+ 'Filters' => 'Filtros',
+ 'Videos' => 'Videos',
+ 'Music' => 'Música',
+ 'New_Folder' => 'Nueva carpeta',
+ 'Folder_Created' => 'La carpeta ha sido creada exitosamente.',
+ 'Existing_Folder' => 'Carpeta existente',
+ 'Confirm_Folder_del' => '¿Seguro que deseas eliminar la carpeta y todos los elementos que contiene?',
+ 'Return_Files_List' => 'Regresar a la lista de archivos',
+ 'Preview' => 'Vista previa',
+ 'Download' => 'Descargar',
+ 'Insert_Folder_Name' => 'Nombre de la carpeta:',
+ 'Root' => 'raíz',
+ 'Rename' => 'Renombrar',
+ 'Back' => 'Atrás',
+ 'View' => 'Vista',
+ 'View_list' => 'Vista de lista',
+ 'View_columns_list' => 'Vista de columnas',
+ 'View_boxes' => 'Vista de miniaturas',
+ 'Toolbar' => 'Barra de herramientas',
+ 'Actions' => 'Acciones',
+ 'Rename_existing_file' => 'El archivo ya existe',
+ 'Rename_existing_folder' => 'La carpeta ya existe',
+ 'Empty_name' => 'El nombre se encuentra vacío',
+ 'Text_filter' => 'filtro de texto',
+ 'Swipe_help' => 'Deslize el nombre del archivo/carpeta para mostrar las opciones',
+ 'Upload_base' => 'Subida de archivos SIMPLE',
+ 'Upload_url' => 'URL',
+ 'Upload_java' => 'Subida de archivos JAVA (para archivos pesados)',
+ 'Upload_java_help' => "Si el applet no carga: 1. Asegúrate de tener Java instalado; sino descárgalo e instálalo desde aquí 2. Asegúrate que tu firewall no esté bloqueando nada.",
+ 'Upload_base_help' => "Arrastra y suelta los archivos dentro de esta área o haga clic en ella (para navegadores modernos) de lo contrario, seleccione el archivo y haga clic en el botón. Cuando finalice la subida, haga clic en el botón superior para regresar.",
+ 'Type_dir' => 'Carpeta',
+ 'Type' => 'Tipo',
+ 'Dimension' => 'Dimensiones',
+ 'Size' => 'Peso',
+ 'Date' => 'Fecha',
+ 'Filename' => 'Nombre',
+ 'Operations' => 'Operaciones',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'OK',
+ 'Cancel' => 'Cancelar',
+ 'Sorting' => 'Ordenar',
+ 'Show_url' => 'Mostrar URL',
+ 'Extract' => 'Extraer aquí',
+ 'File_info' => 'Información',
+ 'Edit_image' => 'Editar imagen',
+ 'Duplicate' => 'Duplicar',
+ 'Folders' => 'Carpetas',
+ 'Copy' => 'Copiar',
+ 'Cut' => 'Cortar',
+ 'Paste' => 'Pegar',
+ 'CB' => 'Portapapeles', // clipboard
+ 'Paste_Here' => 'Pegar en esta carpeta',
+ 'Paste_Confirm' => '¿Está seguro de pegar el contenido en esta carpeta? Esta acción sobreescribirá los archivos y carpetas existentes.',
+ 'Paste_Failed' => 'Error al pegar los archivos',
+ 'Clear_Clipboard' => 'Limpiar el portapapeles',
+ 'Clear_Clipboard_Confirm' => '¿Está seguro que desea limpiar el portapapeles?',
+ 'Files_ON_Clipboard' => 'Existen archivos en el portapapeles',
+ 'Copy_Cut_Size_Limit' => 'Los archivos/carpetas seleccionados son demasiado grandes para %s. Límite: %d MB/operación', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Ha seleccionado demasiados archivos/carpetas para %s. Límite: %d archivos/operación', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'No está permitido de %s archivos.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'No fue posible guardar la imagen',
+ 'Zip_No_Extract' => 'No fue posible extraer los archivos. Es posible que el archivo esté corrupto.',
+ 'Zip_Invalid' => 'Esta extensión no es soportada. Extensiones válidas: zip, gz, tar.',
+ 'Dir_No_Write' => 'El directorio que ha seleccionado no tiene permisos de escritura.',
+ 'Function_Disabled' => 'La función %s ha sido deshabilitada en el servidor.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enought Memory' => "Not enought Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/hu_HU.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/hu_HU.php
index ebde6a44..6962dac3 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/hu_HU.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/hu_HU.php
@@ -1,123 +1,123 @@
- 'Tallózás',
- 'Erase' => 'Törlés',
- 'Open' => 'Megnyitás',
- 'Confirm_del' => 'Biztos vagy benne, hogy törlöd ezt a fájlt?',
- 'All' => 'Összes',
- 'Files' => 'Fájlok',
- 'Images' => 'Képek',
- 'Archives' => 'Tömörített',
- 'Error_Upload' => 'A kiválasztott fájl mérete túl nagy!',
- 'Error_extension' => 'A megadott kiterjesztésű fájl nem engedélyezett.',
- 'Upload_file' => 'Fájl feltöltése',
- 'Filters' => 'Szűrő',
- 'Videos' => 'Videó',
- 'Music' => 'Zene',
- 'New_Folder' => 'Új mappa',
- 'Folder_Created' => 'Mappa létrehozva',
- 'Existing_Folder' => 'Mappa már létezik',
- 'Confirm_Folder_del' => 'Biztos, hogy törlöd a könyvtárat és annak tartalmát?',
- 'Return_Files_List' => 'Vissza a fájllistához',
- 'Preview' => 'Előnézet',
- 'Download' => 'Letöltés',
- 'Insert_Folder_Name' => 'Mappa neve:',
- 'Root' => 'root',
- 'Rename' => 'Átnevezés',
- 'Back' => 'vissza',
- 'View' => 'Nézet',
- 'View_list' => 'Lista',
- 'View_columns_list' => 'Oszlopok',
- 'View_boxes' => 'Miniatűrök',
- 'Toolbar' => 'Eszközök',
- 'Actions' => 'Műveletek',
- 'Rename_existing_file' => 'A fájl már létezik',
- 'Rename_existing_folder' => 'A mappa már létezik',
- 'Empty_name' => 'A név nincs megadva',
- 'Text_filter' => 'szűrés',
- 'Swipe_help' => 'Húzd az egered a fájl/mappa nevére, hogy lásd az opciókat.',
- 'Upload_base' => 'Alapértelmezett feltöltő',
- 'Upload_url' => 'URL',
- 'Upload_java' => 'JAVA feltöltő (nagyméretű fájlokhoz)',
- 'Upload_java_help' => "Ha a Java Applet nem töltődik be: 1. ellenőrizze, hogy a JAVA telepítve van-e, ha nincs: [letöltés] 2. ellenőrizze, hogy a tűzfal nem blokkolja-e",
- 'Upload_base_help' => "Fogd meg és húzd az ablakba a fájlt vagy kattints bele és válaszd ki majd nyomd meg a megnyitás gombot (modern böngészők). Amikor a feltöltés befejeződött kattints a fenti gombra a visszatéréshez.",
- 'Type_dir' => 'Mappa',
- 'Type' => 'Típus',
- 'Dimension' => 'Felbontás',
- 'Size' => 'Méret',
- 'Date' => 'Dátum',
- 'Filename' => 'Név',
- 'Operations' => 'Műveletek',
- 'Date_type' => 'y-m-d',
- 'OK' => 'OK',
- 'Cancel' => 'Mégse',
- 'Sorting' => 'rendezés',
- 'Show_url' => 'URL mutatása',
- 'Extract' => 'kibontás ide',
- 'File_info' => 'fájl info',
- 'Edit_image' => 'kép szerkesztése',
- 'Duplicate' => 'Klónozás',
- 'Folders' => 'Mappák',
- 'Copy' => 'Másolás',
- 'Cut' => 'Kivágás',
- 'Paste' => 'Beillesztés',
- 'CB' => 'VL', // clipboard
- 'Paste_Here' => 'Beillesztés ebbe a mappába.',
- 'Paste_Confirm' => 'Biztos vagy benne, hogy ebbe a mappába szeretnéd beilleszteni a fájlokat? A létező fájlok/mappák felül lesznek írva.',
- 'Paste_Failed' => 'A beillesztés sikertelen!',
- 'Clear_Clipboard' => 'Vágólap törlése',
- 'Clear_Clipboard_Confirm' => 'Biztos törlöd a vágólap tartalmát?',
- 'Files_ON_Clipboard' => 'Fájlok találhatóak a vágólapon.',
- 'Copy_Cut_Size_Limit' => 'A kiválasztott fájlok/mappák túl nagyok a %shoz. Limit: %d MB/művelet', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'Túl sok fájlt választottál ki a %shoz. Limit: %d fájl/művelet', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'A %s nem engedélyezett.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'A kép mentése sikertelen.',
- 'Zip_No_Extract' => 'Kicsomagolás sikertelen. Lehet, hogy korrupt a fájl.',
- 'Zip_Invalid' => 'Ez a kiterjesztés nem támogatott. Támogatott: zip, gz, tar.',
- 'Dir_No_Write' => 'A kiválasztott mappa nem írható.',
- 'Function_Disabled' => 'A %s funkciót letiltotta a szerver.', // %s = cut or copy
- 'File_Permission' => 'Engedélyek',
- 'File_Permission_Not_Allowed' => 'A %s jogainak a megváltoztatása nem engedélyezett.', // %s = files or folders
- 'File_Permission_Recursive' => 'Rekurzív beállítás az almappákra?',
- 'File_Permission_Wrong_Mode' => "A beírt engedély nem megfelelő.",
- 'User' => 'Felhasználó',
- 'Group' => 'Csoport',
- 'Yes' => 'Igen',
- 'No' => 'Nem',
- 'Lang_Not_Found' => 'A nyelv nem található.',
- 'Lang_Change' => 'Nyelv megváltoztatása',
- 'File_Not_Found' => 'A fájl nem található.',
- 'File_Open_Edit_Not_Allowed' => 'Nincs jogod %s a fájlt.', // %s = open or edit
- 'Edit' => 'Szerkesztés',
- 'Edit_File' => "Fájl szerkesztése",
- 'File_Save_OK' => "Fájl sikeresen mentve.",
- 'File_Save_Error' => "Hiba történt a fájl mentése közben.",
- 'New_File' => 'Új fájl',
- 'No_Extension' => 'Meg kell adnod a fájl kiterjesztését.',
- 'Valid_Extensions' => 'Elfogadott kiterjesztések: %s', // %s = txt,log etc.
- 'Upload_message' => "Drop file here to upload",
-
- 'SERVER ERROR' => "SERVER ERROR",
- 'forbiden' => "Forbiden",
- 'wrong path' => "Wrong path",
- 'wrong name' => "Wrong name",
- 'wrong extension' => "Wrong extension",
- 'wrong option' => "Wrong option",
- 'wrong data' => "Wrong data",
- 'wrong action' => "Wrong action",
- 'wrong sub-action' => "Wrong sub-actio",
- 'no action passed' => "No action passed",
- 'no path' => "No path",
- 'no file' => "No file",
- 'view type number missing' => "View type number missing",
- 'Not enought Memory' => "Not enought Memory",
- 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
- 'B' => "B",
- 'KB' => "KB",
- 'MB' => "MB",
- 'GB' => "GB",
- 'TB' => "TB",
- 'total size' => "Total size",
-);
+ 'Tallózás',
+ 'Erase' => 'Törlés',
+ 'Open' => 'Megnyitás',
+ 'Confirm_del' => 'Biztos vagy benne, hogy törlöd ezt a fájlt?',
+ 'All' => 'Összes',
+ 'Files' => 'Fájlok',
+ 'Images' => 'Képek',
+ 'Archives' => 'Tömörített',
+ 'Error_Upload' => 'A kiválasztott fájl mérete túl nagy!',
+ 'Error_extension' => 'A megadott kiterjesztésű fájl nem engedélyezett.',
+ 'Upload_file' => 'Fájl feltöltése',
+ 'Filters' => 'Szűrő',
+ 'Videos' => 'Videó',
+ 'Music' => 'Zene',
+ 'New_Folder' => 'Új mappa',
+ 'Folder_Created' => 'Mappa létrehozva',
+ 'Existing_Folder' => 'Mappa már létezik',
+ 'Confirm_Folder_del' => 'Biztos, hogy törlöd a könyvtárat és annak tartalmát?',
+ 'Return_Files_List' => 'Vissza a fájllistához',
+ 'Preview' => 'Előnézet',
+ 'Download' => 'Letöltés',
+ 'Insert_Folder_Name' => 'Mappa neve:',
+ 'Root' => 'root',
+ 'Rename' => 'Átnevezés',
+ 'Back' => 'vissza',
+ 'View' => 'Nézet',
+ 'View_list' => 'Lista',
+ 'View_columns_list' => 'Oszlopok',
+ 'View_boxes' => 'Miniatűrök',
+ 'Toolbar' => 'Eszközök',
+ 'Actions' => 'Műveletek',
+ 'Rename_existing_file' => 'A fájl már létezik',
+ 'Rename_existing_folder' => 'A mappa már létezik',
+ 'Empty_name' => 'A név nincs megadva',
+ 'Text_filter' => 'szűrés',
+ 'Swipe_help' => 'Húzd az egered a fájl/mappa nevére, hogy lásd az opciókat.',
+ 'Upload_base' => 'Alapértelmezett feltöltő',
+ 'Upload_url' => 'URL',
+ 'Upload_java' => 'JAVA feltöltő (nagyméretű fájlokhoz)',
+ 'Upload_java_help' => "Ha a Java Applet nem töltődik be: 1. ellenőrizze, hogy a JAVA telepítve van-e, ha nincs: [letöltés] 2. ellenőrizze, hogy a tűzfal nem blokkolja-e",
+ 'Upload_base_help' => "Fogd meg és húzd az ablakba a fájlt vagy kattints bele és válaszd ki majd nyomd meg a megnyitás gombot (modern böngészők). Amikor a feltöltés befejeződött kattints a fenti gombra a visszatéréshez.",
+ 'Type_dir' => 'Mappa',
+ 'Type' => 'Típus',
+ 'Dimension' => 'Felbontás',
+ 'Size' => 'Méret',
+ 'Date' => 'Dátum',
+ 'Filename' => 'Név',
+ 'Operations' => 'Műveletek',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'OK',
+ 'Cancel' => 'Mégse',
+ 'Sorting' => 'rendezés',
+ 'Show_url' => 'URL mutatása',
+ 'Extract' => 'kibontás ide',
+ 'File_info' => 'fájl info',
+ 'Edit_image' => 'kép szerkesztése',
+ 'Duplicate' => 'Klónozás',
+ 'Folders' => 'Mappák',
+ 'Copy' => 'Másolás',
+ 'Cut' => 'Kivágás',
+ 'Paste' => 'Beillesztés',
+ 'CB' => 'VL', // clipboard
+ 'Paste_Here' => 'Beillesztés ebbe a mappába.',
+ 'Paste_Confirm' => 'Biztos vagy benne, hogy ebbe a mappába szeretnéd beilleszteni a fájlokat? A létező fájlok/mappák felül lesznek írva.',
+ 'Paste_Failed' => 'A beillesztés sikertelen!',
+ 'Clear_Clipboard' => 'Vágólap törlése',
+ 'Clear_Clipboard_Confirm' => 'Biztos törlöd a vágólap tartalmát?',
+ 'Files_ON_Clipboard' => 'Fájlok találhatóak a vágólapon.',
+ 'Copy_Cut_Size_Limit' => 'A kiválasztott fájlok/mappák túl nagyok a %shoz. Limit: %d MB/művelet', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Túl sok fájlt választottál ki a %shoz. Limit: %d fájl/művelet', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'A %s nem engedélyezett.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'A kép mentése sikertelen.',
+ 'Zip_No_Extract' => 'Kicsomagolás sikertelen. Lehet, hogy korrupt a fájl.',
+ 'Zip_Invalid' => 'Ez a kiterjesztés nem támogatott. Támogatott: zip, gz, tar.',
+ 'Dir_No_Write' => 'A kiválasztott mappa nem írható.',
+ 'Function_Disabled' => 'A %s funkciót letiltotta a szerver.', // %s = cut or copy
+ 'File_Permission' => 'Engedélyek',
+ 'File_Permission_Not_Allowed' => 'A %s jogainak a megváltoztatása nem engedélyezett.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Rekurzív beállítás az almappákra?',
+ 'File_Permission_Wrong_Mode' => "A beírt engedély nem megfelelő.",
+ 'User' => 'Felhasználó',
+ 'Group' => 'Csoport',
+ 'Yes' => 'Igen',
+ 'No' => 'Nem',
+ 'Lang_Not_Found' => 'A nyelv nem található.',
+ 'Lang_Change' => 'Nyelv megváltoztatása',
+ 'File_Not_Found' => 'A fájl nem található.',
+ 'File_Open_Edit_Not_Allowed' => 'Nincs jogod %s a fájlt.', // %s = open or edit
+ 'Edit' => 'Szerkesztés',
+ 'Edit_File' => "Fájl szerkesztése",
+ 'File_Save_OK' => "Fájl sikeresen mentve.",
+ 'File_Save_Error' => "Hiba történt a fájl mentése közben.",
+ 'New_File' => 'Új fájl',
+ 'No_Extension' => 'Meg kell adnod a fájl kiterjesztését.',
+ 'Valid_Extensions' => 'Elfogadott kiterjesztések: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enought Memory' => "Not enought Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/mn_MN.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/mn_MN.php
index 92c91a1f..3c0b6400 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/mn_MN.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/mn_MN.php
@@ -1,123 +1,123 @@
- 'Сонгох',
- 'Erase' => 'Устгах',
- 'Open' => 'Нээх',
- 'Confirm_del' => 'Та энэ файлыг устгахдаа итгэлтэй байна уу?',
- 'All' => 'Бүгд',
- 'Files' => 'Файлууд',
- 'Images' => 'Зурагнууд',
- 'Archives' => 'Архивлагдсан файлууд',
- 'Error_Upload' => 'Хуулсан файл зөвшөөрөгдөх хэмжээнээс их байна.',
- 'Error_extension' => 'Файлын өргөтгөх зөвшөөрөгдөөгүй.',
- 'Upload_file' => 'Хуулах',
- 'Filters' => 'Шүүлтүүрүүд',
- 'Videos' => 'Бичлэгнүүд',
- 'Music' => 'Дуунууд',
- 'New_Folder' => 'Шинэ хавтас',
- 'Folder_Created' => 'Хавтас амжилттай үүслээ',
- 'Existing_Folder' => 'Давхардсан хавтас',
- 'Confirm_Folder_del' => 'Хавтас болон доторх бүх файлуудыг устгахдаа итгэлтэй байна уу?',
- 'Return_Files_List' => 'Файлын жагсаалт руу буцах',
- 'Preview' => 'Урьдчилан харах',
- 'Download' => 'Татаж авах',
- 'Insert_Folder_Name' => 'Хавтасны нэрийг оруулна уу:',
- 'Root' => 'root',
- 'Rename' => 'Нэрлэх',
- 'Back' => 'буцах',
- 'View' => 'Үзэх',
- 'View_list' => 'Жагсаалтаар харах',
- 'View_columns_list' => 'Баганаар харах',
- 'View_boxes' => 'Хайрцгаар харах',
- 'Toolbar' => 'Товчилсон товчнууд',
- 'Actions' => 'Үйлдэл',
- 'Rename_existing_file' => 'Файл аль хэдийнэ үүссэн байна',
- 'Rename_existing_folder' => 'Хавтас аль хэдийнэ үүсэн байна',
- 'Empty_name' => 'Нэр хоосон байна',
- 'Text_filter' => 'текстэн шүүлтүүр',
- 'Swipe_help' => 'Файл/Хавтасны нэрийг товшоод тохиргоог харна уу',
- 'Upload_base' => 'Энгийнээр хуулах',
- 'Upload_url' => 'URL',
- 'Upload_java' => 'JAVA-гаар хуулах (их хэмжээтэй файл)',
- 'Upload_java_help' => "Хэрэв Java Applet уншихгүй бол 1. Java суусан эсэхийг шалгана уу, үгүй бол [эндээс татаж авна уу] 2. Галт хана дээр хаалт хийсэн эсэхийг шалгана уу",
- 'Upload_base_help' => "Хуулах хэсэг дээр файлыг зөөж тавих болон дээр нь дарж хуулж болно (орчин үеийн хөтөч дээр). Хуулж дууссан бол 'Файлын жагсаалт руу буцах' товчин дээр дарна уу.",
- 'Type_dir' => 'dir',
- 'Type' => 'Төрөл',
- 'Dimension' => 'Харьцаа',
- 'Size' => 'Хэмжээ',
- 'Date' => 'Огноо',
- 'Filename' => 'Файлын нэр',
- 'Operations' => 'Үйлдэлүүд',
- 'Date_type' => 'y-m-d',
- 'OK' => 'ОК',
- 'Cancel' => 'Буцах',
- 'Sorting' => 'эрэмбэлэх',
- 'Show_url' => 'URL-г харах',
- 'Extract' => 'энд задла',
- 'File_info' => 'файлын мэдээлэл',
- 'Edit_image' => 'зураг засварлах',
- 'Duplicate' => 'Давхардуулах',
- 'Folders' => 'Folders',
- 'Copy' => 'Copy',
- 'Cut' => 'Cut',
- 'Paste' => 'Paste',
- 'CB' => 'CB', // clipboard
- 'Paste_Here' => 'Paste to this directory',
- 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
- 'Paste_Failed' => 'Failed to paste file(s)',
- 'Clear_Clipboard' => 'Clear clipboard',
- 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
- 'Files_ON_Clipboard' => 'There are files on the clipboard.',
- 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'Could not save image',
- 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
- 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
- 'Dir_No_Write' => 'The directory you selected is not writable.',
- 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
- 'File_Permission' => 'File permission',
- 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
- 'File_Permission_Recursive' => 'Apply recursively?',
- 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
- 'User' => 'User',
- 'Group' => 'Group',
- 'Yes' => 'Yes',
- 'No' => 'No',
- 'Lang_Not_Found' => 'Could not find language.',
- 'Lang_Change' => 'Change the language',
- 'File_Not_Found' => 'Could not find the file.',
- 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
- 'Edit' => 'Edit',
- 'Edit_File' => "Edit file's content",
- 'File_Save_OK' => "File successfully saved.",
- 'File_Save_Error' => "There was an error while saving the file.",
- 'New_File' => 'New File',
- 'No_Extension' => 'You have to add a file extension.',
- 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
- 'Upload_message' => "Drop file here to upload",
-
- 'SERVER ERROR' => "SERVER ERROR",
- 'forbiden' => "Forbiden",
- 'wrong path' => "Wrong path",
- 'wrong name' => "Wrong name",
- 'wrong extension' => "Wrong extension",
- 'wrong option' => "Wrong option",
- 'wrong data' => "Wrong data",
- 'wrong action' => "Wrong action",
- 'wrong sub-action' => "Wrong sub-actio",
- 'no action passed' => "No action passed",
- 'no path' => "No path",
- 'no file' => "No file",
- 'view type number missing' => "View type number missing",
- 'Not enought Memory' => "Not enought Memory",
- 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
- 'B' => "B",
- 'KB' => "KB",
- 'MB' => "MB",
- 'GB' => "GB",
- 'TB' => "TB",
- 'total size' => "Total size",
-);
+ 'Сонгох',
+ 'Erase' => 'Устгах',
+ 'Open' => 'Нээх',
+ 'Confirm_del' => 'Та энэ файлыг устгахдаа итгэлтэй байна уу?',
+ 'All' => 'Бүгд',
+ 'Files' => 'Файлууд',
+ 'Images' => 'Зурагнууд',
+ 'Archives' => 'Архивлагдсан файлууд',
+ 'Error_Upload' => 'Хуулсан файл зөвшөөрөгдөх хэмжээнээс их байна.',
+ 'Error_extension' => 'Файлын өргөтгөх зөвшөөрөгдөөгүй.',
+ 'Upload_file' => 'Хуулах',
+ 'Filters' => 'Шүүлтүүрүүд',
+ 'Videos' => 'Бичлэгнүүд',
+ 'Music' => 'Дуунууд',
+ 'New_Folder' => 'Шинэ хавтас',
+ 'Folder_Created' => 'Хавтас амжилттай үүслээ',
+ 'Existing_Folder' => 'Давхардсан хавтас',
+ 'Confirm_Folder_del' => 'Хавтас болон доторх бүх файлуудыг устгахдаа итгэлтэй байна уу?',
+ 'Return_Files_List' => 'Файлын жагсаалт руу буцах',
+ 'Preview' => 'Урьдчилан харах',
+ 'Download' => 'Татаж авах',
+ 'Insert_Folder_Name' => 'Хавтасны нэрийг оруулна уу:',
+ 'Root' => 'root',
+ 'Rename' => 'Нэрлэх',
+ 'Back' => 'буцах',
+ 'View' => 'Үзэх',
+ 'View_list' => 'Жагсаалтаар харах',
+ 'View_columns_list' => 'Баганаар харах',
+ 'View_boxes' => 'Хайрцгаар харах',
+ 'Toolbar' => 'Товчилсон товчнууд',
+ 'Actions' => 'Үйлдэл',
+ 'Rename_existing_file' => 'Файл аль хэдийнэ үүссэн байна',
+ 'Rename_existing_folder' => 'Хавтас аль хэдийнэ үүсэн байна',
+ 'Empty_name' => 'Нэр хоосон байна',
+ 'Text_filter' => 'текстэн шүүлтүүр',
+ 'Swipe_help' => 'Файл/Хавтасны нэрийг товшоод тохиргоог харна уу',
+ 'Upload_base' => 'Энгийнээр хуулах',
+ 'Upload_url' => 'URL',
+ 'Upload_java' => 'JAVA-гаар хуулах (их хэмжээтэй файл)',
+ 'Upload_java_help' => "Хэрэв Java Applet уншихгүй бол 1. Java суусан эсэхийг шалгана уу, үгүй бол [эндээс татаж авна уу] 2. Галт хана дээр хаалт хийсэн эсэхийг шалгана уу",
+ 'Upload_base_help' => "Хуулах хэсэг дээр файлыг зөөж тавих болон дээр нь дарж хуулж болно (орчин үеийн хөтөч дээр). Хуулж дууссан бол 'Файлын жагсаалт руу буцах' товчин дээр дарна уу.",
+ 'Type_dir' => 'dir',
+ 'Type' => 'Төрөл',
+ 'Dimension' => 'Харьцаа',
+ 'Size' => 'Хэмжээ',
+ 'Date' => 'Огноо',
+ 'Filename' => 'Файлын нэр',
+ 'Operations' => 'Үйлдэлүүд',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'ОК',
+ 'Cancel' => 'Буцах',
+ 'Sorting' => 'эрэмбэлэх',
+ 'Show_url' => 'URL-г харах',
+ 'Extract' => 'энд задла',
+ 'File_info' => 'файлын мэдээлэл',
+ 'Edit_image' => 'зураг засварлах',
+ 'Duplicate' => 'Давхардуулах',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste to this directory',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'Clear clipboard',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enought Memory' => "Not enought Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/pt_BR.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/pt_BR.php
index 9bd4c450..e8fedef3 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/pt_BR.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/pt_BR.php
@@ -1,123 +1,123 @@
- 'Selecionar',
- 'Erase' => 'Apagar',
- 'Open' => 'Abrir',
- 'Confirm_del' => 'Tem certeza que quer deletar este arquivo?',
- 'All' => 'Todos',
- 'Files' => 'Arquivos',
- 'Images' => 'Imagens',
- 'Archives' => 'Compactados',
- 'Error_Upload' => 'O arquivo enviado é maior que o limite permitido.',
- 'Error_extension' => 'Extensão não permitida.',
- 'Upload_file' => 'Enviar um arquivo',
- 'Filters' => 'Filtro',
- 'Videos' => 'Vídeos',
- 'Music' => 'Musica',
- 'New_Folder' => 'Nova pasta',
- 'Folder_Created' => 'Pasta criada corretamente',
- 'Existing_Folder' => 'Pasta existente',
- 'Confirm_Folder_del' => 'Tem certeza que você quer deletar a pasta e todo o seu conteúdo?',
- 'Return_Files_List' => 'Voltar à lista de arquivos',
- 'Preview' => 'Prévia',
- 'Download' => 'Baixar',
- 'Insert_Folder_Name' => 'Insira o nome da pasta:',
- 'Root' => 'root',
- 'Rename' => 'Mudar o nome',
- 'Back' => 'de volta',
- 'View' => 'Modo de Visualização',
- 'View_list' => 'Lista',
- 'View_columns_list' => 'Lista de Colunas',
- 'View_boxes' => 'Box',
- 'Toolbar' => 'Toolbar',
- 'Actions' => 'Ações',
- 'Rename_existing_file' => 'O arquivo já existe!',
- 'Rename_existing_folder' => 'A pasta já existe!',
- 'Empty_name' => 'O nome está vazio!',
- 'Text_filter' => 'Filtrar',
- 'Swipe_help' => 'Passe o nome do arquivo/pasta para ver as opções',
- 'Upload_base' => 'Base upload',
- 'Upload_url' => 'URL',
- 'Upload_java' => 'JAVA upload (Arquivos grandes)',
- 'Upload_java_help' => "Se o Java Applet não carregar: 1. Certifique-se de ter o Java instalado de outra forma [download link] 2. Certifique-se que nada é impedido pelo firewall",
- 'Upload_base_help' => "Arraste e Solta os arquivos dentro área acima ou clique nele (para navegadores modernos), caso contrário, selecione o arquivo e clique no botão. Quando terminar o upload, clique no botão de retorno superior.",
- 'Type_dir' => 'dir',
- 'Type' => 'Tipo',
- 'Dimension' => 'Dimensão',
- 'Size' => 'Tamanho',
- 'Date' => 'Data',
- 'Filename' => 'Nome',
- 'Operations' => 'Operações',
- 'Date_type' => 'd/m/Y',
- 'OK' => 'OK',
- 'Cancel' => 'Cancelar',
- 'Sorting' => 'Ordenar',
- 'Show_url' => 'Mostrar URL',
- 'Extract' => 'Extrair aqui',
- 'File_info' => 'Informação do Arquivo',
- 'Edit_image' => 'Editar a imagem',
- 'Duplicate' => 'Duplicar',
- 'Folders' => 'Pastas',
- 'Copy' => 'Copiar',
- 'Cut' => 'Recortar',
- 'Paste' => 'Colar',
- 'CB' => 'Área de Transferência', // clipboard
- 'Paste_Here' => 'Copiar para este diretório',
- 'Paste_Confirm' => 'Você tem certeza quer copiar para este diretório? Isso sobrescreverá pastas/arquivos existentes se encontrar alguma coisa.',
- 'Paste_Failed' => 'Não foi possível colar o(s) arquivo(s)',
- 'Clear_Clipboard' => 'Limpar área de transferência',
- 'Clear_Clipboard_Confirm' => 'Tem certeza de que deseja limpar a área de transferência?',
- 'Files_ON_Clipboard' => 'Há arquivos na área de transferência.',
- 'Copy_Cut_Size_Limit' => 'Os arquivos/pastas selecionados são grandes demais para %s. Limite: %d MB/operação', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'Você selecionou muitos arquivos/pastas para %s. Limite: %d arquivos/operação', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'Você não tem permissão para %s arquivos.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'Não foi possível salvar a imagem',
- 'Zip_No_Extract' => 'Não foi possível extrair. Arquivo pode estar corrompido.',
- 'Zip_Invalid' => 'Esta extensão não é suportada. Válidos: zip, gz, tar.',
- 'Dir_No_Write' => 'O diretório selecionado não é gravável.',
- 'Function_Disabled' => 'A função %s foi desativado pelo servidor.', // %s = cut or copy
- 'File_Permission' => 'Permissão arquivo',
- 'File_Permission_Not_Allowed' => 'Mudanças de permissões de %s não são permitidos.', // %s = files or folders
- 'File_Permission_Recursive' => 'Aplicar recursivamente?',
- 'File_Permission_Wrong_Mode' => "O modo de permissão fornecido está incorreto.",
- 'User' => 'Usuário',
- 'Group' => 'Grupo',
- 'Yes' => 'Sim',
- 'No' => 'Não',
- 'Lang_Not_Found' => 'Não foi possível encontrar uma linguagem.',
- 'Lang_Change' => 'Alterar o idioma',
- 'File_Not_Found' => 'Não foi possível encontrar o arquivo.',
- 'File_Open_Edit_Not_Allowed' => 'Você não tem permissão para %s este arquivo.', // %s = open or edit
- 'Edit' => 'Editar',
- 'Edit_File' => "Editar conteúdo do arquivo",
- 'File_Save_OK' => "Arquivo salvo com sucesso.",
- 'File_Save_Error' => "Houve um erro ao salvar o arquivo.",
- 'New_File' => 'Novo Arquivo',
- 'No_Extension' => 'Você tem que adicionar uma extensão de arquivo.',
- 'Valid_Extensions' => 'Extensões válidas: %s', // %s = txt,log etc.
- 'Upload_message' => "Arraste arquivo aqui para enviar",
-
- 'SERVER ERROR' => "ERRO SERVIDOR",
- 'forbiden' => "proibido",
- 'wrong path' => "caminho errado",
- 'wrong name' => "nome errado",
- 'wrong extension' => "extensão errada",
- 'wrong option' => "opção errada",
- 'wrong data' => "dados errados",
- 'wrong action' => "ação errada",
- 'wrong sub-action' => "sub-ação errada",
- 'no action passed' => "nenhuma ação passada",
- 'no path' => "nenhum caminho",
- 'no file' => "nenhum arquivo",
- 'view type number missing' => "Ver tipo de número faltando",
- 'Not enought Memory' => "Memória insuficiente",
- 'max_size_reached' => "Sua pasta de imagens atingiu seu tamanho máximo de %d MB.", //%d = max overall size
- 'B' => "B",
- 'KB' => "KB",
- 'MB' => "MB",
- 'GB' => "GB",
- 'TB' => "TB",
- 'total size' => "Tamanho total",
-);
+ 'Selecionar',
+ 'Erase' => 'Apagar',
+ 'Open' => 'Abrir',
+ 'Confirm_del' => 'Tem certeza que quer deletar este arquivo?',
+ 'All' => 'Todos',
+ 'Files' => 'Arquivos',
+ 'Images' => 'Imagens',
+ 'Archives' => 'Compactados',
+ 'Error_Upload' => 'O arquivo enviado é maior que o limite permitido.',
+ 'Error_extension' => 'Extensão não permitida.',
+ 'Upload_file' => 'Enviar um arquivo',
+ 'Filters' => 'Filtro',
+ 'Videos' => 'Vídeos',
+ 'Music' => 'Musica',
+ 'New_Folder' => 'Nova pasta',
+ 'Folder_Created' => 'Pasta criada corretamente',
+ 'Existing_Folder' => 'Pasta existente',
+ 'Confirm_Folder_del' => 'Tem certeza que você quer deletar a pasta e todo o seu conteúdo?',
+ 'Return_Files_List' => 'Voltar à lista de arquivos',
+ 'Preview' => 'Prévia',
+ 'Download' => 'Baixar',
+ 'Insert_Folder_Name' => 'Insira o nome da pasta:',
+ 'Root' => 'root',
+ 'Rename' => 'Mudar o nome',
+ 'Back' => 'de volta',
+ 'View' => 'Modo de Visualização',
+ 'View_list' => 'Lista',
+ 'View_columns_list' => 'Lista de Colunas',
+ 'View_boxes' => 'Box',
+ 'Toolbar' => 'Toolbar',
+ 'Actions' => 'Ações',
+ 'Rename_existing_file' => 'O arquivo já existe!',
+ 'Rename_existing_folder' => 'A pasta já existe!',
+ 'Empty_name' => 'O nome está vazio!',
+ 'Text_filter' => 'Filtrar',
+ 'Swipe_help' => 'Passe o nome do arquivo/pasta para ver as opções',
+ 'Upload_base' => 'Base upload',
+ 'Upload_url' => 'URL',
+ 'Upload_java' => 'JAVA upload (Arquivos grandes)',
+ 'Upload_java_help' => "Se o Java Applet não carregar: 1. Certifique-se de ter o Java instalado de outra forma [download link] 2. Certifique-se que nada é impedido pelo firewall",
+ 'Upload_base_help' => "Arraste e Solta os arquivos dentro área acima ou clique nele (para navegadores modernos), caso contrário, selecione o arquivo e clique no botão. Quando terminar o upload, clique no botão de retorno superior.",
+ 'Type_dir' => 'dir',
+ 'Type' => 'Tipo',
+ 'Dimension' => 'Dimensão',
+ 'Size' => 'Tamanho',
+ 'Date' => 'Data',
+ 'Filename' => 'Nome',
+ 'Operations' => 'Operações',
+ 'Date_type' => 'd/m/Y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Cancelar',
+ 'Sorting' => 'Ordenar',
+ 'Show_url' => 'Mostrar URL',
+ 'Extract' => 'Extrair aqui',
+ 'File_info' => 'Informação do Arquivo',
+ 'Edit_image' => 'Editar a imagem',
+ 'Duplicate' => 'Duplicar',
+ 'Folders' => 'Pastas',
+ 'Copy' => 'Copiar',
+ 'Cut' => 'Recortar',
+ 'Paste' => 'Colar',
+ 'CB' => 'Área de Transferência', // clipboard
+ 'Paste_Here' => 'Copiar para este diretório',
+ 'Paste_Confirm' => 'Você tem certeza quer copiar para este diretório? Isso sobrescreverá pastas/arquivos existentes se encontrar alguma coisa.',
+ 'Paste_Failed' => 'Não foi possível colar o(s) arquivo(s)',
+ 'Clear_Clipboard' => 'Limpar área de transferência',
+ 'Clear_Clipboard_Confirm' => 'Tem certeza de que deseja limpar a área de transferência?',
+ 'Files_ON_Clipboard' => 'Há arquivos na área de transferência.',
+ 'Copy_Cut_Size_Limit' => 'Os arquivos/pastas selecionados são grandes demais para %s. Limite: %d MB/operação', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Você selecionou muitos arquivos/pastas para %s. Limite: %d arquivos/operação', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Você não tem permissão para %s arquivos.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Não foi possível salvar a imagem',
+ 'Zip_No_Extract' => 'Não foi possível extrair. Arquivo pode estar corrompido.',
+ 'Zip_Invalid' => 'Esta extensão não é suportada. Válidos: zip, gz, tar.',
+ 'Dir_No_Write' => 'O diretório selecionado não é gravável.',
+ 'Function_Disabled' => 'A função %s foi desativado pelo servidor.', // %s = cut or copy
+ 'File_Permission' => 'Permissão arquivo',
+ 'File_Permission_Not_Allowed' => 'Mudanças de permissões de %s não são permitidos.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Aplicar recursivamente?',
+ 'File_Permission_Wrong_Mode' => "O modo de permissão fornecido está incorreto.",
+ 'User' => 'Usuário',
+ 'Group' => 'Grupo',
+ 'Yes' => 'Sim',
+ 'No' => 'Não',
+ 'Lang_Not_Found' => 'Não foi possível encontrar uma linguagem.',
+ 'Lang_Change' => 'Alterar o idioma',
+ 'File_Not_Found' => 'Não foi possível encontrar o arquivo.',
+ 'File_Open_Edit_Not_Allowed' => 'Você não tem permissão para %s este arquivo.', // %s = open or edit
+ 'Edit' => 'Editar',
+ 'Edit_File' => "Editar conteúdo do arquivo",
+ 'File_Save_OK' => "Arquivo salvo com sucesso.",
+ 'File_Save_Error' => "Houve um erro ao salvar o arquivo.",
+ 'New_File' => 'Novo Arquivo',
+ 'No_Extension' => 'Você tem que adicionar uma extensão de arquivo.',
+ 'Valid_Extensions' => 'Extensões válidas: %s', // %s = txt,log etc.
+ 'Upload_message' => "Arraste arquivo aqui para enviar",
+
+ 'SERVER ERROR' => "ERRO SERVIDOR",
+ 'forbiden' => "proibido",
+ 'wrong path' => "caminho errado",
+ 'wrong name' => "nome errado",
+ 'wrong extension' => "extensão errada",
+ 'wrong option' => "opção errada",
+ 'wrong data' => "dados errados",
+ 'wrong action' => "ação errada",
+ 'wrong sub-action' => "sub-ação errada",
+ 'no action passed' => "nenhuma ação passada",
+ 'no path' => "nenhum caminho",
+ 'no file' => "nenhum arquivo",
+ 'view type number missing' => "Ver tipo de número faltando",
+ 'Not enought Memory' => "Memória insuficiente",
+ 'max_size_reached' => "Sua pasta de imagens atingiu seu tamanho máximo de %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Tamanho total",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/ru.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/ru.php
index 0ee705f6..a5a472e2 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/ru.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/ru.php
@@ -1,122 +1,122 @@
- 'Выбрать',
- 'Erase' => 'Удалить',
- 'Open' => 'Открыть',
- 'Confirm_del' => 'Вы уверены, что хотите удалить этот файл?',
- 'All' => 'Очистить фильтр',
- 'Files' => 'Файлы',
- 'Images' => 'Изображения',
- 'Archives' => 'Архивы',
- 'Error_Upload' => 'Загружаемый файл превышает допустимый размер.',
- 'Error_extension' => 'Недопустимый формат файла.',
- 'Upload_file' => 'Загрузить файл',
- 'Filters' => 'Фильтр',
- 'Videos' => 'Видео',
- 'Music' => 'Музыка',
- 'New_Folder' => 'Новая папка',
- 'Folder_Created' => 'Папка успешно создана',
- 'Existing_Folder' => 'Существующая папка',
- 'Confirm_Folder_del' => 'Вы уверены, что хотите удалить эту папку и все файлы в ней?',
- 'Return_Files_List' => 'Вернуться к списку файлов',
- 'Preview' => 'Просмотр',
- 'Download' => 'Загрузить',
- 'Insert_Folder_Name' => 'Введите имя папки:',
- 'Root' => 'Корневая папка',
- 'Rename' => 'Переименовать',
- 'Back' => 'Назад',
- 'View' => 'Вид',
- 'View_list' => 'Список',
- 'View_columns_list' => 'Столбцы',
- 'View_boxes' => 'Плитка',
- 'Toolbar' => 'Панель',
- 'Actions' => 'Действия',
- 'Rename_existing_file' => 'Файл уже существует',
- 'Rename_existing_folder' => 'Папка уже существует',
- 'Empty_name' => 'Не заполнено имя',
- 'Text_filter' => 'фильтр',
- 'Swipe_help' => 'Наведите на имя файла/папки, чтобы увидеть опции',
- 'Upload_base' => 'Основная загрузка',
- 'Upload_url' => 'URL',
- 'Upload_java' => 'JAVA загрузка (для файлов больших размеров)',
- 'Upload_java_help' => "Если Java-апплет не загружается: 1. Убедитесь, что установлена Java, в противном случае [скачайте] 2. Убедитесь, что фаервол ничего не блокирует",
- 'Upload_base_help' => "Перетащите файлы в область выше или щелкните по ней мышкой (для современных браузеров) и выберите файл(ы). После завершения загрузки нажмите кнопку «Вернуться к списку файлов».",
- 'Type_dir' => 'папка',
- 'Type' => 'Тип',
- 'Dimension' => 'Разрешение',
- 'Size' => 'Размер',
- 'Date' => 'Дата',
- 'Filename' => 'Имя файла',
- 'Operations' => 'Действие',
- 'Date_type' => 'd-m-Y',
- 'OK' => 'OK',
- 'Cancel' => 'Отмена',
- 'Sorting' => 'Сортировка',
- 'Show_url' => 'Показать URL',
- 'Extract' => 'Распаковать здесь',
- 'File_info' => 'Свойства файла',
- 'Edit_image' => 'Редактировать',
- 'Duplicate' => 'Создать копию',
- 'Folders' => 'Папки',
- 'Copy' => 'Копировать',
- 'Cut' => 'Вырезать',
- 'Paste' => 'Вставить',
- 'CB' => 'Буфер обмена', // clipboard
- 'Paste_Here' => 'Вставить в текущую папку',
- 'Paste_Confirm' => 'Вы хотите вставить в эту папку? При совпадении имён файлы будут перезаписаны',
- 'Paste_Failed' => 'Не удалось вставить файл(ы).',
- 'Clear_Clipboard' => 'Очистить буфер обмена',
- 'Clear_Clipboard_Confirm' => 'Очистить буфер обмена?',
- 'Files_ON_Clipboard' => 'Есть файлы в буфере обмена.',
- 'Copy_Cut_Size_Limit' => 'Выбранные файлы/папки слишком большие для %s. Ограничение: %d Мб за одну операцию', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'Выбрано слишком много файлов/папок для %s. Ограничение: %d файлов за одну операцию', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'Вы не можете %s файлы.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'Невозможно сохранить изображение.',
- 'Zip_No_Extract' => 'Извлечь невозможно. Возможно файл повреждён.',
- 'Zip_Invalid' => 'Это расширение не поддерживается. Разрешённые: zip, gz, tar.',
- 'Dir_No_Write' => 'Выбранный каталог недоступен для записи.',
- 'Function_Disabled' => 'Функция %s была отключена на сервере.', // %s = cut or copy
- 'File_Permission' => 'Разрешения на файл',
- 'File_Permission_Not_Allowed' => 'Изменение разрешений %s не допускается.', // %s = files or folders
- 'File_Permission_Recursive' => 'Применить рекурсивно?',
- 'File_Permission_Wrong_Mode' => "Выбранные режим разрешений некорректен.",
- 'User' => 'Пользователь',
- 'Group' => 'Группа',
- 'Yes' => 'Да',
- 'No' => 'Нет',
- 'Lang_Not_Found' => 'Невозможно найти язык',
- 'Lang_Change' => 'Сменить язык',
- 'File_Not_Found' => 'Невозможно найти файл',
- 'File_Open_Edit_Not_Allowed' => 'Вы не можете %s этот файл.', // %s = open or edit
- 'Edit' => 'Редактировать',
- 'Edit_File' => "Редактировать содержимое файла",
- 'File_Save_OK' => "Файл успешно сохранён",
- 'File_Save_Error' => "Произошла ошибка при сохранении файла",
- 'New_File' => 'Новый файл',
- 'No_Extension' => 'Необходимо добавить расширение файла',
- 'Valid_Extensions' => 'Разрешённые расширения файла: %s', // %s = txt,log etc.
- 'Upload_message' => "Перетащите файл сюда, чтобы загрузить",
- 'SERVER ERROR' => "СЕРВЕРНАЯ ОШИБКА",
- 'forbiden' => "Запрещено",
- 'wrong path' => "Неверный путь",
- 'wrong name' => "Неверное имя",
- 'wrong extension' => "Неверное расширение",
- 'wrong option' => "Неверная опция",
- 'wrong data' => "Неверные данные",
- 'wrong action' => "Неверное действие",
- 'wrong sub-action' => "Неверное доп.действие",
- 'no action passed' => "Действие не сработало",
- 'no path' => "Путь не существует",
- 'no file' => "Файл не существует",
- 'view type number missing' => "Данный тип отсутствует",
- 'Not enought Memory' => "Недостаточно памяти",
- 'max_size_reached' => "Папка достигла максимального размера в %d MB.", //%d = max overall size
- 'B' => "B",
- 'KB' => "KB",
- 'MB' => "MB",
- 'GB' => "GB",
- 'TB' => "TB",
- 'total size' => "Общий размер",
-);
+ 'Выбрать',
+ 'Erase' => 'Удалить',
+ 'Open' => 'Открыть',
+ 'Confirm_del' => 'Вы уверены, что хотите удалить этот файл?',
+ 'All' => 'Очистить фильтр',
+ 'Files' => 'Файлы',
+ 'Images' => 'Изображения',
+ 'Archives' => 'Архивы',
+ 'Error_Upload' => 'Загружаемый файл превышает допустимый размер.',
+ 'Error_extension' => 'Недопустимый формат файла.',
+ 'Upload_file' => 'Загрузить файл',
+ 'Filters' => 'Фильтр',
+ 'Videos' => 'Видео',
+ 'Music' => 'Музыка',
+ 'New_Folder' => 'Новая папка',
+ 'Folder_Created' => 'Папка успешно создана',
+ 'Existing_Folder' => 'Существующая папка',
+ 'Confirm_Folder_del' => 'Вы уверены, что хотите удалить эту папку и все файлы в ней?',
+ 'Return_Files_List' => 'Вернуться к списку файлов',
+ 'Preview' => 'Просмотр',
+ 'Download' => 'Загрузить',
+ 'Insert_Folder_Name' => 'Введите имя папки:',
+ 'Root' => 'Корневая папка',
+ 'Rename' => 'Переименовать',
+ 'Back' => 'Назад',
+ 'View' => 'Вид',
+ 'View_list' => 'Список',
+ 'View_columns_list' => 'Столбцы',
+ 'View_boxes' => 'Плитка',
+ 'Toolbar' => 'Панель',
+ 'Actions' => 'Действия',
+ 'Rename_existing_file' => 'Файл уже существует',
+ 'Rename_existing_folder' => 'Папка уже существует',
+ 'Empty_name' => 'Не заполнено имя',
+ 'Text_filter' => 'фильтр',
+ 'Swipe_help' => 'Наведите на имя файла/папки, чтобы увидеть опции',
+ 'Upload_base' => 'Основная загрузка',
+ 'Upload_url' => 'URL',
+ 'Upload_java' => 'JAVA загрузка (для файлов больших размеров)',
+ 'Upload_java_help' => "Если Java-апплет не загружается: 1. Убедитесь, что установлена Java, в противном случае [скачайте] 2. Убедитесь, что фаервол ничего не блокирует",
+ 'Upload_base_help' => "Перетащите файлы в область выше или щелкните по ней мышкой (для современных браузеров) и выберите файл(ы). После завершения загрузки нажмите кнопку «Вернуться к списку файлов».",
+ 'Type_dir' => 'папка',
+ 'Type' => 'Тип',
+ 'Dimension' => 'Разрешение',
+ 'Size' => 'Размер',
+ 'Date' => 'Дата',
+ 'Filename' => 'Имя файла',
+ 'Operations' => 'Действие',
+ 'Date_type' => 'd-m-Y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Отмена',
+ 'Sorting' => 'Сортировка',
+ 'Show_url' => 'Показать URL',
+ 'Extract' => 'Распаковать здесь',
+ 'File_info' => 'Свойства файла',
+ 'Edit_image' => 'Редактировать',
+ 'Duplicate' => 'Создать копию',
+ 'Folders' => 'Папки',
+ 'Copy' => 'Копировать',
+ 'Cut' => 'Вырезать',
+ 'Paste' => 'Вставить',
+ 'CB' => 'Буфер обмена', // clipboard
+ 'Paste_Here' => 'Вставить в текущую папку',
+ 'Paste_Confirm' => 'Вы хотите вставить в эту папку? При совпадении имён файлы будут перезаписаны',
+ 'Paste_Failed' => 'Не удалось вставить файл(ы).',
+ 'Clear_Clipboard' => 'Очистить буфер обмена',
+ 'Clear_Clipboard_Confirm' => 'Очистить буфер обмена?',
+ 'Files_ON_Clipboard' => 'Есть файлы в буфере обмена.',
+ 'Copy_Cut_Size_Limit' => 'Выбранные файлы/папки слишком большие для %s. Ограничение: %d Мб за одну операцию', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Выбрано слишком много файлов/папок для %s. Ограничение: %d файлов за одну операцию', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Вы не можете %s файлы.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Невозможно сохранить изображение.',
+ 'Zip_No_Extract' => 'Извлечь невозможно. Возможно файл повреждён.',
+ 'Zip_Invalid' => 'Это расширение не поддерживается. Разрешённые: zip, gz, tar.',
+ 'Dir_No_Write' => 'Выбранный каталог недоступен для записи.',
+ 'Function_Disabled' => 'Функция %s была отключена на сервере.', // %s = cut or copy
+ 'File_Permission' => 'Разрешения на файл',
+ 'File_Permission_Not_Allowed' => 'Изменение разрешений %s не допускается.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Применить рекурсивно?',
+ 'File_Permission_Wrong_Mode' => "Выбранные режим разрешений некорректен.",
+ 'User' => 'Пользователь',
+ 'Group' => 'Группа',
+ 'Yes' => 'Да',
+ 'No' => 'Нет',
+ 'Lang_Not_Found' => 'Невозможно найти язык',
+ 'Lang_Change' => 'Сменить язык',
+ 'File_Not_Found' => 'Невозможно найти файл',
+ 'File_Open_Edit_Not_Allowed' => 'Вы не можете %s этот файл.', // %s = open or edit
+ 'Edit' => 'Редактировать',
+ 'Edit_File' => "Редактировать содержимое файла",
+ 'File_Save_OK' => "Файл успешно сохранён",
+ 'File_Save_Error' => "Произошла ошибка при сохранении файла",
+ 'New_File' => 'Новый файл',
+ 'No_Extension' => 'Необходимо добавить расширение файла',
+ 'Valid_Extensions' => 'Разрешённые расширения файла: %s', // %s = txt,log etc.
+ 'Upload_message' => "Перетащите файл сюда, чтобы загрузить",
+ 'SERVER ERROR' => "СЕРВЕРНАЯ ОШИБКА",
+ 'forbiden' => "Запрещено",
+ 'wrong path' => "Неверный путь",
+ 'wrong name' => "Неверное имя",
+ 'wrong extension' => "Неверное расширение",
+ 'wrong option' => "Неверная опция",
+ 'wrong data' => "Неверные данные",
+ 'wrong action' => "Неверное действие",
+ 'wrong sub-action' => "Неверное доп.действие",
+ 'no action passed' => "Действие не сработало",
+ 'no path' => "Путь не существует",
+ 'no file' => "Файл не существует",
+ 'view type number missing' => "Данный тип отсутствует",
+ 'Not enought Memory' => "Недостаточно памяти",
+ 'max_size_reached' => "Папка достигла максимального размера в %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Общий размер",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/sl.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/sl.php
index f5c98410..ea9b8b4a 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/sl.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/sl.php
@@ -1,123 +1,123 @@
- 'Označi',
- 'Erase' => 'Izbriši',
- 'Open' => 'Odpri',
- 'Confirm_del' => 'Ali res želite izbrisati to datoteko?',
- 'All' => 'Vse',
- 'Files' => 'Datoteke',
- 'Images' => 'Slike',
- 'Archives' => 'Arhiv',
- 'Error_Upload' => 'Velikost datoteke presega maksimalno dovoljeno velikost.',
- 'Error_extension' => 'Izbrana vrsta datoteke ni dovoljena.',
- 'Upload_file' => 'Naloži datoteke na strežnik',
- 'Filters' => 'Filtri',
- 'Videos' => 'Video',
- 'Music' => 'Glasba',
- 'New_Folder' => 'Nova mapa',
- 'Folder_Created' => 'Mapa je bila ustvarjena',
- 'Existing_Folder' => 'Obstoječa mapa',
- 'Confirm_Folder_del' => 'Ali res želite izbrisati mapo in vso vsebino, ki je v mapi?',
- 'Return_Files_List' => 'Nazaj na seznam datotek',
- 'Preview' => 'Predogled',
- 'Download' => 'Prenesi',
- 'Insert_Folder_Name' => 'Vpište ime mape:',
- 'Root' => 'Domov',
- 'Rename' => 'Preimenuj',
- 'Back' => 'Nazaj',
- 'View' => 'Prikaz',
- 'View_list' => 'Seznam',
- 'View_columns_list' => 'Stolpci',
- 'View_boxes' => 'Okvirji',
- 'Toolbar' => 'Orodna vrstica',
- 'Actions' => 'Akcije',
- 'Rename_existing_file' => 'Datoteka že obstaja',
- 'Rename_existing_folder' => 'Mapa že obstaja',
- 'Empty_name' => 'Ime je prazno',
- 'Text_filter' => 'išči',
- 'Swipe_help' => 'Izmakni ime datoteke/mape za prikaz možnosti',
- 'Upload_base' => 'Osnovni način',
- 'Upload_url' => 'URL',
- 'Upload_java' => 'JAVA prenos (za velike datoteke)',
- 'Upload_java_help' => "Če se Java ne zažene, preverite če imate Javo naloženo (če je nimate jo [naložite]) in preverite da je ne blokira vaš požarni zid.",
- 'Upload_base_help' => 'Povlecite in spustite datoteke ali kliknite v okvir (pri sodobnih brskalnikih) in izberite datoteke. Ko bo nalaganje končano, kliknite gumb "Nazaj na seznam datotek".',
- 'Type_dir' => 'Mapa',
- 'Type' => 'Vrsta',
- 'Dimension' => 'Dimenzija',
- 'Size' => 'Velikost',
- 'Date' => 'Datum',
- 'Filename' => 'Ime',
- 'Operations' => 'Ukazi',
- 'Date_type' => 'd.m.y',
- 'OK' => 'Potrdi',
- 'Cancel' => 'Prekliči',
- 'Sorting' => 'Razvrsti po:',
- 'Show_url' => 'Prikaži povezavo',
- 'Extract' => 'Razširi sem',
- 'File_info' => 'Podatki o datoteki',
- 'Edit_image' => 'Uredi sliko',
- 'Duplicate' => 'Podvoji',
- 'Folders' => 'Folders',
- 'Copy' => 'Copy',
- 'Cut' => 'Cut',
- 'Paste' => 'Paste',
- 'CB' => 'CB', // clipboard
- 'Paste_Here' => 'Paste to this directory',
- 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
- 'Paste_Failed' => 'Failed to paste file(s)',
- 'Clear_Clipboard' => 'Clear clipboard',
- 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
- 'Files_ON_Clipboard' => 'There are files on the clipboard.',
- 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'Could not save image',
- 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
- 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
- 'Dir_No_Write' => 'The directory you selected is not writable.',
- 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
- 'File_Permission' => 'File permission',
- 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
- 'File_Permission_Recursive' => 'Apply recursively?',
- 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
- 'User' => 'User',
- 'Group' => 'Group',
- 'Yes' => 'Yes',
- 'No' => 'No',
- 'Lang_Not_Found' => 'Could not find language.',
- 'Lang_Change' => 'Change the language',
- 'File_Not_Found' => 'Could not find the file.',
- 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
- 'Edit' => 'Edit',
- 'Edit_File' => "Edit file's content",
- 'File_Save_OK' => "File successfully saved.",
- 'File_Save_Error' => "There was an error while saving the file.",
- 'New_File' => 'New File',
- 'No_Extension' => 'You have to add a file extension.',
- 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
- 'Upload_message' => "Drop file here to upload",
-
- 'SERVER ERROR' => "SERVER ERROR",
- 'forbiden' => "Forbiden",
- 'wrong path' => "Wrong path",
- 'wrong name' => "Wrong name",
- 'wrong extension' => "Wrong extension",
- 'wrong option' => "Wrong option",
- 'wrong data' => "Wrong data",
- 'wrong action' => "Wrong action",
- 'wrong sub-action' => "Wrong sub-actio",
- 'no action passed' => "No action passed",
- 'no path' => "No path",
- 'no file' => "No file",
- 'view type number missing' => "View type number missing",
- 'Not enought Memory' => "Not enought Memory",
- 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
- 'B' => "B",
- 'KB' => "KB",
- 'MB' => "MB",
- 'GB' => "GB",
- 'TB' => "TB",
- 'total size' => "Total size",
-);
+ 'Označi',
+ 'Erase' => 'Izbriši',
+ 'Open' => 'Odpri',
+ 'Confirm_del' => 'Ali res želite izbrisati to datoteko?',
+ 'All' => 'Vse',
+ 'Files' => 'Datoteke',
+ 'Images' => 'Slike',
+ 'Archives' => 'Arhiv',
+ 'Error_Upload' => 'Velikost datoteke presega maksimalno dovoljeno velikost.',
+ 'Error_extension' => 'Izbrana vrsta datoteke ni dovoljena.',
+ 'Upload_file' => 'Naloži datoteke na strežnik',
+ 'Filters' => 'Filtri',
+ 'Videos' => 'Video',
+ 'Music' => 'Glasba',
+ 'New_Folder' => 'Nova mapa',
+ 'Folder_Created' => 'Mapa je bila ustvarjena',
+ 'Existing_Folder' => 'Obstoječa mapa',
+ 'Confirm_Folder_del' => 'Ali res želite izbrisati mapo in vso vsebino, ki je v mapi?',
+ 'Return_Files_List' => 'Nazaj na seznam datotek',
+ 'Preview' => 'Predogled',
+ 'Download' => 'Prenesi',
+ 'Insert_Folder_Name' => 'Vpište ime mape:',
+ 'Root' => 'Domov',
+ 'Rename' => 'Preimenuj',
+ 'Back' => 'Nazaj',
+ 'View' => 'Prikaz',
+ 'View_list' => 'Seznam',
+ 'View_columns_list' => 'Stolpci',
+ 'View_boxes' => 'Okvirji',
+ 'Toolbar' => 'Orodna vrstica',
+ 'Actions' => 'Akcije',
+ 'Rename_existing_file' => 'Datoteka že obstaja',
+ 'Rename_existing_folder' => 'Mapa že obstaja',
+ 'Empty_name' => 'Ime je prazno',
+ 'Text_filter' => 'išči',
+ 'Swipe_help' => 'Izmakni ime datoteke/mape za prikaz možnosti',
+ 'Upload_base' => 'Osnovni način',
+ 'Upload_url' => 'URL',
+ 'Upload_java' => 'JAVA prenos (za velike datoteke)',
+ 'Upload_java_help' => "Če se Java ne zažene, preverite če imate Javo naloženo (če je nimate jo [naložite]) in preverite da je ne blokira vaš požarni zid.",
+ 'Upload_base_help' => 'Povlecite in spustite datoteke ali kliknite v okvir (pri sodobnih brskalnikih) in izberite datoteke. Ko bo nalaganje končano, kliknite gumb "Nazaj na seznam datotek".',
+ 'Type_dir' => 'Mapa',
+ 'Type' => 'Vrsta',
+ 'Dimension' => 'Dimenzija',
+ 'Size' => 'Velikost',
+ 'Date' => 'Datum',
+ 'Filename' => 'Ime',
+ 'Operations' => 'Ukazi',
+ 'Date_type' => 'd.m.y',
+ 'OK' => 'Potrdi',
+ 'Cancel' => 'Prekliči',
+ 'Sorting' => 'Razvrsti po:',
+ 'Show_url' => 'Prikaži povezavo',
+ 'Extract' => 'Razširi sem',
+ 'File_info' => 'Podatki o datoteki',
+ 'Edit_image' => 'Uredi sliko',
+ 'Duplicate' => 'Podvoji',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste to this directory',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'Clear clipboard',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enought Memory' => "Not enought Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/uk_UA.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/uk_UA.php
index 221fdcb7..16a188b9 100644
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/uk_UA.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/lang/uk_UA.php
@@ -1,123 +1,123 @@
- 'Вибрати',
- 'Erase' => 'Видалити',
- 'Open' => 'Відкрити',
- 'Confirm_del' => 'Впевнені, що хочете видалити цей файл?',
- 'All' => 'Всі',
- 'Files' => 'Файли',
- 'Images' => 'Зображення',
- 'Archives' => 'Архіви',
- 'Error_Upload' => 'Файл, що завантажується перевищує дозволений розмір.',
- 'Error_extension' => 'Неприпустимий формат файлу.',
- 'Upload_file' => 'Завантажити файл',
- 'Filters' => 'Фільтр',
- 'Videos' => 'Відео',
- 'Music' => 'Музика',
- 'New_Folder' => 'Нова тека',
- 'Folder_Created' => 'Теку успішно створено',
- 'Existing_Folder' => 'Існуюча тека',
- 'Confirm_Folder_del' => 'Впевнені, що хочете видалити цю теку і всі файли в ній?',
- 'Return_Files_List' => 'Повернутися до списку файлів',
- 'Preview' => 'Перегляд',
- 'Download' => 'Завантажити',
- 'Insert_Folder_Name' => 'Введіть ім`я папки:',
- 'Root' => 'Коренева тека',
- 'Rename' => 'Переіменувати',
- 'Back' => 'назад',
- 'View' => 'Вигляд',
- 'View_list' => 'Список',
- 'View_columns_list' => 'Стовпчики',
- 'View_boxes' => 'Плиткою',
- 'Toolbar' => 'Панель',
- 'Actions' => 'Дії',
- 'Rename_existing_file' => 'Файл вже існує',
- 'Rename_existing_folder' => 'Тека вже існує',
- 'Empty_name' => 'Не заповнено ім`я',
- 'Text_filter' => 'фільтр',
- 'Swipe_help' => 'Наведіть на ім`я файлу/папки, щоб побачити опції',
- 'Upload_base' => 'Основне завантаження',
- 'Upload_url' => 'URL',
- 'Upload_java' => 'JAVA-завантаження (для файлів великих розмірів)',
- 'Upload_java_help' => "Якщо Java-апплет не завантажується: 1. переконайтесь, що Java встановлено на вашому комп`ютері, інакше [завантажте] 2. переконайтесь, що фаєрвол нічого не блокує",
- 'Upload_base_help' => "Перетягніть файли в область, що вище або клікніть по ній мишкою (для сучасних браузерів), в іншому разі виберіть файл та натисніть кнопку. Коли завантаження закінчиться - натисніть кнопку повернення.",
- 'Type_dir' => 'Тека',
- 'Type' => 'Тип',
- 'Dimension' => 'Розмір',
- 'Size' => 'Об`єм',
- 'Date' => 'Дата',
- 'Filename' => 'Ім`я файлу',
- 'Operations' => 'Дії',
- 'Date_type' => 'd-m-y',
- 'OK' => 'OK',
- 'Cancel' => 'Відміна',
- 'Sorting' => 'Сортування',
- 'Show_url' => 'Показати URL',
- 'Extract' => 'Видобути тут',
- 'File_info' => 'Інфо файла',
- 'Edit_image' => 'Редагувати зображення',
- 'Duplicate' => 'Дублікати',
- 'Folders' => 'Папки',
- 'Copy' => 'Копіювати',
- 'Cut' => 'Вирізати',
- 'Paste' => 'Вставити',
- 'CB' => 'БО', // clipboard
- 'Paste_Here' => 'Вставити в цю теку',
- 'Paste_Confirm' => 'Ви впевнені, що хочете вставити в цю теку? Це перезапише всі файли/папки, якщо такі будуть.',
- 'Paste_Failed' => 'Помилка вставки файлів',
- 'Clear_Clipboard' => 'Очистити буфер обміну',
- 'Clear_Clipboard_Confirm' => 'Ви впевнені, що хочете очистити буфер обміну?',
- 'Files_ON_Clipboard' => 'Немає файлів у буфері обміну.',
- 'Copy_Cut_Size_Limit' => 'Вибрані файли/папки завеликі для %s. Обмеження: %d MB/операцію', // %s = cut or copy
- 'Copy_Cut_Count_Limit' => 'Ви вибрали забагато файлів/папок для %s. Обмеження: %d файлів/операцію', // %s = cut or copy
- 'Copy_Cut_Not_Allowed' => 'У вас немає прав доступу для %s файлів.', // %s(1) = cut or copy, %s(2) = files or folders
- 'Aviary_No_Save' => 'Неможливо зберегти зображення',
- 'Zip_No_Extract' => 'Неможливо видобути. Файл може бути пошкодженим',
- 'Zip_Invalid' => 'Це розширення не підтримується. Можливі: zip, gz, tar.',
- 'Dir_No_Write' => 'Обрана тека захищена від запису.',
- 'Function_Disabled' => 'Функція %s заборонена сервером.', // %s = cut or copy
- 'File_Permission' => 'Права доступу',
- 'File_Permission_Not_Allowed' => 'Зміна прав доступу для %s заборонена.', // %s = files or folders
- 'File_Permission_Recursive' => 'Застосувати рекурсивно?',
- 'File_Permission_Wrong_Mode' => "Наданы права доступу невірні.",
- 'User' => 'Користувач',
- 'Group' => 'Група',
- 'Yes' => 'Так',
- 'No' => 'Ні',
- 'Lang_Not_Found' => 'Не можу знайти мову.',
- 'Lang_Change' => 'Зміна мови',
- 'File_Not_Found' => 'Не можу знайти файл.',
- 'File_Open_Edit_Not_Allowed' => 'У вас немає прав для відкриття цього файлу %s.', // %s = open or edit
- 'Edit' => 'Редагувати',
- 'Edit_File' => "Редагувати вміст файлу",
- 'File_Save_OK' => "Файл успішно збережено.",
- 'File_Save_Error' => "Виникла помилка при збереженні файлу.",
- 'New_File' => 'Новий файл',
- 'No_Extension' => 'Вам необхідно додати розширення файлу.',
- 'Valid_Extensions' => 'Дозволені розширення: %s', // %s = txt,log etc.
- 'Upload_message' => "Перетягніть сюди файл для завантаження",
-
- 'SERVER ERROR' => "ПОМИЛКА СЕРВЕРА",
- 'forbiden' => "Заборонено",
- 'wrong path' => "Хибний шлях",
- 'wrong name' => "Хибне ім`я",
- 'wrong extension' => "Хибне розширення",
- 'wrong option' => "Хибна операція",
- 'wrong data' => "Хибні дані",
- 'wrong action' => "Хибна дія",
- 'wrong sub-action' => "Хибна під-дія",
- 'no action passed' => "Жодної дії не передано",
- 'no path' => "Немає шляху",
- 'no file' => "Немає файлу",
- 'view type number missing' => "Відсутній номер типу перегляду",
- 'Not enought Memory' => "Недостатньо пам`яті",
- 'max_size_reached' => "Ваша тека досягла максимального ліміту у %d Мб.", //%d = max overall size
- 'B' => "Б",
- 'KB' => "Кб",
- 'MB' => "Мб",
- 'GB' => "Гб",
- 'TB' => "Тб",
- 'total size' => "Загальний розмір",
-);
+ 'Вибрати',
+ 'Erase' => 'Видалити',
+ 'Open' => 'Відкрити',
+ 'Confirm_del' => 'Впевнені, що хочете видалити цей файл?',
+ 'All' => 'Всі',
+ 'Files' => 'Файли',
+ 'Images' => 'Зображення',
+ 'Archives' => 'Архіви',
+ 'Error_Upload' => 'Файл, що завантажується перевищує дозволений розмір.',
+ 'Error_extension' => 'Неприпустимий формат файлу.',
+ 'Upload_file' => 'Завантажити файл',
+ 'Filters' => 'Фільтр',
+ 'Videos' => 'Відео',
+ 'Music' => 'Музика',
+ 'New_Folder' => 'Нова тека',
+ 'Folder_Created' => 'Теку успішно створено',
+ 'Existing_Folder' => 'Існуюча тека',
+ 'Confirm_Folder_del' => 'Впевнені, що хочете видалити цю теку і всі файли в ній?',
+ 'Return_Files_List' => 'Повернутися до списку файлів',
+ 'Preview' => 'Перегляд',
+ 'Download' => 'Завантажити',
+ 'Insert_Folder_Name' => 'Введіть ім`я папки:',
+ 'Root' => 'Коренева тека',
+ 'Rename' => 'Переіменувати',
+ 'Back' => 'назад',
+ 'View' => 'Вигляд',
+ 'View_list' => 'Список',
+ 'View_columns_list' => 'Стовпчики',
+ 'View_boxes' => 'Плиткою',
+ 'Toolbar' => 'Панель',
+ 'Actions' => 'Дії',
+ 'Rename_existing_file' => 'Файл вже існує',
+ 'Rename_existing_folder' => 'Тека вже існує',
+ 'Empty_name' => 'Не заповнено ім`я',
+ 'Text_filter' => 'фільтр',
+ 'Swipe_help' => 'Наведіть на ім`я файлу/папки, щоб побачити опції',
+ 'Upload_base' => 'Основне завантаження',
+ 'Upload_url' => 'URL',
+ 'Upload_java' => 'JAVA-завантаження (для файлів великих розмірів)',
+ 'Upload_java_help' => "Якщо Java-апплет не завантажується: 1. переконайтесь, що Java встановлено на вашому комп`ютері, інакше [завантажте] 2. переконайтесь, що фаєрвол нічого не блокує",
+ 'Upload_base_help' => "Перетягніть файли в область, що вище або клікніть по ній мишкою (для сучасних браузерів), в іншому разі виберіть файл та натисніть кнопку. Коли завантаження закінчиться - натисніть кнопку повернення.",
+ 'Type_dir' => 'Тека',
+ 'Type' => 'Тип',
+ 'Dimension' => 'Розмір',
+ 'Size' => 'Об`єм',
+ 'Date' => 'Дата',
+ 'Filename' => 'Ім`я файлу',
+ 'Operations' => 'Дії',
+ 'Date_type' => 'd-m-y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Відміна',
+ 'Sorting' => 'Сортування',
+ 'Show_url' => 'Показати URL',
+ 'Extract' => 'Видобути тут',
+ 'File_info' => 'Інфо файла',
+ 'Edit_image' => 'Редагувати зображення',
+ 'Duplicate' => 'Дублікати',
+ 'Folders' => 'Папки',
+ 'Copy' => 'Копіювати',
+ 'Cut' => 'Вирізати',
+ 'Paste' => 'Вставити',
+ 'CB' => 'БО', // clipboard
+ 'Paste_Here' => 'Вставити в цю теку',
+ 'Paste_Confirm' => 'Ви впевнені, що хочете вставити в цю теку? Це перезапише всі файли/папки, якщо такі будуть.',
+ 'Paste_Failed' => 'Помилка вставки файлів',
+ 'Clear_Clipboard' => 'Очистити буфер обміну',
+ 'Clear_Clipboard_Confirm' => 'Ви впевнені, що хочете очистити буфер обміну?',
+ 'Files_ON_Clipboard' => 'Немає файлів у буфері обміну.',
+ 'Copy_Cut_Size_Limit' => 'Вибрані файли/папки завеликі для %s. Обмеження: %d MB/операцію', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Ви вибрали забагато файлів/папок для %s. Обмеження: %d файлів/операцію', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'У вас немає прав доступу для %s файлів.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Неможливо зберегти зображення',
+ 'Zip_No_Extract' => 'Неможливо видобути. Файл може бути пошкодженим',
+ 'Zip_Invalid' => 'Це розширення не підтримується. Можливі: zip, gz, tar.',
+ 'Dir_No_Write' => 'Обрана тека захищена від запису.',
+ 'Function_Disabled' => 'Функція %s заборонена сервером.', // %s = cut or copy
+ 'File_Permission' => 'Права доступу',
+ 'File_Permission_Not_Allowed' => 'Зміна прав доступу для %s заборонена.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Застосувати рекурсивно?',
+ 'File_Permission_Wrong_Mode' => "Наданы права доступу невірні.",
+ 'User' => 'Користувач',
+ 'Group' => 'Група',
+ 'Yes' => 'Так',
+ 'No' => 'Ні',
+ 'Lang_Not_Found' => 'Не можу знайти мову.',
+ 'Lang_Change' => 'Зміна мови',
+ 'File_Not_Found' => 'Не можу знайти файл.',
+ 'File_Open_Edit_Not_Allowed' => 'У вас немає прав для відкриття цього файлу %s.', // %s = open or edit
+ 'Edit' => 'Редагувати',
+ 'Edit_File' => "Редагувати вміст файлу",
+ 'File_Save_OK' => "Файл успішно збережено.",
+ 'File_Save_Error' => "Виникла помилка при збереженні файлу.",
+ 'New_File' => 'Новий файл',
+ 'No_Extension' => 'Вам необхідно додати розширення файлу.',
+ 'Valid_Extensions' => 'Дозволені розширення: %s', // %s = txt,log etc.
+ 'Upload_message' => "Перетягніть сюди файл для завантаження",
+
+ 'SERVER ERROR' => "ПОМИЛКА СЕРВЕРА",
+ 'forbiden' => "Заборонено",
+ 'wrong path' => "Хибний шлях",
+ 'wrong name' => "Хибне ім`я",
+ 'wrong extension' => "Хибне розширення",
+ 'wrong option' => "Хибна операція",
+ 'wrong data' => "Хибні дані",
+ 'wrong action' => "Хибна дія",
+ 'wrong sub-action' => "Хибна під-дія",
+ 'no action passed' => "Жодної дії не передано",
+ 'no path' => "Немає шляху",
+ 'no file' => "Немає файлу",
+ 'view type number missing' => "Відсутній номер типу перегляду",
+ 'Not enought Memory' => "Недостатньо пам`яті",
+ 'max_size_reached' => "Ваша тека досягла максимального ліміту у %d Мб.", //%d = max overall size
+ 'B' => "Б",
+ 'KB' => "Кб",
+ 'MB' => "Мб",
+ 'GB' => "Гб",
+ 'TB' => "Тб",
+ 'total size' => "Загальний розмір",
+);
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/uploader/index.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/uploader/index.php
index aadb9594..146a9829 100755
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/uploader/index.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/uploader/index.php
@@ -1,166 +1,166 @@
-We are in the 'handle_uploaded_files' callback function, in the index.php script. To avoid double coding, we "
- . "just call the default behavior of the JUpload PHP class. Just replace this by your code...
"
- . $juploadPhpSupportClass->defaultAfterUploadManagement();;
-
-}
-
-////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-
-//First: the applet parameters
-//
-// Default value should work nice on most configuration. In this sample, we use some specific parameters, to show
-// how to use this array.
-// See comment for the parameters used on this demo page.
-//
-// You can use all applet parameters in this array.
-// see all details http://jupload.sourceforge.net/howto-customization.html
-//
-$appletParameters = array(
- //Default value is ... maximum size for a file on the current FS. 2G is problably too much already.
- 'maxFileSize' => $JAVAMaxSizeUpload . 'G',
- //
- //In the sourceforge project structure, the applet jar file is one folder below. Default
- //configuration is ok, if wjhk.jupload.jar is in the same folder as the script containing this call.
- 'archive' => 'wjhk.jupload.jar',
- 'showLogWindow' => 'false',
- 'width' => '100%',
- 'height' => '358px',
- 'name' => 'No limit Uploader',
- 'allowedFileExtensions' => implode('/', $ext),
- //To manage, other jar files, like the ftp jar files if postURL is an FTP URL:
- //'archive' => 'wjhk.jupload.jar,jakarta-commons-oro.jar,jakarta-commons-net.jar',
- //
- //Default afterUploadURL displays the list of uploaded files above the applet (in the markers, see below)
- //You can use any page you want, to manage the uploaded files. Here is a sample, that also only shows the list of files.
- 'afterUploadURL' => 'success.php?path=' . $_GET['path'],
- //
- //This demo expects the md5sum to be sent by the applet. But the parameter is not mandatory
- //This value should be set to false (or the line commented), for big files, as md5 calculation
- //may be long (Note this must be string and *not* boolean true/false)
- 'sendMD5Sum' => 'false',
- //
- 'debugLevel' => 0 // 100 disables redirect after upload, so we keep it below. This still gives a lot of information, in case of problem.
-);
-
-// for htaccess protected folders
-if ((isset($_SERVER['PHP_AUTH_USER']) && $_SERVER['PHP_AUTH_USER'] != '') && $_SERVER['PHP_AUTH_USER'] != '' && $_SERVER['PHP_AUTH_USER'] != '')
-{
- $appletParameters['specificHeaders'] = 'Authorization: Basic ' . base64_encode($_SERVER['PHP_AUTH_USER'] . ":" . $_SERVER['PHP_AUTH_PW']);
-}
-
-//
-//Then: the jupload PHP class parameters
-$classParameters = array(
- //Files won't be stored on the server. Useful for first tests of the applet behavior ... and sourceforge demo site !
- 'demo_mode' => false,
- //
- //Allow creation of subdirectories, when uploading several folders/files (drag and drop a folder on the applet to use it).
- 'allow_subdirs' => true,
- //
- // The callbackAfterUploadManagement function will be called, once all files are uploaded, with the list
- //of uploaded files as an argument. See the above sample, and change it according to your needs.
- //'callbackAfterUploadManagement' => 'handle_uploaded_files',
- //
- //I work on windows. The default configuration is /var/tmp/jupload_test
- 'destdir' => $path //Where to store the files on the web
- //'errormail' => 'me@my.domain.org',
-);
-if ( ! empty($convert_spaces))
-{
- $classParameters['convert_spaces'] = true;
-}
-
-////////////////////////////////////////////////////////////////////////////////////////////////////////
-// Instantiate and initialize JUpload : integration of the applet in your web site.
-$juploadPhpSupportClass = new JUpload($appletParameters, $classParameters);
-////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-
-//Then, a simple HTML page, for the demo
-//
-// "" is the tag where the list of uploaded files will be written.
-// "" is the place where the applet will be integrated, in the web page.
-?>
-
-
-
- JUpload RESPONSIVE filemanager
-
-
-
-
-
-
+We are in the 'handle_uploaded_files' callback function, in the index.php script. To avoid double coding, we "
+ . "just call the default behavior of the JUpload PHP class. Just replace this by your code..."
+ . $juploadPhpSupportClass->defaultAfterUploadManagement();;
+
+}
+
+////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+
+//First: the applet parameters
+//
+// Default value should work nice on most configuration. In this sample, we use some specific parameters, to show
+// how to use this array.
+// See comment for the parameters used on this demo page.
+//
+// You can use all applet parameters in this array.
+// see all details http://jupload.sourceforge.net/howto-customization.html
+//
+$appletParameters = array(
+ //Default value is ... maximum size for a file on the current FS. 2G is problably too much already.
+ 'maxFileSize' => $JAVAMaxSizeUpload . 'G',
+ //
+ //In the sourceforge project structure, the applet jar file is one folder below. Default
+ //configuration is ok, if wjhk.jupload.jar is in the same folder as the script containing this call.
+ 'archive' => 'wjhk.jupload.jar',
+ 'showLogWindow' => 'false',
+ 'width' => '100%',
+ 'height' => '358px',
+ 'name' => 'No limit Uploader',
+ 'allowedFileExtensions' => implode('/', $ext),
+ //To manage, other jar files, like the ftp jar files if postURL is an FTP URL:
+ //'archive' => 'wjhk.jupload.jar,jakarta-commons-oro.jar,jakarta-commons-net.jar',
+ //
+ //Default afterUploadURL displays the list of uploaded files above the applet (in the markers, see below)
+ //You can use any page you want, to manage the uploaded files. Here is a sample, that also only shows the list of files.
+ 'afterUploadURL' => 'success.php?path=' . $_GET['path'],
+ //
+ //This demo expects the md5sum to be sent by the applet. But the parameter is not mandatory
+ //This value should be set to false (or the line commented), for big files, as md5 calculation
+ //may be long (Note this must be string and *not* boolean true/false)
+ 'sendMD5Sum' => 'false',
+ //
+ 'debugLevel' => 0 // 100 disables redirect after upload, so we keep it below. This still gives a lot of information, in case of problem.
+);
+
+// for htaccess protected folders
+if ((isset($_SERVER['PHP_AUTH_USER']) && $_SERVER['PHP_AUTH_USER'] != '') && $_SERVER['PHP_AUTH_USER'] != '' && $_SERVER['PHP_AUTH_USER'] != '')
+{
+ $appletParameters['specificHeaders'] = 'Authorization: Basic ' . base64_encode($_SERVER['PHP_AUTH_USER'] . ":" . $_SERVER['PHP_AUTH_PW']);
+}
+
+//
+//Then: the jupload PHP class parameters
+$classParameters = array(
+ //Files won't be stored on the server. Useful for first tests of the applet behavior ... and sourceforge demo site !
+ 'demo_mode' => false,
+ //
+ //Allow creation of subdirectories, when uploading several folders/files (drag and drop a folder on the applet to use it).
+ 'allow_subdirs' => true,
+ //
+ // The callbackAfterUploadManagement function will be called, once all files are uploaded, with the list
+ //of uploaded files as an argument. See the above sample, and change it according to your needs.
+ //'callbackAfterUploadManagement' => 'handle_uploaded_files',
+ //
+ //I work on windows. The default configuration is /var/tmp/jupload_test
+ 'destdir' => $path //Where to store the files on the web
+ //'errormail' => 'me@my.domain.org',
+);
+if ( ! empty($convert_spaces))
+{
+ $classParameters['convert_spaces'] = true;
+}
+
+////////////////////////////////////////////////////////////////////////////////////////////////////////
+// Instantiate and initialize JUpload : integration of the applet in your web site.
+$juploadPhpSupportClass = new JUpload($appletParameters, $classParameters);
+////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+
+//Then, a simple HTML page, for the demo
+//
+// "" is the tag where the list of uploaded files will be written.
+// "" is the place where the applet will be integrated, in the web page.
+?>
+
+
+
+ JUpload RESPONSIVE filemanager
+
+
+
+
+
+
\ No newline at end of file
diff --git a/local/modules/Tinymce/Resources/js/tinymce/filemanager/uploader/jupload.php b/local/modules/Tinymce/Resources/js/tinymce/filemanager/uploader/jupload.php
index 5b654209..cbc25822 100755
--- a/local/modules/Tinymce/Resources/js/tinymce/filemanager/uploader/jupload.php
+++ b/local/modules/Tinymce/Resources/js/tinymce/filemanager/uploader/jupload.php
@@ -1,772 +1,772 @@
-$value.
- * The available keys are:
- * - name: the filename, as it is now stored on the system.
- * - size: the file size
- * - path: the absolute path, where the file has been stored.
- * - fullName: the canonical file name (i.e. including the absolute path)
- * - md5sum: the md5sum of the file, if further control is needed.
- * - mimetype: the calculated mime type of the file
- * - If the formData applet parameter is used: all attributes (key and value) uploaded by the applet, are put here,
- * repeated for each file.
- *
- * Note: if you are using a callback function (i.e. callbackAfterUploadManagement) and you do not see a global 'object' you
- * are expecting then it might have been destroyed by PHP - c.f. http://bugs.php.net/bug.php?id=39693
- *
- */
-
-class JUpload {
-
- var $appletparams;
- var $classparams;
- var $files;
-
- public function JUpload($appletparams = array(), $classparams = array()) {
- if (gettype($classparams) != 'array')
- $this->abort('Invalid type of parameter classparams: Expecting an array');
- if (gettype($appletparams) != 'array')
- $this->abort('Invalid type of parameter appletparams: Expecting an array');
-
- // set some defaults for the applet params
- if (!isset($appletparams['afterUploadURL']))
- $appletparams['afterUploadURL'] = $_SERVER['PHP_SELF'] . '?afterupload=1';
- if (!isset($appletparams['name']))
- $appletparams['name'] = 'JUpload';
- if (!isset($appletparams['archive']))
- $appletparams['archive'] = 'wjhk.jupload.jar';
- if (!isset($appletparams['code']))
- $appletparams['code'] = 'wjhk.jupload2.JUploadApplet';
- if (!isset($appletparams['debugLevel']))
- $appletparams['debugLevel'] = 0;
- if (!isset($appletparams['httpUploadParameterType']))
- $appletparams['httpUploadParameterType'] = 'array';
- if (!isset($appletparams['showLogWindow']))
- $appletparams['showLogWindow'] = ($appletparams['debugLevel'] > 0) ? 'true' : 'false';
- if (!isset($appletparams['width']))
- $appletparams['width'] = 640;
- if (!isset($appletparams['height']))
- $appletparams['height'] = ($appletparams['showLogWindow'] == 'true') ? 500 : 300;
- if (!isset($appletparams['mayscript']))
- $appletparams['mayscript'] = 'true';
- if (!isset($appletparams['scriptable']))
- $appletparams['scriptable'] = 'false';
- //if (!isset($appletparams['stringUploadSuccess']))
- $appletparams['stringUploadSuccess'] = 'SUCCESS';
- //if (!isset($appletparams['stringUploadError']))
- $appletparams['stringUploadError'] = 'ERROR: (.*)';
- $maxpost = $this->tobytes(ini_get('post_max_size'));
- $maxmem = $this->tobytes(ini_get('memory_limit'));
- $maxfs = $this->tobytes(ini_get('upload_max_filesize'));
- $obd = ini_get('open_basedir');
- if (!isset($appletparams['maxChunkSize'])) {
- $maxchunk = ($maxpost < $maxmem) ? $maxpost : $maxmem;
- $maxchunk = ($maxchunk < $maxfs) ? $maxchunk : $maxfs;
- $maxchunk /= 4;
- $optchunk = (500000 > $maxchunk) ? $maxchunk : 500000;
- $appletparams['maxChunkSize'] = $optchunk;
- }
- $appletparams['maxChunkSize'] = $this->tobytes($appletparams['maxChunkSize']);
- if (!isset($appletparams['maxFileSize']))
- $appletparams['maxFileSize'] = $maxfs;
- $appletparams['maxFileSize'] = $this->tobytes($appletparams['maxFileSize']);
- if (isset($classparams['errormail'])) {
- $appletparams['urlToSendErrorTo'] = $_SERVER["PHP_SELF"] . '?errormail';
- }
-
- // Same for class parameters
- if (!isset($classparams['demo_mode']))
- $classparams['demo_mode'] = false;
- if ($classparams['demo_mode']) {
- $classparams['create_destdir'] = false;
- $classparams['allow_subdirs'] = true;
- $classparams['allow_zerosized'] = true;
- $classparams['duplicate'] = 'overwrite';
- }
- if (!isset($classparams['debug_php'])) // set true to log some messages in PHP log
- $classparams['debug_php'] = false;
- if (!isset($this->classparams['allowed_mime_types'])) // array of allowed MIME type
- $classparams['allowed_mime_types'] = 'all';
- if (!isset($this->classparams['allowed_file_extensions'])) // array of allowed file extensions
- $classparams['allowed_file_extensions'] = 'all';
- if (!isset($classparams['verbose_errors'])) // shouldn't display server info on a production site!
- $classparams['verbose_errors'] = true;
- if (!isset($classparams['session_regenerate']))
- $classparams['session_regenerate'] = false;
- if (!isset($classparams['create_destdir']))
- $classparams['create_destdir'] = true;
- if (!isset($classparams['allow_subdirs']))
- $classparams['allow_subdirs'] = false;
- if (!isset($classparams['spaces_in_subdirs']))
- $classparams['spaces_in_subdirs'] = false;
- if (!isset($classparams['convert_spaces'])) // set to true to convert spaces in filenames to _
- $classparams['convert_spaces'] = false;
- if (!isset($classparams['allow_zerosized']))
- $classparams['allow_zerosized'] = false;
- if (!isset($classparams['duplicate']))
- $classparams['duplicate'] = 'rename';
- if (!isset($classparams['dirperm']))
- $classparams['dirperm'] = 0755;
- if (!isset($classparams['fileperm']))
- $classparams['fileperm'] = 0644;
- if (!isset($classparams['destdir'])) {
- if ($obd != '')
- $classparams['destdir'] = $obd;
- else
- $classparams['destdir'] = '/var/tmp/jupload_test';
- }else{
- $classparams['destdir']=str_replace('~',' ',$classparams['destdir']);
- }
- if ($classparams['create_destdir']) {
- $_umask = umask(0); // override the system mask
- @mkdir($classparams['destdir'], $classparams['dirperm']);
- umask($_umask);
- }
- if (!is_dir($classparams['destdir']) && is_writable($classparams['destdir']))
- $this->abort('Destination dir not accessible');
- if (!isset($classparams['tmp_prefix']))
- $classparams['tmp_prefix'] = 'jutmp.';
- if (!isset($classparams['var_prefix']))
- $classparams['var_prefix'] = 'juvar.';
- if (!isset($classparams['jscript_wrapper']))
- $classparams['jscript_wrapper'] = 'JUploadSetProperty';
- if (!isset($classparams['tag_jscript']))
- $classparams['tag_jscript'] = '';
- if (!isset($classparams['tag_applet']))
- $classparams['tag_applet'] = '';
- if (!isset($classparams['tag_flist']))
- $classparams['tag_flist'] = '';
- if (!isset($classparams['http_flist_start']))
- $classparams['http_flist_start'] =
- "
Filename
file size
Relative path
Full name
md5sum
Specific parameters
";
- if (!isset($classparams['http_flist_end']))
- $classparams['http_flist_end'] = "
\n";
- if (!isset($classparams['http_flist_file_before']))
- $classparams['http_flist_file_before'] = "
";
- if (!isset($classparams['http_flist_file_between']))
- $classparams['http_flist_file_between'] = "
";
- if (!isset($classparams['http_flist_file_after']))
- $classparams['http_flist_file_after'] = "
\n";
-
- $this->appletparams = $appletparams;
- $this->classparams = $classparams;
- $this->page_start();
- }
-
- /**
- * Return an array of uploaded files * The array contains: name, size, tmp_name, error,
- * relativePath, md5sum, mimetype, fullName, path
- */
- public function uploadedfiles() {
- return $this->files;
- }
-
- /**
- * Log a message on the current output, as a HTML comment.
- */
- protected function logDebug($function, $msg, $htmlComment=true) {
- $output = "[DEBUG] [$function] $msg";
- if ($htmlComment) {
- echo("\r\n");
- } else {
- echo("$output\r\n");
- }
- }
-
- /**
- * Log a message to the PHP log.
- * Declared "protected" so it may be Extended if you require customised logging (e.g. particular log file location).
- */
- protected function logPHPDebug($function, $msg) {
- if ($this->classparams['debug_php'] === true) {
- $output = "[DEBUG] [$function] ".$this->arrayexpand($msg);
- error_log($output);
- }
- }
-
- private function arrayexpand($array) {
- $output = '';
- if (is_array($array)) {
- foreach ($array as $key => $value) {
- $output .= "\n ".$key.' => '.$this->arrayexpand($value);
- }
- } else {
- $output .= $array;
- }
- return $output;
- }
-
-
- /**
- * Convert a value ending in 'G','M' or 'K' to bytes
- *
- */
- private function tobytes($val) {
- $val = trim($val);
- $last = fix_strtolower($val{strlen($val)-1});
- switch($last) {
- case 'g':
- $val *= 1024;
- case 'm':
- $val *= 1024;
- case 'k':
- $val *= 1024;
- }
- return $val;
- }
-
- /**
- * Build a string, containing a javascript wrapper function
- * for setting applet properties via JavaScript. This is necessary,
- * because we use the "modern" method of including the applet (using
- *